Commit 243b475c authored by Ben Hsieh's avatar Ben Hsieh
Browse files

anue-fe-sdk publish commit v3.0.12

parents
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=16)}({16:function(e,t,n){"use strict";n.r(t);var r,o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(s,a)}u((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},a=anue.shared,u=a.get("constants.endpoints"),c=a.get("constants.keys"),l=a.get("packages.imc"),h=a.get("library.net"),f=a.get("utils.waitty"),d=a.get("utils.urly"),m=a.get("utils.getty"),p=a.get("utils.eventy"),v="undefined"==typeof document,g=[u.v1User.email.renew(),"/api/v1/user/token/refresh"],S=-1,y=0,b=2,w=v?".beta.cnyes.cool":location.hostname,k=/\.(beta\.|int\.|stage\.)?(cnyes\.(cool|com)|anue\.(in|com))\/?$/.exec(w),P=k?k[0]:"/";v||["sso","ssoc","sso.express"].forEach(function(e){return document.cookie="anue."+e+"=1; max-age=0; domain="+P+"; path=/"});var O=0,x=function(){function e(t){void 0===t&&(t={});var n=this;this.iid=O++,this.mHost="/",this.removeRequestInspector=null,this.removeResponseInspector=null,this.mProfile=null,this.mSSOToken="",this.mFlag="",this.mStatus="offline",this.mRenewQueuePromise=null,this.mSessionId=-1,this.event=new p,this.host=function(e){return n.mHost=e,n},this.isProfileValid=function(e){return!!m(e,["identity_id"])},this.listenChildFrameEvent=function(e){return i(n,void 0,void 0,function(){var t,n;return s(this,function(r){switch(r.label){case 0:r.trys.push([0,4,,5]);try{t=JSON.parse(e.data)}catch(e){return[2]}return"ok"===t.status&&t.token?[4,this.commitLoginSuccess({token:t.token,flag:t.flag})]:[3,2];case 1:return r.sent(),[3,3];case 2:if("error"===t.status)throw t;r.label=3;case 3:return[3,5];case 4:return n=r.sent(),this.emitError({detail:{error:n,childEvent:e},message:"[auth] failed to login with child frame"}),[3,5];case 5:return[2]}})})},this.onStateChange=function(e){return n.event.on(c.Auth.Events.StateChange,e),n},this.onError=function(e){return n.event.on(c.Auth.Events.Error,e),n},this.emitError=function(t){e.trackError(t),n.event.emit(c.Auth.Events.Error,o({},t,{context:n.getCredentialContext()}))},this.emitStateChange=function(e){return i(n,void 0,void 0,function(){return s(this,function(t){return this.event.emit(c.Auth.Events.StateChange,{status:e,flag:this.mFlag,context:this.getCredentialContext()}),[2]})})},this.consumeExisting=function(e){return n.commitLoginSuccess(e),n},this.consume=function(){return i(n,void 0,void 0,function(){var t,n,r,o;return s(this,function(i){switch(i.label){case 0:return t="",n="",anue.urld&&anue.urld.token&&(t=anue.urld.token),t?[3,2]:[4,e.getSSOData()];case 1:r=i.sent(),t=r.token,n=r.flag,i.label=2;case 2:return t||(o=/(^#|&)token\=[^\&]+/.exec(location.hash)||/(^\?|&)token\=[^\&]+/.exec(location.search))&&(t=o[0].split("=")[1]),t?[4,this.commitLoginSuccess({token:t,flag:n})]:[3,4];case 3:i.sent(),i.label=4;case 4:return[2,!!t]}})})},this.requestNetworkInspector=function(e){return i(n,void 0,void 0,function(){return s(this,function(t){switch(t.label){case 0:return this.mSSOToken&&e.auth&&(e.headers=e.headers||{},e.headers.authorization=e.headers.Authorization||e.headers.authorization||"Bearer "+this.mSSOToken),[4,e];case 1:return[2,t.sent()]}})})},this.responseNetworkInspector=function(e,t,r){return i(n,void 0,void 0,function(){var n,i,a,u,c;return s(this,function(s){switch(s.label){case 0:return n=e.url,i=m(r,["status"]),a=m(e,["extra","resent"]),u=401===i&&!1===g.reduce(function(e,t){return e||n.indexOf(t)>-1},!1),!a&&u&&this.mSSOToken?[3,2]:[4,t];case 1:return[2,s.sent()];case 2:return[4,this.renew("Auth.Interceptor")];case 3:return s.sent()?(e.extra=o({},e.extra,{resent:!0}),[4,this.requestNetworkInspector(e)]):[3,6];case 4:return c=s.sent(),[4,h.getDriver().send(o({},c,{headers:o({},c.headers,{authorization:"Bearer "+this.mSSOToken||!1})}))];case 5:t=s.sent(),s.label=6;case 6:return[4,t];case 7:return[2,s.sent()]}})})},this.renew=function(e){return i(n,void 0,void 0,function(){var t,n;return s(this,function(r){switch(r.label){case 0:t=null,r.label=1;case 1:return r.trys.push([1,3,,4]),this.mRenewQueuePromise,null===this.mRenewQueuePromise&&(this.mRenewQueuePromise=this.quableRenew(e)),[4,this.mRenewQueuePromise];case 2:if(t=r.sent(),this.mRenewQueuePromise&&(this.mRenewQueuePromise=null),!t)throw{message:"[Auth] failed to renew token",detail:t};return[3,4];case 3:return n=r.sent(),this.emitError(n),[3,4];case 4:return[2,t]}})})},this.quableRenew=function(e){return i(n,void 0,void 0,function(){var e,t,n;return s(this,function(r){switch(r.label){case 0:return S=Date.now()+1e3*Math.pow(b,y),b&&Date.now()<S?(e=1e3*Math.pow(b,y++),[4,f(e)]):[3,2];case 1:r.sent(),r.label=2;case 2:return S=-1,y=1,[4,this.refreshToken()];case 3:return t=r.sent(),(n=m(t,["items","token"]))?[4,this.commitLoginSuccess({token:n,flag:this.mFlag||""})]:[3,5];case 4:return r.sent(),[3,6];case 5:this.emitError({message:"Failed to renew access token, invalid response",detail:t}),r.label=6;case 6:return[2,this.getCredentialContext()]}})})},this.refreshToken=function(){return i(n,void 0,void 0,function(){return s(this,function(e){switch(e.label){case 0:return[4,h.getDriver().send({method:"POST",url:d(this.mHost,"/api/v1/user/token/refresh"),headers:{authorization:"Bearer "+this.mSSOToken}})];case 1:return[2,e.sent()]}})})},this.optimisticallyGetProfile=function(){if(!n.mProfile)try{var e=JSON.parse(localStorage["anue.profile"]);n.mProfile=e}catch(e){}return n.mProfile},this.syncProfileFromLocalStorage=function(){return i(n,void 0,void 0,function(){return s(this,function(t){return null,[2,e.deSerializeAndValidateProfile(localStorage["anue.profile"])]})})},this.syncProfileFromRPCStorage=function(){return i(n,void 0,void 0,function(){var t;return s(this,function(n){switch(n.label){case 0:return null,[4,r.rpcCall("storage",["get","profile"])];case 1:return t=n.sent(),[2,e.deSerializeAndValidateProfile(m(t,["data"]))]}})})},this.syncProfileFromRemote=function(){return i(n,void 0,void 0,function(){var e,t;return s(this,function(n){switch(n.label){case 0:return e=null,this.mSSOToken?this.isProfileValid(this.mProfile)?[3,2]:[4,h.getDriver().send({url:this.mHost+"/api/v1/user/profile",headers:{authorization:"Bearer "+this.mSSOToken}})]:[2,e];case 1:if(t=n.sent(),e=m(t,["items","user"]),!this.isProfileValid(e))return[2,null];n.label=2;case 2:return[2,e]}})})},this.syncProfile=function(e){return i(n,void 0,void 0,function(){var t,n,o,i,a,u,c,l;return s(this,function(s){switch(s.label){case 0:for(a in t=[this.syncProfileFromLocalStorage,this.syncProfileFromRPCStorage,this.syncProfileFromRemote],n=null,o=!1,i=[],t)i.push(a);u=0,s.label=1;case 1:return u<i.length?(c=i[u],[4,t[c]()]):[3,4];case 2:if(n=s.sent(),o=this.isProfileValid(n))return[3,4];s.label=3;case 3:return u++,[3,1];case 4:return s.trys.push([4,8,,9]),o&&"online"===this.mStatus&&e===this.mSessionId?(this.mProfile=n,[4,r.rpcCall("storage",["set","profile",JSON.stringify(this.mProfile)])]):[3,6];case 5:return s.sent(),[3,7];case 6:this.emitError({message:"Failed to update profile, invalid response.",detail:n}),s.label=7;case 7:return[3,9];case 8:return l=s.sent(),this.emitError({message:"Failed to update profile, rpc failed.",detail:l}),[3,9];case 9:return[2,this.mProfile]}})})},this.login=function(e){location=n.mHost+"/login"},this.commitLoginSuccess=function(t){return i(n,void 0,void 0,function(){var n,r,o;return s(this,function(i){switch(i.label){case 0:return n=t.token,r=t.flag,o=Math.random()+Date.now(),this.mSessionId=o,n?(this.mFlag=r||"",this.mSSOToken=t.token,this.mStatus="online",this.removeRequestInspector||(this.removeRequestInspector=h.addRequestInterceptor(this.requestNetworkInspector)),this.removeResponseInspector||(this.removeResponseInspector=h.addResponseInterceptor(this.responseNetworkInspector)),o!==this.mSessionId?[3,2]:[4,Promise.all([e.cacheSSOData(this.mSSOToken,this.mFlag),this.syncProfile(o)])]):[2,this];case 1:i.sent(),i.label=2;case 2:return this.emitStateChange("online"),[2,this]}})})},this.clearCredentials=function(){return n.mSSOToken="",n.mProfile=null,n.removeRequestInspector&&n.removeRequestInspector(),n.removeResponseInspector&&n.removeResponseInspector(),n.removeRequestInspector=null,n.removeResponseInspector=null,delete localStorage["anue.profile"],r.rpcCall("storage",["delete","profile"]),e.removeSSOData(),n.emitStateChange("offline"),n.mSessionId=-1,n},this.logout=this.clearCredentials,this.getCredentialContext=function(){return{authorization:n.mSSOToken,flag:n.mFlag,profile:n.mProfile}};var u=t.host;if(!r&&!v){var w=a.get("utils.rpc");r=new w("anue.auth",function(){var e="https://login.cnyes.com";if("undefined"==typeof location)return e;var t=location.host,n=[["dev-1.beta.cnyes.cool","https://login-dev-1.beta.cnyes.cool"],["dev.beta.cnyes.cool","https://login-dev.beta.cnyes.cool"],["int.cnyes.cool","https://login.int.cnyes.cool"],["beta.cnyes.cool","https://login.beta.cnyes.cool"],["stage.cnyes.cool","https://login.stage.cnyes.cool"],["cnyes.com","https://login.cnyes.com"]];for(var r in n)if(t.indexOf(n[r][0])>-1){e=n[r][1];break}return e+"/dpi.html"}())}window._authToken=function(e){return n.mSSOToken=e},u&&(this.mHost=u),!1!==t.isOpener&&window.addEventListener("message",this.listenChildFrameEvent),!1!==t.imc&&(l.has("auth.getCtx")||(l.register("auth.stateChange",function(e){return i(n,void 0,void 0,function(){return s(this,function(t){return this.onStateChange(e),[2,{data:null}]})})}),l.register("auth.getCtx",function(){return i(n,void 0,void 0,function(){return s(this,function(e){switch(e.label){case 0:return[4,{data:this.getCredentialContext()}];case 1:return[2,e.sent()]}})})}),l.register("auth.consume",function(e){return i(n,void 0,void 0,function(){return s(this,function(t){return this.consumeExisting(e),[2]})})})))}return e.trackError=function(e){var t=a.get("extern.trackjs");t&&t.error(e)},e.getSSOData=function(){return i(void 0,void 0,void 0,function(){var e;return s(this,function(t){switch(t.label){case 0:return[4,r.rpcCall("storage",["get","sso"])];case 1:return(e=t.sent()).data?[2,JSON.parse(e.data)]:[2,{token:"",flag:""}]}})})},e.removeSSOData=function(){return i(void 0,void 0,void 0,function(){return s(this,function(e){switch(e.label){case 0:return[4,r.rpcCall("storage",["delete","sso"])];case 1:return e.sent(),[2]}})})},e.cacheSSOData=function(e,t){return i(void 0,void 0,void 0,function(){var n;return s(this,function(o){switch(o.label){case 0:return n=JSON.stringify({token:e,flag:t}),[4,r.rpcCall("storage",["set","sso",n])];case 1:return o.sent(),[2]}})})},e.deSerializeAndValidateProfile=function(e){try{return JSON.parse(e)}catch(e){}return null},e}();a.set("packages.auth",x),t.default=x}})});
\ No newline at end of file
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var t=r();for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}("undefined"==typeof window?global:window,function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=27)}({2:function(e,r,t){"use strict";var n,o;!function(e){e.Social="social",e.Email="email"}(n||(n={})),function(e){e.Stock="stock",e.MobileApp="mobile-app",e.Crypto="crypto",e.Driver="driver",e.Unknown="unknown"}(o||(o={}));var a={Auth:{Events:{StateChange:1,Update:2,Error:3,Loaded:4},Storage:{CognitoId:"anue.cognitoId",IdToken:"anue.idToken",AccessToken:"anue.accessToken",Authorization:"anue.authorization",NewComer:"anue.newcomer",Provider:"anue.provider",Profile:"anue.profile",SSOProvider:"anue.sso"}},Debuggable:{Config:"anue.debuggable.config",Logger:"anue.debuggable.logger"},Storage:{Driver:"anue.storage.driver",Abstract:"anue.storage.abstract"},Network:{Driver:"anue.network.driver",Abstract:"anue.network.abstract"},SupportedChannel:o,SupportedProviderType:n};anue.shared.set("constants.keys",a),r.a=a},27:function(e,r,t){"use strict";t.r(r);var n=t(2);r.default=n.a}})});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}({15:function(e,t,n){"use strict";n.r(t);var r=anue.shared,o=r.createStatic("imc.queue",{}),u={register:function(e,t){var n="anue.imc:"+e,u=o.get()[n];r.set(n,t),u&&u.forEach(function(e){return e(t)})},has:function(e){return!!r.get("anue.imc:"+e)},call:function(){var e=[];for(var t in arguments)e.push(arguments[t]);return new Promise(function(t,n){var u="anue.imc:"+e[0],i=r.get(u);i?t(i.apply(null,e.slice(1))):(o.get()[u]||(o.get()[u]=[]),o.get()[u].push(function(n){t(n.apply(null,e.slice(1)))}))})}};r.set("packages.imc",u),t.default=u}})});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=4)}({4:function(e,t,r){"use strict";r.r(t),r.d(t,"AbstractNetworkInterface",function(){return u}),r.d(t,"setDriver",function(){return i}),r.d(t,"getDriver",function(){return c}),r.d(t,"addResponseInspector",function(){return a}),r.d(t,"addRequestInspector",function(){return f});var n=anue.shared,o=n.get("constants.keys"),u=n.get("library.net.abstract"),i=function(e){anue.shared.set(o.Network.Driver,e)},c=function(){return anue.shared.get(o.Network.Driver)},f=u.addRequestInterceptor,a=u.addResponseInterceptor,d={BaseNetwork:u,setDriver:i,getDriver:c,clearInterceptors:u.clearInterceptors,addRequestInterceptor:f,addResponseInterceptor:a};anue.shared.set("library.net",d)}})});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=14)}({14:function(e,t,n){"use strict";n.r(t);var r=function(e,t,n,r){return new(n||(n=Promise))(function(o,u){function a(e){try{i(r.next(e))}catch(e){u(e)}}function c(e){try{i(r.throw(e))}catch(e){u(e)}}function i(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,c)}i((r=r.apply(e,t||[])).next())})},o=function(e,t){var n,r,o,u,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function c(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}},u=anue.shared,a=u.createStatic("otac.ctx",{url:"https://login.cnyes.com",engines:{},loaded:{},requests:{}}),c={setServer:function(e){return a.get().server=e,c},loadComponent:function(e,t,n){return void 0===n&&(n=!0),r(void 0,void 0,void 0,function(){var r;return o(this,function(o){switch(o.label){case 0:return!n&&a.get().loaded[e]?[2,u.get("otac:"+e+"."+t)]:(r=anue["otac.ctx"].requests[e+"."+t])?[3,2]:[4,new Promise(function(n){anue["otac.ctx"].requests[e+"."+t]=n,anue["utils.res"].loadScript(a.get().server+"/"+e+"."+t+".js")})];case 1:return o.sent(),[3,4];case 2:return[4,r];case 3:o.sent(),o.label=4;case 4:return a.get().loaded[e]=t,[2,u.get("otac:"+e+"."+t)]}})})},finish:function(e,t,n){var r=anue["otac.ctx"].requests;r[e+"."+t]&&r[e+"."+t](n),r[e+".latest"]&&r[e+"."+t](n)}};u.set("packages.otac",c),t.default=u.get("packages.otac")}})});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){"use strict";n.r(t),function(e){var n=null;(n="undefined"==typeof window?e:window).anue||(n.anue={});var r={set:function(e,t){n.anue[e]=t},get:function(e){return n.anue[e]},createStatic:function(e,t){var r="static:"+e;return n.anue[r]||(n.anue[e]=t,n.anue[r]={get:function(){return n.anue[e]},set:function(t){n.anue[e]=t}}),n.anue[r]}};n.anue.shared=r,t.default=r}.call(this,n(5))},function(e,t,n){"use strict";var r=function(e,t,n,r){return new(n||(n=Promise))(function(o,u){function i(e){try{c(r.next(e))}catch(e){u(e)}}function a(e){try{c(r.throw(e))}catch(e){u(e)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(i,a)}c((r=r.apply(e,t||[])).next())})},o=function(e,t){var n,r,o,u,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},u=function(){function e(){var e=this;this.removeItem=function(t){return r(e,void 0,void 0,function(){return o(this,function(e){return[2,this.removeItemImpl(t)]})})},this.setItem=function(t,n){return r(e,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return this.validateKey(t),[4,this.setItemImpl(t,n)];case 1:return[2,e.sent()]}})})},this.getItem=function(t){return r(e,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return this.validateKey(t),[4,this.getItemImpl(t)];case 1:return[2,e.sent()]}})})},this.setMulti=function(t){return r(e,void 0,void 0,function(){var e,n,r,u;return o(this,function(o){switch(o.label){case 0:for(n in e=[],t)e.push(n);r=0,o.label=1;case 1:return r<e.length?(u=e[r],[4,this.setItemImpl(u,t[u])]):[3,4];case 2:o.sent(),o.label=3;case 3:return r++,[3,1];case 4:return[2,!0]}})})}}return e.prototype.validateKey=function(e){if("string"!=typeof e&&"number"!=typeof e)throw{message:"cannot setItem with a key is neither a string or number",detail:e}},e}();t.a=u},function(e,t,n){"use strict";var r,o;!function(e){e.Social="social",e.Email="email"}(r||(r={})),function(e){e.Stock="stock",e.MobileApp="mobile-app",e.Crypto="crypto",e.Driver="driver",e.Unknown="unknown"}(o||(o={}));var u={Auth:{Events:{StateChange:1,Update:2,Error:3,Loaded:4},Storage:{CognitoId:"anue.cognitoId",IdToken:"anue.idToken",AccessToken:"anue.accessToken",Authorization:"anue.authorization",NewComer:"anue.newcomer",Provider:"anue.provider",Profile:"anue.profile",SSOProvider:"anue.sso"}},Debuggable:{Config:"anue.debuggable.config",Logger:"anue.debuggable.logger"},Storage:{Driver:"anue.storage.driver",Abstract:"anue.storage.abstract"},Network:{Driver:"anue.network.driver",Abstract:"anue.network.abstract"},SupportedChannel:o,SupportedProviderType:r};anue.shared.set("constants.keys",u),t.a=u},function(e,t,n){"use strict";n.r(t),n.d(t,"setDriver",function(){return i}),n.d(t,"getDriver",function(){return a});var r=n(2),o=n(1);n.d(t,"AbstractStorageInterface",function(){return o.a});var u=n(0),i=function(e){return u.default.set(r.a.Storage.Driver,e)},a=function(){return u.default.get(r.a.Storage.Driver)}},,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n}])});
\ No newline at end of file
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t=n();for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}("undefined"==typeof window?global:window,function(){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=7)}({7:function(e,n,t){"use strict";t.r(n);var r=function(){var e=this;this.handlers={},this.clear=function(){return e.handlers={}},this.emit=function(n,t){var r=e.handlers[n];r&&r.forEach(function(e){return e(t)})},this.on=function(n,t){return e.handlers[n]=e.handlers[n]||[],e.handlers[n].push(t),function(){var r=e.handlers[n].indexOf(t);r>-1&&e.handlers[n].splice(r,1),t=null}}};anue.shared.set("utils.eventy",r),n.default=r}})});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}({8:function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)?t.reduce(function(e,t){return e&&e[t]},e):null==e?e:e[t]}n.r(t),anue.shared.set("utils.getty",r),t.default=r}})});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=12)}({12:function(e,t,n){"use strict";n.r(t),n.d(t,"obfuscate",function(){return r}),n.d(t,"defuscate",function(){return o});var r=function(e,t){void 0===t&&(t=20);for(var n=e.split(""),r=0;r<n.length;r++){n[r].charCodeAt(0)<=126&&(n[r]=String.fromCharCode((n[r].charCodeAt(0)+t)%126))}return n.join("")},o=function(e){return r(e,106)};anue.shared.set("utils.obfuscator",{obfuscate:r,defuscate:o})}})});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("axios"));else if("function"==typeof define&&define.amd)define(["axios"],t);else{var n="object"==typeof exports?t(require("axios")):t(e.axios);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=30)}([function(e,t,n){"use strict";n.r(t),function(e){var n=null;(n="undefined"==typeof window?e:window).anue||(n.anue={});var r={set:function(e,t){n.anue[e]=t},get:function(e){return n.anue[e]},createStatic:function(e,t){var r="static:"+e;return n.anue[r]||(n.anue[e]=t,n.anue[r]={get:function(){return n.anue[e]},set:function(t){n.anue[e]=t}}),n.anue[r]}};n.anue.shared=r,t.default=r}.call(this,n(5))},function(e,t,n){"use strict";var r=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function u(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(u,a)}c((r=r.apply(e,t||[])).next())})},o=function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},i=function(){function e(){var e=this;this.removeItem=function(t){return r(e,void 0,void 0,function(){return o(this,function(e){return[2,this.removeItemImpl(t)]})})},this.setItem=function(t,n){return r(e,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return this.validateKey(t),[4,this.setItemImpl(t,n)];case 1:return[2,e.sent()]}})})},this.getItem=function(t){return r(e,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return this.validateKey(t),[4,this.getItemImpl(t)];case 1:return[2,e.sent()]}})})},this.setMulti=function(t){return r(e,void 0,void 0,function(){var e,n,r,i;return o(this,function(o){switch(o.label){case 0:for(n in e=[],t)e.push(n);r=0,o.label=1;case 1:return r<e.length?(i=e[r],[4,this.setItemImpl(i,t[i])]):[3,4];case 2:o.sent(),o.label=3;case 3:return r++,[3,1];case 4:return[2,!0]}})})}}return e.prototype.validateKey=function(e){if("string"!=typeof e&&"number"!=typeof e)throw{message:"cannot setItem with a key is neither a string or number",detail:e}},e}();t.a=i},function(e,t,n){"use strict";var r,o;!function(e){e.Social="social",e.Email="email"}(r||(r={})),function(e){e.Stock="stock",e.MobileApp="mobile-app",e.Crypto="crypto",e.Driver="driver",e.Unknown="unknown"}(o||(o={}));var i={Auth:{Events:{StateChange:1,Update:2,Error:3,Loaded:4},Storage:{CognitoId:"anue.cognitoId",IdToken:"anue.idToken",AccessToken:"anue.accessToken",Authorization:"anue.authorization",NewComer:"anue.newcomer",Provider:"anue.provider",Profile:"anue.profile",SSOProvider:"anue.sso"}},Debuggable:{Config:"anue.debuggable.config",Logger:"anue.debuggable.logger"},Storage:{Driver:"anue.storage.driver",Abstract:"anue.storage.abstract"},Network:{Driver:"anue.network.driver",Abstract:"anue.network.abstract"},SupportedChannel:o,SupportedProviderType:r};anue.shared.set("constants.keys",i),t.a=i},function(e,t,n){"use strict";n.r(t),n.d(t,"setDriver",function(){return u}),n.d(t,"getDriver",function(){return a});var r=n(2),o=n(1);n.d(t,"AbstractStorageInterface",function(){return o.a});var i=n(0),u=function(e){return i.default.set(r.a.Storage.Driver,e)},a=function(){return i.default.get(r.a.Storage.Driver)}},function(e,t,n){"use strict";n.r(t),n.d(t,"AbstractNetworkInterface",function(){return i}),n.d(t,"setDriver",function(){return u}),n.d(t,"getDriver",function(){return a}),n.d(t,"addResponseInspector",function(){return s}),n.d(t,"addRequestInspector",function(){return c});var r=anue.shared,o=r.get("constants.keys"),i=r.get("library.net.abstract"),u=function(e){anue.shared.set(o.Network.Driver,e)},a=function(){return anue.shared.get(o.Network.Driver)},c=i.addRequestInterceptor,s=i.addResponseInterceptor,f={BaseNetwork:i,setDriver:u,getDriver:a,clearInterceptors:i.clearInterceptors,addRequestInterceptor:c,addResponseInterceptor:s};anue.shared.set("library.net",f)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,function(e,t,n){"use strict";n.r(t);var r=function(){var e=this;this.handlers={},this.clear=function(){return e.handlers={}},this.emit=function(t,n){var r=e.handlers[t];r&&r.forEach(function(e){return e(n)})},this.on=function(t,n){return e.handlers[t]=e.handlers[t]||[],e.handlers[t].push(n),function(){var r=e.handlers[t].indexOf(n);r>-1&&e.handlers[t].splice(r,1),n=null}}};anue.shared.set("utils.eventy",r),t.default=r},function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)?t.reduce(function(e,t){return e&&e[t]},e):null==e?e:e[t]}n.r(t),anue.shared.set("utils.getty",r),t.default=r},function(e,t,n){"use strict";n.r(t);var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function u(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(u,a)}c((r=r.apply(e,t||[])).next())})},i=function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},u=anue.shared,a=new(u.get("utils.eventy")),c=function(e,t){var n=this;if(this.mProxyUri="",this.mTid=1,this.mProxyReady=!1,this.mProxyReadyPromise=null,this.waitForProxy=function(e){return o(n,void 0,void 0,function(){return i(this,function(e){return this.mProxyReady?[2,Promise.resolve()]:[2,this.mProxyReadyPromise]})})},this.rpcCall=function(e,t){return new Promise(function(u,c){return o(n,void 0,void 0,function(){var n,o,s,f=this;return i(this,function(i){switch(i.label){case 0:return[4,this.waitForProxy(e+":"+t.join("."))];case 1:i.sent();try{++this.mTid,n=setTimeout(function(){c({token:"dpi:"+f.mTag+"."+f.mTid,message:"[rpc] failed to load due to request timeout.",detail:r({prefix:e},t)}),clearTimeout(n)},1e4),o="dpi:"+this.mTag+"."+this.mTid,s=a.on(o,function(e){clearTimeout(n),e.error?c(e):u(e),s()}),this.mDpi.contentWindow.postMessage({tid:o,method:e,args:t},"*")}catch(e){c(e)}return[2]}})})})},"undefined"!=typeof window&&window.addEventListener("message",function(e){if(e.origin.indexOf("cnyes.com")>-1||e.origin.indexOf("cnyes.cool")>-1)try{var t=JSON.parse(e.data);if(t.type){var n=t.tid;a.emit(n,t)}}catch(e){}}),!e||!t)throw Error("[rpc] can not be initialized with tag="+e+" proxyUri="+t);this.mProxyUri=t,this.mTag=e;var u="anue-dpi-"+this.mTag,c=document.getElementById(u);c||(this.mProxyReadyPromise=new Promise(function(e,t){(c=document.createElement("iframe")).src=""+n.mProxyUri,c.setAttribute("id",u),c.setAttribute("style","border:0;position:fixed;left:-9999px;top:-9999px;height:1px;width:1px"),c.onload=function(){n.mProxyReady=!0,e()},c.onerror=t,n.mDpi=c,document.body.appendChild(n.mDpi)}))};u.set("utils.rpc",c),t.default=c},function(e,t,n){"use strict";n.r(t);var r=anue.shared.get("utils.obfuscator"),o=r.obfuscate,i=r.defuscate,u="undefined"!=typeof document,a=[119,5,5,1,125,121].reduce(function(e,t){return e+String[i("z\bW|u\bWxy")](t)},""),c="undefined"==typeof location?".beta.cnyes.cool":location.hostname,s=/\.(beta\.|int\.|stage\.)?(cnyes\.(cool|com)|anue\.(in|com))\/?$/.exec(c),f=s?s[0]:"/",l=function(e,t,n,r){void 0===r&&(r=!0),f&&u&&(document.cookie="anue."+e+"="+(r?btoa(o(JSON.stringify(t))):JSON.stringify(t))+"; max-age="+n+"; domain="+f+"; path=/")},d=function(e,t){void 0===t&&(t=!0);var n=null;if(!u)return n;try{var r=function(){if("undefined"==typeof document)return"";var e=atob("ZG9jdW1lbnQ=");return window[e][i(a)]}(),o=String(r).match(new RegExp("anue."+e+"=[^;]+"));if(o){var c=String(o[0]).split("=")[1];t&&(c=i(atob(String(c)))),n=JSON.parse(c)}}catch(e){}return n},p={updateSSOCookie:function(e){p.setSSOCookie(e)},setSSOCookie:function(e){l("sso",e,31536e4)},getAuthFlag:function(){return d("ssof")},setAuthFlag:function(e){l("ssof",e,31536e4)},getSSOFlag:function(){return d("ssof")},getSSOCookie:function(){return d("sso")},getCachedUser:function(){return d("ssoc")},cacheValidUser:function(e,t,n){void 0===n&&(n=300),l("ssoc",{cognitoId:e,profile:{avatar:t.avatar,name:t.name,email:t.name}},n)},removeCachedContext:function(){l("sso.express",{},0,!1)},getCachedContext:function(){return d("sso.express",!1)},cacheContext:function(e,t){void 0===t&&(t=864e5),l("sso.express",e,t,!1)},removeCachedUser:function(){l("ssoc",{},0)},removeSSOCookie:function(){f&&["sso","ssoc","sso.express","ssof","ssoem"].forEach(function(e){return l(e,{},0)})},setEmailUser:function(e,t){l("ssoem",[e,t],31536e4)},getEmailUser:function(){return d("ssoem")}};anue.shared.set("utils.sso",p),t.default=p},,,,,,,,,,,function(e,t,n){"use strict";var r,o=n(22),i=n.n(o),u=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function u(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(u,a)}c((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.instance=i.a.create(),t.request=function(e,n){return c(t,void 0,void 0,function(){var t,r;return s(this,function(o){switch(o.label){case 0:t=null,e&&"object"==typeof e.body&&(e.headers=a({"content-type":"application/json"},e.headers),e.body=JSON.stringify(e.body)),o.label=1;case 1:return o.trys.push([1,4,,5]),[4,this.instance.request({url:e.url,method:e.method||"get",headers:e.headers,data:e.body})];case 2:return[4,o.sent().data];case 3:return t=o.sent(),[3,5];case 4:return(r=o.sent())&&r.response&&r.status?(n.status=r.response.status,t=r.response.data):n.status=4999,[3,5];case 5:return[2,t]}})})},t}return u(t,e),t}(anue.shared.get("library.net.abstract"));["delete","get","head","options"].forEach(function(e){f.prototype[e]=function(t,n){return this.send(a({},n,{method:e,url:t}))}}),["post","put","patch"].forEach(function(e){f.prototype[e]=function(t,n,r){return this.send(a({},r,{method:e,url:t,body:n}))}}),t.a=f},function(t,n){t.exports=e},,,,,,,,function(e,t,n){"use strict";n.r(t);n(8),n(10),n(7),n(9);var r,o=n(3),i=n(4),u=n(21),a=n(1),c=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function u(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(u,a)}c((r=r.apply(e,t||[])).next())})},f=function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.removeItemImpl=function(e){return s(t,void 0,void 0,function(){return f(this,function(t){switch(t.label){case 0:return delete localStorage[e],[4,!0];case 1:return[2,t.sent()]}})})},t.setItemImpl=function(e,n){return s(t,void 0,void 0,function(){return f(this,function(t){switch(t.label){case 0:return localStorage[e]=n,[4,!0];case 1:return[2,t.sent()]}})})},t.getItemImpl=function(e){return s(t,void 0,void 0,function(){return f(this,function(t){switch(t.label){case 0:return[4,localStorage[e]];case 1:return[2,t.sent()]}})})},t}return c(t,e),t}(a.a),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.setItemImpl=function(e,n){return s(t,void 0,void 0,function(){return f(this,function(e){switch(e.label){case 0:return[4,!0];case 1:return[2,e.sent()]}})})},t.getItemImpl=function(e){return s(t,void 0,void 0,function(){return f(this,function(e){switch(e.label){case 0:return[4,""];case 1:return[2,e.sent()]}})})},t.removeItemImpl=function(e){return s(t,void 0,void 0,function(){return f(this,function(e){switch(e.label){case 0:return[4,!0];case 1:return[2,e.sent()]}})})},t}return c(t,e),t}(a.a),p="undefined"==typeof localStorage?d:l;n.d(t,"Storage",function(){return o}),n.d(t,"Network",function(){return i}),o.setDriver(new p),i.setDriver(new u.a)}])});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=26)}({26:function(e,t,n){}})});
\ No newline at end of file
{
"name": "anue-fe-sdk",
"version": "3.1.2",
"description": "Anue SDK for developers",
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"scripts": {
"start": "tsc -w -p ./",
"debug": "sh scripts/debug.sh",
"build": "webpack --mode production",
"watch": "webpack --watch",
"pipe": "sh scripts/pipe.sh",
"publish-npm": "sh scripts/build-and-commit.sh",
"size": "webpack && size-limit",
"analyze": "ANALYZE=true webpack --mode production",
"test": "jest test --coverage",
"lint": "tslint --project ./src",
"test:snapshot": "jest test -u"
},
"keywords": [
"anue",
"sdk"
],
"engines": {
"node": ">=8.0.0"
},
"author": "anue-fe",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "node scripts/publish.js"
}
},
"lint-staged": {
"./src/**/*.{ts,tsx}": [
"jest --findRelatedTests --listTests",
"prettier --write --single-quote",
"tslint",
"git add"
]
},
"devDependencies": {
"@babel/core": "7.2.0",
"@babel/plugin-proposal-class-properties": "7.2.1",
"@babel/preset-env": "7.2.0",
"@babel/preset-react": "7.0.0",
"@types/chalk": "2.2.0",
"@types/chokidar": "^2.1.3",
"@types/jest": "23.3.10",
"@types/node": "10.12.12",
"@types/prettier": "1.15.2",
"@types/terser-webpack-plugin": "^1.2.1",
"@types/typescript": "2.0.0",
"@types/webpack": "4.4.20",
"@types/webpack-bundle-analyzer": "2.13.0",
"babel-loader": "8.0.4",
"chalk": "2.4.1",
"chokidar": "^3.0.2",
"concurrently": "4.1.0",
"express": "4.16.4",
"husky": "1.2.0",
"jest": "23.6.0",
"lint-staged": "8.1.0",
"prettier": "1.15.3",
"react": "16.6.3",
"react-dom": "16.6.3",
"react-dom-server": "0.0.5",
"react-json-tree": "0.11.0",
"size-limit": "0.21.0",
"terser-webpack-plugin": "^1.2.3",
"ts-jest": "23.10.5",
"ts-loader": "5.3.1",
"tsconfig-paths-webpack-plugin": "3.2.0",
"tslint": "5.11.0",
"typescript": "3.2.1",
"uglifyjs-webpack-plugin": "2.0.1",
"webpack": "4.27.1",
"webpack-bundle-analyzer": "3.0.3",
"webpack-cli": "3.1.2",
"webpack-isomorphic-tools": "3.0.6",
"webpack-node-externals": "1.7.2"
},
"peerDependencies": {
"axios": "^0.18.0"
},
"dependencies": {
"@types/http-proxy": "^1.16.2",
"@types/lz-string": "^1.3.33",
"axios": "^0.18.0",
"http-proxy": "^1.17.0",
"lz-string": "^1.4.4"
}
}
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=17)}({17:function(e,t,n){"use strict";function r(e){var t=e.split("?")[1],n={};return t&&(n=t.split("&").reduce(function(e,t){var n=t.split("="),r=n[0],o=n[1];return e[r]=o,e},{})),n}n.r(t),n.d(t,"toObject",function(){return r});var o=function(e){var t="";for(var n in e){t+=""+(t?"&":"?")+encodeURIComponent(n)+"="+encodeURIComponent(e[n])}return t};o.toObject=r,anue.shared.set("utils.paramly",o),t.default=o}})});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=24)}({24:function(e,t,r){"use strict";r.r(t),t.default=function(e,t){return Array.isArray(t)?t.reduce(function(t,r){var n=e[r];return n&&(t[r]=n),t},{}):{}}}})});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=25)}({25:function(e,t,n){"use strict";var r=anue.shared.get("preset-init");"function"==typeof r&&r()}})});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=29)}({0:function(e,t,n){"use strict";n.r(t),function(e){var n=null;(n="undefined"==typeof window?e:window).anue||(n.anue={});var r={set:function(e,t){n.anue[e]=t},get:function(e){return n.anue[e]},createStatic:function(e,t){var r="static:"+e;return n.anue[r]||(n.anue[e]=t,n.anue[r]={get:function(){return n.anue[e]},set:function(t){n.anue[e]=t}}),n.anue[r]}};n.anue.shared=r,t.default=r}.call(this,n(5))},1:function(e,t,n){"use strict";var r=function(e,t,n,r){return new(n||(n=Promise))(function(o,u){function i(e){try{c(r.next(e))}catch(e){u(e)}}function a(e){try{c(r.throw(e))}catch(e){u(e)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(i,a)}c((r=r.apply(e,t||[])).next())})},o=function(e,t){var n,r,o,u,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},u=function(){function e(){var e=this;this.removeItem=function(t){return r(e,void 0,void 0,function(){return o(this,function(e){return[2,this.removeItemImpl(t)]})})},this.setItem=function(t,n){return r(e,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return this.validateKey(t),[4,this.setItemImpl(t,n)];case 1:return[2,e.sent()]}})})},this.getItem=function(t){return r(e,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return this.validateKey(t),[4,this.getItemImpl(t)];case 1:return[2,e.sent()]}})})},this.setMulti=function(t){return r(e,void 0,void 0,function(){var e,n,r,u;return o(this,function(o){switch(o.label){case 0:for(n in e=[],t)e.push(n);r=0,o.label=1;case 1:return r<e.length?(u=e[r],[4,this.setItemImpl(u,t[u])]):[3,4];case 2:o.sent(),o.label=3;case 3:return r++,[3,1];case 4:return[2,!0]}})})}}return e.prototype.validateKey=function(e){if("string"!=typeof e&&"number"!=typeof e)throw{message:"cannot setItem with a key is neither a string or number",detail:e}},e}();t.a=u},11:function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=function(e,t,n,r){return new(n||(n=Promise))(function(o,u){function i(e){try{c(r.next(e))}catch(e){u(e)}}function a(e){try{c(r.throw(e))}catch(e){u(e)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(i,a)}c((r=r.apply(e,t||[])).next())})},u=function(e,t){var n,r,o,u,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},i={},a={"stock-dev":"stock","global-stock":"stock"},c={"stock-dev":"STOCK",stock:"STOCK","global-stock":"STOCK","global-stock-dev":"STOCK",login:"LOGIN","login-dev":"LOGIN"};var s=function(){function e(){var t=this;this.baseUrl="",this.setBaseUrl=function(e){return t.baseUrl=e,t},this.send=function(n){return o(t,void 0,void 0,function(){var t,o,s,l,f,p,d,h,b;return u(this,function(u){switch(u.label){case 0:t=e.onRequestInterceptors,o=e.onResponseInterceptors,n.headers=r({},function(){if("undefined"==typeof location)return{"X-System-Kind":"MEDIA","X-Platform":"WEB","X-CNYES-APP":"WEB"};if(i[location.hostname])return i[location.hostname];var e=location.hostname.split(".")[0],t={"X-System-Kind":c[e]||"UNKNOWN","X-Platform":"WEB","X-CNYES-APP":a[e]||"unknown"};return i[location.hostname]=t,t}(),n.headers||{}),(s=r({},n)).url=this.baseUrl+n.url,l=0,f=t,u.label=1;case 1:return l<f.length?[4,(0,f[l])(s)]:[3,4];case 2:s=u.sent(),u.label=3;case 3:return l++,[3,1];case 4:return p={},[4,this.request(s,p)];case 5:d=u.sent(),Array.isArray(n.handles)&&n.handles.forEach(function(e){d=e(s,d)||d}),h=0,b=o,u.label=6;case 6:return h<b.length?[4,(0,b[h])(s,d,p)]:[3,9];case 7:d=u.sent(),u.label=8;case 8:return h++,[3,6];case 9:return[4,d];case 10:return[2,u.sent()]}})})}}return e.onRequestInterceptors=[],e.onResponseInterceptors=[],e.clearInterceptors=function(){e.onRequestInterceptors=[],e.onResponseInterceptors=[]},e.addRequestInterceptor=function(t){return e.onRequestInterceptors.push(t),function(){var n=e.onRequestInterceptors.indexOf(t);n>-1&&e.onRequestInterceptors.splice(n,1),t=null}},e.addResponseInterceptor=function(t){return e.onResponseInterceptors.push(t),function(){var n=e.onResponseInterceptors.indexOf(t);n>-1&&e.onResponseInterceptors.splice(n,1),t=null}},e}();anue.shared.set("library.net.abstract",s),t.a=s},2:function(e,t,n){"use strict";var r,o;!function(e){e.Social="social",e.Email="email"}(r||(r={})),function(e){e.Stock="stock",e.MobileApp="mobile-app",e.Crypto="crypto",e.Driver="driver",e.Unknown="unknown"}(o||(o={}));var u={Auth:{Events:{StateChange:1,Update:2,Error:3,Loaded:4},Storage:{CognitoId:"anue.cognitoId",IdToken:"anue.idToken",AccessToken:"anue.accessToken",Authorization:"anue.authorization",NewComer:"anue.newcomer",Provider:"anue.provider",Profile:"anue.profile",SSOProvider:"anue.sso"}},Debuggable:{Config:"anue.debuggable.config",Logger:"anue.debuggable.logger"},Storage:{Driver:"anue.storage.driver",Abstract:"anue.storage.abstract"},Network:{Driver:"anue.network.driver",Abstract:"anue.network.abstract"},SupportedChannel:o,SupportedProviderType:r};anue.shared.set("constants.keys",u),t.a=u},29:function(e,t,n){"use strict";n.r(t);var r,o,u=n(3),i=n(2),a=n(0),c=n(11),s=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=function(e,t,n,r){return new(n||(n=Promise))(function(o,u){function i(e){try{c(r.next(e))}catch(e){u(e)}}function a(e){try{c(r.throw(e))}catch(e){u(e)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(i,a)}c((r=r.apply(e,t||[])).next())})},f=function(e,t){var n,r,o,u,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}};!function(e){e[e.JSON=0]="JSON",e[e.BLOB=1]="BLOB",e[e.TEXT=2]="TEXT",e[e.UNKNOWN=3]="UNKNOWN"}(o||(o={}));var p=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.request=function(e){return l(n,void 0,void 0,function(){var n,r,u,i;return f(this,function(a){switch(a.label){case 0:return[4,fetch(e.url,{method:e.method,headers:e.headers,body:e.body})];case 1:switch(n=a.sent(),r=n.headers.get("content-type")||null,u=t.getContentType(r),i=null,u){case o.BLOB:return[3,2];case o.JSON:return[3,4]}return[3,6];case 2:return[4,n.blob()];case 3:return i=a.sent(),[3,8];case 4:return[4,n.json()];case 5:return i=a.sent(),[3,8];case 6:return[4,n.text()];case 7:return i=a.sent(),[3,8];case 8:return[4,i];case 9:return[2,a.sent()]}})})},n}return s(t,e),t.getContentType=function(e){return"string"!=typeof e?o.UNKNOWN:e.includes("application/json")?o.JSON:e.includes("text/")?o.TEXT:e.includes("audio")||e.includes("video")||e.includes("image")||e.includes("application/octet")?o.BLOB:o.UNKNOWN},t}(c.a),d=n(1),h=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(e,t,n,r){return new(n||(n=Promise))(function(o,u){function i(e){try{c(r.next(e))}catch(e){u(e)}}function a(e){try{c(r.throw(e))}catch(e){u(e)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(i,a)}c((r=r.apply(e,t||[])).next())})},y=function(e,t){var n,r,o,u,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.removeItemImpl=function(e){return b(t,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return delete localStorage[e],[4,!0];case 1:return[2,t.sent()]}})})},t.setItemImpl=function(e,n){return b(t,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return localStorage[e]=n,[4,!0];case 1:return[2,t.sent()]}})})},t.getItemImpl=function(e){return b(t,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return[4,localStorage[e]];case 1:return[2,t.sent()]}})})},t}return h(t,e),t}(d.a);n.d(t,"Storage",function(){return u}),n.d(t,"Network",function(){return u}),a.default.set(i.a.Storage.Driver,new v),a.default.set(i.a.Network.Driver,new p)},3:function(e,t,n){"use strict";n.r(t),n.d(t,"setDriver",function(){return i}),n.d(t,"getDriver",function(){return a});var r=n(2),o=n(1);n.d(t,"AbstractStorageInterface",function(){return o.a});var u=n(0),i=function(e){return u.default.set(r.a.Storage.Driver,e)},a=function(){return u.default.get(r.a.Storage.Driver)}},5:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n}})});
\ No newline at end of file
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t=n();for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}("undefined"==typeof window?global:window,function(){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=18)}({18:function(e,n,t){"use strict";t.r(n),t.d(n,"loadCSS",function(){return r}),t.d(n,"loadScript",function(){return o});var r=function(e,n){return new Promise(function(t,r){if("undefined"!=typeof document){if(n){var o=document.querySelector("#"+n);o&&o.parentNode&&o.parentNode.removeChild(o)}var u=document.createElement("link");n&&(u.id=n),u.rel="stylesheet",u.href=e,u.onload=t,u.onerror=r,document.head.appendChild(u)}})},o=function(e){return new Promise(function(n,t){if("undefined"!=typeof document){var r=document.createElement("script");r.src=e,r.onload=n,r.onerror=t,document.head.appendChild(r)}})},u={loadCSS:r,loadScript:o};anue.shared.set("utils.res",u),n.default=u}})});
\ No newline at end of file
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"==typeof window?global:window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}({9:function(e,t,n){"use strict";n.r(t);var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function u(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(u,a)}c((r=r.apply(e,t||[])).next())})},i=function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},u=anue.shared,a=new(u.get("utils.eventy")),c=function(e,t){var n=this;if(this.mProxyUri="",this.mTid=1,this.mProxyReady=!1,this.mProxyReadyPromise=null,this.waitForProxy=function(e){return o(n,void 0,void 0,function(){return i(this,function(e){return this.mProxyReady?[2,Promise.resolve()]:[2,this.mProxyReadyPromise]})})},this.rpcCall=function(e,t){return new Promise(function(u,c){return o(n,void 0,void 0,function(){var n,o,s,f=this;return i(this,function(i){switch(i.label){case 0:return[4,this.waitForProxy(e+":"+t.join("."))];case 1:i.sent();try{++this.mTid,n=setTimeout(function(){c({token:"dpi:"+f.mTag+"."+f.mTid,message:"[rpc] failed to load due to request timeout.",detail:r({prefix:e},t)}),clearTimeout(n)},1e4),o="dpi:"+this.mTag+"."+this.mTid,s=a.on(o,function(e){clearTimeout(n),e.error?c(e):u(e),s()}),this.mDpi.contentWindow.postMessage({tid:o,method:e,args:t},"*")}catch(e){c(e)}return[2]}})})})},"undefined"!=typeof window&&window.addEventListener("message",function(e){if(e.origin.indexOf("cnyes.com")>-1||e.origin.indexOf("cnyes.cool")>-1)try{var t=JSON.parse(e.data);if(t.type){var n=t.tid;a.emit(n,t)}}catch(e){}}),!e||!t)throw Error("[rpc] can not be initialized with tag="+e+" proxyUri="+t);this.mProxyUri=t,this.mTag=e;var u="anue-dpi-"+this.mTag,c=document.getElementById(u);c||(this.mProxyReadyPromise=new Promise(function(e,t){(c=document.createElement("iframe")).src=""+n.mProxyUri,c.setAttribute("id",u),c.setAttribute("style","border:0;position:fixed;left:-9999px;top:-9999px;height:1px;width:1px"),c.onload=function(){n.mProxyReady=!0,e()},c.onerror=t,n.mDpi=c,document.body.appendChild(n.mDpi)}))};u.set("utils.rpc",c),t.default=c}})});
\ No newline at end of file
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t=n();for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}("undefined"==typeof window?global:window,function(){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}({0:function(e,n,t){"use strict";t.r(n),function(e){var t=null;(t="undefined"==typeof window?e:window).anue||(t.anue={});var r={set:function(e,n){t.anue[e]=n},get:function(e){return t.anue[e]},createStatic:function(e,n){var r="static:"+e;return t.anue[r]||(t.anue[e]=n,t.anue[r]={get:function(){return t.anue[e]},set:function(n){t.anue[e]=n}}),t.anue[r]}};t.anue.shared=r,n.default=r}.call(this,t(5))},5:function(e,n){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(e){"object"==typeof window&&(t=window)}e.exports=t}})});
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment