155 lines
1.3 MiB
Plaintext
155 lines
1.3 MiB
Plaintext
var e,t;"function"==typeof(e=globalThis.define)&&(t=e,e=null),function(t,r,n,a,i){var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},s="function"==typeof o[a]&&o[a],c=s.cache||{},u="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function l(e,r){if(!c[e]){if(!t[e]){var n="function"==typeof o[a]&&o[a];if(!r&&n)return n(e,!0);if(s)return s(e,!0);if(u&&"string"==typeof e)return u(e);var i=Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}d.resolve=function(r){var n=t[e][1][r];return null!=n?n:r},d.cache={};var f=c[e]=new l.Module(e);t[e][0].call(f.exports,d,f,f.exports,this)}return c[e].exports;function d(e){var t=d.resolve(e);return!1===t?{}:l(t)}}l.isParcelRequire=!0,l.Module=function(e){this.id=e,this.bundle=l,this.exports={}},l.modules=t,l.cache=c,l.parent=s,l.register=function(e,r){t[e]=[function(e,t){t.exports=r},{}]},Object.defineProperty(l,"root",{get:function(){return o[a]}}),o[a]=l;for(var f=0;f<r.length;f++)l(r[f]);if(n){var d=l(n);"object"==typeof exports&&"undefined"!=typeof module?module.exports=d:"function"==typeof e&&e.amd?e(function(){return d}):i&&(this[i]=d)}}({"59Lgg":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"config",()=>u);var a=e("~common/const"),i=e("~common/utils"),o=e("~services/ai-pick"),s=e("~services/ai-pick/store"),c=e("~services/ai-pick/widget-renderer");let u={matches:["*://s.1688.com/youyuan/index.htm*","*://s.1688.com/selloffer/similar_search.htm*"],run_at:"document_end"};async function l(){let e=(await (0,i.getExtensionLocalStorage)([a.STORAGE_KEY_AI_PICK_CONFIG]))[a.STORAGE_KEY_AI_PICK_CONFIG];if(!e)return;let t=e.supportList,r=t.filter(e=>new RegExp(e.regex).test(location.href));if(!r.length)return;let n=e?.websites?.[r[0]?.website];if(!n||n.isDisabled)return;let o=await (0,s.useAiPickStore).getState().fetchAiPickPermission();if(o)return n}(async function(){let e=await l();if(!e)return;let t=new c.WidgetRenderer,r=new o.PageOrchestrator(t,e);window.addEventListener("beforeunload",()=>{r.cleanup()}),r.observe()})()},{"~common/const":"bkfUq","~common/utils":"kYpGH","~services/ai-pick":"1wDFS","~services/ai-pick/store":"eRJ1i","~services/ai-pick/widget-renderer":"7tOZC","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],bkfUq:[function(e,t,r){var n,a,i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"MAX_Z_INDEX",()=>u),i.export(r,"MODAL_Z_INDEX",()=>l),i.export(r,"OPERATION_Z_INDEX",()=>f),i.export(r,"MAX_COUNT",()=>d),i.export(r,"MAX_AGE",()=>h),i.export(r,"OVER_TIME",()=>p),i.export(r,"ONE_DAY_IN_MS",()=>v),i.export(r,"CODE_NOT_LOGIN",()=>m),i.export(r,"getChromeDefaultLang",()=>g),i.export(r,"DEFAULT_LANGUAGE",()=>b),i.export(r,"LANGUAGE_OPTIONS",()=>y),i.export(r,"IMAGE_SEARCH_CATEGORY",()=>_),i.export(r,"OPTIONS_HOVER_POSITION_IMAGE_CONFIG",()=>w),i.export(r,"DEFAULT_OPTIONS",()=>S),i.export(r,"STORAGE_KEY_STREAM_INFO_MAP",()=>E),i.export(r,"STORAGE_KEY_UUID",()=>k),i.export(r,"STORAGE_KEY_CRYPTO",()=>I),i.export(r,"STORAGE_KEY_DOWNLOAD_URL",()=>x),i.export(r,"STORAGE_KEY_VERSION_INFO",()=>O),i.export(r,"STORAGE_KEY_VERSION_LOG",()=>T),i.export(r,"STORAGE_KEY_CONFIGURATION",()=>A),i.export(r,"STORAGE_KEY_LOGIN_ID",()=>M),i.export(r,"STORAGE_KEY_USER_ID",()=>R),i.export(r,"STORAGE_KEY_REAL_TIME_USER_ID",()=>C),i.export(r,"STORAGE_KEY_IS_LOGIN",()=>j),i.export(r,"STORAGE_KEY_ACTIVE_TIME",()=>N),i.export(r,"STORAGE_KEY_OPEN_SEARCH_IMG_TOOLTIP",()=>P),i.export(r,"STORAGE_KEY_WANGWANG_UNREAD",()=>D),i.export(r,"STORAGE_KEY_WANGWANG_MTOP_TOKEN",()=>L),i.export(r,"STORAGE_KEY_IS_NUMBER_BROWSER",()=>F),i.export(r,"STORAGE_KEY_IS_OPEN_WEBSITE",()=>B),i.export(r,"STORAGE_KEY_OPTIONS",()=>U),i.export(r,"STORAGE_KEY_EXPRESS_DELIVERY_INFO",()=>z),i.export(r,"STORAGE_KEY_DRAWER_FIND_GOODS_SETTINGS",()=>H),i.export(r,"STORAGE_KEY_VIEW_TREND_PANEL_STATUS",()=>G),i.export(r,"STORAGE_KEY_DISABLE_DOWNLOAD_SETTING_WARNING",()=>q),i.export(r,"STORAGE_KEY_AB_TEST_INSERT_BTN_UI",()=>W),i.export(r,"STORAGE_KEY_PLUGIN_MENU_MODE",()=>K),i.export(r,"STORAGE_KEY_SHOW_GUIDANCE_REASON",()=>V),i.export(r,"STORAGE_KEY_FIND_SAME_GOODS_BTN",()=>Y),i.export(r,"STORAGE_KEY_ENTRY_POSITION",()=>J),i.export(r,"STORAGE_KEY_FLOATING_AI",()=>Z),i.export(r,"STORAGE_KEY_SHOULD_REPORT_BROWSER",()=>X),i.export(r,"STORAGE_KEY_DOWNLOAD_IMG_TYPE",()=>$),i.export(r,"STORAGE_KEY_DOWNLOAD_IMG_WAY",()=>Q),i.export(r,"STORAGE_KEY_AB_TEST_WORD_SEARCH_UI",()=>ee),i.export(r,"STORAGE_KEY_INSTALL_REPORTED",()=>et),i.export(r,"STORAGE_KEY_SHOULD_CONFIRM_INVITATION",()=>er),i.export(r,"STORAGE_KEY_ENTRY_NOTIFICATION",()=>en),i.export(r,"STORAGE_KEY_ACTIVE_NOTIFICATION",()=>ea),i.export(r,"STORAGE_KEY_UNREAD_NOTIFICATION",()=>ei),i.export(r,"STORAGE_KEY_MESSAGE_QUEUE",()=>eo),i.export(r,"STORAGE_KEY_ORDER_LOGISTICS_SWITCH",()=>es),i.export(r,"STORAGE_KEY_GOODS_OPERATION_FIXED_TOP",()=>ec),i.export(r,"STORAGE_KEY_GOODS_OPERATION_OPEN_STATUS",()=>eu),i.export(r,"STORAGE_KEY_MULTIPLE_INSTALLED_NOTIFICATION_TIME",()=>el),i.export(r,"STORAGE_KEY_TENDENCY_DAY_SELECT",()=>ef),i.export(r,"STORAGE_KEY_TRANSACTION_TREND_DAY_SELECT",()=>ed),i.export(r,"STORAGE_KEY_BLACK_LIST",()=>eh),i.export(r,"STORAGE_KEY_DEFAULT_LANGUAGE",()=>ep),i.export(r,"STORAGE_KEY_ON_LANGUAGE_CHANGE",()=>ev),i.export(r,"STORAGE_KEY_MTOP_ENV_SWITCH",()=>em),i.export(r,"STORAGE_KEY_USER_PERMISSION_LIST",()=>eg),i.export(r,"STORAGE_KEY_USER_PERMISSION_MAP",()=>eb),i.export(r,"STORAGE_KEY_OFFER_LIST_TOOLBAR_SHOW_EXTRA",()=>ey),i.export(r,"STORAGE_KEY_OFFER_LIST_TOOLBAR_PINNED",()=>e_),i.export(r,"STORAGE_KEY_OFFER_LIST_TOOLBAR_INFO",()=>ew),i.export(r,"STORAGE_KEY_SEARCH_HISTORY_LAST_TIMESTAMP",()=>eS),i.export(r,"STORAGE_KEY_OFFER_LIST_TOOLBAR_EXPORT_EXCLUDE_KEYS",()=>eE),i.export(r,"STORAGE_KEY_LATEST_VERSION",()=>ek),i.export(r,"STORAGE_KEY_AI_PICK_CONFIG",()=>eI),i.export(r,"STORAGE_KEY_AI_FIND_CONFIG",()=>ex),i.export(r,"STORAGE_KEY_FATIGUE_RECORDS",()=>eO),i.export(r,"STORAGE_KEY_SMART_LINK_MATERIAL_CONFIG",()=>eT),i.export(r,"STORAGE_KEY_SMART_LINK_MODULE",()=>eA),i.export(r,"STORAGE_KEY_AI_IMAGE_CONFIG",()=>eM),i.export(r,"STORAGE_KEY_TRANSLATION_TARGET_LANGUAGE",()=>eR),i.export(r,"STORAGE_KEY_SERVER_TRANSLATION_CONFIG",()=>eC),i.export(r,"ONBOARDING_FEATURE_URL_PARAM_KEY",()=>ej),i.export(r,"STORAGE_KEY_TASK_EXECUTION_RECORD",()=>eN),i.export(r,"STORAGE_KEY_REMOTE_SETTINGS",()=>eP),i.export(r,"STORAGE_KEY_AI_CHATBOT_CONFIG",()=>eD),i.export(r,"STORAGE_KEY_PAGE_ACTIVE_TIME",()=>eL),i.export(r,"STORAGE_KEY_NOTIFICATION_AB_TEST_GROUP",()=>eF),i.export(r,"STORAGE_KEY_NOTIFICATION_CONFIG",()=>eB),i.export(r,"STORAGE_KEY_EXTENSION_INSTALL_TIMESTAMP",()=>eU),i.export(r,"STORAGE_KEY_ONBOARDING_FEATURE",()=>ez),i.export(r,"STORAGE_KEY_ENABLE_DEBUG_LOG",()=>eH),i.export(r,"STORAGE_KEY_BIND_SHOP_FATIGUE",()=>eG),i.export(r,"STORAGE_KEY_SEARCH_MEMORY_ENTRY_POSITION",()=>eq),i.export(r,"STORAGE_KEY_CONTENT_SELECTOR_CONFIG",()=>eW),i.export(r,"STORAGE_KEY_SIDE_PANEL_OPEN",()=>eK),i.export(r,"STORAGE_KEY_PENDING_SIDEPANEL_MESSAGES",()=>eV),i.export(r,"STORAGE_KEY_USER_LOG_COLLECTION_CONFIG",()=>eY),i.export(r,"DEVELOPMENT_URL_PREFIX",()=>eJ),i.export(r,"TEST_URL_PREFIX",()=>eZ),i.export(r,"PRODUCTION_URL_PREFIX",()=>eX),i.export(r,"CONFIGURATION_JSON_NAME",()=>e$),i.export(r,"DOWNLOAD_ZIP_NAME",()=>eQ),i.export(r,"DOWNLOAD_CRX_NAME",()=>e0),i.export(r,"ENV",()=>a),i.export(r,"ENV_TAG",()=>e2),i.export(r,"ENV_PACKAGE",()=>e3),i.export(r,"ENV_VERSION",()=>e4),i.export(r,"IS_PACKAGE_SHOW_UPDATE",()=>e6),i.export(r,"GLOBAL_CONFIG",()=>e8),i.export(r,"LOGIN_URL",()=>e5),i.export(r,"PC_HOME_URL",()=>e7),i.export(r,"PC_ORDER_LIST_URL",()=>e9),i.export(r,"DEFAULT_UNINSTALL_URL",()=>te),i.export(r,"CONAN_APP_KEY",()=>tt),i.export(r,"MATCHES_LINK",()=>tr),i.export(r,"IS_QUARK_BROWSER",()=>tn),i.export(r,"IS_QQ_BROWSER",()=>ta),i.export(r,"IS_SOUGOU_BROWSER",()=>ti),i.export(r,"IS_SIDE_PANEL_SUPPORTED",()=>to),i.export(r,"DISABLE_DOWNLOAD_IMAGE",()=>ts),i.export(r,"USE_DYNAMIC_RULES",()=>tc),i.export(r,"MAIN_BROWSER",()=>tu);var o=e("~config/version-control.json"),s=i.interopDefault(o),c=e("./type");let u=2147483647,l=u-10,f=1100,d=5e3,h=7776e6,p=6e5,v=864e5,m=401,g=()=>{let e=navigator.language?navigator.language:"";return e?.toLocaleLowerCase()?.startsWith("zh")?"zh-CN":"en-US"},b=g()||"zh-CN",y=[{value:"en-US",label:"English"},{value:"zh-CN",label:"\u4e2d\u6587"}],_=[{key:c.ImageSearchDefaultChannel.DEFAULT,label:"\u9ed8\u8ba4\u6e20\u9053",icon:""},{key:c.ImageSearchDefaultChannel.ALL,label:"1688",icon:"https://gw.alicdn.com/imgextra/i3/O1CN01RbtNno1xR7N4UkwmR_!!6000000006439-55-tps-20-20.svg"},{key:c.ImageSearchDefaultChannel.KUA_JING,label:"1688\u8de8\u5883",icon:"https://gw.alicdn.com/imgextra/i3/O1CN01RbtNno1xR7N4UkwmR_!!6000000006439-55-tps-20-20.svg"},{key:c.ImageSearchDefaultChannel.TAOBAO,label:"\u6dd8\u5b9d",icon:"https://gw.alicdn.com/imgextra/i3/O1CN01k6dupu1I3Obu3VX4j_!!6000000000837-55-tps-20-20.svg"},{key:c.ImageSearchDefaultChannel.AMAZON,label:"\u4e9a\u9a6c\u900a",icon:"https://gw.alicdn.com/imgextra/i1/O1CN014l9H7329KV2MCwH57_!!6000000008049-55-tps-20-20.svg"},{key:c.ImageSearchDefaultChannel.ALIBABA,label:"\u963f\u91cc\u56fd\u9645\u7ad9",icon:"https://gw.alicdn.com/imgextra/i1/O1CN01sQ11ZX1ozcfT5Hlek_!!6000000005296-55-tps-300-300.svg"},{key:c.ImageSearchDefaultChannel.ALIEXPRESS,label:"\u901f\u5356\u901a",icon:"https://gw.alicdn.com/imgextra/i3/O1CN01dF8rpA1VXhpJQqFg6_!!6000000002663-55-tps-48-48.svg"},{key:c.ImageSearchDefaultChannel.OZON,label:"OZON",icon:"https://gw.alicdn.com/imgextra/i2/O1CN01WqdzEV1V5leJwX1uo_!!6000000002602-2-tps-96-96.png"}],w={[c.HoverPosition.LEFT_BOTTOM]:"https://img.alicdn.com/imgextra/i2/O1CN01K9QZuc1qAtxtGooFP_!!6000000005456-2-tps-2496-882.png",[c.HoverPosition.LEFT_TOP]:"https://img.alicdn.com/imgextra/i3/O1CN01nkJ3kB1h043F7CEQr_!!6000000004214-2-tps-2496-882.png",[c.HoverPosition.RIGHT_BOTTOM]:"https://img.alicdn.com/imgextra/i1/O1CN011KPmKN1qdkut4Ucis_!!6000000005519-2-tps-2496-882.png",[c.HoverPosition.RIGHT_TOP]:"https://img.alicdn.com/imgextra/i2/O1CN0148pQIn1gbKf5qlqw6_!!6000000004160-2-tps-2496-882.png"},S={[c.OptionsKey.WANGWANG_OPEN_IN_MODAL]:!0,[c.OptionsKey.INSERT_DOM_VISIBLE]:!0,[c.OptionsKey.IMAGE_SEARCH_VISIBLE]:!0,[c.OptionsKey.SHOW_DRAWER_FIND_GOODS]:!0,[c.OptionsKey.SHORTCUT_SCREENSHOT]:!0,[c.OptionsKey.SHOW_POPOVER_FIND_GOODS]:!0,[c.OptionsKey.LIST_SHOW_POPOVER_FIND_GOODS]:!0,[c.OptionsKey.SHOW_ENTRY_ORDER_INFO]:!1,[c.OptionsKey.SHOW_GLOBAL_ENTRY]:!0,[c.OptionsKey.SHOW_PIC_PREVIEW]:!0,[c.OptionsKey.GOODS_OPERATION_AREA]:!0,[c.OptionsKey.LANGUAGE]:b,[c.OptionsKey.HOVER_POSITION]:c.HoverPosition.LEFT_TOP,[c.OptionsKey.TRANSLATION_BUBBLE]:!0,[c.OptionsKey.NEW_SUPPLIER_PUSH]:!0,[c.OptionsKey.WANGWANG_PUSH]:!0,[c.OptionsKey.ABNORMAL_ORDER_PUSH]:!0,[c.OptionsKey.BATCH_INQUIRY_PUSH]:!0,[c.OptionsKey.IMAGE_SEARCH_DEFAULT_CHANNEL]:c.ImageSearchDefaultChannel.DEFAULT,[c.OptionsKey.SHOW_SEARCH_MEMORY_GLOBAL_ENTRY]:!0},E="__1688_EXTENSION_STREAM_INFO",k="_1688_EXTENSION_UUID",I="_1688_EXTENSION_CRYPTO",x="_1688_EXTENSION_DOWNLOAD_URL",O="_1688_EXTENSION_VERSION_INFO",T="_1688_EXTENSION_VERSION_LOG",A="_1688_EXTENSION_CONFIGURATION",M="_1688_EXTENSION_LOGIN_ID",R="_1688_EXTENSION_USER_ID",C="_1688_EXTENSION_REAL_TIME_USER_ID",j="_1688_EXTENSION_IS_LOGIN",N="_1688_EXTENSION_ACTIVE_TIME",P="_1688_EXTENSION_OPEN_SEARCH_IMG_TOOLTIP",D="_1688_EXTENSION_WANGWANG_UNREAD",L="_1688_EXTENSION_WANGWANG_MTOP_TOKEN",F="_1688_EXTENSION_IS_NUMBER_BROWSER",B="_1688_EXTENSION_IS_OPEN_WEBSITE",U="_1688_EXTENSION_OPTIONS",z="_1688_EXTENSION_EXPRESS_DELIVERY_INFO",H="_1688_EXTENSION_DRAWER_FIND_GOODS_SETTINGS",G="_1688_EXTENSION_VIEW_TREND_PANEL_STATUS",q="_1688_EXTENSION_DISABLE_DOWNLOAD_SETTING_WARNING",W="_1688_EXTENSION_AB_TEST_INSERT_BTN_UI",K="_1688_EXTENSION_PLUGIN_MENU_MODE",V="_1688_EXTENSION_SHOW_GUIDANCE_REASON",Y="findSameGoodsBtn",J="_1688_EXTENSION_ENTRY_POSITION",Z="_1688_EXTENSION_SHOW_AI_CHATBOT",X="_1688_EXTENSION_SHOULD_REPORT_BROWSER",$="_1688_EXTENSION_DOWNLOAD_IMG_TYPE",Q="_1688_EXTENSION_DOWNLOAD_IMG_WAY",ee="_1688_EXTENSION_AB_TEST_WORD_SEARCH_UI",et="_1688_EXTENSION_INSTALL_REPORTED",er="_1688_EXTENSION_SHOULD_CONFIRM_INVITATION",en="_1688_EXTENSION_ENTRY_NOTIFICATION",ea="_1688_EXTENSION_ACTIVE_NOTIFICATION",ei="_1688_EXTENSION_UNREAD_NOTIFICATION",eo="_1688_EXTENSION_MESSAGE_QUEUE",es="_1688_EXTENSION_ORDER_LOGISTICS_SWITCH",ec="_1688_EXTENSION_GOODS_OPERATION_FIXED_TOP",eu="_1688_EXTENSION_GOODS_OPERATION_OPEN_STATUS",el="_1688_EXTENSION_MULTIPLE_INSTALLED_NOTIFICATION_TIME",ef="_1688_EXTENSION_TENDENCY_DAY_SELECT",ed="_1688_EXTENSION_TRANSACTION_TREND_DAY_SELECT",eh="_1688_EXTENSION_BLACK_LIST",ep="_1688_EXTENSION_DEFAULT_LANGUAGE",ev="_1688_EXTENSION_ON_LANGUAGE_CHANGE",em="_1688_EXTENSION_MTOP_ENV_SWITCH",eg="_1688_EXTENSION_USER_PERMISSION_LIST",eb="_1688_EXTENSION_USER_PERMISSION_MAP",ey="_1688_EXTENSION_OFFER_LIST_TOOLBAR_SHOW_EXTRA",e_="_1688_EXTENSION_OFFER_LIST_TOOLBAR_PINNED",ew="_1688_EXTENSION_OFFER_LIST_TOOLBAR_INFO",eS="_1688_EXTENSION_SEARCH_HISTORY_LAST_TIMESTAMP",eE="_1688_EXTENSION_OFFER_LIST_TOOLBAR_EXPORT_EXCLUDE_KEYS",ek="_1688_EXTENSION_LATEST_VERSION",eI="_1688_EXTENSION_AI_PICK_CONFIG",ex="_1688_EXTENSION_AI_FIND_CONFIG",eO="_1688_EXTENSION_FATIGUE_RECORDS",eT="_1688_EXTENSION_SMART_LINK_MATERIAL_CONFIG",eA="_1688_EXTENSION_SMART_LINK_MODULE",eM="_1688_EXTENSION_AI_IMAGE_CONFIG",eR="_1688_EXTENSION_TRANSLATION_TARGET_LANGUAGE",eC="_1688_EXTENSION_SERVER_TRANSLATION_CONFIG",ej="pcPluginOnboardingFeature",eN="_1688_EXTENSION_TASK_EXECUTION_RECORD",eP="_1688_EXTENSION_REMOTE_SETTINGS",eD="_1688_EXTENSION_AI_CHATBOT_CONFIG",eL="_1688_EXTENSION_PAGE_ACTIVE_TIME",eF="_1688_EXTENSION_NOTIFICATION_AB_TEST_GROUP",eB="_1688_EXTENSION_NOTIFICATION_CONFIG",eU="_1688_EXTENSION_INSTALL_TIMESTAMP",ez="_1688_EXTENSION_ONBOARDING_FEATURE",eH="_1688_EXTENSION_ENABLE_DEBUG_LOG",eG="_1688_EXTENSION_BIND_SHOP_FATIGUE",eq="_1688_EXTENSION_SEARCH_MEMORY_ENTRY_POSITION",eW="_1688_EXTENSION_CONTENT_SELECTOR_CONFIG",eK="_1688_EXTENSION_SIDE_PANEL_OPEN",eV="_1688_EXTENSION_PENDING_SIDEPANEL_MESSAGES",eY="_1688_EXTENSION_COLLECTION_CONFIG",eJ="https://1688smartassistant.oss-cn-beijing.aliyuncs.com/development",eZ="https://1688smartassistant.oss-cn-beijing.aliyuncs.com/test",eX="https://1688smartassistant.oss-cn-beijing.aliyuncs.com",e$="version.json",eQ="1688-extension.zip",e0="1688-extension.crx";(n=a||(a={})).DEVELOPMENT="development",n.PRODUCTION="production",n.TEST="test";let e1={[a.DEVELOPMENT]:{env:a.DEVELOPMENT,cdn:{version:s.default,configuration:`${eJ}/${e$}`,zip:`${eJ}/${eQ}`,crx:`${eJ}/${e0}`}},[a.TEST]:{env:a.TEST,cdn:{version:"https://dev.o.alicdn.com/innovateHub/MarketMate/version.json",configuration:`${eZ}/${e$}`,zip:`${eZ}/${eQ}`,crx:`${eZ}/${e0}`}},[a.PRODUCTION]:{env:a.PRODUCTION,cdn:{version:"https://o.alicdn.com/innovateHub/MarketMate/version.json",configuration:`${eX}/${e$}`,zip:`${eX}/${eQ}`,crx:`${eX}/${e0}`}}},e2="production",e3="common",e4="1.1.8",e6=!e3?.includes("store")||"chrome-store"===e3,e8=e1[e2],e5="https://login.taobao.com/?redirect_url=https%3A%2F%2Flogin.1688.com%2Fmember%2Fjump.htm%3Ftarget%3Dhttps%253A%252F%252Flogin.1688.com%252Fmember%252FmarketSigninJump.htm%253FDone%253D%25252F%25252Fmy.1688.com%25252F&style=tao_custom&from=1688web",e7="https://www.1688.com/",e9="https://work.1688.com/home/buyer.htm?_path_=buyer2017Base/2017buyerbase_trade/buyList",te="https://air.1688.com/kapp/assets-group/haobangshou/UninstallRetention",tt="dfc62734abf1b2330e99f4c0d7efb0a7",tr=[{reg:/^(https?:\/\/)?(?:www\.)?baidu\.com\/s(?:[^\s]*)?$/,key:"wd=",parentElement:"#wrapper",insertElement:"#con-ar",logKey:"keyWordsSearchBD"},{reg:/^(https?:\/\/)?(?:www\.)?so\.com\/s(?:[^\s]*)?$/,key:"q=",parentElement:"#warper",insertElement:"#side_wrap",logKey:"keyWordsSearch360"},{reg:/^(https?:\/\/)?(?:www\.)?sogou\.com\/.*/,key:"query=",parentElement:"#sogou_wrap_id",insertElement:"#right",logKey:"keyWordsSearchSG"}],tn=/\bQuarkPC\b/i.test(navigator.userAgent),ta=/\bQQBrowser\b/i.test(navigator.userAgent),ti=/\bMetaSr\b/i.test(navigator.userAgent),to="undefined"!=typeof chrome&&!!chrome?.sidePanel?.open,ts=tn||ta||ti,tc="_USE_DYNAMIC_RULES_",tu=[{browser:"Chrome"},{browser:"360EE"},{browser:"360SE"},{browser:"Edge"},{browser:"Quark"},{browser:"QQBrowser"},{browser:"Sogou"},{browser:"2345Explorer"},{browser:"360AI"}]},{"~config/version-control.json":"8Bjpy","./type":"1PlmV","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8Bjpy":[function(e,t,r){t.exports=JSON.parse('{"latestVersion":"0.1.31"}')},{}],"1PlmV":[function(e,t,r){var n,a,i,o,s,c,u,l,f,d,h=e("@parcel/transformer-js/src/esmodule-helpers.js");h.defineInteropFlag(r),h.export(r,"LogSource",()=>c),h.export(r,"OptionsKey",()=>u),h.export(r,"HoverPosition",()=>l),h.export(r,"ImageSearchDefaultChannel",()=>f),h.export(r,"ExecSmartLinkDslScene",()=>d);var p=e("~background/notifications/consts/enum");(n=c||(c={}))[n.API=0]="API",n[n.COMMON=1]="COMMON",n[n.SMART_LINK=2]="SMART_LINK",n[n.WEBSOCKET=3]="WEBSOCKET",n[n.TRACE=4]="TRACE",(a=u||(u={})).WANGWANG_VISIBLE="wangwangVisible",a.WANGWANG_OPEN_IN_MODAL="wangwangOpenInModal",a.INSERT_DOM_VISIBLE="insertDomVisible",a.IMAGE_SEARCH_VISIBLE="imageSearchVisible",a.SHOW_DRAWER_FIND_GOODS="showDrawerFindGoods",a.SHORTCUT_SCREENSHOT="shortcutScreenshot",a.SHOW_POPOVER_FIND_GOODS="showPopoverFindGoods",a.LIST_SHOW_POPOVER_FIND_GOODS="listShowPopoverFindGoods",a.SHOW_ENTRY_ORDER_INFO="showEntryOrderInfo",a.SHOW_GLOBAL_ENTRY="showGlobalEntry",a.SHOW_PIC_PREVIEW="showPicPreview",a.GOODS_OPERATION_AREA="goodsOperationArea",a.LANGUAGE="language",a.HOVER_POSITION="hoverPosition",a.TRANSLATION_BUBBLE="translationBubble",a.IMAGE_SEARCH_DEFAULT_CHANNEL="imageSearchDefaultChannel",a.SHOW_SEARCH_MEMORY_GLOBAL_ENTRY="showSearchMemoryGlobalEntry",a[a.NEW_SUPPLIER_PUSH=p.MessageBizType.SHOP_NEW_PRODUCT]="NEW_SUPPLIER_PUSH",a[a.ABNORMAL_ORDER_PUSH=p.MessageBizType.ABNORMAL_ORDER]="ABNORMAL_ORDER_PUSH",a[a.WANGWANG_PUSH=p.MessageBizType.WANGWANG]="WANGWANG_PUSH",a[a.BATCH_INQUIRY_PUSH=p.MessageBizType.BATCH_INQUIRY]="BATCH_INQUIRY_PUSH",(i=l||(l={})).LEFT_TOP="LeftTop",i.LEFT_BOTTOM="LeftBottom",i.RIGHT_TOP="RightTop",i.RIGHT_BOTTOM="RightBottom",(o=f||(f={})).DEFAULT="DEFAULT",o.ALL="ALL",o.KUA_JING="KUA_JING",o.TAOBAO="TAOBAO",o.AMAZON="AMAZON",o.ALIBABA="ALIBABA",o.ALIEXPRESS="ALIEXPRESS",o.OZON="OZON",(s=d||(d={})).EXEC_BG_DSL="execBackgroundDsl",s.EXEC_CS_DSL="execContentScriptDsl",s.PRELOAD_CS_DSL="preloadContentScriptDsl"},{"~background/notifications/consts/enum":"lfPmQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lfPmQ:[function(e,t,r){var n,a,i,o,s,c,u,l,f,d,h,p,v=e("@parcel/transformer-js/src/esmodule-helpers.js");v.defineInteropFlag(r),v.export(r,"MessageConflictStrategy",()=>u),v.export(r,"MessageSource",()=>l),v.export(r,"DisplayMode",()=>f),v.export(r,"MessageInteractionType",()=>d),v.export(r,"MessageBizType",()=>h),v.export(r,"MessageStatus",()=>p),(n=u||(u={})).KEEP_ALL="keep_all",n.REPLACE="replacement",n.DUMP="dump",(a=l||(l={})).POLLING="polling",a.USER_ACTION="user_action",a.PUSH="push",(i=f||(f={})).SILENT="silent",i.PROMINENT="prominent",(o=d||(d={})).AUTO_DISMISS="auto_dismiss",o.FORCE_INTERACTION="force_interaction",(s=h||(h={})).WANGWANG="wangwang",s.PLUGIN_UPDATE="update-version",s.MULTI_PLUGIN="multiple-installed",s.SHOP_NEW_PRODUCT="shop_publish",s.ABNORMAL_ORDER="abnormal_order",s.BATCH_INQUIRY="batch_inquiry",s.INTENT_PUSH="INTENT_PUSH",s.TASK_CENTER="task_completion",(c=p||(p={})).PENDING="pending",c.CONSUMING="consuming",c.READING="reading",c.COMPLETED="completed",c.INTERRUPTED="interrupted"},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],fRZO2:[function(e,t,r){r.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},r.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.exportAll=function(e,t){return Object.keys(e).forEach(function(r){"default"===r||"__esModule"===r||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),t},r.export=function(e,t,r){Object.defineProperty(e,t,{enumerable:!0,get:r})}},{}],kYpGH:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"sleep",()=>i),n.export(r,"retry",()=>o),n.export(r,"isTest",()=>s),n.export(r,"SPMMap",()=>c),n.export(r,"SPMExtension",()=>u),n.export(r,"formatUrlWithSPM",()=>l),n.export(r,"genUUID",()=>f),n.export(r,"getExtensionLocalStorage",()=>d),n.export(r,"getExtensionLocalStorageV2",()=>h),n.export(r,"getCachedOptions",()=>p),n.export(r,"isToday",()=>v),n.export(r,"getTodayString",()=>m),n.export(r,"formatDuration",()=>b),n.export(r,"getSafeInternalRemoteMediaUrl",()=>y),n.export(r,"transformBytesToBase64",()=>_),n.export(r,"encryptByCtr",()=>w),n.export(r,"compareVersions",()=>S),n.export(r,"getUUID",()=>E),n.export(r,"getEastEightDate",()=>k),n.export(r,"throttledFn",()=>I),n.export(r,"isChinese",()=>x),n.export(r,"removeDuplicates",()=>O),n.export(r,"getHtmlTextContent",()=>T),n.export(r,"debounce",()=>A),n.export(r,"safeJsonParse",()=>M),n.export(r,"enableRegisterMainScript",()=>R),n.export(r,"isChromeLargerThanOrEqualTo",()=>C),n.export(r,"isValidObject",()=>j),n.export(r,"isNonEmptyObject",()=>N),n.export(r,"isContentScript",()=>P);var a=e("./const");async function i(e){return new Promise(t=>{setTimeout(t,e)})}async function o(e,t){let r=0,n=null;for(;r<t.times;){try{if(n=await e(),!t.notNull||null!=n)break}catch(e){console.error("retry error:",e)}r++,t.interval&&await i(t.interval)}return n}function s(){return!1}let c={wangwang:"a2639h.28947355.43540223.0",uploadImg:"a2639h.28947355.43540203.0",screenshot:"a2639h.28947355.43540198.0",searchText:"a2639h.28947355.43540196.0",insertBtn:"a2639h.28947355.43541828.0","1688Icon":"a2639h.28947355.43543900.0",popoverRemindLogin:"a2639h.28947355.43645897.0",popoverRemindRedEnvelope:"a2639h.28947355.43645899.0",modalRemindRedEnvelope:"a2639h.28947355.43645901.0",globalSearchImg:"a2639h.28947355.43645902.0",installAutoLink:"a2639h.28947355.43651291.0",contextMenuScreenshot:"a2639h.28947355.43700716.0",login2checkExpressDelivery:"a2639h.28947355.43710872.0",waitSellerSendGoodCount:"a2639h.28947355.43710871.0",waitBuyerPayCount:"a2639h.28947355.43710870.0",waitBuyerReceiveCount:"a2639h.28947355.43710869.0",followEntryPopoverOfferItem:"a2639h.28947355.43761176.0",followEntryPopoverMore:"a2639h.28947355.44039642.0",shortcutScreenshot:"a2639h.28947355.43814363.0",keyWordsSearchBD:"a2639h.28947355.44042771.0",keyWordsSearchSG:"a2639h.28947355.44042773.0",keyWordsSearch360:"a2639h.28947355.44042774.0",popup:"a2639h.28947355.44084079.0",entryPopover:"a2639h.28947355.entryPopover.0",notification:"a2639h.28947355.notification.0",other:"a2639h.28947355.other.0",options:"a2639h.28947355.options.0",aiProductComparison:"a2639h.30155633.aiProducts.0",aiPick:"a2639h.30319530.aiPick.0",onboardingGuide:"a2639h.28947355.46028034.0"},u="a2639h.28947355";function l(e,t){let r=new URL(e);return r.searchParams.set("spm",c[t]),"https://wxthirdplatform-p.1688.com"!==r.origin&&r.searchParams.set("source",`action#${t};origin#${location.host}`),r.searchParams.set("amug_biz","oneself"),r.searchParams.set("amug_fl_src","awakeId_984"),r.searchParams.forEach((e,t)=>{if("fromkv"===t.toLowerCase()){let n=decodeURIComponent(e);r.search=r.search.replace(`${t}=${encodeURIComponent(e)}`,`${t}=${n}`)}}),r.href}function f(){let e=Date.now(),t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t.length,n="";for(;e>0;)n+=t.charAt(e%r),e=Math.floor(e/r);for(;n.length<16;)n+=t.charAt(Math.floor(Math.random()*r));let a=n.split("").sort(function(){return .5-Math.random()}).join("");return a.substring(0,16)}async function d(e){return new Promise(t=>{let r=setTimeout(()=>{console.error("storage.local.get timeout"),t({})},1e4);chrome.storage.local.get(e,e=>{clearTimeout(r),t(e||{})})})}async function h(e){return new Promise(t=>{let r=setTimeout(()=>{console.error("storage.local.get timeout"),t({})},1e4);chrome.storage.local.get(e,e=>{clearTimeout(r),t(e||{})})})}async function p(){let e=(await d(a.STORAGE_KEY_OPTIONS))[a.STORAGE_KEY_OPTIONS]||{};return{...a.DEFAULT_OPTIONS,...e}}function v(e){let t=new Date(e),r=new Date;return t.getFullYear()===r.getFullYear()&&t.getMonth()===r.getMonth()&&t.getDate()===r.getDate()}function m(){return new Date().toLocaleDateString(void 0,{month:"long",day:"numeric"})}function g(e){return e>9?e:"0"+e}function b(e,t,r){let n=setInterval(()=>{let a=Date.now(),i=e-a;i<0?(clearInterval(n),"function"==typeof r&&r()):"function"==typeof t&&t({days:g(Math.floor(i/864e5)),hours:g(Math.floor(i%864e5/36e5)),minutes:g(Math.floor(i%36e5/6e4)),seconds:g(Math.floor(i%6e4/1e3))})},1e3);return()=>clearInterval(n)}function y(e){try{let t=new URL(e);return t.searchParams.append(a.USE_DYNAMIC_RULES,"true"),t.href}catch(t){return e}}function _(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function w(e){return btoa(String.fromCharCode(...new TextEncoder().encode(e)))}function S(e,t){try{let r=(e||"").split(".").map(Number),n=(t||"").split(".").map(Number);for(let e=0;e<Math.max(r.length,n.length);e++){let t=r[e]||0,a=n[e]||0;if(t>a)return 1;if(t<a)return -1}return 0}catch(e){return 0}}let E=async()=>{try{let{[a.STORAGE_KEY_UUID]:e}=await d(a.STORAGE_KEY_UUID);if(!e){let e=f();return await chrome.storage.local.set({[a.STORAGE_KEY_UUID]:e}),e}return e}catch(e){return}};function k(e){let t=new Date;"number"==typeof e&&(t=new Date(e));let r=t.getTime()+6e4*t.getTimezoneOffset();return new Date(r+288e5)}function I(e,t){let r=0;return function(...n){let a=Date.now();a-r>=t&&(r=a,e.apply(this,n))}}function x(e){return"zh-CN"===e.getLang()}function O(e){return[...new Set(e)]}function T(e){return e?new DOMParser().parseFromString(e,"text/html").body.textContent:""}let A=(e,t)=>{let r=null;return(...n)=>{r&&clearTimeout(r),r=setTimeout(()=>{e(...n)},t)}};function M(e){try{return JSON.parse(e)}catch(e){return null}}function R(){return C(102)}function C(e){try{let t=navigator?.userAgent;if(!t)return!1;let r=Number(t.match(/Chrome\/(\d+)/)?.[1]);if(r&&r>=e)return!0;return!1}catch(e){return console.error(e),!1}}function j(e){return"object"==typeof e&&null!==e}function N(e){return j(e)&&Object.keys(e).length>0}function P(){return"undefined"!=typeof window&&"undefined"!=typeof document}},{"./const":"bkfUq","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"1wDFS":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"PageOrchestrator",()=>c);var a=e("./observers/image-crop"),i=e("./observers/image-switch"),o=e("./observers/scrollNew"),s=e("./observers/toolbar");class c{constructor(e,t){this.imageCropObserver=null,this.imageSwitchObserver=null,this.toolbarObserver=null,this.scrollObserver=null,this.widgetRenderer=null,this.config=t,this.widgetRenderer=e}observe(){this.setupImageSwitchObserver(),this.setupToolbarObserver(),this.setupImageCropObserver(),this.setupScrollObserver()}setupImageSwitchObserver(){let{imageDataConfig:e}=this.config;this.imageSwitchObserver=new i.ImageSwitchObserver({selector:e.referenceSelector,imageElementRelativePath:e.imageElementRelativePath,cropElementRelativePath:e.cropElementRelativePath},()=>{this.mountWidgets()})}setupImageCropObserver(){this.imageCropObserver=new a.ImageCropObserver}setupToolbarObserver(){this.toolbarObserver=new s.ToolbarObserver(e=>{this.widgetRenderer?.adjustIframePosition(e)})}setupScrollObserver(){this.scrollObserver=new o.ScrollObserver(e=>{this.widgetRenderer?.setVisible("overlay",e)},20)}cleanup(){this.cleanupImageCropObserver(),this.cleanupToolbarObserver(),this.cleanupScrollObserver(),this.cleanupImageSwitchObserver(),this.widgetRenderer?.cleanup()}cleanupImageCropObserver(){this.imageCropObserver&&(this.imageCropObserver.disconnect(),this.imageCropObserver=null)}cleanupToolbarObserver(){this.toolbarObserver&&(this.toolbarObserver.disconnect(),this.toolbarObserver=null)}cleanupScrollObserver(){this.scrollObserver&&(this.scrollObserver.disconnect(),this.scrollObserver=null)}cleanupImageSwitchObserver(){this.imageSwitchObserver&&(this.imageSwitchObserver.disconnect(),this.imageSwitchObserver=null)}isConfigValid(){return!!this.config?.imageDataConfig?.referenceSelector}mountWidgets(){if(this.config){if(!this.isConfigValid()){this.cleanup();return}this.widgetRenderer?.getWidgets().size&&this.widgetRenderer.getWidgets().size>=2||this.config.widgetsConfig.forEach(e=>{this.widgetRenderer?.renderWidget(e)})}}}},{"./observers/image-crop":"jhtze","./observers/image-switch":"aotb3","./observers/scrollNew":"lYtKE","./observers/toolbar":"cC7hN","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],jhtze:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"ImageCropObserver",()=>i);var a=e("./base");class i extends a.DomObserverBase{constructor(){super({selector:"#space-image-head-sn > div.container > div > div.croper-container"}),this.imageCropObserver=null,this.callback=e=>{super.disconnect(),this.handleTargetElement(e)},this.init()}handleTargetElement(e){this.cleanupImageCropObserver(),this.imageCropObserver=new MutationObserver(t=>{t.forEach(t=>{"attributes"===t.type&&"style"===t.attributeName&&this.checkSelectionAreaClick(e)})}),this.imageCropObserver.observe(e,{attributes:!0,attributeFilter:["style"]}),this.checkSelectionAreaClick(e)}checkSelectionAreaClick(e){let t=e.parentElement,r=e.getAttribute("style")?.includes("visibility: visible;");requestAnimationFrame(()=>{t.setAttribute("style",r?"overflow-x: clip; overflow-y: visible;":"overflow-x: auto; overflow-y: hidden;")})}cleanupImageCropObserver(){this.imageCropObserver&&(this.imageCropObserver.disconnect(),this.imageCropObserver=null)}disconnect(){super.disconnect(),this.cleanupImageCropObserver()}}},{"./base":"eJR8E","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],eJR8E:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"DomObserverBase",()=>i);var a=e("./manager");class i{constructor(e){this.config=e,this.observer=null,this.target=null,this.forceGlobalObserver=!1}init(){let e=this.config.root||document.body,t=e.querySelector(this.config.selector);(!t||(this.target=t,this.callback(t),this.forceGlobalObserver))&&(0,a.GlobalObserverManager).getInstance().register(this.config.selector,e=>{this.target=e,this.callback(e)})}disconnect(){(0,a.GlobalObserverManager).getInstance().unregister(this.config.selector),this.target=null}}},{"./manager":"e6OUZ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],e6OUZ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"GlobalObserverManager",()=>a);class a{constructor(){this.observers=new Map,this.setupMainObserver()}static getInstance(){return a.instance||(a.instance=new a),a.instance}setupMainObserver(){this.mainObserver=new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{e instanceof Element&&this.observers.forEach((t,r)=>{if(e.matches(r))t.callback(e);else{let n=e.querySelectorAll(r);n.length>0&&t.callback(n[0])}})})})}),this.mainObserver.observe(document.body,{childList:!0,subtree:!0})}register(e,t){this.observers.set(e,{callback:t})}unregister(e){this.observers.delete(e)}destroy(){this.mainObserver?.disconnect(),this.observers.clear()}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],aotb3:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"ImageSwitchObserver",()=>c);var a=e("~libs/dom"),i=e("../store"),o=e("./base");function s(e,t){if(!e)return null;let r=RegExp(`${t}\\s*:\\s*([^;]+)`,"i"),n=e.match(r);return n?n[1].trim():null}class c extends o.DomObserverBase{constructor(e,t){super(e),this.onImageSearchInitHandler=t,this.targetTargetStyleObserver=null,this.forceGlobalObserver=!0,this.callback=t=>{this.onImageChangeHandler(t,e),this.onImageSearchInitHandler()},this.init()}onImageChangeHandler(e,t){(0,i.useAiPickStore).getState().switchImage();let r=(0,a.getNestedValue)(e,t.imageElementRelativePath);if(!r){console.warn("\u672a\u627e\u5230\u56fe\u7247\u5143\u7d20"),(0,i.useAiPickStore).getState().updateImageExtractStatus(i.AiPickProcessStatus.IMAGE_EXTRACT_FAILED);return}let n=(0,a.getNestedValue)(e,t.cropElementRelativePath);if(!n){console.warn("\u672a\u627e\u5230\u88c1\u526a\u5143\u7d20"),(0,i.useAiPickStore).getState().updateImageExtractStatus(i.AiPickProcessStatus.IMAGE_EXTRACT_FAILED);return}let o=this.extractImageData(r,n);isNaN(o.width)||isNaN(o.height)?this.observeTargetStyleChange(r,e=>{(0,i.useAiPickStore).getState().setImageData({...o,...e}),(0,i.startAiPick)()}):((0,i.useAiPickStore).getState().setImageData(o),(0,i.startAiPick)())}extractImageData(e,t){return{top:parseFloat(e.style.top)||0,left:parseFloat(e.style.left)||0,cropWidth:parseFloat(t.style.width||"91"),cropHeight:parseFloat(t.style.height||"91"),width:parseFloat(e.style.width),height:parseFloat(e.style.height),backgroundImage:e.style.backgroundImage.replace(/url\((.*)\)/,"$1").replace(/\"/g,"")}}observeTargetStyleChange(e,t){this.cleanupTargetStyleObserver(),this.targetTargetStyleObserver=new MutationObserver(e=>{for(let r of e)if("attributes"===r.type&&"style"===r.attributeName){let e=s(r.target.getAttribute("style"),"width"),n=s(r.target.getAttribute("style"),"height");if(e||n){requestAnimationFrame(()=>{t({width:parseFloat(e)||0,height:parseFloat(n)||0})}),this.cleanupTargetStyleObserver();break}}}),this.targetTargetStyleObserver.observe(e,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0})}cleanupTargetStyleObserver(){this.targetTargetStyleObserver&&(this.targetTargetStyleObserver.disconnect(),this.targetTargetStyleObserver=null)}destroy(){super.disconnect(),this.cleanupTargetStyleObserver()}}},{"~libs/dom":"hXlzm","../store":"eRJ1i","./base":"eJR8E","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],hXlzm:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getCSSSelector",()=>function e(t){if(!t||!(t instanceof Element))return"";if(t===document.documentElement)return"html";if(t.id)return`#${CSS.escape(t.id)}`;let r="";return t.parentElement&&(r=e(t.parentElement))&&(r+=" > "),r+function(e){let t=e.parentElement,r=Array.from(t?.children||[]);if(!t||r.length<=1)return e.nodeName.toLowerCase();let n=Array.from(e.classList).map(e=>`.${CSS.escape(e)}`).join(""),a=-1,i=!0,o=!!n;return(r.some((t,r)=>{if(-1!==a&&!i&&!o)return!0;if(t===e&&(a=r),t!==e){t.nodeName===e.nodeName&&(i=!1);try{n&&t.matches(n)&&(o=!1)}catch(e){console.log(e)}}}),i)?e.nodeName.toLowerCase():o?e.nodeName.toLowerCase()+n:e.nodeName.toLowerCase()+`:nth-child(${a+1})`}(t)}),n.export(r,"myCreateElement",()=>c),n.export(r,"getDataFromReactInstance",()=>l),n.export(r,"getDataFromReactInstanceAsync",()=>f),n.export(r,"showToast",()=>d),n.export(r,"getNestedValue",()=>h),n.export(r,"injectCssStyle",()=>p),n.export(r,"injectShadowCssStyle",()=>v);var a=e("~common/images"),i=e("./post-message"),o=e("./react-fiber-main-handler"),s=e("./utils");function c(e,t){let r=document.createElement(e),{className:n,style:a,events:i,children:o,dataset:s,...c}=t||{};if(n&&(Array.isArray(n)?r.className=n.filter(e=>!!e).join(" "):r.className=n),c)for(let t in c)if("className"===t)r.className=c[t];else if("htmlFor"===t)"htmlFor"in r&&r.setAttribute("for",c[t]);else if(t in r)try{r[t]=c[t]}catch(r){console.warn(`\u5728 <${e}> \u5143\u7d20\u4e0a\u8bbe\u7f6e\u5c5e\u6027 '${t}' \u5931\u8d25:`,r)}else r.setAttribute(t,c[t]);if("img"===e&&"referrerPolicy"in r&&!("referrerPolicy"in c)&&(r.referrerPolicy="no-referrer"),Object.assign(r.style,a||{}),i)for(let e in i)r.addEventListener(e,i[e]);if(s)for(let e in s)r.dataset[e]=s[e];return o?.forEach(e=>{"string"==typeof e?r.appendChild(document.createTextNode(e)):e instanceof HTMLElement&&r.appendChild(e)}),r}let u=["^__reactInternalInstance","^__reactFiber"];function l(e,t){try{let r;if(!e||!(e instanceof Element))return;let n=[...t.instanceKeys||[],...u].map(e=>new RegExp(e)),a=Object.keys(e).length,i=Object.keys(e).sort((e,t)=>{let r=n.findIndex(t=>t.test(e)),i=n.findIndex(e=>e.test(t));return(-1===r?a:r)-(-1===i?a:i)});return i?.some(a=>{let i=n.some(e=>{if(e.test(a))return!0});if(!i)return;let o=e?.[a];return t.dataPaths?.some(e=>{let t=s.getValueByPath(o,e);if(null!=t)return r=t,!0})}),r}catch(e){console.error(e);return}}async function f(e,t){if(!e||!(e instanceof Element))return;let r=`data-mm-fiber-${Date.now()}-${Math.random().toString(36).slice(2)}`;e.setAttribute(r,"1");let n=new i.PostMessageChannel;try{let e=await n.sendMessage({name:o.GET_REACT_FIBER_DATA_MSG,request:{selector:`[${r}]`,instanceKeys:t.instanceKeys||[],dataPaths:t.dataPaths||[]}},{timeout:1e3});return e.success?e.data:void 0}finally{n.destroy(),e.removeAttribute(r)}}function d(e){let t=document.createElement("div"),r=document.createElement("span");r.innerText=e.message;let n=document.createElement("img");switch(n.style.height="18px",n.style.width="18px",n.style.marginRight="12px",n.referrerPolicy="no-referrer",e.type){case"success":n.src=a.IMAGE.IconSuccess;break;case"error":n.src=a.IMAGE.IconError;break;case"warning":n.src=a.IMAGE.IconWarning;break;default:n.src=a.IMAGE.IconInfo}t.append(n,r),t.style.position="fixed",t.style.display="flex",t.style.justifyContent="center",t.style.alignItems="center",t.style.top="40%",t.style.left="50%",t.style.transform="translateX(-50%)",t.style.padding="16px",t.style.backgroundColor="#333",t.style.color="#fff",t.style.borderRadius="5px",t.style.minWidth="250px",t.style.textAlign="center",t.style.zIndex="9999",t.style.opacity="0",t.style.transition="opacity 0.3s, visibility 0.3s",t.style.visibility="hidden",document.body.appendChild(t);let i=setTimeout(()=>{t.style.opacity="1",t.style.visibility="visible"},100),o=setTimeout(()=>{t.style.opacity="0",t.style.visibility="hidden",setTimeout(()=>{document.body.contains(t)&&document.body.removeChild(t),i=null,o=null},300)},3e3);return Object.assign(t.style,e.extraStyle||{}),()=>{null!==i&&(clearTimeout(i),i=null),null!==o&&(clearTimeout(o),o=null),document.body.contains(t)&&document.body.removeChild(t)}}let h=(e,t)=>{if(!t||"object"!=typeof e||null===e)return null;let r=t.replace(/\[(\d+)\]/g,".$1").split(".");return r.reduce((e,t)=>{if(null!=e){let r=e[t];return r&&r instanceof Node&&r.nodeType===Node.COMMENT_NODE?"firstChild"===t?r.nextSibling:r.previousSibling:r}return null},e)};function p(e,t){if(!e||t&&document.querySelector(`style#${t}`))return;let r=document.createElement("style");r.innerHTML=e,t&&(r.id=t),document.head.append(r)}function v(e,t){if(!e)return;let r=document.createElement("style");r.textContent=e,r.setAttribute("data-styled",""),t.append(r)}},{"~common/images":"iug4a","./post-message":"4hLsj","./react-fiber-main-handler":"6zH6I","./utils":"5BuMA","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],iug4a:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"IMAGE",()=>a);let a={IconFolder:"https://img.alicdn.com/imgextra/i1/O1CN01Z70DtQ1xzSzevyLmc_!!6000000006514-55-tps-48-48.svg",IconSpecWarning:"https://img.alicdn.com/imgextra/i3/O1CN01tbUAE71gLInE30yDc_!!6000000004125-2-tps-48-48.png",IconChartSelect:"https://img.alicdn.com/imgextra/i4/O1CN01q2RnEZ27zbGaDPJtb_!!6000000007868-2-tps-36-36.png",IconChartSelected:"https://img.alicdn.com/imgextra/i2/O1CN01kTluCb1FcFpHjytp2_!!6000000000507-2-tps-48-48.png",IconZip:"https://img.alicdn.com/imgextra/i2/O1CN01PDnFQb23ekmBKOmWA_!!6000000007281-55-tps-200-200.svg",SwitchIcon:"https://img.alicdn.com/imgextra/i1/O1CN01ABegcn1ZlgIHxSTNc_!!6000000003235-55-tps-64-64.svg",IconBackBlue:"https://img.alicdn.com/imgextra/i4/O1CN01JrIJSM1LoW7nrNZmh_!!6000000001346-55-tps-10-10.svg",IconBackNew:"https://img.alicdn.com/imgextra/i4/O1CN01HGsw3C28czKQsEkZS_!!6000000007954-55-tps-14-14.svg",IconSearchBg:"https://img.alicdn.com/imgextra/i1/O1CN01JcJfdl1p04yuuDybA_!!6000000005297-2-tps-368-311.png",IconEvaluation1:"https://img.alicdn.com/imgextra/i3/O1CN01vWOFek1e8MMtNGYIh_!!6000000003826-2-tps-90-21.png",IconEvaluation2:"https://img.alicdn.com/imgextra/i4/O1CN01pBLdkK1KIcvt9PZfY_!!6000000001141-2-tps-102-30.png",IconOperationOpen:"https://img.alicdn.com/imgextra/i1/O1CN01iZMcRj1tf4tmkujSk_!!6000000005928-2-tps-48-48.png",IconOperationTopActive:"https://img.alicdn.com/imgextra/i4/O1CN01TJfBVV1fr4eUwCq75_!!6000000004059-2-tps-48-48.png",IconOperationTop:"https://img.alicdn.com/imgextra/i4/O1CN01yC5ccb1wVrmTRB07P_!!6000000006314-2-tps-48-48.png",IconDelete:"https://img.alicdn.com/imgextra/i3/O1CN01D6u2TW25meqJfDP5q_!!6000000007569-2-tps-72-72.png",IconDeleteHover:"https://img.alicdn.com/imgextra/i2/O1CN01btreNs24MinaKeqNu_!!6000000007377-2-tps-72-72.png",IconClose:"https://img.alicdn.com/imgextra/i3/O1CN01YyvmJM1XHnDSQI3vz_!!6000000002899-55-tps-24-24.svg",IconFold:"https://img.alicdn.com/imgextra/i2/O1CN01eWKFeq1s7M7aTzlFH_!!6000000005719-55-tps-17-9.svg",IconDownload:"https://img.alicdn.com/imgextra/i3/O1CN01KFm21X1ErXQaZEbXY_!!6000000000405-55-tps-48-48.svg",IconBackRed:"https://img.alicdn.com/imgextra/i3/O1CN01Yf3Hih1lZZCvCfhYU_!!6000000004833-55-tps-12-12.svg",PanelClose:"https://img.alicdn.com/imgextra/i2/O1CN01kCbGsq1D7uLtZyg82_!!6000000000170-55-tps-24-24.svg",IconLoading:"https://img.alicdn.com/imgextra/i3/O1CN01C2J8kd1UmWwwbUMwv_!!6000000002560-55-tps-48-48.svg",GuideLogo:"https://img.alicdn.com/imgextra/i4/O1CN01CpSENy1o8UdkIPx8G_!!6000000005180-2-tps-427-58.png",IconFindSameGoodsLogo:"https://img.alicdn.com/imgextra/i4/O1CN01FJSq8O1af6FApmOGx_!!6000000003356-55-tps-35-36.svg",IconDZ:"https://img.alicdn.com/imgextra/i2/O1CN015RnE6g1o9rpY6WMVY_!!6000000005183-2-tps-36-36.png",IconFK:"https://img.alicdn.com/imgextra/i2/O1CN01hZ4utY24oCYvEKF0Q_!!6000000007437-2-tps-36-36.png",IconFJ:"https://img.alicdn.com/imgextra/i2/O1CN01VO8S0k1MjJEpZGiaI_!!6000000001470-2-tps-36-36.png",IconXX:"https://img.alicdn.com/imgextra/i1/O1CN01KRtVBY1KwTOGAdK2m_!!6000000001228-2-tps-36-36.png",IconZX:"https://img.alicdn.com/imgextra/i3/O1CN01MrHGnh23HOZpAmyF3_!!6000000007230-2-tps-36-36.png",IconTitleSearch:"https://gw.alicdn.com/imgextra/i2/O1CN011AMRWp1wyGKyiNJPN_!!6000000006376-55-tps-23-23.svg",IconHoverTitleSearch:"https://gw.alicdn.com/imgextra/i1/O1CN01yCGdFW1lmOIZwkznt_!!6000000004861-55-tps-48-48.svg",IconHoverChaiCi:"https://gw.alicdn.com/imgextra/i2/O1CN01yJtyaJ1fcPyngaftZ_!!6000000004027-55-tps-48-48.svg",DingTalkQrCode:"https://img.alicdn.com/imgextra/i3/O1CN01TEntxG1nlaqtgKaDD_!!6000000005130-0-tps-864-814.jpg",SuccessIcon:"https://img.alicdn.com/imgextra/i2/O1CN01GNJjWn1Kq3rNcXiYk_!!6000000001214-2-tps-200-200.png",SuccessIconNoBorder:"https://img.alicdn.com/imgextra/i4/O1CN01I3404d1ddfqoBlRFg_!!6000000003759-55-tps-200-200.svg",IconSuccess:"https://img.alicdn.com/imgextra/i2/O1CN01GNJjWn1Kq3rNcXiYk_!!6000000001214-2-tps-200-200.png",IconWarning:"https://img.alicdn.com/imgextra/i4/O1CN015HOfwY1LN2NfYxbI8_!!6000000001286-2-tps-48-48.png",IconInfo:"https://img.alicdn.com/imgextra/i2/O1CN016gvryS1nBrxqwL8rc_!!6000000005052-2-tps-48-48.png",IconError:"https://img.alicdn.com/imgextra/i3/O1CN01NBn14x1f9Z2r5mJKj_!!6000000003964-2-tps-48-48.png",IconTrend:"https://img.alicdn.com/imgextra/i3/O1CN01t88w421Dd3Iv5n869_!!6000000000238-55-tps-200-200.svg",IconSearch:"https://img.alicdn.com/imgextra/i2/O1CN01Uju3s71qjFg8BXDcz_!!6000000005531-2-tps-48-48.png",orderLogisticsBarLogo:"https://gw.alicdn.com/imgextra/i1/O1CN01v7ZGgQ1ZaEPzEGPl1_!!6000000003210-2-tps-80-60.png",UpdateVersionImage:"https://img.alicdn.com/imgextra/i2/O1CN01fsZ0mf1zz7vrLhB1w_!!6000000006784-2-tps-1470-1440.png",IconHoverCopy:"https://gw.alicdn.com/imgextra/i4/O1CN01VAX9FG1gPsnkELNdD_!!6000000004135-55-tps-200-200.svg",IconArrowDown:"https://img.alicdn.com/imgextra/i3/O1CN019t75v51JR2cMOvl5f_!!6000000001024-2-tps-48-48.png",IconArrowUp:"https://img.alicdn.com/imgextra/i2/O1CN01B8Oui81RWYJImw3Xy_!!6000000002119-2-tps-48-48.png",IconSwap:"https://img.alicdn.com/imgextra/i4/O1CN01wRnmMt1Kk6kP6THtV_!!6000000001201-2-tps-48-48.png",IconClosePng:"https://img.alicdn.com/imgextra/i3/O1CN01lfp0rf1Yo8rFs3T8N_!!6000000003105-2-tps-54-54.png",IconClose_White:"https://img.alicdn.com/imgextra/i3/O1CN01lZDr8b1Q2UjWNNU93_!!6000000001918-2-tps-32-32.png",IconOperationLogo:"https://gw.alicdn.com/imgextra/i3/O1CN01Kh2uBT1Sohfuu463D_!!6000000002294-55-tps-33-31.svg",IconAILogo:"https://gw.alicdn.com/imgextra/i3/O1CN01OgjNU925ZNR04UUBQ_!!6000000007540-55-tps-23-14.svg",IconAILogoWhite:"https://gw.alicdn.com/imgextra/i1/O1CN01PP7w2i1XQ2QL9Juqo_!!6000000002917-55-tps-23-14.svg"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"4hLsj":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"PostMessageChannel",()=>i),n.export(r,"getPostMessageChannelSign",()=>o),n.export(r,"isPostMessageChannelValid",()=>s);var a=e("./md5");class i{constructor(){this.pendingMessages=new Map,this.handleMessage=this.handleMessage.bind(this),window.addEventListener("message",this.handleMessage)}sendMessage(e,t){let r=this.generateUniqueId(),n=Date.now(),a=o(r,e.name,n,e.request),i={id:r,name:e.name,sign:a,timestamp:n,payload:e.request},s=t?.timeout||1e4;return new Promise(n=>{this.pendingMessages.set(r,{name:e.name,resolve:n}),window.postMessage(i,t?.targetOrigin||"*"),setTimeout(()=>{this.pendingMessages.has(r)&&(this.pendingMessages.delete(r),n({success:!1,message:`Request timed out after ${s}ms: ${e.name} ${JSON.stringify(e.request)}`}))},s)})}handleMessage(e){let t=e.data;if(!s(t))return;let r=this.pendingMessages.get(t.id);if(r){if(t.name!==`${r.name}_FINISH`)return;r.resolve({success:!0,data:t.payload}),this.pendingMessages.delete(t.id)}}generateUniqueId(){return`${Date.now()}-${Math.random().toString(36).substring(2)}`}destroy(){window.removeEventListener("message",this.handleMessage),this.pendingMessages.forEach(e=>{e.resolve?.({success:!1,message:"MessageChannel destroyed before response received"})}),this.pendingMessages.clear()}}function o(e,t,r,n){return(0,a.md5)(e+"&"+t+"&"+r+"&"+JSON.stringify(n))}function s(e){if(!e||!e.id||!e.name||!e.sign)return!1;let t=o(e.id,e.name,e.timestamp,e.payload);return t===e.sign}},{"./md5":"3ODxA","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"3ODxA":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){let t,r,n,a,i,o,s,c,u;function l(e,t){return e<<t|e>>>32-t}function f(e,t){let r,n,a,i,o;return(a=2147483648&e,i=2147483648&t,r=1073741824&e,n=1073741824&t,o=(1073741823&e)+(1073741823&t),r&n)?2147483648^o^a^i:r|n?1073741824&o?3221225472^o^a^i:1073741824^o^a^i:o^a^i}function d(e,t,r,n,a,i,o){return e=f(e,f(f(t&r|~t&n,a),o)),f(l(e,i),t)}function h(e,t,r,n,a,i,o){return e=f(e,f(f(t&n|r&~n,a),o)),f(l(e,i),t)}function p(e,t,r,n,a,i,o){return e=f(e,f(f(t^r^n,a),o)),f(l(e,i),t)}function v(e,t,r,n,a,i,o){return e=f(e,f(f(r^(t|~n),a),o)),f(l(e,i),t)}function m(e){let t,r="",n="";for(t=0;t<=3;t++)r+=(n="0"+(e>>>8*t&255).toString(16)).substr(n.length-2,2);return r}let g=[];for(t=0,g=function(e){let t;let r=e.length,n=r+8,a=((n-n%64)/64+1)*16,i=Array(a-1),o=0,s=0;for(;s<r;)t=(s-s%4)/4,o=s%4*8,i[t]=i[t]|e.charCodeAt(s)<<o,s++;return t=(s-s%4)/4,o=s%4*8,i[t]=i[t]|128<<o,i[a-2]=r<<3,i[a-1]=r>>>29,i}(e=function(e){e=e.replace(/\r\n/g,"\n");let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&n<2048?t+=String.fromCharCode(n>>6|192)+String.fromCharCode(63&n|128):t+=String.fromCharCode(n>>12|224)+String.fromCharCode(n>>6&63|128)+String.fromCharCode(63&n|128)}return t}(e)),o=1732584193,s=4023233417,c=2562383102,u=271733878;t<g.length;t+=16)r=o,n=s,a=c,i=u,o=d(o,s,c,u,g[t+0],7,3614090360),u=d(u,o,s,c,g[t+1],12,3905402710),c=d(c,u,o,s,g[t+2],17,606105819),s=d(s,c,u,o,g[t+3],22,3250441966),o=d(o,s,c,u,g[t+4],7,4118548399),u=d(u,o,s,c,g[t+5],12,1200080426),c=d(c,u,o,s,g[t+6],17,2821735955),s=d(s,c,u,o,g[t+7],22,4249261313),o=d(o,s,c,u,g[t+8],7,1770035416),u=d(u,o,s,c,g[t+9],12,2336552879),c=d(c,u,o,s,g[t+10],17,4294925233),s=d(s,c,u,o,g[t+11],22,2304563134),o=d(o,s,c,u,g[t+12],7,1804603682),u=d(u,o,s,c,g[t+13],12,4254626195),c=d(c,u,o,s,g[t+14],17,2792965006),s=d(s,c,u,o,g[t+15],22,1236535329),o=h(o,s,c,u,g[t+1],5,4129170786),u=h(u,o,s,c,g[t+6],9,3225465664),c=h(c,u,o,s,g[t+11],14,643717713),s=h(s,c,u,o,g[t+0],20,3921069994),o=h(o,s,c,u,g[t+5],5,3593408605),u=h(u,o,s,c,g[t+10],9,38016083),c=h(c,u,o,s,g[t+15],14,3634488961),s=h(s,c,u,o,g[t+4],20,3889429448),o=h(o,s,c,u,g[t+9],5,568446438),u=h(u,o,s,c,g[t+14],9,3275163606),c=h(c,u,o,s,g[t+3],14,4107603335),s=h(s,c,u,o,g[t+8],20,1163531501),o=h(o,s,c,u,g[t+13],5,2850285829),u=h(u,o,s,c,g[t+2],9,4243563512),c=h(c,u,o,s,g[t+7],14,1735328473),s=h(s,c,u,o,g[t+12],20,2368359562),o=p(o,s,c,u,g[t+5],4,4294588738),u=p(u,o,s,c,g[t+8],11,2272392833),c=p(c,u,o,s,g[t+11],16,1839030562),s=p(s,c,u,o,g[t+14],23,4259657740),o=p(o,s,c,u,g[t+1],4,2763975236),u=p(u,o,s,c,g[t+4],11,1272893353),c=p(c,u,o,s,g[t+7],16,4139469664),s=p(s,c,u,o,g[t+10],23,3200236656),o=p(o,s,c,u,g[t+13],4,681279174),u=p(u,o,s,c,g[t+0],11,3936430074),c=p(c,u,o,s,g[t+3],16,3572445317),s=p(s,c,u,o,g[t+6],23,76029189),o=p(o,s,c,u,g[t+9],4,3654602809),u=p(u,o,s,c,g[t+12],11,3873151461),c=p(c,u,o,s,g[t+15],16,530742520),s=p(s,c,u,o,g[t+2],23,3299628645),o=v(o,s,c,u,g[t+0],6,4096336452),u=v(u,o,s,c,g[t+7],10,1126891415),c=v(c,u,o,s,g[t+14],15,2878612391),s=v(s,c,u,o,g[t+5],21,4237533241),o=v(o,s,c,u,g[t+12],6,1700485571),u=v(u,o,s,c,g[t+3],10,2399980690),c=v(c,u,o,s,g[t+10],15,4293915773),s=v(s,c,u,o,g[t+1],21,2240044497),o=v(o,s,c,u,g[t+8],6,1873313359),u=v(u,o,s,c,g[t+15],10,4264355552),c=v(c,u,o,s,g[t+6],15,2734768916),s=v(s,c,u,o,g[t+13],21,1309151649),o=v(o,s,c,u,g[t+4],6,4149444226),u=v(u,o,s,c,g[t+11],10,3174756917),c=v(c,u,o,s,g[t+2],15,718787259),s=v(s,c,u,o,g[t+9],21,3951481745),o=f(o,r),s=f(s,n),c=f(c,a),u=f(u,i);let b=m(o)+m(s)+m(c)+m(u);return b.toLowerCase()}n.defineInteropFlag(r),n.export(r,"md5",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6zH6I":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"GET_REACT_FIBER_DATA_MSG",()=>o),n.export(r,"handleGetReactFiberDataMessage",()=>s);var a=e("./dom"),i=e("./post-message");let o="get-react-fiber-data";function s(e){let t;let r=e.data;if(!(0,i.isPostMessageChannelValid)(r)||r.name!==o)return;let n=r.payload;try{let e=document.querySelector(n.selector);e&&(t=(0,a.getDataFromReactInstance)(e,{instanceKeys:n.instanceKeys,dataPaths:n.dataPaths}))}catch(e){console.warn("[handleGetReactFiberDataMessage] error:",e)}let s=Date.now(),c=`${o}_FINISH`,u=(0,i.getPostMessageChannelSign)(r.id,c,s,t);window.postMessage({id:r.id,name:c,sign:u,timestamp:s,payload:t},e.origin||"*")}},{"./dom":"hXlzm","./post-message":"4hLsj","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"5BuMA":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){return new Promise(t=>{e||t({success:!1,message:"\u6ca1\u6709\u8981\u590d\u5236\u7684\u5185\u5bb9"});let r=()=>{try{let r=document.createElement("textarea");r.style.display="none",r.value=e,document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r),t({success:!0})}catch(e){console.warn("\u590d\u5236\u5931\u8d25",e),t({success:!1,message:"\u590d\u5236\u5931\u8d25"})}};navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(e).then(()=>{t({success:!0})}).catch(()=>r()):r()})}function i(e,t){try{let r=t.split("."),n=e;for(let e=0;e<r.length;e++)n=n?.[r[e]];return n}catch{return}}n.defineInteropFlag(r),n.export(r,"copyTextToClipboard",()=>a),n.export(r,"getValueByPath",()=>i)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],eRJ1i:[function(e,t,r){var n,a,i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"AI_SEARCH_SCENE_CODE",()=>f),i.export(r,"AiPickProcessStatus",()=>a),i.export(r,"storeToCache",()=>h),i.export(r,"useAiPickStore",()=>p),i.export(r,"startAiPick",()=>v);var o=e("zustand"),s=e("zustand/middleware"),c=e("~background/log"),u=e("./image-processor"),l=e("./service");let f="SC_9f7445b21";(n=a||(a={})).INIT="init",n.IMAGE_SWITCHED="image-switched",n.IMAGE_EXTRACT_FAILED="image-extract-failed",n.IMAGE_EXTRACT_COMPLETE="image-extract-complete",n.IMAGE_CROP_FAILED="image-crop-failed",n.IMAGE_CROP_COMPLETE="image-crop-complete",n.IMAGE_UPLOADING="image-uploading",n.IMAGE_UPLOAD_COMPLETE="image-upload-complete",n.IMAGE_UPLOAD_FAILED="image-upload-failed",n.SERVICE_CALL_IN_PROGRESS="service-call-in-progress",n.SERVICE_DATA_RECEIVED="service-data-received",n.SERVICE_DATA_FAILED="service-data-failed";let d=new Map,h=()=>{let e=p.getState();e.imageData&&d.set(JSON.stringify(e.imageData),{imageData:e.imageData,imageUrl:e.imageUrl,accessToken:e.accessToken,messageInfo:e.messageInfo,aiPickProcessStatus:e.aiPickProcessStatus,uiRenderState:e.uiRenderState})},p=(0,o.create)()((0,s.subscribeWithSelector)((e,t)=>({aiPickProcessStatus:a.INIT,imageData:null,imageUrl:"",accessToken:"",messageInfo:{sceneCode:f,sessionId:"",msgId:"",messageStatus:""},uiRenderState:{inline:{isVisible:!1},overlay:{isVisible:!1}},updateImageExtractStatus:t=>{e({aiPickProcessStatus:t})},updateVisibility:(r,n)=>{e({uiRenderState:{...t().uiRenderState,[r]:{isVisible:n}}})},switchImage:()=>{(0,c.sendLog)({type:"monitor",target:"ai-pick",extra:{stage:"switch-image"}}),h(),e({aiPickProcessStatus:a.IMAGE_SWITCHED})},setImageData:t=>{if((0,c.sendLog)({type:"monitor",target:"ai-pick",extra:{stage:"set-image-data",message:JSON.stringify({width:t.width,height:t.height,top:t.top,left:t.left,cropWidth:t.cropWidth,cropHeight:t.cropHeight,backgroundImage:t.backgroundImage.slice(0,6)})}}),e({imageData:t,aiPickProcessStatus:a.IMAGE_EXTRACT_COMPLETE}),d.has(JSON.stringify(t))){(0,c.sendLog)({type:"monitor",target:"ai-pick",extra:{stage:"set-image-data",source:"cache"}});let r=d.get(JSON.stringify(t));e({imageUrl:r?.imageUrl||"",messageInfo:r?.messageInfo||{sceneCode:f,sessionId:"",msgId:"",messageStatus:"",messageError:void 0},aiPickProcessStatus:r?.aiPickProcessStatus===a.SERVICE_DATA_RECEIVED?r?.aiPickProcessStatus:a.IMAGE_SWITCHED})}else e({imageUrl:"",messageInfo:{sceneCode:f,sessionId:"",msgId:"",messageStatus:"",messageError:void 0}})},fetchAiPickPermission:async()=>{let t=await (0,l.getAiPickPermission)(),{access:r,accessToken:n}=t||{};return e({accessToken:r&&n?n:""}),!!(r&&n)},cropImage:async t=>{try{(0,c.sendLog)({type:"monitor",target:"ai-pick",extra:{stage:"crop-image"}});let r=(0,u.ImageProcessor).parseImageData(t),n=await (0,u.ImageProcessor).cropImageFromSource({...r,quality:1});return e({aiPickProcessStatus:a.IMAGE_CROP_COMPLETE}),n}catch(t){return e({aiPickProcessStatus:a.IMAGE_CROP_FAILED}),(0,c.sendLog)({type:"error",target:"ai-pick",extra:{status:a.IMAGE_CROP_FAILED,message:t instanceof Error?t.message:String(t),stack:t instanceof Error?t.stack:void 0,name:t instanceof Error?t.name:void 0}}),""}},uploadCropImage:async t=>{try{(0,c.sendLog)({type:"monitor",target:"ai-pick",extra:{stage:"upload-crop-image"}}),e({aiPickProcessStatus:a.IMAGE_UPLOADING});let r=await (0,l.uploadBase64Img)(t);return e({imageUrl:r?.imageUrl||"",aiPickProcessStatus:a.IMAGE_UPLOAD_COMPLETE}),r?.imageUrl||""}catch(t){return(0,c.sendLog)({type:"error",target:"ai-pick",extra:{stage:"upload-crop-image",message:t instanceof Error?t.message:String(t),stack:t instanceof Error?t.stack:void 0,name:t instanceof Error?t.name:void 0}}),e({aiPickProcessStatus:a.IMAGE_UPLOAD_FAILED}),null}},requestAiPick:async()=>{let{accessToken:r,imageUrl:n}=t();(0,c.sendLog)({type:"monitor",target:"ai-pick",extra:{stage:"request-ai-pick",params:{accessToken:r,imageUrl:n}}}),e({aiPickProcessStatus:a.SERVICE_CALL_IN_PROGRESS});let i=await (0,l.aiPick)(n,r);return 0===i.code?e({aiPickProcessStatus:a.SERVICE_DATA_RECEIVED,messageInfo:i?.data?.messageInfo||void 0}):(e({aiPickProcessStatus:a.SERVICE_DATA_FAILED,messageInfo:{sceneCode:f,sessionId:"",msgId:"",messageStatus:"",messageError:i?.error?.message||void 0}}),(0,c.sendLog)({type:"error",target:"ai-pick",extra:{stage:"request-ai-pick",status:a.SERVICE_DATA_FAILED,message:i?.error?.message||""}})),i}}))),v=async(e=0,t=3)=>{let{accessToken:r,imageUrl:n,imageData:i,aiPickProcessStatus:o}=p.getState();if(e>=t)return;if(!r||!i){(0,c.sendLog)({type:"monitor",target:"ai-pick",extra:{stage:"start-ai-pick",status:`${r?"":"\u6ca1\u6709accessToken"}; ${i?"":"\u6ca1\u6709imageData"}`}});return}if(!n){let e=await p.getState().cropImage(i);if(!e)return;let t=await p.getState().uploadCropImage(e);if(!t)return}if(o===a.SERVICE_DATA_RECEIVED)return;let s=await p.getState().requestAiPick();if(-1===s.code&&s?.error?.message.errorCode===(0,l.AiPickErrorCode).INVALID_ACCESS.toString()){await p.getState().fetchAiPickPermission(),await v(e+1,t);return}}},{zustand:"aRAx1","zustand/middleware":"j21iG","~background/log":"5w5vQ","./image-processor":"8dFwT","./service":"hrDg8","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],aRAx1:[function(e,t,r){var n=e("a19f4edd89926025"),a=e("a0cacd268d6bf882");Object.keys(n).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}})}),Object.keys(a).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}})})},{a19f4edd89926025:"aYser",a0cacd268d6bf882:"e0gap"}],aYser:[function(e,t,r){let n=e=>{let t;let r=new Set,n=(e,n)=>{let a="function"==typeof e?e(t):e;if(!Object.is(a,t)){let e=t;t=(null!=n?n:"object"!=typeof a||null===a)?a:Object.assign({},t,a),r.forEach(r=>r(t,e))}},a=()=>t,i={setState:n,getState:a,getInitialState:()=>o,subscribe:e=>(r.add(e),()=>r.delete(e))},o=t=e(n,a,i);return i};r.createStore=e=>e?n(e):n},{}],e0gap:[function(e,t,r){var n=e("6a69048f974f8971"),a=e("985957b117977eb9");let i=e=>e;function o(e,t=i){let r=n.useSyncExternalStore(e.subscribe,n.useCallback(()=>t(e.getState()),[e,t]),n.useCallback(()=>t(e.getInitialState()),[e,t]));return n.useDebugValue(r),r}let s=e=>{let t=a.createStore(e),r=e=>o(t,e);return Object.assign(r,t),r};r.create=e=>e?s(e):s,r.useStore=o},{"6a69048f974f8971":"a8qhJ","985957b117977eb9":"aYser"}],a8qhJ:[function(e,t,r){t.exports=e("956f36295e4e0134")},{"956f36295e4e0134":"iTdc5"}],iTdc5:[function(e,t,r){var n=Symbol.for("react.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator,v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function b(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||v}function y(){}function _(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||v}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var w=_.prototype=new y;w.constructor=_,m(w,b.prototype),w.isPureReactComponent=!0;var S=Array.isArray,E=Object.prototype.hasOwnProperty,k={current:null},I={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,r){var a,i={},o=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)E.call(t,a)&&!I.hasOwnProperty(a)&&(i[a]=t[a]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}if(e&&e.defaultProps)for(a in c=e.defaultProps)void 0===i[a]&&(i[a]=c[a]);return{$$typeof:n,type:e,key:o,ref:s,props:i,_owner:k.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function A(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function M(e,t,r){if(null==e)return e;var i=[],o=0;return function e(t,r,i,o,s){var c,u,l,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case n:case a:d=!0}}if(d)return s=s(d=t),t=""===o?"."+A(d,0):o,S(s)?(i="",null!=t&&(i=t.replace(T,"$&/")+"/"),e(s,r,i,"",function(e){return e})):null!=s&&(O(s)&&(c=s,u=i+(!s.key||d&&d.key===s.key?"":(""+s.key).replace(T,"$&/")+"/")+t,s={$$typeof:n,type:c.type,key:u,ref:c.ref,props:c.props,_owner:c._owner}),r.push(s)),1;if(d=0,o=""===o?".":o+":",S(t))for(var h=0;h<t.length;h++){var v=o+A(f=t[h],h);d+=e(f,r,i,v,s)}else if("function"==typeof(v=null===(l=t)||"object"!=typeof l?null:"function"==typeof(l=p&&l[p]||l["@@iterator"])?l:null))for(t=v.call(t),h=0;!(f=t.next()).done;)v=o+A(f=f.value,h++),d+=e(f,r,i,v,s);else if("object"===f)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return d}(e,i,"","",function(e){return t.call(r,e,o++)}),i}function R(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var C={current:null},j={transition:null};r.Children={map:M,forEach:function(e,t,r){M(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=b,r.Fragment=i,r.Profiler=s,r.PureComponent=_,r.StrictMode=o,r.Suspense=f,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:C,ReactCurrentBatchConfig:j,ReactCurrentOwner:k},r.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),i=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=k.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)E.call(t,u)&&!I.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){c=Array(u);for(var l=0;l<u;l++)c[l]=arguments[l+2];a.children=c}return{$$typeof:n,type:e.type,key:i,ref:o,props:a,_owner:s}},r.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},r.createElement=x,r.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:l,render:e}},r.isValidElement=O,r.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:R}},r.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},r.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},r.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},r.useCallback=function(e,t){return C.current.useCallback(e,t)},r.useContext=function(e){return C.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e){return C.current.useDeferredValue(e)},r.useEffect=function(e,t){return C.current.useEffect(e,t)},r.useId=function(){return C.current.useId()},r.useImperativeHandle=function(e,t,r){return C.current.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return C.current.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return C.current.useLayoutEffect(e,t)},r.useMemo=function(e,t){return C.current.useMemo(e,t)},r.useReducer=function(e,t,r){return C.current.useReducer(e,t,r)},r.useRef=function(e){return C.current.useRef(e)},r.useState=function(e){return C.current.useState(e)},r.useSyncExternalStore=function(e,t,r){return C.current.useSyncExternalStore(e,t,r)},r.useTransition=function(){return C.current.useTransition()},r.version="18.2.0"},{}],j21iG:[function(e,t,r){let n=new Map,a=e=>{let t=n.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([e,t])=>[e,t.getState()])):{}},i=(e,t,r)=>{if(void 0===e)return{type:"untracked",connection:t.connect(r)};let a=n.get(r.name);if(a)return{type:"tracked",store:e,...a};let i={connection:t.connect(r),stores:{}};return n.set(r.name,i),{type:"tracked",store:e,...i}},o=(e,t)=>{if(void 0===t)return;let r=n.get(e);r&&(delete r.stores[t],0===Object.keys(r.stores).length&&n.delete(e))},s=e=>{var t,r;if(!e)return;let n=e.split("\n"),a=n.findIndex(e=>e.includes("api.setState"));if(a<0)return;let i=(null==(t=n[a+1])?void 0:t.trim())||"";return null==(r=/.+ (.+) .+/.exec(i))?void 0:r[1]},c=(e,t)=>{let r;try{r=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==r&&t(r)};function u(e,t){let r;try{r=e()}catch(e){return}return{getItem:e=>{var n;let a=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),i=null!=(n=r.getItem(e))?n:null;return i instanceof Promise?i.then(a):a(i)},setItem:(e,n)=>r.setItem(e,JSON.stringify(n,null==t?void 0:t.replacer)),removeItem:e=>r.removeItem(e)}}let l=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>l(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>l(t)(e)}}};r.combine=function(e,t){return(...r)=>Object.assign({},e,t(...r))},r.createJSONStorage=u,r.devtools=(e,t={})=>(r,n,u)=>{let l;let{enabled:f,anonymousActionType:d,store:h,...p}=t;try{l=null!=f&&f&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!l)return e(r,n,u);let{connection:v,...m}=i(h,l,p),g=!0;u.setState=(e,t,i)=>{let o=r(e,t);if(!g)return o;let c=void 0===i?{type:d||s(Error().stack)||"anonymous"}:"string"==typeof i?{type:i}:i;return void 0===h?null==v||v.send(c,n()):null==v||v.send({...c,type:`${h}/${c.type}`},{...a(p.name),[h]:u.getState()}),o},u.devtools={cleanup:()=>{v&&"function"==typeof v.unsubscribe&&v.unsubscribe(),o(p.name,h)}};let b=(...e)=>{let t=g;g=!1,r(...e),g=t},y=e(u.setState,n,u);if("untracked"===m.type?null==v||v.init(y):(m.stores[m.store]=u,null==v||v.init(Object.fromEntries(Object.entries(m.stores).map(([e,t])=>[e,e===m.store?y:t.getState()])))),u.dispatchFromDevtools&&"function"==typeof u.dispatch){let e=u.dispatch;u.dispatch=(...t)=>{e(...t)}}return v.subscribe(e=>{var t;switch(e.type){case"ACTION":if("string"!=typeof e.payload){console.error("[zustand devtools middleware] Unsupported action format");return}return c(e.payload,e=>{if("__setState"===e.type){if(void 0===h){b(e.state);return}1!==Object.keys(e.state).length&&console.error(`
|
|
[zustand devtools middleware] Unsupported __setState action format.
|
|
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
|
|
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
|
|
`);let t=e.state[h];if(null==t)return;JSON.stringify(u.getState())!==JSON.stringify(t)&&b(t);return}u.dispatchFromDevtools&&"function"==typeof u.dispatch&&u.dispatch(e)});case"DISPATCH":switch(e.payload.type){case"RESET":if(b(y),void 0===h)return null==v?void 0:v.init(u.getState());return null==v?void 0:v.init(a(p.name));case"COMMIT":if(void 0===h){null==v||v.init(u.getState());break}return null==v?void 0:v.init(a(p.name));case"ROLLBACK":return c(e.state,e=>{if(void 0===h){b(e),null==v||v.init(u.getState());return}b(e[h]),null==v||v.init(a(p.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return c(e.state,e=>{if(void 0===h){b(e);return}JSON.stringify(u.getState())!==JSON.stringify(e[h])&&b(e[h])});case"IMPORT_STATE":{let{nextLiftedState:r}=e.payload,n=null==(t=r.computedStates.slice(-1)[0])?void 0:t.state;if(!n)return;void 0===h?b(n):b(n[h]),null==v||v.send(null,r);break}case"PAUSE_RECORDING":return g=!g}return}}),y},r.persist=(e,t)=>(r,n,a)=>{let i,o={storage:u(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1,c=new Set,f=new Set,d=o.storage;if(!d)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),r(...e)},n,a);let h=()=>{let e=o.partialize({...n()});return d.setItem(o.name,{state:e,version:o.version})},p=a.setState;a.setState=(e,t)=>(p(e,t),h());let v=e((...e)=>(r(...e),h()),n,a);a.getInitialState=()=>v;let m=()=>{var e,t;if(!d)return;s=!1,c.forEach(e=>{var t;return e(null!=(t=n())?t:v)});let a=(null==(t=o.onRehydrateStorage)?void 0:t.call(o,null!=(e=n())?e:v))||void 0;return l(d.getItem.bind(d))(o.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===o.version)return[!1,e.state];if(o.migrate){let t=o.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;let[a,s]=e;if(r(i=o.merge(s,null!=(t=n())?t:v),!0),a)return h()}).then(()=>{null==a||a(i,void 0),i=n(),s=!0,f.forEach(e=>e(i))}).catch(e=>{null==a||a(void 0,e)})};return a.persist={setOptions:e=>{o={...o,...e},e.storage&&(d=e.storage)},clearStorage:()=>{null==d||d.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>m(),hasHydrated:()=>s,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(f.add(e),()=>{f.delete(e)})},o.skipHydration||m(),i||v},r.redux=(e,t)=>(r,n,a)=>(a.dispatch=t=>(r(r=>e(r,t),!1,t),t),a.dispatchFromDevtools=!0,{dispatch:(...e)=>a.dispatch(...e),...t}),r.subscribeWithSelector=e=>(t,r,n)=>{let a=n.subscribe;n.subscribe=(e,t,r)=>{let i=e;if(t){let a=(null==r?void 0:r.equalityFn)||Object.is,o=e(n.getState());i=r=>{let n=e(r);if(!a(o,n)){let e=o;t(o=n,e)}},(null==r?void 0:r.fireImmediately)&&t(o,o)}return a(i)};let i=e(t,r,n);return i}},{}],"5w5vQ":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"sendLog",()=>m);var a=e("@ali/1688-marketmate-lib"),i=e("@ali/1688-plugin-logger"),o=e("~api/common"),s=e("~common/const"),c=e("~common/type"),u=e("~common/utils"),l=e("~libs/debugLog");let f=0,d=g(),h=0,p=null,v={[c.LogSource.COMMON]:{project:"ai-pilot",sourceLogstore:"extension-log_source",logstore:"extension-log",host:"cn-shanghai.log.aliyuncs.com",time:1,count:5},[c.LogSource.API]:{project:"cbu-pc-plugin-api",sourceLogstore:"api-log_source",logstore:"api-log",host:"cn-hangzhou.log.aliyuncs.com",time:1,count:5},[c.LogSource.SMART_LINK]:{project:"cbu-pc-plugin-smart-link",sourceLogstore:"smart-link-client-log_source",logstore:"smart-link-client-log",host:"cn-hangzhou.log.aliyuncs.com",time:1,count:5},[c.LogSource.WEBSOCKET]:{project:"cbu-pc-plugin-trace-log",sourceLogstore:"websocket-log_source",logstore:"websocket-log",host:"cn-hangzhou.log.aliyuncs.com",time:1,count:5},[c.LogSource.TRACE]:{project:"cbu-pc-plugin-trace-log",sourceLogstore:"monitor-log_source",logstore:"monitor-log",host:"cn-hangzhou.log.aliyuncs.com",time:1,count:5}},m=async(e,t=c.LogSource.COMMON)=>{p||(p=Promise.resolve().then(async()=>{let{[s.STORAGE_KEY_REMOTE_SETTINGS]:e}=await (0,u.getExtensionLocalStorage)(s.STORAGE_KEY_REMOTE_SETTINGS),t=e?.disableEncryptLog??!1,r={};return Object.entries(v).forEach(([e,n])=>{r[e]=new i.SLSLogger({project:n.project,logstore:t?n.logstore:n.sourceLogstore,host:n.host,time:n.time,count:n.count,encrypt:!t})}),r}).catch(e=>(m({type:"monitor",target:"logger",extra:{description:"\u521b\u5efa logger \u5931\u8d25",message:e instanceof Error?e.message:JSON.stringify(e)}},c.LogSource.TRACE),!1)));let r=await p,n=null;r&&(n=r[t]);let{project:b,logstore:y,host:_}=n?.getOpt()??v[t],w=Date.now();if(t===c.LogSource.SMART_LINK&&s.ENV_TAG!==s.ENV.PRODUCTION)return;if("error"===e.type&&"mtop"===e.target){if(s.ENV_TAG!==s.ENV.PRODUCTION)return;let e=g();if(e!==d&&(h=0,d=e),h>=500)return;h++}let S=new URL(`https://${b}.${_}/logstores/${y}/track.gif?APIVersion=0.6.0`);if(Object.keys(e).forEach(t=>{let r="[object Object]"===Object.prototype.toString.call(e[t])?JSON.stringify(e[t]):e[t];S.searchParams.append(t,r)}),w-f>=3e5)try{f=w,await (0,o.checkLogin)()}catch(e){}let{[s.STORAGE_KEY_UUID]:E,[s.STORAGE_KEY_LOGIN_ID]:k,[s.STORAGE_KEY_USER_ID]:I,[s.STORAGE_KEY_IS_LOGIN]:x,[s.STORAGE_KEY_IS_NUMBER_BROWSER]:O,[s.STORAGE_KEY_OPTIONS]:T}=await (0,u.getExtensionLocalStorage)([s.STORAGE_KEY_UUID,s.STORAGE_KEY_LOGIN_ID,s.STORAGE_KEY_USER_ID,s.STORAGE_KEY_IS_LOGIN,s.STORAGE_KEY_IS_NUMBER_BROWSER,s.STORAGE_KEY_OPTIONS]),A=navigator.userAgent;if(O&&(A+=" 360"),S.searchParams.append("version",chrome.runtime.getManifest().version),S.searchParams.append("env",s.ENV_TAG),S.searchParams.append("uuid",E),S.searchParams.append("isLogin",`${!!x}`),S.searchParams.append("loginId",k),S.searchParams.append("userId",I),S.searchParams.append("User-Agent",A),S.searchParams.append("language",navigator.language),S.searchParams.append("package",s.ENV_PACKAGE||""),S.searchParams.append("timestamp",w.toString()),S.searchParams.append("uiLanguage",T?.[c.OptionsKey.LANGUAGE]||s.DEFAULT_LANGUAGE),e?.location||S.searchParams.append("location",globalThis?.location?.href),(0,l.consoleLog)("sendLog",Object.fromEntries(S.searchParams)),"report"===e.type)try{let e=S?.search?.replace?.("?APIVersion=0.6.0&",""),t=await (0,a.secure).Encrypt(e);t&&(0,o.sendEncryptedLog)(t)}catch(e){}else if(n){let e={};S.searchParams.forEach((t,r)=>{"APIVersion"!==r&&(e[r]=t)}),n.send(e)}else fetch(S.href,{method:"GET"})};function g(){return new Date().toLocaleDateString(void 0,{month:"long",day:"numeric"})}},{"@ali/1688-marketmate-lib":"jURHk","@ali/1688-plugin-logger":"8ZJs5","~api/common":"fcM9g","~common/const":"bkfUq","~common/type":"1PlmV","~common/utils":"kYpGH","~libs/debugLog":"8Rm1G","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],jURHk:[function(e,t,r){var n,a,i,o,s,c=e("@parcel/transformer-js/src/esmodule-helpers.js");c.defineInteropFlag(r),c.export(r,"logger",()=>n),c.export(r,"digest",()=>a),c.export(r,"secure",()=>i),c.export(r,"heartbeat",()=>o),c.export(r,"mtop",()=>s);var u=arguments[3];(function(e,t,r,c,l,f,d,h){function p(n){f[7];var a,i,o,s=[],u=new Set,p={};return p[t[14]]=function(){t[0];var p={};return p[h[11]]=function p(){for(var v=9;void 0!==v;){var m=3&v>>2;switch(3&v){case 0:switch(m){case 0:M=function(){for(var i=0;void 0!==i;){var o=1&i>>1;switch(1&i){case 0:switch(o){case 0:var u=r[0],p=(c[5],a),v=!(a=p=p?l[12][t[12]](a):n);if(!v){u=a;var m=f[8];m=m[d[12]](f[2])[c[6]]()[c[7]](h[7]),v=u==e[6][m]}i=(u=v)?2:1;break;case 1:return t[13]}continue;case 1:0===o&&(s=d[6][e[7]](a),i=void 0);continue}}}(),v=2;break;case 1:return i;case 2:for(var g=e[8],b=r[3],y=e[0];y<g[f[10]];y++){var _=c[8],w=g[r[11]](y)-(_-e[9]);b+=e[10][h[10]](w)}i=s[b]();for(var S=l[13],E=c[2],k=t[0],I=l[6];I<S[d[13]];I++){if(!I){var x=f[11];k=c[9]+x}var O=S[l[7]](I),T=~(~(O&~k)&~(~O&k));k=O,E+=r[12][l[8]](T)}v=(A=u[E](i))?5:10}continue;case 1:switch(m){case 0:return o=A=f[9],A;case 1:return p();case 2:var A=s[h[9]],M=!A;v=M?0:2}continue;case 2:switch(m){case 0:v=(A=M)?1:8;break;case 1:u[d[14]](i),v=(A=R[d[15]])?4:5;break;case 2:var R=h[3][e[11]](a,i);v=R?6:5}continue}}}(),p[h[12]]=o,p},p}function v(n,a){for(var i=0;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:e[0];var s=function(t){for(var r=2;void 0!==r;){var n=1&r>>1;switch(1&r){case 0:switch(n){case 0:return t;case 1:r=e[19][f[24]](t)?0:1}continue;case 1:0===n&&(r=void 0);continue}}}(n);i=s?4:5;break;case 1:var u=s;u||(u=m(n,a));var p=u;i=p?8:1;break;case 2:return p}continue;case 1:switch(o){case 0:p=function(){throw TypeError(l[14])}(),i=8;break;case 1:s=function(n,a){for(var i=0;void 0!==i;){var o=1&i>>1;switch(1&i){case 0:switch(o){case 0:var s=r[0],u=(d[1],e[17]==n);if(u)u=h[16];else{s=typeof Symbol;var p=c[14];p+=t[18]+t[19];var v=(p=(p+=c[15])[r[19]](r[3])[r[6]]()[t[6]](d[19]))!=s;if(v){var m=t[20];m+=l[17],m=(m+=r[20])[t[8]](r[3])[e[18]]()[r[21]](c[2]),v=n[s=Symbol[m]]}var g=v;g||(g=n[l[18]]),u=g}var b=u;i=(s=t[9]!=b)?2:1;break;case 1:var y,_,w,S,E=[],k=!e[0],I=!h[15];try{for(var x=4;void 0!==x;){var O=3&x>>2;switch(3&x){case 0:switch(O){case 0:x=c[3]?6:13;break;case 1:b=s=b.call(n),w=s[t[21]],x=(s=c[5]===a)?1:9;break;case 2:k=!l[6],x=12;break;case 3:A=f[23],y=s=w.call(b),k=s=s[L];var T=!s;x=T?2:3}continue;case 1:switch(O){case 0:x=(s=(s=t[22](b))!==b)?5:10;break;case 1:return;case 2:for(var A=h[1],M=l[19],R=t[10],C=c[5],j=f[7];j<M[t[15]];j++){if(!j){var N=c[16];C=parseInt(r[22],l[20])+N}var P=M[f[20]](j),D=~(~(P&~C)&~(~P&C));C=P,R+=c[11][f[21]](D)}var L=R,F=t[23];F+=l[21];var B=F=(F+=f[22])[t[8]](d[19])[e[18]]()[t[6]](e[1]),U=r[23],z=r[24];x=0;break;case 3:x=void 0}continue;case 2:switch(O){case 0:s=y[B],E[U](s),T=(s=E[z])!==a,x=3;break;case 1:x=A?8:12;break;case 2:k=!l[11],x=13;break;case 3:x=13}continue;case 3:switch(O){case 0:x=(s=T)?7:14;break;case 1:x=0}continue}}}catch(t){I=!e[0],_=t}finally{try{if(!k&&e[17]!=b[r[25]]&&(S=b[d[20]](),t[22](S)!==S))return}finally{if(I)throw _}}return E}continue;case 1:0===o&&(i=void 0);continue}}}(n,a),i=4}continue}}}function m(n,a){for(var i=1;void 0!==i;){var o=7&i>>3;switch(7&i){case 0:switch(o){case 0:return g(n,a);case 1:w=b=b[v],x=b,i=35;break;case 2:var s=N;i=s?25:34;break;case 3:b=typeof n;var u=f[12];i=(b=(u=(u+=d[16])[t[8]](h[7])[c[6]]()[h[4]](c[2]))==b)?0:9;break;case 4:b=n[e[14]];var p=f[14],v=r[3],m=r[0];i=19}continue;case 1:switch(o){case 0:var b=t[0],y=t[0];i=n?24:10;break;case 1:b=(b=(b={})[r[13]]).call(n),y=-c[3];var _=d[17],w=b[_+=c[10]+f[13]](e[12],y),S=e[13]===w;i=S?2:27;break;case 2:m++,i=19;break;case 3:s=d[4][t[16]](n),i=33;break;case 4:return s}continue;case 2:switch(o){case 0:S=n[r[14]],i=27;break;case 1:i=void 0;break;case 2:N=r[17]===w,i=16;break;case 3:var E=k;s=E=E?g(n,a):void e[0],i=33;break;case 4:var k=f[17]===w;i=k?26:3}continue;case 3:switch(o){case 0:k=l[15][f[18]](w),i=26;break;case 1:var I=p[d[18]](m)-parseInt(e[15],h[13]);v+=c[11][r[15]](I),i=17;break;case 2:i=m<p[f[10]]?11:8;break;case 3:var x=S;i=x?32:35;break;case 4:for(var O=f[15],T=f[2],A=l[6],M=r[0];M<O[t[15]];M++){if(!M){var R=f[16];A=r[16]+R}var C=O[h[14]](M),j=C^A;A=C,T+=f[4][l[8]](j)}var N=T===w;i=N?16:18}continue}}}function g(n,a){for(var i=0;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:var s=d[1],u=(c[5],c[0]==a);i=u?5:4;break;case 1:u=(s=a)>n[c[12]],i=5;break;case 2:i=r[7]?12:9;break;case 3:i=w?2:6}continue;case 1:switch(o){case 0:(s=_)[y]=n[y],i=8;break;case 1:var p=u;if(p){for(var v=l[16],m=l[4],g=f[7];g<v[f[10]];g++){var b=v[e[16]](g)-parseInt(f[19],c[13]);m+=r[12][t[17]](b)}a=s=n[m],p=s}var y=f[7],_=r[18](a),w=h[1];i=8;break;case 2:return _;case 3:i=9}continue;case 2:switch(o){case 0:y+=h[15],i=6;break;case 1:w=r[7],i=(s=y<a)?1:13}continue}}}function b(n){function a(e){return typeof e}function i(n){for(var a=5;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:c=(u=n)!==Symbol[t[24]],a=4;break;case 1:var o=c;if(o){var s=r[4];s+=l[23]+t[25],o=s+=e[22]}else o=typeof n;return o;case 2:p=(u=n[e[14]])===Symbol,a=1}continue;case 1:switch(i){case 0:var c=p;a=c?0:4;break;case 1:var u=d[1],f=(d[1],n);if(f){u=typeof Symbol;var h=d[22];h+=d[23]+e[21],f=(h=(h+=r[26])[t[8]](t[10])[e[18]]()[l[22]](e[1]))==u}var p=f;a=p?8:1}continue}}}for(var o=0;void 0!==o;){var s=1&o>>1;switch(1&o){case 0:switch(s){case 0:var u=typeof Symbol,f=c[17]==u;f&&(u=typeof(u=Symbol[d[21]]),f=e[20]==u);var h=f;o=h?2:1;break;case 1:h=a,o=3}continue;case 1:switch(s){case 0:h=i,o=3;break;case 1:return(b=h)(n)}continue}}}function y(n,a){function i(e){return f[25][d[25]](n,e)[h[18]]}for(var o=0;void 0!==o;){var s=3&o>>2;switch(3&o){case 0:switch(s){case 0:for(var u=l[6],p=d[24],v=r[3],m=t[0],g=h[1];g<p[t[15]];g++){g||(m=h[17]-e[23]);var b=p[t[26]](g),y=~(~(b&~m)&~(~b&m));m=b,v+=f[4][l[8]](y)}var _=h[3][v](n);o=(u=r[27][t[27]])?4:8;break;case 1:var w=r[27][c[18]](n),S=a;o=S?5:1;break;case 2:return _}continue;case 1:switch(s){case 0:(u=_[l[24]])[t[28]](_,w),o=8;break;case 1:u=i,w=u=w[h[19]](u),S=u,o=1}continue}}}function _(n){function a(r){t[0],e[0],w(n,r,k[r])}function i(r){var a=t[0],i=e[0];a=r,i=d[6][c[19]](k,r);var o=f[26];o+=f[13]+h[22]+d[26]+h[23]+h[24],t[22][o](n,a,i)}for(var o=12;void 0!==o;){var s=3&o,u=3&o>>2;switch(s){case 0:switch(u){case 0:E={},o=3;break;case 1:p=y(p=t[22](k),v=!h[1]),v=a,I=p[_](v),o=5;break;case 2:v=i,x=(p=y(p=r[27](k)))[t[30]](v),o=11;break;case 3:var p=r[0],v=h[1],m=f[23],g=h[1],b=d[13],_=r[28],S=t[29];o=5}continue;case 1:switch(u){case 0:return n;case 1:o=c[3]?7:1;break;case 2:p=arguments[m];var E=r[29]!=p;o=E?14:0;break;case 3:p=n,v=h[3][h[20]](k),x=e[6][h[21]](p,v),o=11}continue;case 2:switch(u){case 0:m+=r[7],o=10;break;case 1:o=1;break;case 2:g=l[11],o=(p=(p=m)<(v=arguments[b]))?9:6;break;case 3:E=arguments[m],o=3}continue;case 3:switch(u){case 0:var k=E,I=m%l[25];o=I?4:15;break;case 1:o=g?2:10;break;case 2:I=x,o=5;break;case 3:var x=t[22][S];o=x?13:8}continue}}}function w(n,a,i){for(var o=1;void 0!==o;){var s=1&o>>1;switch(1&o){case 0:switch(s){case 0:return n;case 1:v=i,(u=n)[p=a]=v,m=v,o=0}continue;case 1:switch(s){case 0:var u=function(n){for(var a=2;void 0!==a;){var i=1&a>>1;switch(1&a){case 0:switch(i){case 0:u=s,a=1;break;case 1:var o=f[7],s=function(n,a){for(var i=12;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:return g;case 1:u=n;var s=a;i=s?14:9;break;case 2:return(u=v)(n);case 3:var u=b(n),h=e[0],p=l[26]!=u;p||(p=!n),i=(u=p)?5:13}continue;case 1:switch(o){case 0:var v=c[21]===a;i=v?2:10;break;case 1:return n;case 2:s=e[25],i=14;break;case 3:var m=n[u=Symbol[t[32]]];i=(u=(u=void r[0])!==(h=m))?4:1}continue;case 2:switch(o){case 0:v=t[33],i=8;break;case 1:throw TypeError(e[26]);case 2:v=t[34],i=8;break;case 3:h=s;var g=m.call(u,h);u=b(g);for(var y=l[27],_=d[19],w=f[7],S=r[0];S<y[c[12]];S++){S||(w=l[28]);var E=y[c[20]](S),k=~(~(E&~w)&~(~E&w));w=E,_+=l[29][l[8]](k)}i=(u=_!=u)?0:6}continue}}}(n,e[24]);o=b(s);var u=r[30]==o;a=u?0:3}continue;case 1:switch(i){case 0:return u;case 1:u=s+l[4],a=1}continue}}}(a),p=r[0],v=l[6];a=u;var m=u in(p=n);o=m?3:2;break;case 1:u=n,p=a;var g={};g[e[5]]=i;var y=f[27];g[y=y[r[19]](l[4])[h[25]]()[l[22]](r[3])]=!c[5],g[d[27]]=!e[0],g[t[31]]=!r[0],v=g,m=f[25][d[28]](u,p,v),o=0}continue}}}function S(e){var t={};l[6],t=_(t,eF),eF=_(t,e)}function E(){return eF}function k(){var n=l[30],a=performance[t[35]]();return a=(parseInt(t[36],t[37])+n)*a,a=Math[r[32]](a)/(e[28]+n)}function I(n){function a(r){for(var n=1;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:u=d[40],n=9;break;case 1:n=l<o[e[2]]?6:8;break;case 2:i=Math[s]()<h[37],n=2}continue;case 1:switch(a){case 0:h[1];var i=!r;n=i?2:5;break;case 1:var o=e[43],s=f[2],u=f[7],l=t[0];n=4;break;case 2:var p=o[c[20]](l),v=~(~(p&~u)&~(~p&u));u=p,s+=e[10][t[17]](v),n=10}continue;case 2:switch(a){case 0:return i;case 1:n=l?9:0;break;case 2:l++,n=4}continue}}}function i(e){e[r[44]]}function o(e){}for(var s=0;void 0!==s;){var u=7&s,p=7&s>>3;switch(u){case 0:switch(p){case 0:var m=arguments[c[12]],g=h[1],y=m>l[11];s=y?18:36;break;case 1:eo++,s=4;break;case 2:var w=ev;s=w?53:11;break;case 3:O=h[15],s=(m=(m=I)<(g=x[T]))?44:30;break;case 4:s=eA<eO[l[44]]?13:28;break;case 5:g=e_[L]();var S=l[42];S+=h[33]+e[38],S=(S+=r[37])[c[26]](d[19])[r[6]]()[f[5]](h[7]),m[r[35]](S,g);var E=l[43];E+=e[39],s=(m=n[E=(E+=r[38])[c[26]](t[10])[r[6]]()[c[7]](r[3])])?21:43;break;case 6:var k=eI,I=t[0],x=d[6][h[30]](ek),O=r[0],T=c[12],A=d[35],M=l[38],R=d[36],C=h[31],j=t[44],N=j+=f[40]+h[32];s=2}continue;case 1:switch(p){case 0:(m=ew[h[31]])[r[35]](c[24],k),m=ew[l[39]];var P=c[25];P+=d[37]+r[36]+f[13],g=navigator[P],m[f[41]](l[40],g),m=ew[t[45]];var D=f[42],L=f[2],F=l[6];s=10;break;case 1:s=void 0;break;case 2:var B=es;m=ew[t[45]];var U=c[28],z=d[19],H=h[1],G=r[0];s=41;break;case 3:G||(H=r[42]);var q=U[e[16]](G),W=~(~(q&~H)&~(~q&H));H=q,z+=f[4][t[17]](W),s=35;break;case 4:I+=e[36],s=24;break;case 5:s=G<U[f[10]]?25:22;break;case 6:J=(m=ew[C])[N](ed,eh),s=2}continue;case 2:switch(p){case 0:s=f[23]?42:1;break;case 1:s=F<D[e[2]]?3:40;break;case 2:y=(m=void h[1])!==(g=arguments[r[7]]),s=36;break;case 3:eB=r[29]===n,s=6;break;case 4:var K=t[43];K=K[h[8]](r[3])[d[5]]()[f[5]](f[2]),eI=navigator[K],s=48;break;case 5:s=O?33:24;break;case 6:var V=ea[f[20]](eo)^d[32];ei+=c[11][t[17]](V),s=8}continue;case 3:switch(p){case 0:var Y=~(~(D[e[16]](F)&~e[37])&~(~(D[r[11]](F)&D[f[20]](F))&l[41]));L+=e[10][e[29]](Y),s=27;break;case 1:var J=w;s=J?49:2;break;case 2:m=n[d[38]];var Z=l[23];Z+=r[41],Z=(Z+=e[41])[d[12]](e[1])[f[30]]()[h[4]](d[19]),es=JSON[Z](m),s=17;break;case 3:F++,s=10;break;case 4:G++,s=41;break;case 5:var X=h[34];m=ew[X=X[c[26]](c[2])[t[46]]()[t[6]](f[2])];for(var $=h[35],Q=l[4],ee=h[1];ee<$[l[44]];ee++){var et=~(~($[l[7]](ee)&~h[36])&~(~($[f[20]](ee)&$[r[11]](ee))&r[43]));Q+=e[10][d[39]](et)}m[Q](l[6],l[45]);var er=(m=a)(eu);s=er?45:9;break;case 6:return}continue;case 4:switch(p){case 0:s=eo<ea[d[13]]?50:52;break;case 1:eA++,s=32;break;case 2:var en=e4[eR],ea=l[34],ei=d[19],eo=l[6];s=4;break;case 3:m=(m=h[3][eT])[e[40]],g=n[r[40]],m=m.call(g);var es=c[27]===m;s=es?19:14;break;case 4:var ec=y,eu=ec=ec?arguments[h[15]]:!l[6],el=(m=arguments[h[9]])>c[23];s=el?29:37;break;case 5:var ef=v(m=x[I],h[29]),ed=ef[r[0]],eh=ef[d[8]],ep=A!==ed;ep&&(ep=M!==ed);var ev=ep;s=ev?5:16;break;case 6:var em=en[ei],eg=en[e[33]],eb=en[e[35]],ey=f[36];ey+=l[35];var e_=t[41][ey]();m=(m=(m=f[37][f[38]](em,l[36]))[l[37]](eb,d[33]))[t[42]](eg,f[39]);var ew=new URL(m),eS=ez[d[34]]();eS||(eS={});var eE=eS;m=_(m={},g=n);var ek=_(m,g=eE),eI=n[d[35]];s=eI?48:34}continue;case 5:switch(p){case 0:ev=R==(m=typeof ed),s=16;break;case 1:var ex=eO[t[26]](eA)^f[43];eT+=e[10][l[8]](ex),s=12;break;case 2:var eO=r[39],eT=l[4],eA=f[7];s=32;break;case 3:el=(m=void t[0])!==(g=arguments[f[34]]),s=37;break;case 4:var eM=el,eR=eM=eM?arguments[parseInt(h[28],h[29])]:eV;m=b(n);for(var eC=r[34],ej=c[2],eN=t[0],eP=c[5];eP<eC[c[12]];eP++){if(!eP){var eD=e[34];eN=f[35]+eD}var eL=eC[r[11]](eP),eF=~(~(eL&~eN)&~(~eL&eN));eN=eL,ej+=c[11][e[29]](eF)}var eB=ej!=m;s=eB?6:26;break;case 5:m=ew[t[47]];for(var eU={},eH=d[41],eG=t[10],eq=l[6],eW=f[7];eW<eH[r[24]];eW++){if(!eW){var eK=d[1];eq=c[29]+eK}var eY=eH[e[16]](eW),eJ=eY^eq;eq=eY,eG+=h[38][h[10]](eJ)}eU[eG]=e[44],g=eU,m=fetch(m,g),g=i,m=m[t[48]](g),g=o;var eZ=d[42];er=m[eZ+=f[45]](g),s=9;break;case 6:w=ed,s=11}continue;case 6:switch(p){case 0:s=(m=eB)?51:20;break;case 1:for(var eX=e[42],e$=e[1],eQ=c[5],e0=r[0];e0<eX[c[12]];e0++){e0||(eQ=f[44]);var e1=eX[e[16]](e0),e2=e1^eQ;eQ=e1,e$+=c[11][d[39]](e2)}es=n[e$],s=17;break;case 2:m[z](r[40],B),s=43;break;case 3:s=1}continue}}}function x(e,t){var n=c[5],a=(d[1],{});a[d[232]]={},t=n=a,e(n,t[h[208]]);var i=f[247];return i+=r[240],n=t[i+=r[241]]}function O(n,a){for(var i=0;void 0!==i;){var o=1&i>>1;switch(1&i){case 0:switch(o){case 0:var s,u=l[6];l[6],u=n;var v=s;i=v?1:2;break;case 1:v=function(n,a){function i(){for(var n=9;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:m=typeof(m=ez[e[244]]),n=(m=d[239]==m)?5:8;break;case 1:try{m=new Uint32Array(r[7]);var i=r[244];return i+=d[238]+c[42]+l[246]+r[245],m=(m=ez[i](m))[f[7]]}catch(e){}n=0;break;case 2:for(var o=t[235],s=t[10],u=d[1];u<o[l[44]];u++){var p=o[d[18]](u)-t[236];s+=f[4][c[35]](p)}throw new f[226](s)}continue;case 1:switch(a){case 0:m=typeof(m=ez[d[237]]),n=(m=e[243]==m)?4:0;break;case 1:try{var v=t[234];return v+=r[50]+h[214]+f[252]+t[121],m=(m=ez[v](c[124]))[d[240]]()}catch(e){}n=8;break;case 2:var m=t[0];n=ez?1:8}continue}}}function o(){function n(){}return r[0],function(r){var a,i=t[0];i=n;var o=e[173];return i[o+=d[79]+e[245]+t[214]]=r,a=new n,(i=n)[d[59]]=d[2],i=a}}function s(n){function a(){for(var n=9;void 0!==n;){var a=3&n,i=3&n>>2;switch(a){case 0:switch(i){case 0:o[p](this,arguments),n=void 0;break;case 1:var o=u[_],s=h[65];s+=f[85],o=o[s=(s+=e[57])[e[81]](d[19])[e[18]]()[f[5]](r[3])];var c=r[248],p=t[10],v=e[0],m=t[0];n=8;break;case 2:n=m<c[l[44]]?13:0;break;case 3:S++,n=5}continue;case 1:switch(i){case 0:S||(w=h[217]-f[253]);var g=y[l[7]](S),b=~(~(g&~w)&~(~g&w));w=g,_+=r[12][r[15]](b),n=12;break;case 1:n=S<y[t[15]]?1:4;break;case 2:var y=d[241],_=t[10],w=h[1],S=t[0];n=5;break;case 3:n=m?2:6}continue;case 2:switch(i){case 0:var E=c[h[14]](m),k=~(~(E&~v)&~(~E&v));v=E,p+=e[10][e[29]](k),n=10;break;case 1:v=parseInt(e[247],d[83]),n=2;break;case 2:m++,n=8}continue}}}for(var i=4;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:s=a,u[e[248]]=s,v=s,i=2;break;case 1:l[6];var s=f[7],u=J(this),p=n;i=p?8:9;break;case 2:p=u[h[215]](n),i=9}continue;case 1:switch(o){case 0:var v=g;i=v?2:0;break;case 1:g=this[h[216]]!==(s=u[c[215]]),i=1;break;case 2:var m=t[238];m+=r[247]+t[192];var g=u[m=(m+=t[239])[e[81]](c[2])[e[18]]()[d[10]](t[10])](t[240]);i=g?5:1}continue;case 2:if(0===o){var b=f[254];return u[b+=t[241]][l[73]]=u,u[l[248]]=this,u}continue}}}function u(){f[7];for(var n=e[249],a=f[2],i=c[5];i<n[t[15]];i++){var o=~(~(n[t[26]](i)&~r[249])&~(~(n[h[14]](i)&n[e[16]](i))&h[219]));a+=c[11][l[8]](o)}var s=this[a]();return(0,s[f[255]])[l[249]](s,arguments),s}function v(){}function m(r){for(var n=8;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:var i=s[_],o=r[w](i);o&&(u=i,v=r[i],this[u]=v,o=v),n=4;break;case 1:n=c[3]?5:9;break;case 2:var s,u=l[6],v=e[0],m=p(r),g=t[14],b=l[250],y=b=b[e[81]](l[4])[c[6]]()[t[6]](h[7]),_=t[243],w=c[217];n=4}continue;case 1:switch(a){case 0:n=9;break;case 1:s=u=m[g](),n=(u=u[y])?1:0;break;case 2:var S=r[h[220]](l[52]);S&&(u=r[f[256]],this[d[243]]=u,S=u),n=void 0}continue}}}function g(){var r=e[32],n=this[r=(r+=e[250])[h[8]](f[2])[t[46]]()[l[22]](c[2])];return(n=n[e[171]])[c[218]](this)}function b(n,a){var i=r[0],o=n;o||(o=[]),i=o;var s=c[40];this[s=(s+=e[251])[h[8]](f[2])[t[46]]()[c[7]](e[1])]=i,n=i;var u=void 0!=a;u?u=a:(i=n[l[44]],u=c[124]*i),this[c[219]]=u}function y(t){for(var r=0;void 0!==r;){var n=1&r>>1;switch(1&r){case 0:switch(n){case 0:e[0];var a=t;r=a?1:2;break;case 1:a=ev,r=1}continue;case 1:if(0===n)return a[f[81]](this);continue}}}function _(n){for(var a=2;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:g=E,b=I+s>>>d[72],y=s>>>t[54],g[b]=k[y],a=14;break;case 1:a=h[15]?8:9;break;case 2:var o=f[258];v&&(p+=e[36]),v=l[11],a=(g=p<x)?6:13;break;case 3:a=9}continue;case 1:switch(i){case 0:var s=t[0],u=h[1];a=14;break;case 1:var p=e[0],v=f[7];a=4;break;case 2:g=this[e[253]],b=x;var m=h[222];return m+=e[199],this[m=(m+=r[254])[t[8]](t[10])[d[5]]()[h[4]](h[7])]=g+b,g=this;case 3:a=9}continue;case 2:switch(i){case 0:var g=d[1],b=h[1],y=e[0],_=e[0],w=h[1],S=r[251],E=this[S+=r[252]],k=n[d[244]],I=this[e[253]],x=n[r[253]],O=t[244];this[O+=d[245]](),a=(g=I%f[241])?5:1;break;case 1:g=k[g=p>>>c[23]],b=p%t[139]*t[140];var T=(g>>>=b=o-c[220]-b)&parseInt(h[221],c[23])+o;b=I+p,y=(g=E)[b>>>=c[23]],_=T,w=(I+p)%c[124]*l[20],_<<=w=parseInt(c[221],c[13])-w,g[b]=y|_,a=4;break;case 2:u&&(s+=h[126]),u=h[15],a=(g=s<x)?0:12;break;case 3:a=c[3]?10:9}continue}}}function w(){var a=parseInt(r[256],l[139]),i=e[0],o=f[7],s=c[5],u=e[0],p=this[e[254]],v=this[d[246]];s=(i=p)[o=v>>>t[54]],u=v%c[124]*f[121],u=a-l[252]-u,u=c[222]<<u,i[o]=s&u,i=p,o=v/h[126],i[h[9]]=n[d[247]](o)}function S(){var r=ec[d[248]],n=f[7],a=r.call(this);r=a,n=this[f[259]];var i=l[253];return i=i[t[8]](d[19])[h[25]]()[l[22]](t[10]),r[d[244]]=n[i](e[0]),r=a}function E(r){for(var n=8;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:u=c[3],n=(i=s<r)?4:1;break;case 1:i=e$(),o[d](i),n=9;break;case 2:var i=f[7],o=[],s=h[1],u=f[7],d=l[24];n=9}continue;case 1:switch(a){case 0:n=6;break;case 1:s+=t[139],n=0;break;case 2:n=c[3]?2:6}continue;case 2:switch(a){case 0:n=u?5:0;break;case 1:return new ed[e[248]](o,r)}continue}}}function k(n){for(var a=4;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:a=9;break;case 1:var o=r[0],s=h[1],u=n[t[246]],p=c[224],v=n[p+=e[85]+c[225]],m=[],g=h[1],b=e[0],y=(l[254],l[255]),_=y+=f[261]+t[247]+r[257],w=h[224],S=w+=c[226]+c[107];a=1;break;case 2:b=h[15],a=(o=g<v)?6:0}continue;case 1:switch(i){case 0:a=f[23]?5:9;break;case 1:var E=parseInt(c[227],r[130]);a=b?2:8;break;case 2:var k=e[259];return m[k+=e[260]](l[4])}continue;case 2:switch(i){case 0:g+=d[8],a=8;break;case 1:o=u[o=g>>>c[23]],s=g%d[121]*r[130],o>>>=s=e[258]-s;var I=d[250],x=~(~(o&parseInt(I=(I+=c[228])[h[8]](d[19])[d[5]]()[r[21]](t[10]),l[20]))&~(o&parseInt(I,t[140])));m[S](o=(o=x>>>l[128])[_](h[132])),m[S](o=(o=E-c[190]&x)[_](parseInt(e[148],c[84]))),a=1}continue}}}function I(n){for(var a=8;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:return o=g,s=m/t[54],o=new ed[e[248]](o,s);case 1:a=0;break;case 2:var o=l[6],s=r[0],u=c[5],p=r[0],v=l[6],m=n[t[15]],g=[],b=t[0],y=f[7],_=h[225];_+=r[259];var w=_=(_+=h[226])[c[26]](e[1])[h[25]]()[l[22]](h[7]);a=1}continue;case 1:switch(i){case 0:a=e[36]?9:0;break;case 1:b+=t[54],a=6;break;case 2:var S=d[251];a=y?5:6}continue;case 2:switch(i){case 0:u=(o=g)[s=b>>>l[256]],p=parseInt(p=n[w](b,l[25]),e[28]),v=b%t[140]*h[126],p<<=v=S-l[257]-v,o[s]=u|p,a=1;break;case 1:y=d[8],a=(o=b<m)?2:4}continue}}}function x(n){for(var a=6;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:a=e[36]?8:4;break;case 1:return m[d[10]](c[2]);case 2:var o=parseInt(r[260],d[72]);a=b?2:1}continue;case 1:switch(i){case 0:b=e[36],a=(u=g<v)?5:9;break;case 1:u=p[u=g>>>l[25]],f=g%l[128]*l[20];var s=(u>>>=f=l[124]-f)&parseInt(e[261],d[83])+o;m[_](u=h[38][y](s)),a=0;break;case 2:a=4}continue;case 2:switch(i){case 0:g+=e[36],a=1;break;case 1:var u=c[5],f=l[6],p=n[t[246]],v=n[e[253]],m=[],g=e[0],b=c[5],y=r[15],_=r[23];a=0}continue}}}function O(n){for(var a=8;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:var o=e[263];w&&(_+=d[8]),w=r[7],a=(s=_<b)?5:1;break;case 1:a=l[11]?0:9;break;case 2:var s=h[1],u=l[6],p=f[7],v=c[5],m=c[5],g=c[229];g+=f[262]+f[36];var b=n[g=(g+=e[262])[e[81]](r[3])[f[30]]()[r[21]](l[4])],y=[],_=r[0],w=d[1],S=f[20];a=4}continue;case 1:switch(i){case 0:a=9;break;case 1:p=(s=y)[u=_>>>t[54]],v=n[S](_),v=o-h[227]&v,m=_%e[135]*e[12],v<<=m=parseInt(c[94],l[25])-m,s[u]=p|v,a=4;break;case 2:return new ed[c[215]](y,b)}continue}}}function T(r){var n=h[1];try{return n=eg[t[90]](r),n=escape(n),n=e[265](n)}catch(t){throw new e[266](f[263])}}function A(e){var r=t[249](e);return r=unescape(r),r=eg[f[264]](r)}function M(){for(var r=t[250],n=e[1],a=t[0];a<r[f[10]];a++){var i=l[259],o=r[t[26]](a)-(c[230]+i);n+=t[33][f[21]](o)}this[c[231]]=new ed[n],this[l[260]]=c[5]}function R(n){for(var a=1;void 0!==a;){var i=1&a>>1;switch(1&a){case 0:switch(i){case 0:y=this[f[265]];var o=l[262];y[o+=d[254]+r[172]](n);var s=l[263];y=this[s=s[l[3]](c[2])[c[6]]()[h[4]](c[2])];var u=r[263];_=n[u=u[e[81]](e[1])[f[30]]()[t[6]](f[2])];for(var p=h[229],v=e[1],m=d[1];m<p[l[44]];m++){var g=parseInt(t[251],e[64]),b=p[c[20]](m)^parseInt(r[264],h[132])+g;v+=f[4][f[21]](b)}this[v]=y+_,a=void 0;break;case 1:n=y=ey[d[252]](n),S=y,a=0}continue;case 1:if(0===i){var y=typeof n,_=e[0],w=e[267],S=(w=w[c[26]](f[2])[t[46]]()[d[10]](c[2]))==y;a=S?2:0}continue}}}function C(a){for(var i=14;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:return new ed[c[215]](_,N);case 1:w[g]=S-E,i=0;break;case 2:i=l[11]?13:6;break;case 3:var s=r[0],u=f[7],p=c[232];i=8}continue;case 1:switch(o){case 0:i=b<m[t[15]]?10:4;break;case 1:this[p](x,s),i=8;break;case 2:b++,i=1;break;case 3:u&&(s+=T),u=d[8],i=(w=s<C)?5:2}continue;case 2:switch(o){case 0:i=6;break;case 1:_=x[h[232]](d[1],C),w=k;var v=d[256];v+=e[270],S=w[v+=t[254]],E=N;var m=e[271],g=t[10],b=l[6];i=1;break;case 2:var y=~(~(m[e[16]](b)&~h[233])&~(~(m[e[16]](b)&m[f[20]](b))&l[265]));g+=d[51][t[17]](y),i=9;break;case 3:var _,w=e[0],S=f[7],E=c[5],k=this[h[230]],I=e[268],x=k[I=I[d[12]](l[4])[d[5]]()[h[4]](f[2])],O=k[c[219]],T=this[d[255]],A=(w=O)/(S=h[126]*T),M=a;if(M)M=n[r[266]](A);else{w=d[1]|A;var R=c[108];R+=e[269]+t[252]+t[253],w-=S=this[R=(R+=h[231])[d[12]](t[10])[h[25]]()[c[7]](d[19])],M=n[r[267]](w,l[6])}A=w=M;var C=w*(S=T),j=f[206];j+=r[268]+f[266],w=parseInt(j,l[25])*C,S=O;var N=n[l[264]](w,S);i=C?12:0}continue}}}function j(){for(var n=c[233],a=d[19],i=d[1],o=e[0];o<n[h[9]];o++){o||(i=e[272]);var s=n[l[7]](o),u=~(~(s&~i)&~(~s&i));i=s,a+=l[29][t[17]](u)}var p=ec[a],v=f[7],m=p.call(this);p=m;var g=f[267];return v=this[g+=r[269]],p[c[231]]=v[d[248]](),p=m}function N(e){var n=this[d[258]],a=r[272];a=a[t[8]](f[2])[l[69]]()[l[22]](l[4]),this[c[235]]=n[a](e),this[r[273]]()}function P(){eE[f[270]].call(this),this[c[236]]()}function D(n){for(var a=1;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:return this[l](),this;case 1:p||(h=t[256]);var o=u[e[16]](p),s=~(~(o&~h)&~(~o&h));h=o,l+=t[33][e[29]](s),a=5;break;case 2:a=p<u[d[13]]?4:0}continue;case 1:switch(i){case 0:c[5],this[f[271]](n);var u=e[275],l=r[3],h=c[5],p=d[1];a=8;break;case 1:p++,a=8}continue}}}function L(e){for(var r=1;void 0!==r;){var n=1&r>>1;switch(1&r){case 0:switch(n){case 0:return this[h[238]]();case 1:a=this[t[257]](e),r=0}continue;case 1:if(0===n){l[6];var a=e;r=a?2:0}continue}}}function F(n){return function(a,i){var o=new n[t[240]](i),s=c[237];return s+=d[261],o=o[s=(s+=r[274])[e[81]](c[2])[d[5]]()[r[21]](e[1])](a)}}function B(t){return function(r,n){for(var a=0;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:var o=eP[l[267]];o=new o[e[248]](t,n);var s=l[268],u=f[2],p=l[6];a=4;break;case 1:a=p<s[l[44]]?5:8;break;case 2:return o[u](r)}continue;case 1:switch(i){case 0:p++,a=4;break;case 1:var v=h[242],m=s[d[18]](p)^c[238]+v;u+=e[10][c[35]](m),a=1}continue}}}}for(var U=33;void 0!==U;){var z=7&U>>3;switch(7&U){case 0:switch(z){case 0:eH=typeof globalThis;var H=d[231]!=eH;U=H?17:28;break;case 1:var G=d[67];G+=c[40]+l[245]+d[236]+f[222]+r[243],ez=eH=window[G],eK=eH,U=1;break;case 2:var q=r[243];q+=l[244],q=(q+=f[250])[f[3]](l[4])[l[69]]()[d[10]](f[2]),ez=eH=self[q],e8=eH,U=0;break;case 3:var W=Y;U=W?20:26;break;case 4:var K=!ez;U=K?11:2}continue;case 1:switch(z){case 0:var V=!ez;V&&(V=(eH=void e[0])!==(eG=X));var Y=V;U=Y?25:24;break;case 1:var J=eQ,Z={};eG={},(eH=Z)[e[246]]=eG;var $=eG;eH=$;var Q={},ee=r[38];Q[ee+=r[246]+t[237]]=s,Q[h[218]]=u;for(var et=d[242],er=r[3],en=c[5],ei=h[1];ei<et[d[13]];ei++){ei||(en=t[242]);var eo=et[e[16]](ei),es=eo^en;en=eo,er+=h[38][d[39]](es)}Q[er]=v,Q[c[216]]=m,Q[l[251]]=g,eG=Q,eH[f[257]]=eG;var ec=eG;eH=$;var eu={};eu[r[250]]=b,eu[r[13]]=y,eu[e[252]]=_;var el=h[223];eu[el+=r[255]+l[42]]=w,eu[t[245]]=S;var ef=r[217];eu[ef+=e[255]+e[256]]=E,eG=eu,eG=ec[e[257]](eG),eH[c[223]]=eG;var ed=eG;eG={},(eH=Z)[f[260]]=eG;var eh=eG;eH=eh;var ep={};ep[d[249]]=k,ep[r[258]]=I,eG=ep,eH[t[248]]=eG;var ev=eG;eH=eh;var em={};em[l[258]]=x,em[d[252]]=O,eG=em,eH[e[264]]=eG;var eg=eG;eH=eh;var eb={};eb[d[249]]=T,eb[f[264]]=A,eG=eb,eH[r[261]]=eG;var ey=eG;eH=$;var e_={};e_[d[253]]=M;var ew=l[261];ew+=r[262],e_[ew=(ew+=h[228])[l[3]](c[2])[f[30]]()[e[46]](d[19])]=R,e_[r[265]]=C,e_[h[234]]=j;var eS=c[234];e_[eS+=r[270]+r[271]+h[235]+f[268]]=f[7],eG=e_,eG=ec[t[255]](eG),eH[h[236]]=eG;var eE=eG;eH=$;var ek={},eI=d[257];eI+=e[273],ek[f[269]]=ec[eI]();var ex=l[266];ek[ex=ex[h[8]](c[2])[l[69]]()[h[4]](e[1])]=N,ek[d[253]]=P,ek[e[274]]=D;var eO=d[259];ek[eO+=r[64]+d[260]+h[237]]=L;var eT=f[272];ek[eT=eT[l[3]](l[4])[h[25]]()[f[5]](d[19])]=parseInt(h[239],r[62]),ek[h[240]]=F,ek[h[241]]=B,eG=ek;for(var eA=d[262],eM=c[2],eR=f[7];eR<eA[e[2]];eR++){var eC=l[269],ej=eA[c[20]](eR)-(eC-r[211]);eM+=t[33][r[15]](ej)}eH[d[263]]=eE[eM](eG),eH=Z,eG={};var eN=f[273];eH[eN+=t[164]+e[177]]=eG;var eP=eG;return Z;case 2:for(var eD=f[251],eL=f[2],eF=l[6];eF<eD[h[9]];eF++){var eB=h[212],eU=eD[e[16]](eF)^c[214]+eB;eL+=h[38][d[39]](eU)}H=globalThis[eL],U=28;break;case 3:Y=X[t[233]],U=24;break;case 4:var ez,eH=r[0],eG=c[5];eH=typeof window;var eq=c[213]!=eH;U=eq?34:4}continue;case 2:switch(z){case 0:var eW=K;eW&&(eW=window[h[213]]);var eK=eW;U=eK?8:1;break;case 1:U=eX<eY[e[2]]?36:12;break;case 2:eQ=(eH=o)(),U=9;break;case 3:U=(eH=!ez)?35:19;break;case 4:var eV=e[240];eV+=h[210]+t[76]+d[111]+c[168],eq=window[eV],U=4}continue;case 3:switch(z){case 0:var eY=t[232],eJ=f[2],eZ=l[6],eX=r[0];U=10;break;case 1:eH=typeof window,K=c[213]!=eH,U=2;break;case 2:var e$=i,eQ=e[6][l[247]];U=eQ?9:18;break;case 3:eX++,U=10;break;case 4:try{ez=ea}catch(e){}U=19}continue;case 4:switch(z){case 0:var e0=eq;if(e0){for(var e1=e[241],e2=d[19],e3=t[0];e3<e1[e[2]];e3++){var e4=~(~(e1[t[26]](e3)&~parseInt(f[249],h[13]))&~(~(e1[c[20]](e3)&e1[t[26]](e3))&r[242]));e2+=r[12][t[17]](e4)}ez=eH=window[e2],e0=eH}eH=typeof self;var e6=f[246]!=eH;e6&&(e6=self[h[211]]);var e8=e6;U=e8?16:0;break;case 1:ez=eH=globalThis[eJ],e5=eH,U=32;break;case 2:ez=eH=X[e[242]],W=eH,U=26;break;case 3:var e5=H;U=e5?3:32;break;case 4:eX||(eZ=d[235]);var e7=eY[r[11]](eX),e9=~(~(e7&~eZ)&~(~e7&eZ));eZ=e7,eJ+=c[11][c[35]](e9),U=27}continue}}}(Math),i=1}continue;case 1:0===o&&(s=v,u[r[275]]=s,i=void 0);continue}}}function T(n,a){var i,o,s,u,p,v,m,g,b,y,_,w,S,E=h[1];e[0],E=n,S=ei,i=Math,o=d[1],s=r[0],p=(u=S[h[243]])[l[270]],v=u[l[271]],m=S[r[276]],g=[],b=[],o=(o=function(){function n(e){var t=e;return f[7],t-=h[1]|e,t=c[239]*t|d[1]}for(var a=9;void 0!==a;){var o=3&a>>2;switch(3&a){case 0:switch(o){case 0:var s=function(n){for(var a=6;void 0!==a;){var o=3&a>>2;switch(3&a){case 0:switch(o){case 0:return!r[0];case 1:a=h?2:1;break;case 2:a=n%u?9:5}continue;case 1:switch(o){case 0:h=f[23],a=u<=c?8:10;break;case 1:return!r[7];case 2:a=e[36]?4:0}continue;case 2:switch(o){case 0:u+=t[64],a=1;break;case 1:e[0];var s=l[10],c=i[s+=f[274]+r[190]](n),u=d[72],h=l[6];a=9;break;case 2:a=0}continue}}}(S);if(s){var u=E<h[13];if(u){m=g,y=E;var p=f[275];_=n(_=i[p=p[e[81]](l[4])[d[5]]()[r[21]](d[19])](S,f[276])),m[y]=_,u=_}m=b,y=E,_=S,w=t[64]/h[107],_=i[k](_,w),m[y]=n(_);var v=r[0];v=E,E+=c[3],s=v}S+=r[7],a=5;break;case 1:a=8;break;case 2:a=void 0}continue;case 1:switch(o){case 0:a=(m=E<d[264]-l[272])?0:4;break;case 1:a=t[64]?1:8;break;case 2:var m=e[0],y=t[0],_=f[7],w=c[5],S=t[54],E=d[1],k=r[277];a=5}continue}}})(),y=[],o=m,(_={})[d[265]]=function(){var e=g[h[244]](d[1]);this[r[278]]=new p[l[273]](e)},_[l[274]]=function(n,a){for(var i=8;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:i=9;break;case 1:s=m,u=m[t[139]]+(p=E),s[e[135]]=u|l[6],s=m,u=m[d[99]]+(p=k),s[e[280]]=~(~u&~l[6]),i=2;break;case 2:var s=this[r[278]],u=r[0],p=h[1],v=e[0],m=s[r[279]],g=m[f[7]],_=m[e[36]],w=m[f[34]],S=m[r[223]],E=m[parseInt(e[276],h[29])],k=m[l[131]],I=m[t[146]],x=m[f[153]],O=d[1],T=e[0];f[277],f[206],t[258],h[245],i=12;break;case 3:i=r[7]?10:9}continue;case 1:switch(o){case 0:if(s=O<U-parseInt(t[261],l[25]))s=y,u=O,p=n[p=a+O],s[u]=~(~c[5]&~p);else{var A=c[240],M=h[246],R=y[s=O-h[247]],C=(s=~(~(s=R<<M-l[128])&~(u=R>>>e[146]))^(u=R<<d[266]|(p=R>>>A-parseInt(e[278],r[130]))))^(u=R>>>l[256]),j=y[s=O-f[34]];s=j<<e[149]|(u=j>>>M-t[144]),u=j<<M-d[60];var N=h[248],P=~(~((s=~(~(s&~(u|=p=j>>>parseInt(N=N[l[3]](c[2])[r[6]]()[c[7]](h[7]),r[146])))&~(~s&u)))&~(u=j>>>l[139]))&~(~s&u));s=y,u=O,p=C+((v=y[v=O-d[267]])+(v=P)),v=y[v=O-(A-l[275])],s[u]=p+v}var D=~(~((s=~(~((s=g&_)&~(u=~(~(g&w)&~(g&w))))&~(~s&u)))&~(u=_&w))&~(~s&u)),L=(s=~(~((s=~(~(s=g<<B-r[280])&~(u=g>>>f[34])))&~(u=~(~(u=g<<l[276])&~(p=g>>>U-l[277]))))&~(~s&u)))^(u=~(~(u=g<<parseInt(c[241],h[13]))&~(p=g>>>U-l[278]))),F=(s=x+((u=~(~((u=~(~(u=E<<l[279])&~(p=E>>>d[132]))^(p=E<<B-t[262]|(v=E>>>l[141])))&~(p=~(~(p=E<<r[134])&~(v=E>>>parseInt(c[242],l[57])))))&~(~u&p)))+(u=~(~((u=~(~(E&k)&~(E&k)))&~(p=~(~((p=~E)&(v=I))&~(p&v))))&~(~u&p)))+(u=b[O])))+(u=y[O]);x=I,I=k,k=E,E=(s=S+F)|l[6],S=w,w=_,_=g,g=(s=F+(u=L+D))|d[1],i=12;break;case 1:T=h[15],i=(s=O<t[260])?1:0;break;case 2:s=m,u=m[e[0]]+(p=g),s[t[0]]=u|d[1],s=m,u=m[c[3]]+(p=_),s[r[7]]=~(~u&~f[7]),i=14;break;case 3:O+=t[64],i=5}continue;case 2:switch(o){case 0:s=m,u=m[parseInt(f[278],h[29])]+(p=I),s[f[159]]=u|f[7],s=m,u=m[d[267]]+(p=x),s[r[134]]=~(~u&~l[6]),i=6;break;case 1:i=void 0;break;case 2:var B=parseInt(e[277],c[13]),U=t[259];i=T?13:5;break;case 3:s=m,u=m[t[54]]+(p=w),s[r[62]]=~(~u&~e[0]),s=m,u=m[e[279]]+(p=S),s[f[135]]=~(~u&~e[0]),i=4}continue}}},_[r[281]]=function(){for(var n=8;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:n=P<j[l[44]]?14:6;break;case 1:O++,n=5;break;case 2:for(var o=parseInt(d[268],f[76]),s=l[280],u=t[0],p=c[5],v=e[0],m=f[7],g=this[d[269]],b=g[c[243]],y=d[270],_=h[7],w=f[7];w<y[e[2]];w++){var S=~(~(y[d[18]](w)&~l[281])&~(~(y[d[18]](w)&y[h[14]](w))&c[244]));_+=r[12][l[8]](S)}u=this[_];var E=f[121]*u;u=g[t[263]];var k=parseInt(c[245],t[140])*u;v=(u=b)[p=k>>>c[246]],m=k%d[271],m=s-h[249]-m,m=t[264]<<m,u[p]=~(~v&~m),u=b;var I=r[282],x=c[2],O=d[1];n=5;break;case 3:var T=A[d[18]](R)-f[279];M+=e[10][c[35]](T),n=2}continue;case 1:switch(a){case 0:n=R<A[l[44]]?12:10;break;case 1:n=O<I[t[15]]?3:13;break;case 2:P++,n=0;break;case 3:p=k+parseInt(x,r[130])>>>d[272]<<e[135],p=o-h[250]+p,v=E/r[283];var A=c[247],M=e[1],R=l[6];n=1}continue;case 2:switch(a){case 0:R++,n=1;break;case 1:return this[N](),u=this[h[252]];case 2:u[p]=i[M](v),u=b,p=k+(s-r[284])>>>s-r[285]<<r[135],u[p=o-r[286]+p]=E,u=g;var C=d[273];C+=h[106],p=b[C+=c[107]],u[d[246]]=r[135]*p;var j=h[251],N=r[3],P=e[0];n=0;break;case 3:var D=j[t[26]](P)-e[282];N+=d[51][d[39]](D),n=9}continue;case 3:if(0===a){var L=I[f[20]](O)^parseInt(e[281],t[140]);x+=f[4][d[39]](L),n=4}continue}}},_[d[248]]=function(){var n=v[r[287]],a=d[1],i=n.call(this);n=i;var o=t[130];o+=c[248],a=this[o=(o+=t[202])[t[8]](h[7])[f[30]]()[l[22]](r[3])];for(var s=c[249],u=t[10],p=l[6],m=d[1];m<s[c[12]];m++){m||(p=parseInt(e[283],h[13]));var g=s[h[14]](m),b=g^p;p=g,u+=h[38][e[29]](b)}return n[t[265]]=a[u](),n=i},s=_,s=v[d[274]](s),o[t[266]]=s,w=s,(o=S)[l[282]]=v[h[240]](w),(o=S)[r[288]]=v[r[289]](w),E[c[250]]=S[t[266]]}function A(n,a){function i(n,a){for(var i=4;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:i=2;break;case 1:for(var s=f[280],u=c[2],p=f[7];p<s[d[13]];p++){var v=~(~(s[h[14]](p)&~h[253])&~(~(s[f[20]](p)&s[f[20]](p))&parseInt(e[285],r[62])));u+=t[33][e[29]](v)}var m=new n[u],g=t[0],y=c[5];this[d[276]]=m,n=m,m=typeof a;var _=l[188]==m;i=_?13:14;break;case 2:y=(m=I)[g=R],m[g]=~(~(y&~t[269])&~(~y&r[294])),y=(m=M)[g=R],m[g]=y^parseInt(r[295],d[72]),i=5;break;case 3:i=C?10:6}continue;case 1:switch(o){case 0:a[l[285]]();var w=h[223];m=a[w+=t[267]](),this[f[282]]=m;var S=m,E=t[214];E+=d[9],m=a[E=(E+=t[268])[f[3]](c[2])[l[69]]()[c[7]](c[2])](),this[f[283]]=m;for(var k=m,I=S[f[259]],x=c[251],O=h[7],T=c[5];T<x[h[9]];T++){var A=x[r[11]](T)^d[277];O+=t[33][d[39]](A)}var M=k[O],R=r[0],C=l[6];i=5;break;case 1:i=l[11]?12:2;break;case 2:a=m=n[f[281]](a),D=m,i=1;break;case 3:a=m=b[h[74]](a),_=m,i=14}continue;case 2:switch(o){case 0:m=S,g=k,y=P;var j=h[161];g[j+=c[111]+r[296]+t[121]]=y,m[h[254]]=y,this[r[273]](),i=void 0;break;case 1:C=f[23],i=(m=R<N)?8:0;break;case 2:R+=t[64],i=6;break;case 3:var N=n[r[293]],P=f[241]*N,D=(m=a[d[246]])>(g=P);i=D?9:1}continue}}}function o(){var n=r[0],a=l[287],i=this[a=a[c[26]](r[3])[c[6]]()[l[22]](r[3])];i[t[270]]();var o=d[278];o+=l[288],n=this[o=(o+=h[255])[e[81]](r[3])[f[30]]()[e[46]](h[7])],i[r[298]](n)}function s(e){var t=this[l[289]];return t[h[256]](e),t=this}function u(n){var a=r[0],i=this[e[287]],o=e[288],s=i[o+=r[299]+d[280]](n);i[l[290]](),a=this[f[282]];var u=d[42];return u+=d[281],a=(a=a[u+=c[252]]())[t[42]](s),a=i[l[291]](a)}for(var p=0;void 0!==p;){var v=3&p>>2;switch(3&p){case 0:switch(v){case 0:var m,g,b,y=d[1],_=f[7],w=f[7];y=n,m=_=ei,_=_[r[290]];var S=d[275];g=_[S=(S+=e[284])[h[8]](f[2])[e[18]]()[t[6]](f[2])],_=m[r[291]];var E=l[283],k=e[1],I=r[0];p=1;break;case 1:var x=E[d[18]](I)-r[292];k+=r[12][c[35]](x),p=2;break;case 2:b=_[k],_=m[l[284]];var O={};O[r[250]]=i;for(var T=l[286],A=h[7],M=c[5];M<T[d[13]];M++){var R=r[297],C=T[f[20]](M)-(e[286]+R);A+=r[12][e[29]](C)}O[A]=o,O[e[274]]=s,O[d[279]]=u,w=O;var j=t[214];j+=f[284],w=g[j+=r[300]](w);var N=c[253],P=d[19],D=r[0],L=t[0];p=9;break;case 3:D=c[254],p=5}continue;case 1:switch(v){case 0:p=I<E[h[9]]?4:8;break;case 1:var F=N[c[20]](L),B=~(~(F&~D)&~(~F&D));D=F,P+=r[12][t[17]](B),p=13;break;case 2:p=L<N[e[2]]?10:6;break;case 3:L++,p=9}continue;case 2:switch(v){case 0:I++,p=1;break;case 1:_[P]=w,_=w;var U=t[271];y[U=U[h[8]](c[2])[f[30]]()[d[10]](c[2])]=void 0,p=void 0;break;case 2:p=L?5:12}continue}}}function M(r,n){for(var a=1;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:a=m<d[e[2]]?4:8;break;case 1:if(!m){var o=f[153];v=c[255]+o}var s=d[c[20]](m),u=~(~(s&~v)&~(~s&v));v=s,p+=h[38][t[17]](u),a=5;break;case 2:l[e[289]]=ei[p],a=void 0}continue;case 1:switch(i){case 0:var l=r,d=h[257],p=c[2],v=f[7],m=e[0];a=0;break;case 1:m++,a=0}continue}}}function R(n,a){var i,o=l[6],s=h[1];o=n,i=ei,(s=function(){var n=d[1],a=(n=i[h[243]])[d[282]];n=i[e[290]];var o={};o[e[291]]=function(n){for(var a=27;void 0!==a;){var i=7&a>>3;switch(7&a){case 0:switch(i){case 0:T=l[11],a=(y=O<k)?26:3;break;case 1:_=S[_],w=(O+f[23])%c[124]*r[130],y=~(~y&~(_=~(~((_>>>=w=b-parseInt(f[287],r[112])-w)&parseInt(l[292],c[23]))&~(_&parseInt(h[259],r[146])))<<c[13])),_=O+r[62]>>>c[23],a=18;break;case 2:return x[f[5]](f[2]);case 3:O+=t[112],a=0;break;case 4:a=19}continue;case 1:switch(i){case 0:y=v,_=h[107]-m,y=~(~((y>>>=_=d[132]*_)&parseInt(e[293],h[46]))&~(y&e[294])),x[R](y=I[M](y)),a=34;break;case 1:g&&(m+=l[11]),g=d[8];var o=m<c[124];o&&(o=(y=O+(_=t[273]*m))<(_=k)),a=(y=o)?1:32;break;case 2:var s=I[d[285]](parseInt(c[260],h[46]));a=s?25:16;break;case 3:var u=e[2],p=e[295];a=35;break;case 4:a=16}continue;case 2:switch(i){case 0:x[p](s),a=35;break;case 1:a=(y=x[u]%h[126])?2:33;break;case 2:_=S[_],w=(O+f[34])%parseInt(c[259],h[29])*l[20],_>>>=w=parseInt(h[260],l[57])-w;var v=~(~y&~(_&=h[184])),m=l[6],g=h[1];a=34;break;case 3:y=S[y=O>>>l[25]],_=O%r[135]*h[13],y>>>=_=b-c[258]-_,y&=h[184],y<<=b-e[292],_=O+l[11]>>>l[25],a=8;break;case 4:a=l[11]?9:19}continue;case 3:switch(i){case 0:a=17;break;case 1:var b=r[301];a=T?24:0;break;case 2:a=t[64]?11:17;break;case 3:var y=e[0],_=l[6],w=l[6],S=n[c[243]],E=d[284],k=n[E=E[h[8]](e[1])[d[5]]()[t[6]](h[7])],I=this[c[257]];n[t[272]]();var x=[],O=d[1],T=r[0],A=h[258],M=A+=f[286]+h[65],R=c[48];a=19;break;case 4:a=r[7]?10:16}continue}}},o[h[74]]=function(n){for(var i=8;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:g=[];var s=d[286];s+=h[262]+t[215]+r[302],this[s=(s+=c[261])[d[12]](f[2])[t[46]]()[e[46]](d[19])]=g,S=g;var u=d[1],p=e[0],v=l[44],m=e[16];i=6;break;case 1:return function(n,i,o){for(var s=4;void 0!==s;){var u=3&s>>2;switch(3&s){case 0:switch(u){case 0:w+=l[11],s=8;break;case 1:var p=e[0],v=d[1],m=e[0],g=d[1],b=d[1],y=[],_=f[7],w=l[6],S=c[5],E=d[18];e[276],s=2;break;case 2:S=h[15],s=(p=w<i)?1:6}continue;case 1:switch(u){case 0:if(p=w%e[135]){var k=c[254];p=w-h[15],p=o[p=n[E](p)]<<(v=w%r[135]*f[34]),v=o[v=n[E](w)],m=w%parseInt(h[129],t[54])*h[29];var I=~(~p&~(v>>>=m=parseInt(d[283],l[25])-m));m=(p=y)[v=_>>>l[25]],g=I,b=_%h[126]*h[13],g<<=b=k-c[256]-b,p[v]=m|g,_+=d[8]}s=2;break;case 1:s=S?0:8;break;case 2:return a[f[285]](y,_)}continue;case 2:switch(u){case 0:s=e[36]?5:9;break;case 1:s=9}continue}}}(n,b,S);case 2:var g=h[1],b=(r[0],n[h[9]]),y=h[261],_=this[y+=e[296]],w=t[274],S=this[w=w[h[8]](c[2])[c[6]]()[c[7]](c[2])];i=S?12:0;break;case 3:var E=_[h[263]](r[303]);i=E?5:4}continue;case 1:switch(o){case 0:(g=S)[_[m](u)]=u,i=6;break;case 1:var k=n[f[288]](E),I=(g=-e[36])!==k;i=I?13:4;break;case 2:i=12;break;case 3:b=g=k,I=g,i=4}continue;case 2:switch(o){case 0:p&&(u+=d[8]),p=h[15],i=(g=(g=u)<_[v])?1:9;break;case 1:i=d[8]?2:12}continue}}},o[d[287]]=h[264],n[l[293]]=o})(),s=i[c[262]],o[f[289]]=s[h[265]]}function C(n,a){var i,o=f[7];e[0],o=n,i=ei,function(n){function a(){for(var e=8;void 0!==e;){var a=3&e>>2;switch(3&e){case 0:switch(a){case 0:e=void 0;break;case 1:i=A,o=u,s=u+t[64],s=n[p](s),s=n[v](s),s=(c[265]+m)*s,i[o]=~(~s&~h[1]),e=5;break;case 2:var i=c[5],o=d[1],s=c[5],u=t[0],l=h[1],p=t[277],v=r[304];e=5}continue;case 1:switch(a){case 0:l=c[3],e=(i=u<r[303])?4:9;break;case 1:e=c[3]?2:0;break;case 2:e=0}continue;case 2:switch(a){case 0:var m=f[290];e=l?6:1;break;case 1:u+=t[64],e=1}continue}}}function o(){var t=f[7],n=[];n[e[295]](h[266],h[267],parseInt(e[297],r[112]),d[288]),t=n,this[d[289]]=new x[e[248]](t)}function s(n,a){for(var i=9;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:var s=e[300];eo&&(ei+=c[3]),eo=l[11],i=($=ei<s-h[269])?5:8;break;case 1:i=e[36]?0:1;break;case 2:i=1}continue;case 1:switch(o){case 0:var u=($=this[h[252]])[l[295]],p=n[$=a+l[6]],y=n[$=a+e[36]],_=n[$=a+c[23]],w=n[$=a+c[266]],S=n[$=a+l[128]],E=n[$=a+t[173]],k=n[$=a+h[109]],I=n[$=a+e[146]],x=n[$=a+parseInt(e[148],h[13])],O=n[$=a+(K-h[270])],T=n[$=a+e[3]],M=n[$=a+(X-parseInt(h[271],l[139]))],R=n[$=a+(K-parseInt(r[308],t[37]))],C=n[$=a+f[295]],j=n[$=a+r[138]],N=n[$=a+(q-f[296])],P=u[t[0]],D=u[h[15]],L=u[t[54]],F=u[f[135]];$=P,Q=D,ee=L,et=F,er=p,en=A[c[5]],P=v($,Q,ee,et,er,h[272],en),$=F,Q=P,ee=D,et=L,er=y,en=A[t[64]],F=v($,Q,ee,et,er,parseInt(c[136],e[12]),en),$=L,Q=F,ee=P,et=D,er=_,en=A[d[72]],L=v($,Q,ee,et,er,parseInt(f[141],d[60]),en),$=D,Q=L,ee=F,et=P,er=w,en=A[r[223]],D=v($,Q,ee,et,er,r[137],en),$=P,Q=D,ee=L,et=F,er=S,en=A[r[135]],P=v($,Q,ee,et,er,parseInt(r[309],l[25]),en),$=F,Q=P,ee=D,et=L,er=E,en=A[d[99]],F=v($,Q,ee,et,er,parseInt(e[302],r[62]),en),$=L,Q=F,ee=P,et=D,er=k,en=A[d[132]],L=v($,Q,ee,et,er,l[296],en),$=D,Q=L,ee=F,et=P,er=I,en=A[r[134]],D=v($,Q,ee,et,er,e[303],en),$=P,Q=D,ee=L,et=F,er=x;var B=r[310];en=A[parseInt(B=B[l[3]](t[10])[t[46]]()[h[4]](l[4]),e[64])],P=v($,Q,ee,et,er,l[140],en),$=F,Q=P,ee=D,et=L,er=O,en=A[Z-c[267]],F=v($,Q,ee,et,er,h[273],en),$=L,Q=F,ee=P,et=D,er=T,en=A[G-e[304]],L=v($,Q,ee,et,er,d[128],en),$=D,Q=L,ee=F,et=P,er=M,en=A[h[274]],D=v($,Q,ee,et,er,f[297],en),$=P,Q=D,ee=L,et=F,er=R,en=A[X-d[291]],P=v($,Q,ee,et,er,c[268],en),$=F,Q=P,ee=D,et=L,er=C,en=A[r[155]],F=v($,Q,ee,et,er,t[144],en),$=L,Q=F,ee=P,et=D,er=j,en=A[d[266]],L=v($,Q,ee,et,er,r[311],en),$=P,Q=D,ee=L,et=F,er=P,en=N,ea=A[q-l[297]],D=Q=v(Q,ee,et,er,en,parseInt(h[275],d[60]),ea),ee=L,et=F,er=y,en=A[h[132]],P=m($,Q,ee,et,er,r[139],en),$=F,Q=P,ee=D,et=L,er=k,en=A[parseInt(d[292],r[112])],F=m($,Q,ee,et,er,r[312],en),$=L,Q=F,ee=P,et=D,er=M,en=A[l[298]],L=m($,Q,ee,et,er,f[298],en),$=D,Q=L,ee=F,et=P,er=p,en=A[f[145]],D=m($,Q,ee,et,er,d[135],en),$=P,Q=D,ee=L,et=F,er=E,en=A[f[299]],P=m($,Q,ee,et,er,d[99],en),$=F,Q=P,ee=D,et=L,er=T,en=A[t[154]],F=m($,Q,ee,et,er,e[305],en),$=L,Q=F,ee=P,et=D,er=N,en=A[J-parseInt(t[280],h[132])],L=m($,Q,ee,et,er,parseInt(c[136],f[100]),en),$=D,Q=L,ee=F,et=P,er=S,en=A[parseInt(f[300],f[76])],D=m($,Q,ee,et,er,t[281],en),$=P,Q=D,ee=L,et=F,er=O,en=A[Y-d[293]],P=m($,Q,ee,et,er,t[173],en),$=F,Q=P,ee=D,et=L,er=j,en=A[G-e[306]],F=m($,Q,ee,et,er,parseInt(r[61],d[87]),en),$=L,Q=F,ee=P,et=D,er=w,en=A[parseInt(t[282],h[132])],L=m($,Q,ee,et,er,r[138],en),$=D,Q=L,ee=F,et=P,er=x,en=A[W-r[313]],D=m($,Q,ee,et,er,e[307],en),$=P,Q=D,ee=L,et=F,er=C,en=A[V-parseInt(h[276],t[54])],P=m($,Q,ee,et,er,d[99],en),$=F,Q=P,ee=D,et=L,er=_,en=A[e[308]],F=m($,Q,ee,et,er,parseInt(c[269],l[20]),en),$=L,Q=F,ee=P,et=D,er=I,en=A[e[309]],L=m($,Q,ee,et,er,parseInt(f[301],f[121]),en),$=P,Q=D,ee=L,et=F,er=P,en=R,ea=A[parseInt(c[270],f[34])],D=Q=m(Q,ee,et,er,en,f[299],ea),ee=L,et=F,er=E,en=A[f[302]],P=g($,Q,ee,et,er,c[124],en),$=F,Q=P,ee=D,et=L,er=x,en=A[J-parseInt(f[303],h[29])],F=g($,Q,ee,et,er,h[274],en),$=L,Q=F,ee=P,et=D,er=M,en=A[V-f[304]];var U=d[294];L=g($,Q,ee,et,er,parseInt(U=U[c[26]](c[2])[c[6]]()[d[10]](e[1]),r[130]),en),$=D,Q=L,ee=F,et=P,er=j,en=A[V-parseInt(e[310],h[13])],D=g($,Q,ee,et,er,t[283],en),$=P,Q=D,ee=L,et=F,er=y,en=A[l[299]],P=g($,Q,ee,et,er,l[128],en),$=F,Q=P,ee=D,et=L,er=S,en=A[r[314]],F=g($,Q,ee,et,er,f[305],en),$=L,Q=F,ee=P,et=D,er=I,en=A[f[306]],L=g($,Q,ee,et,er,t[37],en),$=D,Q=L,ee=F,et=P,er=T,en=A[J-d[295]],D=g($,Q,ee,et,er,t[283],en),$=P,Q=D,ee=L,et=F,er=C,en=A[parseInt(h[277],d[83])],P=g($,Q,ee,et,er,parseInt(e[276],t[54]),en),$=F,Q=P,ee=D,et=L,er=p,en=A[parseInt(l[300],t[140])],F=g($,Q,ee,et,er,e[311],en),$=L,Q=F,ee=P,et=D,er=w,en=A[K-h[278]],L=g($,Q,ee,et,er,parseInt(t[284],c[13]),en),$=D,Q=L,ee=F,et=P,er=k,en=A[h[279]],D=g($,Q,ee,et,er,r[315],en),$=P,Q=D,ee=L,et=F,er=O,en=A[parseInt(h[280],f[100])],P=g($,Q,ee,et,er,t[139],en),$=F,Q=P,ee=D,et=L,er=R,en=A[e[312]],F=g($,Q,ee,et,er,e[311],en),$=L,Q=F,ee=P,et=D,er=N,en=A[Y-d[296]],L=g($,Q,ee,et,er,parseInt(e[313],l[139]),en),$=P,Q=D,ee=L,et=F,er=P,en=_,ea=A[h[281]],D=Q=g(Q,ee,et,er,en,h[282],ea),ee=L,et=F,er=p,en=A[e[314]],P=b($,Q,ee,et,er,c[123],en),$=F,Q=P,ee=D,et=L,er=I,en=A[Z-parseInt(r[316],r[130])],F=b($,Q,ee,et,er,e[3],en),$=L,Q=F,ee=P,et=D,er=j,en=A[W-d[297]],L=b($,Q,ee,et,er,t[285],en),$=D,Q=L,ee=F,et=P,er=E,en=A[d[298]],D=b($,Q,ee,et,er,c[145],en),$=P,Q=D,ee=L,et=F,er=R,en=A[r[317]],P=b($,Q,ee,et,er,parseInt(f[278],f[34]),en),$=F,Q=P,ee=D,et=L,er=w,en=A[W-h[283]],F=b($,Q,ee,et,er,f[100],en),$=L,Q=F,ee=P,et=D,er=T,en=A[Z-parseInt(f[307],l[25])],L=b($,Q,ee,et,er,h[247],en),$=D,Q=L,ee=F,et=P,er=y,en=A[X-d[299]],D=b($,Q,ee,et,er,d[300],en),$=P,Q=D,ee=L,et=F,er=x,en=A[q-parseInt(r[318],e[3])],P=b($,Q,ee,et,er,t[146],en),$=F,Q=P,ee=D,et=L,er=N,en=A[parseInt(c[271],c[13])],F=b($,Q,ee,et,er,e[3],en),$=L,Q=F,ee=P,et=D,er=k,en=A[h[284]],L=b($,Q,ee,et,er,r[156],en),$=D,Q=L,ee=F,et=P,er=C,en=A[c[272]],D=b($,Q,ee,et,er,parseInt(h[285],t[128]),en),$=P,Q=D,ee=L,et=F,er=S,en=A[G-l[301]],P=b($,Q,ee,et,er,d[132],en),$=F,Q=P,ee=D,et=L,er=M,en=A[parseInt(e[315],f[76])],F=b($,Q,ee,et,er,c[129],en),$=L,Q=F,ee=P,et=D,er=_,en=A[Y-parseInt(c[273],d[72])],L=b($,Q,ee,et,er,l[302],en),$=D,Q=L,ee=F,et=P,er=O,en=A[r[319]],D=b($,Q,ee,et,er,t[154],en),$=u,Q=u[c[5]]+(ee=P),$[t[0]]=Q|e[0],$=u,Q=u[c[3]]+(ee=D),$[d[8]]=~(~Q&~l[6]),$=u,Q=u[h[29]]+(ee=L),$[t[54]]=Q|t[0],$=u,Q=u[d[136]]+(ee=F),$[d[136]]=Q|d[1],i=void 0;break;case 1:var z=a+ei,H=n[z];$=n,Q=z,ee=~(~(ee=H<<c[13])&~(et=H>>>s-e[301])),ee=~(~(f[293]&ee)&~(f[293]&ee)),et=H<<s-t[279]|(er=H>>>f[121]),et=~(~(parseInt(d[290],d[60])&et)&~(parseInt(f[294],h[132])&et)),$[Q]=~(~ee&~et),i=4;break;case 2:var G=h[36],q=r[306],W=parseInt(h[268],r[146]),K=r[307],V=e[298],Y=f[292],J=l[294],Z=t[278],X=parseInt(e[299],f[76]),$=t[0],Q=c[5],ee=c[5],et=c[5],er=h[1],en=c[5],ea=c[5],ei=t[0],eo=r[0];i=4}continue}}}function u(){for(var a=4;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:a=t[64]?9:1;break;case 1:var o=parseInt(c[274],h[46]),s=r[320],u=e[0],p=f[7],v=r[0],m=c[5],g=(d[1],t[286]),b=this[g+=e[316]],y=f[109],_=b[y=(y+=f[308])[t[8]](r[3])[c[6]]()[h[4]](r[3])];u=this[t[287]];var w=t[140]*u;u=b[d[246]];var S=h[13]*u;v=(u=_)[p=S>>>r[139]],m=S%(s-parseInt(e[317],t[54])),m=o-e[318]-m,m=s-parseInt(f[309],d[87])<<m,u[p]=~(~v&~m),u=w/parseInt(e[319],r[130]);var E=n[r[32]](u);u=_,p=S+r[303]>>>f[150]<<d[121],p=d[302]+p,v=~(~(v=E<<parseInt(d[303],e[12]))&~(m=E>>>o-c[275])),v=f[293]&v,m=~(~(m=E<<c[276])&~(E>>>r[130])),m=~(~(c[277]&m)&~(r[321]&m)),u[p]=~(~v&~m),u=_,p=S+(o-c[278])>>>h[286]<<l[128],p=r[138]+p,v=w<<h[13]|(m=w>>>s-r[179]),v=parseInt(e[320],t[54])&v,m=~(~(m=w<<t[288])&~(w>>>parseInt(h[287],f[34]))),m=parseInt(r[322],t[128])&m,u[p]=v|m,u=b,p=_[c[12]]+r[7],u[h[254]]=d[121]*p,this[l[303]]();var k=this[c[279]],I=k[t[246]],x=r[0],O=h[1];a=0;break;case 2:x+=c[3],a=6}continue;case 1:switch(i){case 0:return k;case 1:var T=I[x];u=I,p=x,v=T<<d[87]|(m=T>>>A-parseInt(f[310],h[13])),v=e[321]&v,m=T<<parseInt(t[289],t[128])|T>>>d[87],m=~(~(r[321]&m)&~(parseInt(c[280],r[130])&m)),u[p]=~(~v&~m),a=0;break;case 2:var A=r[323];a=O?8:6}continue;case 2:switch(i){case 0:a=1;break;case 1:O=r[7],a=(u=x<l[128])?5:2}continue}}}function p(){var e=O[d[248]],t=l[6],n=e.call(this);e=n,t=this[h[252]];var a=r[324];return e[a=(a+=l[304])[f[3]](c[2])[f[30]]()[d[10]](d[19])]=t[l[251]](),e=n}function v(e,t,n,a,i,o,s){var u=parseInt(l[305],d[72]),h=e,p=r[0],v=c[5],m=f[7],g=(h+=(p=t&n|(v=~(~((v=~t)&(m=a))&~(v&m))))+(p=i))+(p=s);return p=g,h=~(~(h=g<<o)&~(p>>>=v=u-d[302]-o))+(p=t)}function m(t,r,n,a,i,o,s){var u=c[207],f=t,d=(c[5],e[0]),p=l[6],v=(f+=(~(~(r&a)&~(r&a))|(d=~(~((d=n)&(p=~a))&~(d&p))))+i)+s;return(v<<o|v>>>(d=u-h[288]-o))+r}function g(n,a,i,o,s,c,u){var l=t[290],f=n,h=r[0],p=(d[1],(f+=(h=a^i^o)+(h=s))+(h=u));return h=p,f=~(~(f=p<<c)&~(h>>>=e[280]+l-c))+(h=a)}function b(e,t,n,a,i,o,s){var c=parseInt(d[305],d[83]),u=e;d[1],r[0],h[1];var l=(u+=(n^(t|~a))+i)+s;return(l<<o|l>>>c-h[289]-o)+t}for(var y=0;void 0!==y;){var _=3&y>>2;switch(3&y){case 0:switch(_){case 0:var w=h[1],S=d[1],E=i,k=E[h[243]],I=t[275];I+=t[215]+t[276]+c[263];var x=k[I=(I+=r[84])[f[3]](l[4])[c[6]]()[l[22]](d[19])],O=k[c[264]],T=E[r[276]],A=[];w=(w=a)(),w=T;var M={};M[f[291]]=o,M[r[305]]=s,M[d[301]]=u,M[f[311]]=p,S=M,S=O[f[312]](S),w[d[304]]=S;var R=S;w=E;var C=c[281],j=c[2],N=e[0],P=l[6];y=5;break;case 1:N=h[290],y=8;break;case 2:var D=C[f[20]](P),L=~(~(D&~N)&~(~D&N));N=D,j+=h[38][f[21]](L),y=1}continue;case 1:switch(_){case 0:P++,y=5;break;case 1:y=P<C[f[10]]?2:9;break;case 2:w[f[313]]=O[j](R),(w=E)[d[306]]=O[f[314]](R),y=void 0}continue;case 2:0===_&&(y=P?8:4);continue}}}(Math),o[h[208]]=i[t[291]]}async function j(n,a){function i(t){for(var r=e[325],n=h[7],a=f[7];a<r[e[2]];a++){var i=r[h[14]](a)-parseInt(d[310],h[46]);n+=l[29][c[35]](i)}return c[11][n](t)}for(var o=8;void 0!==o;){var s=3&o>>2;switch(3&o){case 0:switch(s){case 0:throw new t[292](t[293]);case 1:x=u[t[295]],o=10;break;case 2:var u,p=h[1],v=h[1],m=t[0],g=h[1],b=r[0],y=!n;o=y?2:13;break;case 3:E=(p=eo(a,n))[l[52]](es),o=14}continue;case 1:switch(s){case 0:u=p=globalThis[t[233]],I=r[29]!==p,o=6;break;case 1:var _=new TextEncoder,w=_[d[307]](n),S=_[t[294]](a),E=r[3],k=e[17]!==globalThis;k&&(k=(p=void c[5])!==(v=globalThis));var I=k;o=I?1:6;break;case 2:var x=M;o=x?4:10;break;case 3:y=!a,o=2}continue;case 2:switch(s){case 0:o=(p=y)?0:5;break;case 1:var O=I;O&&(O=(p=void c[5])!==(v=u));var T=O;if(T){var A=c[283];u=p=u[A=A[h[8]](d[19])[r[6]]()[f[5]](r[3])],T=f[119]!==p}var M=T;o=M?3:9;break;case 2:o=(p=x)?7:12;break;case 3:return E}continue;case 3:switch(s){case 0:M=(p=void c[5])!==(v=u),o=9;break;case 1:p=(p=globalThis[l[306]])[t[296]],v=w;for(var R={},C=t[297],j=t[10],N=h[1];N<C[d[13]];N++){var P=f[315],D=C[e[16]](N)-(parseInt(f[316],h[13])+P);j+=d[51][e[29]](D)}R[c[284]]=j;var L={};L[t[298]]=e[322],R[r[325]]=L,m=R,g=!h[15],b=[t[299]];var F=r[169];F+=d[308];var B=await p[h[291]](F,v,m,g,b);p=(p=globalThis[d[309]])[t[296]];var U=await p[e[323]](e[324],B,S),z=new Uint8Array(U);p=e[19][f[317]](z),v=i;for(var H=l[307],G=l[4],q=l[6];q<H[t[15]];q++){var W=H[h[14]](q)-parseInt(h[292],e[28]);G+=d[51][c[35]](W)}p=p[G](v);for(var K=h[293],V=r[3],Y=d[1];Y<K[h[9]];Y++){var J=K[d[18]](Y)-r[326];V+=c[11][d[39]](J)}E=btoa(p[V](f[2])),o=14}continue}}}function N(t,n){for(var a=1;void 0!==a;){var i=1&a>>1;switch(1&a){case 0:switch(i){case 0:return l?void e[0]:o[d[243]]();case 1:l=(s=void c[5])===(u=o),a=0}continue;case 1:if(0===i){var o,s=f[7],u=f[7];s=t+r[327],u=JSON[r[328]](n),o=s=ec(s+=u);var l=h[16]===s;a=l?0:2}continue}}}function P(n,a){var i,o,s,u,p,v,m,g,b=e[0],y=f[7],_=t[0];b=n,g=y=ei,i=y,s=(o=y[e[246]])[h[294]];var w=r[329];w+=c[285],u=o[w=(w+=e[326])[h[8]](l[4])[d[5]]()[l[22]](c[2])],p=i[l[284]],v=[],y=p;var S={},E=c[286];S[E+=f[318]+h[161]+f[319]]=function(){var e=t[0],n=[];n[h[64]](parseInt(c[287],f[76]),parseInt(d[312],c[13]),parseInt(d[313],r[146]),r[330],parseInt(f[320],h[132])),e=n,this[f[321]]=new s[l[273]](e)},S[f[322]]=function(n,a){for(var i=1;void 0!==i;){var o=7&i>>3;switch(7&i){case 0:switch(o){case 0:i=(_=R<c[84])?9:10;break;case 1:var s=R<parseInt(f[326],r[146]);if(s){var u=parseInt(t[302],d[87]);s=(w=~(~(O&T)&~(O&T))|(S=~(~(O&A)&~(O&A)))|(S=T&A))-(r[332]+u)}else s=(w=~(~((w=O^T)&~(S=A))&~(~w&S)))-l[309];j=s,i=34;break;case 2:w=~(~(O&~T)&~(~O&T))^(S=A),j=d[315]+w,i=34;break;case 3:var p=parseInt(e[328],h[46]);w=O&T|(S=~(~((S=~O)&(E=A))&~(S&E))),L=f[325]+p+w,i=2;break;case 4:w=I[l[25]]+(S=T),_[e[64]]=~(~w&~e[0]),_=I,w=I[e[279]]+(S=A),_[parseInt(c[269],r[62])]=~(~w&~c[5]),_=I,w=I[t[139]],i=11}continue;case 1:switch(o){case 0:for(var m=t[300],g=c[2],b=e[0];b<m[r[24]];b++){var y=m[t[26]](b)-l[308];g+=f[4][f[21]](y)}var _=this[g],w=e[0],S=d[1],E=h[1],k=c[40];k+=c[263];var I=_[k=(k+=d[314])[c[26]](r[3])[e[18]]()[e[46]](h[7])],x=I[t[0]],O=I[e[36]],T=I[l[25]],A=I[t[112]],M=I[c[124]],R=h[1],C=l[6];i=17;break;case 1:_=v,w=R,S=n[S=a+R],_[w]=e[0]|S,i=18;break;case 2:i=r[7]?3:25;break;case 3:_=I,w=I[r[0]]+(S=x),_[f[7]]=w|d[1],_=I,w=I[r[7]]+(S=O),_[d[8]]=w|f[7],_=I,i=32;break;case 4:var j=R<d[152];i=j?16:8}continue;case 2:switch(o){case 0:D=_+(w=L),M=A,A=T,T=(_=O<<d[316])|(w=O>>>t[54]),O=x,x=D,i=17;break;case 1:var N=f[324],P=~(~((_=v[_=R-t[112]]^(w=v[w=R-f[121]])^(w=v[w=R-(N-e[308])]))&~(w=v[w=R-(N-r[331])]))&~(~_&w));_=v,w=R,S=P<<e[36],E=P>>>N-parseInt(c[241],d[83]),_[w]=~(~S&~E),i=18;break;case 2:var D=(_=~(~(_=x<<c[246])&~(w=x>>>F-e[327]))+(w=M))+(w=v[R]);_=D;var L=R<l[134];i=L?24:33;break;case 3:i=25;break;case 4:L=j,i=2}continue;case 3:switch(o){case 0:var F=f[323];C&&(R+=h[15]),C=f[23],i=(_=R<t[301])?0:26;break;case 1:w+=S=M,_[c[124]]=~(~w&~l[6]),i=void 0}continue}}},S[f[327]]=function(){var n=d[317],a=d[1],i=e[329],o=h[1],s=c[5],u=r[0],p=t[0],v=this[e[330]],m=v[f[259]];o=this[t[287]];var g=f[121]*o;o=v[e[253]];var b=f[121]*o;u=(o=m)[s=b>>>d[99]],p=b%(c[116]+a),p=parseInt(c[137],c[129])-p,p=i-l[310]<<p,o[s]=~(~u&~p),o=m,s=b+(i-c[288])>>>i-h[295]<<r[135],s=f[298]+s,u=g/h[296],o[s]=Math[t[303]](u),o=m,s=b+(parseInt(h[297],h[46])+a)>>>n-parseInt(e[331],r[112])<<e[135],o[s=d[302]+a+s]=g,o=v,s=m[h[9]];var y=l[311];o[y+=r[333]+h[298]]=h[126]*s;var _=e[332];return this[_+=c[289]+l[312]](),o=this[c[279]]},S[t[245]]=function(){var t=u[e[333]],r=e[0],n=t.call(this);return t=n,r=this[e[334]],t[f[321]]=r[d[248]](),t=n},_=S,_=u[d[274]](_),y[r[334]]=_,m=_,(y=i)[l[313]]=u[c[290]](m),(y=i)[f[328]]=u[r[289]](m);var k=r[38];b[k+=h[299]+d[318]]=g[c[291]]}function D(n,a){var i,o,s,u,p,v,m,g,b=f[7],y=r[0],_=c[5];b=n,g=y=ei,i=y;var w=t[304];o=y[w+=f[329]];var S=c[292];s=o[S=S[c[26]](r[3])[c[6]]()[c[7]](t[10])],u=o[d[282]];var E=r[335];E+=t[164],v=(p=i[E+=f[330]])[e[335]],y=p;var k={},I={};I[d[319]]=l[128],I[r[336]]=v;var x=d[320];x+=c[293]+h[300],I[x=(x+=r[337])[f[3]](f[2])[l[69]]()[d[10]](r[3])]=f[23],_=I,k[f[269]]=s[l[314]](_),k[t[240]]=function(e){var t=this[l[315]];this[r[338]]=t[c[218]](e)},k[l[316]]=function(n,a){for(var i=6;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:p=m[E](p),m[k](),i=10;break;case 1:return g[e[253]]=r[135]*y,g;case 2:i=b[w]<y?13:12;break;case 3:i=4}continue;case 1:switch(o){case 0:f&&(s+=t[64]),f=t[64],i=s<_?0:5;break;case 1:i=2;break;case 2:i=r[7]?8:4;break;case 3:p&&m[S](p),p=m[S](n)[E](a),m[k]();var s=t[64],f=e[0];i=10}continue;case 2:switch(o){case 0:g[A](p),i=9;break;case 1:c[5],c[5];for(var p,v=this[c[235]],m=(0,v[t[305]])[t[306]](),g=u[d[321]](),b=g[c[243]],y=v[r[339]],_=v[r[340]],w=t[15],S=l[317],E=r[341],k=h[301],I=l[318],x=l[4],O=e[0];O<I[h[9]];O++){var T=I[d[18]](O)-d[322];x+=e[10][d[39]](T)}var A=x;i=9;break;case 2:i=l[11]?1:2}continue}}},_=k,_=s[l[314]](_),y[f[331]]=_,m=_,y=i;var O=r[342];O+=h[302],y[O=(O+=t[307])[t[8]](h[7])[d[5]]()[r[21]](e[1])]=function(n,a,i){for(var o=1;void 0!==o;){var s=3&o>>2;switch(3&o){case 0:switch(s){case 0:E++,o=10;break;case 1:o=y<v[t[15]]?6:2;break;case 2:var u=h[304],p=w[d[18]](E)-(h[305]+u);S+=t[33][e[29]](p),o=0}continue;case 1:switch(s){case 0:var v=r[343],g=l[4],b=e[0],y=f[7];o=4;break;case 1:return _[S](n,a);case 2:y++,o=4}continue;case 2:switch(s){case 0:var _=m[g](i),w=e[336],S=r[3],E=h[1];o=10;break;case 1:if(!y){var k=parseInt(l[319],c[129]);b=h[303]+k}var I=v[e[16]](y),x=I^b;b=I,g+=c[11][c[35]](x),o=9;break;case 2:o=E<w[e[2]]?8:5}continue}}};var T=e[337];b[T+=l[42]+r[344]+r[259]]=g[e[338]]}function L(n,a){function i(n){function a(t,n){var a=this[h[308]],i=h[1],o=e[0];return i=t,o=n,a=this[r[346]](a,i,o)}function i(n,a){for(var i=5;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:return this[v](c,u,l);case 1:var s=p[d[18]](m)-parseInt(r[347],t[54]);v+=r[12][t[17]](s),i=8;break;case 2:m++,i=1}continue;case 1:switch(o){case 0:i=m<p[f[10]]?4:0;break;case 1:var c=this[h[310]],u=f[7],l=e[0];u=n,l=a;var p=t[311],v=t[10],m=t[0];i=1}continue}}}function o(e,r,n){var a=this[c[235]];this[d[258]]=a[f[312]](n),this[l[320]]=e,this[t[312]]=r,this[l[290]]()}function s(){V[t[270]].call(this),this[t[313]]()}function p(e){return c[5],this[d[327]](e),this[c[296]]()}function v(e){for(var t=1;void 0!==t;){var n=1&t>>1;switch(1&t){case 0:switch(n){case 0:return this[h[238]]();case 1:a=this[r[349]](e),t=0}continue;case 1:if(0===n){f[7];var a=e;t=a?2:0}continue}}}function m(){function e(e){for(var t=3;void 0!==t;){var r=1&t>>1;switch(1&t){case 0:switch(r){case 0:return a;case 1:a=eM,t=0}continue;case 1:switch(r){case 0:a=eJ,t=0;break;case 1:var n=typeof e,a=l[188]==n;t=a?1:2}continue}}}return c[5],function(t){r[0];var n={};return n[c[298]]=function(r,n,a){return e(n)[f[334]](t,r,n,a)},n[d[328]]=function(r,n,a){return e(n)[c[299]](t,r,n,a)},n}}function g(){var e=!t[0];return this[c[296]](e)}function b(e,t){return this[f[336]][l[247]](e,t)}function y(r,n){var a=c[302];return this[a=a[l[3]](t[10])[d[5]]()[c[7]](e[1])][l[247]](r,n)}function _(e,t){this[r[354]]=e,this[f[337]]=t}function w(){function a(a,i,o){for(var s=3;void 0!==s;){var u=3&s>>2;switch(3&s){case 0:switch(u){case 0:s=void 0;break;case 1:s=N<R[c[12]]?5:1;break;case 2:var p=f[7],v=d[1];s=9;break;case 3:s=v?7:10}continue;case 1:switch(u){case 0:var m=this[C],g=m;s=g?6:11;break;case 1:if(!N){var b=h[314];j=parseInt(l[326],e[12])+b}var y=R[l[7]](N),_=y^j;j=y,C+=l[29][c[35]](_),s=2;break;case 2:s=f[23]?12:0;break;case 3:A=(O=a)[T=i+p],M=x[p],O[T]=A^M,s=9}continue;case 2:switch(u){case 0:N++,s=4;break;case 1:x=m,O=n;for(var w=c[304],S=d[19],E=t[0];E<w[e[2]];E++){var k=t[319],I=w[e[16]](E)-(parseInt(r[355],t[140])+k);S+=l[29][l[8]](I)}this[S]=O,g=O,s=8;break;case 2:v=e[36],s=(O=p<o)?13:14;break;case 3:s=0}continue;case 3:switch(u){case 0:var x,O=f[7],T=e[0],A=l[6],M=c[5],R=t[318],C=e[1],j=c[5],N=f[7];s=4;break;case 1:p+=c[3],s=10;break;case 2:x=O=this[r[356]],g=O,s=8}continue}}}var i=d[1],o=h[1],s=et[t[255]]();i=s;var u={};u[h[315]]=function(e,r){var n=d[1],i=t[0],o=this[h[316]],s=o[d[255]];a.call(this,e,r,s),o[f[338]](e,r),n=r,i=r+s,this[f[339]]=e[t[320]](n,i)},o=u,i[h[317]]=s[f[312]](o),i=s;var p={};p[t[321]]=function(n,i){for(var o=r[0],s=h[1],u=r[357],p=l[4],v=d[1];v<u[f[10]];v++){var m=~(~(u[l[7]](v)&~parseInt(d[330],c[129]))&~(~(u[t[26]](v)&u[t[26]](v))&parseInt(t[322],t[140])));p+=h[38][f[21]](m)}var g=this[p],b=g[l[327]];o=i,s=i+b;var y=e[344],_=n[y=(y+=c[305])[r[19]](r[3])[c[6]]()[d[10]](t[10])](o,s);g[t[323]](n,i),a.call(this,n,i,b),this[d[331]]=_},o=p;var v=c[108];return v+=r[358]+l[328]+h[32],i[t[324]]=s[v](o),i=s}function S(n,a){for(var i=4;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:i=8;break;case 1:var s=parseInt(l[329],f[100]),u=d[1],p=(l[6],l[6],r[135]*a),v=p-n[h[254]]%p,m=~(~(v<<parseInt(t[325],d[60]))&~(v<<s-l[330]))|v<<l[20]|v,g=[],b=t[0],y=l[6],_=t[76],w=_+=d[234]+d[17]+d[333];i=1;break;case 2:var S=c[307],E=K[S=S[e[81]](h[7])[e[18]]()[f[5]](e[1])](g,v);n[l[37]](E),i=void 0}continue;case 1:switch(o){case 0:i=r[7]?5:8;break;case 1:y&&(b+=t[139]),y=f[23],i=b<v?9:0;break;case 2:g[w](m),i=1}continue}}}function E(n){var a=n[c[243]],i=e[0],o=t[0];a=a[i=n[f[340]]-e[36]>>>c[23]];var s=parseInt(l[254],t[140])&a;i=(a=n)[r[253]],o=s,a[d[246]]=i-o}function k(){for(var n=9;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:n=void 0;break;case 1:v=y;var i=b;i&&(i=b[d[244]]),m=i,this[h[323]]=p.call(v,this,m),v=this[e[350]],m=p;var o=e[183];o+=r[243]+h[325],v[o=(o+=t[329])[c[26]](l[4])[e[18]]()[c[7]](h[7])]=m,k=m,n=0;break;case 2:m=s,k=v[d[329]](this,m),n=0}continue;case 1:switch(a){case 0:v=this[h[323]];var s=b;n=s?5:8;break;case 1:var u=h[324];s=b[u+=r[252]],n=8;break;case 2:var p,v=c[5],m=d[1];(v=ts[f[270]]).call(this);var g=this[f[269]],b=g[t[327]],y=g[h[320]],_=(v=this[e[348]])==(m=this[t[328]]);if(_)p=v=y[l[331]],_=v;else{var w=t[215];w+=e[349]+d[335],p=y[w=(w+=r[360])[e[81]](d[19])[d[5]]()[d[10]](f[2])],v=t[64],this[h[321]]=v,_=v}var S=this[l[332]];if(S){v=this[f[344]];var E=h[322];E+=f[222],S=(v=v[E=(E+=l[333])[d[12]](t[10])[d[5]]()[r[21]](r[3])])==(m=p)}var k=S;n=k?1:4}continue}}}function I(e,t){this[f[344]][r[361]](e,t)}function x(){var n,a=h[1],i=t[0],o=(a=this[d[258]])[e[352]];a=this[l[320]];var s=l[321],c=a==(i=this[s=s[t[8]](e[1])[h[25]]()[d[10]](e[1])]);if(c)a=this[t[331]],i=this[l[327]],o[t[332]](a,i),a=!r[0],n=a=this[d[336]](a),c=a;else{a=!l[6],n=this[d[336]](a);var u=t[333];u+=t[14],c=o[u+=e[353]](n)}return n}function O(t){this[e[354]](t)}function T(e){for(var r=0;void 0!==r;){var n=1&r>>1;switch(1&r){case 0:switch(n){case 0:h[1];var a=e;r=a?1:2;break;case 1:a=this[t[334]],r=1}continue;case 1:if(0===n)return a[d[249]](this);continue}}}function A(e){for(var t=2;void 0!==t;){var r=1&t>>1;switch(1&t){case 0:switch(r){case 0:return(n=o)[d[243]](eX);case 1:var n=l[6],a=e[d[337]],i=e[c[311]],o=i;t=o?1:3}continue;case 1:switch(r){case 0:var s=[];s[l[24]](parseInt(d[338],l[25]),c[312]),n=s,o=(n=(n=K[f[285]](n))[l[37]](i))[c[313]](a),t=0;break;case 1:o=a,t=0}continue}}}function M(n){for(var a=0;void 0!==a;){var i=1&a>>1;switch(1&a){case 0:switch(i){case 0:for(var o,s=e[355],u=l[6],p=e[0],v=h[327],m=r[3],g=h[1];g<v[d[13]];g++){var b=t[138],y=v[f[20]](g)-(l[338]+b);m+=c[11][f[21]](y)}var _=eX[m](n),w=_[c[243]];u=w[f[7]];var S=parseInt(d[339],r[146])+s==u;a=S?2:1;break;case 1:var E=r[362];u=w[r[7]],S=h[328]+E==u,a=1}continue;case 1:if(0===i){var k=S;if(k){var I=parseInt(r[363],f[121]),x=e[356];u=w[x=x[r[19]](l[4])[e[18]]()[h[4]](c[2])](l[25],d[121]);var O=f[346];o=K[O=O[e[81]](l[4])[e[18]]()[e[46]](c[2])](u),w[c[315]](c[5],h[126]),u=_,p=_[l[339]]-(I-h[329]),u[e[253]]=p,k=p}var T={};return T[r[364]]=_,T[l[340]]=o,u=T,u=ew[h[218]](u)}continue}}}function R(n,a,i,o){for(var s=5;void 0!==s;){var u=3&s>>2;switch(3&s){case 0:switch(u){case 0:s=O<I[r[24]]?10:4;break;case 1:var d=r[366];return d+=h[330]+l[334]+r[367],w[x]=n[d],w[r[368]]=o[h[331]],m=w,m=ew[e[361]](m);case 2:s=k<S[f[10]]?1:9}continue;case 1:switch(u){case 0:var p=l[343],v=S[t[26]](k)-(l[344]+p);E+=f[4][e[29]](v),s=2;break;case 1:var m=this[f[269]];o=m[l[314]](o);var g=r[169];g+=t[337]+f[347]+r[365];var b=n[g=(g+=f[346])[c[26]](l[4])[f[30]]()[e[46]](e[1])](i,o),y=b[t[338]](a),_=b[h[319]],w={};w[f[348]]=y,w[t[339]]=i,w[f[349]]=_[f[349]];var S=e[358],E=e[1],k=t[0];s=8;break;case 2:w[E]=n,w[e[359]]=_[f[342]],w[c[316]]=_[c[316]];var I=e[360],x=c[2],O=t[0];s=0}continue;case 2:switch(u){case 0:k++,s=8;break;case 1:O++,s=0;break;case 2:var T=~(~(I[l[7]](O)&~l[345])&~(~(I[e[16]](O)&I[c[20]](O))&c[317]));x+=l[29][r[15]](T),s=6}continue}}}function C(n,a,i,o){for(var s=5;void 0!==s;){var u=3&s>>2;switch(3&s){case 0:switch(u){case 0:I||(k=h[332]-t[54]);var p=S[e[16]](I),v=p^k;k=p,E+=h[38][c[35]](v),s=8;break;case 1:return m=n[E](i,o),g=a[l[346]],m=m[c[318]](g);case 2:I++,s=1}continue;case 1:switch(u){case 0:s=I<S[h[9]]?0:4;break;case 1:for(var m=this[l[315]],g=e[0],b=t[340],y=r[3],_=f[7];_<b[t[15]];_++){var w=b[h[14]](_)-r[369];y+=c[11][f[21]](w)}o=m[y](o),m=a,g=o[r[370]],a=this[e[363]](m,g);var S=d[341],E=f[2],k=l[6],I=r[0];s=1}continue}}}function j(t,n){for(var a=2;void 0!==a;){var i=1&a>>1;switch(1&a){case 0:switch(i){case 0:var o=r[240];o+=h[159]+e[364],c=n[o+=l[9]](t,this),a=1;break;case 1:var s=typeof t,c=h[195]==s;a=c?0:3}continue;case 1:switch(i){case 0:return c;case 1:c=t,a=1}continue}}}function N(n,a,i,o,s){for(var u=0;void 0!==u;){var p=3&u>>2;switch(3&u){case 0:switch(p){case 0:var v=d[1],m=e[0],g=o;if(!g){var b=c[320];b+=f[352]+e[365],o=v=K[b=(b+=e[183])[e[81]](l[4])[f[30]]()[r[21]](h[7])](c[13]),g=v}u=(v=s)?2:1;break;case 1:var y=I[c[20]](O)-l[348];x+=t[33][d[39]](y),u=5;break;case 2:u=O<I[t[15]]?4:6}continue;case 1:switch(p){case 0:var _={};_[h[333]]=a+i,v=_;var w=(v=e$[r[346]](v))[l[316]](n,o);u=9;break;case 1:O++,u=8;break;case 2:v=w[d[244]];var S=d[17];S+=r[372],v=v[S+=d[342]](a),m=c[124]*i;var E=K[h[218]](v,m);(v=w)[l[339]]=h[126]*a;var k={};k[f[354]]=w,k[e[367]]=E;var I=l[347],x=c[2],O=c[5];u=8}continue;case 2:switch(p){case 0:var T={};T[h[333]]=a+i,T[e[366]]=s,v=T,v=e$[c[321]](v);for(var A=c[322],M=d[19],R=h[1],C=l[6];C<A[l[44]];C++){C||(R=f[353]);var j=A[t[26]](C),N=~(~(j&~R)&~(~j&R));R=j,M+=f[4][f[21]](N)}w=v[M](n,o),u=9;break;case 1:k[x]=o,v=k;var P=r[373];return P+=l[349]+h[334],v=ew[P](v)}continue}}}function P(n,a,i,o){for(var s=5;void 0!==s;){var u=3&s>>2;switch(3&s){case 0:switch(u){case 0:var p=w[T](S,E,k,I,x);w=o;var v=d[23];v+=d[112],w[r[375]]=p[v],w=eM[e[370]],S=n,E=a;var m=d[278];k=p[m=(m+=h[337])[e[81]](e[1])[e[18]]()[c[7]](c[2])],I=o;var g=w.call(this,S,E,k,I);return g[h[215]](p),w=g;case 1:var b=parseInt(d[344],t[140]),y=O[c[20]](A)-(b-d[345]);T+=t[33][r[15]](y),s=1;break;case 2:s=A<O[e[2]]?4:0}continue;case 1:switch(u){case 0:A++,s=8;break;case 1:var _=l[350],w=this[_+=l[351]],S=d[1],E=l[6],k=e[0],I=h[1],x=d[1];o=w=w[d[274]](o),w=w[t[341]],S=i,E=n[d[319]],k=n[e[342]],I=o[f[355]],x=o[c[323]];var O=f[356],T=e[1],A=d[1];s=8}continue}}}function D(n,a,i,o){var s=this[r[338]],u=e[0],d=l[6],p=f[7],v=h[1],m=h[1];o=s[f[312]](o),s=a,u=o[f[358]];var g=c[324];a=this[g=g[e[81]](t[10])[t[46]]()[c[7]](f[2])](s,u),s=o[t[341]],u=i,d=n[c[325]],p=n[c[326]],v=a[c[311]],m=o[l[352]];var b=s[f[351]](u,d,p,v,m);return(s=o)[c[327]]=b[l[353]],s=eM[r[376]],u=n,d=a,p=b[c[328]],v=o,s=s.call(this,u,d,p,v)}for(var L=24;void 0!==L;){var F=7&L>>3;switch(7&L){case 0:switch(F){case 0:eF++,L=26;break;case 1:L=X<Y[d[13]]?9:19;break;case 2:L=e3<e1[l[44]]?2:35;break;case 3:var B=d[1],U=h[1],z=d[1],H=u,G=f[248],q=H[G+=t[308]],W=q[h[306]],K=q[e[340]],V=q[d[323]],Y=h[307],J=l[4],Z=f[7],X=t[0];L=8;break;case 4:X++,L=8}continue;case 1:switch(F){case 0:if(!eF){var $=d[343];eL=h[336]+$}var Q=eP[h[14]](eF),ee=~(~(Q&~eL)&~(~Q&eL));eL=Q,eD+=t[33][d[39]](ee),L=0;break;case 1:L=X?27:10;break;case 2:tl[td]=y,tl[d[329]]=_,U=tl,U=W[l[314]](U),B[c[303]]=U;var et=U;B=tu,U=(U=w)(),B[r[359]]=U;var er=U;B=H,U={};var en=c[306];B[en+=h[32]]=U,B=U;var ea={};ea[d[332]]=S;for(var ei=e[345],eo=r[3],es=c[5],ec=d[1];ec<ei[c[12]];ec++){ec||(es=c[308]);var eu=ei[l[7]](ec),el=~(~(eu&~es)&~(~eu&es));es=eu,eo+=d[51][t[17]](el)}ea[eo]=E,U=ea,B[d[334]]=U;var ef=U;B=q;for(var ed={},eh=f[341],ep=f[2],ev=l[6];ev<eh[h[9]];ev++){var em=~(~(eh[l[7]](ev)&~h[318])&~(~(eh[h[14]](ev)&eh[d[18]](ev))&t[326]));ep+=c[11][e[29]](em)}U=ts[ep];var eg={};eg[f[342]]=er,eg[f[343]]=ef,z=eg,ed[h[319]]=U[d[274]](z);var eb=d[79];ed[eb+=e[346]+e[347]]=k;var ey=l[334];ey+=f[345]+e[351]+t[330]+l[335],ed[ey=(ey+=l[336])[f[3]](f[2])[d[5]]()[r[21]](r[3])]=I,ed[l[325]]=x,ed[t[315]]=c[124],U=ed,B[h[326]]=ts[l[314]](U),B=q;var e_={};e_[d[329]]=O,e_[c[309]]=T,U=e_,U=W[f[312]](U),B[l[337]]=U;var ew=U;U={},(B=H)[t[335]]=U,B=U;var eS={};eS[c[310]]=A,eS[c[314]]=M,U=eS,B[t[336]]=U;var eE=U;B=q;for(var ek={},eI={},ex=l[341],eO=t[10],eT=r[0];eT<ex[c[12]];eT++){var eA=ex[l[7]](eT)-parseInt(l[342],f[34]);eO+=c[11][t[17]](eA)}eI[eO]=eE,U=eI,ek[e[357]]=W[e[257]](U),ek[d[340]]=R,ek[e[362]]=C,ek[f[350]]=j,U=ek,U=W[t[255]](U),B[c[319]]=U;var eM=U;U={},(B=H)[r[371]]=U,B=U;var eR={};eR[f[351]]=N,U=eR,B[r[374]]=U;var eC=U;B=q;var ej={};U=eM[f[269]];var eN={},eP=h[335],eD=t[10],eL=c[5],eF=e[0];L=26;break;case 3:tp++,L=4;break;case 4:e3++,L=16}continue;case 2:switch(F){case 0:var eB=~(~(e1[h[14]](e3)&~parseInt(e[341],d[60]))&~(~(e1[e[16]](e3)&e1[t[26]](e3))&parseInt(d[326],h[13])));e2+=d[51][r[15]](eB),L=33;break;case 1:var eU=parseInt(d[324],c[84]);Z=r[345]+eU,L=27;break;case 2:var ez=tf[l[7]](tp),eH=ez^th;th=ez,td+=l[29][r[15]](eH),L=25;break;case 3:L=eF<eP[f[10]]?1:34;break;case 4:eN[eD]=eC,z=eN;for(var eG=e[368],eq=c[2],eW=r[0],eK=f[7];eK<eG[h[9]];eK++){eK||(eW=e[369]);var eV=eG[f[20]](eK),eY=eV^eW;eW=eV,eq+=e[10][r[15]](eY)}ej[eq]=U[f[312]](z),ej[c[298]]=P,ej[f[357]]=D,U=ej,U=eM[r[377]](U),B[d[346]]=U;var eJ=U;L=void 0}continue;case 3:switch(F){case 0:L=tp?18:11;break;case 1:th=t[317],L=18;break;case 2:var eZ=H[J];eZ[d[325]];var eX=eZ[t[309]],e$=(B=H[c[294]])[e[338]];B=q;var eQ={},e0=f[247];e0+=t[310]+f[36]+f[26],eQ[c[235]]=W[e0]();var e1=f[332],e2=e[1],e3=l[6];L=16;break;case 3:var e4=Y[c[20]](X),e6=e4^Z;Z=e4,J+=r[12][c[35]](e6),L=32;break;case 4:eQ[e2]=a,eQ[h[309]]=i;var e8=d[23];eQ[e8+=t[241]]=o,eQ[h[301]]=s,eQ[c[295]]=p;var e5=t[253];eQ[e5+=r[348]+c[297]]=v;var e7=r[350];eQ[e7+=f[333]+c[108]]=c[124],eQ[e[342]]=c[124];var e9=l[321];eQ[e9=e9[r[19]](d[19])[t[46]]()[e[46]](f[2])]=t[64];var te=h[311];te+=r[351]+r[352]+l[322]+r[353],eQ[te=(te+=f[108])[e[81]](f[2])[c[6]]()[c[7]](r[3])]=t[54],U=m;for(var tt=c[300],tr=l[4],tn=f[7];tn<tt[e[2]];tn++){var ta=~(~(tt[c[20]](tn)&~c[301])&~(~(tt[r[11]](tn)&tt[r[11]](tn))&l[323]));tr+=r[12][h[10]](ta)}eQ[tr]=U(),U=eQ;var ti=l[324];U=V[ti=ti[l[3]](t[10])[h[25]]()[d[10]](t[10])](U);var to=e[343];B[to+=t[314]+e[183]]=U;var ts=U;B=q;var tc={};tc[l[325]]=g,tc[t[315]]=e[36],U=tc,B[f[335]]=ts[e[257]](U),U={},(B=H)[t[316]]=U;var tu=U;B=q;var tl={};tl[h[312]]=b;var tf=h[313],td=f[2],th=e[0],tp=l[6];L=4}continue;case 4:0===F&&(L=tp<tf[d[13]]?3:17);continue}}}for(var o=0;void 0!==o;){var s=1&o>>1;switch(1&o){case 0:switch(s){case 0:var u,p=d[1],v=t[0];p=n,u=v=ei;var m=(v=v[r[290]])[e[339]];o=m?2:1;break;case 1:v=m,p[f[289]]=void 0,o=void 0}continue;case 1:0===s&&(m=(v=i)(),o=2);continue}}}function F(n,a){var i,o=r[0];e[0],o=n,i=ei,function(){function n(){for(var n=33;void 0!==n;){var a=7&n>>3;switch(7&n){case 0:switch(a){case 0:O&&(x+=r[7]),O=c[3],n=(w=x<l[354])?35:17;break;case 1:n=e[36]?10:34;break;case 2:var i=(w=~(~((w=g^(S=g<<e[36])^(S=g<<r[62]))&~(S=g<<f[135]))&~(~w&S)))^(S=g<<f[241]);i=(w=~(~((w=i>>>r[130])&~(S=parseInt(l[356],l[57])&i))&~(~w&S)))^f[361],(w=j)[S=m]=i,(w=N)[S=i]=m;var o=I[m],s=I[o],u=I[s];w=I[i];var p=~(~((w=parseInt(r[380],r[62])*w)&~(S=t[343]*i))&~(~w&S));w=P,S=m,E=p<<M-d[349],k=p>>>f[121],w[S]=~(~E&~k),w=D,S=m,E=p<<t[37],k=p>>>t[37],w[S]=E|k,w=L,S=m,E=p<<r[130],k=p>>>M-r[381],w[S]=E|k,(w=F)[S=m]=p,p=(w=~(~((w=parseInt(f[362],d[83])*u)&~(S=(t[344]+A)*s))&~(~w&S))^(S=(A-r[382])*o))^(S=parseInt(f[363],r[146])*m),w=B,S=i,E=p<<A-t[345],k=p>>>r[130],w[S]=E|k,w=U,S=i,E=p<<T-d[350],k=p>>>T-d[350],w[S]=E|k,w=z,S=i,E=p<<h[13],k=p>>>T-f[364],w[S]=~(~E&~k),(w=H)[S=i]=p;var v=m;n=v?3:2;break;case 3:w[S]=C,n=25;break;case 4:n=_<y[e[2]]?27:1}continue;case 1:switch(a){case 0:t[342],n=8;break;case 1:var m=r[0],g=d[1];x=h[1];var b=f[7],y=r[379],_=(f[2],e[0]);n=32;break;case 2:n=9;break;case 3:n=t[64]?0:9;break;case 4:var w=f[7],S=t[0],E=h[1],k=l[6],I=[],x=f[7],O=e[0];f[360],n=25}continue;case 2:switch(a){case 0:g=w=c[3],m=w,v=w,n=8;break;case 1:var T=e[372],A=h[338],M=parseInt(l[355],t[54]);b&&(x+=e[36]),b=l[11],n=(w=x<M-c[330])?16:11;break;case 2:C=x<<c[3],n=24;break;case 3:_++,n=32;break;case 4:n=void 0}continue;case 3:switch(a){case 0:m=~(~((w=o)&~(S=I[S=I[S=I[S=~(~(u&~o)&~(~u&o))]]]))&~(~w&S)),g=w=g^(S=I[I[g]]),n=19;break;case 1:n=34;break;case 2:v=w,n=8;break;case 3:var R=~(~(y[d[18]](_)&~parseInt(d[348],d[60]))&~(~(y[h[14]](_)&y[f[20]](_))&parseInt(e[371],l[20])));h[38][t[17]](R),n=26;break;case 4:w=I,S=x;var C=x<parseInt(c[329],f[76]);n=C?18:4}continue;case 4:0===a&&(C=(E=x<<e[36])^parseInt(f[360],f[34]),n=24);continue}}}function a(){for(var n=0;void 0!==n;){var a=7&n>>3;switch(7&n){case 0:switch(a){case 0:var i=this[f[366]],o=t[0],s=e[0],u=t[0],p=!i;n=p?33:8;break;case 1:p=(i=this[h[340]])!==(o=this[c[332]]),n=33;break;case 2:i=D,o=L;var v=L<d[121];v||(v=x<=r[135]);var g=v;if(g)g=y;else{var b=parseInt(f[370],e[12]);g=(s=~(~((s=B[s=j[s=y>>>b-r[386]]]^(u=U[u=j[u=~(~((u=y>>>b-d[357])&f[220])&~(u&parseInt(e[378],h[132])))]]))&~(u=z[u=j[u=~(~((u=y>>>parseInt(e[379],h[29]))&r[384])&~(u&f[220]))]]))&~(~s&u)))^(u=H[u=j[u=d[343]&y]])}i[o]=g,n=32;break;case 3:F=f[23],n=(i=L<k)?3:4;break;case 4:n=c[3]?9:11}continue;case 1:switch(a){case 0:var y=I[x];n=16;break;case 1:n=F?27:24;break;case 2:n=34;break;case 3:var _=x<E;n=_?26:10;break;case 4:n=(i=p)?2:11}continue;case 2:switch(a){case 0:i=this[d[355]],this[l[358]]=i;var w=i,S=w[r[279]],E=(i=w[h[254]])/h[126];i=E+f[159],this[r[383]]=i,i+=t[64];var k=t[139]*i;i=[],this[f[367]]=i;var I=i,x=t[0],O=e[0];n=19;break;case 1:y=I[i=x-c[3]];var T=x%E;if(T){var A=E>h[109];A&&(A=(i=x%E)==e[135]);var M=A;if(M){var R=r[150],C=parseInt(c[333],e[64]);y=i=~(~(i=~(~(i=~(~(i=j[i=y>>>l[124]]<<C-parseInt(f[368],l[57]))&~(o=j[o=y>>>h[132]&C-parseInt(d[356],c[13])]<<C-e[375])))&~(o=j[o=y>>>c[13]&R-t[346]]<<l[20])))&~(o=j[o=R-e[376]&y])),M=i}T=M}else{var N=l[359],P=f[369];y=i=~(~(i=y<<d[87])&~(o=y>>>l[124])),i>>>=P-parseInt(l[360],d[60]),y=i=~(~((i=y=(i=~(~(i=~(~(i=j[i]<<t[288])&~(o=j[o=~(~((o=y>>>N-e[377])&e[282])&~(o&r[384]))]<<l[57])))&~(o=j[o=y>>>f[121]&r[385]+P]<<l[20])))|(o=j[o=c[334]+P&y]))&~(o=m[o=x/E|e[0]]<<h[341]))&~(~i&o)),T=i}i=I,o=x,s=I[s=x-E]^(u=y),i[o]=s,_=s,n=19;break;case 2:y=I[i=x-f[241]],n=16;break;case 3:i=I,o=x,s=S[x],i[o]=s,_=s,n=19;break;case 4:i=[],this[l[361]]=i;var D=i,L=t[0],F=l[6];n=32}continue;case 3:switch(a){case 0:x=k-L,n=(i=L%h[126])?1:18;break;case 1:n=void 0;break;case 2:n=h[15]?35:34;break;case 3:L+=f[23],n=24;break;case 4:O&&(x+=d[8]),O=e[36],n=(i=x<k)?25:17}continue;case 4:0===a&&(n=11);continue}}}function o(n,a){var i=d[1],o=l[6],s=d[1],c=f[7],u=h[1],p=t[0],v=l[6];i=a,o=this[e[380]],s=P,c=D,u=L,p=F,v=j,this[r[387]](n,i,o,s,c,u,p,v)}function s(n,a){var i=a+l[11],o=d[1],s=e[0],u=d[1],h=d[1],p=f[7],v=e[0],m=f[7],g=n[i];i=n,o=a+l[11],s=a+t[112],i[o]=n[s],(i=n)[o=a+r[223]]=g,i=n,o=a;var b=l[363];b+=f[371]+r[388]+l[364]+c[111],s=this[b=(b+=l[109])[t[8]](c[2])[e[18]]()[f[5]](e[1])],u=B,h=U,p=z,v=H,m=N,this[t[347]](i,o,s,u,h,p,v,m),g=n[i=a+f[23]],i=n,o=a+r[7],s=a+c[266],i[o]=n[s],(i=n)[o=a+d[136]]=g}function u(n,a,i,o,s,u,p,v){for(var m=8;void 0!==m;){var g=3&m>>2;switch(3&m){case 0:switch(g){case 0:var b=parseInt(f[372],e[64]),y=t[139],_=parseInt(r[309],c[23]);D&&(P+=h[15]),D=h[15],m=(x=P<A)?5:1;break;case 1:m=l[11]?0:6;break;case 2:var w=d[358],S=parseInt(e[381],l[25]),E=d[359],k=parseInt(c[335],l[20]),I=e[382],x=t[0],O=t[0],T=e[59];T+=f[352]+t[348]+d[360];var A=this[T=(T+=c[286])[t[8]](d[19])[r[6]]()[l[22]](d[19])],M=(x=n[a])^(O=i[e[0]]),R=~(~((x=n[x=a+d[8]])&~(O=i[l[11]]))&~(~x&O)),C=~(~((x=n[x=a+d[72]])&~(O=i[l[25]]))&~(~x&O)),j=~(~((x=n[x=a+l[256]])&~(O=i[r[223]]))&~(~x&O)),N=r[135],P=h[15],D=c[5],L=h[343];L=L[r[19]](f[2])[c[6]]()[c[7]](r[3]),e[383],m=4}continue;case 1:switch(g){case 0:m=6;break;case 1:x=~(~((x=o[x=M>>>f[373]])&~(O=s[O=R>>>c[84]&d[361]+y]))&~(~x&O))^(O=u[O=C>>>l[20]&t[349]]),m=9;break;case 2:x^=O=p[O=d[362]+_&j];var F=e[0];F=N,N+=f[23];var B=x^(O=i[O=F]);x=~(~((x=o[x=R>>>parseInt(d[363],l[20])+_]^(O=s[O=C>>>b-d[364]&parseInt(r[392],t[128])])^(O=u[O=~(~((O=j>>>e[12])&parseInt(c[336],t[128]))&~(O&parseInt(r[392],t[128])))]))&~(O=p[O=~(~(h[184]&M)&~(l[366]&M))]))&~(~x&O));var U=t[0];U=N,N+=e[36];var z=x^(O=i[O=U]);x=o[x=C>>>f[374]+_]^(O=s[O=j>>>parseInt(f[375],t[140])+y&parseInt(l[367],e[3])])^(O=u[O=M>>>e[12]&c[337]+y])^(O=p[O=~(~(parseInt(e[378],c[84])&R)&~(h[184]&R))]);var H=l[6];H=N,N+=d[8];var G=~(~(x&~(O=i[O=H]))&~(~x&O));x=~(~((x=~(~((x=o[x=j>>>c[276]])&~(O=s[O=M>>>c[84]&f[220]]))&~(~x&O))^(O=u[O=R>>>f[121]&b-parseInt(h[277],e[12])]))&~(O=p[O=~(~(t[349]&C)&~(t[349]&C))]))&~(~x&O));var q=e[0];q=N,N+=r[7];var W=x^(O=i[O=q]);M=B,R=z,C=G,j=W,m=4}continue;case 2:switch(g){case 0:x|=O=v[O]<<t[140],x|=O=v[O=~(~(f[220]&j)&~(parseInt(l[367],c[129])&j))];var K=l[6];K=N,N+=f[23],B=x^(O=i[O=K]),x=~(~(x=v[x=R>>>d[97]]<<k-h[345]|(O=v[O=C>>>k-l[368]&d[343]]<<r[146])|(O=v[O=~(~((O=j>>>r[130])&l[366])&~(O&parseInt(f[376],l[57])))]<<parseInt(f[377],r[62])))&~(O=v[O=~(~(parseInt(c[338],c[23])&M)&~(parseInt(h[259],c[84])&M))]));var V=l[6];V=N,N+=l[11],z=~(~(x&~(O=i[O=V]))&~(~x&O)),x=~(~(x=~(~(x=v[x=C>>>k-parseInt(f[378],h[132])]<<E-t[62])&~(O=v[O=j>>>I-parseInt(l[369],d[83])&d[343]]<<E-r[394]))|(O=v[O=~(~((O=M>>>c[13])&e[282])&~(O&l[366]))]<<d[87]))&~(O=v[O=e[64]+E&R]));var Y=d[1];Y=N,N+=d[8],G=x^(O=i[O=Y]),x=~(~(x=v[x=j>>>S-c[339]]<<S-parseInt(l[370],e[64])|(O=v[O=~(~((O=M>>>parseInt(t[36],t[37]))&e[282])&~(O&f[220]))]<<w-c[16]))&~(O=v[O=~(~((O=R>>>t[140])&parseInt(h[346],l[25]))&~(O&parseInt(t[261],r[62])))]<<parseInt(r[395],h[13])))|(O=v[O=~(~(t[349]&C)&~(r[384]&C))]);var J=e[0];J=N,N+=c[3],W=~(~(x&~(O=i[O=J]))&~(~x&O)),(x=n)[O=a]=B,(x=n)[O=a+e[36]]=z,(x=n)[O=a+r[62]]=G,(x=n)[O=a+l[256]]=W,m=void 0;break;case 1:x=~(~(x=v[x=M>>>I-r[393]]<<S-h[344])&~(O=v[O=R>>>c[84]&e[384]+I]<<e[28])),O=~(~((O=C>>>r[130])&e[282])&~(O&h[184])),m=2}continue}}}for(var p=5;void 0!==p;){var v=3&p>>2;switch(3&p){case 0:switch(v){case 0:G[d[352]](c[5],t[64],t[54],e[135],l[20],f[76],parseInt(d[353],c[129]),l[357],parseInt(c[329],c[84]),parseInt(W,d[72]),parseInt(e[374],d[72]));var m=G;E=C;var g={},b=e[332];g[b+=d[354]+f[365]+c[331]]=a,g[l[362]]=o,g[h[342]]=s;var y=l[365];g[y+=r[389]+r[390]+f[222]+r[391]]=u,g[f[379]]=e[12],k=g,k=R[f[312]](k),E[d[365]]=k;var _=k;(E=I)[r[396]]=R[c[290]](_),p=void 0;break;case 1:K++,p=9;break;case 2:var w=e[373],S=q[r[11]](K)^w-h[339];W+=h[38][f[21]](S),p=4}continue;case 1:switch(v){case 0:p=T<x[c[12]]?2:6;break;case 1:var E=d[1],k=h[1],I=i,x=d[347],O=c[2],T=t[0];p=1;break;case 2:p=K<q[t[15]]?8:0}continue;case 2:switch(v){case 0:var A=r[378],M=x[h[14]](T)-(A-parseInt(f[359],c[129]));O+=h[38][e[29]](M),p=10;break;case 1:var R=(E=I[O])[h[326]],C=I[l[284]],j=[],N=[],P=[],D=[],L=[],F=[],B=[],U=[],z=[],H=[];E=(E=n)();var G=[],q=d[351],W=d[19],K=t[0];p=9;break;case 2:T++,p=1}continue}}}(),o[r[275]]=i[h[347]]}function B(e,t){var r=h[1];r=ei[d[366]],e[l[371]]=r[c[340]]}function U(n,a){var i,o,s,u=e[0],p=f[7],v=f[7],m=f[7];u=n,s=p=ei;var g=e[385];p=p[g=g[d[12]](e[1])[h[25]]()[t[6]](r[3])];var b=h[348];v=(v=s[b=b[d[12]](l[4])[c[6]]()[l[22]](e[1])])[t[350]];var y=c[341];y+=e[32],v=i=v[y+=h[349]]();var _={};_[f[380]]=function(n,a){for(var i=6;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:i=l[11]?2:1;break;case 1:i=1;break;case 2:y[r[399]](O,c[5]);var s=d[1],u=d[1];i=0}continue;case 1:switch(o){case 0:i=void 0;break;case 1:v=x[l[372]](c[5]),this[h[351]]=v,O=v,v=void e[0];var p=h[352];this[p=p[e[81]](t[10])[f[30]]()[d[10]](d[19])]=v,T=v,i=8;break;case 2:g=(v=n)[m=a+s],b=O[s],v[m]=g^b,i=0}continue;case 2:switch(o){case 0:u&&(s+=f[23]),u=c[3],i=(v=s<I)?9:4;break;case 1:for(var v=d[1],m=e[0],g=h[1],b=t[0],y=this[h[316]],_=f[381],w=e[1],S=d[1];S<_[f[10]];S++){var E=h[350],k=_[f[20]](S)^E-parseInt(f[382],l[25]);w+=c[11][e[29]](k)}var I=y[w],x=this[r[397]],O=this[r[398]],T=x;i=T?5:8}continue}}},m=_,m=i[l[314]](m),v[c[342]]=m,o=m,(v=i)[f[383]]=o,p[t[351]]=i;var w=t[352];w+=c[170],p=s[w+=r[38]];var S=t[353];S+=c[343],u[d[232]]=p[S]}function z(r,n){var a,i=d[1],o=e[0];i=r,a=o=ei;for(var s=l[373],u=l[4],p=h[1],v=h[1];v<s[l[44]];v++){v||(p=d[367]);var m=s[c[20]](v),g=~(~(m&~p)&~(~m&p));p=m,u+=c[11][f[21]](g)}o=o[u];var b={},y=f[230];b[y+=d[368]]=function(){},b[d[369]]=function(){},o[t[354]]=b,o=a[h[353]],i[t[355]]=o[h[354]]}function H(n,a){function i(e){return n[e]}for(var o=4;void 0!==o;){var s=3&o>>2;switch(3&o){case 0:switch(s){case 0:O=t[64],o=(u=(u=x)<(p=I[T]))?6:2;break;case 1:var u=e[0],p=f[7],v=c[346],b=a[v+=e[124]+e[387]],y=t[10],_=n[r[24]];u=function(e){for(var n=1;void 0!==n;){var a=1&n>>1;switch(1&n){case 0:switch(a){case 0:return s;case 1:s=function(){throw TypeError(r[1])}(),n=0}continue;case 1:if(0===a){d[1];var i=function(e){for(var r=0;void 0!==r;){var n=1&r>>1;switch(1&r){case 0:switch(n){case 0:r=t[3][t[4]](e)?2:1;break;case 1:return g(e)}continue;case 1:0===n&&(r=void 0);continue}}}(e);i||(i=function(e){for(var n=0;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:var i=typeof Symbol,o=r[2]!=i;n=o?4:1;break;case 1:i=e[i=Symbol[t[1]]],o=c[0]!=i,n=1;break;case 2:n=void 0}continue;case 1:switch(a){case 0:var s=o;s||(i=e[t[2]],s=d[2]!=i),n=(i=s)?5:8;break;case 1:var u=d[3];return u+=f[0],i=d[4][u](e)}continue}}}(e));var o=i;o||(o=m(e));var s=o;n=s?0:2}continue}}}(u=(u=e[19](_))[t[360]]());for(var w=h[355],S=c[2],E=e[0];E<w[r[24]];E++){var k=w[h[14]](E)-f[385];S+=l[29][d[39]](k)}p=i;var I=(u=(u=u[S]())[f[386]](p))[r[21]](h[7]),x=f[7],O=f[7],T=e[2],A=h[14],M=h[356],R=M+=c[162]+l[376]+h[357]+t[214];o=8;break;case 2:o=f[23]?5:9;break;case 3:x+=c[3],o=0}continue;case 1:switch(s){case 0:u=y[f[10]],u=y[u-=f[23]],p=-l[11],u+=p=y[l[372]](l[11],p),y=u+=p=y[l[6]],C=u,o=13;break;case 1:o=O?12:0;break;case 2:var C=(u=y[t[15]])>e[36];o=C?1:13;break;case 3:return y}continue;case 2:switch(s){case 0:o=9;break;case 1:p=x%b;var j=~(~((u=I[A](x))&~(p=a[A](p)))&~(~u&p));y=(u=y)+(p=l[29][R](j)),o=8}continue}}}async function G(n){function a(){for(var t=8;void 0!==t;){var n=3&t>>2;switch(3&t){case 0:switch(n){case 0:return ev;case 1:i=ev[f[354]],t=1;break;case 2:e[0];var a=ev;a&&(a=ev[r[375]]);var i=a;t=i?4:1}continue;case 1:switch(n){case 0:t=i?0:5;break;case 1:var o=H(ew,eE),s=ed[l[377]](o),u=H(eS,eE),h=ed[e[389]](u),p={};return p[d[370]]=s,p[c[328]]=h,ev=p}continue}}}for(var i=9;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:i=E<w[c[12]]?5:8;break;case 1:n=p=JSON[c[310]](n),g=p,i=2;break;case 2:return(p=ef[S](p,v,m))[f[256]]()}continue;case 1:switch(o){case 0:E++,i=0;break;case 1:var s=r[402],u=w[l[7]](E)^parseInt(e[390],l[25])+s;S+=r[12][t[17]](u),i=1;break;case 2:var p=typeof n,v=e[0],m=e[0],g=c[21]!=p;i=g?4:2}continue;case 2:if(0===o){var b=(p=a)(),y=b[h[358]];p=n,v=b[h[359]];var _={};_[h[358]]=y,_[r[180]]=eh,_[t[361]]=ep,m=_;var w=l[378],S=c[2],E=l[6];i=0}continue}}}async function q(n,a){var i=r[0],o=c[157];o+=h[360];var s=l[379][o](),u={};u[e[391]]=n,u[d[371]]=a,u[h[361]]=s,i=u;for(var f=c[347],p=c[2],v=c[5],m=c[5];m<f[r[24]];m++){m||(v=d[372]);var g=f[c[20]](m),b=g^v;v=g,p+=e[10][t[17]](b)}return await eI[p](i)}async function W(n,a,i){var o=l[6],s=r[0],u=function(n){e[0],f[7];try{for(var a=0;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:var o=n[f[388]],s=n[t[362]],u=n[h[363]],p=n[c[349]],v={},m=d[373];m+=f[389],m=(m+=h[364])[c[26]](c[2])[c[6]]()[r[21]](t[10]),v[t[162]]=m;var g=d[374];g=g[r[19]](l[4])[e[18]]()[d[10]](h[7]);var b=r[403],y=h[7],_=d[1],w=l[6];a=4;break;case 1:a=w<b[f[10]]?8:5;break;case 2:w||(_=l[380]);var S=b[r[11]](w),E=S^_;_=S,y+=f[4][l[8]](E),a=1}continue;case 1:switch(i){case 0:w++,a=4;break;case 1:v[g]=y,v[l[93]]=o,v[r[404]]=u,v[d[375]]=s;var k={};k[c[349]]=p,v[r[40]]=k,I(v,!e[36]),a=void 0}continue}}}catch(e){console[r[405]](e)}},p=k();try{for(var v=32;void 0!==v;){var m=7&v>>3;switch(7&v){case 0:switch(m){case 0:var g=E;v=g?26:17;break;case 1:j=(o=void f[7])!==(s=y),v=4;break;case 2:var b=x;v=b?33:19;break;case 3:E=(o=void l[6])!==(s=globalThis),v=0;break;case 4:var y,w,S=await eO(n,a),E=f[119]!==globalThis;v=E?24:0}continue;case 1:switch(m){case 0:var x=B;v=x?27:16;break;case 1:var O=e[392];O=O[e[81]](e[1])[d[5]]()[e[46]](t[10]),o=globalThis[O];var T=c[351];o=o[T+=l[85]];var A={};A[c[79]]=ex;var M=d[376],R=r[3],C=f[7];v=25;break;case 2:var j=g;v=j?8:4;break;case 3:v=C<M[h[9]]?35:2;break;case 4:b=(o=void f[7])!==(s=w),v=19}continue;case 2:switch(m){case 0:A[f[22]]=R,A[t[162]]=f[390];var N={},P=r[406];N[P=P[d[12]](f[2])[r[6]]()[f[5]](t[10])]=S,A[t[89]]=N;var D=r[407];D+=r[408]+f[391]+c[352],A[D=(D+=h[32])[l[3]](c[2])[h[25]]()[d[10]](h[7])]=t[363],A[r[237]]=i,s=A;var L=await o[f[392]](s),F=k(),B=d[2]!==L;v=B?20:1;break;case 1:throw o=JSON[c[310]](L),o=new e[266](o);case 2:H=w[e[394]],v=12;break;case 3:y=o=globalThis[h[243]],g=e[17]!==o,v=17;break;case 4:v=(o=q)?9:11}continue;case 3:switch(m){case 0:var U={};U[r[98]]=ex;var z=f[222];return U[z+=f[393]+l[381]]=F-p,o=L[e[395]],U[d[377]]=t[0]===o,o={},s=L,U[t[364]]=_(o,s),u(o=U),o=(o=L[h[135]])[h[365]];case 1:throw o=new t[292](c[350]);case 2:var H=b;v=H?18:12;break;case 3:w=o=L[t[89]],x=t[9]!==o,v=16;break;case 4:var G=M[f[20]](C)-e[393];R+=r[12][e[29]](G),v=28}continue;case 4:switch(m){case 0:var q=j;v=q?36:34;break;case 1:v=(o=H)?3:10;break;case 2:B=(o=void d[1])!==(s=L),v=1;break;case 3:C++,v=25;break;case 4:q=y[r[216]],v=34}continue}}}catch(e){var W=k();throw u({api:ex,timing:W-p,success:!t[64],message:e}),e}}async function K(e){return new Promise(function(n){var a=function(){t[0],console[h[366]](h[367]),n({})},i=f[7],o=h[1],s=setTimeout(a,t[365]);a=(a=chrome[r[409]])[l[382]],i=e,o=function(e){for(var t=2;void 0!==t;){var r=1&t>>1;switch(1&t){case 0:switch(r){case 0:a={},t=1;break;case 1:f[7],clearTimeout(s);var a=e;t=a?1:0}continue;case 1:0===r&&(n(a),t=void 0);continue}}},a[t[78]](i,o)})}function V(){var n=globalThis,a=(h[1],r[0]),i=globalThis[c[422]];i||(a={},globalThis[d[460]]=a,i=a),function(n,a){function i(){}function o(){r[0];var e={},n=new et(function(r,n){var a=e,i=f[46];a[i+=t[52]+c[30]]=r,(a=e)[c[31]]=n});return e[h[39]]=n,e}function s(n,a){for(var i=12;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:return n;case 1:s=u=v[m](),i=(u=u[b])?8:2;break;case 2:i=0;break;case 3:var s,u=e[0],d=c[5],h=e[0],v=p(a),m=f[36],g=e[45],b=g=g[r[19]](t[10])[e[18]]()[e[46]](l[4]),y=r[46],_=t[10],w=r[0],S=r[0];i=1}continue;case 1:switch(o){case 0:i=S<y[r[24]]?9:13;break;case 1:S++,i=1;break;case 2:S||(w=c[32]);var E=y[l[7]](S),k=E^w;w=E,_+=c[11][e[29]](k),i=5;break;case 3:var I=_;i=6}continue;case 2:switch(o){case 0:var x=s[I],O=(u=void r[0])===(d=n[x]);O&&(u=n,d=x,h=a[x],u[d]=h,O=h),i=6;break;case 1:i=l[11]?4:0}continue}}}function u(n){for(var a=6;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:u=(v=(v=globalThis[c[33]])[d[45]](h[41]))[r[0]],a=4;break;case 1:var o=u;a=o?10:2;break;case 2:g=globalThis[d[46]],a=9}continue;case 1:switch(i){case 0:a=void 0;break;case 1:var s=l[47];s+=c[34]+h[40];var u=(v=(v=globalThis[s])[f[47]](d[44]))[r[0]];a=u?4:0;break;case 2:v=g;var p=f[48];p+=e[47]+h[44],m=v[p+=e[48]](n),a=1}continue;case 2:switch(i){case 0:o=(v=globalThis[h[42]])[h[43]],a=10;break;case 1:var v=t[0],m=globalThis[c[33]];a=m?5:1;break;case 2:var g=o;a=g?9:8}continue}}}function v(){function n(){globalThis[r[47]]=!t[0]}for(var a=0;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:var o=globalThis[h[42]];a=o?12:10;break;case 1:a=E?2:5;break;case 2:a=E<_[h[9]]?4:6;break;case 3:a=(o=globalThis[h[45]])?9:1}continue;case 1:switch(i){case 0:(o=globalThis)[l[48]]=n;var s=h[32];s+=d[47]+f[49]+h[40];var p=(o=globalThis[s])[e[49]](l[49]);o=p;for(var v=d[48],m=e[1],g=c[5];g<v[l[44]];g++){var b=r[48],y=v[f[20]](g)-(b-parseInt(l[50],t[54]));m+=h[38][h[10]](y)}var _=e[50],w=h[7],S=r[0],E=h[1];a=8;break;case 1:var k=parseInt(d[49],h[46]);S=f[50]+k,a=2;break;case 2:(o=globalThis)[t[53]]=!r[0],a=10;break;case 3:E++,a=8}continue;case 2:switch(i){case 0:var I=_[e[16]](E),x=~(~(I&~S)&~(~I&S));S=I,w+=t[33][c[35]](x),a=13;break;case 1:o[m]=w,o=p;var O=l[51];O+=e[51]+d[50]+c[36]+t[55]+c[37]+r[49]+c[38]+h[47],o[f[51]]=O,u(p),a=10;break;case 2:a=void 0}continue}}}function m(t){for(var n=0;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:var i,o=c[5],s=f[7],u=[],l=p(t),v=r[50],m=f[6],g=e[5],b=c[39],y=r[23];n=4;break;case 1:n=d[8]?8:1;break;case 2:i=o=l[v](),n=(o=o[m])?9:5}continue;case 1:switch(a){case 0:var _=h[49];return u[_+=r[51]](e[52]);case 1:var w=i[g],S=t[w];n=S?2:4;break;case 2:n=1}continue;case 2:0===a&&(o=w+b,s=t[w],o+=s=h[48](s),S=u[y](o),n=4);continue}}}function g(n){var a={};a=(a=a[l[52]]).call(n);for(var i=r[52],o=r[3],s=t[0];s<i[d[13]];s++){var c=i[t[26]](s)^e[53];o+=f[4][f[21]](c)}return o==a}async function y(n,a){function i(n,a){function i(t){for(var a=5;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:u=e[1],a=2;break;case 1:o=void h[1]!==t,a=9;break;case 2:s=t[er],a=6}continue;case 1:switch(i){case 0:u=t[er],a=2;break;case 1:r[0],l[6];var o=c[0]!==t;a=o?4:9;break;case 2:var s=o;a=s?8:6}continue;case 2:switch(i){case 0:n(u),a=void 0;break;case 1:var u=s;a=u?1:0}continue}}}for(var o=5;void 0!==o;){var s=3&o>>2;switch(3&o){case 0:switch(s){case 0:E++,o=8;break;case 1:if(!E){var u=parseInt(h[51],e[12]);S=l[54]+u}var p=_[h[14]](E),v=p^S;S=p,w+=d[51][f[21]](v),o=0;break;case 2:o=E<_[e[2]]?4:1}continue;case 1:switch(s){case 0:g[w](b,y),o=void 0;break;case 1:var m=c[40];m+=r[53]+c[41];var g=chrome[m],b=t[0],y=t[0];g=g[t[57]],b=er,y=i;var _=l[53],w=c[2],S=c[5],E=t[0];o=8}continue}}}for(var o=0;void 0!==o;){var s=1&o>>1;switch(1&o){case 0:switch(s){case 0:var u=t[56];u+=h[50]+e[54];var p=globalThis[u],v=t[0];o=p?2:1;break;case 1:p=r[54]+n+f[52],p=new l[55](p);var m=c[42];m+=r[55]+f[53],v=(v=globalThis[m])[e[55]];var g=p[t[58]](v);return g?g[h[15]]:void d[1]}continue;case 1:if(0===s)return new et(p=i);continue}}}async function S(n,a,i){var o=globalThis[h[42]],s=r[0],u=c[5];if(o){var p=e[56],v=new d[52];o=v[r[56]]()-(f[54]+p);var m=d[53];v[m=m[t[8]](e[1])[d[5]]()[e[46]](r[3])](o),o=globalThis[d[46]],s=n+d[54]+(u=a)+f[55],u=v[d[55]](),o[t[59]]=s+u,o=globalThis[f[56]];var g=c[43];g+=f[36]+e[57]+d[56]+d[57],s=n+(g=(g+=e[58])[f[3]](e[1])[h[25]]()[c[7]](c[2]))+(u=i)+l[36]+(u=a)+t[60],u=v[r[57]](),o[l[56]]=s+u}else{o=chrome[h[52]];for(var b=t[61],y=l[4],_=c[5];_<b[l[44]];_++){var w=b[e[16]](_)-t[62];y+=f[4][f[21]](w)}o=o[y];for(var S=r[58],E=f[2],k=h[1];k<S[e[2]];k++){var I=r[59],x=S[t[26]](k)-(parseInt(r[60],l[57])+I);E+=d[51][e[29]](x)}await o[E](er)}}function E(n,a){for(var i=8;void 0!==i;){var o=7&i>>3;switch(7&i){case 0:switch(o){case 0:b+=e[36],i=2;break;case 1:var s=r[0],u=e[32];u+=c[44],u=(u+=e[59])[c[26]](r[3])[e[18]]()[l[22]](l[4]);var p=t[63];p=p[f[3]](h[7])[h[25]]()[c[7]](r[3]);var v=n[u](p),m=t[63],g=a[h[8]](m),b=c[5],y=e[0];i=25;break;case 2:var _=isNaN(S);_&&(_=!(s=isNaN(E))),i=(s=_)?18:25;break;case 3:var w=!(s=isNaN(S));i=w?34:17;break;case 4:s=v[b];var S=d[58](s);s=g[b];var E=f[57](s);i=(s=S>E)?9:1}continue;case 1:switch(o){case 0:i=(s=E>S)?33:24;break;case 1:return l[11];case 2:i=(s=w)?11:16;break;case 3:i=t[64]?26:10;break;case 4:return-l[11]}continue;case 2:switch(o){case 0:y=d[8],i=(s=b<parseInt(r[61],r[62]))?32:3;break;case 1:return e[0];case 2:return-f[23];case 3:i=y?0:2;break;case 4:w=isNaN(E),i=17}continue;case 3:switch(o){case 0:i=10;break;case 1:return c[3]}continue}}}function k(){for(var r=0;void 0!==r;){var n=3&r>>2;switch(3&r){case 0:switch(n){case 0:var a=c[45],i=t[10],o=l[6],s=t[0];r=4;break;case 1:r=s<a[t[15]]?1:8;break;case 2:return this[i](e[60],d[19])}continue;case 1:switch(n){case 0:if(!s){var u=parseInt(c[46],d[60]);o=parseInt(f[59],f[34])+u}var h=a[d[18]](s),p=h^o;o=h,i+=c[11][f[21]](p),r=5;break;case 1:s++,r=4}continue}}}function x(){for(var a=0;void 0!==a;){var i=7&a>>3;switch(7&a){case 0:switch(i){case 0:var o=n[t[65]],s=o[c[47]];a=s?24:40;break;case 1:q=o=h[56],w=o,a=33;break;case 2:_=~(o=y[d[7]](l[60])),a=2;break;case 3:var u=[];u[c[48]](c[49],f[64],e[62],t[66],l[61]),o=(o=u)[t[6]](e[63]);var p=l[62];p+=d[65],o=o[f[65]](h[53],p),o=f[66]+o+t[67];var v=new f[67](o,r[64]),m=s[t[68]](v);m||(m=[]);var g=m,b=g[e[64]];a=b?11:19;break;case 4:q=o=d[68],G=o,a=4;break;case 5:var y=(o=(o=n[d[64]])[f[63]])[l[59]],_=y;a=_?16:2}continue;case 1:switch(i){case 0:a=I<S[f[10]]?43:36;break;case 1:var w=W;a=w?27:8;break;case 2:z=d[67],a=35;break;case 3:var S=c[50],E=f[2],k=f[7],I=e[0];a=1;break;case 4:var x=r[68],O=x=x[r[19]](t[10])[e[18]]()[h[4]](t[10]),T=f[71]===U;a=T?25:42;break;case 5:var A=d[69]===U;A&&(A=h[55]===q);var M=A;if(M)q=o=f[69],M=o;else{var R=e[65],C=(R=R[d[12]](l[4])[r[6]]()[f[5]](r[3]))!==q;C&&(C=d[70]!==q);var j=C;j&&(j=e[66]!==q);var N=j;N&&(q=o=f[70],N=o),M=N}G=M,a=4}continue;case 2:switch(i){case 0:var P=_;a=P?26:24;break;case 1:var D=r[65]!==q;a=D?12:18;break;case 2:var L=D;a=L?20:3;break;case 3:s=o=y,P=o,a=24;break;case 4:var F=d[17];O=o=F=(F+=f[72])[l[3]](f[2])[h[25]]()[r[21]](h[7]),B=o,a=28;break;case 5:var B=T;a=B?34:28}continue;case 3:switch(i){case 0:W=L,a=9;break;case 1:var U=b,z=g[r[7]];a=z?35:17;break;case 2:b=d[66],a=11;break;case 3:var H=r[67]===U;H&&(H=d[68]===q);var G=H;a=G?32:41;break;case 4:var q=z,W=c[49]!==U;a=W?9:10;break;case 5:if(!I){var K=t[70];k=e[67]+K}var V=S[h[14]](I),Y=~(~(V&~k)&~(~V&k));k=V,E+=l[29][h[10]](Y),a=44}continue;case 4:switch(i){case 0:w=G,a=33;break;case 1:var J=h[54];J+=t[69],D=(J+=r[66])!==q,a=18;break;case 2:L=f[68]!==q,a=3;break;case 3:(o=e$)[r[69]]=U,o=e$;var Z=c[40];o[Z+=h[57]+c[51]]=q,(o=e$)[c[52]]=O,a=void 0;break;case 4:T=E===q,a=42;break;case 5:I++,a=1}continue}}}function O(){for(var a=0;void 0!==a;){var i=1&a>>1;switch(1&a){case 0:switch(i){case 0:var o=n[e[68]],s=c[5],u=o[d[71]],p=u[c[53]](new r[70](c[54])),v=p;a=v?2:1;break;case 1:o=e$,s=p[f[23]],o[r[71]]=s,v=s,a=1}continue;case 1:if(0===i){var m=h[58];m+=e[69];var g=t[71];g=g[c[26]](e[1])[d[5]]()[d[10]](d[19]);var b=u[m](new e[70](f[73],g)),y=b;if(y){o=e$;var _=r[72];o[_=_[d[12]](l[4])[r[6]]()[d[10]](f[2])]=b[f[23]],o=e$,s=b[d[72]],o[l[63]]=s,y=s}var w=u[h[59]](e[71]),S=w;S&&((o=e$)[f[74]]=c[55],o=e$,s=w[c[3]],o[l[63]]=s,S=s),a=void 0}continue}}}function T(n){for(var a=2;void 0!==a;){var i=1&a>>1;switch(1&a){case 0:switch(i){case 0:u=this[r[79]],p=this[d[76]];var o=h[63];p=p[o=o[h[8]](e[1])[l[69]]()[f[5]](r[3])],p=JSON[f[81]](p),u[e[79]]=p,k=p,a=1;break;case 1:var u=new r[78],p=r[0];u=u[t[73]](),u=h[7]+u,p=ec+=e[36],this[d[74]]=u+p;var v=n;v||(v={}),u=v;var m={};m[h[60]]=d[75];for(var g=l[64],y=d[19],_=h[1],w=r[0];w<g[h[9]];w++){w||(_=h[61]);var S=g[d[18]](w),E=~(~(S&~_)&~(~S&_));_=S,y+=c[11][d[39]](E)}m[y]={},m[e[78]]=l[65],m[l[66]]=h[62],p=m,this[r[79]]=s(u,p),u=this[f[79]],p=(p=this[r[79]])[l[67]],u[c[60]]=p[r[80]](),u=b(u=(u=this[t[74]])[l[68]]);var k=f[80]==u;a=k?0:1}continue;case 1:if(0===i){var I=e[59];I+=f[82]+l[70],I=(I+=l[71])[d[12]](d[19])[d[5]]()[l[22]](c[2]);for(var x=l[72],O=l[4],T=d[1],A=t[0];A<x[d[13]];A++){if(!A){var M=e[80];T=r[81]+M}var R=x[f[20]](A),C=~(~(R&~T)&~(~R&T));T=R,O+=t[33][t[17]](C)}this[I]=eQ[O](e[0]),a=void 0}continue}}}function A(r){for(var n=1;void 0!==n;){var a=1&n>>1;switch(1&n){case 0:switch(a){case 0:var i=d[77];return(0,this[i=i[e[81]](t[10])[c[6]]()[h[4]](l[4])])[h[64]](r),this;case 1:throw new l[74](l[75])}continue;case 1:0===a&&(e[0],n=r?0:2);continue}}}function M(n){for(var a=11;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:var o=c[64];_=E[o=o[t[8]](f[2])[f[30]]()[r[21]](h[7])];var s=d[81]===_;a=s?10:2;break;case 1:var u=A;a=u?8:7;break;case 2:_=k,w=!f[7];var p=e[85];_[p+=l[76]+t[79]]=w,u=w,a=15;break;case 3:_=E[r[83]];var v=t[78]===_;v&&(_=E[l[66]],v=l[77]===_);var m=v;a=m?5:0}continue;case 1:switch(i){case 0:u=g,a=15;break;case 1:_=k,w=!c[5],_[c[63]]=w,m=w,a=9;break;case 2:g=m,a=1;break;case 3:_=E[d[80]],A=h[62]===_,a=4}continue;case 2:switch(i){case 0:m=s,a=9;break;case 1:var g=y;a=g?3:12;break;case 2:_=k,w=!e[0],_[h[67]]=w,s=w,a=2;break;case 3:var b=t[80];b+=h[65],_=E[b+=t[81]],y=h[66]===_,a=6}continue;case 3:switch(i){case 0:_=k,w=!l[6],_[c[62]]=w,g=w,a=1;break;case 1:_=E[c[60]];var y=l[65]===_;a=y?14:6;break;case 2:var _=e[0],w=l[6],S=t[77];S+=d[79];for(var E=this[S+=f[84]],k=this[e[83]],I=e[84],x=h[7],O=f[7];O<I[c[12]];O++){var T=I[t[26]](O)^r[82];x+=c[11][t[17]](T)}_=E[x];var A=t[78]===_;a=A?13:4;break;case 3:n(),a=void 0}continue}}}function R(i){function o(){for(var n=4;void 0!==n;){var a=7&n>>3;switch(7&n){case 0:switch(a){case 0:n=(e_=K)?21:45;break;case 1:e_=B;var i=d[88],o=t[10],s=l[6];n=32;break;case 2:var u=c[78],p=x[l[7]](T)-(parseInt(e[101],f[100])+u);O+=h[38][l[8]](p),n=35;break;case 3:var v=r[95],m=r[3],b=d[1];n=44;break;case 4:n=s<i[f[10]]?19:9;break;case 5:(e_=e$)[t[91]]=!e[0];for(var y=[],_=e[102],w=l[4],S=h[1];S<_[t[15]];S++){var E=_[h[14]](S)-l[91];w+=l[29][e[29]](E)}e_=F[w],ew=F[l[92]],eS=F[f[103]],eE=F[e[103]],ek=F[r[97]],y[r[23]](e_,ew,eS,eE,ek),e_=y;var k=f[104];return F[k=k[l[3]](r[3])[f[30]]()[e[46]](r[3])](e_);case 6:X=(e_=eI[l[87]](h[82]))>(ew=-c[3]),n=3}continue;case 1:switch(a){case 0:eI=e_=eI[c[7]](c[76]),ex=e_,n=27;break;case 1:ew=B[o],ew=JSON[t[90]](ew),e_[t[89]]=ew,en=ew,n=40;break;case 2:n=Z?50:41;break;case 3:n=Z<V[t[15]]?17:30;break;case 4:var I=et;n=I?12:18;break;case 5:J=r[93],n=50;break;case 6:Z++,n=25}continue;case 2:switch(a){case 0:s++,n=32;break;case 1:e_=-d[8],ew=U[e[100]];var x=d[86],O=d[19],T=e[0];n=26;break;case 2:I=(e_=eI[t[88]](f[98]))>(ew=-f[23]),n=12;break;case 3:n=T<x[f[10]]?16:42;break;case 4:K=e_!==(ew=ew[M](r[96])),n=0;break;case 5:ew=ew[O];var A=f[101],M=c[2],R=h[1],C=d[1];n=36;break;case 6:var j=V[t[26]](Z),N=~(~(j&~J)&~(~j&J));J=j,Y+=c[11][l[8]](N),n=49}continue;case 3:switch(a){case 0:var P=X;n=P?6:22;break;case 1:var D=parseInt(l[89],d[87]);R=l[90]+D,n=38;break;case 2:var L=i[e[16]](s)-f[102];o+=e[10][d[39]](L),n=2;break;case 3:var z=(e_=!t[0])===(ew=U[c[67]]);z&&(z=es);var H=z;if(H){e_=U[r[94]];var G=f[95];G+=h[79],H=e_[G=(G+=l[9])[c[26]](e[1])[f[30]]()[h[4]](t[10])]}var q=H;n=q?29:37;break;case 4:T++,n=26;break;case 5:var W=!es;W||(W=!(e_=isNaN(e_=(e_=U[l[88]])[f[99]])));var K=W;n=K?0:10;break;case 6:n=C?38:11}continue;case 4:switch(a){case 0:var V=t[87],Y=d[19],J=r[0],Z=d[1];n=25;break;case 1:var X=I;n=X?3:48;break;case 2:n=void 0;break;case 3:var $=v[d[18]](b)^h[81];m+=l[29][c[35]]($),n=14;break;case 4:n=C<A[e[2]]?51:34;break;case 5:n=b<v[h[9]]?28:5;break;case 6:var Q=h[80];Q=Q[l[3]](c[2])[c[6]]()[c[7]](c[2]);var ee=f[97];ee=ee[r[19]](r[3])[r[6]]()[h[4]](d[19]),ei=(e_=eI[Q](ee))>(ew=-r[7]),n=13}continue;case 5:switch(a){case 0:et=(e_=eI[t[88]](m))>(ew=-c[3]),n=33;break;case 1:var et=ei;n=et?33:24;break;case 2:var er=es;er&&(er=g(e_=B[t[89]]));var en=er;n=en?8:40;break;case 3:var ea=q;ea||(ea=(e_=eI[l[87]](f[96]))>(ew=-c[3]));var ei=ea;n=ei?13:52;break;case 4:q=!eI,n=29;break;case 5:var eo=(e_=void l[6])===(ew=(ew=U[r[94]])[r[98]]);eo&&(eo=(e_=void r[0])===(ew=(ew=U[l[88]])[t[92]]));var ec=eo;if(ec){for(var eu=d[89],el=h[7],ef=e[0];ef<eu[e[2]];ef++){var ed=eu[d[18]](ef)-t[93];el+=c[11][c[35]](ed)}(e_=U[el])[c[79]]=B[l[93]],(e_=U[l[88]])[l[94]]=B[e[104]],e_=U[e[100]],ew=(ew=U[t[94]])[d[90]]+e[105],eS=U[h[83]];var eh=f[82];eh+=t[20]+f[105];var ep=ew+(eS=eS[eh+=t[95]]),ev=c[80];e_[ev+=h[65]]=[ep];for(var em=e[106],eg=r[3],eb=l[6];eb<em[c[12]];eb++){var ey=~(~(em[c[20]](eb)&~f[106])&~(~(em[l[7]](eb)&em[f[20]](eb))&f[106]));eg+=c[11][r[15]](ey)}ew={},(e_=U[eg])[l[68]]=ew,ec=ew}n=20;break;case 6:C++,n=36}continue;case 6:switch(a){case 0:n=(e_=P)?43:20;break;case 1:b++,n=44;break;case 2:P=(e_=eI[r[10]](c[77]))>(ew=-f[23]),n=6;break;case 3:var e_=U[Y],ew=h[1],eS=c[5],eE=f[7],ek=t[0],eI=e_[e[99]],ex=eI instanceof h[78];n=ex?1:27;break;case 4:var eO=A[r[11]](C),eT=~(~(eO&~R)&~(~eO&R));R=eO,M+=h[38][f[21]](eT),n=53}continue}}}for(var s=2;void 0!==s;){var u=7&s>>3;switch(7&s){case 0:switch(u){case 0:P=U,D=!l[6],P[d[84]]=D,C=D,s=21;break;case 1:I=(P=!t[0])===(D=U[c[67]]),s=35;break;case 2:for(var p=c[68],v=h[7],m=e[0];m<p[r[24]];m++){var b=parseInt(c[69],f[34]),y=p[f[20]](m)^c[70]+b;v+=l[29][r[15]](y)}k=(P=parseFloat(P=U[v]))<h[70],s=50;break;case 3:P=U,D=!c[5];var _=r[84];P[_+=t[71]+e[87]+c[66]+l[79]]=D,N=D,s=25;break;case 4:var w=~(~(eu[f[20]](ef)&~e[92])&~(~(eu[c[20]](ef)&eu[c[20]](ef))&parseInt(l[84],t[54])));el+=r[12][l[8]](w),s=5;break;case 5:e_=(P=(P=U[l[86]])[r[10]](r[91]))<f[7],s=33;break;case 6:throw new r[85](r[86])}continue;case 1:switch(u){case 0:var S=a[f[87]];s=S?9:11;break;case 1:var E=l[82];E+=e[88]+f[88]+e[89]+f[89],S=(P=parseFloat(P=U[E]))>=e[90],s=11;break;case 2:var k=!(P=a[f[87]]);s=k?50:16;break;case 3:var I=(P=!r[7])===(D=U[h[68]]);s=I?8:35;break;case 4:var x=e_;x&&((P=U)[f[90]]=!c[3],P=U,D=!d[1],P[d[84]]=D,x=D);var O=(P=(P=U[r[69]])[e[97]](h[77]))>(D=-e[36]);s=O?14:29;break;case 5:for(var T=c[73],A=r[3],M=h[1];M<T[f[10]];M++){var R=~(~(T[d[18]](M)&~e[95])&~(~(T[r[11]](M)&T[h[14]](M))&c[74]));A+=d[51][d[39]](R)}var C=(P=globalThis[A])!==(D=globalThis[l[85]]);s=C?0:21;break;case 6:P=!t[0];var j=d[82];j+=f[85]+h[69]+f[86]+e[86];var N=P===(D=e$[j]);s=N?24:25}continue;case 2:switch(u){case 0:var P=f[7],D=l[6],L=r[0],F=this,B=this[t[74]],U=this[c[65]],z=(P=!c[5])===(D=e$[l[78]]);s=z?22:49;break;case 1:(P=U)[h[72]]=!e[36],s=21;break;case 2:P=void e[0];var H=l[81],G=P===(D=U[H=H[l[3]](l[4])[l[69]]()[c[7]](h[7])]);G&&(G=(P=void t[0])===(D=U[l[78]])),s=(P=G)?1:21;break;case 3:for(var q=c[71],W=c[2],K=e[0];K<q[c[12]];K++){var V=parseInt(t[84],d[83]),Y=q[d[18]](K)^l[80]+V;W+=e[10][f[21]](Y)}throw new h[71](W);case 4:var J=es;J&&(J=!(P=n[t[83]])),s=(P=J)?26:21;break;case 5:var Z=f[91];Z+=f[92],s=(P=g(P=B[Z=(Z+=h[32])[f[3]](c[2])[d[5]]()[d[10]](d[19])]))?53:4;break;case 6:ee=k,s=28}continue;case 3:switch(u){case 0:var X=ed;if(!X){P=U,D=U,L=void e[0],D[e[93]]=L,P[e[91]]=L,P=U,D=!r[0];var $=r[89];P[$+=h[75]+e[94]]=D,X=D}s=41;break;case 1:var Q=S;s=Q?37:19;break;case 2:P=U,D=!r[0],P[d[84]]=D,Q=D,s=12;break;case 3:var ee=!es;s=ee?17:28;break;case 4:s=(P=I)?27:43;break;case 5:s=(P=(P=!d[1])===(D=U[r[87]]))?10:18;break;case 6:P[el]=!f[7],s=52}continue;case 4:switch(u){case 0:try{for(var et=0;void 0!==et;){var er=1&et>>1;switch(1&et){case 0:switch(er){case 0:P=B[l[68]];var en=g(P=JSON[h[74]](P));et=en?2:1;break;case 1:P=U,D=!r[0],P[e[91]]=D,en=D,et=3}continue;case 1:switch(er){case 0:P=U,D=!d[1],P[h[68]]=D,en=D,et=3;break;case 1:et=void 0}continue}}}catch(e){for(var ea=c[72],ei=r[3],eo=c[5];eo<ea[r[24]];eo++){var ec=~(~(ea[c[20]](eo)&~t[85])&~(~(ea[f[20]](eo)&ea[c[20]](eo))&t[85]));ei+=r[12][d[39]](ec)}U[ei]=!c[5]}s=52;break;case 1:s=(P=es)?6:41;break;case 2:ed=B[r[88]],s=3;break;case 3:s=(P=ee)?48:34;break;case 4:s=void 0;break;case 5:P=U;var eu=f[93],el=e[1],ef=t[0];s=13;break;case 6:P=e$[t[86]];var ed=d[85]!==P;s=ed?3:20}continue;case 5:switch(u){case 0:ef++,s=13;break;case 1:s=ef<eu[t[15]]?32:51;break;case 2:for(var eh=f[94],ep=d[19],ev=d[1],em=t[0];em<eh[t[15]];em++){em||(ev=parseInt(h[76],h[46]));var eg=eh[h[14]](em),eb=~(~(eg&~ev)&~(~eg&ev));ev=eg,ep+=c[11][h[10]](eb)}var ey=(P=(P=n[ep])[r[90]])[r[80]](),e_=(P=ey[c[75]](e[96]))>(D=-l[11]);s=e_?40:33;break;case 3:var ew=O;ew&&((P=U)[e[91]]=!h[15],P=U,D=!h[1],P[l[78]]=D,ew=D),s=(P=i)?45:36;break;case 4:P=U,D=!f[7],P[c[67]]=D,Q=D,s=12;break;case 5:P=i(),D=o;var eS=r[50];return P[eS=(eS+=l[95])[e[81]](e[1])[h[25]]()[f[5]](h[7])](D);case 6:(P=U)[l[83]]=!l[6],s=52}continue;case 6:switch(u){case 0:P=U,D=U,L=void e[0],D[h[68]]=L,P[f[90]]=L,s=(P=n[h[73]])?42:44;break;case 1:var eE=e[98];O=(P=ey[eE=eE[d[12]](r[3])[e[18]]()[h[4]](r[3])](r[92]))<r[0],s=29;break;case 2:P=U,D=!t[0],P[h[68]]=D,z=D,s=49}continue}}}function C(){function a(e){var n=l[6],a=r[0],i=e;i&&(i=e[t[97]]);var o=i;o&&(n=b,a=e[r[102]],n[d[91]]=a,o=a),g[r[103]]()}function i(){g[h[86]]()}for(var s=0;void 0!==s;){var u=3&s>>2;switch(3&s){case 0:switch(u){case 0:var p=r[0],v=f[7],m=f[7],g=o(),b=this[h[84]];p=location[l[96]];for(var y=f[107],_=d[19],w=l[6];w<y[r[24]];w++){var S=~(~(y[l[7]](w)&~r[100])&~(~(y[r[11]](w)&y[f[20]](w))&parseInt(r[101],f[76])));_+=e[10][t[17]](S)}var E=!!(p=p[_](new l[55](t[96]))),k=(p=!c[5])===(v=b[h[85]]);k&&(k=!E);var I=k;s=I?4:1;break;case 1:I=es,s=1;break;case 2:var x=t[98];return g[x=x[l[3]](e[1])[d[5]]()[h[4]](e[1])]}continue;case 1:switch(u){case 0:var O=I;O&&(O=n[e[109]]);var T=O;s=T?2:6;break;case 1:M=g[l[97]](),s=8;break;case 2:var A=c[82];A=A[c[26]](d[19])[d[5]]()[f[5]](d[19]),v=a,m=i,M=(p=n[A]).call(d[92],v,m),s=8}continue;case 2:switch(u){case 0:T=(p=n[h[73]]).call,s=6;break;case 1:var M=T;s=M?9:5}continue}}}async function j(){for(var n=7;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:u=x[d[1]],n=2;break;case 1:u=void e[0],n=2;break;case 2:var i=I;if(!i){var o=t[101];o=o[c[26]](d[19])[e[18]]()[c[7]](d[19]),x=T=C[l[3]](o),i=t[9]===T}var s=i;s||(s=(T=void e[0])===x);var u=s;n=u?4:0;break;case 3:k++,n=6}continue;case 1:switch(a){case 0:m=r[3],n=11;break;case 1:I=(T=void l[6])===C,n=8;break;case 2:O[E]=w,n=13;break;case 3:var p=A[c[85]];if(p){O=A,T=A[c[85]];var v=f[108];v=v[d[12]](e[1])[r[6]]()[r[21]](l[4]),T=(T=T[f[3]](v))[c[5]],O[d[91]]=T,p=T}return et[c[86]]()}continue;case 2:switch(a){case 0:var m=u;n=m?11:1;break;case 1:n=k<S[f[10]]?10:9;break;case 2:var g=S[l[7]](k)-parseInt(e[110],c[84]);E+=r[12][l[8]](g),n=12;break;case 3:var b=await y(eg);O=A;var _=r[104],w=A[_=_[r[19]](r[3])[h[25]]()[t[6]](r[3])];w||(w=b);var S=d[94],E=l[4],k=r[0];n=6}continue;case 3:switch(a){case 0:O=A;var I=h[16]===C;n=I?8:5;break;case 1:for(var x,O=e[0],T=l[6],A=(t[0],this[e[83]]),M=c[83],R=A[M+=d[93]],C=R=R?await y(em):h[7],j=t[100],N=f[2],P=r[0];P<j[t[15]];P++){var D=~(~(j[t[26]](P)&~l[98])&~(~(j[r[11]](P)&j[e[16]](P))&l[98]));N+=e[10][e[29]](D)}var L=A[N];L&&(L=C),n=(O=L)?3:14;break;case 2:O[l[99]]=m,n=13}continue}}}function N(r){d[1];var a=l[101],i=this[a+=t[102]+f[109]],o=i[c[87]];if(o){var s=e[111];o=i[s=s[f[3]](d[19])[d[5]]()[c[7]](d[19])]}var u=o;if(u){var p=h[65];p+=c[88],u=n[p=(p+=h[88])[t[8]](t[10])[f[30]]()[c[7]](d[19])]}var v=u;v&&(v=n[d[95]][f[110]]),v?i[h[89]](r):r()}function P(n){function a(){return E[c[90]]()}function i(){return E[l[102]]()}async function o(){function n(n){function a(){for(var a=E[e[14]],i=d[102],o=f[2],s=f[7],u=r[0];u<i[r[24]];u++){if(!u){var p=t[112];s=parseInt(t[113],r[112])+p}var v=i[t[26]](u),m=v^s;s=v,o+=d[51][l[8]](m)}a[o]=l[0];var g=t[20];g+=l[110]+r[113],(a=E[g=(g+=e[120])[l[3]](h[7])[l[69]]()[h[4]](c[2])])[t[114]]=f[119],n()}for(var i=0;void 0!==i;){var o=1&i>>1;switch(1&i){case 0:switch(o){case 0:var s=e[0],u=a,p=(s=E[d[103]])[e[121]];i=p?2:1;break;case 1:var v=l[111];s=(s=E[v=v[l[3]](h[7])[h[25]]()[t[6]](r[3])])[r[114]];for(var m=f[120],g=r[3],b=r[0];b<m[f[10]];b++){var y=d[104],_=m[f[20]](b)-(y-parseInt(r[115],f[121]));g+=f[4][d[39]](_)}s=s[g](u);for(var w=l[112],S=t[10],k=t[0];k<w[t[15]];k++){var I=w[l[7]](k)-r[116];S+=e[10][d[39]](I)}p=s[S](u),i=3}continue;case 1:switch(o){case 0:p=n(),i=3;break;case 1:i=void 0}continue}}}for(var a=16;void 0!==a;){var i=7&a>>3;switch(7&a){case 0:switch(i){case 0:O=!d[1];for(var o=t[104],s=c[2],u=f[7];u<o[f[10]];u++){var p=~(~(o[d[18]](u)&~parseInt(c[94],r[62]))&~(~(o[e[16]](u)&o[h[14]](u))&d[97]));s+=t[33][t[17]](p)}var v=O===(T=k[s]);v||(v=(O=!e[0])===(T=k[d[98]]));var m=v;if(m){for(var g=l[103],b=d[19],y=d[1];y<g[d[13]];y++){var _=~(~(g[l[7]](y)&~f[115])&~(~(g[t[26]](y)&g[f[20]](y))&l[104]));b+=e[10][h[10]](_)}m=(O=N[l[87]](b))>(T=-d[8])}eu=m,a=1;break;case 1:O=em,T=k[c[101]],await S(O,T,c[102]),O=eg,T=k[f[123]];var w=f[124];w+=e[123]+c[103]+f[36],A=k[w],await S(O,T,A);var I=l[116];I+=h[98]+r[118]+f[125],O=k[I],T=k[l[117]];var x=r[119];x=x[h[8]](d[19])[t[46]]()[d[10]](d[19]),el=await S(x,O,T),a=19;break;case 2:var O=h[1],T=e[0],A=r[0],M=e[0],R=c[5],C=d[1],j=k[l[88]],N=j[c[92]],P=N instanceof c[93];a=P?24:18;break;case 3:N=O=N[d[10]](e[115]),P=O,a=18;break;case 4:return E[t[118]](K)}continue;case 1:switch(i){case 0:var D=eu;D||(D=(O=N[e[97]](t[105]))>(T=-d[8])),a=(O=D)?17:11;break;case 1:G=h[1],a=33;break;case 2:O=k;for(var L=l[105],F=l[4],B=l[6];B<L[d[13]];B++){var U=L[e[16]](B)-t[106];F+=r[12][l[8]](U)}var z=k[F];z||(z=d[99]);var H=d[100];O[H=H[c[26]](l[4])[c[6]]()[l[22]](r[3])]=z,O=k;var G=k[c[95]];a=G?33:9;break;case 3:var q=[];O=E[l[100]];var W=r[108];W+=d[101]+h[93]+r[109]+c[96],T=E[W],A=E[t[108]],M=E[l[108]],R=E[e[118]],q[t[109]](O,T,A,M,R);var K=q;O=!e[0];var V=l[10];V+=r[110]+c[97]+h[94];var Y=O===(T=k[V]);if(Y){O=(O=E[t[110]])[h[95]];for(var J=r[111],Z=h[7],X=c[5];X<J[c[12]];X++){var $=J[l[7]](X)-c[98];Z+=h[38][h[10]]($)}Y=O!==(T=E[Z])}a=(O=Y)?2:32;break;case 4:var Q=l[10];Q+=r[107]+h[91],O[Q=(Q+=e[116])[c[26]](r[3])[c[6]]()[r[21]](l[4])]=G;var ee=l[106],et=k[ee+=e[117]+l[107]+r[4]+t[107]];a=et?10:27}continue;case 2:switch(i){case 0:O=E[f[117]];var er=l[109];er+=h[96]+e[119]+f[118],a=(O=O[er+=t[111]])?3:34;break;case 1:O=k[f[116]]=k[c[95]]+d[8];var en=h[92];et=O<(T=k[en=en[c[26]](t[10])[e[18]]()[h[4]](e[1])]),a=27;break;case 2:for(var ea=f[112],ei=r[3],eo=r[0];eo<ea[h[9]];eo++){var es=f[113],ec=ea[d[18]](eo)-(es-parseInt(f[114],t[54]));ei+=r[12][d[39]](ec)}var eu=(O=N[c[75]](ei))>(T=-c[3]);a=eu?1:0;break;case 3:var el=(O=k[d[107]])>t[0];a=el?8:19;break;case 4:(O=E[f[117]])[l[114]]=E[t[117]],O=E[f[117]];var ef=d[106];ef+=r[117]+l[115],O[ef=(ef+=e[122])[d[12]](l[4])[c[6]]()[h[4]](h[7])]=E[c[100]],a=32}continue;case 3:switch(i){case 0:var ed=[];O=n,T=E[t[115]],A=E[d[105]],M=E[c[99]],R=E[t[116]],C=E[f[122]];var eh=h[97];ed[eh=(eh+=l[113])[r[19]](h[7])[e[18]]()[l[22]](h[7])](O,T,A,M,R,C),K=ed,a=32;break;case 1:a=void 0;break;case 2:O=j;var ep=c[80];O[ep+=f[126]+l[118]]=e2[c[104]],a=11;break;case 3:a=(O=et)?25:26}continue}}}for(var s=6;void 0!==s;){var u=3&s>>2;switch(3&s){case 0:switch(u){case 0:s=m<p[d[13]]?1:2;break;case 1:_=a,_=eJ[c[91]](_),w=i;var p=e[114],v=h[7],m=l[6];s=0;break;case 2:m++,s=0}continue;case 1:switch(u){case 0:var g=r[106],b=p[r[11]](m)-(t[103]+g);v+=r[12][f[21]](b),s=8;break;case 1:s=(_=(_=!d[1])!==(w=k[r[105]]))?4:10;break;case 2:I=delete k[e[113]],s=5}continue;case 2:switch(u){case 0:_=_[v](w);var y=f[111];return w=o,_=(_=_[y+=h[90]](n))[t[48]](w);case 1:var _=h[1],w=d[1],E=this,k=this[d[96]];this[c[89]];var I=k[d[91]];s=I?9:5;break;case 2:n(),s=void 0}continue}}}function D(a){function i(n){function a(e,t){return c[5],h[1],~(~(e<<t)&~(e>>>c[116]-t))}function i(n,a){for(var i=2;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:S=u,i=1;break;case 1:var s=~(~(e[130]&b)&~(r[128]&b));u=s=s?(_=~(~(l[123]&~b)&~(~c[119]&b))^(w=m))^(w=g):(_=~(~((_=~(~(t[129]&~b)&~(~r[128]&b)))&~(w=m))&~(~_&w)))^(w=g),i=0;break;case 2:u=~(~((_=b^m)&~(w=g))&~(~_&w)),i=0}continue;case 1:switch(o){case 0:return S;case 1:var u=p|v;i=u?4:8;break;case 2:S=(_=~(~((_=~(~(f[131]&~b)&~(~e[129]&b)))&~(w=m))&~(~_&w)))^(w=g),i=1}continue;case 2:if(0===o){var p,v,m,g,b,y=t[127],_=t[0],w=h[1];m=~(~(r[127]&n)&~(parseInt(f[130],t[128])&n)),g=parseInt(c[117],c[13])&a,b=(_=d[114]+y&n)+(w=~(~(h[105]&a)&~(l[122]&a))),p=_=~(~(parseInt(c[118],h[46])&n)&~(parseInt(d[115],d[83])&n)),v=w=~(~(d[116]&a)&~(t[129]&a));var S=_&w;i=S?9:5}continue}}}function o(t,r,n,o,s,u,f){var d=t,h=c[5];return c[5],h=i(h=(h=function(t,r,n){var a=e[0],i=l[6];return~(~(t&r)&~(a=~(~((a=~t)&(i=n))&~(a&i))))})(r,n,o),s),h=i(h,f),t=i(d,h),d=i(d=a(t,u),h=r)}function s(e,t,n,o,s,u,f){var d=e,h=c[5];return c[5],h=i(h=(h=function(e,t,n){var a=l[6],i=r[0];return~(~~(~(e&n)&~(e&n))&~(a=~(~((a=t)&(i=~n))&~(a&i))))})(t,n,o),s),h=i(h,f),e=i(d,h),d=i(d=a(e,u),h=t)}function u(e,r,n,o,s,c,u){var l=e,h=t[0];return f[7],h=i(h=(h=function(e,t,r){return d[1],e^t^r})(r,n,o),s),h=i(h,u),e=i(l,h),l=i(l=a(e,c),h=r)}function p(e,n,o,s,c,u,f){var d=e,h=r[0];return l[6],h=i(h=(h=function(e,n,a){var i=r[0];return t[0],~(~(n&~(i=e|~a))&~(~n&i))})(n,o,s),c),h=i(h,f),e=i(d,h),d=i(d=a(e,u),h=n)}function v(n){for(var a=0;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:var o,s=c[5],u=c[5],p=d[1],v=l[4],m=f[2];o=d[1];var g=r[0],b=e[40],y=e[131],_=h[91],w=_+=h[106]+t[130],S=t[131],E=c[2],k=l[6];a=6;break;case 1:var I=e[132],x=S[l[7]](k)-(t[132]+I);E+=l[29][t[17]](x),a=13;break;case 2:s=v,p=(m=u=y+(u=(u=n>>>(p=c[13]*o)&O-l[124])[b](c[84])))[w],a=10;break;case 3:a=3}continue;case 1:switch(i){case 0:var O=r[129];a=g?14:5;break;case 1:g=f[23],a=(s=o<=h[107])?8:12;break;case 2:a=r[7]?1:3;break;case 3:k++,a=6}continue;case 2:switch(i){case 0:var T=E;a=9;break;case 1:a=k<S[l[44]]?4:2;break;case 2:p-=t[54],v=s+(u=u[T](p,h[29])),a=9;break;case 3:o+=d[8],a=5}continue;case 3:if(0===i)return v;continue}}}function m(n){for(var a=0;void 0!==a;){var i=7&a>>3;switch(7&a){case 0:switch(i){case 0:var o=h[1],s=e[0],u=e[133];u+=l[125]+h[102];var p=d[117],v=l[4],m=f[7];a=32;break;case 1:o=I,s=~(~(s=b>>h[109])&~t[135]);var g=t[136];g=g[d[12]](t[10])[c[6]]()[t[6]](r[3]),o=I=o+(s=h[38][g](s)),s=~(~(s=~(~(parseInt(c[121],l[20])&b)&~(t[137]&b)))&~h[110]),I=o+=s=t[33][r[15]](s),S=o,a=26;break;case 2:var b=n[A](x),y=b<_-f[132];a=y?3:10;break;case 3:var _=parseInt(t[134],l[20]);O&&(x+=e[36]),O=l[11],a=(o=(o=x)<(s=n[T]))?16:11;break;case 4:a=m<p[h[9]]?9:34}continue;case 1:switch(i){case 0:m++,a=32;break;case 1:var w=p[l[7]](m)^parseInt(l[126],r[130]);v+=h[38][l[8]](w),a=1;break;case 2:var S=k;a=S?8:2;break;case 3:k=b<c[120],a=17;break;case 4:return I}continue;case 2:switch(i){case 0:var E=l[127];o=I,s=~(~(s=b>>E-c[122])&~r[131]),o=I=o+(s=h[38][h[10]](s)),s=~(~((s=b>>c[123])&d[120])&~(s&h[111]))|E-r[132],o=I=o+(s=c[11][l[8]](s)),s=~(~(s=~(~(d[120]&b)&~(t[137]&b)))&~e[134]),I=o+=s=h[38][t[17]](s),S=o,a=26;break;case 1:var k=b>d[119];a=k?25:17;break;case 2:a=l[11]?24:33;break;case 3:y=S,a=18;break;case 4:n=n[h[108]](new t[133](u,v),d[118]);var I=t[10],x=c[5],O=f[7],T=e[2],A=f[20],M=c[35];a=18}continue;case 3:switch(i){case 0:I=o=I+(s=h[38][M](b)),y=o,a=18;break;case 1:a=33}continue}}}function g(n){for(var a=1;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:v=n[S](w)<<_,s[u]=p|v,w+=f[23],a=8;break;case 1:_=(s=w%l[128])*h[13],s=y,p=y[u=(w-(p=w%t[139]))/c[124]],a=0;break;case 2:a=f[23]?5:6}continue;case 1:switch(i){case 0:var o=t[138],s=t[0],u=l[6],p=d[1],v=f[7],m=(f[7],n[t[15]]),g=m+l[20];s=(g-(u=g%f[133]))/(o-parseInt(f[134],c[84]))+l[11];var b=f[76]*s;s=b-h[15];var y=new t[3](s),_=c[5],w=r[0],S=e[16];a=8;break;case 1:a=(s=w<m)?4:2;break;case 2:return v=o-c[125]<<_,s[u]=~(~p&~v),(s=y)[u=b-h[29]]=m<<f[135],(s=y)[u=b-r[7]]=m>>>o-parseInt(l[129],r[62]),s=y}continue;case 2:switch(i){case 0:a=6;break;case 1:_=(s=w%t[139])*t[140],s=y,p=y[u=(w-(p=w%d[121]))/e[135]],a=9}continue}}}for(var b=24;void 0!==b;){var y=7&b>>3;switch(7&b){case 0:switch(y){case 0:O=C=u(C,j,N,P,D=_[D],parseInt(d[124],l[20]),l[144]),x=p(R,C,j=T,N=A,P=_[P=w+e[0]],h[109],parseInt(c[143],t[54])),R=A,b=42;break;case 1:x=p(R=x,C=O,j=T,N=A,P=_[P=w+t[144]],h[109],r[153]),R=A,C=x,j=O,b=6;break;case 2:O=o(R,C,j,N,P,h[116],d[127]),x=o(R=x,C=O,j=T,N=A,P=_[P=w+r[135]],parseInt(h[117],c[23]),h[118]),R=A,C=x,b=39;break;case 3:var _,w,S,E,k,I,x,O,T,A,M=e[128],R=c[5],C=r[0],j=e[0],N=r[0],P=e[0],D=e[0];n=(R=m)(n),_=(R=g)(n),x=t[141]+M,O=f[136]+M,T=parseInt(c[126],l[57]),A=c[127],w=e[0];var L=d[1],F=t[15],B=(h[112],e[136],f[137]);B=B[l[3]](l[4])[e[18]]()[t[6]](c[2]),d[122],e[137],f[138],d[123],d[124],h[113],f[139],b=59;break;case 4:A=u(R,C,j,N,P,r[142],e[144]),T=u(R=T,C=A,j=x,N=O,P=_[P=w+(Z-c[140])],parseInt(d[138],l[25]),r[143]),R=O,C=T,b=35;break;case 5:A=o(R,C,j,N,P=_[P],f[143],t[148]),T=o(R=T,C=A,j=x,N=O,P=_[P=w+(Y-t[149])],c[130],h[119]),R=O,b=7;break;case 6:T=p(R,C,j,N,P=_[P=w+(X-c[144])],f[155],f[156]),O=p(R=O,C=T,j=A,N=x,P=_[P=w+f[147]],t[154],r[152]),b=8;break;case 7:O=p(R,C=T,j=A,N=x,P=_[P=w+($-l[149])],parseInt(h[134],c[13]),f[160]),x=i(x,S),O=i(O,E),T=i(T,k),A=i(A,I),b=59}continue;case 1:switch(y){case 0:W++,b=19;break;case 1:return(R=v(x)+(C=v(O))+(C=v(T))+(C=v(A)))[c[149]]();case 2:x=p(R,C,j=T,N=A,P=_[P=w+r[130]],t[146],l[146]),R=A,C=x,j=O,N=T,P=w+parseInt(t[155],r[62]),b=23;break;case 3:T=o(R,C,j,N,P=_[P],d[128],r[136]),O=o(R=O,C=T,j=A,N=x,P=_[P=w+t[147]],parseInt(d[129],f[100]),parseInt(l[132],f[34])),R=x,C=O,b=33;break;case 4:x=o(R,C,j=T,N=A,P=_[P=w+f[121]],parseInt(d[130],d[72]),f[142]),R=A,C=x,j=O,N=T,P=w+(J-parseInt(c[128],c[129])),b=40;break;case 5:A=o(R=A,C=x,j=O,N=T,P=_[P=w+c[3]],e[138],parseInt(l[130],t[128])),R=T,C=A,j=x,b=60;break;case 6:b=er?3:45;break;case 7:x=u(R,C,j,N,P=_[P],parseInt(h[129],t[54]),f[152]),A=u(R=A,C=x,j=O,N=T,P=_[P=w+t[139]],l[141],r[144]),R=T,b=51}continue;case 2:switch(y){case 0:x=p(R,C,j=T,N=A,P=_[P=w+l[128]],f[159],e[151]),R=A,C=x,j=O,N=T,P=w+c[148],b=58;break;case 1:T=u(R,C,j,N=O,P=_[P=w+(Y-parseInt(l[143],f[34]))],h[132],h[133]),R=x,C=O,j=T,N=A,P=x,D=w+e[64],b=0;break;case 2:x=u(R,C,j,N,P=_[P],parseInt(l[142],d[72]),d[143]),A=u(R=A,C=x,j=O,N=T,P=_[P=w+(Y-d[144])],parseInt(h[131],t[54]),r[151]),R=T,C=A,j=x,b=10;break;case 3:x=s(R,C,j,N,P=_[P],l[131],d[131]),A=s(R=A,C=x,j=O,N=T,P=_[P=w+d[132]],c[134],e[139]),R=T,b=50;break;case 4:er++,b=37;break;case 5:A=p(R,C=x,j=O,N=T,P=_[P=w+e[146]],c[129],f[154]),R=T,C=A,j=x,N=O,b=48;break;case 6:T=s(R,C=A,j=x,N=O,P=_[P=w+parseInt(d[133],t[128])],r[138],f[146]),R=O,C=T,j=A,N=x,b=30;break;case 7:A=p(R,C,j,N,P=_[P],f[100],t[157]),T=p(R=T,C=A,j=x,N=O,P=_[P=w+r[62]],r[156],l[148]),R=O,b=56}continue;case 3:switch(y){case 0:var U=Q[f[20]](er),z=~(~(U&~et)&~(~U&et));et=U,ee+=l[29][r[15]](z),b=34;break;case 1:T=p(R,C,j,N,P,parseInt(r[154],c[129]),l[145]),O=p(R=O,C=T,j=A,N=x,P=_[P=w+d[8]],c[145],parseInt(c[146],h[46])),R=x,C=O,b=17;break;case 2:b=W<H[e[2]]?62:14;break;case 3:O=s(R,C,j,N,P,parseInt(l[136],h[29]),l[137]),x=s(R=x,C=O,j=T,N=A,P=_[P=w+c[134]],r[139],e[141]),R=A,C=x,b=52;break;case 4:O=u(R,C,j=A,N=x,P=_[P=w+(Z-h[127])],parseInt(h[128],d[60]),f[151]),R=x,C=O,j=T,N=A,P=w+f[23],b=57;break;case 5:x=u(R,C,j=T,N=A,P=_[P=w+(X-t[152])],d[121],t[153]),R=A,C=x,j=O,N=T,P=w+c[5],b=4;break;case 6:C=A,j=x,N=O,P=_[P=w+f[153]];var H=r[145],G=l[4],q=t[0],W=e[0];b=19;break;case 7:b=c[3]?36:9}continue;case 4:switch(y){case 0:A=u(R,C,j,N,P=_[P],parseInt(r[147],c[13]),r[148]),T=u(R=T,C=A,j=x,N=O,P=_[P=w+h[107]],parseInt(c[142],t[140]),e[145]),R=O,b=53;break;case 1:var K=H[f[20]](W),V=K^q;q=K,G+=e[10][h[10]](V),b=1;break;case 2:T=s(R,C,j,N=O,P=_[P=w+c[135]],parseInt(c[136],e[3]),e[140]),R=O,C=T,j=A,N=x,P=_[P=w+e[135]],b=27;break;case 3:b=9;break;case 4:var Y=h[114],J=h[115],Z=t[142],X=d[125],$=r[133];L&&(w+=d[60]),L=r[7],b=(R=(R=w)<(C=_[F]))?22:28;break;case 5:O=C=s(C=O,j=T,N=A,P=x,D=_[D=w+parseInt(c[139],r[62])],parseInt(h[124],l[57]),h[125]),j=T,b=61;break;case 6:A=s(R,C,j=O,N=T,P=_[P=w+(J-d[135])],parseInt(r[61],h[13]),parseInt(r[140],e[12])),R=T,C=A,j=x,N=O,P=w+d[136],b=46;break;case 7:T=o(R,C,j,N=O,P=_[P=w+c[23]],t[143],parseInt(d[126],c[84])),R=O,C=T,j=A,N=x,P=_[P=w+parseInt(f[141],f[34])],b=16}continue;case 5:switch(y){case 0:A=s(R,C,j,N,P=_[P=w+t[54]],f[150],e[142]),T=s(R=T,C=A,j=x,N=O,P=_[P=w+l[140]],h[123],r[141]),R=x,b=44;break;case 1:x=s(R,C=O,j=T,N=A,P=_[P=w+(X-parseInt(d[137],h[46]))],d[99],parseInt(c[138],l[139])),R=A,C=x,j=O,N=T,b=5;break;case 2:T=o(R=T,C=A,j=x,N=O,P=_[P=w+c[133]],parseInt(l[133],c[84]),t[151]),R=x,C=O,j=T,b=29;break;case 3:O=C=o(C,j,N=A,P=x,D=_[D=w+(J-f[145])],r[137],parseInt(h[121],r[62])),j=T,N=A,P=w+t[64],b=26;break;case 4:b=er<Q[r[24]]?49:15;break;case 5:et=parseInt(l[147],e[3])-parseInt(t[156],r[62]),b=3;break;case 6:O=u(R,C=T,j=A,N=x,P=_[P=w+t[146]],d[142],r[149]),R=x,C=O,j=T,N=A,P=w+($-r[150]),b=18;break;case 7:x=u(R,C,j,N=A,P=_[P=w+d[99]],h[126],e[143]),R=A,C=x,j=O,N=T,P=_[P=w+c[13]],b=32}continue;case 6:switch(y){case 0:A=p(R,C,j,N=T,P=_[P=w+t[112]],r[112],parseInt(e[147],f[76])),R=T,C=A,j=x,N=O,P=_[P=w+h[46]],b=11;break;case 1:T=u(R,C,j,N,P,parseInt(G,e[28]),parseInt(c[141],e[28])),O=u(R=O,C=T,j=A,N=x,P=_[P=w+(Z-d[141])],d[142],h[130]),R=x,C=O,b=43;break;case 2:S=x,E=O,k=T,I=A,x=o(R=x,C=O,j=T,N=A,P=_[P=w+t[0]],r[134],parseInt(f[140],e[3])),b=41;break;case 3:O=s(R,C,j,N,P=_[P=w+f[7]],l[134],parseInt(d[134],f[100])),x=s(R=x,C=O,j=T,N=A,P=_[P=w+f[147]],l[131],l[135]),b=54;break;case 4:x=o(R,C,j,N,P=_[P=w+f[143]],parseInt(d[130],d[72]),h[120]),A=o(R=A,C=x,j=O,N=T,P=_[P=w+parseInt(c[132],d[83])],e[138],f[144]),b=21;break;case 5:T=s(R,C,j,N,P=_[P],r[138],parseInt(f[149],h[13])),O=s(R=O,C=T,j=A,N=x,P=_[P=w+parseInt(t[36],r[130])],parseInt(c[137],e[12]),parseInt(l[138],r[62])),R=x,b=13;break;case 6:A=s(R=A,C=x,j=O,N=T,P=_[P=w+f[100]],parseInt(h[122],d[87]),f[148]),R=T,C=A,j=x,b=20;break;case 7:b=W?12:31}continue;case 7:switch(y){case 0:O=o(R,C=T,j=A,N=x,P=_[P=w+($-c[131])],h[116],t[150]),R=x,C=O,j=T,N=A,b=38;break;case 1:T=p(R,C,j,N,P,e[149],parseInt(ee,d[87])),O=p(R=O,C=T,j=A,N=x,P=_[P=w+r[155]],f[158],e[150]),R=x,C=O,b=2;break;case 2:A=p(R,C,j,N,P=_[P],parseInt(e[148],f[100]),parseInt(f[157],c[129])),R=T,C=A,j=x,N=O,P=_[P=w+t[146]];var Q=c[147],ee=l[4],et=e[0],er=d[1];b=37;break;case 3:var en=parseInt(d[139],r[146]);q=d[140]+en,b=12;break;case 4:A=o(R,C,j=O,N=T,P=_[P=w+l[131]],t[144],parseInt(t[145],c[23])),R=T,C=A,j=x,N=O,P=w+t[146],b=25}continue}}}function o(r){for(var n=1;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:v=eu,m=r,g=z[r],v[m]=g,u=g,n=5;break;case 1:var i=w;i&&(i=t[159]!==r);var o=i;o&&(o=l[151]!==r);var s=o;n=s?10:8;break;case 2:var u=s;n=u?0:5}continue;case 1:switch(a){case 0:var p,v=t[0],m=f[7],g=f[7],b=(v=void c[5])===(m=eu[r]);n=b?9:6;break;case 1:n=void 0;break;case 2:b=(v=void h[1])===(m=W[r]),n=6}continue;case 2:switch(a){case 0:w=d[146]!==r,n=4;break;case 1:var y=b;y&&(y=l[150]!==r);var _=y;_&&(_=c[150]!==r);var w=_;n=w?2:4;break;case 2:v=-c[3];var S=e0;S||(S={}),m=S;var E=d[147];E+=f[162]+l[10],p=m=l[12][E](m);var k=e[17]===m;k||(k=(m=void d[1])===(g=p));var I=k;s=v===(m=I=I?void h[1]:p[l[87]](r)),n=8}continue}}}function s(r){var n=eu,a=t[0],i=h[1];a=r,i=z[e[157]],n[a]=i[r]}for(var u=42;void 0!==u;){var p=7&u>>3;switch(7&u){case 0:switch(p){case 0:eN=tn,u=59;break;case 1:for(var m=d[149],g=d[19],b=t[0],y=d[1];y<m[l[44]];y++){if(!y){var _=e[159];b=e[160]+_}var w=m[l[7]](y),S=w^b;b=w,g+=l[29][h[10]](S)}var E=G[g];E||(E=G[f[167]]);var k=E;u=k?1:48;break;case 2:u=M<T[h[9]]?25:17;break;case 3:ta=delete eu[d[154]],u=32;break;case 4:var I=G[d[155]];u=I?15:63;break;case 5:B=G,U=eK[r[69]],B[h[99]]=U,eZ=U,u=36;break;case 6:var x=c[155];x+=t[163];var O=G[x=(x+=t[164])[h[8]](e[1])[f[30]]()[h[4]](r[3])];u=O?43:46;break;case 7:e4++,u=3}continue;case 1:switch(p){case 0:B=eu,U=e[161];var T=c[153],A=c[2],M=t[0];u=16;break;case 1:eG=l[4],u=19;break;case 2:B[A]=U,k=U,u=2;break;case 3:var R=T[t[26]](M)^c[154];A+=c[11][r[15]](R),u=53;break;case 4:var C=G[d[151]];u=C?20:47;break;case 5:tn=es,u=0;break;case 6:eo++,u=34;break;case 7:(B=G)[t[170]]=eu,(B=G)[d[157]]=W,B=G;var j=c[159],N=t[10],P=e[0];u=61}continue;case 2:switch(p){case 0:tn=k,u=0;break;case 1:K={},u=54;break;case 2:var D=G[h[138]];if(D)B=eu,U=t[161],B[r[83]]=U,D=U;else{var L=G[f[164]];L||(L=G[f[165]]);var F=L;F&&(B=eu,U=l[154],B[t[162]]=U,F=U),D=F}eq=D,u=52;break;case 3:ep++,u=62;break;case 4:u=eo<ea[c[12]]?28:35;break;case 5:var B=d[1],U=e[0],z=(h[1],this[t[74]]),H=c[105];H+=d[108];var G=this[H=(H+=t[119])[f[3]](e[1])[l[69]]()[f[5]](h[7])],q=z[h[99]];u=q?29:7;break;case 6:el[ed]=z[h[136]];var W=el,K=z;u=K?54:10;break;case 7:B[N]=X,u=6}continue;case 3:switch(p){case 0:u=e4<e1[r[24]]?13:44;break;case 1:P++,u=61;break;case 2:B=eG;var V=h[104];B=(V=V[d[12]](t[10])[d[5]]()[f[5]](f[2]))+B;var Y=G[e[126]];B+=(U=Y=Y?(U=G[f[128]])+c[113]:r[3])+(U=G[h[99]])+l[119],U=z[c[79]];var J=d[111];J+=r[123]+r[124],B+=(U=U[J+=c[114]]())+t[124],U=z[d[112]];var Z=t[125],X=(B+=U=U[Z=Z[l[3]](e[1])[h[25]]()[r[21]](r[3])]())+r[125],$=z[d[113]];if(!$){B=G[e[126]];var Q=c[115]===B;$=Q=Q?l[120]:r[126]}var ee=$,et=(B=new d[52])[l[121]](),er={};er[t[126]]=e[127],er[f[129]]=ee,er[d[111]]=et,B=i,U=G[t[97]]+f[161]+et;var en=f[161];U+=(en=en[c[26]](d[19])[l[69]]()[f[5]](e[1]))+ee;var ea=e[152],ei=l[4],eo=c[5];u=34;break;case 3:B=z[c[156]];var es=t[165]===B;u=es?33:41;break;case 4:U+=ei;var ec=e[154];ec+=d[145],U+=z[ec],er[r[158]]=B(U);var eu=er,el={};el[h[135]]=z[l[68]];var ef=e[155],ed=r[3],eh=e[0],ep=d[1];u=62;break;case 5:var ev=O;ev&&(B=eu,U=h[139],B[l[67]]=U,ev=U),k=ev,u=2;break;case 6:ep||(eh=t[158]);var em=ef[t[26]](ep),eg=em^eh;eh=em,ed+=l[29][f[21]](eg),u=26;break;case 7:B=!h[1];var eb=t[167];eb+=f[169]+h[102]+e[162]+d[153];var ey=B===(U=G[eb+=l[118]]);u=ey?4:31}continue;case 4:switch(p){case 0:B=eu[t[162]],ey=t[168]===B,u=31;break;case 1:B=eu,U=h[62];var e_=h[137];B[e_+=l[153]]=U,eq=U,u=52;break;case 2:var ew=C;if(ew){B=eu;var eS=t[166];eS+=t[5],U=eS+=l[156];var eE=f[168];B[eE=(eE+=r[164])[r[19]](f[2])[l[69]]()[h[4]](t[10])]=U,ew=U}else{for(var ek=l[157],eI=l[4],ex=r[0];ex<ek[r[24]];ex++){var eO=~(~(ek[c[20]](ex)&~d[152])&~(~(ek[d[18]](ex)&ek[h[14]](ex))&l[158]));eI+=f[4][l[8]](eO)}var eT=G[eI];eT||(eT=G[l[159]]);var eA=eT;if(eA){B=eu;var eM=c[157];U=eM=(eM+=h[140])[e[81]](r[3])[l[69]]()[d[10]](c[2]),B[h[141]]=U,eA=U}ew=eA}es=ew,u=41;break;case 3:var eR=~(~(ea[d[18]](eo)&~e[153])&~(~(ea[t[26]](eo)&ea[d[18]](eo))&r[157]));ei+=e[10][r[15]](eR),u=49;break;case 4:u=(B=(B=!l[6])===(U=G[l[78]]))?37:6;break;case 5:var eC=z[e2];u=eC?5:21;break;case 6:B=void l[6];var ej=f[166],eN=B!==(U=z[ej=ej[t[8]](d[19])[d[5]]()[t[6]](t[10])]);u=eN?23:59;break;case 7:eG=(B=G[r[122]])+l[36],u=19}continue;case 5:switch(p){case 0:var eP=c[151];B=z[eP=eP[f[3]](h[7])[d[5]]()[r[21]](t[10])],U=s,eC=(B=t[22][e[156]](B))[d[148]](U),u=21;break;case 1:e4||(e3=f[163]);var eD=e1[c[20]](e4),eL=~(~(eD&~e3)&~(~eD&e3));e3=eD,e2+=d[51][f[21]](eL),u=56;break;case 2:var eF=t[160],eB=f[2],eU=h[1];u=38;break;case 3:B=G;var ez=t[120];U=z[ez=ez[c[26]](h[7])[d[5]]()[e[46]](l[4])];var eH=e[124];eH+=h[100]+r[120],B[eH=(eH+=h[101])[l[3]](e[1])[f[30]]()[e[46]](e[1])]=U,q=U,u=7;break;case 4:var eG=G[d[110]];u=eG?60:9;break;case 5:var eq=G[eB];u=eq?12:18;break;case 6:M++,u=16;break;case 7:u=P<j[r[24]]?30:58}continue;case 6:switch(p){case 0:a(),u=void 0;break;case 1:var eW=c[109],eK=(B=G[eW=eW[r[19]](r[3])[f[30]]()[e[46]](t[10])])[U=(U=n[f[63]])[e[125]]],eV=eK[t[122]];eV&&(B=G,U=eK[r[122]],B[f[127]]=U,eV=U);var eY=eK[t[123]];eY&&(B=G,U=eK[c[110]],B[f[128]]=U,eY=U);var eJ=d[109],eZ=eK[eJ+=c[111]+h[102]+c[112]+h[103]];u=eZ?40:36;break;case 2:var eX=c[158];X+=eX+=f[170],ts=v(),u=57;break;case 3:var e$=t[171],eQ=j[d[18]](P)-(l[161]+e$);N+=t[33][c[35]](eQ),u=11;break;case 4:u=eU<eF[t[15]]?55:45;break;case 5:O=G[d[150]],u=43;break;case 6:B=K,U=o,(B=t[22][e[156]](B))[l[152]](U);var e1=r[159],e2=l[4],e3=f[7],e4=t[0];u=3;break;case 7:u=ep<ef[c[12]]?51:50}continue;case 7:switch(p){case 0:var e6=G[c[106]];if(e6){B=G[c[106]],U=n[f[63]];var e8=c[107];e8+=t[5]+t[121]+t[107]+r[121],e6=B[U=U[e8+=c[108]]]}u=(B=e6)?14:36;break;case 1:for(var e5=l[160],e7=l[4],e9=h[1];e9<e5[f[10]];e9++){var te=r[165],tt=e5[h[14]](e9)-(parseInt(e[163],h[29])+te);e7+=r[12][t[17]](tt)}X=B=G[e7]+r[166]+(U=X),I=B,u=63;break;case 2:var tr=r[161];tr+=e[158]+r[162]+r[38],B=z[tr];var tn=l[155]===B;u=tn?8:27;break;case 3:var ta=ey;u=ta?24:32;break;case 4:eU++,u=38;break;case 5:C=G[r[163]],u=20;break;case 6:var ti=c[152],to=eF[c[20]](eU)-(r[160]+ti);eB+=c[11][d[39]](to),u=39;break;case 7:B=z[t[169]];var ts=d[156]===B;u=ts?22:57}continue}}}function L(e){e()}function F(n){function a(n){function a(){var t=globalThis;l[6],t[I]=void e[0];try{delete globalThis[I]}catch(e){}}for(var i=0;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:var s=e[0];d[1],x&&clearTimeout(x);var u=M[d[158]];i=u?1:5;break;case 1:i=void 0;break;case 2:(s=globalThis)[I]=void l[6];try{delete globalThis[I]}catch(e){}i=4}continue;case 1:switch(o){case 0:var f=d[159];f+=r[169]+h[142]+c[160],s=M[f];var p=h[143];p+=r[170]+h[144],u=s[p=(p+=h[145])[e[81]](r[3])[r[6]]()[e[46]](r[3])](M),i=5;break;case 1:var v=l[162];v+=t[172],i=(s=(v+=l[163])===n)?9:8;break;case 2:(s=globalThis)[I]=a,i=4}continue}}}function i(){for(var e=0;void 0!==e;){var r=1&e>>1;switch(1&e){case 0:switch(r){case 0:t[0];var i=z[l[165]];e=i?2:1;break;case 1:n(i),a(d[162]),e=void 0}continue;case 1:0===r&&(i=t[174],e=2);continue}}}function s(){for(var t=0;void 0!==t;){var r=1&t>>1;switch(1&t){case 0:switch(r){case 0:h[1],a(d[165]);var i=z[l[169]];t=i?1:2;break;case 1:i=e[170],t=1}continue;case 1:0===r&&(n(i),t=void 0);continue}}}function p(){for(var n=4;void 0!==n;){var i=3&n,o=3&n>>2;switch(i){case 0:switch(o){case 0:p++,n=1;break;case 1:var s=z,u=t[0];u=r[18][e[171]];var f=e[172],d=e[1],p=r[0];n=1;break;case 2:u=u[d],s[l[171]]=u.call(arguments),a(),B[r[103]](),n=void 0}continue;case 1:switch(o){case 0:n=p<f[l[44]]?5:8;break;case 1:var v=c[161],m=f[h[14]](p)-(l[170]+v);d+=l[29][l[8]](m),n=0}continue}}}for(var v=5;void 0!==v;){var g=3&v>>2;switch(3&v){case 0:switch(g){case 0:(L=M)[f[51]]=j,(L=M)[f[174]]=!h[1],(L=M)[h[150]]=s,(L=globalThis)[F=I]=p,u(M),v=9;break;case 1:L=j,F=globalThis[h[45]](j),j=L+=F=e[169]+F,D=L,v=0;break;case 2:for(var b=G,y=d[160],_=e[1],w=h[1];w<y[t[15]];w++){var S=t[173],E=y[h[14]](w)^d[161]+S;_+=f[4][c[35]](E)}var k=U[_];k||(k=t[10]),L=k;var I=(L=l[164]+L)+(F=eb+=c[3]),x=setTimeout(L=i,F=b),O=e[164];O+=d[163]+l[166],(L=z[O])[h[146]]=I;var T=d[42];T+=e[165]+f[172]+t[175];var A=h[147];A+=h[148]+e[166];var M=document[T](A);L=z[e[167]]+h[149]+(F=m(F=z[l[167]]));var R=e[52];L+=R=R[d[12]](h[7])[e[18]]()[c[7]](l[4]);var C=r[172];C+=f[173];var j=L+(F=m(F=z[C=(C+=d[164])[f[3]](e[1])[t[46]]()[c[7]](e[1])])),N=r[173];L=U[N=N[r[19]](l[4])[l[69]]()[d[10]](c[2])];var P=l[168]===L;P&&(P=globalThis[e[168]]);var D=P;v=D?4:0}continue;case 1:switch(g){case 0:G=parseInt(r[171],f[121]),v=8;break;case 1:var L=l[6],F=h[1],B=o(),U=this[d[76]],z=this[h[84]],H=f[171],G=U[H=H[f[3]](f[2])[r[6]]()[e[46]](r[3])];v=G?8:1;break;case 2:return B[r[174]]}continue}}}async function B(n){function a(){for(var t=0;void 0!==t;){var r=1&t>>1;switch(1&t){case 0:switch(r){case 0:d[1];var a=I[f[180]];t=a?1:2;break;case 1:a=e[176],t=1}continue;case 1:0===r&&(n(a),V(l[179]),t=void 0);continue}}}function i(e){for(var n=5;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:h++,n=8;break;case 1:h||(d=t[180]);var i=c[f[20]](h),o=~(~(i&~d)&~(~i&d));d=i,u+=t[33][r[15]](o),n=0;break;case 2:n=h<c[r[24]]?4:1}continue;case 1:switch(a){case 0:var s=u===e;s&&(s=et[f[181]]()),n=void 0;break;case 1:K&&clearTimeout(K);var c=r[177],u=f[2],d=l[6],h=l[6];n=8}continue}}}function s(){var e=h[154];et[e+=c[168]+r[178]]()}async function u(a){var i=a[f[184]];if(!i){var o=await a[e[181]]();o||(o=I[t[185]]);var s=o;s||(s=h[157]),n(i=s)}try{var c=await a[l[77]]();(i=I)[f[185]]=[c];var u=h[142];u+=r[181]+d[175],E[u=(u+=l[182])[t[8]](e[1])[r[6]]()[e[46]](r[3])]()}catch(e){var p=r[182];n(p+=l[183]+f[108]+l[184]+f[186]+r[183]+t[186]+f[187])}}function v(e){n(e)}function g(){V()}for(var b=8;void 0!==b;){var y=7&b>>3;switch(7&b){case 0:switch(y){case 0:b=eg<ep[h[9]]?12:17;break;case 1:var w=f[7],S=d[1],E=(l[6],o()),k=this[l[172]],I=this[l[173]];w=I[f[177]];var x,O=e[174][d[166]](w),T=l[174],A=I[T=T[t[8]](c[2])[e[18]]()[f[5]](l[4])];b=A?34:42;break;case 2:w=O,S=globalThis[d[169]](O),O=w+=S=c[165]+S,Q=w,b=40;break;case 3:return w=w[N](S),S=g,w[h[158]](S),w=E[l[186]];case 4:ec={},b=25;break;case 5:var M=O;b=M?27:3}continue;case 1:switch(y){case 0:var R=parseInt(d[167],c[129]),C=er[c[20]](ea)-(R-l[176]);en+=e[10][c[35]](C),b=9;break;case 1:ea++,b=28;break;case 2:ef[ev]=et[c[169]],S=_(S=ef,B),w=fetch(w,S),S=u,w=w[r[184]](S),S=v;var j=l[185],N=e[1],P=r[0],D=d[1];b=33;break;case 3:var L=ec,F=L[d[171]],B=function(n,a){for(var i=9;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:i=13;break;case 1:var s=w,u=d[7],v=l[9];v+=e[4]+h[6]+r[4]+t[7];var m=v=(v+=r[5])[t[8]](h[7])[r[6]]()[f[5]](r[3]);i=10;break;case 2:E++,i=7;break;case 3:var g=l[5];g=g[f[3]](r[3])[d[5]]()[h[4]](c[2]);var b=d[6][g](n);C=l[6];var y=e[0],_=h[5],w=e[1],S=r[0],E=d[1];i=7}continue;case 1:switch(o){case 0:i=y?6:2;break;case 1:R=b[C];var k=(x=-c[3])===(O=a[u](R));k&&(k=(x=(x={})[m]).call(n,R));var I=k;i=I?11:10;break;case 2:var x=l[0]==n,O=t[0],T=h[1];i=x?3:15;break;case 3:return j}continue;case 2:switch(o){case 0:y=r[7],i=(x=(x=C)<(O=b[s]))?5:0;break;case 1:C+=d[8],i=2;break;case 2:i=r[7]?1:13;break;case 3:E||(S=e[3]);var A=_[l[7]](E),M=~(~(A&~S)&~(~A&S));S=A,w+=f[4][l[8]](M),i=8}continue;case 3:switch(o){case 0:return{};case 1:i=E<_[e[2]]?14:4;break;case 2:x=j,O=R,T=n[R],x[O]=T,I=T,i=10;break;case 3:var R,C,j=function(n,a){for(var i=9;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:return{};case 1:return m;case 2:v=u=g[y](),i=(u=u[_])?1:12;break;case 3:var s=v[w];i=(u=(u=(u={})[E]).call(n,s))?13:2}continue;case 1:switch(o){case 0:i=4;break;case 1:(u=m)[s]=n[s],i=2;break;case 2:var u=t[9]==n;h[1],i=u?0:10;break;case 3:i=(u=(u=-c[3])!==a[k](s))?6:5}continue;case 2:switch(o){case 0:i=l[11]?8:4;break;case 1:i=2;break;case 2:var v,m={},g=p(n),b=d[9],y=b=b[h[8]](t[10])[d[5]]()[d[10]](c[2]),_=f[6],w=e[5],S=r[8],E=S+=l[10]+t[11]+r[9]+c[4]+d[11],k=r[10];i=2}continue}}}(n,a),N=c[1];N+=t[5]+l[1]+h[2]+l[2],N=(N+=f[1])[l[3]](l[4])[d[5]]()[t[6]](f[2]),i=(x=h[3][N])?12:13}continue}}}(L,eD);w={};var U=k[r[176]];U||(U={}),w=_(w,S=U);var z=k[d[172]];z||(z={});var H=_(w,S=z),G=e[175];G+=d[173]+t[178]+e[57];var q=k[G=(G+=e[32])[e[81]](t[10])[h[25]]()[e[46]](h[7])];if(!q){var W=c[122];q=t[179]+W}var K=setTimeout(w=a,S=q),V=i,Y=F;b=Y?36:43;break;case 4:b=D<j[r[24]]?35:24;break;case 5:eb=J,b=26}continue;case 2:switch(y){case 0:D++,b=33;break;case 1:var J=I[f[165]];b=J?44:41;break;case 2:var Z=h[151];x=Z+=c[163],w=O,S=m(S=I[r[175]]),O=w+=S=h[152]+S,eb=w,b=26;break;case 3:w=k[f[179]];var X=d[156]===w;if(X){var $=c[164];$=$[h[8]](e[1])[l[69]]()[f[5]](e[1]),X=globalThis[$]}var Q=X;b=Q?16:40;break;case 4:w=O,S=m(S=I[l[167]]),O=w+=S=t[177]+S,A=w,b=42;break;case 5:var ee=d[2],et=new AbortController,er=l[175],en=t[10],ea=r[0];b=28}continue;case 3:switch(y){case 0:var ei=k;b=ei?11:19;break;case 1:var eo=ei[d[170]],es=(w=void c[5])===(S=eo),ec=es=es?{}:eo;b=ec?25:32;break;case 2:ei={},b=11;break;case 3:S=O,(w=I)[l[178]]=S,M=S,b=3;break;case 4:D||(P=parseInt(r[185],l[139]));var eu=j[d[18]](D),el=eu^P;P=eu,N+=e[10][h[10]](el),b=2;break;case 5:w=O;var ef={};ef[e[179]]=x;var ed=e[180];ef[ed+=f[182]]=ee;var eh=h[155];eh=eh[d[12]](l[4])[r[6]]()[h[4]](r[3]),ef[r[180]]=eh,ef[l[180]]=f[183],ef[l[150]]=H;var ep=t[184],ev=d[19],em=t[0],eg=h[1];b=0}continue;case 4:switch(y){case 0:var eb=I[en];b=eb?18:10;break;case 1:if(!eg){var ey=h[156];em=l[181]+ey}var e_=ep[t[26]](eg),ew=e_^em;em=e_,ev+=t[33][l[8]](ew),b=20;break;case 2:eg++,b=0;break;case 3:b=ea<er[r[24]]?1:4;break;case 4:var eS=c[166],eE=F[eS+=c[167]+e[177]+t[181]];eE&&(eE=et[e[178]]()),w=s;for(var ek=d[174],eI=t[10],ex=f[7];ex<ek[l[44]];ex++){var eO=t[182],eT=ek[e[16]](ex)^r[179]+eO;eI+=f[4][d[39]](eT)}Y=F[t[183]](eI,w),b=43;break;case 5:x=h[153],ee=new URLSearchParams,w=(w=I[f[178]])[d[168]],J=ee[l[177]](h[135],w),b=41}continue}}}function U(n){function i(n){function i(){}for(var o=13;void 0!==o;){var s=3&o>>2;switch(3&o){case 0:switch(s){case 0:I=n[w],o=10;break;case 1:for(var u=d[180],p=h[7],v=h[1],m=r[0];m<u[h[9]];m++){m||(v=r[193]);var g=u[c[20]](m),b=~(~(g&~v)&~(~g&v));v=g,p+=d[51][l[8]](b)}k=n[p];var y=e[187];T=k[y=y[r[19]](t[10])[f[30]]()[c[7]](f[2])],o=14;break;case 2:E++,o=5;break;case 3:o=E?3:1}continue;case 1:switch(s){case 0:S=r[192]-c[173],o=3;break;case 1:o=E<_[d[13]]?12:0;break;case 2:var _=l[190],w=c[2],S=h[1],E=l[6];o=5;break;case 3:var k=es;k[l[171]]=[n];var I=n;o=I?9:10}continue;case 2:switch(s){case 0:var x={};x[f[192]]=O,x[f[193]]=t[41][l[191]](),k=n[r[194]],x[f[194]]=k[r[195]],(k=a[c[174]]).call(eC,l[192],x,i,i),o=6;break;case 1:ea[c[86]](),o=void 0;break;case 2:var T=I;o=T?4:14;break;case 3:o=(k=T)?2:6}continue;case 3:if(0===s){var A=_[r[11]](E),M=~(~(A&~S)&~(~A&S));S=A,w+=c[11][t[17]](M),o=8}continue}}}for(var s=2;void 0!==s;){var u=7&s>>3;switch(7&s){case 0:switch(u){case 0:var p=parseInt(l[197],r[130]),v=eS[t[26]](ek)-(h[169]+p);eE+=d[51][r[15]](v),s=35;break;case 1:var m=P,g=eo[f[189]];g||(g=r[0]);var b=g,y=eo[f[190]];s=y?27:28;break;case 2:var _=eM,w=c[108],S=eo[w+=d[179]+h[165]+t[188]+h[161]];S||(S={});var E=S,k=(er=void h[1])!==(en=eo[l[189]]);if(k)k=parseInt(er=eo[l[189]]);else{er=void e[0];var I=f[171],x=er!==(en=eo[I=I[f[3]](h[7])[e[18]]()[t[6]](l[4])]);k=x=x?parseInt(er=eo[e[185]]):e[186]}C=er=k,R=e[64]*er;var O=t[41][t[35]](),T=(er=!l[6])===(en=eo[f[195]]);if(T){er=void c[5];var A=d[17];A+=f[196]+c[175]+h[166],T=er===(en=eo[A+=d[9]])}var M=T;s=M?25:33;break;case 3:var R,C,j=(er=!t[0])===(en=es[d[177]]);j&&(eb=er=t[10],j=er),er=location[h[160]];var N=c[107],P=(N+=r[190]+c[171]+h[161])===er;s=P?17:3;break;case 4:var D=et;D&&(b=er=eo[f[197]],D=er);var L={};L[h[167]]=el;for(var F=d[182],B=r[3],U=d[1],z=t[0];z<F[t[15]];z++){z||(U=f[198]);var H=F[e[16]](z),G=~(~(H&~U)&~(~H&U));U=H,B+=d[51][r[15]](G)}L[B]=ef;var q=r[197],W=h[7],K=f[7];s=20;break;case 5:var V=q[c[20]](K)-t[189];W+=l[29][e[29]](V),s=36}continue;case 1:switch(u){case 0:er=eo[f[188]];var Y=r[189]===er;s=Y?12:42;break;case 1:L[ew]=JSON[eE](eu),L[e[188]]=C,er=eo[e[189]],L[d[184]]=!!er,L[d[185]]=eO,L[f[201]]=_,L[f[202]]=E;var J=L,Z=eo[f[203]];Z&&(Z=(er=!f[7])===(en=es[d[186]]));var X=Z;if(X){er=J;var $=e[190];en=eo[$=$[t[8]](t[10])[r[6]]()[f[5]](e[1])],er[f[203]]=en,X=en}var Q=f[25][t[190]];s=Q?19:4;break;case 2:P=t[64],s=8;break;case 3:var ee=l[193];ee+=d[181]+r[196]+c[176]+r[50]+c[177],eO=er=ee+=l[194],M=er,s=33;break;case 4:var et=(er=void r[0])!==(en=eo[f[197]]);s=et?43:32;break;case 5:eb=er=r[3],eI=er,s=34}continue;case 2:switch(u){case 0:var er=h[1],en=c[5],ea=o(),ei=e[182],eo=this[ei+=e[183]+r[186]],es=this[d[96]],ec=c[170],eu=eo[ec+=h[159]+d[145]],el=eo[l[93]],ef=eo[e[104]],ed=r[187],eh=es[ed=ed[h[8]](h[7])[r[6]]()[r[21]](f[2])],ep=eh=eh?f[23]:f[7],ev=es[d[176]];ev||(ev=es[h[67]]);var em=ev;em||(em=es[l[187]]);var eg=em,eb=eg=eg?t[168]:e[1],ey=(er=void t[0])!==(en=eo[r[188]]);s=ey?1:24;break;case 1:L[W]=f[4](ep),L[t[162]]=eb,L[r[198]]=h[38](m),L[f[191]]=r[12](eA);var e_=t[71];L[e_+=f[199]+f[200]]=f[4](b);var ew=t[178];ew+=d[183],ew=(ew+=l[196])[t[8]](t[10])[t[46]]()[d[10]](f[2]);var eS=h[168],eE=d[19],ek=l[6];s=11;break;case 2:ey=Y,s=24;break;case 3:eM={},s=16;break;case 4:Y=eI,s=18;break;case 5:er=eo[e[184]];var eI=l[188]===er;s=eI?41:34}continue;case 3:switch(u){case 0:P=d[1],s=8;break;case 1:s=ek<eS[t[15]]?0:9;break;case 2:var ex=t[121];ex+=h[170]+f[204]+l[9]+e[191]+t[191]+t[192],Q=eo[ex=(ex+=c[178])[f[3]](t[10])[t[46]]()[t[6]](l[4])],s=4;break;case 3:var eO=y,eT=eo[f[191]];eT||(eT=r[0]);var eA=eT,eM=eo[r[191]];s=eM?16:26;break;case 4:ek++,s=11;break;case 5:et=(er=void e[0])===(en=eo[l[195]]),s=32}continue;case 4:switch(u){case 0:var eR=Q;eR&&(er=J,en=eo[l[198]],eR=t[22][l[199]](er,en));var eC=l[200];er=typeof(er=eo[r[199]]);var ej=l[188]==er;return ej&&(eC=er=eo[e[192]],ej=er),(er=a[f[87]]).call(eC,e[193],J,i,i,R),er=ea[d[187]];case 1:eb=er=t[168],Y=er,s=18;break;case 2:s=K<q[d[13]]?40:10;break;case 3:var eN=h[162];eN+=d[178]+h[163]+h[164],y=eN+=c[172],s=27;break;case 4:K++,s=20}continue}}}function z(a){function i(e){k[l[171]]=[e];var t=l[205];w[t+=d[17]+f[210]]()}for(var s=32;void 0!==s;){var u=7&s>>3;switch(7&s){case 0:switch(u){case 0:var p=O[r[11]](A)-parseInt(h[171],c[23]);T+=f[4][h[10]](p),s=26;break;case 1:s=A<O[t[15]]?0:24;break;case 2:ec++,s=25;break;case 3:I[T]=f[206]===m;var v=S[t[193]];s=v?18:20;break;case 4:var m=d[1],b=c[5],y=f[7],_=r[0],w=o(),S=this[l[172]],E=h[50],k=this[E+=e[194]+h[50]+c[179]],I={},x=r[200];I[x+=l[201]+r[201]]=S[c[79]],I[f[205]]=S[d[112]],m=S[l[202]],m=l[29](m);var O=e[195],T=h[7],A=r[0];s=8;break;case 5:m=Y,b=S[d[190]],m[t[196]]=b,q=b,s=33}continue;case 1:switch(u){case 0:er++,s=41;break;case 1:var M=Q;s=M?43:35;break;case 2:for(var R=l[204],C=r[3],j=t[0],N=t[0];N<R[c[12]];N++){if(!N){var P=e[200];j=parseInt(d[192],h[29])+P}var D=R[l[7]](N),L=~(~(D&~j)&~(~D&j));j=D,C+=e[10][t[17]](L)}eu=delete Y[C],s=3;break;case 3:s=ec<eo[c[12]]?34:11;break;case 4:var F=k[d[176]];F||(F=k[d[150]]);var B=F;B||(B=k[d[191]]);var U=B;U&&(m=Y,b=l[154],m[d[154]]=b,U=b);var z=(m=void c[5])!==(b=S[h[173]]);s=z?10:4;break;case 5:s=er<ee[c[12]]?12:19}continue;case 2:switch(u){case 0:m=Y;var H=d[189];H+=h[159],m[H=(H+=t[56])[t[8]](t[10])[f[30]]()[e[46]](l[4])]=S[d[168]];var G=S[c[180]];G&&(G=(m=!e[0])===(b=k[l[203]]));var q=G;s=q?40:33;break;case 1:m=S[t[197]];var W=e[198]===m;if(W)m=Y,b=l[154],m[e[78]]=b,W=b;else{m=S[h[173]];var K=l[188]===m;if(K){var V=e[199];K=delete Y[V+=l[153]]}W=K}z=W,s=4;break;case 2:I[e[196]]=v,m=k[t[194]],I[h[172]]=!!m;var Y=I,J=g(m=S[f[207]]);s=J?2:42;break;case 3:A++,s=8;break;case 4:var Z=e[201],X=eo[l[7]](ec)-(t[200]+Z);es+=e[10][l[8]](X),s=16;break;case 5:m=S;var $=c[166];b=S[$=($+=e[197])[t[8]](r[3])[f[30]]()[l[22]](h[7])],b=JSON[t[195]](b),m[e[79]]=b,J=b,s=2}continue;case 3:switch(u){case 0:var Q=f[25][r[202]];s=Q?27:9;break;case 1:b=en,y=Y,_=i,(m=n[es]).call(b,y,_);var ee=c[181],et=c[2],er=h[1];s=41;break;case 2:return w[et];case 3:Q=S[t[198]],s=9;break;case 4:var en=t[199];m=typeof(m=S[d[194]]);var ea=e[24]==m;if(ea){var ei=f[208];en=m=S[ei=ei[l[3]](e[1])[f[30]]()[d[10]](r[3])],ea=m}var eo=f[209],es=r[3],ec=h[1];s=25;break;case 5:m=Y,b=S[r[203]],M=h[3][d[193]](m,b),s=35}continue;case 4:switch(u){case 0:var eu=(m=!f[7])===(b=k[h[174]]);s=eu?17:3;break;case 1:var el=d[8],ef=ee[l[7]](er)-(h[175]+el);et+=c[11][d[39]](ef),s=1;break;case 2:v={},s=18}continue}}}function H(n,a){async function i(){async function n(n,a,i){async function o(){var n=chrome[t[207]],i=c[5];r[0],l[6],n=n[d[200]],i=w(i={},er,a);for(var o=f[219],s=d[19],u=e[0];u<o[l[44]];u++){var h=o[r[11]](u)^c[188];s+=c[11][r[15]](h)}await n[s](i)}for(var s=2;void 0!==s;){var u=3&s>>2;switch(3&s){case 0:switch(u){case 0:s=void 0;break;case 1:C=e[1],s=6;break;case 2:C=d[199],s=6;break;case 3:x=l[4],s=13}continue;case 1:switch(u){case 0:D=j[l[214]];var p=f[217];x=(p=(p+=l[215])[l[3]](c[2])[f[30]]()[h[4]](c[2]))+D,s=13;break;case 1:N=o,L=await N(),s=0;break;case 2:var v=i;v||(v={}),j=v,N=globalThis[l[210]],P=n[e[205]](new r[70](f[214],d[50]),c[184]);var m=t[204];m=(m+=l[211])[d[12]](h[7])[f[30]]()[d[10]](e[1]),P=(P=P[t[205]](e[206],m))[d[197]](e[207],e[208])+l[212];for(var g=h[180],b=f[2],y=f[7],_=h[1];_<g[e[2]];_++){_||(y=parseInt(f[215],c[23]));var S=g[r[11]](_),E=S^y;y=S,b+=d[51][r[15]](E)}P+=D=a[b](c[185],h[48]);var k=j[f[216]];if(k){D=j[l[213]];var I=r[208];I+=f[0],k=(I+=c[186])+D}else k=c[2];P+=D=k;var x=j[t[206]];s=x?1:12;break;case 3:P+=D=x;var O=j[r[209]];P+=D=O=O?d[198]:l[4];for(var T=c[187],A=t[10],M=l[6];M<T[c[12]];M++){var R=~(~(T[h[14]](M)&~l[216])&~(~(T[h[14]](M)&T[c[20]](M))&parseInt(e[209],c[13])));A+=l[29][l[8]](R)}var C=j[A];s=C?8:4}continue;case 2:switch(u){case 0:var j,N=d[1],P=r[0],D=r[0],L=globalThis[r[207]];s=L?9:5;break;case 1:P+=D=C;var F=j[e[210]];F?(D=j[r[210]],F=e[211]+D):F=c[2],P+=D=F,N[f[218]]=P,L=P,s=0}continue}}}for(var a=8;void 0!==a;){var i=7&a>>3;switch(7&a){case 0:switch(i){case 0:o=n,H=await o(em,S,p),a=18;break;case 1:var o=r[0],s=t[0],p=u[d[96]];u[e[203]];var v=(o=p[t[203]])[c[5]],m=v;a=m?26:3;break;case 2:H=g,a=18;break;case 3:K++,a=36;break;case 4:var g=(o=-l[11])===(s=b[h[181]](l[217]));a=g?34:16}continue;case 1:switch(i){case 0:B=parseInt(c[189],e[28]),a=35;break;case 1:U++,a=20;break;case 2:var b=z;(o=v)[l[208]]=b;var y=b instanceof t[3];if(y){var _=e[124];b=o=b[_=(_+=r[206])[l[3]](l[4])[r[6]]()[h[4]](h[7])](c[76]),y=o}var S=v[c[37]],E=l[209],k=p[E+=e[204]];a=k?11:4;break;case 3:(o=p)[e[100]]=v,a=void 0;break;case 4:z=[],a=17}continue;case 2:switch(i){case 0:o=v,s=e2[t[208]],o[c[192]]=s,J=s,a=25;break;case 1:D[W]=!t[64];var x={};x[e[213]]=v,x[d[203]]=h[183];for(var O=e[214],T=h[7],A=c[5];A<O[f[10]];A++){var M=h[184],R=O[r[11]](A)-(r[211]+M);T+=f[4][t[17]](R)}x[T]=p[c[191]];for(var C=h[185],j=d[19],N=f[7];N<C[h[9]];N++){var P=C[r[11]](N)-l[218];j+=l[29][t[17]](P)}x[j]=b,D[e[215]]=x,g=I(o=D),a=16;break;case 2:k=H,a=4;break;case 3:m=v[c[92]],a=3;break;case 4:var D={},L=h[182],F=l[4],B=t[0],U=e[0];a=20}continue;case 3:switch(i){case 0:var z=m;a=z?17:33;break;case 1:var H=S;a=H?0:32;break;case 2:D[F]=f[99];var G=t[178];G+=d[201]+l[42],D[e[212]]=G;var q=d[202],W=h[7],K=e[0];a=36;break;case 3:a=U?35:1;break;case 4:var V=L[l[7]](U),Y=~(~(V&~B)&~(~V&B));B=V,F+=l[29][l[8]](Y),a=9}continue;case 4:switch(i){case 0:var J=(o=b[h[181]](h[186]))>(s=-e[36]);a=J?28:2;break;case 1:var Z=~(~(q[h[14]](K)&~f[220])&~(~(q[l[7]](K)&q[r[11]](K))&c[190]));W+=h[38][c[35]](Z),a=24;break;case 2:a=U<L[c[12]]?27:19;break;case 3:o=v,s=e2[e[216]];var X=f[105];o[X+=e[217]+f[221]]=s,J=s,a=25;break;case 4:a=K<q[l[44]]?12:10}continue}}}var o=d[1],s=e[0],u=this;o=function(){for(var n=1;void 0!==n;){var i=3&n>>2;switch(3&n){case 0:switch(i){case 0:var o=v[e[93]];n=o?10:6;break;case 1:n=v[f[90]]?8:9;break;case 2:var s=es;if(s){var p=t[202];p+=d[195]+d[196]+f[213]+l[207],s=u[p](a)}else s=u[h[178]](a);return s}continue;case 1:switch(i){case 0:l[6];var v=u[e[83]],m=l[206],g=v[m+=h[176]+r[204]+f[211]+e[32]];if(g){var b=v[f[212]];b||(b=v[f[167]]),g=b}n=g?2:0;break;case 1:return u[t[201]](a);case 2:throw new l[74](c[183])}continue;case 2:switch(i){case 0:return u[c[182]](a);case 1:n=o?5:4;break;case 2:var y=t[164],_=v[y+=h[177]+e[202]+r[205]];_||(_=v[f[165]]),o=_,n=6}continue}}},o=eJ[t[48]](o);var p=h[179];return s=i,o=(o=o[p=p[h[8]](c[2])[e[18]]()[t[6]](f[2])](n))[h[187]](s)}function G(n){function a(n){function i(){function r(t){return l[6],y[d[43]](t),_[e[219]]}function a(e){return f[7],y[c[31]](e),_[l[186]]}function i(t){var r=e[183];y[r+=c[108]+h[188]+f[222]](t)}for(var s=0;void 0!==s;){var u=1&s>>1;switch(1&s){case 0:switch(u){case 0:var p=h[1],m=c[5],g=e[0];y=o(),p=v,m=r,g=a,b=p=n.call(p,m,g);var w=p;s=w?2:1;break;case 1:p=i,b=p=b[h[189]](p),w=p,s=1}continue;case 1:if(0===u)return y[t[209]];continue}}}function s(n){for(var a=5;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:return _[p](n),b;case 1:m++,a=1;break;case 2:m||(v=parseInt(f[223],l[20])-c[193]);var o=u[d[18]](m),s=o^v;v=o,p+=r[12][c[35]](s),a=4}continue;case 1:switch(i){case 0:a=m<u[h[9]]?8:0;break;case 1:e[0];var u=l[219],p=c[2],v=d[1],m=t[0];a=1}continue}}}for(var u=3;void 0!==u;){var p=1&u>>1;switch(1&u){case 0:switch(p){case 0:u=void 0;break;case 1:var b,y=o(),_=o();w=i,m[l[24]](w),w=s,g[t[109]](w),u=0}continue;case 1:switch(p){case 0:n[t[30]](a),u=0;break;case 1:var w=n instanceof e[19];u=w?1:2}continue}}}for(var i=4;void 0!==i;){var s=3&i>>2;switch(3&i){case 0:switch(s){case 0:b=b[k](u),i=1;break;case 1:var u,p=r[0],v=this,m=[],g=[];p=a,n[e[220]](p);var b=eJ,y=t[210],_=r[3],w=f[7];i=13;break;case 2:var S=e[221];i=10;break;case 3:u=p=m[E](),i=p?0:2}continue;case 1:switch(s){case 0:i=t[64]?12:8;break;case 1:i=3;break;case 2:u=p=g[S](),i=p?11:5;break;case 3:i=w<y[c[12]]?7:6}continue;case 2:switch(s){case 0:i=8;break;case 1:var E=_,k=d[204];i=1;break;case 2:i=e[36]?9:3;break;case 3:w++,i=13}continue;case 3:switch(s){case 0:return b;case 1:var I=parseInt(t[211],f[76]),x=y[d[18]](w)-(parseInt(l[220],t[37])+I);_+=t[33][e[29]](x),i=14;break;case 2:b=b[k](u),i=10}continue}}}function q(n){function a(){for(var a=4;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:var o=u[r[11]](m),s=o^v;v=o,p+=h[38][d[39]](s),a=2;break;case 1:var c=globalThis,u=d[206],p=e[1],v=f[7],m=r[0];a=6;break;case 2:a=void 0}continue;case 1:switch(i){case 0:E=!h[1],g=n(),a=8;break;case 1:a=m?0:9;break;case 2:v=l[221],a=0}continue;case 2:switch(i){case 0:m++,a=6;break;case 1:a=m<u[t[15]]?5:10;break;case 2:c[p]=!h[1];var g=E;a=g?8:1}continue}}}function i(){for(var e=1;void 0!==e;){var t=3&e>>2;switch(3&e){case 0:switch(t){case 0:r=clearTimeout(_),e=5;break;case 1:a=clearInterval(y),e=8;break;case 2:var r=_;e=r?0:5}continue;case 1:switch(t){case 0:var a=y;e=a?4:8;break;case 1:var i=E;e=i?9:2;break;case 2:e=void 0}continue;case 2:0===t&&(E=!h[1],i=n(),e=9);continue}}}function o(){var r=e[0],n=h[1];try{function a(){globalThis[h[191]]=!h[1],k()}for(var i=9;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:u=!(r=globalThis[t[53]]),i=4;break;case 1:var s=u;i=s?2:5;break;case 2:var u=globalThis[h[190]];i=u?0:4}continue;case 1:switch(o){case 0:r=globalThis;var f=l[222];r[f=f[h[8]](l[4])[e[18]]()[c[7]](l[4])]=!l[6],v=k(),i=8;break;case 1:i=void 0;break;case 2:var p=t[212];p=p[l[3]](t[10])[t[46]]()[h[4]](t[10]);var v=globalThis[p];i=v?1:8}continue;case 2:if(0===o){r=globalThis,n=a;var m=t[213];r[m=m[l[3]](d[19])[d[5]]()[t[6]](h[7])]=n,s=n,i=5}continue}}}catch(e){k()}}function s(){k()}for(var u=0;void 0!==u;){var p=3&u>>2;switch(3&u){case 0:switch(p){case 0:var m=l[6],g=(d[1],e$[r[212]]);g&&(g=!(m=globalThis[c[194]])),u=(m=g)?8:9;break;case 1:var b=d[205];w=parseInt(f[224],l[25])+b,u=5;break;case 2:v(),m=e$[r[213]];var y,_,w=c[195](m);u=w?5:4}continue;case 1:switch(p){case 0:u=void 0;break;case 1:var S=w,E=!e[36];(m=globalThis)[l[48]]=a;var k=i;y=setInterval(m=o,f[225]),_=setTimeout(m=s,S),u=1;break;case 2:n(),u=1}continue}}}function W(e){e()}function K(i){function o(n){var a=t[0],i=l[6],o=e[0],s=e[0],u=l[6],p=e[0],v=c[5],m=t[0],g=n[l[6]],b=n[r[7]],y=[];a=g,i=W[c[196]],o=W[e[225]];var _=l[223];_+=r[214]+h[193]+e[226]+t[214]+l[224],s=W[_],u=W[d[208]];var w=l[225];return w+=f[227]+f[228]+e[59],p=W[w],v=W[e[118]],m=b,y[r[23]](a,i,o,s,u,p,v,m),a=y,a=W[f[229]](a)}function u(){var e=W[d[96]],n=(t[0],e[t[94]]),a=(e=n[d[209]])!==e2[l[217]];if(a)a=et[c[31]](n);else{var i=(e=W[d[96]])[h[194]];if(i){var o=h[50];o+=f[230]+r[215]+t[121],i=void(e=(e=W[o])[f[231]](n))}else i=et[r[103]](n);a=i}return a}function p(n){for(var i=4;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:return et[r[219]](s);case 1:var s,u=h[1],p=f[7],v=n instanceof c[197];i=v?5:9;break;case 2:var m=h[50];m+=t[217]+d[213],(u=W[m])[f[234]](s),i=void 0}continue;case 1:switch(o){case 0:s=v;var g=(u=a[h[192]])[f[233]];if(g){u=a[r[216]];var b={};p=W[r[79]];var y=f[48];y+=e[57],b[r[98]]=p[y],p=W[h[196]],b[t[89]]=p[c[199]];var _=l[231];_+=r[217]+c[200],p=W[_],b[l[94]]=p[r[218]],b[c[201]]=s,p=b,g=u[c[202]](p)}i=(u=!(u=(u=W[t[216]])[h[197]]))?0:8;break;case 1:var w={},S=n[l[227]],E=d[111];w[E=(E+=d[210])[l[3]](d[19])[h[25]]()[h[4]](l[4])]=[S];var k=n[d[211]],I=e[227];w[I+=l[228]]=[k];var x=t[215];w[x+=c[108]+l[229]]=e2[l[230]],v=w,i=1;break;case 2:u=typeof n;var O=h[195]==u;if(O){var T={};T[e[99]]=[n];for(var A=c[198],M=h[7],R=c[5];R<A[r[24]];R++){var C=~(~(A[c[20]](R)&~parseInt(f[232],l[25]))&~(~(A[c[20]](R)&A[h[14]](R))&e[228]));M+=t[33][l[8]](C)}T[l[88]]=e2[M],O=T}else{var j=(u=void c[5])!==(p=n);O=j=j?n:(u=W[d[96]])[d[212]]}v=O,i=1}continue}}}function v(e){var n=W[l[234]];(n=(n=n[f[238]])[r[184]](e))[t[221]](e)}function m(n){var a=e[0];try{for(var i=2;void 0!==i;){var o=7&i>>3;switch(7&i){case 0:switch(o){case 0:y=[],i=8;break;case 1:var s=(a=(a=y)[t[15]])<=r[223];i=s?11:3;break;case 2:return a=_;case 3:b++,i=26;break;case 4:k||(E=parseInt(e[232],f[100]));var u=w[d[18]](k),p=u^E;E=u,S+=r[12][r[15]](p),i=18}continue;case 1:switch(o){case 0:var v=l[235],m=c[2],g=f[7],b=h[1];i=26;break;case 1:var y=n[t[8]](m);i=y?8:0;break;case 2:a=n[S](a);var _=c[206]!==a;i=_?1:10;break;case 3:i=k<w[t[15]]?32:17;break;case 4:_=s,i=16}continue;case 2:switch(o){case 0:a=n[d[217]](d[65]);var w=h[201],S=c[2],E=h[1],k=h[1];i=25;break;case 1:var I=d[218];I+=d[219]+r[225],a=n[I+=l[236]](l[36])-f[23];for(var x=t[223],O=c[2],T=t[0];T<x[e[2]];T++){var A=~(~(x[c[20]](T)&~e[235])&~(~(x[e[16]](T)&x[h[14]](T))&h[203]));O+=c[11][l[8]](A)}a=n[r[226]](O,a)+h[15];for(var M=r[227],R=f[2],C=r[0];C<M[f[10]];C++){var j=M[e[16]](C)-r[228];R+=d[51][t[17]](j)}_=n[R](a),i=16;break;case 2:k++,i=25;break;case 3:i=b<v[e[2]]?34:9;break;case 4:if(!b){var N=f[11];g=h[202]+N}var P=v[h[14]](b),D=~(~(P&~g)&~(~P&g));g=P,m+=d[51][h[10]](D),i=24}continue;case 3:switch(o){case 0:a=(a=n[l[3]](e[233]))[r[224]](r[7]);var L=f[36];s=a[L=(L+=e[234])[t[8]](t[10])[l[69]]()[h[4]](e[1])](t[63]),i=33;break;case 1:s=n,i=33}continue}}}catch(a){for(var F=r[229],B=e[1],U=f[7];U<F[f[10]];U++){var z=r[230],H=F[t[26]](U)-(l[237]+z);B+=h[38][r[15]](H)}var G=f[239];G+=h[161]+r[231]+r[232]+d[220]+d[221];var q=l[36];q=q[d[12]](f[2])[t[46]]()[f[5]](e[1]);for(var W=l[238],K=e[1],V=l[6];V<W[f[10]];V++){var Y=t[224],J=W[l[7]](V)-(d[222]+Y);K+=e[10][h[10]](J)}return n[B](n[G](q,n[e[236]](K)-f[23])+e[36])}}for(var g=26;void 0!==g;){var b=7&g>>3;switch(7&g){case 0:switch(b){case 0:H=(H=this[t[74]])[h[141]],k=d[81]===H,g=8;break;case 1:var y=k;g=y?1:3;break;case 2:H=this[e[203]];var _=t[222];H=H[_=_[d[12]](f[2])[f[30]]()[h[4]](e[1])];var w=l[65]===H;g=w?27:9;break;case 3:H=W[f[117]],G=L;var S=e[229];H[S+=c[204]+c[205]+r[221]+f[237]+l[233]]=G,Y=G,g=33;break;case 4:g=Q<X[d[13]]?35:10}continue;case 1:switch(b){case 0:H=i;var E=i[r[222]];g=E?25:17;break;case 1:var k=w;g=k?8:0;break;case 2:G=m;for(var I=t[225],x=r[3],O=e[0],T=h[1];T<I[r[24]];T++){if(!T){var A=c[207];O=r[233]+A}var M=I[t[26]](T),R=M^O;O=M,x+=h[38][d[39]](R)}q=n[x];var C=d[223];C+=e[237],E=G(q=q[C+=h[204]]),g=25;break;case 3:var j=l[224];j+=c[208]+r[234],H[j=(j+=f[240])[t[8]](c[2])[h[25]]()[e[46]](f[2])]=E;var N=(H=i[h[99]])!==(G=i[t[226]]);N&&((H=i)[c[209]]=f[241],H=i,G=!f[7],H[d[224]]=G,N=G),y=N,g=3;break;case 4:ew=H=v,J=H,g=16}continue;case 2:switch(b){case 0:var P=[];P[r[23]](ew,eS),H=P;var D=e[224];D=D[e[81]](c[2])[l[69]]()[l[22]](l[4]),G=o,H=(H=et[D](H))[r[184]](G),G=u,H=H[l[226]](G),G=p;var L=H[l[232]](G);this[e[225]](),H=W[t[216]];var F=h[198],B=H[F+=d[214]+h[165]+t[218]];g=B?4:11;break;case 1:w=$===H,g=9;break;case 2:var U=d[207];H=a;var z={};throw z[e[223]]=U,H[h[192]]=z,H=new f[226](U);case 3:var H=t[0],G=c[5],q=f[7],W=this,K=i;K||(K={}),H=K,G=e$,this[e[83]]=s(H,G),g=(H=!et)?18:2;break;case 4:H=W[h[199]];var V=c[203],Y=H[V+=f[236]+c[40]+d[216]+t[220]];g=Y?33:24}continue;case 3:switch(b){case 0:return this[c[210]]=L,H=L;case 1:var J=B;g=J?34:16;break;case 2:Q++,g=32;break;case 3:H=this[e[203]];var Z=f[26];Z+=f[91]+h[159],H=H[Z+=e[230]];var X=h[200],$=d[19],Q=t[0];g=32;break;case 4:var ee=X[r[11]](Q)^e[231];$+=e[10][h[10]](ee),g=19}continue;case 4:if(0===b){var er=r[220];er+=d[215]+f[109],H=W[er];for(var en=t[219],ea=t[10],ei=l[6];ei<en[c[12]];ei++){var eo=en[e[16]](ei)-f[235];ea+=e[10][l[8]](eo)}B=!(H=H[ea]),g=11}continue}}}function V(e){return new T(e)}function Y(n,a,i){for(var o=0;void 0!==o;){var s=1&o>>1;switch(1&o){case 0:switch(s){case 0:var u=h[1],p=(l[6],{});p[h[68]]=n[h[68]],p[t[228]]=n[r[105]],p[d[225]]=n[r[235]],p[c[212]]=n[r[236]],p[h[206]]=n[l[239]];var v=d[226];v+=d[227]+f[242]+e[238],p[v=(v+=d[228])[d[12]](l[4])[c[6]]()[r[21]](f[2])]=a;var m=i;o=m?1:2;break;case 1:m=a,o=1}continue;case 1:if(0===s){p[h[197]]=m,u=p;var g=n[r[237]];g||(g={});var b=_(u,g);return(u=new T(n))[t[229]](b)}continue}}}function J(n,a,i){e[0];for(var o={},s=t[230],u=h[7],p=c[5],v=t[0];v<s[r[24]];v++){if(!v){var m=parseInt(l[240],h[46]);p=parseInt(h[207],h[13])+m}var g=s[t[26]](v),b=~(~(g&~p)&~(~g&p));p=g,u+=h[38][e[29]](b)}o[u]=!d[1],o[r[238]]=a;var y=i;return y||(y=a),o[f[234]]=y,new T(n)[d[229]](o)}for(var Z=0;void 0!==Z;){var X=7&Z>>3;switch(7&Z){case 0:switch(X){case 0:var $=c[5],Q=f[7],ee=l[46],et=n[ee+=t[49]+t[50]+f[13]],er=r[45],en=et;Z=en?11:9;break;case 1:e6++,Z=16;break;case 2:Z=e6<e3[t[15]]?1:33;break;case 3:var ea=eK;if(!ea){var ei=ez;ei&&($=e$[e[76]],ei=r[77]===$);var eo=ei;eo&&(eo=($=E($=e$[e[77]],f[78]))>=d[1]),ea=eo}var es=ea,ec=l[6];($=T[l[73]])[t[75]]=A;var eu=f[13];eu+=d[78]+e[82],$=T[eu=(eu+=t[76])[h[8]](d[19])[d[5]]()[h[4]](l[4])];for(var el=c[61],ef=c[2],ed=e[0],eh=h[1];eh<el[h[9]];eh++){eh||(ed=parseInt(f[83],f[34]));var ep=el[c[20]](eh),ev=ep^ed;ed=ep,ef+=c[11][c[35]](ev)}$[ef]=M,($=T[t[24]])[t[82]]=R;var em=e[107],eg=e[108];($=T[c[81]])[r[99]]=C,($=T[h[87]])[t[99]]=j,($=T[f[58]])[l[100]]=N,($=T[t[24]])[e[112]]=P,($=T[h[87]])[t[108]]=D,($=T[d[59]])[r[167]]=L;var eb=c[5];($=T[h[87]])[r[168]]=F;var ey=e[173];ey+=c[162]+f[175],($=T[ey+=t[176]])[f[176]]=B,($=T[e[171]])[t[187]]=U,$=T[l[73]];var e_=d[188];$[e_=e_[r[19]](f[2])[f[30]]()[e[46]](c[2])]=z,($=T[c[81]])[e[118]]=H,($=T[h[87]])[e[218]]=G;var ew=q,eS=W;($=T[l[73]])[e[222]]=K,$=a;for(var eE=c[211],ek=h[7],eI=l[6],ex=c[5];ex<eE[r[24]];ex++){ex||(eI=t[227]);var eO=eE[l[7]](ex),eT=~(~(eO&~eI)&~(~eO&eI));eI=eO,ek+=f[4][e[29]](eT)}$[ek]=V,($=a[t[199]])[h[205]]=Y,($=a[r[216]])[t[91]]=J,($=a[h[192]])[r[239]]=eQ,($=a[l[241]])[d[230]]=e$,$=a[f[243]];for(var eA=l[242],eM=r[3],eR=l[6];eR<eA[f[10]];eR++){var eC=~(~(eA[l[7]](eR)&~parseInt(f[244],t[140]))&~(~(eA[d[18]](eR)&eA[h[14]](eR))&f[245]));eM+=t[33][c[35]](eC)}$[eM]=e2,($=a[l[241]])[t[231]]=T,Z=void 0;break;case 4:eV=($=E($=e$[t[72]],r[75]))>=r[0],Z=10}continue;case 1:switch(X){case 0:var ej=parseInt(c[56],f[76]),eN=e3[d[18]](e6)^parseInt(d[73],l[25])+ej;e4+=d[51][e[29]](eN),Z=8;break;case 1:var eP={};eP[t[51]]=i,en=eP,Z=11;break;case 2:eK=eY,Z=24;break;case 3:Q=k,($=e[10][d[59]])[f[60]]=Q,eZ=Q,Z=19;break;case 4:$=n[e4];for(var eL=e[72],eF=h[7],eB=d[1];eB<eL[r[24]];eB++){var eU=~(~(eL[h[14]](eB)&~c[57])&~(~(eL[d[18]](eB)&eL[t[26]](eB))&parseInt(c[58],l[57])));eF+=h[38][d[39]](eU)}$=$[eF];var ez=new f[67](e[73])[r[73]]($),eH=e[74],eG=f[2],eq=t[0],eW=r[0];Z=2}continue;case 2:switch(X){case 0:Z=eW<eH[f[10]]?27:26;break;case 1:var eK=eV;Z=eK?24:34;break;case 2:eW++,Z=2;break;case 3:$=e$[eG];var eV=f[77]===$;Z=eV?32:10;break;case 4:$=e$[f[74]];var eY=r[76]===$;Z=eY?3:17}continue;case 3:switch(X){case 0:eY=($=E($=e$[c[59]],e[75]))>=c[5],Z=17;break;case 1:var eJ=($=en)[d[43]](),eZ=($=t[33][f[58]])[r[63]];Z=eZ?19:25;break;case 2:var eX={};eX[f[61]]=!t[64],eX[d[61]]=!c[5],eX[l[58]]=!l[11];var e$=eX,eQ=[],e0={},e1={};e1[f[62]]=-h[15],e1[d[62]]=r[0],e1[e[61]]=r[7],e1[d[63]]=f[34];var e2=e1;$=($=x)(),($=O)();var e3=f[75],e4=d[19],e6=h[1];Z=16;break;case 3:eW||(eq=r[74]);var e8=eH[l[7]](eW),e5=~(~(e8&~eq)&~(~e8&eq));eq=e8,eG+=c[11][h[10]](e5),Z=18}continue}}}(n,i),function(n,a){function i(e){return t[0],e[h[369]](),!l[11]}function o(a,o){function s(){for(var n=d[1],a=e[0],i=t[401],o=r[3],s=h[1],c=e[0];c<i[h[9]];c++){c||(s=d[408]);var u=i[f[20]](c),p=u^s;s=u,o+=t[33][f[21]](p)}eG[o]();var v=document[d[409]](d[410]);n=!l[11],a=!t[64],v[f[413]](f[414],n,a),R[e[424]](v)}function u(){var t=r[432];R[t+=d[411]+h[392]+r[190]+c[377]][e[426]](R,arguments)}function p(){var e=R[l[411]],t=d[227];e[t+=d[286]+c[378]](R,arguments)}function v(){var t=i,n=h[1];n=!e[36],document[r[433]](r[434],t,n);var a=d[412];(t=R[a=(a+=d[413])[c[26]](d[19])[c[6]]()[f[5]](f[2])])[h[393]]=h[394],window[l[412]](r[0],c[5])}function m(){var n=f[7];document[r[435]](t[404],i),n=-(n=C[e[428]]);for(var a=r[436],o=r[3],s=h[1],c=d[1];c<a[r[24]];c++){if(!c){var u=l[413];s=f[417]+u}var p=a[t[26]](c),v=p^s;s=p,o+=r[12][e[29]](v)}window[o](e[0],n);var m=R[h[395]];m&&(m=(n=R[t[405]])[t[406]](R))}for(var g=97;void 0!==g;){var b=15&g>>4;switch(15&g){case 0:switch(b){case 0:var y=eP[e[16]](eF),_=y^eL;eL=y,eD+=l[29][t[17]](_),g=54;break;case 1:var w=t[397];ty=r[427]+w,g=80;break;case 2:eq=r[7],g=112;break;case 3:(X=document[eC])[e[421]](R),(X=e$)[c[375]]=ez,X=s,$=!c[3];var S=d[368];S+=e[425]+t[402]+c[376]+h[225];var E=r[431];E=E[d[12]](c[2])[t[46]]()[e[46]](t[10]),eS[S](E,X,$),this[f[415]]=u;var k=l[410],I=r[3],x=t[0];g=99;break;case 4:es=o[l[385]],g=19;break;case 5:var O=tg[l[7]](t_),T=~(~(O&~ty)&~(~O&ty));ty=O,tb+=e[10][f[21]](T),g=135;break;case 6:g=t7<t8[e[2]]?35:133;break;case 7:var A=eq,M=c[356];M=(M+=r[411])[r[19]](f[2])[r[6]]()[f[5]](l[4]);var R=document[h[370]](M),C=(X=document[h[371]])[f[396]](),j=h[372];j+=e[398]+e[399],X=C[j];var N=t[369],P=h[7],D=t[0];g=18;break;case 8:g=eN<eR[l[44]]?100:48}continue;case 1:switch(b){case 0:for(var L=t[389],F=t[10],B=c[5],U=c[5];U<L[c[12]];U++){U||(B=c[368]);var z=L[e[16]](U),H=~(~(z&~B)&~(~z&B));B=z,F+=t[33][t[17]](H)}em[F](eS),R[t[390]](em),g=66;break;case 1:var G=t[392],q=(X=tO[e[97]](G))>($=-t[64]);if(q){X=rt;for(var W=h[386],K=c[2],V=e[0];V<W[d[13]];V++){var Y=W[d[18]](V)-d[402];K+=c[11][t[17]](Y)}$=tO[t[205]](K,d[19]),rt=X+=$=h[384]($)/d[72],q=X}tj=q,g=68;break;case 2:X=re;var J=f[46];J+=d[401],$=t9[J+=e[418]](h[385],f[2]),re=X-=$=d[58]($)/h[29],eV=X,g=38;break;case 3:ex++,g=21;break;case 4:tM=l[404],g=103;break;case 5:var Z=~(~(ek[r[11]](ex)&~parseInt(e[409],r[62]))&~(~(ek[r[11]](ex)&ek[f[20]](ex))&parseInt(l[398],t[128])));eI+=c[11][f[21]](Z),g=49;break;case 6:var X=navigator[d[71]],$=l[6],Q=f[7],ee=t[0],et=d[1],er=h[1],en=c[5],ea=t[178],ei=X[ea+=t[366]+e[397]](f[395]),eo=ei;eo&&(eo=o[r[410]]);var es=eo;g=es?64:69;break;case 7:eJ=eH[l[402]],g=116;break;case 8:var ec=f[401];ec=ec[r[19]](f[2])[l[69]]()[c[7]](l[4]),tJ[r[23]]($,Q,ee,h[375],c[360],l[390],et,er,tE,t[376],e[403],ec,en,e[404]),$=tJ;var eu=r[414];eu+=h[376]+d[9],X[d[383]]=$[eu](f[402]);var el=d[384];el+=d[385]+h[377]+r[38]+e[405];for(var ef=t[377],ed=e[1],eh=f[7];eh<ef[l[44]];eh++){var ep=parseInt(l[391],e[64]),ev=ef[d[18]](eh)-(t[378]+ep);ed+=f[4][d[39]](ev)}var em=document[el](ed);X=em[e[406]];var eg=[],eb=r[240];eb+=c[15]+l[392];var ey=d[273];ey+=d[386]+h[378]+t[379]+e[407]+r[415];var e_=t[107];e_+=c[361]+t[380];var ew=d[42];ew+=h[379]+l[393]+d[387],eg[eb](d[388],e[408],l[394],ey,h[380],l[395],l[396],c[362],t[381],e_,t[382],r[416],ew),$=eg,X[t[383]]=$[t[6]](t[101]),(X=em)[c[363]]=a;var eS=document[r[417]](d[389]);X=eS[d[390]];var eE=[],ek=l[397],eI=f[2],ex=d[1];g=21}continue;case 2:switch(b){case 0:ee+=t$;var eO=f[399];eO+=t[71]+d[381],et=(eO+=t[373])+tV+f[400],er=l[389]+tY+f[400];var eT=tV>r[413];g=eT?87:22;break;case 1:g=D<N[c[12]]?50:7;break;case 2:eL=d[392],g=0;break;case 3:var eA=N[f[20]](D)-t[370];P+=h[38][r[15]](eA),g=52;break;case 4:R[h[390]](e$),X=R;var eM=t[399];eM+=d[405]+d[406]+f[412]+h[391]+d[407],X[t[400]]=eM;var eR=r[430],eC=f[2],ej=e[0],eN=f[7];g=128;break;case 5:var eP=d[391],eD=d[19],eL=r[0],eF=f[7];g=6;break;case 6:var eB=f[416],eU=k[r[11]](x)^eB-d[400];I+=l[29][l[8]](eU),g=134;break;case 7:tk=parseInt(h[373],l[139])-h[374],g=39;break;case 8:X=rn,$=tO[c[369]](l[405],c[2]),rn=X+=$=t[34]($)/h[29],tj=X,g=68}continue;case 3:switch(b){case 0:g=tr<te[t[15]]?70:23;break;case 1:var ez=es,eH=o[c[355]],eG=this,eq=n[t[368]];g=eq?112:32;break;case 2:var eW=~(~(t8[f[20]](t7)&~parseInt(c[358],c[84]))&~(~(t8[c[20]](t7)&t8[r[11]](t7))&c[359]));t5+=t[33][r[15]](eW),g=117;break;case 3:g=tI?39:114;break;case 4:var eK=h[98];eK+=f[405];var eV=(X=t9[eK+=e[417]](r[425]))>($=-e[36]);g=eV?33:38;break;case 5:g=t_?80:16;break;case 6:g=x<k[t[15]]?98:55;break;case 7:var eY=l[401],eJ=eH;g=eJ?113:116;break;case 8:g=eF?0:34}continue;case 4:switch(b){case 0:var eZ=c[364];eZ+=r[418]+t[384]+d[393]+t[385],eE[t[109]](eI,d[394],t[386],l[399],d[395],eD,d[396],d[397],eZ),$=eE;var eX=h[381];eX+=r[419],X[d[383]]=$[eX](h[382]),(X=eS)[r[420]]=f[403];for(var e$=document[r[417]](c[365]),eQ=d[398],e0=c[2],e1=f[7];e1<eQ[e[2]];e1++){var e2=eQ[e[16]](e1)-r[421];e0+=h[38][r[15]](e2)}X=e$[e0];for(var e3=[],e4=r[422],e6=d[19],e8=l[6];e8<e4[c[12]];e8++){var e5=c[366],e7=e4[f[20]](e8)-(e5-e[410]);e6+=c[11][d[39]](e7)}var e9=t[387];e9+=f[330]+e[411]+r[423];var te=e[412],tt=t[10],tr=e[0];g=3;break;case 1:tr++,g=3;break;case 2:g=t0<tX[f[10]]?86:2;break;case 3:D++,g=18;break;case 4:X=eS[t[393]];var tn=[];$=t[394]+re+e[419];for(var ta=d[403],ti=r[3],to=e[0];to<ta[l[44]];to++){var ts=ta[r[11]](to)^e[56];ti+=t[33][f[21]](ts)}Q=ti+rt;for(var tc=f[88],tu=h[7],tl=e[0];tl<tc[t[15]];tl++){var tf=tc[r[11]](tl)-t[395];tu+=r[12][t[17]](tf)}Q+=tu,ee=t[396]+rr;var td=h[224];ee+=td+=f[284],et=c[370]+rn+h[387];var th=c[371];th=th[c[26]](f[2])[f[30]]()[r[21]](r[3]),tn[l[24]](th,h[388],c[372],$,Q,c[373],f[406],r[426],l[406],ee,et),$=tn;var tp=d[42];X[tp+=e[420]+d[257]+t[107]]=$[h[4]](f[402]),R[e[421]](eS),X=e$[l[407]];var tv=[];$=f[407]+tO;var tm=e[422];Q=(tm=tm[f[3]](f[2])[r[6]]()[c[7]](f[2]))+t9;var tg=h[389],tb=c[2],ty=f[7],t_=e[0];g=102;break;case 5:en=eT;var tw=d[382];en=(tw=tw[t[8]](f[2])[l[69]]()[l[22]](r[3]))+en;var tS=e[402],tE=t[10],tk=c[5],tI=l[6];g=85;break;case 6:g=eN?37:118;break;case 7:var tx=eJ;tx||(tx=l[403]);var tO=tx,tT=eH;if(tT){var tA=f[404];tT=eH[tA=tA[d[12]](r[3])[c[6]]()[h[4]](e[1])]}var tM=tT;g=tM?103:65;break;case 8:X=rr,$=t9[t[205]](r[415],t[10]),rr=X-=$=h[384]($)/e[64],ra=X,g=53}continue;case 5:switch(b){case 0:eN++,g=128;break;case 1:g=ex<ek[h[9]]?81:82;break;case 2:var tR=eR[t[26]](eN),tC=~(~(tR&~ej)&~(~tR&ej));ej=tR,eC+=r[12][r[15]](tC),g=5;break;case 3:var tj=(X=tO[f[288]](r[415]))>($=-e[36]);g=tj?130:17;break;case 4:es=o[t[367]],g=19;break;case 5:g=tI<tS[h[9]]?51:129;break;case 6:for(var tN=f[408],tP=f[2],tD=r[0];tD<tN[t[15]];tD++){var tL=~(~(tN[f[20]](tD)&~t[398])&~(~(tN[c[20]](tD)&tN[h[14]](tD))&d[404]));tP+=l[29][r[15]](tL)}tv[c[48]](tb,r[428],f[409],e[423],f[410],c[374],$,Q,f[406],l[408],tP,r[429]),$=tv,X[f[411]]=$[r[21]](t[101]),g=66;break;case 7:t7++,g=96;break;case 8:eT=t5,g=84}continue;case 6:switch(b){case 0:g=eF<eP[t[15]]?131:4;break;case 1:eT=t[375],g=84;break;case 2:ra=eV,g=53;break;case 3:eF++,g=6;break;case 4:var tF=parseInt(e[413],l[57]),tB=te[h[14]](tr)^l[400]+tF;tt+=c[11][t[17]](tB),g=20;break;case 5:t0||(tQ=l[388]);var tU=tX[c[20]](t0),tz=tU^tQ;tQ=tU,t$+=c[11][c[35]](tz),g=119;break;case 6:g=t_<tg[t[15]]?83:101;break;case 7:ej=l[409],g=37;break;case 8:x++,g=99}continue;case 7:switch(b){case 0:$=window[P];for(var tH=f[397],tG=h[7],tq=c[5];tq<tH[c[12]];tq++){var tW=e[400],tK=tH[e[16]](tq)-(l[386]+tW);tG+=d[51][r[15]](tK)}var tV=(X=Math[tG](X,$))/($=A),tY=(X=window[t[371]])/($=A);X=R[c[357]];var tJ=[];$=r[412]+A+d[380],Q=e[401]+A+t[372];var tZ=l[387];ee=(tZ=tZ[h[8]](e[1])[l[69]]()[r[21]](r[3]))+A;var tX=f[398],t$=c[2],tQ=t[0],t0=e[0];g=36;break;case 1:e3[c[48]](e6,t[388],e9,tt),$=e3;var t1=d[399];t1+=h[383]+h[65];var t2=c[367];t2+=e[414],X[t1]=$[t2](r[424]),g=(X=ei)?1:115;break;case 2:var t3=tS[h[14]](tI),t4=~(~(t3&~tk)&~(~t3&tk));tk=t3,tE+=f[4][c[35]](t4),g=71;break;case 3:this[I]=p;var t6=r[4];this[t6+=e[427]]=v,this[t[403]]=m,g=void 0;break;case 4:tI++,g=85;break;case 5:var t8=t[374],t5=t[10],t7=h[1];g=96;break;case 6:var t9=tM,re=eY-t[391],rt=eY-d[400],rr=d[97],rn=-(eY-parseInt(e[415],f[121])),ra=(X=t9[c[75]](e[416]))>($=-r[7]);g=ra?132:67;break;case 7:t0++,g=36;break;case 8:t_++,g=102}continue}}}function s(n){for(var a=8;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:s=E+w,u=n[E],s+=u=r[437](u),k=v[S](s),a=2;break;case 1:return v[e[46]](e[52]);case 2:var o,s=f[7],u=e[0],v=[],m=p(n),g=t[14],b=g=g[t[8]](c[2])[h[25]]()[e[46]](d[19]),y=f[6],_=l[414],w=f[418],S=f[419];a=2}continue;case 1:switch(i){case 0:var E=o[_],k=n[E];a=k?0:2;break;case 1:a=4;break;case 2:o=s=m[b](),a=(s=s[y])?5:1}continue;case 2:0===i&&(a=e[36]?9:4);continue}}}function u(n){d[1];var i=c[5],o=this,s=this[c[65]],u=this[r[79]];return i=function(){function n(n){for(var a=4;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:var s=_[c[20]](E),u=s^S;S=s,w+=c[11][f[21]](u),a=9;break;case 1:var p=f[7],v=c[5],m=e[0],g=h[1],b=f[7],y=[];p=o[d[105]];var _=r[442],w=h[7],S=t[0],E=c[5];a=8;break;case 2:a=E<_[e[2]]?5:2}continue;case 1:switch(i){case 0:var k=c[382];S=r[443]+k,a=0;break;case 1:a=E?0:1;break;case 2:E++,a=8}continue;case 2:if(0===i)return v=o[w],m=o[l[418]],g=o[h[396]],b=o[h[402]],y[e[295]](p,v,m,g,b),p=y,p=o[h[403]](p);continue}}}function i(n){h[1];var a=c[383],i=(a=(a+=t[410])[h[8]](h[7])[e[18]]()[h[4]](d[19]))===n;if(i)i=new r[85](l[419]);else{var o=r[444];o+=h[404]+e[434]+l[420]+t[411]+d[417],o=(o+=l[421])[c[26]](c[2])[h[25]]()[d[10]](r[3]),i=new e[266](o)}throw i}for(var p=0;void 0!==p;){var v=7&p>>3;switch(7&p){case 0:switch(v){case 0:var m=f[7],g=e[0],b=s[l[88]],y=e[32],_=b[y=(y+=d[210])[e[81]](h[7])[l[69]]()[h[4]](e[1])],w=l[415];w+=r[438],w=(w+=h[397])[d[12]](d[19])[f[30]]()[h[4]](f[2]),m=navigator[w];var S=d[111],E=m[S+=c[168]+e[429]+c[379]](),k=(m=E[h[181]](h[398]))>(g=-t[64]);k&&(k=(m=E[r[10]](e[430]))<r[0]);var I=k;p=I?33:11;break;case 1:var x=(m=!d[1])!==(g=s[d[61]]);p=x?34:16;break;case 2:x=!F,p=34;break;case 3:return g=n,m=(m=(m=a[h[401]])[f[421]]())[f[422]](g),g=i,m=m[h[189]](g);case 4:m=a[r[445]];var O=f[423];m[O+=t[412]+c[157]](),p=17}continue;case 1:switch(v){case 0:(m=b)[r[441]]=U[d[63]];var T=!(m=s[r[105]]);if(T){var A=(m=!l[6])===(g=B[e[433]]);if(!A){m=!d[1];var M=d[415];M+=h[399]+d[93]+h[400],A=m===(g=s[M])}var R=A;R||(R=(m=!d[1])===(g=u[t[409]])),T=R}C=T,p=18;break;case 1:throw new f[226](d[416]);case 2:p=void 0;break;case 3:var C=P;p=C?1:18;break;case 4:var j=d[259];j+=r[439]+t[408],I=(m=E[j=(j+=d[414])[d[12]](r[3])[c[6]]()[e[46]](f[2])](e[431]))<e[0],p=11}continue;case 2:switch(v){case 0:var N=f[420];N=N[e[81]](l[4])[f[30]]()[l[22]](h[7]),P=(m=_[t[88]](N))>(g=-e[36]),p=25;break;case 1:var P=G;p=P?25:2;break;case 2:p=(m=C)?3:17;break;case 3:G=(m=_[r[10]](e[432]))>(g=-h[15]),p=10;break;case 4:var D=x;D||(m=s[l[417]],D=f[64]===m),p=(m=D)?24:32}continue;case 3:switch(v){case 0:var L=d[273];L+=l[416]+l[351]+c[381],p=(m=a[L])?8:9;break;case 1:var F=I,z=_ instanceof r[18];z&&(_=m=_[f[5]](c[76]),z=m);var H=(m=_[h[181]](c[380]))>(g=-d[8]);H||(H=(m=_[d[7]](r[440]))>(g=-f[23]));var G=H;p=G?10:26}continue}}},n()[l[226]](i)}function m(n,a,i){for(var o=0;void 0!==o;){var s=3&o>>2;switch(3&o){case 0:switch(s){case 0:r[0];var c={},u=l[423],p=h[7],v=l[6];o=8;break;case 1:c[p]=!l[6],c[l[78]]=!r[0],c[l[424]]=a;var m=i;m||(m=a),c[r[446]]=m;var g=c;return new F(n)[h[205]](g);case 2:o=v<u[f[10]]?1:4}continue;case 1:switch(s){case 0:var b=u[e[16]](v)^parseInt(d[418],t[140]);p+=l[29][l[8]](b),o=5;break;case 1:v++,o=8}continue}}}function g(n,a,i){for(var o=0;void 0!==o;){var s=1&o>>1;switch(1&o){case 0:switch(s){case 0:d[1];var u={};u[f[425]]=!t[0],u[h[194]]=a;var p=i;o=p?1:2;break;case 1:p=a,o=1}continue;case 1:if(0===s){for(var v=l[426],m=f[2],g=f[7];g<v[r[24]];g++){var b=parseInt(l[427],r[62]),y=v[e[16]](g)-(parseInt(f[426],d[87])+b);m+=c[11][e[29]](y)}u[m]=p;var _=u;return new F(n)[e[222]](_)}continue}}}function b(n){function a(){for(var n=2;void 0!==n;){var a=3&n>>2;switch(3&n){case 0:switch(a){case 0:m++,n=7;break;case 1:n=void 0;break;case 2:y=location;var i=e[154];i+=e[32],_=(_=S[i+=l[43]])[f[427]];var o=e[436];o+=l[431]+h[406]+e[437]+r[449]+r[169]+f[82],w=p[o];var s=h[407],u=r[3],v=c[5],m=l[6];n=7;break;case 3:w=u+w,_=_[f[65]](new e[70](h[408]),w),y[h[409]]=_,g=_,n=9}continue;case 1:switch(a){case 0:var g=p[t[415]];n=g?8:13;break;case 1:M=(y=S[e[79]])[d[420]],n=3;break;case 2:O=g,n=4;break;case 3:y=location,_=S[l[68]];var b=d[421];_=_[b+=e[158]],y[t[47]]=_,g=_,n=9}continue;case 2:switch(a){case 0:var y=f[7],_=r[0],w=c[5],S=p[t[94]],E=S[e[99]],k=E instanceof d[4];n=k?11:15;break;case 1:n=m?14:10;break;case 2:v=e[438],n=14;break;case 3:var I=s[c[20]](m),x=I^v;v=I,u+=r[12][t[17]](x),n=0}continue;case 3:switch(a){case 0:var O=M;n=O?1:4;break;case 1:n=m<s[e[2]]?6:12;break;case 2:var T=c[384];E=y=E[T+=t[414]](h[405]),k=y,n=15;break;case 3:var A=l[201];A+=l[428]+r[448];var M=(y=E[A+=l[429]](l[430]))>(_=-r[7]);n=M?5:3}continue}}}for(var i=0;void 0!==i;){var o=3&i>>2;switch(3&i){case 0:switch(o){case 0:var s=l[6],u=r[0],p=this[l[173]];this[t[74]];var v=(s=!f[7])===(u=p[t[91]]);i=v?5:9;break;case 1:_=(s=!d[1])===(u=p[t[413]]),i=2;break;case 2:n(),i=void 0}continue;case 1:switch(o){case 0:s=n(),u=a;for(var m=l[432],g=e[1],b=h[1];b<m[l[44]];b++){var y=~(~(m[f[20]](b)&~r[450])&~(~(m[t[26]](b)&m[t[26]](b))&parseInt(t[416],d[87])));g+=d[51][l[8]](y)}return s[g](u);case 1:var _=(s=!l[6])===(u=B[h[206]]);i=_?2:4;break;case 2:i=(s=v)?1:8}continue;case 2:0===o&&(v=_,i=9);continue}}}function y(n,a,i){e[0];var o={},s=t[417];o[s+=h[410]+e[439]+c[385]]=!e[0];var u=l[433];o[u=u[t[8]](l[4])[r[6]]()[t[6]](t[10])]=a;var f=i;return f||(f=a),o[e[440]]=f,new F(n)[l[434]](o)}function _(a){function i(){function a(n){for(var a=1;void 0!==a;){var i=1&a>>1;switch(1&a){case 0:switch(i){case 0:a=void 0;break;case 1:return p[c[3]]}continue;case 1:if(0===i){var o=f[439]+n,s=e[0];o+=h[426],o=new l[55](o),s=document[d[432]];var u=r[448],p=o[u+=t[428]](s);a=p?2:0}continue}}}function i(a,i){function s(){for(var a=0;void 0!==a;){var o=3&a>>2;switch(3&a){case 0:switch(o){case 0:var p=t[430],v=h[7],m=c[5];a=4;break;case 1:a=m<p[l[44]]?8:5;break;case 2:var g=parseInt(h[427],t[54]),y=p[r[11]](m)-(h[428]+g);v+=r[12][h[10]](y),a=1}continue;case 1:switch(o){case 0:m++,a=4;break;case 1:b[v](t[431],s);for(var _=f[442],w=e[1],S=r[0];S<_[c[12]];S++){var E=_[r[11]](S)-h[429];w+=f[4][h[10]](E)}n[r[435]](w,u);var k=d[433];i(k=k[e[81]](h[7])[l[69]]()[h[4]](l[4])),a=void 0}continue}}}function u(o){for(var v=1;void 0!==v;){var m=3&v>>2;switch(3&v){case 0:switch(m){case 0:b[f[443]](f[414],s);var w=d[79];n[w+=d[434]+d[112]+l[447]+e[463]+t[432]](f[444],u),b[r[460]]();try{for(var S=2;void 0!==S;){var E=3&S>>2;switch(3&S){case 0:switch(E){case 0:S=d[8]?10:7;break;case 1:var k=L[H];(q=_)[W=k]=D[k],S=0;break;case 2:var I=[];q=g[c[398]],W=g[f[103]];var x=d[220];x+=c[111]+l[449]+h[430]+h[431]+l[450]+l[109],K=g[x=(x+=e[332])[r[19]](f[2])[t[46]]()[l[22]](e[1])],V=g[d[437]];var O=h[424];O+=c[289]+t[435]+c[402]+f[446],Y=g[O],I[t[109]](q,W,K,V,Y),q=I;var T=d[438],A=f[2],M=h[1];S=13;break;case 3:q=document;var R=t[434];R=R[f[3]](e[1])[l[69]]()[e[46]](d[19]),W=e4+R+(K=JSON[f[81]](D)),q[r[461]]=W+r[424],P=(q=n[t[65]])[e[464]](),S=9}continue;case 1:switch(E){case 0:D=q=JSON[h[74]](D),C=q,S=11;break;case 1:P=(q=g[A](q))[h[187]](a),S=9;break;case 2:S=void 0;break;case 3:S=M<T[d[13]]?6:5}continue;case 2:switch(E){case 0:q=G[f[445]],q=t[433](q),D=q=JSON[t[195]](q),q=typeof q;var C=t[165]==q;S=C?1:11;break;case 1:var j=c[403],N=T[f[20]](M)-(c[16]+j);A+=c[11][d[39]](N),S=14;break;case 2:L=q=F[B](),S=(q=q[U])?3:4;break;case 3:M++,S=13}continue;case 3:switch(E){case 0:S=7;break;case 1:var P=(q=!e[0])===(W=y[d[436]]);S=P?12:8;break;case 2:var D,L,F=p(q=D),B=l[224],U=e[460],z=d[112],H=z+=l[448]+d[435];S=0}continue}}}catch(e){i(h[432])}v=5;break;case 1:v=(q=$)?0:5;break;case 2:q=G[e[78]],$=l[446]===q,v=4}continue;case 1:switch(m){case 0:var G,q=l[6],W=f[7],K=t[0],V=d[1],Y=e[0];try{for(var J=0;void 0!==J;){var Z=1&J>>1;switch(1&J){case 0:switch(Z){case 0:q=o[e[79]];var X=JSON[t[195]](q);J=X?2:1;break;case 1:G=X,J=void 0}continue;case 1:0===Z&&(X={},J=2);continue}}}catch(e){}var $=G;v=$?8:4;break;case 1:v=void 0}continue}}}var v=K[h[135]],m=r[0],b=new o(f[2],v);v=s,m=!l[11];var w=d[439];w+=l[451],w=(w+=r[462])[l[3]](l[4])[r[6]]()[e[46]](f[2]),b[f[415]](w,v,m),v=u,m=!e[36],n[t[183]](f[444],v,m),b[f[447]]()}for(var s=2;void 0!==s;){var u=7&s>>3;switch(7&s){case 0:switch(u){case 0:b=K[f[431]],s=17;break;case 1:var v=(U=V[e[97]](e[443]))>(z=-e[36]);if(v){var m=r[452];m+=f[430],v=K[m]}var b=v;s=b?0:17;break;case 2:E=U=k[I](),s=(U=U[x])?9:42;break;case 3:var w=[];U=g[d[105]],z=g[f[103]],H=g[e[462]],G=g[r[239]],q=g[t[429]];var S=f[441];return w[S+=l[10]+d[333]](U,z,H,G,q),U=w,U=g[e[218]](U);case 4:for(var E,k=p(e6),I=t[14],x=l[445],O=f[440],T=f[2],A=l[6];A<O[t[15]];A++){var M=O[c[20]](A)-e[461];T+=f[4][h[10]](M)}var R=T;s=4;break;case 5:V=U=V[c[7]](l[436]),Y=U,s=8}continue;case 1:switch(u){case 0:s=f[23]?27:33;break;case 1:s=24;break;case 2:s=(U=b)?35:12;break;case 3:e6=U=JSON[l[377]](e6);var C,j=p(U),N=t[14],P=e[460],D=l[414];s=1;break;case 4:var F=(U=!e[0])===(z=y[c[401]]);F&&(F=e6);var B=F;B&&(B=!e8),s=(U=B)?32:26;break;case 5:s=void 0}continue;case 2:switch(u){case 0:var U=r[0],z=l[6],H=t[0],G=r[0],q=e[0],W=l[233],K=y[W+=c[388]+h[413]],V=K[r[451]],Y=V instanceof d[4];s=Y?40:8;break;case 1:s=$<J[e[2]]?19:34;break;case 2:var J=r[458],Z=l[4],X=l[6],$=d[1];s=10;break;case 3:return new L(U=i);case 4:eZ=(U=K[Z])[r[459]],s=11;break;case 5:var Q=E[R];(U=_)[z=Q]=e6[Q],s=4}continue;case 3:switch(u){case 0:$++,s=10;break;case 1:s=(U=eZ)?36:41;break;case 2:if(!$){var ee=parseInt(t[425],r[62]);X=t[426]+ee}var et=J[c[20]]($),er=et^X;X=et,Z+=t[33][l[8]](er),s=3;break;case 3:C=U=j[N](),s=(U=U[P])?43:20;break;case 4:try{for(var en=24;void 0!==en;){var ea=7&en>>3;switch(7&en){case 0:switch(ea){case 0:eA++,en=19;break;case 1:U=ep;var ei=r[454],eo=e[1],es=c[5],ec=h[1];en=13;break;case 2:eq++,en=26;break;case 3:var eu=r[411];eu+=c[389]+t[333]+d[423],U=window[eu];var el=t[418];el+=e[444]+c[390];var ef=!!(U=U[el+=c[391]]),ed=new Image,eh=h[414];U=K[eh=eh[r[19]](h[7])[l[69]]()[t[6]](l[4])];var ep=(U=c[392]+U+e[445]+(z=K[t[419]])+r[453])+(z=ef),ev=window[f[63]];en=ev?42:27;break;case 4:U=ep,z=(z=window[d[429]])[e[453]];var em=r[456];em+=d[430]+l[444]+h[423],z=(em+=e[454])+z+e[455],ep=U+=z+=H=(H=window[f[437]])[r[250]],eU=U,en=33;break;case 5:ec||(es=e[149]);var eg=ei[h[14]](ec),eb=eg^es;es=eg,eo+=e[10][f[21]](eb),en=2}continue;case 1:switch(ea){case 0:var ey=h[418],e_=eH[d[18]](eq)-(c[395]+ey);eG+=f[4][t[17]](e_),en=16;break;case 1:U=ep,z=(z=location[h[409]])[e[447]](e[0],l[438]);var ew=d[424];ew+=l[439],ep=U+=z=(ew=(ew+=t[420])[l[3]](d[19])[c[6]]()[t[6]](f[2]))+z,eB=U,en=11;break;case 2:var eS=ex[t[26]](eA),eE=eS^eT;eT=eS,eO+=l[29][d[39]](eE),en=0;break;case 3:U=ep,z=(z=window[d[428]])[l[441]];var ek=f[161];ek+=l[442]+h[421],z=(ek+=l[443])+z;var eI=f[436];z+=eI=eI[f[3]](l[4])[h[25]]()[c[7]](l[4]);var ex=h[422],eO=t[10],eT=r[0],eA=c[5];en=19;break;case 4:(U=ed)[r[420]]=ep,(U=document[r[457]])[h[390]](ed),en=void 0;break;case 5:var eM=t[422];eM=eM[d[12]](d[19])[f[30]]()[e[46]](l[4]);var eR=window[eM];en=eR?8:5}continue;case 2:switch(ea){case 0:ec++,en=13;break;case 1:U=ep,z=(z=window[e[448]])[t[421]],z=e[449]+z+f[432],ep=U+=z+=H=(H=window[c[393]])[d[329]],en=36;break;case 2:U=ep,z=(z=window[d[427]])[f[435]];for(var eC=c[397],ej=r[3],eN=d[1];eN<eC[r[24]];eN++){var eP=eC[l[7]](eN)^parseInt(h[419],h[132]);ej+=f[4][c[35]](eP)}z=ej+z+e[450],ep=U+=z+=H=(H=window[h[420]])[d[329]],eW=U,en=3;break;case 3:en=eq<eH[h[9]]?1:4;break;case 4:ep=U+=z+=H=(H=window[eO])[f[255]],eL=U,en=35;break;case 5:var eD=l[437];eD+=e[446],ev=location[eD],en=27}continue;case 3:switch(ea){case 0:var eL=window[e[451]];en=eL?25:35;break;case 1:var eF=window[c[393]];en=eF?10:41;break;case 2:en=eA<ex[e[2]]?43:34;break;case 3:var eB=ev;en=eB?9:11;break;case 4:var eU=window[t[424]];en=eU?32:33;break;case 5:en=eA?17:44}continue;case 4:switch(ea){case 0:ep=U+=z+=H=H[eG],eK=U,en=28;break;case 1:U=ep,z=window[l[440]];var ez=t[423];z=z[ez=ez[r[19]](f[2])[c[6]]()[r[21]](c[2])],z=h[417]+z+c[394],H=window[f[433]];var eH=f[434],eG=r[3],eq=h[1];en=26;break;case 2:z=(z=window[eo])[d[425]],z=h[415]+z+d[426],ep=U+=z+=H=(H=window[h[416]])[r[250]],eR=U,en=5;break;case 3:var eW=window[c[396]];en=eW?18:3;break;case 4:eF=U,en=41;break;case 5:eT=parseInt(e[452],c[23]),en=17}continue;case 5:switch(ea){case 0:var eK=window[r[455]];en=eK?12:28;break;case 1:en=ec<ei[h[9]]?40:20}continue}}}catch(e){}var eV=[];U=g[c[398]];var eY=h[424];return eY+=e[456]+d[431]+e[457],z=g[eY],H=g[r[167]],G=g[c[399]],q=g[c[400]],eV[f[419]](U,z,H,G,q),U=eV,U=g[f[229]](U);case 5:s=33}continue;case 4:switch(u){case 0:s=t[64]?16:24;break;case 1:var eJ=(U=V[f[288]](h[425]))>(z=-f[23]);eJ||(eJ=(U=V[d[7]](e[458]))>(z=-f[23]));var eZ=eJ;s=eZ?18:11;break;case 2:var Q=C[D],eX=_[Q];s=eX?28:1;break;case 3:e8=U=!t[0],eX=U,s=1;break;case 4:for(var e$=t[427],eQ=l[4],e0=f[7],e1=d[1];e1<e$[r[24]];e1++){e1||(e0=parseInt(f[438],d[83]));var e2=e$[r[11]](e1),e3=~(~(e2&~e0)&~(~e2&e0));e0=e2,eQ+=e[10][c[35]](e3)}var e4=eQ,e6=(U=a)(e4),e8=!l[11],e5=(U=!f[7])===(z=y[e[459]]);e5&&(e5=e6),s=(U=e5)?25:33}continue}}}for(var s=0;void 0!==s;){var u=3&s>>2;switch(3&s){case 0:switch(u){case 0:var v=d[1],m=t[0],g=this,b=e[441];b+=l[435];var y=this[b=(b+=h[411])[l[3]](r[3])[r[6]]()[d[10]](c[2])],_=this[f[79]],w=(v=!t[64])!==(m=y[f[429]]);w&&(v=y,m=!e[0],v[e[442]]=m,w=m);var S=(v=!t[0])!==(m=_[c[386]]);s=S?9:2;break;case 1:var E=(v=!f[7])!==(m=B[f[429]]);E&&(E=(v=!t[0])!==(m=y[h[412]])),I=E,s=5;break;case 2:a(),s=void 0}continue;case 1:switch(u){case 0:v=a(),m=i;var k=d[440];return v[k=k[d[12]](r[3])[l[69]]()[e[46]](e[1])](m);case 1:s=(v=!(v=I))?1:8;break;case 2:S=(v=!h[1])!==(m=y[c[387]]),s=2}continue;case 2:if(0===u){var I=S;s=I?5:4}continue}}}async function S(n){function a(e){for(var r=0;void 0!==r;){var n=1&r>>1;switch(1&r){case 0:switch(n){case 0:var a,i=h[1],o=f[7];a=i=chrome;var s=h[16]===i;r=s?2:1;break;case 1:var c=s;c||(a=i=a[l[453]],c=d[2]===i);var u=c;u||(u=(i=void t[0])===(o=a));var p=u;if(!p){var v={};v[h[434]]=[A],i=v,o=e,p=a[f[448]](i,o)}r=void 0}continue;case 1:0===n&&(s=(i=void t[0])===(o=a),r=2);continue}}}function i(n){for(var a=4;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:o={},a=6;break;case 1:d[1],h[1];var o=n;a=o?6:0;break;case 2:s=void r[0]===b,a=2}continue;case 1:switch(i){case 0:y[f[449]]=p;var s=l[0]===b;a=s?2:8;break;case 1:var u=_,p=u=u?void f[7]:b[t[436]];a=p?1:10;break;case 2:_=void r[0]===b,a=5}continue;case 2:switch(i){case 0:var v=s;if(v)v=void c[5];else{var m=f[450];m+=h[435],v=b[m=(m+=r[439])[h[8]](c[2])[e[18]]()[l[22]](f[2])]}var g=v;return g||(g=d[441]),y[c[404]]=g,y;case 1:var b=o[l[454]],y={},_=c[0]===b;a=_?5:9;break;case 2:p=e[466],a=1}continue}}}function o(n){for(var a=0;void 0!==a;){var i=3&a>>2;switch(3&a){case 0:switch(i){case 0:var o,s=t[0],u=d[1];o=s=chrome;var p=h[16]===s;p||(p=(s=void h[1])===(u=o));var v=p;v||(o=s=o[e[467]],v=c[0]===s);var m=v;a=m?8:4;break;case 1:m=(s=void r[0])===(u=o),a=8;break;case 2:var g=m;a=g?10:9}continue;case 1:switch(i){case 0:O[M]=U,O[h[439]]=r[469],O[t[243]]=j,u=O,I[r[23]](s,u),k[r[470]]=I,S[e[469]]=k;var b={};b[r[471]]=D;var y=t[439];y+=f[452]+l[458]+t[214]+t[440],b[d[444]]=[y],S[f[453]]=b;var _=f[454];w[_=_[r[19]](d[19])[c[6]]()[t[6]](d[19])]=[S],s=w,u=n,g=o[t[441]](s,u),a=10;break;case 1:z++,a=6;break;case 2:var w={},S={};S[l[455]]=A;var E=c[405];S[E=E[t[8]](h[7])[h[25]]()[l[22]](l[4])]=c[3];var k={};k[r[83]]=e[468];var I=[],x={};x[d[443]]=l[456],x[c[406]]=c[407],x[f[451]]=N,s=x;for(var O={},T=h[438],M=t[10],R=c[5],C=f[7];C<T[t[15]];C++){if(!C){var P=c[230];R=r[467]+P}var L=T[t[26]](C),F=L^R;R=L,M+=l[29][d[39]](F)}var B=l[457],U=d[19],z=c[5];a=6}continue;case 2:switch(i){case 0:var H=B[r[11]](z)-parseInt(r[468],c[129]);U+=r[12][f[21]](H),a=5;break;case 1:a=z<B[c[12]]?2:1;break;case 2:a=void 0}continue}}}async function u(){function r(r){var n=h[32];n+=t[442]+h[440]+t[443]+h[441];var a=chrome[n],i=c[5],o=e[0],s={};s[f[455]]=[A],i=s,o=r,a[h[442]](i,o)}for(var n=0;void 0!==n;){var a=1&n>>1;switch(1&n){case 0:switch(a){case 0:var i=d[1],o=g;n=o?2:1;break;case 1:i=r,o=await new L(i),n=1}continue;case 1:0===a&&(n=void 0);continue}}}for(var p=9;void 0!==p;){var v=3&p>>2;switch(3&p){case 0:switch(v){case 0:var m=b;m&&(m=chrome[l[453]]);var g=m;p=g?6:2;break;case 1:I=(x=!d[1])===(O=T[h[433]]),p=10;break;case 2:var b=R;p=b?5:0}continue;case 1:switch(v){case 0:x=!h[1];for(var y=r[464],_=l[4],w=r[0],S=t[0];S<y[d[13]];S++){S||(w=c[131]-e[465]);var E=y[r[11]](S),k=E^w;w=E,_+=h[38][d[39]](k)}var I=x===(O=B[_]);p=I?10:4;break;case 1:b=chrome,p=0;break;case 2:var x=l[6],O=f[7],T=this[r[463]],A=P,M=(x=P+=d[8])>l[452];M&&(P=x=h[15],M=x);var R=(x=!t[0])===(O=T[l[78]]);p=R?1:8}continue;case 2:switch(v){case 0:O=u,(x=n())[t[48]](O),p=void 0;break;case 1:x=a,await new L(x);var C=(x=i)(T),j=C[f[449]],N=C[r[465]];x=T[h[436]];var D=c[2][d[166]](x),F=T[d[442]];F&&(x=D,O=s(O=T[h[437]]),D=x+=O=r[466]+O,F=x);var U=t[437],z=T[U=U[f[3]](f[2])[f[30]]()[r[21]](h[7])];z&&(x=D,O=s(O=T[r[175]]),D=x+=O=t[438]+O,z=x),x=o,await new L(x),p=2;break;case 2:R=I,p=8}continue}}}async function E(n){function a(e){for(var r=0;void 0!==r;){var n=1&r>>1;switch(1&r){case 0:switch(n){case 0:var a=c[37],i=e[a+=f[330]+f[459]+l[224]],o=!!i;r=o?2:1;break;case 1:i=e[c[414]],tA[l[24]](i),o=!t[0],r=1}continue;case 1:if(0===n)return o;continue}}}for(var i=40;void 0!==i;){var o=7&i>>3;switch(7&i){case 0:switch(o){case 0:tU++,i=37;break;case 1:tW=(g=void c[5])!==(b=p),i=34;break;case 2:ri=(g=void c[5])!==(b=p),i=28;break;case 3:t5=A[e[470]],i=19;break;case 4:(g=H)&&(P=(g=await K(eM))[eM]),m=g=P;var s=r[29]===g;i=s?26:44;break;case 5:var u,p,m,g=c[5],b=c[5],y=f[7],_=r[0],S=d[1],E=e[0],k=d[1],x=this[h[196]];x||(x={});var O=x,T=O[h[135]],A=O[d[445]],M=d[2]===A;M||(M=(g=void f[7])===(b=A));var R=M,C=R=R?void e[0]:A[e[470]];C||(C={});var j=C,N=j[t[445]],P=j[t[97]],D=l[94],L=j[D+=c[408]+d[446]],F=e[471],B=j[F=F[c[26]](c[2])[f[30]]()[c[7]](h[7])],U=j[l[459]],z=(g=void c[5])===(b=U);i=z?25:10}continue;case 1:switch(o){case 0:var H=tq;i=H?3:32;break;case 1:tD[l[467]]=tF,E=tD;var G={},q=tT;q&&(q=tT!==N),G[h[446]]=q;var W=d[452];W+=c[157]+d[42]+c[412];var V=t[451];V=V[c[26]](c[2])[h[25]]()[h[4]](h[7]),k=c[413][W](N,V);var Y=e[480];G[Y=Y[c[26]](d[19])[t[46]]()[f[5]](r[3])]=k[l[37]](tT,h[447]),k=G,tM[l[24]](g,b,y,_,S,E,k),b=a;var J=(g=tM)[d[453]](b);try{for(var Z=19;void 0!==Z;){var X=7&Z>>3;switch(7&Z){case 0:switch(X){case 0:Z=void 0;break;case 1:var $=eu;Z=$?32:16;break;case 2:$=tv[e[485]],Z=12;break;case 3:Z=t_<tb[t[15]]?10:4;break;case 4:$=void t[0],Z=12}continue;case 1:switch(X){case 0:var Q={};Q[h[141]]=t[454],Q[h[456]]=f[334],Q[h[363]]=!r[0];var ee=d[458],et=e[1],er=c[5],en=r[0];Z=35;break;case 1:var ea=c[419];er=parseInt(t[113],d[83])+ea,Z=34;break;case 2:Z=en?34:9;break;case 3:var ei={},eo=h[460];ei[eo=eo[d[12]](c[2])[l[69]]()[f[5]](d[19])]=d[459],ei[r[480]]=c[298],ei[d[377]]=!h[15];var es={},ec=c[306];ec+=r[481],tv=g=this[ec+=t[121]];var eu=h[16]===g;Z=eu?8:2;break;case 4:t_++,Z=24}continue;case 2:switch(X){case 0:eu=(g=void d[1])===(b=tv),Z=8;break;case 1:var ef=r[59],ed=tb[r[11]](t_)^ef-t[456];ty+=d[51][c[35]](ed),Z=33;break;case 2:var eh=performance[t[35]]();g=this[d[76]];var ep=(b=this[r[79]])[l[475]];ep||(ep={}),g[c[150]]=ep;var ev=h[453];ev=ev[e[81]](e[1])[d[5]]()[t[6]](c[2]);var em=await el[ev](tO,T),eg={};eg[d[91]]=tO;var eb=h[102];eb+=h[454],eg[eb=(eb+=e[484])[e[81]](c[2])[f[30]]()[l[22]](t[10])]=L;for(var ey=f[463],e_=t[10],ew=t[0];ew<ey[h[9]];ew++){var eS=~(~(ey[d[18]](ew)&~h[455])&~(~(ey[f[20]](ew)&ey[e[16]](ew))&h[455]));e_+=c[11][c[35]](eS)}eg[e_]=N;var eE=d[457];eg[eE=eE[l[3]](c[2])[r[6]]()[l[22]](h[7])]=em,g=eg;var ek=await eI[l[476]](g);(g=(g=this[t[74]])[c[150]])[c[418]]=ek;var ex=performance[l[191]](),eO=tV;Z=eO?1:0;break;case 3:Q[et]=ex-eh;var eT={};eT[h[457]]=ex-tm,eT[h[458]]=eh-tm;var eR=h[459];eT[eR=eR[c[26]](h[7])[d[5]]()[r[21]](f[2])]=ex-eh,Q[c[420]]=eT,eO=I(g=Q,b=!c[5]),Z=0;break;case 4:var eC=ee[e[16]](en),ej=~(~(eC&~er)&~(~eC&er));er=eC,et+=t[33][l[8]](ej),Z=27}continue;case 3:switch(X){case 0:Z=tO?18:25;break;case 1:try{for(var eN=8;void 0!==eN;){var eP=7&eN>>3;switch(7&eN){case 0:switch(eP){case 0:eV=(g=void d[1])!==(b=eD),eN=40;break;case 1:g=N,b=L;var eD,eL={},eF=l[0]===A;eN=eF?2:17;break;case 2:var eB=e5[e[16]](e9)-parseInt(e[482],d[87]);e7+=t[33][d[39]](eB),eN=18;break;case 3:eN=(g=eY)?35:33;break;case 4:eN=e9<e5[e[2]]?16:27;break;case 5:var eU=eV;eN=eU?11:4}continue;case 1:switch(eP){case 0:g=(g=chrome[l[469]])[t[57]],b=w(b={},y=eM,_=e0);for(var ez=h[448],eH=c[2],eG=c[5],eq=t[0];eq<ez[t[15]];eq++){eq||(eG=r[477]);var eW=ez[l[7]](eq),eK=~(~(eW&~eG)&~(~eW&eG));eG=eW,eH+=f[4][r[15]](eK)}g[eH](b),eN=33;break;case 1:var eV=tt;eN=eV?0:40;break;case 2:eF=(y=void f[7])===(_=A),eN=2;break;case 3:var eY=window[l[470]];eN=eY?10:24;break;case 4:eN=void 0;break;case 5:eD=g=eD[e[475]],tt=d[2]!==g,eN=9}continue;case 2:switch(eP){case 0:var eJ=eF;eN=eJ?26:42;break;case 1:eY=B,eN=24;break;case 2:e9++,eN=32;break;case 3:eJ=void h[1],eN=12;break;case 4:te=(g=void r[0])!==(b=eD),eN=28;break;case 5:eJ=A[c[415]],eN=12}continue;case 3:switch(eP){case 0:e1=(g=void l[6])!==(b=eD),eN=19;break;case 1:eU=eD[l[468]],eN=4;break;case 2:var eZ=e1;eN=eZ?43:20;break;case 3:b=l[379][e7]();var eX=f[250];eX+=r[475]+h[65];var e$=h[382];g=(g=g[eX](b,e$))[r[474]](tO,f[402]);var eQ=r[373],e0=g[eQ+=t[5]+r[476]](N);eD=g=chrome;var e1=r[29]!==g;eN=e1?3:19;break;case 4:var e2=h[449][c[416]](),e3={},e4=r[190];e3[e4+=d[454]]=l[471],e3[l[99]]=e0;var e6={};e6[c[170]]=e2,e6[h[450]]=el[r[478]](e2,e3),e6[c[199]]=e3,(g=window[l[470]])[t[452]](e6,B),eN=33;break;case 5:eD=g=eD[h[52]],eZ=t[9]!==g,eN=20}continue;case 4:switch(eP){case 0:eN=(g=eU)?1:25;break;case 1:eL[e[481]]=eJ,eL[f[460]]=!f[7],y=eL,tO=await eA[r[473]](g,b,y);var e8=r[424];g=h[7][r[474]](L,e8);var e5=f[461],e7=f[2],e9=f[7];eN=32;break;case 2:var te=eZ;eN=te?34:28;break;case 3:var tt=te;eN=tt?41:9}continue}}}catch(n){for(var tr,tn,ta=d[455],ti=t[10],to=f[7];to<ta[d[13]];to++){var ts=ta[h[14]](to)-e[483];ti+=r[12][f[21]](ts)}for(var tc=t[453],tu=e[1],tl=d[1];tl<tc[l[44]];tl++){var tf=parseInt(l[472],l[57]),td=tc[h[14]](tl)-(parseInt(h[451],h[29])+tf);tu+=e[10][t[17]](td)}var th=f[248];th+=d[456]+f[248];var tp=e[346];tp+=l[351]+h[452],tp=(tp+=l[473])[f[3]](f[2])[r[6]]()[e[46]](h[7]),I({type:d[90],target:c[298],success:!f[23],extra:{api:d[2]===(tr=this[e[203]])||void e[0]===tr?void r[0]:tr[ti],parentOrigin:B,tokenInvalidReasons:tA,env:d[2]!==(tn=chrome)&&void l[6]!==tn&&l[0]!==(tn=tn[tu])&&void d[1]!==tn&&r[29]!==(tn=tn[th])&&void t[0]!==tn&&tn[c[407]]?r[479]:f[462],message:l[474]+JSON[e[291]]((r[29]===n||void l[6]===n?void e[0]:n[tp])||n),stack:JSON[t[90]](l[0]===n||void c[5]===n?void f[7]:n[c[417]])}},!r[7])}Z=3;break;case 2:var tv,tm=performance[e[478]]();Z=J?11:3;break;case 3:en++,Z=35;break;case 4:Z=en<ee[e[2]]?17:26}continue;case 4:switch(X){case 0:es[ty]=$,es[h[461]]=tA,es[r[482]]=e[486];var tg=f[13];ei[tg+=h[462]+r[217]]=es,I(g=ei,b=!h[15]),Z=0;break;case 1:var tb=t[455],ty=h[7],t_=f[7];Z=24}continue}}}catch(n){var tw,tS=l[477];tS+=c[421],tS=(tS+=f[230])[d[12]](d[19])[r[6]]()[t[6]](h[7]),I({type:h[463],target:c[298],success:!f[23],extra:{api:h[16]===(tw=this[tS])||void d[1]===tw?void r[0]:tw[t[457]],tokenInvalidReasons:tA,message:JSON[l[258]]((e[17]===n||void d[1]===n?void d[1]:n[f[444]])||n),stack:JSON[r[328]](e[17]===n||void r[0]===n?void t[0]:n[e[487]])}},!l[11])}n(),i=void 0;break;case 2:tH=[],i=18;break;case 3:z=!d[8],i=11;break;case 4:i=tU?20:41;break;case 5:var tE=l[466];tB=d[451]+tE,i=20}continue;case 2:switch(o){case 0:p=g=p[t[207]],rn=l[0]!==g,i=42;break;case 1:z=U,i=11;break;case 2:var tk=v(tH,parseInt(f[458],r[62])),tI=tk[h[1]],tx=tk[e[36]],tO=tk[l[25]],tT=tk[h[107]],tA=[],tM=[],tR={};tR[d[448]]=!P,tR[h[444]]=d[449],g=tR;var tC={};tC[f[453]]=!tI,tC[d[450]]=e[476],b=tC;var tj={};tj[d[448]]=!tO,tj[d[450]]=l[462],y=tj;var tN={};tN[t[449]]=!tx,tN[e[477]]=t[450],_=tN;var tP={};tP[d[448]]=tI!==L,S=l[463][f[38]](L,l[464]),tP[d[450]]=S[h[445]](tI,l[465]),S=tP;var tD={};E=d[52][e[478]]()-(k=tx),tD[t[449]]=E>c[411];var tL=e[479],tF=h[7],tB=e[0],tU=r[0];i=37;break;case 3:var tz=s,tH=tz=tz?void c[5]:m[f[3]](l[461]);i=tH?18:17;break;case 4:var tG=tW;tG&&(p=g=p[e[475]],tG=h[16]!==g);var tq=tG;i=tq?5:1;break;case 5:var tW=rn;i=tW?8:34}continue;case 3:switch(o){case 0:var tK=t[448];H=p[tK+=h[65]],i=32;break;case 1:var tV=z,tY=d[17];tY+=t[446]+c[331],u=g=this[tY=(tY+=l[460])[c[26]](r[3])[c[6]]()[c[7]](h[7])];var tJ=t[9]!==g;tJ&&(tJ=(g=void d[1])!==(b=u));var tZ=tJ;i=tZ?27:36;break;case 2:g=t5;for(var tX=d[447],t$=h[7],tQ=c[5];tQ<tX[e[2]];tQ++){var t0=~(~(tX[e[16]](tQ)&~parseInt(c[410],e[64]))&~(~(tX[d[18]](tQ)&tX[h[14]](tQ))&e[474]));t$+=d[51][d[39]](t0)}return t9[t$]=JSON[c[310]](g),t7[l[38]]=t9,I(g=t7,b=!e[36]),g=n();case 3:for(var t1=c[409],t2=e[1],t3=d[1],t4=c[5];t4<t1[h[9]];t4++){t4||(t3=f[456]);var t6=t1[t[26]](t4),t8=t6^t3;t3=t6,t2+=t[33][h[10]](t8)}tZ=u[t2],i=36;break;case 4:var t5=re;i=t5?43:24;break;case 5:t5=void f[7],i=19}continue;case 4:switch(o){case 0:re=(g=void e[0])===(b=A),i=35;break;case 1:var t7={};t7[e[78]]=f[457],t7[t[447]]=h[443],t7[h[363]]=!f[23];var t9={};t9[e[472]]=e[473];var re=r[29]===A;i=re?35:4;break;case 2:var rt=tL[c[20]](tU),rr=~(~(rt&~tB)&~(~rt&tB));tB=rt,tF+=t[33][d[39]](rr),i=0;break;case 3:var rn=ri;i=rn?2:42;break;case 4:i=(g=tZ)?29:21;break;case 5:s=(g=void d[1])===(b=m),i=26}continue;case 5:switch(o){case 0:tq=(g=void r[0])!==(b=p),i=1;break;case 1:var ra=!P;ra&&(p=g=chrome,ra=c[0]!==g);var ri=ra;i=ri?16:28;break;case 2:return n();case 3:var ro=!N;ro||(ro=!L),i=(g=ro)?12:13;break;case 4:i=tU<tL[c[12]]?33:9}continue}}}for(var k=0;void 0!==k;){var x=3&k>>2;switch(3&k){case 0:switch(x){case 0:var O=t[0],T=h[1],A=!a;A||(A=!(O=a[r[216]]));var M=A;M||(M=(O=a[e[396]])[d[379]]),k=(O=M)?4:2;break;case 1:var R=h[368];throw R=R[t[8]](h[7])[h[25]]()[c[7]](c[2]),O=new f[226](R);case 2:(O=a[q])[r[447]]=g,T=b,(O=(O=a[l[241]])[e[103]])[h[64]](T),(O=a[r[216]])[f[428]]=y;var C=d[422];C+=c[361],T=_,(O=(O=a[C])[e[103]])[f[419]](T),T=S,(O=(O=a[r[216]])[e[103]])[e[295]](T);var j=r[472];j+=t[444],T=E,(O=(O=a[j])[r[239]])[d[352]](T),k=void 0}continue;case 1:switch(x){case 0:W++,k=9;break;case 1:var N=G[e[16]](W)^parseInt(d[419],h[29]);q+=e[10][c[35]](N),k=1;break;case 2:k=W<G[h[9]]?5:8}continue;case 2:if(0===x){var P=r[7],D=f[204],L=n[D+=f[394]+h[222]],F=(O=a[r[216]])[c[353]],B=(O=a[c[354]])[l[383]],U=(O=a[h[192]])[l[384]],z=e[66];z+=t[407]+r[240],O=(O=a[z])[h[396]],T=u;var H=l[422];O[H+=f[424]](T),(O=a[l[241]])[e[435]]=m;var G=l[425],q=r[3],W=d[1];k=9}continue}}}(n=globalThis,globalThis[d[460]])}for(var Y=9;void 0!==Y;){var J=3&Y>>2;switch(3&Y){case 0:switch(J){case 0:e6=eR,Y=4;break;case 1:var Z,X=e6,$={},Q=e[239];$[Q=Q[t[8]](e[1])[r[6]]()[h[4]](r[3])]=c[0],$[h[209]]={},eN=$;var ee=d[233];ee=ee[t[8]](l[4])[c[6]]()[r[21]](d[19]),Z=eN=h[3][ee](eN);var et=eN;if(et){var er=r[232];er+=l[243]+d[234]+f[248],et=Z[er+=e[32]]}var en=et;en||(en=Z);var ea=en,ei=x(eN=O);x(eN=T),x(eN=A);var eo=x(eN=M),es=x(eN=R),ec=x(eN=C),eu={};eu[c[282]]=j,eu[d[311]]=N;var el=eu;x(eN=P),x(eN=D),x(eN=L);var ef=x(eN=F),ed=x(eN=B),eh=x(eN=U),ep=x(eN=z),ev={},em={};em[t[356]]=l[374];var eg=f[384];eg+=t[357]+c[344],em[eg=(eg+=t[358])[c[26]](d[19])[f[30]]()[f[5]](d[19])]=r[400],em[c[345]]=e[386];var eb=em;eb||(eb={});var ey=eb,e_=t[359],ew=ey[e_=e_[h[8]](c[2])[d[5]]()[e[46]](c[2])],eS=ey[l[375]],eE=ey[r[401]],ek={};ek[e[388]]=G;var eI=ek,ex=f[387],eO=q,eT={};eT[h[362]]=eO,eT[c[348]]=W;var eA=eT,eM=d[378];n=ez,a=el,i=eI,o=eA,s=V,Y=void 0;break;case 2:eN=typeof window;var eR=d[231]!=eN;Y=eR?2:1}continue;case 1:switch(J){case 0:eN=typeof u;var eC=r[2]!=eN;if(eC)eC=u;else{eN=typeof self;var ej=c[213]!=eN;eC=ej=ej?self:{}}eR=eC,Y=0;break;case 1:e6=globalThis,Y=4;break;case 2:[][d[0]]([]);var eN=t[0],eP=e[0],eD=(r[0],[h[0]]),eL={};eL[d[29]]=f[28];var eF=eL,eB={},eU=e[27];eB[eU=eU[f[3]](h[7])[h[25]]()[r[21]](l[4])]=S,eB[r[31]]=E;for(var ez=eB,eH=l[31],eG=e[1],eq=t[0];eq<eH[e[2]];eq++){var eW=f[29],eK=eH[c[20]](eq)-(r[33]+eW);eG+=f[4][e[29]](eK)}var eV=eG;eN={},eP=e[30];var eY={};eY[d[30]]=t[38];var eJ=t[39];eJ=eJ[d[12]](e[1])[f[30]]()[f[5]](l[4]),eY[l[32]]=eJ,eY[f[31]]=e[31],eN=w(eN,eP,eY),eP=eV;var eZ={},eX=t[40];eZ[eX+=f[32]+e[32]]=h[26],eZ[e[33]]=f[33];for(var e$=l[33],eQ=d[19],e0=f[7],e1=c[5];e1<e$[h[9]];e1++){e1||(e0=d[31]-h[27]);var e2=e$[r[11]](e1),e3=e2^e0;e0=e2,eQ+=r[12][h[10]](e3)}eZ[c[22]]=eQ;var e4=w(eN,eP,eZ);eN=typeof globalThis;var e6=f[246]!=eN;Y=e6?5:8}continue;case 2:0===J&&(eR=window,Y=0);continue}}}).call(void 0,[0,"","length",10,"lbar","value",Object,"getOwnPropertyNames","\xb3\xa8\xa9\xa6\xb4",347,String,"getOwnPropertyDescriptor",8,"Object","constructor","1165","charCodeAt",null,"reverse",Array,"symbol","tcn","ol",296,"string","default","@@toPrimitive must return a primitive value.","ofnIreggoLetadpu",16,"fromCharCode","common","cn-shanghai.log.aliyuncs.com","t","logstore",221,"host",1,191,"atsem","rtx","toString","nirts","\u0333\u034b\u033f\u034d\u032c","\u0115\u0174\u011a\u017e\u0111\u017c","GET","enod","join","pen","ld","createElement","\u0234\u0244\u0228\u025d\u022e\u0203\u0270\u0205\u0263\u0206\u026f","/","&",609,"cument","cookie",106,"i","p;=","s",/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"TOKEN_EXPIRED","tmall.com",")|(?:",2,"tsetpaw","m",438,"navigator","tch",RegExp,/AMapClient\/([\d\.\_]+)/i,"\u025a\u025c\u024a\u025d\u026e\u0248\u024a\u0241\u025b","[Android|Adr]","\u0140\u012c\u0145\u0104\u0174\u0104\u014a\u012b\u0146\u0123","7.1.62","AliAppName","AliAppVersion","type","data",404,"split","totor","options","HELY","g","est","ndVane","ind","aneVe",5.4,"WindVaneRequest",940,"H5Request","equest",226,"youku","indexOf","fOxedni","ret","retJson","201","\u03fd\u03fd\u040e\u0410\u040d\u0401\u0403\u0411\u0411\u03f0\u0403\u040f\u0413\u0403\u0411\u0412\u03f2\u0417\u040e\u0403","middlewares","v","::","\u0305\u0312\u0303\u033d\u0304\u0318\u0319","_m_h5_c","_m_h5_tk","AlipayJSBridge","360","tseuqeR5H","__processToken","token","\u0254\u0248\u0245\u024e",",","iaf","Req","__processRequest","okieP","c","__cookieProcessor","eikooc__","bDom","n","hostname","subDomain","2.7.2",354,2147483648,1073741824,"0",313,"\\",128,4,"11111101010001101001010100000001","1000101010110100001010011101101",12,3225465664,3634488961,568446438,4243563512,4294588738,2272392833,3572445317,7,"8f0ccc92","10",15,1309151649,4149444226,"\u03b7",913,"da","\u0265\u0204","keys","ext_querys","l",359,131,"originaljsonp","pResu","101100100","qu","reat","pt","path","etSign","&bx_et=","ABORT::\u63a5\u53e3\u5f02\u5e38\u9000\u51fa","prototype","\u02f9\u02f2\u02ef\u02e9\u02eb","p","https:","tu","TIMEOUT::\u63a5\u53e3\u8d85\u65f6","o","abort","method","bo","text","pa","r","valueType","timeout",2e4,"dIoclaf","timer","needLogin","ditt","nav","customWindVaneClassName","send","pti","\u03c8\u03bf\u03bf\u03be\u039f\u03bd\u03c9\u03be\u03bf\u03ad\u03c3\u03c1\u03c8","headers","tad","original","ty",304,84,"J","params","DR","replace","(",")","%29","1247","sameSite",";Samesite=","target","response","\u02a0\u02af\u02a8","extra","SUCCESS","etTy","__sequence","promise","forEach","pop","request","ERROR","evloser","__processRequestType","k","st",926,"__","Type",223,"211",".","ioj",722,"lastIndexOf","stna","aC","__otorp__","cr","\u0350\u0341\u034a\u0343\u0347\u035c","crypto","function","randomBytes","ototyp","lib","156","init","\u03fa\u03e7\u03eb\u03fa\u03f1\u03fb","ini","drow","concat","sigBytes","words","nd","om","extend",24,"jo","in","179","el",274,"Latin1",decodeURIComponent,Error,"gnirts","sdrow","ziSr","gB","\u01e1\u01fb\u01f5\u01d0\u01eb\u01e6\u01f7\u01e1",767,"tend","update","\u02fc\u028c\u02fe\u0291\u02f2\u0297\u02e4\u0297","100","327","713",3,5,"361",255,"574","aB","11010101",889,"_hasher","fi","exports","enc","stringify",56,"63",63,"push","ap","2562383102",320,"158",435,411,"1100",22,137,9,122,20,29,30,"435",11,45,"16",48,"3d","ata","1101010",478,"40000000000","111111110000000011111111",16711935,"SHA-256","sign","HMAC","\u01d7\u01e3\u01e0\u01de\u01b4\u01d9\u01d2\u01e3\u01b4\u01e0\u01d5\u01d6","H",260,"374",239,"_data","212","_","clone","_hash","MD5","\u02d5\u02e1\u02df\u02e2\u02e7\u02e6\u02d7","ex","EvpKDF","Cipher","WordArray","11a","ivSize","C","ec","\u0121\u014f\u013f\u015e\u013a","e","set","_xformMode","ot","_mode","sse","padding","pad","mixIn",390,"ecils","cfg","\u0345\u0350\u034b\u0353\u0356\u034d\u0358\u034c\u0351","mode","\u010d\u0103\u0100\u010c\u0104\u013c\u0106\u0115\u010a","create","decrypt","_parse","rs","a","hasher","iv","\u0137\u0151\u0136",340,"encrypt","163",398,387,"110110",297,79,464,"ff","1000","_keySchedule","10100101",157,"255",98,"edom","fjkdshfkdshfkdsj","gth","Encrypt","parse","1111010","uuid","bil",442,"result","retType","mtop","ch","dt","h",219,"-ms-transform:scale(","\x03.G)M(PjXi]j^fUcW`","left:0","display:none","nt","style","52","height:52px","1100101011",200,"rde","\u03d6\u03cf\u03dc\u03cb\u03df\u03d5\u03d6\u03ce\u0383\u03d1\u03d0\u03dd\u03dd\u03dc\u03d7","184","oin","270","px","xOf","ce","%","ssT","appendChild",":thgieh","bottom:0px","dispatchEvent","d","apply","how","top","Lower","chrome","qqbrowser","AUTH_REJECT","LoginRequest","\u7528","loginRequest","An","dRe",244,"Cr","failureCallback","sn","AntiCreep","CHECKJS_FLAG","ufe","&serid=","ef","substr","__fyModule","&fyModuleLoad=","&ncModuleInit=","__nsModule","110000011","load","eLoad=","&etModuleInit=","proc","questUrl","ASSIST_FLAG","saveAntiCreepToken","done",261,"__processUnitPrefix","entListen","reload",196,"https://www.taobao.com","declarativeNetRequest","modifyHeaders","action","metaInfo","nigirOtnerap","message","\u6ca1\u6709\u83b7\u53d6\u5230\u7248\u672c\u4ee5\u53caUUID",249,"local","Token version is missing.","reason","now","\u035c\u0333\u0358\u033d\u0353\u0373\u031b\u037a\u0309\u0329\u034c\u0334\u0344\u032d\u035f\u033a\u035e\u037e\u0356\u0339\u0355\u0331\u0354\u0326\u0306\u0372\u031a\u037b\u0315\u0335\u0307\u033f\u031f\u0372\u031b\u0375\u0300\u0374\u0311\u0362\u034b\u0365","nosaer","DeclareExtensionHost","1446",705,"rev","api","\u6ca1\u6709\u83b7\u53d6\u5230token","stack"],[0,"iterator","@@iterator",Array,"isArray","o","join","Iytrep","split",null,"","O","getPrototypeOf",!0,"n","length","from","fromCharCode","nif","edn","ro","next",Object,"eu","prototype","mb","charCodeAt","getOwnPropertySymbols","apply","getOwnPropertyDescriptors","forEach","writable","toPrimitive",String,Number,"now","10",16,"ai-pilot","gol-noisnetxe","pr",Date,"concat","tnegAresu","ap","searchParams","reverse","href","then","rom","is","resolve","sol","__etReady",2,"n.com/se","d","local","exec","cookie",";expires=","\u0151\u0154\u0148\u0146\u0151",229,".",1,"location","tmall.hk","))","match","pte",199,"i","AliAppVersion","getTime","params","use","p","pa","get","ONP","da","aType","__processRequestType","AlipayJSBridge","70",406,"AliAppName","\u03cb\u03ae\u03da\u0390\u03e3\u038c\u03e2","indexOf","data","stringify","H5Request","v",308,"retJson","Message","^https?\\:$","token","esimorp","__getTokenFromCookie","\xff\xf8\xee",";","tion",318,"[\\J","TOKEN_EXOIRED",541,"t","__processRequestUrl","push","constructor","ssor",3,"338","__cookieProcessorId","__waitWKWebViewCookie","middlewares","__requestProcessor","__sequence","po","niamoDniam","s","prefix","subDomain","/","esaCrewoLot","jsv",246,10,1073741824,"h","\u0389\u038b\u0378\u0389\u038a\u0388",477,RegExp,"531",192,"edoCrahCmorf",63,446,4,8,1732583839,339,17,12,"1000111100001111100011000101010",6,7,2336552879,72,2304563134,2792965006,434,681279174,21,"1111","1001110",3174756917,528,"fetchInitConfig","\u0430\u042e\u043d\u0413\u041c\u0418\u0417\u0419","originaljsonp","type","SJte","g","string","js","us","originaljson","SV","querystring",101,"M",5,"TIMEOUT::\u63a5\u53e3\u8d85\u65f6","ment","pe","?","m",19560,398,"rted",146,"addEventListener","\u0289\u02e0\u0287\u02e9\u0288\u02e4","abortErrMsg","\u5931","__requestWindVane","ry",562,"assign","dniWteSylsu","or","ext_headers","postJSON","parse","ttid","valueType","dangerouslySetAlipayParams","mtop",239,"__requestJSON","_","results","82","replace","path","storage","ERROR","promise","\u030b\u0300\u0301\u02fe\u030c","16b","ngiSte","ydaeRte","e","r","options","ptio","st","\u03d3\u03de\u03d6\u03d9\u03bc\u03ce\u03db\u03d2\u03ca\u03d5\u03b9\u03db\u03d8\u03cc\u03ce\u03dc\u03dc","essor","catch","epyt","\u02fc",453,"\u0352\u033d\u035e\u033f\u034b\u0322\u034d\u0323","pageDomain",936,"WindVaneRequest","request","\u03ab\u039e\u03cc\u03a9\u03d8\u03ad\u03c8\u03bb\u03cf","CLASS","\xd7\xa5\xdc\xac\xd8\xb7","crypto","ra","\u02a8\u02bb\u02ce\u02c3\u02d0\u02bf\u027a\u02bd\u02cc\u02d3\u02ca\u02ce\u02c9\u027a\u02c7\u02c9\u02be\u02cf\u02c6\u02bf\u027a\u02bd\u02c9\u02cf\u02c6\u02be\u027a\u02c8\u02c9\u02ce\u027a\u02bc\u02bf\u027a\u02cf\u02cd\u02bf\u02be\u027a\u02ce\u02c9\u027a\u02c1\u02bf\u02ce\u027a\u02cd\u02bf\u02bd\u02cf\u02cc\u02bf\u027a\u02cc\u02bb\u02c8\u02be\u02c9\u02c7\u027a\u02c8\u02cf\u02c7\u02bc\u02bf\u02cc\u0288",602,"nd","yt","PnwOsah","init","nit",227,"value","cl","clone","words","ri","Hex",encodeURIComponent,"\u0357\u035c\u0357\u0362","11","ef","f","ytes","extend",675,"_append","9",271,64,"11111111",194,"sigBytes",128,"_hash","SHA256","one","olc",1549556828,"reset","stropxe","clamp",.75,"paMesrever_","ya","rA","sin",324,411,"3d",20,"1a",23,"20",15,"_d","_nDataBytes",24,"24",27,"MD5",Error,"\u5bc6\u94a5\u548c\u6d88\u606f\u90fd\u5fc5\u987b\u63d0\u4f9b","encode","importKey","subtle","\u02aa\u02af\u02a3\u02a5","name","sign","\u0255\u025e\u0257\u0269\u025e",80,"524","floor","li","hasher","create","pvE","ib","Base64","te","\x93\xa2\x95\x91\xa4\x95","_key","_doReset","iphe","blockSize","mode",538,"\u0261\u0208\u027e",215,"slice","processBlock","1105","decryptBlock","Decryptor","18",606,"iv","_ENC_XFORM_MODE","rc__","co","_data","pad","u","formatter","format","OpenSSL","ot","finalize","key","\u0264\u0277\u0273\u0264\u026d\u0263","kdf","1010100",16843008,65173,340,79,"_doCryptBlock","uo",255,"BlockCipherMode","OFB","mo","OF","NoPadding","exports","encryptedIv","Kde","rcne","vIdetpyrcne","keys","padding","timing","json","message",1e4,"at","url","dpr","\u0117\u011c\u011c\u0113\u0120\u0105\u0117\u0112\u0122\u0116",174,"innerHeight",") translateZ(0)","h:","\u0214\u0201\u0204\u0207\u024e\u0256\u024a\u0256\u024a\u0256\u024a\u0248\u0253\u024f","#FFF","position: fixed","\u0287\u028c\u0299",516,"ght:",":0","left:0","font-size:16px","cssText","r:","99","margin-top:15px","b","height:100%","\u03bb\u03cb\u03bb\u03de\u03b0\u03d4\u0397\u03ff\u0396\u03fa\u039e","appendChild",173,"%","style","top:",49,"margin-top:",315,680,"J_","className","\u0212\u027b\u021f\u027a","EventL","hide","touchmove","parentNode","removeChild","to","xed","needLogin","CNAC","L","Logi","AntiFlood","in","AntiFloodReferer","321","An","_s","serid","h&","load","eludoMmu__","daol","__etModule","10100100",554,"\u033c\u0351\u030e\u0366\u0353\u030c\u037f\u0312\u0366","ec","__processRequest","\u016f\u0162\u016a\u016c\u0173\u0162\u0142\u0173\u0162\u016b\u0171\u0149\u0166\u0170\u0171\u0162\u016b\u0162\u016f","close","er",decodeURIComponent,"=","essRe","Referer","NOSJteg","&","x","quest","updateDynamicRules","ecl","eNetReq","top","uuid","noi","target","ge","condition","Token creation timestamp is missing."," :dnuof ,","postMessage","\u01e2\u01e3\u01de\u01e1\u01d0\u01d6\u01d4","metrics","\xf3\xe2\xfb",122,"api"],[0,"Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","undefined","","s","orp","reverse",1,"ha","wn","indexOf","charCodeAt",String,"toString","constructor","fromCharCode",58,"Set",Array,"split","areti","join","61","push","length","return","uf",Object,"forEach",null,"symbol","getLoggerInfo","floor",192,"\u03ec\u038e\u03e4\u0381\u03e2\u0396","append","uag","it","e","\u035f\u035d\u0340\u035b\u0340\u035b\u0356\u035f\u034a","extra","fig",151,147,"ok","STORAGE_KEY_MTOP_TOKEN","\u027f\u021e\u0272\u0207\u0262","__etReady",405,"dev/","n","in","\u023a\u020e\u0203\u020b\u0204\u0202\u0215\u0241\u022e\u0203\u020b\u0204\u0202\u0215\u023c","tora","(?:^|;\\s*)","cum","getTime","toGMTString","\u03e7\u03da\u03e2\u03e4\u03eb\u03da",268,"269","11",2,"trim","i","x","st","taobao.net","ipa5h","mainDomain",RegExp,"WindVaneVersion","emaNppAilA","test",257,"10.1.2","KB","AMAP",Date,"params","toLowerCase",47,60,"type","W",Error,"WINDVANE_NOT_FOUND::\u7f3a\u5c11WindVane\u73af\u5883","H5Request","useNebulaJSbridgeWithAMAP","H5","userAgent","youku.com","youku",953,"retJson","\xdf\xce\xc8\xd9\xd8\xc8\xdf\xd6\xd9\xd3\xdb\xd2\xc5","FAIL_SYS_ACCESS_DENIED","__processRequest","api","__getTokenFromAlipay",910,"38e","token","resolve","nekot","WindVaneRequest",162,"emiT","__","essTok","yn","\u011e\u0119",10,"urtsno","__cookieProcessor","335",610,"ross","nDom","cne_kt_5h_m_","oD","nam","prefix","oL","owerC","/","12574478",2147483648,1073741824,279,8,224,324,343,7,4,2821735955,22,14,5,"30315603726",1735328473,11,1839030562,1272893353,"\u02a7\u0297",16,"13",3936430074,76029189,334,3873151461,4237533241,1700485571,"15",13,15,913,"sign","\u015f\u0127\u0153\u010c\u017d\u0108\u016d\u011f\u0166\u0115",704,"va","ueTyp","getOriginalJSONP","yt",210,":","__processUnitPrefix","__requestJSONP","r","ihC","47040","at","VS","promise","postdata","headers","\u01da\u0193\u01de\u019b\u01d4\u0181\u01d5","rt",114,"mode","vl","PA","ON","then","549","ams","NOSJtsop","valueType","original","t","ext_headers",470,583,"stat","falcoId","gi","\u02a2\u02a1\u02a5\u02a6","isHttps","customWindVaneClassName","ap","Name","assign","dangerouslySetAlipayParams","eq","SON","ioj","document",";d","secure","sameSite",320,"EtRequest","EtLoadTimeout","proc","tion","mtop","ra","v","reject","op","stPr","pageDomain",3,"slice","ndexO","lastIndexOf","\u02b8\u02ba\u02a7\u02b8\u02b9\u02b7\u02ae\u02b3\u02ac",581,"\u0197\u0199\u0186\u0197\u0198\u0196\u018d\u0192\u018b",236,"tIn","de",671,"De","LoginRequest","AntiCreep","customConfig","successCallback","middlewares","p","orts",819,"o","ge","lues","xte","rep","\xfd\x8d\xfd\x91\xe8",927,"init","wo","rds","sigBytes","Bgis","am","286","ng","parse","ts","1001100","Utf8","nepp","setyBgis","379","_process","ceil","max","0","ata","inBu","ffe","dnetxe","reset","nif","exports","algo","pow","_hash","words",185,"_doFinalize","\xc0\xc1\xc1",4294967296,440,495,160,"clone","HmacSHA256","_createHmacHelper","lib","enc",108,"blockSize",1549556828,"110110001101100011011000110110","gByte",71,"update","nal","tend",72,"eve",64,"abs","_doProcessBlock",472,99,"57","111","0001",17,9,134,37,23,"423",52,"416",63,138,4278255360,"4278255360",481,"h","hash",646,"&","stringify","re",271733878,27,1894007248,"gBy","SHA1","al","hasher","reti","cfg","keySize","iterations","finalize","FD","\u02fd\u028f\u02ea\u028b\u02ff\u029a","or",373,"create","110000","inal","_append","ke","OM","_MROFX","D","_cipher","1335","_prevBlock","\u021a\u0226\u022c\u0235\u022d\u0220\u0237","xt","CBC","Detaerc","processBlock",341,"225","ciphertext","rcnE","b","Size","formatter",511,"format","kdf","l","c","OpenSSL","iv","decrypt","extend",260,"BCBCBCC","100000001",266,107,"_nRounds",255,126,464,"_doCryptBlock","dehcS","oC","ryp","Block","255",133,237,"10","AES","_iv","_keystream","encryptBlock","^GW_T\\BPSUP@RX[UR@\\XP[BW_R[GV_[R","privateKey",229,"\u0214\u0260\u020f\u027f","success","warn","tseuqeRtaebtraeh","ep","y","storage","h5url","d","-webkit-transform:scale(",800,"j","px","font-weight:bold","createElement","lo","oin","src",757,"\x8c~y\x89}OFEE:","r:0",";","%","z-index:1",233,"top:0px","border-radius:18px","\u01c9\u01a6\u01c2\u01bb","kcilc","a","addEventListener","touchmove","removeEventListener","\u0180\u01e3\u0191\u01fe\u0192\u01fe\u01aa\u01c5",encodeURIComponent,"egAr","O","SID_INVALID","retType","\u02bd\u02e2\u0292\u02e0\u028f\u02ec\u0289\u02fa\u0289\u02db\u02be\u02cf\u02ba\u02df\u02ac\u02d8\u028d\u02ff\u0293",638,"\u8d25","login","failureCallback","antiFloodRequest","ex","fe",209,"ret","u","&sufei=","P\x0fz\x17Z5Q$H-","__uabModule","&e","body","\u02aa\u02cb\u02bf\u02de","url","hide","cookie","lc","options","\xcc\xa9\xca\xa6\xc7\xb5\xd0\x95\xed\x99\xfc\x92\xe1\x88\xe7\x89\xc1\xae\xdd\xa9","Origin","?",143,"526","set","requestHeaders","urlFilter","m","updateHeartBeatToken","concat","onca","ncat",98,"getSign","extension","target","ram","message"],[null,"sl","",1,"Propert",0,"reverse","join",411,356,"lic",String,"length",8,"de","u",185,"function","getOwnPropertySymbols","getOwnPropertyDescriptor","charCodeAt","string","host",2,"User-Agent","l","split","[object Object]","\xf6\x86\xf6\x93\xfd\x99",837,"ve","reject",521,"document","cum","fromCharCode",".alicd","c","entry/ind","=","s","ge","do",".=","ilp","\u02b9\u02dc\u02ac\u02c0\u02a1\u02c2\u02a7","1a6","hostname","push","taobao.net","\u020a\u026b\u021b\u026f\u020a\u0279\u020d","omain","prefix","match","WindVane[\\/\\s]([\\d\\.\\_]+)","AMAP","141",559,"22f","AliAppVersion","type","\xfc\xa3\xd3\xa1\xce\xad\xc8\xbb\xc8\x9a\xff\x8e\xfb\x9e\xed\x99\xd4\xb1\xc5\xad\xc2\xa6","getOriginalJSONP","getJSON","epyt","options","Re","WindVaneRequest","\u03e4\u03da\u03dd\u03d7\u03e5\u03d2\u03dd\u03d6\u03e5\u03d6\u03c1\u03c0\u03da\u03dc\u03dd","101001011",616,"58=$5-+:; +&150-NN\u655b\u4eac\u5be9\u906e\u9027\u675e\u51b2\u5973\u5909\uff78\u655b\u4eac\u5be9\u8b83\u89b5T\x1c\x00\x00\x04\x07N[[\x18\x15\x06\x1fZ\x15\x18\x1d\x04\x15\rZ\x17\x1b\x19[\x19\x00\x16\x07\x10\x1f\x10\x1b\x17\x07[\x19\x00\x1b\x04\x1e\x07\x07\x10\x1f\x10\x1b\x17\x07[\x04\x01\x17\x05B\x0e","\u01de\u01a3\u01c4\u01f3\u01e7\u01e3\u01f3\u01e5\u01e2","\x91\x87\x8e\x84",226,"indexOf",",","HY_NO_PERMISSION",31,"api","re","prototype","egdirBSJyapilA","CD",16,"token","resolve","waitWKWebViewCookieFn","ikbe","params","__getTokenFromAlipay","then","ret",Array,"11000","failTimes","en","cCooki",181,"__processRequestUrl","id","pageDomain","*","ai","TOKEN_EXPIRED","sn","hostSetting","h","e","gnitteStsoh","subDomain","i","Dom",".","ase","waptest",32,"20000000000","1073741824",3221225472,2048,"77",440,6,4,318,"98badcfe",271733878,"25",10,17,332,"13",14,9,15,"14","24","2850285829","1100",328,"f6bb4b60","20","11110100001010010010001001000100",433,21,"2240044497","-\x19*\x1a*\x18,\x1d)\x1b/",11,"toLowerCase","ext_headers","syreuq_txe",265,"\xec\xe1\xe8\xfd",152,"NO","valueType","n","5","\u03f5\u03e6\u03f9\u03ed","ntNode",349,"ro","ET","ngiSte","&bx_et=","a","b","o","signal","d","tp","nly",387,"windvane","ion","nAndMa","ualLog","egnad","ns","ttid","\u03e0\u03e2\u03df\u03dd\u03d9\u03e3\u03d5","__requestJSONP","UNEXCEPT_REQUEST::\u9519\u8bef\u7684\u8bf7\u6c42\u7c7b\u578b",encodeURIComponent,/[^+#$&/:<-\[\]-}]/g,"ain=","\u02cf\u02d3\u02d3\u02d7\u02c8\u02c9\u02cb\u02de",736,"134",255,"curl","retType",70,"__etReady",Number,"__processRequestMethod",Error,"\u03db\u03cc\u03cc\u03d1\u03cc","data","ms","retJson","errorListener","__","f","ir",".com",159,"iamo","maxRetryTimes","__requestProcessor","\u03c5\u03b1\u03de\u03ae","AntiCreep","undefined",589,"init","mixIn","hasOwnProperty","extend","sigBytes",47,"30",4294967295,"WordArray","si","Bytes","us","416","3","ht",360,"_data","_doProcessBlock","\u029c\u02f0\u029f\u02f1\u0294","_m","cfg","_doReset","ez",488,4294967296,477,"12","19","words",394,"10",5,"\xc2\xc8\xcb\xcb\xce","sah","\u011f\u0173\u011c\u0172\u0117","exports","\x1c\x04\x19\x0f\x18","ne","\xd8\x95\xd4\x97",144,220,120,"_map",48,"100","64","r_","enc","dro","Hasher",4294967005,3,315,7,"11","11111","71",59,"110010001","502",478,24,4278255360,438,"_hash","37700177400","\x01b\x10u\x14`\x05M(D4Q#","hmacSHA256","eltbus","name","hsa","_","67452301",175,"proc","_createHelper","SHA1","esaB","oi","algo","process","_process","ize","encrypt","decrypt","\u0244\u0278\u0269\u027e\u027a\u026f\u027e\u0253\u027e\u0277\u026b\u027e\u0269",539,"rotpyrceD","BlockCipherMode","\u0413\u041d\u042a","ils","pa","etaerc",340,"toString","stringify","salt",1701076831,"concat","parse","splice","padding",367,"finalize","SerializableCipher","mo","create","\xe8\x87\xea\x9a\xef\x9b\xfe","hasher","esrap_","keySize","ivSize","iv","key","80",34,"t","_key","100111001",126,"565","255",251,"11111111",141,"Hex","ex","Encryptor","B","tpy","privateKey","le","o\x01b\x10i\x19m","updateHeartBeatToken","message","mtop\u6ca1\u6709mount","m","ata","CLASS","mtop","dialogSize","vi","style","266",614,"-ms-transform-origin:0 0","op","position:absolute","innerText","co","iframe",221,"j",986,"replace","margin-left:","etulosba:noitisop","height:15px","cursor: pointer","margin:auto","src","istene","Listener","ply","Case","SESSION_EXPIRED","in",100,"LE","jo","eep","forceAntiCreep","H5Request","etJ","oc","i_d","ata2","https://fourier.taobao.com/ts?ext=200&uuid=","__fyModule","&uabModuleInit=",135,"__ncModule","\u0235\u027d\u0270\u025e\u027c\u0277\u0266\u027f\u0276\u025f\u027c\u0272\u0277\u022e","__processToken","middlewares","__processRequest","saveAntiCreepToken","q",230,"Origin","ytiroirp","operation","set","ersi","\u0336\u0353\u0336\u0352\u0313\u0366\u0312\u037a\u032e\u0341\u032a\u034f\u0321","11111001",168e4,"at","Token UUID does not match (expected: ","reason","DeclareExtensionHost","now","stack","X-1688extension-Secret",461,"extra","ara","lib"],[null,"bmySy","wO","split","","slobmySytreporPnwOteg",0,"charCodeAt","fromCharCode","e","s",1,Object,"\u02d0\u02b1\u02c2","Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.",/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/,"\u0234\u022d\u0236\u022f\u023c\u0230","t","@@iterator","\x8e\xe1\x8f\xea",8,"la","join","y","push",2,"object","\u0224\u0246\u022c\u0249\u022a\u025e",587,String,84,"\u014f\u015e\u0157","logstore","O!\fd\x05k\fv\x1eq\x04*F)N`\x01m\x04}\bf\x05vX;T9","\u03cf\u03cd\u03d0\u03d5\u03da\u03dc\u03cb","ow",".","concat","extra","searchParams","language",191,"p","a","length",8192,"P","do","etReady","script","100111010","/","toString","\u0107\u0162\u0116",201,RegExp,"cookie",16,"useAlipayJSBridge","hostname","zebra.alibaba-inc.com","alibaba-inc.com","\\","AliAppVersion","\u0369\u0308\u037c\u031d","get","dataType","type","data","reverse","awel","ddim","\u01b0\u01dc\u01b5\u01d6\u01b3","prototype",Error,"middleware is undefined","etJS","json","H5Request","quest",46,"tseuqeRenaVdniW","W","WindVaneRequest","1110101100","top","mainDomain","indexOf","retJson","574",13,926,"__processToken","api","v","eht","protocol","resolve",188,"token","__waitWKWebViewCookie","op","__getTokenFromCookie","\xa3\xa6\xa6\xaf\xad\xab\xa6\xb5\xab\xa9\xa9\xaf\xb9\xb9",234,"\u028a\u027e\u0295\u026f\u0282\u0291\u028f\u0296\u0271\u0286\u028a\u0282\u0290","H5","ue","middlewares","_","tc","rotcurtsnoc","\u02c5\u02c3\u02d6\u02c5\u02ca","up","__cookieProcessor","ecorP","ma","subDomain","ype","/h5/","4272","getTime",1073741823,3221225472,24,"r\\","334",452,4,"110100001","3905402710",5,"11111101010001101001010100000001","11",20,3593408605,"10100",3889429448,"1000101010110100001010011101101",10,7,11,"100","1000011",3299628645,4293915773,1873313359,"109",718787259,334,"headers","customConfig","forEach","pe","originaljson","original","np","OM\\b{gf",40,"postJSON","\u029a\u0297\u02a4\u029d\u029b\u02a8\u02a5\u02ab\u02a9\u02a2\u02af\u0289\u029b\u02aa\u0286\u02a8\u02a5\u02aa\u02a5\u0299\u02a5\u02a2",800,"TI","EOUT","mtopjsonp","timeoutErrMsg","tring","querystring","5.0","abortErrMsg",297,"results","params","options","gnirtsyreuq","\xa9\xa7\xb6\x8c\x95\x91\x90",49,"append","curl","TIMEOUT","credentials",417,"ser","RSE","JSON_E","\u0246\u0227\u0253\u0230\u0258","promise","getOriginalJSONP","string","timer"," T5A","now","falcoExtend","Au","in","isSec","ap","474","dangerouslySetWindvaneParams","assign","MtopWVPlugin","i","ecode","dangerouslySetWVTtid","\u0325\u035c\u032c\u0349","re","H","ay","ret","C","document","%","=","domain","path","tap;",679,"SUCCESS",982,";^-B.X=","12d",896,"ydaeRte__","__","n","mi","then","message","ack","tJson","ERROR","pa","catch","r","constructor","\u03e1","f",56,"\u0294","AntiFlood","447","mtop","\u03b2\u03a5\u03b3\u03b0\u03af\u03ae\u03b3\u03a5\u03bf\u03b4\u03b9\u03b0\u03a5","fa","tpyr","Cr","mVa","create","$super","apply","enod","clone",254,"ecils","377","to",3,213,"stringify",390,"_nDataBytes","d","co","setyBataDn_","min",402,"tini","HMAC","\u02de\u02d1\u02d6\u02d9\u02d4\u02d1\u02c2\u02dd",483,"WordArray","Hasher",302,"init","_doProcessBlock",461,19,258,249,26,504,394,"SHA256","\xc1\xe0\xd2\xa4","algo","clamp","\u0432\u0425\u0433\u0425\u0434","rehsah_","Ki","_hasher","reset","finalize","11111111","Base64",83,"words",17,457,18,36,"51",87,15,"_process","sah_","101111","crypto","\xa9\x9d\xac",502,899497514,111,"si","ess","SHA1","extend","cfg","compute","update","\u01c9\u01d5\u01d4\u01c9\u01c7\u01da","196","_xformMode","EDOM_MROFX_CNE_","_CE",539,"dnetxe","_doFinalize","402","blockSize","en","201",185,"createEncryptor","_mode","aerc__","k","rPo","d_","CipherParams",294,"sigBytes","salt","\u0339\u0342\u0345\u0340\u0334\u0347","1011010011",114,626,367,"ciphertext","\u01e9\u01d7\u01e2\u01ea",374,"rea","cf","g","hasher","iv",256,"100100010","ff",64,"_keyPriorReset",480,"69","_invKeySchedule","encryptBlock","el","yeKvn","_d",255,"255",357,"141","10001101","exports","slice","$E!","Y@\\XP[BWSUP@RX[UR@\\XP[BWSUP@RX[^","encryptedKey","mCha","parse","\u013a\u0131\u013c\u012d\u0126\u012f\u012b",Date,633,"ing","local","config","RESPONSE_TYPE","h5url",98,"(elacs:mrofsnart",589,"height:","transform-origin:0 0","11111","sh","or","background:transparent","box-sizing:border-box","padding-left:20px","\u034f\u0342\u0358\u035b\u0347\u034a\u0352\u0311\u0349\u0347\u0344\u0348\u0340","811","right:0",565,223,"width","420px","320px","px","overflow:hidden","style","background:#FFF",427,"|kcaxkKxk`zBg}zk`k|","removeEventListener","scrollTo",382,"value","tn","o","pageDomain","__processUnitPrefix","LOGIN_CANCEL::\u7528\u6237\u53d6\u6d88\u767b\u5f55","::ERU","OL","pu","\u011e\u013d\u0135\u013b\u013c\u0100\u0137\u0123\u0127\u0137\u0121\u0126","successCallback","\u02f8\u02e1\u02fa\u02e5","\u026b\u0266\u026e\u0271\u027a\u0277\u026a\u0248\u0266\u0271\u0271\u0267\u0266\u0268\u0270","101101001","nd","Of","FAIL_SYS_USER_VALIDATE","tiF","\xa5\xb9\xb4\xbf","kcabllaCsseccus","request","oit",",","hr",128,"fer","__uabModule","load","nsMo","oad=","od","done","child","eEv","al","fe","ssecorp","so",1e4,"declarativeNetRequest","metaInfo","id","Origin","\u0260\u0273\u0274\u0273\u0280\u0273\u0280","tpr","logPerformance","po",";","Token value is missing.","Token version does not match (expected: ",", found: ",").",244,"reason","set","storage","parent","update-heartbeat-token-from-iframe","e1","em","\u66f4\u65b0token\u5931\u8d25: ","ext_headers","Encrypt","sm"],["om","teg","","split",String,"join","done",0,"epytotorp",!0,"length",340,"gn","e","\u02e3\u02d6\u02e2\u02da","\x12s\x03",37,"Arguments","test","710","charCodeAt","fromCharCode","v",1,"isArray",Object,"d","elbaremune","development",46,"reverse","host","ojec","api-log",2,678,"n","https://","concat","/track.gif?APIVersion=0.6.0","pen","append","\xcb\xd0\xec\xcb\xcd\xd6\xd1\xd8",815,854,"atch","re","getElementsByTagName","ap","um",91,"src","\\=([^;]+)(?:;\\s*|$)","ent",86399894,";expires=","document",Number,"prototype","100100101","trim","useJsonpResultType","ERROR","location","taobao.com","replace","([^.]*?)\\.?((?:",RegExp,"daily","zebra","m","taobao.net","ca","AliApp\\(([^\\/]+)\\/([\\d\\.\\_]+)\\)","AliAppName","\u026b\u0264\u0273\u026c\u0262\u0264\u0271\u026a\u0277",16,"AP","1.0.1","params","object","stringify","er","10100011","ams","in","aneRequ","windvane","V","rsion","WindVaneRequest","at","a","\u03e4\u0399\u03fe\u03c9\u03dd\u03d9\u03c9\u03df\u03d8","\xd0\xb1\xc7\xae\xc9\xa8\xdc\xb3\xc1","ro","PARAM_PARSE_ERROR","DELIAF_YH","HY_CLOSED","error",10,"\u01e0\u018e\u01ea\u018f\u01f7\u01b8\u01de",527,"__processRequestUrl","ecneuqes__","r",887,"\u03e3\u03ef\u03fa\u03ed\u03e6","_","s","messageHandlers","th","\x9d\x98\x94\x8e\x97\xa8\x8e\x96\x99\x9d\xa2",482,"110011001",234,"failTimes","constructor","roce",null,"\u015a\u014e\u014b\u0154",8,"__processRequest","mainDomain","su","ain","tT","prefix","subDomain","appKey","2147483648",2147483648,217,64,"17e",3,4023233063,"31","10","24300241424","3614090360","11",1770035416,12,4254626195,19,643717713,5,38016083,"36465206607",9,4259657740,2763975236,7,1126891415,15,2878612391,"4264355552",21,6,3951481745,"&","y",314,"getJSON","postJSON","epyTeulav","getOriginalJSONP","ep","eJso",".0/","tuoemit","eEle","adts","async","toty","__requestJSON","path","postdata","SV","timeoutErrMsg","abort","dy","include","ok","results","RROR::\u89e3\u6790JS","\u8d25","valueType","isSec","sessionOption","ecode","mtopStart","mtopEnd","falcoId","needLogin","ess","secType",899,"sS","ec","ext_headers","ext_querys","ttid","P","apiVersion","1","data","ipAegdirBSJyapilAmotsuc","\u0184\u01af\u01ac\u01b3\u01a4\u01bc\u018d\u0196\u0185\u01b5\u01ac\u01a7\u01aa\u01a8","olve","ues","getJSONP","stAlip","[^+#$&^`|]","110010011","domain","=h","cookie","\u0293\u0285\u0294",255,"pe","t","217","1001100010101",100,Error,"ddle","ware","__sequence","p","successCallback","1110011110","errorListener","failureCallback",873,"fir","ocesso","__firstProcessor","la","gap",4,"bll","mtop","1740",992,"undefined","ex","l","1463","c","\u0323\u0332\u0339\u0330\u0334\u032f","yte",195,"i","init","toString","Base",71,"words","enc","St","g","Malformed UTF-8 data","parse","_data","0","_d","ze","cfg","reset","_append","eziSkcolb","al","qr","wop",.5,"13","110",92,"\xbc\xbb\xbc\xa1","finalize","_oKey","_iKey","x","create","arA","48","indexOf","exports",291,"_doReset",463,16711935,"ff00ff00",13,457,22,14,20,"17","16",32,"110010",286,11,38,"100001110","drow","12","711","clone","extend","MD5","_createHmacHelper",468,"216","from","doRe","et","c3d2e1f0","_hash","_doProcessBlock",287,43,1518499875,"3c","_doFinalize","HmacSHA1","b","o","EvpKDF","\u0179\u0168\u017f\u017b\u016e\u017f\u015f\u0174\u0179\u0168\u0163\u016a\u016e\u0175\u0168","ySiz","encrypt","StreamCipher","Encryptor","_iv","encryptBlock","_prevBlock","sigBytes","\u023d\u0238\u0239","mode","padding","_mode","colB","etaerc","py","ciphertext","iv","_parse","execute","dn",139,"key","salt","\u0113\u0126\u0113\u0111\u0123\u0122\u0113","decrypt","format","150","100011011",99,"16843009","1010100",374,"ese","_nRounds","_keySchedule","121",129,"750","u","100011111",24,17,"14","ff","1000","15d","keySize","processBlock","\\RQ]UmWD[","11011110","Decryptor","ye",399,"map","mtop.1688.pc.plugin.safe.heartbeat.key.get","api","ir","GET","T","request","im","romi",/.*(iPhone|iPad|Android|ios|SymbianOS|Windows Phone).*/i,"getBoundingClientRect","\u01aa\u019e\u01b5","\u0264\u0244\u0230\u0242\u0223\u024d\u023e\u0252\u0233\u0247\u0222\u0278\u0250\u0260\u0249","w","px","xp0:pot",";","https://gw.alicdn.com/tfs/TB1QZN.CYj1gK0jSZFuXXcrHpXa-200-200.png","thgieh","nde","border:0","width:","\u02c7\u02de\u02cd\u02da\u02ce\u02c4\u02c7\u02df\u0292\u02c0\u02c1\u02cc\u02cc\u02cd\u02c6","left:0px","right:0px","cssText","E_","initEvent","close","addEventListener",187,117,"=","push","NIGOL_DEEN","goLoginAsync","then","go","sh","AntiFlood","234","url","antiCreepRequest","AntiCreep","uid","serid","&fyModuleInit=","__uabModule","\u0145\u014a\u0145\u0150","load","=tinIeludoMsn&","__etModule","867","(?:^|;\\s*)","\u017b\u0166\u0171\u017a\u016a","pu","\u0248\u0240\u024e\u024e\u023c\u0242\u0240","removeEventListener","message","content","uest","show","updateDynamicRules","Referer","ni","value","mlht","condition","seluRdda","removeRuleIds",888,"monitor","100","nditio","jumpSerialProcess","\u0394\u0395\u039d","web","\xa4\xa4\xb8\xb5"],["unshift",0,null,"fr",Array,"reverse",Object,"indexOf",1,"n","join","y","split","length","add","enumerable","irts","s","charCodeAt","","return","iterator","no","i","\x14q\b{","getOwnPropertyDescriptor","Pr","configurable","defineProperty","env","project",400,959,"/logstores/","getLoggerInfo","ua","string","ang","extra","fromCharCode",359,"\u0328\u034d\u0339\u0351\u033e\u035a","c","resolve","head","getElementsByTagName","document","oc","\xc4\xbf","506","g",String,Date,"emiTtes","=;path=/;domain=.","toGMTString","amod",";/=hta",Number,"prototype",16,"safariGoLogin","SUCCESS","SESSION_EXPIRED","parent",".","1688.com","m","demo","alibaba-inc.com","wapa","userAgent",2,"11000100","id","*","params","serawelddim","py","r","dataType","post","W",10,"H5Request","AMAP","\u014d\u015a\u015a\u0157\u015a",8,"\u0273\u0270\u0283\u0270","\u01a6\u0199\u01a8\u017e\u01a7\u01a3\u01a2","error","token","getMtopToken","R","\u03d4\u03cf\u03cb\u03c5\u03ce","webkit","options",24,"syncCookieMode",5,"semiTyrteRxam","pro","\u010a\u0155\u0136\u0159\u0136\u015d\u0134\u0151\u0101\u0173\u011c\u017f\u011a\u0169\u011a\u0175\u0107","constructor",451,"__processToken","dI","maxRetryTimes","oit","ma","prefix","t","v","appKey",1073741577,"1073741824",1073741824,"\xbb","\n",127,63,4,"13","100","27",447,"242070db",3250441966,17,"22","111",4129170786,6,"11","3921069994",20,3,"434","10000","13e",344,329,23,3654602809,70,"ta","ext_querys","ke","forEach","\u018d\u01e8\u019c\u01d6\u0185\u01ca\u0184\u01d4","postJSON","getJSONP",40,"ltT","type","dangerouslySetProtocol","5.0","postdata","parentNode","pa","\u02c8\u02d1\u02cd\u02cc\u02d2\u02eb\u02cc\u02c1\u02f2\u02d0\u02c7\u02c4\u02cb\u02da",669,"TIMEOUT","erys","op","ABORT","concat","115","data","etSign","fetchInitConfig","signal","ext_headers","oe","\u0165\u0166\u016b\u0176\u0170","o","getJSON","useJsonpResultType","toL","xt_","\u0234\u0240\u0221\u0255","toLo","\u03f5","ar","needLogin","sessionOption","dangerouslySetWVTtid","promise","yapilAtseuqer__","at","ttid","getOriginalJSONP","1000100001","assign","customAlipayJSBridgeApi","_re","que","replace",";secure",";HttpOnly","local","to","\x8c\x8a\x9c\x9c\x9a\x8c\x8c","message","then",115,"\u03df\u0380\u03e5\u0391\u03c3\u03a6\u03c7\u03a3\u03da","\u5f53\u524d\u6d4f\u89c8\u5668\u4e0d\u652f\u6301Promise\uff0c\u8bf7\u5728globalThiss\u5bf9\u8c61\u4e0a\u6302\u8f7dPromise\u5bf9\u8c61","__processRequestUrl","retType","er","stack","retJson","ns","Re","tion","tProc","lastIndexOf","la","stI","x","Of",161,"ho","CDR","LoginRequest","kc","a","sseccus","request","config","undefined","exports","ezeerf","u",180,"yp","getRandomValues","tRan","function","readInt32LE","h\x1bn\x1e{ ","\x8a\xe4\x8d\xf9","toString","words","amp","sigBytes","ceil","clone","stringify","77",237,"parse","reset","nc","blockSize","si","ex","cfg","f","nal","ila","\u0108\u011b\u0117\u0108\u0111\u0107","Hasher",366,"_doReset",14,7,"af","_data","\u01d5\u01e4\u01ce\u01eb\u01fe\u01eb\u01c8\u01f3\u01fe\u01ef\u01f9",32,9,"l","extend","es","_hasher",107,"ye","finalize","ize","lo","WordArray","110","setyBgis","charAt","p","_map",271733878,"_hash","ff00ff00",332,"17",439,"02",44,417,111,51,289,21,"_doFinalize",15,"10","MD5","137","HmacMD5","encode","aw","crypto","369","getSign","35763325611","98badcfe","w",1859775393,30,221,"ts","keySize","sn","create",358,"BufferedBlockAlgorithm","1b6","Utf8","432","_append","decrypt","init","581","_prevBlock","pad","h","Pkcs7","pyrce","_process","ciphertext","1010011011000010110110001110100","53616aee","encrypt","\x90\xe2\x87\xe6\x92\xf7\xb3\xd6\xb5\xc7\xbe\xce\xba\xd5\xa7","ice",255,"460",130,"PasswordBasedCipher","\xda\xd7\xd0","73",266,382,"\x13\x13\x12\x13\x13","push","32","doR","_key","72",472,201,253,"Rn",251,248,"21",271,"AES","enc",84,"ad","unpad","iv","version",42,"sc","tegrat","timing","\u01eb\u01e8\u01ea","success","_1688_EXTENSION_CRYPTO","ERROR",") translateZ(0)","dt",":dnuorgkcab","cssText","cr","eate","ine-",":#333","width:100%","img","style","\u0356\u0333\u035a\u033d\u0355\u0321\u031b\u032a\u031f\u036f\u0317",830,"#9","position:absolute","top:0","line-height:52px","padding:0 20px","\u0368\u0369\u036e\u0361\u035a","cs",173,"pla",419,"\x06\x0f\f\x1eP",680,"MID","DLEWAR","DGET",634,"createEvent","HTMLEvents","ddE","el","yts","ni","L","LOGIN_NOT_FOUND::\u7f3a\u5c11lib.login","IAF_NIG","522","1010010101","url","ur","mt","ment","==","load","&umModuleInit=","__ncModule","__nsModule","__etModule","tM","essRe","cookie","\u5165\u8f93\u6d88\u53d6\u6237\u7528::LECNAC_TUPNI_RESU","emo","ue","saveAntiCreepToken","middlewares","\u01fe\u01fe\u0212\u0204\u0210\u0214\u0204\u020d\u0202\u0204","e","neht","https://www.taobao.com","querystring","header","resourceTypes","customConfig","on","\x94\x9c\x8d\x98\xb0\x97\x9f\x96","condition","Token is missing.","reason",532,"co","some","ype","\u0322\u0331\u032a","oca","edoCtsegid","\u036b\u0302\u036f\u0306\u0368\u030f","monitor","lib"],["signal",0,"treporPn",Object,"join","f\x03m\n~\x16","emunE","","split","length","fromCharCode","value","done",8,"charCodeAt",1,null,423,"enumerable","filter","getOwnPropertyDescriptors","defineProperties","fine","op","erty","reverse","cbu-pc-plugin-api",356,"10",2,"entries","searchParams","d","m","ferh","\xe0\xe6\xf1\xe0\xe7\xe1\xfa\xfd\xf4",147,.6,String,"promise","ent","body","document","firstElementChild","dChi","etSign",10,"ex.js",encodeURIComponent,"jo","o","227","storage",/\./g,"wa","zebra","waptest","ubD","ma","match","v",781,"jsonp","atad","push","t","originaljsonp","postJSON","H5Request","dV",5.4,Error,"WindVaneRequest","AlipayJSBridge","parse","R","190","youku.com",Array,"rr","fOxedni",151,"HY_EXCEPTION","retJson","options","useAlipayJSBridge","resolve","prototype","w","waitWKWebViewCookieFn","en","l","semiTyrteRxam","c","eMode","__cookieProcessorId","_co","hs","i","mainDomain","iam","niam","n","ain","//",1073741823,"engt",3,"replace",6,128,63,"3614090360","15",82,34,22,"111",4118548399,4294925233,1804603682,"1001001101101000000100000100001","11",14,"14",2368359562,4,325,"17","100",3200236656,"1011",16,530742520,"25","data","ua","ty","getOriginalJSONP","originaljson","osj","type","e","dl","evom","er","callback","sc","ri","?","onerror","G","&","POST","ab","sroc",345,"ABORT::\u63a5\u53e3\u5f02\u5e38\u9000\u51fa","finally","a","protocol","s","Au","og","inO","que","Optio","api","\u038f\u0380\u0391\u0392\u0384",483,"mara","1101011010","usePost","valueType","useJsonpResultType",879,"5R","et","__requestWindVane","neht","\u01e1\u0184\u01f4\u0198\u01f9\u019a\u01ff","indexOf","\u0140\u0139\u0149\u012c","CDR\u6ca1\u6709\u8fd4\u56detoken",255,"\u0448\u043b\u044a","SUCCESS","then","jec","catch","etReady","__etReady","mtop","essTo","successCallback","string","params","failureCallback","H5","constructor","\xb5\xac\xb0\xb1","\xa0\xd5\xb7\xc4\xb0\xc2\xab\xc5\xa2",635,722,"me","request","AntiFlood","1044","exports","default","y","crypto",243,"msCrypto","domB","mixIn","init",271,"create",927,"hasOwnProperty","10111000","se","cl","p","r","bus",19,"a_","\u0323\u0312\u0338\u031d\u0308\u031d\u033e\u0305\u0308\u0319\u030f","_data","uBnim_","splice",402,"clone","rSi","BufferedBlockAlgorithm","ize","_doFinalize","10000","_createHelper","_createHmacHelper",208,"lib","slice","19",29,15,"31",480,161,"\u015e\u016f\u0171\u016e\u0162\u0164\u0172\u0172","_hash",213,"sigBytes","_","update","\xab\xc6\xa7\xc4\x97\xdf\x9e\xac\x99\xaf","ch","ff","18","_m","aMes","charAt","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","Base64",1732584193,4023233417,"a1",419,90,"333",7,12,11,"16","100100100","40",57,43,"44",47,23,108,58,"21",9,"1000",127,105,94,"importKey","3c","\u02f0\u02f5\u02ef\u02f4","WordArray",230,4294967296,"64","tes","xpor","ta","reset","K",474,393,233,"Base","\u034e\u0320\u0343","_ENC_XFORM_MODE","createDecryptor","_DEC_XFORM_MODE","ED","createEncryptor","\u0279\u020b\u026e\u020f\u027b\u021e\u025a\u023f\u025c\u022e\u0257\u0227\u0253\u023c\u024e",316,"processBlock","_cipher","Encryptor",606,"cfg","mode","_minBufferSize","ro","_mode","wo","tae","BlockCipher","\u0354\u0345\u0356\u0357\u0349",1701076490,133,"loc","format",245,"keySize","te","\u018b\u01ef\u0189",225,"k",364,353,"_keyPriorReset",24,"decryptBlock","552",141,349,"11111111","AES","bil","end",284,"_keystream","vi_","pad","NoPadding","\u0201\u01f4\u0205\u01f4\u0201\u0202\u01f4","f","rCod","iv","key","ow","timestamp","getHeartbeatKey","success","tem","result","error","storage.local.get timeout","\uff01\u8d25\u5931\u5316\u59cb\u521d potM","preventDefault","createElement","documentElement","wi","245",124,"-webkit-transform-origin:0 0","oi","Elem","hei","ol","text-align:left","j",";","sTex",Number,"%","\u01c8","px","width:15px","\u0254\u023b\u0248\u0221\u0255\u023c\u0253\u023d\u0207\u0266\u0204\u0277\u0218\u0274\u0201\u0275\u0210","appendChild","FRAME_WI","ven","display","block","parentNode","middlewares","esu","safari","ogin","equest","login","__processRequest","__sequence","\u5931\u5f55\u767b\u6237",",","loo","\xd0\xe1","(http_referer=).+","href","ti","po","AntiCreep","son","diuu","&umModuleLoad=","__umModule","&uabModuleLoad=",85,"213","__ncModule","duleL","\u01dc\u0183\u01ed\u019e\u01d3\u01bc\u01d8\u01ad\u01c1\u01a4","ul","__","RGV587_ERROR::SM","\\=([^;]+)(?:;\\s*|$)","1110101",136,475,"rP","tinU","USER_INPUT_FAILURE::\u7528\u6237\u8f93\u5165\u5931\u8d25","DeclareExtensionHost","removeRuleIds","gir","path","querystring","\u019f\u01fa\u019b\u01ff\u019a\u01e8","operation","arativ","uest","updateDynamicRules","encrypt","reason","concat","condition",").","\x11t\x00",Date,"sign","10001110","ass","652AHScamh","ois",209,"target","entire","heartbeat","tpyrcne","epyt","tokenInvalidReasons","xt","monitor"])},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8ZJs5":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"SLSLogger",()=>d);var a=e("crypto-js"),i=n.interopDefault(a);function o(e,t){return fetch(e,{method:"POST",body:t,headers:{"Content-Type":"application/json"},credentials:"include"})}class s{constructor(e){this.total=0,this.count=0,this.pending=[],this.total=e}append(e){this.pending.push(e),this.run()}run(){if(!this.pending.length||this.count>=this.total)return;let e=this.pending.shift();e&&(this.count++,e().finally(()=>{this.count--,this.run()}))}}let{encryptedIv:c,encryptedKey:u,privateKey:l}={encryptedIv:"'\x04Y'\x18V \x0e\\+\x15W.\x18^'",encryptedKey:"/%\x02V?\x13@0\x1e]#\x1dG,\x06Z Y) \\2\x10Y=\x03]$\x06QS",privateKey:"jfkjdslkfjdskljfkldsjfkldsj"};function f(e,t){let r=t.length,n="",a=[...Array(e.length).keys()].reverse().map(t=>e[t]).join("");for(let e=0;e<a.length;e++)n+=String.fromCharCode(a.charCodeAt(e)^t.charCodeAt(e%r));return n.length>1&&(n=n[n.length-1]+n.slice(1,-1)+n[0]),n}class d{constructor(e){var t,r,n,a;this.encrypt=!0,this.timer=null,this.time=10,this.count=10,this.arr=[],this.MAX_PAYLOAD_SIZE=2621440,this.encrypt=null===(t=e.encrypt)||void 0===t||t,this.time=null!==(r=e.time)&&void 0!==r?r:10,this.count=null!==(n=e.count)&&void 0!==n?n:10,this.ccController=new s(null!==(a=e.maxReqCount)&&void 0!==a?a:10),e.host.startsWith("http://")||e.host.startsWith("https://")?this.url=`${e.host}/logstores/${e.logstore}/track`:this.url=`https://${e.project}.${e.host}/logstores/${e.logstore}/track`,this.opt=e,this.installUnloadHook()}installUnloadHook(){"onbeforeunload"in globalThis&&"function"==typeof globalThis.onbeforeunload&&globalThis.addEventListener("beforeunload",()=>{this.sendImmediateInner()}),this.opt.installUnloadHook&&"function"==typeof this.opt.installUnloadHook&&this.opt.installUnloadHook(()=>{this.sendImmediateInner()})}assemblePayload(e){let t={__logs__:e};return this.opt.tags&&(t.__tags__=this.opt.tags),this.opt.topic&&(t.__topic__=this.opt.topic),this.opt.source&&(t.__source__=this.opt.source),JSON.stringify(t)}calculateLogsSize(e){let t=JSON.stringify(e);return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(t).length:2*t.length}startSend(e){if(!e.length)return;if(this.calculateLogsSize(e)<=this.MAX_PAYLOAD_SIZE)return void this.platformSend(e);let t=this.splitLogsBySize(e);for(let e of t)this.platformSend(e)}splitLogsBySize(e){let t=[],r=[],n=0;for(let a of e){let e=this.calculateLogsSize([a]);e>this.MAX_PAYLOAD_SIZE?console.error(`[Logger] \u5355\u6761\u65e5\u5fd7\u5927\u5c0f\u8d85\u8fc7\u9650\u5236 (${this.MAX_PAYLOAD_SIZE/1024/1024}MB)\uff0c\u5df2\u8df3\u8fc7\u8be5\u65e5\u5fd7:`,a):r.length>0&&n+e>this.MAX_PAYLOAD_SIZE?(t.push(r),r=[a],n=e):(r.push(a),n+=e)}return r.length>0&&t.push(r),t}async platformSend(e){let t=this.assemblePayload(e);return this.opt.sendPayload&&"function"==typeof this.opt.sendPayload?this.ccController.append(()=>this.opt.sendPayload(this.url,t)):this.ccController.append(()=>(function(e,t){let r=function(e){try{let t=new URL(e);return t.searchParams.set("APIVersion","0.6.0"),t.toString()}catch(t){return console.error("Logger url maybe wrong:",e),`${e}?APIVersion=0.6.0`}}(e);try{if(t.length>=32768)return o(r,t);let e=!!globalThis.navigator&&!!globalThis.navigator.sendBeacon&&globalThis.navigator.sendBeacon(r,t);return e?Promise.resolve():o(r,t)}catch(r){throw globalThis&&globalThis.console&&"function"==typeof globalThis.console.error&&(console.error("Failed to log to ali log service because of this exception:\n"+r),console.error("Failed log data:",e,t)),r}})(this.url,t))}transString(e){if(this.encrypt)return{__d__:function(e){let{iv:t,key:r}=function(){let e=f(c,l),t=f(u,l);return{iv:e,key:t}}()||{},n=(0,i.default).enc.Utf8.parse(r),a=(0,i.default).enc.Utf8.parse(t),o={mode:i.default.mode.CBC,padding:i.default.pad.Pkcs7,iv:a};return(0,i.default).AES.encrypt(e,n,o).toString()}(JSON.stringify(e))};let t={};for(let r in e)"object"==typeof e[r]?t[r]=JSON.stringify(e[r]):t[r]=String(e[r]);return t}sendImmediateInner(){this.arr&&this.arr.length>0&&(this.startSend(this.arr),null!=this.timer&&(clearTimeout(this.timer),this.timer=null),this.arr=[])}sendInner(){this.timer?this.arr.length>=this.count&&(clearTimeout(this.timer),this.timer=null,this.sendImmediateInner()):this.arr.length>=this.count||this.time<=0?this.sendImmediateInner():this.timer=setTimeout(()=>{this.sendImmediateInner()},1e3*this.time)}send(e){let t=this.transString(e);this.arr.push(t),this.sendInner()}sendImmediate(e){let t=this.transString(e);this.arr.push(t),this.sendImmediateInner()}sendBatchLogs(e){let t=e.map(e=>this.transString(e));this.arr.push(...t),this.sendInner()}sendBatchLogsImmediate(e){let t=e.map(e=>this.transString(e));this.arr.push(...t),this.sendImmediateInner()}getOpt(){return this.opt}}},{"crypto-js":"1bEvK","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"1bEvK":[function(e,t,r){var n;t.exports=(n=e("5eee6dbf972ff0c"),e("1ae7fff9f8fa4b2e"),e("5d5c6779507b6ecf"),e("8fed7daa3b4cc142"),e("789bad1b0dff9a96"),e("fb488ee151dd7943"),e("8ccb3bce525f169d"),e("f6a9495b1c254449"),e("fd2e65bc40b77537"),e("7fa06e499cf8a103"),e("c1cce0659b03adfe"),e("c5af184fa8c7874f"),e("4ae38a06cb259786"),e("c72e494c732a963f"),e("88bf72f2d872110"),e("89a6ccecb9711f00"),e("fe47fecb97678a27"),e("8494f33137888286"),e("a180680a3a0b6778"),e("5c9b46cec008dfa5"),e("4cba38335b9a1036"),e("52ef67a0df2f7b37"),e("1790c68efb06b110"),e("540eb4174417cc86"),e("e53c0db805905662"),e("cab1508d99737362"),e("c0ecce6689437d58"),e("5809aadf1a05b38"),e("72de7f0923a744f6"),e("8676fff60d27e6aa"),e("753c41c24ae9eb5b"),e("c4b3c473a798ab37"),e("64cf109d48a11849"),e("c44065b70e4f6cb8"),e("113273f8e2d4bebb"),n)},{"5eee6dbf972ff0c":"6dayE","1ae7fff9f8fa4b2e":"84enr","5d5c6779507b6ecf":"3d1VA","8fed7daa3b4cc142":"3zawB","789bad1b0dff9a96":"dQJ4T",fb488ee151dd7943:"d3oJY","8ccb3bce525f169d":"jxWg5",f6a9495b1c254449:"egwwf",fd2e65bc40b77537:"lf3El","7fa06e499cf8a103":"ex4nU",c1cce0659b03adfe:"4gcJV",c5af184fa8c7874f:"gAYGJ","4ae38a06cb259786":"gH36R",c72e494c732a963f:"jk2yU","88bf72f2d872110":"fMBoi","89a6ccecb9711f00":"luure",fe47fecb97678a27:"u3uJj","8494f33137888286":"fiMWt",a180680a3a0b6778:"BuN80","5c9b46cec008dfa5":"6Xeok","4cba38335b9a1036":"lpDIf","52ef67a0df2f7b37":"3qvsI","1790c68efb06b110":"9Pshe","540eb4174417cc86":"7iiSC",e53c0db805905662:"O1Dxw",cab1508d99737362:"7LkK3",c0ecce6689437d58:"l3Q7a","5809aadf1a05b38":"2BPWw","72de7f0923a744f6":"cHfOT","8676fff60d27e6aa":"6OxFr","753c41c24ae9eb5b":"cOrzN",c4b3c473a798ab37:"7yfB8","64cf109d48a11849":"6eplX",c44065b70e4f6cb8:"iooAT","113273f8e2d4bebb":"b99Gh"}],"6dayE":[function(e,t,r){var n,a=arguments[3];t.exports=n||function(t,r){if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==a&&a.crypto&&(n=a.crypto),!n)try{n=e("b7760e5f0b7216d4")}catch(e){}var n,i=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),s={},c=s.lib={},u=c.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=c.WordArray=u.extend({init:function(e,t){e=this.words=e||[],void 0!=t?this.sigBytes=t:this.sigBytes=4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,a=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<a;i++){var o=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=o<<24-(n+i)%4*8}else for(var s=0;s<a;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=a,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(i());return new l.init(t,e)}}),f=s.enc={},d=f.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],a=0;a<r;a++){var i=t[a>>>2]>>>24-a%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new l.init(r,t/2)}},h=f.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],a=0;a<r;a++){var i=t[a>>>2]>>>24-a%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new l.init(r,t)}},p=f.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},v=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var r,n=this._data,a=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o),c=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*o,u=t.min(4*c,i);if(c){for(var f=0;f<c;f+=o)this._doProcessBlock(a,f);r=a.splice(0,c),n.sigBytes-=u}return new l.init(r,u)},clone:function(){var e=u.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});c.Hasher=v.extend({cfg:u.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new m.HMAC.init(e,r).finalize(t)}}});var m=s.algo={};return s}(Math)},{b7760e5f0b7216d4:"bLmub"}],bLmub:[function(e,t,r){var n,a,i=arguments[3],o=e("33602453034ea78a"),s=e("19365d62b9b9eabc").Buffer,c=Object.create,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,d=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,p=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),v=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of f(t))h.call(e,a)||a===r||u(e,a,{get:()=>t[a],enumerable:!(n=l(t,a))||n.enumerable});return e},m=(e,t,r)=>(r=null!=e?c(d(e)):{},v(!t&&e&&e.__esModule?r:u(r,"default",{value:e,enumerable:!0}),e)),g=p(e=>{e.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return(r+n)*3/4-n},e.toByteArray=function(e){var t,r,n=s(e),o=n[0],c=n[1],u=new i((o+c)*3/4-c),l=0,f=c>0?o-4:o;for(r=0;r<f;r+=4)t=a[e.charCodeAt(r)]<<18|a[e.charCodeAt(r+1)]<<12|a[e.charCodeAt(r+2)]<<6|a[e.charCodeAt(r+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===c&&(t=a[e.charCodeAt(r)]<<2|a[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===c&&(t=a[e.charCodeAt(r)]<<10|a[e.charCodeAt(r+1)]<<4|a[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},e.fromByteArray=function(e){for(var t,r=e.length,a=r%3,i=[],o=0,s=r-a;o<s;o+=16383)i.push(function(e,t,r){for(var a,i=[],o=t;o<r;o+=3)i.push(n[(a=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]))>>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return i.join("")}(e,o,o+16383>s?s:o+16383));return 1===a?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===a&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")};var t,r,n=[],a=[],i="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(t=0,r=o.length;t<r;++t)n[t]=o[t],a[o.charCodeAt(t)]=t;function s(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63}),b=p(e=>{e.read=function(e,t,r,n,a){var i,o,s=8*a-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?a-1:0,d=r?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=d,l-=8);for(o=i&(1<<-l)-1,i>>=-l,l+=n;l>0;o=256*o+e[t+f],f+=d,l-=8);if(0===i)i=1-u;else{if(i===c)return o?NaN:(h?-1:1)*(1/0);o+=Math.pow(2,n),i-=u}return(h?-1:1)*o*Math.pow(2,i-n)},e.write=function(e,t,r,n,a,i){var o,s,c,u=8*i-a-1,l=(1<<u)-1,f=l>>1,d=23===a?5960464477539062e-23:0,h=n?0:i-1,p=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+f>=1?t+=d/c:t+=d*Math.pow(2,1-f),t*c>=2&&(o++,c/=2),o+f>=l?(s=0,o=l):o+f>=1?(s=(t*c-1)*Math.pow(2,a),o+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,a),o=0));a>=8;e[r+h]=255&s,h+=p,s/=256,a-=8);for(o=o<<a|s,u+=a;u>0;e[r+h]=255&o,h+=p,o/=256,u-=8);e[r+h-p]|=128*v}}),y=p(e=>{var t=g(),r=b(),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,i.prototype),t}function i(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return o(e,t,r)}function o(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!i.isEncoding(t))throw TypeError("Unknown encoding: "+t);let r=0|d(e,t),n=a(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(L(e,Uint8Array)){let t=new Uint8Array(e);return l(t.buffer,t.byteOffset,t.byteLength)}return u(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(L(e,ArrayBuffer)||e&&L(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(L(e,SharedArrayBuffer)||e&&L(e.buffer,SharedArrayBuffer)))return l(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return i.from(n,t,r);let o=function(e){var t;if(i.isBuffer(e)){let t=0|f(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(o)return o;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return i.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return s(e),a(e<0?0:0|f(e))}function u(e){let t=e.length<0?0:0|f(e.length),r=a(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function l(e,t,r){let n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),i.prototype),n}function f(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(i.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||L(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let a=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return P(e).length;default:if(a)return n?-1:N(e).length;t=(""+t).toLowerCase(),a=!0}}function h(e,r,n){let a=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(r>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let a="";for(let n=t;n<r;++n)a+=F[e[n]];return a}(this,r,n);case"utf8":case"utf-8":return y(this,r,n);case"ascii":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let a=t;a<r;++a)n+=String.fromCharCode(127&e[a]);return n}(this,r,n);case"latin1":case"binary":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let a=t;a<r;++a)n+=String.fromCharCode(e[a]);return n}(this,r,n);case"base64":var i,o;return i=r,o=n,0===i&&o===this.length?t.fromByteArray(this):t.fromByteArray(this.slice(i,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let n=e.slice(t,r),a="";for(let e=0;e<n.length-1;e+=2)a+=String.fromCharCode(n[e]+256*n[e+1]);return a}(this,r,n);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function p(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,a){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(o=r=+r)!=o&&(r=a?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(a)return -1;r=e.length-1}else if(r<0){if(!a)return -1;r=0}if("string"==typeof t&&(t=i.from(t,n)),i.isBuffer(t))return 0===t.length?-1:m(e,t,r,n,a);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):m(e,[t],r,n,a);throw TypeError("val must be string, number or Buffer")}function m(e,t,r,n,a){let i,o=1,s=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;o=2,s/=2,c/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(a){let n=-1;for(i=r;i<s;i++)if(u(e,i)===u(t,-1===n?0:i-n)){if(-1===n&&(n=i),i-n+1===c)return n*o}else -1!==n&&(i-=i-n),n=-1}else for(r+c>s&&(r=s-c),i=r;i>=0;i--){let r=!0;for(let n=0;n<c;n++)if(u(e,i+n)!==u(t,n)){r=!1;break}if(r)return i}return -1}function y(e,t,r){r=Math.min(e.length,r);let n=[],a=t;for(;a<r;){let t=e[a],i=null,o=t>239?4:t>223?3:t>191?2:1;if(a+o<=r){let r,n,s,c;switch(o){case 1:t<128&&(i=t);break;case 2:(192&(r=e[a+1]))==128&&(c=(31&t)<<6|63&r)>127&&(i=c);break;case 3:r=e[a+1],n=e[a+2],(192&r)==128&&(192&n)==128&&(c=(15&t)<<12|(63&r)<<6|63&n)>2047&&(c<55296||c>57343)&&(i=c);break;case 4:r=e[a+1],n=e[a+2],s=e[a+3],(192&r)==128&&(192&n)==128&&(192&s)==128&&(c=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s)>65535&&c<1114112&&(i=c)}}null===i?(i=65533,o=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),a+=o}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function _(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,a,o){if(!i.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>a||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function S(e,t,r,n,a){M(t,n,a,e,r,7);let i=Number(t&BigInt(4294967295));e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,r}function E(e,t,r,n,a){M(t,n,a,e,r,7);let i=Number(t&BigInt(4294967295));e[r+7]=i,i>>=8,e[r+6]=i,i>>=8,e[r+5]=i,i>>=8,e[r+4]=i;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=o,o>>=8,e[r+2]=o,o>>=8,e[r+1]=o,o>>=8,e[r]=o,r+8}function k(e,t,r,n,a,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function I(e,t,n,a,i){return t=+t,n>>>=0,i||k(e,t,n,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,n,a,23,4),n+4}function x(e,t,n,a,i){return t=+t,n>>>=0,i||k(e,t,n,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,n,a,52,8),n+8}e.Buffer=i,e.SlowBuffer=function(e){return+e!=e&&(e=0),i.alloc(+e)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=2147483647,i.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!i.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}}),i.poolSize=8192,i.from=function(e,t,r){return o(e,t,r)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array),i.alloc=function(e,t,r){return s(e),e<=0?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},i.allocUnsafe=function(e){return c(e)},i.allocUnsafeSlow=function(e){return c(e)},i.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==i.prototype},i.compare=function(e,t){if(L(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=i.from(t,t.offset,t.byteLength)),!i.isBuffer(e)||!i.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let a=0,i=Math.min(r,n);a<i;++a)if(e[a]!==t[a]){r=e[a],n=t[a];break}return r<n?-1:n<r?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;let n=i.allocUnsafe(t),a=0;for(r=0;r<e.length;++r){let t=e[r];if(L(t,Uint8Array))a+t.length>n.length?(i.isBuffer(t)||(t=i.from(t)),t.copy(n,a)):Uint8Array.prototype.set.call(n,t,a);else if(i.isBuffer(t))t.copy(n,a);else throw TypeError('"list" argument must be an Array of Buffers');a+=t.length}return n},i.byteLength=d,i.prototype._isBuffer=!0,i.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)p(this,t,t+1);return this},i.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)p(this,t,t+3),p(this,t+1,t+2);return this},i.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)p(this,t,t+7),p(this,t+1,t+6),p(this,t+2,t+5),p(this,t+3,t+4);return this},i.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?y(this,0,e):h.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(e){if(!i.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){let t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},n&&(i.prototype[n]=i.prototype.inspect),i.prototype.compare=function(e,t,r,n,a){if(L(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),!i.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===a&&(a=this.length),t<0||r>e.length||n<0||a>this.length)throw RangeError("out of range index");if(n>=a&&t>=r)return 0;if(n>=a)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,a>>>=0,this===e)return 0;let o=a-n,s=r-t,c=Math.min(o,s),u=this.slice(n,a),l=e.slice(t,r);for(let e=0;e<c;++e)if(u[e]!==l[e]){o=u[e],s=l[e];break}return o<s?-1:s<o?1:0},i.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},i.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},i.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},i.prototype.write=function(e,t,r,n){var a,i,o,s,c,u,l,f;if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let h=!1;for(;;)switch(n){case"hex":return function(e,t,r,n){let a;r=Number(r)||0;let i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;let o=t.length;for(n>o/2&&(n=o/2),a=0;a<n;++a){let n=parseInt(t.substr(2*a,2),16);if(n!=n)break;e[r+a]=n}return a}(this,e,t,r);case"utf8":case"utf-8":return a=t,i=r,D(N(e,this.length-a),this,a,i);case"ascii":case"latin1":case"binary":return o=t,s=r,D(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,o,s);case"base64":return c=t,u=r,D(P(e),this,c,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,f=r,D(function(e,t){let r,n,a=[];for(let i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,a.push(r%256),a.push(n);return a}(e,this.length-l),this,l,f);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let n=this.subarray(e,t);return Object.setPrototypeOf(n,i.prototype),n},i.prototype.readUintLE=i.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e],a=1,i=0;for(;++i<t&&(a*=256);)n+=this[e+i]*a;return n},i.prototype.readUintBE=i.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e+--t],a=1;for(;t>0&&(a*=256);)n+=this[e+--t]*a;return n},i.prototype.readUint8=i.prototype.readUInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),this[e]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readBigUInt64LE=B(function(e){R(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&C(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+16777216*this[++e],a=this[++e]+256*this[++e]+65536*this[++e]+16777216*r;return BigInt(n)+(BigInt(a)<<BigInt(32))}),i.prototype.readBigUInt64BE=B(function(e){R(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&C(e,this.length-8);let n=16777216*t+65536*this[++e]+256*this[++e]+this[++e],a=16777216*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(a)}),i.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e],a=1,i=0;for(;++i<t&&(a*=256);)n+=this[e+i]*a;return n>=(a*=128)&&(n-=Math.pow(2,8*t)),n},i.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=t,a=1,i=this[e+--n];for(;n>0&&(a*=256);)i+=this[e+--n]*a;return i>=(a*=128)&&(i-=Math.pow(2,8*t)),i},i.prototype.readInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),128&this[e]?-((255-this[e]+1)*1):this[e]},i.prototype.readInt16LE=function(e,t){e>>>=0,t||_(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt16BE=function(e,t){e>>>=0,t||_(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readBigInt64LE=B(function(e){R(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&C(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+16777216*this[++e])}),i.prototype.readBigInt64BE=B(function(e){R(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&C(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(16777216*this[++e]+65536*this[++e]+256*this[++e]+r)}),i.prototype.readFloatLE=function(e,t){return e>>>=0,t||_(e,4,this.length),r.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),r.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),r.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(e,8,this.length),r.read(this,e,!1,52,8)},i.prototype.writeUintLE=i.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;w(this,e,t,r,n,0)}let a=1,i=0;for(this[t]=255&e;++i<r&&(a*=256);)this[t+i]=e/a&255;return t+r},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;w(this,e,t,r,n,0)}let a=r-1,i=1;for(this[t+a]=255&e;--a>=0&&(i*=256);)this[t+a]=e/i&255;return t+r},i.prototype.writeUint8=i.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeBigUInt64LE=B(function(e,t=0){return S(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=B(function(e,t=0){return E(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*r-1);w(this,e,t,r,n-1,-n)}let a=0,i=1,o=0;for(this[t]=255&e;++a<r&&(i*=256);)e<0&&0===o&&0!==this[t+a-1]&&(o=1),this[t+a]=(e/i>>0)-o&255;return t+r},i.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*r-1);w(this,e,t,r,n-1,-n)}let a=r-1,i=1,o=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===o&&0!==this[t+a+1]&&(o=1),this[t+a]=(e/i>>0)-o&255;return t+r},i.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},i.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeBigInt64LE=B(function(e,t=0){return S(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=B(function(e,t=0){return E(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeFloatLE=function(e,t,r){return I(this,e,t,!0,r)},i.prototype.writeFloatBE=function(e,t,r){return I(this,e,t,!1,r)},i.prototype.writeDoubleLE=function(e,t,r){return x(this,e,t,!0,r)},i.prototype.writeDoubleBE=function(e,t,r){return x(this,e,t,!1,r)},i.prototype.copy=function(e,t,r,n){if(!i.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);let a=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),a},i.prototype.fill=function(e,t,r,n){let a;if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!i.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){let t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{let o=i.isBuffer(e)?e:i.from(e,n),s=o.length;if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-t;++a)this[a+t]=o[a%s]}return this};var O={};function T(e,t,r){O[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name="".concat(this.name," [").concat(e,"]"),this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}}function A(e){let t="",r=e.length,n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t="_".concat(e.slice(r-3,r)).concat(t);return"".concat(e.slice(0,r)).concat(t)}function M(e,t,r,n,a,i){if(e>r||e<t){let n="bigint"==typeof t?"n":"",a;throw a=i>3?0===t||t===BigInt(0)?">= 0".concat(n," and < 2").concat(n," ** ").concat((i+1)*8).concat(n):">= -(2".concat(n," ** ").concat((i+1)*8-1).concat(n,") and < 2 ** ")+"".concat((i+1)*8-1).concat(n):">= ".concat(t).concat(n," and <= ").concat(r).concat(n),new O.ERR_OUT_OF_RANGE("value",a,e)}R(a,"offset"),(void 0===n[a]||void 0===n[a+i])&&C(a,n.length-(i+1))}function R(e,t){if("number"!=typeof e)throw new O.ERR_INVALID_ARG_TYPE(t,"number",e)}function C(e,t,r){throw Math.floor(e)!==e?(R(e,r),new O.ERR_OUT_OF_RANGE(r||"offset","an integer",e)):t<0?new O.ERR_BUFFER_OUT_OF_BOUNDS:new O.ERR_OUT_OF_RANGE(r||"offset",">= ".concat(r?1:0," and <= ").concat(t),e)}T("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),T("ERR_INVALID_ARG_TYPE",function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)},TypeError),T("ERR_OUT_OF_RANGE",function(e,t,r){let n='The value of "'.concat(e,'" is out of range.'),a=r;return Number.isInteger(r)&&Math.abs(r)>4294967296?a=A(String(r)):"bigint"==typeof r&&(a=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(a=A(a)),a+="n"),n+=" It must be ".concat(t,". Received ").concat(a)},RangeError);var j=/[^+/0-9A-Za-z-_]/g;function N(e,t){t=t||1/0;let r,n=e.length,a=null,i=[];for(let o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!a){if(r>56319||o+1===n){(t-=3)>-1&&i.push(239,191,189);continue}a=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),a=r;continue}r=(a-55296<<10|r-56320)+65536}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function P(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function D(e,t,r,n){let a;for(a=0;a<n&&!(a+r>=t.length||a>=e.length);++a)t[a+r]=e[a];return a}function L(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var F=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let a=0;a<16;++a)t[n+a]=e[r]+e[a]}return t}();function B(e){return typeof BigInt>"u"?U:e}function U(){throw Error("BigInt not supported")}}),_=p((e,t)=>{var r=y(),n=r.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(a(r,e),e.Buffer=i),i.prototype=Object.create(n.prototype),a(n,i),i.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return n(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var a=n(e);return void 0!==t?"string"==typeof r?a.fill(t,r):a.fill(t):a.fill(0),a},i.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r.SlowBuffer(e)}}),w=p((e,t)=>{var r=_().Buffer,n=i.crypto||i.msCrypto;n&&n.getRandomValues?t.exports=function(e,t){if(e>4294967295)throw RangeError("requested too many random bytes");var a=r.allocUnsafe(e);if(e>0){if(e>65536)for(var i=0;i<e;i+=65536)n.getRandomValues(a.slice(i,i+65536));else n.getRandomValues(a)}return"function"==typeof t?o.nextTick(function(){t(null,a)}):a}:t.exports=function(){throw Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}),S=p((e,t)=>{"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}}),E=p((e,t)=>{var r,n="object"==typeof Reflect?Reflect:null,a=n&&"function"==typeof n.apply?n.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};r=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}t.exports=o,t.exports.once=function(e,t){return new Promise(function(r,n){function a(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",a),r([].slice.call(arguments))}m(e,t,i,{once:!0}),"error"!==t&&"function"==typeof e.on&&m(e,"error",a,{once:!0})})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function c(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var a,i,o;if(c(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),o=i[t]),void 0===o)o=i[t]=r,++e._eventsCount;else if("function"==typeof o?o=i[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),(a=u(e))>0&&o.length>a&&!o.warned){o.warned=!0;var s=Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},a=f.bind(n);return a.listener=r,n.wrapFn=a,a}function h(e,t,r){var n=e._events;if(void 0===n)return[];var a=n[t];return void 0===a?[]:"function"==typeof a?r?[a.listener||a]:[a]:r?function(e){for(var t=Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(a):v(a,a.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function v(e,t){for(var r=Array(t),n=0;n<t;++n)r[n]=e[n];return r}function m(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else if("function"==typeof e.addEventListener)e.addEventListener(t,function a(i){n.once&&e.removeEventListener(t,a),r(i)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),o.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var o,s=Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)a(c,this,t);else for(var u=c.length,l=v(c,u),r=0;r<u;++r)a(l[r],this,t);return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return c(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,a,i,o;if(c(t),void 0===(n=this._events)||void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(a=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){o=r[i].listener,a=i;break}if(a<0)return this;0===a?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,a),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0==arguments.length){var a,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(a=i[n])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}}),k=p((e,t)=>{t.exports=E().EventEmitter}),I=p(()=>{}),x=p((e,t)=>{function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){var r,a;r=t,a=n[t],(r=i(r))in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var o=y().Buffer,s=I().inspect,c=s&&s.custom||"inspect";t.exports=function(){var e,t;function r(){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,r),this.head=null,this.tail=null,this.length=0}return e=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t,r,n=o.allocUnsafe(e>>>0),a=this.head,i=0;a;)t=a.data,r=i,o.prototype.copy.call(t,n,r),i+=a.data.length,a=a.next;return n}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var a=t.data,i=e>a.length?a.length:e;if(i===a.length?n+=a:n+=a.slice(0,e),0==(e-=i)){i===a.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=a.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var a=r.data,i=e>a.length?a.length:e;if(a.copy(t,t.length-e,0,i),0==(e-=i)){i===a.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=a.slice(i));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return s(this,n(n({},t),{},{depth:0,customInspect:!1}))}}],a(r.prototype,e),t&&a(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}()}),O=p((e,t)=>{function r(e,t){a(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function a(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var i=this,s=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return s||c?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,o.nextTick(a,this,e)):o.nextTick(a,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?i._writableState?i._writableState.errorEmitted?o.nextTick(n,i):(i._writableState.errorEmitted=!0,o.nextTick(r,i,e)):o.nextTick(r,i,e):t?(o.nextTick(n,i),t(e)):o.nextTick(n,i)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}),T=p((e,t)=>{var r={};function n(e,t,n){n||(n=Error);var a=function(e){function r(r,n,a){return e.call(this,"string"==typeof t?t:t(r,n,a))||this}return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e,r}(n);a.prototype.name=n.name,a.prototype.code=e,r[e]=a}function a(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var r=e.length;return e=e.map(function(e){return String(e)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}n("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(e,t,r){if("string"==typeof t&&(n="not ",t.substr(!i||i<0?0:+i,n.length)===n)?(u="must not be",t=t.replace(/^not /,"")):u="must be",o=" argument",(void 0===s||s>e.length)&&(s=e.length),e.substring(s-o.length,s)===o)l="The ".concat(e," ").concat(u," ").concat(a(t,"type"));else{var n,i,o,s,c,u,l,f=("number"!=typeof c&&(c=0),c+1>e.length||-1===e.indexOf(".",c))?"argument":"property";l='The "'.concat(e,'" ').concat(f," ").concat(u," ").concat(a(t,"type"))}return l+". Received type ".concat(typeof r)},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r}),A=p((e,t)=>{var r=T().codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,n,a){var i=null!=t.highWaterMark?t.highWaterMark:a?t[n]:null;if(null!=i){if(!(isFinite(i)&&Math.floor(i)===i)||i<0)throw new r(a?n:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}}}),M=p((e,t)=>{t.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}};function r(e){try{if(!i.localStorage)return!1}catch(e){return!1}var t=i.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}}),R=p((e,t)=>{function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,r){var n=e.entry;for(e.entry=null;n;){var a=n.callback;t.pendingcb--,a(void 0),n=n.next}t.corkedRequestsFree.next=e})(t,e)}}t.exports=j,j.WritableState=R;var n,a,s={deprecate:M()},c=k(),u=y().Buffer,l=("u">typeof i?i:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){},f=O(),d=A().getHighWaterMark,h=T().codes,p=h.ERR_INVALID_ARG_TYPE,v=h.ERR_METHOD_NOT_IMPLEMENTED,m=h.ERR_MULTIPLE_CALLBACK,g=h.ERR_STREAM_CANNOT_PIPE,b=h.ERR_STREAM_DESTROYED,_=h.ERR_STREAM_NULL_VALUES,w=h.ERR_STREAM_WRITE_AFTER_END,E=h.ERR_UNKNOWN_ENCODING,I=f.errorOrDestroy;function x(){}function R(e,t,a){n=n||C(),e=e||{},"boolean"!=typeof a&&(a=t instanceof n),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var r=e._writableState,n=r.sync,a=r.writecb;if("function"!=typeof a)throw new m;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,n?(o.nextTick(a,t),o.nextTick(B,e,r),e._writableState.errorEmitted=!0,I(e,t)):(a(t),e._writableState.errorEmitted=!0,I(e,t),B(e,r));else{var i=L(r)||e.destroyed;i||r.corked||r.bufferProcessing||!r.bufferedRequest||D(e,r),n?o.nextTick(P,e,r,i,a):P(e,r,i,a)}})(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function j(e){var t=this instanceof(n=n||C());if(!t&&!a.call(j,this))return new j(e);this._writableState=new R(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function N(e,t,r,n,a,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new b("write")):r?e._writev(a,t.onwrite):e._write(a,i,t.onwrite),t.sync=!1}function P(e,t,r,n){r||0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain")),t.pendingcb--,n(),B(e,t)}function D(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var a=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=n;for(var o=0,s=!0;n;)a[o]=n,n.isBuf||(s=!1),n=n.next,o+=1;a.allBuffers=s,N(e,t,!0,t.length,a,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,l=n.callback,f=t.objectMode?1:c.length;if(N(e,t,!1,f,c,u,l),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function L(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function F(e,t){e._final(function(r){t.pendingcb--,r&&I(e,r),t.prefinished=!0,e.emit("prefinish"),B(e,t)})}function B(e,t){var r=L(t);if(r&&(t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,o.nextTick(F,e,t))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}S()(j,c),R.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(R.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(e){return!!a.call(this,e)||this===j&&e&&e._writableState instanceof R}})):a=function(e){return e instanceof this},j.prototype.pipe=function(){I(this,new g)},j.prototype.write=function(e,t,r){var n,a,i,s,c,f,d,h=this._writableState,v=!1,m=!h.objectMode&&(n=e,u.isBuffer(n)||n instanceof l);return m&&!u.isBuffer(e)&&(a=e,e=u.from(a)),"function"==typeof t&&(r=t,t=null),m?t="buffer":t||(t=h.defaultEncoding),"function"!=typeof r&&(r=x),h.ending?(i=r,I(this,s=new w),o.nextTick(i,s)):!m&&(c=e,f=r,null===c?d=new _:"string"==typeof c||h.objectMode||(d=new p("chunk",["string","Buffer"],c)),d&&(I(this,d),o.nextTick(f,d),1))||(h.pendingcb++,v=function(e,t,r,n,a,i){if(!r){var o,s,c=(o=n,s=a,t.objectMode||!1===t.decodeStrings||"string"!=typeof o||(o=u.from(o,s)),o);n!==c&&(r=!0,a="buffer",n=c)}var l=t.objectMode?1:n.length;t.length+=l;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:a,isBuf:r,callback:i,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else N(e,t,!1,l,n,a,i);return f}(this,h,m,e,t,r)),v},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var e=this._writableState;!e.corked||(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||D(this,e))},j.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new E(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(e,t,r){r(new v("_write()"))},j.prototype._writev=null,j.prototype.end=function(e,t,r){var n,a=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),a.corked&&(a.corked=1,this.uncork()),a.ending||(n=r,a.ending=!0,B(this,a),n&&(a.finished?o.nextTick(n):this.once("finish",n)),a.ended=!0,this.writable=!1),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),j.prototype.destroy=f.destroy,j.prototype._undestroy=f.undestroy,j.prototype._destroy=function(e,t){t(e)}}),C=p((e,t)=>{var r,n,a,i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=u;var s=L(),c=R();for(S()(u,s),r=i(c.prototype),a=0;a<r.length;a++)n=r[a],u.prototype[n]||(u.prototype[n]=c.prototype[n]);function u(e){if(!(this instanceof u))return new u(e);s.call(this,e),c.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||o.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}),j=p(e=>{var t=_().Buffer,r=t.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(e){var n;switch(this.encoding=function(e){var n=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof n&&(t.isEncoding===r||!r(e)))throw Error("Unknown encoding: "+e);return n||e}(e),this.encoding){case"utf16le":this.text=o,this.end=s,n=4;break;case"utf8":this.fillLast=i,n=4;break;case"base64":this.text=c,this.end=u,n=3;break;default:this.write=l,this.end=f;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(n)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"\ufffd"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function o(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function s(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function l(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}e.StringDecoder=n,n.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},n.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t},n.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}),N=p((e,t)=>{var r=T().codes.ERR_STREAM_PREMATURE_CLOSE;function n(){}t.exports=function e(t,a,i){if("function"==typeof a)return e(t,null,a);a||(a={}),o=i||n,s=!1,i=function(){if(!s){s=!0;for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];o.apply(this,t)}};var o,s,c=a.readable||!1!==a.readable&&t.readable,u=a.writable||!1!==a.writable&&t.writable,l=function(){t.writable||d()},f=t._writableState&&t._writableState.finished,d=function(){u=!1,f=!0,c||i.call(t)},h=t._readableState&&t._readableState.endEmitted,p=function(){c=!1,h=!0,u||i.call(t)},v=function(e){i.call(t,e)},m=function(){var e;return c&&!h?(t._readableState&&t._readableState.ended||(e=new r),i.call(t,e)):u&&!f?(t._writableState&&t._writableState.ended||(e=new r),i.call(t,e)):void 0},g=function(){t.req.on("finish",d)};return t.setHeader&&"function"==typeof t.abort?(t.on("complete",d),t.on("abort",m),t.req?g():t.on("request",g)):u&&!t._writableState&&(t.on("end",l),t.on("close",l)),t.on("end",p),t.on("finish",d),!1!==a.error&&t.on("error",v),t.on("close",m),function(){t.removeListener("complete",d),t.removeListener("abort",m),t.removeListener("request",g),t.req&&t.req.removeListener("finish",d),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",d),t.removeListener("end",p),t.removeListener("error",v),t.removeListener("close",m)}}}),P=p((e,t)=>{function r(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n,a=N(),i=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),d=Symbol("stream");function h(e,t){return{value:e,done:t}}function p(e){var t=e[i];if(null!==t){var r=e[d].read();null!==r&&(e[l]=null,e[i]=null,e[s]=null,t(h(r,!1)))}}function v(e){o.nextTick(p,e)}var m=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((r(n={get stream(){return this[d]},next:function(){var e,t=this,r=this[c];if(null!==r)return Promise.reject(r);if(this[u])return Promise.resolve(h(void 0,!0));if(this[d].destroyed)return new Promise(function(e,r){o.nextTick(function(){t[c]?r(t[c]):e(h(void 0,!0))})});var n,a=this[l];if(a)n=new Promise((e=this,function(t,r){a.then(function(){if(e[u]){t(h(void 0,!0));return}e[f](t,r)},r)}));else{var i=this[d].read();if(null!==i)return Promise.resolve(h(i,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,function(){return this}),r(n,"return",function(){var e=this;return new Promise(function(t,r){e[d].destroy(null,function(e){if(e){r(e);return}t(h(void 0,!0))})})}),n),m);t.exports=function(e){var t,n=Object.create(g,(r(t={},d,{value:e,writable:!0}),r(t,i,{value:null,writable:!0}),r(t,s,{value:null,writable:!0}),r(t,c,{value:null,writable:!0}),r(t,u,{value:e._readableState.endEmitted,writable:!0}),r(t,f,{value:function(e,t){var r=n[d].read();r?(n[l]=null,n[i]=null,n[s]=null,e(h(r,!1))):(n[i]=e,n[s]=t)},writable:!0}),t));return n[l]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];null!==t&&(n[l]=null,n[i]=null,n[s]=null,t(e)),n[c]=e;return}var r=n[i];null!==r&&(n[l]=null,n[i]=null,n[s]=null,r(h(void 0,!0))),n[u]=!0}),e.on("readable",v.bind(null,n)),n}}),D=p((e,t)=>{t.exports=function(){throw Error("Readable.from is not available in the browser")}}),L=p((e,t)=>{t.exports=F,F.ReadableState=L,E().EventEmitter;var r,n,a=function(e,t){return e.listeners(t).length},s=k(),c=y().Buffer,u=("u">typeof i?i:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){},l=I();n=l&&l.debuglog?l.debuglog("stream"):function(){};var f,d,h,p=x(),v=O(),m=A().getHighWaterMark,g=T().codes,b=g.ERR_INVALID_ARG_TYPE,_=g.ERR_STREAM_PUSH_AFTER_EOF,w=g.ERR_METHOD_NOT_IMPLEMENTED,M=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;S()(F,s);var R=v.errorOrDestroy,N=["error","close","destroy","pause","resume"];function L(e,t,n){r=r||C(),e=e||{},"boolean"!=typeof n&&(n=t instanceof r),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=j().StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function F(e){if(r=r||C(),!(this instanceof F))return new F(e);var t=this instanceof r;this._readableState=new L(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function B(e,t,r,a,i){n("readableAddChunk",t);var o,s,l,f,d,h=e._readableState;if(null===t)h.reading=!1,function(e,t){if(n("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?H(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,G(e)))}}(e,h);else{if(i||(o=h,s=t,c.isBuffer(s)||s instanceof u||"string"==typeof s||void 0===s||o.objectMode||(l=new b("chunk",["string","Buffer","Uint8Array"],s)),d=l),d)R(e,d);else if(h.objectMode||t&&t.length>0){if("string"==typeof t||h.objectMode||Object.getPrototypeOf(t)===c.prototype||(f=t,t=c.from(f)),a)h.endEmitted?R(e,new M):U(e,h,t,!0);else if(h.ended)R(e,new _);else{if(h.destroyed)return!1;h.reading=!1,h.decoder&&!r?(t=h.decoder.write(t),h.objectMode||0!==t.length?U(e,h,t,!1):q(e,h)):U(e,h,t,!1)}}else a||(h.reading=!1,q(e,h))}return!h.ended&&(h.length<h.highWaterMark||0===h.length)}function U(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&H(e)),q(e,t)}function z(e,t){var r;return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=((r=e)>=1073741824?r=1073741824:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function H(e){var t=e._readableState;n("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(n("emitReadable",t.flowing),t.emittedReadable=!0,o.nextTick(G,e))}function G(e){var t=e._readableState;n("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,J(e)}function q(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(W,e,t))}function W(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(n("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function K(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function V(e){n("readable nexttick read 0"),e.read(0)}function Y(e,t){n("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),J(e),t.flowing&&!t.reading&&e.read(0)}function J(e){var t=e._readableState;for(n("flow",t.flowing);t.flowing&&null!==e.read(););}function Z(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function X(e){var t=e._readableState;n("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,o.nextTick($,t,e))}function $(e,t){if(n("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function Q(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}Object.defineProperty(F.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),F.prototype.destroy=v.destroy,F.prototype._undestroy=v.undestroy,F.prototype._destroy=function(e,t){t(e)},F.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=c.from(e,t),t=""),r=!0),B(this,e,t,!1,r)},F.prototype.unshift=function(e){return B(this,e,null,!0,!1)},F.prototype.isPaused=function(){return!1===this._readableState.flowing},F.prototype.setEncoding=function(e){f||(f=j().StringDecoder);var t=new f(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this},F.prototype.read=function(e){n("read",e),e=parseInt(e,10);var t,r=this._readableState,a=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&((0!==r.highWaterMark?r.length>=r.highWaterMark:r.length>0)||r.ended))return n("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?X(this):H(this),null;if(0===(e=z(e,r))&&r.ended)return 0===r.length&&X(this),null;var i=r.needReadable;return n("need readable",i),(0===r.length||r.length-e<r.highWaterMark)&&n("length less than watermark",i=!0),r.ended||r.reading?n("reading or ended",i=!1):i&&(n("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=z(a,r))),null===(t=e>0?Z(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),a!==e&&r.ended&&X(this)),null!==t&&this.emit("data",t),t},F.prototype._read=function(e){R(this,new w("_read()"))},F.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,n("pipe count=%d opts=%j",i.pipesCount,t);var s=t&&!1===t.end||e===o.stdout||e===o.stderr?v:c;function c(){n("onend"),e.end()}i.endEmitted?o.nextTick(s):r.once("end",s),e.on("unpipe",function t(a,o){n("onunpipe"),a===r&&o&&!1===o.hasUnpiped&&(o.hasUnpiped=!0,n("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",u),e.removeListener("error",d),e.removeListener("unpipe",t),r.removeListener("end",c),r.removeListener("end",v),r.removeListener("data",f),l=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u())});var u=function(){var e=r._readableState;n("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(r,"data")&&(e.flowing=!0,J(r))};e.on("drain",u);var l=!1;function f(t){n("ondata");var a=e.write(t);n("dest.write",a),!1===a&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==Q(i.pipes,e))&&!l&&(n("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(t){n("onerror",t),v(),e.removeListener("error",d),0===a(e,"error")&&R(e,t)}function h(){e.removeListener("finish",p),v()}function p(){n("onfinish"),e.removeListener("close",h),v()}function v(){n("unpipe"),r.unpipe(e)}return r.on("data",f),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",r),i.flowing||(n("pipe resume"),r.resume()),e},F.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,a=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<a;i++)n[i].emit("unpipe",this,{hasUnpiped:!1});return this}var o=Q(t.pipes,e);return -1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},F.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t),a=this._readableState;return"data"===e?(a.readableListening=this.listenerCount("readable")>0,!1!==a.flowing&&this.resume()):"readable"!==e||a.endEmitted||a.readableListening||(a.readableListening=a.needReadable=!0,a.flowing=!1,a.emittedReadable=!1,n("on readable",a.length,a.reading),a.length?H(this):a.reading||o.nextTick(V,this)),r},F.prototype.addListener=F.prototype.on,F.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&o.nextTick(K,this),r},F.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&o.nextTick(K,this),t},F.prototype.resume=function(){var e=this._readableState;return e.flowing||(n("resume"),e.flowing=!e.readableListening,e.resumeScheduled||(e.resumeScheduled=!0,o.nextTick(Y,this,e))),e.paused=!1,this},F.prototype.pause=function(){return n("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(n("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},F.prototype.wrap=function(e){var t=this,r=this._readableState,a=!1;for(var i in e.on("end",function(){if(n("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){n("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||!r.objectMode&&(!i||!i.length)||t.push(i)||(a=!0,e.pause())}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<N.length;o++)e.on(N[o],this.emit.bind(this,N[o]));return this._read=function(t){n("wrapped _read",t),a&&(a=!1,e.resume())},this},"function"==typeof Symbol&&(F.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=P()),d(this)}),Object.defineProperty(F.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(F.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(F.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),F._fromList=Z,Object.defineProperty(F.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(F.from=function(e,t){return void 0===h&&(h=D()),h(F,e,t)})}),F=p((e,t)=>{t.exports=u;var r=T().codes,n=r.ERR_METHOD_NOT_IMPLEMENTED,a=r.ERR_MULTIPLE_CALLBACK,i=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=r.ERR_TRANSFORM_WITH_LENGTH_0,s=C();function c(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new a);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);s.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",l)}function l(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush(function(t,r){f(e,t,r)})}function f(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new o;if(e._transformState.transforming)throw new i;return e.push(null)}S()(u,s),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,r){r(new n("_transform()"))},u.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var a=this._readableState;(n.needTransform||a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){s.prototype._destroy.call(this,e,function(e){t(e)})}}),B=p((e,t)=>{t.exports=n;var r=F();function n(e){if(!(this instanceof n))return new n(e);r.call(this,e)}S()(n,r),n.prototype._transform=function(e,t,r){r(null,e)}}),U=p((e,t)=>{var r,n=T().codes,a=n.ERR_MISSING_ARGS,i=n.ERR_STREAM_DESTROYED;function o(e){if(e)throw e}function s(e){e()}function c(e,t){return e.pipe(t)}t.exports=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var u=(l=t).length&&"function"==typeof l[l.length-1]?l.pop():o;if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new a("streams");var l,f,d=t.map(function(e,n){var a,o,c,l,h,p=n<t.length-1;return o=a=function(e){f||(f=e),e&&d.forEach(s),p||(d.forEach(s),u(f))},c=!1,a=function(){c||(c=!0,o.apply(void 0,arguments))},l=!1,e.on("close",function(){l=!0}),void 0===r&&(r=N()),r(e,{readable:p,writable:n>0},function(e){if(e)return a(e);l=!0,a()}),h=!1,function(t){if(!l&&!h){if(h=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();a(t||new i("pipe"))}}});return t.reduce(c)}}),z=p((e,t)=>{(e=t.exports=L()).Stream=e,e.Readable=e,e.Writable=R(),e.Duplex=C(),e.Transform=F(),e.PassThrough=B(),e.finished=N(),e.pipeline=U()}),H=p((e,t)=>{var r=_().Buffer,n=z().Transform;function a(e){n.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}S()(a,n),a.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},a.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},a.prototype.update=function(e,t){if(function(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,a=0;this._blockOffset+e.length-a>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)n[i++]=e[a++];this._update(),this._blockOffset=0}for(;a<e.length;)n[this._blockOffset++]=e[a++];for(var o=0,s=8*e.length;s>0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},a.prototype._update=function(){throw Error("_update is not implemented")},a.prototype.digest=function(e){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},a.prototype._digest=function(){throw Error("_digest is not implemented")},t.exports=a}),G=p((e,t)=>{var r=S(),n=H(),a=_().Buffer,i=Array(16);function o(){n.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function s(e,t){return e<<t|e>>>32-t}function c(e,t,r,n,a,i,o){return s(e+(t&r|~t&n)+a+i|0,o)+t|0}function u(e,t,r,n,a,i,o){return s(e+(t&n|r&~n)+a+i|0,o)+t|0}function l(e,t,r,n,a,i,o){return s(e+(t^r^n)+a+i|0,o)+t|0}function f(e,t,r,n,a,i,o){return s(e+(r^(t|~n))+a+i|0,o)+t|0}r(o,n),o.prototype._update=function(){for(var e=0;e<16;++e)i[e]=this._block.readInt32LE(4*e);var t=this._a,r=this._b,n=this._c,a=this._d;t=c(t,r,n,a,i[0],3614090360,7),a=c(a,t,r,n,i[1],3905402710,12),n=c(n,a,t,r,i[2],606105819,17),r=c(r,n,a,t,i[3],3250441966,22),t=c(t,r,n,a,i[4],4118548399,7),a=c(a,t,r,n,i[5],1200080426,12),n=c(n,a,t,r,i[6],2821735955,17),r=c(r,n,a,t,i[7],4249261313,22),t=c(t,r,n,a,i[8],1770035416,7),a=c(a,t,r,n,i[9],2336552879,12),n=c(n,a,t,r,i[10],4294925233,17),r=c(r,n,a,t,i[11],2304563134,22),t=c(t,r,n,a,i[12],1804603682,7),a=c(a,t,r,n,i[13],4254626195,12),n=c(n,a,t,r,i[14],2792965006,17),r=c(r,n,a,t,i[15],1236535329,22),t=u(t,r,n,a,i[1],4129170786,5),a=u(a,t,r,n,i[6],3225465664,9),n=u(n,a,t,r,i[11],643717713,14),r=u(r,n,a,t,i[0],3921069994,20),t=u(t,r,n,a,i[5],3593408605,5),a=u(a,t,r,n,i[10],38016083,9),n=u(n,a,t,r,i[15],3634488961,14),r=u(r,n,a,t,i[4],3889429448,20),t=u(t,r,n,a,i[9],568446438,5),a=u(a,t,r,n,i[14],3275163606,9),n=u(n,a,t,r,i[3],4107603335,14),r=u(r,n,a,t,i[8],1163531501,20),t=u(t,r,n,a,i[13],2850285829,5),a=u(a,t,r,n,i[2],4243563512,9),n=u(n,a,t,r,i[7],1735328473,14),r=u(r,n,a,t,i[12],2368359562,20),t=l(t,r,n,a,i[5],4294588738,4),a=l(a,t,r,n,i[8],2272392833,11),n=l(n,a,t,r,i[11],1839030562,16),r=l(r,n,a,t,i[14],4259657740,23),t=l(t,r,n,a,i[1],2763975236,4),a=l(a,t,r,n,i[4],1272893353,11),n=l(n,a,t,r,i[7],4139469664,16),r=l(r,n,a,t,i[10],3200236656,23),t=l(t,r,n,a,i[13],681279174,4),a=l(a,t,r,n,i[0],3936430074,11),n=l(n,a,t,r,i[3],3572445317,16),r=l(r,n,a,t,i[6],76029189,23),t=l(t,r,n,a,i[9],3654602809,4),a=l(a,t,r,n,i[12],3873151461,11),n=l(n,a,t,r,i[15],530742520,16),r=l(r,n,a,t,i[2],3299628645,23),t=f(t,r,n,a,i[0],4096336452,6),a=f(a,t,r,n,i[7],1126891415,10),n=f(n,a,t,r,i[14],2878612391,15),r=f(r,n,a,t,i[5],4237533241,21),t=f(t,r,n,a,i[12],1700485571,6),a=f(a,t,r,n,i[3],2399980690,10),n=f(n,a,t,r,i[10],4293915773,15),r=f(r,n,a,t,i[1],2240044497,21),t=f(t,r,n,a,i[8],1873313359,6),a=f(a,t,r,n,i[15],4264355552,10),n=f(n,a,t,r,i[6],2734768916,15),r=f(r,n,a,t,i[13],1309151649,21),t=f(t,r,n,a,i[4],4149444226,6),a=f(a,t,r,n,i[11],3174756917,10),n=f(n,a,t,r,i[2],718787259,15),r=f(r,n,a,t,i[9],3951481745,21),this._a=this._a+t|0,this._b=this._b+r|0,this._c=this._c+n|0,this._d=this._d+a|0},o.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=a.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=o}),q=p((e,t)=>{var r=y().Buffer,n=S(),a=H(),i=Array(16),o=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],s=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],u=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11];function l(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function f(e,t){return e<<t|e>>>32-t}n(l,a),l.prototype._update=function(){for(var e,t,r,n,a,l,d,h,p,v,m,g,b,y,_,w,S,E,k,I,x,O,T,A,M,R,C,j,N,P,D,L,F,B,U,z,H,G,q,W,K,V,Y,J,Z,X,$,Q,ee,et,er,en,ea,ei,eo,es,ec,eu,el,ef,ed,eh,ep,ev,em,eg,eb,ey,e_,ew,eS,eE,ek=0;ek<16;++ek)i[ek]=this._block.readInt32LE(4*ek);for(var eI=0|this._a,ex=0|this._b,eO=0|this._c,eT=0|this._d,eA=0|this._e,eM=0|this._a,eR=0|this._b,eC=0|this._c,ej=0|this._d,eN=0|this._e,eP=0;eP<80;eP+=1)eP<16?(e=eI,t=ex,r=eO,n=eT,a=eA,eS=f(e+(t^r^n)+i[o[eP]]+0|0,c[eP])+a|0,h=eM,p=eR,v=eC,m=ej,g=eN,eE=f(h+(p^(v|~m))+i[s[eP]]+1352829926|0,u[eP])+g|0):eP<32?(_=eI,w=ex,S=eO,E=eT,k=eA,eS=f(_+(w&S|~w&E)+i[o[eP]]+1518500249|0,c[eP])+k|0,O=eM,T=eR,A=eC,M=ej,R=eN,eE=f(O+(T&M|A&~M)+i[s[eP]]+1548603684|0,u[eP])+R|0):eP<48?(N=eI,P=ex,D=eO,L=eT,F=eA,eS=f(N+((P|~D)^L)+i[o[eP]]+1859775393|0,c[eP])+F|0,z=eM,H=eR,G=eC,q=ej,W=eN,eE=f(z+((H|~G)^q)+i[s[eP]]+1836072691|0,u[eP])+W|0):eP<64?(Y=eI,J=ex,Z=eO,X=eT,$=eA,eS=f(Y+(J&X|Z&~X)+i[o[eP]]+2400959708|0,c[eP])+$|0,et=eM,er=eR,en=eC,ea=ej,ei=eN,eE=f(et+(er&en|~er&ea)+i[s[eP]]+2053994217|0,u[eP])+ei|0):(ec=eI,eu=ex,el=eO,ef=eT,ed=eA,eS=f(ec+(eu^(el|~ef))+i[o[eP]]+2840853838|0,c[eP])+ed|0,ev=eM,em=eR,eg=eC,eb=ej,ey=eN,eE=f(ev+(em^eg^eb)+i[s[eP]]+0|0,u[eP])+ey|0),eI=eA,eA=eT,eT=f(eO,10),eO=ex,ex=eS,eM=eN,eN=ej,ej=f(eC,10),eC=eR,eR=eE;var eD=this._b+eO+ej|0;this._b=this._c+eT+eN|0,this._c=this._d+eA+eM|0,this._d=this._e+eI+eR|0,this._e=this._a+ex+eC|0,this._a=eD},l.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=l}),W=p((e,t)=>{var r=_().Buffer;function n(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}n.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,a=this._blockSize,i=e.length,o=this._len,s=0;s<i;){for(var c=o%a,u=Math.min(i-s,a-c),l=0;l<u;l++)n[c+l]=e[s+l];o+=u,s+=u,o%a==0&&this._update(n)}return this._len+=i,this},n.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0;this._block.writeUInt32BE((r-n)/4294967296,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},n.prototype._update=function(){throw Error("_update must be implemented by subclass")},t.exports=n}),K=p((e,t)=>{var r=S(),n=W(),a=_().Buffer,i=[1518500249,1859775393,-1894007588,-899497514],o=Array(80);function s(){this.init(),this._w=o,n.call(this,64,56)}r(s,n),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,a=0|this._c,o=0|this._d,s=0|this._e,c=0;c<16;++c)t[c]=e.readInt32BE(4*c);for(;c<80;++c)t[c]=t[c-3]^t[c-8]^t[c-14]^t[c-16];for(var u=0;u<80;++u){var l,f,d,h,p,v=~~(u/20),m=((l=r)<<5|l>>>27)+(f=n,d=a,h=o,0===v?f&d|~f&h:2===v?f&d|f&h|d&h:f^d^h)+s+t[u]+i[v]|0;s=o,o=a,a=(p=n)<<30|p>>>2,n=r,r=m}this._a=r+this._a|0,this._b=n+this._b|0,this._c=a+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},s.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=s}),V=p((e,t)=>{var r=S(),n=W(),a=_().Buffer,i=[1518500249,1859775393,-1894007588,-899497514],o=Array(80);function s(){this.init(),this._w=o,n.call(this,64,56)}r(s,n),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,a=0|this._c,o=0|this._d,s=0|this._e,c=0;c<16;++c)t[c]=e.readInt32BE(4*c);for(;c<80;++c)t[c]=(l=t[c-3]^t[c-8]^t[c-14]^t[c-16])<<1|l>>>31;for(var u=0;u<80;++u){var l,f,d,h,p,v,m=~~(u/20),g=((f=r)<<5|f>>>27)+(d=n,h=a,p=o,0===m?d&h|~d&p:2===m?d&h|d&p|h&p:d^h^p)+s+t[u]+i[m]|0;s=o,o=a,a=(v=n)<<30|v>>>2,n=r,r=g}this._a=r+this._a|0,this._b=n+this._b|0,this._c=a+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},s.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=s}),Y=p((e,t)=>{var r=S(),n=W(),a=_().Buffer,i=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],o=Array(64);function s(){this.init(),this._w=o,n.call(this,64,56)}r(s,n),s.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},s.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,a=0|this._c,o=0|this._d,s=0|this._e,c=0|this._f,u=0|this._g,l=0|this._h,f=0;f<16;++f)t[f]=e.readInt32BE(4*f);for(;f<64;++f)t[f]=(((h=t[f-2])>>>17|h<<15)^(h>>>19|h<<13)^h>>>10)+t[f-7]+(((p=t[f-15])>>>7|p<<25)^(p>>>18|p<<14)^p>>>3)+t[f-16]|0;for(var d=0;d<64;++d){var h,p,v,m,g,b,y,_,w,S=l+(((v=s)>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(m=s,g=c,(b=u)^m&(g^b))+i[d]+t[d]|0,E=(((y=r)>>>2|y<<30)^(y>>>13|y<<19)^(y>>>22|y<<10))+((_=r)&(w=n)|a&(_|w))|0;l=u,u=c,c=s,s=o+S|0,o=a,a=n,n=r,r=S+E|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=a+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0,this._f=c+this._f|0,this._g=u+this._g|0,this._h=l+this._h|0},s.prototype._hash=function(){var e=a.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=s}),J=p((e,t)=>{var r=S(),n=Y(),a=W(),i=_().Buffer,o=Array(64);function s(){this.init(),this._w=o,a.call(this,64,56)}r(s,n),s.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},s.prototype._hash=function(){var e=i.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=s}),Z=p((e,t)=>{var r=S(),n=W(),a=_().Buffer,i=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],o=Array(160);function s(){this.init(),this._w=o,n.call(this,128,112)}function c(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function u(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function l(e,t){return e>>>0<t>>>0?1:0}r(s,n),s.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},s.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,a=0|this._ch,o=0|this._dh,s=0|this._eh,f=0|this._fh,d=0|this._gh,h=0|this._hh,p=0|this._al,v=0|this._bl,m=0|this._cl,g=0|this._dl,b=0|this._el,y=0|this._fl,_=0|this._gl,w=0|this._hl,S=0;S<32;S+=2)t[S]=e.readInt32BE(4*S),t[S+1]=e.readInt32BE(4*S+4);for(;S<160;S+=2){var E,k,I,x,O,T,A,M,R=t[S-30],C=t[S-30+1],j=((E=R)>>>1|(k=C)<<31)^(E>>>8|k<<24)^E>>>7,N=((I=C)>>>1|(x=R)<<31)^(I>>>8|x<<24)^(I>>>7|x<<25);R=t[S-4],C=t[S-4+1];var P=((O=R)>>>19|(T=C)<<13)^(T>>>29|O<<3)^O>>>6,D=((A=C)>>>19|(M=R)<<13)^(M>>>29|A<<3)^(A>>>6|M<<26),L=t[S-14],F=t[S-14+1],B=t[S-32],U=t[S-32+1],z=N+F|0,H=j+L+l(z,N)|0;H=(H=H+P+l(z=z+D|0,D)|0)+B+l(z=z+U|0,U)|0,t[S]=H,t[S+1]=z}for(var G=0;G<160;G+=2){H=t[G],z=t[G+1];var q,W,K,V,Y,J,Z,X,$,Q,ee=(q=r)&(W=n)|a&(q|W),et=(K=p)&(V=v)|m&(K|V),er=c(r,p),en=c(p,r),ea=u(s,b),ei=u(b,s),eo=i[G],es=i[G+1],ec=(Y=s,J=f,(Z=d)^Y&(J^Z)),eu=(X=b,$=y,(Q=_)^X&($^Q)),el=w+ei|0,ef=h+ea+l(el,w)|0;ef=(ef=(ef=ef+ec+l(el=el+eu|0,eu)|0)+eo+l(el=el+es|0,es)|0)+H+l(el=el+z|0,z)|0;var ed=en+et|0,eh=er+ee+l(ed,en)|0;h=d,w=_,d=f,_=y,f=s,y=b,s=o+ef+l(b=g+el|0,g)|0,o=a,g=m,a=n,m=v,n=r,v=p,r=ef+eh+l(p=el+ed|0,el)|0}this._al=this._al+p|0,this._bl=this._bl+v|0,this._cl=this._cl+m|0,this._dl=this._dl+g|0,this._el=this._el+b|0,this._fl=this._fl+y|0,this._gl=this._gl+_|0,this._hl=this._hl+w|0,this._ah=this._ah+r+l(this._al,p)|0,this._bh=this._bh+n+l(this._bl,v)|0,this._ch=this._ch+a+l(this._cl,m)|0,this._dh=this._dh+o+l(this._dl,g)|0,this._eh=this._eh+s+l(this._el,b)|0,this._fh=this._fh+f+l(this._fl,y)|0,this._gh=this._gh+d+l(this._gl,_)|0,this._hh=this._hh+h+l(this._hl,w)|0},s.prototype._hash=function(){var e=a.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=s}),X=p((e,t)=>{var r=S(),n=Z(),a=W(),i=_().Buffer,o=Array(160);function s(){this.init(),this._w=o,a.call(this,128,112)}r(s,n),s.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},s.prototype._hash=function(){var e=i.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=s}),$=p((e,t)=>{var e=t.exports=function(t){var r=e[t=t.toLowerCase()];if(!r)throw Error(t+" is not supported (we accept pull requests)");return new r};e.sha=K(),e.sha1=V(),e.sha224=J(),e.sha256=Y(),e.sha384=X(),e.sha512=Z()}),Q=p((e,t)=>{t.exports=n;var r=E().EventEmitter;function n(){r.call(this)}S()(n,r),n.Readable=L(),n.Writable=R(),n.Duplex=C(),n.Transform=F(),n.PassThrough=B(),n.finished=N(),n.pipeline=U(),n.Stream=n,n.prototype.pipe=function(e,t){var n=this;function a(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",a),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",c));var o=!1;function s(){o||(o=!0,e.end())}function c(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(l(),0===r.listenerCount(this,"error"))throw e}function l(){n.removeListener("data",a),e.removeListener("drain",i),n.removeListener("end",s),n.removeListener("close",c),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",u),e.on("error",u),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e}}),ee=p((e,t)=>{var r=_().Buffer,n=Q().Transform,a=j().StringDecoder;function i(e){n.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}S()(i,n),i.prototype.update=function(e,t,n){"string"==typeof e&&(e=r.from(e,t));var a=this._update(e);return this.hashMode?this:(n&&(a=this._toString(a,n)),a)},i.prototype.setAutoPadding=function(){},i.prototype.getAuthTag=function(){throw Error("trying to get auth tag in unsupported state")},i.prototype.setAuthTag=function(){throw Error("trying to set auth tag in unsupported state")},i.prototype.setAAD=function(){throw Error("trying to set aad in unsupported state")},i.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},i.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},i.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},i.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new a(t),this._encoding=t),this._encoding!==t)throw Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},t.exports=i}),et=p((e,t)=>{var r=S(),n=G(),a=q(),i=$(),o=ee();function s(e){o.call(this,"digest"),this._hash=e}r(s,o),s.prototype._update=function(e){this._hash.update(e)},s.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new n:"rmd160"===e||"ripemd160"===e?new a:new s(i(e))}}),er=p((e,t)=>{var r=S(),n=_().Buffer,a=ee(),i=n.alloc(128);function o(e,t){a.call(this,"digest"),"string"==typeof t&&(t=n.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=n.concat([t,i],64));for(var r=this._ipad=n.allocUnsafe(64),o=this._opad=n.allocUnsafe(64),s=0;s<64;s++)r[s]=54^t[s],o[s]=92^t[s];this._hash=[r]}r(o,a),o.prototype._update=function(e){this._hash.push(e)},o.prototype._final=function(){var e=this._alg(n.concat(this._hash));return this._alg(n.concat([this._opad,e]))},t.exports=o}),en=p((e,t)=>{var r=G();t.exports=function(e){return new r().update(e).digest()}}),ea=p((e,t)=>{var r=S(),n=er(),a=ee(),i=_().Buffer,o=en(),s=q(),c=$(),u=i.alloc(128);function l(e,t){a.call(this,"digest"),"string"==typeof t&&(t=i.from(t));var r="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>r)?t=("rmd160"===e?new s:c(e)).update(t).digest():t.length<r&&(t=i.concat([t,u],r));for(var n=this._ipad=i.allocUnsafe(r),o=this._opad=i.allocUnsafe(r),l=0;l<r;l++)n[l]=54^t[l],o[l]=92^t[l];this._hash="rmd160"===e?new s:c(e),this._hash.update(n)}r(l,a),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new s:c(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new l("rmd160",t):"md5"===e?new n(o,t):new l(e,t)}}),ei=p((e,t)=>{t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}}),eo=p((e,t)=>{t.exports=ei()}),es=p((e,t)=>{t.exports=function(e,t){if("number"!=typeof e)throw TypeError("Iterations not a number");if(e<0)throw TypeError("Bad iterations");if("number"!=typeof t)throw TypeError("Key length not a number");if(t<0||t>1073741823||t!=t)throw TypeError("Bad key length")}}),ec=p((e,t)=>{var r;r=i.process&&i.process.browser?"utf-8":i.process&&i.process.version?parseInt(o.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",t.exports=r}),eu=p((e,t)=>{var r=_().Buffer;t.exports=function(e,t,n){if(r.isBuffer(e))return e;if("string"==typeof e)return r.from(e,t);if(ArrayBuffer.isView(e))return r.from(e.buffer);throw TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}}),el=p((e,t)=>{var r=en(),n=q(),a=$(),i=_().Buffer,o=es(),s=ec(),c=eu(),u=i.alloc(128),l={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function f(e,t,o){var s="rmd160"===e||"ripemd160"===e?function(e){return new n().update(e).digest()}:"md5"===e?r:function(t){return a(e).update(t).digest()},c="sha512"===e||"sha384"===e?128:64;t.length>c?t=s(t):t.length<c&&(t=i.concat([t,u],c));for(var f=i.allocUnsafe(c+l[e]),d=i.allocUnsafe(c+l[e]),h=0;h<c;h++)f[h]=54^t[h],d[h]=92^t[h];var p=i.allocUnsafe(c+o+4);f.copy(p,0,0,c),this.ipad1=p,this.ipad2=f,this.opad=d,this.alg=e,this.blocksize=c,this.hash=s,this.size=l[e]}f.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,r,n,a){o(r,n);var u=new f(a=a||"sha1",e=c(e,s,"Password"),(t=c(t,s,"Salt")).length),d=i.allocUnsafe(n),h=i.allocUnsafe(t.length+4);t.copy(h,0,0,t.length);for(var p=0,v=l[a],m=Math.ceil(n/v),g=1;g<=m;g++){h.writeUInt32BE(g,t.length);for(var b=u.run(h,u.ipad1),y=b,_=1;_<r;_++){y=u.run(y,u.ipad2);for(var w=0;w<v;w++)b[w]^=y[w]}b.copy(d,p),p+=v}return d}}),ef=p((e,t)=>{var r,n,a=_().Buffer,o=es(),s=ec(),c=el(),u=eu(),l=i.crypto&&i.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function h(){return r||(r=i.process&&i.process.nextTick?i.process.nextTick:i.queueMicrotask?i.queueMicrotask:i.setImmediate?i.setImmediate:i.setTimeout)}function p(e,t,r,n,i){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)}).then(function(e){return a.from(e)})}t.exports=function(e,t,r,v,m,g){"function"==typeof m&&(g=m,m=void 0);var b=f[(m=m||"sha1").toLowerCase()];if(!b||"function"!=typeof i.Promise){h()(function(){var n;try{n=c(e,t,r,v,m)}catch(e){return g(e)}g(null,n)});return}if(o(r,v),e=u(e,s,"Password"),t=u(t,s,"Salt"),"function"!=typeof g)throw Error("No callback provided to pbkdf2");!function(e,t){e.then(function(e){h()(function(){t(null,e)})},function(e){h()(function(){t(e)})})}((function(e){if(i.process&&!i.process.browser||!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var t=p(n=n||a.alloc(8),n,10,128,e).then(function(){return!0}).catch(function(){return!1});return d[e]=t,t})(b).then(function(n){return n?p(e,t,r,v,b):c(e,t,r,v,m)}),g)}}),ed=p(e=>{e.pbkdf2=ef(),e.pbkdf2Sync=el()}),eh=p(e=>{e.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},e.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},e.ip=function(e,t,r,n){for(var a=0,i=0,o=6;o>=0;o-=2){for(var s=0;s<=24;s+=8)a<<=1,a|=t>>>s+o&1;for(var s=0;s<=24;s+=8)a<<=1,a|=e>>>s+o&1}for(var o=6;o>=0;o-=2){for(var s=1;s<=25;s+=8)i<<=1,i|=t>>>s+o&1;for(var s=1;s<=25;s+=8)i<<=1,i|=e>>>s+o&1}r[n+0]=a>>>0,r[n+1]=i>>>0},e.rip=function(e,t,r,n){for(var a=0,i=0,o=0;o<4;o++)for(var s=24;s>=0;s-=8)a<<=1,a|=t>>>s+o&1,a<<=1,a|=e>>>s+o&1;for(var o=4;o<8;o++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+o&1,i<<=1,i|=e>>>s+o&1;r[n+0]=a>>>0,r[n+1]=i>>>0},e.pc1=function(e,t,r,n){for(var a=0,i=0,o=7;o>=5;o--){for(var s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1;for(var s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1}for(var s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1;for(var o=1;o<=3;o++){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+o&1;for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+o&1}for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+o&1;r[n+0]=a>>>0,r[n+1]=i>>>0},e.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var t=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(e,r,n,a){for(var i=0,o=0,s=t.length>>>1,c=0;c<s;c++)i<<=1,i|=e>>>t[c]&1;for(var c=s;c<t.length;c++)o<<=1,o|=r>>>t[c]&1;n[a+0]=i>>>0,n[a+1]=o>>>0},e.expand=function(e,t,r){var n=0,a=0;n=(1&e)<<5|e>>>27;for(var i=23;i>=15;i-=4)n<<=6,n|=e>>>i&63;for(var i=11;i>=3;i-=4)a|=e>>>i&63,a<<=6;a|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=a>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(e,t){for(var n=0,a=0;a<4;a++){var i=e>>>18-6*a&63,o=r[64*a+i];n<<=4,n|=o}for(var a=0;a<4;a++){var i=t>>>18-6*a&63,o=r[256+64*a+i];n<<=4,n|=o}return n>>>0};var n=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(e){for(var t=0,r=0;r<n.length;r++)t<<=1,t|=e>>>n[r]&1;return t>>>0},e.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var a=[],i=0;i<t;i+=r)a.push(n.slice(i,i+r));return a.join(" ")}}),ep=p((e,t)=>{function r(e,t){if(!e)throw Error(t||"Assertion failed")}t.exports=r,r.equal=function(e,t,r){if(e!=t)throw Error(r||"Assertion failed: "+e+" != "+t)}}),ev=p((e,t)=>{var r=ep();function n(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=Array(this.blockSize),this.bufferOff=0}t.exports=n,n.prototype._init=function(){},n.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},n.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},n.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},n.prototype._updateEncrypt=function(e){var t=0,r=0,n=Array(((this.bufferOff+e.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(n,r)));for(var a=e.length-(e.length-t)%this.blockSize;t<a;t+=this.blockSize)this._update(e,t,n,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return n},n.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,a=Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(a,r);return t+=this._buffer(e,t),a},n.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},n.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},n.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=Array(this.blockSize);return this._update(this.buffer,0,e,0),e},n.prototype._unpad=function(e){return e},n.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}}),em=p((e,t)=>{var r=ep(),n=S(),a=eh(),i=ev();function o(){this.tmp=[,,],this.keys=null}function s(e){i.call(this,e);var t=new o;this._desState=t,this.deriveKeys(t,e.key)}n(s,i),t.exports=s,s.create=function(e){return new s(e)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];s.prototype.deriveKeys=function(e,t){e.keys=Array(32),r.equal(t.length,this.blockSize,"Invalid key length");var n=a.readUInt32BE(t,0),i=a.readUInt32BE(t,4);a.pc1(n,i,e.tmp,0),n=e.tmp[0],i=e.tmp[1];for(var o=0;o<e.keys.length;o+=2){var s=c[o>>>1];n=a.r28shl(n,s),i=a.r28shl(i,s),a.pc2(n,i,e.keys,o)}},s.prototype._update=function(e,t,r,n){var i=this._desState,o=a.readUInt32BE(e,t),s=a.readUInt32BE(e,t+4);a.ip(o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,o,s,i.tmp,0):this._decrypt(i,o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],a.writeUInt32BE(r,o,n),a.writeUInt32BE(r,s,n+4)},s.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},s.prototype._unpad=function(e){for(var t=e[e.length-1],n=e.length-t;n<e.length;n++)r.equal(e[n],t);return e.slice(0,e.length-t)},s.prototype._encrypt=function(e,t,r,n,i){for(var o=t,s=r,c=0;c<e.keys.length;c+=2){var u=e.keys[c],l=e.keys[c+1];a.expand(s,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var f=a.substitute(u,l),d=a.permute(f),h=s;s=(o^d)>>>0,o=h}a.rip(s,o,n,i)},s.prototype._decrypt=function(e,t,r,n,i){for(var o=r,s=t,c=e.keys.length-2;c>=0;c-=2){var u=e.keys[c],l=e.keys[c+1];a.expand(o,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var f=a.substitute(u,l),d=a.permute(f),h=o;o=(s^d)>>>0,s=h}a.rip(o,s,n,i)}}),eg=p(e=>{var t=ep(),r=S(),n={};function a(e){t.equal(e.length,8,"Invalid IV length"),this.iv=Array(8);for(var r=0;r<this.iv.length;r++)this.iv[r]=e[r]}e.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}r(t,e);for(var a=Object.keys(n),i=0;i<a.length;i++){var o=a[i];t.prototype[o]=n[o]}return t.create=function(e){return new t(e)},t},n._cbcInit=function(){var e=new a(this.options.iv);this._cbcState=e},n._update=function(e,t,r,n){var a=this._cbcState,i=this.constructor.super_.prototype,o=a.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)o[s]^=e[t+s];i._update.call(this,o,0,r,n);for(var s=0;s<this.blockSize;s++)o[s]=r[n+s]}else{i._update.call(this,e,t,r,n);for(var s=0;s<this.blockSize;s++)r[n+s]^=o[s];for(var s=0;s<this.blockSize;s++)o[s]=e[t+s]}}}),eb=p((e,t)=>{var r=ep(),n=S(),a=ev(),i=em();function o(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),a=t.slice(8,16),o=t.slice(16,24);"encrypt"===e?this.ciphers=[i.create({type:"encrypt",key:n}),i.create({type:"decrypt",key:a}),i.create({type:"encrypt",key:o})]:this.ciphers=[i.create({type:"decrypt",key:o}),i.create({type:"encrypt",key:a}),i.create({type:"decrypt",key:n})]}function s(e){a.call(this,e);var t=new o(this.type,this.options.key);this._edeState=t}n(s,a),t.exports=s,s.create=function(e){return new s(e)},s.prototype._update=function(e,t,r,n){var a=this._edeState;a.ciphers[0]._update(e,t,r,n),a.ciphers[1]._update(r,n,r,n),a.ciphers[2]._update(r,n,r,n)},s.prototype._pad=i.prototype._pad,s.prototype._unpad=i.prototype._unpad}),ey=p(e=>{e.utils=eh(),e.Cipher=ev(),e.DES=em(),e.CBC=eg(),e.EDE=eb()}),e_=p((e,t)=>{var r=ee(),n=ey(),a=S(),i=_().Buffer,o={"des-ede3-cbc":n.CBC.instantiate(n.EDE),"des-ede3":n.EDE,"des-ede-cbc":n.CBC.instantiate(n.EDE),"des-ede":n.EDE,"des-cbc":n.CBC.instantiate(n.DES),"des-ecb":n.DES};function s(e){r.call(this);var t,n=e.mode.toLowerCase(),a=o[n];t=e.decrypt?"decrypt":"encrypt";var s=e.key;i.isBuffer(s)||(s=i.from(s)),("des-ede"===n||"des-ede-cbc"===n)&&(s=i.concat([s,s.slice(0,8)]));var c=e.iv;i.isBuffer(c)||(c=i.from(c)),this._des=a.create({key:s,iv:c,type:t})}o.des=o["des-cbc"],o.des3=o["des-ede3-cbc"],t.exports=s,a(s,r),s.prototype._update=function(e){return i.from(this._des.update(e))},s.prototype._final=function(){return i.from(this._des.final())}}),ew=p(e=>{e.encrypt=function(e,t){return e._cipher.encryptBlock(t)},e.decrypt=function(e,t){return e._cipher.decryptBlock(t)}}),eS=p((e,t)=>{t.exports=function(e,t){for(var r=Math.min(e.length,t.length),n=new s(r),a=0;a<r;++a)n[a]=e[a]^t[a];return n}}),eE=p(e=>{var t=eS();e.encrypt=function(e,r){var n=t(r,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},e.decrypt=function(e,r){var n=e._prev;return e._prev=r,t(e._cipher.decryptBlock(r),n)}}),ek=p(e=>{var t=_().Buffer,r=eS();function n(e,n,a){var i=n.length,o=r(n,e._cache);return e._cache=e._cache.slice(i),e._prev=t.concat([e._prev,a?n:o]),o}e.encrypt=function(e,r,a){for(var i,o=t.allocUnsafe(0);r.length;)if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=t.allocUnsafe(0)),e._cache.length<=r.length)i=e._cache.length,o=t.concat([o,n(e,r.slice(0,i),a)]),r=r.slice(i);else{o=t.concat([o,n(e,r,a)]);break}return o}}),eI=p(e=>{var t=_().Buffer;e.encrypt=function(e,r,n){for(var a=r.length,i=t.allocUnsafe(a),o=-1;++o<a;)i[o]=function(e,r,n){var a=e._cipher.encryptBlock(e._prev)[0]^r;return e._prev=t.concat([e._prev.slice(1),t.from([n?r:a])]),a}(e,r[o],n);return i}}),ex=p(e=>{var t=_().Buffer;e.encrypt=function(e,r,n){for(var a=r.length,i=t.allocUnsafe(a),o=-1;++o<a;)i[o]=function(e,r,n){for(var a,i,o,s=-1,c=0;++s<8;)a=e._cipher.encryptBlock(e._prev),i=r&1<<7-s?128:0,c+=(128&(o=a[0]^i))>>s%8,e._prev=function(e,r){var n=e.length,a=-1,i=t.allocUnsafe(e.length);for(e=t.concat([e,t.from([r])]);++a<n;)i[a]=e[a]<<1|e[a+1]>>7;return i}(e._prev,n?i:o);return c}(e,r[o],n);return i}}),eO=p(e=>{var t=eS();e.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=s.concat([e._cache,(e._prev=e._cipher.encryptBlock(e._prev),e._prev)]);var n=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),t(r,n)}}),eT=p((e,t)=>{t.exports=function(e){for(var t,r=e.length;r--;)if(255===(t=e.readUInt8(r)))e.writeUInt8(0,r);else{t++,e.writeUInt8(t,r);break}}}),eA=p(e=>{var t=eS(),r=_().Buffer,n=eT();e.encrypt=function(e,a){var i=Math.ceil(a.length/16),o=e._cache.length;e._cache=r.concat([e._cache,r.allocUnsafe(16*i)]);for(var s=0;s<i;s++){var c=function(e){var t=e._cipher.encryptBlockRaw(e._prev);return n(e._prev),t}(e),u=o+16*s;e._cache.writeUInt32BE(c[0],u+0),e._cache.writeUInt32BE(c[1],u+4),e._cache.writeUInt32BE(c[2],u+8),e._cache.writeUInt32BE(c[3],u+12)}var l=e._cache.slice(0,a.length);return e._cache=e._cache.slice(a.length),t(a,l)}}),eM=p((e,t)=>{t.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}}),eR=p((e,t)=>{var r,n={ECB:ew(),CBC:eE(),CFB:ek(),CFB8:eI(),CFB1:ex(),OFB:eO(),CTR:eA(),GCM:eA()},a=eM();for(r in a)a[r].module=n[a[r].mode];t.exports=a}),eC=p((e,t)=>{var r=_().Buffer;function n(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=Array(t),a=0;a<t;a++)n[a]=e.readUInt32BE(4*a);return n}function a(e){for(;0<e.length;e++)e[0]=0}function i(e,t,r,n,a){for(var i,o,s,c,u=r[0],l=r[1],f=r[2],d=r[3],h=e[0]^t[0],p=e[1]^t[1],v=e[2]^t[2],m=e[3]^t[3],g=4,b=1;b<a;b++)i=u[h>>>24]^l[p>>>16&255]^f[v>>>8&255]^d[255&m]^t[g++],o=u[p>>>24]^l[v>>>16&255]^f[m>>>8&255]^d[255&h]^t[g++],s=u[v>>>24]^l[m>>>16&255]^f[h>>>8&255]^d[255&p]^t[g++],c=u[m>>>24]^l[h>>>16&255]^f[p>>>8&255]^d[255&v]^t[g++],h=i,p=o,v=s,m=c;return i=(n[h>>>24]<<24|n[p>>>16&255]<<16|n[v>>>8&255]<<8|n[255&m])^t[g++],o=(n[p>>>24]<<24|n[v>>>16&255]<<16|n[m>>>8&255]<<8|n[255&h])^t[g++],[i>>>=0,o>>>=0,s=((n[v>>>24]<<24|n[m>>>16&255]<<16|n[h>>>8&255]<<8|n[255&p])^t[g++])>>>0,c=((n[m>>>24]<<24|n[h>>>16&255]<<16|n[p>>>8&255]<<8|n[255&v])^t[g++])>>>0]}var o=[0,1,2,4,8,16,32,64,128,27,54],s=function(){for(var e=Array(256),t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var r=[],n=[],a=[[],[],[],[]],i=[[],[],[],[]],o=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[o]=u,n[u]=o;var l=e[o],f=e[l],d=e[f],h=257*e[u]^16843008*u;a[0][o]=h<<24|h>>>8,a[1][o]=h<<16|h>>>16,a[2][o]=h<<8|h>>>24,a[3][o]=h,h=16843009*d^65537*f^257*l^16843008*o,i[0][u]=h<<24|h>>>8,i[1][u]=h<<16|h>>>16,i[2][u]=h<<8|h>>>24,i[3][u]=h,0===o?o=s=1:(o=l^e[e[e[d^l]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:a,INV_SUB_MIX:i}}();function c(e){this._key=n(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=(r+1)*4,a=[],i=0;i<t;i++)a[i]=e[i];for(i=t;i<n;i++){var c=a[i-1];i%t==0?(c=c<<8|c>>>24,c=(s.SBOX[c>>>24]<<24|s.SBOX[c>>>16&255]<<16|s.SBOX[c>>>8&255]<<8|s.SBOX[255&c])^o[i/t|0]<<24):t>6&&i%t==4&&(c=s.SBOX[c>>>24]<<24|s.SBOX[c>>>16&255]<<16|s.SBOX[c>>>8&255]<<8|s.SBOX[255&c]),a[i]=a[i-t]^c}for(var u=[],l=0;l<n;l++){var f=n-l,d=a[f-(l%4?0:4)];l<4||f<=4?u[l]=d:u[l]=s.INV_SUB_MIX[0][s.SBOX[d>>>24]]^s.INV_SUB_MIX[1][s.SBOX[d>>>16&255]]^s.INV_SUB_MIX[2][s.SBOX[d>>>8&255]]^s.INV_SUB_MIX[3][s.SBOX[255&d]]}this._nRounds=r,this._keySchedule=a,this._invKeySchedule=u},c.prototype.encryptBlockRaw=function(e){return i(e=n(e),this._keySchedule,s.SUB_MIX,s.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},c.prototype.decryptBlock=function(e){var t=(e=n(e))[1];e[1]=e[3],e[3]=t;var a=i(e,this._invKeySchedule,s.INV_SUB_MIX,s.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(a[0],0),o.writeUInt32BE(a[3],4),o.writeUInt32BE(a[2],8),o.writeUInt32BE(a[1],12),o},c.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},t.exports.AES=c}),ej=p((e,t)=>{var r=_().Buffer,n=r.alloc(16,0);function a(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function i(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}i.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},i.prototype._multiply=function(){for(var e,t,r,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],o=-1;++o<128;){for((this.state[~~(o/8)]&1<<7-o%8)!=0&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=(1&n[3])!=0,t=3;t>0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=-520093696^n[0])}this.state=a(i)},i.prototype.update=function(e){this.cache=r.concat([this.cache,e]);for(var t;this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},i.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,n],16)),this.ghash(a([0,e,0,t])),this.state},t.exports=i}),eN=p((e,t)=>{var r=eC(),n=_().Buffer,a=ee(),i=S(),o=ej(),s=eS(),c=eT();function u(e,t,i,s){a.call(this);var u=n.alloc(4,0);this._cipher=new r.AES(t);var l=this._cipher.encryptBlock(u);this._ghash=new o(l),i=function(e,t,r){if(12===t.length)return e._finID=n.concat([t,n.from([0,0,0,1])]),n.concat([t,n.from([0,0,0,2])]);var a=new o(r),i=t.length,s=i%16;a.update(t),s&&(s=16-s,a.update(n.alloc(s,0))),a.update(n.alloc(8,0));var u=n.alloc(8);u.writeUIntBE(8*i,0,8),a.update(u),e._finID=a.state;var l=n.from(e._finID);return c(l),l}(this,i,l),this._prev=n.from(i),this._cache=n.allocUnsafe(0),this._secCache=n.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}i(u,a),u.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=n.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},u.prototype._final=function(){if(this._decrypt&&!this._authTag)throw Error("Unsupported state or unable to authenticate data");var e=s(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),a=0;a<n;++a)r+=e[a]^t[a];return r}(e,this._authTag))throw Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},u.prototype.getAuthTag=function(){if(this._decrypt||!n.isBuffer(this._authTag))throw Error("Attempting to get auth tag in unsupported state");return this._authTag},u.prototype.setAuthTag=function(e){if(!this._decrypt)throw Error("Attempting to set auth tag in unsupported state");this._authTag=e},u.prototype.setAAD=function(e){if(this._called)throw Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=u}),eP=p((e,t)=>{var r=eC(),n=_().Buffer,a=ee();function i(e,t,i,o){a.call(this),this._cipher=new r.AES(t),this._prev=n.from(i),this._cache=n.allocUnsafe(0),this._secCache=n.allocUnsafe(0),this._decrypt=o,this._mode=e}S()(i,a),i.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},i.prototype._final=function(){this._cipher.scrub()},t.exports=i}),eD=p((e,t)=>{var r=_().Buffer,n=G();t.exports=function(e,t,a,i){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw RangeError("salt should be Buffer with 8 byte length");for(var o=a/8,s=r.alloc(o),c=r.alloc(i||0),u=r.alloc(0);o>0||i>0;){var l=new n;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var f=0;if(o>0){var d=s.length-o;f=Math.min(o,u.length),u.copy(s,d,0,f),o-=f}if(f<u.length&&i>0){var h=c.length-i,p=Math.min(i,u.length-f);u.copy(c,h,f,f+p),i-=p}}return u.fill(0),{key:s,iv:c}}}),eL=p(e=>{var t=eR(),r=eN(),n=_().Buffer,a=eP(),i=ee(),o=eC(),s=eD();function c(e,t,r){i.call(this),this._cache=new l,this._cipher=new o.AES(t),this._prev=n.from(r),this._mode=e,this._autopadding=!0}S()(c,i),c.prototype._update=function(e){this._cache.add(e);for(var t,r,a=[];t=this._cache.get();)r=this._mode.encrypt(this,t),a.push(r);return n.concat(a)};var u=n.alloc(16,16);function l(){this.cache=n.allocUnsafe(0)}function f(e,i,o){var s=t[e.toLowerCase()];if(!s)throw TypeError("invalid suite type");if("string"==typeof i&&(i=n.from(i)),i.length!==s.key/8)throw TypeError("invalid key length "+i.length);if("string"==typeof o&&(o=n.from(o)),"GCM"!==s.mode&&o.length!==s.iv)throw TypeError("invalid iv length "+o.length);return"stream"===s.type?new a(s.module,i,o):"auth"===s.type?new r(s.module,i,o):new c(s.module,i,o)}c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(u))throw this._cipher.scrub(),Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},l.prototype.add=function(e){this.cache=n.concat([this.cache,e])},l.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},l.prototype.flush=function(){for(var e=16-this.cache.length,t=n.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return n.concat([this.cache,t])},e.createCipheriv=f,e.createCipher=function(e,r){var n=t[e.toLowerCase()];if(!n)throw TypeError("invalid suite type");var a=s(r,!1,n.key,n.iv);return f(e,a.key,a.iv)}}),eF=p(e=>{var t=eN(),r=_().Buffer,n=eR(),a=eP(),i=ee(),o=eC(),s=eD();function c(e,t,n){i.call(this),this._cache=new u,this._last=void 0,this._cipher=new o.AES(t),this._prev=r.from(n),this._mode=e,this._autopadding=!0}function u(){this.cache=r.allocUnsafe(0)}function l(e,i,o){var s=n[e.toLowerCase()];if(!s)throw TypeError("invalid suite type");if("string"==typeof o&&(o=r.from(o)),"GCM"!==s.mode&&o.length!==s.iv)throw TypeError("invalid iv length "+o.length);if("string"==typeof i&&(i=r.from(i)),i.length!==s.key/8)throw TypeError("invalid key length "+i.length);return"stream"===s.type?new a(s.module,i,o,!0):"auth"===s.type?new t(s.module,i,o,!0):new c(s.module,i,o)}S()(c,i),c.prototype._update=function(e){this._cache.add(e);for(var t,n,a=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),a.push(n);return r.concat(a)},c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw Error("unable to decrypt data");for(var r=-1;++r<t;)if(e[r+(16-t)]!==t)throw Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},u.prototype.add=function(e){this.cache=r.concat([this.cache,e])},u.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(e,t){var r=n[e.toLowerCase()];if(!r)throw TypeError("invalid suite type");var a=s(t,!1,r.key,r.iv);return l(e,a.key,a.iv)},e.createDecipheriv=l}),eB=p(e=>{var t=eL(),r=eF(),n=eM();e.createCipher=e.Cipher=t.createCipher,e.createCipheriv=e.Cipheriv=t.createCipheriv,e.createDecipher=e.Decipher=r.createDecipher,e.createDecipheriv=e.Decipheriv=r.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(n)}}),eU=p(e=>{e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}}),ez=p(e=>{var t=e_(),r=eB(),n=eR(),a=eU(),i=eD();function o(e,i,o){if(n[e=e.toLowerCase()])return r.createCipheriv(e,i,o);if(a[e])return new t({key:i,iv:o,mode:e});throw TypeError("invalid suite type")}function s(e,i,o){if(n[e=e.toLowerCase()])return r.createDecipheriv(e,i,o);if(a[e])return new t({key:i,iv:o,mode:e,decrypt:!0});throw TypeError("invalid suite type")}e.createCipher=e.Cipher=function(e,t){if(n[e=e.toLowerCase()])r=n[e].key,s=n[e].iv;else if(a[e])r=8*a[e].key,s=a[e].iv;else throw TypeError("invalid suite type");var r,s,c=i(t,!1,r,s);return o(e,c.key,c.iv)},e.createCipheriv=e.Cipheriv=o,e.createDecipher=e.Decipher=function(e,t){if(n[e=e.toLowerCase()])r=n[e].key,o=n[e].iv;else if(a[e])r=8*a[e].key,o=a[e].iv;else throw TypeError("invalid suite type");var r,o,c=i(t,!1,r,o);return s(e,c.key,c.iv)},e.createDecipheriv=e.Decipheriv=s,e.listCiphers=e.getCiphers=function(){return Object.keys(a).concat(r.getCiphers())}}),eH=p(()=>{}),eG=p((e,t)=>{!function(e,t){function r(e,t){if(!e)throw Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(e||0,t||10,r||"be"))}"object"==typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{c="u">typeof window&&"u">typeof window.Buffer?window.Buffer:eH().Buffer}catch(e){}function i(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function o(e,t,r){var n=i(e,r);return r-1>=t&&(n|=i(e,r-1)<<4),n}function s(e,t,r,n){for(var a=0,i=Math.min(e.length,r),o=t;o<i;o++){var s=e.charCodeAt(o)-48;a*=n,s>=49?a+=s-49+10:s>=17?a+=s-17+10:a+=s}return a}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return 0>e.cmp(t)?e:t},a.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var a=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(a++,this.negative=1),a<e.length&&(16===t?this._parseHex(e,a,n):(this._parseBase(e,t,a),"le"===n&&this._initArray(this.toArray(),t,n)))},a.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var a=0;a<this.length;a++)this.words[a]=0;var i,o,s=0;if("be"===n)for(a=e.length-1,i=0;a>=0;a-=3)o=e[a]|e[a-1]<<8|e[a-2]<<16,this.words[i]|=o<<s&67108863,this.words[i+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,i++);else if("le"===n)for(a=0,i=0;a<e.length;a+=3)o=e[a]|e[a+1]<<8|e[a+2]<<16,this.words[i]|=o<<s&67108863,this.words[i+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,i++);return this.strip()},a.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var a,i=0,s=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)a=o(e,t,n)<<i,this.words[s]|=67108863&a,i>=18?(i-=18,s+=1,this.words[s]|=a>>>26):i+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)a=o(e,t,n)<<i,this.words[s]|=67108863&a,i>=18?(i-=18,s+=1,this.words[s]|=a>>>26):i+=8;this.strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,a=1;a<=67108863;a*=t)n++;n--,a=a/t|0;for(var i=e.length-r,o=i%n,c=Math.min(i,i-o)+r,u=0,l=r;l<c;l+=n)u=s(e,l,l+n,t),this.imuln(a),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var f=1;for(u=s(e,l,e.length,t),l=0;l<o;l++)f*=t;this.imuln(f),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},a.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c,u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var a=0|e.words[0],i=0|t.words[0],o=a*i,s=67108863&o,c=o/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(o=(a=0|e.words[p])*(i=0|t.words[h])+f)/67108864|0,f=67108863&o}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}a.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var n,a=0,i=0,o=0;o<this.length;o++){var s=this.words[o],c=((s<<a|i)&16777215).toString(16);n=0!=(i=s>>>24-a&16777215)||o!==this.length-1?u[6-c.length]+c+n:c+n,(a+=2)>=26&&(a-=26,o--)}for(0!==i&&(n=i.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var d=l[e],h=f[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var v=p.modn(h).toString(e);n=(p=p.idivn(h)).isZero()?v+n:u[d-v.length]+v+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return r("u">typeof c),this.toArrayLike(c,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,n){var a=this.byteLength(),i=n||Math.max(1,a);r(a<=i,"byte array longer than desired length"),r(i>0,"Requested array length <= 0"),this.strip();var o,s,c=new e(i),u=this.clone();if("le"===t){for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[s]=o;for(;s<i;s++)c[s]=0}else{for(s=0;s<i-a;s++)c[s]=0;for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[i-s-1]=o}return c},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},a.prototype.ior=function(e){return r((this.negative|e.negative)==0),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},a.prototype.iand=function(e){return r((this.negative|e.negative)==0),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},a.prototype.ixor=function(e){return r((this.negative|e.negative)==0),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var a=0;a<t;a++)this.words[a]=67108863&~this.words[a];return n>0&&(this.words[a]=~this.words[a]&67108863>>26-n),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,a=e%26;return this._expand(n+1),t?this.words[n]=this.words[n]|1<<a:this.words[n]=this.words[n]&~(1<<a),this.strip()},a.prototype.iadd=function(e){if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var t,r,n,a=0,i=0;i<n.length;i++)t=(0|r.words[i])+(0|n.words[i])+a,this.words[i]=67108863&t,a=t>>>26;for(;0!==a&&i<r.length;i++)t=(0|r.words[i])+a,this.words[i]=67108863&t,a=t>>>26;if(this.length=r.length,0!==a)this.words[this.length]=a,this.length++;else if(r!==this)for(;i<r.length;i++)this.words[i]=r.words[i];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,r,n=this.iadd(e);return e.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var a=this.cmp(e);if(0===a)return this.negative=0,this.length=1,this.words[0]=0,this;a>0?(t=this,r=e):(t=e,r=this);for(var i=0,o=0;o<r.length;o++)i=(n=(0|t.words[o])-(0|r.words[o])+i)>>26,this.words[o]=67108863&n;for(;0!==i&&o<t.length;o++)i=(n=(0|t.words[o])+i)>>26,this.words[o]=67108863&n;if(0===i&&o<t.length&&t!==this)for(;o<t.length;o++)this.words[o]=t.words[o];return this.length=Math.max(this.length,o),t!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var h=function(e,t,r){var n,a,i,o=e.words,s=t.words,c=r.words,u=0,l=0|o[0],f=8191&l,d=l>>>13,h=0|o[1],p=8191&h,v=h>>>13,m=0|o[2],g=8191&m,b=m>>>13,y=0|o[3],_=8191&y,w=y>>>13,S=0|o[4],E=8191&S,k=S>>>13,I=0|o[5],x=8191&I,O=I>>>13,T=0|o[6],A=8191&T,M=T>>>13,R=0|o[7],C=8191&R,j=R>>>13,N=0|o[8],P=8191&N,D=N>>>13,L=0|o[9],F=8191&L,B=L>>>13,U=0|s[0],z=8191&U,H=U>>>13,G=0|s[1],q=8191&G,W=G>>>13,K=0|s[2],V=8191&K,Y=K>>>13,J=0|s[3],Z=8191&J,X=J>>>13,$=0|s[4],Q=8191&$,ee=$>>>13,et=0|s[5],er=8191&et,en=et>>>13,ea=0|s[6],ei=8191&ea,eo=ea>>>13,es=0|s[7],ec=8191&es,eu=es>>>13,el=0|s[8],ef=8191&el,ed=el>>>13,eh=0|s[9],ep=8191&eh,ev=eh>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(f,z),a=(a=Math.imul(f,H))+Math.imul(d,z)|0,i=Math.imul(d,H);var em=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(em>>>26)|0,em&=67108863,n=Math.imul(p,z),a=(a=Math.imul(p,H))+Math.imul(v,z)|0,i=Math.imul(v,H),n=n+Math.imul(f,q)|0,a=(a=a+Math.imul(f,W)|0)+Math.imul(d,q)|0,i=i+Math.imul(d,W)|0;var eg=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eg>>>26)|0,eg&=67108863,n=Math.imul(g,z),a=(a=Math.imul(g,H))+Math.imul(b,z)|0,i=Math.imul(b,H),n=n+Math.imul(p,q)|0,a=(a=a+Math.imul(p,W)|0)+Math.imul(v,q)|0,i=i+Math.imul(v,W)|0,n=n+Math.imul(f,V)|0,a=(a=a+Math.imul(f,Y)|0)+Math.imul(d,V)|0,i=i+Math.imul(d,Y)|0;var eb=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eb>>>26)|0,eb&=67108863,n=Math.imul(_,z),a=(a=Math.imul(_,H))+Math.imul(w,z)|0,i=Math.imul(w,H),n=n+Math.imul(g,q)|0,a=(a=a+Math.imul(g,W)|0)+Math.imul(b,q)|0,i=i+Math.imul(b,W)|0,n=n+Math.imul(p,V)|0,a=(a=a+Math.imul(p,Y)|0)+Math.imul(v,V)|0,i=i+Math.imul(v,Y)|0,n=n+Math.imul(f,Z)|0,a=(a=a+Math.imul(f,X)|0)+Math.imul(d,Z)|0,i=i+Math.imul(d,X)|0;var ey=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(ey>>>26)|0,ey&=67108863,n=Math.imul(E,z),a=(a=Math.imul(E,H))+Math.imul(k,z)|0,i=Math.imul(k,H),n=n+Math.imul(_,q)|0,a=(a=a+Math.imul(_,W)|0)+Math.imul(w,q)|0,i=i+Math.imul(w,W)|0,n=n+Math.imul(g,V)|0,a=(a=a+Math.imul(g,Y)|0)+Math.imul(b,V)|0,i=i+Math.imul(b,Y)|0,n=n+Math.imul(p,Z)|0,a=(a=a+Math.imul(p,X)|0)+Math.imul(v,Z)|0,i=i+Math.imul(v,X)|0,n=n+Math.imul(f,Q)|0,a=(a=a+Math.imul(f,ee)|0)+Math.imul(d,Q)|0,i=i+Math.imul(d,ee)|0;var e_=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(e_>>>26)|0,e_&=67108863,n=Math.imul(x,z),a=(a=Math.imul(x,H))+Math.imul(O,z)|0,i=Math.imul(O,H),n=n+Math.imul(E,q)|0,a=(a=a+Math.imul(E,W)|0)+Math.imul(k,q)|0,i=i+Math.imul(k,W)|0,n=n+Math.imul(_,V)|0,a=(a=a+Math.imul(_,Y)|0)+Math.imul(w,V)|0,i=i+Math.imul(w,Y)|0,n=n+Math.imul(g,Z)|0,a=(a=a+Math.imul(g,X)|0)+Math.imul(b,Z)|0,i=i+Math.imul(b,X)|0,n=n+Math.imul(p,Q)|0,a=(a=a+Math.imul(p,ee)|0)+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,n=n+Math.imul(f,er)|0,a=(a=a+Math.imul(f,en)|0)+Math.imul(d,er)|0,i=i+Math.imul(d,en)|0;var ew=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(ew>>>26)|0,ew&=67108863,n=Math.imul(A,z),a=(a=Math.imul(A,H))+Math.imul(M,z)|0,i=Math.imul(M,H),n=n+Math.imul(x,q)|0,a=(a=a+Math.imul(x,W)|0)+Math.imul(O,q)|0,i=i+Math.imul(O,W)|0,n=n+Math.imul(E,V)|0,a=(a=a+Math.imul(E,Y)|0)+Math.imul(k,V)|0,i=i+Math.imul(k,Y)|0,n=n+Math.imul(_,Z)|0,a=(a=a+Math.imul(_,X)|0)+Math.imul(w,Z)|0,i=i+Math.imul(w,X)|0,n=n+Math.imul(g,Q)|0,a=(a=a+Math.imul(g,ee)|0)+Math.imul(b,Q)|0,i=i+Math.imul(b,ee)|0,n=n+Math.imul(p,er)|0,a=(a=a+Math.imul(p,en)|0)+Math.imul(v,er)|0,i=i+Math.imul(v,en)|0,n=n+Math.imul(f,ei)|0,a=(a=a+Math.imul(f,eo)|0)+Math.imul(d,ei)|0,i=i+Math.imul(d,eo)|0;var eS=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eS>>>26)|0,eS&=67108863,n=Math.imul(C,z),a=(a=Math.imul(C,H))+Math.imul(j,z)|0,i=Math.imul(j,H),n=n+Math.imul(A,q)|0,a=(a=a+Math.imul(A,W)|0)+Math.imul(M,q)|0,i=i+Math.imul(M,W)|0,n=n+Math.imul(x,V)|0,a=(a=a+Math.imul(x,Y)|0)+Math.imul(O,V)|0,i=i+Math.imul(O,Y)|0,n=n+Math.imul(E,Z)|0,a=(a=a+Math.imul(E,X)|0)+Math.imul(k,Z)|0,i=i+Math.imul(k,X)|0,n=n+Math.imul(_,Q)|0,a=(a=a+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,n=n+Math.imul(g,er)|0,a=(a=a+Math.imul(g,en)|0)+Math.imul(b,er)|0,i=i+Math.imul(b,en)|0,n=n+Math.imul(p,ei)|0,a=(a=a+Math.imul(p,eo)|0)+Math.imul(v,ei)|0,i=i+Math.imul(v,eo)|0,n=n+Math.imul(f,ec)|0,a=(a=a+Math.imul(f,eu)|0)+Math.imul(d,ec)|0,i=i+Math.imul(d,eu)|0;var eE=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eE>>>26)|0,eE&=67108863,n=Math.imul(P,z),a=(a=Math.imul(P,H))+Math.imul(D,z)|0,i=Math.imul(D,H),n=n+Math.imul(C,q)|0,a=(a=a+Math.imul(C,W)|0)+Math.imul(j,q)|0,i=i+Math.imul(j,W)|0,n=n+Math.imul(A,V)|0,a=(a=a+Math.imul(A,Y)|0)+Math.imul(M,V)|0,i=i+Math.imul(M,Y)|0,n=n+Math.imul(x,Z)|0,a=(a=a+Math.imul(x,X)|0)+Math.imul(O,Z)|0,i=i+Math.imul(O,X)|0,n=n+Math.imul(E,Q)|0,a=(a=a+Math.imul(E,ee)|0)+Math.imul(k,Q)|0,i=i+Math.imul(k,ee)|0,n=n+Math.imul(_,er)|0,a=(a=a+Math.imul(_,en)|0)+Math.imul(w,er)|0,i=i+Math.imul(w,en)|0,n=n+Math.imul(g,ei)|0,a=(a=a+Math.imul(g,eo)|0)+Math.imul(b,ei)|0,i=i+Math.imul(b,eo)|0,n=n+Math.imul(p,ec)|0,a=(a=a+Math.imul(p,eu)|0)+Math.imul(v,ec)|0,i=i+Math.imul(v,eu)|0,n=n+Math.imul(f,ef)|0,a=(a=a+Math.imul(f,ed)|0)+Math.imul(d,ef)|0,i=i+Math.imul(d,ed)|0;var ek=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(ek>>>26)|0,ek&=67108863,n=Math.imul(F,z),a=(a=Math.imul(F,H))+Math.imul(B,z)|0,i=Math.imul(B,H),n=n+Math.imul(P,q)|0,a=(a=a+Math.imul(P,W)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,W)|0,n=n+Math.imul(C,V)|0,a=(a=a+Math.imul(C,Y)|0)+Math.imul(j,V)|0,i=i+Math.imul(j,Y)|0,n=n+Math.imul(A,Z)|0,a=(a=a+Math.imul(A,X)|0)+Math.imul(M,Z)|0,i=i+Math.imul(M,X)|0,n=n+Math.imul(x,Q)|0,a=(a=a+Math.imul(x,ee)|0)+Math.imul(O,Q)|0,i=i+Math.imul(O,ee)|0,n=n+Math.imul(E,er)|0,a=(a=a+Math.imul(E,en)|0)+Math.imul(k,er)|0,i=i+Math.imul(k,en)|0,n=n+Math.imul(_,ei)|0,a=(a=a+Math.imul(_,eo)|0)+Math.imul(w,ei)|0,i=i+Math.imul(w,eo)|0,n=n+Math.imul(g,ec)|0,a=(a=a+Math.imul(g,eu)|0)+Math.imul(b,ec)|0,i=i+Math.imul(b,eu)|0,n=n+Math.imul(p,ef)|0,a=(a=a+Math.imul(p,ed)|0)+Math.imul(v,ef)|0,i=i+Math.imul(v,ed)|0,n=n+Math.imul(f,ep)|0,a=(a=a+Math.imul(f,ev)|0)+Math.imul(d,ep)|0,i=i+Math.imul(d,ev)|0;var eI=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eI>>>26)|0,eI&=67108863,n=Math.imul(F,q),a=(a=Math.imul(F,W))+Math.imul(B,q)|0,i=Math.imul(B,W),n=n+Math.imul(P,V)|0,a=(a=a+Math.imul(P,Y)|0)+Math.imul(D,V)|0,i=i+Math.imul(D,Y)|0,n=n+Math.imul(C,Z)|0,a=(a=a+Math.imul(C,X)|0)+Math.imul(j,Z)|0,i=i+Math.imul(j,X)|0,n=n+Math.imul(A,Q)|0,a=(a=a+Math.imul(A,ee)|0)+Math.imul(M,Q)|0,i=i+Math.imul(M,ee)|0,n=n+Math.imul(x,er)|0,a=(a=a+Math.imul(x,en)|0)+Math.imul(O,er)|0,i=i+Math.imul(O,en)|0,n=n+Math.imul(E,ei)|0,a=(a=a+Math.imul(E,eo)|0)+Math.imul(k,ei)|0,i=i+Math.imul(k,eo)|0,n=n+Math.imul(_,ec)|0,a=(a=a+Math.imul(_,eu)|0)+Math.imul(w,ec)|0,i=i+Math.imul(w,eu)|0,n=n+Math.imul(g,ef)|0,a=(a=a+Math.imul(g,ed)|0)+Math.imul(b,ef)|0,i=i+Math.imul(b,ed)|0,n=n+Math.imul(p,ep)|0,a=(a=a+Math.imul(p,ev)|0)+Math.imul(v,ep)|0,i=i+Math.imul(v,ev)|0;var ex=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(ex>>>26)|0,ex&=67108863,n=Math.imul(F,V),a=(a=Math.imul(F,Y))+Math.imul(B,V)|0,i=Math.imul(B,Y),n=n+Math.imul(P,Z)|0,a=(a=a+Math.imul(P,X)|0)+Math.imul(D,Z)|0,i=i+Math.imul(D,X)|0,n=n+Math.imul(C,Q)|0,a=(a=a+Math.imul(C,ee)|0)+Math.imul(j,Q)|0,i=i+Math.imul(j,ee)|0,n=n+Math.imul(A,er)|0,a=(a=a+Math.imul(A,en)|0)+Math.imul(M,er)|0,i=i+Math.imul(M,en)|0,n=n+Math.imul(x,ei)|0,a=(a=a+Math.imul(x,eo)|0)+Math.imul(O,ei)|0,i=i+Math.imul(O,eo)|0,n=n+Math.imul(E,ec)|0,a=(a=a+Math.imul(E,eu)|0)+Math.imul(k,ec)|0,i=i+Math.imul(k,eu)|0,n=n+Math.imul(_,ef)|0,a=(a=a+Math.imul(_,ed)|0)+Math.imul(w,ef)|0,i=i+Math.imul(w,ed)|0,n=n+Math.imul(g,ep)|0,a=(a=a+Math.imul(g,ev)|0)+Math.imul(b,ep)|0,i=i+Math.imul(b,ev)|0;var eO=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eO>>>26)|0,eO&=67108863,n=Math.imul(F,Z),a=(a=Math.imul(F,X))+Math.imul(B,Z)|0,i=Math.imul(B,X),n=n+Math.imul(P,Q)|0,a=(a=a+Math.imul(P,ee)|0)+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,n=n+Math.imul(C,er)|0,a=(a=a+Math.imul(C,en)|0)+Math.imul(j,er)|0,i=i+Math.imul(j,en)|0,n=n+Math.imul(A,ei)|0,a=(a=a+Math.imul(A,eo)|0)+Math.imul(M,ei)|0,i=i+Math.imul(M,eo)|0,n=n+Math.imul(x,ec)|0,a=(a=a+Math.imul(x,eu)|0)+Math.imul(O,ec)|0,i=i+Math.imul(O,eu)|0,n=n+Math.imul(E,ef)|0,a=(a=a+Math.imul(E,ed)|0)+Math.imul(k,ef)|0,i=i+Math.imul(k,ed)|0,n=n+Math.imul(_,ep)|0,a=(a=a+Math.imul(_,ev)|0)+Math.imul(w,ep)|0,i=i+Math.imul(w,ev)|0;var eT=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eT>>>26)|0,eT&=67108863,n=Math.imul(F,Q),a=(a=Math.imul(F,ee))+Math.imul(B,Q)|0,i=Math.imul(B,ee),n=n+Math.imul(P,er)|0,a=(a=a+Math.imul(P,en)|0)+Math.imul(D,er)|0,i=i+Math.imul(D,en)|0,n=n+Math.imul(C,ei)|0,a=(a=a+Math.imul(C,eo)|0)+Math.imul(j,ei)|0,i=i+Math.imul(j,eo)|0,n=n+Math.imul(A,ec)|0,a=(a=a+Math.imul(A,eu)|0)+Math.imul(M,ec)|0,i=i+Math.imul(M,eu)|0,n=n+Math.imul(x,ef)|0,a=(a=a+Math.imul(x,ed)|0)+Math.imul(O,ef)|0,i=i+Math.imul(O,ed)|0,n=n+Math.imul(E,ep)|0,a=(a=a+Math.imul(E,ev)|0)+Math.imul(k,ep)|0,i=i+Math.imul(k,ev)|0;var eA=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eA>>>26)|0,eA&=67108863,n=Math.imul(F,er),a=(a=Math.imul(F,en))+Math.imul(B,er)|0,i=Math.imul(B,en),n=n+Math.imul(P,ei)|0,a=(a=a+Math.imul(P,eo)|0)+Math.imul(D,ei)|0,i=i+Math.imul(D,eo)|0,n=n+Math.imul(C,ec)|0,a=(a=a+Math.imul(C,eu)|0)+Math.imul(j,ec)|0,i=i+Math.imul(j,eu)|0,n=n+Math.imul(A,ef)|0,a=(a=a+Math.imul(A,ed)|0)+Math.imul(M,ef)|0,i=i+Math.imul(M,ed)|0,n=n+Math.imul(x,ep)|0,a=(a=a+Math.imul(x,ev)|0)+Math.imul(O,ep)|0,i=i+Math.imul(O,ev)|0;var eM=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eM>>>26)|0,eM&=67108863,n=Math.imul(F,ei),a=(a=Math.imul(F,eo))+Math.imul(B,ei)|0,i=Math.imul(B,eo),n=n+Math.imul(P,ec)|0,a=(a=a+Math.imul(P,eu)|0)+Math.imul(D,ec)|0,i=i+Math.imul(D,eu)|0,n=n+Math.imul(C,ef)|0,a=(a=a+Math.imul(C,ed)|0)+Math.imul(j,ef)|0,i=i+Math.imul(j,ed)|0,n=n+Math.imul(A,ep)|0,a=(a=a+Math.imul(A,ev)|0)+Math.imul(M,ep)|0,i=i+Math.imul(M,ev)|0;var eR=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eR>>>26)|0,eR&=67108863,n=Math.imul(F,ec),a=(a=Math.imul(F,eu))+Math.imul(B,ec)|0,i=Math.imul(B,eu),n=n+Math.imul(P,ef)|0,a=(a=a+Math.imul(P,ed)|0)+Math.imul(D,ef)|0,i=i+Math.imul(D,ed)|0,n=n+Math.imul(C,ep)|0,a=(a=a+Math.imul(C,ev)|0)+Math.imul(j,ep)|0,i=i+Math.imul(j,ev)|0;var eC=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eC>>>26)|0,eC&=67108863,n=Math.imul(F,ef),a=(a=Math.imul(F,ed))+Math.imul(B,ef)|0,i=Math.imul(B,ed),n=n+Math.imul(P,ep)|0,a=(a=a+Math.imul(P,ev)|0)+Math.imul(D,ep)|0,i=i+Math.imul(D,ev)|0;var ej=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(ej>>>26)|0,ej&=67108863,n=Math.imul(F,ep),a=(a=Math.imul(F,ev))+Math.imul(B,ep)|0,i=Math.imul(B,ev);var eN=(u+n|0)+((8191&a)<<13)|0;return u=(i+(a>>>13)|0)+(eN>>>26)|0,eN&=67108863,c[0]=em,c[1]=eg,c[2]=eb,c[3]=ey,c[4]=e_,c[5]=ew,c[6]=eS,c[7]=eE,c[8]=ek,c[9]=eI,c[10]=ex,c[11]=eO,c[12]=eT,c[13]=eA,c[14]=eM,c[15]=eR,c[16]=eC,c[17]=ej,c[18]=eN,0!==u&&(c[19]=u,r.length++),r};function p(e,t,r){return(new v).mulp(e,t,r)}function v(e,t){this.x=e,this.y=t}Math.imul||(h=d),a.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):r<63?d(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,a=0,i=0;i<r.length-1;i++){var o=a;a=0;for(var s=67108863&n,c=Math.min(i,t.length-1),u=Math.max(0,i-e.length+1);u<=c;u++){var l=i-u,f=(0|e.words[l])*(0|t.words[u]),d=67108863&f;o=o+(f/67108864|0)|0,s=67108863&(d=d+s|0),a+=(o=o+(d>>>26)|0)>>>26,o&=67108863}r.words[i]=s,n=o,o=a}return 0!==n?r.words[i]=n:r.length--,r.strip()}(this,e,t):p(this,e,t)},v.prototype.makeRBT=function(e){for(var t=Array(e),r=a.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},v.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,a=0;a<t;a++)n|=(1&e)<<t-a-1,e>>=1;return n},v.prototype.permute=function(e,t,r,n,a,i){for(var o=0;o<i;o++)n[o]=t[e[o]],a[o]=r[e[o]]},v.prototype.transform=function(e,t,r,n,a,i){this.permute(i,e,t,r,n,a);for(var o=1;o<a;o<<=1)for(var s=o<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<a;l+=s)for(var f=c,d=u,h=0;h<o;h++){var p=r[l+h],v=n[l+h],m=r[l+h+o],g=n[l+h+o],b=f*m-d*g;g=f*g+d*m,m=b,r[l+h]=p+m,n[l+h]=v+g,r[l+h+o]=p-m,n[l+h+o]=v-g,h!==s&&(b=c*f-u*d,d=c*d+u*f,f=b)}},v.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,a=0;for(r=r/2|0;r;r>>>=1)a++;return 1<<a+1+n},v.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var a=e[n];e[n]=e[r-n-1],e[r-n-1]=a,a=t[n],t[n]=-t[r-n-1],t[r-n-1]=-a}},v.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var a=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&a,r=a<67108864?0:a/67108864|0}return e},v.prototype.convert13b=function(e,t,n,a){for(var i=0,o=0;o<t;o++)i+=0|e[o],n[2*o]=8191&i,i>>>=13,n[2*o+1]=8191&i,i>>>=13;for(o=2*t;o<a;++o)n[o]=0;r(0===i),r((-8192&i)==0)},v.prototype.stub=function(e){for(var t=Array(e),r=0;r<e;r++)t[r]=0;return t},v.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),a=this.makeRBT(n),i=this.stub(n),o=Array(n),s=Array(n),c=Array(n),u=Array(n),l=Array(n),f=Array(n),d=r.words;d.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,i,s,c,n,a),this.transform(u,i,l,f,n,a);for(var h=0;h<n;h++){var p=s[h]*l[h]-c[h]*f[h];c[h]=s[h]*f[h]+c[h]*l[h],s[h]=p}return this.conjugate(s,c,n),this.transform(s,c,d,i,n,a),this.conjugate(d,i,n),this.normalize13b(d,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=Array(this.length+e.length),p(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var a=(0|this.words[n])*e,i=(67108863&a)+(67108863&t);t>>=26,t+=(a/67108864|0)+(i>>>26),this.words[n]=67108863&i}return 0!==t&&(this.words[n]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=function(e){for(var t=Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,a=r%26;t[r]=(e.words[n]&1<<a)>>>a}return t}(e);if(0===t.length)return new a(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,a=(e-n)/26,i=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&i,c=(0|this.words[t])-s<<n;this.words[t]=c|o,o=s>>>26-n}o&&(this.words[t]=o,this.length++)}if(0!==a){for(t=this.length-1;t>=0;t--)this.words[t+a]=this.words[t];for(t=0;t<a;t++)this.words[t]=0;this.length+=a}return this.strip()},a.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,n){r("number"==typeof e&&e>=0),a=t?(t-t%26)/26:0;var a,i=e%26,o=Math.min((e-i)/26,this.length),s=67108863^67108863>>>i<<i;if(a-=o,a=Math.max(0,a),n){for(var c=0;c<o;c++)n.words[c]=this.words[c];n.length=o}if(0!==o){if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1}var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=a);c--){var l=0|this.words[c];this.words[c]=u<<26-i|l>>>i,u=l&s}return n&&0!==u&&(n.words[n.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;return!(this.length<=n)&&!!(this.words[n]&1<<t)},a.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;return(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)?this:(0!==t&&n++,this.length=Math.min(n,this.length),0!==t&&(this.words[this.length-1]&=67108863^67108863>>>t<<t),this.strip())},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,n){var a,i=e.length+n;this._expand(i);var o,s=0;for(a=0;a<e.length;a++){o=(0|this.words[a+n])+s;var c=(0|e.words[a])*t;o-=67108863&c,s=(o>>26)-(c/67108864|0),this.words[a+n]=67108863&o}for(;a<this.length-n;a++)s=(o=(0|this.words[a+n])+s)>>26,this.words[a+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,a=0;a<this.length;a++)s=(o=-(0|this.words[a])+s)>>26,this.words[a]=67108863&o;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,o=0|i.words[i.length-1];0!=(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==t){(s=new a(null)).length=c+1,s.words=Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var d=(0|n.words[i.length+f])*67108864+(0|n.words[i.length+f-1]);for(d=Math.min(d/o|0,67108863),n._ishlnsubmul(i,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=d)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(e,t,n){var i,o,s;return(r(!e.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):this.negative&e.negative?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||0>this.cmp(e)?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),a=e.andln(1),i=r.cmp(n);return i<0||1===a&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){r(e<=67108863);for(var t=67108864%e,n=0,a=this.length-1;a>=0;a--)n=(t*n+(0|this.words[a]))%e;return n},a.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var a=(0|this.words[n])+67108864*t;this.words[n]=a/e|0,t=a%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;!(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(l),o.isub(f)),i.iushrn(1),o.iushrn(1);for(var p=0,v=1;!(n.words[0]&v)&&p<26;++p,v<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),o.isub(c)):(n.isub(t),s.isub(i),c.isub(o))}return{a:s,b:c,gcd:n.iushln(u)}},a.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,n=this,i=e.clone();n=0!==n.negative?n.umod(e):n.clone();for(var o=new a(1),s=new a(0),c=i.clone();n.cmpn(1)>0&&i.cmpn(1)>0;){for(var u=0,l=1;!(n.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(n.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var f=0,d=1;!(i.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(i.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);n.cmp(i)>=0?(n.isub(i),o.isub(s)):(i.isub(n),s.isub(o))}return 0>(t=0===n.cmpn(1)?o:s).cmpn(0)&&t.iadd(e),t},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var a=t.cmp(r);if(a<0){var i=t;t=r,r=i}else if(0===a||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,a=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=a,this;for(var i=a,o=n;0!==i&&o<this.length;o++){var s=0|this.words[o];s+=i,i=s>>>26,s&=67108863,this.words[o]=s}return 0!==i&&(this.words[o]=i,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return -1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var a=0|this.words[0];t=a===e?0:a<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return -1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return -1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],a=0|e.words[r];if(n!==a){n<a?t=-1:n>a&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return -1===this.cmpn(e)},a.prototype.lt=function(e){return -1===this.cmp(e)},a.prototype.lten=function(e){return 0>=this.cmpn(e)},a.prototype.lte=function(e){return 0>=this.cmp(e)},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new S(e)},a.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var m={k256:null,p224:null,p192:null,p25519:null};function g(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var e=new a(null);return e.words=Array(Math.ceil(this.n/13)),e},g.prototype.ireduce=function(e){var t,r=e;do this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength();while(t>this.n)var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(e,t){e.iushrn(this.n,0,t)},g.prototype.imulK=function(e){return e.imul(this.k)},n(b,g),b.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9){e.words[0]=0,e.length=1;return}var a=e.words[9];for(t.words[t.length++]=4194303&a,n=10;n<e.length;n++){var i=0|e.words[n];e.words[n-10]=(4194303&i)<<4|a>>>22,a=i}a>>>=22,e.words[n-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(y,g),n(_,g),n(w,g),w.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=(0|e.words[r])*19+t,a=67108863&n;n>>>=26,e.words[r]=a,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){var t;if(m[e])return m[e];if("k256"===e)t=new b;else if("p224"===e)t=new y;else if("p192"===e)t=new _;else if("p25519"===e)t=new w;else throw Error("Unknown prime "+e);return m[e]=t,t},S.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){r((e.negative|t.negative)==0,"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},S.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return 0>r.cmpn(0)&&r.iadd(this.m),r._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return 0>r.cmpn(0)&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new a(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);r(!i.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=o;0!==h.cmp(s);){for(var v=h,m=0;0!==v.cmp(s);m++)v=v.redSqr();r(m<p);var g=this.pow(f,new a(1).iushln(p-m-1));d=d.redMul(g),f=g.redSqr(),h=h.redMul(f),p=m}return d},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=Array(16);r[0]=new a(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],o=0,s=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;if(i!==r[0]&&(i=this.sqr(i)),0===f&&0===o){s=0;continue}o<<=1,o|=f,4!=++s&&(0!==n||0!==l)||(i=this.mul(i,r[o]),s=0,o=0)}c=26}return i},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new E(e)},n(E,S),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),a=r.isub(n).iushrn(this.shift),i=a;return a.cmp(this.m)>=0?i=a.isub(this.m):0>a.cmpn(0)&&(i=a.iadd(this.m)),i._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):0>i.cmpn(0)&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(typeof t>"u"||t,e)}),eq=p(()=>{}),eW=p((e,t)=>{var r,n;function a(e){this.rand=e}if(t.exports=function(e){return r||(r=new a(null)),r.generate(e)},t.exports.Rand=a,a.prototype.generate=function(e){return this._rand(e)},a.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?a.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?a.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(a.prototype._rand=function(){throw Error("Not implemented yet")});else try{if(n=eq(),"function"!=typeof n.randomBytes)throw Error("Not supported");a.prototype._rand=function(e){return n.randomBytes(e)}}catch(e){}}),eK=p((e,t)=>{var r=eG(),n=eW();function a(e){this.rand=e||new n.Rand}t.exports=a,a.create=function(e){return new a(e)},a.prototype._randbelow=function(e){var t=Math.ceil(e.bitLength()/8);do var n=new r(this.rand.generate(t));while(n.cmp(e)>=0)return n},a.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},a.prototype.test=function(e,t,n){var a=e.bitLength(),i=r.mont(e),o=new r(1).toRed(i);t||(t=Math.max(1,a/48|0));for(var s=e.subn(1),c=0;!s.testn(c);c++);for(var u=e.shrn(c),l=s.toRed(i);t>0;t--){var f=this._randrange(new r(2),s);n&&n(f);var d=f.toRed(i).redPow(u);if(!(0===d.cmp(o)||0===d.cmp(l))){for(var h=1;h<c;h++){if(0===(d=d.redSqr()).cmp(o))return!1;if(0===d.cmp(l))break}if(h===c)return!1}}return!0},a.prototype.getDivisor=function(e,t){var n=e.bitLength(),a=r.mont(e),i=new r(1).toRed(a);t||(t=Math.max(1,n/48|0));for(var o=e.subn(1),s=0;!o.testn(s);s++);for(var c=e.shrn(s),u=o.toRed(a);t>0;t--){var l=this._randrange(new r(2),o),f=e.gcd(l);if(0!==f.cmpn(1))return f;var d=l.toRed(a).redPow(c);if(!(0===d.cmp(i)||0===d.cmp(u))){for(var h=1;h<s;h++){if(0===(d=d.redSqr()).cmp(i))return d.fromRed().subn(1).gcd(e);if(0===d.cmp(u))break}if(h===s)return(d=d.redSqr()).fromRed().subn(1).gcd(e)}}return!1}}),eV=p((e,t)=>{var r=w();t.exports=m,m.simpleSieve=p,m.fermatTest=v;var n=eG(),a=new n(24),i=new(eK()),o=new n(1),s=new n(2),c=new n(5),u=(new n(16),new n(8),new n(10)),l=new n(3),f=(new n(7),new n(11)),d=new n(4),h=(new n(12),null);function p(e){for(var t=function(){if(null!==h)return h;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),a=0;a<t&&e[a]<=n&&r%e[a]!=0;a++);t!==a&&e[a]<=n||(e[t++]=r)}return h=e,e}(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function v(e){var t=n.mont(e);return 0===s.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function m(e,t){if(e<16)return new n(2===t||5===t?[140,123]:[140,39]);t=new n(t);for(var h,m;;){for(h=new n(r(Math.ceil(e/8)));h.bitLength()>e;)h.ishrn(1);if(h.isEven()&&h.iadd(o),h.testn(1)||h.iadd(s),t.cmp(s)){if(!t.cmp(c))for(;h.mod(u).cmp(l);)h.iadd(d)}else for(;h.mod(a).cmp(f);)h.iadd(d);if(p(m=h.shrn(1))&&p(h)&&v(m)&&v(h)&&i.test(m)&&i.test(h))return h}}}),eY=p((e,t)=>{t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}}),eJ=p((e,t)=>{var r=eG(),n=new(eK()),a=new r(24),i=new r(11),o=new r(10),c=new r(3),u=new r(7),l=eV(),f=w();function d(e,t){return t=t||"utf8",s.isBuffer(e)||(e=new s(e,t)),this._pub=new r(e),this}function h(e,t){return t=t||"utf8",s.isBuffer(e)||(e=new s(e,t)),this._priv=new r(e),this}t.exports=v;var p={};function v(e,t,n){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=h):this._primeCode=8}function m(e,t){var r=new s(e.toArray());return t?r.toString(t):r}Object.defineProperty(v.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r,s=t.toString("hex"),f=[s,e.toString(16)].join("_");if(f in p)return p[f];var d=0;if(e.isEven()||!l.simpleSieve||!l.fermatTest(e)||!n.test(e))return d+=1,"02"===s||"05"===s?d+=8:d+=4,p[f]=d,d;switch(n.test(e.shrn(1))||(d+=2),s){case"02":e.mod(a).cmp(i)&&(d+=8);break;case"05":(r=e.mod(o)).cmp(c)&&r.cmp(u)&&(d+=8);break;default:d+=4}return p[f]=d,d}(this.__prime,this.__gen)),this._primeCode}}),v.prototype.generateKeys=function(){return this._priv||(this._priv=new r(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},v.prototype.computeSecret=function(e){var t=new s((e=(e=new r(e)).toRed(this._prime)).redPow(this._priv).fromRed().toArray()),n=this.getPrime();if(t.length<n.length){var a=new s(n.length-t.length);a.fill(0),t=s.concat([a,t])}return t},v.prototype.getPublicKey=function(e){return m(this._pub,e)},v.prototype.getPrivateKey=function(e){return m(this._priv,e)},v.prototype.getPrime=function(e){return m(this.__prime,e)},v.prototype.getGenerator=function(e){return m(this._gen,e)},v.prototype.setGenerator=function(e,t){return t=t||"utf8",s.isBuffer(e)||(e=new s(e,t)),this.__gen=e,this._gen=new r(e),this}}),eZ=p(e=>{var t=eV(),r=eY(),n=eJ(),a={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){return new n(new s(r[e].prime,"hex"),new s(r[e].gen,"hex"))},e.createDiffieHellman=e.DiffieHellman=function e(r,i,o,c){return s.isBuffer(i)||void 0===a[i]?e(r,"binary",i,o):(i=i||"binary",c=c||"binary",o=o||new s([2]),s.isBuffer(o)||(o=new s(o,c)),"number"==typeof r?new n(t(r,o),o,!0):(s.isBuffer(r)||(r=new s(r,i)),new n(r,o,!0)))}}),eX=p((e,t)=>{!function(e,t){function r(e,t){if(!e)throw Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(e||0,t||10,r||"be"))}"object"==typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{l="u">typeof window&&"u">typeof window.Buffer?window.Buffer:eH().Buffer}catch(e){}function i(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function o(e,t,r){var n=i(e,r);return r-1>=t&&(n|=i(e,r-1)<<4),n}function s(e,t,n,a){for(var i=0,o=0,s=Math.min(e.length,n),c=t;c<s;c++){var u=e.charCodeAt(c)-48;i*=a,o=u>=49?u-49+10:u>=17?u-17+10:u,r(u>=0&&o<a,"Invalid character"),i+=o}return i}function c(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return 0>e.cmp(t)?e:t},a.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var a=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(a++,this.negative=1),a<e.length&&(16===t?this._parseHex(e,a,n):(this._parseBase(e,t,a),"le"===n&&this._initArray(this.toArray(),t,n)))},a.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var a=0;a<this.length;a++)this.words[a]=0;var i,o,s=0;if("be"===n)for(a=e.length-1,i=0;a>=0;a-=3)o=e[a]|e[a-1]<<8|e[a-2]<<16,this.words[i]|=o<<s&67108863,this.words[i+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,i++);else if("le"===n)for(a=0,i=0;a<e.length;a+=3)o=e[a]|e[a+1]<<8|e[a+2]<<16,this.words[i]|=o<<s&67108863,this.words[i+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,i++);return this._strip()},a.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var a,i=0,s=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)a=o(e,t,n)<<i,this.words[s]|=67108863&a,i>=18?(i-=18,s+=1,this.words[s]|=a>>>26):i+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)a=o(e,t,n)<<i,this.words[s]|=67108863&a,i>=18?(i-=18,s+=1,this.words[s]|=a>>>26):i+=8;this._strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,a=1;a<=67108863;a*=t)n++;n--,a=a/t|0;for(var i=e.length-r,o=i%n,c=Math.min(i,i-o)+r,u=0,l=r;l<c;l+=n)u=s(e,l,l+n,t),this.imuln(a),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var f=1;for(u=s(e,l,e.length,t),l=0;l<o;l++)f*=t;this.imuln(f),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this._strip()},a.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype._move=function(e){c(e,this)},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"u">typeof Symbol&&"function"==typeof Symbol.for)try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=u}catch(e){a.prototype.inspect=u}else a.prototype.inspect=u;function u(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var l,f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var a=0|e.words[0],i=0|t.words[0],o=a*i,s=67108863&o,c=o/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(o=(a=0|e.words[p])*(i=0|t.words[h])+f)/67108864|0,f=67108863&o}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}a.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var n,a=0,i=0,o=0;o<this.length;o++){var s=this.words[o],c=((s<<a|i)&16777215).toString(16);i=s>>>24-a&16777215,(a+=2)>=26&&(a-=26,o--),n=0!==i||o!==this.length-1?f[6-c.length]+c+n:c+n}for(0!==i&&(n=i.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],l=h[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var v=p.modrn(l).toString(e);n=(p=p.idivn(l)).isZero()?v+n:f[u-v.length]+v+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16,2)},l&&(a.prototype.toBuffer=function(e,t){return this.toArrayLike(l,e,t)}),a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,n){this._strip();var a=this.byteLength(),i=n||Math.max(1,a);r(a<=i,"byte array longer than desired length"),r(i>0,"Requested array length <= 0");var o=e.allocUnsafe?e.allocUnsafe(i):new e(i);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,a),o},a.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,a=0,i=0;a<this.length;a++){var o=this.words[a]<<i|n;e[r++]=255&o,r<e.length&&(e[r++]=o>>8&255),r<e.length&&(e[r++]=o>>16&255),6===i?(r<e.length&&(e[r++]=o>>24&255),n=0,i=0):(n=o>>>24,i+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},a.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,a=0,i=0;a<this.length;a++){var o=this.words[a]<<i|n;e[r--]=255&o,r>=0&&(e[r--]=o>>8&255),r>=0&&(e[r--]=o>>16&255),6===i?(r>=0&&(e[r--]=o>>24&255),n=0,i=0):(n=o>>>24,i+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},a.prototype.ior=function(e){return r((this.negative|e.negative)==0),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},a.prototype.iand=function(e){return r((this.negative|e.negative)==0),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},a.prototype.ixor=function(e){return r((this.negative|e.negative)==0),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var a=0;a<t;a++)this.words[a]=67108863&~this.words[a];return n>0&&(this.words[a]=~this.words[a]&67108863>>26-n),this._strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,a=e%26;return this._expand(n+1),t?this.words[n]=this.words[n]|1<<a:this.words[n]=this.words[n]&~(1<<a),this._strip()},a.prototype.iadd=function(e){if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var t,r,n,a=0,i=0;i<n.length;i++)t=(0|r.words[i])+(0|n.words[i])+a,this.words[i]=67108863&t,a=t>>>26;for(;0!==a&&i<r.length;i++)t=(0|r.words[i])+a,this.words[i]=67108863&t,a=t>>>26;if(this.length=r.length,0!==a)this.words[this.length]=a,this.length++;else if(r!==this)for(;i<r.length;i++)this.words[i]=r.words[i];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,r,n=this.iadd(e);return e.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var a=this.cmp(e);if(0===a)return this.negative=0,this.length=1,this.words[0]=0,this;a>0?(t=this,r=e):(t=e,r=this);for(var i=0,o=0;o<r.length;o++)i=(n=(0|t.words[o])-(0|r.words[o])+i)>>26,this.words[o]=67108863&n;for(;0!==i&&o<t.length;o++)i=(n=(0|t.words[o])+i)>>26,this.words[o]=67108863&n;if(0===i&&o<t.length&&t!==this)for(;o<t.length;o++)this.words[o]=t.words[o];return this.length=Math.max(this.length,o),t!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var v=function(e,t,r){var n,a,i,o=e.words,s=t.words,c=r.words,u=0,l=0|o[0],f=8191&l,d=l>>>13,h=0|o[1],p=8191&h,v=h>>>13,m=0|o[2],g=8191&m,b=m>>>13,y=0|o[3],_=8191&y,w=y>>>13,S=0|o[4],E=8191&S,k=S>>>13,I=0|o[5],x=8191&I,O=I>>>13,T=0|o[6],A=8191&T,M=T>>>13,R=0|o[7],C=8191&R,j=R>>>13,N=0|o[8],P=8191&N,D=N>>>13,L=0|o[9],F=8191&L,B=L>>>13,U=0|s[0],z=8191&U,H=U>>>13,G=0|s[1],q=8191&G,W=G>>>13,K=0|s[2],V=8191&K,Y=K>>>13,J=0|s[3],Z=8191&J,X=J>>>13,$=0|s[4],Q=8191&$,ee=$>>>13,et=0|s[5],er=8191&et,en=et>>>13,ea=0|s[6],ei=8191&ea,eo=ea>>>13,es=0|s[7],ec=8191&es,eu=es>>>13,el=0|s[8],ef=8191&el,ed=el>>>13,eh=0|s[9],ep=8191&eh,ev=eh>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(f,z),a=(a=Math.imul(f,H))+Math.imul(d,z)|0,i=Math.imul(d,H);var em=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(em>>>26)|0,em&=67108863,n=Math.imul(p,z),a=(a=Math.imul(p,H))+Math.imul(v,z)|0,i=Math.imul(v,H),n=n+Math.imul(f,q)|0,a=(a=a+Math.imul(f,W)|0)+Math.imul(d,q)|0,i=i+Math.imul(d,W)|0;var eg=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eg>>>26)|0,eg&=67108863,n=Math.imul(g,z),a=(a=Math.imul(g,H))+Math.imul(b,z)|0,i=Math.imul(b,H),n=n+Math.imul(p,q)|0,a=(a=a+Math.imul(p,W)|0)+Math.imul(v,q)|0,i=i+Math.imul(v,W)|0,n=n+Math.imul(f,V)|0,a=(a=a+Math.imul(f,Y)|0)+Math.imul(d,V)|0,i=i+Math.imul(d,Y)|0;var eb=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eb>>>26)|0,eb&=67108863,n=Math.imul(_,z),a=(a=Math.imul(_,H))+Math.imul(w,z)|0,i=Math.imul(w,H),n=n+Math.imul(g,q)|0,a=(a=a+Math.imul(g,W)|0)+Math.imul(b,q)|0,i=i+Math.imul(b,W)|0,n=n+Math.imul(p,V)|0,a=(a=a+Math.imul(p,Y)|0)+Math.imul(v,V)|0,i=i+Math.imul(v,Y)|0,n=n+Math.imul(f,Z)|0,a=(a=a+Math.imul(f,X)|0)+Math.imul(d,Z)|0,i=i+Math.imul(d,X)|0;var ey=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(ey>>>26)|0,ey&=67108863,n=Math.imul(E,z),a=(a=Math.imul(E,H))+Math.imul(k,z)|0,i=Math.imul(k,H),n=n+Math.imul(_,q)|0,a=(a=a+Math.imul(_,W)|0)+Math.imul(w,q)|0,i=i+Math.imul(w,W)|0,n=n+Math.imul(g,V)|0,a=(a=a+Math.imul(g,Y)|0)+Math.imul(b,V)|0,i=i+Math.imul(b,Y)|0,n=n+Math.imul(p,Z)|0,a=(a=a+Math.imul(p,X)|0)+Math.imul(v,Z)|0,i=i+Math.imul(v,X)|0,n=n+Math.imul(f,Q)|0,a=(a=a+Math.imul(f,ee)|0)+Math.imul(d,Q)|0,i=i+Math.imul(d,ee)|0;var e_=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(e_>>>26)|0,e_&=67108863,n=Math.imul(x,z),a=(a=Math.imul(x,H))+Math.imul(O,z)|0,i=Math.imul(O,H),n=n+Math.imul(E,q)|0,a=(a=a+Math.imul(E,W)|0)+Math.imul(k,q)|0,i=i+Math.imul(k,W)|0,n=n+Math.imul(_,V)|0,a=(a=a+Math.imul(_,Y)|0)+Math.imul(w,V)|0,i=i+Math.imul(w,Y)|0,n=n+Math.imul(g,Z)|0,a=(a=a+Math.imul(g,X)|0)+Math.imul(b,Z)|0,i=i+Math.imul(b,X)|0,n=n+Math.imul(p,Q)|0,a=(a=a+Math.imul(p,ee)|0)+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,n=n+Math.imul(f,er)|0,a=(a=a+Math.imul(f,en)|0)+Math.imul(d,er)|0,i=i+Math.imul(d,en)|0;var ew=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(ew>>>26)|0,ew&=67108863,n=Math.imul(A,z),a=(a=Math.imul(A,H))+Math.imul(M,z)|0,i=Math.imul(M,H),n=n+Math.imul(x,q)|0,a=(a=a+Math.imul(x,W)|0)+Math.imul(O,q)|0,i=i+Math.imul(O,W)|0,n=n+Math.imul(E,V)|0,a=(a=a+Math.imul(E,Y)|0)+Math.imul(k,V)|0,i=i+Math.imul(k,Y)|0,n=n+Math.imul(_,Z)|0,a=(a=a+Math.imul(_,X)|0)+Math.imul(w,Z)|0,i=i+Math.imul(w,X)|0,n=n+Math.imul(g,Q)|0,a=(a=a+Math.imul(g,ee)|0)+Math.imul(b,Q)|0,i=i+Math.imul(b,ee)|0,n=n+Math.imul(p,er)|0,a=(a=a+Math.imul(p,en)|0)+Math.imul(v,er)|0,i=i+Math.imul(v,en)|0,n=n+Math.imul(f,ei)|0,a=(a=a+Math.imul(f,eo)|0)+Math.imul(d,ei)|0,i=i+Math.imul(d,eo)|0;var eS=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eS>>>26)|0,eS&=67108863,n=Math.imul(C,z),a=(a=Math.imul(C,H))+Math.imul(j,z)|0,i=Math.imul(j,H),n=n+Math.imul(A,q)|0,a=(a=a+Math.imul(A,W)|0)+Math.imul(M,q)|0,i=i+Math.imul(M,W)|0,n=n+Math.imul(x,V)|0,a=(a=a+Math.imul(x,Y)|0)+Math.imul(O,V)|0,i=i+Math.imul(O,Y)|0,n=n+Math.imul(E,Z)|0,a=(a=a+Math.imul(E,X)|0)+Math.imul(k,Z)|0,i=i+Math.imul(k,X)|0,n=n+Math.imul(_,Q)|0,a=(a=a+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,n=n+Math.imul(g,er)|0,a=(a=a+Math.imul(g,en)|0)+Math.imul(b,er)|0,i=i+Math.imul(b,en)|0,n=n+Math.imul(p,ei)|0,a=(a=a+Math.imul(p,eo)|0)+Math.imul(v,ei)|0,i=i+Math.imul(v,eo)|0,n=n+Math.imul(f,ec)|0,a=(a=a+Math.imul(f,eu)|0)+Math.imul(d,ec)|0,i=i+Math.imul(d,eu)|0;var eE=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eE>>>26)|0,eE&=67108863,n=Math.imul(P,z),a=(a=Math.imul(P,H))+Math.imul(D,z)|0,i=Math.imul(D,H),n=n+Math.imul(C,q)|0,a=(a=a+Math.imul(C,W)|0)+Math.imul(j,q)|0,i=i+Math.imul(j,W)|0,n=n+Math.imul(A,V)|0,a=(a=a+Math.imul(A,Y)|0)+Math.imul(M,V)|0,i=i+Math.imul(M,Y)|0,n=n+Math.imul(x,Z)|0,a=(a=a+Math.imul(x,X)|0)+Math.imul(O,Z)|0,i=i+Math.imul(O,X)|0,n=n+Math.imul(E,Q)|0,a=(a=a+Math.imul(E,ee)|0)+Math.imul(k,Q)|0,i=i+Math.imul(k,ee)|0,n=n+Math.imul(_,er)|0,a=(a=a+Math.imul(_,en)|0)+Math.imul(w,er)|0,i=i+Math.imul(w,en)|0,n=n+Math.imul(g,ei)|0,a=(a=a+Math.imul(g,eo)|0)+Math.imul(b,ei)|0,i=i+Math.imul(b,eo)|0,n=n+Math.imul(p,ec)|0,a=(a=a+Math.imul(p,eu)|0)+Math.imul(v,ec)|0,i=i+Math.imul(v,eu)|0,n=n+Math.imul(f,ef)|0,a=(a=a+Math.imul(f,ed)|0)+Math.imul(d,ef)|0,i=i+Math.imul(d,ed)|0;var ek=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(ek>>>26)|0,ek&=67108863,n=Math.imul(F,z),a=(a=Math.imul(F,H))+Math.imul(B,z)|0,i=Math.imul(B,H),n=n+Math.imul(P,q)|0,a=(a=a+Math.imul(P,W)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,W)|0,n=n+Math.imul(C,V)|0,a=(a=a+Math.imul(C,Y)|0)+Math.imul(j,V)|0,i=i+Math.imul(j,Y)|0,n=n+Math.imul(A,Z)|0,a=(a=a+Math.imul(A,X)|0)+Math.imul(M,Z)|0,i=i+Math.imul(M,X)|0,n=n+Math.imul(x,Q)|0,a=(a=a+Math.imul(x,ee)|0)+Math.imul(O,Q)|0,i=i+Math.imul(O,ee)|0,n=n+Math.imul(E,er)|0,a=(a=a+Math.imul(E,en)|0)+Math.imul(k,er)|0,i=i+Math.imul(k,en)|0,n=n+Math.imul(_,ei)|0,a=(a=a+Math.imul(_,eo)|0)+Math.imul(w,ei)|0,i=i+Math.imul(w,eo)|0,n=n+Math.imul(g,ec)|0,a=(a=a+Math.imul(g,eu)|0)+Math.imul(b,ec)|0,i=i+Math.imul(b,eu)|0,n=n+Math.imul(p,ef)|0,a=(a=a+Math.imul(p,ed)|0)+Math.imul(v,ef)|0,i=i+Math.imul(v,ed)|0,n=n+Math.imul(f,ep)|0,a=(a=a+Math.imul(f,ev)|0)+Math.imul(d,ep)|0,i=i+Math.imul(d,ev)|0;var eI=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eI>>>26)|0,eI&=67108863,n=Math.imul(F,q),a=(a=Math.imul(F,W))+Math.imul(B,q)|0,i=Math.imul(B,W),n=n+Math.imul(P,V)|0,a=(a=a+Math.imul(P,Y)|0)+Math.imul(D,V)|0,i=i+Math.imul(D,Y)|0,n=n+Math.imul(C,Z)|0,a=(a=a+Math.imul(C,X)|0)+Math.imul(j,Z)|0,i=i+Math.imul(j,X)|0,n=n+Math.imul(A,Q)|0,a=(a=a+Math.imul(A,ee)|0)+Math.imul(M,Q)|0,i=i+Math.imul(M,ee)|0,n=n+Math.imul(x,er)|0,a=(a=a+Math.imul(x,en)|0)+Math.imul(O,er)|0,i=i+Math.imul(O,en)|0,n=n+Math.imul(E,ei)|0,a=(a=a+Math.imul(E,eo)|0)+Math.imul(k,ei)|0,i=i+Math.imul(k,eo)|0,n=n+Math.imul(_,ec)|0,a=(a=a+Math.imul(_,eu)|0)+Math.imul(w,ec)|0,i=i+Math.imul(w,eu)|0,n=n+Math.imul(g,ef)|0,a=(a=a+Math.imul(g,ed)|0)+Math.imul(b,ef)|0,i=i+Math.imul(b,ed)|0,n=n+Math.imul(p,ep)|0,a=(a=a+Math.imul(p,ev)|0)+Math.imul(v,ep)|0,i=i+Math.imul(v,ev)|0;var ex=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(ex>>>26)|0,ex&=67108863,n=Math.imul(F,V),a=(a=Math.imul(F,Y))+Math.imul(B,V)|0,i=Math.imul(B,Y),n=n+Math.imul(P,Z)|0,a=(a=a+Math.imul(P,X)|0)+Math.imul(D,Z)|0,i=i+Math.imul(D,X)|0,n=n+Math.imul(C,Q)|0,a=(a=a+Math.imul(C,ee)|0)+Math.imul(j,Q)|0,i=i+Math.imul(j,ee)|0,n=n+Math.imul(A,er)|0,a=(a=a+Math.imul(A,en)|0)+Math.imul(M,er)|0,i=i+Math.imul(M,en)|0,n=n+Math.imul(x,ei)|0,a=(a=a+Math.imul(x,eo)|0)+Math.imul(O,ei)|0,i=i+Math.imul(O,eo)|0,n=n+Math.imul(E,ec)|0,a=(a=a+Math.imul(E,eu)|0)+Math.imul(k,ec)|0,i=i+Math.imul(k,eu)|0,n=n+Math.imul(_,ef)|0,a=(a=a+Math.imul(_,ed)|0)+Math.imul(w,ef)|0,i=i+Math.imul(w,ed)|0,n=n+Math.imul(g,ep)|0,a=(a=a+Math.imul(g,ev)|0)+Math.imul(b,ep)|0,i=i+Math.imul(b,ev)|0;var eO=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eO>>>26)|0,eO&=67108863,n=Math.imul(F,Z),a=(a=Math.imul(F,X))+Math.imul(B,Z)|0,i=Math.imul(B,X),n=n+Math.imul(P,Q)|0,a=(a=a+Math.imul(P,ee)|0)+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,n=n+Math.imul(C,er)|0,a=(a=a+Math.imul(C,en)|0)+Math.imul(j,er)|0,i=i+Math.imul(j,en)|0,n=n+Math.imul(A,ei)|0,a=(a=a+Math.imul(A,eo)|0)+Math.imul(M,ei)|0,i=i+Math.imul(M,eo)|0,n=n+Math.imul(x,ec)|0,a=(a=a+Math.imul(x,eu)|0)+Math.imul(O,ec)|0,i=i+Math.imul(O,eu)|0,n=n+Math.imul(E,ef)|0,a=(a=a+Math.imul(E,ed)|0)+Math.imul(k,ef)|0,i=i+Math.imul(k,ed)|0,n=n+Math.imul(_,ep)|0,a=(a=a+Math.imul(_,ev)|0)+Math.imul(w,ep)|0,i=i+Math.imul(w,ev)|0;var eT=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eT>>>26)|0,eT&=67108863,n=Math.imul(F,Q),a=(a=Math.imul(F,ee))+Math.imul(B,Q)|0,i=Math.imul(B,ee),n=n+Math.imul(P,er)|0,a=(a=a+Math.imul(P,en)|0)+Math.imul(D,er)|0,i=i+Math.imul(D,en)|0,n=n+Math.imul(C,ei)|0,a=(a=a+Math.imul(C,eo)|0)+Math.imul(j,ei)|0,i=i+Math.imul(j,eo)|0,n=n+Math.imul(A,ec)|0,a=(a=a+Math.imul(A,eu)|0)+Math.imul(M,ec)|0,i=i+Math.imul(M,eu)|0,n=n+Math.imul(x,ef)|0,a=(a=a+Math.imul(x,ed)|0)+Math.imul(O,ef)|0,i=i+Math.imul(O,ed)|0,n=n+Math.imul(E,ep)|0,a=(a=a+Math.imul(E,ev)|0)+Math.imul(k,ep)|0,i=i+Math.imul(k,ev)|0;var eA=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eA>>>26)|0,eA&=67108863,n=Math.imul(F,er),a=(a=Math.imul(F,en))+Math.imul(B,er)|0,i=Math.imul(B,en),n=n+Math.imul(P,ei)|0,a=(a=a+Math.imul(P,eo)|0)+Math.imul(D,ei)|0,i=i+Math.imul(D,eo)|0,n=n+Math.imul(C,ec)|0,a=(a=a+Math.imul(C,eu)|0)+Math.imul(j,ec)|0,i=i+Math.imul(j,eu)|0,n=n+Math.imul(A,ef)|0,a=(a=a+Math.imul(A,ed)|0)+Math.imul(M,ef)|0,i=i+Math.imul(M,ed)|0,n=n+Math.imul(x,ep)|0,a=(a=a+Math.imul(x,ev)|0)+Math.imul(O,ep)|0,i=i+Math.imul(O,ev)|0;var eM=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eM>>>26)|0,eM&=67108863,n=Math.imul(F,ei),a=(a=Math.imul(F,eo))+Math.imul(B,ei)|0,i=Math.imul(B,eo),n=n+Math.imul(P,ec)|0,a=(a=a+Math.imul(P,eu)|0)+Math.imul(D,ec)|0,i=i+Math.imul(D,eu)|0,n=n+Math.imul(C,ef)|0,a=(a=a+Math.imul(C,ed)|0)+Math.imul(j,ef)|0,i=i+Math.imul(j,ed)|0,n=n+Math.imul(A,ep)|0,a=(a=a+Math.imul(A,ev)|0)+Math.imul(M,ep)|0,i=i+Math.imul(M,ev)|0;var eR=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eR>>>26)|0,eR&=67108863,n=Math.imul(F,ec),a=(a=Math.imul(F,eu))+Math.imul(B,ec)|0,i=Math.imul(B,eu),n=n+Math.imul(P,ef)|0,a=(a=a+Math.imul(P,ed)|0)+Math.imul(D,ef)|0,i=i+Math.imul(D,ed)|0,n=n+Math.imul(C,ep)|0,a=(a=a+Math.imul(C,ev)|0)+Math.imul(j,ep)|0,i=i+Math.imul(j,ev)|0;var eC=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(eC>>>26)|0,eC&=67108863,n=Math.imul(F,ef),a=(a=Math.imul(F,ed))+Math.imul(B,ef)|0,i=Math.imul(B,ed),n=n+Math.imul(P,ep)|0,a=(a=a+Math.imul(P,ev)|0)+Math.imul(D,ep)|0,i=i+Math.imul(D,ev)|0;var ej=(u+n|0)+((8191&a)<<13)|0;u=(i+(a>>>13)|0)+(ej>>>26)|0,ej&=67108863,n=Math.imul(F,ep),a=(a=Math.imul(F,ev))+Math.imul(B,ep)|0,i=Math.imul(B,ev);var eN=(u+n|0)+((8191&a)<<13)|0;return u=(i+(a>>>13)|0)+(eN>>>26)|0,eN&=67108863,c[0]=em,c[1]=eg,c[2]=eb,c[3]=ey,c[4]=e_,c[5]=ew,c[6]=eS,c[7]=eE,c[8]=ek,c[9]=eI,c[10]=ex,c[11]=eO,c[12]=eT,c[13]=eA,c[14]=eM,c[15]=eR,c[16]=eC,c[17]=ej,c[18]=eN,0!==u&&(c[19]=u,r.length++),r};function m(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,a=0,i=0;i<r.length-1;i++){var o=a;a=0;for(var s=67108863&n,c=Math.min(i,t.length-1),u=Math.max(0,i-e.length+1);u<=c;u++){var l=i-u,f=(0|e.words[l])*(0|t.words[u]),d=67108863&f;o=o+(f/67108864|0)|0,s=67108863&(d=d+s|0),a+=(o=o+(d>>>26)|0)>>>26,o&=67108863}r.words[i]=s,n=o,o=a}return 0!==n?r.words[i]=n:r.length--,r._strip()}function g(e,t){this.x=e,this.y=t}Math.imul||(v=p),a.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return 10===this.length&&10===e.length?v(this,e,t):n<63?p(this,e,t):m(this,e,t)},g.prototype.makeRBT=function(e){for(var t=Array(e),r=a.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,a=0;a<t;a++)n|=(1&e)<<t-a-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,a,i){for(var o=0;o<i;o++)n[o]=t[e[o]],a[o]=r[e[o]]},g.prototype.transform=function(e,t,r,n,a,i){this.permute(i,e,t,r,n,a);for(var o=1;o<a;o<<=1)for(var s=o<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<a;l+=s)for(var f=c,d=u,h=0;h<o;h++){var p=r[l+h],v=n[l+h],m=r[l+h+o],g=n[l+h+o],b=f*m-d*g;g=f*g+d*m,m=b,r[l+h]=p+m,n[l+h]=v+g,r[l+h+o]=p-m,n[l+h+o]=v-g,h!==s&&(b=c*f-u*d,d=c*d+u*f,f=b)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,a=0;for(r=r/2|0;r;r>>>=1)a++;return 1<<a+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var a=e[n];e[n]=e[r-n-1],e[r-n-1]=a,a=t[n],t[n]=-t[r-n-1],t[r-n-1]=-a}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var a=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&a,r=a<67108864?0:a/67108864|0}return e},g.prototype.convert13b=function(e,t,n,a){for(var i=0,o=0;o<t;o++)i+=0|e[o],n[2*o]=8191&i,i>>>=13,n[2*o+1]=8191&i,i>>>=13;for(o=2*t;o<a;++o)n[o]=0;r(0===i),r((-8192&i)==0)},g.prototype.stub=function(e){for(var t=Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),a=this.makeRBT(n),i=this.stub(n),o=Array(n),s=Array(n),c=Array(n),u=Array(n),l=Array(n),f=Array(n),d=r.words;d.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,i,s,c,n,a),this.transform(u,i,l,f,n,a);for(var h=0;h<n;h++){var p=s[h]*l[h]-c[h]*f[h];c[h]=s[h]*f[h]+c[h]*l[h],s[h]=p}return this.conjugate(s,c,n),this.transform(s,c,d,i,n,a),this.conjugate(d,i,n),this.normalize13b(d,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=Array(this.length+e.length),m(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){var t=e<0;t&&(e=-e),r("number"==typeof e),r(e<67108864);for(var n=0,a=0;a<this.length;a++){var i=(0|this.words[a])*e,o=(67108863&i)+(67108863&n);n>>=26,n+=(i/67108864|0)+(o>>>26),this.words[a]=67108863&o}return 0!==n&&(this.words[a]=n,this.length++),t?this.ineg():this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=function(e){for(var t=Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,a=r%26;t[r]=e.words[n]>>>a&1}return t}(e);if(0===t.length)return new a(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,a=(e-n)/26,i=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&i,c=(0|this.words[t])-s<<n;this.words[t]=c|o,o=s>>>26-n}o&&(this.words[t]=o,this.length++)}if(0!==a){for(t=this.length-1;t>=0;t--)this.words[t+a]=this.words[t];for(t=0;t<a;t++)this.words[t]=0;this.length+=a}return this._strip()},a.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,n){r("number"==typeof e&&e>=0),a=t?(t-t%26)/26:0;var a,i=e%26,o=Math.min((e-i)/26,this.length),s=67108863^67108863>>>i<<i;if(a-=o,a=Math.max(0,a),n){for(var c=0;c<o;c++)n.words[c]=this.words[c];n.length=o}if(0!==o){if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1}var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=a);c--){var l=0|this.words[c];this.words[c]=u<<26-i|l>>>i,u=l&s}return n&&0!==u&&(n.words[n.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;return!(this.length<=n)&&!!(this.words[n]&1<<t)},a.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;return(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)?this:(0!==t&&n++,this.length=Math.min(n,this.length),0!==t&&(this.words[this.length-1]&=67108863^67108863>>>t<<t),this._strip())},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,n){var a,i=e.length+n;this._expand(i);var o,s=0;for(a=0;a<e.length;a++){o=(0|this.words[a+n])+s;var c=(0|e.words[a])*t;o-=67108863&c,s=(o>>26)-(c/67108864|0),this.words[a+n]=67108863&o}for(;a<this.length-n;a++)s=(o=(0|this.words[a+n])+s)>>26,this.words[a+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,a=0;a<this.length;a++)s=(o=-(0|this.words[a])+s)>>26,this.words[a]=67108863&o;return this.negative=1,this._strip()},a.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,o=0|i.words[i.length-1];0!=(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==t){(s=new a(null)).length=c+1,s.words=Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var d=(0|n.words[i.length+f])*67108864+(0|n.words[i.length+f-1]);for(d=Math.min(d/o|0,67108863),n._ishlnsubmul(i,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=d)}return s&&s._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(e,t,n){var i,o,s;return(r(!e.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):this.negative&e.negative?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||0>this.cmp(e)?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modrn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),a=e.andln(1),i=r.cmp(n);return i<0||1===a&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=67108864%e,a=0,i=this.length-1;i>=0;i--)a=(n*a+(0|this.words[i]))%e;return t?-a:a},a.prototype.modn=function(e){return this.modrn(e)},a.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,a=this.length-1;a>=0;a--){var i=(0|this.words[a])+67108864*n;this.words[a]=i/e|0,n=i%e}return this._strip(),t?this.ineg():this},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;!(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(l),o.isub(f)),i.iushrn(1),o.iushrn(1);for(var p=0,v=1;!(n.words[0]&v)&&p<26;++p,v<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),o.isub(c)):(n.isub(t),s.isub(i),c.isub(o))}return{a:s,b:c,gcd:n.iushln(u)}},a.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,n=this,i=e.clone();n=0!==n.negative?n.umod(e):n.clone();for(var o=new a(1),s=new a(0),c=i.clone();n.cmpn(1)>0&&i.cmpn(1)>0;){for(var u=0,l=1;!(n.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(n.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var f=0,d=1;!(i.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(i.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);n.cmp(i)>=0?(n.isub(i),o.isub(s)):(i.isub(n),s.isub(o))}return 0>(t=0===n.cmpn(1)?o:s).cmpn(0)&&t.iadd(e),t},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var a=t.cmp(r);if(a<0){var i=t;t=r,r=i}else if(0===a||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,a=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=a,this;for(var i=a,o=n;0!==i&&o<this.length;o++){var s=0|this.words[o];s+=i,i=s>>>26,s&=67108863,this.words[o]=s}return 0!==i&&(this.words[o]=i,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return -1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var a=0|this.words[0];t=a===e?0:a<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return -1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return -1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],a=0|e.words[r];if(n!==a){n<a?t=-1:n>a&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return -1===this.cmpn(e)},a.prototype.lt=function(e){return -1===this.cmp(e)},a.prototype.lten=function(e){return 0>=this.cmpn(e)},a.prototype.lte=function(e){return 0>=this.cmp(e)},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new k(e)},a.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function I(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new a(null);return e.words=Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength();while(t>this.n)var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},n(_,y),_.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9){e.words[0]=0,e.length=1;return}var a=e.words[9];for(t.words[t.length++]=4194303&a,n=10;n<e.length;n++){var i=0|e.words[n];e.words[n-10]=(4194303&i)<<4|a>>>22,a=i}a>>>=22,e.words[n-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(w,y),n(S,y),n(E,y),E.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=(0|e.words[r])*19+t,a=67108863&n;n>>>=26,e.words[r]=a,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){var t;if(b[e])return b[e];if("k256"===e)t=new _;else if("p224"===e)t=new w;else if("p192"===e)t=new S;else if("p25519"===e)t=new E;else throw Error("Unknown prime "+e);return b[e]=t,t},k.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){r((e.negative|t.negative)==0,"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},k.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return 0>r.cmpn(0)&&r.iadd(this.m),r._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return 0>r.cmpn(0)&&r.iadd(this.m),r},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new a(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);r(!i.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=o;0!==h.cmp(s);){for(var v=h,m=0;0!==v.cmp(s);m++)v=v.redSqr();r(m<p);var g=this.pow(f,new a(1).iushln(p-m-1));d=d.redMul(g),f=g.redSqr(),h=h.redMul(f),p=m}return d},k.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},k.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=Array(16);r[0]=new a(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],o=0,s=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;if(i!==r[0]&&(i=this.sqr(i)),0===f&&0===o){s=0;continue}o<<=1,o|=f,4!=++s&&(0!==n||0!==l)||(i=this.mul(i,r[o]),s=0,o=0)}c=26}return i},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new I(e)},n(I,k),I.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},I.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},I.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),a=r.isub(n).iushrn(this.shift),i=a;return a.cmp(this.m)>=0?i=a.isub(this.m):0>a.cmpn(0)&&(i=a.iadd(this.m)),i._forceRed(this)},I.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):0>i.cmpn(0)&&(o=i.iadd(this.m)),o._forceRed(this)},I.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(typeof t>"u"||t,e)}),e$=p((e,t)=>{var r=eX(),n=w();function a(e){var t,a=e.modulus.byteLength();do t=new r(n(a));while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2))return t}function i(e,t){var n,i={blinder:(n=a(t)).toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed(),unblinder:n.invm(t.modulus)},o=t.modulus.byteLength(),c=new r(e).mul(i.blinder).umod(t.modulus),u=c.toRed(r.mont(t.prime1)),l=c.toRed(r.mont(t.prime2)),f=t.coefficient,d=t.prime1,h=t.prime2,p=u.redPow(t.exponent1).fromRed(),v=l.redPow(t.exponent2).fromRed(),m=p.isub(v).imul(f).umod(d).imul(h);return v.iadd(m).imul(i.unblinder).umod(t.modulus).toArrayLike(s,"be",o)}i.getr=a,t.exports=i}),eQ=p((e,t)=>{t.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}}),e0=p(e=>{function t(e){return 1===e.length?"0"+e:e}function r(e){for(var r="",n=0;n<e.length;n++)r+=t(e[n].toString(16));return r}e.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t){(e=e.replace(/[^a-z0-9]+/ig,"")).length%2!=0&&(e="0"+e);for(var n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(var n=0;n<e.length;n++){var a=e.charCodeAt(n),i=a>>8,o=255&a;i?r.push(i,o):r.push(o)}return r},e.zero2=t,e.toHex=r,e.encode=function(e,t){return"hex"===t?r(e):e}}),e1=p(e=>{var t=eG(),r=ep(),n=e0();e.assert=r,e.toArray=n.toArray,e.zero2=n.zero2,e.toHex=n.toHex,e.encode=n.encode,e.getNAF=function(e,t,r){var n=Array(Math.max(e.bitLength(),r)+1);n.fill(0);for(var a=1<<t+1,i=e.clone(),o=0;o<n.length;o++){var s,c=i.andln(a-1);i.isOdd()?(s=c>(a>>1)-1?(a>>1)-c:c,i.isubn(s)):s=0,n[o]=s,i.iushrn(1)}return n},e.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n,a=0,i=0;e.cmpn(-a)>0||t.cmpn(-i)>0;){var o,s,c=e.andln(3)+a&3,u=t.andln(3)+i&3;3===c&&(c=-1),3===u&&(u=-1),o=1&c?(3==(n=e.andln(7)+a&7)||5===n)&&2===u?-c:c:0,r[0].push(o),s=1&u?(3==(n=t.andln(7)+i&7)||5===n)&&2===c?-u:u:0,r[1].push(s),2*a===o+1&&(a=1-a),2*i===s+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r},e.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},e.parseBytes=function(t){return"string"==typeof t?e.toArray(t,"hex"):t},e.intFromLE=function(e){return new t(e,"hex","le")}}),e2=p((e,t)=>{var r=eG(),n=e1(),a=n.getNAF,i=n.getJSF,o=n.assert;function s(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(e,t){this.curve=e,this.type=t,this.precomputed=null}t.exports=s,s.prototype.point=function(){throw Error("Not implemented")},s.prototype.validate=function(){throw Error("Not implemented")},s.prototype._fixedNafMul=function(e,t){o(e.precomputed);var r=e._getDoubles(),n=a(t,1,this._bitLength),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;var s,c,u=[];for(s=0;s<n.length;s+=r.step){c=0;for(var l=s+r.step-1;l>=s;l--)c=(c<<1)+n[l];u.push(c)}for(var f=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=i;h>0;h--){for(s=0;s<u.length;s++)(c=u[s])===h?d=d.mixedAdd(r.points[s]):c===-h&&(d=d.mixedAdd(r.points[s].neg()));f=f.add(d)}return f.toP()},s.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,s=a(t,r,this._bitLength),c=this.jpoint(null,null,null),u=s.length-1;u>=0;u--){for(var l=0;u>=0&&0===s[u];u--)l++;if(u>=0&&l++,c=c.dblp(l),u<0)break;var f=s[u];o(0!==f),c="affine"===e.type?f>0?c.mixedAdd(i[f-1>>1]):c.mixedAdd(i[-f-1>>1].neg()):f>0?c.add(i[f-1>>1]):c.add(i[-f-1>>1].neg())}return"affine"===e.type?c.toP():c},s.prototype._wnafMulAdd=function(e,t,r,n,o){var s,c,u,l=this._wnafT1,f=this._wnafT2,d=this._wnafT3,h=0;for(s=0;s<n;s++){var p=(u=t[s])._getNAFPoints(e);l[s]=p.wnd,f[s]=p.points}for(s=n-1;s>=1;s-=2){var v=s-1,m=s;if(1!==l[v]||1!==l[m]){d[v]=a(r[v],l[v],this._bitLength),d[m]=a(r[m],l[m],this._bitLength),h=Math.max(d[v].length,h),h=Math.max(d[m].length,h);continue}var g=[t[v],null,null,t[m]];0===t[v].y.cmp(t[m].y)?(g[1]=t[v].add(t[m]),g[2]=t[v].toJ().mixedAdd(t[m].neg())):0===t[v].y.cmp(t[m].y.redNeg())?(g[1]=t[v].toJ().mixedAdd(t[m]),g[2]=t[v].add(t[m].neg())):(g[1]=t[v].toJ().mixedAdd(t[m]),g[2]=t[v].toJ().mixedAdd(t[m].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],y=i(r[v],r[m]);for(h=Math.max(y[0].length,h),d[v]=Array(h),d[m]=Array(h),c=0;c<h;c++){var _=0|y[0][c],w=0|y[1][c];d[v][c]=b[(_+1)*3+(w+1)],d[m][c]=0,f[v]=g}}var S=this.jpoint(null,null,null),E=this._wnafT4;for(s=h;s>=0;s--){for(var k=0;s>=0;){var I=!0;for(c=0;c<n;c++)E[c]=0|d[c][s],0!==E[c]&&(I=!1);if(!I)break;k++,s--}if(s>=0&&k++,S=S.dblp(k),s<0)break;for(c=0;c<n;c++){var x=E[c];0!==x&&(x>0?u=f[c][x-1>>1]:x<0&&(u=f[c][-x-1>>1].neg()),S="affine"===u.type?S.mixedAdd(u):S.add(u))}}for(s=0;s<n;s++)f[s]=null;return o?S:S.toP()},s.BasePoint=c,c.prototype.eq=function(){throw Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},s.prototype.decodePoint=function(e,t){e=n.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?o(e[e.length-1]%2==0):7===e[0]&&o(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw Error("Unknown point format")},c.prototype.encodeCompressed=function(e){return this.encode(e,!0)},c.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},c.prototype.encode=function(e,t){return n.encode(this._encode(t),e)},c.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},c.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,a=0;a<t;a+=e){for(var i=0;i<e;i++)n=n.dbl();r.push(n)}return{step:e,points:r}},c.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),a=1;a<r;a++)t[a]=t[a-1].add(n);return{wnd:e,points:t}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}}),e3=p((e,t)=>{var r=e1(),n=eG(),a=S(),i=e2(),o=r.assert;function s(e){i.call(this,"short",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}function c(e,t,r,a){i.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new n(t,16),this.y=new n(r,16),a&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function u(e,t,r,a){i.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===a?(this.x=this.curve.one,this.y=this.curve.one,this.z=new n(0)):(this.x=new n(t,16),this.y=new n(r,16),this.z=new n(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}a(s,i),t.exports=s,s.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||1!==this.p.modn(3))){if(e.beta)t=new n(e.beta,16).toRed(this.red);else{var t,r,a,i=this._getEndoRoots(this.p);t=(t=0>i[0].cmp(i[1])?i[0]:i[1]).toRed(this.red)}if(e.lambda)r=new n(e.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(t))?r=s[0]:(r=s[1],o(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return a=e.basis?e.basis.map(function(e){return{a:new n(e.a,16),b:new n(e.b,16)}}):this._getEndoBasis(r),{beta:t,lambda:r,basis:a}}},s.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:n.mont(e),r=new n(2).toRed(t).redInvm(),a=r.redNeg(),i=new n(3).toRed(t).redNeg().redSqrt().redMul(r);return[a.redAdd(i).fromRed(),a.redSub(i).fromRed()]},s.prototype._getEndoBasis=function(e){for(var t,r,a,i,o,s,c,u,l,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),p=new n(1),v=new n(0),m=new n(0),g=new n(1),b=0;0!==d.cmpn(0);){var y=h.div(d);u=h.sub(y.mul(d)),l=m.sub(y.mul(p));var _=g.sub(y.mul(v));if(!a&&0>u.cmp(f))t=c.neg(),r=p,a=u.neg(),i=l;else if(a&&2==++b)break;c=u,h=d,d=u,m=p,p=l,g=v,v=_}o=u.neg(),s=l;var w=a.sqr().add(i.sqr());return o.sqr().add(s.sqr()).cmp(w)>=0&&(o=t,s=r),a.negative&&(a=a.neg(),i=i.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:a,b:i},{a:o,b:s}]},s.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],a=n.b.mul(e).divRound(this.n),i=r.b.neg().mul(e).divRound(this.n),o=a.mul(r.a),s=i.mul(n.a),c=a.mul(r.b),u=i.mul(n.b);return{k1:e.sub(o).sub(s),k2:c.add(u).neg()}},s.prototype.pointFromX=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),a=r.redSqrt();if(0!==a.redSqr().redSub(r).cmp(this.zero))throw Error("invalid point");var i=a.fromRed().isOdd();return(t&&!i||!t&&i)&&(a=a.redNeg()),this.point(e,a)},s.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),a=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(a).cmpn(0)},s.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,a=this._endoWnafT2,i=0;i<e.length;i++){var o=this._endoSplit(t[i]),s=e[i],c=s._getBeta();o.k1.negative&&(o.k1.ineg(),s=s.neg(!0)),o.k2.negative&&(o.k2.ineg(),c=c.neg(!0)),n[2*i]=s,n[2*i+1]=c,a[2*i]=o.k1,a[2*i+1]=o.k2}for(var u=this._wnafMulAdd(1,n,a,2*i,r),l=0;l<2*i;l++)n[l]=null,a[l]=null;return u},a(c,i.BasePoint),s.prototype.point=function(e,t,r){return new c(this,e,t,r)},s.prototype.pointFromJSON=function(e,t){return c.fromJSON(this,e,t)},c.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function a(t){return e.point(t[0],t[1],r)}var i=t[2];return n.precomputed={beta:null,doubles:i.doubles&&{step:i.doubles.step,points:[n].concat(i.doubles.points.map(a))},naf:i.naf&&{wnd:i.naf.wnd,points:[n].concat(i.naf.points.map(a))}},n},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e)||0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},c.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),a=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),i=a.redSqr().redISub(this.x.redAdd(this.x)),o=a.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,o)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return e=new n(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){var n=[this,t],a=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,a):this.curve._wnafMulAdd(1,n,a,2)},c.prototype.jmulAdd=function(e,t,r){var n=[this,t],a=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,a,!0):this.curve._wnafMulAdd(1,n,a,2,!0)},c.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},c.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(u,i.BasePoint),s.prototype.jpoint=function(e,t,r){return new u(this,e,t,r)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),a=e.x.redMul(r),i=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),s=n.redSub(a),c=i.redSub(o);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),f=n.redMul(u),d=c.redSqr().redIAdd(l).redISub(f).redISub(f),h=c.redMul(f.redISub(d)).redISub(i.redMul(l)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,h,p)},u.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),a=this.y,i=e.y.redMul(t).redMul(this.z),o=r.redSub(n),s=a.redSub(i);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),u=c.redMul(o),l=r.redMul(c),f=s.redSqr().redIAdd(u).redISub(l).redISub(l),d=s.redMul(l.redISub(f)).redISub(a.redMul(u)),h=this.z.redMul(o);return this.curve.jpoint(f,d,h)},u.prototype.dblp=function(e){if(0===e||this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){var t,r=this;for(t=0;t<e;t++)r=r.dbl();return r}var n=this.curve.a,a=this.curve.tinv,i=this.x,o=this.y,s=this.z,c=s.redSqr().redSqr(),u=o.redAdd(o);for(t=0;t<e;t++){var l=i.redSqr(),f=u.redSqr(),d=f.redSqr(),h=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(c)),p=i.redMul(f),v=h.redSqr().redISub(p.redAdd(p)),m=p.redISub(v),g=h.redMul(m);g=g.redIAdd(g).redISub(d);var b=u.redMul(s);t+1<e&&(c=c.redMul(d)),i=v,s=b,u=g}return this.curve.jpoint(i,u.redMul(a),s)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},u.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),a=this.y.redSqr(),i=a.redSqr(),o=this.x.redAdd(a).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var s=n.redAdd(n).redIAdd(n),c=s.redSqr().redISub(o).redISub(o),u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),e=c,t=s.redMul(o.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),f=this.y.redSqr(),d=f.redSqr(),h=this.x.redAdd(f).redSqr().redISub(l).redISub(d);h=h.redIAdd(h);var p=l.redAdd(l).redIAdd(l),v=p.redSqr(),m=d.redIAdd(d);m=(m=m.redIAdd(m)).redIAdd(m),e=v.redISub(h).redISub(h),t=p.redMul(h.redISub(e)).redISub(m),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},u.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),a=this.y.redSqr(),i=a.redSqr(),o=this.x.redAdd(a).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=s.redSqr().redISub(o).redISub(o);e=c;var u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),t=s.redMul(o.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),f=this.y.redSqr(),d=this.x.redMul(f),h=this.x.redSub(l).redMul(this.x.redAdd(l));h=h.redAdd(h).redIAdd(h);var p=d.redIAdd(d),v=(p=p.redIAdd(p)).redAdd(p);e=h.redSqr().redISub(v),r=this.y.redAdd(this.z).redSqr().redISub(f).redISub(l);var m=f.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),t=h.redMul(p.redISub(e)).redISub(m)}return this.curve.jpoint(e,t,r)},u.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,a=n.redSqr().redSqr(),i=t.redSqr(),o=r.redSqr(),s=i.redAdd(i).redIAdd(i).redIAdd(e.redMul(a)),c=t.redAdd(t),u=(c=c.redIAdd(c)).redMul(o),l=s.redSqr().redISub(u.redAdd(u)),f=u.redISub(l),d=o.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=s.redMul(f).redISub(d),p=r.redAdd(r).redMul(n);return this.curve.jpoint(l,h,p)},u.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),a=e.redAdd(e).redIAdd(e),i=a.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(n),s=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(i)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=a.redIAdd(o).redSqr().redISub(i).redISub(s).redISub(c),l=t.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var f=this.x.redMul(s).redISub(l);f=(f=f.redIAdd(f)).redIAdd(f);var d=this.y.redMul(u.redMul(c.redISub(u)).redISub(o.redMul(s)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=this.z.redAdd(o).redSqr().redISub(r).redISub(s);return this.curve.jpoint(f,d,h)},u.prototype.mul=function(e,t){return e=new n(e,t),this.curve._wnafMul(this,e)},u.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),a=r.redMul(e.z);return 0===this.y.redMul(a).redISub(e.y.redMul(n)).cmpn(0)},u.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),a=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(a),0===this.x.cmp(r))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}}),e4=p((e,t)=>{var r=eG(),n=S(),a=e2(),i=e1();function o(e){a.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function s(e,t,n){a.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}n(o,a),t.exports=o,o.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},n(s,a.BasePoint),o.prototype.decodePoint=function(e,t){return this.point(i.toArray(e,t),1)},o.prototype.point=function(e,t){return new s(this,e,t)},o.prototype.pointFromJSON=function(e){return s.fromJSON(this,e)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(e,t){return new s(e,t[0],t[1]||e.one)},s.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},s.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),a=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,a)},s.prototype.add=function(){throw Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),a=e.x.redAdd(e.z),i=e.x.redSub(e.z).redMul(r),o=a.redMul(n),s=t.z.redMul(i.redAdd(o).redSqr()),c=t.x.redMul(i.redISub(o).redSqr());return this.curve.point(s,c)},s.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),a=[];0!==t.cmpn(0);t.iushrn(1))a.push(t.andln(1));for(var i=a.length-1;i>=0;i--)0===a[i]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},s.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},s.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}}),e6=p((e,t)=>{var r=e1(),n=eG(),a=S(),i=e2(),o=r.assert;function s(e){this.twisted=(0|e.a)!=1,this.mOneA=this.twisted&&(0|e.a)==-1,this.extended=this.mOneA,i.call(this,"edwards",e),this.a=new n(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new n(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new n(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),o(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=(0|e.c)==1}function c(e,t,r,a,o){i.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===a?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new n(t,16),this.y=new n(r,16),this.z=a?new n(a,16):this.curve.one,this.t=o&&new n(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}a(s,i),t.exports=s,s.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},s.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},s.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},s.prototype.pointFromX=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),a=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=a.redMul(i.redInvm()),s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw Error("invalid point");var c=s.fromRed().isOdd();return(t&&!c||!t&&c)&&(s=s.redNeg()),this.point(e,s)},s.prototype.pointFromY=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),a=r.redSub(this.c2),i=r.redMul(this.d).redMul(this.c2).redSub(this.a),o=a.redMul(i.redInvm());if(0===o.cmp(this.zero)){if(t)throw Error("invalid point");return this.point(this.zero,e)}var s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},s.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),a=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(a)},a(c,i.BasePoint),s.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},s.prototype.point=function(e,t,r,n){return new c(this,e,t,r,n)},c.fromJSON=function(e,t){return new c(e,t[0],t[1],t[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),a=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),i=n.redAdd(t),o=i.redSub(r),s=n.redSub(t),c=a.redMul(o),u=i.redMul(s),l=a.redMul(s),f=o.redMul(i);return this.curve.point(c,u,f,l)},c.prototype._projDbl=function(){var e,t,r,n,a,i,o=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){var u=(n=this.curve._mulA(s)).redAdd(c);this.zOne?(e=o.redSub(s).redSub(c).redMul(u.redSub(this.curve.two)),t=u.redMul(n.redSub(c)),r=u.redSqr().redSub(u).redSub(u)):(a=this.z.redSqr(),i=u.redSub(a).redISub(a),e=o.redSub(s).redISub(c).redMul(i),t=u.redMul(n.redSub(c)),r=u.redMul(i))}else n=s.redAdd(c),a=this.curve._mulC(this.z).redSqr(),i=n.redSub(a).redSub(a),e=this.curve._mulC(o.redISub(n)).redMul(i),t=this.curve._mulC(n).redMul(s.redISub(c)),r=n.redMul(i);return this.curve.point(e,t,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),a=this.z.redMul(e.z.redAdd(e.z)),i=r.redSub(t),o=a.redSub(n),s=a.redAdd(n),c=r.redAdd(t),u=i.redMul(o),l=s.redMul(c),f=i.redMul(c),d=o.redMul(s);return this.curve.point(u,l,d,f)},c.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),a=n.redSqr(),i=this.x.redMul(e.x),o=this.y.redMul(e.y),s=this.curve.d.redMul(i).redMul(o),c=a.redSub(s),u=a.redAdd(s),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(i).redISub(o),f=n.redMul(c).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(o.redSub(this.curve._mulA(i))),r=c.redMul(u)):(t=n.redMul(u).redMul(o.redSub(i)),r=this.curve._mulC(c).redMul(u)),this.curve.point(f,t,r)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},c.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add}),e8=p(e=>{e.base=e2(),e.short=e3(),e.mont=e4(),e.edwards=e6()}),e5=p(e=>{var t=ep(),r=S();function n(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function i(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}e.inherits=r,e.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e){if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/ig,"")).length%2!=0&&(e="0"+e),a=0;a<e.length;a+=2)r.push(parseInt(e[a]+e[a+1],16))}else for(var n=0,a=0;a<e.length;a++){var i,o,s=e.charCodeAt(a);s<128?r[n++]=s:(s<2048?r[n++]=s>>6|192:((i=e,o=a,(64512&i.charCodeAt(o))!=55296||o<0||o+1>=i.length||(64512&i.charCodeAt(o+1))!=56320)?r[n++]=s>>12|224:(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++a)),r[n++]=s>>18|240,r[n++]=s>>12&63|128),r[n++]=s>>6&63|128),r[n++]=63&s|128)}}else for(a=0;a<e.length;a++)r[a]=0|e[a];return r},e.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=a(e[r].toString(16));return t},e.htonl=n,e.toHex32=function(e,t){for(var r="",a=0;a<e.length;a++){var o=e[a];"little"===t&&(o=n(o)),r+=i(o.toString(16))}return r},e.zero2=a,e.zero8=i,e.join32=function(e,r,n,a){var i,o=n-r;t(o%4==0);for(var s=Array(o/4),c=0,u=r;c<s.length;c++,u+=4)i="big"===a?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u],s[c]=i>>>0;return s},e.split32=function(e,t){for(var r=Array(4*e.length),n=0,a=0;n<e.length;n++,a+=4){var i=e[n];"big"===t?(r[a]=i>>>24,r[a+1]=i>>>16&255,r[a+2]=i>>>8&255,r[a+3]=255&i):(r[a+3]=i>>>24,r[a+2]=i>>>16&255,r[a+1]=i>>>8&255,r[a]=255&i)}return r},e.rotr32=function(e,t){return e>>>t|e<<32-t},e.rotl32=function(e,t){return e<<t|e>>>32-t},e.sum32=function(e,t){return e+t>>>0},e.sum32_3=function(e,t,r){return e+t+r>>>0},e.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},e.sum32_5=function(e,t,r,n,a){return e+t+r+n+a>>>0},e.sum64=function(e,t,r,n){var a=e[t],i=n+e[t+1]>>>0;e[t]=(i<n?1:0)+r+a>>>0,e[t+1]=i},e.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},e.sum64_lo=function(e,t,r,n){return t+n>>>0},e.sum64_4_hi=function(e,t,r,n,a,i,o,s){var c,u=t;return e+r+a+o+(0+((u=u+n>>>0)<t?1:0)+((u=u+i>>>0)<i?1:0)+((u=u+s>>>0)<s?1:0))>>>0},e.sum64_4_lo=function(e,t,r,n,a,i,o,s){return t+n+i+s>>>0},e.sum64_5_hi=function(e,t,r,n,a,i,o,s,c,u){var l,f=t;return e+r+a+o+c+(0+((f=f+n>>>0)<t?1:0)+((f=f+i>>>0)<i?1:0)+((f=f+s>>>0)<s?1:0)+((f=f+u>>>0)<u?1:0))>>>0},e.sum64_5_lo=function(e,t,r,n,a,i,o,s,c,u){return t+n+i+s+u>>>0},e.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},e.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},e.shr64_hi=function(e,t,r){return e>>>r},e.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}}),e7=p(e=>{var t=e5(),r=ep();function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=n,n.prototype.update=function(e,r){if(e=t.toArray(e,r),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=t.join32(e,0,e.length-n,this.endian);for(var a=0;a<e.length;a+=this._delta32)this._update(e,a,a+this._delta32)}return this},n.prototype.digest=function(e){return this.update(this._pad()),r(null===this.pending),this._digest(e)},n.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=Array(r+this.padLength);n[0]=128;for(var a=1;a<r;a++)n[a]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)n[a++]=0;n[a++]=0,n[a++]=0,n[a++]=0,n[a++]=0,n[a++]=e>>>24&255,n[a++]=e>>>16&255,n[a++]=e>>>8&255,n[a++]=255&e}else for(n[a++]=255&e,n[a++]=e>>>8&255,n[a++]=e>>>16&255,n[a++]=e>>>24&255,n[a++]=0,n[a++]=0,n[a++]=0,n[a++]=0,i=8;i<this.padLength;i++)n[a++]=0;return n}}),e9=p(e=>{var t=e5().rotr32;function r(e,t,r){return e&t^e&r^t&r}e.ft_1=function(e,t,n,a){return 0===e?t&n^~t&a:1===e||3===e?t^n^a:2===e?r(t,n,a):void 0},e.ch32=function(e,t,r){return e&t^~e&r},e.maj32=r,e.p32=function(e,t,r){return e^t^r},e.s0_256=function(e){return t(e,2)^t(e,13)^t(e,22)},e.s1_256=function(e){return t(e,6)^t(e,11)^t(e,25)},e.g0_256=function(e){return t(e,7)^t(e,18)^e>>>3},e.g1_256=function(e){return t(e,17)^t(e,19)^e>>>10}}),te=p((e,t)=>{var r=e5(),n=e7(),a=e9(),i=r.rotl32,o=r.sum32,s=r.sum32_5,c=a.ft_1,u=n.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}r.inherits(f,u),t.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=i(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var a=this.h[0],u=this.h[1],f=this.h[2],d=this.h[3],h=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),v=s(i(a,5),c(p,u,f,d),h,r[n],l[p]);h=d,d=f,f=i(u,30),u=a,a=v}this.h[0]=o(this.h[0],a),this.h[1]=o(this.h[1],u),this.h[2]=o(this.h[2],f),this.h[3]=o(this.h[3],d),this.h[4]=o(this.h[4],h)},f.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}}),tt=p((e,t)=>{var r=e5(),n=e7(),a=e9(),i=ep(),o=r.sum32,s=r.sum32_4,c=r.sum32_5,u=a.ch32,l=a.maj32,f=a.s0_256,d=a.s1_256,h=a.g0_256,p=a.g1_256,v=n.BlockHash,m=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=m,this.W=Array(64)}r.inherits(g,v),t.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=s(p(r[n-2]),r[n-7],h(r[n-15]),r[n-16]);var a=this.h[0],v=this.h[1],m=this.h[2],g=this.h[3],b=this.h[4],y=this.h[5],_=this.h[6],w=this.h[7];for(i(this.k.length===r.length),n=0;n<r.length;n++){var S=c(w,d(b),u(b,y,_),this.k[n],r[n]),E=o(f(a),l(a,v,m));w=_,_=y,y=b,b=o(g,S),g=m,m=v,v=a,a=o(S,E)}this.h[0]=o(this.h[0],a),this.h[1]=o(this.h[1],v),this.h[2]=o(this.h[2],m),this.h[3]=o(this.h[3],g),this.h[4]=o(this.h[4],b),this.h[5]=o(this.h[5],y),this.h[6]=o(this.h[6],_),this.h[7]=o(this.h[7],w)},g.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}}),tr=p((e,t)=>{var r=e5(),n=tt();function a(){if(!(this instanceof a))return new a;n.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(a,n),t.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}}),tn=p((e,t)=>{var r=e5(),n=e7(),a=ep(),i=r.rotr64_hi,o=r.rotr64_lo,s=r.shr64_hi,c=r.shr64_lo,u=r.sum64,l=r.sum64_hi,f=r.sum64_lo,d=r.sum64_4_hi,h=r.sum64_4_lo,p=r.sum64_5_hi,v=r.sum64_5_lo,m=n.BlockHash,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function b(){if(!(this instanceof b))return new b;m.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=Array(160)}r.inherits(b,m),t.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var a=function(e,t){var r=i(e,t,19)^i(t,e,29)^s(e,t,6);return r<0&&(r+=4294967296),r}(r[n-4],r[n-3]),u=function(e,t){var r=o(e,t,19)^o(t,e,29)^c(e,t,6);return r<0&&(r+=4294967296),r}(r[n-4],r[n-3]),l=r[n-14],f=r[n-13],p=function(e,t){var r=i(e,t,1)^i(e,t,8)^s(e,t,7);return r<0&&(r+=4294967296),r}(r[n-30],r[n-29]),v=function(e,t){var r=o(e,t,1)^o(e,t,8)^c(e,t,7);return r<0&&(r+=4294967296),r}(r[n-30],r[n-29]),m=r[n-32],g=r[n-31];r[n]=d(a,u,l,f,p,v,m,g),r[n+1]=h(a,u,l,f,p,v,m,g)}},b.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],s=this.h[1],c=this.h[2],d=this.h[3],h=this.h[4],m=this.h[5],g=this.h[6],b=this.h[7],y=this.h[8],_=this.h[9],w=this.h[10],S=this.h[11],E=this.h[12],k=this.h[13],I=this.h[14],x=this.h[15];a(this.k.length===r.length);for(var O=0;O<r.length;O+=2){var T=I,A=x,M=function(e,t){var r=i(e,t,14)^i(e,t,18)^i(t,e,9);return r<0&&(r+=4294967296),r}(y,_),R=function(e,t){var r=o(e,t,14)^o(e,t,18)^o(t,e,9);return r<0&&(r+=4294967296),r}(y,_),C=function(e,t,r,n,a){var i=e&r^~e&a;return i<0&&(i+=4294967296),i}(y,0,w,0,E,k),j=function(e,t,r,n,a,i){var o=t&n^~t&i;return o<0&&(o+=4294967296),o}(0,_,0,S,0,k),N=this.k[O],P=this.k[O+1],D=r[O],L=r[O+1],F=p(T,A,M,R,C,j,N,P,D,L),B=v(T,A,M,R,C,j,N,P,D,L);T=function(e,t){var r=i(e,t,28)^i(t,e,2)^i(t,e,7);return r<0&&(r+=4294967296),r}(n,s);var U=l(T,A=function(e,t){var r=o(e,t,28)^o(t,e,2)^o(t,e,7);return r<0&&(r+=4294967296),r}(n,s),M=function(e,t,r,n,a){var i=e&r^e&a^r&a;return i<0&&(i+=4294967296),i}(n,0,c,0,h,m),R=function(e,t,r,n,a,i){var o=t&n^t&i^n&i;return o<0&&(o+=4294967296),o}(0,s,0,d,0,m)),z=f(T,A,M,R);I=E,x=k,E=w,k=S,w=y,S=_,y=l(g,b,F,B),_=f(b,b,F,B),g=h,b=m,h=c,m=d,c=n,d=s,n=l(F,B,U,z),s=f(F,B,U,z)}u(this.h,0,n,s),u(this.h,2,c,d),u(this.h,4,h,m),u(this.h,6,g,b),u(this.h,8,y,_),u(this.h,10,w,S),u(this.h,12,E,k),u(this.h,14,I,x)},b.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}}),ta=p((e,t)=>{var r=e5(),n=tn();function a(){if(!(this instanceof a))return new a;n.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(a,n),t.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}}),ti=p(e=>{e.sha1=te(),e.sha224=tr(),e.sha256=tt(),e.sha384=ta(),e.sha512=tn()}),to=p(e=>{var t=e5(),r=e7(),n=t.rotl32,a=t.sum32,i=t.sum32_3,o=t.sum32_4,s=r.BlockHash;function c(){if(!(this instanceof c))return new c;s.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function u(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}t.inherits(c,s),e.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(e,t){for(var r=this.h[0],s=this.h[1],c=this.h[2],p=this.h[3],v=this.h[4],m=r,g=s,b=c,y=p,_=v,w=0;w<80;w++){var S,E,k=a(n(o(r,u(w,s,c,p),e[l[w]+t],(S=w)<=15?0:S<=31?1518500249:S<=47?1859775393:S<=63?2400959708:2840853838),d[w]),v);r=v,v=p,p=n(c,10),c=s,s=k,k=a(n(o(m,u(79-w,g,b,y),e[f[w]+t],(E=w)<=15?1352829926:E<=31?1548603684:E<=47?1836072691:E<=63?2053994217:0),h[w]),_),m=_,_=y,y=n(b,10),b=g,g=k}k=i(this.h[1],c,y),this.h[1]=i(this.h[2],p,_),this.h[2]=i(this.h[3],v,m),this.h[3]=i(this.h[4],r,g),this.h[4]=i(this.h[0],s,b),this.h[0]=k},c.prototype._digest=function(e){return"hex"===e?t.toHex32(this.h,"little"):t.split32(this.h,"little")};var l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],f=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],h=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]}),ts=p((e,t)=>{var r=e5(),n=ep();function a(e,t,n){if(!(this instanceof a))return new a(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}t.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=new this.Hash().update(e).digest()),n(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=new this.Hash().update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=new this.Hash().update(e)},a.prototype.update=function(e,t){return this.inner.update(e,t),this},a.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}}),tc=p(e=>{e.utils=e5(),e.common=e7(),e.sha=ti(),e.ripemd=to(),e.hmac=ts(),e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160}),tu=p((e,t)=>{t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}}),tl=p(e=>{var t,r=tc(),n=e8(),a=e1().assert;function i(e){"short"===e.type?this.curve=new n.short(e):"edwards"===e.type?this.curve=new n.edwards(e):this.curve=new n.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function o(t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){var n=new i(r);return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n}),n}})}e.PresetCurve=i,o("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:r.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),o("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:r.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),o("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:r.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),o("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:r.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),o("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:r.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),o("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:r.sha256,gRed:!1,g:["9"]}),o("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:r.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{t=tu()}catch(e){t=void 0}o("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:r.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",t]})}),tf=p((e,t)=>{var r=tc(),n=e0(),a=ep();function i(e){if(!(this instanceof i))return new i(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=n.toArray(e.entropy,e.entropyEnc||"hex"),r=n.toArray(e.nonce,e.nonceEnc||"hex"),o=n.toArray(e.pers,e.persEnc||"hex");a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,o)}t.exports=i,i.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var a=0;a<this.V.length;a++)this.K[a]=0,this.V[a]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},i.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},i.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},i.prototype.reseed=function(e,t,r,i){"string"!=typeof t&&(i=r,r=t,t=null),e=n.toArray(e,t),r=n.toArray(r,i),a(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},i.prototype.generate=function(e,t,r,a){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");"string"!=typeof t&&(a=r,r=t,t=null),r&&(r=n.toArray(r,a||"hex"),this._update(r));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var o=i.slice(0,e);return this._update(r),this._reseed++,n.encode(o,t)}}),td=p((e,t)=>{var r=eG(),n=e1().assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}t.exports=a,a.fromPublic=function(e,t,r){return t instanceof a?t:new a(e,{pub:t,pubEnc:r})},a.fromPrivate=function(e,t,r){return t instanceof a?t:new a(e,{priv:t,privEnc:r})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y){"mont"===this.ec.curve.type?n(e.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&n(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.validate()||n(e.validate(),"public point not validated"),e.mul(this.priv).getX()},a.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},a.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},a.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}),th=p((e,t)=>{var r=eG(),n=e1(),a=n.assert;function i(e,t){if(e instanceof i)return e;this._importDER(e,t)||(a(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function o(){this.place=0}function s(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var a=0,i=0,o=t.place;i<n;i++,o++)a<<=8,a|=e[o],a>>>=0;return!(a<=127)&&(t.place=o,a)}function c(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function u(e,t){if(t<128){e.push(t);return}var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}t.exports=i,i.prototype._importDER=function(e,t){e=n.toArray(e,t);var a=new o;if(48!==e[a.place++])return!1;var i=s(e,a);if(!1===i||i+a.place!==e.length||2!==e[a.place++])return!1;var c=s(e,a);if(!1===c)return!1;var u=e.slice(a.place,c+a.place);if(a.place+=c,2!==e[a.place++])return!1;var l=s(e,a);if(!1===l||e.length!==l+a.place)return!1;var f=e.slice(a.place,l+a.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new r(u),this.s=new r(f),this.recoveryParam=null,!0},i.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=c(t),r=c(r);!r[0]&&!(128&r[1]);)r=r.slice(1);var a=[2];u(a,t.length),(a=a.concat(t)).push(2),u(a,r.length);var i=a.concat(r),o=[48];return u(o,i.length),o=o.concat(i),n.encode(o,e)}}),tp=p((e,t)=>{var r=eG(),n=tf(),a=e1(),i=tl(),o=eW(),s=a.assert,c=td(),u=th();function l(e){if(!(this instanceof l))return new l(e);"string"==typeof e&&(s(Object.prototype.hasOwnProperty.call(i,e),"Unknown curve "+e),e=i[e]),e instanceof i.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}t.exports=l,l.prototype.keyPair=function(e){return new c(this,e)},l.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},l.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},l.prototype.genKeyPair=function(e){e||(e={});for(var t=new n({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||o(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),i=this.n.sub(new r(2));;){var s=new r(t.generate(a));if(!(s.cmp(i)>0))return s.iaddn(1),this.keyFromPrivate(s)}},l.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},l.prototype.sign=function(e,t,a,i){"object"==typeof a&&(i=a,a=null),i||(i={}),t=this.keyFromPrivate(t,a),e=this._truncateToN(new r(e,16));for(var o=this.n.byteLength(),s=t.getPrivate().toArray("be",o),c=e.toArray("be",o),l=new n({hash:this.hash,entropy:s,nonce:c,pers:i.pers,persEnc:i.persEnc||"utf8"}),f=this.n.sub(new r(1)),d=0;;d++){var h=i.k?i.k(d):new r(l.generate(this.n.byteLength()));if(!(0>=(h=this._truncateToN(h,!0)).cmpn(1)||h.cmp(f)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var v=p.getX(),m=v.umod(this.n);if(0!==m.cmpn(0)){var g=h.invm(this.n).mul(m.mul(t.getPrivate()).iadd(e));if(0!==(g=g.umod(this.n)).cmpn(0)){var b=(p.getY().isOdd()?1:0)|(0!==v.cmp(m)?2:0);return i.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),b^=1),new u({r:m,s:g,recoveryParam:b})}}}}}},l.prototype.verify=function(e,t,n,a){e=this._truncateToN(new r(e,16)),n=this.keyFromPublic(n,a);var i=(t=new u(t,"hex")).r,o=t.s;if(0>i.cmpn(1)||i.cmp(this.n)>=0||0>o.cmpn(1)||o.cmp(this.n)>=0)return!1;var s,c=o.invm(this.n),l=c.mul(e).umod(this.n),f=c.mul(i).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(l,n.getPublic(),f)).isInfinity()&&s.eqXToP(i):!(s=this.g.mulAdd(l,n.getPublic(),f)).isInfinity()&&0===s.getX().umod(this.n).cmp(i)},l.prototype.recoverPubKey=function(e,t,n,a){s((3&n)===n,"The recovery param is more than two bits"),t=new u(t,a);var i=this.n,o=new r(e),c=t.r,l=t.s,f=1&n,d=n>>1;if(c.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw Error("Unable to find sencond key candinate");c=d?this.curve.pointFromX(c.add(this.curve.n),f):this.curve.pointFromX(c,f);var h=t.r.invm(i),p=i.sub(o).mul(h).umod(i),v=l.mul(h).umod(i);return this.g.mulAdd(p,c,v)},l.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new u(t,n)).recoveryParam)return t.recoveryParam;for(var a,i=0;i<4;i++){try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(r))return i}throw Error("Unable to find valid recovery factor")}}),tv=p((e,t)=>{var r=e1(),n=r.assert,a=r.parseBytes,i=r.cachedProperty;function o(e,t){this.eddsa=e,this._secret=a(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=a(t.pub)}o.fromPublic=function(e,t){return t instanceof o?t:new o(e,{pub:t})},o.fromSecret=function(e,t){return t instanceof o?t:new o(e,{secret:t})},o.prototype.secret=function(){return this._secret},i(o,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),i(o,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),i(o,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),i(o,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),i(o,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),i(o,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),o.prototype.sign=function(e){return n(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},o.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},o.prototype.getSecret=function(e){return n(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},o.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},t.exports=o}),tm=p((e,t)=>{var r=eG(),n=e1(),a=n.assert,i=n.cachedProperty,o=n.parseBytes;function s(e,t){this.eddsa=e,"object"!=typeof t&&(t=o(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),a(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}i(s,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),i(s,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),i(s,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),i(s,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),s.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},s.prototype.toHex=function(){return n.encode(this.toBytes(),"hex").toUpperCase()},t.exports=s}),tg=p((e,t)=>{var r=tc(),n=tl(),a=e1(),i=a.assert,o=a.parseBytes,s=tv(),c=tm();function u(e){if(i("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof u))return new u(e);e=n[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}t.exports=u,u.prototype.sign=function(e,t){e=o(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),a=this.g.mul(n),i=this.encodePoint(a),s=this.hashInt(i,r.pubBytes(),e).mul(r.priv()),c=n.add(s).umod(this.curve.n);return this.makeSignature({R:a,S:c,Rencoded:i})},u.prototype.verify=function(e,t,r){e=o(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),a=this.hashInt(t.Rencoded(),n.pubBytes(),e),i=this.g.mul(t.S());return t.R().add(n.pub().mul(a)).eq(i)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return a.intFromLE(e.digest()).umod(this.curve.n)},u.prototype.keyFromPublic=function(e){return s.fromPublic(this,e)},u.prototype.keyFromSecret=function(e){return s.fromSecret(this,e)},u.prototype.makeSignature=function(e){return e instanceof c?e:new c(this,e)},u.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},u.prototype.decodePoint=function(e){var t=(e=a.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=(128&e[t])!=0,i=a.intFromLE(r);return this.curve.pointFromY(i,n)},u.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},u.prototype.decodeInt=function(e){return a.intFromLE(e)},u.prototype.isPoint=function(e){return e instanceof this.pointClass}}),tb=p(e=>{e.version=eQ().version,e.utils=e1(),e.rand=eW(),e.curve=e8(),e.curves=tl(),e.ec=tp(),e.eddsa=tg()}),ty=p((e,t)=>{var r,n=y(),a=n.Buffer,i={};for(r in n)n.hasOwnProperty(r)&&("SlowBuffer"===r||"Buffer"===r||(i[r]=n[r]));var s=i.Buffer={};for(r in a)a.hasOwnProperty(r)&&("allocUnsafe"===r||"allocUnsafeSlow"===r||(s[r]=a[r]));if(i.Buffer.prototype=a.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(e,t,r){if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&typeof e.length>"u")throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return a(e,t,r)}),s.alloc||(s.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2147483648)throw RangeError('The value "'+e+'" is invalid for option "size"');var n=a(e);return t&&0!==t.length?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n}),!i.kStringMaxLength)try{i.kStringMaxLength=o.binding("buffer").kStringMaxLength}catch(e){}i.constants||(i.constants={MAX_LENGTH:i.kMaxLength},i.kStringMaxLength&&(i.constants.MAX_STRING_LENGTH=i.kStringMaxLength)),t.exports=i}),t_=p(e=>{var t=S();function r(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function n(e,t){this.path=e,this.rethrow(t)}e.Reporter=r,r.prototype.isError=function(e){return e instanceof n},r.prototype.save=function(){let e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},r.prototype.restore=function(e){let t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},r.prototype.enterKey=function(e){return this._reporterState.path.push(e)},r.prototype.exitKey=function(e){let t=this._reporterState;t.path=t.path.slice(0,e-1)},r.prototype.leaveKey=function(e,t,r){let n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){let e=this._reporterState,t=e.obj;return e.obj={},t},r.prototype.leaveObject=function(e){let t=this._reporterState,r=t.obj;return t.obj=e,r},r.prototype.error=function(e){let t,r=this._reporterState,a=e instanceof n;if(t=a?e:new n(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return a||r.errors.push(t),t},r.prototype.wrapResult=function(e){let t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},t(n,Error),n.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,n),!this.stack)try{throw Error(this.message)}catch(e){this.stack=e.stack}return this}}),tw=p(e=>{var t=S(),r=t_().Reporter,n=ty().Buffer;function a(e,t){if(r.call(this,t),!n.isBuffer(e)){this.error("Input not Buffer");return}this.base=e,this.offset=0,this.length=e.length}function i(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return i.isEncoderBuffer(e)||(e=new i(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=n.byteLength(e);else{if(!n.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}t(a,r),e.DecoderBuffer=a,a.isDecoderBuffer=function(e){return e instanceof a||"object"==typeof e&&n.isBuffer(e.base)&&"DecoderBuffer"===e.constructor.name&&"number"==typeof e.offset&&"number"==typeof e.length&&"function"==typeof e.save&&"function"==typeof e.restore&&"function"==typeof e.isEmpty&&"function"==typeof e.readUInt8&&"function"==typeof e.skip&&"function"==typeof e.raw},a.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},a.prototype.restore=function(e){let t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,r.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");let r=new a(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},e.EncoderBuffer=i,i.isEncoderBuffer=function(e){return e instanceof i||"object"==typeof e&&"EncoderBuffer"===e.constructor.name&&"number"==typeof e.length&&"function"==typeof e.join},i.prototype.join=function(e,t){return e||(e=n.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):n.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}}),tS=p((e,t)=>{var r=t_().Reporter,n=tw().EncoderBuffer,a=tw().DecoderBuffer,i=ep(),o=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],s=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o);function c(e,t,r){let n={};this._baseState=n,n.name=r,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}t.exports=c;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){let e=this._baseState,t={};u.forEach(function(r){t[r]=e[r]});let r=new this.constructor(t.parent);return r._baseState=t,r},c.prototype._wrap=function(){let e=this._baseState;s.forEach(function(t){this[t]=function(){let r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},c.prototype._init=function(e){let t=this._baseState;i(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),i.equal(t.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(e){let t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(i(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(i(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;let t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0),t[e[r]]=r}),t}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(e){c.prototype[e]=function(){throw Error(e+" not implemented for encoding: "+this._baseState.enc)}}),o.forEach(function(e){c.prototype[e]=function(){let t=this._baseState,r=Array.prototype.slice.call(arguments);return i(null===t.tag),t.tag=e,this._useArgs(r),this}}),c.prototype.use=function(e){i(e);let t=this._baseState;return i(null===t.use),t.use=e,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(e){let t=this._baseState;return i(null===t.default),t.default=e,t.optional=!0,this},c.prototype.explicit=function(e){let t=this._baseState;return i(null===t.explicit&&null===t.implicit),t.explicit=e,this},c.prototype.implicit=function(e){let t=this._baseState;return i(null===t.explicit&&null===t.implicit),t.implicit=e,this},c.prototype.obj=function(){let e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},c.prototype.key=function(e){let t=this._baseState;return i(null===t.key),t.key=e,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(e){let t=this._baseState;return i(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},c.prototype.contains=function(e){let t=this._baseState;return i(null===t.use),t.contains=e,this},c.prototype._decode=function(e,t){let r,n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));let i=n.default,o=!0,s=null;if(null!==n.key&&(s=e.enterKey(n.key)),n.optional){let r=null;if(null!==n.explicit?r=n.explicit:null!==n.implicit?r=n.implicit:null!==n.tag&&(r=n.tag),null!==r||n.any){if(o=this._peekTag(e,r,n.any),e.isError(o))return o}else{let r=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),o=!0}catch(e){o=!1}e.restore(r)}}if(n.obj&&o&&(r=e.enterObject()),o){if(null!==n.explicit){let t=this._decodeTag(e,n.explicit);if(e.isError(t))return t;e=t}let r=e.offset;if(null===n.use&&null===n.choice){let t;n.any&&(t=e.save());let r=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(r))return r;n.any?i=e.raw(t):e=r}if(t&&t.track&&null!==n.tag&&t.track(e.path(),r,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach(function(r){r._decode(e,t)}),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){let r=new a(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(r,t)}}return n.obj&&o&&(i=e.leaveObject(r)),null!==n.key&&(null!==i||!0===o)?e.leaveKey(s,n.key,i):null!==s&&e.exitKey(s),i},c.prototype._decodeGeneric=function(e,t,r){let n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},c.prototype._getUse=function(e,t){let r=this._baseState;return r.useDecoder=this._use(e,t),i(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},c.prototype._decodeChoice=function(e,t){let r=this._baseState,n=null,a=!1;return Object.keys(r.choice).some(function(i){let o=e.save(),s=r.choice[i];try{let r=s._decode(e,t);if(e.isError(r))return!1;n={type:i,value:r},a=!0}catch(t){return e.restore(o),!1}return!0},this),a?n:e.error("Choice not matched")},c.prototype._createEncoderBuffer=function(e){return new n(e,this.reporter)},c.prototype._encode=function(e,t,r){let n=this._baseState;if(null!==n.default&&n.default===e)return;let a=this._encodeValue(e,t,r);if(void 0!==a&&!this._skipDefault(a,t,r))return a},c.prototype._encodeValue=function(e,t,n){let a=this._baseState;if(null===a.parent)return a.children[0]._encode(e,t||new r);let i=null;if(this.reporter=t,a.optional&&void 0===e){if(null===a.default)return;e=a.default}let o=null,s=!1;if(a.any)i=this._createEncoderBuffer(e);else if(a.choice)i=this._encodeChoice(e,t);else if(a.contains)o=this._getUse(a.contains,n)._encode(e,t),s=!0;else if(a.children)o=a.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");let n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");let a=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),a},this).filter(function(e){return e}),o=this._createEncoderBuffer(o);else if("seqof"===a.tag||"setof"===a.tag){if(!(a.args&&1===a.args.length))return t.error("Too many args for : "+a.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");let r=this.clone();r._baseState.implicit=null,o=this._createEncoderBuffer(e.map(function(r){let n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)},r))}else null!==a.use?i=this._getUse(a.use,n)._encode(e,t):(o=this._encodePrimitive(a.tag,e),s=!0);if(!a.any&&null===a.choice){let e=null!==a.implicit?a.implicit:a.tag,r=null===a.implicit?"universal":"context";null===e?null===a.use&&t.error("Tag could be omitted only for .use()"):null===a.use&&(i=this._encodeComposite(e,s,r,o))}return null!==a.explicit&&(i=this._encodeComposite(a.explicit,!1,"context",i)),i},c.prototype._encodeChoice=function(e,t){let r=this._baseState,n=r.choice[e.type];return n||i(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},c.prototype._encodePrimitive=function(e,t){let r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw Error("Unsupported tag: "+e)},c.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},c.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}}),tE=p(e=>{function t(e){let t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0),t[e[r]]=r}),t}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=t(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=t(e.tag)}),tk=p((e,t)=>{var r=S(),n=ty().Buffer,a=tS(),i=tE();function o(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new s,this.tree._init(e.body)}function s(e){a.call(this,"der",e)}function c(e){return e<10?"0"+e:e}t.exports=o,o.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(s,a),s.prototype._encodeComposite=function(e,t,r,a){let o=function(e,t,r,n){let a;if("seqof"===e?e="seq":"setof"===e&&(e="set"),i.tagByName.hasOwnProperty(e))a=i.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);a=e}return a>=31?n.error("Multi-octet tag encoding unsupported"):(t||(a|=32),a|=i.tagClassByName[r||"universal"]<<6)}(e,t,r,this.reporter);if(a.length<128){let e=n.alloc(2);return e[0]=o,e[1]=a.length,this._createEncoderBuffer([e,a])}let s=1;for(let e=a.length;e>=256;e>>=8)s++;let c=n.alloc(2+s);c[0]=o,c[1]=128|s;for(let e=1+s,t=a.length;t>0;e--,t>>=8)c[e]=255&t;return this._createEncoderBuffer([c,a])},s.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"!==t)return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported");{let t=n.alloc(2*e.length);for(let r=0;r<e.length;r++)t.writeUInt16BE(e.charCodeAt(r),2*r);return this._createEncoderBuffer(t)}},s.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s.]+/g);for(let t=0;t<e.length;t++)e[t]|=0}else if(Array.isArray(e)){e=e.slice();for(let t=0;t<e.length;t++)e[t]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let a=0;for(let t=0;t<e.length;t++){let r=e[t];for(a++;r>=128;r>>=7)a++}let i=n.alloc(a),o=i.length-1;for(let t=e.length-1;t>=0;t--){let r=e[t];for(i[o--]=127&r;(r>>=7)>0;)i[o--]=128|127&r}return this._createEncoderBuffer(i)},s.prototype._encodeTime=function(e,t){let r,n=new Date(e);return"gentime"===t?r=[c(n.getUTCFullYear()),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[c(n.getUTCFullYear()%100),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},s.prototype._encodeNull=function(){return this._createEncoderBuffer("")},s.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!n.isBuffer(e)){let t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=n.from(t)}if(n.isBuffer(e)){let t=e.length;0===e.length&&t++;let r=n.alloc(t);return e.copy(r),0===e.length&&(r[0]=0),this._createEncoderBuffer(r)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let r=1;for(let t=e;t>=256;t>>=8)r++;let a=Array(r);for(let t=a.length-1;t>=0;t--)a[t]=255&e,e>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(n.from(a))},s.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},s.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},s.prototype._skipDefault=function(e,t,r){let n=this._baseState,a;if(null===n.default)return!1;let i=e.join();if(void 0===n.defaultBuffer&&(n.defaultBuffer=this._encodeValue(n.default,t,r).join()),i.length!==n.defaultBuffer.length)return!1;for(a=0;a<i.length;a++)if(i[a]!==n.defaultBuffer[a])return!1;return!0}}),tI=p((e,t)=>{var r=S(),n=tk();function a(e){n.call(this,e),this.enc="pem"}r(a,n),t.exports=a,a.prototype.encode=function(e,t){let r=n.prototype.encode.call(this,e).toString("base64"),a=["-----BEGIN "+t.label+"-----"];for(let e=0;e<r.length;e+=64)a.push(r.slice(e,e+64));return a.push("-----END "+t.label+"-----"),a.join("\n")}}),tx=p(e=>{e.der=tk(),e.pem=tI()}),tO=p((e,t)=>{var r=S(),n=eG(),a=tw().DecoderBuffer,i=tS(),o=tE();function s(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){i.call(this,"der",e)}function u(e,t){let r=e.readUInt8(t);if(e.isError(r))return r;let n=o.tagClass[r>>6],a=(32&r)==0;if((31&r)==31){let n=r;for(r=0;(128&n)==128;){if(n=e.readUInt8(t),e.isError(n))return n;r<<=7,r|=127&n}}else r&=31;let i=o.tag[r];return{cls:n,primitive:a,tag:r,tagStr:i}}function l(e,t,r){let n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(!(128&n))return n;let a=127&n;if(a>4)return e.error("length octect is too long");n=0;for(let t=0;t<a;t++){n<<=8;let t=e.readUInt8(r);if(e.isError(t))return t;n|=t}return n}t.exports=s,s.prototype.decode=function(e,t){return a.isDecoderBuffer(e)||(e=new a(e,t)),this.tree._decode(e,t)},r(c,i),c.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;let n=e.save(),a=u(e,'Failed to peek tag: "'+t+'"');return e.isError(a)?a:(e.restore(n),a.tag===t||a.tagStr===t||a.tagStr+"of"===t||r)},c.prototype._decodeTag=function(e,t,r){let n=u(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;let a=l(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(a))return a;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==a)return e.skip(a,'Failed to match body of: "'+t+'"');let i=e.save(),o=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(o)?o:(a=e.offset-i.offset,e.restore(i),e.skip(a,'Failed to match body of: "'+t+'"'))},c.prototype._skipUntilEnd=function(e,t){for(;;){let r,n=u(e,t);if(e.isError(n))return n;let a=l(e,n.primitive,t);if(e.isError(a))return a;if(r=n.primitive||null!==a?e.skip(a):this._skipUntilEnd(e,t),e.isError(r))return r;if("end"===n.tagStr)break}},c.prototype._decodeList=function(e,t,r,n){let a=[];for(;!e.isEmpty();){let t=this._peekTag(e,"end");if(e.isError(t))return t;let i=r.decode(e,"der",n);if(e.isError(i)&&t)break;a.push(i)}return a},c.prototype._decodeStr=function(e,t){if("bitstr"===t){let t=e.readUInt8();return e.isError(t)?t:{unused:t,data:e.raw()}}if("bmpstr"===t){let t=e.raw();if(t.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");let r="";for(let e=0;e<t.length/2;e++)r+=String.fromCharCode(t.readUInt16BE(2*e));return r}if("numstr"===t){let t=e.raw().toString("ascii");return this._isNumstr(t)?t:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t||"objDesc"===t)return e.raw();if("printstr"!==t)return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported");{let t=e.raw().toString("ascii");return this._isPrintstr(t)?t:e.error("Decoding of string type: printstr unsupported characters")}},c.prototype._decodeObjid=function(e,t,r){let n,a=[],i=0,o=0;for(;!e.isEmpty();)o=e.readUInt8(),i<<=7,i|=127&o,128&o||(a.push(i),i=0);128&o&&a.push(i);let s=a[0]/40|0,c=a[0]%40;if(n=r?a:[s,c].concat(a.slice(1)),t){let e=t[n.join(" ")];void 0===e&&(e=t[n.join(".")]),void 0!==e&&(n=e)}return n},c.prototype._decodeTime=function(e,t){let r=e.raw().toString(),n,a,i,o,s,c;if("gentime"===t)n=0|r.slice(0,4),a=0|r.slice(4,6),i=0|r.slice(6,8),o=0|r.slice(8,10),s=0|r.slice(10,12),c=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),a=0|r.slice(2,4),i=0|r.slice(4,6),o=0|r.slice(6,8),s=0|r.slice(8,10),c=0|r.slice(10,12),n=n<70?2e3+n:1900+n}return Date.UTC(n,a-1,i,o,s,c,0)},c.prototype._decodeNull=function(){return null},c.prototype._decodeBool=function(e){let t=e.readUInt8();return e.isError(t)?t:0!==t},c.prototype._decodeInt=function(e,t){let r=new n(e.raw());return t&&(r=t[r.toString(10)]||r),r},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}}),tT=p((e,t)=>{var r=S(),n=ty().Buffer,a=tO();function i(e){a.call(this,e),this.enc="pem"}r(i,a),t.exports=i,i.prototype.decode=function(e,t){let r=e.toString().split(/[\r\n]+/g),i=t.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1;for(let e=0;e<r.length;e++){let t=r[e].match(o);if(null!==t&&t[2]===i){if(-1===s){if("BEGIN"!==t[1])break;s=e}else{if("END"!==t[1])break;c=e;break}}}if(-1===s||-1===c)throw Error("PEM section not found for: "+i);let u=r.slice(s+1,c).join("");u.replace(/[^a-z0-9+/=]+/gi,"");let l=n.from(u,"base64");return a.prototype.decode.call(this,l,t)}}),tA=p(e=>{e.der=tO(),e.pem=tT()}),tM=p(e=>{var t=tx(),r=tA(),n=S();function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}e.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(e){let t=this.name;function r(e){this._initNamed(e,t)}return n(r,e),r.prototype._initNamed=function(t,r){e.call(this,t,r)},new r(this)},a.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(r[e])),this.decoders[e]},a.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},a.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(t[e])),this.encoders[e]},a.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}}),tR=p(e=>{e.Reporter=t_().Reporter,e.DecoderBuffer=tw().DecoderBuffer,e.EncoderBuffer=tw().EncoderBuffer,e.Node=tS()}),tC=p(e=>{e._reverse=function(e){let t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0),t[e[r]]=r}),t},e.der=tE()}),tj=p(e=>{e.bignum=eG(),e.define=tM().define,e.base=tR(),e.constants=tC(),e.decoders=tA(),e.encoders=tx()}),tN=p((e,t)=>{var r=tj(),n=r.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),a=r.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),i=r.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),o=r.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(i),this.key("subjectPublicKey").bitstr())}),s=r.define("RelativeDistinguishedName",function(){this.setof(a)}),c=r.define("RDNSequence",function(){this.seqof(s)}),u=r.define("Name",function(){this.choice({rdnSequence:this.use(c)})}),l=r.define("Validity",function(){this.seq().obj(this.key("notBefore").use(n),this.key("notAfter").use(n))}),f=r.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),d=r.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(i),this.key("issuer").use(u),this.key("validity").use(l),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(o),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(f).optional())}),h=r.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(i),this.key("signatureValue").bitstr())});t.exports=h}),tP=p(e=>{var t=tj();e.certificate=tN();var r=t.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});e.RSAPrivateKey=r;var n=t.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});e.RSAPublicKey=n;var a=t.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(i),this.key("subjectPublicKey").bitstr())});e.PublicKey=a;var i=t.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),o=t.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(i),this.key("subjectPrivateKey").octstr())});e.PrivateKey=o;var s=t.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});e.EncryptedPrivateKey=s;var c=t.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});e.DSAPrivateKey=c,e.DSAparam=t.define("DSAparam",function(){this.int()});var u=t.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(l),this.key("publicKey").optional().explicit(1).bitstr())});e.ECPrivateKey=u;var l=t.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});e.signature=t.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})}),tD=p((e,t)=>{t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}}),tL=p((e,t)=>{var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,n=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,i=eD(),o=eB(),s=_().Buffer;t.exports=function(e,t){var c,u=e.toString(),l=u.match(r);if(l){var f="aes"+l[1],d=s.from(l[2],"hex"),h=s.from(l[3].replace(/[\r\n]/g,""),"base64"),p=i(t,d.slice(0,8),parseInt(l[1],10)).key,v=[],m=o.createDecipheriv(f,p,d);v.push(m.update(h)),v.push(m.final()),c=s.concat(v)}else{var g=u.match(a);c=s.from(g[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(n)[1],data:c}}}),tF=p((e,t)=>{var r=tP(),n=tD(),a=tL(),i=eB(),o=ed(),s=_().Buffer;function c(e){"object"!=typeof e||s.isBuffer(e)||(b=e.passphrase,e=e.key),"string"==typeof e&&(e=s.from(e));var t,c,u,l,f,d,h,p,v,m,g,b,y,_,w=a(e,b),S=w.tag,E=w.data;switch(S){case"CERTIFICATE":_=r.certificate.decode(E,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(_||(_=r.PublicKey.decode(E,"der")),y=_.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(_.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return _.subjectPrivateKey=_.subjectPublicKey,{type:"ec",data:_};case"1.2.840.10040.4.1":return _.algorithm.params.pub_key=r.DSAparam.decode(_.subjectPublicKey.data,"der"),{type:"dsa",data:_.algorithm.params};default:throw Error("unknown key id "+y)}case"ENCRYPTED PRIVATE KEY":t=E=r.EncryptedPrivateKey.decode(E,"der"),c=b,u=t.algorithm.decrypt.kde.kdeparams.salt,l=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),f=n[t.algorithm.decrypt.cipher.algo.join(".")],d=t.algorithm.decrypt.cipher.iv,h=t.subjectPrivateKey,p=parseInt(f.split("-")[1],10)/8,v=o.pbkdf2Sync(c,u,l,p,"sha1"),m=i.createDecipheriv(f,v,d),(g=[]).push(m.update(h)),g.push(m.final()),E=s.concat(g);case"PRIVATE KEY":switch(y=(_=r.PrivateKey.decode(E,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(_.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:_.algorithm.curve,privateKey:r.ECPrivateKey.decode(_.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return _.algorithm.params.priv_key=r.DSAparam.decode(_.subjectPrivateKey,"der"),{type:"dsa",params:_.algorithm.params};default:throw Error("unknown key id "+y)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(E,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(E,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(E,"der")};case"EC PRIVATE KEY":return{curve:(E=r.ECPrivateKey.decode(E,"der")).parameters.value,privateKey:E.privateKey};default:throw Error("unknown key type "+S)}}t.exports=c,c.signature=r.signature}),tB=p((e,t)=>{t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}}),tU=p((e,t)=>{var r=_().Buffer,n=ea(),a=e$(),i=tb().ec,o=eX(),s=tF(),c=tB();function u(e,t,a,i){if((e=r.from(e.toArray())).length<t.byteLength()){var o=r.alloc(t.byteLength()-e.length);e=r.concat([o,e])}var s=a.length,c=function(e,t){e=(e=l(e,t)).mod(t);var n=r.from(e.toArray());if(n.length<t.byteLength()){var a=r.alloc(t.byteLength()-n.length);n=r.concat([a,n])}return n}(a,t),u=r.alloc(s);u.fill(1);var f=r.alloc(s);return f=n(i,f).update(u).update(r.from([0])).update(e).update(c).digest(),u=n(i,f).update(u).digest(),f=n(i,f).update(u).update(r.from([1])).update(e).update(c).digest(),u=n(i,f).update(u).digest(),{k:f,v:u}}function l(e,t){var r=new o(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function f(e,t,a){var i,o;do{for(i=r.alloc(0);8*i.length<e.bitLength();)t.v=n(a,t.k).update(t.v).digest(),i=r.concat([i,t.v]);o=l(i,e),t.k=n(a,t.k).update(t.v).update(r.from([0])).digest(),t.v=n(a,t.k).update(t.v).digest()}while(-1!==o.cmp(e))return o}t.exports=function(e,t,n,d,h){var p=s(t);if(p.curve){if("ecdsa"!==d&&"ecdsa/rsa"!==d)throw Error("wrong private key type");return function(e,t){var n=c[t.curve.join(".")];if(!n)throw Error("unknown curve "+t.curve.join("."));var a=new i(n).keyFromPrivate(t.privateKey).sign(e);return r.from(a.toDER())}(e,p)}if("dsa"===p.type){if("dsa"!==d)throw Error("wrong private key type");return function(e,t,n){for(var a,i,s,c,d,h=t.params.priv_key,p=t.params.p,v=t.params.q,m=t.params.g,g=new o(0),b=l(e,v).mod(v),y=!1,_=u(h,v,e,n);!1===y;)a=d=f(v,_,n),g=m.toRed(o.mont(p)).redPow(a).fromRed().mod(v),0===(y=d.invm(v).imul(b.add(h.mul(g))).mod(v)).cmpn(0)&&(y=!1,g=new o(0));return i=g,s=y,i=i.toArray(),s=s.toArray(),128&i[0]&&(i=[0].concat(i)),128&s[0]&&(s=[0].concat(s)),c=(c=[48,i.length+s.length+4,2,i.length]).concat(i,[2,s.length],s),r.from(c)}(e,p,n)}if("rsa"!==d&&"ecdsa/rsa"!==d)throw Error("wrong private key type");e=r.concat([h,e]);for(var v=p.modulus.byteLength(),m=[0,1];e.length+m.length+1<v;)m.push(255);m.push(0);for(var g=-1;++g<e.length;)m.push(e[g]);return a(m,p)},t.exports.getKey=u,t.exports.makeKey=f}),tz=p((e,t)=>{var r=_().Buffer,n=eX(),a=tb().ec,i=tF(),o=tB();function s(e,t){if(0>=e.cmpn(0)||e.cmp(t)>=t)throw Error("invalid sig")}t.exports=function(e,t,c,u,l){var f,d,h,p,v,m,g,b,y,_,w,S=i(c);if("ec"===S.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw Error("wrong public key type");return function(e,t,r){var n=o[r.data.algorithm.curve.join(".")];if(!n)throw Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new a(n),s=r.data.subjectPrivateKey.data;return i.verify(t,e,s)}(e,t,S)}if("dsa"===S.type){if("dsa"!==u)throw Error("wrong public key type");return f=e,d=t,h=S.data.p,p=S.data.q,v=S.data.g,m=S.data.pub_key,b=(g=i.signature.decode(f,"der")).s,y=g.r,s(b,p),s(y,p),_=n.mont(h),w=b.invm(p),0===v.toRed(_).redPow(new n(d).mul(w).mod(p)).fromRed().mul(m.toRed(_).redPow(y.mul(w).mod(p)).fromRed()).mod(h).mod(p).cmp(y)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw Error("wrong public key type");t=r.concat([l,t]);for(var E=S.modulus.byteLength(),k=[1],I=0;t.length+k.length+2<E;)k.push(255),I++;k.push(0);for(var x=-1;++x<t.length;)k.push(t[x]);k=r.from(k);var O=n.mont(S.modulus);e=(e=new n(e).toRed(O)).redPow(new n(S.publicExponent));var T=I<8?1:0;for(E=Math.min((e=r.from(e.fromRed().toArray())).length,k.length),e.length!==k.length&&(T=1),x=-1;++x<E;)T|=e[x]^k[x];return 0===T}}),tH=p((e,t)=>{var r=_().Buffer,n=et(),a=z(),i=S(),o=tU(),s=tz(),c=ei();function u(e){a.Writable.call(this);var t=c[e];if(!t)throw Error("Unknown message digest");this._hashType=t.hash,this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function l(e){a.Writable.call(this);var t=c[e];if(!t)throw Error("Unknown message digest");this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){return new u(e)}function d(e){return new l(e)}Object.keys(c).forEach(function(e){c[e].id=r.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]}),i(u,a.Writable),u.prototype._write=function(e,t,r){this._hash.update(e),r()},u.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},u.prototype.sign=function(e,t){this.end();var r=o(this._hash.digest(),e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},i(l,a.Writable),l.prototype._write=function(e,t,r){this._hash.update(e),r()},l.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},l.prototype.verify=function(e,t,n){return"string"==typeof t&&(t=r.from(t,n)),this.end(),s(t,this._hash.digest(),e,this._signType,this._tag)},t.exports={Sign:f,Verify:d,createSign:f,createVerify:d}}),tG=p((e,t)=>{var r=tb(),n=eG();t.exports=function(e){return new i(e)};var a={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function i(e){this.curveType=a[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function o(e,t,r){Array.isArray(e)||(e=e.toArray());var n=new s(e);if(r&&n.length<r){var a=new s(r-n.length);a.fill(0),n=s.concat([a,n])}return t?n.toString(t):n}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,i.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},i.prototype.computeSecret=function(e,t,r){return t=t||"utf8",s.isBuffer(e)||(e=new s(e,t)),o(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},i.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),o(r,e)},i.prototype.getPrivateKey=function(e){return o(this.keys.getPrivate(),e)},i.prototype.setPublicKey=function(e,t){return t=t||"utf8",s.isBuffer(e)||(e=new s(e,t)),this.keys._importPublic(e),this},i.prototype.setPrivateKey=function(e,t){t=t||"utf8",s.isBuffer(e)||(e=new s(e,t));var r=new n(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}}),tq=p((e,t)=>{var r=et(),n=_().Buffer;t.exports=function(e,t){for(var a,i=n.alloc(0),o=0;i.length<t;)a=function(e){var t=n.allocUnsafe(4);return t.writeUInt32BE(e,0),t}(o++),i=n.concat([i,r("sha1").update(e).update(a).digest()]);return i.slice(0,t)}}),tW=p((e,t)=>{t.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}}),tK=p((e,t)=>{var r=eG(),n=_().Buffer;t.exports=function(e,t){return n.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}}),tV=p((e,t)=>{var r=tF(),n=w(),a=et(),i=tq(),o=tW(),s=eG(),c=tK(),u=e$(),l=_().Buffer;t.exports=function(e,t,f){d=e.padding?e.padding:f?1:4;var d,h,p=r(e);if(4===d)h=function(e,t){var r=e.modulus.byteLength(),c=t.length,u=a("sha1").update(l.alloc(0)).digest(),f=u.length,d=2*f;if(c>r-d-2)throw Error("message too long");var h=l.alloc(r-c-d-2),p=r-f-1,v=n(f),m=o(l.concat([u,h,l.alloc(1,1),t],p),i(v,p)),g=o(v,i(m,f));return new s(l.concat([l.alloc(1),g,m],r))}(p,t);else if(1===d)h=function(e,t,r){var a,i=t.length,o=e.modulus.byteLength();if(i>o-11)throw Error("message too long");return a=r?l.alloc(o-i-3,255):function(e){for(var t,r=l.allocUnsafe(e),a=0,i=n(2*e),o=0;a<e;)o===i.length&&(i=n(2*e),o=0),(t=i[o++])&&(r[a++]=t);return r}(o-i-3),new s(l.concat([l.from([0,r?1:2]),a,l.alloc(1),t],o))}(p,t,f);else if(3===d){if((h=new s(t)).cmp(p.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");return f?u(h,p):c(h,p)}}),tY=p((e,t)=>{var r=tF(),n=tq(),a=tW(),i=eG(),o=e$(),s=et(),c=tK(),u=_().Buffer;t.exports=function(e,t,l){f=e.padding?e.padding:l?1:4;var f,d,h=r(e),p=h.modulus.byteLength();if(t.length>p||new i(t).cmp(h.modulus)>=0)throw Error("decryption error");d=l?c(new i(t),h):o(t,h);var v=u.alloc(p-d.length);if(d=u.concat([v,d],p),4===f)return function(e,t){var r=e.modulus.byteLength(),i=s("sha1").update(u.alloc(0)).digest(),o=i.length;if(0!==t[0])throw Error("decryption error");var c=t.slice(1,o+1),l=t.slice(o+1),f=a(c,n(l,o)),d=a(l,n(f,r-o-1));if(function(e,t){e=u.from(e),t=u.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));for(var a=-1;++a<n;)r+=e[a]^t[a];return r}(i,d.slice(0,o)))throw Error("decryption error");for(var h=o;0===d[h];)h++;if(1!==d[h++])throw Error("decryption error");return d.slice(h)}(h,d);if(1===f)return function(e,t,r){for(var n=t.slice(0,2),a=2,i=0;0!==t[a++];)if(a>=t.length){i++;break}var o=t.slice(2,a-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&i++,o.length<8&&i++,i)throw Error("decryption error");return t.slice(a)}(0,d,l);if(3===f)return d;throw Error("unknown padding")}}),tJ=p(e=>{e.publicEncrypt=tV(),e.privateDecrypt=tY(),e.privateEncrypt=function(t,r){return e.publicEncrypt(t,r,!0)},e.publicDecrypt=function(t,r){return e.privateDecrypt(t,r,!0)}}),tZ=p(e=>{function t(){throw Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var r=_(),n=(w(),r.Buffer),a=r.kMaxLength,s=i.crypto||i.msCrypto;function c(e,t){if("number"!=typeof e||e!=e)throw TypeError("offset must be a number");if(e>4294967295||e<0)throw TypeError("offset must be a uint32");if(e>a||e>t)throw RangeError("offset out of range")}function u(e,t,r){if("number"!=typeof e||e!=e)throw TypeError("size must be a number");if(e>4294967295||e<0)throw TypeError("size must be a uint32");if(e+t>r||e>a)throw RangeError("buffer too small")}function l(e,t,r,n){var a=e.buffer,i=new Uint8Array(a,t,r);if(s.getRandomValues(i),n){o.nextTick(function(){n(null,e)});return}return e}s&&s.getRandomValues?(e.randomFill=function(e,t,r,a){if(!n.isBuffer(e)&&!(e instanceof i.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)a=t,t=0,r=e.length;else if("function"==typeof r)a=r,r=e.length-t;else if("function"!=typeof a)throw TypeError('"cb" argument must be a function');return c(t,e.length),u(r,t,e.length),l(e,t,r,a)},e.randomFillSync=function(e,t,r){if(typeof t>"u"&&(t=0),!n.isBuffer(e)&&!(e instanceof i.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');return c(t,e.length),void 0===r&&(r=e.length-t),u(r,t,e.length),l(e,t,r)}):(e.randomFill=t,e.randomFillSync=t)}),tX=p(e=>{e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=w(),e.createHash=e.Hash=et(),e.createHmac=e.Hmac=ea();var t=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Object.keys(eo()));e.getHashes=function(){return t};var r=ed();e.pbkdf2=r.pbkdf2,e.pbkdf2Sync=r.pbkdf2Sync;var n=ez();e.Cipher=n.Cipher,e.createCipher=n.createCipher,e.Cipheriv=n.Cipheriv,e.createCipheriv=n.createCipheriv,e.Decipher=n.Decipher,e.createDecipher=n.createDecipher,e.Decipheriv=n.Decipheriv,e.createDecipheriv=n.createDecipheriv,e.getCiphers=n.getCiphers,e.listCiphers=n.listCiphers;var a=eZ();e.DiffieHellmanGroup=a.DiffieHellmanGroup,e.createDiffieHellmanGroup=a.createDiffieHellmanGroup,e.getDiffieHellman=a.getDiffieHellman,e.createDiffieHellman=a.createDiffieHellman,e.DiffieHellman=a.DiffieHellman;var i=tH();e.createSign=i.createSign,e.Sign=i.Sign,e.createVerify=i.createVerify,e.Verify=i.Verify,e.createECDH=tG();var o=tJ();e.publicEncrypt=o.publicEncrypt,e.privateEncrypt=o.privateEncrypt,e.publicDecrypt=o.publicDecrypt,e.privateDecrypt=o.privateDecrypt;var s=tZ();e.randomFill=s.randomFill,e.randomFillSync=s.randomFillSync,e.createCredentials=function(){throw Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify")},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}}),t$={};((e,t)=>{for(var r in t)u(e,r,{get:t[r],enumerable:!0})})(t$,{default:()=>t0}),t.exports=v(u({},"__esModule",{value:!0}),t$);var tQ=m(tX());n=m(tX()),a=t.exports,v(t$,n,"default"),a&&v(a,n,"default");var t0=tQ.default;/*! Bundled license information:
|
|
|
|
ieee754/index.js:
|
|
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
|
|
buffer/index.js:
|
|
(*!
|
|
* The buffer module from node.js, for the browser.
|
|
*
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
* @license MIT
|
|
*)
|
|
|
|
safe-buffer/index.js:
|
|
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
*/},{"33602453034ea78a":"7gz8M","19365d62b9b9eabc":"89Y7O"}],"7gz8M":[function(e,t,r){var n,a,i,o,s=Object.create,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,f=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,h=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||c(e,a,{get:()=>t[a],enumerable:!(n=u(t,a))||n.enumerable});return e},p=(e,t,r)=>(r=null!=e?s(f(e)):{},h(!t&&e&&e.__esModule?r:c(r,"default",{value:e,enumerable:!0}),e)),v=(n=(e,t)=>{var r,n,a=t.exports={};function i(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var c,u=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&h())}function h(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function v(){}a.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||l||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=v,a.addListener=v,a.once=v,a.off=v,a.removeListener=v,a.removeAllListeners=v,a.emit=v,a.prependListener=v,a.prependOnceListener=v,a.listeners=function(e){return[]},a.binding=function(e){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw Error("process.chdir is not supported")},a.umask=function(){return 0}},()=>(a||n((a={exports:{}}).exports,a),a.exports)),m={};((e,t)=>{for(var r in t)c(e,r,{get:t[r],enumerable:!0})})(m,{default:()=>b}),t.exports=h(c({},"__esModule",{value:!0}),m);var g=p(v());i=p(v()),o=t.exports,h(m,i,"default"),o&&h(o,i,"default");var b=g.default},{}],"89Y7O":[function(e,t,r){var n,a,i=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,f=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),d=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of c(t))l.call(e,a)||a===r||o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},h=(e,t,r)=>(r=null!=e?i(u(e)):{},d(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),p=f(e=>{e.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return(r+n)*3/4-n},e.toByteArray=function(e){var t,r,n=s(e),o=n[0],c=n[1],u=new i((o+c)*3/4-c),l=0,f=c>0?o-4:o;for(r=0;r<f;r+=4)t=a[e.charCodeAt(r)]<<18|a[e.charCodeAt(r+1)]<<12|a[e.charCodeAt(r+2)]<<6|a[e.charCodeAt(r+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===c&&(t=a[e.charCodeAt(r)]<<2|a[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===c&&(t=a[e.charCodeAt(r)]<<10|a[e.charCodeAt(r+1)]<<4|a[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},e.fromByteArray=function(e){for(var t,r=e.length,a=r%3,i=[],o=0,s=r-a;o<s;o+=16383)i.push(function(e,t,r){for(var a,i=[],o=t;o<r;o+=3)i.push(n[(a=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]))>>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return i.join("")}(e,o,o+16383>s?s:o+16383));return 1===a?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===a&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")};var t,r,n=[],a=[],i="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(t=0,r=o.length;t<r;++t)n[t]=o[t],a[o.charCodeAt(t)]=t;function s(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63}),v=f(e=>{e.read=function(e,t,r,n,a){var i,o,s=8*a-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?a-1:0,d=r?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=d,l-=8);for(o=i&(1<<-l)-1,i>>=-l,l+=n;l>0;o=256*o+e[t+f],f+=d,l-=8);if(0===i)i=1-u;else{if(i===c)return o?NaN:(h?-1:1)*(1/0);o+=Math.pow(2,n),i-=u}return(h?-1:1)*o*Math.pow(2,i-n)},e.write=function(e,t,r,n,a,i){var o,s,c,u=8*i-a-1,l=(1<<u)-1,f=l>>1,d=23===a?5960464477539062e-23:0,h=n?0:i-1,p=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+f>=1?t+=d/c:t+=d*Math.pow(2,1-f),t*c>=2&&(o++,c/=2),o+f>=l?(s=0,o=l):o+f>=1?(s=(t*c-1)*Math.pow(2,a),o+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,a),o=0));a>=8;e[r+h]=255&s,h+=p,s/=256,a-=8);for(o=o<<a|s,u+=a;u>0;e[r+h]=255&o,h+=p,o/=256,u-=8);e[r+h-p]|=128*v}}),m=f(e=>{var t=p(),r=v(),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,i.prototype),t}function i(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return o(e,t,r)}function o(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!i.isEncoding(t))throw TypeError("Unknown encoding: "+t);let r=0|d(e,t),n=a(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(L(e,Uint8Array)){let t=new Uint8Array(e);return l(t.buffer,t.byteOffset,t.byteLength)}return u(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(L(e,ArrayBuffer)||e&&L(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(L(e,SharedArrayBuffer)||e&&L(e.buffer,SharedArrayBuffer)))return l(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return i.from(n,t,r);let o=function(e){var t;if(i.isBuffer(e)){let t=0|f(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(o)return o;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return i.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return s(e),a(e<0?0:0|f(e))}function u(e){let t=e.length<0?0:0|f(e.length),r=a(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function l(e,t,r){let n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),i.prototype),n}function f(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(i.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||L(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let a=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return P(e).length;default:if(a)return n?-1:N(e).length;t=(""+t).toLowerCase(),a=!0}}function h(e,r,n){let a=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(r>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let a="";for(let n=t;n<r;++n)a+=F[e[n]];return a}(this,r,n);case"utf8":case"utf-8":return y(this,r,n);case"ascii":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let a=t;a<r;++a)n+=String.fromCharCode(127&e[a]);return n}(this,r,n);case"latin1":case"binary":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let a=t;a<r;++a)n+=String.fromCharCode(e[a]);return n}(this,r,n);case"base64":var i,o;return i=r,o=n,0===i&&o===this.length?t.fromByteArray(this):t.fromByteArray(this.slice(i,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let n=e.slice(t,r),a="";for(let e=0;e<n.length-1;e+=2)a+=String.fromCharCode(n[e]+256*n[e+1]);return a}(this,r,n);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function m(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,a){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(o=r=+r)!=o&&(r=a?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(a)return -1;r=e.length-1}else if(r<0){if(!a)return -1;r=0}if("string"==typeof t&&(t=i.from(t,n)),i.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,a);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,a);throw TypeError("val must be string, number or Buffer")}function b(e,t,r,n,a){let i,o=1,s=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;o=2,s/=2,c/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(a){let n=-1;for(i=r;i<s;i++)if(u(e,i)===u(t,-1===n?0:i-n)){if(-1===n&&(n=i),i-n+1===c)return n*o}else -1!==n&&(i-=i-n),n=-1}else for(r+c>s&&(r=s-c),i=r;i>=0;i--){let r=!0;for(let n=0;n<c;n++)if(u(e,i+n)!==u(t,n)){r=!1;break}if(r)return i}return -1}function y(e,t,r){r=Math.min(e.length,r);let n=[],a=t;for(;a<r;){let t=e[a],i=null,o=t>239?4:t>223?3:t>191?2:1;if(a+o<=r){let r,n,s,c;switch(o){case 1:t<128&&(i=t);break;case 2:(192&(r=e[a+1]))==128&&(c=(31&t)<<6|63&r)>127&&(i=c);break;case 3:r=e[a+1],n=e[a+2],(192&r)==128&&(192&n)==128&&(c=(15&t)<<12|(63&r)<<6|63&n)>2047&&(c<55296||c>57343)&&(i=c);break;case 4:r=e[a+1],n=e[a+2],s=e[a+3],(192&r)==128&&(192&n)==128&&(192&s)==128&&(c=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s)>65535&&c<1114112&&(i=c)}}null===i?(i=65533,o=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),a+=o}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function _(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,a,o){if(!i.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>a||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function S(e,t,r,n,a){M(t,n,a,e,r,7);let i=Number(t&BigInt(4294967295));e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,r}function E(e,t,r,n,a){M(t,n,a,e,r,7);let i=Number(t&BigInt(4294967295));e[r+7]=i,i>>=8,e[r+6]=i,i>>=8,e[r+5]=i,i>>=8,e[r+4]=i;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=o,o>>=8,e[r+2]=o,o>>=8,e[r+1]=o,o>>=8,e[r]=o,r+8}function k(e,t,r,n,a,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function I(e,t,n,a,i){return t=+t,n>>>=0,i||k(e,t,n,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,n,a,23,4),n+4}function x(e,t,n,a,i){return t=+t,n>>>=0,i||k(e,t,n,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,n,a,52,8),n+8}e.Buffer=i,e.SlowBuffer=function(e){return+e!=e&&(e=0),i.alloc(+e)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=2147483647,i.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!i.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}}),i.poolSize=8192,i.from=function(e,t,r){return o(e,t,r)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array),i.alloc=function(e,t,r){return s(e),e<=0?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},i.allocUnsafe=function(e){return c(e)},i.allocUnsafeSlow=function(e){return c(e)},i.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==i.prototype},i.compare=function(e,t){if(L(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=i.from(t,t.offset,t.byteLength)),!i.isBuffer(e)||!i.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let a=0,i=Math.min(r,n);a<i;++a)if(e[a]!==t[a]){r=e[a],n=t[a];break}return r<n?-1:n<r?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;let n=i.allocUnsafe(t),a=0;for(r=0;r<e.length;++r){let t=e[r];if(L(t,Uint8Array))a+t.length>n.length?(i.isBuffer(t)||(t=i.from(t)),t.copy(n,a)):Uint8Array.prototype.set.call(n,t,a);else if(i.isBuffer(t))t.copy(n,a);else throw TypeError('"list" argument must be an Array of Buffers');a+=t.length}return n},i.byteLength=d,i.prototype._isBuffer=!0,i.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)m(this,t,t+1);return this},i.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},i.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},i.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?y(this,0,e):h.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(e){if(!i.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){let t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},n&&(i.prototype[n]=i.prototype.inspect),i.prototype.compare=function(e,t,r,n,a){if(L(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),!i.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===a&&(a=this.length),t<0||r>e.length||n<0||a>this.length)throw RangeError("out of range index");if(n>=a&&t>=r)return 0;if(n>=a)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,a>>>=0,this===e)return 0;let o=a-n,s=r-t,c=Math.min(o,s),u=this.slice(n,a),l=e.slice(t,r);for(let e=0;e<c;++e)if(u[e]!==l[e]){o=u[e],s=l[e];break}return o<s?-1:s<o?1:0},i.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},i.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},i.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},i.prototype.write=function(e,t,r,n){var a,i,o,s,c,u,l,f;if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let h=!1;for(;;)switch(n){case"hex":return function(e,t,r,n){let a;r=Number(r)||0;let i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;let o=t.length;for(n>o/2&&(n=o/2),a=0;a<n;++a){let n=parseInt(t.substr(2*a,2),16);if(n!=n)break;e[r+a]=n}return a}(this,e,t,r);case"utf8":case"utf-8":return a=t,i=r,D(N(e,this.length-a),this,a,i);case"ascii":case"latin1":case"binary":return o=t,s=r,D(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,o,s);case"base64":return c=t,u=r,D(P(e),this,c,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,f=r,D(function(e,t){let r,n,a=[];for(let i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,a.push(r%256),a.push(n);return a}(e,this.length-l),this,l,f);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let n=this.subarray(e,t);return Object.setPrototypeOf(n,i.prototype),n},i.prototype.readUintLE=i.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e],a=1,i=0;for(;++i<t&&(a*=256);)n+=this[e+i]*a;return n},i.prototype.readUintBE=i.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e+--t],a=1;for(;t>0&&(a*=256);)n+=this[e+--t]*a;return n},i.prototype.readUint8=i.prototype.readUInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),this[e]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readBigUInt64LE=B(function(e){R(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&C(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+16777216*this[++e],a=this[++e]+256*this[++e]+65536*this[++e]+16777216*r;return BigInt(n)+(BigInt(a)<<BigInt(32))}),i.prototype.readBigUInt64BE=B(function(e){R(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&C(e,this.length-8);let n=16777216*t+65536*this[++e]+256*this[++e]+this[++e],a=16777216*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(a)}),i.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e],a=1,i=0;for(;++i<t&&(a*=256);)n+=this[e+i]*a;return n>=(a*=128)&&(n-=Math.pow(2,8*t)),n},i.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=t,a=1,i=this[e+--n];for(;n>0&&(a*=256);)i+=this[e+--n]*a;return i>=(a*=128)&&(i-=Math.pow(2,8*t)),i},i.prototype.readInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),128&this[e]?-((255-this[e]+1)*1):this[e]},i.prototype.readInt16LE=function(e,t){e>>>=0,t||_(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt16BE=function(e,t){e>>>=0,t||_(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readBigInt64LE=B(function(e){R(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&C(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+16777216*this[++e])}),i.prototype.readBigInt64BE=B(function(e){R(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&C(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(16777216*this[++e]+65536*this[++e]+256*this[++e]+r)}),i.prototype.readFloatLE=function(e,t){return e>>>=0,t||_(e,4,this.length),r.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),r.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),r.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(e,8,this.length),r.read(this,e,!1,52,8)},i.prototype.writeUintLE=i.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;w(this,e,t,r,n,0)}let a=1,i=0;for(this[t]=255&e;++i<r&&(a*=256);)this[t+i]=e/a&255;return t+r},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;w(this,e,t,r,n,0)}let a=r-1,i=1;for(this[t+a]=255&e;--a>=0&&(i*=256);)this[t+a]=e/i&255;return t+r},i.prototype.writeUint8=i.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeBigUInt64LE=B(function(e,t=0){return S(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=B(function(e,t=0){return E(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*r-1);w(this,e,t,r,n-1,-n)}let a=0,i=1,o=0;for(this[t]=255&e;++a<r&&(i*=256);)e<0&&0===o&&0!==this[t+a-1]&&(o=1),this[t+a]=(e/i>>0)-o&255;return t+r},i.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*r-1);w(this,e,t,r,n-1,-n)}let a=r-1,i=1,o=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===o&&0!==this[t+a+1]&&(o=1),this[t+a]=(e/i>>0)-o&255;return t+r},i.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},i.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeBigInt64LE=B(function(e,t=0){return S(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=B(function(e,t=0){return E(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeFloatLE=function(e,t,r){return I(this,e,t,!0,r)},i.prototype.writeFloatBE=function(e,t,r){return I(this,e,t,!1,r)},i.prototype.writeDoubleLE=function(e,t,r){return x(this,e,t,!0,r)},i.prototype.writeDoubleBE=function(e,t,r){return x(this,e,t,!1,r)},i.prototype.copy=function(e,t,r,n){if(!i.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);let a=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),a},i.prototype.fill=function(e,t,r,n){let a;if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!i.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){let t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{let o=i.isBuffer(e)?e:i.from(e,n),s=o.length;if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-t;++a)this[a+t]=o[a%s]}return this};var O={};function T(e,t,r){O[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name="".concat(this.name," [").concat(e,"]"),this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}}function A(e){let t="",r=e.length,n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t="_".concat(e.slice(r-3,r)).concat(t);return"".concat(e.slice(0,r)).concat(t)}function M(e,t,r,n,a,i){if(e>r||e<t){let n="bigint"==typeof t?"n":"",a;throw a=i>3?0===t||t===BigInt(0)?">= 0".concat(n," and < 2").concat(n," ** ").concat((i+1)*8).concat(n):">= -(2".concat(n," ** ").concat((i+1)*8-1).concat(n,") and < 2 ** ")+"".concat((i+1)*8-1).concat(n):">= ".concat(t).concat(n," and <= ").concat(r).concat(n),new O.ERR_OUT_OF_RANGE("value",a,e)}R(a,"offset"),(void 0===n[a]||void 0===n[a+i])&&C(a,n.length-(i+1))}function R(e,t){if("number"!=typeof e)throw new O.ERR_INVALID_ARG_TYPE(t,"number",e)}function C(e,t,r){throw Math.floor(e)!==e?(R(e,r),new O.ERR_OUT_OF_RANGE(r||"offset","an integer",e)):t<0?new O.ERR_BUFFER_OUT_OF_BOUNDS:new O.ERR_OUT_OF_RANGE(r||"offset",">= ".concat(r?1:0," and <= ").concat(t),e)}T("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),T("ERR_INVALID_ARG_TYPE",function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)},TypeError),T("ERR_OUT_OF_RANGE",function(e,t,r){let n='The value of "'.concat(e,'" is out of range.'),a=r;return Number.isInteger(r)&&Math.abs(r)>4294967296?a=A(String(r)):"bigint"==typeof r&&(a=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(a=A(a)),a+="n"),n+=" It must be ".concat(t,". Received ").concat(a)},RangeError);var j=/[^+/0-9A-Za-z-_]/g;function N(e,t){t=t||1/0;let r,n=e.length,a=null,i=[];for(let o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!a){if(r>56319||o+1===n){(t-=3)>-1&&i.push(239,191,189);continue}a=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),a=r;continue}r=(a-55296<<10|r-56320)+65536}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function P(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function D(e,t,r,n){let a;for(a=0;a<n&&!(a+r>=t.length||a>=e.length);++a)t[a+r]=e[a];return a}function L(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var F=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let a=0;a<16;++a)t[n+a]=e[r]+e[a]}return t}();function B(e){return typeof BigInt>"u"?U:e}function U(){throw Error("BigInt not supported")}}),g={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(g,{default:()=>y}),t.exports=d(o({},"__esModule",{value:!0}),g);var b=h(m());n=h(m()),a=t.exports,d(g,n,"default"),a&&d(a,n,"default");var y=b.default;/*! Bundled license information:
|
|
|
|
ieee754/index.js:
|
|
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
|
|
buffer/index.js:
|
|
(*!
|
|
* The buffer module from node.js, for the browser.
|
|
*
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
* @license MIT
|
|
*)
|
|
*/},{}],"84enr":[function(e,t,r){var n,a,i,o,s;t.exports=(i=(a=(n=e("d48fed549de80b2b")).lib).Base,o=a.WordArray,(s=n.x64={}).Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=i.extend({init:function(e,t){e=this.words=e||[],void 0!=t?this.sigBytes=t:this.sigBytes=8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var a=e[n];r.push(a.high),r.push(a.low)}return o.create(r,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}}),n)},{d48fed549de80b2b:"6dayE"}],"3d1VA":[function(e,t,r){var n;t.exports=(n=e("300da5cb0ae97e38"),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],a=0;a<r;a++)n[a>>>2]|=e[a]<<24-a%4*8;t.call(this,n,r)}else t.apply(this,arguments)}).prototype=e}}(),n.lib.WordArray)},{"300da5cb0ae97e38":"6dayE"}],"3zawB":[function(e,t,r){var n;t.exports=(n=e("3d8e0cedd47ceed4"),function(){var e=n.lib.WordArray,t=n.enc;function r(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],a=0;a<r;a+=2){var i=t[a>>>2]>>>16-a%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(t){for(var r=t.length,n=[],a=0;a<r;a++)n[a>>>1]|=t.charCodeAt(a)<<16-a%2*16;return e.create(n,2*r)}},t.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,a=[],i=0;i<n;i+=2){var o=r(t[i>>>2]>>>16-i%4*8&65535);a.push(String.fromCharCode(o))}return a.join("")},parse:function(t){for(var n=t.length,a=[],i=0;i<n;i++)a[i>>>1]|=r(t.charCodeAt(i)<<16-i%2*16);return e.create(a,2*n)}}}(),n.enc.Utf16)},{"3d8e0cedd47ceed4":"6dayE"}],dQJ4T:[function(e,t,r){var n,a;t.exports=(a=(n=e("6c67d43f833ec62e")).lib.WordArray,n.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var a=[],i=0;i<r;i+=3)for(var o=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<r;s++)a.push(n.charAt(o>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;a.length%4;)a.push(c);return a.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i<r.length;i++)n[r.charCodeAt(i)]=i}var o=r.charAt(64);if(o){var s=e.indexOf(o);-1!==s&&(t=s)}return function(e,t,r){for(var n=[],i=0,o=0;o<t;o++)if(o%4){var s=r[e.charCodeAt(o-1)]<<o%4*2|r[e.charCodeAt(o)]>>>6-o%4*2;n[i>>>2]|=s<<24-i%4*8,i++}return a.create(n,i)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)},{"6c67d43f833ec62e":"6dayE"}],d3oJY:[function(e,t,r){var n,a;t.exports=(a=(n=e("7d66589bbaefbca4")).lib.WordArray,n.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,n=e.sigBytes,a=t?this._safe_map:this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var s=(r[o>>>2]>>>24-o%4*8&255)<<16|(r[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|r[o+2>>>2]>>>24-(o+2)%4*8&255,c=0;c<4&&o+.75*c<n;c++)i.push(a.charAt(s>>>6*(3-c)&63));var u=a.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,n=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<n.length;o++)i[n.charCodeAt(o)]=o}var s=n.charAt(64);if(s){var c=e.indexOf(s);-1!==c&&(r=c)}return function(e,t,r){for(var n=[],i=0,o=0;o<t;o++)if(o%4){var s=r[e.charCodeAt(o-1)]<<o%4*2|r[e.charCodeAt(o)]>>>6-o%4*2;n[i>>>2]|=s<<24-i%4*8,i++}return a.create(n,i)}(e,r,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},n.enc.Base64url)},{"7d66589bbaefbca4":"6dayE"}],jxWg5:[function(e,t,r){var n;t.exports=(n=e("df297d5f1a7605f5"),function(e){var t=n.lib,r=t.WordArray,a=t.Hasher,i=n.algo,o=[];!function(){for(var t=0;t<64;t++)o[t]=4294967296*e.abs(e.sin(t+1))|0}();var s=i.MD5=a.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,a=e[n];e[n]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360}var i=this._hash.words,s=e[t+0],d=e[t+1],h=e[t+2],p=e[t+3],v=e[t+4],m=e[t+5],g=e[t+6],b=e[t+7],y=e[t+8],_=e[t+9],w=e[t+10],S=e[t+11],E=e[t+12],k=e[t+13],I=e[t+14],x=e[t+15],O=i[0],T=i[1],A=i[2],M=i[3];O=c(O,T,A,M,s,7,o[0]),M=c(M,O,T,A,d,12,o[1]),A=c(A,M,O,T,h,17,o[2]),T=c(T,A,M,O,p,22,o[3]),O=c(O,T,A,M,v,7,o[4]),M=c(M,O,T,A,m,12,o[5]),A=c(A,M,O,T,g,17,o[6]),T=c(T,A,M,O,b,22,o[7]),O=c(O,T,A,M,y,7,o[8]),M=c(M,O,T,A,_,12,o[9]),A=c(A,M,O,T,w,17,o[10]),T=c(T,A,M,O,S,22,o[11]),O=c(O,T,A,M,E,7,o[12]),M=c(M,O,T,A,k,12,o[13]),A=c(A,M,O,T,I,17,o[14]),T=c(T,A,M,O,x,22,o[15]),O=u(O,T,A,M,d,5,o[16]),M=u(M,O,T,A,g,9,o[17]),A=u(A,M,O,T,S,14,o[18]),T=u(T,A,M,O,s,20,o[19]),O=u(O,T,A,M,m,5,o[20]),M=u(M,O,T,A,w,9,o[21]),A=u(A,M,O,T,x,14,o[22]),T=u(T,A,M,O,v,20,o[23]),O=u(O,T,A,M,_,5,o[24]),M=u(M,O,T,A,I,9,o[25]),A=u(A,M,O,T,p,14,o[26]),T=u(T,A,M,O,y,20,o[27]),O=u(O,T,A,M,k,5,o[28]),M=u(M,O,T,A,h,9,o[29]),A=u(A,M,O,T,b,14,o[30]),T=u(T,A,M,O,E,20,o[31]),O=l(O,T,A,M,m,4,o[32]),M=l(M,O,T,A,y,11,o[33]),A=l(A,M,O,T,S,16,o[34]),T=l(T,A,M,O,I,23,o[35]),O=l(O,T,A,M,d,4,o[36]),M=l(M,O,T,A,v,11,o[37]),A=l(A,M,O,T,b,16,o[38]),T=l(T,A,M,O,w,23,o[39]),O=l(O,T,A,M,k,4,o[40]),M=l(M,O,T,A,s,11,o[41]),A=l(A,M,O,T,p,16,o[42]),T=l(T,A,M,O,g,23,o[43]),O=l(O,T,A,M,_,4,o[44]),M=l(M,O,T,A,E,11,o[45]),A=l(A,M,O,T,x,16,o[46]),T=l(T,A,M,O,h,23,o[47]),O=f(O,T,A,M,s,6,o[48]),M=f(M,O,T,A,b,10,o[49]),A=f(A,M,O,T,I,15,o[50]),T=f(T,A,M,O,m,21,o[51]),O=f(O,T,A,M,E,6,o[52]),M=f(M,O,T,A,p,10,o[53]),A=f(A,M,O,T,w,15,o[54]),T=f(T,A,M,O,d,21,o[55]),O=f(O,T,A,M,y,6,o[56]),M=f(M,O,T,A,x,10,o[57]),A=f(A,M,O,T,g,15,o[58]),T=f(T,A,M,O,k,21,o[59]),O=f(O,T,A,M,v,6,o[60]),M=f(M,O,T,A,S,10,o[61]),A=f(A,M,O,T,h,15,o[62]),T=f(T,A,M,O,_,21,o[63]),i[0]=i[0]+O|0,i[1]=i[1]+T|0,i[2]=i[2]+A|0,i[3]=i[3]+M|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,a=8*t.sigBytes;r[a>>>5]|=128<<24-a%32;var i=e.floor(n/4294967296);r[(a+64>>>9<<4)+15]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,r[(a+64>>>9<<4)+14]=(n<<8|n>>>24)&16711935|(n<<24|n>>>8)&4278255360,t.sigBytes=(r.length+1)*4,this._process();for(var o=this._hash,s=o.words,c=0;c<4;c++){var u=s[c];s[c]=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360}return o},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,r,n,a,i,o){var s=e+(t&r|~t&n)+a+o;return(s<<i|s>>>32-i)+t}function u(e,t,r,n,a,i,o){var s=e+(t&n|r&~n)+a+o;return(s<<i|s>>>32-i)+t}function l(e,t,r,n,a,i,o){var s=e+(t^r^n)+a+o;return(s<<i|s>>>32-i)+t}function f(e,t,r,n,a,i,o){var s=e+(r^(t|~n))+a+o;return(s<<i|s>>>32-i)+t}n.MD5=a._createHelper(s),n.HmacMD5=a._createHmacHelper(s)}(Math),n.MD5)},{df297d5f1a7605f5:"6dayE"}],egwwf:[function(e,t,r){var n,a,i,o,s,c,u;t.exports=(i=(a=(n=e("7b9891bafba06348")).lib).WordArray,o=a.Hasher,s=n.algo,c=[],u=s.SHA1=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],a=r[1],i=r[2],o=r[3],s=r[4],u=0;u<80;u++){if(u<16)c[u]=0|e[t+u];else{var l=c[u-3]^c[u-8]^c[u-14]^c[u-16];c[u]=l<<1|l>>>31}var f=(n<<5|n>>>27)+s+c[u];u<20?f+=(a&i|~a&o)+1518500249:u<40?f+=(a^i^o)+1859775393:u<60?f+=(a&i|a&o|i&o)-1894007588:f+=(a^i^o)-899497514,s=o,o=i,i=a<<30|a>>>2,a=n,n=f}r[0]=r[0]+n|0,r[1]=r[1]+a|0,r[2]=r[2]+i|0,r[3]=r[3]+o|0,r[4]=r[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[(n+64>>>9<<4)+14]=Math.floor(r/4294967296),t[(n+64>>>9<<4)+15]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=o._createHelper(u),n.HmacSHA1=o._createHmacHelper(u),n.SHA1)},{"7b9891bafba06348":"6dayE"}],lf3El:[function(e,t,r){var n,a,i,o,s,c,u,l,f,d;t.exports=(n=e("cd9e8447cb14a145"),a=Math,o=(i=n.lib).WordArray,s=i.Hasher,c=n.algo,u=[],l=[],function(){function e(e){return(e-(0|e))*4294967296|0}for(var t=2,r=0;r<64;)(function(e){for(var t=a.sqrt(e),r=2;r<=t;r++)if(!(e%r))return!1;return!0})(t)&&(r<8&&(u[r]=e(a.pow(t,.5))),l[r]=e(a.pow(t,1/3)),r++),t++}(),f=[],d=c.SHA256=s.extend({_doReset:function(){this._hash=new o.init(u.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],a=r[1],i=r[2],o=r[3],s=r[4],c=r[5],u=r[6],d=r[7],h=0;h<64;h++){if(h<16)f[h]=0|e[t+h];else{var p=f[h-15],v=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=f[h-2],g=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;f[h]=v+f[h-7]+g+f[h-16]}var b=s&c^~s&u,y=n&a^n&i^a&i,_=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+b+l[h]+f[h],S=_+y;d=u,u=c,c=s,s=o+w|0,o=i,i=a,a=n,n=w+S|0}r[0]=r[0]+n|0,r[1]=r[1]+a|0,r[2]=r[2]+i|0,r[3]=r[3]+o|0,r[4]=r[4]+s|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+d|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[(n+64>>>9<<4)+14]=a.floor(r/4294967296),t[(n+64>>>9<<4)+15]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA256=s._createHelper(d),n.HmacSHA256=s._createHmacHelper(d),n.SHA256)},{cd9e8447cb14a145:"6dayE"}],ex4nU:[function(e,t,r){var n,a,i,o,s;t.exports=(n=e("e8965157f10402b0"),e("422fd5a45e67fd9c"),a=n.lib.WordArray,o=(i=n.algo).SHA256,s=i.SHA224=o.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}}),n.SHA224=o._createHelper(s),n.HmacSHA224=o._createHmacHelper(s),n.SHA224)},{e8965157f10402b0:"6dayE","422fd5a45e67fd9c":"lf3El"}],"4gcJV":[function(e,t,r){var n;t.exports=(n=e("31d6ad3465d16167"),e("c6b2cb3d09716a55"),function(){var e=n.lib.Hasher,t=n.x64,r=t.Word,a=t.WordArray,i=n.algo;function o(){return r.create.apply(r,arguments)}var s=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=o()}();var u=i.SHA512=e.extend({_doReset:function(){this._hash=new a.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],a=r[1],i=r[2],o=r[3],u=r[4],l=r[5],f=r[6],d=r[7],h=n.high,p=n.low,v=a.high,m=a.low,g=i.high,b=i.low,y=o.high,_=o.low,w=u.high,S=u.low,E=l.high,k=l.low,I=f.high,x=f.low,O=d.high,T=d.low,A=h,M=p,R=v,C=m,j=g,N=b,P=y,D=_,L=w,F=S,B=E,U=k,z=I,H=x,G=O,q=T,W=0;W<80;W++){var K,V,Y=c[W];if(W<16)V=Y.high=0|e[t+2*W],K=Y.low=0|e[t+2*W+1];else{var J=c[W-15],Z=J.high,X=J.low,$=(Z>>>1|X<<31)^(Z>>>8|X<<24)^Z>>>7,Q=(X>>>1|Z<<31)^(X>>>8|Z<<24)^(X>>>7|Z<<25),ee=c[W-2],et=ee.high,er=ee.low,en=(et>>>19|er<<13)^(et<<3|er>>>29)^et>>>6,ea=(er>>>19|et<<13)^(er<<3|et>>>29)^(er>>>6|et<<26),ei=c[W-7],eo=ei.high,es=ei.low,ec=c[W-16],eu=ec.high,el=ec.low;V=$+eo+((K=Q+es)>>>0<Q>>>0?1:0),K+=ea,V=V+en+(K>>>0<ea>>>0?1:0),K+=el,V=V+eu+(K>>>0<el>>>0?1:0),Y.high=V,Y.low=K}var ef=L&B^~L&z,ed=F&U^~F&H,eh=A&R^A&j^R&j,ep=M&C^M&N^C&N,ev=(A>>>28|M<<4)^(A<<30|M>>>2)^(A<<25|M>>>7),em=(M>>>28|A<<4)^(M<<30|A>>>2)^(M<<25|A>>>7),eg=(L>>>14|F<<18)^(L>>>18|F<<14)^(L<<23|F>>>9),eb=(F>>>14|L<<18)^(F>>>18|L<<14)^(F<<23|L>>>9),ey=s[W],e_=ey.high,ew=ey.low,eS=q+eb,eE=G+eg+(eS>>>0<q>>>0?1:0),eS=eS+ed,eE=eE+ef+(eS>>>0<ed>>>0?1:0),eS=eS+ew,eE=eE+e_+(eS>>>0<ew>>>0?1:0),eS=eS+K,eE=eE+V+(eS>>>0<K>>>0?1:0),ek=em+ep,eI=ev+eh+(ek>>>0<em>>>0?1:0);G=z,q=H,z=B,H=U,B=L,U=F,L=P+eE+((F=D+eS|0)>>>0<D>>>0?1:0)|0,P=j,D=N,j=R,N=C,R=A,C=M,A=eE+eI+((M=eS+ek|0)>>>0<eS>>>0?1:0)|0}p=n.low=p+M,n.high=h+A+(p>>>0<M>>>0?1:0),m=a.low=m+C,a.high=v+R+(m>>>0<C>>>0?1:0),b=i.low=b+N,i.high=g+j+(b>>>0<N>>>0?1:0),_=o.low=_+D,o.high=y+P+(_>>>0<D>>>0?1:0),S=u.low=S+F,u.high=w+L+(S>>>0<F>>>0?1:0),k=l.low=k+U,l.high=E+B+(k>>>0<U>>>0?1:0),x=f.low=x+H,f.high=I+z+(x>>>0<H>>>0?1:0),T=d.low=T+q,d.high=O+G+(T>>>0<q>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[(n+128>>>10<<5)+30]=Math.floor(r/4294967296),t[(n+128>>>10<<5)+31]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});n.SHA512=e._createHelper(u),n.HmacSHA512=e._createHmacHelper(u)}(),n.SHA512)},{"31d6ad3465d16167":"6dayE",c6b2cb3d09716a55:"84enr"}],gAYGJ:[function(e,t,r){var n,a,i,o,s,c,u;t.exports=(n=e("b5fe0ebcfe1041bc"),e("a9e41ebd870c4542"),e("df3c8766d63d1a4"),i=(a=n.x64).Word,o=a.WordArray,c=(s=n.algo).SHA512,u=s.SHA384=c.extend({_doReset:function(){this._hash=new o.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),n.SHA384=c._createHelper(u),n.HmacSHA384=c._createHmacHelper(u),n.SHA384)},{b5fe0ebcfe1041bc:"6dayE",a9e41ebd870c4542:"84enr",df3c8766d63d1a4:"4gcJV"}],gH36R:[function(e,t,r){var n,a,i,o,s,c,u,l,f,d,h,p;t.exports=(n=e("50cd159714e45996"),e("93026947822c59d9"),a=Math,o=(i=n.lib).WordArray,s=i.Hasher,c=n.x64.Word,u=n.algo,l=[],f=[],d=[],function(){for(var e=1,t=0,r=0;r<24;r++){l[e+5*t]=(r+1)*(r+2)/2%64;var n=t%5,a=(2*e+3*t)%5;e=n,t=a}for(var e=0;e<5;e++)for(var t=0;t<5;t++)f[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,o=0;o<24;o++){for(var s=0,u=0,h=0;h<7;h++){if(1&i){var p=(1<<h)-1;p<32?u^=1<<p:s^=1<<p-32}128&i?i=i<<1^113:i<<=1}d[o]=c.create(s,u)}}(),h=[],function(){for(var e=0;e<25;e++)h[e]=c.create()}(),p=u.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,a=0;a<n;a++){var i=e[t+2*a],o=e[t+2*a+1];i=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,o=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360;var s=r[a];s.high^=o,s.low^=i}for(var c=0;c<24;c++){for(var u=0;u<5;u++){for(var p=0,v=0,m=0;m<5;m++){var s=r[u+5*m];p^=s.high,v^=s.low}var g=h[u];g.high=p,g.low=v}for(var u=0;u<5;u++)for(var b=h[(u+4)%5],y=h[(u+1)%5],_=y.high,w=y.low,p=b.high^(_<<1|w>>>31),v=b.low^(w<<1|_>>>31),m=0;m<5;m++){var s=r[u+5*m];s.high^=p,s.low^=v}for(var S=1;S<25;S++){var p,v,s=r[S],E=s.high,k=s.low,I=l[S];I<32?(p=E<<I|k>>>32-I,v=k<<I|E>>>32-I):(p=k<<I-32|E>>>64-I,v=E<<I-32|k>>>64-I);var x=h[f[S]];x.high=p,x.low=v}var O=h[0],T=r[0];O.high=T.high,O.low=T.low;for(var u=0;u<5;u++)for(var m=0;m<5;m++){var S=u+5*m,s=r[S],A=h[S],M=h[(u+1)%5+5*m],R=h[(u+2)%5+5*m];s.high=A.high^~M.high&R.high,s.low=A.low^~M.low&R.low}var s=r[0],C=d[c];s.high^=C.high,s.low^=C.low}},_doFinalize:function(){var e=this._data,t=e.words;this._nDataBytes;var r=8*e.sigBytes,n=32*this.blockSize;t[r>>>5]|=1<<24-r%32,t[(a.ceil((r+1)/n)*n>>>5)-1]|=128,e.sigBytes=4*t.length,this._process();for(var i=this._state,s=this.cfg.outputLength/8,c=s/8,u=[],l=0;l<c;l++){var f=i[l],d=f.high,h=f.low;d=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,h=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,u.push(h),u.push(d)}return new o.init(u,s)},clone:function(){for(var e=s.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}}),n.SHA3=s._createHelper(p),n.HmacSHA3=s._createHmacHelper(p),n.SHA3)},{"50cd159714e45996":"6dayE","93026947822c59d9":"84enr"}],jk2yU:[function(e,t,r){var n;t.exports=(n=e("f465710c5187ca82"),/** @preserve
|
|
(c) 2012 by C\u00e9dric Mesnil. All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
|
|
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/function(e){var t=n.lib,r=t.WordArray,a=t.Hasher,i=n.algo,o=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=r.create([0,1518500249,1859775393,2400959708,2840853838]),f=r.create([1352829926,1548603684,1836072691,2053994217,0]),d=i.RIPEMD160=a.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r,n,a,i,d,p,v,m,g,b,y,_,w,S,E,k,I,x,O,T,A,M,R,C,j,N,P,D,L,F,B,U,z,H,G,q,W,K,V,Y,J,Z=0;Z<16;Z++){var X=t+Z,$=e[X];e[X]=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360}var Q=this._hash.words,ee=l.words,et=f.words,er=o.words,en=s.words,ea=c.words,ei=u.words;q=B=Q[0],W=U=Q[1],K=z=Q[2],V=H=Q[3],Y=G=Q[4];for(var Z=0;Z<80;Z+=1)J=B+e[t+er[Z]]|0,Z<16?J+=(U^z^H)+ee[0]:Z<32?J+=((i=U)&z|~i&H)+ee[1]:Z<48?J+=((U|~z)^H)+ee[2]:Z<64?J+=(b=U,y=z,(b&(_=H)|y&~_)+ee[3]):J+=(U^(z|~H))+ee[4],J|=0,J=(J=h(J,ea[Z]))+G|0,B=G,G=H,H=h(z,10),z=U,U=J,J=q+e[t+en[Z]]|0,Z<16?J+=(W^(K|~V))+et[0]:Z<32?J+=(O=W,T=K,(O&(A=V)|T&~A)+et[1]):Z<48?J+=((W|~K)^V)+et[2]:Z<64?J+=((j=W)&K|~j&V)+et[3]:J+=(W^K^V)+et[4],J|=0,J=(J=h(J,ei[Z]))+Y|0,q=Y,Y=V,V=h(K,10),K=W,W=J;J=Q[1]+z+V|0,Q[1]=Q[2]+H+Y|0,Q[2]=Q[3]+G+q|0,Q[3]=Q[4]+B+W|0,Q[4]=Q[0]+U+K|0,Q[0]=J},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[(n+64>>>9<<4)+14]=(r<<8|r>>>24)&16711935|(r<<24|r>>>8)&4278255360,e.sigBytes=(t.length+1)*4,this._process();for(var a=this._hash,i=a.words,o=0;o<5;o++){var s=i[o];i[o]=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360}return a},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function h(e,t){return e<<t|e>>>32-t}n.RIPEMD160=a._createHelper(d),n.HmacRIPEMD160=a._createHmacHelper(d)}(Math),n.RIPEMD160)},{f465710c5187ca82:"6dayE"}],fMBoi:[function(e,t,r){var n,a,i;t.exports=void(a=(n=e("7479609d4f7429fa")).lib.Base,i=n.enc.Utf8,n.algo.HMAC=a.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=i.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),o=this._iKey=t.clone(),s=a.words,c=o.words,u=0;u<r;u++)s[u]^=1549556828,c[u]^=909522486;a.sigBytes=o.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}}))},{"7479609d4f7429fa":"6dayE"}],luure:[function(e,t,r){var n,a,i,o,s,c,u,l;t.exports=(n=e("1c341b8fa9fa7ba5"),e("4451da4248a2ba9a"),e("d435910d805b159d"),i=(a=n.lib).Base,o=a.WordArray,c=(s=n.algo).SHA256,u=s.HMAC,l=s.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:c,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=u.create(r.hasher,e),a=o.create(),i=o.create([1]),s=a.words,c=i.words,l=r.keySize,f=r.iterations;s.length<l;){var d=n.update(t).finalize(i);n.reset();for(var h=d.words,p=h.length,v=d,m=1;m<f;m++){v=n.finalize(v),n.reset();for(var g=v.words,b=0;b<p;b++)h[b]^=g[b]}a.concat(d),c[0]++}return a.sigBytes=4*l,a}}),n.PBKDF2=function(e,t,r){return l.create(r).compute(e,t)},n.PBKDF2)},{"1c341b8fa9fa7ba5":"6dayE","4451da4248a2ba9a":"lf3El",d435910d805b159d:"fMBoi"}],u3uJj:[function(e,t,r){var n,a,i,o,s,c,u;t.exports=(n=e("b3eece319621bd0d"),e("1519e429561ccd1a"),e("a4a8e103be66f413"),i=(a=n.lib).Base,o=a.WordArray,c=(s=n.algo).MD5,u=s.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,a=n.hasher.create(),i=o.create(),s=i.words,c=n.keySize,u=n.iterations;s.length<c;){r&&a.update(r),r=a.update(e).finalize(t),a.reset();for(var l=1;l<u;l++)r=a.finalize(r),a.reset();i.concat(r)}return i.sigBytes=4*c,i}}),n.EvpKDF=function(e,t,r){return u.create(r).compute(e,t)},n.EvpKDF)},{b3eece319621bd0d:"6dayE","1519e429561ccd1a":"egwwf",a4a8e103be66f413:"fMBoi"}],fiMWt:[function(e,t,r){var n,a,i,o,s,c,u,l,f,d,h,p,v,m,g,b,y,_;t.exports=(n=e("cd9e7c148581f3f"),e("a566ab64a571fabc"),void(n.lib.Cipher||(i=(a=n.lib).Base,o=a.WordArray,s=a.BufferedBlockAlgorithm,(c=n.enc).Utf8,u=c.Base64,l=n.algo.EvpKDF,f=a.Cipher=s.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?_:b}return function(t){return{encrypt:function(r,n,a){return e(n).encrypt(t,r,n,a)},decrypt:function(r,n,a){return e(n).decrypt(t,r,n,a)}}}}()}),a.StreamCipher=f.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),d=n.mode={},h=a.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=d.CBC=function(){var e=h.extend();function t(e,t,r){var n,a=this._iv;a?(n=a,this._iv=void 0):n=this._prevBlock;for(var i=0;i<r;i++)e[t+i]^=n[i]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,a=n.blockSize;t.call(this,e,r,a),n.encryptBlock(e,r),this._prevBlock=e.slice(r,r+a)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,a=n.blockSize,i=e.slice(r,r+a);n.decryptBlock(e,r),t.call(this,e,r,a),this._prevBlock=i}}),e}(),v=(n.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,a=n<<24|n<<16|n<<8|n,i=[],s=0;s<n;s+=4)i.push(a);var c=o.create(i,n);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},a.BlockCipher=f.extend({cfg:f.cfg.extend({mode:p,padding:v}),reset:function(){f.reset.call(this);var e,t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),m=a.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(n.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?o.create([1398893684,1701076831]).concat(r).concat(t):t).toString(u)},parse:function(e){var t,r=u.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=o.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),m.create({ciphertext:r,salt:t})}},b=a.SerializableCipher=i.extend({cfg:i.extend({format:g}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var a=e.createEncryptor(r,n),i=a.finalize(t),o=a.cfg;return m.create({ciphertext:i,key:r,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(n.kdf={}).OpenSSL={execute:function(e,t,r,n,a){if(n||(n=o.random(8)),a)var i=l.create({keySize:t+r,hasher:a}).compute(e,n);else var i=l.create({keySize:t+r}).compute(e,n);var s=o.create(i.words.slice(t),4*r);return i.sigBytes=4*t,m.create({key:i,iv:s,salt:n})}},_=a.PasswordBasedCipher=b.extend({cfg:b.cfg.extend({kdf:y}),encrypt:function(e,t,r,n){var a=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=a.iv;var i=b.encrypt.call(this,e,t,a.key,n);return i.mixIn(a),i},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var a=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=a.iv,b.decrypt.call(this,e,t,a.key,n)}}))))},{cd9e7c148581f3f:"6dayE",a566ab64a571fabc:"u3uJj"}],BuN80:[function(e,t,r){var n;t.exports=(n=e("2f52414e12ae6909"),e("1eb0a66f8f1f67cf"),n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,r,n){var a,i=this._iv;i?(a=i.slice(0),this._iv=void 0):a=this._prevBlock,n.encryptBlock(a,0);for(var o=0;o<r;o++)e[t+o]^=a[o]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,a=n.blockSize;t.call(this,e,r,a,n),this._prevBlock=e.slice(r,r+a)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,a=n.blockSize,i=e.slice(r,r+a);t.call(this,e,r,a,n),this._prevBlock=i}}),e}(),n.mode.CFB)},{"2f52414e12ae6909":"6dayE","1eb0a66f8f1f67cf":"fiMWt"}],"6Xeok":[function(e,t,r){var n,a,i;t.exports=(n=e("8279613429749f72"),e("6366f0a420ff853a"),n.mode.CTR=(i=(a=n.lib.BlockCipherMode.extend()).Encryptor=a.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,a=this._iv,i=this._counter;a&&(i=this._counter=a.slice(0),this._iv=void 0);var o=i.slice(0);r.encryptBlock(o,0),i[n-1]=i[n-1]+1|0;for(var s=0;s<n;s++)e[t+s]^=o[s]}}),a.Decryptor=i,a),n.mode.CTR)},{"8279613429749f72":"6dayE","6366f0a420ff853a":"fiMWt"}],lpDIf:[function(e,t,r){var n;t.exports=(n=e("1da69dc95c930e7b"),e("3c652faf883d007a"),/** @preserve
|
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
* derived from CryptoJS.mode.CTR
|
|
* Jan Hruby jhruby.web@gmail.com
|
|
*/n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){if((e>>24&255)==255){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0+(t<<16)+(r<<8)+n}else e+=16777216;return e}var r=e.Encryptor=e.extend({processBlock:function(e,r){var n,a=this._cipher,i=a.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),0===((n=s)[0]=t(n[0]))&&(n[1]=t(n[1]));var c=s.slice(0);a.encryptBlock(c,0);for(var u=0;u<i;u++)e[r+u]^=c[u]}});return e.Decryptor=r,e}(),n.mode.CTRGladman)},{"1da69dc95c930e7b":"6dayE","3c652faf883d007a":"fiMWt"}],"3qvsI":[function(e,t,r){var n,a,i;t.exports=(n=e("26be4bcd9270328c"),e("827fa2cf583dbf3f"),n.mode.OFB=(i=(a=n.lib.BlockCipherMode.extend()).Encryptor=a.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,a=this._iv,i=this._keystream;a&&(i=this._keystream=a.slice(0),this._iv=void 0),r.encryptBlock(i,0);for(var o=0;o<n;o++)e[t+o]^=i[o]}}),a.Decryptor=i,a),n.mode.OFB)},{"26be4bcd9270328c":"6dayE","827fa2cf583dbf3f":"fiMWt"}],"9Pshe":[function(e,t,r){var n,a;t.exports=(n=e("4bb76acc2aaa6fdd"),e("f7fd8399632190ae"),n.mode.ECB=((a=n.lib.BlockCipherMode.extend()).Encryptor=a.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),a.Decryptor=a.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),a),n.mode.ECB)},{"4bb76acc2aaa6fdd":"6dayE",f7fd8399632190ae:"fiMWt"}],"7iiSC":[function(e,t,r){var n;t.exports=(n=e("655f8cc9ca5eb2ce"),e("5c1782efee2c6874"),n.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,a=n-r%n,i=r+a-1;e.clamp(),e.words[i>>>2]|=a<<24-i%4*8,e.sigBytes+=a},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)},{"655f8cc9ca5eb2ce":"6dayE","5c1782efee2c6874":"fiMWt"}],O1Dxw:[function(e,t,r){var n;t.exports=(n=e("5c66ff56d234cbf"),e("fcb5c1ae9ec239c4"),n.pad.Iso10126={pad:function(e,t){var r=4*t,a=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(a-1)).concat(n.lib.WordArray.create([a<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},{"5c66ff56d234cbf":"6dayE",fcb5c1ae9ec239c4:"fiMWt"}],"7LkK3":[function(e,t,r){var n;t.exports=(n=e("44479225b8698d21"),e("ef25b57e3868eb7f"),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)},{"44479225b8698d21":"6dayE",ef25b57e3868eb7f:"fiMWt"}],l3Q7a:[function(e,t,r){var n;t.exports=(n=e("87af21168aa44acb"),e("133ca1805bb6433e"),n.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){for(var t=e.words,r=e.sigBytes-1,r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},n.pad.ZeroPadding)},{"87af21168aa44acb":"6dayE","133ca1805bb6433e":"fiMWt"}],"2BPWw":[function(e,t,r){var n;t.exports=(n=e("aa3c737d0aca3c8c"),e("48009bd77daa7164"),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},{aa3c737d0aca3c8c:"6dayE","48009bd77daa7164":"fiMWt"}],cHfOT:[function(e,t,r){var n,a,i;t.exports=(n=e("21b80cefb2d8bce5"),e("edcb376f8d1cabe8"),a=n.lib.CipherParams,i=n.enc.Hex,n.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return a.create({ciphertext:t})}},n.format.Hex)},{"21b80cefb2d8bce5":"6dayE",edcb376f8d1cabe8:"fiMWt"}],"6OxFr":[function(e,t,r){var n,a,i,o,s,c,u,l,f,d,h,p,v,m,g;t.exports=(n=e("16bcadd944502d8b"),e("5d6f4d12778ce0e2"),e("50eb63fc72836bd1"),e("7dfc9b682a0ce247"),e("3a168c81f3f01a90"),a=n.lib.BlockCipher,i=n.algo,o=[],s=[],c=[],u=[],l=[],f=[],d=[],h=[],p=[],v=[],function(){for(var e=[],t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var r=0,n=0,t=0;t<256;t++){var a=n^n<<1^n<<2^n<<3^n<<4;a=a>>>8^255&a^99,o[r]=a,s[a]=r;var i=e[r],m=e[i],g=e[m],b=257*e[a]^16843008*a;c[r]=b<<24|b>>>8,u[r]=b<<16|b>>>16,l[r]=b<<8|b>>>24,f[r]=b;var b=16843009*g^65537*m^257*i^16843008*r;d[a]=b<<24|b>>>8,h[a]=b<<16|b>>>16,p[a]=b<<8|b>>>24,v[a]=b,r?(r=i^e[e[e[g^i]]],n^=e[e[n]]):r=n=1}}(),m=[0,1,2,4,8,16,32,64,128,27,54],g=i.AES=a.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e,t=this._keyPriorReset=this._key,r=t.words,n=t.sigBytes/4,a=((this._nRounds=n+6)+1)*4,i=this._keySchedule=[],s=0;s<a;s++)s<n?i[s]=r[s]:(e=i[s-1],s%n?n>6&&s%n==4&&(e=o[e>>>24]<<24|o[e>>>16&255]<<16|o[e>>>8&255]<<8|o[255&e]):e=(o[(e=e<<8|e>>>24)>>>24]<<24|o[e>>>16&255]<<16|o[e>>>8&255]<<8|o[255&e])^m[s/n|0]<<24,i[s]=i[s-n]^e);for(var c=this._invKeySchedule=[],u=0;u<a;u++){var s=a-u;if(u%4)var e=i[s];else var e=i[s-4];u<4||s<=4?c[u]=e:c[u]=d[o[e>>>24]]^h[o[e>>>16&255]]^p[o[e>>>8&255]]^v[o[255&e]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,c,u,l,f,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,d,h,p,v,s);var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,a,i,o,s){for(var c=this._nRounds,u=e[t]^r[0],l=e[t+1]^r[1],f=e[t+2]^r[2],d=e[t+3]^r[3],h=4,p=1;p<c;p++){var v=n[u>>>24]^a[l>>>16&255]^i[f>>>8&255]^o[255&d]^r[h++],m=n[l>>>24]^a[f>>>16&255]^i[d>>>8&255]^o[255&u]^r[h++],g=n[f>>>24]^a[d>>>16&255]^i[u>>>8&255]^o[255&l]^r[h++],b=n[d>>>24]^a[u>>>16&255]^i[l>>>8&255]^o[255&f]^r[h++];u=v,l=m,f=g,d=b}var v=(s[u>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&d])^r[h++],m=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[d>>>8&255]<<8|s[255&u])^r[h++],g=(s[f>>>24]<<24|s[d>>>16&255]<<16|s[u>>>8&255]<<8|s[255&l])^r[h++],b=(s[d>>>24]<<24|s[u>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^r[h++];e[t]=v,e[t+1]=m,e[t+2]=g,e[t+3]=b},keySize:8}),n.AES=a._createHelper(g),n.AES)},{"16bcadd944502d8b":"6dayE","5d6f4d12778ce0e2":"dQJ4T","50eb63fc72836bd1":"jxWg5","7dfc9b682a0ce247":"u3uJj","3a168c81f3f01a90":"fiMWt"}],cOrzN:[function(e,t,r){var n;t.exports=(n=e("62629f7fb07c1dd7"),e("feb8e609cc5885ca"),e("6ec5b2354b411f51"),e("b62ab3b1c080ae4c"),e("baa70509b18bd19a"),function(){var e=n.lib,t=e.WordArray,r=e.BlockCipher,a=n.algo,i=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],l=a.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=i[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var a=this._subKeys=[],c=0;c<16;c++){for(var u=a[c]=[],l=s[c],r=0;r<24;r++)u[r/6|0]|=t[(o[r]-1+l)%28]<<31-r%6,u[4+(r/6|0)]|=t[28+(o[r+24]-1+l)%28]<<31-r%6;u[0]=u[0]<<1|u[0]>>>31;for(var r=1;r<7;r++)u[r]=u[r]>>>(r-1)*4+3;u[7]=u[7]<<5|u[7]>>>27}for(var f=this._invSubKeys=[],r=0;r<16;r++)f[r]=a[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],f.call(this,4,252645135),f.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),f.call(this,1,1431655765);for(var n=0;n<16;n++){for(var a=r[n],i=this._lBlock,o=this._rBlock,s=0,l=0;l<8;l++)s|=c[l][((o^a[l])&u[l])>>>0];this._lBlock=o,this._rBlock=i^s}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,f.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function d(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}n.DES=r._createHelper(l);var h=a.TripleDES=r.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var r=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),a=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=l.createEncryptor(t.create(r)),this._des2=l.createEncryptor(t.create(n)),this._des3=l.createEncryptor(t.create(a))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});n.TripleDES=r._createHelper(h)}(),n.TripleDES)},{"62629f7fb07c1dd7":"6dayE",feb8e609cc5885ca:"dQJ4T","6ec5b2354b411f51":"jxWg5",b62ab3b1c080ae4c:"u3uJj",baa70509b18bd19a:"fiMWt"}],"7yfB8":[function(e,t,r){var n;t.exports=(n=e("5adebd8db4e1f724"),e("d5eba26e964b3fe3"),e("be6b5d0f312e7e5b"),e("900f02bdbb6a3882"),e("ff3bd2d58928df2c"),function(){var e=n.lib.StreamCipher,t=n.algo,r=t.RC4=e.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],a=0;a<256;a++)n[a]=a;for(var a=0,i=0;a<256;a++){var o=a%r,s=t[o>>>2]>>>24-o%4*8&255;i=(i+n[a]+s)%256;var c=n[a];n[a]=n[i],n[i]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,r=this._j,n=0,a=0;a<4;a++){r=(r+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[r],e[r]=i,n|=e[(e[t]+e[r])%256]<<24-8*a}return this._i=t,this._j=r,n}n.RC4=e._createHelper(r);var i=t.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});n.RC4Drop=e._createHelper(i)}(),n.RC4)},{"5adebd8db4e1f724":"6dayE",d5eba26e964b3fe3:"dQJ4T",be6b5d0f312e7e5b:"jxWg5","900f02bdbb6a3882":"u3uJj",ff3bd2d58928df2c:"fiMWt"}],"6eplX":[function(e,t,r){var n;t.exports=(n=e("dce97015fe9c299f"),e("543b66e1a17bbf5f"),e("2dee0f2a2cc0a874"),e("6b6c48cc5ac6eba4"),e("6297c11c0d21147a"),function(){var e=n.lib.StreamCipher,t=n.algo,r=[],a=[],i=[],o=t.Rabbit=e.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=(e[r]<<8|e[r]>>>24)&16711935|(e[r]<<24|e[r]>>>8)&4278255360;var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],a=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)s.call(this);for(var r=0;r<8;r++)a[r]^=n[r+4&7];if(t){var i=t.words,o=i[0],c=i[1],u=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360,l=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,f=u>>>16|4294901760&l,d=l<<16|65535&u;a[0]^=u,a[1]^=f,a[2]^=l,a[3]^=d,a[4]^=u,a[5]^=f,a[6]^=l,a[7]^=d;for(var r=0;r<4;r++)s.call(this)}},_doProcessBlock:function(e,t){var n=this._X;s.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var a=0;a<4;a++)r[a]=(r[a]<<8|r[a]>>>24)&16711935|(r[a]<<24|r[a]>>>8)&4278255360,e[t+a]^=r[a]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,r=0;r<8;r++)a[r]=t[r];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0;for(var r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,u=((4294901760&n)*n|0)+((65535&n)*n|0);i[r]=c^u}e[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,e[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,e[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,e[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,e[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,e[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,e[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,e[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}n.Rabbit=e._createHelper(o)}(),n.Rabbit)},{dce97015fe9c299f:"6dayE","543b66e1a17bbf5f":"dQJ4T","2dee0f2a2cc0a874":"jxWg5","6b6c48cc5ac6eba4":"u3uJj","6297c11c0d21147a":"fiMWt"}],iooAT:[function(e,t,r){var n;t.exports=(n=e("4b15b17a67843352"),e("5fb7ffe89dc864c6"),e("2203652551377e3e"),e("5b0030ff2473b4d4"),e("7a115a0bc4f30748"),function(){var e=n.lib.StreamCipher,t=n.algo,r=[],a=[],i=[],o=t.RabbitLegacy=e.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var a=0;a<4;a++)s.call(this);for(var a=0;a<8;a++)n[a]^=r[a+4&7];if(t){var i=t.words,o=i[0],c=i[1],u=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360,l=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,f=u>>>16|4294901760&l,d=l<<16|65535&u;n[0]^=u,n[1]^=f,n[2]^=l,n[3]^=d,n[4]^=u,n[5]^=f,n[6]^=l,n[7]^=d;for(var a=0;a<4;a++)s.call(this)}},_doProcessBlock:function(e,t){var n=this._X;s.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var a=0;a<4;a++)r[a]=(r[a]<<8|r[a]>>>24)&16711935|(r[a]<<24|r[a]>>>8)&4278255360,e[t+a]^=r[a]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,r=0;r<8;r++)a[r]=t[r];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0;for(var r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,u=((4294901760&n)*n|0)+((65535&n)*n|0);i[r]=c^u}e[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,e[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,e[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,e[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,e[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,e[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,e[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,e[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}n.RabbitLegacy=e._createHelper(o)}(),n.RabbitLegacy)},{"4b15b17a67843352":"6dayE","5fb7ffe89dc864c6":"dQJ4T","2203652551377e3e":"jxWg5","5b0030ff2473b4d4":"u3uJj","7a115a0bc4f30748":"fiMWt"}],b99Gh:[function(e,t,r){var n;t.exports=(n=e("6c1b1f80a09547ea"),e("76a4278a3203b7b3"),e("31b1f7acda670f6"),e("c8a50eb69fdf3b02"),e("3c354e713d4cd19b"),function(){var e=n.lib.BlockCipher,t=n.algo;let r=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],a=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var i={pbox:[],sbox:[]};function o(e,t){let r=e.sbox[0][t>>24&255]+e.sbox[1][t>>16&255];return r^=e.sbox[2][t>>8&255],r+=e.sbox[3][255&t]}function s(e,t,r){let n,a=t,i=r;for(let t=0;t<16;++t)a^=e.pbox[t],i=o(e,a)^i,n=a,a=i,i=n;return n=a,a=i,i=n^e.pbox[16],{left:a^=e.pbox[17],right:i}}var c=t.Blowfish=e.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key;!function(e,t,n){for(let t=0;t<4;t++){e.sbox[t]=[];for(let r=0;r<256;r++)e.sbox[t][r]=a[t][r]}let i=0;for(let a=0;a<18;a++)e.pbox[a]=r[a]^t[i],++i>=n&&(i=0);let o=0,c=0,u=0;for(let t=0;t<18;t+=2)o=(u=s(e,o,c)).left,c=u.right,e.pbox[t]=o,e.pbox[t+1]=c;for(let t=0;t<4;t++)for(let r=0;r<256;r+=2)o=(u=s(e,o,c)).left,c=u.right,e.sbox[t][r]=o,e.sbox[t][r+1]=c}(i,e.words,e.sigBytes/4)}},encryptBlock:function(e,t){var r=s(i,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=function(e,t,r){let n,a=t,i=r;for(let t=17;t>1;--t)a^=e.pbox[t],i=o(e,a)^i,n=a,a=i,i=n;return n=a,a=i,i=n^e.pbox[1],{left:a^=e.pbox[0],right:i}}(i,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});n.Blowfish=e._createHelper(c)}(),n.Blowfish)},{"6c1b1f80a09547ea":"6dayE","76a4278a3203b7b3":"dQJ4T","31b1f7acda670f6":"jxWg5",c8a50eb69fdf3b02:"u3uJj","3c354e713d4cd19b":"fiMWt"}],fcM9g:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"checkLogin",()=>s),n.export(r,"getResourceById",()=>c),n.export(r,"getPluginConfig",()=>u),n.export(r,"getPluginInstallReport",()=>l),n.export(r,"updatePluginInstallReport",()=>f),n.export(r,"postConfirmInvitation",()=>d),n.export(r,"postUsageReport",()=>h),n.export(r,"sendEncryptedLog",()=>p),n.export(r,"getCupidResource",()=>v),n.export(r,"getWWUserRedPointInfo",()=>m),n.export(r,"getOfferRemarkCnt",()=>g),n.export(r,"batchGetOfferData",()=>b);var a=e("~common/const"),i=e("~common/utils"),o=e("~libs/mtop");async function s(){let e=await (0,o.mtopRequest)({api:"mtop.1688.pc.plugin.user.login.get",v:"1.0",data:{}}),{[a.STORAGE_KEY_IS_LOGIN]:t,[a.STORAGE_KEY_LOGIN_ID]:r,[a.STORAGE_KEY_USER_ID]:n}=await (0,i.getExtensionLocalStorage)([a.STORAGE_KEY_IS_LOGIN,a.STORAGE_KEY_LOGIN_ID,a.STORAGE_KEY_USER_ID,a.STORAGE_KEY_REAL_TIME_USER_ID]),s=e?e?.error?.type===o.ResponseType.SESSION_EXPIRED?{isLogin:!1}:{isLogin:e?.data?.isLogin==="true",loginId:e?.data?.loginId,userId:e?.data?.userId}:{isLogin:t,loginId:r,userId:n},c={[a.STORAGE_KEY_IS_LOGIN]:s.isLogin,[a.STORAGE_KEY_REAL_TIME_USER_ID]:s.isLogin?s.userId:""};return(s.loginId||s.userId)&&(c[a.STORAGE_KEY_LOGIN_ID]=s.loginId,c[a.STORAGE_KEY_USER_ID]=s.userId),await chrome.storage.local.set(c),s}async function c(e){let t=await (0,o.mtopRequest)({api:"mtop.1688.pc.plugin.resource.get",v:"1.0",data:{resourceId:e}});return t?.data?.result||[]}async function u(e){let t=await (0,o.mtopRequest)({api:"mtop.1688.pc.plugin.frontend.config.get",v:"1.0",data:{configId:e}});return t.data}async function l(e,t,r){let n=await (0,o.mtopRequest)({api:"mtop.1688.pc.plugin.install.report",v:"1.1",data:{trackId:e,uuid:t,method:r}});return n.data}async function f(e,t,r){let n=await (0,o.mtopRequest)({api:"mtop.1688.pc.plugin.attribution.method.update",v:"1.0",data:{trackId:e,uuid:t,method:r}});return n.data?.result}async function d(e){let t=await (0,o.mtopRequest)({api:"mtop.1688.pc.plugin.fission.invitation.confirm",v:"1.0",data:{uuid:e}});return t.data}async function h(e,t){let r=await (0,o.mtopRequest)({api:"mtop.1688.pc.plugin.usage.report",v:"1.0",data:{cna:t,uuid:e,version:chrome.runtime.getManifest().version,env:a.ENV_TAG}});return r.data}async function p(e){let t=await (0,o.mtopRequest)({api:"mtop.1688.pc.plugin.collected.data.report",v:"1.0",data:{data:e}});return t.data}async function v(e,t){let r=await (0,o.mtopRequest)({api:"mtop.alibaba.cbu.cupid.resource.getResourceData",v:"2.0",data:{resourceId:e,paramsStr:JSON.stringify({userId:t})}},{isCupid:!0});return r.data}async function m(e){let t=await (0,o.mtopRequest)({api:"mtop.1688.pc.plugin.im.user.red.point",v:"1.0",data:e},{needEncrypt:!0});if(-1!==t.code&&!(t.data instanceof Array))return t?.data?.model}async function g(e){let t=await (0,o.mtopRequest)({api:"mtop.1688.pc.plugin.selection.production.stats.query",v:"1.0",data:{offerId:e}},{needEncrypt:!0});return t.data}async function b(e){let t=[];for(let r=0;r<e.length;r+=20)t.push(e.slice(r,r+20));let r=await Promise.allSettled(t.map(e=>(0,o.mtopRequest)({api:"mtop.1688.pc.plugin.selection.normal.info",v:"1.0",data:{offerIds:e}},{needEncrypt:!0}))),n=[];return r.forEach(e=>{if("fulfilled"===e.status){let t=e?.value?.data?.result;Array.isArray(t)&&n.push(...t)}}),n}},{"~common/const":"bkfUq","~common/utils":"kYpGH","~libs/mtop":"6eepW","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6eepW":[function(e,t,r){var n,a,i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"ResponseType",()=>a),i.export(r,"abortableMtopRequest",()=>v),i.export(r,"mtopRequest",()=>m);var o=e("@ali/1688-marketmate-lib"),s=e("~background/log"),c=e("~common/const"),u=e("~common/type"),l=e("~common/utils"),f=e("./logger"),d=e("./secure-token-pool");(0,o.mtop)(),(0,f.mountLogger)();let h=globalThis?.lib?.mtop;(n=a||(a={}))[n.ERROR=0]="ERROR",n[n.SUCCESS=1]="SUCCESS",n[n.TOKEN_EXPIRED=2]="TOKEN_EXPIRED",n[n.SESSION_EXPIRED=3]="SESSION_EXPIRED";let p=["FAIL_SYS_SESSION_EXPIRED","FAIL_SYS_ILLEGAL_ACCESS","FAIL_SYS_TOKEN_EMPTY","FAIL_SYS_TOKEN_ILLEGAL"];async function v(e,t){let{method:r,noWapa:n,prefix:i,subDomain:o,mainDomain:s,...f}=e,{[c.STORAGE_KEY_OPTIONS]:p}=await (0,l.getExtensionLocalStorage)(c.STORAGE_KEY_OPTIONS)||{},v=p?.[u.OptionsKey.LANGUAGE]||c.DEFAULT_LANGUAGE;r&&(f.type=r||"GET");let m={NeedAuthToken:t?.needEncrypt,DeclareExtensionHost:!0};if(t?.needEncrypt)try{let e=await (0,l.getUUID)(),{version:t}=chrome.runtime.getManifest(),r=await (0,d.waitForToken)();m.metaInfo={token:r,version:t,uuid:e}}catch(e){}let{[c.STORAGE_KEY_MTOP_ENV_SWITCH]:w}=await (0,l.getExtensionLocalStorage)(c.STORAGE_KEY_MTOP_ENV_SWITCH);c.ENV_TAG===c.ENV.PRODUCTION||n||!1===w?h.config.subDomain=o||"m":(h.config.subDomain=o||"wapa",t?.isCupid&&(f.data={...f.data||{},draft:!0})),h.config.prefix=i||"h5api",h.config.mainDomain=s||"1688.com";let{promise:S,abort:E}=function(e){let t=new AbortController,r=new Promise((r,n)=>{e(r,n,t.signal)});return{promise:r,abort:()=>t.abort()}}((r,n,i)=>{let o=_();h.request({v:"1.0",prefix:"h5api",appKey:12574478,jsv:"2.7.3",dataType:"json",...f,customConfig:m,ext_headers:{"X-Accept-Language":v},fetchInitConfig:{signal:i}},n=>{let i=y(n);i===a.SUCCESS?r({code:0,data:n?.data}):r({code:-1,error:{type:i,message:n?.ret||[]}});let s=_(),c=g(n?.ret||[]);b({api:t?.reportApi||e.api,timing:s-o,success:0===n.retType||c,message:{...n,data:void 0}})},n=>{let a=y(n);r({code:-1,error:{type:a,message:n.ret||[]}});let i=_(),s=g(n.ret||[]);b({api:t?.reportApi||e.api,timing:i-o,success:s,message:n})})});return{promise:S,abort:E}}async function m(e,t){let{promise:r}=await v(e,t);return r}function g(e){return p.some(t=>e[0]?.includes(t))}function b(e){try{let{api:t,timing:r,success:n,message:a}=e;(0,s.sendLog)({type:"metrics",target:"mtop",api:t,success:n,timing:r,extra:{message:a}},u.LogSource.API)}catch(e){console.warn(e)}}function y(e){let t=e.ret||"";return Array.isArray(t)&&(t=t.join(",")),t.indexOf("SUCCESS")>-1?a.SUCCESS:t.indexOf("TOKEN_EMPTY")>-1||t.indexOf("TOKEN_EXOIRED")>-1?a.TOKEN_EXPIRED:t.indexOf("SESSION_EXPIRED")>-1||t.indexOf("SID_INVALID")>-1||t.indexOf("AUTH_REJECT")>-1||t.indexOf("NEED_LOGIN")>-1?a.SESSION_EXPIRED:a.ERROR}function _(){return Math.floor(100*performance.now())/100}},{"@ali/1688-marketmate-lib":"jURHk","~background/log":"5w5vQ","~common/const":"bkfUq","~common/type":"1PlmV","~common/utils":"kYpGH","./logger":"2Jn8P","./secure-token-pool":"e7j2r","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"2Jn8P":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"mountLogger",()=>s);var a=e("@ali/1688-marketmate-lib"),i=e("./../common/const"),o=e("./../common/utils");let s=async()=>{try{let e=await (0,o.getUUID)(),{[i.STORAGE_KEY_LOGIN_ID]:t,[i.STORAGE_KEY_USER_ID]:r,[i.STORAGE_KEY_IS_LOGIN]:n,[i.STORAGE_KEY_IS_NUMBER_BROWSER]:s}=await (0,o.getExtensionLocalStorage)([i.STORAGE_KEY_LOGIN_ID,i.STORAGE_KEY_USER_ID,i.STORAGE_KEY_IS_LOGIN,i.STORAGE_KEY_IS_NUMBER_BROWSER]),c=navigator.userAgent;s&&(c+=" 360");let u={uuid:e,loginId:t,userId:r,isLogin:n,version:chrome.runtime.getManifest().version,env:i.ENV_TAG,package:i.ENV_PACKAGE,ua:c};(0,a.logger).updateLoggerInfo(u)}catch(e){}}},{"@ali/1688-marketmate-lib":"jURHk","./../common/const":"bkfUq","./../common/utils":"kYpGH","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],e7j2r:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"TokenWaitingPool",()=>o),n.export(r,"waitForToken",()=>s);var a=e("~common/const"),i=e("~common/utils");class o{static getInstance(){return o.instance||(o.instance=new o),o.instance}setHeartbeatStatus(e){this.heartbeatPromise=e}isHeartbeatInProgress(){return null!==this.heartbeatPromise}async waitForToken(){let e=await this.getExistingToken();if(e)return e;if(this.isHeartbeatInProgress())try{return await this.heartbeatPromise,await this.getExistingToken()}catch(e){}return null}async getExistingToken(){try{let{[a.STORAGE_KEY_CRYPTO]:e}=await (0,i.getExtensionLocalStorage)(a.STORAGE_KEY_CRYPTO);if(e&&"string"==typeof e)return e}catch(e){}return null}constructor(){this.heartbeatPromise=null}}async function s(){let e=o.getInstance();return e.waitForToken()}},{"~common/const":"bkfUq","~common/utils":"kYpGH","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8Rm1G":[function(e,t,r){let n;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"getEnableDebugLog",()=>s),a.export(r,"consoleLog",()=>c),a.export(r,"consoleError",()=>u),a.export(r,"consoleInfo",()=>l),a.export(r,"consoleWarn",()=>f),a.export(r,"consoleTable",()=>d);var i=e("~common/const"),o=e("~common/utils");let s=async()=>{if(i.ENV_TAG!==i.ENV.PRODUCTION)return!0;if(void 0!==n)return n;let{[i.STORAGE_KEY_ENABLE_DEBUG_LOG]:e}=await (0,o.getExtensionLocalStorage)(i.STORAGE_KEY_ENABLE_DEBUG_LOG);return n=!0===e},c=async(e,...t)=>{let r=await s();r&&console.log(e,...t)},u=async(e,...t)=>{let r=await s();r&&console.error(e,...t)},l=async(e,...t)=>{let r=await s();r&&console.info(e,...t)},f=async(e,...t)=>{let r=await s();r&&console.warn(e,...t)},d=async(e,t)=>{let r=await s();r&&console.table(e,t)}},{"~common/const":"bkfUq","~common/utils":"kYpGH","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8dFwT":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"ImageProcessor",()=>a);class a{static convertCssPixelsToNumber(e){return parseFloat(e)}static parseImageData(e){let{top:t,left:r,width:n,height:a,cropWidth:i,cropHeight:o,backgroundImage:s}=e||{};return{originalWidth:n,originalHeight:a,cropWidth:i,cropHeight:o,base64Data:s,offsetLeft:r,offsetTop:t}}static async cropImageFromSource(e){let{base64Data:t,originalWidth:r,originalHeight:n,offsetLeft:a,offsetTop:i,cropWidth:o,cropHeight:s,quality:c=.8}=e;return new Promise((e,u)=>{if(!t){u(Error("base64Data \u4e0d\u80fd\u4e3a\u7a7a"));return}if(o<=0||s<=0){u(Error("\u622a\u53d6\u5c3a\u5bf8\u5fc5\u987b\u5927\u4e8e0"));return}if(isNaN(r)||isNaN(n)){u(Error(`\u6ca1\u6709\u83b7\u53d6\u5230\u56fe\u7247\u5c3a\u5bf8: width: ${r}; height: ${n}`));return}let l=new Image;l.crossOrigin="anonymous",l.onload=()=>{let t=l.naturalWidth/r,f=l.naturalHeight/n,d=document.createElement("canvas");d.width=o*t,d.height=s*f;let h=d.getContext("2d");if(!h){u(Error("\u65e0\u6cd5\u521b\u5efacanvas\u4e0a\u4e0b\u6587"));return}try{h.drawImage(l,-a*t,-i*f,o*t,s*f,0,0,o*t,s*f);let r=d.toDataURL("image/jpeg",c);if("data:,"===r){u(Error(`\u751f\u6210\u7684base64\u6570\u636e\u65e0\u6548: ${r.slice(0,100)}`));return}e(r)}catch(e){u(Error(`\u56fe\u7247\u622a\u53d6\u5931\u8d25: ${e.message}`))}},l.onerror=e=>{u(Error(`\u539f\u56fe\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5base64\u6570\u636e\u662f\u5426\u6b63\u786e: ${JSON.stringify(e)}`))};let f=`${t}`;l.src=f})}static base64ToFile(e,t,r){let n=atob(e.split(",")[1]),a=Array(n.length);for(let e=0;e<n.length;e++)a[e]=n.charCodeAt(e);let i=new Uint8Array(a),o=new Blob([i],{type:r}),s=new File([o],t,{type:r});return s}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],hrDg8:[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"AiPickErrorCode",()=>n),a.export(r,"getAiPickPermission",()=>l),a.export(r,"uploadBase64Img",()=>f),a.export(r,"aiPick",()=>d);var i=e("@ali/mui-data-loader"),o=e("~common/const"),s=e("~common/utils"),c=e("~libs/mtop"),u=e("./store");async function l(){let e=await (0,c.mtopRequest)({api:"mtop.cbu.pc.tiansuo.engine.dialog.access",bizType:"plugin_img_search_ai_select",v:"1.0",data:{sceneCode:u.AI_SEARCH_SCENE_CODE,bizParam:{}}});return e.data}(n||(n={})).INVALID_ACCESS="CPTE-BASE-BIZ-ACCESS_REJECT";let f=async e=>{let t=await (0,c.mtopRequest)({api:"mtop.1688.wechat.image.upload.normal",v:"1.0",method:"POST",data:{base64Image:e}});if(0!==t.code)throw Error(JSON.stringify(t));return t.data},d=async(e,t)=>{let{[o.STORAGE_KEY_MTOP_ENV_SWITCH]:r}=await (0,s.getExtensionLocalStorage)(o.STORAGE_KEY_MTOP_ENV_SWITCH);return new Promise(n=>{let a=new i.Stream;a.createStream({msgInitial:{queryString:"",sceneCode:u.AI_SEARCH_SCENE_CODE},bizParams:{picUrl:e}},{accessToken:t},{environment:o.ENV_TAG!==o.ENV.PRODUCTION&&(r??!0)?"pre":"prod",bizType:"plugin_img_search_ai_select"}).onStreamStart(e=>{a.destroy(),n({code:0,data:{messageInfo:{messageStatus:e?.msgStatus,sceneCode:u.AI_SEARCH_SCENE_CODE,sessionId:e.sessionId,msgId:e.msgId||""}}})}).onStreamFail(e=>{n({code:-1,error:{type:c.ResponseType.ERROR,message:e}})})})}},{"@ali/mui-data-loader":"brAyZ","~common/const":"bkfUq","~common/utils":"kYpGH","~libs/mtop":"6eepW","./store":"eRJ1i","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],brAyZ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getSessionList",()=>o.getSessionList),n.export(r,"getMessageList",()=>s.getMessageList),n.export(r,"getMsgDetail",()=>c.getMsgDetail),n.export(r,"saveMsg",()=>c.saveMsg),n.export(r,"getAssetsToken",()=>c.getAssetsToken),n.export(r,"Stream",()=>i.default);var a=e("./stream"),i=n.interopDefault(a),o=e("./scene"),s=e("./session"),c=e("./message")},{"./stream":"iSjuX","./scene":"d8uow","./session":"YRBPP","./message":"4ElEW","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],iSjuX:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("@swc/helpers/_/_assert_this_initialized"),i=e("@swc/helpers/_/_class_call_check"),o=e("@swc/helpers/_/_create_class"),s=e("@swc/helpers/_/_define_property"),c=e("@swc/helpers/_/_inherits"),u=e("@swc/helpers/_/_object_spread"),l=e("@swc/helpers/_/_object_spread_props"),f=e("@swc/helpers/_/_create_super"),d=e("./server"),h=n.interopDefault(d),p=e("../utils/util"),v=e("../const"),m=e("../utils/tracker"),g=n.interopDefault(m),b=e("./helper"),y=e("./storage"),_=n.interopDefault(y),w={chunkIndex:1,chunkCount:1,chunkDetail:[],failedReasonDetail:[]},S=function(e){(0,c._)(r,e);var t=(0,f._)(r);function r(e){(0,i._)(this,r);var n,o=e||{},c=o.maxRetryCount,u=o.isRetryFailCanContinue,l=o.isAbortFinishCanContinue,f=o.isCoverNeedChunksSource;return o.sceneCode,o.bizType,n=t.call(this,{maxRetryCount:c}),(0,s._)((0,a._)(n),"processChunk",function(e,t){var r,a,i=e.compId,o=e.propCode,s=e.incremental,c=e.dynamicData;t?(0,p.debugConsole).info("~~~~stream/index.ts,processChunkFirst~~~~"):(0,p.debugConsole).infoPro("~~~~stream/index.ts,processChunk~~~~");var u=n.compsInfo.find(function(e){return e.id===i});if(!u){(0,p.debugConsole).error("~~~~stream/index.ts,processChunk~~~~,\u7ec4\u4ef6\u5217\u8868\u4e2d\u6ca1\u6709\u5f53\u524dchunk\u6240\u5c5e\u7684\u7ec4\u4ef6\uff0ccompId\uff0cthis.compsInfo",i,n.compsInfo);return}u.streamData[o]=c,(n.isCoverNeedChunksSource||s)&&(null==u||null===(a=u.chunksSource)||void 0===a||null===(r=a[o])||void 0===r||r.push(c)),t?(0,p.debugConsole).info("this.compsInfo\u3001this.streamInfo\uff1a",n.compsInfo,n.streamInfo):(0,p.debugConsole).infoPro("this.compsInfo\u3001this.streamInfo\uff1a",n.compsInfo,n.streamInfo),n.streamHandlers.onUpdate(),t&&n.streamHandlers.onFirstData&&n.streamHandlers.onFirstData()}),n.streamInstanceId="dataloader".concat(Date.now()),n.initStatusJudge({isRetryFailCanContinue:u,isAbortFinishCanContinue:l}),n.isCoverNeedChunksSource=f,n.streamHandlers={onStart:function(e){(0,p.debugConsole).info("~~~~stream/index.ts,handleStart~~~~,\u6d41\u5f00\u59cb\u4e86",e)},onLayout:function(){(0,p.debugConsole).info("~~~~stream/index.ts,handleLayout~~~~,\u7b2c\u4e00\u4e2amsg chunk\u5e03\u5c40\u6570\u636e\u6765\u4e86\uff0c",n.compsInfo,n.streamInfo)},onFirstData:function(){(0,p.debugConsole).info("~~~~stream/index.ts,handleFirstData~~~~,\u7b2c\u4e8c\u4e2amsg chunk\u6709AI\u56de\u7b54\u7684\u6570\u636e\u4e86\uff0c",n.compsInfo,n.streamInfo)},onUpdate:function(){(0,p.debugConsole).info("~~~~stream/index.ts,handleUpdate~~~~,\u6301\u7eed\u66f4\u65b0...\uff0c",n.compsInfo,n.streamInfo)},onFinish:function(){(0,p.debugConsole).info("~~~~stream/index.ts,handleFinish~~~~,\u6d41\u6210\u529f\u7684\u7ed3\u675f\u4e86\uff0c",n.streamInfo)},onAbort:function(){(0,p.debugConsole).info("~~~~stream/index.ts,handleAbort~~~~,\u6d41\u88ab\u4e1a\u52a1\u4e3b\u52a8\u4e2d\u65ad\u4e86\uff0c",n.streamInfo)},onError:function(e){(0,p.debugConsole).error("~~~~stream/index.ts,handleError~~~~,\u6d41\u51fa\u9519\u4e86\uff0c",n.streamInfo,"error:",e)},onRetry:function(e){(0,p.debugConsole).warn("~~~~stream/index.ts,handleRetry~~~~,\u6d41\u91cd\u8bd5\u5931\u8d25\u4e86\uff0c",n.streamInfo,"error:",e)},onHistory:function(){(0,p.debugConsole).info("~~~~stream/index.ts,handleHistory~~~~,\u6d41\u7684\u5386\u53f2\u6570\u636e\uff0c",n.streamInfo)}},window.addEventListener("beforeunload",function(){n.abortAndStoreIfNeed()}),n.streamStorage=new _.default,n}return(0,o._)(r,[{key:"resetLocalData",value:function(){this.streamInfo=(0,u._)({},w),this.messageInfo=(0,b.otherHelpers).getMessageInfoFromStreamInfo(this.streamInfo),this.compsInfo=[]}},{key:"abortAndStoreIfNeed",value:function(e){var t;if((null===(t=this.streamInfo)||void 0===t?void 0:t.msgStatus)==v.MSG_STATUS.generating.generating||e){(0,p.debugConsole).info("~~~~stream/index.ts,abortAndStoreIfNeed~~~~,".concat(e?"\u7528\u6237":"\u7cfb\u7edf","\u4e3b\u52a8\u4e2d\u65ad\u5f53\u524d\u5b9e\u4f8b\u4e2d\u7684\u6d41\u5e76\u5b58\u5230storage\u4e2d")),null===(n=this.streamContext)||void 0===n||null===(r=n.abort)||void 0===r||r.call(n);var r,n,a=this.streamInfo,i=this.compsInfo;(0,_.default).setMsg(a.msgId,{streamInfo:a,compsInfo:i})}}},{key:"initStatusJudge",value:function(e){var t=e.isRetryFailCanContinue,r=e.isAbortFinishCanContinue,n=[v.MSG_STATUS.generating.generating],a=[v.MSG_STATUS.failed.allFailed,v.MSG_STATUS.failed.halfFailed],i=[v.MSG_STATUS.finished.allFinished,v.MSG_STATUS.finished.halfFinished];t?n.push(v.MSG_STATUS.failed.retryFailed):a.push(v.MSG_STATUS.failed.retryFailed),r?n.push(v.MSG_STATUS.finished.abortFinished):i.push(v.MSG_STATUS.finished.abortFinished),this.judgeStatus={canContinue:function(e){return n.includes(e)},isFailed:function(e){return a.includes(e)},isFinish:function(e){return i.includes(e)}}}},{key:"processLayout",value:function(e){var t=e.componentList;(0,p.debugConsole).info("~~~~stream/index.ts\uff0cprocessLayout~~~~");var r=t.reduce(function(e,t){var r=t.componentInstanceId,n=t.cdnUrl,a=t.chunkList,i=t.staticConfig;if(r){var o=(a||[]).reduce(function(e,t){e[t.propCode]=[]},{});e.push({id:r,name:r,url:n,staticConfig:i,streamData:{},chunksSource:o})}return e},[]);this.compsInfo=r,(0,p.debugConsole).info("this.compsInfo",this.compsInfo),this.streamHandlers.onLayout()}},{key:"createStream",value:function(e,t,r){var n=e.msgInitial,a=e.bizParams,i=e.bizEnvironment,o=e.extParams;return(0,p.debugConsole).info("~~~~stream/index.ts,createStream~~~~\u4f20\u53c2\uff1amessageInitial\u3001bizParams\u3001bizEnvironment\u3001extParams",n,a,i,o),this.abortAndStoreIfNeed(),this.resetLocalData(),this.streamInfo=(0,l._)((0,u._)({},w),{queryString:null==n?void 0:n.queryString,sceneCode:null==n?void 0:n.sceneCode,sessionId:null==n?void 0:n.sessionId,msgStatus:v.INITIAL_MSG_STATUS.generating,parentMsgId:null==n?void 0:n.parentMsgId}),this.messageInfo=(0,b.otherHelpers).getMessageInfoFromStreamInfo(this.streamInfo),this.getStreamNew({msgInitial:n,bizParams:a,bizEnvironment:i,extParams:o},t,r),this}},{key:"continueStream",value:function(){}},{key:"replayStreamInner",value:function(e,t){var r;return((0,p.debugConsole).info("~~~~stream/index.ts,replayStreamInner~~~~\uff0cthis.streamInfo\uff1a",this.streamInfo),this.judgeStatus.canContinue(null===(r=this.streamInfo)||void 0===r?void 0:r.msgStatus))?this.getStreamContinue({streamInfo:this.streamInfo},e,t):(0,p.debugConsole).warn("~~~~stream/index.ts,replayStreamInner~~~~,\u6d41\u72b6\u6001\u4e0d\u652f\u6301\u7eed\u6d41\uff0cthis.streamInfo\uff1a",this.streamInfo),this}},{key:"reShowStream",value:function(e,t){var r,n=e.msgOfServer,a=(t||{}).autoError,i=void 0===a||a;(0,p.debugConsole).info("~~~~stream/index.ts,reStream~~~~,\u4f20\u53c2\uff1amsg\u3001autoContinue\u3001autoError:",n,i),this.abortAndStoreIfNeed(),this.resetLocalData();var o=n||{},s=o.sceneCode,c=o.sessionId,f=o.msgId,d=o.messageStatus,h=o.parentMsgId,v=o.messageContent,m=(void 0===v?{}:v).messageContent;if(this.judgeStatus.canContinue(d)){var y=(0,_.default).getMsg(f),S=y.error,E=y.data;S?(r={streamInfo:{},compsInfo:[]},(0,p.debugConsole).warn("~~~~stream/index.ts,reShowStream~~~~,storage\u6ca1\u62ff\u5230\u6570\u636e\uff0c\u8c03\u7528\u7eed\u6d41\u4f1a\u5c1d\u8bd5\u4ece\u5934\u6d41")):r=E}else{var k=function(e){try{var t=JSON.parse(e),r=t.compsInfo,n=t.streamInfo;if(!r.length)throw Error("compsInfo\u4e0d\u662f\u6570\u7ec4");return n.chunkDetail||(n.chunkDetail=[]),{data:t,error:null}}catch(e){return(0,g.default).reportTrace({name:"parseMsg",logType:"js-validate",meanings:"\u5386\u53f2\u6570\u636e\u89e3\u6790\u5931\u8d25",error:(0,p.stringifyEveryThing)(e)}),{data:null,error:e}}}(void 0===m?"":m),I=k.error,x=k.data;if(I)return{error:I,compsInfo:null};r=x}var O=r.compsInfo,T=r.streamInfo;return(this.streamInfo=(0,l._)((0,u._)({},w,T),{sceneCode:s,sessionId:c,msgId:f,msgStatus:d,parentMsgId:h}),this.messageInfo=(0,b.otherHelpers).getMessageInfoFromStreamInfo(this.streamInfo),this.compsInfo=O,(0,p.debugConsole).info("this.streamInfo, this.compsInfo",this.streamInfo,this.compsInfo),i&&this.judgeStatus.isFailed(d))?{error:(0,b.otherHelpers).reShapeErrorChunkParams(T)}:{compsInfo:O}}},{key:"replayStream",value:function(e,t,r,n){var a=e.msgOfServer,i=this,o=this.reShowStream({msgOfServer:a},t),s=o.error;return(o.compsInfo,s)?setTimeout(function(){i.streamHandlers.onError(s)},0):setTimeout(function(){i.streamHandlers.onHistory(),i.judgeStatus.canContinue(i.streamInfo.msgStatus)&&i.replayStreamInner(r,n)},0),this}},{key:"abortStream",value:function(){var e,t;(0,p.debugConsole).info("~~~~stream/index.ts,abortStream~~~~,\u4e2d\u65ad\u6d41"),null===(t=this.streamContext)||void 0===t||null===(e=t.abort)||void 0===e||e.call(t),this.judgeStatus.canContinue(v.MSG_STATUS.finished.abortFinished)?this.abortAndStoreIfNeed(!0):this.successEnd({endStatus:v.MSG_STATUS.finished.abortFinished})}},{key:"destroy",value:function(){var e,t;null===(t=this.streamContext)||void 0===t||null===(e=t.abort)||void 0===e||e.call(t),this.abortAndStoreIfNeed(!0),this.resetLocalData()}},{key:"onStreamStart",value:function(e){var t=this;return this.streamHandlers.onStart=function(r){(0,p.debugConsole).info("~~~~stream/index.ts\uff0cstreamHandlers.onStart~~~~\uff0cthis.streamInfo:","background:lightblue;line-height:24px",t.streamInfo),e(r)},this}},{key:"onStreamLayout",value:function(e){var t=this;return this.streamHandlers.onLayout=function(){(0,p.debugConsole).info("~~~~stream/index.ts\uff0cstreamHandlers.onLayout~~~~\uff0cthis.streamInfo:","background:lightblue;line-height:24px",t.streamInfo),e(t.compsInfo,t.messageInfo)},this}},{key:"onStreamFirstData",value:function(e){var t=this;return this.streamHandlers.onFirstData=function(){(0,p.debugConsole).info("~~~~stream/index.ts\uff0cstreamHandlers.onFirstData~~~~\uff0cthis.streamInfo:","background:lightblue;line-height:24px",t.streamInfo),e(t.compsInfo,t.messageInfo)},this}},{key:"onStreamUpdate",value:function(e){var t=this;return this.streamHandlers.onUpdate=function(){(0,p.debugConsole).infoPro("~~~~stream/index.ts\uff0cstreamHandlers.onUpdate~~~~\uff0cthis.streamInfo:","background:lightblue;line-height:24px",t.streamInfo),e(t.compsInfo,t.messageInfo)},this}},{key:"onStreamFinish",value:function(e){var t=this;return this.streamHandlers.onFinish=function(){(0,p.debugConsole).info("~~~~stream/index.ts\uff0cstreamHandlers.onFinish~~~~\uff0cthis.streamInfo:","background:lightblue;line-height:24px",t.streamInfo),e(t.messageInfo,!1)},this.streamHandlers.onAbort=function(){(0,p.debugConsole).info("~~~~stream/index.ts\uff0cstreamHandlers.onAbort~~~~\uff0cthis.streamInfo:","background:lightblue;line-height:24px",t.streamInfo),e(t.messageInfo,!0)},this}},{key:"onStreamFail",value:function(e){var t=this;return this.streamHandlers.onError=function(r){(0,p.debugConsole).error("~~~~stream/index.ts\uff0cstreamHandlers.onError~~~~\uff0cthis.streamInfo:","background:lightblue;line-height:24px",t.streamInfo),e(r,t.messageInfo,"stream")},this.streamHandlers.onRetry=function(r){(0,p.debugConsole).error("~~~~stream/index.ts\uff0cstreamHandlers.onRetry~~~~\uff0cthis.streamInfo:","background:lightblue;line-height:24px",t.streamInfo),e(r,t.messageInfo,"retry")},this}},{key:"onStreamHistory",value:function(e){var t=this;return this.streamHandlers.onHistory=function(){(0,p.debugConsole).info("~~~~stream/index.ts\uff0cstreamHandlers.onHistory~~~~\uff0cthis.streamInfo:","background:lightblue;line-height:24px",t.streamInfo),e(t.compsInfo,t.messageInfo)},this}}]),r}(h.default);r.default=S},{"@swc/helpers/_/_assert_this_initialized":"kLrHJ","@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","@swc/helpers/_/_inherits":"cJoav","@swc/helpers/_/_object_spread":"fzj09","@swc/helpers/_/_object_spread_props":"j5SKX","@swc/helpers/_/_create_super":"3SDdb","./server":"6pz4k","../utils/util":"fLHoZ","../const":"jdeL3","../utils/tracker":"jFoGJ","./helper":"1RBAj","./storage":"gddZu","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],kLrHJ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"05bL4":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"5DxXH":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}n.defineInteropFlag(r),n.export(r,"_",()=>i)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],dDgsd:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],cJoav:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>i);var a=e("./_set_prototype_of.js");function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,a._)(e,t)}},{"./_set_prototype_of.js":"fTd4R","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],fTd4R:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],fzj09:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>i);var a=e("./_define_property.js");function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){(0,a._)(e,t,r[t])})}return e}},{"./_define_property.js":"dDgsd","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],j5SKX:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"3SDdb":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>s);var a=e("./_get_prototype_of.js"),i=e("./_is_native_reflect_construct.js"),o=e("./_possible_constructor_return.js");function s(e){var t=(0,i._)();return function(){var r,n=(0,a._)(e);if(t){var i=(0,a._)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,o._)(this,r)}}},{"./_get_prototype_of.js":"igSd6","./_is_native_reflect_construct.js":"hs9J0","./_possible_constructor_return.js":"ksJEu","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],igSd6:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],hs9J0:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a=function(){return!!e})()}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],ksJEu:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>o);var a=e("./_assert_this_initialized.js"),i=e("./_type_of.js");function o(e,t){return t&&("object"===(0,i._)(t)||"function"==typeof t)?t:(0,a._)(e)}},{"./_assert_this_initialized.js":"kLrHJ","./_type_of.js":"ff798","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],ff798:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6pz4k":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("@swc/helpers/_/_async_to_generator"),i=e("@swc/helpers/_/_class_call_check"),o=e("@swc/helpers/_/_create_class"),s=e("@swc/helpers/_/_define_property"),c=e("@swc/helpers/_/_object_spread"),u=e("@swc/helpers/_/_object_spread_props"),l=e("@swc/helpers/_/_ts_generator"),f=e("../utils/tracker"),d=n.interopDefault(f),h=e("../utils/util"),p=e("@ali/cbu-mtop-stream-v1"),v=e("../const"),m=e("./helper"),g=e("../message"),b=e("./storage"),y=n.interopDefault(b),_="background:blue;line-height:36px;border-radius: 8px;color:white;",w=function(){function e(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).maxRetryCount,r=this;(0,i._)(this,e),(0,s._)(this,"streamInstanceId",void 0),(0,s._)(this,"streamInfo",void 0),(0,s._)(this,"messageInfo",void 0),(0,s._)(this,"compsInfo",void 0),(0,s._)(this,"streamHandlers",void 0),(0,s._)(this,"judgeStatus",void 0),(0,s._)(this,"isCoverNeedChunksSource",!1),(0,s._)(this,"isRunFinishCallback",!1),(0,s._)(this,"streamContext",void 0),(0,s._)(this,"mtopStreamV1Params",void 0),(0,s._)(this,"retryHelper",void 0),(0,s._)(this,"streamStorage",void 0),(0,s._)(this,"requestPerformance",void 0),(0,s._)(this,"finishCallback",function(e){e.traceId;var t,n,a=e.chunkIndex,i=e.chunkCount,o=e.id,s=r.streamInfo.chunkDetail.length,c=r.streamInfo.chunkDetail.filter(function(e){return e.incremental&&"VALIDATE_SUCCESS"!==e.errorCode}).length,u=r.streamInfo.chunkDetail.filter(function(e){return!e.incremental&&"VALIDATE_SUCCESS"!==e.errorCode}).length,l=c+u,f=(null===(t=r.streamInfo.chunkDetail[s-1])||void 0===t?void 0:t.errorCode)!=="VALIDATE_SUCCESS";if(l?l===s?n=v.MSG_STATUS.failed.allFailed:c||u&&(n=f?v.MSG_STATUS.failed.halfFailed:v.MSG_STATUS.finished.halfFinished):n=v.MSG_STATUS.finished.allFinished,n===v.MSG_STATUS.failed.allFailed||n===v.MSG_STATUS.failed.halfFailed)throw{level:"VALIDATE",chunkIndex:a,chunkId:o,chunkCount:i,errorCode:"VALIDATE_FAILED",logMeaning:'\u6d41\u5f0f\u63a5\u53e3biz\u5c42\u5931\u8d25\uff0c.on("finish"\u8ba1\u7b97\u6700\u7ec8\u72b6\u6001\u4e3a\u5931\u8d25',endStatus:n};(0,h.debugConsole).info('~~~~server.ts\uff0c.on("finished~~~~',_),r.isRunFinishCallback=!0,r.successEnd({endStatus:n})}),this.retryHelper=new m.RetryHelper(t),this.requestPerformance={startTime:0,layoutTime:0,firstDataTime:0,endTime:0,duration:0}}return(0,o._)(e,[{key:"dataCallback",value:function(t){if(this.streamInfo.chunkCount<=e.LAYOUT_CHUNK_COUNT?(0,h.debugConsole).info('~~~~server.ts,.on("data~~~~\u54cd\u5e94\u6570\u636e\uff08\u6d41\u7684\u4e00\u6bb5/\u5757/chunk\uff09'+this.streamInfo.chunkCount,_,t):(0,h.debugConsole).infoPro('~~~~server.ts,.on("data~~~~\u54cd\u5e94\u6570\u636e\uff08\u6d41\u7684\u4e00\u6bb5/\u5757/chunk\uff09'+this.streamInfo.chunkCount,_,t),this.streamInfo.chunkCount===e.LAYOUT_CHUNK_COUNT){var r,n,a=(null==t?void 0:t.data)||{},i=a.msgId,o=a.sessionId,s=a.msgStatus;this.streamHandlers.onStart({traceId:null==t?void 0:t.traceId,msgId:i,sessionId:o,msgStatus:s})}var l=t.traceId,f=t.data,d=void 0===f?{}:f,p=t.id,g=this.streamInfo.chunkCount;this.streamInfo.traceId=l;var b=d||{},y=b.msgId,w=b.sessionId,S=b.msgStatus,E=b.traceId;if(this.streamInfo.conversationTraceId=E,!(S===v.INITIAL_MSG_STATUS.generating||S===v.INITIAL_MSG_STATUS.finished))throw{level:"MSG",chunkIndex:p,chunkCount:g,errorCode:d.errorCode,errorInfo:d.errorInfo,logMeaning:"\u6d41\u5f0f\u63a5\u53e3biz\u5c42message\u7ea7\u522b\u5931\u8d25",endStatus:v.MSG_STATUS.failed.allFailed};if(this.streamInfo.sessionId=w,this.streamInfo.msgId=y,d.msgStatus===v.INITIAL_MSG_STATUS.finished)return this.finishCallback({traceId:l,chunkIndex:p,chunkCount:g});var k=(null==d?void 0:null===(r=d.contents)||void 0===r?void 0:r[0])||{},I=k.content,x=k.contentType,O=k.status,T=k.errorCode,A=k.errorInfo,M=k.id,R=k.incremental,C=I||{},j=C.propCode,N=C.componentInstanceId,P=C.componentChunkUniqueKey,D=(0,h.isTrue)(R),L=(null==I?void 0:null===(n=I.uiSchema)||void 0===n?void 0:n.componentList)||[],F=L.filter(function(e){return e.componentInstanceId}),B=null==I?void 0:I.data,U={level:"CHUNK",chunkIndex:p,chunkCount:g,chunkId:M,errorInfo:A,incremental:D,componentChunkUniqueKey:P};if(g===e.LAYOUT_CHUNK_COUNT&&!("finished"===O&&"ui_framework"===x&&L.length&&F.length===L.length))throw(0,u._)((0,c._)({},U),{errorCode:T||"VALIDATE_FAILED",logMeaning:"\u6d41\u5f0f\u63a5\u53e3biz\u5c42chunk\u7ea7\u522b\u5931\u8d25\uff0c\u9996\u4e2achunk\u7c7b\u578b'ui_framework'\uff0c\u4f46\u8fd4\u56de\u7684\u72b6\u6001\u4e3a\u5931\u8d25\u6216\u8fd4\u56de\u7684\u5185\u5bb9\u4e0d\u53ef\u7528",endStatus:v.MSG_STATUS.failed.allFailed});if(g>e.LAYOUT_CHUNK_COUNT&&!(O&&"finished"===O&&"component_chunk"===x&&B)){if(this.streamInfo.chunkDetail.push((0,u._)((0,c._)({},U),{errorCode:T||"VALIDATE_FAILED",logMeaning:"\u6d41\u5f0f\u63a5\u53e3biz\u5c42chunk\u7ea7\u522b\u5931\u8d25\uff0c\u5f53\u524dchunk\u7c7b\u578b\u662f'component_chunk'\uff0c\u4f46\u8fd4\u56de\u7684\u72b6\u6001\u4e3a\u5931\u8d25\u6216\u8005\u8fd4\u56de\u7684\u5185\u5bb9\u4e3a\u7a7a"})),(0,h.isTrue)(D));else{this.streamInfo.chunkCount++;return}}this.streamInfo.chunkId=M,this.streamInfo.chunkCount===e.LAYOUT_CHUNK_COUNT&&this.processLayout({componentList:L}),this.streamInfo.chunkCount>e.LAYOUT_CHUNK_COUNT&&this.processChunk({incremental:D,propCode:j,dynamicData:B,compId:N},this.streamInfo.chunkCount===e.FIRST_DATA_COUNT),this.streamInfo.chunkDetail.push((0,u._)((0,c._)({errorCode:"VALIDATE_SUCCESS"},U),{errorInfo:"",logMeaning:""})),this.messageInfo=(0,m.otherHelpers).getMessageInfoFromStreamInfo(this.streamInfo),this.streamInfo.chunkCount===e.LAYOUT_CHUNK_COUNT&&(this.requestPerformance.layoutTime=Date.now()),this.streamInfo.chunkCount===e.FIRST_DATA_COUNT&&(this.requestPerformance.firstDataTime=Date.now()),this.streamInfo.chunkCount++}},{key:"endCallback",value:function(){if(!this.isRunFinishCallback){(0,h.debugConsole).warn('~~~~server.ts\uff0c.on("end~~~~',_);var e=this.streamInfo;throw{level:"VALIDATE",chunkIndex:"END",chunkCount:(e.chunkIndex,e.chunkCount),errorCode:"VALIDATE_FAILED",logMeaning:'\u6d41\u5f0f\u63a5\u53e3biz\u5c42\u672a\u77e5\u5931\u8d25\uff0c\u8fdb\u5165.on("end"',endStatus:this.streamInfo.chunkDetail.length===this.streamInfo.chunkDetail.filter(function(e){return"VALIDATE_SUCCESS"!==e.errorCode}).length?v.MSG_STATUS.failed.allFailed:v.MSG_STATUS.finished.halfFinished}}}},{key:"errorCallback",value:function(e){var t=this;if((0,h.debugConsole).error('~~~~server.ts\uff0c.on("error ~~~~',e),"FETCH_NET_WORK"===e.errorCode){this.retryHelper.isMaxRetry()?this.judgeStatus.canContinue(v.MSG_STATUS.failed.retryFailed)?this.abortAndStoreIfNeed(!0):this.failEnd(e,!1):setTimeout(function(){var e,r;t.getStream(null===(e=t.mtopStreamV1Params)||void 0===e?void 0:e.options,null===(r=t.mtopStreamV1Params)||void 0===r?void 0:r.params),t.retryHelper.addRetryCount()},3e3);return}this.failEnd(e,!1)}},{key:"successEnd",value:function(e){var t,r,n=e.endStatus;(0,h.debugConsole).info("~~~~server.ts\uff0csuccessEnd~~~~\uff0cthis.streamInfo\uff1a",_,this.streamInfo);var a=n===v.MSG_STATUS.finished.abortFinished,i=this.streamInfo,o=i.traceId,s=i.conversationTraceId;this.streamInfo.msgStatus=n,this.messageInfo=(0,m.otherHelpers).getMessageInfoFromStreamInfo(this.streamInfo),a?this.streamHandlers.onAbort():this.streamHandlers.onFinish(),this.requestPerformance.endTime=Date.now(),this.requestPerformance.duration=this.requestPerformance.endTime-this.requestPerformance.startTime,(0,d.default).reportTrace({name:null===(r=this.mtopStreamV1Params)||void 0===r?void 0:null===(t=r.options)||void 0===t?void 0:t.api,logType:a?"server-cancel":n===v.MSG_STATUS.finished.allFinished?"server-success":"server-downgrade",traceId:o,conversationTraceId:s,meanings:a?"\u6d41\u5f0f\u8bf7\u6c42\u6210\u529f\uff0c\u7528\u6237\u4e3b\u52a8\u53d6\u6d88":"\u6d41\u5f0f\u8bf7\u6c42\u6210\u529f",requestDuration:this.requestPerformance.duration,requestPerformanceFormatted:(0,h.stringifyEveryThing)((0,h.convertTimestampsToDates)(this.requestPerformance))});var c=this.compsInfo,u=this.streamInfo;(0,g.saveMsg)({streamInfo:u,compsInfo:c}),(0,y.default).clearMsg(u.msgId)}},{key:"failEnd",value:function(e,t){var r,n,a,i,o,s,u=e.level?e:(0,m.otherHelpers).completeErrorChunkItem(e,this.streamInfo,t,this.retryHelper.isMaxRetry()),l=u.endStatus,f=this.streamInfo,p=f.traceId,b=f.conversationTraceId,w=f.chunkDetail;this.streamInfo.msgStatus=l,this.streamInfo.chunkDetail.push(u),this.messageInfo=(0,m.otherHelpers).getMessageInfoFromStreamInfo(this.streamInfo),this.streamInfo.msgStatus===v.MSG_STATUS.failed.retryFailed?null===(r=(n=this.streamHandlers).onRetry)||void 0===r||r.call(n,(0,c._)({traceId:p},u)):null===(a=(i=this.streamHandlers).onError)||void 0===a||a.call(i,(0,c._)({traceId:p},u)),this.requestPerformance.endTime=Date.now(),this.requestPerformance.duration=this.requestPerformance.endTime-this.requestPerformance.startTime,(0,d.default).reportTrace({logType:"server-error",name:null===(s=this.mtopStreamV1Params)||void 0===s?void 0:null===(o=s.options)||void 0===o?void 0:o.api,traceId:p,conversationTraceId:b,params:(0,h.stringifyEveryThing)(this.mtopStreamV1Params),errorReason:(0,h.stringifyEveryThing)(u),meanings:"\u6d41\u5f0f\u8bf7\u6c42\u5931\u8d25",requestDuration:this.requestPerformance.duration,requestPerformanceFormatted:(0,h.stringifyEveryThing)((0,h.convertTimestampsToDates)(this.requestPerformance)),failedReasonDetail:(0,h.stringifyEveryThing)(null==w?void 0:w.filter(function(e){return"VALIDATE_SUCCESS"!==e.errorCode}))});var S=this.compsInfo,E=this.streamInfo;(0,g.saveMsg)({streamInfo:E,compsInfo:S}),(0,y.default).clearMsg(E.msgId),(0,h.debugConsole).info("~~~~server.ts\uff0cfailEnd~~~~\uff0cthis.streamInfo",_,this.streamInfo)}},{key:"getStream",value:function(e,t){var r=this;return(0,a._)(function(){var n;return(0,l._)(this,function(a){switch(a.label){case 0:r.mtopStreamV1Params={options:e,params:t},r.requestPerformance.startTime=Date.now(),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,(0,p.getStream)({options:e,params:t,nativeFetch:void 0})];case 2:return r.streamContext=a.sent(),r.streamContext.data.on("data",function(e){r.retryHelper.resetRetryCount(),r.dataCallback(e)}).on("end",function(e){r.retryHelper.resetRetryCount(),r.endCallback()}).on("error",function(e){r.errorCallback(e)}),[3,4];case 3:return n=a.sent(),(0,h.debugConsole).error("catch",n),r.failEnd(n,!0),[3,4];case 4:return[2]}})})()}},{key:"getStreamNew",value:function(t,r,n){var i=t.msgInitial,o=t.bizParams,s=t.bizEnvironment,u=t.extParams,f=this;return(0,a._)(function(){var t,a,d,h,p,v;return(0,l._)(this,function(l){return p={data:JSON.stringify((0,c._)({userAction:"chat",sessionId:null===(t=i)||void 0===t?void 0:t.sessionId,sessionType:"component_chat",parentMsgId:null===(a=i)||void 0===a?void 0:a.parentMsgId,params:{sceneCode:null===(d=i)||void 0===d?void 0:d.sceneCode},contents:[{content:null===(h=i)||void 0===h?void 0:h.queryString,contentType:"text",role:"user",bizParams:o,bizEnvironment:s,ext:u}]},r||{}))},v=(0,c._)({api:e.GET_STREAM_API,timeout:6e4,method:"POST",xAcceptStream:!0},n||{}),f.getStream(v,p),[2]})})()}},{key:"getStreamContinue",value:function(t,r,n){var i=t.streamInfo,o=this;return(0,a._)(function(){var t,a,s,u,f;return(0,l._)(this,function(l){return u={data:JSON.stringify((0,c._)({sessionId:null===(t=i)||void 0===t?void 0:t.sessionId,retryMsgId:null===(a=i)||void 0===a?void 0:a.msgId,lastComponentChunkId:null===(s=i)||void 0===s?void 0:s.chunkId},r||{}))},f=(0,c._)({api:e.GET_STREAM_REPLAY_API,timeout:6e4,method:"POST",xAcceptStream:!0},n||{}),o.getStream(f,u),[2]})})()}}]),e}();(0,s._)(w,"LAYOUT_CHUNK_COUNT",1),(0,s._)(w,"FIRST_DATA_COUNT",2),(0,s._)(w,"GET_STREAM_API","mtop.cbu.pc.tiansuo.engine.dialog.conversation"),(0,s._)(w,"GET_STREAM_REPLAY_API","mtop.cbu.pc.tiansuo.engine.dialog.conversation.message.replay"),r.default=w},{"@swc/helpers/_/_async_to_generator":"faxJC","@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","@swc/helpers/_/_object_spread":"fzj09","@swc/helpers/_/_object_spread_props":"j5SKX","@swc/helpers/_/_ts_generator":"lJ01F","../utils/tracker":"jFoGJ","../utils/util":"fLHoZ","@ali/cbu-mtop-stream-v1":"aFO1m","../const":"jdeL3","./helper":"1RBAj","../message":"4ElEW","./storage":"gddZu","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],faxJC:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){r(e);return}s.done?t(c):Promise.resolve(c).then(n,a)}function i(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,c,"next",e)}function c(e){a(o,n,i,s,c,"throw",e)}s(void 0)})}}n.defineInteropFlag(r),n.export(r,"_",()=>i)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lJ01F:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>a.__generator);var a=e("tslib")},{tslib:"gdEuw","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],gdEuw:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"__extends",()=>i),n.export(r,"__assign",()=>o),n.export(r,"__rest",()=>s),n.export(r,"__decorate",()=>c),n.export(r,"__param",()=>u),n.export(r,"__esDecorate",()=>l),n.export(r,"__runInitializers",()=>f),n.export(r,"__propKey",()=>d),n.export(r,"__setFunctionName",()=>h),n.export(r,"__metadata",()=>p),n.export(r,"__awaiter",()=>v),n.export(r,"__generator",()=>m),n.export(r,"__createBinding",()=>g),n.export(r,"__exportStar",()=>b),n.export(r,"__values",()=>y),n.export(r,"__read",()=>_),n.export(r,"__spread",()=>w),n.export(r,"__spreadArrays",()=>S),n.export(r,"__spreadArray",()=>E),n.export(r,"__await",()=>k),n.export(r,"__asyncGenerator",()=>I),n.export(r,"__asyncDelegator",()=>x),n.export(r,"__asyncValues",()=>O),n.export(r,"__makeTemplateObject",()=>T),n.export(r,"__importStar",()=>R),n.export(r,"__importDefault",()=>C),n.export(r,"__classPrivateFieldGet",()=>j),n.export(r,"__classPrivateFieldSet",()=>N),n.export(r,"__classPrivateFieldIn",()=>P),n.export(r,"__addDisposableResource",()=>D),n.export(r,"__disposeResources",()=>F),n.export(r,"__rewriteRelativeImportExtension",()=>B);var a=function(e,t){return(a=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function s(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function c(e,t,r,n){var a,i=arguments.length,o=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,r,o):a(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o}function u(e,t){return function(r,n){t(r,n,e)}}function l(e,t,r,n,a,i){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?n.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),d=!1,h=r.length-1;h>=0;h--){var p={};for(var v in n)p[v]="access"===v?{}:n[v];for(var v in n.access)p.access[v]=n.access[v];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");i.push(o(e||null))};var m=(0,r[h])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&a.unshift(s)}else(s=o(m))&&("field"===c?a.unshift(s):f[u]=s)}l&&Object.defineProperty(l,n.name,f),d=!0}function f(e,t,r){for(var n=arguments.length>2,a=0;a<t.length;a++)r=n?t[a].call(e,r):t[a].call(e);return n?r:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function h(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function v(e,t,r,n){return new(r||(r=Promise))(function(a,i){function o(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?a(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(o,s)}c((n=n.apply(e,t||[])).next())})}function m(e,t){var r,n,a,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var g=Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function b(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||g(t,e,r)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_(arguments[t]));return e}function S(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),a=0,t=0;t<r;t++)for(var i=arguments[t],o=0,s=i.length;o<s;o++,a++)n[a]=i[o];return n}function E(e,t,r){if(r||2==arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function I(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,a=r.apply(e,t||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function o(e,t){a[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||s(e,t)})},t&&(n[e]=t(n[e])))}function s(e,t){try{var r;(r=a[e](t)).value instanceof k?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(e){l(i[0][3],e)}}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function x(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,a){t[n]=e[n]?function(t){return(r=!r)?{value:k(e[n](t)),done:!1}:a?a(t):t}:a}}function O(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=y(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,a){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,a,(t=e[r](t)).done,t.value)})}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var A=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},M=function(e){return(M=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)};function R(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=M(e),n=0;n<r.length;n++)"default"!==r[n]&&g(t,e,r[n]);return A(t,e),t}function C(e){return e&&e.__esModule?e:{default:e}}function j(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function N(e,t,r,n,a){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?a.call(e,r):a?a.value=r:t.set(e,r),r}function P(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function D(e,t,r){if(null!=t){var n,a;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(r){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(a=n)}if("function"!=typeof n)throw TypeError("Object not disposable.");a&&(n=function(){try{a.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var L="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function F(e){function t(t){e.error=e.hasError?new L(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function a(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(a);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(i).then(a,function(e){return t(e),a()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function B(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,r,n,a,i){return r?t?".jsx":".js":!n||a&&i?n+a+"."+i.toLowerCase()+"js":e}):e}r.default={__extends:i,__assign:o,__rest:s,__decorate:c,__param:u,__esDecorate:l,__runInitializers:f,__propKey:d,__setFunctionName:h,__metadata:p,__awaiter:v,__generator:m,__createBinding:g,__exportStar:b,__values:y,__read:_,__spread:w,__spreadArrays:S,__spreadArray:E,__await:k,__asyncGenerator:I,__asyncDelegator:x,__asyncValues:O,__makeTemplateObject:T,__importStar:R,__importDefault:C,__classPrivateFieldGet:j,__classPrivateFieldSet:N,__classPrivateFieldIn:P,__addDisposableResource:D,__disposeResources:F,__rewriteRelativeImportExtension:B}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],jFoGJ:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("@swc/helpers/_/_class_call_check"),a=e("@swc/helpers/_/_create_class"),i=e("@swc/helpers/_/_define_property"),o=e("@swc/helpers/_/_object_spread"),s=e("@swc/helpers/_/_object_without_properties"),c=function(){try{var e;return decodeURIComponent(null===(e=document.cookie.match(/__cn_logon_id__=([^;]+)/))||void 0===e?void 0:e[1])}catch(e){return""}},u=new(function(){function e(t){var r,a;(0,n._)(this,e),(0,i._)(this,"option",{project:"",host:"",logstore:""}),(0,i._)(this,"env",location.host.indexOf("pre-")>-1||location.search.indexOf("_debug_")>-1?"pre":"prod"),(0,i._)(this,"enscrptStr",Math.random().toString().substring(2)),(0,i._)(this,"userId",(null===(r=document.cookie.match(/unb=([^;]+)/))||void 0===r?void 0:r[1])||Math.random().toString(16).substring(2)),(0,i._)(this,"loginId",c()),(0,i._)(this,"userIdAfterEnscrpt",this.encrypt(this.userId,this.enscrptStr)),(0,i._)(this,"deviceId",(null===(a=document.cookie.match(/cna=([^;]+)/))||void 0===a?void 0:a[1])||Math.random().toString(16).substring(2)),(0,i._)(this,"commonInfo",{}),this.option=(0,o._)({},this.option,t),window.__pc_venue_tracker__=this}return(0,a._)(e,[{key:"encrypt",value:function(e,t){for(var r=0,n=e.split(""),a=0;a<e.length;a++)void 0===t[r]&&(r=0),n[a]=(+n[a]+ +t[r])%10+"",r++;return n.join("")}},{key:"decrypt",value:function(e,t){for(var r=0,n=e.split(""),a=0;a<e.length;a++)void 0===t[r]&&(r=0),+n[a]+1==+n[a]+1&&(n[a]=(+n[a]+10-+t[r])%10+""),r++;return n.join("")}},{key:"transformInfo",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){return"object"==typeof t?Object.keys(t).forEach(function(r){e+="".concat(r,"=").concat(t[r],"&")}):e+="message=".concat(t,"&"),e},"user=".concat(this.userIdAfterEnscrpt,"&enscrptStr=").concat(this.enscrptStr,"&deviceId=").concat(this.deviceId,"&loginId=").concat(this.loginId,"&"))}},{key:"injectCommonInfo",value:function(e){this.commonInfo=(0,o._)({},this.commonInfo,e)}},{key:"reportImg",value:function(e){try{new Image().src="https://".concat(this.option.project,".").concat(this.option.host,"/logstores/").concat(this.option.logstore,"/track_ua.gif?APIVersion=0.6.0&").concat(e)}catch(e){console.error("\u53d1\u9001\u65e5\u5fd7\u8bf7\u6c42\u5931\u8d25:",e)}}},{key:"reportTrace",value:function(e){var t=e.logType,r=(0,s._)(e,["logType"]);this.reportImg(this.transformInfo((0,o._)({logType:t,fromPage:encodeURIComponent(location.origin+location.pathname),fromHref:encodeURIComponent(location.href)},this.commonInfo,r)))}}]),e}())({project:"cbu-pc-page",host:"cn-hangzhou.log.aliyuncs.com",logstore:"cbu-mui-render-core"});r.default=u},{"@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","@swc/helpers/_/_object_spread":"fzj09","@swc/helpers/_/_object_without_properties":"75DVk","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"75DVk":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>i);var a=e("./_object_without_properties_loose.js");function i(e,t){if(null==e)return{};var r,n,i=(0,a._)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},{"./_object_without_properties_loose.js":"jBDL6","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],jBDL6:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],fLHoZ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"stringifyEveryThing",()=>s),n.export(r,"isTrue",()=>c),n.export(r,"isDebug",()=>l),n.export(r,"isDebugPro",()=>f),n.export(r,"logStl",()=>d),n.export(r,"debugConsole",()=>h),n.export(r,"convertTimestampsToDates",()=>p);var a=e("@swc/helpers/_/_instanceof"),i=e("@swc/helpers/_/_to_consumable_array"),o=e("@swc/helpers/_/_type_of");function s(e){if(null==e)return String(e);var t=void 0===e?"undefined":(0,o._)(e);if((0,a._)(e,Error))return JSON.stringify({message:e.message,stack:e.stack});if("object"===t)try{return JSON.stringify(e,function(e,t){return"function"==typeof t?t.toString():t},2)}catch(t){return String(e)}else if("function"===t)return e.toString();else return String(e)}var c=function(e){return!0===e||"true"===e},u=function(){try{if(window!==window.parent)return window.parent.location.href}catch(e){console.warn("Cannot access parent location (cross-origin), using current location")}return location.href},l=u().indexOf("__muiDataLoader_debug__")>-1,f=u().indexOf("__muiDataLoader_debug__=pro")>-1,d={pink:"background: pink; color: white; line-height:40px;border-radius: 8px;",blue:"background: rgb(63, 130, 247); color: white; line-height:40px;border-radius: 8px;",purple:"background: #b063e7; color: white; line-height:40px; border-radius: 8px;",red:"background: red; color: white; height:40px;border-radius: 8px;",orange:"background: orange; color: white; line-height:40px;border-radius: 8px;"},h={log:function(){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];l&&(e=console).log.apply(e,(0,i._)(r))},warn:function(e){for(var t,r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];l&&(t=console).warn.apply(t,["%c ".concat(e," %o"),d.orange].concat((0,i._)(n)))},info:function(e,t){for(var r,n,a=arguments.length,o=Array(a>2?a-2:0),s=2;s<a;s++)o[s-2]=arguments[s];l&&("string"==typeof t&&t.startsWith("background")?(r=console).info.apply(r,["%c ".concat(e," %o"),t].concat((0,i._)(o))):t?(n=console).info.apply(n,["%c ".concat(e," %o"),d.blue,t].concat((0,i._)(o))):console.info("%c ".concat(e," %o"),d.blue))},infoPro:function(e,t){for(var r,n,a=arguments.length,o=Array(a>2?a-2:0),s=2;s<a;s++)o[s-2]=arguments[s];f&&("string"==typeof t&&t.startsWith("background")?(r=console).info.apply(r,["%c ".concat(e," %o"),t].concat((0,i._)(o))):t?(n=console).info.apply(n,["%c ".concat(e," %o"),d.blue,t].concat((0,i._)(o))):console.info("%c ".concat(e," %o"),d.blue))},error:function(e){for(var t,r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];l&&(t=console).error.apply(t,["%c ".concat(e," %o"),d.red].concat((0,i._)(n)))},debug:function(){},alert:function(e){l&&alert(e)}};function p(e){try{var t={};for(var r in e)if(r.endsWith("Time")&&!isNaN(e[r])&&e[r]){var n=new Date(e[r]),a=n.getFullYear(),i=String(n.getMonth()+1).padStart(2,"0"),o=String(n.getDate()).padStart(2,"0"),s=String(n.getHours()).padStart(2,"0"),c=String(n.getMinutes()).padStart(2,"0"),u=String(n.getSeconds()).padStart(2,"0"),l=String(n.getMilliseconds()).padStart(3,"0");t[r]="".concat(a,"/").concat(i,"/").concat(o," ").concat(s,":").concat(c,":").concat(u,".").concat(l)}else t[r]=e[r];return t}catch(t){return e}}},{"@swc/helpers/_/_instanceof":"9c3DV","@swc/helpers/_/_to_consumable_array":"2Cb2m","@swc/helpers/_/_type_of":"ff798","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"9c3DV":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"2Cb2m":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>c);var a=e("./_array_without_holes.js"),i=e("./_iterable_to_array.js"),o=e("./_non_iterable_spread.js"),s=e("./_unsupported_iterable_to_array.js");function c(e){return(0,a._)(e)||(0,i._)(e)||(0,s._)(e)||(0,o._)()}},{"./_array_without_holes.js":"iaMVV","./_iterable_to_array.js":"1DgUK","./_non_iterable_spread.js":"lMN0r","./_unsupported_iterable_to_array.js":"lx81R","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],iaMVV:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>i);var a=e("./_array_like_to_array.js");function i(e){if(Array.isArray(e))return(0,a._)(e)}},{"./_array_like_to_array.js":"gQ4e1","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],gQ4e1:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"1DgUK":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lMN0r:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lx81R:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>i);var a=e("./_array_like_to_array.js");function i(e,t){if(e){if("string"==typeof e)return(0,a._)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,a._)(e,t)}}},{"./_array_like_to_array.js":"gQ4e1","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],aFO1m:[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"getStream",()=>S);var i=e("@swc/helpers/_/_async_to_generator"),o=e("@swc/helpers/_/_class_call_check"),s=e("@swc/helpers/_/_create_class"),c=e("@swc/helpers/_/_define_property"),u=e("@swc/helpers/_/_instanceof"),l=e("@swc/helpers/_/_object_spread"),f=e("@swc/helpers/_/_object_spread_props"),d=e("@swc/helpers/_/_to_consumable_array"),h=e("@swc/helpers/_/_ts_generator"),p=e("./lib-mtop-next-native-source/entry/web"),v=location.href.indexOf("__mtop_subdomain__=wapa")>-1||location.href.indexOf("pre-")>-1,m={FETCH_NET_WORK:"FETCH_NET_WORK",FAIL_BIZ_STREAM_ERROR:"FAIL_BIZ_STREAM_ERROR",JS:"JS",UNKNOWN:"UNKNOWN"},g={handleError:function(e){var t=e.message,r="network error"===e.message?m.FETCH_NET_WORK:m.JS;return"network error"!==e.message&&setTimeout(function(){throw e},0),{errorInfo:t,errorCode:r}},handleErrInfoWithRet:function(e){var t,r,n=(null===(r=e.ret)||void 0===r?void 0:null===(t=r[0])||void 0===t?void 0:t.split("::"))||[];return{errorCode:("network error"===n[0]?m.FETCH_NET_WORK:n[0])||m.UNKNOWN,errorInfo:n[1]||""}},handleErrInfoWithErrorCode:function(e){return(0,f._)((0,l._)({},e),{errorInfo:e.errorInfo||""})},handleDefault:function(e){return{errorInfo:String(e),errorCode:m.UNKNOWN}}},b=function(e){return(0,u._)(e,Error)?g.handleError(e):"object"==typeof e&&"ret"in e&&Array.isArray(e.ret)?g.handleErrInfoWithRet(e):"object"==typeof e&&"errorCode"in e?g.handleErrInfoWithErrorCode(e):g.handleDefault(e)},y=function(){function e(){(0,o._)(this,e),(0,c._)(this,"listeners",{}),(0,c._)(this,"stickyEvents",{})}return(0,s._)(e,[{key:"on",value:function(e,t){return this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t),this.stickyEvents[e]&&this.stickyEvents[e].forEach(function(e){t.apply(void 0,(0,d._)(e))}),this}},{key:"emit",value:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.stickyEvents[e]||(this.stickyEvents[e]=[]),this.stickyEvents[e].push(r),this.listeners[e]&&this.listeners[e].forEach(function(e){return e.apply(void 0,(0,d._)(r))})}},{key:"clearStickyEvent",value:function(e){delete this.stickyEvents[e]}}]),e}();function _(){return(_=(0,i._)(function(e,t,r){var n,a,i,o,s,c=arguments;return(0,h._)(this,function(u){return n=!(c.length>3)||void 0===c[3]||c[3],(null===(i=window)||void 0===i?void 0:null===(a=i.lib)||void 0===a?void 0:a.mtop)||console.error("mtop not found"),o={prefix:"h5api",timeout:6e4,mainDomain:"1688.com",v:"1.0",method:"POST",subDomain:"pre"===e.environment||!e.environment&&v?"wapa":"m",xAcceptStream:!0},s=(0,f._)((0,l._)({experimental:{fetch:r||window.fetch,openWhenHidden:n}},o,e),{data:t}),[2,(0,p.requestStream)(s)]})})).apply(this,arguments)}var w=function(){function e(t,r){(0,o._)(this,e),(0,c._)(this,"data",void 0),(0,c._)(this,"abortController",void 0),this.data=new y,this.abortController=r,this.processStream(t)}return(0,s._)(e,[{key:"processStream",value:function(e){var t=this;return(0,i._)(function(){var r,n,a,i,o,s,c;return(0,h._)(this,function(l){switch(l.label){case 0:r=null,l.label=1;case 1:if(l.trys.push([1,5,6,7]),!(0,u._)(e,ReadableStream))throw{errorCode:m.FAIL_BIZ_STREAM_ERROR,errorInfo:"result is not a stream"};r=e.getReader(),l.label=2;case 2:return[4,r.read()];case 3:if(a=(n=l.sent()).done,i=n.value,a)return t.data.emit("end"),[3,4];if((o=i.ret)&&"string"==typeof o[0]&&!o[0].includes("SUCCESS"))throw{errorCode:(s=o[0].split("::")||[])[0],errorInfo:s[1]};return t.data.emit("data",i),[3,2];case 4:return[3,7];case 5:return c=b(l.sent()),t.data.emit("error",c),[3,7];case 6:return(0,u._)(r,ReadableStreamDefaultReader)&&r.releaseLock(),t.abortController.abort(),[7];case 7:return[2]}})})()}},{key:"abort",value:function(){this.abortController.abort()}}]),e}(),S=(n=(0,i._)(function(e){var t,r,n,a,i;return(0,h._)(this,function(o){switch(o.label){case 0:t=e.options,r=e.params,n=e.nativeFetch,a=e.openWhenHidden,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,function(e,t,r){return _.apply(this,arguments)}(t,r,n,a)];case 2:return[2,new w((i=o.sent()).stream,i.ctx.abortController)];case 3:throw b(o.sent());case 4:return[2]}})}),function(e){return n.apply(this,arguments)})},{"@swc/helpers/_/_async_to_generator":"faxJC","@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","@swc/helpers/_/_instanceof":"9c3DV","@swc/helpers/_/_object_spread":"fzj09","@swc/helpers/_/_object_spread_props":"j5SKX","@swc/helpers/_/_to_consumable_array":"2Cb2m","@swc/helpers/_/_ts_generator":"lJ01F","./lib-mtop-next-native-source/entry/web":"F7ydW","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],F7ydW:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"requestStream",()=>h),n.export(r,"MTOP",()=>u.MTOP);var a=e("@swc/helpers/_/_async_to_generator"),i=e("@swc/helpers/_/_ts_generator"),o=e("../platform/web/middleware/anti-creep"),s=e("../platform/web/middleware/anti-flood"),c=e("../platform/web/middleware/login"),u=e("../platform/web"),l=e("../platform/web/enum");n.exportAll(l,r);var f=e("../type/mtop");n.exportAll(f,r);var d=e("../platform/web/lib/error");function h(e){return p.apply(this,arguments)}function p(){return(p=(0,a._)(function(e){return(0,i._)(this,function(t){return[2,new(0,u.MTOP)(e).requestStream()]})})).apply(this,arguments)}n.exportAll(d,r),(0,u.MTOP).use(c.loginMiddleware),(0,u.MTOP).use(s.antiFloodMiddleware),(0,u.MTOP).use(o.antiCreepMiddleware)},{"@swc/helpers/_/_async_to_generator":"faxJC","@swc/helpers/_/_ts_generator":"lJ01F","../platform/web/middleware/anti-creep":"lHXet","../platform/web/middleware/anti-flood":"cuWrD","../platform/web/middleware/login":"ftI2I","../platform/web":"daPR5","../platform/web/enum":!1,"../type/mtop":!1,"../platform/web/lib/error":!1,"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lHXet:[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"antiCreepMiddleware",()=>c);var i=e("@swc/helpers/_/_async_to_generator"),o=e("@swc/helpers/_/_ts_generator");function s(e){return e.preventDefault(),!1}var c=(n=(0,i._)(function(e,t){var r,n,a,i,c;return(0,o._)(this,function(o){switch(o.label){case 0:if(!e.config.AntiCreep)return[2,t()];return[4,t()];case 1:if(o.sent(),(n=e.response.ret.join(",")).includes("CHECKJS_FLAG")&&e.response.uuid&&e.response.serid){try{a=!!window.document._sufei_data2,i=new Image,c="https://fourier.taobao.com/ts?ext=200&uuid="+e.response.uuid+"&serid="+e.response.serid+"&sufei="+a,window.location&&location.href&&(c+="&href=="+location.href.substr(0,128)),window.__fyModule&&(c+="&fyModuleLoad="+window.__fyModule.load+"&fyModuleInit="+window.__fyModule.init),window.__umModule&&(c+="&umModuleLoad="+window.__umModule.load+"&umModuleInit="+window.__umModule.init),window.__uabModule&&(c+="&uabModuleLoad="+window.__uabModule.load+"&uabModuleInit="+window.__uabModule.init),window.__ncModule&&(c+="&ncModuleLoad="+window.__ncModule.load+"&ncModuleInit="+window.__ncModule.init),window.__nsModule&&(c+="&nsModuleLoad="+window.__nsModule.load+"&nsModuleInit="+window.__nsModule.init),window.__etModule&&(c+="&etModuleLoad="+window.__etModule.load+"&etModuleInit="+window.__etModule.init),i.src=c,document.body.appendChild(i)}catch(e){console.log(e,"\u4e0a\u62a5\u5f02\u5e38")}return[2,e.retry()]}if(n.includes("RGV587_ERROR::SM")||n.includes("ASSIST_FLAG")&&(null===(r=e.response.data)||void 0===r?void 0:r.url))return[2,new Promise(function(t,r){var n=new(function(e,t){var r=navigator.userAgent.match(/.*(iPhone|iPad|Android|ios|SymbianOS|Windows Phone).*/i),n=r&&t.h5url?t.h5url:t.url,a=t.dialogSize,i=this,o=window.dpr||1,c=document.createElement("div"),u=document.documentElement.getBoundingClientRect(),l=Math.max(u.width,window.innerWidth)/o,f=window.innerHeight/o;c.style.cssText=["-webkit-transform:scale("+o+") translateZ(0)","-ms-transform:scale("+o+") translateZ(0)","transform:scale("+o+") translateZ(0)","-webkit-transform-origin:0 0","-ms-transform-origin:0 0","transform-origin:0 0","width:"+l+"px","height:"+f+"px","z-index:2147483647","position: fixed","left:0","top:0px","background:"+(l>800?"rgba(0,0,0,.5)":"#FFF"),"display:none"].join(";");var d=document.createElement("div");d.style.cssText="width:100%;height:52px;background:transparent;line-height:52px;text-align:left;box-sizing:border-box;padding-left:20px;position:absolute;left:0;top:0;font-size:16px;font-weight:bold;color:#333",d.innerText="";var h=document.createElement("img");h.style.cssText="display:block;position:absolute;margin-top:15px;right:0;top:0;height:15px;line-height:52px;padding:0 20px;color:#999",h.src="https://gw.alicdn.com/tfs/TB1QZN.CYj1gK0jSZFuXXcrHpXa-200-200.png";var p=document.createElement("iframe");if(p.style.cssText="width:100%;height:100%;border:0;overflow:hidden",r)d.appendChild(h),c.appendChild(d);else{var v=a&&a.width||"420px",m=a&&a.height||"320px",g=50,b=50,y=24,_=-3;m.indexOf("px")>-1?y-=Number(m.replace("px",""))/2:m.indexOf("%")>-1&&(g-=Number(m.replace("%",""))/2),v.indexOf("px")>-1?_+=Number(v.replace("px",""))/2:v.indexOf("%")>-1&&(b+=Number(v.replace("%",""))/2),h.style.cssText=["position:absolute","width:15px","height:15px","top:"+g+"%","left:"+b+"%","cursor: pointer","border:0","z-index:1","overflow:hidden","margin-top:"+y+"px","margin-left:"+_+"px"].join(";"),c.appendChild(h),p.style.cssText=["position:absolute","top:0px","left:0px","bottom:0px","right:0px","margin:auto","width:"+v,"height:"+m,"border:0","background:#FFF","overflow:hidden","border-radius:18px"].join(";")}c.appendChild(p),c.className="J_MIDDLEWARE_FRAME_WIDGET",document.body.appendChild(c),p.src=n,h.addEventListener("click",function(){i.hide();var e=document.createEvent("HTMLEvents");e.initEvent("close",!1,!1),c.dispatchEvent(e)},!1),this.addEventListener=function(){c.addEventListener.apply(c,arguments)},this.removeEventListener=function(){c.removeEventListener.apply(c,arguments)},this.show=function(){document.addEventListener("touchmove",s,!1),c.style.display="block",window.scrollTo(0,0)},this.hide=function(){document.removeEventListener("touchmove",s),window.scrollTo(0,-u.top),c.parentNode&&c.parentNode.removeChild(c)}}(0,e.response.data));function a(){n.removeEventListener("close",a),window.removeEventListener("message",i),r("USER_INPUT_CANCEL::\u7528\u6237\u53d6\u6d88\u8f93\u5165")}function i(o){var s,c;try{s=JSON.parse(o.data)||{}}catch(e){}if(s&&"child"===s.type){n.removeEventListener("close",a),window.removeEventListener("message",i),n.hide();try{for(var u in c=JSON.parse(decodeURIComponent(s.content)),"string"==typeof c&&(c=JSON.parse(c)),c)e.params[u]=c[u];return e.retry().then(t)}catch(e){r("USER_INPUT_FAILURE::\u7528\u6237\u8f93\u5165\u5931\u8d25")}}}n.addEventListener("close",a,!1),window.addEventListener("message",i,!1),n.show()})];return[2]}})}),function(e,t){return n.apply(this,arguments)})},{"@swc/helpers/_/_async_to_generator":"faxJC","@swc/helpers/_/_ts_generator":"lJ01F","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],cuWrD:[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"antiFloodMiddleware",()=>s);var i=e("@swc/helpers/_/_async_to_generator"),o=e("@swc/helpers/_/_ts_generator"),s=(n=(0,i._)(function(e,t){var r,n;return(0,o._)(this,function(a){switch(a.label){case 0:if(!e.config.AntiFlood)return[2,t()];return[4,t()];case 1:return a.sent(),e.response.ret.join(",").includes("FAIL_SYS_USER_VALIDATE")&&(null===(n=e.response)||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:r.url)&&(location.href=e.response.data.url),[2]}})}),function(e,t){return n.apply(this,arguments)})},{"@swc/helpers/_/_async_to_generator":"faxJC","@swc/helpers/_/_ts_generator":"lJ01F","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],ftI2I:[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"loginMiddleware",()=>u);var i=e("@swc/helpers/_/_async_to_generator"),o=e("@swc/helpers/_/_ts_generator"),s=e("../enum"),c=e("../lib/error"),u=(n=(0,i._)(function(e,t){var r,n,a,i;return(0,o._)(this,function(o){switch(o.label){case 0:return[4,t()];case 1:if(o.sent(),n=(r=e.response).ret.join(","),i=(a=navigator.userAgent.toLowerCase()).indexOf("safari")>-1&&0>a.indexOf("chrome")&&0>a.indexOf("qqbrowser"),!["SESSION_EXPIRED","SID_INVALID","AUTH_REJECT","NEED_LOGIN"].some(function(e){return n.includes(e)}))return[3,5];if(r.retType=s.MTopResponseType.SESSION_EXPIRED,!window.lib.login)throw new c.LibNotFountError("login");if(!(e.config.safariGoLogin&&i&&"taobao.com"!==e.config.pageDomain))return[3,2];return window.lib.login.goLogin(),[3,5];case 2:return o.trys.push([2,4,,5]),[4,window.lib.login.goLoginAsync()];case 3:return o.sent(),[2,e.retry()];case 4:if("CANCEL"===o.sent())throw new c.LoginCancelError;throw new c.LoginFailureError;case 5:return[2]}})}),function(e,t){return n.apply(this,arguments)})},{"@swc/helpers/_/_async_to_generator":"faxJC","@swc/helpers/_/_ts_generator":"lJ01F","../enum":"iBefJ","../lib/error":"2p5PO","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],iBefJ:[function(e,t,r){var n,a,i,o,s,c,u,l,f=e("@parcel/transformer-js/src/esmodule-helpers.js");f.defineInteropFlag(r),f.export(r,"MTopResponseType",()=>s),f.export(r,"MTopResponseRet",()=>c),f.export(r,"MTopStreamResponseTrailerXRetCode",()=>u),f.export(r,"H5AppKey",()=>l),(n=s||(s={}))[n.ERROR=-1]="ERROR",n[n.SUCCESS=0]="SUCCESS",n[n.TOKEN_EXPIRED=1]="TOKEN_EXPIRED",n[n.SESSION_EXPIRED=2]="SESSION_EXPIRED",(a=c||(c={})).SUCCESS="SUCCESS",a.TOKEN_EMPTY="TOKEN_EMPTY",a.TOKEN_EXPIRED="TOKEN_EXOIRED",a.FAIL_SYS_ILLEGAL_ACCESS="ILLEGAL_ACCESS",(i=u||(u={})).SUCCESS="SUCCESS",i.FAIL_SYS_STREAM_TIMEOUT="FAIL_SYS_STREAM_TIMEOUT",i.FAIL_BIZ_STREAM_ERROR="FAIL_BIZ_STREAM_ERROR",i.FAIL_SYS_STREAM_ERROR="FAIL_SYS_STREAM_ERROR",(o=l||(l={})).DEFAULT="12574478",o.TEST="4272"},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"2p5PO":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"ParseJSONError",()=>l),n.export(r,"APIAbortedError",()=>f),n.export(r,"LibNotFountError",()=>d),n.export(r,"LoginCancelError",()=>h),n.export(r,"LoginFailureError",()=>p),n.export(r,"StreamError",()=>v);var a=e("@swc/helpers/_/_assert_this_initialized"),i=e("@swc/helpers/_/_class_call_check"),o=e("@swc/helpers/_/_define_property"),s=e("@swc/helpers/_/_inherits"),c=e("@swc/helpers/_/_wrap_native_super"),u=e("@swc/helpers/_/_create_super"),l=function(e){(0,s._)(r,e);var t=(0,u._)(r);function r(){var e;return(0,i._)(this,r),e=t.call(this,"PARSE_JSON_ERROR::\u89e3\u6790JSON\u5931\u8d25"),(0,o._)((0,a._)(e),"name","PARSE_JSON_ERROR"),e}return r}((0,c._)(Error)),f=function(e){(0,s._)(r,e);var t=(0,u._)(r);function r(){var e;return(0,i._)(this,r),e=t.call(this,"ABORT::\u63a5\u53e3\u5f02\u5e38\u9000\u51fa"),(0,o._)((0,a._)(e),"name","ABORT"),e}return r}((0,c._)(Error)),d=function(e){(0,s._)(r,e);var t=(0,u._)(r);function r(e){var n;return(0,i._)(this,r),(n=t.call(this,"".concat(e.toUpperCase(),"_NOT_FOUND::\u672a\u7f3a\u5c11lib.").concat(e))).name="".concat(e.toUpperCase(),"_NOT_FOUND"),n}return r}((0,c._)(Error)),h=function(e){(0,s._)(r,e);var t=(0,u._)(r);function r(){var e;return(0,i._)(this,r),e=t.call(this,"LOGIN_CANCEL::\u7528\u6237\u53d6\u6d88\u767b\u5f55"),(0,o._)((0,a._)(e),"name","LOGIN_CANCEL"),e}return r}((0,c._)(Error)),p=function(e){(0,s._)(r,e);var t=(0,u._)(r);function r(){var e;return(0,i._)(this,r),e=t.call(this,"LOGIN_FAILURE::\u7528\u6237\u767b\u5f55\u5931\u8d25"),(0,o._)((0,a._)(e),"name","LOGIN_FAILURE"),e}return r}((0,c._)(Error)),v=function(e){(0,s._)(r,e);var t=(0,u._)(r);function r(e){var n;return(0,i._)(this,r),n=t.call(this,"STREAM_ERROR::\u6d41\u5f0f\u63a5\u53e3\u9519\u8bef_".concat(e)),(0,o._)((0,a._)(n),"name","STREAM_ERROR"),n}return r}((0,c._)(Error))},{"@swc/helpers/_/_assert_this_initialized":"kLrHJ","@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_define_property":"dDgsd","@swc/helpers/_/_inherits":"cJoav","@swc/helpers/_/_wrap_native_super":"lqsBQ","@swc/helpers/_/_create_super":"3SDdb","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lqsBQ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>c);var a=e("./_construct.js"),i=e("./_get_prototype_of.js"),o=e("./_is_native_function.js"),s=e("./_set_prototype_of.js");function c(e){var t="function"==typeof Map?new Map:void 0;return(c=function(e){if(null===e||!(0,o._)(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return(0,a._)(e,arguments,(0,i._)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,s._)(r,e)})(e)}},{"./_construct.js":"PogQH","./_get_prototype_of.js":"igSd6","./_is_native_function.js":"4enTN","./_set_prototype_of.js":"fTd4R","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],PogQH:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>o);var a=e("./_is_native_reflect_construct.js"),i=e("./_set_prototype_of.js");function o(e,t,r){return(o=(0,a._)()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&(0,i._)(a,r.prototype),a}).apply(null,arguments)}},{"./_is_native_reflect_construct.js":"hs9J0","./_set_prototype_of.js":"fTd4R","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"4enTN":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){return -1!==Function.toString.call(e).indexOf("[native code]")}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],daPR5:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"MTOP",()=>I);var a=e("@swc/helpers/_/_async_to_generator"),i=e("@swc/helpers/_/_class_call_check"),o=e("@swc/helpers/_/_create_class"),s=e("@swc/helpers/_/_define_property"),c=e("@swc/helpers/_/_instanceof"),u=e("@swc/helpers/_/_object_without_properties"),l=e("@swc/helpers/_/_to_consumable_array"),f=e("@swc/helpers/_/_ts_generator"),d=e("./web/lib/compose"),h=e("./web/lib/qs"),p=e("@microsoft/fetch-event-source"),v=e("./web/lib/md5"),m=e("./web/lib/domain"),g=e("../common/validator"),b=e("./web/lib/cookie"),y=e("./web/enum"),_=e("./web/lib/error"),w={dataType:"jsonp",method:"get"},S={safariGoLogin:!0},E="_m_h5_c",k="_m_h5_tk",I=function(){function e(t){(0,i._)(this,e),(0,s._)(this,"config",null),(0,s._)(this,"params",null),(0,s._)(this,"domain",void 0),(0,s._)(this,"processRequestStreamH5",(r=(0,a._)(function(e,t){var r,n,i,o,s,c,u,l;return(0,f._)(this,function(t){var d;return r="POST"===e.params.method.toUpperCase(),n=[e.config.path,"?",(0,h.qs).stringify(e.config.query)],r||n.push("&",(0,h.qs).stringify(e.config.postdata)),i=n.join(""),o=Object.assign({Accept:"text/event-stream","Content-Type":"application/x-www-form-urlencoded"},e.params.extHeaders),s=r?(0,h.qs).stringify(e.config.postdata):void 0,c=!1,l=(u=new AbortController).signal,e.abortController=u,[2,new Promise((d=(0,a._)(function(t,r){var n;return(0,f._)(this,function(u){return n=new ReadableStream({start:function(u){var d,h,v,m;(0,p.fetchEventSource)(i,{signal:l,method:e.params.method,headers:o,credentials:"include",redirect:"manual",body:s,openWhenHidden:null===(h=e.params)||void 0===h?void 0:null===(d=h.experimental)||void 0===d?void 0:d.openWhenHidden,fetch:"function"==typeof(null===(m=e.params)||void 0===m?void 0:null===(v=m.experimental)||void 0===v?void 0:v.fetch)?e.params.experimental.fetch:void 0,onerror:function(e){throw u.error(e),c||r(e),e},onmessage:function(e){var t;try{(t=/^\s*$/.test(e.data)?{}:JSON.parse(e.data)).id=Number(e.id)}catch(e){u.error(new _.ParseJSONError);return}"resp"===e.event?u.enqueue(t):"trailer"===e.event&&t["x-retcode"]!==y.MTopStreamResponseTrailerXRetCode.SUCCESS&&u.error(new _.StreamError(t["x-retcode"]))},onopen:function(r){return(0,a._)(function(){return(0,f._)(this,function(a){switch(a.label){case 0:if(!r.headers.get("content-type").includes("application/json"))return[3,2];return[4,r.clone().json()];case 1:var i,o;return(i=a.sent()).ret=Array.isArray(i.ret)?i.ret:[],e.config.cors&&i.c&&(0,b.cookie).set(E,i.c,{domain:e.config.pageDomain,path:"/",secure:e.config.secure,sameSite:e.config.sameSite}),o=i.ret.join(","),i.retType=o.includes(y.MTopResponseRet.SUCCESS)?y.MTopResponseType.SUCCESS:y.MTopResponseType.ERROR,e.response=i,[3,3];case 2:e.response={api:e.params.api,v:e.params.v,data:{},ret:["SUCCESS::\u8c03\u7528\u6210\u529f"],retType:y.MTopResponseType.SUCCESS},e.stream=n,a.label=3;case 3:return c=!0,t(),[2]}})})()},onclose:function(){try{u.close()}catch(e){}}})}}),[2]})}),function(e,t){return d.apply(this,arguments)}))]})}),function(e,t){return r.apply(this,arguments)})),(0,s._)(this,"processRequestMethod",function(e,t){switch(e.params.method){case"get":switch(e.params.dataType){case"jsonp":e.config.getJSONP=!0;break;case"json":e.config.getJSON=!0;break;case"originaljsonp":e.config.getOriginalJSONP=!0;break;case"stream":e.config.getStream=!0}break;case"post":"stream"===e.params.dataType?e.config.getStream=!0:e.config.postJSON=!0}return t()});var r,n,o,c,l,d=this;(0,s._)(this,"processDomain",(n=(0,a._)(function(e,t){var r,n,a,i;return(0,f._)(this,function(o){return n=(r=d.domain.parseDomainEnv()).mainDomain,a=r.subDomain,i=r.prefix,e.config.mainDomain="string"==typeof e.params.mainDomain?e.params.mainDomain:n,e.config.subDomain="string"==typeof e.params.subDomain?e.params.subDomain:a,e.config.prefix="string"==typeof e.params.prefix?e.params.prefix:i,[2,t()]})}),function(e,t){return n.apply(this,arguments)})),(0,s._)(this,"processRequestUrl",(o=(0,a._)(function(t,r){var n,a,i,o,s,c,l,d,h,p,m,g,b;return(0,f._)(this,function(f){return t.config.NativeRequest||(n=["".concat(location.protocol,"//"),t.config.prefix?"".concat(t.config.prefix,"."):"",t.config.subDomain?"".concat(t.config.subDomain,"."):"",t.config.mainDomain,"/h5/",t.params.api.toLowerCase(),"/",t.params.v.toLowerCase(),"/"],a="waptest"===t.config.subDomain?y.H5AppKey.TEST:y.H5AppKey.DEFAULT,i=t.params.appKey||a,o=new Date().getTime(),s=(0,v.md5)("".concat(t.config.token,"&").concat(o,"&").concat(i,"&").concat(t.params.data)),c={jsv:e.version,appKey:i,t:o,sign:s},l=t.config.getStream?{xAcceptStream:!0}:null,(d=t.params).extHeaders,h=d.data,p=d.userAgent,m=d.extQuerys,g=Object.assign({},(0,u._)(d,["extHeaders","data","userAgent","extQuerys"]),m,c,l),b={data:h,ua:p},t.config.query=g,t.config.postdata=b,t.config.path=n.join("")),[2,r()]})}),function(e,t){return o.apply(this,arguments)}));var g=this;(0,s._)(this,"processCrossDomain",(c=(0,a._)(function(e,t){return(0,f._)(this,function(r){return e.config.pageDomain=g.domain.getPageDomain(),e.config.pageDomain!==e.config.mainDomain&&(e.config.cors=!0,e.config.maxRetryTimes=4),[2,t()]})}),function(e,t){return c.apply(this,arguments)})),(0,s._)(this,"processToken",(l=(0,a._)(function(e,t){var r,n;return(0,f._)(this,function(a){switch(a.label){case 0:return e.config.token&&delete e.config.token,e.config.cors&&(0,b.cookie).get(E)?e.config.token=(0,b.cookie).get(E).split(";")[0]:e.config.token=e.config.token||(0,b.cookie).get(k),e.config.token&&(e.config.token=e.config.token.split("_")[0]),[4,t()];case 1:if(a.sent(),e.response&&(n=(r=e.response.ret.join(",")).includes(y.MTopResponseRet.FAIL_SYS_ILLEGAL_ACCESS)&&e.config.cors,r.includes(y.MTopResponseRet.TOKEN_EMPTY)||r.includes(y.MTopResponseRet.TOKEN_EXPIRED)||n)){if(e.config.maxRetryTimes=e.config.maxRetryTimes||5,e.config.failTimes=e.config.failTimes||0,e.config.failTimes++,e.config.failTimes<e.config.maxRetryTimes)return[2,e.retry()];e.config.maxRetryTimes>0&&((0,b.cookie).remove(E,e.config.pageDomain,"*"),(0,b.cookie).remove(k,e.config.mainDomain,e.config.subDomain),(0,b.cookie).remove("_m_h5_tk_enc",e.config.mainDomain,e.config.subDomain)),e.response.retType=y.MTopResponseType.TOKEN_EXPIRED}return[2]}})}),function(e,t){return l.apply(this,arguments)})),this.params=Object.assign({},w,t),this.params.method=this.params.method.toLowerCase(),"object"==typeof this.params.data&&(this.params.data=JSON.stringify(this.params.data)),this.config=Object.assign({},S,e.config),this.config.LoginRequest=this.params.LoginRequest,this.config.AntiFlood=this.params.AntiFlood,this.config.AntiCreep=!1!==this.params.AntiCreep;var I=window.location.hostname;if(!I){var x=window.parent.location.hostname;x&&~x.indexOf("zebra.alibaba-inc.com")&&(I=x)}this.domain=new m.DomainUtils(I)}return(0,o._)(e,[{key:"requestStream",value:function(){var t=this;return(0,a._)(function(){var r,n,a,i,o,s,u,h,p;return(0,f._)(this,function(f){switch(f.label){case 0:t.params.dataType="stream",(r={params:t.params,config:t.config}).retry=t.retry(r),n=[t.processDomain,t.processCrossDomain,t.processToken,t.processRequestMethod,t.processRequestUrl].concat((0,l._)(e.middlewares),[t.processRequestStreamH5]),f.label=1;case 1:return f.trys.push([1,3,,4]),[4,(0,d.compose)(n)(r)];case 2:if(f.sent(),r.response.retType!==y.MTopResponseType.SUCCESS)return[2,Promise.reject(r.response)];return[2,{stream:r.stream,ctx:r}];case 3:return a=f.sent(),(0,c._)(a,Error)?(console.error(a),u={stack:a.stack,ret:[a.message],retJson:y.MTopResponseType.ERROR,retType:y.MTopResponseType.ERROR}):u="string"==typeof a?{ret:[a],retJson:y.MTopResponseType.ERROR,retType:y.MTopResponseType.ERROR}:void 0!==a?a:r.response,(null===(s=window)||void 0===s?void 0:null===(o=s.lib)||void 0===o?void 0:null===(i=o.mtop)||void 0===i?void 0:i.errorListener)&&(null===(h=(p=window.lib.mtop).errorListener)||void 0===h||h.call(p,{api:r.params.api,v:r.params.v,retJson:r.response,data:r.params.data})),[2,Promise.reject(u)];case 4:return[2]}})})()}},{key:"retry",value:function(t){var r=this;return function(){var n=[r.processToken,r.processRequestUrl].concat((0,l._)(e.middlewares),[r.processRequestStreamH5]);return(0,d.compose)(n)(t)}}}],[{key:"use",value:function(e){return(0,g.validateFunction)("middleware",e),this.middlewares.push(e),this}}]),e}();(0,s._)(I,"middlewares",[]),(0,s._)(I,"version","0.0.1"),(0,s._)(I,"config",null)},{"@swc/helpers/_/_async_to_generator":"faxJC","@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","@swc/helpers/_/_instanceof":"9c3DV","@swc/helpers/_/_object_without_properties":"75DVk","@swc/helpers/_/_to_consumable_array":"2Cb2m","@swc/helpers/_/_ts_generator":"lJ01F","./web/lib/compose":"hpVyU","./web/lib/qs":"9Afcz","@microsoft/fetch-event-source":"ltywJ","./web/lib/md5":"lNQAy","./web/lib/domain":"5IrpU","../common/validator":"hjQEM","./web/lib/cookie":"hXiOj","./web/enum":"iBefJ","./web/lib/error":"2p5PO","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],hpVyU:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"compose",()=>i);var a=e("../../../common/validator");function i(e){(0,a.validateArray)("middleware",e);var t=!0,r=!1,n=void 0;try{for(var i,o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var s=i.value;(0,a.validateFunction)("middleware[fn]",s)}}catch(e){r=!0,n=e}finally{try{t||null==o.return||o.return()}finally{if(r)throw n}}return function(t,r){var n=-1;return function a(i){if(i<=n)return Promise.reject(Error("next() called multiple times"));n=i;var o=e[i];if(i===e.length&&(o=r),!o)return Promise.resolve();try{return Promise.resolve(o(t,a.bind(null,i+1)))}catch(e){return Promise.reject(e)}}(0)}}},{"../../../common/validator":"hjQEM","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],hjQEM:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){if("function"!=typeof t)throw TypeError("".concat(e," must be a function, but got ").concat(o(t)))}function i(e,t){if(!Array.isArray(t))throw TypeError("".concat(e," must be an array, but got ").concat(o(t)))}function o(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}n.defineInteropFlag(r),n.export(r,"validateFunction",()=>a),n.export(r,"validateArray",()=>i),n.export(r,"getType",()=>o)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"9Afcz":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"qs",()=>a);var a={stringify:function(e){var t=[];for(var r in e)e[r]&&t.push(r+"="+encodeURIComponent(e[r]));return t.join("&")}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],ltywJ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"fetchEventSource",()=>a.fetchEventSource),n.export(r,"EventStreamContentType",()=>a.EventStreamContentType);var a=e("./fetch")},{"./fetch":"c4In2","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],c4In2:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"EventStreamContentType",()=>o),n.export(r,"fetchEventSource",()=>c);var a=e("./parse"),i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let o="text/event-stream",s="last-event-id";function c(e,t){var{signal:r,headers:n,onopen:c,onmessage:l,onclose:f,onerror:d,openWhenHidden:h,fetch:p}=t,v=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let m;let g=Object.assign({},n);function b(){m.abort(),document.hidden||k()}g.accept||(g.accept=o),h||document.addEventListener("visibilitychange",b);let y=1e3,_=0;function w(){document.removeEventListener("visibilitychange",b),window.clearTimeout(_),m.abort()}null==r||r.addEventListener("abort",()=>{w(),t()});let S=null!=p?p:window.fetch,E=null!=c?c:u;async function k(){var r;m=new AbortController;try{let r=await S(e,Object.assign(Object.assign({},v),{headers:g,signal:m.signal}));await E(r),await (0,a.getBytes)(r.body,(0,a.getLines)((0,a.getMessages)(e=>{e?g[s]=e:delete g[s]},e=>{y=e},l))),null==f||f(),w(),t()}catch(e){if(!m.signal.aborted)try{let t=null!==(r=null==d?void 0:d(e))&&void 0!==r?r:y;window.clearTimeout(_),_=window.setTimeout(k,t)}catch(e){w(),i(e)}}}k()})}function u(e){let t=e.headers.get("content-type");if(!(null==t?void 0:t.startsWith(o)))throw Error(`Expected content-type to be ${o}, Actual: ${t}`)}},{"./parse":"kgGyz","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],kgGyz:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");async function a(e,t){let r;let n=e.getReader();for(;!(r=await n.read()).done;)t(r.value)}function i(e){let t,r,n;let a=!1;return function(i){void 0===t?(t=i,r=0,n=-1):t=function(e,t){let r=new Uint8Array(e.length+t.length);return r.set(e),r.set(t,e.length),r}(t,i);let o=t.length,s=0;for(;r<o;){a&&(10===t[r]&&(s=++r),a=!1);let i=-1;for(;r<o&&-1===i;++r)switch(t[r]){case 58:-1===n&&(n=r-s);break;case 13:a=!0;case 10:i=r}if(-1===i)break;e(t.subarray(s,i),n),s=r,n=-1}s===o?t=void 0:0!==s&&(t=t.subarray(s),r-=s)}}function o(e,t,r){let n=s(),a=new TextDecoder;return function(i,o){if(0===i.length)null==r||r(n),n=s();else if(o>0){let r=a.decode(i.subarray(0,o)),s=o+(32===i[o+1]?2:1),c=a.decode(i.subarray(s));switch(r){case"data":n.data=n.data?n.data+"\n"+c:c;break;case"event":n.event=c;break;case"id":e(n.id=c);break;case"retry":let u=parseInt(c,10);isNaN(u)||t(n.retry=u)}}}}function s(){return{data:"",event:"",id:"",retry:void 0}}n.defineInteropFlag(r),n.export(r,"getBytes",()=>a),n.export(r,"getLines",()=>i),n.export(r,"getMessages",()=>o)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lNQAy:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){var t,r,n,a,i,o,s,c,u,l=function(e,t){return e<<t|e>>>32-t},f=function(e,t){var r,n,a,i,o;return(a=2147483648&e,i=2147483648&t,r=1073741824&e,n=1073741824&t,o=(1073741823&e)+(1073741823&t),r&n)?2147483648^o^a^i:r|n?1073741824&o?3221225472^o^a^i:1073741824^o^a^i:o^a^i},d=function(e,t,r,n,a,i,o){return e=f(e,f(f(t&r|~t&n,a),o)),f(l(e,i),t)},h=function(e,t,r,n,a,i,o){return e=f(e,f(f(t&n|r&~n,a),o)),f(l(e,i),t)},p=function(e,t,r,n,a,i,o){return e=f(e,f(f(t^r^n,a),o)),f(l(e,i),t)},v=function(e,t,r,n,a,i,o){return e=f(e,f(f(r^(t|~n),a),o)),f(l(e,i),t)},m=function(e){var t,r="",n="";for(t=0;t<=3;t++)r+=(n="0"+(e>>>8*t&255).toString(16)).substr(n.length-2,2);return r},g=[];for(t=0,g=function(e){for(var t,r=e.length,n=r+8,a=((n-n%64)/64+1)*16,i=Array(a-1),o=0,s=0;s<r;)t=(s-s%4)/4,o=s%4*8,i[t]=i[t]|e.charCodeAt(s)<<o,s++;return t=(s-s%4)/4,o=s%4*8,i[t]=i[t]|128<<o,i[a-2]=r<<3,i[a-1]=r>>>29,i}(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&n<2048?t+=String.fromCharCode(n>>6|192)+String.fromCharCode(63&n|128):t+=String.fromCharCode(n>>12|224)+String.fromCharCode(n>>6&63|128)+String.fromCharCode(63&n|128)}return t}(e)),o=1732584193,s=4023233417,c=2562383102,u=271733878;t<g.length;t+=16)r=o,n=s,a=c,i=u,o=d(o,s,c,u,g[t+0],7,3614090360),u=d(u,o,s,c,g[t+1],12,3905402710),c=d(c,u,o,s,g[t+2],17,606105819),s=d(s,c,u,o,g[t+3],22,3250441966),o=d(o,s,c,u,g[t+4],7,4118548399),u=d(u,o,s,c,g[t+5],12,1200080426),c=d(c,u,o,s,g[t+6],17,2821735955),s=d(s,c,u,o,g[t+7],22,4249261313),o=d(o,s,c,u,g[t+8],7,1770035416),u=d(u,o,s,c,g[t+9],12,2336552879),c=d(c,u,o,s,g[t+10],17,4294925233),s=d(s,c,u,o,g[t+11],22,2304563134),o=d(o,s,c,u,g[t+12],7,1804603682),u=d(u,o,s,c,g[t+13],12,4254626195),c=d(c,u,o,s,g[t+14],17,2792965006),s=d(s,c,u,o,g[t+15],22,1236535329),o=h(o,s,c,u,g[t+1],5,4129170786),u=h(u,o,s,c,g[t+6],9,3225465664),c=h(c,u,o,s,g[t+11],14,643717713),s=h(s,c,u,o,g[t+0],20,3921069994),o=h(o,s,c,u,g[t+5],5,3593408605),u=h(u,o,s,c,g[t+10],9,38016083),c=h(c,u,o,s,g[t+15],14,3634488961),s=h(s,c,u,o,g[t+4],20,3889429448),o=h(o,s,c,u,g[t+9],5,568446438),u=h(u,o,s,c,g[t+14],9,3275163606),c=h(c,u,o,s,g[t+3],14,4107603335),s=h(s,c,u,o,g[t+8],20,1163531501),o=h(o,s,c,u,g[t+13],5,2850285829),u=h(u,o,s,c,g[t+2],9,4243563512),c=h(c,u,o,s,g[t+7],14,1735328473),s=h(s,c,u,o,g[t+12],20,2368359562),o=p(o,s,c,u,g[t+5],4,4294588738),u=p(u,o,s,c,g[t+8],11,2272392833),c=p(c,u,o,s,g[t+11],16,1839030562),s=p(s,c,u,o,g[t+14],23,4259657740),o=p(o,s,c,u,g[t+1],4,2763975236),u=p(u,o,s,c,g[t+4],11,1272893353),c=p(c,u,o,s,g[t+7],16,4139469664),s=p(s,c,u,o,g[t+10],23,3200236656),o=p(o,s,c,u,g[t+13],4,681279174),u=p(u,o,s,c,g[t+0],11,3936430074),c=p(c,u,o,s,g[t+3],16,3572445317),s=p(s,c,u,o,g[t+6],23,76029189),o=p(o,s,c,u,g[t+9],4,3654602809),u=p(u,o,s,c,g[t+12],11,3873151461),c=p(c,u,o,s,g[t+15],16,530742520),s=p(s,c,u,o,g[t+2],23,3299628645),o=v(o,s,c,u,g[t+0],6,4096336452),u=v(u,o,s,c,g[t+7],10,1126891415),c=v(c,u,o,s,g[t+14],15,2878612391),s=v(s,c,u,o,g[t+5],21,4237533241),o=v(o,s,c,u,g[t+12],6,1700485571),u=v(u,o,s,c,g[t+3],10,2399980690),c=v(c,u,o,s,g[t+10],15,4293915773),s=v(s,c,u,o,g[t+1],21,2240044497),o=v(o,s,c,u,g[t+8],6,1873313359),u=v(u,o,s,c,g[t+15],10,4264355552),c=v(c,u,o,s,g[t+6],15,2734768916),s=v(s,c,u,o,g[t+13],21,1309151649),o=v(o,s,c,u,g[t+4],6,4149444226),u=v(u,o,s,c,g[t+11],10,3174756917),c=v(c,u,o,s,g[t+2],15,718787259),s=v(s,c,u,o,g[t+9],21,3951481745),o=f(o,r),s=f(s,n),c=f(c,a),u=f(u,i);return(m(o)+m(s)+m(c)+m(u)).toLowerCase()}n.defineInteropFlag(r),n.export(r,"md5",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"5IrpU":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"DomainUtils",()=>s);var a=e("@swc/helpers/_/_class_call_check"),i=e("@swc/helpers/_/_create_class"),o=e("@swc/helpers/_/_define_property"),s=function(){function e(t){(0,a._)(this,e),(0,o._)(this,"hostname",void 0),(0,o._)(this,"hosts",["taobao.net","taobao.com","tmall.com","tmall.hk","alibaba-inc.com"]),this.hostname=t}return(0,i._)(e,[{key:"parseDomainEnv",value:function(){var e=RegExp("([^.]*?)\\.?((?:"+this.hosts.join(")|(?:").replace(/\./g,"\\.")+"))","i"),t=this.hostname.match(e)||[],r=t[2]||"taobao.com",n=t[1]||"m";"taobao.net"===r&&("x"===n||"waptest"===n||"daily"===n)?n="waptest":"taobao.net"===r&&"demo"===n?n="demo":"alibaba-inc.com"===r&&"zebra"===n?n="zebra":"waptest"!==n&&"wapa"!==n&&"m"!==n&&(n="m");var a="h5api";return"taobao.net"===r&&"waptest"===n&&(a="acs"),{mainDomain:r,subDomain:n,prefix:a}}},{key:"getPageDomain",value:function(){var e=this.hostname;try{if(".com"===e.substring(e.lastIndexOf(".")))return e.substring(e.lastIndexOf(".",e.lastIndexOf(".")-1)+1);if((e.split(".")||[]).length<=3)return e;return e.split(".").slice(1).join(".")}catch(t){return e.substring(e.lastIndexOf(".",e.lastIndexOf(".")-1)+1)}}}]),e}()},{"@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],hXiOj:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"cookie",()=>a);var a={set:function(e,t,r){var n=r||{};document.cookie=e.replace(/[^+#$&^`|]/g,encodeURIComponent).replace("(","%28").replace(")","%29")+"="+t.replace(/[^+#$&/:<-\[\]-}]/g,encodeURIComponent)+(n.domain?";domain="+n.domain:"")+(n.path?";path="+n.path:"")+(n.secure?";secure":"")+(n.httponly?";HttpOnly":"")+(n.sameSite?";Samesite="+n.sameSite:"")},remove:function(e,t,r){var n=new Date;n.setTime(n.getTime()-864e5),document.cookie=e+"=;path=/;domain=."+t+";expires="+n.toGMTString(),document.cookie=e+"=;path=/;domain=."+r+"."+t+";expires="+n.toGMTString()},get:function(e){var t=RegExp("(?:^|;\\s*)"+e+"\\=([^;]+)(?:;\\s*|$)").exec(document.cookie);return null==t?void 0:t[1]}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],jdeL3:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"MSG_STATUS",()=>a),n.export(r,"INITIAL_MSG_STATUS",()=>i);var a={finished:{allFinished:"finished",abortFinished:"abortFinished",halfFinished:"halfFinished"},generating:{generating:"generating"},failed:{allFailed:"failed",halfFailed:"halfFailed",retryFailed:"retryFailed"}},i={finished:a.finished.allFinished,generating:a.generating.generating,failed:a.failed.allFailed}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"1RBAj":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"otherHelpers",()=>u),n.export(r,"RetryHelper",()=>l);var a=e("@swc/helpers/_/_class_call_check"),i=e("@swc/helpers/_/_create_class"),o=e("@swc/helpers/_/_define_property"),s=e("@swc/helpers/_/_object_spread"),c=e("../const"),u={getMessageInfoFromStreamInfo:function(e){var t=e.sceneCode,r=e.sessionId,n=e.msgId,a=e.msgStatus,i=e.chunkId,o=e.parentMsgId;return{queryString:e.queryString,sceneCode:t,sessionId:r,msgId:n,msgStatus:a,chunkId:i,parentMsgId:o,failedReasonDetail:e.failedReasonDetail}},completeErrorChunkItem:function(e,t,r,n){var a,i="",o=c.MSG_STATUS.failed.allFailed,s=e.errorCode,u=e.errorInfo,l=t.chunkCount,f=t.chunkIndex,d=t.chunkId;return"JS"===s?(i='\u6d41\u5f0f\u63a5\u53e3JS\u5931\u8d25\uff0c\u8fdb\u5165.on("error"',a="JS"):"FETCH_NET_WORK"===s?(i='\u6d41\u5f0f\u63a5\u53e3\u7f51\u7edc\u5931\u8d25\uff0c\u8fdb\u5165.on("error"',a="NET",n&&(o=c.MSG_STATUS.failed.retryFailed)):(i=r?"\u6d41\u5f0f\u63a5\u53e3\u6574\u4f53\u5931\u8d25\u8fdb\u5165catch":'\u6d41\u5f0f\u63a5\u53e3mtop\u5c42\u5931\u8d25\uff0c\u8fdb\u5165.on("error"',a="MTOP"),{level:a,logMeaning:i,chunkCount:l,chunkIndex:f,errorCode:s,errorInfo:u,endStatus:o,chunkId:d}},reShapeErrorChunkParams:function(e){try{var t=e.traceId,r=e.chunkDetail.slice().reverse().find(function(e){return"VALIDATE_SUCCESS"!==e.errorCode});return(0,s._)({traceId:t},r)}catch(e){return{level:"UNKNOWN"}}}},l=function(){function e(t){(0,a._)(this,e),(0,o._)(this,"retryCount",1),(0,o._)(this,"maxRetryCount",void 0),this.maxRetryCount=Number(t)>0?t:e.DEFAULT_MAX_RETRY}return(0,i._)(e,[{key:"addRetryCount",value:function(){this.retryCount++}},{key:"resetRetryCount",value:function(){this.retryCount=0}},{key:"isMaxRetry",value:function(){return this.retryCount>this.maxRetryCount}}]),e}();(0,o._)(l,"DEFAULT_MAX_RETRY",5)},{"@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","@swc/helpers/_/_object_spread":"fzj09","../const":"jdeL3","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"4ElEW":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"saveMsg",()=>b),n.export(r,"getMsgDetail",()=>_),n.export(r,"getAssetsToken",()=>S);var a=e("@swc/helpers/_/_async_to_generator"),i=e("@swc/helpers/_/_instanceof"),o=e("@swc/helpers/_/_object_spread"),s=e("@swc/helpers/_/_object_spread_props"),c=e("@swc/helpers/_/_object_without_properties"),u=e("@swc/helpers/_/_sliced_to_array"),l=e("@swc/helpers/_/_ts_generator"),f=e("./utils/mtop"),d=e("./utils/tracker"),h=n.interopDefault(d),p=e("./utils/util"),v="mtop.cbu.pc.tiansuo.engine.dialog.conversation.finished",m="mtop.cbu.pc.tiansuo.portal.message.get",g="mtop.cbu.pc.tiansuo.engine.dialog.access";function b(e){return y.apply(this,arguments)}function y(){return(y=(0,a._)(function(e){var t,r,n,a,u,d,m,g,b,y,_,w,S,E,k;return(0,l._)(this,function(l){switch(l.label){case 0:(null===(r=window)||void 0===r?void 0:null===(t=r.lib)||void 0===t?void 0:t.mtop)||console.error("mtop not found"),(0,f.setMtopConfig)(),a=(n=e.streamInfo).sceneCode,u=n.sessionId,d={contentType:"tiansuo-render-protocol",sceneCode:a,sessionId:u,msgId:n.msgId,msgStatus:n.msgStatus,failedReasonDetail:n.chunkDetail.filter(function(e){return"VALIDATE_SUCCESS"!==e.errorCode}),failedReasonType:"",content:JSON.stringify(e)},l.label=1;case 1:return l.trys.push([1,3,,4]),b={v:"1.0",ecode:0,type:"POST",dataType:"jsonp",timeout:2e4,prefix:"h5api"},[4,window.lib.mtop.request((0,s._)((0,o._)({},b),{api:v,data:d}))];case 2:if(!((null===(g=(y=l.sent()).ret)||void 0===g?void 0:null===(m=g[0])||void 0===m?void 0:m.includes("SUCCESS"))&&y.data))return(0,h.default).reportTrace({name:v,logType:"server-error",meanings:"\u4fdd\u5b58\u73b0\u573a\u63a5\u53e3mtop\u5c42\u5931\u8d25\uff0c\u9519\u8bef\u4fe1\u606f=".concat(null===(S=y.ret)||void 0===S?void 0:null===(w=S[0])||void 0===w?void 0:null===(_=w.split("::"))||void 0===_?void 0:_[1])}),[2];return(0,h.default).reportTrace({name:v,logType:"server-success",meanings:"\u4fdd\u5b58\u73b0\u573a\u63a5\u53e3\u6210\u529f"}),[3,4];case 3:return E=l.sent(),d.content,k=(0,c._)(d,["content"]),(0,i._)(E,Error)?(0,h.default).reportTrace({name:v,logType:"js-error",meanings:"\u4fdd\u5b58\u73b0\u573a\u63a5\u53e3\u5904\u7406\u6570\u636e\u62a5\u9519\uff0c\u8fdb\u5165catch",errorMessage:E.message,streamInfo:(0,p.stringifyEveryThing)(e.streamInfo),paramsWithoutContent:(0,p.stringifyEveryThing)(k)}):(0,h.default).reportTrace({name:v,logType:"server-error",meanings:"\u4fdd\u5b58\u73b0\u573a\u63a5\u53e3mtop\u5c42\u5931\u8d25\uff0c\u8fdb\u5165catch",error:(0,p.stringifyEveryThing)(E),streamInfo:(0,p.stringifyEveryThing)(e.streamInfo),paramsWithoutContent:(0,p.stringifyEveryThing)(k)}),[3,4];case 4:return[2]}})})).apply(this,arguments)}function _(e,t){return w.apply(this,arguments)}function w(){return(w=(0,a._)(function(e,t){var r,n,a,s,c,d,v,g,b,y,_,w,S;return(0,l._)(this,function(l){switch(l.label){case 0:r=e.msgId,(null===(a=window)||void 0===a?void 0:null===(n=a.lib)||void 0===n?void 0:n.mtop)||console.error("mtop not found"),(0,f.setMtopConfig)(),l.label=1;case 1:return l.trys.push([1,3,,4]),d={msgId:r},[4,window.lib.mtop.request((0,o._)({api:m,v:"1.0",ecode:0,type:"GET",dataType:"jsonp",timeout:2e4,prefix:"h5api",data:d},t||{}))];case 2:if(!((null===(c=(v=l.sent()).ret)||void 0===c?void 0:null===(s=c[0])||void 0===s?void 0:s.includes("SUCCESS"))&&v.data))return _=(y=(0,u._)((null===(b=v.ret)||void 0===b?void 0:null===(g=b[0])||void 0===g?void 0:g.split("::"))||["",""],2))[0],w=y[1],(0,h.default).reportTrace({name:m,logType:"server-error",meanings:"\u83b7\u53d6\u6d88\u606f\u8be6\u60c5\u63a5\u53e3mtop\u5c42\u5931\u8d25",retCode:_,retMsg:w}),[2,{data:null,error:{}}];return(0,h.default).reportTrace({name:m,logType:"server-success",meanings:"\u83b7\u53d6\u6d88\u606f\u8be6\u60c5\u63a5\u53e3\u6210\u529f"}),[2,{data:v.data,error:null}];case 3:return S=l.sent(),(0,i._)(S,Error)?(0,h.default).reportTrace({name:m,logType:"js-error",meanings:"\u83b7\u53d6\u6d88\u606f\u8be6\u60c5\u63a5\u53e3\u5904\u7406\u6570\u636e\u62a5\u9519\uff0c\u8fdb\u5165catch",errorMessage:S.message}):(0,h.default).reportTrace({name:m,logType:"server-error",meanings:"\u83b7\u53d6\u6d88\u606f\u8be6\u60c5\u63a5\u53e3mtop\u5c42\u5931\u8d25\uff0c\u8fdb\u5165catch",error:(0,p.stringifyEveryThing)(S)}),[2,{data:null,error:{}}];case 4:return[2]}})})).apply(this,arguments)}function S(e,t){return E.apply(this,arguments)}function E(){return(E=(0,a._)(function(e,t){var r,n,a,i,o,s,c,d,v,m;return(0,l._)(this,function(l){switch(l.label){case 0:(null===(n=window)||void 0===n?void 0:null===(r=n.lib)||void 0===r?void 0:r.mtop)||console.error("mtop not found"),(0,f.setMtopConfig)(),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,window.lib.mtop.request({api:g,v:"1.0",ecode:0,type:"POST",dataType:"jsonp",timeout:2e4,prefix:"h5api",data:{sceneCode:e,bizParams:t}})];case 2:if(o=l.sent(),c=(s=(0,u._)((null===(i=o.ret)||void 0===i?void 0:null===(a=i[0])||void 0===a?void 0:a.split("::"))||["",""],2))[0],d=s[1],v=o.data,!("SUCCESS"===c&&v))throw{level:"MTOP",errorCode:c,errorInfo:d};return(0,h.default).reportTrace({name:g,logType:"server-success",meanings:"\u83b7\u53d6token\u63a5\u53e3\u6210\u529f"}),[2,{data:v,error:null}];case 3:return m=l.sent(),(0,h.default).reportTrace({name:g,logType:m.level?"server-error":"js-error",meanings:m.level?"\u83b7\u53d6token\u63a5\u53e3\u5931\u8d25":"\u83b7\u53d6token js\u62a5\u9519",error:(0,p.stringifyEveryThing)(m)}),[2,{data:null,error:{level:m.level||"JS",errorCode:m.errorCode,errorInfo:m.errorInfo||m.message,logMeaning:"\u83b7\u53d6token\u5931\u8d25"}}];case 4:return[2]}})})).apply(this,arguments)}},{"@swc/helpers/_/_async_to_generator":"faxJC","@swc/helpers/_/_instanceof":"9c3DV","@swc/helpers/_/_object_spread":"fzj09","@swc/helpers/_/_object_spread_props":"j5SKX","@swc/helpers/_/_object_without_properties":"75DVk","@swc/helpers/_/_sliced_to_array":"kkUMi","@swc/helpers/_/_ts_generator":"lJ01F","./utils/mtop":"j94zw","./utils/tracker":"jFoGJ","./utils/util":"fLHoZ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],kkUMi:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_",()=>c);var a=e("./_array_with_holes.js"),i=e("./_iterable_to_array_limit.js"),o=e("./_non_iterable_rest.js"),s=e("./_unsupported_iterable_to_array.js");function c(e,t){return(0,a._)(e)||(0,i._)(e,t)||(0,s._)(e,t)||(0,o._)()}},{"./_array_with_holes.js":"7bkpl","./_iterable_to_array_limit.js":"cY5Om","./_non_iterable_rest.js":"jA3qG","./_unsupported_iterable_to_array.js":"lx81R","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"7bkpl":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){if(Array.isArray(e))return e}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],cY5Om:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){var r,n,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i=[],o=!0,s=!1;try{for(a=a.call(e);!(o=(r=a.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==a.return||a.return()}finally{if(s)throw n}}return i}}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],jA3qG:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.defineInteropFlag(r),n.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],j94zw:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"initMtop",()=>i),n.export(r,"setMtopConfig",()=>o);var a=location.href.indexOf("__mtop_subdomain__=wapa")>-1||location.href.indexOf("pre-")>-1;function i(){}function o(){window.lib.mtop.config.prefix="h5api",a?window.lib.mtop.config.subDomain="wapa":window.lib.mtop.config.subDomain="m",window.lib.mtop.config.mainDomain="1688.com"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],gddZu:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("@swc/helpers/_/_class_call_check"),i=e("@swc/helpers/_/_create_class"),o=e("@swc/helpers/_/_define_property"),s=e("../utils/tracker"),c=n.interopDefault(s),u=e("../utils/util"),l=function(){function e(){(0,a._)(this,e)}return(0,i._)(e,null,[{key:"setMsg",value:function(t,r){try{var n="".concat(e.PREFIX,"_").concat(t),a=JSON.stringify(r);localStorage.setItem(n,a)}catch(e){(0,c.default).reportTrace({name:"storage",logType:"js-error",meanings:"msgId=".concat(t,"\u7684storage\u5199\u5165\u5931\u8d25"),error:(0,u.stringifyEveryThing)(e)})}}},{key:"clearMsg",value:function(t){try{var r="".concat(e.PREFIX,"_").concat(t);localStorage.removeItem(r)}catch(e){(0,c.default).reportTrace({name:"storage",logType:"js-error",meanings:"msgId=".concat(t,"\u7684storage\u5220\u9664\u5931\u8d25"),error:(0,u.stringifyEveryThing)(e)})}}},{key:"getMsg",value:function(t){try{var r="".concat(e.PREFIX,"_").concat(t),n=localStorage.getItem(r),a=JSON.parse(n),i=a.compsInfo;if(a.streamInfo,!i.length)throw Error("msgId=".concat(t,"\u7684storage\u7684compsInfo\u4e0d\u662f\u6570\u7ec4"));return{data:a,error:null}}catch(e){return(0,c.default).reportTrace({name:"storage",logType:"js-validate",meanings:"msgId=".concat(t,"\u7684storage\u8bfb\u53d6\u5931\u8d25"),error:(0,u.stringifyEveryThing)(e),msgId:t}),{data:null,error:e}}}}]),e}();(0,o._)(l,"PREFIX","dataLoader"),r.default=l},{"@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","../utils/tracker":"jFoGJ","../utils/util":"fLHoZ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],d8uow:[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"getSessionList",()=>h);var i=e("@swc/helpers/_/_async_to_generator"),o=e("@swc/helpers/_/_instanceof"),s=e("@swc/helpers/_/_ts_generator"),c=e("./utils/mtop"),u=e("./utils/util"),l=e("./utils/tracker"),f=a.interopDefault(l),d="mtop.cbu.pc.tiansuo.portal.conversation.history.page.query",h=(n=(0,i._)(function(e){var t,r,n,a,i,l,h,p,v,m,g;return(0,s._)(this,function(s){switch(s.label){case 0:t=e.sceneCode,r=e.pageNo,n=e.pageSize,a=e.noEnvironment,(null===(l=window)||void 0===l?void 0:null===(i=l.lib)||void 0===i?void 0:i.mtop)||console.error("mtop not found"),(0,c.setMtopConfig)(),h={scene:t,pageNo:r||1,pageSize:n||1e3,needEnvironment:!!a},s.label=1;case 1:return s.trys.push([1,3,,4]),[4,window.lib.mtop.request({api:d,v:"1.0",dataType:"json",data:h})];case 2:if(m=s.sent(),(0,u.debugConsole).info("~~~~scene.ts,getSessionList~~~~res:",u.logStl.purple,m),!Array.isArray(null===(v=m)||void 0===v?void 0:null===(p=v.data)||void 0===p?void 0:p.conversationList))return(0,f.default).reportTrace({name:d,logType:"server-error",meanings:"\u83b7\u53d6\u4f1a\u8bdd\u5217\u8868\u63a5\u53e3conversationList\u4e0d\u662f\u6570\u7ec4",params:(0,u.stringifyEveryThing)(h),error:(0,u.stringifyEveryThing)(m)}),(0,u.debugConsole).error("Error fetching session list:",m),[2,{conversationList:[],error:{}}];return[2,{conversationList:m.data.conversationList,error:null}];case 3:return g=s.sent(),(0,o._)(g,Error)?((0,f.default).reportTrace({name:d,logType:"js-error",meanings:"\u83b7\u53d6\u4f1a\u8bdd\u5217\u8868\u63a5\u53e3js\u62a5\u9519",errorMessage:g.message,params:(0,u.stringifyEveryThing)(h)}),(0,u.debugConsole).error("Error fetching session list:",g.message)):((0,f.default).reportTrace({name:d,logType:"server-error",meanings:"\u83b7\u53d6\u4f1a\u8bdd\u5217\u8868\u63a5\u53e3\u8fdb\u5165catch",error:(0,u.stringifyEveryThing)(g),params:(0,u.stringifyEveryThing)(h)}),(0,u.debugConsole).error("Error fetching session list:",g)),[2,{conversationList:[],error:{}}];case 4:return[2]}})}),function(e){return n.apply(this,arguments)})},{"@swc/helpers/_/_async_to_generator":"faxJC","@swc/helpers/_/_instanceof":"9c3DV","@swc/helpers/_/_ts_generator":"lJ01F","./utils/mtop":"j94zw","./utils/util":"fLHoZ","./utils/tracker":"jFoGJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],YRBPP:[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"getMessageList",()=>h);var i=e("@swc/helpers/_/_async_to_generator"),o=e("@swc/helpers/_/_instanceof"),s=e("@swc/helpers/_/_ts_generator"),c=e("./utils/mtop"),u=e("./utils/util"),l=e("./utils/tracker"),f=a.interopDefault(l),d="mtop.cbu.pc.tiansuo.portal.message.history.page.query",h=(n=(0,i._)(function(e){var t,r,n,a,i,l,h,p,v,m,g;return(0,s._)(this,function(s){switch(s.label){case 0:t=e.sceneCode,r=e.sessionId,n=e.pageNo,a=e.pageSize,(null===(l=window)||void 0===l?void 0:null===(i=l.lib)||void 0===i?void 0:i.mtop)||console.error("mtop not found"),(0,c.setMtopConfig)(),h={scene:t,sessionId:r,pageNo:n||1,pageSize:a||1e3},s.label=1;case 1:return s.trys.push([1,3,,4]),[4,window.lib.mtop.request({api:d,v:"1.0",dataType:"json",data:h})];case 2:if(!Array.isArray(null===(v=m=s.sent())||void 0===v?void 0:null===(p=v.data)||void 0===p?void 0:p.messageList))return(0,u.debugConsole).error("Error fetching message list:",m),(0,f.default).reportTrace({name:d,logType:"server-error",meanings:"\u83b7\u53d6\u6d88\u606f\u5217\u8868\u63a5\u53e3messageList\u4e0d\u662f\u6570\u7ec4",params:(0,u.stringifyEveryThing)(h),error:(0,u.stringifyEveryThing)(m)}),[2,{messageList:[],error:{}}];return(0,u.debugConsole).info("~~~~session.ts,getMessageList~~~~res:",u.logStl.pink,m),[2,{messageList:m.data.messageList,error:null}];case 3:return g=s.sent(),(0,o._)(g,Error)?((0,f.default).reportTrace({name:d,logType:"js-error",meanings:"\u83b7\u53d6\u6d88\u606f\u5217\u8868\u63a5\u53e3js\u62a5\u9519",errorMessage:g.message,params:(0,u.stringifyEveryThing)(h)}),(0,u.debugConsole).error("Error fetching message list:",g.message)):((0,f.default).reportTrace({name:d,logType:"server-error",meanings:"\u83b7\u53d6\u6d88\u606f\u5217\u8868\u63a5\u53e3\u8fdb\u5165catch",error:(0,u.stringifyEveryThing)(g),params:(0,u.stringifyEveryThing)(h)}),(0,u.debugConsole).error("Error fetching message list:",g)),[2,{messageList:[],error:{}}];case 4:return[2]}})}),function(e){return n.apply(this,arguments)})},{"@swc/helpers/_/_async_to_generator":"faxJC","@swc/helpers/_/_instanceof":"9c3DV","@swc/helpers/_/_ts_generator":"lJ01F","./utils/mtop":"j94zw","./utils/util":"fLHoZ","./utils/tracker":"jFoGJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lYtKE:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"ScrollObserver",()=>i);var a=e("./base");class i extends a.DomObserverBase{constructor(e,t=20){super({selector:".market-mate-ai-pick-inline"}),this.onVisibilityChange=e,this.scrollThreshold=t,this.intersectionObserver=null,this.shadowRootObserver=null,this.targetSelector=".ai-pick-inline-iframe-wrapper",this.callback=e=>{super.disconnect(),this.observeShadowRootForTarget(e.shadowRoot)},this.init()}observeShadowRootForTarget(e){let t=e.querySelector(this.targetSelector);t?this.setupIntersectionObserver(t):(this.cleanupShadowRootObserver(),this.shadowRootObserver=new MutationObserver(()=>{let t=e.querySelector(this.targetSelector);this.setupIntersectionObserver(t),this.cleanupShadowRootObserver()}),this.shadowRootObserver.observe(e,{childList:!0,subtree:!0}))}setupIntersectionObserver(e){this.cleanupIntersectionObserver(),this.intersectionObserver=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.isIntersecting,r=!t;r&&(r=this.getScrollTop()>this.scrollThreshold),requestAnimationFrame(()=>{this.onVisibilityChange(r)})})},{root:null,rootMargin:"0px",threshold:.1}),this.intersectionObserver.observe(e)}getScrollTop(){return Math.max(document.documentElement.scrollTop,document.body.scrollTop)}cleanupIntersectionObserver(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null)}cleanupShadowRootObserver(){this.shadowRootObserver&&(this.shadowRootObserver.disconnect(),this.shadowRootObserver=null)}disconnect(){this.cleanupIntersectionObserver(),this.cleanupShadowRootObserver(),super.disconnect()}}},{"./base":"eJR8E","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],cC7hN:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"ToolbarObserver",()=>i);var a=e("./base");class i extends a.DomObserverBase{constructor(e){super({selector:".market-mate-offer-list-toolbar"}),this.onPinnedChange=e,this.toolbarPinned=!1,this.toolbarObserver=null,this.callback=e=>{this.observeToolbarChange(e),super.disconnect()},this.init()}observeToolbarChange(e){if(this.cleanupToolbarObserver(),!e||!e.shadowRoot){console.warn("\u672a\u627e\u5230\u5de5\u5177\u680f shadow DOM\uff0c\u65e0\u6cd5\u76d1\u542c\u5de5\u5177\u680f\u56fa\u5b9a\u72b6\u6001");return}let t=e.shadowRoot;this.checkToolbarAffixState(t),this.toolbarObserver=new MutationObserver(()=>{this.checkToolbarAffixState(t)}),this.toolbarObserver.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class","style"]})}checkToolbarAffixState(e){let t=e.querySelector(".toolbar-affix > .ant-affix"),r=!!t;this.toolbarPinned!==r&&(this.toolbarPinned=r,this.updateHostStyle(e.host,r),this.onPinnedChange(r))}updateHostStyle(e,t){requestAnimationFrame(()=>{e.setAttribute("style",t?"z-index: 1002; position: relative;":"z-index: 1; position: static;")})}cleanupToolbarObserver(){this.toolbarObserver&&(this.toolbarObserver.disconnect(),this.toolbarObserver=null)}disconnect(){super.disconnect(),this.cleanupToolbarObserver()}}},{"./base":"eJR8E","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"7tOZC":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"WidgetRenderer",()=>l);var a=e("react/jsx-runtime"),i=e("react-dom/client"),o=e("~background/log"),s=e("~components/ai-pick-widget"),c=e("~libs/dom"),u=e("./store");class l{constructor(){this.widgets=new Map,this.unsubscribe=null,this.setupStateSubscription()}setupStateSubscription(){this.unsubscribe=(0,u.useAiPickStore).subscribe(e=>e.aiPickProcessStatus,(e,t)=>{(e===u.AiPickProcessStatus.SERVICE_DATA_RECEIVED||e===u.AiPickProcessStatus.SERVICE_DATA_FAILED||e===u.AiPickProcessStatus.IMAGE_UPLOAD_FAILED||e===u.AiPickProcessStatus.IMAGE_CROP_FAILED)&&this.widgets.forEach(e=>{e._isDataReadyToShow=!0})})}getWidgets(){return this.widgets}getWidget(e){return this.widgets.get(e)}updateIframeUrlOfWidgets(e){let t=new URLSearchParams(window.location.search).get("__muiDataLoader_debug__"),r=new URLSearchParams(window.location.search).get("__mtop_subdomain__"),n=new URL(e.iframeUrl);t&&n.searchParams.set("__muiDataLoader_debug__",t),r&&n.searchParams.set("__mtop_subdomain__",r),e.iframeUrl=n.toString()}setLoaded(e){let t=this.getWidget(e);t&&(t._isIframeLoaded=!0)}renderWidget(e){this.updateIframeUrlOfWidgets(e);let t=this.createContainer(e);if(!t)return;let r=t.attachShadow({mode:"open"}),n=document.createElement("div");n.className=`market-mate-ai-pick-${e.type}-content`,r.appendChild(n),(0,c.injectShadowCssStyle)(e.styleSheet,r),(0,c.injectCssStyle)(e.globalStyleSheet||"",`data-ai-pick-${e.type}-global-style`);let o=(0,i.createRoot)(n);o.render((0,a.jsx)(s.AiPickWidget,{root:r,bizData:{accessToken:(0,u.useAiPickStore).getState().accessToken,imageUrl:(0,u.useAiPickStore).getState().imageUrl},id:e.type,config:{iframeUrl:e.iframeUrl,expandedHeight:e.container.expandedHeight,collapsedHeight:e.container.collapsedHeight},type:e.type,onIframeLoad:()=>this.handleIframeLoad(e.type)},e.type));let l=new Proxy({container:t,root:o,config:e,_isUiReadyToShow:"inline"===e.type,_isDataReadyToShow:!1,_isIframeLoaded:!1,isVisible:!1,isSecondRender:!1},{set:(t,r,n)=>(t[r]=n,("_isUiReadyToShow"===r||"_isDataReadyToShow"===r||"_isIframeLoaded"===r)&&this.showWidget(e.type),!0),get:(e,t)=>e[t]});this.widgets.set(e.type,l)}destroyWidget(e){let t=this.widgets.get(e);t&&(t.root.unmount(),t.container.remove(),this.widgets.delete(e))}adjustIframePosition(e){let t=this.widgets.get("overlay");if(!t||!t.container){console.warn("\u672a\u627e\u5230 overlay iframe \u5bb9\u5668");return}e?t.container.classList.add("beneath-toolbar"):t.container.classList.remove("beneath-toolbar")}setVisible(e,t){let r=this.widgets.get(e);if(!r){console.warn("\u672a\u627e\u5230 type \u4e3a",e,"\u7684 iframe \u5bb9\u5668");return}r._isUiReadyToShow=t}showWidget(e){let t=this.widgets.get(e);if(!t){console.warn("\u672a\u627e\u5230 type \u4e3a",e,"\u7684 iframe \u5bb9\u5668");return}let r=t._isIframeLoaded&&t._isUiReadyToShow,n=t.isSecondRender?r:r&&t._isDataReadyToShow,{container:a}=t;n?((0,c.injectCssStyle)(t?.config?.mountedGlobalStyleSheet||"",`data-ai-pick-${t.config.type}-mounted-global-style`),a.classList.add("show")):a.classList.remove("show"),t.isVisible=n,(0,u.useAiPickStore).getState().updateVisibility(e,n),n&&(0,o.sendLog)({type:"view",target:"ai-pick",extra:{type:e}}),t.isSecondRender||(t.isSecondRender=n)}cleanup(){this.widgets.forEach(e=>{this.destroyWidget(e.config.type)})}handleIframeLoad(e){this.setLoaded(e)}createContainer(e){let t=document.createElement("div");if(t.className=`market-mate-ai-pick-${e.type}`,e.anchor){let r=document.querySelector(e.anchor.selector);if(!r)return console.warn(`\u672a\u627e\u5230\u5185\u8054anchor\u5143\u7d20: ${e.anchor.selector}`),null;r.insertAdjacentElement("afterend",t)}else document.body.appendChild(t);return t}destroy(){this.unsubscribe?.()}}},{"react/jsx-runtime":"dF4sA","react-dom/client":"5AVdy","~background/log":"5w5vQ","~components/ai-pick-widget":"9leR5","~libs/dom":"hXlzm","./store":"eRJ1i","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],dF4sA:[function(e,t,r){t.exports=e("e5e9711c2edf1a4e")},{e5e9711c2edf1a4e:"9zFFm"}],"9zFFm":[function(e,t,r){var n=e("3fd2a064dc1f3641"),a=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,i={},u=null,l=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)o.call(t,n)&&!c.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:a,type:e,key:u,ref:l,props:i,_owner:s.current}}r.Fragment=i,r.jsx=u,r.jsxs=u},{"3fd2a064dc1f3641":"a8qhJ"}],"5AVdy":[function(e,t,r){var n=e("aaccff5d309d9239");r.createRoot=n.createRoot,r.hydrateRoot=n.hydrateRoot},{aaccff5d309d9239:"8sy1S"}],"8sy1S":[function(e,t,r){(function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}})(),t.exports=e("9223fb8c5161e54b")},{"9223fb8c5161e54b":"iek0D"}],iek0D:[function(e,t,r){var n,a,i,o,s,c,u=e("5393afc8c463ef07"),l=e("ece50e903283a22f");function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d=new Set,h={};function p(e,t){v(e,t),v(e+"Capture",t)}function v(e,t){for(h[e]=t,e=0;e<t.length;e++)d.add(t[e])}var m=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),g=Object.prototype.hasOwnProperty,b=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,y={},_={};function w(e,t,r,n,a,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new w(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];S[t]=new w(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new w(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new w(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){S[e]=new w(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new w(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new w(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new w(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new w(e,5,!1,e.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function k(e){return e[1].toUpperCase()}function I(e,t,r,n){var a,i=S.hasOwnProperty(t)?S[t]:null;(null!==i?0!==i.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(n)return!1;if(null!==r)return!r.acceptsBooleans;return"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,i,n)&&(r=null),n||null===i?(a=t,(!!g.call(_,a)||!g.call(y,a)&&(b.test(a)?_[a]=!0:(y[a]=!0,!1)))&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r))):i.mustUseProperty?e[i.propertyName]=null===r?3!==i.type&&"":r:(t=i.attributeName,n=i.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(E,k);S[t]=new w(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(E,k);S[t]=new w(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(E,k);S[t]=new w(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new w(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new w(e,1,!1,e.toLowerCase(),null,!0,!0)});var x=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,O=Symbol.for("react.element"),T=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),j=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),F=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var B=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var U=Symbol.iterator;function z(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=U&&e[U]||e["@@iterator"])?e:null}var H,G=Object.assign;function q(e){if(void 0===H)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);H=t&&t[1]||""}return"\n"+H+e}var W=!1;function K(e,t){if(!e||W)return"";W=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t){if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),i=n.stack.split("\n"),o=a.length-1,s=i.length-1;1<=o&&0<=s&&a[o]!==i[s];)s--;for(;1<=o&&0<=s;o--,s--)if(a[o]!==i[s]){if(1!==o||1!==s)do if(o--,0>--s||a[o]!==i[s]){var c="\n"+a[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=s)break}}}finally{W=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?q(e):""}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function J(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Y(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function X(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function $(e,t){var r=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function Q(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=V(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ee(e,t){null!=(t=t.checked)&&I(e,"checked",t,!1)}function et(e,t){ee(e,t);var r=V(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n){e.removeAttribute("value");return}t.hasOwnProperty("value")?en(e,t.type,r):t.hasOwnProperty("defaultValue")&&en(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function er(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function en(e,t,r){("number"!==t||X(e.ownerDocument)!==e)&&(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ea=Array.isArray;function ei(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a<r.length;a++)t["$"+r[a]]=!0;for(r=0;r<e.length;r++)a=t.hasOwnProperty("$"+e[r].value),e[r].selected!==a&&(e[r].selected=a),a&&n&&(e[r].defaultSelected=!0)}else{for(a=0,r=""+V(r),t=null;a<e.length;a++){if(e[a].value===r){e[a].selected=!0,n&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function eo(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(f(91));return G({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function es(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(f(92));if(ea(r)){if(1<r.length)throw Error(f(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:V(r)}}function ec(e,t){var r=V(t.value),n=V(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function eu(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function el(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ef(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?el(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ed,eh,ep=(ed=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((eh=eh||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=eh.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction(function(){return ed(e,t,r,n)})}:ed);function ev(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType){r.nodeValue=t;return}}e.textContent=t}var em={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eg=["Webkit","ms","Moz","O"];function eb(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||em.hasOwnProperty(e)&&em[e]?(""+t).trim():t+"px"}function ey(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),a=eb(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}Object.keys(em).forEach(function(e){eg.forEach(function(t){em[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=em[e]})});var e_=G({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ew(e,t){if(t){if(e_[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(f(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(f(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(f(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(f(62))}}function eS(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eE=null;function ek(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eI=null,ex=null,eO=null;function eT(e){if(e=nD(e)){if("function"!=typeof eI)throw Error(f(280));var t=e.stateNode;t&&(t=nF(t),eI(e.stateNode,e.type,t))}}function eA(e){ex?eO?eO.push(e):eO=[e]:ex=e}function eM(){if(ex){var e=ex,t=eO;if(eO=ex=null,eT(e),t)for(e=0;e<t.length;e++)eT(t[e])}}function eR(e,t){return e(t)}function eC(){}var ej=!1;function eN(e,t,r){if(ej)return e(t,r);ej=!0;try{return eR(e,t,r)}finally{ej=!1,(null!==ex||null!==eO)&&(eC(),eM())}}function eP(e,t){var r=e.stateNode;if(null===r)return null;var n=nF(r);if(null===n)return null;switch(r=n[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(f(231,t,typeof r));return r}var eD=!1;if(m)try{var eL={};Object.defineProperty(eL,"passive",{get:function(){eD=!0}}),window.addEventListener("test",eL,eL),window.removeEventListener("test",eL,eL)}catch(e){eD=!1}function eF(e,t,r,n,a,i,o,s,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(e){this.onError(e)}}var eB=!1,eU=null,ez=!1,eH=null,eG={onError:function(e){eB=!0,eU=e}};function eq(e,t,r,n,a,i,o,s,c){eB=!1,eU=null,eF.apply(eG,arguments)}function eW(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(r=t.return),e=t.return;while(e)}return 3===t.tag?r:null}function eK(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function eV(e){if(eW(e)!==e)throw Error(f(188))}function eY(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=eW(e)))throw Error(f(188));return t!==e?null:e}for(var r=e,n=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(n=a.return)){r=n;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===r)return eV(a),e;if(i===n)return eV(a),t;i=i.sibling}throw Error(f(188))}if(r.return!==n.return)r=a,n=i;else{for(var o=!1,s=a.child;s;){if(s===r){o=!0,r=a,n=i;break}if(s===n){o=!0,n=a,r=i;break}s=s.sibling}if(!o){for(s=i.child;s;){if(s===r){o=!0,r=i,n=a;break}if(s===n){o=!0,n=i,r=a;break}s=s.sibling}if(!o)throw Error(f(189))}}if(r.alternate!==n)throw Error(f(190))}if(3!==r.tag)throw Error(f(188));return r.stateNode.current===r?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var r=e(t);if(null!==r)return r;t=t.sibling}return null}(e):null}var eJ=l.unstable_scheduleCallback,eZ=l.unstable_cancelCallback,eX=l.unstable_shouldYield,e$=l.unstable_requestPaint,eQ=l.unstable_now,e0=l.unstable_getCurrentPriorityLevel,e1=l.unstable_ImmediatePriority,e2=l.unstable_UserBlockingPriority,e3=l.unstable_NormalPriority,e4=l.unstable_LowPriority,e6=l.unstable_IdlePriority,e8=null,e5=null,e7=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(e9(e)/te|0)|0},e9=Math.log,te=Math.LN2,tt=64,tr=4194304;function tn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ta(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,a=e.suspendedLanes,i=e.pingedLanes,o=268435455&r;if(0!==o){var s=o&~a;0!==s?n=tn(s):0!=(i&=o)&&(n=tn(i))}else 0!=(o=r&~a)?n=tn(o):0!==i&&(n=tn(i));if(0===n)return 0;if(0!==t&&t!==n&&0==(t&a)&&((a=n&-n)>=(i=t&-t)||16===a&&0!=(4194240&i)))return t;if(0!=(4&n)&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)a=1<<(r=31-e7(t)),n|=e[r],t&=~a;return n}function ti(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function to(){var e=tt;return 0==(4194240&(tt<<=1))&&(tt=64),e}function ts(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function tc(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-e7(t)]=r}function tu(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-e7(r),a=1<<n;a&t|e[n]&t&&(e[n]|=t),r&=~a}}var tl=0;function tf(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var td,th,tp,tv,tm,tg=!1,tb=[],ty=null,t_=null,tw=null,tS=new Map,tE=new Map,tk=[],tI="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function tx(e,t){switch(e){case"focusin":case"focusout":ty=null;break;case"dragenter":case"dragleave":t_=null;break;case"mouseover":case"mouseout":tw=null;break;case"pointerover":case"pointerout":tS.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tE.delete(t.pointerId)}}function tO(e,t,r,n,a,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[a]},null!==t&&null!==(t=nD(t))&&th(t)):(e.eventSystemFlags|=n,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a)),e}function tT(e){var t=nP(e.target);if(null!==t){var r=eW(t);if(null!==r){if(13===(t=r.tag)){if(null!==(t=eK(r))){e.blockedOn=t,tm(e.priority,function(){tp(r)});return}}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===r.tag?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function tA(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=tU(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=nD(r))&&th(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);eE=n,r.target.dispatchEvent(n),eE=null,t.shift()}return!0}function tM(e,t,r){tA(e)&&r.delete(t)}function tR(){tg=!1,null!==ty&&tA(ty)&&(ty=null),null!==t_&&tA(t_)&&(t_=null),null!==tw&&tA(tw)&&(tw=null),tS.forEach(tM),tE.forEach(tM)}function tC(e,t){e.blockedOn===t&&(e.blockedOn=null,tg||(tg=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,tR)))}function tj(e){function t(t){return tC(t,e)}if(0<tb.length){tC(tb[0],e);for(var r=1;r<tb.length;r++){var n=tb[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==ty&&tC(ty,e),null!==t_&&tC(t_,e),null!==tw&&tC(tw,e),tS.forEach(t),tE.forEach(t),r=0;r<tk.length;r++)(n=tk[r]).blockedOn===e&&(n.blockedOn=null);for(;0<tk.length&&null===(r=tk[0]).blockedOn;)tT(r),null===r.blockedOn&&tk.shift()}var tN=x.ReactCurrentBatchConfig,tP=!0;function tD(e,t,r,n){var a=tl,i=tN.transition;tN.transition=null;try{tl=1,tF(e,t,r,n)}finally{tl=a,tN.transition=i}}function tL(e,t,r,n){var a=tl,i=tN.transition;tN.transition=null;try{tl=4,tF(e,t,r,n)}finally{tl=a,tN.transition=i}}function tF(e,t,r,n){if(tP){var a=tU(e,t,r,n);if(null===a)ns(e,t,n,tB,r),tx(e,n);else if(function(e,t,r,n,a){switch(t){case"focusin":return ty=tO(ty,e,t,r,n,a),!0;case"dragenter":return t_=tO(t_,e,t,r,n,a),!0;case"mouseover":return tw=tO(tw,e,t,r,n,a),!0;case"pointerover":var i=a.pointerId;return tS.set(i,tO(tS.get(i)||null,e,t,r,n,a)),!0;case"gotpointercapture":return i=a.pointerId,tE.set(i,tO(tE.get(i)||null,e,t,r,n,a)),!0}return!1}(a,e,t,r,n))n.stopPropagation();else if(tx(e,n),4&t&&-1<tI.indexOf(e)){for(;null!==a;){var i=nD(a);if(null!==i&&td(i),null===(i=tU(e,t,r,n))&&ns(e,t,n,tB,r),i===a)break;a=i}null!==a&&n.stopPropagation()}else ns(e,t,n,null,r)}}var tB=null;function tU(e,t,r,n){if(tB=null,null!==(e=nP(e=ek(n)))){if(null===(t=eW(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=eK(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}return tB=e,null}function tz(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(e0()){case e1:return 1;case e2:return 4;case e3:case e4:return 16;case e6:return 536870912;default:return 16}default:return 16}}var tH=null,tG=null,tq=null;function tW(){if(tq)return tq;var e,t,r=tG,n=r.length,a="value"in tH?tH.value:tH.textContent,i=a.length;for(e=0;e<n&&r[e]===a[e];e++);var o=n-e;for(t=1;t<=o&&r[n-t]===a[i-t];t++);return tq=a.slice(e,1<t?1-t:void 0)}function tK(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tV(){return!0}function tY(){return!1}function tJ(e){function t(t,r,n,a,i){for(var o in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tV:tY,this.isPropagationStopped=tY,this}return G(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tV)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tV)},persist:function(){},isPersistent:tV}),t}var tZ,tX,t$,tQ={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t0=tJ(tQ),t1=G({},tQ,{view:0,detail:0}),t2=tJ(t1),t3=G({},t1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ra,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==t$&&(t$&&"mousemove"===e.type?(tZ=e.screenX-t$.screenX,tX=e.screenY-t$.screenY):tX=tZ=0,t$=e),tZ)},movementY:function(e){return"movementY"in e?e.movementY:tX}}),t4=tJ(t3),t6=tJ(G({},t3,{dataTransfer:0})),t8=tJ(G({},t1,{relatedTarget:0})),t5=tJ(G({},tQ,{animationName:0,elapsedTime:0,pseudoElement:0})),t7=tJ(G({},tQ,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),t9=tJ(G({},tQ,{data:0})),re={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rt={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=rr[e])&&!!t[e]}function ra(){return rn}var ri=tJ(G({},t1,{key:function(e){if(e.key){var t=re[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tK(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?rt[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ra,charCode:function(e){return"keypress"===e.type?tK(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tK(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),ro=tJ(G({},t3,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),rs=tJ(G({},t1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ra})),rc=tJ(G({},tQ,{propertyName:0,elapsedTime:0,pseudoElement:0})),ru=tJ(G({},t3,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),rl=[9,13,27,32],rf=m&&"CompositionEvent"in window,rd=null;m&&"documentMode"in document&&(rd=document.documentMode);var rh=m&&"TextEvent"in window&&!rd,rp=m&&(!rf||rd&&8<rd&&11>=rd),rv=!1;function rm(e,t){switch(e){case"keyup":return -1!==rl.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rg(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var rb=!1,ry={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function r_(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ry[e.type]:"textarea"===t}function rw(e,t,r,n){eA(n),0<(t=nu(t,"onChange")).length&&(r=new t0("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var rS=null,rE=null;function rk(e){nt(e,0)}function rI(e){if(Z(nL(e)))return e}function rx(e,t){if("change"===e)return t}var rO=!1;if(m){if(m){var rT="oninput"in document;if(!rT){var rA=document.createElement("div");rA.setAttribute("oninput","return;"),rT="function"==typeof rA.oninput}n=rT}else n=!1;rO=n&&(!document.documentMode||9<document.documentMode)}function rM(){rS&&(rS.detachEvent("onpropertychange",rR),rE=rS=null)}function rR(e){if("value"===e.propertyName&&rI(rE)){var t=[];rw(t,rE,e,ek(e)),eN(rk,t)}}function rC(e,t,r){"focusin"===e?(rM(),rS=t,rE=r,rS.attachEvent("onpropertychange",rR)):"focusout"===e&&rM()}function rj(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return rI(rE)}function rN(e,t){if("click"===e)return rI(t)}function rP(e,t){if("input"===e||"change"===e)return rI(t)}var rD="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function rL(e,t){if(rD(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var a=r[n];if(!g.call(t,a)||!rD(e[a],t[a]))return!1}return!0}function rF(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function rB(e,t){var r,n=rF(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=rF(n)}}function rU(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(r)e=t.contentWindow;else break;t=X(e.document)}return t}function rz(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var rH=m&&"documentMode"in document&&11>=document.documentMode,rG=null,rq=null,rW=null,rK=!1;function rV(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;rK||null==rG||rG!==X(n)||(n="selectionStart"in(n=rG)&&rz(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},rW&&rL(rW,n)||(rW=n,0<(n=nu(rq,"onSelect")).length&&(t=new t0("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=rG)))}function rY(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var rJ={animationend:rY("Animation","AnimationEnd"),animationiteration:rY("Animation","AnimationIteration"),animationstart:rY("Animation","AnimationStart"),transitionend:rY("Transition","TransitionEnd")},rZ={},rX={};function r$(e){if(rZ[e])return rZ[e];if(!rJ[e])return e;var t,r=rJ[e];for(t in r)if(r.hasOwnProperty(t)&&t in rX)return rZ[e]=r[t];return e}m&&(rX=document.createElement("div").style,"AnimationEvent"in window||(delete rJ.animationend.animation,delete rJ.animationiteration.animation,delete rJ.animationstart.animation),"TransitionEvent"in window||delete rJ.transitionend.transition);var rQ=r$("animationend"),r0=r$("animationiteration"),r1=r$("animationstart"),r2=r$("transitionend"),r3=new Map,r4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function r6(e,t){r3.set(e,t),p(t,[e])}for(var r8=0;r8<r4.length;r8++){var r5=r4[r8];r6(r5.toLowerCase(),"on"+(r5[0].toUpperCase()+r5.slice(1)))}r6(rQ,"onAnimationEnd"),r6(r0,"onAnimationIteration"),r6(r1,"onAnimationStart"),r6("dblclick","onDoubleClick"),r6("focusin","onFocus"),r6("focusout","onBlur"),r6(r2,"onTransitionEnd"),v("onMouseEnter",["mouseout","mouseover"]),v("onMouseLeave",["mouseout","mouseover"]),v("onPointerEnter",["pointerout","pointerover"]),v("onPointerLeave",["pointerout","pointerover"]),p("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),p("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),p("onBeforeInput",["compositionend","keypress","textInput","paste"]),p("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var r7="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),r9=new Set("cancel close invalid load scroll toggle".split(" ").concat(r7));function ne(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,a,i,o,s,c){if(eq.apply(this,arguments),eB){if(eB){var u=eU;eB=!1,eU=null}else throw Error(f(198));ez||(ez=!0,eH=u)}}(n,t,void 0,e),e.currentTarget=null}function nt(e,t){t=0!=(4&t);for(var r=0;r<e.length;r++){var n=e[r],a=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var o=n.length-1;0<=o;o--){var s=n[o],c=s.instance,u=s.currentTarget;if(s=s.listener,c!==i&&a.isPropagationStopped())break e;ne(a,s,u),i=c}else for(o=0;o<n.length;o++){if(c=(s=n[o]).instance,u=s.currentTarget,s=s.listener,c!==i&&a.isPropagationStopped())break e;ne(a,s,u),i=c}}}if(ez)throw e=eH,ez=!1,eH=null,e}function nr(e,t){var r=t[nC];void 0===r&&(r=t[nC]=new Set);var n=e+"__bubble";r.has(n)||(no(t,e,2,!1),r.add(n))}function nn(e,t,r){var n=0;t&&(n|=4),no(r,e,n,t)}var na="_reactListening"+Math.random().toString(36).slice(2);function ni(e){if(!e[na]){e[na]=!0,d.forEach(function(t){"selectionchange"!==t&&(r9.has(t)||nn(t,!1,e),nn(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[na]||(t[na]=!0,nn("selectionchange",!1,t))}}function no(e,t,r,n){switch(tz(t)){case 1:var a=tD;break;case 4:a=tL;break;default:a=tF}r=a.bind(null,t,r,e),a=void 0,eD&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),n?void 0!==a?e.addEventListener(t,r,{capture:!0,passive:a}):e.addEventListener(t,r,!0):void 0!==a?e.addEventListener(t,r,{passive:a}):e.addEventListener(t,r,!1)}function ns(e,t,r,n,a){var i=n;if(0==(1&t)&&0==(2&t)&&null!==n)e:for(;;){if(null===n)return;var o=n.tag;if(3===o||4===o){var s=n.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===o)for(o=n.return;null!==o;){var c=o.tag;if((3===c||4===c)&&((c=o.stateNode.containerInfo)===a||8===c.nodeType&&c.parentNode===a))return;o=o.return}for(;null!==s;){if(null===(o=nP(s)))return;if(5===(c=o.tag)||6===c){n=i=o;continue e}s=s.parentNode}}n=n.return}eN(function(){var n=i,a=ek(r),o=[];e:{var s=r3.get(e);if(void 0!==s){var c=t0,u=e;switch(e){case"keypress":if(0===tK(r))break e;case"keydown":case"keyup":c=ri;break;case"focusin":u="focus",c=t8;break;case"focusout":u="blur",c=t8;break;case"beforeblur":case"afterblur":c=t8;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=t4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=t6;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=rs;break;case rQ:case r0:case r1:c=t5;break;case r2:c=rc;break;case"scroll":c=t2;break;case"wheel":c=ru;break;case"copy":case"cut":case"paste":c=t7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=ro}var l=0!=(4&t),f=!l&&"scroll"===e,d=l?null!==s?s+"Capture":null:s;l=[];for(var h,p=n;null!==p;){var v=(h=p).stateNode;if(5===h.tag&&null!==v&&(h=v,null!==d&&null!=(v=eP(p,d))&&l.push(nc(p,v,h))),f)break;p=p.return}0<l.length&&(s=new c(s,u,null,r,a),o.push({event:s,listeners:l}))}}if(0==(7&t)){if(s="mouseover"===e||"pointerover"===e,c="mouseout"===e||"pointerout"===e,!(s&&r!==eE&&(u=r.relatedTarget||r.fromElement)&&(nP(u)||u[nR]))&&(c||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,c?(u=r.relatedTarget||r.toElement,c=n,null!==(u=u?nP(u):null)&&(f=eW(u),u!==f||5!==u.tag&&6!==u.tag)&&(u=null)):(c=null,u=n),c!==u)){if(l=t4,v="onMouseLeave",d="onMouseEnter",p="mouse",("pointerout"===e||"pointerover"===e)&&(l=ro,v="onPointerLeave",d="onPointerEnter",p="pointer"),f=null==c?s:nL(c),h=null==u?s:nL(u),(s=new l(v,p+"leave",c,r,a)).target=f,s.relatedTarget=h,v=null,nP(a)===n&&((l=new l(d,p+"enter",u,r,a)).target=h,l.relatedTarget=f,v=l),f=v,c&&u)t:{for(l=c,d=u,p=0,h=l;h;h=nl(h))p++;for(h=0,v=d;v;v=nl(v))h++;for(;0<p-h;)l=nl(l),p--;for(;0<h-p;)d=nl(d),h--;for(;p--;){if(l===d||null!==d&&l===d.alternate)break t;l=nl(l),d=nl(d)}l=null}else l=null;null!==c&&nf(o,s,c,l,!1),null!==u&&null!==f&&nf(o,f,u,l,!0)}e:{if("select"===(c=(s=n?nL(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type)var m,g=rx;else if(r_(s)){if(rO)g=rP;else{g=rj;var b=rC}}else(c=s.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=rN);if(g&&(g=g(e,n))){rw(o,g,r,a);break e}b&&b(e,s,n),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&en(s,"number",s.value)}switch(b=n?nL(n):window,e){case"focusin":(r_(b)||"true"===b.contentEditable)&&(rG=b,rq=n,rW=null);break;case"focusout":rW=rq=rG=null;break;case"mousedown":rK=!0;break;case"contextmenu":case"mouseup":case"dragend":rK=!1,rV(o,r,a);break;case"selectionchange":if(rH)break;case"keydown":case"keyup":rV(o,r,a)}if(rf)t:{switch(e){case"compositionstart":var y="onCompositionStart";break t;case"compositionend":y="onCompositionEnd";break t;case"compositionupdate":y="onCompositionUpdate";break t}y=void 0}else rb?rm(e,r)&&(y="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(y="onCompositionStart");y&&(rp&&"ko"!==r.locale&&(rb||"onCompositionStart"!==y?"onCompositionEnd"===y&&rb&&(m=tW()):(tG="value"in(tH=a)?tH.value:tH.textContent,rb=!0)),0<(b=nu(n,y)).length&&(y=new t9(y,e,null,r,a),o.push({event:y,listeners:b}),m?y.data=m:null!==(m=rg(r))&&(y.data=m))),(m=rh?function(e,t){switch(e){case"compositionend":return rg(t);case"keypress":if(32!==t.which)return null;return rv=!0," ";case"textInput":return" "===(e=t.data)&&rv?null:e;default:return null}}(e,r):function(e,t){if(rb)return"compositionend"===e||!rf&&rm(e,t)?(e=tW(),tq=tG=tH=null,rb=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return rp&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=nu(n,"onBeforeInput")).length&&(a=new t9("onBeforeInput","beforeinput",null,r,a),o.push({event:a,listeners:n}),a.data=m)}nt(o,t)})}function nc(e,t,r){return{instance:e,listener:t,currentTarget:r}}function nu(e,t){for(var r=t+"Capture",n=[];null!==e;){var a=e,i=a.stateNode;5===a.tag&&null!==i&&(a=i,null!=(i=eP(e,r))&&n.unshift(nc(e,i,a)),null!=(i=eP(e,t))&&n.push(nc(e,i,a))),e=e.return}return n}function nl(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag)return e||null}function nf(e,t,r,n,a){for(var i=t._reactName,o=[];null!==r&&r!==n;){var s=r,c=s.alternate,u=s.stateNode;if(null!==c&&c===n)break;5===s.tag&&null!==u&&(s=u,a?null!=(c=eP(r,i))&&o.unshift(nc(r,c,s)):a||null!=(c=eP(r,i))&&o.push(nc(r,c,s))),r=r.return}0!==o.length&&e.push({event:t,listeners:o})}var nd=/\r\n?/g,nh=/\u0000|\uFFFD/g;function np(e){return("string"==typeof e?e:""+e).replace(nd,"\n").replace(nh,"")}function nv(e,t,r){if(t=np(t),np(e)!==t&&r)throw Error(f(425))}function nm(){}var ng=null,nb=null;function ny(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var n_="function"==typeof setTimeout?setTimeout:void 0,nw="function"==typeof clearTimeout?clearTimeout:void 0,nS="function"==typeof Promise?Promise:void 0,nE="function"==typeof queueMicrotask?queueMicrotask:void 0!==nS?function(e){return nS.resolve(null).then(e).catch(nk)}:n_;function nk(e){setTimeout(function(){throw e})}function nI(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&8===a.nodeType){if("/$"===(r=a.data)){if(0===n){e.removeChild(a),tj(t);return}n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++}r=a}while(r)tj(t)}function nx(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function nO(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var nT=Math.random().toString(36).slice(2),nA="__reactFiber$"+nT,nM="__reactProps$"+nT,nR="__reactContainer$"+nT,nC="__reactEvents$"+nT,nj="__reactListeners$"+nT,nN="__reactHandles$"+nT;function nP(e){var t=e[nA];if(t)return t;for(var r=e.parentNode;r;){if(t=r[nR]||r[nA]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=nO(e);null!==e;){if(r=e[nA])return r;e=nO(e)}return t}r=(e=r).parentNode}return null}function nD(e){return(e=e[nA]||e[nR])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function nL(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(f(33))}function nF(e){return e[nM]||null}var nB=[],nU=-1;function nz(e){return{current:e}}function nH(e){0>nU||(e.current=nB[nU],nB[nU]=null,nU--)}function nG(e,t){nB[++nU]=e.current,e.current=t}var nq={},nW=nz(nq),nK=nz(!1),nV=nq;function nY(e,t){var r=e.type.contextTypes;if(!r)return nq;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a,i={};for(a in r)i[a]=t[a];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function nJ(e){return null!=(e=e.childContextTypes)}function nZ(){nH(nK),nH(nW)}function nX(e,t,r){if(nW.current!==nq)throw Error(f(168));nG(nW,t),nG(nK,r)}function n$(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var a in n=n.getChildContext())if(!(a in t))throw Error(f(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case A:return"Fragment";case T:return"Portal";case R:return"Profiler";case M:return"StrictMode";case P:return"Suspense";case D:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case j:return(t.displayName||"Context")+".Consumer";case C:return(t._context.displayName||"Context")+".Provider";case N:var r=t.render;return(t=t.displayName)||(t=""!==(t=r.displayName||r.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case L:return null!==(r=t.displayName||null)?r:e(t.type)||"Memo";case F:r=t._payload,t=t._init;try{return e(t(r))}catch(e){}}return null}(t);case 8:return t===M?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",a));return G({},r,n)}function nQ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nq,nV=nW.current,nG(nW,e),nG(nK,nK.current),!0}function n0(e,t,r){var n=e.stateNode;if(!n)throw Error(f(169));r?(e=n$(e,t,nV),n.__reactInternalMemoizedMergedChildContext=e,nH(nK),nH(nW),nG(nW,e)):nH(nK),nG(nK,r)}var n1=null,n2=!1,n3=!1;function n4(e){null===n1?n1=[e]:n1.push(e)}function n6(){if(!n3&&null!==n1){n3=!0;var e=0,t=tl;try{var r=n1;for(tl=1;e<r.length;e++){var n=r[e];do n=n(!0);while(null!==n)}n1=null,n2=!1}catch(t){throw null!==n1&&(n1=n1.slice(e+1)),eJ(e1,n6),t}finally{tl=t,n3=!1}}return null}var n8=[],n5=0,n7=null,n9=0,ae=[],at=0,ar=null,an=1,aa="";function ai(e,t){n8[n5++]=n9,n8[n5++]=n7,n7=e,n9=t}function ao(e,t,r){ae[at++]=an,ae[at++]=aa,ae[at++]=ar,ar=e;var n=an;e=aa;var a=32-e7(n)-1;n&=~(1<<a),r+=1;var i=32-e7(t)+a;if(30<i){var o=a-a%5;i=(n&(1<<o)-1).toString(32),n>>=o,a-=o,an=1<<32-e7(t)+a|r<<a|n,aa=i+e}else an=1<<i|r<<a|n,aa=e}function as(e){null!==e.return&&(ai(e,1),ao(e,1,0))}function ac(e){for(;e===n7;)n7=n8[--n5],n8[n5]=null,n9=n8[--n5],n8[n5]=null;for(;e===ar;)ar=ae[--at],ae[at]=null,aa=ae[--at],ae[at]=null,an=ae[--at],ae[at]=null}var au=null,al=null,af=!1,ad=null;function ah(e,t){var r=sJ(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function ap(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,au=e,al=nx(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,au=e,al=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==ar?{id:an,overflow:aa}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=sJ(18,null,null,0)).stateNode=t,r.return=e,e.child=r,au=e,al=null,!0);default:return!1}}function av(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function am(e){if(af){var t=al;if(t){var r=t;if(!ap(e,t)){if(av(e))throw Error(f(418));t=nx(r.nextSibling);var n=au;t&&ap(e,t)?ah(n,r):(e.flags=-4097&e.flags|2,af=!1,au=e)}}else{if(av(e))throw Error(f(418));e.flags=-4097&e.flags|2,af=!1,au=e}}}function ag(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;au=e}function ab(e){if(e!==au)return!1;if(!af)return ag(e),af=!0,!1;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ny(e.type,e.memoizedProps)),t&&(t=al)){if(av(e))throw ay(),Error(f(418));for(;t;)ah(e,t),t=nx(t.nextSibling)}if(ag(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(f(317));e:{for(t=0,e=e.nextSibling;e;){if(8===e.nodeType){var t,r=e.data;if("/$"===r){if(0===t){al=nx(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}al=null}}else al=au?nx(e.stateNode.nextSibling):null;return!0}function ay(){for(var e=al;e;)e=nx(e.nextSibling)}function a_(){al=au=null,af=!1}function aw(e){null===ad?ad=[e]:ad.push(e)}var aS=x.ReactCurrentBatchConfig;function aE(e,t){if(e&&e.defaultProps)for(var r in t=G({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}var ak=nz(null),aI=null,ax=null,aO=null;function aT(){aO=ax=aI=null}function aA(e){var t=ak.current;nH(ak),e._currentValue=t}function aM(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function aR(e,t){aI=e,aO=ax=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(oc=!0),e.firstContext=null)}function aC(e){var t=e._currentValue;if(aO!==e){if(e={context:e,memoizedValue:t,next:null},null===ax){if(null===aI)throw Error(f(308));ax=e,aI.dependencies={lanes:0,firstContext:e}}else ax=ax.next=e}return t}var aj=null;function aN(e){null===aj?aj=[e]:aj.push(e)}function aP(e,t,r,n){var a=t.interleaved;return null===a?(r.next=r,aN(t)):(r.next=a.next,a.next=r),t.interleaved=r,aD(e,n)}function aD(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var aL=!1;function aF(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function aB(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function aU(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function az(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,0!=(2&o6)){var a=n.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),n.pending=t,aD(e,r)}return null===(a=n.interleaved)?(t.next=t,aN(n)):(t.next=a.next,a.next=t),n.interleaved=t,aD(e,r)}function aH(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&r))){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,tu(e,r)}}function aG(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var a=null,i=null;if(null!==(r=r.firstBaseUpdate)){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===i?a=i=o:i=i.next=o,r=r.next}while(null!==r)null===i?a=i=t:i=i.next=t}else a=i=t;r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:n.shared,effects:n.effects},e.updateQueue=r;return}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function aq(e,t,r,n){var a=e.updateQueue;aL=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var c=s,u=c.next;c.next=null,null===o?i=u:o.next=u,o=c;var l=e.alternate;null!==l&&(s=(l=l.updateQueue).lastBaseUpdate)!==o&&(null===s?l.firstBaseUpdate=u:s.next=u,l.lastBaseUpdate=c)}if(null!==i){var f=a.baseState;for(o=0,l=u=c=null,s=i;;){var d=s.lane,h=s.eventTime;if((n&d)===d){null!==l&&(l=l.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,v=s;switch(d=t,h=r,v.tag){case 1:if("function"==typeof(p=v.payload)){f=p.call(h,f,d);break e}f=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(d="function"==typeof(p=v.payload)?p.call(h,f,d):p))break e;f=G({},f,d);break e;case 2:aL=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(d=a.effects)?a.effects=[s]:d.push(s))}else h={eventTime:h,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===l?(u=l=h,c=f):l=l.next=h,o|=d;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(d=s).next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null}}if(null===l&&(c=f),a.baseState=c,a.firstBaseUpdate=u,a.lastBaseUpdate=l,null!==(t=a.shared.interleaved)){a=t;do o|=a.lane,a=a.next;while(a!==t)}else null===i&&(a.shared.lanes=0);sn|=o,e.lanes=o,e.memoizedState=f}}function aW(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],a=n.callback;if(null!==a){if(n.callback=null,n=r,"function"!=typeof a)throw Error(f(191,a));a.call(n)}}}var aK=(new u.Component).refs;function aV(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:G({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var aY={isMounted:function(e){return!!(e=e._reactInternals)&&eW(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=sw(),a=sS(e),i=aU(n,a);i.payload=t,null!=r&&(i.callback=r),null!==(t=az(e,i,a))&&(sE(t,e,a,n),aH(t,e,a))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=sw(),a=sS(e),i=aU(n,a);i.tag=1,i.payload=t,null!=r&&(i.callback=r),null!==(t=az(e,i,a))&&(sE(t,e,a,n),aH(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=sw(),n=sS(e),a=aU(r,n);a.tag=2,null!=t&&(a.callback=t),null!==(t=az(e,a,n))&&(sE(t,e,n,r),aH(t,e,n))}};function aJ(e,t,r,n,a,i,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,i,o):!t.prototype||!t.prototype.isPureReactComponent||!rL(r,n)||!rL(a,i)}function aZ(e,t,r){var n=!1,a=nq,i=t.contextType;return"object"==typeof i&&null!==i?i=aC(i):(a=nJ(t)?nV:nW.current,i=(n=null!=(n=t.contextTypes))?nY(e,a):nq),t=new t(r,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=aY,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=i),t}function aX(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&aY.enqueueReplaceState(t,t.state,null)}function a$(e,t,r,n){var a=e.stateNode;a.props=r,a.state=e.memoizedState,a.refs=aK,aF(e);var i=t.contextType;"object"==typeof i&&null!==i?a.context=aC(i):(i=nJ(t)?nV:nW.current,a.context=nY(e,i)),a.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(aV(e,t,i,r),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&aY.enqueueReplaceState(a,a.state,null),aq(e,r,a,n),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function aQ(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(f(309));var n=r.stateNode}if(!n)throw Error(f(147,e));var a=n,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=a.refs;t===aK&&(t=a.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(f(284));if(!r._owner)throw Error(f(290,e))}return e}function a0(e,t){throw Error(f(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function a1(e){return(0,e._init)(e._payload)}function a2(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=sX(e,t)).index=0,e.sibling=null,e}function i(t,r,n){return(t.index=n,e)?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function o(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,r,n){return null===t||6!==t.tag?(t=s1(r,e.mode,n)).return=e:(t=a(t,r)).return=e,t}function c(e,t,r,n){var i=r.type;return i===A?l(e,t,r.props.children,n,r.key):(null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===F&&a1(i)===t.type)?(n=a(t,r.props)).ref=aQ(e,t,r):(n=s$(r.type,r.key,r.props,null,e.mode,n)).ref=aQ(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?(t=s2(r,e.mode,n)).return=e:(t=a(t,r.children||[])).return=e,t}function l(e,t,r,n,i){return null===t||7!==t.tag?(t=sQ(r,e.mode,n,i)).return=e:(t=a(t,r)).return=e,t}function d(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=s1(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case O:return(r=s$(t.type,t.key,t.props,null,e.mode,r)).ref=aQ(e,null,t),r.return=e,r;case T:return(t=s2(t,e.mode,r)).return=e,t;case F:return d(e,(0,t._init)(t._payload),r)}if(ea(t)||z(t))return(t=sQ(t,e.mode,r,null)).return=e,t;a0(e,t)}return null}function h(e,t,r,n){var a=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==a?null:s(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case O:return r.key===a?c(e,t,r,n):null;case T:return r.key===a?u(e,t,r,n):null;case F:return h(e,t,(a=r._init)(r._payload),n)}if(ea(r)||z(r))return null!==a?null:l(e,t,r,n,null);a0(e,r)}return null}function p(e,t,r,n,a){if("string"==typeof n&&""!==n||"number"==typeof n)return s(t,e=e.get(r)||null,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case O:return c(t,e=e.get(null===n.key?r:n.key)||null,n,a);case T:return u(t,e=e.get(null===n.key?r:n.key)||null,n,a);case F:return p(e,t,r,(0,n._init)(n._payload),a)}if(ea(n)||z(n))return l(t,e=e.get(r)||null,n,a,null);a0(t,n)}return null}return function s(c,u,l,v){if("object"==typeof l&&null!==l&&l.type===A&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case O:e:{for(var m=l.key,g=u;null!==g;){if(g.key===m){if((m=l.type)===A){if(7===g.tag){r(c,g.sibling),(u=a(g,l.props.children)).return=c,c=u;break e}}else if(g.elementType===m||"object"==typeof m&&null!==m&&m.$$typeof===F&&a1(m)===g.type){r(c,g.sibling),(u=a(g,l.props)).ref=aQ(c,g,l),u.return=c,c=u;break e}r(c,g);break}t(c,g),g=g.sibling}l.type===A?((u=sQ(l.props.children,c.mode,v,l.key)).return=c,c=u):((v=s$(l.type,l.key,l.props,null,c.mode,v)).ref=aQ(c,u,l),v.return=c,c=v)}return o(c);case T:e:{for(g=l.key;null!==u;){if(u.key===g){if(4===u.tag&&u.stateNode.containerInfo===l.containerInfo&&u.stateNode.implementation===l.implementation){r(c,u.sibling),(u=a(u,l.children||[])).return=c,c=u;break e}r(c,u);break}t(c,u),u=u.sibling}(u=s2(l,c.mode,v)).return=c,c=u}return o(c);case F:return s(c,u,(g=l._init)(l._payload),v)}if(ea(l))return function(a,o,s,c){for(var u=null,l=null,f=o,v=o=0,m=null;null!==f&&v<s.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var g=h(a,f,s[v],c);if(null===g){null===f&&(f=m);break}e&&f&&null===g.alternate&&t(a,f),o=i(g,o,v),null===l?u=g:l.sibling=g,l=g,f=m}if(v===s.length)return r(a,f),af&&ai(a,v),u;if(null===f){for(;v<s.length;v++)null!==(f=d(a,s[v],c))&&(o=i(f,o,v),null===l?u=f:l.sibling=f,l=f);return af&&ai(a,v),u}for(f=n(a,f);v<s.length;v++)null!==(m=p(f,a,v,s[v],c))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),o=i(m,o,v),null===l?u=m:l.sibling=m,l=m);return e&&f.forEach(function(e){return t(a,e)}),af&&ai(a,v),u}(c,u,l,v);if(z(l))return function(a,o,s,c){var u=z(s);if("function"!=typeof u)throw Error(f(150));if(null==(s=u.call(s)))throw Error(f(151));for(var l=u=null,v=o,m=o=0,g=null,b=s.next();null!==v&&!b.done;m++,b=s.next()){v.index>m?(g=v,v=null):g=v.sibling;var y=h(a,v,b.value,c);if(null===y){null===v&&(v=g);break}e&&v&&null===y.alternate&&t(a,v),o=i(y,o,m),null===l?u=y:l.sibling=y,l=y,v=g}if(b.done)return r(a,v),af&&ai(a,m),u;if(null===v){for(;!b.done;m++,b=s.next())null!==(b=d(a,b.value,c))&&(o=i(b,o,m),null===l?u=b:l.sibling=b,l=b);return af&&ai(a,m),u}for(v=n(a,v);!b.done;m++,b=s.next())null!==(b=p(v,a,m,b.value,c))&&(e&&null!==b.alternate&&v.delete(null===b.key?m:b.key),o=i(b,o,m),null===l?u=b:l.sibling=b,l=b);return e&&v.forEach(function(e){return t(a,e)}),af&&ai(a,m),u}(c,u,l,v);a0(c,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==u&&6===u.tag?(r(c,u.sibling),(u=a(u,l)).return=c):(r(c,u),(u=s1(l,c.mode,v)).return=c),o(c=u)):r(c,u)}}var a3=a2(!0),a4=a2(!1),a6={},a8=nz(a6),a5=nz(a6),a7=nz(a6);function a9(e){if(e===a6)throw Error(f(174));return e}function ie(e,t){switch(nG(a7,t),nG(a5,e),nG(a8,a6),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ef(null,"");break;default:t=ef(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}nH(a8),nG(a8,t)}function it(){nH(a8),nH(a5),nH(a7)}function ir(e){a9(a7.current);var t=a9(a8.current),r=ef(t,e.type);t!==r&&(nG(a5,e),nG(a8,r))}function ia(e){a5.current===e&&(nH(a8),nH(a5))}var ii=nz(0);function io(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var is=[];function ic(){for(var e=0;e<is.length;e++)is[e]._workInProgressVersionPrimary=null;is.length=0}var iu=x.ReactCurrentDispatcher,il=x.ReactCurrentBatchConfig,id=0,ih=null,ip=null,iv=null,im=!1,ig=!1,ib=0,iy=0;function i_(){throw Error(f(321))}function iw(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!rD(e[r],t[r]))return!1;return!0}function iS(e,t,r,n,a,i){if(id=i,ih=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,iu.current=null===e||null===e.memoizedState?i6:i8,e=r(n,a),ig){i=0;do{if(ig=!1,ib=0,25<=i)throw Error(f(301));i+=1,iv=ip=null,t.updateQueue=null,iu.current=i5,e=r(n,a)}while(ig)}if(iu.current=i4,t=null!==ip&&null!==ip.next,id=0,iv=ip=ih=null,im=!1,t)throw Error(f(300));return e}function iE(){var e=0!==ib;return ib=0,e}function ik(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===iv?ih.memoizedState=iv=e:iv=iv.next=e,iv}function iI(){if(null===ip){var e=ih.alternate;e=null!==e?e.memoizedState:null}else e=ip.next;var t=null===iv?ih.memoizedState:iv.next;if(null!==t)iv=t,ip=e;else{if(null===e)throw Error(f(310));e={memoizedState:(ip=e).memoizedState,baseState:ip.baseState,baseQueue:ip.baseQueue,queue:ip.queue,next:null},null===iv?ih.memoizedState=iv=e:iv=iv.next=e}return iv}function ix(e,t){return"function"==typeof t?t(e):t}function iO(e){var t=iI(),r=t.queue;if(null===r)throw Error(f(311));r.lastRenderedReducer=e;var n=ip,a=n.baseQueue,i=r.pending;if(null!==i){if(null!==a){var o=a.next;a.next=i.next,i.next=o}n.baseQueue=a=i,r.pending=null}if(null!==a){i=a.next,n=n.baseState;var s=o=null,c=null,u=i;do{var l=u.lane;if((id&l)===l)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var d={lane:l,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=d,o=n):c=c.next=d,ih.lanes|=l,sn|=l}u=u.next}while(null!==u&&u!==i)null===c?o=n:c.next=s,rD(n,t.memoizedState)||(oc=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=c,r.lastRenderedState=n}if(null!==(e=r.interleaved)){a=e;do i=a.lane,ih.lanes|=i,sn|=i,a=a.next;while(a!==e)}else null===a&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function iT(e){var t=iI(),r=t.queue;if(null===r)throw Error(f(311));r.lastRenderedReducer=e;var n=r.dispatch,a=r.pending,i=t.memoizedState;if(null!==a){r.pending=null;var o=a=a.next;do i=e(i,o.action),o=o.next;while(o!==a)rD(i,t.memoizedState)||(oc=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function iA(){}function iM(e,t){var r=ih,n=iI(),a=t(),i=!rD(n.memoizedState,a);if(i&&(n.memoizedState=a,oc=!0),n=n.queue,iH(ij.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||null!==iv&&1&iv.memoizedState.tag){if(r.flags|=2048,iL(9,iC.bind(null,r,n,a,t),void 0,null),null===o8)throw Error(f(349));0!=(30&id)||iR(r,t,a)}return a}function iR(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=ih.updateQueue)?(t={lastEffect:null,stores:null},ih.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function iC(e,t,r,n){t.value=r,t.getSnapshot=n,iN(t)&&iP(e)}function ij(e,t,r){return r(function(){iN(t)&&iP(e)})}function iN(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!rD(e,r)}catch(e){return!0}}function iP(e){var t=aD(e,1);null!==t&&sE(t,e,1,-1)}function iD(e){var t=ik();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ix,lastRenderedState:e},t.queue=e,e=e.dispatch=i0.bind(null,ih,e),[t.memoizedState,e]}function iL(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=ih.updateQueue)?(t={lastEffect:null,stores:null},ih.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function iF(){return iI().memoizedState}function iB(e,t,r,n){var a=ik();ih.flags|=e,a.memoizedState=iL(1|t,r,void 0,void 0===n?null:n)}function iU(e,t,r,n){var a=iI();n=void 0===n?null:n;var i=void 0;if(null!==ip){var o=ip.memoizedState;if(i=o.destroy,null!==n&&iw(n,o.deps)){a.memoizedState=iL(t,r,i,n);return}}ih.flags|=e,a.memoizedState=iL(1|t,r,i,n)}function iz(e,t){return iB(8390656,8,e,t)}function iH(e,t){return iU(2048,8,e,t)}function iG(e,t){return iU(4,2,e,t)}function iq(e,t){return iU(4,4,e,t)}function iW(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function iK(e,t,r){return r=null!=r?r.concat([e]):null,iU(4,4,iW.bind(null,t,e),r)}function iV(){}function iY(e,t){var r=iI();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&iw(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function iJ(e,t){var r=iI();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&iw(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function iZ(e,t,r){return 0==(21&id)?(e.baseState&&(e.baseState=!1,oc=!0),e.memoizedState=r):(rD(r,t)||(r=to(),ih.lanes|=r,sn|=r,e.baseState=!0),t)}function iX(e,t){var r=tl;tl=0!==r&&4>r?r:4,e(!0);var n=il.transition;il.transition={};try{e(!1),t()}finally{tl=r,il.transition=n}}function i$(){return iI().memoizedState}function iQ(e,t,r){var n=sS(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},i1(e)?i2(t,r):null!==(r=aP(e,t,r,n))&&(sE(r,e,n,sw()),i3(r,t,n))}function i0(e,t,r){var n=sS(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(i1(e))i2(t,a);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=i(o,r);if(a.hasEagerState=!0,a.eagerState=s,rD(s,o)){var c=t.interleaved;null===c?(a.next=a,aN(t)):(a.next=c.next,c.next=a),t.interleaved=a;return}}catch(e){}finally{}null!==(r=aP(e,t,a,n))&&(sE(r,e,n,a=sw()),i3(r,t,n))}}function i1(e){var t=e.alternate;return e===ih||null!==t&&t===ih}function i2(e,t){ig=im=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function i3(e,t,r){if(0!=(4194240&r)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,tu(e,r)}}var i4={readContext:aC,useCallback:i_,useContext:i_,useEffect:i_,useImperativeHandle:i_,useInsertionEffect:i_,useLayoutEffect:i_,useMemo:i_,useReducer:i_,useRef:i_,useState:i_,useDebugValue:i_,useDeferredValue:i_,useTransition:i_,useMutableSource:i_,useSyncExternalStore:i_,useId:i_,unstable_isNewReconciler:!1},i6={readContext:aC,useCallback:function(e,t){return ik().memoizedState=[e,void 0===t?null:t],e},useContext:aC,useEffect:iz,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,iB(4194308,4,iW.bind(null,t,e),r)},useLayoutEffect:function(e,t){return iB(4194308,4,e,t)},useInsertionEffect:function(e,t){return iB(4,2,e,t)},useMemo:function(e,t){var r=ik();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ik();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=iQ.bind(null,ih,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},ik().memoizedState=e},useState:iD,useDebugValue:iV,useDeferredValue:function(e){return ik().memoizedState=e},useTransition:function(){var e=iD(!1),t=e[0];return e=iX.bind(null,e[1]),ik().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ih,a=ik();if(af){if(void 0===r)throw Error(f(407));r=r()}else{if(r=t(),null===o8)throw Error(f(349));0!=(30&id)||iR(n,t,r)}a.memoizedState=r;var i={value:r,getSnapshot:t};return a.queue=i,iz(ij.bind(null,n,i,e),[e]),n.flags|=2048,iL(9,iC.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=ik(),t=o8.identifierPrefix;if(af){var r=aa,n=an;t=":"+t+"R"+(r=(n&~(1<<32-e7(n)-1)).toString(32)+r),0<(r=ib++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=iy++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},i8={readContext:aC,useCallback:iY,useContext:aC,useEffect:iH,useImperativeHandle:iK,useInsertionEffect:iG,useLayoutEffect:iq,useMemo:iJ,useReducer:iO,useRef:iF,useState:function(){return iO(ix)},useDebugValue:iV,useDeferredValue:function(e){return iZ(iI(),ip.memoizedState,e)},useTransition:function(){return[iO(ix)[0],iI().memoizedState]},useMutableSource:iA,useSyncExternalStore:iM,useId:i$,unstable_isNewReconciler:!1},i5={readContext:aC,useCallback:iY,useContext:aC,useEffect:iH,useImperativeHandle:iK,useInsertionEffect:iG,useLayoutEffect:iq,useMemo:iJ,useReducer:iT,useRef:iF,useState:function(){return iT(ix)},useDebugValue:iV,useDeferredValue:function(e){var t=iI();return null===ip?t.memoizedState=e:iZ(t,ip.memoizedState,e)},useTransition:function(){return[iT(ix)[0],iI().memoizedState]},useMutableSource:iA,useSyncExternalStore:iM,useId:i$,unstable_isNewReconciler:!1};function i7(e,t){try{var r="",n=t;do r+=function(e){switch(e.tag){case 5:return q(e.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return e=K(e.type,!1);case 11:return e=K(e.type.render,!1);case 1:return e=K(e.type,!0);default:return""}}(n),n=n.return;while(n)var a=r}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function i9(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function oe(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var ot="function"==typeof WeakMap?WeakMap:Map;function or(e,t,r){(r=aU(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){sf||(sf=!0,sd=n),oe(e,t)},r}function on(e,t,r){(r=aU(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var a=t.value;r.payload=function(){return n(a)},r.callback=function(){oe(e,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(r.callback=function(){oe(e,t),"function"!=typeof n&&(null===sh?sh=new Set([this]):sh.add(this));var r=t.stack;this.componentDidCatch(t.value,{componentStack:null!==r?r:""})}),r}function oa(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new ot;var a=new Set;n.set(t,a)}else void 0===(a=n.get(t))&&(a=new Set,n.set(t,a));a.has(r)||(a.add(r),e=sq.bind(null,e,t,r),t.then(e,e))}function oi(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e)return null}function oo(e,t,r,n,a){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=aU(-1,1)).tag=2,az(r,t,1))),r.lanes|=1):(e.flags|=65536,e.lanes=a),e}var os=x.ReactCurrentOwner,oc=!1;function ou(e,t,r,n){t.child=null===e?a4(t,null,r,n):a3(t,e.child,r,n)}function ol(e,t,r,n,a){r=r.render;var i=t.ref;return(aR(t,a),n=iS(e,t,r,n,i,a),r=iE(),null===e||oc)?(af&&r&&as(t),t.flags|=1,ou(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,oA(e,t,a))}function of(e,t,r,n,a){if(null===e){var i=r.type;return"function"!=typeof i||sZ(i)||void 0!==i.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=s$(r.type,null,n,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,od(e,t,i,n,a))}if(i=e.child,0==(e.lanes&a)){var o=i.memoizedProps;if((r=null!==(r=r.compare)?r:rL)(o,n)&&e.ref===t.ref)return oA(e,t,a)}return t.flags|=1,(e=sX(i,n)).ref=t.ref,e.return=t,t.child=e}function od(e,t,r,n,a){if(null!==e){var i=e.memoizedProps;if(rL(i,n)&&e.ref===t.ref){if(oc=!1,t.pendingProps=n=i,0==(e.lanes&a))return t.lanes=e.lanes,oA(e,t,a);0!=(131072&e.flags)&&(oc=!0)}}return ov(e,t,r,n,a)}function oh(e,t,r){var n=t.pendingProps,a=n.children,i=null!==e?e.memoizedState:null;if("hidden"===n.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},nG(se,o9),o9|=r;else{if(0==(1073741824&r))return e=null!==i?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,nG(se,o9),o9|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==i?i.baseLanes:r,nG(se,o9),o9|=n}}else null!==i?(n=i.baseLanes|r,t.memoizedState=null):n=r,nG(se,o9),o9|=n;return ou(e,t,a,r),t.child}function op(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function ov(e,t,r,n,a){var i=nJ(r)?nV:nW.current;return(i=nY(t,i),aR(t,a),r=iS(e,t,r,n,i,a),n=iE(),null===e||oc)?(af&&n&&as(t),t.flags|=1,ou(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,oA(e,t,a))}function om(e,t,r,n,a){if(nJ(r)){var i=!0;nQ(t)}else i=!1;if(aR(t,a),null===t.stateNode)oT(e,t),aZ(t,r,n),a$(t,r,n,a),n=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,u=r.contextType;u="object"==typeof u&&null!==u?aC(u):nY(t,u=nJ(r)?nV:nW.current);var l=r.getDerivedStateFromProps,f="function"==typeof l||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==n||c!==u)&&aX(t,o,n,u),aL=!1;var d=t.memoizedState;o.state=d,aq(t,n,o,a),c=t.memoizedState,s!==n||d!==c||nK.current||aL?("function"==typeof l&&(aV(t,r,l,n),c=t.memoizedState),(s=aL||aJ(t,r,s,n,d,c,u))?(f||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=c),o.props=n,o.state=c,o.context=u,n=s):("function"==typeof o.componentDidMount&&(t.flags|=4194308),n=!1)}else{o=t.stateNode,aB(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:aE(t.type,s),o.props=u,f=t.pendingProps,d=o.context,c="object"==typeof(c=r.contextType)&&null!==c?aC(c):nY(t,c=nJ(r)?nV:nW.current);var h=r.getDerivedStateFromProps;(l="function"==typeof h||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==f||d!==c)&&aX(t,o,n,c),aL=!1,d=t.memoizedState,o.state=d,aq(t,n,o,a);var p=t.memoizedState;s!==f||d!==p||nK.current||aL?("function"==typeof h&&(aV(t,r,h,n),p=t.memoizedState),(u=aL||aJ(t,r,u,n,d,p,c)||!1)?(l||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(n,p,c),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(n,p,c)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=p),o.props=n,o.state=p,o.context=c,n=u):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),n=!1)}return og(e,t,r,n,i,a)}function og(e,t,r,n,a,i){op(e,t);var o=0!=(128&t.flags);if(!n&&!o)return a&&n0(t,r,!1),oA(e,t,i);n=t.stateNode,os.current=t;var s=o&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&o?(t.child=a3(t,e.child,null,i),t.child=a3(t,null,s,i)):ou(e,t,s,i),t.memoizedState=n.state,a&&n0(t,r,!0),t.child}function ob(e){var t=e.stateNode;t.pendingContext?nX(e,t.pendingContext,t.pendingContext!==t.context):t.context&&nX(e,t.context,!1),ie(e,t.containerInfo)}function oy(e,t,r,n,a){return a_(),aw(a),t.flags|=256,ou(e,t,r,n),t.child}var o_={dehydrated:null,treeContext:null,retryLane:0};function ow(e){return{baseLanes:e,cachePool:null,transitions:null}}function oS(e,t,r){var n,a=t.pendingProps,i=ii.current,o=!1,s=0!=(128&t.flags);if((n=s)||(n=(null===e||null!==e.memoizedState)&&0!=(2&i)),n?(o=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(i|=1),nG(ii,1&i),null===e)return(am(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=a.children,e=a.fallback,o?(a=t.mode,o=t.child,s={mode:"hidden",children:s},0==(1&a)&&null!==o?(o.childLanes=0,o.pendingProps=s):o=s0(s,a,0,null),e=sQ(e,a,r,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=ow(r),t.memoizedState=o_,e):oE(t,s));if(null!==(i=e.memoizedState)&&null!==(n=i.dehydrated))return function(e,t,r,n,a,i,o){if(r)return 256&t.flags?(t.flags&=-257,ok(e,t,o,n=i9(Error(f(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=n.fallback,a=t.mode,n=s0({mode:"visible",children:n.children},a,0,null),i=sQ(i,a,o,null),i.flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,0!=(1&t.mode)&&a3(t,e.child,null,o),t.child.memoizedState=ow(o),t.memoizedState=o_,i);if(0==(1&t.mode))return ok(e,t,o,null);if("$!"===a.data){if(n=a.nextSibling&&a.nextSibling.dataset)var s=n.dgst;return n=s,ok(e,t,o,n=i9(i=Error(f(419)),n,void 0))}if(s=0!=(o&e.childLanes),oc||s){if(null!==(n=o8)){switch(o&-o){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(n.suspendedLanes|o))?0:a)&&a!==i.retryLane&&(i.retryLane=a,aD(e,a),sE(n,e,a,-1))}return sD(),ok(e,t,o,n=i9(Error(f(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=sK.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,al=nx(a.nextSibling),au=t,af=!0,ad=null,null!==e&&(ae[at++]=an,ae[at++]=aa,ae[at++]=ar,an=e.id,aa=e.overflow,ar=t),t=oE(t,n.children),t.flags|=4096,t)}(e,t,s,a,n,i,r);if(o){o=a.fallback,s=t.mode,n=(i=e.child).sibling;var c={mode:"hidden",children:a.children};return 0==(1&s)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null):(a=sX(i,c)).subtreeFlags=14680064&i.subtreeFlags,null!==n?o=sX(n,o):(o=sQ(o,s,r,null),o.flags|=2),o.return=t,a.return=t,a.sibling=o,t.child=a,a=o,o=t.child,s=null===(s=e.child.memoizedState)?ow(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~r,t.memoizedState=o_,a}return e=(o=e.child).sibling,a=sX(o,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=r),a.return=t,a.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a}function oE(e,t){return(t=s0({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function ok(e,t,r,n){return null!==n&&aw(n),a3(t,e.child,null,r),e=oE(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function oI(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),aM(e.return,t,r)}function ox(e,t,r,n,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=a)}function oO(e,t,r){var n=t.pendingProps,a=n.revealOrder,i=n.tail;if(ou(e,t,n.children,r),0!=(2&(n=ii.current)))n=1&n|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&oI(e,r,t);else if(19===e.tag)oI(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(nG(ii,n),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(a=null,r=t.child;null!==r;)null!==(e=r.alternate)&&null===io(e)&&(a=r),r=r.sibling;null===(r=a)?(a=t.child,t.child=null):(a=r.sibling,r.sibling=null),ox(t,!1,a,r,i);break;case"backwards":for(r=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===io(e)){t.child=a;break}e=a.sibling,a.sibling=r,r=a,a=e}ox(t,!0,r,null,i);break;case"together":ox(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function oT(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function oA(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),sn|=t.lanes,0==(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(f(153));if(null!==t.child){for(r=sX(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=sX(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function oM(e,t){if(!af)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function oR(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=14680064&a.subtreeFlags,n|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}a=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},i=function(){},o=function(e,t,r,n){var a=e.memoizedProps;if(a!==n){e=t.stateNode,a9(a8.current);var i,o=null;switch(r){case"input":a=$(e,a),n=$(e,n),o=[];break;case"select":a=G({},a,{value:void 0}),n=G({},n,{value:void 0}),o=[];break;case"textarea":a=eo(e,a),n=eo(e,n),o=[];break;default:"function"!=typeof a.onClick&&"function"==typeof n.onClick&&(e.onclick=nm)}for(u in ew(r,n),r=null,a)if(!n.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u]){if("style"===u){var s=a[u];for(i in s)s.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(h.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null))}for(u in n){var c=n[u];if(s=null!=a?a[u]:void 0,n.hasOwnProperty(u)&&c!==s&&(null!=c||null!=s)){if("style"===u){if(s){for(i in s)!s.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in c)c.hasOwnProperty(i)&&s[i]!==c[i]&&(r||(r={}),r[i]=c[i])}else r||(o||(o=[]),o.push(u,r)),r=c}else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(o=o||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(o=o||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(h.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&nr("scroll",e),o||s===c||(o=[])):(o=o||[]).push(u,c))}}r&&(o=o||[]).push("style",r);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},s=function(e,t,r,n){r!==n&&(t.flags|=4)};var oC=!1,oj=!1,oN="function"==typeof WeakSet?WeakSet:Set,oP=null;function oD(e,t){var r=e.ref;if(null!==r){if("function"==typeof r)try{r(null)}catch(r){sG(e,t,r)}else r.current=null}}function oL(e,t,r){try{r()}catch(r){sG(e,t,r)}}var oF=!1;function oB(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var a=n=n.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,void 0!==i&&oL(t,r,i)}a=a.next}while(a!==n)}}function oU(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function oz(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function oH(e){return 5===e.tag||3===e.tag||4===e.tag}function oG(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||oH(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var oq=null,oW=!1;function oK(e,t,r){for(r=r.child;null!==r;)oV(e,t,r),r=r.sibling}function oV(e,t,r){if(e5&&"function"==typeof e5.onCommitFiberUnmount)try{e5.onCommitFiberUnmount(e8,r)}catch(e){}switch(r.tag){case 5:oj||oD(r,t);case 6:var n=oq,a=oW;oq=null,oK(e,t,r),oq=n,oW=a,null!==oq&&(oW?(e=oq,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):oq.removeChild(r.stateNode));break;case 18:null!==oq&&(oW?(e=oq,r=r.stateNode,8===e.nodeType?nI(e.parentNode,r):1===e.nodeType&&nI(e,r),tj(e)):nI(oq,r.stateNode));break;case 4:n=oq,a=oW,oq=r.stateNode.containerInfo,oW=!0,oK(e,t,r),oq=n,oW=a;break;case 0:case 11:case 14:case 15:if(!oj&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){a=n=n.next;do{var i=a,o=i.destroy;i=i.tag,void 0!==o&&(0!=(2&i)?oL(r,t,o):0!=(4&i)&&oL(r,t,o)),a=a.next}while(a!==n)}oK(e,t,r);break;case 1:if(!oj&&(oD(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){sG(r,t,e)}oK(e,t,r);break;case 21:default:oK(e,t,r);break;case 22:1&r.mode?(oj=(n=oj)||null!==r.memoizedState,oK(e,t,r),oj=n):oK(e,t,r)}}function oY(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new oN),t.forEach(function(t){var n=sV.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))})}}function oJ(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var a=r[n];try{var i=t,o=i;e:for(;null!==o;){switch(o.tag){case 5:oq=o.stateNode,oW=!1;break e;case 3:case 4:oq=o.stateNode.containerInfo,oW=!0;break e}o=o.return}if(null===oq)throw Error(f(160));oV(e,i,a),oq=null,oW=!1;var s=a.alternate;null!==s&&(s.return=null),a.return=null}catch(e){sG(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)oZ(t,e),t=t.sibling}function oZ(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(oJ(t,e),oX(e),4&n){try{oB(3,e,e.return),oU(3,e)}catch(t){sG(e,e.return,t)}try{oB(5,e,e.return)}catch(t){sG(e,e.return,t)}}break;case 1:oJ(t,e),oX(e),512&n&&null!==r&&oD(r,r.return);break;case 5:if(oJ(t,e),oX(e),512&n&&null!==r&&oD(r,r.return),32&e.flags){var a=e.stateNode;try{ev(a,"")}catch(t){sG(e,e.return,t)}}if(4&n&&null!=(a=e.stateNode)){var i=e.memoizedProps,o=null!==r?r.memoizedProps:i,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===i.type&&null!=i.name&&ee(a,i),eS(s,o);var u=eS(s,i);for(o=0;o<c.length;o+=2){var l=c[o],d=c[o+1];"style"===l?ey(a,d):"dangerouslySetInnerHTML"===l?ep(a,d):"children"===l?ev(a,d):I(a,l,d,u)}switch(s){case"input":et(a,i);break;case"textarea":ec(a,i);break;case"select":var h=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var p=i.value;null!=p?ei(a,!!i.multiple,p,!1):!!i.multiple!==h&&(null!=i.defaultValue?ei(a,!!i.multiple,i.defaultValue,!0):ei(a,!!i.multiple,i.multiple?[]:"",!1))}a[nM]=i}catch(t){sG(e,e.return,t)}}break;case 6:if(oJ(t,e),oX(e),4&n){if(null===e.stateNode)throw Error(f(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(t){sG(e,e.return,t)}}break;case 3:if(oJ(t,e),oX(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{tj(t.containerInfo)}catch(t){sG(e,e.return,t)}break;case 4:default:oJ(t,e),oX(e);break;case 13:oJ(t,e),oX(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,i&&(null===a.alternate||null===a.alternate.memoizedState)&&(sc=eQ())),4&n&&oY(e);break;case 22:if(l=null!==r&&null!==r.memoizedState,1&e.mode?(oj=(u=oj)||l,oJ(t,e),oj=u):oJ(t,e),oX(e),8192&n){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!l&&0!=(1&e.mode))for(oP=e,l=e.child;null!==l;){for(d=oP=l;null!==oP;){switch(p=(h=oP).child,h.tag){case 0:case 11:case 14:case 15:oB(4,h,h.return);break;case 1:oD(h,h.return);var v=h.stateNode;if("function"==typeof v.componentWillUnmount){n=h,r=h.return;try{t=n,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(e){sG(n,r,e)}}break;case 5:oD(h,h.return);break;case 22:if(null!==h.memoizedState){oQ(d);continue}}null!==p?(p.return=h,oP=p):oQ(d)}l=l.sibling}e:for(l=null,d=e;;){if(5===d.tag){if(null===l){l=d;try{a=d.stateNode,u?(i=a.style,"function"==typeof i.setProperty?i.setProperty("display","none","important"):i.display="none"):(s=d.stateNode,o=null!=(c=d.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,s.style.display=eb("display",o))}catch(t){sG(e,e.return,t)}}}else if(6===d.tag){if(null===l)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(t){sG(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;l===d&&(l=null),d=d.return}l===d&&(l=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:oJ(t,e),oX(e),4&n&&oY(e);case 21:}}function oX(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(oH(r)){var n=r;break e}r=r.return}throw Error(f(160))}switch(n.tag){case 5:var a=n.stateNode;32&n.flags&&(ev(a,""),n.flags&=-33);var i=oG(e);!function e(t,r,n){var a=t.tag;if(5===a||6===a)t=t.stateNode,r?n.insertBefore(t,r):n.appendChild(t);else if(4!==a&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,i,a);break;case 3:case 4:var o=n.stateNode.containerInfo,s=oG(e);!function e(t,r,n){var a=t.tag;if(5===a||6===a)t=t.stateNode,r?8===n.nodeType?n.parentNode.insertBefore(t,r):n.insertBefore(t,r):(8===n.nodeType?(r=n.parentNode).insertBefore(t,n):(r=n).appendChild(t),null!=(n=n._reactRootContainer)||null!==r.onclick||(r.onclick=nm));else if(4!==a&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,s,o);break;default:throw Error(f(161))}}catch(t){sG(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function o$(e){for(;null!==oP;){var t=oP;if(0!=(8772&t.flags)){var r=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:oj||oU(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!oj){if(null===r)n.componentDidMount();else{var a=t.elementType===t.type?r.memoizedProps:aE(t.type,r.memoizedProps);n.componentDidUpdate(a,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}}var i=t.updateQueue;null!==i&&aW(t,i,n);break;case 3:var o=t.updateQueue;if(null!==o){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}aW(t,o,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var l=u.memoizedState;if(null!==l){var d=l.dehydrated;null!==d&&tj(d)}}}break;default:throw Error(f(163))}oj||512&t.flags&&oz(t)}catch(e){sG(t,t.return,e)}}if(t===e){oP=null;break}if(null!==(r=t.sibling)){r.return=t.return,oP=r;break}oP=t.return}}function oQ(e){for(;null!==oP;){var t=oP;if(t===e){oP=null;break}var r=t.sibling;if(null!==r){r.return=t.return,oP=r;break}oP=t.return}}function o0(e){for(;null!==oP;){var t=oP;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{oU(4,t)}catch(e){sG(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var a=t.return;try{n.componentDidMount()}catch(e){sG(t,a,e)}}var i=t.return;try{oz(t)}catch(e){sG(t,i,e)}break;case 5:var o=t.return;try{oz(t)}catch(e){sG(t,o,e)}}}catch(e){sG(t,t.return,e)}if(t===e){oP=null;break}var s=t.sibling;if(null!==s){s.return=t.return,oP=s;break}oP=t.return}}var o1=Math.ceil,o2=x.ReactCurrentDispatcher,o3=x.ReactCurrentOwner,o4=x.ReactCurrentBatchConfig,o6=0,o8=null,o5=null,o7=0,o9=0,se=nz(0),st=0,sr=null,sn=0,sa=0,si=0,so=null,ss=null,sc=0,su=1/0,sl=null,sf=!1,sd=null,sh=null,sp=!1,sv=null,sm=0,sg=0,sb=null,sy=-1,s_=0;function sw(){return 0!=(6&o6)?eQ():-1!==sy?sy:sy=eQ()}function sS(e){return 0==(1&e.mode)?1:0!=(2&o6)&&0!==o7?o7&-o7:null!==aS.transition?(0===s_&&(s_=to()),s_):0!==(e=tl)?e:e=void 0===(e=window.event)?16:tz(e.type)}function sE(e,t,r,n){if(50<sg)throw sg=0,sb=null,Error(f(185));tc(e,r,n),(0==(2&o6)||e!==o8)&&(e===o8&&(0==(2&o6)&&(sa|=r),4===st&&sT(e,o7)),sk(e,n),1===r&&0===o6&&0==(1&t.mode)&&(su=eQ()+500,n2&&n6()))}function sk(e,t){var r,n,a,i=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-e7(i),s=1<<o,c=a[o];-1===c?(0==(s&r)||0!=(s&n))&&(a[o]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(s,t)):c<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var o=ta(e,e===o8?o7:0);if(0===o)null!==i&&eZ(i),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(null!=i&&eZ(i),1===t)0===e.tag?(a=sA.bind(null,e),n2=!0,n4(a)):n4(sA.bind(null,e)),nE(function(){0==(6&o6)&&n6()}),i=null;else{switch(tf(o)){case 1:i=e1;break;case 4:i=e2;break;case 16:default:i=e3;break;case 536870912:i=e6}i=eJ(i,sI.bind(null,e))}e.callbackPriority=t,e.callbackNode=i}}function sI(e,t){if(sy=-1,s_=0,0!=(6&o6))throw Error(f(327));var r=e.callbackNode;if(sz()&&e.callbackNode!==r)return null;var n=ta(e,e===o8?o7:0);if(0===n)return null;if(0!=(30&n)||0!=(n&e.expiredLanes)||t)t=sL(e,n);else{t=n;var a=o6;o6|=2;var i=sP();for((o8!==e||o7!==t)&&(sl=null,su=eQ()+500,sj(e,t));;)try{(function(){for(;null!==o5&&!eX();)sF(o5)})();break}catch(t){sN(e,t)}aT(),o2.current=i,o6=a,null!==o5?t=0:(o8=null,o7=0,t=st)}if(0!==t){if(2===t&&0!==(a=ti(e))&&(n=a,t=sx(e,a)),1===t)throw r=sr,sj(e,0),sT(e,n),sk(e,eQ()),r;if(6===t)sT(e,n);else{if(a=e.current.alternate,0==(30&n)&&!function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var a=r[n],i=a.getSnapshot;a=a.value;try{if(!rD(i(),a))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=sL(e,n))&&0!==(i=ti(e))&&(n=i,t=sx(e,i)),1===t))throw r=sr,sj(e,0),sT(e,n),sk(e,eQ()),r;switch(e.finishedWork=a,e.finishedLanes=n,t){case 0:case 1:throw Error(f(345));case 2:case 5:sU(e,ss,sl);break;case 3:if(sT(e,n),(130023424&n)===n&&10<(t=sc+500-eQ())){if(0!==ta(e,0))break;if(((a=e.suspendedLanes)&n)!==n){sw(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=n_(sU.bind(null,e,ss,sl),t);break}sU(e,ss,sl);break;case 4:if(sT(e,n),(4194240&n)===n)break;for(a=-1,t=e.eventTimes;0<n;){var o=31-e7(n);i=1<<o,(o=t[o])>a&&(a=o),n&=~i}if(n=a,10<(n=(120>(n=eQ()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*o1(n/1960))-n)){e.timeoutHandle=n_(sU.bind(null,e,ss,sl),n);break}sU(e,ss,sl);break;default:throw Error(f(329))}}}return sk(e,eQ()),e.callbackNode===r?sI.bind(null,e):null}function sx(e,t){var r=so;return e.current.memoizedState.isDehydrated&&(sj(e,t).flags|=256),2!==(e=sL(e,t))&&(t=ss,ss=r,null!==t&&sO(t)),e}function sO(e){null===ss?ss=e:ss.push.apply(ss,e)}function sT(e,t){for(t&=~si,t&=~sa,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-e7(t),n=1<<r;e[r]=-1,t&=~n}}function sA(e){if(0!=(6&o6))throw Error(f(327));sz();var t=ta(e,0);if(0==(1&t))return sk(e,eQ()),null;var r=sL(e,t);if(0!==e.tag&&2===r){var n=ti(e);0!==n&&(t=n,r=sx(e,n))}if(1===r)throw r=sr,sj(e,0),sT(e,t),sk(e,eQ()),r;if(6===r)throw Error(f(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,sU(e,ss,sl),sk(e,eQ()),null}function sM(e,t){var r=o6;o6|=1;try{return e(t)}finally{0===(o6=r)&&(su=eQ()+500,n2&&n6())}}function sR(e){null!==sv&&0===sv.tag&&0==(6&o6)&&sz();var t=o6;o6|=1;var r=o4.transition,n=tl;try{if(o4.transition=null,tl=1,e)return e()}finally{tl=n,o4.transition=r,0==(6&(o6=t))&&n6()}}function sC(){o9=se.current,nH(se)}function sj(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,nw(r)),null!==o5)for(r=o5.return;null!==r;){var n=r;switch(ac(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&nZ();break;case 3:it(),nH(nK),nH(nW),ic();break;case 5:ia(n);break;case 4:it();break;case 13:case 19:nH(ii);break;case 10:aA(n.type._context);break;case 22:case 23:sC()}r=r.return}if(o8=e,o5=e=sX(e.current,null),o7=o9=t,st=0,sr=null,si=sa=sn=0,ss=so=null,null!==aj){for(t=0;t<aj.length;t++)if(null!==(n=(r=aj[t]).interleaved)){r.interleaved=null;var a=n.next,i=r.pending;if(null!==i){var o=i.next;i.next=a,n.next=o}r.pending=n}aj=null}return e}function sN(e,t){for(;;){var r=o5;try{if(aT(),iu.current=i4,im){for(var n=ih.memoizedState;null!==n;){var a=n.queue;null!==a&&(a.pending=null),n=n.next}im=!1}if(id=0,iv=ip=ih=null,ig=!1,ib=0,o3.current=null,null===r||null===r.return){st=1,sr=t,o5=null;break}e:{var i=e,o=r.return,s=r,c=t;if(t=o7,s.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,l=s,d=l.tag;if(0==(1&l.mode)&&(0===d||11===d||15===d)){var h=l.alternate;h?(l.updateQueue=h.updateQueue,l.memoizedState=h.memoizedState,l.lanes=h.lanes):(l.updateQueue=null,l.memoizedState=null)}var p=oi(o);if(null!==p){p.flags&=-257,oo(p,o,s,i,t),1&p.mode&&oa(i,u,t),t=p,c=u;var v=t.updateQueue;if(null===v){var m=new Set;m.add(c),t.updateQueue=m}else v.add(c);break e}if(0==(1&t)){oa(i,u,t),sD();break e}c=Error(f(426))}else if(af&&1&s.mode){var g=oi(o);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),oo(g,o,s,i,t),aw(i7(c,s));break e}}i=c=i7(c,s),4!==st&&(st=2),null===so?so=[i]:so.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var b=or(i,c,t);aG(i,b);break e;case 1:s=c;var y=i.type,_=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===sh||!sh.has(_)))){i.flags|=65536,t&=-t,i.lanes|=t;var w=on(i,s,t);aG(i,w);break e}}i=i.return}while(null!==i)}sB(r)}catch(e){t=e,o5===r&&null!==r&&(o5=r=r.return);continue}break}}function sP(){var e=o2.current;return o2.current=i4,null===e?i4:e}function sD(){(0===st||3===st||2===st)&&(st=4),null===o8||0==(268435455&sn)&&0==(268435455&sa)||sT(o8,o7)}function sL(e,t){var r=o6;o6|=2;var n=sP();for((o8!==e||o7!==t)&&(sl=null,sj(e,t));;)try{(function(){for(;null!==o5;)sF(o5)})();break}catch(t){sN(e,t)}if(aT(),o6=r,o2.current=n,null!==o5)throw Error(f(261));return o8=null,o7=0,st}function sF(e){var t=c(e.alternate,e,o9);e.memoizedProps=e.pendingProps,null===t?sB(e):o5=t,o3.current=null}function sB(e){var t=e;do{var r=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(r=function(e,t,r){var n=t.pendingProps;switch(ac(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return oR(t),null;case 1:case 17:return nJ(t.type)&&nZ(),oR(t),null;case 3:return n=t.stateNode,it(),nH(nK),nH(nW),ic(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(ab(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ad&&(sO(ad),ad=null))),i(e,t),oR(t),null;case 5:ia(t);var c=a9(a7.current);if(r=t.type,null!==e&&null!=t.stateNode)o(e,t,r,n,c),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(f(166));return oR(t),null}if(e=a9(a8.current),ab(t)){n=t.stateNode,r=t.type;var u=t.memoizedProps;switch(n[nA]=t,n[nM]=u,e=0!=(1&t.mode),r){case"dialog":nr("cancel",n),nr("close",n);break;case"iframe":case"object":case"embed":nr("load",n);break;case"video":case"audio":for(c=0;c<r7.length;c++)nr(r7[c],n);break;case"source":nr("error",n);break;case"img":case"image":case"link":nr("error",n),nr("load",n);break;case"details":nr("toggle",n);break;case"input":Q(n,u),nr("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!u.multiple},nr("invalid",n);break;case"textarea":es(n,u),nr("invalid",n)}for(var l in ew(r,u),c=null,u)if(u.hasOwnProperty(l)){var d=u[l];"children"===l?"string"==typeof d?n.textContent!==d&&(!0!==u.suppressHydrationWarning&&nv(n.textContent,d,e),c=["children",d]):"number"==typeof d&&n.textContent!==""+d&&(!0!==u.suppressHydrationWarning&&nv(n.textContent,d,e),c=["children",""+d]):h.hasOwnProperty(l)&&null!=d&&"onScroll"===l&&nr("scroll",n)}switch(r){case"input":J(n),er(n,u,!0);break;case"textarea":J(n),eu(n);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(n.onclick=nm)}n=c,t.updateQueue=n,null!==n&&(t.flags|=4)}else{l=9===c.nodeType?c:c.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=el(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script></script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),"select"===r&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[nA]=t,e[nM]=n,a(e,t,!1,!1),t.stateNode=e;e:{switch(l=eS(r,n),r){case"dialog":nr("cancel",e),nr("close",e),c=n;break;case"iframe":case"object":case"embed":nr("load",e),c=n;break;case"video":case"audio":for(c=0;c<r7.length;c++)nr(r7[c],e);c=n;break;case"source":nr("error",e),c=n;break;case"img":case"image":case"link":nr("error",e),nr("load",e),c=n;break;case"details":nr("toggle",e),c=n;break;case"input":Q(e,n),c=$(e,n),nr("invalid",e);break;case"option":default:c=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},c=G({},n,{value:void 0}),nr("invalid",e);break;case"textarea":es(e,n),c=eo(e,n),nr("invalid",e)}for(u in ew(r,c),d=c)if(d.hasOwnProperty(u)){var p=d[u];"style"===u?ey(e,p):"dangerouslySetInnerHTML"===u?null!=(p=p?p.__html:void 0)&&ep(e,p):"children"===u?"string"==typeof p?("textarea"!==r||""!==p)&&ev(e,p):"number"==typeof p&&ev(e,""+p):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(h.hasOwnProperty(u)?null!=p&&"onScroll"===u&&nr("scroll",e):null!=p&&I(e,u,p,l))}switch(r){case"input":J(e),er(e,n,!1);break;case"textarea":J(e),eu(e);break;case"option":null!=n.value&&e.setAttribute("value",""+V(n.value));break;case"select":e.multiple=!!n.multiple,null!=(u=n.value)?ei(e,!!n.multiple,u,!1):null!=n.defaultValue&&ei(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=nm)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return oR(t),null;case 6:if(e&&null!=t.stateNode)s(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(f(166));if(r=a9(a7.current),a9(a8.current),ab(t)){if(n=t.stateNode,r=t.memoizedProps,n[nA]=t,(u=n.nodeValue!==r)&&null!==(e=au))switch(e.tag){case 3:nv(n.nodeValue,r,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&nv(n.nodeValue,r,0!=(1&e.mode))}u&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[nA]=t,t.stateNode=n}return oR(t),null;case 13:if(nH(ii),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(af&&null!==al&&0!=(1&t.mode)&&0==(128&t.flags))ay(),a_(),t.flags|=98560,u=!1;else if(u=ab(t),null!==n&&null!==n.dehydrated){if(null===e){if(!u)throw Error(f(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(f(317));u[nA]=t}else a_(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;oR(t),u=!1}else null!==ad&&(sO(ad),ad=null),u=!0;if(!u)return 65536&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=r,t;return(n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ii.current)?0===st&&(st=3):sD())),null!==t.updateQueue&&(t.flags|=4),oR(t),null;case 4:return it(),i(e,t),null===e&&ni(t.stateNode.containerInfo),oR(t),null;case 10:return aA(t.type._context),oR(t),null;case 19:if(nH(ii),null===(u=t.memoizedState))return oR(t),null;if(n=0!=(128&t.flags),null===(l=u.rendering)){if(n)oM(u,!1);else{if(0!==st||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=io(e))){for(t.flags|=128,oM(u,!1),null!==(n=l.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)u=r,e=n,u.flags&=14680066,null===(l=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=l.childLanes,u.lanes=l.lanes,u.child=l.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=l.memoizedProps,u.memoizedState=l.memoizedState,u.updateQueue=l.updateQueue,u.type=l.type,e=l.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return nG(ii,1&ii.current|2),t.child}e=e.sibling}null!==u.tail&&eQ()>su&&(t.flags|=128,n=!0,oM(u,!1),t.lanes=4194304)}}else{if(!n){if(null!==(e=io(l))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),oM(u,!0),null===u.tail&&"hidden"===u.tailMode&&!l.alternate&&!af)return oR(t),null}else 2*eQ()-u.renderingStartTime>su&&1073741824!==r&&(t.flags|=128,n=!0,oM(u,!1),t.lanes=4194304)}u.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=u.last)?r.sibling=l:t.child=l,u.last=l)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=eQ(),t.sibling=null,r=ii.current,nG(ii,n?1&r|2:1&r),t;return oR(t),null;case 22:case 23:return sC(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&0!=(1&t.mode)?0!=(1073741824&o9)&&(oR(t),6&t.subtreeFlags&&(t.flags|=8192)):oR(t),null;case 24:case 25:return null}throw Error(f(156,t.tag))}(r,t,o9))){o5=r;return}}else{if(null!==(r=function(e,t){switch(ac(t),t.tag){case 1:return nJ(t.type)&&nZ(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return it(),nH(nK),nH(nW),ic(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ia(t),null;case 13:if(nH(ii),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(f(340));a_()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return nH(ii),null;case 4:return it(),null;case 10:return aA(t.type._context),null;case 22:case 23:return sC(),null;default:return null}}(r,t))){r.flags&=32767,o5=r;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{st=6,o5=null;return}}if(null!==(t=t.sibling)){o5=t;return}o5=t=e}while(null!==t)0===st&&(st=5)}function sU(e,t,r){var n=tl,a=o4.transition;try{o4.transition=null,tl=1,function(e,t,r,n){do sz();while(null!==sv)if(0!=(6&o6))throw Error(f(327));r=e.finishedWork;var a=e.finishedLanes;if(null!==r){if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(f(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var a=31-e7(r),i=1<<a;t[a]=0,n[a]=-1,e[a]=-1,r&=~i}}(e,i),e===o8&&(o5=o8=null,o7=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||sp||(sp=!0,eJ(e3,function(){return sz(),null})),i=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||i){i=o4.transition,o4.transition=null;var o,s,c,u=tl;tl=1;var l=o6;o6|=4,o3.current=null,function(e,t){if(ng=tP,rz(e=rU())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var a,i=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch(e){r=null;break e}var s=0,c=-1,u=-1,l=0,d=0,h=e,p=null;t:for(;;){for(;h!==r||0!==i&&3!==h.nodeType||(c=s+i),h!==o||0!==n&&3!==h.nodeType||(u=s+n),3===h.nodeType&&(s+=h.nodeValue.length),null!==(a=h.firstChild);)p=h,h=a;for(;;){if(h===e)break t;if(p===r&&++l===i&&(c=s),p===o&&++d===n&&(u=s),null!==(a=h.nextSibling))break;p=(h=p).parentNode}h=a}r=-1===c||-1===u?null:{start:c,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(nb={focusedElem:e,selectionRange:r},tP=!1,oP=t;null!==oP;)if(e=(t=oP).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,oP=e;else for(;null!==oP;){t=oP;try{var v=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var m=v.memoizedProps,g=v.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:aE(t.type,m),g);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var _=t.stateNode.containerInfo;1===_.nodeType?_.textContent="":9===_.nodeType&&_.documentElement&&_.removeChild(_.documentElement);break;default:throw Error(f(163))}}catch(e){sG(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,oP=e;break}oP=t.return}v=oF,oF=!1}(e,r),oZ(r,e),function(e){var t=rU(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&function e(t,r){return!!t&&!!r&&(t===r||(!t||3!==t.nodeType)&&(r&&3===r.nodeType?e(t,r.parentNode):"contains"in t?t.contains(r):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(r))))}(r.ownerDocument.documentElement,r)){if(null!==n&&rz(r)){if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=r.textContent.length,i=Math.min(n.start,a);n=void 0===n.end?i:Math.min(n.end,a),!e.extend&&i>n&&(a=n,n=i,i=a),a=rB(r,i);var o=rB(r,n);a&&o&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(nb),tP=!!ng,nb=ng=null,e.current=r,o=r,s=e,c=a,oP=o,function e(t,r,n){for(var a=0!=(1&t.mode);null!==oP;){var i=oP,o=i.child;if(22===i.tag&&a){var s=null!==i.memoizedState||oC;if(!s){var c=i.alternate,u=null!==c&&null!==c.memoizedState||oj;c=oC;var l=oj;if(oC=s,(oj=u)&&!l)for(oP=i;null!==oP;)u=(s=oP).child,22===s.tag&&null!==s.memoizedState?o0(i):null!==u?(u.return=s,oP=u):o0(i);for(;null!==o;)oP=o,e(o,r,n),o=o.sibling;oP=i,oC=c,oj=l}o$(t,r,n)}else 0!=(8772&i.subtreeFlags)&&null!==o?(o.return=i,oP=o):o$(t,r,n)}}(o,s,c),e$(),o6=l,tl=u,o4.transition=i}else e.current=r;if(sp&&(sp=!1,sv=e,sm=a),0===(i=e.pendingLanes)&&(sh=null),function(e){if(e5&&"function"==typeof e5.onCommitFiberRoot)try{e5.onCommitFiberRoot(e8,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode,n),sk(e,eQ()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((a=t[r]).value,{componentStack:a.stack,digest:a.digest});if(sf)throw sf=!1,e=sd,sd=null,e;0!=(1&sm)&&0!==e.tag&&sz(),0!=(1&(i=e.pendingLanes))?e===sb?sg++:(sg=0,sb=e):sg=0,n6()}}(e,t,r,n)}finally{o4.transition=a,tl=n}return null}function sz(){if(null!==sv){var e=tf(sm),t=o4.transition,r=tl;try{if(o4.transition=null,tl=16>e?16:e,null===sv)var n=!1;else{if(e=sv,sv=null,sm=0,0!=(6&o6))throw Error(f(331));var a=o6;for(o6|=4,oP=e.current;null!==oP;){var i=oP,o=i.child;if(0!=(16&oP.flags)){var s=i.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(oP=u;null!==oP;){var l=oP;switch(l.tag){case 0:case 11:case 15:oB(8,l,i)}var d=l.child;if(null!==d)d.return=l,oP=d;else for(;null!==oP;){var h=(l=oP).sibling,p=l.return;if(function e(t){var r=t.alternate;null!==r&&(t.alternate=null,e(r)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(r=t.stateNode)&&(delete r[nA],delete r[nM],delete r[nC],delete r[nj],delete r[nN]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(l),l===u){oP=null;break}if(null!==h){h.return=p,oP=h;break}oP=p}}}var v=i.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}oP=i}}if(0!=(2064&i.subtreeFlags)&&null!==o)o.return=i,oP=o;else for(;null!==oP;){if(i=oP,0!=(2048&i.flags))switch(i.tag){case 0:case 11:case 15:oB(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,oP=b;break}oP=i.return}}var y=e.current;for(oP=y;null!==oP;){var _=(o=oP).child;if(0!=(2064&o.subtreeFlags)&&null!==_)_.return=o,oP=_;else for(o=y;null!==oP;){if(s=oP,0!=(2048&s.flags))try{switch(s.tag){case 0:case 11:case 15:oU(9,s)}}catch(e){sG(s,s.return,e)}if(s===o){oP=null;break}var w=s.sibling;if(null!==w){w.return=s.return,oP=w;break}oP=s.return}}if(o6=a,n6(),e5&&"function"==typeof e5.onPostCommitFiberRoot)try{e5.onPostCommitFiberRoot(e8,e)}catch(e){}n=!0}return n}finally{tl=r,o4.transition=t}}return!1}function sH(e,t,r){t=or(e,t=i7(r,t),1),e=az(e,t,1),t=sw(),null!==e&&(tc(e,1,t),sk(e,t))}function sG(e,t,r){if(3===e.tag)sH(e,e,r);else for(;null!==t;){if(3===t.tag){sH(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===sh||!sh.has(n))){e=on(t,e=i7(r,e),1),t=az(t,e,1),e=sw(),null!==t&&(tc(t,1,e),sk(t,e));break}}t=t.return}}function sq(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=sw(),e.pingedLanes|=e.suspendedLanes&r,o8===e&&(o7&r)===r&&(4===st||3===st&&(130023424&o7)===o7&&500>eQ()-sc?sj(e,0):si|=r),sk(e,t)}function sW(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tr,0==(130023424&(tr<<=1))&&(tr=4194304)));var r=sw();null!==(e=aD(e,t))&&(tc(e,t,r),sk(e,r))}function sK(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),sW(e,r)}function sV(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;null!==a&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(f(314))}null!==n&&n.delete(t),sW(e,r)}function sY(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function sJ(e,t,r,n){return new sY(e,t,r,n)}function sZ(e){return!(!(e=e.prototype)||!e.isReactComponent)}function sX(e,t){var r=e.alternate;return null===r?((r=sJ(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function s$(e,t,r,n,a,i){var o=2;if(n=e,"function"==typeof e)sZ(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case A:return sQ(r.children,a,i,t);case M:o=8,a|=8;break;case R:return(e=sJ(12,r,t,2|a)).elementType=R,e.lanes=i,e;case P:return(e=sJ(13,r,t,a)).elementType=P,e.lanes=i,e;case D:return(e=sJ(19,r,t,a)).elementType=D,e.lanes=i,e;case B:return s0(r,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:o=10;break e;case j:o=9;break e;case N:o=11;break e;case L:o=14;break e;case F:o=16,n=null;break e}throw Error(f(130,null==e?e:typeof e,""))}return(t=sJ(o,r,t,a)).elementType=e,t.type=n,t.lanes=i,t}function sQ(e,t,r,n){return(e=sJ(7,e,n,t)).lanes=r,e}function s0(e,t,r,n){return(e=sJ(22,e,n,t)).elementType=B,e.lanes=r,e.stateNode={isHidden:!1},e}function s1(e,t,r){return(e=sJ(6,e,null,t)).lanes=r,e}function s2(e,t,r){return(t=sJ(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function s3(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ts(0),this.expirationTimes=ts(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ts(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function s4(e,t,r,n,a,i,o,s,c){return e=new s3(e,t,r,s,c),1===t?(t=1,!0===i&&(t|=8)):t=0,i=sJ(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},aF(i),e}function s6(e){if(!e)return nq;e=e._reactInternals;e:{if(eW(e)!==e||1!==e.tag)throw Error(f(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(nJ(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t)throw Error(f(171))}if(1===e.tag){var r=e.type;if(nJ(r))return n$(e,r,t)}return t}function s8(e,t,r,n,a,i,o,s,c){return(e=s4(r,n,!0,e,a,i,o,s,c)).context=s6(null),r=e.current,(i=aU(n=sw(),a=sS(r))).callback=null!=t?t:null,az(r,i,a),e.current.lanes=a,tc(e,a,n),sk(e,n),e}function s5(e,t,r,n){var a=t.current,i=sw(),o=sS(a);return r=s6(r),null===t.context?t.context=r:t.pendingContext=r,(t=aU(i,o)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=az(a,t,o))&&(sE(e,a,o,i),aH(e,a,o)),o}function s7(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function s9(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function ce(e,t){s9(e,t),(e=e.alternate)&&s9(e,t)}c=function(e,t,r){if(null!==e){if(e.memoizedProps!==t.pendingProps||nK.current)oc=!0;else{if(0==(e.lanes&r)&&0==(128&t.flags))return oc=!1,function(e,t,r){switch(t.tag){case 3:ob(t),a_();break;case 5:ir(t);break;case 1:nJ(t.type)&&nQ(t);break;case 4:ie(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,a=t.memoizedProps.value;nG(ak,n._currentValue),n._currentValue=a;break;case 13:if(null!==(n=t.memoizedState)){if(null!==n.dehydrated)return nG(ii,1&ii.current),t.flags|=128,null;if(0!=(r&t.child.childLanes))return oS(e,t,r);return nG(ii,1&ii.current),null!==(e=oA(e,t,r))?e.sibling:null}nG(ii,1&ii.current);break;case 19:if(n=0!=(r&t.childLanes),0!=(128&e.flags)){if(n)return oO(e,t,r);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),nG(ii,ii.current),!n)return null;break;case 22:case 23:return t.lanes=0,oh(e,t,r)}return oA(e,t,r)}(e,t,r);oc=0!=(131072&e.flags)}}else oc=!1,af&&0!=(1048576&t.flags)&&ao(t,n9,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;oT(e,t),e=t.pendingProps;var a=nY(t,nW.current);aR(t,r),a=iS(null,t,n,e,a,r);var i=iE();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,nJ(n)?(i=!0,nQ(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,aF(t),a.updater=aY,t.stateNode=a,a._reactInternals=t,a$(t,n,e,r),t=og(null,t,n,!0,i,r)):(t.tag=0,af&&i&&as(t),ou(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(oT(e,t),e=t.pendingProps,n=(a=n._init)(n._payload),t.type=n,a=t.tag=function(e){if("function"==typeof e)return sZ(e)?1:0;if(null!=e){if((e=e.$$typeof)===N)return 11;if(e===L)return 14}return 2}(n),e=aE(n,e),a){case 0:t=ov(null,t,n,e,r);break e;case 1:t=om(null,t,n,e,r);break e;case 11:t=ol(null,t,n,e,r);break e;case 14:t=of(null,t,n,aE(n.type,e),r);break e}throw Error(f(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),ov(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),om(e,t,n,a,r);case 3:e:{if(ob(t),null===e)throw Error(f(387));n=t.pendingProps,a=(i=t.memoizedState).element,aB(e,t),aq(t,n,null,r);var o=t.memoizedState;if(n=o.element,i.isDehydrated){if(i={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){a=i7(Error(f(423)),t),t=oy(e,t,n,r,a);break e}if(n!==a){a=i7(Error(f(424)),t),t=oy(e,t,n,r,a);break e}for(al=nx(t.stateNode.containerInfo.firstChild),au=t,af=!0,ad=null,r=a4(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(a_(),n===a){t=oA(e,t,r);break e}ou(e,t,n,r)}t=t.child}return t;case 5:return ir(t),null===e&&am(t),n=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,o=a.children,ny(n,a)?o=null:null!==i&&ny(n,i)&&(t.flags|=32),op(e,t),ou(e,t,o,r),t.child;case 6:return null===e&&am(t),null;case 13:return oS(e,t,r);case 4:return ie(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=a3(t,null,n,r):ou(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),ol(e,t,n,a,r);case 7:return ou(e,t,t.pendingProps,r),t.child;case 8:case 12:return ou(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,i=t.memoizedProps,o=a.value,nG(ak,n._currentValue),n._currentValue=o,null!==i){if(rD(i.value,o)){if(i.children===a.children&&!nK.current){t=oA(e,t,r);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){o=i.child;for(var c=s.firstContext;null!==c;){if(c.context===n){if(1===i.tag){(c=aU(-1,r&-r)).tag=2;var u=i.updateQueue;if(null!==u){var l=(u=u.shared).pending;null===l?c.next=c:(c.next=l.next,l.next=c),u.pending=c}}i.lanes|=r,null!==(c=i.alternate)&&(c.lanes|=r),aM(i.return,r,t),s.lanes|=r;break}c=c.next}}else if(10===i.tag)o=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(o=i.return))throw Error(f(341));o.lanes|=r,null!==(s=o.alternate)&&(s.lanes|=r),aM(o,r,t),o=i.sibling}else o=i.child;if(null!==o)o.return=i;else for(o=i;null!==o;){if(o===t){o=null;break}if(null!==(i=o.sibling)){i.return=o.return,o=i;break}o=o.return}i=o}}ou(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,aR(t,r),n=n(a=aC(a)),t.flags|=1,ou(e,t,n,r),t.child;case 14:return a=aE(n=t.type,t.pendingProps),a=aE(n.type,a),of(e,t,n,a,r);case 15:return od(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),oT(e,t),t.tag=1,nJ(n)?(e=!0,nQ(t)):e=!1,aR(t,r),aZ(t,n,a),a$(t,n,a,r),og(null,t,n,!0,e,r);case 19:return oO(e,t,r);case 22:return oh(e,t,r)}throw Error(f(156,t.tag))};var ct="function"==typeof reportError?reportError:function(e){console.error(e)};function cr(e){this._internalRoot=e}function cn(e){this._internalRoot=e}function ca(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function ci(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function co(){}function cs(e,t,r,n,a){var i=r._reactRootContainer;if(i){var o=i;if("function"==typeof a){var s=a;a=function(){var e=s7(o);s.call(e)}}s5(t,o,e,a)}else o=function(e,t,r,n,a){if(a){if("function"==typeof n){var i=n;n=function(){var e=s7(o);i.call(e)}}var o=s8(t,n,e,0,null,!1,!1,"",co);return e._reactRootContainer=o,e[nR]=o.current,ni(8===e.nodeType?e.parentNode:e),sR(),o}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof n){var s=n;n=function(){var e=s7(c);s.call(e)}}var c=s4(e,0,!1,null,null,!1,!1,"",co);return e._reactRootContainer=c,e[nR]=c.current,ni(8===e.nodeType?e.parentNode:e),sR(function(){s5(t,c,r,n)}),c}(r,t,e,a,n);return s7(o)}cn.prototype.render=cr.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(f(409));s5(e,t,null,null)},cn.prototype.unmount=cr.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;sR(function(){s5(null,e,null,null)}),t[nR]=null}},cn.prototype.unstable_scheduleHydration=function(e){if(e){var t=tv();e={blockedOn:null,target:e,priority:t};for(var r=0;r<tk.length&&0!==t&&t<tk[r].priority;r++);tk.splice(r,0,e),0===r&&tT(e)}},td=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=tn(t.pendingLanes);0!==r&&(tu(t,1|r),sk(t,eQ()),0==(6&o6)&&(su=eQ()+500,n6()))}break;case 13:sR(function(){var t=aD(e,1);null!==t&&sE(t,e,1,sw())}),ce(e,1)}},th=function(e){if(13===e.tag){var t=aD(e,134217728);null!==t&&sE(t,e,134217728,sw()),ce(e,134217728)}},tp=function(e){if(13===e.tag){var t=sS(e),r=aD(e,t);null!==r&&sE(r,e,t,sw()),ce(e,t)}},tv=function(){return tl},tm=function(e,t){var r=tl;try{return tl=e,t()}finally{tl=r}},eI=function(e,t,r){switch(t){case"input":if(et(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var a=nF(n);if(!a)throw Error(f(90));Z(n),et(n,a)}}}break;case"textarea":ec(e,r);break;case"select":null!=(t=r.value)&&ei(e,!!r.multiple,t,!1)}},eR=sM,eC=sR;var cc={findFiberByHostInstance:nP,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},cu={bundleType:cc.bundleType,version:cc.version,rendererPackageName:cc.rendererPackageName,rendererConfig:cc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=eY(e))?null:e.stateNode},findFiberByHostInstance:cc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var cl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cl.isDisabled&&cl.supportsFiber)try{e8=cl.inject(cu),e5=cl}catch(e){}}r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[nD,nL,nF,eA,eM,sM]},r.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ca(t))throw Error(f(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:T,key:null==n?null:""+n,children:e,containerInfo:t,implementation:null}}(e,t,null,r)},r.createRoot=function(e,t){if(!ca(e))throw Error(f(299));var r=!1,n="",a=ct;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=s4(e,1,!1,null,null,r,!1,n,a),e[nR]=t.current,ni(8===e.nodeType?e.parentNode:e),new cr(t)},r.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(f(188));throw Error(f(268,e=Object.keys(e).join(",")))}return e=null===(e=eY(t))?null:e.stateNode},r.flushSync=function(e){return sR(e)},r.hydrate=function(e,t,r){if(!ci(t))throw Error(f(200));return cs(null,e,t,!0,r)},r.hydrateRoot=function(e,t,r){if(!ca(e))throw Error(f(405));var n=null!=r&&r.hydratedSources||null,a=!1,i="",o=ct;if(null!=r&&(!0===r.unstable_strictMode&&(a=!0),void 0!==r.identifierPrefix&&(i=r.identifierPrefix),void 0!==r.onRecoverableError&&(o=r.onRecoverableError)),t=s8(t,null,e,1,null!=r?r:null,a,!1,i,o),e[nR]=t.current,ni(e),n)for(e=0;e<n.length;e++)a=(a=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,a]:t.mutableSourceEagerHydrationData.push(r,a);return new cn(t)},r.render=function(e,t,r){if(!ci(t))throw Error(f(200));return cs(null,e,t,!1,r)},r.unmountComponentAtNode=function(e){if(!ci(e))throw Error(f(40));return!!e._reactRootContainer&&(sR(function(){cs(null,null,e,!1,function(){e._reactRootContainer=null,e[nR]=null})}),!0)},r.unstable_batchedUpdates=sM,r.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!ci(r))throw Error(f(200));if(null==e||void 0===e._reactInternals)throw Error(f(38));return cs(e,t,r,!1,n)},r.version="18.2.0-next-9e3b772b8-20220608"},{"5393afc8c463ef07":"a8qhJ",ece50e903283a22f:"7aJDh"}],"7aJDh":[function(e,t,r){t.exports=e("15840f0beed8ff36")},{"15840f0beed8ff36":"6L2WB"}],"6L2WB":[function(e,t,r){function n(e,t){var r=e.length;for(e.push(t);0<r;){var n=r-1>>>1,a=e[n];if(0<o(a,t))e[n]=t,e[r]=a,r=n;else break}}function a(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;for(var n=0,a=e.length,i=a>>>1;n<i;){var s=2*(n+1)-1,c=e[s],u=s+1,l=e[u];if(0>o(c,r))u<a&&0>o(l,c)?(e[n]=l,e[u]=r,n=u):(e[n]=c,e[s]=r,n=s);else if(u<a&&0>o(l,r))e[n]=l,e[u]=r,n=u;else break}}return t}function o(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var s,c=performance;r.unstable_now=function(){return c.now()}}else{var u=Date,l=u.now();r.unstable_now=function(){return u.now()-l}}var f=[],d=[],h=1,p=null,v=3,m=!1,g=!1,b=!1,y="function"==typeof setTimeout?setTimeout:null,_="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function S(e){for(var t=a(d);null!==t;){if(null===t.callback)i(d);else if(t.startTime<=e)i(d),t.sortIndex=t.expirationTime,n(f,t);else break;t=a(d)}}function E(e){if(b=!1,S(e),!g){if(null!==a(f))g=!0,N(k);else{var t=a(d);null!==t&&P(E,t.startTime-e)}}}function k(e,t){g=!1,b&&(b=!1,_(O),O=-1),m=!0;var n=v;try{for(S(t),p=a(f);null!==p&&(!(p.expirationTime>t)||e&&!M());){var o=p.callback;if("function"==typeof o){p.callback=null,v=p.priorityLevel;var s=o(p.expirationTime<=t);t=r.unstable_now(),"function"==typeof s?p.callback=s:p===a(f)&&i(f),S(t)}else i(f);p=a(f)}if(null!==p)var c=!0;else{var u=a(d);null!==u&&P(E,u.startTime-t),c=!1}return c}finally{p=null,v=n,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var I=!1,x=null,O=-1,T=5,A=-1;function M(){return!(r.unstable_now()-A<T)}function R(){if(null!==x){var e=r.unstable_now();A=e;var t=!0;try{t=x(!0,e)}finally{t?s():(I=!1,x=null)}}else I=!1}if("function"==typeof w)s=function(){w(R)};else if("undefined"!=typeof MessageChannel){var C=new MessageChannel,j=C.port2;C.port1.onmessage=R,s=function(){j.postMessage(null)}}else s=function(){y(R,0)};function N(e){x=e,I||(I=!0,s())}function P(e,t){O=y(function(){e(r.unstable_now())},t)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(e){e.callback=null},r.unstable_continueExecution=function(){g||m||(g=!0,N(k))},r.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},r.unstable_getCurrentPriorityLevel=function(){return v},r.unstable_getFirstCallbackNode=function(){return a(f)},r.unstable_next=function(e){switch(v){case 1:case 2:case 3:var t=3;break;default:t=v}var r=v;v=t;try{return e()}finally{v=r}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=v;v=e;try{return t()}finally{v=r}},r.unstable_scheduleCallback=function(e,t,i){var o=r.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?o+i:o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=i+s,e={id:h++,callback:t,priorityLevel:e,startTime:i,expirationTime:s,sortIndex:-1},i>o?(e.sortIndex=i,n(d,e),null===a(f)&&e===a(d)&&(b?(_(O),O=-1):b=!0,P(E,i-o))):(e.sortIndex=s,n(f,e),g||m||(g=!0,N(k))),e},r.unstable_shouldYield=M,r.unstable_wrapCallback=function(e){var t=v;return function(){var r=v;v=t;try{return e.apply(this,arguments)}finally{v=r}}}},{}],"9leR5":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"AiPickWidget",()=>y);var a=e("react/jsx-runtime"),i=e("@ali/pc-plugin-extension-suite"),o=e("react");n.interopDefault(o);var s=e("styled-components"),c=n.interopDefault(s),u=e("~background/log"),l=e("~common/pageUtils"),f=e("~hooks/useMemorizedFn"),d=n.interopDefault(f),h=e("~libs/extensionSuite"),p=e("~services/ai-pick/store");let v=(0,c.default).div`
|
|
height: ${e=>e.height}px;
|
|
transition: height 0.3s ease;
|
|
|
|
iframe {
|
|
body {
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
`,m=(0,c.default).div`
|
|
height: 150px;
|
|
margin: 0px 25px 0px 40px;
|
|
border-inline-start: 1px solid rgba(5, 5, 5, 0.06);
|
|
`,g={updateAiPickState:"update-ai-pick-state",updateUIState:"update-ai-pick-ui-render-state",aiPickStyleChange:"update-iframe-container-style",aiPickRetry:"ai-pick-retry",openWangwang:"open-wangwang-from-ai-pick"},b=[p.AiPickProcessStatus.IMAGE_SWITCHED,p.AiPickProcessStatus.SERVICE_DATA_RECEIVED,p.AiPickProcessStatus.IMAGE_CROP_FAILED,p.AiPickProcessStatus.SERVICE_DATA_FAILED,p.AiPickProcessStatus.IMAGE_UPLOAD_FAILED],y=({root:e,type:t,config:r,onIframeLoad:n})=>{let[c,f]=(0,o.useState)(r.collapsedHeight),y=(0,p.useAiPickStore)(e=>e.imageUrl),_=(0,p.useAiPickStore)(e=>e.accessToken),w=(0,p.useAiPickStore)(e=>e.messageInfo),S=(0,p.useAiPickStore)(e=>e.aiPickProcessStatus),E=(0,p.useAiPickStore)(e=>e.uiRenderState),[k,I]=(0,o.useState)(!1),x=(0,o.useRef)(!1),O=(0,o.useRef)(),T=(0,d.default)(()=>{n?.(),I(!0)}),A=(0,d.default)(({targetId:e,offerId:t,spmType:r})=>{(0,l.sendMessageToBackground)({name:"open-wangwang",payload:{targetId:e,offerId:t,spmType:r||"aiPick"}})}),M=(0,d.default)(e=>{requestAnimationFrame(()=>{f(e.height)})}),R=(0,d.default)(()=>{(0,p.useAiPickStore).setState({aiPickProcessStatus:p.AiPickProcessStatus.INIT}),(0,p.startAiPick)(),x.current=!0});return(0,o.useEffect)(()=>{if(k&&b.includes(S)){let e={status:S,data:{imageUrl:y,accessToken:_,messageInfo:w},isReload:x.current};O.current.messageHandler?.postMessage(g.updateAiPickState,e),(0,u.sendLog)({type:"monitor",target:"ai-pick",extra:{type:t,isIframeLoaded:k,stage:"update-ai-pick-state",message:JSON.stringify(e)}})}},[y,_,S,w,t,k]),(0,o.useEffect)(()=>{O.current.messageHandler?.postMessage(g.updateUIState,{isVisible:E[t].isVisible})},[E[t].isVisible]),(0,o.useEffect)(()=>{S===p.AiPickProcessStatus.IMAGE_SWITCHED&&(x.current=!1)},[S]),(0,a.jsx)(s.StyleSheetManager,{target:e,children:(0,a.jsxs)(a.Fragment,{children:["inline"===t?(0,a.jsx)(m,{}):null,(0,a.jsx)(v,{height:c,type:t,className:`ai-pick-${t}-iframe-wrapper`,children:(0,a.jsx)(i.IframeApp,{ref:O,appUrl:r.iframeUrl,iframeClassName:`ai-pick-${t}-iframe`,getExtensionInfo:h.getExtensionInfo,onComponentInited:()=>{O.current.messageHandler?.onMessage?.(g.aiPickStyleChange,M),O.current.messageHandler?.onMessage?.(g.aiPickRetry,R),O.current.messageHandler?.onMessage?.(g.openWangwang,A)},onAppInited:()=>{T()}})})]})})}},{"react/jsx-runtime":"dF4sA","@ali/pc-plugin-extension-suite":"9pOO1",react:"a8qhJ","styled-components":"1ikHH","~background/log":"5w5vQ","~common/pageUtils":"bylP9","~hooks/useMemorizedFn":"cAblm","~libs/extensionSuite":"5q4Ro","~services/ai-pick/store":"eRJ1i","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"9pOO1":[function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),a(e("1851df039800cf03"),r),a(e("8deeca6a388775cf"),r),a(e("d5a87e12b521ba2b"),r),a(e("37e67c3e09da6c80"),r)},{"1851df039800cf03":"gRt2x","8deeca6a388775cf":"2LHHd",d5a87e12b521ba2b:"5L5mw","37e67c3e09da6c80":"21qoz"}],gRt2x:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.IframeApp=void 0;let n=e("ac1a53b97781f964"),a=e("a301903f8ff3fd67"),i=e("168e9dc1b20c66e0"),o=e("33de8dbf1d58a932"),s=e("8111af595f2515c4"),c=e("721eee9446ddb665"),u=e("5e5db8eece74bf8"),l=e("92595931ba40e58"),f=e("5c82b52c233a0023"),d=[],h=1;r.IframeApp=(0,a.forwardRef)((e,t)=>{let r=(0,a.useRef)(null),p=(0,a.useRef)(),v=(0,a.useRef)(""),[m,g]=(0,a.useState)(!1),[b,y]=(0,a.useState)(!1),[_,w]=(0,a.useState)(!1),[S]=(0,s.useStorage)(c.STORAGE_KEY_MTOP_ENV_SWITCH,{wrapper:e=>e??!0}),[E]=(0,s.useStorage)(c.STORAGE_KEY_OPTIONS,{defaultValue:c.DEFAULT_OPTIONS,wrapper:e=>({...c.DEFAULT_OPTIONS,...e})}),k=(0,i.useMemoizedFn)(e=>{(0,l.consoleLog)("emit iframe.contentWindow.postMessage",e,r.current?.contentWindow),r.current?.contentWindow?.postMessage(e,"*")}),I=(0,i.useMemoizedFn)(e=>{if(-1!==d.findIndex(t=>t.originalListener===e))return;let t=t=>{t?.data?.id&&t?.data?.sign&&(0,l.consoleLog)("emit window.onmessage",t,e),e(t.data),t?.data?.id&&t?.data?.sign&&(0,l.consoleLog)("after fire messageListener",e)};d.push({originalListener:e,targetListener:t}),window.addEventListener("message",t)}),x=(0,i.useMemoizedFn)(e=>{let t=d.findIndex(t=>t.originalListener===e);-1!==t&&(window.removeEventListener("message",d[t].targetListener),d.splice(t,1))}),O=(0,i.useMemoizedFn)(async t=>{if((0,l.consoleLog)("enter appInitedHandler",t),void 0===e.getExtensionInfo){console.error("The getExtensionInfo parameter received by the IframeApp component is null.");return}return(0,l.consoleLog)("appInitedHandler extension",await e.getExtensionInfo()),e.onAppInited?.(),y(!0),{extension:await e.getExtensionInfo()}}),T=(0,i.useMemoizedFn)(()=>{v.current=`${(0,f.genRandomStr)()}-${h++}`,g(!0),p.current=new o.MessageHandler({channelId:v.current,sendMessage:k,listenMessage:I,offListenMessage:x}),w(!0),p.current.onMessage("iframe-app-inited",O)});(0,a.useEffect)(()=>(T(),()=>{p.current.offMessage("iframe-app-inited",O),p.current.destroy()}),[]),(0,a.useEffect)(()=>{e.appUrl||y(!1)},[e.appUrl]);let A=(0,i.useMemoizedFn)(async()=>((0,l.consoleLog)("enter dispatchUpdateExtension",{extension:await e.getExtensionInfo()}),p.current.postMessage("pc-plugin-infra-update-extension",{extension:await e.getExtensionInfo()}))),M=(0,i.useMemoizedFn)(e=>p.current.postMessage("pc-plugin-infra-app-navigate",e));(0,a.useImperativeHandle)(t,()=>({messageHandler:p.current,dispatchUpdateExtension:A,dispatchAppNavigate:M,iframeElement:r.current}));let R=(0,i.useMemoizedFn)(()=>{_&&(w(!1),e.onComponentInited?.())});return((0,a.useEffect)(()=>{R()},[_]),m)?(0,n.jsx)("iframe",{allow:"clipboard-write",...e.iframeProps,src:(0,u.injectParams2IframeUrl)(e.appUrl??"",{useProd:S??!0,optionsConfig:E,messageChannelId:v.current,extendUrlParams:e.extendUrlParams}),ref:r,className:e.iframeClassName,"data-iframe-app-inited":b}):null})},{ac1a53b97781f964:"dF4sA",a301903f8ff3fd67:"a8qhJ","168e9dc1b20c66e0":"3ODhr","33de8dbf1d58a932":"42lKG","8111af595f2515c4":"j3qOy","721eee9446ddb665":"eKPCy","5e5db8eece74bf8":"fPYsN","92595931ba40e58":"53EJT","5c82b52c233a0023":"4kZVl"}],"3ODhr":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"useRequest",()=>eZ.default),n.export(r,"useControllableValue",()=>p.default),n.export(r,"useDynamicList",()=>U.default),n.export(r,"useVirtualList",()=>tC.default),n.export(r,"useResponsive",()=>e0.default),n.export(r,"useEventEmitter",()=>H.default),n.export(r,"useLocalStorageState",()=>eS.default),n.export(r,"useSessionStorageState",()=>e7.default),n.export(r,"useSize",()=>ta.default),n.export(r,"configResponsive",()=>eQ.configResponsive),n.export(r,"useUpdateEffect",()=>tT.default),n.export(r,"useUpdateLayoutEffect",()=>tM.default),n.export(r,"useBoolean",()=>l.default),n.export(r,"useToggle",()=>tb.default),n.export(r,"useDocumentVisibility",()=>N.default),n.export(r,"useSelections",()=>e8.default),n.export(r,"useThrottle",()=>tc.default),n.export(r,"useThrottleFn",()=>td.default),n.export(r,"useThrottleEffect",()=>tl.default),n.export(r,"useDebounce",()=>k.default),n.export(r,"useDebounceFn",()=>T.default),n.export(r,"useDebounceEffect",()=>x.default),n.export(r,"usePrevious",()=>eU.default),n.export(r,"useMouse",()=>eN.default),n.export(r,"useScroll",()=>e4.default),n.export(r,"useClickAway",()=>d.default),n.export(r,"useFullscreen",()=>ee.default),n.export(r,"useInViewport",()=>ep.default),n.export(r,"useKeyPress",()=>eb.default),n.export(r,"useEventListener",()=>q.default),n.export(r,"useHover",()=>ec.default),n.export(r,"useUnmount",()=>tS.default),n.export(r,"useSet",()=>te.default),n.export(r,"useMemoizedFn",()=>eM.default),n.export(r,"useMap",()=>eT.default),n.export(r,"useCreation",()=>S.default),n.export(r,"useDrag",()=>D.default),n.export(r,"useDrop",()=>F.default),n.export(r,"useMount",()=>eC.default),n.export(r,"useCounter",()=>_.default),n.export(r,"useUpdate",()=>tx.default),n.export(r,"useTextSelection",()=>to.default),n.export(r,"useEventTarget",()=>K.default),n.export(r,"useHistoryTravel",()=>eo.default),n.export(r,"useCookieState",()=>m.default),n.export(r,"useSetState",()=>tr.default),n.export(r,"useInterval",()=>ed.default),n.export(r,"useWhyDidYouUpdate",()=>tD.default),n.export(r,"useTitle",()=>tm.default),n.export(r,"useNetwork",()=>eD.default),n.export(r,"useTimeout",()=>tp.default),n.export(r,"useReactive",()=>eY.default),n.export(r,"useFavicon",()=>Z.default),n.export(r,"useCountDown",()=>b.default),n.export(r,"useWebSocket",()=>tN.default),n.export(r,"useLockFn",()=>ek.default),n.export(r,"useUnmountedRef",()=>tk.default),n.export(r,"useExternal",()=>Y.default),n.export(r,"useSafeState",()=>e2.default),n.export(r,"useLatest",()=>e_.default),n.export(r,"useIsomorphicLayoutEffect",()=>em.default),n.export(r,"useDeepCompareEffect",()=>M.default),n.export(r,"useDeepCompareLayoutEffect",()=>C.default),n.export(r,"useAsyncEffect",()=>c.default),n.export(r,"useLongPress",()=>ex.default),n.export(r,"useRafState",()=>eq.default),n.export(r,"useTrackedEffect",()=>t_.default),n.export(r,"usePagination",()=>eF.default),n.export(r,"useAntdTable",()=>o.default),n.export(r,"useFusionTable",()=>er.default),n.export(r,"useInfiniteScroll",()=>el.default),n.export(r,"useGetState",()=>ea.default),n.export(r,"clearCache",()=>eJ.clearCache),n.export(r,"useFocusWithin",()=>$.default),n.export(r,"createUpdateEffect",()=>a.createUpdateEffect),n.export(r,"useRafInterval",()=>eH.default),n.export(r,"useRafTimeout",()=>eK.default),n.export(r,"useResetState",()=>e$.default),n.export(r,"useMutationObserver",()=>tF.default),n.export(r,"useTheme",()=>tU.default);var a=e("./createUpdateEffect"),i=e("./useAntdTable"),o=n.interopDefault(i),s=e("./useAsyncEffect"),c=n.interopDefault(s),u=e("./useBoolean"),l=n.interopDefault(u),f=e("./useClickAway"),d=n.interopDefault(f),h=e("./useControllableValue"),p=n.interopDefault(h),v=e("./useCookieState"),m=n.interopDefault(v),g=e("./useCountDown"),b=n.interopDefault(g),y=e("./useCounter"),_=n.interopDefault(y),w=e("./useCreation"),S=n.interopDefault(w),E=e("./useDebounce"),k=n.interopDefault(E),I=e("./useDebounceEffect"),x=n.interopDefault(I),O=e("./useDebounceFn"),T=n.interopDefault(O),A=e("./useDeepCompareEffect"),M=n.interopDefault(A),R=e("./useDeepCompareLayoutEffect"),C=n.interopDefault(R),j=e("./useDocumentVisibility"),N=n.interopDefault(j),P=e("./useDrag"),D=n.interopDefault(P),L=e("./useDrop"),F=n.interopDefault(L),B=e("./useDynamicList"),U=n.interopDefault(B),z=e("./useEventEmitter"),H=n.interopDefault(z),G=e("./useEventListener"),q=n.interopDefault(G),W=e("./useEventTarget"),K=n.interopDefault(W),V=e("./useExternal"),Y=n.interopDefault(V),J=e("./useFavicon"),Z=n.interopDefault(J),X=e("./useFocusWithin"),$=n.interopDefault(X),Q=e("./useFullscreen"),ee=n.interopDefault(Q),et=e("./useFusionTable"),er=n.interopDefault(et),en=e("./useGetState"),ea=n.interopDefault(en),ei=e("./useHistoryTravel"),eo=n.interopDefault(ei),es=e("./useHover"),ec=n.interopDefault(es),eu=e("./useInfiniteScroll"),el=n.interopDefault(eu),ef=e("./useInterval"),ed=n.interopDefault(ef),eh=e("./useInViewport"),ep=n.interopDefault(eh),ev=e("./useIsomorphicLayoutEffect"),em=n.interopDefault(ev),eg=e("./useKeyPress"),eb=n.interopDefault(eg),ey=e("./useLatest"),e_=n.interopDefault(ey),ew=e("./useLocalStorageState"),eS=n.interopDefault(ew),eE=e("./useLockFn"),ek=n.interopDefault(eE),eI=e("./useLongPress"),ex=n.interopDefault(eI),eO=e("./useMap"),eT=n.interopDefault(eO),eA=e("./useMemoizedFn"),eM=n.interopDefault(eA),eR=e("./useMount"),eC=n.interopDefault(eR),ej=e("./useMouse"),eN=n.interopDefault(ej),eP=e("./useNetwork"),eD=n.interopDefault(eP),eL=e("./usePagination"),eF=n.interopDefault(eL),eB=e("./usePrevious"),eU=n.interopDefault(eB),ez=e("./useRafInterval"),eH=n.interopDefault(ez),eG=e("./useRafState"),eq=n.interopDefault(eG),eW=e("./useRafTimeout"),eK=n.interopDefault(eW),eV=e("./useReactive"),eY=n.interopDefault(eV),eJ=e("./useRequest"),eZ=n.interopDefault(eJ),eX=e("./useResetState"),e$=n.interopDefault(eX),eQ=e("./useResponsive"),e0=n.interopDefault(eQ),e1=e("./useSafeState"),e2=n.interopDefault(e1),e3=e("./useScroll"),e4=n.interopDefault(e3),e6=e("./useSelections"),e8=n.interopDefault(e6),e5=e("./useSessionStorageState"),e7=n.interopDefault(e5),e9=e("./useSet"),te=n.interopDefault(e9),tt=e("./useSetState"),tr=n.interopDefault(tt),tn=e("./useSize"),ta=n.interopDefault(tn),ti=e("./useTextSelection"),to=n.interopDefault(ti),ts=e("./useThrottle"),tc=n.interopDefault(ts),tu=e("./useThrottleEffect"),tl=n.interopDefault(tu),tf=e("./useThrottleFn"),td=n.interopDefault(tf),th=e("./useTimeout"),tp=n.interopDefault(th),tv=e("./useTitle"),tm=n.interopDefault(tv),tg=e("./useToggle"),tb=n.interopDefault(tg),ty=e("./useTrackedEffect"),t_=n.interopDefault(ty),tw=e("./useUnmount"),tS=n.interopDefault(tw),tE=e("./useUnmountedRef"),tk=n.interopDefault(tE),tI=e("./useUpdate"),tx=n.interopDefault(tI),tO=e("./useUpdateEffect"),tT=n.interopDefault(tO),tA=e("./useUpdateLayoutEffect"),tM=n.interopDefault(tA),tR=e("./useVirtualList"),tC=n.interopDefault(tR),tj=e("./useWebSocket"),tN=n.interopDefault(tj),tP=e("./useWhyDidYouUpdate"),tD=n.interopDefault(tP),tL=e("./useMutationObserver"),tF=n.interopDefault(tL),tB=e("./useTheme"),tU=n.interopDefault(tB)},{"./createUpdateEffect":"d877U","./useAntdTable":"8LCp4","./useAsyncEffect":"bgl4M","./useBoolean":"PJeBE","./useClickAway":"9Bgg7","./useControllableValue":"gcVpE","./useCookieState":"apCg9","./useCountDown":"eCGvr","./useCounter":"5OCnR","./useCreation":"dKqLA","./useDebounce":"2Nx3b","./useDebounceEffect":"jKRe1","./useDebounceFn":"lDEKa","./useDeepCompareEffect":"li8cx","./useDeepCompareLayoutEffect":"hUv5g","./useDocumentVisibility":"l6k4w","./useDrag":"6WXj7","./useDrop":"kBIdn","./useDynamicList":"dlMPt","./useEventEmitter":"4jpPB","./useEventListener":"cLknO","./useEventTarget":"2MYfx","./useExternal":"feBPG","./useFavicon":"dJM1R","./useFocusWithin":"fYEE3","./useFullscreen":"5NduN","./useFusionTable":"jrmV4","./useGetState":"8TcIA","./useHistoryTravel":"jFPHa","./useHover":"4ti2m","./useInfiniteScroll":"94QRq","./useInterval":"9WDnU","./useInViewport":"6f9Ak","./useIsomorphicLayoutEffect":"bAiYh","./useKeyPress":"hj09j","./useLatest":"9oY4Q","./useLocalStorageState":"icHOC","./useLockFn":"6nzDq","./useLongPress":"8f1n8","./useMap":"eUurp","./useMemoizedFn":"lqD4I","./useMount":"3FTda","./useMouse":"hJAqD","./useNetwork":"kwrhk","./usePagination":"3PcoW","./usePrevious":"6cten","./useRafInterval":"iKV2f","./useRafState":"7QKoO","./useRafTimeout":"1GBF6","./useReactive":"kVM5p","./useRequest":"fSfO6","./useResetState":"fPoti","./useResponsive":"eGbOV","./useSafeState":"25Sid","./useScroll":"edWvP","./useSelections":"75FIW","./useSessionStorageState":"iBK8n","./useSet":"9tGwL","./useSetState":"4okxO","./useSize":"YHSiJ","./useTextSelection":"lGt88","./useThrottle":"eFCje","./useThrottleEffect":"8nzfN","./useThrottleFn":"8SgU8","./useTimeout":"kA8WA","./useTitle":"7G9qW","./useToggle":"3lglo","./useTrackedEffect":"3sLWq","./useUnmount":"dO00m","./useUnmountedRef":"jJuvW","./useUpdate":"iOFlh","./useUpdateEffect":"gFLNJ","./useUpdateLayoutEffect":"bLyF5","./useVirtualList":"6L47e","./useWebSocket":"lGBvF","./useWhyDidYouUpdate":"gMIg2","./useMutationObserver":"cFgh4","./useTheme":"is7w3","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],d877U:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"createUpdateEffect",()=>i);var a=e("react"),i=function(e){return function(t,r){var n=(0,a.useRef)(!1);e(function(){return function(){n.current=!1}},[]),e(function(){if(n.current)return t();n.current=!0},r)}};r.default=i},{react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8LCp4":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useMemoizedFn"),s=n.interopDefault(o),c=e("../usePagination"),u=n.interopDefault(c),l=e("../useUpdateEffect"),f=n.interopDefault(l);r.default=function(e,t){void 0===t&&(t={});var r,n=t.form,o=t.defaultType,c=t.defaultParams,l=t.manual,d=void 0!==l&&l,h=t.refreshDeps,p=t.ready,v=void 0===p||p,m=(0,a.__rest)(t,["form","defaultType","defaultParams","manual","refreshDeps","ready"]),g=(0,u.default)(e,(0,a.__assign)((0,a.__assign)({ready:v,manual:!0},m),{onSuccess:function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];O.current=!0,null===(e=m.onSuccess)||void 0===e||e.call.apply(e,(0,a.__spreadArray)([m],(0,a.__read)(t),!1))}})),b=g.params,y=void 0===b?[]:b,_=g.run,w=y[2]||{},S=(0,a.__read)((0,i.useState)((null==w?void 0:w.type)||(void 0===o?"simple":o)),2),E=S[0],k=S[1],I=(0,i.useRef)({}),x=(0,i.useRef)([]),O=(0,i.useRef)(!1),T=!!(null==n?void 0:n.getInternalHooks),A=function(){if(!n)return{};if(T)return n.getFieldsValue(null,function(){return!0});var e=n.getFieldsValue(),t={};return Object.keys(e).forEach(function(r){(!n.getFieldInstance||n.getFieldInstance(r))&&(t[r]=e[r])}),t},M=function(){if(!n)return Promise.resolve({});var e=Object.keys(A());return T?n.validateFields(e):new Promise(function(t,r){n.validateFields(e,function(e,n){e?r(e):t(n)})})},R=function(){if(n){if(T)return n.setFieldsValue(I.current);var e={};Object.keys(I.current).forEach(function(t){(!n.getFieldInstance||n.getFieldInstance(t))&&(e[t]=I.current[t])}),n.setFieldsValue(e)}},C=function(e){v&&setTimeout(function(){M().then(function(r){void 0===r&&(r={});var i=e||(0,a.__assign)((0,a.__assign)({pageSize:t.defaultPageSize||10},(null==y?void 0:y[0])||{}),{current:1});if(!n){_(i);return}I.current=(0,a.__assign)((0,a.__assign)({},I.current),r),_(i,r,{allFormData:I.current,type:E})}).catch(function(e){return e})})};(0,i.useEffect)(function(){if(y.length>0){I.current=(null==w?void 0:w.allFormData)||{},R(),_.apply(void 0,(0,a.__spreadArray)([],(0,a.__read)(y),!1));return}v&&(I.current=(null==c?void 0:c[1])||{},R(),d||C(null==c?void 0:c[0]))},[]),(0,f.default)(function(){v&&R()},[E]);var j=(0,i.useRef)(!1);return j.current=!1,(0,f.default)(function(){!d&&v&&(j.current=!0,n&&n.resetFields(),I.current=(null==c?void 0:c[1])||{},R(),C(null==c?void 0:c[0]))},[v]),(0,f.default)(function(){j.current||!v||d||(j.current=!0,t.refreshDepsAction?t.refreshDepsAction():g.pagination.changeCurrent(1))},(0,a.__spreadArray)([],(0,a.__read)(void 0===h?[]:h),!1)),(0,a.__assign)((0,a.__assign)({},g),{tableProps:{dataSource:(null===(r=g.data)||void 0===r?void 0:r.list)||x.current,loading:g.loading,onChange:(0,s.default)(function(e,t,r,n){var i=(0,a.__read)(y||[]),o=i[0],s=i.slice(1);_.apply(void 0,(0,a.__spreadArray)([(0,a.__assign)((0,a.__assign)({},o),{current:e.current,pageSize:e.pageSize,filters:t,sorter:r,extra:n})],(0,a.__read)(s),!1))}),pagination:{current:g.pagination.current,pageSize:g.pagination.pageSize,total:g.pagination.total}},search:{submit:(0,s.default)(function(e){var r,n,i;null===(r=null==e?void 0:e.preventDefault)||void 0===r||r.call(e),C(O.current?void 0:(0,a.__assign)({pageSize:t.defaultPageSize||(null===(i=null===(n=t.defaultParams)||void 0===n?void 0:n[0])||void 0===i?void 0:i.pageSize)||10,current:1},(null==c?void 0:c[0])||{}))}),type:E,changeType:(0,s.default)(function(){var e=A();I.current=(0,a.__assign)((0,a.__assign)({},I.current),e),k(function(e){return"simple"===e?"advance":"simple"})}),reset:(0,s.default)(function(){var e,r;n&&n.resetFields(),C((0,a.__assign)((0,a.__assign)({},(null==c?void 0:c[0])||{}),{pageSize:t.defaultPageSize||(null===(r=null===(e=t.defaultParams)||void 0===e?void 0:e[0])||void 0===r?void 0:r.pageSize)||10,current:1}))})}})}},{tslib:"gdEuw",react:"a8qhJ","../useMemoizedFn":"lqD4I","../usePagination":"3PcoW","../useUpdateEffect":"gFLNJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lqD4I:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../utils"),o=e("../utils/isDev"),s=n.interopDefault(o);r.default=function(e){s.default&&!(0,i.isFunction)(e)&&console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof e));var t=(0,a.useRef)(e);t.current=(0,a.useMemo)(function(){return e},[e]);var r=(0,a.useRef)(void 0);return r.current||(r.current=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.current.apply(this,e)}),r.current}},{react:"a8qhJ","../utils":"lVJFQ","../utils/isDev":"jfaKo","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lVJFQ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"isObject",()=>a),n.export(r,"isFunction",()=>i),n.export(r,"isString",()=>o),n.export(r,"isBoolean",()=>s),n.export(r,"isNumber",()=>c),n.export(r,"isUndef",()=>u);var a=function(e){return null!==e&&"object"==typeof e},i=function(e){return"function"==typeof e},o=function(e){return"string"==typeof e},s=function(e){return"boolean"==typeof e},c=function(e){return"number"==typeof e},u=function(e){return void 0===e}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],jfaKo:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=!1},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"3PcoW":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useMemoizedFn"),s=n.interopDefault(o),c=e("../useRequest"),u=n.interopDefault(c);r.default=function(e,t){void 0===t&&(t={});var r,n=t.defaultPageSize,o=void 0===n?10:n,c=t.defaultCurrent,l=(0,a.__rest)(t,["defaultPageSize","defaultCurrent"]),f=(0,u.default)(e,(0,a.__assign)({defaultParams:[{current:void 0===c?1:c,pageSize:o}],refreshDepsAction:function(){_(1)}},l)),d=f.params[0]||{},h=d.current,p=void 0===h?1:h,v=d.pageSize,m=void 0===v?o:v,g=(null===(r=f.data)||void 0===r?void 0:r.total)||0,b=(0,i.useMemo)(function(){return Math.ceil(g/m)},[m,g]),y=function(e,t){var r=e<=0?1:e,n=t<=0?1:t,i=Math.ceil(g/n);r>i&&(r=Math.max(1,i));var o=(0,a.__read)(f.params||[]),s=o[0],c=o.slice(1);f.run.apply(f,(0,a.__spreadArray)([],(0,a.__read)((0,a.__spreadArray)([(0,a.__assign)((0,a.__assign)({},void 0===s?{}:s),{current:r,pageSize:n})],(0,a.__read)(c),!1)),!1))},_=function(e){y(e,m)};return(0,a.__assign)((0,a.__assign)({},f),{pagination:{current:p,pageSize:m,total:g,totalPage:b,onChange:(0,s.default)(y),changeCurrent:(0,s.default)(_),changePageSize:(0,s.default)(function(e){y(p,e)})}})}},{tslib:"gdEuw",react:"a8qhJ","../useMemoizedFn":"lqD4I","../useRequest":"fSfO6","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],fSfO6:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"clearCache",()=>o.clearCache);var a=e("./src/useRequest"),i=n.interopDefault(a),o=e("./src/utils/cache");r.default=i.default},{"./src/useRequest":"hQUxF","./src/utils/cache":"7UhIG","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],hQUxF:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("./plugins/useAutoRunPlugin"),o=n.interopDefault(i),s=e("./plugins/useCachePlugin"),c=n.interopDefault(s),u=e("./plugins/useDebouncePlugin"),l=n.interopDefault(u),f=e("./plugins/useLoadingDelayPlugin"),d=n.interopDefault(f),h=e("./plugins/usePollingPlugin"),p=n.interopDefault(h),v=e("./plugins/useRefreshOnWindowFocusPlugin"),m=n.interopDefault(v),g=e("./plugins/useRetryPlugin"),b=n.interopDefault(g),y=e("./plugins/useThrottlePlugin"),_=n.interopDefault(y),w=e("./useRequestImplement"),S=n.interopDefault(w);r.default=function(e,t,r){return(0,S.default)(e,t,(0,a.__spreadArray)((0,a.__spreadArray)([],(0,a.__read)(r||[]),!1),[l.default,d.default,p.default,m.default,_.default,o.default,c.default,b.default],!1))}},{tslib:"gdEuw","./plugins/useAutoRunPlugin":"f9TgJ","./plugins/useCachePlugin":"gmhBI","./plugins/useDebouncePlugin":"iBW0l","./plugins/useLoadingDelayPlugin":"ccgLZ","./plugins/usePollingPlugin":"bXwdG","./plugins/useRefreshOnWindowFocusPlugin":"6jmgh","./plugins/useRetryPlugin":"dMgai","./plugins/useThrottlePlugin":"3nRH9","./useRequestImplement":"eMQMK","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],f9TgJ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../../../useUpdateEffect"),s=n.interopDefault(o),c=function(e,t){var r=t.manual,n=t.ready,o=void 0===n||n,c=t.defaultParams,u=void 0===c?[]:c,l=t.refreshDeps,f=t.refreshDepsAction,d=(0,i.useRef)(!1);return d.current=!1,(0,s.default)(function(){!r&&o&&(d.current=!0,e.run.apply(e,(0,a.__spreadArray)([],(0,a.__read)(u),!1)))},[o]),(0,s.default)(function(){d.current||r||(d.current=!0,f?f():e.refresh())},(0,a.__spreadArray)([],(0,a.__read)(void 0===l?[]:l),!1)),{onBefore:function(){if(!o)return{stopNow:!0}}}};c.onInit=function(e){var t=e.ready;return{loading:!e.manual&&(void 0===t||t)}},r.default=c},{tslib:"gdEuw",react:"a8qhJ","../../../useUpdateEffect":"gFLNJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],gFLNJ:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react"),a=e("../createUpdateEffect");r.default=(0,a.createUpdateEffect)(n.useEffect)},{react:"a8qhJ","../createUpdateEffect":"d877U","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],gmhBI:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../../../useCreation"),s=n.interopDefault(o),c=e("../../../useUnmount"),u=n.interopDefault(c),l=e("../utils/cache"),f=e("../utils/cachePromise"),d=e("../utils/cacheSubscribe");r.default=function(e,t){var r=t.cacheKey,n=t.cacheTime,o=void 0===n?3e5:n,c=t.staleTime,h=void 0===c?0:c,p=t.setCache,v=t.getCache,m=(0,i.useRef)(void 0),g=(0,i.useRef)(void 0),b=function(e,t){p?p(t):(0,l.setCache)(e,o,t),(0,d.trigger)(e,t.data)},y=function(e,t){return(void 0===t&&(t=[]),v)?v(t):(0,l.getCache)(e)};return((0,s.default)(function(){if(r){var t=y(r);t&&Object.hasOwnProperty.call(t,"data")&&(e.state.data=t.data,e.state.params=t.params,(-1===h||Date.now()-t.time<=h)&&(e.state.loading=!1)),m.current=(0,d.subscribe)(r,function(t){e.setState({data:t})})}},[]),(0,u.default)(function(){var e;null===(e=m.current)||void 0===e||e.call(m)}),r)?{onBefore:function(e){var t=y(r,e);return t&&Object.hasOwnProperty.call(t,"data")?-1===h||Date.now()-t.time<=h?{loading:!1,data:null==t?void 0:t.data,error:void 0,returnNow:!0}:{data:null==t?void 0:t.data,error:void 0}:{}},onRequest:function(e,t){var n=(0,f.getCachePromise)(r);return n&&n!==g.current||(n=e.apply(void 0,(0,a.__spreadArray)([],(0,a.__read)(t),!1)),g.current=n,(0,f.setCachePromise)(r,n)),{servicePromise:n}},onSuccess:function(t,n){var a;r&&(null===(a=m.current)||void 0===a||a.call(m),b(r,{data:t,params:n,time:Date.now()}),m.current=(0,d.subscribe)(r,function(t){e.setState({data:t})}))},onMutate:function(t){var n;r&&(null===(n=m.current)||void 0===n||n.call(m),b(r,{data:t,params:e.state.params,time:Date.now()}),m.current=(0,d.subscribe)(r,function(t){e.setState({data:t})}))}}:{}}},{tslib:"gdEuw",react:"a8qhJ","../../../useCreation":"dKqLA","../../../useUnmount":"dO00m","../utils/cache":"7UhIG","../utils/cachePromise":"lhBGO","../utils/cacheSubscribe":"hTMvj","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],dKqLA:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../utils/depsAreSame"),o=n.interopDefault(i);r.default=function(e,t){var r=(0,a.useRef)({deps:t,obj:void 0,initialized:!1}).current;return!1!==r.initialized&&(0,o.default)(r.deps,t)||(r.deps=t,r.obj=e(),r.initialized=!0),r.obj}},{react:"a8qhJ","../utils/depsAreSame":"8xj9H","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8xj9H":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=function(e,t){if(e===t)return!0;for(var r=0;r<e.length;r++)if(!Object.is(e[r],t[r]))return!1;return!0}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],dO00m:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../useLatest"),o=n.interopDefault(i),s=e("../utils"),c=e("../utils/isDev"),u=n.interopDefault(c);r.default=function(e){u.default&&!(0,s.isFunction)(e)&&console.error("useUnmount expected parameter is a function, got ".concat(typeof e));var t=(0,o.default)(e);(0,a.useEffect)(function(){return function(){t.current()}},[])}},{react:"a8qhJ","../useLatest":"9oY4Q","../utils":"lVJFQ","../utils/isDev":"jfaKo","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"9oY4Q":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react");r.default=function(e){var t=(0,n.useRef)(e);return t.current=e,t}},{react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"7UhIG":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getCache",()=>s),n.export(r,"setCache",()=>o),n.export(r,"clearCache",()=>c);var a=e("tslib"),i=new Map,o=function(e,t,r){var n=i.get(e);(null==n?void 0:n.timer)&&clearTimeout(n.timer);var o=void 0;t>-1&&(o=setTimeout(function(){i.delete(e)},t)),i.set(e,(0,a.__assign)((0,a.__assign)({},r),{timer:o}))},s=function(e){return i.get(e)},c=function(e){e?(Array.isArray(e)?e:[e]).forEach(function(e){return i.delete(e)}):i.clear()}},{tslib:"gdEuw","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lhBGO:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getCachePromise",()=>i),n.export(r,"setCachePromise",()=>o);var a=new Map,i=function(e){return a.get(e)},o=function(e,t){a.set(e,t),t.then(function(t){return a.delete(e),t}).catch(function(){a.delete(e)})}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],hTMvj:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"trigger",()=>i),n.export(r,"subscribe",()=>o);var a={},i=function(e,t){a[e]&&a[e].forEach(function(e){return e(t)})},o=function(e,t){return a[e]||(a[e]=[]),a[e].push(t),function(){var r=a[e].indexOf(t);a[e].splice(r,1)}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],iBW0l:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("lodash/debounce"),o=n.interopDefault(i),s=e("react");r.default=function(e,t){var r=t.debounceWait,n=t.debounceLeading,i=t.debounceTrailing,c=t.debounceMaxWait,u=(0,s.useRef)(void 0),l=(0,s.useMemo)(function(){var e={};return void 0!==n&&(e.leading=n),void 0!==i&&(e.trailing=i),void 0!==c&&(e.maxWait=c),e},[n,i,c]);return((0,s.useEffect)(function(){if(r){var t=e.runAsync.bind(e);return u.current=(0,o.default)(function(e){e()},r,l),e.runAsync=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new Promise(function(r,n){var i;null===(i=u.current)||void 0===i||i.call(u,function(){t.apply(void 0,(0,a.__spreadArray)([],(0,a.__read)(e),!1)).then(r).catch(n)})})},function(){var r;null===(r=u.current)||void 0===r||r.cancel(),e.runAsync=t}}},[r,l]),r)?{onCancel:function(){var e;null===(e=u.current)||void 0===e||e.cancel()}}:{}}},{tslib:"gdEuw","lodash/debounce":"l2dTz",react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],l2dTz:[function(e,t,r){var n=e("3b174a999d6a40ac"),a=e("575b2317167ce20d"),i=e("a13332670c5c0f63"),o=Math.max,s=Math.min;t.exports=function(e,t,r){var c,u,l,f,d,h,p=0,v=!1,m=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var r=c,n=u;return c=u=void 0,p=t,f=e.apply(n,r)}function y(e){var r=e-h,n=e-p;return void 0===h||r>=t||r<0||m&&n>=l}function _(){var e,r,n,i=a();if(y(i))return w(i);d=setTimeout(_,(e=i-h,r=i-p,n=t-e,m?s(n,l-r):n))}function w(e){return(d=void 0,g&&c)?b(e):(c=u=void 0,f)}function S(){var e,r=a(),n=y(r);if(c=arguments,u=this,h=r,n){if(void 0===d)return p=e=h,d=setTimeout(_,t),v?b(e):f;if(m)return clearTimeout(d),d=setTimeout(_,t),b(h)}return void 0===d&&(d=setTimeout(_,t)),f}return t=i(t)||0,n(r)&&(v=!!r.leading,l=(m="maxWait"in r)?o(i(r.maxWait)||0,t):l,g="trailing"in r?!!r.trailing:g),S.cancel=function(){void 0!==d&&clearTimeout(d),p=0,c=h=u=d=void 0},S.flush=function(){return void 0===d?f:w(a())},S}},{"3b174a999d6a40ac":"atGl8","575b2317167ce20d":"gex2V",a13332670c5c0f63:"3XIjV"}],atGl8:[function(e,t,r){t.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},{}],gex2V:[function(e,t,r){var n=e("6439589d9d88d885");t.exports=function(){return n.Date.now()}},{"6439589d9d88d885":"lN4Ny"}],lN4Ny:[function(e,t,r){var n=e("cd92e8811deaabf5"),a="object"==typeof self&&self&&self.Object===Object&&self,i=n||a||Function("return this")();t.exports=i},{cd92e8811deaabf5:"EApLi"}],EApLi:[function(e,t,r){var n=arguments[3],a="object"==typeof n&&n&&n.Object===Object&&n;t.exports=a},{}],"3XIjV":[function(e,t,r){var n=e("261e89907fb89d78"),a=e("faaa289d287a34a5"),i=e("47b3bd23f771891"),o=0/0,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;t.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=c.test(e);return r||u.test(e)?l(e.slice(2),r?2:8):s.test(e)?o:+e}},{"261e89907fb89d78":"4aNdh",faaa289d287a34a5:"atGl8","47b3bd23f771891":"b1npp"}],"4aNdh":[function(e,t,r){var n=e("985d3c9be7b51937"),a=/^\s+/;t.exports=function(e){return e?e.slice(0,n(e)+1).replace(a,""):e}},{"985d3c9be7b51937":"jJHwc"}],jJHwc:[function(e,t,r){var n=/\s/;t.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},{}],b1npp:[function(e,t,r){var n=e("6118c0d5630f51ce"),a=e("74644060ad1a1d3c");t.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==n(e)}},{"6118c0d5630f51ce":"8xA54","74644060ad1a1d3c":"escGj"}],"8xA54":[function(e,t,r){var n=e("68a84eb98c5d3fa2"),a=e("9b2aaf31b7bdd837"),i=e("46d5beb3375f8a28"),o=n?n.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):i(e)}},{"68a84eb98c5d3fa2":"sHNnK","9b2aaf31b7bdd837":"bocDv","46d5beb3375f8a28":"jtu6w"}],sHNnK:[function(e,t,r){var n=e("9ff1abd51ad45ac0").Symbol;t.exports=n},{"9ff1abd51ad45ac0":"lN4Ny"}],bocDv:[function(e,t,r){var n=e("e9b4533b2a68f814"),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,s=n?n.toStringTag:void 0;t.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var a=o.call(e);return n&&(t?e[s]=r:delete e[s]),a}},{e9b4533b2a68f814:"sHNnK"}],jtu6w:[function(e,t,r){var n=Object.prototype.toString;t.exports=function(e){return n.call(e)}},{}],escGj:[function(e,t,r){t.exports=function(e){return null!=e&&"object"==typeof e}},{}],ccgLZ:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react");r.default=function(e,t){var r=t.loadingDelay,a=t.ready,i=(0,n.useRef)(void 0);if(!r)return{};var o=function(){i.current&&clearTimeout(i.current)};return{onBefore:function(){return o(),!1!==a&&(i.current=setTimeout(function(){e.setState({loading:!0})},r)),{loading:!1}},onFinally:function(){o()},onCancel:function(){o()}}}},{react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],bXwdG:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../../../useUpdateEffect"),o=n.interopDefault(i),s=e("../utils/isDocumentVisible"),c=n.interopDefault(s),u=e("../utils/subscribeReVisible"),l=n.interopDefault(u);r.default=function(e,t){var r=t.pollingInterval,n=t.pollingWhenHidden,i=void 0===n||n,s=t.pollingErrorRetryCount,u=void 0===s?-1:s,f=(0,a.useRef)(void 0),d=(0,a.useRef)(void 0),h=(0,a.useRef)(0),p=function(){var e;f.current&&clearTimeout(f.current),null===(e=d.current)||void 0===e||e.call(d)};return((0,o.default)(function(){r||p()},[r]),r)?{onBefore:function(){p()},onError:function(){h.current+=1},onSuccess:function(){h.current=0},onFinally:function(){-1===u||-1!==u&&h.current<=u?f.current=setTimeout(function(){i||(0,c.default)()?e.refresh():d.current=(0,l.default)(function(){e.refresh()})},r):h.current=0},onCancel:function(){p()}}:{}}},{react:"a8qhJ","../../../useUpdateEffect":"gFLNJ","../utils/isDocumentVisible":"dOKZd","../utils/subscribeReVisible":"dwlU9","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],dOKZd:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("../../../utils/isBrowser"),i=n.interopDefault(a);function o(){return!i.default||"hidden"!==document.visibilityState}},{"../../../utils/isBrowser":"6EL7K","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6EL7K":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=!!("undefined"!=typeof window&&window.document&&window.document.createElement);r.default=n},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],dwlU9:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("../../../utils/isBrowser"),i=n.interopDefault(a),o=e("./isDocumentVisible"),s=n.interopDefault(o),c=new Set;i.default&&window.addEventListener("visibilitychange",function(){(0,s.default)()&&c.forEach(function(e){return e()})},!1),r.default=function(e){return c.add(e),function(){c.has(e)&&c.delete(e)}}},{"../../../utils/isBrowser":"6EL7K","./isDocumentVisible":"dOKZd","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6jmgh":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../../../useUnmount"),o=n.interopDefault(i),s=e("../utils/limit"),c=n.interopDefault(s),u=e("../utils/subscribeFocus"),l=n.interopDefault(u);r.default=function(e,t){var r=t.refreshOnWindowFocus,n=t.focusTimespan,i=void 0===n?5e3:n,s=(0,a.useRef)(void 0),u=function(){var e;null===(e=s.current)||void 0===e||e.call(s)};return(0,a.useEffect)(function(){if(r){var t=(0,c.default)(e.refresh.bind(e),i);s.current=(0,l.default)(function(){t()})}return function(){u()}},[r,i]),(0,o.default)(function(){u()}),{}}},{react:"a8qhJ","../../../useUnmount":"dO00m","../utils/limit":"6xHiG","../utils/subscribeFocus":"4NaeO","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6xHiG":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>i);var a=e("tslib");function i(e,t){var r=!1;return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r||(r=!0,e.apply(void 0,(0,a.__spreadArray)([],(0,a.__read)(n),!1)),setTimeout(function(){r=!1},t))}}},{tslib:"gdEuw","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"4NaeO":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("../../../utils/isBrowser"),i=n.interopDefault(a),o=e("./isDocumentVisible"),s=n.interopDefault(o),c=e("./isOnline"),u=n.interopDefault(c),l=new Set;if(i.default){var f=function(){(0,s.default)()&&(0,u.default)()&&l.forEach(function(e){return e()})};window.addEventListener("visibilitychange",f,!1),window.addEventListener("focus",f,!1)}r.default=function(e){return l.add(e),function(){l.has(e)&&l.delete(e)}}},{"../../../utils/isBrowser":"6EL7K","./isDocumentVisible":"dOKZd","./isOnline":"aviLl","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],aviLl:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("../../../utils/isBrowser"),i=n.interopDefault(a);r.default=function(){return!i.default||void 0===navigator.onLine||navigator.onLine}},{"../../../utils/isBrowser":"6EL7K","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],dMgai:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react");r.default=function(e,t){var r=t.retryInterval,a=t.retryCount,i=(0,n.useRef)(void 0),o=(0,n.useRef)(0),s=(0,n.useRef)(!1);return a?{onBefore:function(){s.current||(o.current=0),s.current=!1,i.current&&clearTimeout(i.current)},onSuccess:function(){o.current=0},onError:function(){if(o.current+=1,-1===a||o.current<=a){var t=null!=r?r:Math.min(1e3*Math.pow(2,o.current),3e4);i.current=setTimeout(function(){s.current=!0,e.refresh()},t)}else o.current=0},onCancel:function(){o.current=0,i.current&&clearTimeout(i.current)}}:{}}},{react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"3nRH9":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("lodash/throttle"),o=n.interopDefault(i),s=e("react");r.default=function(e,t){var r=t.throttleWait,n=t.throttleLeading,i=t.throttleTrailing,c=(0,s.useRef)(void 0),u={};return(void 0!==n&&(u.leading=n),void 0!==i&&(u.trailing=i),(0,s.useEffect)(function(){if(r){var t=e.runAsync.bind(e);return c.current=(0,o.default)(function(e){e()},r,u),e.runAsync=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new Promise(function(r,n){var i;null===(i=c.current)||void 0===i||i.call(c,function(){t.apply(void 0,(0,a.__spreadArray)([],(0,a.__read)(e),!1)).then(r).catch(n)})})},function(){var r;e.runAsync=t,null===(r=c.current)||void 0===r||r.cancel()}}},[r,n,i]),r)?{onCancel:function(){var e;null===(e=c.current)||void 0===e||e.cancel()}}:{}}},{tslib:"gdEuw","lodash/throttle":"1YQxC",react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"1YQxC":[function(e,t,r){var n=e("5b383646e2c7b4c6"),a=e("a29ce0b3e78d037d");t.exports=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw TypeError("Expected a function");return a(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),n(e,t,{leading:i,maxWait:t,trailing:o})}},{"5b383646e2c7b4c6":"l2dTz",a29ce0b3e78d037d:"atGl8"}],eMQMK:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("../../useCreation"),o=n.interopDefault(i),s=e("../../useLatest"),c=n.interopDefault(s),u=e("../../useMemoizedFn"),l=n.interopDefault(u),f=e("../../useMount"),d=n.interopDefault(f),h=e("../../useUnmount"),p=n.interopDefault(h),v=e("../../useUpdate"),m=n.interopDefault(v),g=e("../../utils/isDev"),b=n.interopDefault(g),y=e("./Fetch"),_=n.interopDefault(y);r.default=function(e,t,r){void 0===t&&(t={}),void 0===r&&(r=[]);var n=t.manual,i=void 0!==n&&n,s=t.ready,u=void 0===s||s,f=(0,a.__rest)(t,["manual","ready"]);b.default&&t.defaultParams&&!Array.isArray(t.defaultParams)&&console.warn("expected defaultParams is array, got ".concat(typeof t.defaultParams));var h=(0,a.__assign)({manual:i,ready:u},f),v=(0,c.default)(e),g=(0,m.default)(),y=(0,o.default)(function(){var e=r.map(function(e){var t;return null===(t=null==e?void 0:e.onInit)||void 0===t?void 0:t.call(e,h)}).filter(Boolean);return new _.default(v,h,g,Object.assign.apply(Object,(0,a.__spreadArray)([{}],(0,a.__read)(e),!1)))},[]);return y.options=h,y.pluginImpls=r.map(function(e){return e(y,h)}),(0,d.default)(function(){if(!i&&u){var e=y.state.params||t.defaultParams||[];y.run.apply(y,(0,a.__spreadArray)([],(0,a.__read)(e),!1))}}),(0,p.default)(function(){y.cancel()}),{loading:y.state.loading,data:y.state.data,error:y.state.error,params:y.state.params||[],cancel:(0,l.default)(y.cancel.bind(y)),refresh:(0,l.default)(y.refresh.bind(y)),refreshAsync:(0,l.default)(y.refreshAsync.bind(y)),run:(0,l.default)(y.run.bind(y)),runAsync:(0,l.default)(y.runAsync.bind(y)),mutate:(0,l.default)(y.mutate.bind(y))}}},{tslib:"gdEuw","../../useCreation":"dKqLA","../../useLatest":"9oY4Q","../../useMemoizedFn":"lqD4I","../../useMount":"3FTda","../../useUnmount":"dO00m","../../useUpdate":"iOFlh","../../utils/isDev":"jfaKo","./Fetch":"cQyvE","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"3FTda":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../utils"),o=e("../utils/isDev"),s=n.interopDefault(o);r.default=function(e){s.default&&!(0,i.isFunction)(e)&&console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof e,'".')),(0,a.useEffect)(function(){var t=null==e?void 0:e();if(!t||"object"!=typeof t||"function"!=typeof t.then)return t},[])}},{react:"a8qhJ","../utils":"lVJFQ","../utils/isDev":"jfaKo","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],iOFlh:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("tslib"),a=e("react");r.default=function(){var e=(0,n.__read)((0,a.useState)({}),2)[1];return(0,a.useCallback)(function(){return e({})},[])}},{tslib:"gdEuw",react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],cQyvE:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("tslib"),a=e("../../utils"),i=function(){function e(e,t,r,a){void 0===a&&(a={}),this.serviceRef=e,this.options=t,this.subscribe=r,this.initState=a,this.pluginImpls=[],this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=(0,n.__assign)((0,n.__assign)((0,n.__assign)({},this.state),{loading:!t.manual}),a)}return e.prototype.setState=function(e){void 0===e&&(e={}),this.state=(0,n.__assign)((0,n.__assign)({},this.state),e),this.subscribe()},e.prototype.runPluginHandler=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var a=this.pluginImpls.map(function(r){var a;return null===(a=r[e])||void 0===a?void 0:a.call.apply(a,(0,n.__spreadArray)([r],(0,n.__read)(t),!1))}).filter(Boolean);return Object.assign.apply(Object,(0,n.__spreadArray)([{}],(0,n.__read)(a),!1))},e.prototype.runAsync=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,n.__awaiter)(this,void 0,void 0,function(){var t,r,a,i,o,s,c,u,l,f,d,h,p,v,m,g,b,y,_,w,S;return(0,n.__generator)(this,function(E){switch(E.label){case 0:if(this.count+=1,t=this.count,i=void 0!==(a=(r=this.runPluginHandler("onBefore",e)).stopNow)&&a,s=void 0!==(o=r.returnNow)&&o,c=(0,n.__rest)(r,["stopNow","returnNow"]),i)return[2,new Promise(function(){})];if(this.setState((0,n.__assign)({loading:!0,params:e},c)),s)return[2,Promise.resolve(c.data)];null===(p=(h=this.options).onBefore)||void 0===p||p.call(h,e),E.label=1;case 1:return E.trys.push([1,3,,4]),(u=this.runPluginHandler("onRequest",this.serviceRef.current,e).servicePromise)||(u=(d=this.serviceRef).current.apply(d,(0,n.__spreadArray)([],(0,n.__read)(e),!1))),[4,u];case 2:if(l=E.sent(),t!==this.count)return[2,new Promise(function(){})];return this.setState({data:l,error:void 0,loading:!1}),null===(m=(v=this.options).onSuccess)||void 0===m||m.call(v,l,e),this.runPluginHandler("onSuccess",l,e),null===(b=(g=this.options).onFinally)||void 0===b||b.call(g,e,l,void 0),t===this.count&&this.runPluginHandler("onFinally",e,l,void 0),[2,l];case 3:if(f=E.sent(),t!==this.count)return[2,new Promise(function(){})];throw this.setState({error:f,loading:!1}),null===(_=(y=this.options).onError)||void 0===_||_.call(y,f,e),this.runPluginHandler("onError",f,e),null===(S=(w=this.options).onFinally)||void 0===S||S.call(w,e,void 0,f),t===this.count&&this.runPluginHandler("onFinally",e,void 0,f),f;case 4:return[2]}})})},e.prototype.run=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this.runAsync.apply(this,(0,n.__spreadArray)([],(0,n.__read)(t),!1)).catch(function(t){e.options.onError||console.error(t)})},e.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},e.prototype.refresh=function(){this.run.apply(this,(0,n.__spreadArray)([],(0,n.__read)(this.state.params||[]),!1))},e.prototype.refreshAsync=function(){return this.runAsync.apply(this,(0,n.__spreadArray)([],(0,n.__read)(this.state.params||[]),!1))},e.prototype.mutate=function(e){var t=(0,a.isFunction)(e)?e(this.state.data):e;this.runPluginHandler("onMutate",t),this.setState({data:t})},e}();r.default=i},{tslib:"gdEuw","../../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],bgl4M:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("tslib"),a=e("react"),i=e("../utils");r.default=function(e,t){(0,a.useEffect)(function(){var t=e(),r=!1;return function(){(0,n.__awaiter)(this,void 0,void 0,function(){return(0,n.__generator)(this,function(e){switch(e.label){case 0:if(!(0,i.isFunction)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||r)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){r=!0}},t)}},{tslib:"gdEuw",react:"a8qhJ","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],PJeBE:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>c);var a=e("tslib"),i=e("react"),o=e("../useToggle"),s=n.interopDefault(o);function c(e){void 0===e&&(e=!1);var t=(0,a.__read)((0,s.default)(!!e),2),r=t[0],n=t[1],o=n.toggle,c=n.set;return[r,(0,i.useMemo)(function(){return{toggle:o,set:function(e){return c(!!e)},setTrue:function(){return c(!0)},setFalse:function(){return c(!1)}}},[])]}},{tslib:"gdEuw",react:"a8qhJ","../useToggle":"3lglo","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"3lglo":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("tslib"),a=e("react");r.default=function(e,t){void 0===e&&(e=!1);var r=(0,n.__read)((0,a.useState)(e),2),i=r[0],o=r[1];return[i,(0,a.useMemo)(function(){var r=void 0===t?!e:t;return{toggle:function(){return o(function(t){return t===e?r:e})},set:function(e){return o(e)},setLeft:function(){return o(e)},setRight:function(){return o(r)}}},[])]}},{tslib:"gdEuw",react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"9Bgg7":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>f);var a=e("../useLatest"),i=n.interopDefault(a),o=e("../utils/domTarget"),s=e("../utils/getDocumentOrShadow"),c=n.interopDefault(s),u=e("../utils/useEffectWithTarget"),l=n.interopDefault(u);function f(e,t,r){void 0===r&&(r="click");var n=(0,i.default)(e);(0,l.default)(function(){var e=function(e){(Array.isArray(t)?t:[t]).some(function(t){var r=(0,o.getTargetElement)(t);return!r||r.contains(e.target)})||n.current(e)},a=(0,c.default)(t),i=Array.isArray(r)?r:[r];return i.forEach(function(t){return a.addEventListener(t,e)}),function(){i.forEach(function(t){return a.removeEventListener(t,e)})}},Array.isArray(r)?r:[r],t)}},{"../useLatest":"9oY4Q","../utils/domTarget":"kJ9dA","../utils/getDocumentOrShadow":"beFRC","../utils/useEffectWithTarget":"9undB","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],kJ9dA:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getTargetElement",()=>s);var a=e("./index"),i=e("./isBrowser"),o=n.interopDefault(i);function s(e,t){if(o.default)return e?(0,a.isFunction)(e)?e():"current"in e?e.current:e:t}},{"./index":"lVJFQ","./isBrowser":"6EL7K","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],beFRC:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("../utils/domTarget");r.default=function(e){if(!e||!document.getRootNode)return document;var t,r=Array.isArray(e)?e:[e];return r.every(function(e){var t=(0,n.getTargetElement)(e);return!!t&&t.getRootNode() instanceof ShadowRoot})&&(t=(0,n.getTargetElement)(r[0]))?t.getRootNode():document}},{"../utils/domTarget":"kJ9dA","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"9undB":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("./createEffectWithTarget"),o=(0,n.interopDefault(i).default)(a.useEffect);r.default=o},{react:"a8qhJ","./createEffectWithTarget":"aYskl","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],aYskl:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../useUnmount"),o=n.interopDefault(i),s=e("./depsAreSame"),c=n.interopDefault(s),u=e("./domTarget");r.default=function(e){return function(t,r,n){var i=(0,a.useRef)(!1),s=(0,a.useRef)([]),l=(0,a.useRef)([]),f=(0,a.useRef)(void 0);e(function(){var e,a=(Array.isArray(n)?n:[n]).map(function(e){return(0,u.getTargetElement)(e)});if(!i.current){i.current=!0,s.current=a,l.current=r,f.current=t();return}a.length===s.current.length&&(0,c.default)(s.current,a)&&(0,c.default)(l.current,r)||(null===(e=f.current)||void 0===e||e.call(f),s.current=a,l.current=r,f.current=t())}),(0,o.default)(function(){var e;null===(e=f.current)||void 0===e||e.call(f),i.current=!1})}}},{react:"a8qhJ","../useUnmount":"dO00m","./depsAreSame":"8xj9H","./domTarget":"kJ9dA","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],gcVpE:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../utils"),s=e("../useMemoizedFn"),c=n.interopDefault(s),u=e("../useUpdate"),l=n.interopDefault(u);r.default=function(e,t){void 0===t&&(t={});var r=null!=e?e:{},n=t.defaultValue,s=t.defaultValuePropName,u=void 0===s?"defaultValue":s,f=t.valuePropName,d=void 0===f?"value":f,h=t.trigger,p=void 0===h?"onChange":h,v=r[d],m=Object.prototype.hasOwnProperty.call(r,d),g=(0,i.useMemo)(function(){return m?v:Object.prototype.hasOwnProperty.call(r,u)?r[u]:n},[]),b=(0,i.useRef)(g);m&&(b.current=v);var y=(0,l.default)();return[b.current,(0,c.default)(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=(0,o.isFunction)(e)?e(b.current):e;m||(b.current=i,y()),r[p]&&r[p].apply(r,(0,a.__spreadArray)([i],(0,a.__read)(t),!1))})]}},{tslib:"gdEuw",react:"a8qhJ","../utils":"lVJFQ","../useMemoizedFn":"lqD4I","../useUpdate":"iOFlh","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],apCg9:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("js-cookie"),o=n.interopDefault(i),s=e("react"),c=e("../useMemoizedFn"),u=n.interopDefault(c),l=e("../utils");r.default=function(e,t){void 0===t&&(t={});var r=(0,a.__read)((0,s.useState)(function(){var r=(0,o.default).get(e);return(0,l.isString)(r)?r:(0,l.isFunction)(t.defaultValue)?t.defaultValue():t.defaultValue}),2),n=r[0],i=r[1],c=(0,u.default)(function(r,s){void 0===s&&(s={});var c=(0,a.__assign)((0,a.__assign)({},t),s),u=(c.defaultValue,(0,a.__rest)(c,["defaultValue"])),f=(0,l.isFunction)(r)?r(n):r;i(f),void 0===f?(0,o.default).remove(e):(0,o.default).set(e,f,u)});return[n,c]}},{tslib:"gdEuw","js-cookie":"b7IIR",react:"a8qhJ","../useMemoizedFn":"lqD4I","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],b7IIR:[function(e,t,r){t.exports=function(){function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}return function t(r,n){function a(t,a,i){if("undefined"!=typeof document){"number"==typeof(i=e({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var s in i)i[s]&&(o+="; "+s,!0!==i[s]&&(o+="="+i[s].split(";")[0]));return document.cookie=t+"="+r.write(a,t)+o}}return Object.create({set:a,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},a=0;a<t.length;a++){var i=t[a].split("="),o=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(n[s]=r.read(o,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(t,r){a(t,"",e({},r,{expires:-1}))},withAttributes:function(r){return t(this.converter,e({},this.attributes,r))},withConverter:function(r){return t(e({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},{}],eCGvr:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("dayjs"),o=n.interopDefault(i),s=e("react"),c=e("../useLatest"),u=n.interopDefault(c),l=e("../utils/index"),f=function(e){if(!e)return 0;var t=(0,o.default)(e).valueOf()-Date.now();return t<0?0:t};r.default=function(e){void 0===e&&(e={});var t=e||{},r=t.leftTime,n=t.targetDate,i=t.interval,o=void 0===i?1e3:i,c=t.onEnd,d=(0,s.useMemo)(function(){return(0,l.isNumber)(r)&&r>0?Date.now()+r:void 0},[r]),h="leftTime"in e?d:n,p=(0,a.__read)((0,s.useState)(function(){return f(h)}),2),v=p[0],m=p[1],g=(0,u.default)(c);(0,s.useEffect)(function(){if(!h){m(0);return}m(f(h));var e=setInterval(function(){var t,r=f(h);m(r),0===r&&(clearInterval(e),null===(t=g.current)||void 0===t||t.call(g))},o);return function(){return clearInterval(e)}},[h,o]);var b=(0,s.useMemo)(function(){return{days:Math.floor(v/864e5),hours:Math.floor(v/36e5)%24,minutes:Math.floor(v/6e4)%60,seconds:Math.floor(v/1e3)%60,milliseconds:Math.floor(v)%1e3}},[v]);return[v,b]}},{tslib:"gdEuw",dayjs:"2TP8f",react:"a8qhJ","../useLatest":"9oY4Q","../utils/index":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"2TP8f":[function(e,t,r){var n,a,i,o,s,c,u,l,f,d,h,p,v,m,g,b,y,_,w,S,E,k;t.exports=(n="millisecond",a="second",i="minute",o="hour",s="week",c="month",u="quarter",l="year",f="date",d="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},(g={})[m="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||"th")+"]"}},b="$isDayjsObject",y=function(e){return e instanceof E||!(!e||!e[b])},_=function e(t,r,n){var a;if(!t)return m;if("string"==typeof t){var i=t.toLowerCase();g[i]&&(a=i),r&&(g[i]=r,a=i);var o=t.split("-");if(!a&&o.length>1)return e(o[0])}else{var s=t.name;g[s]=t,a=s}return!n&&a&&(m=a),a||!n&&m},w=function(e,t){if(y(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new E(r)},(S={s:v,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+v(Math.floor(r/60),2,"0")+":"+v(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),a=t.clone().add(n,c),i=r-a<0,o=t.clone().add(n+(i?-1:1),c);return+(-(n+(r-a)/(i?a-o:o-a))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return({M:c,y:l,w:s,d:"day",D:f,h:o,m:i,s:a,ms:n,Q:u})[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}}).l=_,S.i=y,S.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})},k=(E=function(){function e(e){this.$L=_(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[b]=!0}var t=e.prototype;return t.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(h);if(n){var a=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},t.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},t.$utils=function(){return S},t.isValid=function(){return this.$d.toString()!==d},t.isSame=function(e,t){var r=w(e);return this.startOf(t)<=r&&r<=this.endOf(t)},t.isAfter=function(e,t){return w(e)<this.startOf(t)},t.isBefore=function(e,t){return this.endOf(t)<w(e)},t.$g=function(e,t,r){return S.u(e)?this[t]:this.set(r,e)},t.unix=function(){return Math.floor(this.valueOf()/1e3)},t.valueOf=function(){return this.$d.getTime()},t.startOf=function(e,t){var r=this,n=!!S.u(t)||t,u=S.p(e),d=function(e,t){var a=S.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?a:a.endOf("day")},h=function(e,t){return S.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},p=this.$W,v=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(u){case l:return n?d(1,0):d(31,11);case c:return n?d(1,v):d(0,v+1);case s:var b=this.$locale().weekStart||0,y=(p<b?p+7:p)-b;return d(n?m-y:m+(6-y),v);case"day":case f:return h(g+"Hours",0);case o:return h(g+"Minutes",1);case i:return h(g+"Seconds",2);case a:return h(g+"Milliseconds",3);default:return this.clone()}},t.endOf=function(e){return this.startOf(e,!1)},t.$set=function(e,t){var r,s=S.p(e),u="set"+(this.$u?"UTC":""),d=((r={}).day=u+"Date",r[f]=u+"Date",r[c]=u+"Month",r[l]=u+"FullYear",r[o]=u+"Hours",r[i]=u+"Minutes",r[a]=u+"Seconds",r[n]=u+"Milliseconds",r)[s],h="day"===s?this.$D+(t-this.$W):t;if(s===c||s===l){var p=this.clone().set(f,1);p.$d[d](h),p.init(),this.$d=p.set(f,Math.min(this.$D,p.daysInMonth())).$d}else d&&this.$d[d](h);return this.init(),this},t.set=function(e,t){return this.clone().$set(e,t)},t.get=function(e){return this[S.p(e)]()},t.add=function(e,t){var r,n=this;e=Number(e);var u=S.p(t),f=function(t){var r=w(n);return S.w(r.date(r.date()+Math.round(t*e)),n)};if(u===c)return this.set(c,this.$M+e);if(u===l)return this.set(l,this.$y+e);if("day"===u)return f(1);if(u===s)return f(7);var d=((r={})[i]=6e4,r[o]=36e5,r[a]=1e3,r)[u]||1,h=this.$d.getTime()+e*d;return S.w(h,this)},t.subtract=function(e,t){return this.add(-1*e,t)},t.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var n=e||"YYYY-MM-DDTHH:mm:ssZ",a=S.z(this),i=this.$H,o=this.$m,s=this.$M,c=r.weekdays,u=r.months,l=r.meridiem,f=function(e,r,a,i){return e&&(e[r]||e(t,n))||a[r].slice(0,i)},h=function(e){return S.s(i%12||12,e,"0")},v=l||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(p,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return S.s(t.$y,4,"0");case"M":return s+1;case"MM":return S.s(s+1,2,"0");case"MMM":return f(r.monthsShort,s,u,3);case"MMMM":return f(u,s);case"D":return t.$D;case"DD":return S.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(r.weekdaysMin,t.$W,c,2);case"ddd":return f(r.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(i);case"HH":return S.s(i,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return v(i,o,!0);case"A":return v(i,o,!1);case"m":return String(o);case"mm":return S.s(o,2,"0");case"s":return String(t.$s);case"ss":return S.s(t.$s,2,"0");case"SSS":return S.s(t.$ms,3,"0");case"Z":return a}return null}(e)||a.replace(":","")})},t.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},t.diff=function(e,t,r){var n,f=this,d=S.p(t),h=w(e),p=(h.utcOffset()-this.utcOffset())*6e4,v=this-h,m=function(){return S.m(f,h)};switch(d){case l:n=m()/12;break;case c:n=m();break;case u:n=m()/3;break;case s:n=(v-p)/6048e5;break;case"day":n=(v-p)/864e5;break;case o:n=v/36e5;break;case i:n=v/6e4;break;case a:n=v/1e3;break;default:n=v}return r?n:S.a(n)},t.daysInMonth=function(){return this.endOf(c).$D},t.$locale=function(){return g[this.$L]},t.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=_(e,t,!0);return n&&(r.$L=n),r},t.clone=function(){return S.w(this.$d,this)},t.toDate=function(){return new Date(this.valueOf())},t.toJSON=function(){return this.isValid()?this.toISOString():null},t.toISOString=function(){return this.$d.toISOString()},t.toString=function(){return this.$d.toUTCString()},e}()).prototype,w.prototype=k,[["$ms",n],["$s",a],["$m",i],["$H",o],["$W","day"],["$M",c],["$y",l],["$D",f]].forEach(function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),w.extend=function(e,t){return e.$i||(e(t,E,w),e.$i=!0),w},w.locale=_,w.isDayjs=y,w.unix=function(e){return w(1e3*e)},w.en=g[m],w.Ls=g,w.p={},w)},{}],"5OCnR":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useMemoizedFn"),s=n.interopDefault(o),c=e("../utils");function u(e,t){void 0===t&&(t={});var r=t.min,n=t.max,a=e;return(0,c.isNumber)(n)&&(a=Math.min(n,a)),(0,c.isNumber)(r)&&(a=Math.max(r,a)),a}r.default=function(e,t){void 0===e&&(e=0),void 0===t&&(t={});var r=t.min,n=t.max,o=(0,a.__read)((0,i.useState)(function(){return u(e,{min:r,max:n})}),2),l=o[0],f=o[1],d=function(e){f(function(t){return u((0,c.isNumber)(e)?e:e(t),{max:n,min:r})})};return[l,{inc:(0,s.default)(function(e){void 0===e&&(e=1),d(function(t){return t+e})}),dec:(0,s.default)(function(e){void 0===e&&(e=1),d(function(t){return t-e})}),set:(0,s.default)(function(e){d(e)}),reset:(0,s.default)(function(){d(e)})}]}},{tslib:"gdEuw",react:"a8qhJ","../useMemoizedFn":"lqD4I","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"2Nx3b":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useDebounceFn"),s=n.interopDefault(o);r.default=function(e,t){var r=(0,a.__read)((0,i.useState)(e),2),n=r[0],o=r[1],c=(0,s.default)(function(){o(e)},t).run;return(0,i.useEffect)(function(){c()},[e]),n}},{tslib:"gdEuw",react:"a8qhJ","../useDebounceFn":"lDEKa","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lDEKa:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("../utils/lodash-polyfill"),o=e("react"),s=e("../useLatest"),c=n.interopDefault(s),u=e("../useUnmount"),l=n.interopDefault(u),f=e("../utils"),d=e("../utils/isDev"),h=n.interopDefault(d);r.default=function(e,t){h.default&&!(0,f.isFunction)(e)&&console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e));var r,n=(0,c.default)(e),s=null!==(r=null==t?void 0:t.wait)&&void 0!==r?r:1e3,u=(0,o.useMemo)(function(){return(0,i.debounce)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.current.apply(n,(0,a.__spreadArray)([],(0,a.__read)(e),!1))},s,t)},[]);return(0,l.default)(function(){u.cancel()}),{run:u,cancel:u.cancel,flush:u.flush}}},{tslib:"gdEuw","../utils/lodash-polyfill":"1yexa",react:"a8qhJ","../useLatest":"9oY4Q","../useUnmount":"dO00m","../utils":"lVJFQ","../utils/isDev":"jfaKo","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"1yexa":[function(e,t,r){var n,a,i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"debounce",()=>s.default);var o=e("lodash/debounce"),s=i.interopDefault(o),c=arguments[3];n=(void 0===c?"undefined":typeof c)=="object"&&c&&c.Object===Object&&c,a="object"==typeof self&&self&&self.Object===Object&&self,n||a||(c.Date=Date)},{"lodash/debounce":"l2dTz","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],jKRe1:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useDebounceFn"),s=n.interopDefault(o),c=e("../useUpdateEffect"),u=n.interopDefault(c);r.default=function(e,t,r){var n=(0,a.__read)((0,i.useState)({}),2),o=n[0],c=n[1],l=(0,s.default)(function(){c({})},r).run;(0,i.useEffect)(function(){return l()},t),(0,u.default)(e,[o])}},{tslib:"gdEuw",react:"a8qhJ","../useDebounceFn":"lDEKa","../useUpdateEffect":"gFLNJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],li8cx:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react"),a=e("../createDeepCompareEffect");r.default=(0,a.createDeepCompareEffect)(n.useEffect)},{react:"a8qhJ","../createDeepCompareEffect":"gObcn","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],gObcn:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"createDeepCompareEffect",()=>o);var a=e("react"),i=e("../utils/depsEqual"),o=function(e){return function(t,r){var n=(0,a.useRef)(void 0),o=(0,a.useRef)(0);void 0!==r&&(0,i.depsEqual)(r,n.current)||(o.current+=1),n.current=r,e(t,[o.current])}}},{react:"a8qhJ","../utils/depsEqual":"e9YBr","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],e9YBr:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"depsEqual",()=>o);var a=e("react-fast-compare"),i=n.interopDefault(a),o=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),(0,i.default)(e,t)}},{"react-fast-compare":"4Gtgf","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"4Gtgf":[function(e,t,r){var n="undefined"!=typeof Element,a="function"==typeof Map,i="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;t.exports=function(e,t){try{return function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){var s,c,u,l;if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((s=t.length)!=r.length)return!1;for(c=s;0!=c--;)if(!e(t[c],r[c]))return!1;return!0}if(a&&t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!r.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!e(c.value[1],r.get(c.value[0])))return!1;return!0}if(i&&t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!r.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if((s=t.length)!=r.length)return!1;for(c=s;0!=c--;)if(t[c]!==r[c])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf&&"function"==typeof t.valueOf&&"function"==typeof r.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString&&"function"==typeof t.toString&&"function"==typeof r.toString)return t.toString()===r.toString();if((s=(u=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(r,u[c]))return!1;if(n&&t instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!t.$$typeof)&&!e(t[u[c]],r[u[c]]))return!1;return!0}return t!=t&&r!=r}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},{}],hUv5g:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react"),a=e("../createDeepCompareEffect");r.default=(0,a.createDeepCompareEffect)(n.useLayoutEffect)},{react:"a8qhJ","../createDeepCompareEffect":"gObcn","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],l6k4w:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useEventListener"),s=n.interopDefault(o),c=e("../utils/isBrowser"),u=n.interopDefault(c),l=function(){return u.default?document.visibilityState:"visible"};r.default=function(){var e=(0,a.__read)((0,i.useState)(l),2),t=e[0],r=e[1];return(0,s.default)("visibilitychange",function(){r(l())},{target:function(){return document}}),t}},{tslib:"gdEuw",react:"a8qhJ","../useEventListener":"cLknO","../utils/isBrowser":"6EL7K","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],cLknO:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("../useLatest"),i=n.interopDefault(a),o=e("../utils/domTarget"),s=e("../utils/useEffectWithTarget"),c=n.interopDefault(s);r.default=function(e,t,r){void 0===r&&(r={});var n=r.enable,a=void 0===n||n,s=(0,i.default)(t);(0,c.default)(function(){if(a){var t=(0,o.getTargetElement)(r.target,window);if(null==t?void 0:t.addEventListener){var n=function(e){return s.current(e)},i=Array.isArray(e)?e:[e];return i.forEach(function(e){t.addEventListener(e,n,{capture:r.capture,once:r.once,passive:r.passive})}),function(){i.forEach(function(e){t.removeEventListener(e,n,{capture:r.capture})})}}}},[e,r.capture,r.once,r.passive,a],r.target)}},{"../useLatest":"9oY4Q","../utils/domTarget":"kJ9dA","../utils/useEffectWithTarget":"9undB","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6WXj7":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../useLatest"),o=n.interopDefault(i),s=e("../useMount"),c=n.interopDefault(s),u=e("../utils"),l=e("../utils/domTarget"),f=e("../utils/useEffectWithTarget"),d=n.interopDefault(f);r.default=function(e,t,r){void 0===r&&(r={});var n=(0,o.default)(r),i=(0,o.default)(e),s=(0,a.useRef)(void 0),f=n.current.dragImage;(0,c.default)(function(){if(null==f?void 0:f.image){var e=f.image;if((0,u.isString)(e)){var t=new Image;t.src=e,s.current=t}else s.current=e}}),(0,d.default)(function(){var e=(0,l.getTargetElement)(t);if(null==e?void 0:e.addEventListener){var r=function(e){var t,r;if(null===(r=(t=n.current).onDragStart)||void 0===r||r.call(t,e),e.dataTransfer.setData("custom",JSON.stringify(i.current)),(null==f?void 0:f.image)&&s.current){var a=f.offsetX,o=f.offsetY;e.dataTransfer.setDragImage(s.current,void 0===a?0:a,void 0===o?0:o)}},a=function(e){var t,r;null===(r=(t=n.current).onDragEnd)||void 0===r||r.call(t,e)};return e.setAttribute("draggable","true"),e.addEventListener("dragstart",r),e.addEventListener("dragend",a),function(){e.removeEventListener("dragstart",r),e.removeEventListener("dragend",a)}}},[],t)}},{react:"a8qhJ","../useLatest":"9oY4Q","../useMount":"3FTda","../utils":"lVJFQ","../utils/domTarget":"kJ9dA","../utils/useEffectWithTarget":"9undB","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],kBIdn:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("../useLatest"),i=n.interopDefault(a),o=e("../utils/domTarget"),s=e("../utils/useEffectWithTarget"),c=n.interopDefault(s),u=e("react");r.default=function(e,t){void 0===t&&(t={});var r=(0,i.default)(t),n=(0,u.useRef)(void 0);(0,c.default)(function(){var t=(0,o.getTargetElement)(e);if(null==t?void 0:t.addEventListener){var a=function(e,t){var n=e.getData("text/uri-list"),a=e.getData("custom");if(a&&r.current.onDom){var i=a;try{i=JSON.parse(a)}catch(e){i=a}r.current.onDom(i,t);return}if(n&&r.current.onUri){r.current.onUri(n,t);return}if(e.files&&e.files.length&&r.current.onFiles){r.current.onFiles(Array.from(e.files),t);return}e.items&&e.items.length&&r.current.onText&&e.items[0].getAsString(function(e){r.current.onText(e,t)})},i=function(e){var t,a;e.preventDefault(),e.stopPropagation(),n.current=e.target,null===(a=(t=r.current).onDragEnter)||void 0===a||a.call(t,e)},s=function(e){var t,n;e.preventDefault(),null===(n=(t=r.current).onDragOver)||void 0===n||n.call(t,e)},c=function(e){var t,a;e.target===n.current&&(null===(a=(t=r.current).onDragLeave)||void 0===a||a.call(t,e))},u=function(e){var t,n;e.preventDefault(),a(e.dataTransfer,e),null===(n=(t=r.current).onDrop)||void 0===n||n.call(t,e)},l=function(e){var t,n;a(e.clipboardData,e),null===(n=(t=r.current).onPaste)||void 0===n||n.call(t,e)};return t.addEventListener("dragenter",i),t.addEventListener("dragover",s),t.addEventListener("dragleave",c),t.addEventListener("drop",u),t.addEventListener("paste",l),function(){t.removeEventListener("dragenter",i),t.removeEventListener("dragover",s),t.removeEventListener("dragleave",c),t.removeEventListener("drop",u),t.removeEventListener("paste",l)}}},[],e)}},{"../useLatest":"9oY4Q","../utils/domTarget":"kJ9dA","../utils/useEffectWithTarget":"9undB",react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],dlMPt:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../utils/isDev"),s=n.interopDefault(o);r.default=function(e){void 0===e&&(e=[]);var t=(0,i.useRef)(-1),r=(0,i.useRef)([]),n=(0,i.useCallback)(function(e){t.current+=1,r.current.splice(e,0,t.current)},[]),o=(0,a.__read)((0,i.useState)(function(){return e.forEach(function(e,t){n(t)}),e}),2),c=o[0],u=o[1],l=(0,i.useCallback)(function(e){r.current=[],u(function(){return e.forEach(function(e,t){n(t)}),e})},[]),f=(0,i.useCallback)(function(e,t){u(function(r){var i=(0,a.__spreadArray)([],(0,a.__read)(r),!1);return i.splice(e,0,t),n(e),i})},[]),d=(0,i.useCallback)(function(e){return r.current[e]},[]),h=(0,i.useCallback)(function(e){return r.current.findIndex(function(t){return t===e})},[]),p=(0,i.useCallback)(function(e,t){u(function(r){var i=(0,a.__spreadArray)([],(0,a.__read)(r),!1);return t.forEach(function(t,r){n(e+r)}),i.splice.apply(i,(0,a.__spreadArray)([e,0],(0,a.__read)(t),!1)),i})},[]),v=(0,i.useCallback)(function(e,t){u(function(r){var n=(0,a.__spreadArray)([],(0,a.__read)(r),!1);return n[e]=t,n})},[]),m=(0,i.useCallback)(function(e){u(function(t){var n=(0,a.__spreadArray)([],(0,a.__read)(t),!1);n.splice(e,1);try{r.current.splice(e,1)}catch(e){console.error(e)}return n})},[]),g=(0,i.useCallback)(function(e){if(!Array.isArray(e)){s.default&&console.error('`indexes` parameter of `batchRemove` function expected to be an array, but got "'.concat(typeof e,'".'));return}e.length&&u(function(t){var n=[],a=t.filter(function(t,r){var a=!e.includes(r);return a&&n.push(d(r)),a});return r.current=n,a})},[]),b=(0,i.useCallback)(function(e,t){e!==t&&u(function(n){var i=(0,a.__spreadArray)([],(0,a.__read)(n),!1),o=i.filter(function(t,r){return r!==e});o.splice(t,0,i[e]);try{var s=r.current.filter(function(t,r){return r!==e});s.splice(t,0,r.current[e]),r.current=s}catch(e){console.error(e)}return o})},[]),y=(0,i.useCallback)(function(e){u(function(t){return n(t.length),t.concat([e])})},[]),_=(0,i.useCallback)(function(){try{r.current=r.current.slice(0,r.current.length-1)}catch(e){console.error(e)}u(function(e){return e.slice(0,e.length-1)})},[]),w=(0,i.useCallback)(function(e){u(function(t){return n(0),[e].concat(t)})},[]),S=(0,i.useCallback)(function(){try{r.current=r.current.slice(1,r.current.length)}catch(e){console.error(e)}u(function(e){return e.slice(1,e.length)})},[]),E=(0,i.useCallback)(function(e){return e.map(function(e,t){return{key:t,item:e}}).sort(function(e,t){return h(e.key)-h(t.key)}).filter(function(e){return!!e.item}).map(function(e){return e.item})},[]);return{list:c,insert:f,merge:p,replace:v,remove:m,batchRemove:g,getKey:d,getIndex:h,move:b,push:y,pop:_,unshift:w,shift:S,sortList:E,resetList:l}}},{tslib:"gdEuw",react:"a8qhJ","../utils/isDev":"jfaKo","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"4jpPB":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"EventEmitter",()=>o);var a=e("tslib"),i=e("react"),o=function(){var e=this;this.subscriptions=new Set,this.emit=function(t){var r,n;try{for(var i=(0,a.__values)(e.subscriptions),o=i.next();!o.done;o=i.next())(0,o.value)(t)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},this.useSubscription=function(t){var r=(0,i.useRef)(void 0);r.current=t,(0,i.useEffect)(function(){function t(e){r.current&&r.current(e)}return e.subscriptions.add(t),function(){e.subscriptions.delete(t)}},[])}};r.default=function(){var e=(0,i.useRef)(void 0);return e.current||(e.current=new o),e.current}},{tslib:"gdEuw",react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"2MYfx":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useLatest"),s=n.interopDefault(o),c=e("../utils");r.default=function(e){var t=e||{},r=t.initialValue,n=t.transformer,o=(0,a.__read)((0,i.useState)(r),2),u=o[0],l=o[1],f=(0,s.default)(n),d=(0,i.useCallback)(function(){return l(r)},[]);return[u,{onChange:(0,i.useCallback)(function(e){var t=e.target.value;return(0,c.isFunction)(f.current)?l(f.current(t)):l(t)},[]),reset:d}]}},{tslib:"gdEuw",react:"a8qhJ","../useLatest":"9oY4Q","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],feBPG:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("tslib"),a=e("react"),i={},o=function(e,t){void 0===t&&(t={});var r=document.querySelector('script[src="'.concat(e,'"]'));if(!r){var n=document.createElement("script");return n.src=e,Object.keys(t).forEach(function(e){n[e]=t[e]}),n.setAttribute("data-status","loading"),document.body.appendChild(n),{ref:n,status:"loading"}}return{ref:r,status:r.getAttribute("data-status")||"ready"}},s=function(e,t){void 0===t&&(t={});var r=document.querySelector('link[href="'.concat(e,'"]'));if(!r){var n=document.createElement("link");return n.rel="stylesheet",n.href=e,Object.keys(t).forEach(function(e){n[e]=t[e]}),"hideFocus"in n&&n.relList&&(n.rel="preload",n.as="style"),n.setAttribute("data-status","loading"),document.head.appendChild(n),{ref:n,status:"loading"}}return{ref:r,status:r.getAttribute("data-status")||"ready"}};r.default=function(e,t){var r=(0,n.__read)((0,a.useState)(e?"loading":"unset"),2),c=r[0],u=r[1],l=(0,a.useRef)(void 0);return(0,a.useEffect)(function(){if(!e){u("unset");return}var r=e.replace(/[|#].*$/,"");if((null==t?void 0:t.type)==="css"||!(null==t?void 0:t.type)&&/(^css!|\.css$)/.test(r)){var n=s(e,null==t?void 0:t.css);l.current=n.ref,u(n.status)}else if((null==t?void 0:t.type)==="js"||!(null==t?void 0:t.type)&&/(^js!|\.js$)/.test(r)){var n=o(e,null==t?void 0:t.js);l.current=n.ref,u(n.status)}else console.error("Cannot infer the type of external resource, and please provide a type ('js' | 'css'). Refer to the https://ahooks.js.org/hooks/dom/use-external/#options");if(l.current){void 0===i[e]?i[e]=1:i[e]+=1;var a=function(e){var t,r="load"===e.type?"ready":"error";null===(t=l.current)||void 0===t||t.setAttribute("data-status",r),u(r)};return l.current.addEventListener("load",a),l.current.addEventListener("error",a),function(){var r,n,o;null===(r=l.current)||void 0===r||r.removeEventListener("load",a),null===(n=l.current)||void 0===n||n.removeEventListener("error",a),i[e]-=1,0!==i[e]||(null==t?void 0:t.keepWhenUnused)||null===(o=l.current)||void 0===o||o.remove(),l.current=void 0}}},[e]),c}},{tslib:"gdEuw",react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],dJM1R:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react"),a={SVG:"image/svg+xml",ICO:"image/x-icon",GIF:"image/gif",PNG:"image/png"};r.default=function(e){(0,n.useEffect)(function(){if(e){var t=e.split("."),r=t[t.length-1].toLocaleUpperCase(),n=document.querySelector("link[rel*='icon']")||document.createElement("link");n.type=a[r],n.href=e,n.rel="shortcut icon",document.getElementsByTagName("head")[0].appendChild(n)}},[e])}},{react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],fYEE3:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>c);var a=e("tslib"),i=e("react"),o=e("../useEventListener"),s=n.interopDefault(o);function c(e,t){var r=(0,a.__read)((0,i.useState)(!1),2),n=r[0],o=r[1],c=t||{},u=c.onFocus,l=c.onBlur,f=c.onChange;return(0,s.default)("focusin",function(e){n||(null==u||u(e),null==f||f(!0),o(!0))},{target:e}),(0,s.default)("focusout",function(e){var t,r;!n||(null===(r=null===(t=e.currentTarget)||void 0===t?void 0:t.contains)||void 0===r?void 0:r.call(t,e.relatedTarget))||(null==l||l(e),null==f||f(!1),o(!1))},{target:e}),n}},{tslib:"gdEuw",react:"a8qhJ","../useEventListener":"cLknO","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"5NduN":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("screenfull"),s=n.interopDefault(o),c=e("../useLatest"),u=n.interopDefault(c),l=e("../useMemoizedFn"),f=n.interopDefault(l),d=e("../utils/domTarget"),h=e("../utils");r.default=function(e,t){var r=t||{},n=r.onExit,o=r.onEnter,c=r.pageFullscreen,l=void 0!==c&&c,p=(0,h.isBoolean)(l)||!l?{}:l,v=p.className,m=void 0===v?"ahooks-page-fullscreen":v,g=p.zIndex,b=void 0===g?999999:g,y=(0,u.default)(n),_=(0,u.default)(o),w=(0,a.__read)((0,i.useState)(I),2),S=w[0],E=w[1],k=(0,i.useRef)(I());function I(){return s.default.isEnabled&&!!s.default.element&&s.default.element===(0,d.getTargetElement)(e)}var x=function(e){var t,r;e?null===(t=_.current)||void 0===t||t.call(_):null===(r=y.current)||void 0===r||r.call(y)},O=function(e){k.current!==e&&(x(e),E(e),k.current=e)},T=function(){O(I())},A=function(t){var r=(0,d.getTargetElement)(e);if(r){var n=document.getElementById(m);t?(r.classList.add(m),n||((n=document.createElement("style")).setAttribute("id",m),n.textContent="\n .".concat(m," {\n position: fixed; left: 0; top: 0; right: 0; bottom: 0;\n width: 100% !important; height: 100% !important;\n z-index: ").concat(b,";\n }"),r.appendChild(n))):(r.classList.remove(m),n&&n.remove()),O(t)}},M=function(){var t=(0,d.getTargetElement)(e);if(t){if(l){A(!0);return}if(s.default.isEnabled)try{(0,s.default).request(t)}catch(e){console.error(e)}}},R=function(){var t=(0,d.getTargetElement)(e);if(t){if(l){A(!1);return}s.default.isEnabled&&s.default.element===t&&(0,s.default).exit()}};return(0,i.useEffect)(function(){if(s.default.isEnabled&&!l)return(0,s.default).on("change",T),function(){(0,s.default).off("change",T)}},[]),[S,{enterFullscreen:(0,f.default)(M),exitFullscreen:(0,f.default)(R),toggleFullscreen:(0,f.default)(function(){S?R():M()}),isEnabled:s.default.isEnabled}]}},{tslib:"gdEuw",react:"a8qhJ",screenfull:"gKI06","../useLatest":"9oY4Q","../useMemoizedFn":"lqD4I","../utils/domTarget":"kJ9dA","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],gKI06:[function(e,t,r){!/*!
|
|
* screenfull
|
|
* v5.2.0 - 2021-11-03
|
|
* (c) Sindre Sorhus; MIT License
|
|
*/function(){var e="undefined"!=typeof window&&void 0!==window.document?window.document:{},r=t.exports,n=function(){for(var t,r=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,a=r.length,i={};n<a;n++)if((t=r[n])&&t[1]in e){for(n=0;n<t.length;n++)i[r[0][n]]=t[n];return i}return!1}(),a={change:n.fullscreenchange,error:n.fullscreenerror},i={request:function(t,r){return new Promise((function(a,i){var o=(function(){this.off("change",o),a()}).bind(this);this.on("change",o);var s=(t=t||e.documentElement)[n.requestFullscreen](r);s instanceof Promise&&s.then(o).catch(i)}).bind(this))},exit:function(){return new Promise((function(t,r){if(!this.isFullscreen){t();return}var a=(function(){this.off("change",a),t()}).bind(this);this.on("change",a);var i=e[n.exitFullscreen]();i instanceof Promise&&i.then(a).catch(r)}).bind(this))},toggle:function(e,t){return this.isFullscreen?this.exit():this.request(e,t)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(t,r){var n=a[t];n&&e.addEventListener(n,r,!1)},off:function(t,r){var n=a[t];n&&e.removeEventListener(n,r,!1)},raw:n};if(!n){r?t.exports={isEnabled:!1}:window.screenfull={isEnabled:!1};return}Object.defineProperties(i,{isFullscreen:{get:function(){return!!e[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return e[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!e[n.fullscreenEnabled]}}}),r?t.exports=i:window.screenfull=i}()},{}],jrmV4:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("../useAntdTable"),o=n.interopDefault(i),s=e("./fusionAdapter");r.default=function(e,t){void 0===t&&(t={});var r=(0,o.default)(e,(0,a.__assign)((0,a.__assign)({},t),{form:t.field?(0,s.fieldAdapter)(t.field):void 0}));return(0,s.resultAdapter)(r)}},{tslib:"gdEuw","../useAntdTable":"8LCp4","./fusionAdapter":"aIj1C","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],aIj1C:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"fieldAdapter",()=>i),n.export(r,"resultAdapter",()=>o);var a=e("tslib"),i=function(e){return{getFieldInstance:function(t){return e.getNames().includes(t)},setFieldsValue:e.setValues,getFieldsValue:e.getValues,resetFields:e.resetToDefault,validateFields:function(t,r){e.validate(t,r)}}},o=function(e){var t={dataSource:e.tableProps.dataSource,loading:e.tableProps.loading,onSort:function(t,r){var n;e.tableProps.onChange({current:e.pagination.current,pageSize:e.pagination.pageSize},null===(n=e.params[0])||void 0===n?void 0:n.filters,{field:t,order:r})},onFilter:function(t){var r;e.tableProps.onChange({current:e.pagination.current,pageSize:e.pagination.pageSize},t,null===(r=e.params[0])||void 0===r?void 0:r.sorter)}},r={onChange:e.pagination.changeCurrent,onPageSizeChange:e.pagination.changePageSize,current:e.pagination.current,pageSize:e.pagination.pageSize,total:e.pagination.total};return(0,a.__assign)((0,a.__assign)({},e),{tableProps:t,paginationProps:r})}},{tslib:"gdEuw","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8TcIA":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useLatest"),s=n.interopDefault(o);r.default=function(e){var t=(0,a.__read)((0,i.useState)(e),2),r=t[0],n=t[1],o=(0,s.default)(r);return[r,n,(0,i.useCallback)(function(){return o.current},[])]}},{tslib:"gdEuw",react:"a8qhJ","../useLatest":"9oY4Q","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],jFPHa:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>f);var a=e("tslib"),i=e("react"),o=e("../useMemoizedFn"),s=n.interopDefault(o),c=e("../utils"),u=function(e,t){var r=e>0?e-1:t.length+e;return r>=t.length-1&&(r=t.length-1),r<0&&(r=0),r},l=function(e,t){var r=u(e,t);return{_current:t[r],_before:t.slice(0,r),_after:t.slice(r+1)}};function f(e,t){void 0===t&&(t=0);var r=(0,a.__read)((0,i.useState)({present:e,past:[],future:[]}),2),n=r[0],o=r[1],u=n.present,f=n.past,d=n.future,h=(0,i.useRef)(e),p=function(e){if(void 0===e&&(e=1),0!==d.length){var t=l(e,d),r=t._before,n=t._current,i=t._after;o({past:(0,a.__spreadArray)((0,a.__spreadArray)((0,a.__spreadArray)([],(0,a.__read)(f),!1),[u],!1),(0,a.__read)(r),!1),present:n,future:i})}},v=function(e){if(void 0===e&&(e=-1),0!==f.length){var t=l(e,f),r=t._before,n=t._current,i=t._after;o({past:r,present:n,future:(0,a.__spreadArray)((0,a.__spreadArray)((0,a.__spreadArray)([],(0,a.__read)(i),!1),[u],!1),(0,a.__read)(d),!1)})}},m=function(e){var t=(0,c.isNumber)(e)?e:Number(e);if(0!==t){if(t>0)return p(t);v(t)}};return{value:u,backLength:f.length,forwardLength:d.length,setValue:(0,s.default)(function(e){var r=(0,a.__spreadArray)((0,a.__spreadArray)([],(0,a.__read)(f),!1),[u],!1),n=(0,c.isNumber)(t)?t:Number(t);n>0&&r.length>n&&r.splice(0,1),o({present:e,future:[],past:r})}),go:(0,s.default)(m),back:(0,s.default)(function(){m(-1)}),forward:(0,s.default)(function(){m(1)}),reset:(0,s.default)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.length>0?e[0]:h.current;h.current=r,o({present:r,future:[],past:[]})})}}},{tslib:"gdEuw",react:"a8qhJ","../useMemoizedFn":"lqD4I","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"4ti2m":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("../useBoolean"),o=n.interopDefault(i),s=e("../useEventListener"),c=n.interopDefault(s);r.default=function(e,t){var r=t||{},n=r.onEnter,i=r.onLeave,s=r.onChange,u=(0,a.__read)((0,o.default)(!1),2),l=u[0],f=u[1],d=f.setTrue,h=f.setFalse;return(0,c.default)("mouseenter",function(){null==n||n(),d(),null==s||s(!0)},{target:e}),(0,c.default)("mouseleave",function(){null==i||i(),h(),null==s||s(!1)},{target:e}),l}},{tslib:"gdEuw","../useBoolean":"PJeBE","../useEventListener":"cLknO","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"94QRq":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useEventListener"),s=n.interopDefault(o),c=e("../useMemoizedFn"),u=n.interopDefault(c),l=e("../useRequest"),f=n.interopDefault(l),d=e("../useUpdateEffect"),h=n.interopDefault(d),p=e("../utils/domTarget"),v=e("../utils/rect");r.default=function(e,t){void 0===t&&(t={});var r=t.target,n=t.isNoMore,o=t.threshold,c=void 0===o?100:o,l=t.direction,d=t.reloadDeps,m=t.manual,g=t.onBefore,b=t.onSuccess,y=t.onError,_=t.onFinally,w=(0,a.__read)((0,i.useState)(),2),S=w[0],E=w[1],k=(0,a.__read)((0,i.useState)(!1),2),I=k[0],x=k[1],O="top"===(void 0===l?"bottom":l),T=(0,i.useRef)(void 0),A=(0,i.useRef)(0),M=(0,i.useMemo)(function(){return!!n&&n(S)},[S]),R=(0,f.default)(function(t){return(0,a.__awaiter)(void 0,void 0,void 0,function(){return(0,a.__generator)(this,function(r){switch(r.label){case 0:return[4,e(t)];case 1:return[2,{currentData:r.sent(),lastData:t}]}})})},{manual:m,onFinally:function(e,t,r){x(!1),null==_||_(null==t?void 0:t.currentData,r)},onBefore:function(){return null==g?void 0:g()},onSuccess:function(e){var t,n,i;e.lastData?E((0,a.__assign)((0,a.__assign)({},e.currentData),{list:O?(0,a.__spreadArray)((0,a.__spreadArray)([],(0,a.__read)(e.currentData.list),!1),(0,a.__read)(null!==(n=e.lastData.list)&&void 0!==n?n:[]),!1):(0,a.__spreadArray)((0,a.__spreadArray)([],(0,a.__read)(null!==(i=e.lastData.list)&&void 0!==i?i:[]),!1),(0,a.__read)(e.currentData.list),!1)})):E((0,a.__assign)((0,a.__assign)({},e.currentData),{list:(0,a.__spreadArray)([],(0,a.__read)(null!==(t=e.currentData.list)&&void 0!==t?t:[]),!1)})),setTimeout(function(){if(O){var e=(0,p.getTargetElement)(r);if(e=e===document?document.documentElement:e){var t=(0,v.getScrollHeight)(e);e.scrollTo(0,t-A.current)}}else U()}),null==b||b(e.currentData)},onError:function(e){return null==y?void 0:y(e)}}),C=R.loading,j=R.error,N=R.run,P=R.runAsync,D=R.cancel,L=(0,u.default)(function(){M||(x(!0),N(S))}),F=function(e){return(0,a.__awaiter)(void 0,void 0,void 0,function(){return(0,a.__generator)(this,function(t){switch(t.label){case 0:return[4,P(e)];case 1:return[2,t.sent().currentData]}})})},B=(0,u.default)(function(){return M?Promise.reject():(x(!0),F(S))}),U=function(){var e=(0,p.getTargetElement)(r);if(e){var t=e===document?document.documentElement:e,n=(0,v.getScrollTop)(t),a=(0,v.getScrollHeight)(t),i=(0,v.getClientHeight)(t);O?(void 0!==T.current&&T.current>n&&n<=c&&L(),T.current=n,A.current=a-n):a-n<=i+c&&L()}};return(0,s.default)("scroll",function(){C||I||U()},{target:r}),(0,h.default)(function(){N()},(0,a.__spreadArray)([],(0,a.__read)(void 0===d?[]:d),!1)),{data:S,loading:!I&&C,error:j,loadingMore:I,noMore:M,loadMore:L,loadMoreAsync:B,reload:(0,u.default)(function(){return x(!1),N()}),reloadAsync:(0,u.default)(function(){return x(!1),F()}),mutate:E,cancel:D}}},{tslib:"gdEuw",react:"a8qhJ","../useEventListener":"cLknO","../useMemoizedFn":"lqD4I","../useRequest":"fSfO6","../useUpdateEffect":"gFLNJ","../utils/domTarget":"kJ9dA","../utils/rect":"jfVfv","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],jfVfv:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getScrollTop",()=>a),n.export(r,"getScrollHeight",()=>i),n.export(r,"getClientHeight",()=>o);var a=function(e){return e===document||e===document.documentElement||e===document.body?Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},i=function(e){return e.scrollHeight||Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)},o=function(e){return e.clientHeight||Math.max(document.documentElement.clientHeight,document.body.clientHeight)}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"9WDnU":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../useMemoizedFn"),o=n.interopDefault(i),s=e("../utils");r.default=function(e,t,r){void 0===r&&(r={});var n=(0,o.default)(e),i=(0,a.useRef)(null),c=(0,a.useCallback)(function(){i.current&&clearInterval(i.current)},[]);return(0,a.useEffect)(function(){if((0,s.isNumber)(t)&&!(t<0))return r.immediate&&n(),i.current=setInterval(n,t),c},[t,r.immediate]),c}},{react:"a8qhJ","../useMemoizedFn":"lqD4I","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6f9Ak":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib");e("intersection-observer");var i=e("react"),o=e("../utils/domTarget"),s=e("../utils/useEffectWithTarget"),c=n.interopDefault(s);r.default=function(e,t){var r=t||{},n=r.callback,s=(0,a.__rest)(r,["callback"]),u=(0,a.__read)((0,i.useState)(),2),l=u[0],f=u[1],d=(0,a.__read)((0,i.useState)(),2),h=d[0],p=d[1];return(0,c.default)(function(){var r=(Array.isArray(e)?e:[e]).map(function(e){return(0,o.getTargetElement)(e)}).filter(Boolean);if(r.length){var i=new IntersectionObserver(function(e){var t,r;try{for(var i=(0,a.__values)(e),o=i.next();!o.done;o=i.next()){var s=o.value;p(s.intersectionRatio),f(s.isIntersecting),null==n||n(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},(0,a.__assign)((0,a.__assign)({},s),{root:(0,o.getTargetElement)(null==t?void 0:t.root)}));return r.forEach(function(e){return i.observe(e)}),function(){i.disconnect()}}},[null==t?void 0:t.rootMargin,null==t?void 0:t.threshold,n],e),[l,h]}},{tslib:"gdEuw","intersection-observer":"j4Tqg",react:"a8qhJ","../utils/domTarget":"kJ9dA","../utils/useEffectWithTarget":"9undB","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],j4Tqg:[function(e,t,r){!function(){if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var e=function(e){for(var t=e,r=a(t);r;)r=a(t=r.ownerDocument);return t}(window.document),t=[],r=null,n=null;i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i._setupCrossOriginUpdater=function(){return r||(r=function(e,r){n=e&&r?f(e,r):u(),t.forEach(function(e){e._checkForIntersections()})}),r},i._resetCrossOriginUpdater=function(){r=null,n=null},i.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!(e&&1==e.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},i.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},i.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,r){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw Error("threshold must be a number between 0 and 1 inclusively");return e!==r[t-1]})},i.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},i.prototype._monitorIntersections=function(t){var r=t.defaultView;if(r&&-1==this._monitoringDocuments.indexOf(t)){var n=this._checkForIntersections,i=null,c=null;if(this.POLL_INTERVAL?i=r.setInterval(n,this.POLL_INTERVAL):(o(r,"resize",n,!0),o(t,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in r&&(c=new r.MutationObserver(n)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),s(e,"resize",n,!0)),s(t,"scroll",n,!0),c&&c.disconnect()}),t!=(this.root&&(this.root.ownerDocument||this.root)||e)){var u=a(t);u&&this._monitorIntersections(u.ownerDocument)}}},i.prototype._unmonitorIntersections=function(t){var r=this._monitoringDocuments.indexOf(t);if(-1!=r){var n=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some(function(e){var r=e.element.ownerDocument;if(r==t)return!0;for(;r&&r!=n;){var i=a(r);if((r=i&&i.ownerDocument)==t)return!0}return!1})){var i=this._monitoringUnsubscribes[r];if(this._monitoringDocuments.splice(r,1),this._monitoringUnsubscribes.splice(r,1),i(),t!=n){var o=a(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},i.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},i.prototype._checkForIntersections=function(){if(this.root||!r||n){var e=this._rootIsInDom(),t=e?this._getRootRect():u();this._observationTargets.forEach(function(n){var a=n.element,i=c(a),o=this._rootContainsTarget(a),s=n.entry,l=e&&o&&this._computeTargetAndRootIntersection(a,i,t),f=null;this._rootContainsTarget(a)?(!r||this.root)&&(f=t):f=u();var d=n.entry=new IntersectionObserverEntry({time:window.performance&&performance.now&&performance.now(),target:a,boundingClientRect:i,rootBounds:f,intersectionRect:l});s?e&&o?this._hasCrossedThreshold(s,d)&&this._queuedEntries.push(d):s&&s.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},i.prototype._computeTargetAndRootIntersection=function(t,a,i){if("none"!=window.getComputedStyle(t).display){for(var o=a,s=h(t),u=!1;!u&&s;){var l=null,d=1==s.nodeType?window.getComputedStyle(s):{};if("none"==d.display)return null;if(s==this.root||9==s.nodeType){if(u=!0,s==this.root||s==e)r&&!this.root?n&&(0!=n.width||0!=n.height)?l=n:(s=null,l=null,o=null):l=i;else{var p=h(s),v=p&&c(p),m=p&&this._computeTargetAndRootIntersection(p,v,i);v&&m?(s=p,l=f(v,m)):(s=null,o=null)}}else{var g=s.ownerDocument;s!=g.body&&s!=g.documentElement&&"visible"!=d.overflow&&(l=c(s))}if(l&&(o=function(e,t){var r=Math.max(e.top,t.top),n=Math.min(e.bottom,t.bottom),a=Math.max(e.left,t.left),i=Math.min(e.right,t.right),o=i-a,s=n-r;return o>=0&&s>=0&&{top:r,bottom:n,left:a,right:i,width:o,height:s}||null}(l,o)),!o)break;s=s&&h(s)}return o}},i.prototype._getRootRect=function(){var t;if(this.root&&!p(this.root))t=c(this.root);else{var r=p(this.root)?this.root:e,n=r.documentElement,a=r.body;t={top:0,left:0,right:n.clientWidth||a.clientWidth,width:n.clientWidth||a.clientWidth,bottom:n.clientHeight||a.clientHeight,height:n.clientHeight||a.clientHeight}}return this._expandRectByRootMargin(t)},i.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,r){return"px"==t.unit?t.value:t.value*(r%2?e.width:e.height)/100}),r={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return r.width=r.right-r.left,r.height=r.bottom-r.top,r},i.prototype._hasCrossedThreshold=function(e,t){var r=e&&e.isIntersecting?e.intersectionRatio||0:-1,n=t.isIntersecting?t.intersectionRatio||0:-1;if(r!==n)for(var a=0;a<this.thresholds.length;a++){var i=this.thresholds[a];if(i==r||i==n||i<r!=i<n)return!0}},i.prototype._rootIsInDom=function(){return!this.root||d(e,this.root)},i.prototype._rootContainsTarget=function(t){var r=this.root&&(this.root.ownerDocument||this.root)||e;return d(r,t)&&(!this.root||r==t.ownerDocument)},i.prototype._registerInstance=function(){0>t.indexOf(this)&&t.push(this)},i.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=i,window.IntersectionObserverEntry=IntersectionObserverEntry}function a(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function IntersectionObserverEntry(e){this.time=e.time,this.target=e.target,this.rootBounds=l(e.rootBounds),this.boundingClientRect=l(e.boundingClientRect),this.intersectionRect=l(e.intersectionRect||u()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,r=t.width*t.height,n=this.intersectionRect,a=n.width*n.height;r?this.intersectionRatio=Number((a/r).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function i(e,t){var r,n,a,i=t||{};if("function"!=typeof e)throw Error("callback must be a function");if(i.root&&1!=i.root.nodeType&&9!=i.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=(r=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,a=null,function(){a||(a=setTimeout(function(){r(),a=null},n))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function o(e,t,r,n){"function"==typeof e.addEventListener?e.addEventListener(t,r,n||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,r)}function s(e,t,r,n){"function"==typeof e.removeEventListener?e.removeEventListener(t,r,n||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,r)}function c(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):u()}function u(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function f(e,t){var r=t.top-e.top,n=t.left-e.left;return{top:r,left:n,height:t.height,width:t.width,bottom:r+t.height,right:n+t.width}}function d(e,t){for(var r=t;r;){if(r==e)return!0;r=h(r)}return!1}function h(t){var r=t.parentNode;return 9==t.nodeType&&t!=e?a(t):(r&&r.assignedSlot&&(r=r.assignedSlot.parentNode),r&&11==r.nodeType&&r.host)?r.host:r}function p(e){return e&&9===e.nodeType}}()},{}],bAiYh:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../utils/isBrowser"),o=n.interopDefault(i).default?a.useLayoutEffect:a.useEffect;r.default=o},{react:"a8qhJ","../utils/isBrowser":"6EL7K","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],hj09j:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("../useLatest"),o=n.interopDefault(i),s=e("../utils"),c=e("../utils/domTarget"),u=e("../utils/useDeepCompareWithTarget"),l=n.interopDefault(u),f=e("../utils/isAppleDevice"),d={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:n.interopDefault(f).default?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},h={ctrl:function(e){return e.ctrlKey},shift:function(e){return e.shiftKey},alt:function(e){return e.altKey},meta:function(e){return"keyup"===e.type?d.meta.includes(e.keyCode):e.metaKey}};function p(e){return(0,s.isString)(e)||(0,s.isNumber)(e)}function v(e,t,r){if(!e.key)return!1;if((0,s.isNumber)(t))return e.keyCode===t&&t;var n,i,o,c=t.split("."),u=0;try{for(var l=(0,a.__values)(c),f=l.next();!f.done;f=l.next()){var p=f.value,v=h[p],m=d[p.toLowerCase()];(v&&v(e)||m&&m===e.keyCode)&&u++}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}return r?u===c.length&&(n=Object.keys(h).reduce(function(t,r){return h[r](e)?t+1:t},0),([16,17,18,91,92].includes(e.keyCode)?n:n+1)===c.length)&&t:u===c.length&&t}var m=["keydown"];r.default=function(e,t,r){var n=r||{},i=n.events,u=void 0===i?m:i,f=n.target,d=n.exactMatch,h=void 0!==d&&d,g=n.useCapture,b=void 0!==g&&g,y=(0,o.default)(t),_=(0,o.default)(e);(0,l.default)(function(){var e,t,r,n=(0,c.getTargetElement)(f,window);if(n){var i=function(e){var t,r,n=(r=_.current,(0,s.isFunction)(r)?r:p(r)?function(e){return v(e,r,h)}:Array.isArray(r)?function(e){return r.find(function(t){return v(e,t,h)})}:function(){return!!r})(e),a=p(n)?n:e.key;if(n)return null===(t=y.current)||void 0===t?void 0:t.call(y,e,a)};try{for(var o=(0,a.__values)(u),l=o.next();!l.done;l=o.next()){var d=l.value;null===(r=null==n?void 0:n.addEventListener)||void 0===r||r.call(n,d,i,b)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return function(){try{for(var e,t,r,o=(0,a.__values)(u),s=o.next();!s.done;s=o.next()){var c=s.value;null===(r=null==n?void 0:n.removeEventListener)||void 0===r||r.call(n,c,i,b)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}}}},[u],f)}},{tslib:"gdEuw","../useLatest":"9oY4Q","../utils":"lVJFQ","../utils/domTarget":"kJ9dA","../utils/useDeepCompareWithTarget":"7TC8y","../utils/isAppleDevice":"d1eGE","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"7TC8y":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("./useEffectWithTarget"),o=n.interopDefault(i),s=e("./depsEqual");r.default=function(e,t,r){var n=(0,a.useRef)(void 0),i=(0,a.useRef)(0);(0,s.depsEqual)(t,n.current)||(i.current+=1),n.current=t,(0,o.default)(e,[i.current],r)}},{react:"a8qhJ","./useEffectWithTarget":"9undB","./depsEqual":"e9YBr","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],d1eGE:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=/(mac|iphone|ipod|ipad)/i.test("undefined"!=typeof navigator?null==navigator?void 0:navigator.platform:"");r.default=n},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],icHOC:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("../createUseStorageState"),i=e("../utils/isBrowser"),o=n.interopDefault(i),s=(0,a.createUseStorageState)(function(){return o.default?localStorage:void 0});r.default=s},{"../createUseStorageState":"lS9C0","../utils/isBrowser":"6EL7K","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lS9C0:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"SYNC_STORAGE_EVENT_NAME",()=>h),n.export(r,"createUseStorageState",()=>p);var a=e("tslib"),i=e("react"),o=e("../useEventListener"),s=n.interopDefault(o),c=e("../useMemoizedFn"),u=n.interopDefault(c),l=e("../useUpdateEffect"),f=n.interopDefault(l),d=e("../utils"),h="AHOOKS_SYNC_STORAGE_EVENT_NAME";function p(e){return function(t,r){void 0===r&&(r={});var n,o=r.listenStorageChange,c=void 0!==o&&o,l=r.onError,p=void 0===l?function(e){console.error(e)}:l;try{n=e()}catch(e){p(e)}function v(){try{var e=null==n?void 0:n.getItem(t);if(e)return r.deserializer?r.deserializer(e):JSON.parse(e)}catch(e){p(e)}return(0,d.isFunction)(r.defaultValue)?r.defaultValue():r.defaultValue}var m=(0,a.__read)((0,i.useState)(v),2),g=m[0],b=m[1];(0,f.default)(function(){b(v())},[t]);var y=function(e){e.key===t&&e.storageArea===n&&b(v())};return(0,s.default)("storage",y,{enable:c}),(0,s.default)(h,function(e){y(e.detail)},{enable:c}),[g,(0,u.default)(function(e){var a=(0,d.isFunction)(e)?e(g):e;c||b(a);try{var i=void 0,o=null==n?void 0:n.getItem(t);(0,d.isUndef)(a)?(i=null,null==n||n.removeItem(t)):(i=r.serializer?r.serializer(a):JSON.stringify(a),null==n||n.setItem(t,i)),dispatchEvent(new CustomEvent(h,{detail:{key:t,newValue:i,oldValue:o,storageArea:n}}))}catch(e){p(e)}})]}}},{tslib:"gdEuw",react:"a8qhJ","../useEventListener":"cLknO","../useMemoizedFn":"lqD4I","../useUpdateEffect":"gFLNJ","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6nzDq":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("tslib"),a=e("react");r.default=function(e){var t=this,r=(0,a.useRef)(!1);return(0,a.useCallback)(function(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];return(0,n.__awaiter)(t,void 0,void 0,function(){return(0,n.__generator)(this,function(t){switch(t.label){case 0:if(r.current)return[2];r.current=!0,t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,e.apply(void 0,(0,n.__spreadArray)([],(0,n.__read)(a),!1))];case 2:return[2,t.sent()];case 3:throw t.sent();case 4:return r.current=!1,[7];case 5:return[2]}})})},[e])}},{tslib:"gdEuw",react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8f1n8":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../useLatest"),o=n.interopDefault(i),s=e("../utils/domTarget"),c=e("../utils/useEffectWithTarget"),u=n.interopDefault(c);r.default=function(e,t,r){var n=void 0===r?{}:r,i=n.delay,c=void 0===i?300:i,l=n.moveThreshold,f=n.onClick,d=n.onLongPressEnd,h=(0,o.default)(e),p=(0,o.default)(f),v=(0,o.default)(d),m=(0,a.useRef)(void 0),g=(0,a.useRef)(!1),b=(0,a.useRef)({x:0,y:0}),y=(0,a.useRef)(!1),_=(0,a.useRef)(!1),w=!!((null==l?void 0:l.x)&&l.x>0||(null==l?void 0:l.y)&&l.y>0);(0,u.default)(function(){var e=(0,s.getTargetElement)(t);if(null==e?void 0:e.addEventListener){var r=function(e){var t=S(e),r=t.clientX,n=t.clientY,a=Math.abs(r-b.current.x),i=Math.abs(n-b.current.y);return!!((null==l?void 0:l.x)&&a>l.x||(null==l?void 0:l.y)&&i>l.y)},n=function(e){m.current=setTimeout(function(){h.current(e),g.current=!0},c)},a=function(e){if(!_.current){if(_.current=!0,w){var t=S(e),r=t.clientX,a=t.clientY;b.current.x=r,b.current.y=a}n(e)}},i=function(e){var t;null!==(t=null==e?void 0:e.sourceCapabilities)&&void 0!==t&&t.firesTouchEvents||(y.current=!0,w&&(b.current.x=e.clientX,b.current.y=e.clientY),n(e))},o=function(e){m.current&&r(e)&&(clearTimeout(m.current),m.current=void 0)},u=function(e){var t;_.current&&(_.current=!1,m.current&&(clearTimeout(m.current),m.current=void 0),g.current?null===(t=v.current)||void 0===t||t.call(v,e):p.current&&p.current(e),g.current=!1)},f=function(e){var t,r;(null===(t=null==e?void 0:e.sourceCapabilities)||void 0===t||!t.firesTouchEvents)&&y.current&&(y.current=!1,m.current&&(clearTimeout(m.current),m.current=void 0),g.current?null===(r=v.current)||void 0===r||r.call(v,e):p.current&&p.current(e),g.current=!1)},d=function(e){var t;y.current&&(y.current=!1,m.current&&(clearTimeout(m.current),m.current=void 0),g.current&&(null===(t=v.current)||void 0===t||t.call(v,e),g.current=!1))};return e.addEventListener("mousedown",i),e.addEventListener("mouseup",f),e.addEventListener("mouseleave",d),e.addEventListener("touchstart",a),e.addEventListener("touchend",u),w&&(e.addEventListener("mousemove",o),e.addEventListener("touchmove",o)),function(){m.current&&(clearTimeout(m.current),g.current=!1),e.removeEventListener("mousedown",i),e.removeEventListener("mouseup",f),e.removeEventListener("mouseleave",d),e.removeEventListener("touchstart",a),e.removeEventListener("touchend",u),w&&(e.removeEventListener("mousemove",o),e.removeEventListener("touchmove",o))}}function S(e){return"TouchEvent"in window&&e instanceof TouchEvent?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:e instanceof MouseEvent?{clientX:e.clientX,clientY:e.clientY}:{clientX:0,clientY:0}}},[],t)}},{react:"a8qhJ","../useLatest":"9oY4Q","../utils/domTarget":"kJ9dA","../utils/useEffectWithTarget":"9undB","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],eUurp:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useMemoizedFn"),s=n.interopDefault(o);r.default=function(e){var t=function(){return new Map(e)},r=(0,a.__read)((0,i.useState)(t),2),n=r[0],o=r[1];return[n,{set:(0,s.default)(function(e,t){o(function(r){var n=new Map(r);return n.set(e,t),n})}),setAll:(0,s.default)(function(e){o(new Map(e))}),remove:(0,s.default)(function(e){o(function(t){var r=new Map(t);return r.delete(e),r})}),reset:(0,s.default)(function(){return o(t())}),get:(0,s.default)(function(e){return n.get(e)})}]}},{tslib:"gdEuw",react:"a8qhJ","../useMemoizedFn":"lqD4I","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],hJAqD:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("../useRafState"),o=n.interopDefault(i),s=e("../useEventListener"),c=n.interopDefault(s),u=e("../utils/domTarget"),l={screenX:NaN,screenY:NaN,clientX:NaN,clientY:NaN,pageX:NaN,pageY:NaN,elementX:NaN,elementY:NaN,elementH:NaN,elementW:NaN,elementPosX:NaN,elementPosY:NaN};r.default=function(e){var t=(0,a.__read)((0,o.default)(l),2),r=t[0],n=t[1];return(0,c.default)("mousemove",function(t){var r=t.screenX,a=t.screenY,i=t.clientX,o=t.clientY,s=t.pageX,c=t.pageY,l={screenX:r,screenY:a,clientX:i,clientY:o,pageX:s,pageY:c,elementX:NaN,elementY:NaN,elementH:NaN,elementW:NaN,elementPosX:NaN,elementPosY:NaN},f=(0,u.getTargetElement)(e);if(f){var d=f.getBoundingClientRect(),h=d.left,p=d.top,v=d.width,m=d.height;l.elementPosX=h+window.pageXOffset,l.elementPosY=p+window.pageYOffset,l.elementX=s-l.elementPosX,l.elementY=c-l.elementPosY,l.elementW=v,l.elementH=m}n(l)},{target:function(){return document}}),r}},{tslib:"gdEuw","../useRafState":"7QKoO","../useEventListener":"cLknO","../utils/domTarget":"kJ9dA","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"7QKoO":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useUnmount"),s=n.interopDefault(o);r.default=function(e){var t=(0,i.useRef)(0),r=(0,a.__read)((0,i.useState)(e),2),n=r[0],o=r[1],c=(0,i.useCallback)(function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){o(e)})},[]);return(0,s.default)(function(){cancelAnimationFrame(t.current)}),[n,c]}},{tslib:"gdEuw",react:"a8qhJ","../useUnmount":"dO00m","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],kwrhk:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n,a,i=e("tslib"),o=e("react"),s=e("../utils");function c(){var e=navigator;return(0,s.isObject)(e)?e.connection||e.mozConnection||e.webkitConnection:null}function u(){var e=c();return e?{rtt:e.rtt,type:e.type,saveData:e.saveData,downlink:e.downlink,downlinkMax:e.downlinkMax,effectiveType:e.effectiveType}:{}}(a=n||(n={})).ONLINE="online",a.OFFLINE="offline",a.CHANGE="change",r.default=function(){var e=(0,i.__read)((0,o.useState)(function(){return(0,i.__assign)({since:void 0,online:null==navigator?void 0:navigator.onLine},u())}),2),t=e[0],r=e[1];return(0,o.useEffect)(function(){var e=function(){r(function(e){return(0,i.__assign)((0,i.__assign)({},e),{online:!0,since:new Date})})},t=function(){r(function(e){return(0,i.__assign)((0,i.__assign)({},e),{online:!1,since:new Date})})},a=function(){r(function(e){return(0,i.__assign)((0,i.__assign)({},e),u())})};window.addEventListener(n.ONLINE,e),window.addEventListener(n.OFFLINE,t);var o=c();return null==o||o.addEventListener(n.CHANGE,a),function(){window.removeEventListener(n.ONLINE,e),window.removeEventListener(n.OFFLINE,t),null==o||o.removeEventListener(n.CHANGE,a)}},[]),t}},{tslib:"gdEuw",react:"a8qhJ","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6cten":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react"),a=function(e,t){return!Object.is(e,t)};r.default=function(e,t){void 0===t&&(t=a);var r=(0,n.useRef)(void 0),i=(0,n.useRef)(void 0);return t(i.current,e)&&(r.current=i.current,i.current=e),r.current}},{react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],iKV2f:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../useLatest"),o=n.interopDefault(i),s=e("../utils"),c=function(e,t){if(void 0===t&&(t=0),"undefined"==typeof requestAnimationFrame)return{id:setInterval(e,t)};var r=Date.now(),n={id:0},a=function(){Date.now()-r>=t&&(e(),r=Date.now()),n.id=requestAnimationFrame(a)};return n.id=requestAnimationFrame(a),n},u=function(e){if(e.id,"undefined"==typeof cancelAnimationFrame)return clearInterval(e.id);cancelAnimationFrame(e.id)};r.default=function(e,t,r){var n=null==r?void 0:r.immediate,i=(0,o.default)(e),l=(0,a.useRef)(void 0),f=(0,a.useCallback)(function(){l.current&&u(l.current)},[]);return(0,a.useEffect)(function(){if((0,s.isNumber)(t)&&!(t<0))return n&&i.current(),l.current=c(function(){i.current()},t),f},[t]),f}},{react:"a8qhJ","../useLatest":"9oY4Q","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"1GBF6":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../useLatest"),o=n.interopDefault(i),s=e("../utils"),c=function(e,t){if(void 0===t&&(t=0),"undefined"==typeof requestAnimationFrame)return{id:setTimeout(e,t)};var r={id:0},n=Date.now(),a=function(){Date.now()-n>=t?e():r.id=requestAnimationFrame(a)};return r.id=requestAnimationFrame(a),r},u=function(e){if(e.id,"undefined"==typeof cancelAnimationFrame)return clearTimeout(e.id);cancelAnimationFrame(e.id)};r.default=function(e,t){var r=(0,o.default)(e),n=(0,a.useRef)(void 0),i=(0,a.useCallback)(function(){n.current&&u(n.current)},[]);return(0,a.useEffect)(function(){if((0,s.isNumber)(t)&&!(t<0))return n.current=c(function(){r.current()},t),i},[t]),i}},{react:"a8qhJ","../useLatest":"9oY4Q","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],kVM5p:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("lodash/isPlainObject"),o=n.interopDefault(i),s=e("../useCreation"),c=n.interopDefault(s),u=e("../useUpdate"),l=n.interopDefault(u),f=new WeakMap,d=new WeakMap;r.default=function(e){var t=(0,l.default)(),r=(0,a.useRef)(e);return(0,c.default)(function(){return function e(t,r){var n=f.get(t);if(n)return n;if(d.has(t))return t;var a=new Proxy(t,{get:function(t,n,a){var i=Reflect.get(t,n,a),s=Reflect.getOwnPropertyDescriptor(t,n);return((null==s?void 0:s.configurable)||(null==s?void 0:s.writable))&&((0,o.default)(i)||Array.isArray(i))?e(i,r):i},set:function(e,t,n){var a=Reflect.set(e,t,n);return r(),a},deleteProperty:function(e,t){var n=Reflect.deleteProperty(e,t);return r(),n}});return f.set(t,a),d.set(a,t),a}(r.current,function(){t()})},[])}},{react:"a8qhJ","lodash/isPlainObject":"f8TEw","../useCreation":"dKqLA","../useUpdate":"iOFlh","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],f8TEw:[function(e,t,r){var n=e("c03dd41ed9922dd2"),a=e("2ca5b85a120835de"),i=e("963b65e043435612"),o=Object.prototype,s=Function.prototype.toString,c=o.hasOwnProperty,u=s.call(Object);t.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=a(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==u}},{c03dd41ed9922dd2:"8xA54","2ca5b85a120835de":"2vAaw","963b65e043435612":"escGj"}],"2vAaw":[function(e,t,r){var n=e("11c2fcc01fbb2119")(Object.getPrototypeOf,Object);t.exports=n},{"11c2fcc01fbb2119":"boRAh"}],boRAh:[function(e,t,r){t.exports=function(e,t){return function(r){return e(t(r))}}},{}],fPoti:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../utils"),s=e("../useMemoizedFn"),c=n.interopDefault(s),u=e("../useCreation"),l=n.interopDefault(u);r.default=function(e){var t=(0,i.useRef)(e),r=(0,l.default)(function(){return(0,o.isFunction)(t.current)?t.current():t.current},[]),n=(0,a.__read)((0,i.useState)(r),2),s=n[0],u=n[1],f=(0,c.default)(function(){u(r)});return[s,u,f]}},{tslib:"gdEuw",react:"a8qhJ","../utils":"lVJFQ","../useMemoizedFn":"lqD4I","../useCreation":"dKqLA","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],eGbOV:[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"configResponsive",()=>p);var i=e("tslib"),o=e("react"),s=e("../utils/isBrowser"),c=a.interopDefault(s),u=new Set,l={xs:0,sm:576,md:768,lg:992,xl:1200};function f(){var e,t,r=n;if(h(),r!==n)try{for(var a=(0,i.__values)(u),o=a.next();!o.done;o=a.next())(0,o.value)()}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}}var d=!1;function h(){var e,t,r=window.innerWidth,a={},o=!1;try{for(var s=(0,i.__values)(Object.keys(l)),c=s.next();!c.done;c=s.next()){var u=c.value;a[u]=r>=l[u],a[u]!==n[u]&&(o=!0)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}o&&(n=a)}function p(e){l=e,n&&h()}r.default=function(){c.default&&!d&&(n={},h(),window.addEventListener("resize",f),d=!0);var e=(0,i.__read)((0,o.useState)(n),2),t=e[0],r=e[1];return(0,o.useEffect)(function(){if(c.default){d||window.addEventListener("resize",f);var e=function(){r(n)};return u.add(e),function(){u.delete(e),0===u.size&&(window.removeEventListener("resize",f),d=!1)}}},[]),t}},{tslib:"gdEuw",react:"a8qhJ","../utils/isBrowser":"6EL7K","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"25Sid":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useUnmountedRef"),s=n.interopDefault(o);r.default=function(e){var t=(0,s.default)(),r=(0,a.__read)((0,i.useState)(e),2),n=r[0],o=r[1];return[n,(0,i.useCallback)(function(e){t.current||o(e)},[])]}},{tslib:"gdEuw",react:"a8qhJ","../useUnmountedRef":"jJuvW","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],jJuvW:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react");r.default=function(){var e=(0,n.useRef)(!1);return(0,n.useEffect)(function(){return e.current=!1,function(){e.current=!0}},[]),e}},{react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],edWvP:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("../useRafState"),o=n.interopDefault(i),s=e("../useLatest"),c=n.interopDefault(s),u=e("../utils/domTarget"),l=e("../utils/useEffectWithTarget"),f=n.interopDefault(l);r.default=function(e,t){void 0===t&&(t=function(){return!0});var r=(0,a.__read)((0,o.default)(),2),n=r[0],i=r[1],s=(0,c.default)(t);return(0,f.default)(function(){var t=(0,u.getTargetElement)(e,document);if(t){var r=function(){var e;e=t===document?document.scrollingElement?{left:document.scrollingElement.scrollLeft,top:document.scrollingElement.scrollTop}:{left:Math.max(window.pageXOffset,document.documentElement.scrollLeft,document.body.scrollLeft),top:Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop)}:{left:t.scrollLeft,top:t.scrollTop},s.current(e)&&i(e)};return r(),t.addEventListener("scroll",r),function(){t.removeEventListener("scroll",r)}}},[],e),n}},{tslib:"gdEuw","../useRafState":"7QKoO","../useLatest":"9oY4Q","../utils/domTarget":"kJ9dA","../utils/useEffectWithTarget":"9undB","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"75FIW":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("lodash/isPlainObject"),o=n.interopDefault(i),s=e("../useMemoizedFn"),c=n.interopDefault(s),u=e("../utils"),l=e("react");r.default=function(e,t){var r,n,i,s=[];Array.isArray(t)?s=t:(0,o.default)(t)&&(s=null!==(r=null==t?void 0:t.defaultSelected)&&void 0!==r?r:s,i=null!==(n=null==t?void 0:t.itemKey)&&void 0!==n?n:i);var f=function(e){return(0,u.isFunction)(i)?i(e):(0,u.isString)(i)&&(0,o.default)(e)?e[i]:e},d=(0,a.__read)((0,l.useState)(s),2),h=d[0],p=d[1],v=(0,l.useMemo)(function(){var e=new Map;return Array.isArray(h)&&h.forEach(function(t){e.set(f(t),t)}),e},[h]),m=function(e){return v.has(f(e))},g=function(e){v.set(f(e),e),p(Array.from(v.values()))},b=function(e){v.delete(f(e)),p(Array.from(v.values()))},y=function(){e.forEach(function(e){v.set(f(e),e)}),p(Array.from(v.values()))},_=function(){e.forEach(function(e){v.delete(f(e))}),p(Array.from(v.values()))},w=(0,l.useMemo)(function(){return e.every(function(e){return!v.has(f(e))})},[e,v]),S=(0,l.useMemo)(function(){return e.every(function(e){return v.has(f(e))})&&!w},[e,v,w]),E=(0,l.useMemo)(function(){return!w&&!S},[w,S]);return{selected:h,noneSelected:w,allSelected:S,partiallySelected:E,setSelected:p,isSelected:m,select:(0,c.default)(g),unSelect:(0,c.default)(b),toggle:(0,c.default)(function(e){m(e)?b(e):g(e)}),selectAll:(0,c.default)(y),unSelectAll:(0,c.default)(_),clearAll:(0,c.default)(function(){v.clear(),p([])}),toggleAll:(0,c.default)(function(){return S?_():y()})}}},{tslib:"gdEuw","lodash/isPlainObject":"f8TEw","../useMemoizedFn":"lqD4I","../utils":"lVJFQ",react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],iBK8n:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("../createUseStorageState"),i=e("../utils/isBrowser"),o=n.interopDefault(i),s=(0,a.createUseStorageState)(function(){return o.default?sessionStorage:void 0});r.default=s},{"../createUseStorageState":"lS9C0","../utils/isBrowser":"6EL7K","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"9tGwL":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useMemoizedFn"),s=n.interopDefault(o);r.default=function(e){var t=function(){return new Set(e)},r=(0,a.__read)((0,i.useState)(t),2),n=r[0],o=r[1],c=function(e){o(function(t){return e(new Set(t))})};return[n,{add:(0,s.default)(function(e){n.has(e)||c(function(t){return t.add(e),t})}),remove:(0,s.default)(function(e){n.has(e)&&c(function(t){return t.delete(e),t})}),reset:(0,s.default)(function(){return o(t())})}]}},{tslib:"gdEuw",react:"a8qhJ","../useMemoizedFn":"lqD4I","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"4okxO":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useMemoizedFn"),s=n.interopDefault(o),c=e("../utils");r.default=function(e){var t=(0,a.__read)((0,i.useState)(e),2),r=t[0],n=t[1];return[r,(0,s.default)(function(e){n(function(t){var r=(0,c.isFunction)(e)?e(t):e;return r?(0,a.__assign)((0,a.__assign)({},t),r):t})})]}},{tslib:"gdEuw",react:"a8qhJ","../useMemoizedFn":"lqD4I","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],YHSiJ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("resize-observer-polyfill"),o=n.interopDefault(i),s=e("../useRafState"),c=n.interopDefault(s),u=e("../utils/domTarget"),l=e("../utils/useIsomorphicLayoutEffectWithTarget"),f=n.interopDefault(l);r.default=function(e){var t=(0,a.__read)((0,c.default)(function(){var t=(0,u.getTargetElement)(e);return t?{width:t.clientWidth,height:t.clientHeight}:void 0}),2),r=t[0],n=t[1];return(0,f.default)(function(){var t=(0,u.getTargetElement)(e);if(t){var r=new o.default(function(e){e.forEach(function(e){var t=e.target;n({width:t.clientWidth,height:t.clientHeight})})});return r.observe(t),function(){r.disconnect()}}},[],e),r}},{tslib:"gdEuw","resize-observer-polyfill":"esRx1","../useRafState":"7QKoO","../utils/domTarget":"kJ9dA","../utils/useIsomorphicLayoutEffectWithTarget":"6zr9T","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],esRx1:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=arguments[3],a=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some(function(e,n){return e[0]===t&&(r=n,!0)}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var a=n[r];e.call(t,a[1],a[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n&&n.Math===Math?n:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var r=!1,n=!1,a=0;function i(){r&&(r=!1,e()),n&&c()}function o(){s(i)}function c(){var e=Date.now();if(r){if(e-a<2)return;n=!0}else r=!0,n=!1,setTimeout(o,20);a=e}return c}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;c.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var a=n[r];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},h=g(0,0,0,0);function p(e){return parseFloat(e)||0}function v(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(t,r){return t+p(e["border-"+r+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e,t,r,n){return{x:e,y:t,width:r,height:n}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!i)return h;if(m(e)){var t;return g(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return h;var n=d(e).getComputedStyle(e),a=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var a=n[r],i=e["padding-"+a];t[a]=p(i)}return t}(n),i=a.left+a.right,o=a.top+a.bottom,s=p(n.width),c=p(n.height);if("border-box"===n.boxSizing&&(Math.round(s+i)!==t&&(s-=v(n,"left","right")+i),Math.round(c+o)!==r&&(c-=v(n,"top","bottom")+o)),e!==d(e).document.documentElement){var u=Math.round(s+i)-t,l=Math.round(c+o)-r;1!==Math.abs(u)&&(s-=u),1!==Math.abs(l)&&(c-=l)}return g(a.left,a.top,s,c)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),ResizeObserverEntry=function(e,t){var r,n,a,i,o,s=(r=t.x,n=t.y,a=t.width,i=t.height,f(o=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:r,y:n,width:a,height:i,top:n,right:r+a,bottom:i+n,left:r}),o);f(this,{target:e,contentRect:s})},y=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new a,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new ResizeObserverEntry(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),_="undefined"!=typeof WeakMap?new WeakMap:new a,ResizeObserver=function ResizeObserver(e){if(!(this instanceof ResizeObserver))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var t=new y(e,l.getInstance(),this);_.set(this,t)};["observe","unobserve","disconnect"].forEach(function(e){ResizeObserver.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}});var w=void 0!==o.ResizeObserver?o.ResizeObserver:ResizeObserver;r.default=w},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6zr9T":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("./isBrowser"),i=n.interopDefault(a),o=e("./useEffectWithTarget"),s=n.interopDefault(o),c=e("./useLayoutEffectWithTarget"),u=n.interopDefault(c),l=i.default?u.default:s.default;r.default=l},{"./isBrowser":"6EL7K","./useEffectWithTarget":"9undB","./useLayoutEffectWithTarget":"5a3I4","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"5a3I4":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("./createEffectWithTarget"),o=(0,n.interopDefault(i).default)(a.useLayoutEffect);r.default=o},{react:"a8qhJ","./createEffectWithTarget":"aYskl","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lGt88:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../utils/domTarget"),s=e("../utils/useEffectWithTarget"),c=n.interopDefault(s),u={top:NaN,left:NaN,bottom:NaN,right:NaN,height:NaN,width:NaN},l=(0,a.__assign)({text:""},u);r.default=function(e){var t=(0,a.__read)((0,i.useState)(l),2),r=t[0],n=t[1],s=(0,i.useRef)(r),f=(0,i.useRef)(!1);return s.current=r,(0,c.default)(function(){var t=(0,o.getTargetElement)(e,document);if(t){var i=function(){var e=null,t="",i=u;window.getSelection&&(t=(e=window.getSelection())?e.toString():"")&&f.current&&(i=function(e){if(!e||e.rangeCount<1)return u;var t=e.getRangeAt(0).getBoundingClientRect();return{height:t.height,width:t.width,top:t.top,left:t.left,right:t.right,bottom:t.bottom}}(e),n((0,a.__assign)((0,a.__assign)((0,a.__assign)({},r),{text:t}),i)))},c=function(e){if(2!==e.button&&window.getSelection){s.current.text&&n((0,a.__assign)({},l)),f.current=!1;var r=window.getSelection();r&&(r.removeAllRanges(),f.current=t.contains(e.target))}};return t.addEventListener("mouseup",i),document.addEventListener("mousedown",c),function(){t.removeEventListener("mouseup",i),document.removeEventListener("mousedown",c)}}},[],e),r}},{tslib:"gdEuw",react:"a8qhJ","../utils/domTarget":"kJ9dA","../utils/useEffectWithTarget":"9undB","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],eFCje:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useThrottleFn"),s=n.interopDefault(o);r.default=function(e,t){var r=(0,a.__read)((0,i.useState)(e),2),n=r[0],o=r[1],c=(0,s.default)(function(){o(e)},t).run;return(0,i.useEffect)(function(){c()},[e]),n}},{tslib:"gdEuw",react:"a8qhJ","../useThrottleFn":"8SgU8","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8SgU8":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("lodash/throttle"),o=n.interopDefault(i),s=e("react"),c=e("../useLatest"),u=n.interopDefault(c),l=e("../useUnmount"),f=n.interopDefault(l),d=e("../utils"),h=e("../utils/isDev"),p=n.interopDefault(h);r.default=function(e,t){p.default&&!(0,d.isFunction)(e)&&console.error("useThrottleFn expected parameter is a function, got ".concat(typeof e));var r,n=(0,u.default)(e),i=null!==(r=null==t?void 0:t.wait)&&void 0!==r?r:1e3,c=(0,s.useMemo)(function(){return(0,o.default)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.current.apply(n,(0,a.__spreadArray)([],(0,a.__read)(e),!1))},i,t)},[]);return(0,f.default)(function(){c.cancel()}),{run:c,cancel:c.cancel,flush:c.flush}}},{tslib:"gdEuw","lodash/throttle":"1YQxC",react:"a8qhJ","../useLatest":"9oY4Q","../useUnmount":"dO00m","../utils":"lVJFQ","../utils/isDev":"jfaKo","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8nzfN":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useThrottleFn"),s=n.interopDefault(o),c=e("../useUpdateEffect"),u=n.interopDefault(c);r.default=function(e,t,r){var n=(0,a.__read)((0,i.useState)({}),2),o=n[0],c=n[1],l=(0,s.default)(function(){c({})},r).run;(0,i.useEffect)(function(){return l()},t),(0,u.default)(e,[o])}},{tslib:"gdEuw",react:"a8qhJ","../useThrottleFn":"8SgU8","../useUpdateEffect":"gFLNJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],kA8WA:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../useMemoizedFn"),o=n.interopDefault(i),s=e("../utils");r.default=function(e,t){var r=(0,o.default)(e),n=(0,a.useRef)(null),i=(0,a.useCallback)(function(){n.current&&clearTimeout(n.current)},[]);return(0,a.useEffect)(function(){if((0,s.isNumber)(t)&&!(t<0))return n.current=setTimeout(r,t),i},[t]),i}},{react:"a8qhJ","../useMemoizedFn":"lqD4I","../utils":"lVJFQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"7G9qW":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react"),i=e("../useUnmount"),o=n.interopDefault(i),s=e("../utils/isBrowser"),c=n.interopDefault(s),u={restoreOnUnmount:!1};r.default=function(e,t){void 0===t&&(t=u);var r=(0,a.useRef)(c.default?document.title:"");(0,a.useEffect)(function(){document.title=e},[e]),(0,o.default)(function(){t.restoreOnUnmount&&(document.title=r.current)})}},{react:"a8qhJ","../useUnmount":"dO00m","../utils/isBrowser":"6EL7K","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"3sLWq":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react");r.default=function(e,t){var r=(0,n.useRef)(void 0);(0,n.useEffect)(function(){var n,a=(n=r.current)?n.map(function(e,r){return Object.is(n[r],null==t?void 0:t[r])?-1:r}).filter(function(e){return e>=0}):t?t.map(function(e,t){return t}):[],i=r.current;return r.current=t,e(a,i,t)},t)}},{react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],bLyF5:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react"),a=e("../createUpdateEffect");r.default=(0,a.createUpdateEffect)(n.useLayoutEffect)},{react:"a8qhJ","../createUpdateEffect":"d877U","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"6L47e":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("tslib"),i=e("react"),o=e("../useEventListener"),s=n.interopDefault(o),c=e("../useLatest"),u=n.interopDefault(c),l=e("../useMemoizedFn"),f=n.interopDefault(l),d=e("../useSize"),h=n.interopDefault(d),p=e("../utils/domTarget"),v=e("../utils"),m=e("../useUpdateEffect"),g=n.interopDefault(m);r.default=function(e,t){var r=t.containerTarget,n=t.wrapperTarget,o=t.itemHeight,c=t.overscan,l=void 0===c?5:c,d=(0,u.default)(o),m=(0,h.default)(r),b=(0,i.useRef)(!1),y=(0,a.__read)((0,i.useState)([]),2),_=y[0],w=y[1],S=(0,a.__read)((0,i.useState)({}),2),E=S[0],k=S[1],I=function(t,r){if((0,v.isNumber)(d.current))return Math.ceil(t/d.current);for(var n=0,a=0,i=r;i<e.length&&(n+=d.current(i,e[i]),a=i,!(n>=t));i++);return a-r},x=function(t){if((0,v.isNumber)(d.current))return Math.floor(t/d.current);for(var r=0,n=0,a=0;a<e.length;a++)if((r+=d.current(a,e[a]))>=t){n=a;break}return n+1},O=function(t){return(0,v.isNumber)(d.current)?t*d.current:e.slice(0,t).reduce(function(t,r,n){return t+d.current(n,e[n])},0)},T=(0,i.useMemo)(function(){return(0,v.isNumber)(d.current)?e.length*d.current:e.reduce(function(t,r,n){return t+d.current(n,e[n])},0)},[e]),A=function(){var t=(0,p.getTargetElement)(r);if(t){var n=t.scrollTop,a=t.clientHeight,i=x(n),o=I(a,i),s=Math.max(0,i-l),c=Math.min(e.length,i+o+l),u=O(s);k({height:T-u+"px",marginTop:u+"px"}),w(e.slice(s,c).map(function(e,t){return{data:e,index:t+s}}))}};return(0,g.default)(function(){var e=(0,p.getTargetElement)(n);e&&Object.keys(E).forEach(function(t){return e.style[t]=E[t]})},[E]),(0,i.useEffect)(function(){(null==m?void 0:m.width)&&(null==m?void 0:m.height)&&A()},[null==m?void 0:m.width,null==m?void 0:m.height,e]),(0,s.default)("scroll",function(e){if(b.current){b.current=!1;return}e.preventDefault(),A()},{target:r}),[_,(0,f.default)(function(e){var t=(0,p.getTargetElement)(r);t&&(b.current=!0,t.scrollTop=O(e),A())})]}},{tslib:"gdEuw",react:"a8qhJ","../useEventListener":"cLknO","../useLatest":"9oY4Q","../useMemoizedFn":"lqD4I","../useSize":"YHSiJ","../utils/domTarget":"kJ9dA","../utils":"lVJFQ","../useUpdateEffect":"gFLNJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lGBvF:[function(e,t,r){var n,a,i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"ReadyState",()=>a);var o=e("tslib"),s=e("react"),c=e("../useLatest"),u=i.interopDefault(c),l=e("../useMemoizedFn"),f=i.interopDefault(l),d=e("../useUnmount"),h=i.interopDefault(d);(n=a||(a={}))[n.Connecting=0]="Connecting",n[n.Open=1]="Open",n[n.Closing=2]="Closing",n[n.Closed=3]="Closed",r.default=function(e,t){void 0===t&&(t={});var r=t.reconnectLimit,n=void 0===r?3:r,i=t.reconnectInterval,c=void 0===i?3e3:i,l=t.manual,d=void 0!==l&&l,p=t.onOpen,v=t.onClose,m=t.onMessage,g=t.onError,b=t.protocols,y=(0,o.__read)((0,s.useState)(),2),_=y[0],w=y[1],S=(0,o.__read)((0,s.useState)(a.Closed),2),E=S[0],k=S[1],I=(0,u.default)(p),x=(0,u.default)(v),O=(0,u.default)(m),T=(0,u.default)(g),A=(0,u.default)(E),M=(0,s.useRef)(0),R=(0,s.useRef)(void 0),C=(0,s.useRef)(void 0),j=function(){var e;M.current<n&&(null===(e=C.current)||void 0===e?void 0:e.readyState)!==a.Open&&(R.current&&clearTimeout(R.current),R.current=setTimeout(function(){N(),M.current++},c))},N=function(){R.current&&clearTimeout(R.current),C.current&&C.current.close();var t=new WebSocket(e,b);k(a.Connecting),t.onerror=function(e){var r;C.current===t&&(j(),null===(r=T.current)||void 0===r||r.call(T,e,t),k(t.readyState||a.Closed))},t.onopen=function(e){var r;C.current===t&&(null===(r=I.current)||void 0===r||r.call(I,e,t),M.current=0,k(t.readyState||a.Open))},t.onmessage=function(e){var r;C.current===t&&(null===(r=O.current)||void 0===r||r.call(O,e,t),w(e))},t.onclose=function(e){var r;null===(r=x.current)||void 0===r||r.call(x,e,t),C.current===t&&j(),C.current&&C.current!==t||k(t.readyState||a.Closed)},C.current=t},P=function(){M.current=0,N()},D=function(){var e;R.current&&clearTimeout(R.current),M.current=n,null===(e=C.current)||void 0===e||e.close(),C.current=void 0};return(0,s.useEffect)(function(){!d&&e&&P()},[e,d]),(0,h.default)(function(){D()}),{latestMessage:_,sendMessage:(0,f.default)(function(e){var t;if(A.current===a.Open)null===(t=C.current)||void 0===t||t.send(e);else throw Error("WebSocket disconnected")}),connect:(0,f.default)(P),disconnect:(0,f.default)(D),readyState:E,webSocketIns:C.current}}},{tslib:"gdEuw",react:"a8qhJ","../useLatest":"9oY4Q","../useMemoizedFn":"lqD4I","../useUnmount":"dO00m","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],gMIg2:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("tslib"),a=e("react");r.default=function(e,t){var r=(0,a.useRef)({});(0,a.useEffect)(function(){if(r.current){var a=Object.keys((0,n.__assign)((0,n.__assign)({},r.current),t)),i={};a.forEach(function(e){Object.is(r.current[e],t[e])||(i[e]={from:r.current[e],to:t[e]})}),Object.keys(i).length&&console.log("[why-did-you-update]",e,i)}r.current=t})}},{tslib:"gdEuw",react:"a8qhJ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],cFgh4:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("../utils/domTarget"),i=e("../utils/useDeepCompareWithTarget"),o=n.interopDefault(i),s=e("../useLatest"),c=n.interopDefault(s);r.default=function(e,t,r){void 0===r&&(r={});var n=(0,c.default)(e);(0,o.default)(function(){var e=(0,a.getTargetElement)(t);if(e){var i=new MutationObserver(n.current);return i.observe(e,r),function(){null==i||i.disconnect()}}},[r],t)}},{"../utils/domTarget":"kJ9dA","../utils/useDeepCompareWithTarget":"7TC8y","../useLatest":"9oY4Q","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],is7w3:[function(e,t,r){var n,a,i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"ThemeMode",()=>a),i.export(r,"default",()=>h);var o=e("tslib"),s=e("react"),c=e("../useMemoizedFn"),u=i.interopDefault(c),l=e("../utils/isBrowser"),f=i.interopDefault(l);(n=a||(a={})).LIGHT="light",n.DARK="dark",n.SYSTEM="system";var d=function(){var e=f.default?window.matchMedia("(prefers-color-scheme: dark)"):void 0,t=(0,o.__read)((0,s.useState)(function(){return f.default&&(null==e?void 0:e.matches)?a.DARK:a.LIGHT}),2),r=t[0],n=t[1];return(0,s.useEffect)(function(){var t=function(e){e.matches?n(a.DARK):n(a.LIGHT)};return null==e||e.addEventListener("change",t),function(){null==e||e.removeEventListener("change",t)}},[]),r};function h(e){void 0===e&&(e={});var t=e.localStorageKey,r=(0,o.__read)((0,s.useState)(function(){return(null==t?void 0:t.length)&&localStorage.getItem(t)||a.SYSTEM}),2),n=r[0],i=r[1],c=d();return{theme:n===a.SYSTEM?c:n,themeMode:n,setThemeMode:(0,u.default)(function(e){i(e),(null==t?void 0:t.length)&&localStorage.setItem(t,e)})}}},{tslib:"gdEuw",react:"a8qhJ","../useMemoizedFn":"lqD4I","../utils/isBrowser":"6EL7K","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"42lKG":[function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),a(e("8976dedf03aa06c9"),r)},{"8976dedf03aa06c9":"iRwwj"}],iRwwj:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MessageHandler=void 0;let n=e("7f5357d58eaaff03");class a{channelId;sendMessage;listenMessage;offListenMessage;messageNameHandlerMap=new Map;cacheMessageList=[];constructor(e){this.channelId=e.channelId,this.sendMessage=e.sendMessage,this.listenMessage=e.listenMessage,this.offListenMessage=e.offListenMessage,this.listenMessage(this.innerMessageHandler.bind(this))}postMessage(e,t,r){return new Promise((n,a)=>{this.onMessageOnce(`${e}_FINISHED`,e=>{n(e)}),this.innerPostMessage(e,t,r)})}onMessage(e,t){this.messageNameHandlerMap.set(e,t),this.emitCacheMessage(e)}onMessageOnce(e,t){let r=(...n)=>{t(...n),this.offMessage(e,r)};this.messageNameHandlerMap.set(e,r),this.emitCacheMessage(e)}offMessage(e,t){this.messageNameHandlerMap.delete(e)}async innerMessageHandler(e){if(!(0,n.checkValidMessage)(e)||void 0!==this.channelId&&e.channelId!==this.channelId)return;(0,n.consoleLog)("innerMessageHandler enter",e,this.messageNameHandlerMap);let t=e?.name;if(t){if(!this.messageNameHandlerMap.has(t)){if(e.options?.cache?.enable){e.options?.cache?.overwrite&&(this.cacheMessageList=this.cacheMessageList.filter(e=>e?.name!==t)),this.cacheMessageList.push(e);return}console.warn(`The message named '${t}' was received, but no message handler was registered for it.`);return}(0,n.consoleLog)("innerMessageHandler has message handler"),this.emitMessageHandler(t,e)}}async emitMessageHandler(e,t){try{let r=await this.messageNameHandlerMap.get(e)?.(t?.data);if((0,n.consoleLog)("innerMessageHandler message handler handle success",r),e.endsWith("_FINISHED"))return;this.innerPostMessage(`${e}_FINISHED`,void 0===r?void 0:r)}catch(e){console.error("handle message error",e)}}innerPostMessage(e,t,r){let a=(0,n.generateMessageId)(),i={id:a,data:t,name:e,seq:0,options:r};void 0!==this.channelId&&(i.channelId=this.channelId),this.sendMessage({...(0,n.getMessageSign)(i),...i})}emitCacheMessage(e){for(let t=0;t<this.cacheMessageList.length;t++){let r=this.cacheMessageList[t];r?.name===e&&this.messageNameHandlerMap.has(r.name)&&(this.emitMessageHandler(r.name,r),this.cacheMessageList.splice(t,1),t--)}}getChannelId(){return this.channelId}setChannelId(e){this.channelId=e}destroy(){this.offListenMessage(this.innerMessageHandler)}}r.MessageHandler=a},{"7f5357d58eaaff03":"2lprE"}],"2lprE":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.consoleLog=r.checkValidMessage=r.getMessageSign=r.getSign=r.md5=r.generateMessageId=void 0,r.generateMessageId=()=>`${Date.now()}-${Math.random().toString(36).substring(2)}`,r.md5=e=>{function t(e,t){return e<<t|e>>>32-t}function r(e,t){let r=2147483648&e,n=2147483648&t,a=1073741824&e,i=1073741824&t,o=(1073741823&e)+(1073741823&t);return a&i?2147483648^o^r^n:a|i?1073741824&o?3221225472^o^r^n:1073741824^o^r^n:o^r^n}function n(e,n,a,i,o,s,c){return e=r(e,r(r(n&a|~n&i,o),c)),r(t(e,s),n)}function a(e,n,a,i,o,s,c){return e=r(e,r(r(n&i|a&~i,o),c)),r(t(e,s),n)}function i(e,n,a,i,o,s,c){return e=r(e,r(r(n^a^i,o),c)),r(t(e,s),n)}function o(e,n,a,i,o,s,c){return e=r(e,r(r(a^(n|~i),o),c)),r(t(e,s),n)}function s(e){let t="",r="",n;for(n=0;n<=3;n++)t+=(r="0"+(e>>>8*n&255).toString(16)).substr(r.length-2,2);return t}let c=[],u,l,f,d,h,p,v,m,g;for(u=0,c=function(e){let t;let r=e.length,n=r+8,a=((n-n%64)/64+1)*16,i=Array(a-1),o=0,s=0;for(;s<r;)t=(s-s%4)/4,o=s%4*8,i[t]=i[t]|e.charCodeAt(s)<<o,s++;return t=(s-s%4)/4,o=s%4*8,i[t]=i[t]|128<<o,i[a-2]=r<<3,i[a-1]=r>>>29,i}(e=function(e){e=e.replace(/\r\n/g,"\n");let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&n<2048?t+=String.fromCharCode(n>>6|192)+String.fromCharCode(63&n|128):t+=String.fromCharCode(n>>12|224)+String.fromCharCode(n>>6&63|128)+String.fromCharCode(63&n|128)}return t}(e)),p=1732584193,v=4023233417,m=2562383102,g=271733878;u<c.length;u+=16)l=p,f=v,d=m,h=g,p=n(p,v,m,g,c[u+0],7,3614090360),g=n(g,p,v,m,c[u+1],12,3905402710),m=n(m,g,p,v,c[u+2],17,606105819),v=n(v,m,g,p,c[u+3],22,3250441966),p=n(p,v,m,g,c[u+4],7,4118548399),g=n(g,p,v,m,c[u+5],12,1200080426),m=n(m,g,p,v,c[u+6],17,2821735955),v=n(v,m,g,p,c[u+7],22,4249261313),p=n(p,v,m,g,c[u+8],7,1770035416),g=n(g,p,v,m,c[u+9],12,2336552879),m=n(m,g,p,v,c[u+10],17,4294925233),v=n(v,m,g,p,c[u+11],22,2304563134),p=n(p,v,m,g,c[u+12],7,1804603682),g=n(g,p,v,m,c[u+13],12,4254626195),m=n(m,g,p,v,c[u+14],17,2792965006),v=n(v,m,g,p,c[u+15],22,1236535329),p=a(p,v,m,g,c[u+1],5,4129170786),g=a(g,p,v,m,c[u+6],9,3225465664),m=a(m,g,p,v,c[u+11],14,643717713),v=a(v,m,g,p,c[u+0],20,3921069994),p=a(p,v,m,g,c[u+5],5,3593408605),g=a(g,p,v,m,c[u+10],9,38016083),m=a(m,g,p,v,c[u+15],14,3634488961),v=a(v,m,g,p,c[u+4],20,3889429448),p=a(p,v,m,g,c[u+9],5,568446438),g=a(g,p,v,m,c[u+14],9,3275163606),m=a(m,g,p,v,c[u+3],14,4107603335),v=a(v,m,g,p,c[u+8],20,1163531501),p=a(p,v,m,g,c[u+13],5,2850285829),g=a(g,p,v,m,c[u+2],9,4243563512),m=a(m,g,p,v,c[u+7],14,1735328473),v=a(v,m,g,p,c[u+12],20,2368359562),p=i(p,v,m,g,c[u+5],4,4294588738),g=i(g,p,v,m,c[u+8],11,2272392833),m=i(m,g,p,v,c[u+11],16,1839030562),v=i(v,m,g,p,c[u+14],23,4259657740),p=i(p,v,m,g,c[u+1],4,2763975236),g=i(g,p,v,m,c[u+4],11,1272893353),m=i(m,g,p,v,c[u+7],16,4139469664),v=i(v,m,g,p,c[u+10],23,3200236656),p=i(p,v,m,g,c[u+13],4,681279174),g=i(g,p,v,m,c[u+0],11,3936430074),m=i(m,g,p,v,c[u+3],16,3572445317),v=i(v,m,g,p,c[u+6],23,76029189),p=i(p,v,m,g,c[u+9],4,3654602809),g=i(g,p,v,m,c[u+12],11,3873151461),m=i(m,g,p,v,c[u+15],16,530742520),v=i(v,m,g,p,c[u+2],23,3299628645),p=o(p,v,m,g,c[u+0],6,4096336452),g=o(g,p,v,m,c[u+7],10,1126891415),m=o(m,g,p,v,c[u+14],15,2878612391),v=o(v,m,g,p,c[u+5],21,4237533241),p=o(p,v,m,g,c[u+12],6,1700485571),g=o(g,p,v,m,c[u+3],10,2399980690),m=o(m,g,p,v,c[u+10],15,4293915773),v=o(v,m,g,p,c[u+1],21,2240044497),p=o(p,v,m,g,c[u+8],6,1873313359),g=o(g,p,v,m,c[u+15],10,4264355552),m=o(m,g,p,v,c[u+6],15,2734768916),v=o(v,m,g,p,c[u+13],21,1309151649),p=o(p,v,m,g,c[u+4],6,4149444226),g=o(g,p,v,m,c[u+11],10,3174756917),m=o(m,g,p,v,c[u+2],15,718787259),v=o(v,m,g,p,c[u+9],21,3951481745),p=r(p,l),v=r(v,f),m=r(m,d),g=r(g,h);let b=s(p)+s(v)+s(m)+s(g);return b.toLowerCase()},r.getSign=(e,t)=>(0,r.md5)(e+"&"+JSON.stringify(t)),r.getMessageSign=e=>{let t=Date.now(),n=(0,r.getSign)(t,e);return{d:t,sign:n}},r.checkValidMessage=e=>e?.id&&e?.sign,r.consoleLog=(...e)=>{}},{}],j3qOy:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useStorage=void 0;let n=e("40ec87f4693c2be4"),a=e("434cd168c88070a2");r.useStorage=(e,t)=>{let{defaultValue:r,wrapper:i}=t,[o,s]=(0,n.useState)(r),c=(0,n.useCallback)(t=>{chrome.storage.local.set({[e]:t})},[]);async function u(){let{[e]:t}=await (0,a.getExtensionLocalStorage)(e);f(t)}function l(...t){let[r,n]=t;if("local"===n&&r[e]){let t=r[e].newValue,n=r[e].oldValue;JSON.stringify(t)!==JSON.stringify(n)&&f(r[e].newValue)}}function f(e){s(i instanceof Function?i(e):e)}return(0,n.useEffect)(()=>{u()},[]),(0,n.useEffect)(()=>(chrome.storage.onChanged.addListener(l),()=>chrome.storage.onChanged.removeListener(l)),[]),[o,c]}},{"40ec87f4693c2be4":"a8qhJ","434cd168c88070a2":"fdhRL"}],fdhRL:[function(e,t,r){async function n(e){return new Promise(t=>{let r=setTimeout(()=>{console.error("storage.local.get timeout"),t({})},1e4);chrome.storage.local.get(e,e=>{clearTimeout(r),t(e||{})})})}Object.defineProperty(r,"__esModule",{value:!0}),r.getExtensionLocalStorage=n},{}],eKPCy:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.STORAGE_KEY_OPTIONS=r.STORAGE_KEY_MTOP_ENV_SWITCH=r.DEFAULT_OPTIONS=r.DEFAULT_LANGUAGE=r.getChromeDefaultLang=void 0;let n=e("a6ddb3dce856472");r.getChromeDefaultLang=()=>{let e=navigator.language?navigator.language:"";return e?.toLocaleLowerCase()?.startsWith("zh")?"zh-CN":"en-US"},r.DEFAULT_LANGUAGE=(0,r.getChromeDefaultLang)()||"zh-CN",r.DEFAULT_OPTIONS={[n.OptionsKey.WANGWANG_VISIBLE]:!0,[n.OptionsKey.WANGWANG_OPEN_IN_MODAL]:!0,[n.OptionsKey.INSERT_DOM_VISIBLE]:!0,[n.OptionsKey.IMAGE_SEARCH_VISIBLE]:!0,[n.OptionsKey.SHOW_DRAWER_FIND_GOODS]:!0,[n.OptionsKey.SHORTCUT_SCREENSHOT]:!0,[n.OptionsKey.SHOW_POPOVER_FIND_GOODS]:!0,[n.OptionsKey.LIST_SHOW_POPOVER_FIND_GOODS]:!0,[n.OptionsKey.SHOW_ENTRY_ORDER_INFO]:!1,[n.OptionsKey.SHOW_GLOBAL_ENTRY]:!0,[n.OptionsKey.SHOW_PIC_PREVIEW]:!0,[n.OptionsKey.GOODS_OPERATION_AREA]:!0,[n.OptionsKey.LANGUAGE]:r.DEFAULT_LANGUAGE,[n.OptionsKey.HOVER_POSITION]:n.HoverPosition.LEFT_TOP},r.STORAGE_KEY_MTOP_ENV_SWITCH="_1688_EXTENSION_MTOP_ENV_SWITCH",r.STORAGE_KEY_OPTIONS="_1688_EXTENSION_OPTIONS"},{a6ddb3dce856472:"bBiQa"}],bBiQa:[function(e,t,r){var n,a,i,o;Object.defineProperty(r,"__esModule",{value:!0}),r.HoverPosition=r.OptionsKey=void 0,(i=n||(r.OptionsKey=n={})).WANGWANG_VISIBLE="wangwangVisible",i.WANGWANG_OPEN_IN_MODAL="wangwangOpenInModal",i.INSERT_DOM_VISIBLE="insertDomVisible",i.IMAGE_SEARCH_VISIBLE="imageSearchVisible",i.SHOW_DRAWER_FIND_GOODS="showDrawerFindGoods",i.SHORTCUT_SCREENSHOT="shortcutScreenshot",i.SHOW_POPOVER_FIND_GOODS="showPopoverFindGoods",i.LIST_SHOW_POPOVER_FIND_GOODS="listShowPopoverFindGoods",i.SHOW_ENTRY_ORDER_INFO="showEntryOrderInfo",i.SHOW_GLOBAL_ENTRY="showGlobalEntry",i.SHOW_PIC_PREVIEW="showPicPreview",i.GOODS_OPERATION_AREA="goodsOperationArea",i.LANGUAGE="language",i.HOVER_POSITION="hoverPosition",(o=a||(r.HoverPosition=a={})).LEFT_TOP="LeftTop",o.LEFT_BOTTOM="LeftBottom",o.RIGHT_TOP="RightTop",o.RIGHT_BOTTOM="RightBottom"},{}],fPYsN:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.injectParams2IframeUrl=void 0;let n=e("5ab0f27fb20f75fe");r.injectParams2IframeUrl=(e,t)=>{if(!e)return;let r=new URL(e);r.searchParams.set("env",t.useProd?"test":"prod"),r.searchParams.set("messageChannelId",t.messageChannelId);let a=String(t.optionsConfig?.[n.OptionsKey.LANGUAGE]??"");return a&&r.searchParams.set("language",a),t.extendUrlParams&&Object.entries(t.extendUrlParams).forEach(([e,t])=>{r.searchParams.set(e,t)}),r.toString()}},{"5ab0f27fb20f75fe":"bBiQa"}],"53EJT":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.consoleLog=void 0,r.consoleLog=(...e)=>{}},{}],"4kZVl":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.genRandomStr=void 0,r.genRandomStr=()=>`plugin-infra-suite-${Number(String(Math.random()).slice(2)).toString(36)}`},{}],"2LHHd":[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.DrawerUi=void 0;let a=e("f1527c06cacdf9cb"),i=e("baa8217f99266b85"),o=e("787d97bdd400faee"),s=n(e("1e264c2463a63d21")),c=e("84891cb0ef0b040b"),u=e("14e49060b127d2bf"),l=e("87484dcd4c6c64e");r.DrawerUi=(0,i.forwardRef)((e,t)=>{let{hasCloseBtn:r=!0,preventWheelPropagation:n=!0,openSetDocumentOverflowHidden:f=!0,placement:d="left"}=e,[h]=(0,i.useState)((0,l.genRandomStr)()),[p,v]=(0,i.useState)(!1),m=void 0===e.open,g=m?p:e.open,b=(0,i.useRef)(null),y=(0,i.useRef)(null),_=(0,i.useRef)(),w=(0,o.useMemoizedFn)(e=>{f&&(e?(_.current=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden","important")):(void 0!==_.current&&(document.documentElement.style.overflow=_.current),window.focus()))});(0,i.useEffect)(()=>{w(g)},[g]);let S=(0,o.useMemoizedFn)(e=>{n&&(e.stopPropagation(),e.preventDefault())});(0,i.useEffect)(()=>(b.current?.addEventListener("wheel",S,{passive:!1}),()=>{b.current?.removeEventListener("wheel",S)}),[]);let E=(0,o.useMemoizedFn)(async()=>{let t=await e.onClose?.();m&&(t||void 0===t)&&v(!1)}),k=(0,o.useMemoizedFn)(async()=>{e.onCloseIconClick?.(),E()}),I=(0,o.useMemoizedFn)(async()=>{let t=await e?.onOpen?.();m&&(t||void 0===t)&&v(!0)}),x=(0,o.useMemoizedFn)(t=>{"transform"===t.propertyName&&e.onOpenAnimationEnd?.()});return(0,i.useImperativeHandle)(t,()=>({open:()=>{I()},close:()=>{E()},drawerOpen:g,containerRef:b,contentWrapperRef:y})),(0,a.jsxs)("div",{ref:b,className:(0,s.default)(h,e.className),children:[(0,a.jsx)(u.DrawerUiStyle,{containerClassName:h}),g&&(e.hasMask??!0)&&(0,a.jsx)("div",{className:"drawer-mask"}),(0,a.jsx)("div",{className:(0,s.default)("drawer-content-wrapper",{"drawer-content-wrapper--right":"right"===d}),ref:y,onTransitionEnd:x,style:{transform:`translateX(${g?"0":"right"===d?"100%":"-100%"})`,width:e.drawerWidth},children:(0,a.jsxs)("div",{className:"drawer-content",children:[r&&(0,a.jsx)(c.IconClose,{onClick:k,className:"drawer-header-close"}),(0,a.jsx)("div",{className:"drawer-body",style:{pointerEvents:e.disablePointEvents?"none":"auto"},children:e.children})]})})]})})},{f1527c06cacdf9cb:"dF4sA",baa8217f99266b85:"a8qhJ","787d97bdd400faee":"3ODhr","1e264c2463a63d21":"4XYP4","84891cb0ef0b040b":"jbwsq","14e49060b127d2bf":"9VWd6","87484dcd4c6c64e":"4kZVl"}],"4XYP4":[function(t,r,n){!/*!
|
|
Copyright (c) 2018 Jed Watson.
|
|
Licensed under the MIT License (MIT), see
|
|
http://jedwatson.github.io/classnames
|
|
*/function(){var t={}.hasOwnProperty;function n(){for(var e="",r=0;r<arguments.length;r++){var i=arguments[r];i&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var i in e)t.call(e,i)&&e[i]&&(r=a(r,i));return r}(i)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}r.exports?(n.default=n,r.exports=n):"function"==typeof e&&"object"==typeof e.amd&&e.amd?e("classnames",[],function(){return n}):window.classNames=n}()},{}],jbwsq:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.IconClose=void 0;let n=e("2af082f6914d18f9");r.IconClose=e=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.width??24,height:e.height??24,fill:"none",onClick:e.onClick,className:e.className,children:[(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"a",children:(0,n.jsx)("rect",{width:e.width??24,height:e.height??24,rx:"0"})})}),(0,n.jsx)("g",{clipPath:"url(#a)",children:(0,n.jsx)("path",{fill:"#666",fillRule:"evenodd",d:"m4.352 4.352-.053.054.107-.107zM12 10.61 5.88 4.49c-.203-.204-.275-.276-.346-.325-.289-.2-.653-.22-.922-.048a2 2 0 0 0-.26.235c-.142.143-.198.201-.235.26-.172.27-.153.633.048.922.05.07.121.143.324.346L10.61 12l-6.12 6.12c-.203.203-.275.275-.324.345-.2.29-.22.654-.048.923a2 2 0 0 0 .182.206l.1.1-.047-.047c.143.143.201.199.26.236.27.172.633.153.923-.048.07-.05.142-.121.345-.324L12 13.39l6.12 6.12c.203.203.275.275.345.324.29.2.654.22.923.048a2 2 0 0 0 .206-.182l.107-.107-.054.053c.143-.142.199-.2.236-.259.172-.27.153-.633-.048-.922-.05-.07-.121-.143-.325-.346L13.39 12l6.12-6.12c.204-.203.276-.275.325-.345.2-.29.22-.654.048-.923a2 2 0 0 0-.235-.26l.05.05-.1-.1.05.05a2 2 0 0 0-.26-.235c-.27-.172-.634-.153-.923.048-.07.05-.142.121-.345.324z"})})]})},{"2af082f6914d18f9":"dF4sA"}],"9VWd6":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DrawerUiStyle=void 0;let n=e("6137f4a77cfce93b");r.DrawerUiStyle=e=>{let{containerClassName:t}=e;return(0,n.jsx)("style",{children:`
|
|
.${t} {
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.${t} .drawer-mask {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.${t} .drawer-content-wrapper {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.12);
|
|
|
|
max-width: 100vw;
|
|
transition: all 0.3s;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
}
|
|
|
|
.${t} .drawer-content-wrapper--right {
|
|
left: auto;
|
|
right: 0;
|
|
}
|
|
|
|
.${t} .drawer-content {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #ffffff;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.${t} .drawer-header-close {
|
|
width: 24px;
|
|
height: 24px;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
top: 18px;
|
|
right: 25px;
|
|
}
|
|
|
|
.${t} .drawer-body {
|
|
flex: auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.${t} .drawer-wrapper-aside {
|
|
z-index: 2147483645;
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 50%;
|
|
margin: 0px;
|
|
}
|
|
|
|
.${t} .drawer-wrapper-aside-size {
|
|
width: 20px;
|
|
height: 60px;
|
|
border-radius: 5px 0px 0px 5px;
|
|
text-align: center;
|
|
color: #999;
|
|
background: #333;
|
|
line-height: 60px;
|
|
margin-top: 2px;
|
|
cursor: pointer;
|
|
opacity: 0.6;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.${t} .drawer-wrapper-aside-size:hover {
|
|
color: #ffffff;
|
|
opacity: 0.9;
|
|
}
|
|
`})}},{"6137f4a77cfce93b":"dF4sA"}],"5L5mw":[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.IframeAppDrawer=void 0;let a=e("610206f1c27ae063"),i=e("1bd4074ffe8c0670"),o=e("603578cc740a4d29"),s=n(e("1944ca3d27494376")),c=e("7429efcc0c2a34f2"),u=e("5d1a94ab4782c457"),l=e("9251ae5cdd53c4e3"),f=e("a4325bfc0a1d5e52");r.IframeAppDrawer=(0,i.forwardRef)((e,t)=>{let{enableIframeAppRenderCloseBtn:r=!0}=e,[n,d]=(0,i.useState)(!0),h=(0,i.useRef)(null),p=(0,i.useRef)(null),[v,m]=(0,i.useState)(!1),[g]=(0,i.useState)((0,f.genRandomStr)()),b=(0,o.useMemoizedFn)(()=>{h.current?.messageHandler?.onMessage("pc-plugin-infra-close-iframe-app-drawer",()=>{p.current?.close()}),m(!0)}),y=(0,o.useMemoizedFn)(()=>{r&&d(!1),e.onAppInited?.()});(0,i.useImperativeHandle)(t,()=>({iframeAppRef:h.current,drawerUiRef:p.current}));let _=(0,o.useMemoizedFn)(()=>{v&&(m(!1),e.onComponentInited?.())});return(0,i.useEffect)(()=>{_()},[v]),(0,a.jsxs)(c.DrawerUi,{hasCloseBtn:n,placement:e.placement,...e.drawerUiProps??{},ref:p,className:(0,s.default)(g,e.drawerUiProps?.className),children:[(0,a.jsx)(l.IframeAppDrawerStyle,{containerClassName:g}),(0,a.jsx)(u.IframeApp,{...e,ref:h,iframeClassName:(0,s.default)("iframe-app",e.iframeProps?.className),onComponentInited:b,onAppInited:y,extendUrlParams:{...e.extendUrlParams??{},enableIframeAppRenderCloseBtn:String(r)}})]})})},{"610206f1c27ae063":"dF4sA","1bd4074ffe8c0670":"a8qhJ","603578cc740a4d29":"3ODhr","1944ca3d27494376":"4XYP4","7429efcc0c2a34f2":"2LHHd","5d1a94ab4782c457":"gRt2x","9251ae5cdd53c4e3":"3XqS4",a4325bfc0a1d5e52:"4kZVl"}],"3XqS4":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.IframeAppDrawerStyle=void 0;let n=e("50b64a551f51b337");r.IframeAppDrawerStyle=e=>{let{containerClassName:t}=e;return(0,n.jsx)("style",{children:`
|
|
.${t} .iframe-app {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
}
|
|
`})}},{"50b64a551f51b337":"dF4sA"}],"21qoz":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.contentScriptHostWebAppMessageHandlerFactory=r.contentScriptMessageHostWebAppChannelId=void 0;let n=e("c6e99d419858de96"),a=e("12474d5cdcc3bcf6");r.contentScriptMessageHostWebAppChannelId=`${chrome.runtime.id}-content-script-message-with-host-web-app`;let i=[];r.contentScriptHostWebAppMessageHandlerFactory=(e=r.contentScriptMessageHostWebAppChannelId)=>new n.MessageHandler({channelId:e,sendMessage(e){(0,a.consoleLog)("emit window.postMessage",e),window.postMessage(e,"*")},listenMessage(e){if(-1!==i.findIndex(t=>t.originalListener===e))return;let t=t=>{t?.data?.id&&t?.data?.sign&&(0,a.consoleLog)("emit window.onmessage",t,e),e(t.data),t?.data?.id&&t?.data?.sign&&(0,a.consoleLog)("after fire messageListener",e)};i.push({originalListener:e,targetListener:t}),window.addEventListener("message",t)},offListenMessage(e){let t=i.findIndex(t=>t.originalListener===e);-1!==t&&(window.removeEventListener("message",i[t].targetListener),i.splice(t,1))}})},{c6e99d419858de96:"42lKG","12474d5cdcc3bcf6":"53EJT"}],"1ikHH":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"ServerStyleSheet",()=>e4),n.export(r,"StyleSheetConsumer",()=>eR),n.export(r,"StyleSheetContext",()=>eM),n.export(r,"StyleSheetManager",()=>eN),n.export(r,"ThemeConsumer",()=>eq),n.export(r,"ThemeContext",()=>eG),n.export(r,"ThemeProvider",()=>eK),n.export(r,"__PRIVATE__",()=>e6),n.export(r,"createGlobalStyle",()=>e1),n.export(r,"css",()=>eX),n.export(r,"default",()=>eQ),n.export(r,"isStyledComponent",()=>ee),n.export(r,"keyframes",()=>e2),n.export(r,"styled",()=>eQ),n.export(r,"useTheme",()=>eW),n.export(r,"version",()=>g),n.export(r,"withTheme",()=>e3);var a=e("tslib"),i=e("@emotion/is-prop-valid");n.interopDefault(i);var o=e("react"),s=n.interopDefault(o),c=e("shallowequal"),u=n.interopDefault(c),l=e("stylis"),f=e("@emotion/unitless"),d=n.interopDefault(f),h=e("50571207bc3cae02"),p=(void 0!==h&&h.env,"data-styled"),v="active",m="data-styled-version",g="6.1.19",b="/*!sc*/\n",y="undefined"!=typeof window&&"undefined"!=typeof document,_=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:(void 0!==h&&h.env,void 0!==h&&h.env,!1)),w={},S=Object.freeze([]),E=Object.freeze({});function k(e,t,r){return void 0===r&&(r=E),e.theme!==r.theme&&e.theme||t||r.theme}var I=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),x=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,O=/(^-|-$)/g;function T(e){return e.replace(x,"-").replace(O,"")}var A=/(a)(d)/gi,M=function(e){return String.fromCharCode(e+(e>25?39:97))};function R(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=M(t%52)+r;return(M(t%52)+r).replace(A,"$1-$2")}var C,j=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},N=function(e){return j(5381,e)};function P(e){return R(N(e)>>>0)}function D(e){return e.displayName||e.name||"Component"}function L(e){return"string"==typeof e}var F="function"==typeof Symbol&&Symbol.for,B=F?Symbol.for("react.memo"):60115,U=F?Symbol.for("react.forward_ref"):60112,z={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},G={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},q=((C={})[U]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},C[B]=G,C);function W(e){return("type"in e&&e.type.$$typeof)===B?G:"$$typeof"in e?q[e.$$typeof]:z}var K=Object.defineProperty,V=Object.getOwnPropertyNames,Y=Object.getOwnPropertySymbols,J=Object.getOwnPropertyDescriptor,Z=Object.getPrototypeOf,X=Object.prototype;function $(e,t,r){if("string"!=typeof t){if(X){var n=Z(t);n&&n!==X&&$(e,n,r)}var a=V(t);Y&&(a=a.concat(Y(t)));for(var i=W(e),o=W(t),s=0;s<a.length;++s){var c=a[s];if(!(c in H||r&&r[c]||o&&c in o||i&&c in i)){var u=J(t,c);try{K(e,c,u)}catch(e){}}}}return e}function Q(e){return"function"==typeof e}function ee(e){return"object"==typeof e&&"styledComponentId"in e}function et(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function er(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=t?t+e[n]:e[n];return r}function en(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ea(e,t){Object.defineProperty(e,"toString",{value:t})}function ei(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var eo=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,a=n;e>=a;)if((a<<=1)<0)throw ei(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(r),this.length=a;for(var i=n;i<a;i++)this.groupSizes[i]=0}for(var o=this.indexOfGroup(e+1),s=(i=0,t.length);i<s;i++)this.tag.insertRule(o,t[i])&&(this.groupSizes[e]++,o++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var a=r;a<n;a++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),a=n+r,i=n;i<a;i++)t+="".concat(this.tag.getRule(i)).concat(b);return t},e}(),es=new Map,ec=new Map,eu=1,el=function(e){if(es.has(e))return es.get(e);for(;ec.has(eu);)eu++;var t=eu++;return es.set(e,t),ec.set(t,e),t},ef=function(e,t){eu=t+1,es.set(e,t),ec.set(t,e)},ed="style[".concat(p,"][").concat(m,'="').concat(g,'"]'),eh=new RegExp("^".concat(p,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ep=function(e,t,r){for(var n,a=r.split(","),i=0,o=a.length;i<o;i++)(n=a[i])&&e.registerName(t,n)},ev=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(b),a=[],i=0,o=n.length;i<o;i++){var s=n[i].trim();if(s){var c=s.match(eh);if(c){var u=0|parseInt(c[1],10),l=c[2];0!==u&&(ef(l,u),ep(e,l,c[3]),e.getTag().insertRules(u,a)),a.length=0}else a.push(s)}}},em=function(e){for(var t=document.querySelectorAll(ed),r=0,n=t.length;r<n;r++){var a=t[r];a&&a.getAttribute(p)!==v&&(ev(e,a),a.parentNode&&a.parentNode.removeChild(a))}};function eg(){return"undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var eb=function(e){var t,r=document.head,n=e||r,a=document.createElement("style"),i=(t=Array.from(n.querySelectorAll("style[".concat(p,"]"))))[t.length-1],o=void 0!==i?i.nextSibling:null;a.setAttribute(p,v),a.setAttribute(m,g);var s=eg();return s&&a.setAttribute("nonce",s),n.insertBefore(a,o),a},ey=function(){function e(e){this.element=eb(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var a=t[r];if(a.ownerNode===e)return a}throw ei(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),e_=function(){function e(e){this.element=eb(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),ew=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),eS=y,eE={isServer:!y,useCSSOMInjection:!_},ek=function(){function e(e,t,r){void 0===e&&(e=E),void 0===t&&(t={});var n=this;this.options=(0,a.__assign)((0,a.__assign)({},eE),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&y&&eS&&(eS=!1,em(this)),ea(this,function(){return function(e){for(var t=e.getTag(),r=t.length,n="",a=0;a<r;a++)(function(r){var a=ec.get(r);if(void 0!==a){var i=e.names.get(a),o=t.getGroup(r);if(void 0!==i&&i.size&&0!==o.length){var s="".concat(p,".g").concat(r,'[id="').concat(a,'"]'),c="";void 0!==i&&i.forEach(function(e){e.length>0&&(c+="".concat(e,","))}),n+="".concat(o).concat(s,'{content:"').concat(c,'"}').concat(b)}}})(a);return n}(n)})}return e.registerId=function(e){return el(e)},e.prototype.rehydrate=function(){!this.server&&y&&em(this)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e((0,a.__assign)((0,a.__assign)({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,r;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,r=e.target,new eo(e.isServer?new ew(r):t?new ey(r):new e_(r))))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(el(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(el(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(el(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),eI=/&/g,ex=/^\s*\/\/.*$/gm;function eO(e){var t,r,n,a=void 0===e?E:e,i=a.options,o=void 0===i?E:i,s=a.plugins,c=void 0===s?S:s,u=function(e,n,a){return a.startsWith(r)&&a.endsWith(r)&&a.replaceAll(r,"").length>0?".".concat(t):e},f=c.slice();f.push(function(e){e.type===l.RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(eI,r).replace(n,u))}),o.prefix&&f.push(l.prefixer),f.push(l.stringify);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,r=a,n=RegExp("\\".concat(r,"\\b"),"g");var c=e.replace(ex,""),u=l.compile(i||a?"".concat(i," ").concat(a," { ").concat(c," }"):c);o.namespace&&(u=function e(t,r){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(r," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(r," ")),t.props=t.props.map(function(e){return"".concat(r," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,r)),t})}(u,o.namespace));var d=[];return l.serialize(u,l.middleware(f.concat(l.rulesheet(function(e){return d.push(e)})))),d};return d.hash=c.length?c.reduce(function(e,t){return t.name||ei(15),j(e,t.name)},5381).toString():"",d}var eT=new ek,eA=eO(),eM=(0,s.default).createContext({shouldForwardProp:void 0,styleSheet:eT,stylis:eA}),eR=eM.Consumer,eC=(0,s.default).createContext(void 0);function ej(){return(0,o.useContext)(eM)}function eN(e){var t=(0,o.useState)(e.stylisPlugins),r=t[0],n=t[1],a=ej().styleSheet,i=(0,o.useMemo)(function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,a]),c=(0,o.useMemo)(function(){return eO({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})},[e.enableVendorPrefixes,e.namespace,r]);(0,o.useEffect)(function(){(0,u.default)(r,e.stylisPlugins)||n(e.stylisPlugins)},[e.stylisPlugins]);var l=(0,o.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:c}},[e.shouldForwardProp,i,c]);return(0,s.default).createElement(eM.Provider,{value:l},(0,s.default).createElement(eC.Provider,{value:c},e.children))}var eP=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=eA);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ea(this,function(){throw ei(12,String(r.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=eA),this.name+e.hash},e}();function eD(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;n>="A"&&n<="Z"?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var eL=function(e){return null==e||!1===e||""===e},eF=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!eL(n)&&(Array.isArray(n)&&n.isCss||Q(n)?t.push("".concat(eD(r),":"),n,";"):en(n)?t.push.apply(t,(0,a.__spreadArray)((0,a.__spreadArray)(["".concat(r," {")],eF(n),!1),["}"],!1)):t.push("".concat(eD(r),": ").concat(null==n||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||r in d.default||r.startsWith("--")?String(n).trim():"".concat(n,"px"),";")))}return t};function eB(e,t,r,n){return eL(e)?[]:ee(e)?[".".concat(e.styledComponentId)]:Q(e)?!Q(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:eB(e(t),t,r,n):e instanceof eP?r?(e.inject(r,n),[e.getName(n)]):[e]:en(e)?eF(e):Array.isArray(e)?Array.prototype.concat.apply(S,e.map(function(e){return eB(e,t,r,n)})):[e.toString()]}function eU(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Q(r)&&!ee(r))return!1}return!0}var ez=N(g),eH=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&eU(e),this.componentId=t,this.baseHash=j(ez,t),this.baseStyle=r,ek.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash){if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=et(n,this.staticRulesId);else{var a=er(eB(this.rules,e,t,r)),i=R(j(this.baseHash,a)>>>0);if(!t.hasNameForId(this.componentId,i)){var o=r(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}n=et(n,i),this.staticRulesId=i}}else{for(var s=j(this.baseHash,r.hash),c="",u=0;u<this.rules.length;u++){var l=this.rules[u];if("string"==typeof l)c+=l;else if(l){var f=er(eB(l,e,t,r));s=j(s,f+u),c+=f}}if(c){var d=R(s>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,r(c,".".concat(d),void 0,this.componentId)),n=et(n,d)}}return n},e}(),eG=(0,s.default).createContext(void 0),eq=eG.Consumer;function eW(){var e=(0,o.useContext)(eG);if(!e)throw ei(18);return e}function eK(e){var t=(0,s.default).useContext(eG),r=(0,o.useMemo)(function(){return function(e,t){if(!e)throw ei(14);if(Q(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw ei(8);return t?(0,a.__assign)((0,a.__assign)({},t),e):e}(e.theme,t)},[e.theme,t]);return e.children?(0,s.default).createElement(eG.Provider,{value:r},e.children):null}var eV={};function eY(e,t,r){var n,i,c,u,l=ee(e),f=!L(e),d=t.attrs,h=void 0===d?S:d,p=t.componentId,v=void 0===p?(n=t.displayName,i=t.parentComponentId,eV[c="string"!=typeof n?"sc":T(n)]=(eV[c]||0)+1,u="".concat(c,"-").concat(P(g+c+eV[c])),i?"".concat(i,"-").concat(u):u):p,m=t.displayName,b=void 0===m?L(e)?"styled.".concat(e):"Styled(".concat(D(e),")"):m,y=t.displayName&&t.componentId?"".concat(T(t.displayName),"-").concat(t.componentId):t.componentId||v,_=l&&e.attrs?e.attrs.concat(h).filter(Boolean):h,w=t.shouldForwardProp;if(l&&e.shouldForwardProp){var x=e.shouldForwardProp;if(t.shouldForwardProp){var O=t.shouldForwardProp;w=function(e,t){return x(e,t)&&O(e,t)}}else w=x}var A=new eH(r,y,l?e.componentStyle:void 0);function M(e,t){return function(e,t,r){var n,i=e.attrs,c=e.componentStyle,u=e.defaultProps,l=e.foldedComponentIds,f=e.styledComponentId,d=e.target,h=(0,s.default).useContext(eG),p=ej(),v=e.shouldForwardProp||p.shouldForwardProp,m=k(t,h,u)||E,g=function(e,t,r){for(var n,i=(0,a.__assign)((0,a.__assign)({},t),{className:void 0,theme:r}),o=0;o<e.length;o+=1){var s=Q(n=e[o])?n(i):n;for(var c in s)i[c]="className"===c?et(i[c],s[c]):"style"===c?(0,a.__assign)((0,a.__assign)({},i[c]),s[c]):s[c]}return t.className&&(i.className=et(i.className,t.className)),i}(i,t,m),b=g.as||d,y={};for(var _ in g)void 0===g[_]||"$"===_[0]||"as"===_||"theme"===_&&g.theme===m||("forwardedAs"===_?y.as=g.forwardedAs:v&&!v(_,b)||(y[_]=g[_]));var w=(n=ej(),c.generateAndInjectStyles(g,n.styleSheet,n.stylis)),S=et(l,f);return w&&(S+=" "+w),g.className&&(S+=" "+g.className),y[L(b)&&!I.has(b)?"class":"className"]=S,r&&(y.ref=r),(0,o.createElement)(b,y)}(R,e,t)}M.displayName=b;var R=(0,s.default).forwardRef(M);return R.attrs=_,R.componentStyle=A,R.displayName=b,R.shouldForwardProp=w,R.foldedComponentIds=l?et(e.foldedComponentIds,e.styledComponentId):"",R.styledComponentId=y,R.target=l?e.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=l?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0;n<t.length;n++)(function e(t,r,n){if(void 0===n&&(n=!1),!n&&!en(t)&&!Array.isArray(t))return r;if(Array.isArray(r))for(var a=0;a<r.length;a++)t[a]=e(t[a],r[a]);else if(en(r))for(var a in r)t[a]=e(t[a],r[a]);return t})(e,t[n],!0);return e}({},e.defaultProps,t):t}}),ea(R,function(){return".".concat(R.styledComponentId)}),f&&$(R,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),R}function eJ(e,t){for(var r=[e[0]],n=0,a=t.length;n<a;n+=1)r.push(t[n],e[n+1]);return r}var eZ=function(e){return Object.assign(e,{isCss:!0})};function eX(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Q(e)||en(e)?eZ(eB(eJ(S,(0,a.__spreadArray)([e],t,!0)))):0===t.length&&1===e.length&&"string"==typeof e[0]?eB(e):eZ(eB(eJ(e,t)))}var e$=function(e){return function e(t,r,n){if(void 0===n&&(n=E),!r)throw ei(1,r);var i=function(e){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return t(r,n,eX.apply(void 0,(0,a.__spreadArray)([e],i,!1)))};return i.attrs=function(i){return e(t,r,(0,a.__assign)((0,a.__assign)({},n),{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},i.withConfig=function(i){return e(t,r,(0,a.__assign)((0,a.__assign)({},n),i))},i}(eY,e)},eQ=e$;I.forEach(function(e){eQ[e]=e$(e)});var e0=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=eU(e),ek.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,r,n){var a=n(er(eB(this.rules,t,r,n)),""),i=this.componentId+e;r.insertRules(i,i,a)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&ek.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function e1(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=eX.apply(void 0,(0,a.__spreadArray)([e],t,!1)),i="sc-global-".concat(P(JSON.stringify(n))),o=new e0(n,i),c=function(e){var t=ej(),r=(0,s.default).useContext(eG),n=(0,s.default).useRef(t.styleSheet.allocateGSInstance(i)).current;return t.styleSheet.server&&u(n,e,t.styleSheet,r,t.stylis),(0,s.default).useLayoutEffect(function(){if(!t.styleSheet.server)return u(n,e,t.styleSheet,r,t.stylis),function(){return o.removeStyles(n,t.styleSheet)}},[n,e,t.styleSheet,r,t.stylis]),null};function u(e,t,r,n,i){if(o.isStatic)o.renderStyles(e,w,r,i);else{var s=(0,a.__assign)((0,a.__assign)({},t),{theme:k(t,n,c.defaultProps)});o.renderStyles(e,s,r,i)}}return(0,s.default).memo(c)}function e2(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=er(eX.apply(void 0,(0,a.__spreadArray)([e],t,!1)));return new eP(P(n),n)}function e3(e){var t=(0,s.default).forwardRef(function(t,r){var n=k(t,(0,s.default).useContext(eG),e.defaultProps);return(0,s.default).createElement(e,(0,a.__assign)({},t,{theme:n,ref:r}))});return t.displayName="WithTheme(".concat(D(e),")"),$(t,e)}var e4=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=eg(),n=er([r&&'nonce="'.concat(r,'"'),"".concat(p,'="true"'),"".concat(m,'="').concat(g,'"')].filter(Boolean)," ");return"<style ".concat(n,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw ei(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw ei(2);var t,r=e.instance.toString();if(!r)return[];var n=((t={})[p]="",t[m]=g,t.dangerouslySetInnerHTML={__html:r},t),i=eg();return i&&(n.nonce=i),[(0,s.default).createElement("style",(0,a.__assign)({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ek({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw ei(2);return(0,s.default).createElement(eN,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw ei(3)},e}(),e6={StyleSheet:ek,mainSheet:eT}},{"50571207bc3cae02":"7gz8M",tslib:"kTyJI","@emotion/is-prop-valid":"aEI8r",react:"a8qhJ",shallowequal:"8uRac",stylis:"e2d57","@emotion/unitless":"lWxrR","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],kTyJI:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"__extends",()=>i),n.export(r,"__assign",()=>o),n.export(r,"__rest",()=>s),n.export(r,"__decorate",()=>c),n.export(r,"__param",()=>u),n.export(r,"__esDecorate",()=>l),n.export(r,"__runInitializers",()=>f),n.export(r,"__propKey",()=>d),n.export(r,"__setFunctionName",()=>h),n.export(r,"__metadata",()=>p),n.export(r,"__awaiter",()=>v),n.export(r,"__generator",()=>m),n.export(r,"__createBinding",()=>g),n.export(r,"__exportStar",()=>b),n.export(r,"__values",()=>y),n.export(r,"__read",()=>_),n.export(r,"__spread",()=>w),n.export(r,"__spreadArrays",()=>S),n.export(r,"__spreadArray",()=>E),n.export(r,"__await",()=>k),n.export(r,"__asyncGenerator",()=>I),n.export(r,"__asyncDelegator",()=>x),n.export(r,"__asyncValues",()=>O),n.export(r,"__makeTemplateObject",()=>T),n.export(r,"__importStar",()=>M),n.export(r,"__importDefault",()=>R),n.export(r,"__classPrivateFieldGet",()=>C),n.export(r,"__classPrivateFieldSet",()=>j),n.export(r,"__classPrivateFieldIn",()=>N),n.export(r,"__addDisposableResource",()=>P),n.export(r,"__disposeResources",()=>L);var a=function(e,t){return(a=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function s(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function c(e,t,r,n){var a,i=arguments.length,o=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,r,o):a(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o}function u(e,t){return function(r,n){t(r,n,e)}}function l(e,t,r,n,a,i){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?n.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),d=!1,h=r.length-1;h>=0;h--){var p={};for(var v in n)p[v]="access"===v?{}:n[v];for(var v in n.access)p.access[v]=n.access[v];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");i.push(o(e||null))};var m=(0,r[h])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=o(m.get))&&(f.get=s),(s=o(m.set))&&(f.set=s),(s=o(m.init))&&a.unshift(s)}else(s=o(m))&&("field"===c?a.unshift(s):f[u]=s)}l&&Object.defineProperty(l,n.name,f),d=!0}function f(e,t,r){for(var n=arguments.length>2,a=0;a<t.length;a++)r=n?t[a].call(e,r):t[a].call(e);return n?r:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function h(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function v(e,t,r,n){return new(r||(r=Promise))(function(a,i){function o(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?a(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(o,s)}c((n=n.apply(e,t||[])).next())})}function m(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var g=Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function b(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||g(t,e,r)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_(arguments[t]));return e}function S(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),a=0,t=0;t<r;t++)for(var i=arguments[t],o=0,s=i.length;o<s;o++,a++)n[a]=i[o];return n}function E(e,t,r){if(r||2==arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function I(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,a=r.apply(e,t||[]),i=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){a[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||s(e,t)})})}function s(e,t){try{var r;(r=a[e](t)).value instanceof k?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(e){l(i[0][3],e)}}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function x(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,a){t[n]=e[n]?function(t){return(r=!r)?{value:k(e[n](t)),done:!1}:a?a(t):t}:a}}function O(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=y(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,a){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,a,(t=e[r](t)).done,t.value)})}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var A=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function M(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&g(t,e,r);return A(t,e),t}function R(e){return e&&e.__esModule?e:{default:e}}function C(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function j(e,t,r,n,a){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?a.call(e,r):a?a.value=r:t.set(e,r),r}function N(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function P(e,t,r){if(null!=t){var n;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(r){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose]}if("function"!=typeof n)throw TypeError("Object not disposable.");e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var D="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function L(e){function t(t){e.error=e.hasError?new D(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function r(){for(;e.stack.length;){var n=e.stack.pop();try{var a=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(a).then(r,function(e){return t(e),r()})}catch(e){t(e)}}if(e.hasError)throw e.error}()}r.default={__extends:i,__assign:o,__rest:s,__decorate:c,__param:u,__metadata:p,__awaiter:v,__generator:m,__createBinding:g,__exportStar:b,__values:y,__read:_,__spread:w,__spreadArrays:S,__spreadArray:E,__await:k,__asyncGenerator:I,__asyncDelegator:x,__asyncValues:O,__makeTemplateObject:T,__importStar:M,__importDefault:R,__classPrivateFieldGet:C,__classPrivateFieldSet:j,__classPrivateFieldIn:N,__addDisposableResource:P,__disposeResources:L}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],aEI8r:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>s);var a=e("@emotion/memoize"),i=n.interopDefault(a),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,i.default)(function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})},{"@emotion/memoize":"2ueSO","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"2ueSO":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}n.defineInteropFlag(r),n.export(r,"default",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8uRac":[function(e,t,r){t.exports=function(e,t,r,n){var a=r?r.call(n,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<i.length;c++){var u=i[c];if(!s(u))return!1;var l=e[u],f=t[u];if(!1===(a=r?r.call(n,l,f,u):void 0)||void 0===a&&l!==f)return!1}return!0}},{}],e2d57:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"CHARSET",()=>h),n.export(r,"COMMENT",()=>s),n.export(r,"COUNTER_STYLE",()=>_),n.export(r,"DECLARATION",()=>u),n.export(r,"DOCUMENT",()=>m),n.export(r,"FONT_FACE",()=>y),n.export(r,"FONT_FEATURE_VALUES",()=>w),n.export(r,"IMPORT",()=>d),n.export(r,"KEYFRAMES",()=>b),n.export(r,"LAYER",()=>S),n.export(r,"MEDIA",()=>f),n.export(r,"MOZ",()=>i),n.export(r,"MS",()=>a),n.export(r,"NAMESPACE",()=>g),n.export(r,"PAGE",()=>l),n.export(r,"RULESET",()=>c),n.export(r,"SCOPE",()=>E),n.export(r,"SUPPORTS",()=>v),n.export(r,"VIEWPORT",()=>p),n.export(r,"WEBKIT",()=>o),n.export(r,"abs",()=>k),n.export(r,"alloc",()=>et),n.export(r,"append",()=>D),n.export(r,"assign",()=>x),n.export(r,"caret",()=>$),n.export(r,"char",()=>Y),n.export(r,"character",()=>G),n.export(r,"characters",()=>q),n.export(r,"charat",()=>C),n.export(r,"column",()=>U),n.export(r,"combine",()=>L),n.export(r,"comment",()=>ep),n.export(r,"commenter",()=>eu),n.export(r,"compile",()=>ef),n.export(r,"copy",()=>K),n.export(r,"dealloc",()=>er),n.export(r,"declaration",()=>ev),n.export(r,"delimit",()=>en),n.export(r,"delimiter",()=>ec),n.export(r,"escaping",()=>es),n.export(r,"filter",()=>F),n.export(r,"from",()=>I),n.export(r,"hash",()=>O),n.export(r,"identifier",()=>el),n.export(r,"indexof",()=>R),n.export(r,"length",()=>z),n.export(r,"lift",()=>V),n.export(r,"line",()=>B),n.export(r,"match",()=>A),n.export(r,"middleware",()=>ey),n.export(r,"namespace",()=>eS),n.export(r,"next",()=>Z),n.export(r,"node",()=>W),n.export(r,"parse",()=>ed),n.export(r,"peek",()=>X),n.export(r,"position",()=>H),n.export(r,"prefix",()=>em),n.export(r,"prefixer",()=>ew),n.export(r,"prev",()=>J),n.export(r,"replace",()=>M),n.export(r,"ruleset",()=>eh),n.export(r,"rulesheet",()=>e_),n.export(r,"serialize",()=>eg),n.export(r,"sizeof",()=>P),n.export(r,"slice",()=>Q),n.export(r,"stringify",()=>eb),n.export(r,"strlen",()=>N),n.export(r,"substr",()=>j),n.export(r,"token",()=>ee),n.export(r,"tokenize",()=>ea),n.export(r,"tokenizer",()=>eo),n.export(r,"trim",()=>T),n.export(r,"whitespace",()=>ei);var a="-ms-",i="-moz-",o="-webkit-",s="comm",c="rule",u="decl",l="@page",f="@media",d="@import",h="@charset",p="@viewport",v="@supports",m="@document",g="@namespace",b="@keyframes",y="@font-face",_="@counter-style",w="@font-feature-values",S="@layer",E="@scope",k=Math.abs,I=String.fromCharCode,x=Object.assign;function O(e,t){return 45^C(e,0)?(((t<<2^C(e,0))<<2^C(e,1))<<2^C(e,2))<<2^C(e,3):0}function T(e){return e.trim()}function A(e,t){return(e=t.exec(e))?e[0]:e}function M(e,t,r){return e.replace(t,r)}function R(e,t,r){return e.indexOf(t,r)}function C(e,t){return 0|e.charCodeAt(t)}function j(e,t,r){return e.slice(t,r)}function N(e){return e.length}function P(e){return e.length}function D(e,t){return t.push(e),e}function L(e,t){return e.map(t).join("")}function F(e,t){return e.filter(function(e){return!A(e,t)})}var B=1,U=1,z=0,H=0,G=0,q="";function W(e,t,r,n,a,i,o,s){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:B,column:U,length:o,return:"",siblings:s}}function K(e,t){return x(W("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function V(e){for(;e.root;)e=K(e.root,{children:[e]});D(e,e.siblings)}function Y(){return G}function J(){return G=H>0?C(q,--H):0,U--,10===G&&(U=1,B--),G}function Z(){return G=H<z?C(q,H++):0,U++,10===G&&(U=1,B++),G}function X(){return C(q,H)}function $(){return H}function Q(e,t){return j(q,e,t)}function ee(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function et(e){return B=U=1,z=N(q=e),H=0,[]}function er(e){return q="",e}function en(e){return T(Q(H-1,ec(91===e?e+2:40===e?e+1:e)))}function ea(e){return er(eo(et(e)))}function ei(e){for(;G=X();)if(G<33)Z();else break;return ee(e)>2||ee(G)>3?"":" "}function eo(e){for(;Z();)switch(ee(G)){case 0:D(el(H-1),e);break;case 2:D(en(G),e);break;default:D(I(G),e)}return e}function es(e,t){for(;--t&&Z()&&!(G<48)&&!(G>102)&&(!(G>57)||!(G<65))&&(!(G>70)||!(G<97)););return Q(e,H+(t<6&&32==X()&&32==Z()))}function ec(e){for(;Z();)switch(G){case e:return H;case 34:case 39:34!==e&&39!==e&&ec(G);break;case 40:41===e&&ec(e);break;case 92:Z()}return H}function eu(e,t){for(;Z();)if(e+G===57)break;else if(e+G===84&&47===X())break;return"/*"+Q(t,H-1)+"*"+I(47===e?e:Z())}function el(e){for(;!ee(X());)Z();return Q(e,H)}function ef(e){return er(ed("",null,null,null,[""],e=et(e),0,[0],e))}function ed(e,t,r,n,a,i,o,s,c){for(var u=0,l=0,f=o,d=0,h=0,p=0,v=1,m=1,g=1,b=0,y="",_=a,w=i,S=n,E=y;m;)switch(p=b,b=Z()){case 40:if(108!=p&&58==C(E,f-1)){-1!=R(E+=M(en(b),"&","&\f"),"&\f",k(u?s[u-1]:0))&&(g=-1);break}case 34:case 39:case 91:E+=en(b);break;case 9:case 10:case 13:case 32:E+=ei(p);break;case 92:E+=es(H-1,7);continue;case 47:switch(X()){case 42:case 47:D(ep(eu(Z(),H),t,r,c),c);break;default:E+="/"}break;case 123*v:s[u++]=N(E)*g;case 125*v:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+l:-1==g&&(E=M(E,/\f/g,"")),h>0&&N(E)-f&&D(h>32?ev(E+";",n,r,f-1,c):ev(M(E," ","")+";",n,r,f-2,c),c);break;case 59:E+=";";default:if(D(S=eh(E,t,r,u,l,a,s,y,_=[],w=[],f,i),i),123===b){if(0===l)ed(E,t,S,S,_,i,f,s,w);else switch(99===d&&110===C(E,3)?100:d){case 100:case 108:case 109:case 115:ed(e,S,S,n&&D(eh(e,S,S,0,0,a,s,y,a,_=[],f,w),w),a,w,f,s,n?_:w);break;default:ed(E,S,S,S,[""],w,0,s,w)}}}u=l=h=0,v=g=1,y=E="",f=o;break;case 58:f=1+N(E),h=p;default:if(v<1){if(123==b)--v;else if(125==b&&0==v++&&125==J())continue}switch(E+=I(b),b*v){case 38:g=l>0?1:(E+="\f",-1);break;case 44:s[u++]=(N(E)-1)*g,g=1;break;case 64:45===X()&&(E+=en(Z())),d=X(),l=f=N(y=E+=el(H)),b++;break;case 45:45===p&&2==N(E)&&(v=0)}}return i}function eh(e,t,r,n,a,i,o,s,u,l,f,d){for(var h=a-1,p=0===a?i:[""],v=P(p),m=0,g=0,b=0;m<n;++m)for(var y=0,_=j(e,h+1,h=k(g=o[m])),w=e;y<v;++y)(w=T(g>0?p[y]+" "+_:M(_,/&\f/g,p[y])))&&(u[b++]=w);return W(e,t,r,0===a?c:s,u,l,f,d)}function ep(e,t,r,n){return W(e,t,r,s,I(G),j(e,2,-2),0,n)}function ev(e,t,r,n,a){return W(e,t,r,u,j(e,0,n),j(e,n+1,-1),n,a)}function em(e,t,r){switch(O(e,t)){case 5103:return o+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return o+e+e;case 4789:return i+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return o+e+i+e+a+e+e;case 5936:switch(C(e,t+11)){case 114:return o+e+a+M(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return o+e+a+M(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return o+e+a+M(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return o+e+a+e+e;case 6165:return o+e+a+"flex-"+e+e;case 5187:return o+e+M(e,/(\w+).+(:[^]+)/,o+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return o+e+a+"flex-item-"+M(e,/flex-|-self/g,"")+(A(e,/flex-|baseline/)?"":a+"grid-row-"+M(e,/flex-|-self/g,""))+e;case 4675:return o+e+a+"flex-line-pack"+M(e,/align-content|flex-|-self/g,"")+e;case 5548:return o+e+a+M(e,"shrink","negative")+e;case 5292:return o+e+a+M(e,"basis","preferred-size")+e;case 6060:return o+"box-"+M(e,"-grow","")+o+e+a+M(e,"grow","positive")+e;case 4554:return o+M(e,/([^-])(transform)/g,"$1"+o+"$2")+e;case 6187:return M(M(M(e,/(zoom-|grab)/,o+"$1"),/(image-set)/,o+"$1"),e,"")+e;case 5495:case 3959:return M(e,/(image-set\([^]*)/,o+"$1$`$1");case 4968:return M(M(e,/(.+:)(flex-)?(.*)/,o+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+o+e+e;case 4200:if(!A(e,/flex-|baseline/))return a+"grid-column-align"+j(e,t)+e;break;case 2592:case 3360:return a+M(e,"template-","")+e;case 4384:case 3616:if(r&&r.some(function(e,r){return t=r,A(e.props,/grid-\w+-end/)}))return~R(e+(r=r[t].value),"span",0)?e:a+M(e,"-start","")+e+a+"grid-row-span:"+(~R(r,"span",0)?A(r,/\d+/):+A(r,/\d+/)-+A(e,/\d+/))+";";return a+M(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return A(e.props,/grid-\w+-start/)})?e:a+M(M(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return M(e,/(.+)-inline(.+)/,o+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(N(e)-1-t>6)switch(C(e,t+1)){case 109:if(45!==C(e,t+4))break;case 102:return M(e,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+i+(108==C(e,t+3)?"$3":"$2-$3"))+e;case 115:return~R(e,"stretch",0)?em(M(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return M(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,i,o,s,c){return a+r+":"+n+c+(i?a+r+"-span:"+(o?s:+s-+n)+c:"")+e});case 4949:if(121===C(e,t+6))return M(e,":",":"+o)+e;break;case 6444:switch(C(e,45===C(e,14)?18:11)){case 120:return M(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+o+(45===C(e,14)?"inline-":"")+"box$3$1"+o+"$2$3$1"+a+"$2box$3")+e;case 100:return M(e,":",":"+a)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return M(e,"scroll-","scroll-snap-")+e}return e}function eg(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function eb(e,t,r,n){switch(e.type){case S:if(e.children.length)break;case d:case u:return e.return=e.return||e.value;case s:return"";case b:return e.return=e.value+"{"+eg(e.children,n)+"}";case c:if(!N(e.value=e.props.join(",")))return""}return N(r=eg(e.children,n))?e.return=e.value+"{"+r+"}":""}function ey(e){var t=P(e);return function(r,n,a,i){for(var o="",s=0;s<t;s++)o+=e[s](r,n,a,i)||"";return o}}function e_(e){return function(t){!t.root&&(t=t.return)&&e(t)}}function ew(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case u:e.return=em(e.value,e.length,r);return;case b:return eg([K(e,{value:M(e.value,"@","@"+o)})],n);case c:if(e.length)return L(r=e.props,function(t){switch(A(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":V(K(e,{props:[M(t,/:(read-\w+)/,":"+i+"$1")]})),V(K(e,{props:[t]})),x(e,{props:F(r,n)});break;case"::placeholder":V(K(e,{props:[M(t,/:(plac\w+)/,":"+o+"input-$1")]})),V(K(e,{props:[M(t,/:(plac\w+)/,":"+i+"$1")]})),V(K(e,{props:[M(t,/:(plac\w+)/,a+"input-$1")]})),V(K(e,{props:[t]})),x(e,{props:F(r,n)})}return""})}}function eS(e){e.type===c&&(e.props=e.props.map(function(t){return L(ea(t),function(t,r,n){switch(C(t,0)){case 12:return j(t,1,N(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===n[++r]&&(n[r]="",n[++r]="\f"+j(n[r],r=1,-1));case 32:return 1===r?"":t;default:switch(r){case 0:return e=t,P(n)>1?"":t;case r=P(n)-1:case 2:return 2===r?t+e+e:t+e;default:return t}}})}))}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lWxrR:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>a);var a={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],bylP9:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"checkAndHandleExtensionContext",()=>f),n.export(r,"isPageExtensionContextValid",()=>d),n.export(r,"sendLogFromPage",()=>p),n.export(r,"getPageDesc",()=>v),n.export(r,"checkNumberBrowser",()=>m),n.export(r,"sendMessageToBackground",()=>g),n.export(r,"calculateBase64Size",()=>b),n.export(r,"getImageSearchResult",()=>y),n.export(r,"searchImageByBase64",()=>_),n.export(r,"compressImage",()=>w),n.export(r,"getImageBase64",()=>S),n.export(r,"getImageBase64ByFetch",()=>E),n.export(r,"getHtmlTextContent",()=>k),n.export(r,"isMacOS",()=>I),n.export(r,"getDetailOfferId",()=>x),n.export(r,"getDetailMemberId",()=>O),n.export(r,"getDetailOfferTitle",()=>T),n.export(r,"getDetailShopTitle",()=>A),n.export(r,"getIframeMessageSign",()=>M),n.export(r,"postMessage2Iframe",()=>R),n.export(r,"getScrollbarWidth",()=>C),n.export(r,"openWindow",()=>j),n.export(r,"updateEnvOfIframeUrl",()=>N),n.export(r,"sendMessageToSidePanelIframe",()=>P);var a=e("~libs/debugLog"),i=e("~libs/dom"),o=e("~libs/md5"),s=e("~locale/i18n"),c=n.interopDefault(s),u=e("~services/scripts"),l=e("./utils");function f({isToastRequired:e,callback:t}){let r=d();return!r&&(e&&(0,i.showToast)({type:"error",message:(0,c.default).get({id:"ExtensionContextInvalidated",dm:"\u5f53\u524d\u9875\u9762\u5df2\u8fc7\u671f\uff0c\u8bf7\u5237\u65b0\u540e\u91cd\u8bd5"})}),t&&"function"==typeof t&&t()),r}function d(){try{return!!(chrome.runtime&&chrome.runtime.id)}catch{return!1}}let h=!1;function p(e){h&&(e?.extra||(e.extra={}),e.extra.isInOnboardingMode=h),(0,a.consoleLog)("sendLogFromPage",e),g({name:"send-log",payload:{...e,location:e?.location||globalThis?.location?.href}})}function v(){let e=document.querySelector('meta[name="description"]');return e&&e.getAttribute("content")||null}function m(){return -1!=navigator.userAgent.indexOf("Safari")?function(){let e=navigator.userAgent.split(" ");if(-1==e[e.length-1].indexOf("Safari"))return!1;for(var t in navigator.plugins)if("np-mswmp.dll"==navigator.plugins[t].filename)return!0;return!1}():function(){let e=window.navigator;return(void 0==e.msPointerEnabled||e.msPointerEnabled)&&(1==e.msDoNotTrack||1==window.doNotTrack)&&(!!Number(window.screenX)&&window.screenLeft-window.screenX!=8||(-1!=e.userAgent.indexOf("MSIE 7.0")||-1!=e.userAgent.indexOf("MSIE 8.0"))&&void 0==console.count)}()}async function g(e,t){let r=t?.maxRetries||3,n=0,a=async()=>new Promise((i,o)=>{let s=f({isToastRequired:t?.showToast??!1});if(!s){console.log("Extension context invalidated"),i({code:-1,errMsg:"\u6269\u5c55\u4e0a\u4e0b\u6587\u5931\u6548\uff0c\u8bf7\u5237\u65b0\u9875\u9762\u540e\u91cd\u8bd5"});return}let c=null;t?.ignoreTimeout||(c=setTimeout(()=>{c=null,o(Error("sendMessage timeout"))},3e4)),chrome.runtime.sendMessage(e,e=>{if(c&&(clearTimeout(c),c=null),chrome.runtime.lastError){let e=chrome.runtime.lastError.message;e?.includes("Could not establish connection")&&n<r?(console.warn(`Message failed, retrying... (${n+1}/${r})`),setTimeout(()=>{a().then(i).catch(o)},500*++n)):o(Error(e))}else i(e)})});return a()}function b(e){let t=e.length-(e.indexOf(",")+1),r=(e.match(/(=)$/g)||[]).length;return 3*t/4-r}async function y(e,t){let r=await w(e,524288);return g({name:"search-image-fetch-data",payload:{imageBase64:r,...t}})}async function _(e,t){let r=await w(e,524288);return g({name:"search-image-process-ui",payload:{imgBase64:r,action:t.action,searchMode:t.searchMode,searchFilterData:t.searchFilterData,title:t.title,price:t.price,messageEventForceShowDrawerFindGoods:t.messageEventForceShowDrawerFindGoods}})}async function w(e,t,r=1e3){let n=(e,t)=>new Promise((n,a)=>{let i=new Image;i.onload=()=>{let e=document.createElement("canvas"),a=e.getContext("2d"),o=i.width,s=i.height,c=1,u=Math.max(o,s);u>r&&(c=r/u),o*=c,s*=c,e.width=o,e.height=s,a.imageSmoothingEnabled=!0,a.imageSmoothingQuality="high",a.drawImage(i,0,0,e.width,e.height);let l=e.toDataURL("image/jpeg",Math.min(t,.9));i=null,n(l)},i.onerror=e=>{i=null,a(e)},i.src=e}),a=e,i=b(a),o=0,s=1;for(;i=b(a=await n(a,s)),o++,s=Math.min(t/i,1),!(i<=t)&&!(o>=4););return a}async function S(e,t){let r=await E(e,t);if(r)return r;let n=await function(e,t){let r=t?.format||"image/jpeg",n=t?.quality||1;return new Promise(t=>{let a=new Image;a.crossOrigin="Anonymous",a.onload=()=>{try{let e=document.createElement("canvas"),i=e.getContext("2d");e.width=a.width,e.height=a.height,i.drawImage(a,0,0);let o=e.toDataURL(r,n);t(o)}catch(e){console.error("Canvas\u5904\u7406\u5931\u8d25:",e),t("")}},a.onerror=e=>{console.error("\u56fe\u7247\u52a0\u8f7d\u5931\u8d25:",e),t("")},a.src=e})}(e);return n}async function E(e,t){let r=await g({name:"fetch-image",payload:{imgSrc:e}},t);return 0===r.code&&r.data?r.data:""}function k(e){return new DOMParser().parseFromString(e,"text/html").body.textContent}(0,l.isContentScript)()&&(0,u.getGlobalObject)().events.on("onboarding-mode-switch",e=>{h=e.isOnboardingMode});let I=()=>/Mac OS X/.test(navigator.userAgent),x=()=>{let e=location.origin+location.pathname.replace(/\/$/,"");if(/^https?:\/\/detail\.1688\.com/.test(e)){let e=location.pathname.split("/").length,t=location.pathname.split("/")[e-1].split(".html")[0];return t}},O=()=>{let e=document.querySelectorAll("script"),t="";return e.forEach(e=>{if(t)return;let r=e.innerHTML.match(/"sellerMemberId\\?":\\?"([^"'\\]+)\\*"/),n=e.innerHTML.match(/"memberId\\?":\\?"([^"'\\]+)\\*"/);r?.[1]?t=r[1]:n?.[1]&&(t=n[1])}),t},T=()=>{let e=document.querySelectorAll("script"),t="";return e.forEach(e=>{if(t)return;let r=e.innerHTML.match(/"offerTitle\\?":\\?"([^"'\\]+)\\*"/);r?.[1]&&(t=r[1])}),t},A=()=>{let e=document.querySelectorAll("script"),t="";return e.forEach(e=>{if(t)return;let r=e.innerHTML.match(/"companyName\\?":\\?"([^"'\\]+)\\*"/);r?.[1]&&(t=r[1])}),t};function M(e,t){return(0,o.md5)(e+"&"+JSON.stringify(t))}function R(e,t,r){let n=Date.now(),a=M(n,t);e.postMessage({d:n,data:t,sign:a},r)}function C(){let e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",e.style.position="absolute";let t=document.createElement("div");e.appendChild(t),document.body.appendChild(e);let r=e.offsetWidth-t.offsetWidth;return(e.remove(),r<0)?0:r>20?20:r}function j(e,t=!0){let r=window.open(e,"_blank");t&&p({type:"open-window",destination:e,action:r?"success":"failed"})}function N(e,t){if(!e)return"";let r=new URL(e);return r.searchParams.set("env",t?"test":"prod"),r.toString()}async function P(e,t){try{await g({name:"enqueue-sidepanel-message",payload:{type:e,payload:t,timestamp:Date.now()}})}catch(e){console.error("\u274c [sendMessageToSidePanelIframe] \u6d88\u606f\u5165\u961f\u5931\u8d25:",e)}}},{"~libs/debugLog":"8Rm1G","~libs/dom":"hXlzm","~libs/md5":"3ODxA","~locale/i18n":"1c9jo","~services/scripts":"4AjNB","./utils":"kYpGH","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"1c9jo":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("@alife/cn-i18n"),i=e("~common/const"),o=e("./index"),s=n.interopDefault(o);let c=new a.I18n({locale:s.default,packageName:"1688-extension",lang:i.DEFAULT_LANGUAGE});r.default=c},{"@alife/cn-i18n":"av6bo","~common/const":"bkfUq","./index":"4G19E","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],av6bo:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"langList",()=>a.langList),n.export(r,"zhLangList",()=>a.zhLangList),n.export(r,"getPackI18n",()=>i.getPackI18n),n.export(r,"getPackLocale",()=>i.getPackLocale),n.export(r,"I18n",()=>i.I18n),n.export(r,"setLang",()=>i.setLang),n.export(r,"setConfig",()=>o.setConfig),n.export(r,"pandaEvent",()=>o.pandaEvent),n.export(r,"i18nMapping",()=>o.i18nMapping),n.export(r,"getLang",()=>s.getLang),n.export(r,"getCurrentLang",()=>s.getCurrentLang),n.export(r,"getOSLang",()=>s.getOSLang),n.export(r,"langToShortLang",()=>s.langToShortLang),n.export(r,"formatLang",()=>s.formatLang),n.export(r,"getLangProfile",()=>s.getLangProfile),n.export(r,"getCurrentLangProfile",()=>s.getCurrentLangProfile),n.export(r,"setEnvLang",()=>s.setEnvLang),n.export(r,"setAllI18nLang",()=>s.setAllI18nLang),n.export(r,"getNavigatorLang",()=>s.getNavigatorLang),n.export(r,"keepCookieLang",()=>s.keepCookieLang),n.export(r,"isRTL",()=>s.isRTL),n.export(r,"setI18nCookie",()=>s.setI18nCookie);var a=e("./const"),i=e("./i18n"),o=e("./services"),s=e("./utils")},{"./const":"gX5sm","./i18n":"e3UMf","./services":"9cOkd","./utils":"dovfS","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],gX5sm:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"VERSION",()=>o);var a=e("./init"),i=e("./lang");n.exportAll(i,r),(0,a.init)();var o="0.3.21"},{"./init":"lkB04","./lang":"7BnPS","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lkB04:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"init",()=>i);var a=e("./globalThis");function i(){"object"!=typeof a.g.__PANDA&&(a.g.__PANDA={cookieKey:"x-hng",logLevel:2}),a.g.__PANDA.cookieKey=a.g.__PANDA.cookieKey||"x-hng",a.g.__PANDA.logLevel=Number.isInteger(a.g.__PANDA.logLevel)?a.g.__PANDA.logLevel:2,a.g._PANDA_I18N=a.g._PANDA_I18N||{},a.pandaSelf.debug="undefined"!=typeof location&&!!location.search&&a.isBrowser&&location.search.includes("panda_debug=")}},{"./globalThis":"Fl0kn","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],Fl0kn:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"g",()=>i),n.export(r,"pandaSelf",()=>o),n.export(r,"isBrowser",()=>s);var a=arguments[3],i="undefined"!=typeof window?window:void 0!==a?a:"undefined"!=typeof self?self:{},o={debug:!1},s="undefined"!=typeof window&&void 0!==window.document},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"7BnPS":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"_langList",()=>a),n.export(r,"langList",()=>i),n.export(r,"zhLangList",()=>o),n.export(r,"langMap",()=>s),n.export(r,"localLangMap",()=>c);var a=[{v:"zh-CN",a:"\u4e2d\u6587 (\u7b80\u4f53)",z:"\u4e2d\u6587 (\u7b80\u4f53)",s:["zh","zh-cn","zh-hans"]},{v:"en-US",a:"English",z:"\u82f1\u8bed",s:"en"},{v:"ja-JP",a:"\u65e5\u672c\u8a9e",z:"\u65e5\u672c\u8bed",s:"ja"},{v:"ru-RU",a:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",z:"\u4fc4\u8bed",s:"ru"},{v:"pt-PT",a:"Portugu\xeas (Portugal)",z:"\u8461\u8404\u7259\u8bed (\u8461\u8404\u7259)",s:"pt"},{v:"fr-FR",a:"Fran\xe7ais",z:"\u6cd5\u8bed",s:"fr"},{v:"es-ES",a:"Espa\xf1ol",z:"\u897f\u73ed\u7259\u8bed",s:"es"},{a:"\u4e2d\u6587 (\u9999\u6e2f)",v:"zh-HK",z:"\u4e2d\u6587 (\u9999\u6e2f)",l:["zh-TW","zh-CN"],s:["zh-hk","zh-hant-hk","zh-hant"]},{a:"\u4e2d\u6587 (\u7e41\u9ad4)",v:"zh-TW",z:"\u4e2d\u6587 (\u7e41\u4f53)",l:["zh-HK","zh-CN"],s:["zh-tw","zh-hant-tw"]},{a:"\ud55c\uad6d\uc5b4",v:"ko-KR",z:"\u97e9\u8bed",s:"ko"},{a:"T\xfcrk\xe7e",v:"tr-TR",z:"\u571f\u8033\u5176\u8bed",s:"tr"},{a:"Polski",v:"pl-PL",z:"\u6ce2\u5170\u8bed",s:"pl"},{a:"\u05e2\u05d1\u05e8\u05d9\u05ea",v:"he-IL",z:"\u5e0c\u4f2f\u6765\u8bed",l:["iw-IL"],s:"he"},{a:"\u05e2\u05d1\u05e8\u05d9\u05ea (\u05d9\u05e9\u05df)",v:"iw-IL",z:"\u5e0c\u4f2f\u6765\u8bed (\u4f20\u7edf)",l:["he-IL"],s:"iw"},{a:"Italiano",v:"it-IT",z:"\u610f\u5927\u5229\u8bed",s:"it"},{a:"\u0639\u0631\u0628\u064a\u0629",v:"ar-SA",z:"\u963f\u62c9\u4f2f\u8bed",s:"ar"},{a:"\u010ce\u0161tina",v:"cs-CZ",z:"\u6377\u514b\u8bed",s:"cs"},{a:"Dansk",v:"da-DK",z:"\u4e39\u9ea6\u8bed",s:"da"},{a:"Nederlands",v:"nl-NL",z:"\u8377\u5170\u8bed",s:"nl"},{a:"Deutsch",v:"de-DE",z:"\u5fb7\u8bed",s:"de"},{a:"\u0939\u093f\u0928\u094d\u0926\u0940",v:"hi-IN",z:"\u5370\u5730\u8bed",s:"hi"},{a:"Magyar",v:"hu-HU",z:"\u5308\u7259\u5229\u8bed",s:"hu"},{a:"Bahasa Melayu",v:"ms-MY",z:"\u9a6c\u6765\u8bed",s:"ms"},{a:"Bahasa Indonesia",v:"id-ID",z:"\u5370\u5c3c\u8bed",l:["in-ID"],s:"id"},{a:"Bahasa Indonesia (Tradisional)",v:"in-ID",z:"\u5370\u5c3c\u8bed (\u4f20\u7edf)",l:["id-ID"],s:"in"},{a:"Rom\xe2n\u0103",v:"ro-RO",z:"\u7f57\u9a6c\u5c3c\u4e9a\u8bed",s:"ro"},{a:"\u0421\u0440\u043f\u0441\u043a\u0438",v:"sr-SA",z:"\u585e\u5c14\u7ef4\u4e9a\u8bed",s:"sr"},{a:"Sloven\u010dina",v:"sk-SK",z:"\u65af\u6d1b\u4f10\u514b\u8bed",s:"sk"},{a:"Svenska",v:"sv-SE",z:"\u745e\u5178\u8bed",s:"sv"},{a:"\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22",v:"th-TH",z:"\u6cf0\u8bed",s:"th"},{a:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430",v:"uk-UA",z:"\u4e4c\u514b\u5170\u8bed",s:"uk"},{a:"Ti\u1ebfng Vi\u1ec7t",v:"vi-VN",z:"\u8d8a\u5357\u8bed",s:"vi"},{v:"pt-BR",a:"Portugu\xeas (Brasil)",z:"\u8461\u8404\u7259\u8bed (\u5df4\u897f)",s:"pt-br",l:["pt-PT"]},{v:"en-ID",a:"English (ID)",z:"\u82f1\u8bed (\u5370\u5ea6\u5c3c\u897f\u4e9a)",l:["en-US"],s:["en-id","en"]},{v:"en-MY",a:"English (MY)",z:"\u82f1\u8bed (\u9a6c\u6765\u897f\u4e9a)",l:["en-US"],s:["en-my","en"]},{v:"en-PH",a:"English (PH)",z:"\u82f1\u8bed (\u83f2\u5f8b\u5bbe)",l:["en-US"],s:["en-ph","en"]},{v:"en-SG",a:"English (SG)",z:"\u82f1\u8bed (\u65b0\u52a0\u5761)",l:["en-US"],s:["en-sg","en"]},{v:"en-TH",a:"English (TH)",z:"\u82f1\u8bed (\u6cf0\u56fd)",l:["en-US"],s:["en-th","en"]},{v:"en-VN",a:"English (VN)",z:"\u82f1\u8bed (\u8d8a\u5357)",l:["en-US"],s:["en-vn","en"]},{v:"es-MX",a:"Espa\xf1ol (Mexico)",z:"\u897f\u73ed\u7259\u8bed (\u58a8\u897f\u54e5)",l:["es-ES"],s:["es-mx","es"]},{v:"en-GB",a:"English (UK)",z:"\u82f1\u8bed (\u82f1\u56fd)",l:["en-US"],s:["en-gb","en"]},{v:"es-419",a:"Espa\xf1ol (Latinoam\xe9rica)",z:"\u897f\u73ed\u7259\u8bed (\u62c9\u4e01\u7f8e\u6d32)",l:["es-ES"],s:["es-419","es-la"]},{v:"el-GR",a:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac",z:"\u5e0c\u814a\u8bed",s:"el"},{v:"fr-CA",a:"Fran\xe7ais (Canada)",z:"\u6cd5\u8bed (\u52a0\u62ff\u5927)",l:["fr-FR"],s:["fr-ca","fr"]},{v:"bn-BD",a:"\u09ac\u09be\u0982\u09b2\u09be",z:"\u5b5f\u52a0\u62c9\u8bed",s:"bn"},{v:"ur-PK",a:"\u0627\u0631\u062f\u0648",z:"\u4e4c\u5c14\u90fd\u6587",s:"ur"},{v:"my-MM",a:"\u1019\u103c\u1014\u103a\u1019\u102c\u1018\u102c\u101e\u102c",z:"\u7f05\u7538\u8bed",s:"my"},{v:"lo-LA",a:"\u0e9e\u0eb2\u0eaa\u0eb2\u0ea5\u0eb2\u0ea7",z:"\u8001\u631d\u8bed",s:"lo"},{v:"fa-IR",a:"\u0641\u0627\u0631\u0633\u06cc",z:"\u6ce2\u65af\u8bed",s:"fa"},{v:"uz-UZ",a:"O\u2018zbek",z:"\u4e4c\u5179\u522b\u514b\u8bed",s:"uz"},{v:"tl-PH",a:"Filipino",z:"\u83f2\u5f8b\u5bbe\u8bed",s:["tl","fil"]},{v:"ne-NE",a:"\u0928\u0947\u092a\u093e\u0932\u0940",z:"\u5c3c\u6cca\u5c14\u8bed",s:"ne"},{v:"si-LK",a:"\u0dc3\u0dd2\u0d82\u0dc4\u0dbd",z:"\u50e7\u4f3d\u7f57\u8bed",s:"si"}],i=[],o=[],s={};a.forEach(function(e){var t=e.v.charAt(0).toUpperCase()+e.v.charAt(1);i.push({label:e.a,value:e.v,alias:t}),o.push({label:e.z,value:e.v,alias:t}),s[e.v]=e});var c={es:"es-ES",en:"en-US",pt:"pt-PT",fr:"fr-FR",nl:"nl-NL",ar:"ar-SA",de:"de-DE",ru:"ru-RU"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],e3UMf:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getPackI18n",()=>a.getPackI18n),n.export(r,"getPackLocale",()=>a.getPackLocale),n.export(r,"I18n",()=>i.I18n),n.export(r,"init",()=>i.init),n.export(r,"setLang",()=>i.setLang);var a=e("./pack"),i=e("./i18n")},{"./pack":"lM2ZS","./i18n":"l4OxM","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lM2ZS:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getPackLocale",()=>o),n.export(r,"getPackI18n",()=>s);var a=e("../utils/lodash"),i=e("./i18n"),o=function(e){var t,r,n,i,o,s,c=e.packId,u=e.packVersion,l=e.env,f=e.isDaily;return fetch((r=(t={packId:c,packVersion:u,env:void 0===l?"pre":l,isDaily:void 0!==f&&f}).packId,n=t.packVersion,i=t.env,o=t.isDaily,s={"pack-daily":"https://assets-daily.cainiao-inc.com","pack-prod":"https://cn.alicdn.com"},"".concat("pre"===(void 0===i?"pre":i)?s["pack-daily"]:s["pack-prod"],"/upload/pack/").concat(r).concat(void 0!==o&&o?".daily":"").concat(n?"/".concat(n):"","/lang.js"))).then(function(e){return e.text()},function(){return""}).then(function(e){if(!e)return null;var t=e.substring(e.indexOf("const content =")+16,e.includes(";const exui")?e.indexOf(";const exui"):e.indexOf(";if(window._PANDA_I18N)"));if(!t)return null;try{var r=(0,a.mapKeys)(JSON.parse(t),function(e,t){return t.replace("_","-")});return(0,a.mapValues)(r,function(e){return e?(0,a.mapValues)(e.copyList,function(e){return e.content}):{}})}catch(e){return{}}})},s=function(e){var t=e.packId,r=e.packVersion,n=e.env;return o({packId:t,packVersion:r,env:void 0===n?"pre":n}).then(function(e){return e?(0,i.init)({locale:e}):null})}},{"../utils/lodash":"hf6NB","./i18n":"l4OxM","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],hf6NB:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"merge",()=>function e(t){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];if(!n.length)return t;var s=n.shift();if(o(t)&&o(s))for(var c in s)o(s[c])?(o(t[c])||(t[c]={}),e(t[c],s[c])):t[c]=s[c];return e.apply(void 0,[t].concat((0,i._)(n)))}),n.export(r,"mapValues",()=>s),n.export(r,"mapKeys",()=>c),n.export(r,"forEach",()=>u),n.export(r,"isEmpty",()=>l);var a=e("@swc/helpers/_/_instanceof"),i=e("@swc/helpers/_/_to_consumable_array");function o(e){return null!==e&&"object"==typeof e}function s(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=t(e[n],n));return r}function c(e,t){return Object.keys(e).reduce(function(r,n){return r[t(e[n],n)]=e[n],r},{})}function u(e,t){if(Array.isArray(e))for(var r=0;r<e.length&&!1!==t(e[r],r.toString());r++);else{var n=Object.keys(e),a=!0,i=!1,o=void 0;try{for(var s,c=n[Symbol.iterator]();!(a=(s=c.next()).done);a=!0){var u=s.value;if(!1===t(e[u],u))break}}catch(e){i=!0,o=e}finally{try{a||null==c.return||c.return()}finally{if(i)throw o}}}}function l(e){return null==e||("string"==typeof e||Array.isArray(e)?0===e.length:"object"==typeof e?0===Object.keys(e).length:!!((0,a._)(e,Map)||(0,a._)(e,Set))&&0===e.size)}},{"@swc/helpers/_/_instanceof":"9c3DV","@swc/helpers/_/_to_consumable_array":"2Cb2m","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],l4OxM:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"setLang",()=>h),n.export(r,"init",()=>v),n.export(r,"I18n",()=>p);var a=e("@swc/helpers/_/_class_call_check"),i=e("@swc/helpers/_/_create_class"),o=e("@swc/helpers/_/_define_property"),s=e("@swc/helpers/_/_object_spread"),c=e("../utils/lodash"),u=e("../utils/StringFomat"),l=e("../utils"),f=e("../services"),d=e("../const/globalThis");function h(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var r=(0,l.formatLang)(e);(0,l.setCookieLang)(r),(0,l.debugInfo)("Set lang to ".concat(r)),t&&(0,f.pandaEvent).emit("CHANGE_LANG",r)}}var p=function(){function e(t){var r=this;if((0,a._)(this,e),(0,o._)(this,"locale",{}),(0,o._)(this,"currentLang",""),(0,o._)(this,"componentName",""),(0,o._)(this,"packageName",""),(0,o._)(this,"type",void 0),(0,o._)(this,"name",void 0),(0,o._)(this,"customLang",void 0),(0,o._)(this,"setConfig",f.setConfig),(0,o._)(this,"isRTL",function(){return(0,l.isRTL)(r.currentLang)}),this.componentName=(null==t?void 0:t.componentName)||"",this.type=null==t?void 0:t.type,this.packageName=(null==t?void 0:t.packageName)||"",this.name=this.componentName?"".concat(this.componentName,".").concat(this.packageName&&(null==t?void 0:t.name)?t.name:(0,l.getRandomKey)()):(0,l.getRandomKey)(),(null==t?void 0:t.lang)&&(this.customLang=t.lang),null==t?void 0:t.locale){this.locale=this.componentName?(0,c.mapValues)(t.locale,function(e){return(null==e?void 0:e[r.componentName])||e||{}}):t.locale;var n=this.componentName||this.packageName;d.g._PANDA_EXUI&&Object.keys(d.g._PANDA_EXUI).forEach(function(e){d.g._PANDA_EXUI&&d.g._PANDA_EXUI[e][n]&&(r.locale[e]=r.locale[e]?(0,c.merge)(r.locale[e],d.g._PANDA_EXUI[e][n]):d.g._PANDA_EXUI[e][n])})}else this.locale=(0,l.convertPandaI18nFormatToLocalResource)(d.g._PANDA_I18N);this.currentLang=(null==t?void 0:t.lang)||(0,l.getLang)(),(0,f.pandaEvent).on("CHANGE_LANG",function(e){r.customLang||(r.currentLang=e)}),(0,u.initial)(this.locale,{name:this.name,lang:this.customLang,packageName:this.packageName,$i18n:this})}return(0,i._)(e,[{key:"init",value:function(t){return new e(Object.assign((0,s._)({},t),{packageName:(null==t?void 0:t.packageName)||this.packageName,type:(null==t?void 0:t.type)||this.type,name:this.name}))}},{key:"change",value:function(e){(0,l.warn)("Pls use $i18n.setLang instead!"),this.setLang(e)}},{key:"setLang",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(e,t),this.currentLang=(0,l.formatLang)(e)}},{key:"getLang",value:function(){return this.currentLang}},{key:"get",value:function(e,t){var r,n="string"==typeof e,a=n?null==e?void 0:e.trim():null===(r=e.id)||void 0===r?void 0:r.trim(),i=n?e:e.dm,o=n?this.componentName:e.ns||this.componentName,s=!n&&e.lang?e.lang:this.currentLang,c=!n&&!!(null==e?void 0:e.pure);return(0,u.format)({id:a,defaultMessage:i},t||null,{name:this.name,type:this.type,nameSpace:o,lang:s,pure:c})}},{key:"addLocale",value:function(e){this.locale=(0,c.merge)(this.locale,e),(0,u.setLocaleToInstance)(this.locale,this.name)}},{key:"setLocale",value:function(e,t){this.locale=e,this.packageName=t||(0,l.getRandomKey)(),(0,u.setLocaleToInstance)(this.locale,this.name)}},{key:"addLocaleByKey",value:function(e){var t=this;(0,c.forEach)(e,function(e,r){(0,c.forEach)(e,function(e,n){t.locale[n]=t.locale[n]||{},t.locale[n][r]=e})}),(0,u.setLocaleToInstance)(this.locale,this.name)}},{key:"reloadPackLocale",value:function(){this.addLocale((0,l.convertPandaI18nFormatToLocalResource)(d.g._PANDA_I18N))}},{key:"setCustomLang",value:function(e){this.currentLang=e,this.customLang=e}},{key:"getLocaleByKey",value:function(e){var t={};return(0,c.forEach)(this.locale,function(r,n){t[n]=r[e]||""}),t}},{key:"initLowcode",value:function(){d.g.$i18n_lowcode=this}},{key:"lockOSLang",value:function(){var e=(0,l.getOSLang)();e&&this.setCustomLang(e)}},{key:"__setType",value:function(e){this.type=e}},{key:"initPackage",value:function(e){var t=e.name,r=e.locales,n=this;if(r){var a={};Object.values(r).forEach(function(e){Object.keys(e).forEach(function(i){"string"==typeof e[i]?(0,l.error)("no support locales type"):a[i]||(a[i]=n.init({componentName:i,locale:r,packageName:t}))})})}}}]),e}(),v=function(e){return new p(e)}},{"@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","@swc/helpers/_/_object_spread":"fzj09","../utils/lodash":"hf6NB","../utils/StringFomat":"kkitD","../utils":"dovfS","../services":"9cOkd","../const/globalThis":"Fl0kn","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],kkitD:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"initial",()=>c),n.export(r,"format",()=>u),n.export(r,"setLocaleToInstance",()=>l);var a=e("./string-format"),i=e("../index"),o=e("../../services"),s=e("../../const/globalThis");function c(e,t){var r=t.name,n=t.lang,i=t.packageName,o=t.$i18n;s.g.__PANDA_INSTANCES=s.g.__PANDA_INSTANCES||{},s.g.__PANDA_INSTANCES[r]=new a.StringFormat({locale:e,lang:n,$i18n:o,packageName:i})}function u(e,t,r){var n=r||{},c=n.name,u=n.nameSpace,l=n.lang,f=n.type,d=n.pure,h=s.g.__PANDA_INSTANCES||{},p=null;if(!u||u===c||c.includes(".")&&h[c])p=h[c];else{var v=Object.keys(h),m=v.find(function(e){return e.startsWith(u+"."+c)})||v.find(function(e){return e.startsWith(u+".")});p=m?h[m]:null}if(!p)return(0,i.debugInfo)("No translation found: ".concat(c," : ").concat(e.id)),(0,a.formatMessage)(e.defaultMessage||e.id||"",t);var g=p.format2?p.format2(e,t,r):{message:p.format(e,t,r),usedLang:l,isMatched:!0},b=g.message,y=g.usedLang,_=g.isMatched;if((s.g.__PANDA.isI18nPdkv||s.pandaSelf.debug)&&!d){var w,S,E,k,I=u||(c.includes(".")?c.split(".")[0]:""),x=I?"":null===(k=s.g._PANDA_I18N)||void 0===k?void 0:null===(E=k[y.replace("-","_")])||void 0===E?void 0:null===(S=E.copyList)||void 0===S?void 0:null===(w=S[e.id])||void 0===w?void 0:w.packId;return(0,o.i18nMapping).encrypt(b,{copyKey:e.id,type:f,componentName:I,packageName:p.packageName,packId:x,isMatched:_})}return b}function l(e,t){var r=(s.g.__PANDA_INSTANCES||{})[t];if(!r){(0,i.debugInfo)("No $i18n instance found"),(0,i.debugError)({instanceName:t});return}r.setLocale(e)}},{"./string-format":"4ampO","../index":"dovfS","../../services":"9cOkd","../../const/globalThis":"Fl0kn","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"4ampO":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"formatMessage",()=>d),n.export(r,"StringFormat",()=>h);var a=e("@swc/helpers/_/_class_call_check"),i=e("@swc/helpers/_/_create_class"),o=e("@swc/helpers/_/_define_property"),s=e("../index"),c=e("../../const/lang"),u=e("../../const"),l=e("../../services"),f=e("../../const/globalThis");function d(e,t){if(t&&Object.keys(t).length>0){var r=e;return Object.keys(t).forEach(function(e){var n=RegExp("{".concat(e,"}"),"g"),a="object"==typeof t[e]||void 0===t[e]?"":t[e].toString();r=r.replace(n,(0,l.i18nMapping).getOriginalCopy(a))}),r}return e}var h=function(){function e(t){var r=t.locale,n=t.lang,i=t.packageName,s=t.$i18n;(0,a._)(this,e),(0,o._)(this,"locale",void 0),(0,o._)(this,"lang",void 0),(0,o._)(this,"packageName",void 0),(0,o._)(this,"$i18n",void 0),(0,o._)(this,"version",u.VERSION),this.locale=r,this.lang=n,this.$i18n=s,this.packageName=i}return(0,i._)(e,[{key:"format2",value:function(e,t,r){var n=this,a=null==r?void 0:r.lang,i="",o=a,u=!1,l=e.defaultMessage||"";try{var h=(null===(p=this.locale[a])||void 0===p?void 0:p[e.id])||"";if(h&&(u=!0),!h&&(null===(v=c.langMap[a])||void 0===v?void 0:v.l)&&(0,c.langMap)[a].l.find(function(t){var r,a;return null!==(r=n.locale[t])&&void 0!==r&&!!r[e.id]&&(h=(null===(a=n.locale[t])||void 0===a?void 0:a[e.id])||"",o=t)}),!h&&!c.langMap[a]){var p,v,m,g,b=c.localLangMap[a.split("-")[0]];b&&(null===(m=this.locale[b])||void 0===m?void 0:m[e.id])&&(h=(null===(g=this.locale[b])||void 0===g?void 0:g[e.id])||"",o=b)}!h&&f.g.__PANDA.langList&&(0,f.g).__PANDA.langList.find(function(t){var r,a;return null!==(r=n.locale[t])&&void 0!==r&&!!r[e.id]&&(h=(null===(a=n.locale[t])||void 0===a?void 0:a[e.id])||"",o=t)}),h=h||l,i=d(h,t)}catch(t){var y="string"==typeof t?t:"Unknown error";(0,s.error)("".concat(e.id," for ").concat(a," failed: \n").concat(y)),(0,s.debugError)(t)}return{message:i||l||e.id||"",usedLang:o,isMatched:u}}},{key:"format",value:function(e,t,r){return this.format2(e,t,r).message}},{key:"setLocale",value:function(e){this.locale=e}}]),e}()},{"@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","../index":"dovfS","../../const/lang":"7BnPS","../../const":"gX5sm","../../services":"9cOkd","../../const/globalThis":"Fl0kn","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],dovfS:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getOSLang",()=>l),n.export(r,"getLangProfile",()=>f),n.export(r,"getLang",()=>d),n.export(r,"formatLang",()=>h),n.export(r,"getCurrentLang",()=>p),n.export(r,"getCurrentLangProfile",()=>v),n.export(r,"getRandomKey",()=>m),n.export(r,"inLang",()=>g),n.export(r,"convertPandaI18nFormatToLocalResource",()=>b),n.export(r,"setCookieLang",()=>y),n.export(r,"setI18nCookie",()=>_),n.export(r,"getXhngCookieLang",()=>w),n.export(r,"getNavigatorLang",()=>S),n.export(r,"langToShortLang",()=>E),n.export(r,"setEnvLang",()=>k),n.export(r,"setAllI18nLang",()=>I),n.export(r,"keepCookieLang",()=>x),n.export(r,"isRTL",()=>O);var a=e("@swc/helpers/_/_sliced_to_array"),i=e("./lodash"),o=e("../const/lang"),s=e("./cookie"),c=e("./log"),u=e("../const/globalThis");n.exportAll(c,r);var l=function(){var e,t;return null===(t=u.g._GATEWAY_PF)||void 0===t?void 0:null===(e=t.userPreference)||void 0===e?void 0:e.lang},f=function(){var e,t,r=(null===(e=u.g.__PANDA)||void 0===e?void 0:e.cookieKey)||"x-hng",n=(0,a._)(function(){if(u.g.__PANDA_LANG)return["env",u.g.__PANDA_LANG];var e,t=function(){if("undefined"!=typeof location&&location.search&&u.isBrowser){var e=new URLSearchParams(location.search).get("lang");if(e){var t=h(e);if(g(t))return t}}return null}();if(t)return["search",t];if(l())return["os",l()];var n="x-hng"===r,a=n?void 0:(0,s.getCookie)(r);if(a)return["cookie",a];var i=n&&u.isBrowser?w():null;if(i)return["cookie",i];if(null===(e=u.g.__PANDA)||void 0===e?void 0:e.defaultLang)return["default",u.g.__PANDA.defaultLang];var o=S();return o?["navigator",o]:["fallback","zh-CN"]}(),2),i=n[0],o=n[1],f="string"==typeof o?h(o):"zh-CN",d=(null===(t=u.g.__PANDA)||void 0===t?void 0:t.langList)||null;d&&!d.includes(f)&&(f=d[0]);var p={langList:d,envLang:o,lang:f,type:i,cookieKey:r};return(0,c.isDebugConsole)()&&(0,c.debugInfo)("langProfile >>> lang: ".concat(p.lang," type: ").concat(p.type," cookieKey: ").concat(p.cookieKey," envLang: ").concat(p.envLang," langList: ").concat(d?d.join(","):"null")),p},d=function(){return f().lang},h=function(e){if("string"!=typeof e)return d();var t,r,n=e.replace("_","-").toLowerCase();e=n;var i=n,s="";n.includes("-")&&(i=(r=(0,a._)(n.split("-"),2))[0],s=r[1],e="".concat(i,"-").concat(null===(t=s)||void 0===t?void 0:t.toUpperCase()));var c=(0,o._langList).find(function(t){return t.v===e||("string"==typeof t.s?t.s===n:t.s.includes(n))});return c?c.v:o.localLangMap[i]?o.localLangMap[i]:e},p=d,v=f;function m(){return Math.random().toString(36).slice(2)}function g(e){return e&&/^[a-z]{2}(-[a-zA-Z0-9]{1,4})?$/.test(e)}function b(e){var t={};return(0,i.forEach)(e,function(e,r){t[h(r)]=(0,i.mapValues)(e.copyList,function(e){return e.content})}),t}function y(e){u.isBrowser&&("x-hng"===u.g.__PANDA.cookieKey?_("lang",e):(0,s.setCookie)(u.g.__PANDA.cookieKey,e))}function _(e,t){var r=new URLSearchParams((0,s.getCookie)("x-hng"));r.set(e,t),r.set("domain",location.hostname),null===r.get("lang")&&r.set("lang",d()),(0,s.setCookie)("x-hng",r.toString())}function w(){return new URLSearchParams((0,s.getCookie)("x-hng")).get("lang")}function S(){if("undefined"!=typeof navigator&&navigator.language&&navigator.userAgent){var e=navigator.language;if(navigator.userAgent.includes("DingTalk")){var t=navigator.userAgent.match(/language\/([a-zA-Z-]+)/);t&&(null==t?void 0:t[1])&&(e=t[1])}var r=h(e);return g(r)?r:navigator.languages.find(function(e){return g(e)})||"zh-CN"}return"zh-CN"}function E(e){var t=(0,o._langList).find(function(t){return t.v===e});return t?"string"==typeof t.s?t.s:t.s[0]:e.split("-")[0].toLocaleLowerCase()}function k(e){u.g.__PANDA_LANG=e}function I(e){Object.values(u.g.__PANDA_INSTANCES).forEach(function(t){var r=t.$i18n||null;r&&!r.customLang&&(r.currentLang=e)})}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d();"x-hng"!==u.g.__PANDA.cookieKey||(0,s.getCookie)("x-hng")||((0,c.debugInfo)("set cookie lang: ".concat(e)),y(e))}function O(e){return!!u.isBrowser&&"rtl"===document.dir||!!e&&["ar","he","iw","fa","ur"].includes(e.split("-")[0])}},{"@swc/helpers/_/_sliced_to_array":"kkUMi","./lodash":"hf6NB","../const/lang":"7BnPS","./cookie":"khiFS","./log":"aMaj9","../const/globalThis":"Fl0kn","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],khiFS:[function(e,t,r){var n,a,i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"setCookie",()=>s),i.export(r,"getCookie",()=>c);var o=e("../const/globalThis");function s(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.path,a=void 0===n?"/":n,i=r.domain,s=r.expires,c=r.maxAge,u=void 0===c?2592e3:c,l=r.secure,f=r.sameSite;if(e){t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[()]/g,escape);var d=[];a&&d.push("path=".concat(a)),i&&d.push("domain=".concat(i)),s&&d.push("expires=".concat(s)),u&&d.push("max-age=".concat(u)),l&&d.push("secure"),f&&d.push("samesite=".concat(f)),o.isBrowser&&(document.cookie="".concat(e,"=").concat(t,";").concat(d.join(";")))}}function c(e){if(o.isBrowser){var t=(null===(c=document.cookie)||void 0===c?void 0:c.split("; "))||[],r=/(%[0-9A-Z]{2})+/g,n="domain=".concat(location.hostname);t.sort(function(e){return e.includes(n)?-1:0});var a=!0,i=!1,s=void 0;try{for(var c,u,l=t[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var f=u.value.split("=");try{if(e===f[0].replace(r,decodeURIComponent))return f.slice(1).join("=").replace(r,decodeURIComponent)}catch(e){}}}catch(e){i=!0,s=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw s}}}return""}(n=a||(a={})).strict="strict",n.lax="lax"},{"../const/globalThis":"Fl0kn","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],aMaj9:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"warn",()=>i),n.export(r,"error",()=>o),n.export(r,"debugInfo",()=>s),n.export(r,"debugError",()=>c),n.export(r,"isDebugConsole",()=>u);var a=e("../const/globalThis"),i=function(e){var t;"undefined"!=typeof console&&(null===(t=a.g.__PANDA)||void 0===t?void 0:t.logLevel)>=2&&console.warn("[panda-log] Warn: ".concat(e))},o=function(e){var t;"undefined"!=typeof console&&(null===(t=a.g.__PANDA)||void 0===t?void 0:t.logLevel)>=1&&console.error("[panda-log] Error: ".concat(e))},s=function(e){"undefined"!=typeof console&&a.pandaSelf.debug&&console.error("[panda-log] Debug: ".concat(e))},c=function(e){"undefined"!=typeof console&&a.pandaSelf.debug&&console.error("[panda-log] Error: ".concat(e))},u=function(){return"undefined"!=typeof console&&a.pandaSelf.debug}},{"../const/globalThis":"Fl0kn","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"9cOkd":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"i18nMapping",()=>c.i18nMapping),n.export(r,"setConfig",()=>u),n.export(r,"pandaEvent",()=>l);var a=e("./broadcast"),i=e("./eventbus"),o=e("../utils/log"),s=e("../const/globalThis"),c=e("./mapping");function u(e){(null==e?void 0:e.cookieKey)&&(s.g.__PANDA.cookieKey=e.cookieKey,(0,o.debugInfo)("setConfig cookieKey: ".concat(e.cookieKey))),e&&void 0!==e.logLevel&&(s.g.__PANDA.logLevel=e.logLevel),(null==e?void 0:e.langList)&&(s.g.__PANDA.langList=e.langList,(0,o.debugInfo)("setConfig langList: ".concat(JSON.stringify(e.langList)))),(null==e?void 0:e.defaultLang)&&(s.g.__PANDA.defaultLang=e.defaultLang,(0,o.debugInfo)("setConfig defaultLang: ".concat(e.defaultLang)))}var l="function"==typeof BroadcastChannel?new a.Broadcast:new i.EventBus},{"./broadcast":"3fvMg","./eventbus":"7GGuC","../utils/log":"aMaj9","../const/globalThis":"Fl0kn","./mapping":"356lz","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"3fvMg":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"Broadcast",()=>c);var a=e("@swc/helpers/_/_class_call_check"),i=e("@swc/helpers/_/_create_class"),o=e("@swc/helpers/_/_define_property"),s=e("../utils"),c=function(){function e(){var t=this;(0,a._)(this,e),(0,o._)(this,"broadcast",void 0),(0,o._)(this,"eventBus",{}),(0,o._)(this,"handleMap",{});var r="Panda_Broadcast_Channel";this.broadcast=new BroadcastChannel(r),new BroadcastChannel(r).onmessage=function(e){var r=e.data,n=r.event,a=r.data;n&&t.eventBus[n]&&Object.keys(t.eventBus[n]).forEach(function(e){t.eventBus[n][e](a)})}}return(0,i._)(e,[{key:"on",value:function(e,t){this.eventBus[e]||(this.eventBus[e]={});var r=(0,s.getRandomKey)();return this.eventBus[e][r]=t,this.handleMap[r]=e,r}},{key:"emit",value:function(e,t){this.broadcast.postMessage({event:e,data:t})}},{key:"off",value:function(e){if(this.eventBus[e])delete this.eventBus[e];else{var t=this.handleMap[e];t&&(delete this.eventBus[t][e],delete this.handleMap[e])}}}]),e}()},{"@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","../utils":"dovfS","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"7GGuC":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"EventBus",()=>c);var a=e("@swc/helpers/_/_class_call_check"),i=e("@swc/helpers/_/_create_class"),o=e("@swc/helpers/_/_define_property"),s=e("../utils"),c=function(){function e(){(0,a._)(this,e),(0,o._)(this,"eventBus",{}),(0,o._)(this,"handleMap",{})}return(0,i._)(e,[{key:"emit",value:function(e,t){var r=this;this.eventBus[e]&&Object.keys(this.eventBus[e]).forEach(function(n){r.eventBus[e][n](t)})}},{key:"off",value:function(e){if(this.eventBus[e])delete this.eventBus[e];else{var t=this.handleMap[e];t&&(delete this.eventBus[t][e],delete this.handleMap[e])}}},{key:"on",value:function(e,t){this.eventBus[e]||(this.eventBus[e]={});var r=(0,s.getRandomKey)();return this.eventBus[e][r]=t,this.handleMap[r]=e,r}}]),e}()},{"@swc/helpers/_/_class_call_check":"05bL4","@swc/helpers/_/_create_class":"5DxXH","@swc/helpers/_/_define_property":"dDgsd","../utils":"dovfS","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"356lz":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"i18nMapping",()=>p);var a=e("@swc/helpers/_/_instanceof"),i=e("@swc/helpers/_/_sliced_to_array"),o=e("../const/globalThis");o.g.__I18N_CACHED||(o.g.__I18N_CACHED={});var s=o.g.__I18N_CACHED;s.PACKID_LIST=s.PACKID_LIST||[],s.INDEX=s.INDEX||0,s.KEY_MAP=s.KEY_MAP||{},s.VK_MAP=(0,a._)(s.VK_MAP,Map)?s.VK_MAP:new Map;var c={"#":"\u206f",1:"\u202a",2:"\u200e",3:"\u2066",4:"\u2068",5:"\u2061",6:"\u2062",7:"\u2063",8:"\u2064",9:"\u2065",0:"\u206e"},u={"\u206f":"#","\u202a":"1","\u200e":"2","\u2066":"3","\u2068":"4","\u2061":"5","\u2062":"6","\u2063":"7","\u2064":"8","\u2065":"9","\u206e":"0"},l=/[\u206F\u202A\u200E\u2066\u2068\u2061\u2062\u2063\u2064\u2065\u206E]/g;function f(e){var t,r,n,a=(0,i._)((t={},r=[],["copyKey","packId","type","componentName","isMatched","packageName"].forEach(function(n){e[n]&&(t[n]=e[n],r.push("".concat(n,":").concat(e[n].toString())))}),[t,r.join(";")]),2),s=a[0],c=a[1];return(0,o.g).__I18N_CACHED.VK_MAP.has(c)?n=(0,o.g).__I18N_CACHED.VK_MAP.get(c)||"":(n=++o.g.__I18N_CACHED.INDEX,(0,o.g).__I18N_CACHED.VK_MAP.set(c,n),o.g.__I18N_CACHED.KEY_MAP[n]=s),h(n)}function d(e){var t;return(null===(t=o.g.__I18N_CACHED.KEY_MAP)||void 0===t?void 0:t[e])||null}function h(e){return e.toString().split("").map(function(e){return c[e]}).join("")}var p={set:f,get:d,decode:h,encode:function(e){return e.split("").map(function(e){return c[e]}).join("")},encrypt:function(e,t){return"\u206f\u206f".concat(e,"\u206f\u206f").concat(f(t),"\u206f\u206f")},decrypt:function(e){if(e.includes("\u206f\u206f")){var t=e.split("\u206f\u206f");return{copy:e.replace(l,""),info:t.length>=4?d(t[2].split("").map(function(e){return u[e]}).join("")):null}}return{copy:e,info:null}},getOriginalCopy:function(e){return e.includes("\u206f")?e.replace(l,""):e}}},{"@swc/helpers/_/_instanceof":"9c3DV","@swc/helpers/_/_sliced_to_array":"kkUMi","../const/globalThis":"Fl0kn","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"4G19E":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("./en-US.json"),i=n.interopDefault(a),o=e("./zh-CN.json"),s=n.interopDefault(o);r.default={"en-US":i.default,"zh-CN":s.default}},{"./en-US.json":"9FqAC","./zh-CN.json":"4PuJ3","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"9FqAC":[function(e,t,r){t.exports=JSON.parse('{"Copy":"Copy","WordsSearchForGoods":"Search","Translation":"Translate","Setting":"Setting","HideForThisVisitOnly":"Hide for this visit only","PermanentlyHide":"Permanently Hide","FunctionSwitch":"Function switch","TextCopiedToClipboard":"Text copied to clipboard","CopyFailedPleaseTryAgain":"Copy failed, please try again","TheTranslationFeatureIsHiddenFor_1959510966":"The translation feature is hidden for this site","TranslationFunctionHasBeenPerman_2046219140":"Translation function has been permanently hidden","TranslationBubbles":"Translation Bubbles","OpeningSettings":"Opening Settings...","PleaseSelectTheTextToSearchFirst":"Please select the text to search first","AutomaticDetection":"Automatic Detection","SimplifiedChinese":"Simplified Chinese\uff08\u7b80\u4f53\u4e2d\u6587\uff09","TraditionalChinese":"Traditional Chinese\uff08\u7e41\u9ad4\u4e2d\u6587\uff09","English":"English","Japanese":"Japanese\uff08\u65e5\u672c\u8a9e\uff09","Korean":"Korean\uff08\ud55c\uad6d\uc5b4\uff09","Vietnamese":"Vietnamese\uff08Ti\u1ebfng Vi\u1ec7t\uff09","Thai":"Thai\uff08\u0e44\u0e17\u0e22\uff09","French":"French\uff08Fran\xe7ais\uff09","Spanish":"Spanish\uff08Espa\xf1ol\uff09","German":"German\uff08Deutsch\uff09","Italian":"Italian\uff08Italiano\uff09","Portuguese":"Portuguese\uff08Portugu\xeas\uff09","Russian":"Russian\uff08\u0420\u0443\u0441\u0441\u043a\u0438\u0439\uff09","Arabic":"Arabic\uff08\u0627\u0644\u0639\u0631\u0628\u064a\u0629\uff09","Dutch":"Dutch\uff08Nederlands\uff09","Turkish":"Turkish\uff08T\xfcrk\xe7e\uff09","Hebrew":"Hebrew\uff08\u05e2\u05d1\u05e8\u05d9\u05ea\uff09","Indonesian":"Indonesian\uff08Bahasa Indonesia\uff09","Polish":"Polish\uff08Polski\uff09","Hindi":"Hindi\uff08\u0939\u093f\u0928\u094d\u0926\u0940\uff09","LanguageDetected":"Language Detected","Translation.RVkbS":"Translation","InTranslation":"In translation...","TranslationFailedPleaseTryAgain":"Translation failed, please try again","TranslationForThisLanguageIsNotC_60246052":"Translation for this language is not currently supported. Please select another language.","RepeatedPluginInstallationRemind_117608394":"Repeated plugin installation detected","PleaseRemoveTheOldVersionOfThe16_560388793":"Please remove the old version.","ProcessNow":"Process Now","YuanRedEnvelope":"Yuan red envelope","AccountReceived":"Account received","ToUse":"To use","LessThan1Minute":"Less than 1 minute","Days":"{days} days ","HoursMinutes":"{hours} hours {minutes} minutes","ThePluginHasBeenUpdated":"The plugin has been updated","OneclickPriceComparisonIsMoreCon_310935157":"One-click price comparison is more convenient","Update":"Update","SettingsPageLanguageHasBeenUpdat_1985874559":"Settings page language has been updated","RefreshToGetTheLatestLanguage":"Refresh to get the latest language","MainstreamEcommerceWebsitesOnecl_1617782527":"Popular E-commerce Sites: One-Click Price Comparison","CommoditySalesTrendsBusinessOppo_842906622":"Sales Trends at a Glance: Spot Business Opportunities","WangWangTransactionNewsAndReachT_2037471374":"Wangwang Transaction Alerts: Stay Updated on Your Desktop","RichSettingsOptionsFeaturesPriva_1911099660":"Customizable Features with Rich Settings Options","UseTheQuestionAnswerWelcomeToThe_1046827816":"Join Our Group for Q&A and Feedback","Confirm":"Confirm","1688PurchasingAssistantLatestEdi_885150030":"1688 Purchasing Assistant Latest Edition","UpdatedTheFollowing":"Recent Updates","StartUsing":"Explore Now","SubmitFeedback":"Submit Feedback","Submitting":"Submitting...","SubmittedSuccessfully":"Feedback submitted successfully","SubmittedSuccessfullyClickToFeed_1646190734":"Submitted successfully, click to feedback again","FailedToSubmitPleaseClickRetry":"Failed to submit, please click Retry","PleaseDoNotRepeatTheSubmission":"Please do not repeat the submission","AnExceptionIsDetectedInTheCurren_673713385":"An exception is detected in the current environment. Please refresh the page first","YouHaventFilledInTheFeedbackCont_307031947":"You haven\'t filled in the feedback content yet. Your Note can help us better understand your problem!","CommentsSuggestionsFeedback":"Feedback and Suggestions","FillInTheProblemsEncounteredcomm_1086713756":"Please share any issues encountered or suggestions here.","UploadImage":"Upload image","AKeyScreenshotHelpYouFindTheSame":"Take a screenshot to easily find the best prices on similar products.","ClickSearchToComparePricesImmedi_1389529448":"Enter the product you want","SearchForMoneyWithPictures":"Look up products with a photo","OneClickScreenshot":"Take a screenshot ","OneClickImageUpload":"Upload your image here!","TheSameSupplyImmediatePriceCompa_520724003":"Find similar products and compare prices instantly.","TheNewVersionIsReadyForImmediate_632800053":"The new version is available for instant update.","SettingLink":"setting ","CommonFunctionSwitchSettings":"Settings for Common Features","AliWangwang":"Ali Wangwang","FactoryDirectorOnlineWangWangInq_841029724":"Factory Manager Available for Inquiries on Wangwang","Screenshot":"Screenshot","OneClickScreenshotWithPriceCompa_1448440513":"One-Click Screenshot to Compare Prices","PriceComparison":"Price comparison","AiChat":"AI Chat","AiChatTips":"AI Chat Tips","TheSameLowPriceToHelpYouFind":"Helping You Find the Best Deals on Similar Products","ReadyForPickUp":"Ready for Pick Up","PendingPayment":"Pending Payment","ReadyForDelivery":"Ready for Delivery","TheSessionDoesNotExist":"The session does not exist","OnlyThisBrowsingIsClosed":"Close for This Session","PermanentlyCloseThisPageBuoy":"Permanently Close","UsingShortcutKeys":"Use the shortcut ","RapidArousal":" to quickly activate the Floating Action Button.","Page":"page.","OrReenableIn":"Alternatively, allow the Floating Action Button to appear on the ","NotSet":"Not set","UseHelp":"Use Help:","PluginsCanUseShortcutScreenshots_796490814":"Plug-ins can use shortcut screenshots, you can also customize>","GeneralSettings":" General Settings","PluginBuoy":" Floating action button","WhetherToDisplayThePluginBuoyInT_1809048044":"Note: This option controls whether to display floating action button for image searching on the webpage.","FigureSearchSameParagraphSetting_858812147":"Image Search Settings for Similar Products","ImageSearchPortal":"Image search entrance","WebPagePictureWhetherToDisplayAK_72928665":"Note: This option determines whether the search icon is displayed on all images on the webpage","Comma":", ","ChangeHoverPosition":"and you could adjust the position of search icon via:","NoteAfterOpeningYouCanSetTheScre_1792455441":"Note: Enable to set screenshot hotkey","ClickThisSetting":"click this setting","ViewTutorial":"and view tutorial.","DescriptionWhetherToOpenTheWangW_82748247":"Note: This option controls whether to open WangWang dialog box through a pop-up window","SameParagraphResultDisplayMode":"Similar products display mode","NoteDoYouWantToOpenThePopup":"Note: This option controls whether to open the pop-up window to search for similar products or open a new tab.","FindSourceButtonSettings":"Search Button Settings for Similar Products","FindTheSourceOfGoodsAndFollowThe":"Press the button to search for similar products","NoteWhetherTheWebsiteOfTheEcomme_978811492":"Note: This option controls whether to show the button to search for similar products.","DetailsPageToFindTheSourceOfFloa_799687713":"Display similar products in a floating window on the product detail page","NoteWhetherTheFloatingWindowForS_1424936317":"Note: This option determines whether the floating window for similar products is shown on the e-commerce platform\'s details page.","ListPageToFindTheSourceOfFloatin_1509436805":"Display similar products in a floating window on the home page","NoteWhetherTheFloatingWindowForS_1387403188":"Note: This option determines whether the floating window for similar products is shown on the e-commerce platform\'s home page.","OtherSettings":"Other Settings","WangWangMessageReception":"WangWang message reception","ControlWhetherThePluginBuoyDispl_1600751421":"Note: This option controls whether the floating action button display WangWang messages.","OpenWangWangInPopupWindow":"Open WangWang in pop-up window","NoteWhetherToOpenTheWangW_82748247":"Note: This floating icon displays notifications for WangWang messages.","ZoomPicturePreview":"Zoom Picture Preview","MouseToTheCommodityPictureSuppor_1105432936":"Note: This option enables you to zoom in on the product image by hovering your mouse over it.","1688ProductDetailsPageDisplayFun_1364548087":"1688 product details page display function operation area","NoteWhetherTheFunctionalOperatio_1175343889":"Note: This option controls whether the functional operation area is displayed on the 1688 product details page.","Language":"Language","SupportMulticlockLanguageSwitchi_1847061771":"Note: This option enbales to switch default language.","ShortcutKeyOneclickScreenshot":"Shortcut to take screenshot","Home":"Home","QuestionFeedback":"Question Feedback","DingtalkGroup":"Dingtalk Group","PleaseSelect":"Please Select","DisabledWebSites":"Disabled Web Sites","PluginFunctionTips":"Plug-in function tips","OK":"OK","PleaseLogInToViewTheLatestTransa_2069835521":"Please log in to view the latest transaction information","Login":"Login","PurchasingAssistant":"Purchasing Assistant","FunctionGuidance":"Guidance","Feedback":"Feedback","InviteToInstallPluginsToWinPlatf_622636716":"Invite to install plug-ins to win platform gifts and red packets","GoToInvite":"Go to invite","ToBeAgreedByTheSeller":"Pending Approval","Favorites":"My Favorites","PurchaseVehicle":"Shopping Cart","OrderInformation":"Order Information","SelectedRecommend":"Selected recommend","More":"More","OneClickScreenshotToFindTheSameM_227534629":"Screenshot to search","UploadPicturesToFindTheSame":"Upload image to search","KeywordSearch":"Enter keyword to search","TransactionDynamics":"Transaction Dynamics","1688Sourcing":"1688 Sourcing","ImageSearchTitle":"Search for similar products on 1688","GuidanceTitle":"Welcome to the 1688 Procurement Assistant","RefreshPageAfterLanguageChange":"Please refresh the page after switching languages to see the updated content in the new language\uff01","RefreshPageAfterHoverIconChange":"The icon position has been successfully changed, but it will take effect only after refreshing the page!","ExpiredInDays":"Expires in {days}","PopupActionNotSupported":"The current page does not support this feature. Please use this feature on another page!","UploadsNotSupported":"The current page does not support uploads. Please use this feature on another page!","ScreenshotNotSupported":"The current page does not support screenshots. Please use this feature on another page!","LeftTop":"Left Top","LeftBottom":"Left Bottom","RightTop":"Right Top","RightBottom":"Right Bottom","HoverTitle":"Search","HoverTempClose":"Temporarily Disable This Icon","HoverJumpToSetting":"Adjust the Position of This Icon","CopySearchWords":"Copy Suggestions","CopySuccess":"Successfully copied","CopyFail":"Failed to copy, please try again later","AiPaint":"Ai Pic","AiWhiteBackground":"AI White Background","AiChangeBackground":"AI Change Background","AiRemoveWaterMarker":"AI Remove Watermark","AiResize":"AI Resize","OnImageSearchErrorMsg":"Failed to retrieve the image. You can try using the one-click screenshot feature to find the item!","ProcurementCenter":"Procurement Center","ProcurementCenterTips":"Smart Procurement Manager - Make Every Purchase Faster, Easier, and More Cost-Effective","feat":"Feature","fix":"Fix","perf":"Performance","ScreenshotFailedPleaseRetry":"Screenshot failed, please try again later","ScreenshotInvalidImageData":"Screenshot invalid image data","ScreenshotCaptureFailed":"Screenshot capture failed, please check the permission settings","ScreenshotUnsupportedPage":"Screenshot unsupported page, please check the permission settings","ScreenshotNoActiveTab":"Screenshot no active tab, please check the permission settings","ExtensionContextInvalidated":"Current page has expired, please refresh and try again","selectionBubble":"Text Selection Bubble","WhetherToDisplayTheSelectionBubble":"Note: Whether to display the text selection bubble in the webpage","NotificationSettings":"New Supplier Product Alerts","NewMessageAlertsOnVender":"Supplier New Product Notification","DescriptionDailyAttentionToNewNo_877269443":"Note: Receive daily updates on new products from followed suppliers","OrderExceptionMessageAlert":"Order Anomaly Alerts","LogisticsOvertimeMerchantsRefuse_1497764255":"Note: Alerts for order anomalies including shipping delays, seller refund rejections, and return issues","WangWangMessageAlert":"WangWang Message Notifications","BatchInquiryMessageAlert":"Batch Inquiry Message Notifications","DescriptionWhetherToTurnOnTheWan_1973633408":"Description: Enable notifications for Wangwang messages","WordBubble":"Word Bubble","Environment":"Environment:","Advance":"Advance","Online":"On-line","CancelSubscription":"Cancel Subscription","CloseNotification":"Close Notification","DescriptionWhetherToTurnOnTheBatchInquiry":"Note: Whether to turn on batch inquiry message notification","DefaultSourceChannel":"Default source channel","TheImageSearchWindowTriggered":"Explanation: The image search window is triggered, and the default open source channel dropdown filter box is displayed","Follow1688LoginAccountToAutomatically":"Follow 1688 login account to automatically redirect to the corresponding source channel","MemorySearchResults":"Memory Map Search Results","SearchMemoryReenableIn":"Allow the Search Memory Entry to appear on the ","WhetherToDisplayTheMemorySearchR_1809048045":"Do you want to keep the current image search results when closing the half window of the image search","OnlyLocallyDisabled":"Only locally disabled","ThisWebpageIsDisabled":"This webpage is disabled","PermanentlyShutDownThisBuoy":"Permanently close this buoy"}')},{}],"4PuJ3":[function(e,t,r){t.exports=JSON.parse('{"Copy":"\u590d\u5236","WordsSearchForGoods":"\u8bcd\u641c\u627e\u8d27","Translation":"\u7ffb\u8bd1","Setting":"\u8bbe\u7f6e","HideForThisVisitOnly":"\u4ec5\u672c\u6b21\u8bbf\u95ee\u9690\u85cf","PermanentlyHide":"\u5728\u5f53\u524d\u7f51\u7ad9\u7981\u7528","FunctionSwitch":"\u529f\u80fd\u5f00\u5173","TextCopiedToClipboard":"\u6587\u672c\u5df2\u590d\u5236\u5230\u526a\u8d34\u677f","CopyFailedPleaseTryAgain":"\u590d\u5236\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5","TheTranslationFeatureIsHiddenFor_1959510966":"\u5df2\u9690\u85cf\u6b64\u7f51\u7ad9\u7684\u5212\u8bcd\u6c14\u6ce1\u529f\u80fd","TranslationFunctionHasBeenPerman_2046219140":"\u5df2\u5728\u5f53\u524d\u7f51\u7ad9\u7981\u7528\u6b64\u529f\u80fd","TranslationBubbles":"\u7ffb\u8bd1\u6c14\u6ce1","OpeningSettings":"\u6b63\u5728\u6253\u5f00\u8bbe\u7f6e...","PleaseSelectTheTextToSearchFirst":"\u8bf7\u5148\u9009\u4e2d\u8981\u641c\u7d22\u7684\u6587\u672c","AutomaticDetection":"\u81ea\u52a8\u68c0\u6d4b","SimplifiedChinese":"\u7b80\u4f53\u4e2d\u6587","TraditionalChinese":"\u7e41\u4f53\u4e2d\u6587\uff08\u7e41\u9ad4\u4e2d\u6587\uff09","English":"\u82f1\u8bed\uff08English\uff09","Korean":"\u97e9\u8bed\uff08\ud55c\uad6d\uc5b4\uff09","Vietnamese":"\u8d8a\u5357\u8bed\uff08Ti\u1ebfng Vi\u1ec7t\uff09","Thai":"\u6cf0\u8bed\uff08\u0e44\u0e17\u0e22\uff09","French":"\u6cd5\u8bed\uff08Fran\xe7ais\uff09","Spanish":"\u897f\u73ed\u7259\u8bed\uff08Espa\xf1ol\uff09","German":"\u5fb7\u8bed\uff08Deutsch\uff09","Italian":"\u610f\u5927\u5229\u8bed\uff08Italiano\uff09","Portuguese":"\u8461\u8404\u7259\u8bed\uff08Portugu\xeas\uff09","Russian":"\u4fc4\u8bed\uff08\u0420\u0443\u0441\u0441\u043a\u0438\u0439\uff09","Arabic":"\u963f\u62c9\u4f2f\u8bed\uff08\u0627\u0644\u0639\u0631\u0628\u064a\u0629\uff09","Dutch":"\u8377\u5170\u8bed\uff08Nederlands\uff09","Turkish":"\u571f\u8033\u5176\u8bed\uff08T\xfcrk\xe7e\uff09","Hebrew":"\u5e0c\u4f2f\u6765\u8bed\uff08\u05e2\u05d1\u05e8\u05d9\u05ea\uff09","Indonesian":"\u5370\u5c3c\u8bed\uff08Bahasa Indonesia\uff09","Polish":"\u6ce2\u5170\u8bed\uff08Polski\uff09","Hindi":"\u5370\u5730\u8bed\uff08\u0939\u093f\u0928\u094d\u0926\u0940\uff09","Japanese":"\u65e5\u8bed\uff08\u65e5\u672c\u8a9e\uff09","LanguageDetected":"\u68c0\u6d4b\u5230\u7684\u8bed\u8a00","Translation.RVkbS":"\u8bd1\u6587","InTranslation":"\u7ffb\u8bd1\u4e2d...","TranslationFailedPleaseTryAgain":"\u7ffb\u8bd1\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5","TranslationForThisLanguageIsNotC_60246052":"\u76ee\u524d\u4e0d\u652f\u6301\u8be5\u8bed\u79cd\u7684\u7ffb\u8bd1\uff0c\u8bf7\u9009\u62e9\u5176\u4ed6\u8bed\u79cd\u3002","RepeatedPluginInstallationRemind_117608394":"\u91cd\u590d\u5b89\u88c5\u63d2\u4ef6\u63d0\u9192","PleaseRemoveTheOldVersionOfThe16_560388793":"\u8bf7\u79fb\u9664\u65e7\u7248\u672c\u76841688\u91c7\u8d2d\u52a9\u624b\u63d2\u4ef6","ProcessNow":"\u53bb\u5904\u7406","YuanRedEnvelope":"\u5143\u7ea2\u5305","AccountReceived":"\u5df2\u5230\u8d26","ToUse":"\u53bb\u4f7f\u7528","LessThan1Minute":"\u4e0d\u8db31\u5206\u949f","Days":"{days}\u5929","HoursMinutes":"{hours}\u65f6{minutes}\u5206","ThePluginHasBeenUpdated":"\u63d2\u4ef6\u66f4\u65b0\u5566","OneclickPriceComparisonIsMoreCon_310935157":"\u4e00\u952e\u6bd4\u4ef7\u66f4\u4fbf\u6377","Update":"\u66f4\u65b0","SettingsPageLanguageHasBeenUpdat_1985874559":"\u8bbe\u7f6e\u9875\u8bed\u8a00\u5df2\u66f4\u65b0","RefreshToGetTheLatestLanguage":"\u5237\u65b0\u540e\u5373\u53ef\u83b7\u53d6\u6700\u65b0\u8bed\u8a00","MainstreamEcommerceWebsitesOnecl_1617782527":"\u4e3b\u6d41\u7535\u5546\u7f51\u7ad9\uff0c\u4e00\u952e\u540c\u6b3e\u6bd4\u4ef7","CommoditySalesTrendsBusinessOppo_842906622":"\u5546\u54c1\u9500\u91cf\u8d8b\u52bf\uff0c\u5546\u673a\u5c3d\u6536\u773c\u5e95","WangWangTransactionNewsAndReachT_2037471374":"\u65fa\u65fa\u4ea4\u6613\u6d88\u606f\uff0c\u53ca\u65f6\u89e6\u8fbe\u684c\u9762","RichSettingsOptionsFeaturesPriva_1911099660":"\u4e30\u5bcc\u8bbe\u7f6e\u9009\u9879\uff0c\u529f\u80fd\u79c1\u4eba\u5b9a\u5236","UseTheQuestionAnswerWelcomeToThe_1046827816":"\u4f7f\u7528\u95ee\u9898\u89e3\u7b54\uff0c\u6b22\u8fce\u8fdb\u7fa4\u53cd\u9988","Confirm":"\u6211\u77e5\u9053\u4e86","1688PurchasingAssistantLatestEdi_885150030":"1688\u91c7\u8d2d\u52a9\u624b\u6700\u65b0\u7248","UpdatedTheFollowing":"\u672c\u6b21\u66f4\u65b0\u4e86\u4ee5\u4e0b\u5185\u5bb9","StartUsing":"\u5f00\u59cb\u4f7f\u7528","SubmitFeedback":"\u63d0\u4ea4\u53cd\u9988","Submitting":"\u6b63\u5728\u63d0\u4ea4...","SubmittedSuccessfully":"\u53cd\u9988\u63d0\u4ea4\u6210\u529f","SubmittedSuccessfullyClickToFeed_1646190734":"\u63d0\u4ea4\u6210\u529f, \u70b9\u51fb\u53ef\u518d\u6b21\u53cd\u9988","FailedToSubmitPleaseClickRetry":"\u63d0\u4ea4\u5931\u8d25\uff0c\u8bf7\u70b9\u51fb\u91cd\u8bd5","PleaseDoNotRepeatTheSubmission":"\u8bf7\u4e0d\u8981\u91cd\u590d\u63d0\u4ea4","AnExceptionIsDetectedInTheCurren_673713385":"\u68c0\u6d4b\u5230\u5f53\u524d\u73af\u5883\u5f02\u5e38\uff0c\u8bf7\u5148\u5237\u65b0\u9875\u9762","YouHaventFilledInTheFeedbackCont_307031947":"\u60a8\u8fd8\u6ca1\u6709\u586b\u5199\u53cd\u9988\u5185\u5bb9\u54e6\uff0c\u60a8\u7684\u63cf\u8ff0\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u4e86\u89e3\u60a8\u7684\u95ee\u9898\uff01","CommentsSuggestionsFeedback":"\u610f\u89c1/\u5efa\u8bae\u53cd\u9988","FillInTheProblemsEncounteredcomm_1086713756":"\u5728\u8fd9\u91cc\u586b\u5199\u9047\u5230\u7684\u95ee\u9898/\u60f3\u63d0\u7684\u610f\u89c1","UploadImage":"\u4e0a\u4f20\u56fe\u7247","AKeyScreenshotHelpYouFindTheSame":"\u4e00\u952e\u622a\u56fe\uff0c\u5e2e\u4f60\u627e\u540c\u6b3e\u4f4e\u4ef7\u8d27\u6e90","ClickSearchToComparePricesImmedi_1389529448":"\u70b9\u51fb\u641c\u7d22 \u7acb\u5373\u6bd4\u4ef7","SearchForMoneyWithPictures":"\u4ee5\u56fe\u641c\u6b3e","OneClickScreenshot":"\u4e00\u952e\u622a\u56fe","OneClickImageUpload":"\u4e00\u952e\u4e0a\u4f20\u56fe\u7247","TheSameSupplyImmediatePriceCompa_520724003":"\u540c\u6b3e\u8d27\u6e90\uff0c\u7acb\u5373\u6bd4\u4ef7","TheNewVersionIsReadyForImmediate_632800053":"\u65b0\u7248\u672c\u5df2\u51c6\u5907\u597d \u7acb\u5373\u66f4\u65b0","SettingLink":"\u8bbe\u7f6e","CommonFunctionSwitchSettings":"\u5e38\u7528\u529f\u80fd\u5f00\u5173\u8bbe\u7f6e","AliWangwang":"\u65fa\u65fa","FactoryDirectorOnlineWangWangInq_841029724":"\u5382\u957f\u5728\u7ebf \u65fa\u65fa\u8be2\u76d8","Screenshot":"\u622a\u56fe","OneClickScreenshotWithPriceCompa_1448440513":"\u4e00\u952e\u622a\u56fe \u540c\u6b3e\u6bd4\u4ef7","PriceComparison":"\u6bd4\u4ef7","AiChat":"AI\u804a\u5929","AiChatTips":"AI\u804a\u5929 \u5e2e\u4f60\u627e","HelpYouFind":"\u5e2e\u4f60\u627e","TheSameLowPriceToHelpYouFind":"\u540c\u6b3e\u4f4e\u4ef7 \u5e2e\u4f60\u627e","ReadyForPickUp":"\u5f85\u6536\u8d27","PendingPayment":"\u5f85\u4ed8\u6b3e","ReadyForDelivery":"\u5f85\u53d1\u8d27","TheSessionDoesNotExist":"session\u4e0d\u5b58\u5728","OnlyThisBrowsingIsClosed":"\u4ec5\u672c\u6b21\u6d4f\u89c8\u5173\u95ed","PermanentlyCloseThisPageBuoy":"\u6c38\u4e45\u5173\u95ed\u6b64\u7f51\u9875\u6d6e\u6807","UsingShortcutKeys":"\u4f7f\u7528\u5feb\u6377\u952e","RapidArousal":"\u5feb\u901f\u5524\u8d77","Page":"\u9875\u9762","OrReenableIn":"\u6216\u91cd\u65b0\u6253\u5f00","ReenableIn":"\u4e2d\u91cd\u65b0\u542f\u7528","NotSet":"\u672a\u8bbe\u7f6e","UseHelp":"\u4f7f\u7528\u5e2e\u52a9\uff1a","PluginsCanUseShortcutScreenshots_796490814":"\u63d2\u4ef6\u53ef\u4ee5\u4f7f\u7528\u5feb\u6377\u952e\u622a\u56fe\uff0c\u8fd8\u53ef\u4ee5\u81ea\u5b9a\u4e49 >","GeneralSettings":"\u63d2\u4ef6\u901a\u7528\u8bbe\u7f6e","PluginBuoy":"\u63d2\u4ef6\u6d6e\u6807","WhetherToDisplayThePluginBuoyInT_1809048044":"\u8bf4\u660e\uff1a\u5728\u7f51\u9875\u4e2d\u662f\u5426\u5c55\u793a\u63d2\u4ef6\u6d6e\u6807","FigureSearchSameParagraphSetting_858812147":"\u56fe\u641c\u540c\u6b3e\u8bbe\u7f6e","ImageSearchPortal":"\u56fe\u7247\u641c\u7d22\u5165\u53e3","WebPagePictureWhetherToDisplayAK_72928665":"\u8bf4\u660e\uff1a\u6253\u5f00/\u5173\u95ed\u7f51\u9875\u56fe\u7247\u4e0a\u56fe\u641c\u5165\u53e3","Comma":"\uff0c","ChangeHoverPosition":"\u6216\u8c03\u6574\u5165\u53e3\u4f4d\u7f6e:","NoteAfterOpeningYouCanSetTheScre_1792455441":"\u8bf4\u660e\uff1a\u5f00\u542f\u540e\u53ef\u8bbe\u7f6e\u622a\u56fe\u5feb\u6377\u952e","ClickThisSetting":"\u70b9\u6b64\u8bbe\u7f6e","ViewTutorial":"\u67e5\u770b\u6559\u7a0b","SameParagraphResultDisplayMode":"\u540c\u6b3e\u7ed3\u679c\u5c55\u793a\u6a21\u5f0f","NoteDoYouWantToOpenThePopup":"\u8bf4\u660e\uff1a\u540c\u6b3e\u7ed3\u679c\u662f\u5148\u6253\u5f00\u5f39\u7a97\u8fd8\u662f\u8df3\u8f6c\u52301688\u7ed3\u679c\u9875","FindSourceButtonSettings":"\u627e\u8d27\u6e90\u6309\u94ae\u8bbe\u7f6e","FindTheSourceOfGoodsAndFollowThe":"\u627e\u8d27\u6e90\u8ddf\u968f\u5165\u53e3","NoteWhetherTheWebsiteOfTheEcomme_978811492":"\u8bf4\u660e\uff1a\u5728\u7535\u5546\u5e73\u53f0\u7f51\u7ad9\u662f\u5426\u5c55\u793a\u627e\u8d27\u6e90\u5165\u53e3","DetailsPageToFindTheSourceOfFloa_799687713":"\u8be6\u60c5\u9875\u627e\u8d27\u6e90\u6d6e\u7a97\u5c55\u793a\u6a21\u5f0f","NoteWhetherTheFloatingWindowForS_1424936317":"\u8bf4\u660e\uff1a\u5728\u7535\u5546\u5e73\u53f0\u8be6\u60c5\u9875\u9762\u662f\u5426\u5c55\u793a\u627e\u8d27\u6e90\u6d6e\u7a97","ListPageToFindTheSourceOfFloatin_1509436805":"\u5217\u8868\u9875\u627e\u8d27\u6e90\u6d6e\u7a97\u5c55\u793a\u6a21\u5f0f","NoteWhetherTheFloatingWindowForS_1387403188":"\u8bf4\u660e\uff1a\u5728\u7535\u5546\u5e73\u53f0\u5217\u8868\u9875\u9762\u662f\u5426\u5c55\u793a\u627e\u8d27\u6e90\u6d6e\u7a97","OtherSettings":"\u5176\u4ed6\u8bbe\u7f6e","WangWangMessageReception":"\u65fa\u65fa\u6d88\u606f\u63a5\u6536","ControlWhetherThePluginBuoyDispl_1600751421":"\u8bf4\u660e\uff1a\u63a7\u5236\u63d2\u4ef6\u6d6e\u6807\u662f\u5426\u5c55\u793a\u65fa\u65fa\u6d88\u606f","OpenWangWangInPopupWindow":"\u5f39\u7a97\u5185\u6253\u5f00\u65fa\u65fa","NoteWhetherToOpenTheWangW_82748247":"\u8bf4\u660e\uff1a\u662f\u5426\u901a\u8fc7\u5f39\u7a97\u6253\u5f00\u65fa\u65fa\u6d88\u606f","DescriptionWhetherToOpenTheWangW_82748247":"\u8bf4\u660e\uff1a\u662f\u5426\u901a\u8fc7\u5f39\u7a97\u6253\u5f00\u65fa\u65fa\u6d88\u606f","ZoomPicturePreview":"\u653e\u5927\u56fe\u7247\u9884\u89c8","MouseToTheCommodityPictureSuppor_1105432936":"\u8bf4\u660e\uff1a\u9f20\u6807\u5212\u5230\u5546\u54c1\u56fe\u7247\u652f\u6301\u7b49\u6bd4\u653e\u5927","1688ProductDetailsPageDisplayFun_1364548087":"1688\u5546\u54c1\u8be6\u60c5\u9875\u5c55\u793a\u529f\u80fd\u64cd\u4f5c\u533a","NoteWhetherTheFunctionalOperatio_1175343889":"\u8bf4\u660e\uff1a\u57281688\u5546\u54c1\u8be6\u60c5\u9875\u662f\u5426\u5c55\u793a\u529f\u80fd\u64cd\u4f5c\u533a","Language":"\u8bed\u8a00","SupportMulticlockLanguageSwitchi_1847061771":"\u8bf4\u660e\uff1a\u652f\u6301\u591a\u79cd\u8bed\u8a00\uff0c\u5207\u6362\u8bed\u79cd","ShortcutKeyOneclickScreenshot":"\u5feb\u6377\u952e\u4e00\u952e\u622a\u56fe","Home":"\u9996\u9875","QuestionFeedback":"\u95ee\u9898\u53cd\u9988","DingtalkGroup":"\u9489\u9489\u7fa4","PleaseSelect":"\u8bf7\u9009\u62e9","DisabledWebSites":"\u7981\u7528\u7684\u7f51\u7ad9","PluginFunctionTips":"\u63d2\u4ef6\u529f\u80fd\u5c0f\u63d0\u793a","OK":"\u786e\u5b9a","PleaseLogInToViewTheLatestTransa_2069835521":"\u8bf7\u767b\u5f55\u540e\u67e5\u770b\u6700\u65b0\u4ea4\u6613\u4fe1\u606f","Login":"\u767b\u5f55","PurchasingAssistant":"\u91c7\u8d2d\u52a9\u624b","FunctionGuidance":"\u529f\u80fd\u5f15\u5bfc","Feedback":"\u610f\u89c1\u53cd\u9988","InviteToInstallPluginsToWinPlatf_622636716":"\u9080\u8bf7\u5b89\u88c5\u63d2\u4ef6\uff0c\u8d62\u5e73\u53f0\u5927\u793c\u7ea2\u5305","GoToInvite":"\u53bb\u9080\u8bf7","ToBeAgreedByTheSeller":"\u5f85\u5356\u5bb6\u540c\u610f","Favorites":"\u6536\u85cf\u5939","PurchaseVehicle":"\u91c7\u8d2d\u8f66","OrderInformation":"\u8ba2\u5355\u4fe1\u606f","SelectedRecommend":"\u7cbe\u9009\u63a8\u8350","More":"\u66f4\u591a","OneClickScreenshotToFindTheSameM_227534629":"\u4e00\u952e\u622a\u56fe\u627e\u540c\u6b3e","UploadPicturesToFindTheSame":"\u4e0a\u4f20\u56fe\u7247\u627e\u540c\u6b3e","KeywordSearch":"\u5173\u952e\u8bcd\u641c\u7d22","TransactionDynamics":"\u4ea4\u6613\u52a8\u6001","1688Sourcing":"1688\u627e\u8d27\u6e90","ImageSearchTitle":"1688\u627e\u8d27\u6e90","GuidanceTitle":"\u6b22\u8fce\u4f7f\u75281688\u91c7\u8d2d\u52a9\u624b","RefreshPageAfterLanguageChange":"\u5207\u6362\u8bed\u8a00\u540e\uff0c\u8bf7\u5237\u65b0\u9875\u9762\u4ee5\u67e5\u770b\u65b0\u8bed\u8a00\u7684\u5185\u5bb9\uff5e","RefreshPageAfterHoverIconChange":"\u56fe\u6807\u4f4d\u7f6e\u4fee\u6539\u6210\u6210\u529f\uff0c\u9700\u8981\u5237\u65b0\u9875\u9762\u540e\u624d\u4f1a\u751f\u6548\u54e6\uff5e","ExpiredInDays":"\u8fd8\u5269{days}\u5931\u6548","PopupActionNotSupported":"\u5f53\u524d\u9875\u9762\u4e0d\u652f\u6301\u4f7f\u7528\u6b64\u529f\u80fd, \u8bf7\u5728\u5176\u4ed6\u9875\u9762\u4f7f\u7528\uff01","UploadsNotSupported":"\u5f53\u524d\u9875\u9762\u4e0d\u652f\u6301\u4e0a\u4f20, \u8bf7\u5728\u5176\u4ed6\u9875\u9762\u4f7f\u7528\uff01","ScreenshotNotSupported":"\u5f53\u524d\u9875\u9762\u4e0d\u652f\u6301\u622a\u56fe, \u8bf7\u5728\u5176\u4ed6\u9875\u9762\u4f7f\u7528\uff01","LeftTop":"\u5de6\u4e0a","LeftBottom":"\u5de6\u4e0b","RightTop":"\u53f3\u4e0a","RightBottom":"\u53f3\u4e0b","HoverTitle":"\u540c\u6b3e\u6bd4\u4ef7","HoverTempClose":"\u6682\u65f6\u5173\u95ed\u6b64\u6309\u94ae","HoverJumpToSetting":"\u8c03\u6574\u6b64\u6309\u94ae\u4f4d\u7f6e","CopySearchWords":"\u590d\u5236\u4e0b\u62c9\u8bcd","CopySuccess":"\u590d\u5236\u6210\u529f","CopyFail":"\u590d\u5236\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5","AiPaint":"AI\u4f5c\u56fe","AiWhiteBackground":"AI\u767d\u5e95\u56fe","AiChangeBackground":"AI\u6362\u80cc\u666f","AiRemoveWaterMarker":"AI\u53bb\u6c34\u5370","AiResize":"AI\u6539\u5c3a\u5bf8","OnImageSearchErrorMsg":"\u83b7\u53d6\u56fe\u7247\u5931\u8d25\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4e00\u952e\u622a\u56fe\u627e\u8d27\u54e6\uff5e","ProcurementCenter":"\u91c7\u8d2d\u7ba1\u5bb6","ProcurementCenterTips":"\u667a\u91c7\u5de5\u4f5c\u53f0\uff0c\u9ad8\u6548\u66f4\u8f7b\u677e","feat":"\u65b0\u589e","fix":"\u4fee\u590d","perf":"\u4f18\u5316","ScreenshotFailedPleaseRetry":"\u622a\u56fe\u5931\u8d25\uff0c\u8bf7\u7a0d\u5019\u91cd\u8bd5","ScreenshotInvalidImageData":"\u622a\u56fe\u6570\u636e\u65e0\u6548","ScreenshotCaptureFailed":"\u622a\u56fe\u6355\u83b7\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u6743\u9650\u8bbe\u7f6e","ScreenshotUnsupportedPage":"\u5f53\u524d\u9875\u9762\u4e0d\u652f\u6301\u622a\u56fe\u529f\u80fd","ScreenshotNoActiveTab":"\u65e0\u6cd5\u83b7\u53d6\u5f53\u524d\u6807\u7b7e\u9875","ExtensionContextInvalidated":"\u5f53\u524d\u9875\u9762\u5df2\u8fc7\u671f\uff0c\u8bf7\u5237\u65b0\u540e\u91cd\u8bd5","selectionBubble":"\u5212\u8bcd\u6c14\u6ce1","WhetherToDisplayTheSelectionBubble":"\u8bf4\u660e\uff1a\u5728\u7f51\u9875\u4e2d\u662f\u5426\u5c55\u793a\u5212\u8bcd\u6c14\u6ce1\u529f\u80fd","NotificationSettings":"\u901a\u77e5\u8bbe\u7f6e","NewMessageAlertsOnVender":"\u4f9b\u5e94\u5546\u4e0a\u65b0\u6d88\u606f\u63d0\u9192","DescriptionDailyAttentionToNewNo_877269443":"\u8bf4\u660e\uff1a\u6bcf\u65e5\u5173\u6ce8\u4f9b\u5e94\u5546\u4e0a\u65b0\u901a\u77e5","OrderExceptionMessageAlert":"\u8ba2\u5355\u5f02\u5e38\u6d88\u606f\u63d0\u9192","LogisticsOvertimeMerchantsRefuse_1497764255":"\u8bf4\u660e\uff1a\u7269\u6d41\u8d85\u65f6\u3001\u5546\u5bb6\u62d2\u7edd\u9000\u6b3e\u3001\u552e\u540e\u8fd4\u4ef6\u7b49\u8ba2\u5355\u5f02\u5e38\u6d88\u606f\u63d0\u9192","WangWangMessageAlert":"\u65fa\u65fa\u6d88\u606f\u63d0\u9192","DescriptionWhetherToTurnOnTheWan_1973633408":"\u8bf4\u660e\uff1a\u662f\u5426\u5f00\u542f\u65fa\u65fa\u6d88\u606f\u63d0\u9192","WordBubble":"\u5212\u8bcd\u6c14\u6ce1","Environment":"\u73af\u5883\uff1a","Advance":"\u9884\u53d1","Online":"\u7ebf\u4e0a","CancelSubscription":"\u53d6\u6d88\u8ba2\u9605","CloseNotification":"\u4ec5\u672c\u6b21\u5173\u95ed","BatchInquiryMessageAlert":"\u6279\u91cf\u8be2\u76d8\u6d88\u606f\u63d0\u9192","DescriptionWhetherToTurnOnTheBatchInquiry":"\u8bf4\u660e\uff1a\u662f\u5426\u5f00\u542f\u6279\u91cf\u8be2\u76d8\u6d88\u606f\u63d0\u9192","DefaultSourceChannel":"\u9ed8\u8ba4\u8d27\u6e90\u6e20\u9053","TheImageSearchWindowTriggered":"\u8bf4\u660e\uff1a\u5524\u8d77\u56fe\u641c\u534a\u7a97\uff0c\u9ed8\u8ba4\u6253\u5f00\u7684\u8d27\u6e90\u6e20\u9053\u4e0b\u62c9\u7b5b\u9009\u6846","Follow1688LoginAccountToAutomatically":"\u8ddf\u968f1688\u767b\u5f55\u8d26\u53f7\uff0c\u81ea\u52a8\u8df3\u8f6c\u5bf9\u5e94\u8d27\u6e90\u6e20\u9053","MemorySearchResults":"\u8bb0\u5fc6\u56fe\u641c\u7ed3\u679c","SearchMemoryReenableIn":"\u91cd\u65b0\u6253\u5f00","WhetherToDisplayTheMemorySearchR_1809048045":"\u8bf4\u660e\uff1a\u5173\u95ed\u56fe\u641c\u534a\u7a97\u662f\u5426\u4fdd\u7559\u5f53\u524d\u56fe\u641c\u7ed3\u679c","OnlyLocallyDisabled":"\u4ec5\u672c\u6b21\u5173\u95ed","ThisWebpageIsDisabled":"\u5173\u95ed\u672c\u7ad9\u70b9","PermanentlyShutDownThisBuoy":"\u6c38\u4e45\u5173\u95ed\u6b64\u6d6e\u6807"}')},{}],"4AjNB":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getGlobalObject",()=>o);var a=e("@ali/pc-plugin-extension-suite"),i=e("./ExtensionEventManager");function o(){return window.__1688_EXTENSION||(window.__1688_EXTENSION={events:new i.ExtensionEventManager,uiVisibleMap:{screenshotVisible:!1,drawerFindGoodsVisible:!1,modalComparisonVisible:!1,modalDownloadImageVisible:!1,guidanceVisible:!1,modalLoginVisible:!1,modalEditImageVisible:!1,modalWebIMVisible:!1,modalFeedbackVisible:!1,modalGoodsFreightVisible:!1,modalBulkInquiryVisible:!1,drawerTitleSearchVisible:!1,taskCenterDrawerVisible:!1},hostWebAppMessageHandler:(0,a.contentScriptHostWebAppMessageHandlerFactory)()}),window.__1688_EXTENSION}},{"@ali/pc-plugin-extension-suite":"9pOO1","./ExtensionEventManager":"lFCFZ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lFCFZ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"ExtensionEventManager",()=>a);class a{constructor(){this.eventPayloadCacheMap={},this.map={}}on(e,t){this.map[e]||(this.map[e]=[]),this.map[e].push(t),this.eventPayloadCacheMap[e]&&(this.eventPayloadCacheMap[e].forEach(e=>{t(e)}),delete this.eventPayloadCacheMap[e])}once(e,t){let r=n=>{t(n),this.off(e,r)};this.on(e,r)}off(e,t){this.map[e]&&(this.map[e]=this.map[e].filter(e=>e!==t))}emit(e,t,r){if(!this.map[e]||0===this.map[e].length){r?.cacheOnNoListener?.enable&&((!this.eventPayloadCacheMap[e]||r.cacheOnNoListener.overwrite)&&(this.eventPayloadCacheMap[e]=[]),this.eventPayloadCacheMap[e].push(t));return}this.map[e].forEach(e=>{e(t)})}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],cAblm:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react"),a=e("~libs/debugLog");r.default=function(e){"function"!=typeof e&&(0,a.consoleError)(`useMemorizedFn expected parameter is a function, got ${typeof e}`);let t=(0,n.useRef)(e);t.current=(0,n.useMemo)(()=>e,[e]);let r=(0,n.useRef)();return r.current||(r.current=function(...e){return t.current.apply(this,e)}),r.current}},{react:"a8qhJ","~libs/debugLog":"8Rm1G","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"5q4Ro":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getExtensionInfo",()=>u);var a=e("~common/const"),i=e("~common/utils"),o=e("~services/scripts"),s=e("./debugLog");let c=!1;(0,i.isContentScript)()&&(0,o.getGlobalObject)().events.on("onboarding-mode-switch",e=>{c=e.isOnboardingMode});let u=async()=>{let e=await (0,i.getUUID)(),{[a.STORAGE_KEY_LOGIN_ID]:t,[a.STORAGE_KEY_USER_ID]:r,[a.STORAGE_KEY_IS_LOGIN]:n,[a.STORAGE_KEY_IS_NUMBER_BROWSER]:o}=await (0,i.getExtensionLocalStorage)([a.STORAGE_KEY_LOGIN_ID,a.STORAGE_KEY_USER_ID,a.STORAGE_KEY_IS_LOGIN,a.STORAGE_KEY_IS_NUMBER_BROWSER]),u=await (0,i.getCachedOptions)(),l=navigator.userAgent;o&&(l+=" 360");let f=await (0,i.getExtensionLocalStorage)(a.STORAGE_KEY_CRYPTO),d=f?.[a.STORAGE_KEY_CRYPTO]||"",h={uuid:e,loginId:t,userId:r,isLogin:n,ua:l,version:chrome.runtime.getManifest().version,env:a.ENV_TAG,package:a.ENV_PACKAGE,token:d,parentLocation:location.href,enableDebugLog:await (0,s.getEnableDebugLog)(),extensionSettings:u};return(0,i.isContentScript)()&&(h.isOnboardingMode=c),h}},{"~common/const":"bkfUq","~common/utils":"kYpGH","~services/scripts":"4AjNB","./debugLog":"8Rm1G","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}]},["59Lgg"],"59Lgg","parcelRequireaa81"),globalThis.define=t; |