uni-web-sdk
Advanced tools
| /*! | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{g as t,d as r}from"./defineProperty.js";var e={exports:{}};!function(t){function r(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports}(e);var n=t(e.exports),o={exports:{}};!function(t){var e=r.exports.default;function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | ||
| t.exports=n=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,r,e){t[r]=e.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{l({},"")}catch(t){l=function(t,r,e){return t[r]=e}}function h(t,r,e,n){var o=Object.create((r&&r.prototype instanceof d?r:d).prototype),i=new k(n||[]);return a(o,"_invoke",{value:_(t,e,i)}),o}function p(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var v={};function d(){}function y(){}function g(){}var m={};l(m,u,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(G([])));w&&w!==o&&i.call(w,u)&&(m=w);var b=g.prototype=d.prototype=Object.create(m);function L(t){["next","throw","return"].forEach((function(r){l(t,r,(function(t){return this._invoke(r,t)}))}))}function E(t,r){function n(o,a,c,u){var s=p(t[o],t,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==e(l)&&i.call(l,"__await")?r.resolve(l.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,u)}))}u(s.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}})}function _(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return N()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=j(a,e);if(c){if(c===v)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var u=p(t,r,e);if("normal"===u.type){if(n=e.done?"completed":"suspendedYield",u.arg===v)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n="completed",e.method="throw",e.arg=u.arg)}}}function j(t,r){var e=r.method,n=t.iterator[e];if(void 0===n)return r.delegate=null,"throw"===e&&t.iterator.return&&(r.method="return",r.arg=void 0,j(t,r),"throw"===r.method)||"return"!==e&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+e+"' method")),v;var o=p(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function O(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function P(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function G(t){if(t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,n=function r(){for(;++e<t.length;)if(i.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r};return n.next=n}}return{next:N}}function N(){return{value:void 0,done:!0}}return y.prototype=g,a(b,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:y,configurable:!0}),y.displayName=l(g,f,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===y||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,f,"GeneratorFunction")),t.prototype=Object.create(b),t},r.awrap=function(t){return{__await:t}},L(E.prototype),l(E.prototype,s,(function(){return this})),r.AsyncIterator=E,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new E(h(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(b),l(b,f,"Generator"),l(b,u,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=G,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return e("end");if(this.prev>=o.tryLoc){var c=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(c&&u){if(o.catchLoc>this.prev)return e(o.catchLoc,!0);if(o.finallyLoc>this.prev)return e(o.finallyLoc)}else if(c){if(o.catchLoc>this.prev)return e(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(o.finallyLoc>this.prev)return e(o.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(this.prev>=n.tryLoc&&i.call(n,"finallyLoc")&&n.finallyLoc>this.prev){var o=n;break}}o&&("break"===t||"continue"===t)&&r>=o.tryLoc&&o.finallyLoc>=r&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=r,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),v},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),P(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;P(e)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:G(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),v}},r}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}(o);var i=o.exports(),a=i;try{regeneratorRuntime=i}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}export{n as _,a as r}; |
| import '../uni-icon/index'; | ||
| declare class UniSecondaryAuth extends HTMLElement { | ||
| static get observedAttributes(): string[]; | ||
| private inputList; | ||
| private time; | ||
| private timer; | ||
| private timeTxt; | ||
| private sending; | ||
| constructor(); | ||
| get visible(): boolean; | ||
| set visible(value: boolean); | ||
| get inputElements(): SecondaryAuthInputElementVo[]; | ||
| set inputElements(value: SecondaryAuthInputElementVo[]); | ||
| get accessToken(): string; | ||
| set accessToken(value: string); | ||
| get bffUrl(): string; | ||
| set bffUrl(value: string); | ||
| connectedCallback(): void; | ||
| attributeChangedCallback(name: string, oldValue: any, newValue: string): void; | ||
| checkInputs(): void; | ||
| /** | ||
| * 倒计时 | ||
| */ | ||
| doTimeOut(formItem: SecondaryAuthInputElementVo): void; | ||
| /** | ||
| * 短信验证码接口 | ||
| */ | ||
| doSendMsg(formItem: SecondaryAuthInputElementVo): Promise<void>; | ||
| updateTimeText(text: string): void; | ||
| /** | ||
| * 渲染列表 | ||
| */ | ||
| renderInputElements(): void; | ||
| } | ||
| export { UniSecondaryAuth }; | ||
| declare class SecondaryAuthOption { | ||
| bffUrl: string; | ||
| accessToken: string; | ||
| success?: Function; | ||
| fail?: Function; | ||
| } | ||
| declare const _default: { | ||
| showSecondaryAuth: (option: SecondaryAuthOption) => Promise<void>; | ||
| }; | ||
| export default _default; |
| /*! | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{_ as n,r as e}from"../index2.js";import{_ as t,b as i,a as r}from"../defineProperty.js";import{_ as o,a,b as s,c,d as u}from"../wrapNativeSuper.js";import l from"../http/index.js";import d from"../uni-icon/index.js";import p from"../uni-loading/index.js";import f from"../uni-message/index.js";import{rsa as m}from"../utils/index.js";import"../uni-axios/index.js";function h(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var t,i=o(n);if(e){var r=o(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return a(this,t)}}var b=function(o){s(p,o);var a,u=h(p);function p(){var n;return t(this,p),n=u.call(this),i(c(n),"inputList",[]),i(c(n),"time",60),i(c(n),"timer",null),i(c(n),"timeTxt",""),i(c(n),"sending",!1),n.attachShadow({mode:"open"}).innerHTML=' \n <style>\n :host{\n position:fixed;\n display:flex;\n left:0;\n top:0;\n right:0;\n bottom:0;\n z-index:-1;\n background:rgba(0,0,0,.5);\n visibility:hidden;\n opacity:0;\n transition:.2s;\n }\n :host([visible]){\n opacity:1;\n z-index:50;\n visibility:visible;\n }\n .uni-secondary-auth {\n position: relative;\n margin: 0 auto 50px;\n margin-top: 15vh;\n z-index:51;\n width: 480px;\n height: 342px;\n background: #FFFFFF;\n box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.08);\n border-radius: 4px;\n border: 1px solid #D7DFEB;\n opacity:0;\n transform: scale(0.5);\n transition:.2s cubic-bezier(.645, .045, .355, 1);\n }\n :host([visible]) .uni-secondary-auth{\n opacity:1;\n transform:scale(1);\n }\n .header {\n width: 480px;\n height: 44px;\n box-sizing: border-box;\n padding: 16px 20px 8px 20px;\n background: #FFFFFF;\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n .header-title {\n font-size: 14px;\n font-family: PingFangSC-Medium, PingFang SC;\n font-weight: 500;\n color: #303133;\n line-height: 20px;\n font-size: 14px;\n font-weight: 500;\n color: #303133;\n }\n .main {\n width: 480px;\n height: 242px;\n background: #FFFFFF;\n box-sizing: border-box;\n padding: 28px 40px;\n display: flex;\n flex-wrap: wrap;\n align-content: flex-start;\n }\n .main-item{\n width:100%;\n display:flex;\n align-items:center;\n }\n .main-item:not(:last-child){\n margin-bottom:20px;\n }\n .main-item-label{\n flex: 0 0 auto;\n text-align: right;\n vertical-align: middle;\n float: left;\n font-size: 12px;\n color: #36445a;\n line-height: 32px;\n padding: 0 12px 0 0;\n box-sizing: border-box;\n min-width: 87px;\n }\n .main-item-label:before {\n content: "*";\n color: #de3232;\n margin-right: 4px;\n }\n .main-input{\n position: relative;\n font-size: 12px;\n display: inline-block;\n width: 100%;\n flex: 1 1 auto;\n }\n .main-input__inner {\n -webkit-appearance: none;\n background-color: #fff;\n background-image: none;\n border-radius: 2px;\n border: 1px solid #d7dfeb;\n box-sizing: border-box;\n color: #242633;\n display: inline-block;\n font-size: inherit;\n height: 32px;\n line-height: 32px;\n outline: none;\n padding: 0 12px;\n transition: border-color .2s cubic-bezier(.645,.045,.355,1);\n width: 100%;\n cursor: pointer;\n padding-right:30px;\n }\n .main-input__suffix {\n position: absolute;\n z-index:1;\n right: 5px;\n top: 50%;\n transform: translateY(-50%);\n cursor: pointer;\n text-align: center;\n color: #a1b0c8;\n transition: all .3s;\n }\n .main-input__inner:focus {\n outline: none;\n border-color: #4d63ec;\n }\n .main-input__inner::placeholder{\n color:#A1B0C8;\n font-size:10px;\n }\n .main-input__inner:hover {\n border-color: #4E63CE;\n }\n .main-captcha {\n flex: 0 0 auto;\n width: auto;\n height: 32px;\n padding: 1px 0;\n margin-left:10px;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n cursor: pointer;\n }\n .main-smscode{\n flex:0 0 auto;\n display: inline-block;\n margin-left: 16px;\n width: 100px;\n height: 32px;\n box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n border: 1px solid #A1B0C8;\n color: #A1B0C8;\n display:flex;\n align-items:center;\n justify-content:center;\n font-size: 12px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #A1B0C8;\n line-height: 18px;\n cursor: pointer;\n \n }\n .main-smscode[disabled="disabled"]{\n background: #b3b9c7;\n box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);\n opacity: 0.29;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #303753;\n line-height: 18px;\n border: none;\n text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.1);\n }\n .footer {\n height: 56px;\n font-size: 14px;\n font-family: PingFangSC-Regular, PingFang SC;\n color: #303753;\n display:flex;\n justify-content: flex-end;\n align-items: center;\n padding:0 20px;\n }\n\n .footer-button {\n display: inline-block;\n line-height: 1;\n height: 32px;\n white-space: nowrap;\n cursor: pointer;\n }\n\n .footer-button[disabled="disabled"]{\n color: #a1b0c8;\n cursor: not-allowed;\n background-image: none;\n background-color: #f0f2f6;\n border-color: #d7dfeb;\n }\n\n .footer-button:not(:last-child){\n margin-right:16px;\n }\n\n .footer-button__default,.footer-button__primary{\n background: #fff;\n border: 1px solid #d7dfeb;\n color: #36445a;\n -webkit-appearance: none;\n text-align: center;\n box-sizing: border-box;\n outline: none;\n margin: 0;\n transition: .1s;\n font-weight: 400;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n padding: 7px 12px;\n font-size: 12px;\n border-radius: 2px;\n min-width: 72px;\n }\n\n .footer-button__primary{\n background: #1890FF;\n font-size: 12px;\n color: #FFFFFF;\n }\n\n </style>\n <div id="uni-app" class="uni-secondary-auth">\n <div class="header">\n <span class="header-title">二次认证</span>\n <uni-icon id="close" style="cursor:pointer" size="20" color="#79879E" name="icon-ui-closethick"></uni-icon>\n </div>\n <div class="main" id="main">\n </div>\n <div class="footer">\n <button id="cancel" class="footer-button footer-button__default" type="button">\n <span>取消</span>\n </button>\n <button id="confirm" class="footer-button footer-button__primary" type="button">\n <span>确定</span>\n </button>\n </div>\n </div>',n}return r(p,[{key:"visible",get:function(){return"true"==this.getAttribute("visible")},set:function(n){n?this.setAttribute("visible",n+""):this.removeAttribute("visible")}},{key:"inputElements",get:function(){var n=[],e=this.getAttribute("inputElements");if(e)try{n=JSON.parse(e)}catch(n){throw Error("".concat(e," 参数不合法"))}return n},set:function(n){this.setAttribute("inputElements",JSON.stringify(n))}},{key:"accessToken",get:function(){return this.getAttribute("accessToken")||""},set:function(n){this.setAttribute("accessToken",n)}},{key:"bffUrl",get:function(){return this.getAttribute("bffUrl")||""},set:function(n){this.setAttribute("bffUrl",n)}},{key:"connectedCallback",value:function(){var t=this;this.shadowRoot&&(this.shadowRoot.addEventListener("transitionend",(function(n){"transform"!==n.propertyName||t.visible||document.body.removeChild(t)})),this.shadowRoot.querySelector("#close").addEventListener("click",(function(n){t.visible=!1})),this.shadowRoot.querySelector("#cancel").addEventListener("click",(function(n){t.visible=!1})),this.shadowRoot.querySelector("#confirm").addEventListener("click",function(){var i=n(e.mark((function n(i){var r;return e.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.inputElements.map((function(n){var e=t.shadowRoot.querySelector("#".concat(n.credentialType)),i=e?e.value:"";return"PASSWORD"===n.credentialType&&"RSA"===n.encryptionAlgorithm&&(i=m(i,n.secretKey||"")||""),{credentialType:n.credentialType,accessKey:n.accessKey,input:i}})),n.next=3,w(t.bffUrl,t.accessToken,r);case 3:n.sent?(t.visible=!1,t.dispatchEvent(new CustomEvent("success",{detail:{success:!0,message:"二次认证成功"}}))):t.dispatchEvent(new CustomEvent("success",{detail:{success:!1,message:"二次认证失败"}}));case 5:case"end":return n.stop()}}),n)})));return function(n){return i.apply(this,arguments)}}()))}},{key:"attributeChangedCallback",value:function(n,e,t){"inputElements"===n&&this.renderInputElements()}},{key:"checkInputs",value:function(){for(var n=0;this.inputList.length>n;n++){if(!this.inputList[n].value)return this.shadowRoot.querySelector("#confirm").setAttribute("disabled","disabled")}this.shadowRoot.querySelector("#confirm").removeAttribute("disabled")}},{key:"doTimeOut",value:function(n){var e=this;this.time--,this.timeTxt="".concat(this.time,"s"),this.updateTimeText(this.timeTxt),this.timer=setTimeout((function(){if(0===e.time)return clearTimeout(e.timer||0),e.timeTxt="再次获取",e.updateTimeText(e.timeTxt),e.time=n.sendIntervalSeconds||60,void(e.sending=!1);e.timeTxt="".concat(e.time,"s"),e.updateTimeText(e.timeTxt),e.doTimeOut(n)}),1e3)}},{key:"doSendMsg",value:(a=n(e.mark((function n(t){var i=this;return e.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!this.sending){n.next=2;break}return n.abrupt("return");case 2:return this.time=t.sendIntervalSeconds||60,this.sending=!0,this.doTimeOut(t),n.next=7,l.SecondaryAuthApi.sendSmscode(this.bffUrl,this.accessToken,t.accessKey||"").then((function(n){f.showToast({message:"发送成功",type:"success"})})).catch((function(n){f.showToast({message:n.message,type:"error"}),i.sending=!1,clearTimeout(i.timer||0),i.timeTxt="再次获取",i.updateTimeText(i.timeTxt),i.time=t.sendIntervalSeconds||60}));case 7:return n.abrupt("return",n.sent);case 9:case"end":return n.stop()}}),n,this)}))),function(n){return a.apply(this,arguments)})},{key:"updateTimeText",value:function(n){var e=this.shadowRoot.querySelector("#smscod-btn");e&&(e.textContent=n||"获取短信验证码")}},{key:"renderInputElements",value:function(){var t=this;this.inputList=[];for(var i=function(i){var r=t.inputElements[i],o=document.createElement("div");o.className="main-item";var a=document.createElement("div"),s=document.createElement("label");s.className="main-item-label",s.innerText=r.label;var c=new d;c.size="20",c.color="#79879E",c.name="icon-ui-clean",c.className="main-input__suffix",c.style.display="none",a.className="main-input";var u=document.createElement("input");if(u.id=r.credentialType,u.className="main-input__inner",u.placeholder=r.placeHolder,u.type=r.credentialType&&"PASSWORD"===r.credentialType?"password":"",u.addEventListener("input",(function(n){c.style.display=n.target.value?"block":"none",t.checkInputs()})),u.addEventListener("focus",(function(n){c.style.display=n.target.value?"block":"none"})),u.addEventListener("blur",(function(){setTimeout((function(){u.value.trim()||(c.style.display="none")}),100)})),c.addEventListener("click",(function(){u.value="",c.style.display="none",t.checkInputs()})),u.value="",t.inputList.push(u),a.appendChild(u),a.appendChild(c),o.appendChild(s),o.appendChild(a),"CAPTCHA"===r.credentialType){var l=document.createElement("img");l.src=r.imageDataUrl,l.className="main-captcha",l.addEventListener("click",n(e.mark((function n(){var i,r,o;return e.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,y(t.bffUrl,t.accessToken);case 2:if(i=n.sent)for(l.src=i.imageDataUrl,r=0;t.inputElements.length>r;r++)"CAPTCHA"===t.inputElements[r].credentialType&&((o=t.inputElements[r]).accessKey=i.key,o.imageDataUrl=i.imageDataUrl,t.inputElements[r]=o);case 4:case"end":return n.stop()}}),n)})))),o.appendChild(l)}if("SMSCODE"===r.credentialType){var p=document.createElement("div");p.className="main-smscode",p.textContent=t.timeTxt||"获取短信验证码",p.id="smscod-btn",p.addEventListener("click",n(e.mark((function n(){return e.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.doSendMsg(r);case 1:case"end":return n.stop()}}),n)})))),o.appendChild(p)}t.shadowRoot.getElementById("main").appendChild(o),t.checkInputs()},r=0;this.inputElements.length>r;r++)i(r)}}],[{key:"observedAttributes",get:function(){return["visible","inputElements"]}}]),p}(u(HTMLElement));function x(n,e){return g.apply(this,arguments)}function g(){return(g=n(e.mark((function n(t,i){var r;return e.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return p.showLoading({}),n.next=3,l.SecondaryAuthApi.loadForm(t,i).then((function(n){return n})).catch((function(n){return f.showToast({message:n.message,type:"error"}),n}));case 3:return r=n.sent.data,p.hideLoading(),n.abrupt("return",r);case 7:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function y(n,e){return v.apply(this,arguments)}function v(){return(v=n(e.mark((function n(t,i){var r;return e.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return p.showLoading({}),n.next=3,l.SecondaryAuthApi.generateCaptchaImage(t,i).then((function(n){return n})).catch((function(n){return f.showToast({message:n.message,type:"error"}),n}));case 3:return r=n.sent.data,p.hideLoading(),n.abrupt("return",r);case 7:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function w(n,e,t){return k.apply(this,arguments)}function k(){return(k=n(e.mark((function n(t,i,r){var o;return e.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=!0,p.showLoading({}),n.next=4,l.SecondaryAuthApi.authenticate(t,i,r).then((function(n){return n})).catch((function(n){return f.showToast({message:n.message,type:"error"}),o=!1,n}));case 4:return p.hideLoading(),n.abrupt("return",o);case 6:case"end":return n.stop()}}),n)})))).apply(this,arguments)}customElements.get("uni-secondary-auth")||customElements.define("uni-secondary-auth",b);var T,E={showSecondaryAuth:(T=n(e.mark((function n(t){var i,r,o;return e.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=new b,n.next=3,x(t.bffUrl,t.accessToken);case 3:(r=n.sent)&&(document.body.appendChild(i),o=setTimeout((function(){i.visible=!0,i.bffUrl=t.bffUrl,i.accessToken=t.accessToken,i.inputElements=r.inputElements,i.renderInputElements(),clearTimeout(o),t.success&&i.addEventListener("success",(function(n){t.success(n.detail)})),t.fail&&i.addEventListener("fail",(function(n){t.fail(n.detail)}))}),50));case 5:case"end":return n.stop()}}),n)}))),function(n){return T.apply(this,arguments)})};export{b as UniSecondaryAuth,E as default}; |
+7
-0
@@ -5,2 +5,9 @@ # Changelog | ||
| ### [0.2.2](https://gitlab.hd123.com/vue/uni-web-sdk/compare/v0.2.1...v0.2.2) (2023-09-18) | ||
| ### Features | ||
| * ✨ UNI-912 增加二次认证组件 ([fea861a](https://gitlab.hd123.com/vue/uni-web-sdk/commit/fea861aca1de101da1e4a7c8751d7a49250f6c61)) | ||
| ### [0.2.1](https://gitlab.hd123.com/vue/uni-web-sdk/compare/v0.2.0...v0.2.1) (2023-07-27) | ||
@@ -7,0 +14,0 @@ |
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| "undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t,o={exports:{}};(t=o).exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports;var r=e(o.exports),n={exports:{}},s={exports:{}},p={exports:{}};!function(e){function t(o){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(p);var u=e(p.exports),a={exports:{}};!function(e){var t=p.exports.default;e.exports=function(e,o){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,o||"default");if("object"!==t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(a);!function(e){var t=p.exports.default,o=a.exports;e.exports=function(e){var r=o(e,"string");return"symbol"===t(r)?r:r+""},e.exports.__esModule=!0,e.exports.default=e.exports}(s);!function(e){var t=s.exports;function o(e,o){for(var r=0;o.length>r;r++){var n=o[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t(n.key),n)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports}(n);var l=e(n.exports),f={exports:{}};!function(e){var t=s.exports;e.exports=function(e,o,r){return(o=t(o))in e?Object.defineProperty(e,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[o]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports}(f);var i=e(f.exports);export{r as _,l as a,i as b,u as c,p as d,e as g}; |
+105
-2
| /* | ||
| * @Author: 徐庆凯 | ||
| * @Date: 2022-11-29 16:31:23 | ||
| * @LastEditTime: 2022-12-09 09:50:37 | ||
| * @LastEditors: 徐庆凯 | ||
| * @LastEditTime: 2023-09-15 18:28:03 | ||
| * @LastEditors: weisheng | ||
| * @Description: | ||
@@ -96,1 +96,104 @@ * @FilePath: \uni-web-sdk\src\global.d.ts | ||
| } | ||
| interface CaptchaImageVo { | ||
| // 访问键。 | ||
| key: Nullable<string> | ||
| // 图片的Data URL。 | ||
| imageDataUrl: Nullable<string> | ||
| } | ||
| interface SecondaryAuthCredentialVo { | ||
| /** | ||
| * 登录凭证类型。可能的取值有: | ||
| * | ||
| * - PASSWORD: 密码。 | ||
| * | ||
| * - CAPTCHA: 图形验证码。 | ||
| * | ||
| * - SMSCODE: 手机短信验证码。 | ||
| */ | ||
| credentialType: Nullable<string> | ||
| // 输入的凭证内容。 | ||
| input: Nullable<string> | ||
| /** | ||
| * 访问键。 | ||
| * | ||
| * 仅当属性“credentialType”为CAPTCHA或者SMSCODE时有效。 | ||
| */ | ||
| accessKey: Nullable<string> | ||
| } | ||
| interface SecondaryAuthFormVo { | ||
| // 输入元素数组。数组顺序决定了显示顺序(从上往下)。 | ||
| inputElements: SecondaryAuthInputElementVo[] | ||
| // OAuth元素数组。数组顺序决定了显示顺序(从左往右)。 | ||
| oauthElements: OAuthElementVo[] | ||
| } | ||
| interface SecondaryAuthInputElementVo { | ||
| /** | ||
| * 凭证类型。可能的取值有: | ||
| * | ||
| * - PASSWORD: 密码。 | ||
| * | ||
| * - CAPTCHA: 图形验证码。 | ||
| * | ||
| * - SMSCODE: 手机短信验证码。 | ||
| */ | ||
| credentialType: Nullable<string> | ||
| // 标签。 | ||
| label: Nullable<string> | ||
| // 用来校验输入内容的正则表达式。 | ||
| inputRegex: Nullable<string> | ||
| // 输入内容为空时显示的占位信息。 | ||
| placeHolder: Nullable<string> | ||
| /** | ||
| * 加密算法。 | ||
| * | ||
| * 仅当属性“credentialType”为PASSWORD时有效。 | ||
| */ | ||
| encryptionAlgorithm: Nullable<string> | ||
| /** | ||
| * 密钥。 | ||
| * | ||
| * 仅当属性“credentialType”为PASSWORD时有效。 | ||
| */ | ||
| secretKey: Nullable<string> | ||
| /** | ||
| * 访问键。 | ||
| * | ||
| * 仅当属性“credentialType”为CAPTCHA或者SMSCODE时有效。 | ||
| */ | ||
| accessKey: Nullable<string> | ||
| /** | ||
| * 图片的Data URL。 | ||
| * | ||
| * 仅当属性“credentialType”为CAPTCHA时有效。 | ||
| */ | ||
| imageDataUrl: Nullable<string> | ||
| /** | ||
| * 两次发送短信操作的间隔秒数。大于零时有效。 | ||
| * | ||
| * 仅当属性“credentialType”为SMSCODE时有效。 | ||
| */ | ||
| sendIntervalSeconds: Nullable<number> | ||
| } | ||
| interface OAuthElementVo { | ||
| // 租户ID。 | ||
| tenant: string | ||
| // 微信小程序标识符,小程序根据此标识确定使用那个OAuth账户登录,当oauthType为WEIXIN_MINI_PROGRAM有效。 | ||
| miniProgramIdentifier: Nullable<string> | ||
| /** | ||
| * OAuth类型。可能的取值有: | ||
| * | ||
| * - WORK_WEIXIN: 企业微信。 | ||
| * | ||
| * - WEIXIN_MINI_PROGRAM: 微信小程序。 | ||
| */ | ||
| oauthType: string | ||
| // OAuth企业账号ID。 | ||
| oauthCorpAccount: string | ||
| // OAuth企业账号名称。 | ||
| oauthCorpAccountName: Nullable<string> | ||
| // OAuth企业ID。 | ||
| oauthCorpId: Nullable<string> | ||
| // OAuth企业应用ID。 | ||
| oauthCorpAppId: Nullable<string> | ||
| } |
@@ -5,2 +5,3 @@ import HttpClient from './api/HttpClient'; | ||
| import SidebarApi from './api/SidebarApi'; | ||
| import SecondaryAuthApi from './api/SecondaryAuthApi'; | ||
| declare const _default: { | ||
@@ -11,3 +12,4 @@ HttpClient: typeof HttpClient; | ||
| SidebarApi: typeof SidebarApi; | ||
| SecondaryAuthApi: typeof SecondaryAuthApi; | ||
| }; | ||
| export default _default; |
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{_ as e,a as t,b as n}from"../defineProperty.js";import r from"../uni-axios/index.js";import"../utils/index.js";var a=function(){function n(){e(this,n)}return t(n,null,[{key:"server",value:function(e,t,r){return n.create(e,t,r)}},{key:"create",value:function(e,t,n){var a=r.create(e);return n&&(a.timeout=n),a.use((function(e){return e.headers["content-type"]="application/json;charset=UTF-8",t&&(e.headers.Authorization=t),e}),(function(e){if(e.data instanceof ArrayBuffer)return e;if(0==e.data.code)return e;var t={};return t.message=e.data.msg?e.data.msg:e.status+"服务器内部异常",t.response=e.data,t}),(function(e){if(!e.data)return e.message="请检查网络设置",e;switch(e.data.status){case 101:break;case 401:e.message="登录已过期,请重新登录!";break;case 403:e.message="禁止访问!";break;case 503:e.message="服务器升级中!";break;case 500:e.message=e.data.data.msg||"服务内部异常!";break;default:e.message="未知错误"}return e})),a}}]),n}(),s=function(){function n(){e(this,n)}return t(n,null,[{key:"listByProductName",value:function(e,t,n){return a.server(t,n).get("/v1/bff-app/list-by-product-name?productName=".concat(e)).then((function(e){return e.data}))}},{key:"acquireCorsToken",value:function(e,t){return a.server(e,t).get("/v1/bff-app/cors-token").then((function(e){return e.data}))}}]),n}(),i=function(){function n(){e(this,n)}return t(n,null,[{key:"listInterconnected",value:function(e,t){return a.server(e,t).get("/v1/bff-uni-instance/list-interconnected").then((function(e){return e.data}))}}]),n}(),u=function(){function r(){e(this,r),n(this,"linkInstance",null)}return t(r,[{key:"listLinks",value:function(e,t){return this.linkInstance=a.server(e,t,12e4),this.linkInstance.get("/v1/uni-sidebar/links").then((function(e){return e.data}))}}],[{key:"acquireCorsToken",value:function(e,t,n){return a.server(e,n,12e4).get("/v1/uni-sidebar/cors-token?appName=".concat(t)).then((function(e){return e.data}))}}]),r}(),c={HttpClient:a,AppApi:s,UniInstanceApi:i,SidebarApi:u};export{c as default}; | ||
| import{_ as e,a as t,b as n}from"../defineProperty.js";import a from"../uni-axios/index.js";import"../utils/index.js";var r=function(){function n(){e(this,n)}return t(n,null,[{key:"server",value:function(e,t,a){return n.create(e,t,a)}},{key:"create",value:function(e,t,n){var r=a.create(e);return n&&(r.timeout=n),r.use((function(e){return e.headers["content-type"]="application/json;charset=UTF-8",t&&(e.headers.Authorization=t),e}),(function(e){if(e.data instanceof ArrayBuffer)return e;if(0==e.data.code)return e;var t={};return t.message=e.data.msg?e.data.msg:e.status+"服务器内部异常",t.response=e.data,Promise.reject(t)}),(function(e){if(!e.data)return e.message="请检查网络设置",e;switch(e.data.status){case 101:break;case 401:e.message="登录已过期,请重新登录!";break;case 403:e.message="禁止访问!";break;case 503:e.message="服务器升级中!";break;case 500:e.message=e.data.data.msg||"服务内部异常!";break;default:e.message="未知错误"}return e})),r}}]),n}(),u=function(){function n(){e(this,n)}return t(n,null,[{key:"listByProductName",value:function(e,t,n){return r.server(t,n).get("/v1/bff-app/list-by-product-name?productName=".concat(e)).then((function(e){return e.data}))}},{key:"acquireCorsToken",value:function(e,t){return r.server(e,t).get("/v1/bff-app/cors-token").then((function(e){return e.data}))}}]),n}(),i=function(){function n(){e(this,n)}return t(n,null,[{key:"listInterconnected",value:function(e,t){return r.server(e,t).get("/v1/bff-uni-instance/list-interconnected").then((function(e){return e.data}))}}]),n}(),s=function(){function a(){e(this,a),n(this,"linkInstance",null)}return t(a,[{key:"listLinks",value:function(e,t){return this.linkInstance=r.server(e,t,12e4),this.linkInstance.get("/v1/uni-sidebar/links").then((function(e){return e.data}))}}],[{key:"acquireCorsToken",value:function(e,t,n){return r.server(e,n,12e4).get("/v1/uni-sidebar/cors-token?appName=".concat(t)).then((function(e){return e.data}))}}]),a}(),c=function(){function n(){e(this,n)}return t(n,null,[{key:"authenticate",value:function(e,t,n){return r.server(e,t).post("/v1/bff-uni-secondary-auth/authenticate",n).then((function(e){return e.data}))}},{key:"authenticateWithOAuth",value:function(e,t,n,a){return r.server(e,t).post("/v1/bff-uni-secondary-auth/authenticate-with-oauth?oauthCorpAccount=".concat(n,"&oauthIdentifyingCode=").concat(a),{}).then((function(e){return e.data}))}},{key:"generateCaptchaImage",value:function(e,t){return r.server(e,t).post("/v1/bff-uni-secondary-auth/generate-captcha-image",{}).then((function(e){return e.data}))}},{key:"loadForm",value:function(e,t){return r.server(e,t).get("/v1/bff-uni-secondary-auth/load-form").then((function(e){return e.data}))}},{key:"sendSmscode",value:function(e,t,n){return r.server(e,t).post("/v1/bff-uni-secondary-auth/send-smscode?accessKey=".concat(n)).then((function(e){return e.data}))}}]),n}(),o={HttpClient:r,AppApi:u,UniInstanceApi:i,SidebarApi:s,SecondaryAuthApi:c};export{o as default}; |
+8
-0
@@ -84,3 +84,11 @@ import UniNavigate from './uni-navigate/index'; | ||
| UniMigration: typeof UniMigration; | ||
| UniSecondaryAuth: { | ||
| showSecondaryAuth: (option: { | ||
| bffUrl: string; | ||
| accessToken: string; | ||
| success?: Function; | ||
| fail?: Function; | ||
| }) => Promise<void>; | ||
| }; | ||
| }; | ||
| export default _default; |
+2
-2
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import i from"./uni-navigate/index.js";import n from"./uni-axios/index.js";import r from"./uni-app-list/index.js";import o from"./uni-icon/index.js";import e from"./uni-loading/index.js";import t from"./uni-message/index.js";import s from"./uni-sider-bar/index.js";import m from"./uni-migration/index.js";import"./defineProperty.js";import"./http/index.js";import"./utils/index.js";import"./wrapNativeSuper.js";var p={UniNavigate:i,UniAppList:r,UniIcon:o,UniLoading:e,UniMessage:t,UniSiderBar:s,UniAxios:n,UniMigration:m};export{p as default}; | ||
| import i from"./uni-navigate/index.js";import n from"./uni-axios/index.js";import r from"./uni-app-list/index.js";import o from"./uni-icon/index.js";import e from"./uni-loading/index.js";import t from"./uni-message/index.js";import s from"./uni-sider-bar/index.js";import m from"./uni-migration/index.js";import p from"./uni-secondary-auth/index.js";import"./defineProperty.js";import"./index2.js";import"./http/index.js";import"./utils/index.js";import"./wrapNativeSuper.js";var a={UniNavigate:i,UniAppList:r,UniIcon:o,UniLoading:e,UniMessage:t,UniSiderBar:s,UniAxios:n,UniMigration:m,UniSecondaryAuth:p};export{a as default}; |
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{_ as n,b as i,a as e}from"../defineProperty.js";import{_ as t,a,b as o,c as r,d as s}from"../wrapNativeSuper.js";import"../uni-icon/index.js";import"../utils/index.js";function d(n){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var e,o=t(n);if(i){var r=t(this).constructor;e=Reflect.construct(o,arguments,r)}else e=o.apply(this,arguments);return a(this,e)}}var c=function(t){o(s,t);var a=d(s);function s(){var e;return n(this,s),e=a.call(this),i(r(e),"app",null),e.attachShadow({mode:"open"}).innerHTML=' \n <style>\n :host{\n position:fixed;\n display:flex;\n left:0;\n top:0;\n right:0;\n bottom:0;\n z-index:-1;\n background:rgba(0,0,0,.5);\n visibility:hidden;\n opacity:0;\n transition:.2s;\n }\n :host([visible]){\n opacity:1;\n z-index:50;\n visibility:visible;\n }\n .uni-app-list {\n position: relative;\n margin: 0 auto 50px;\n margin-top: 15vh;\n z-index:51;\n width: 656px;\n height: 520px;\n background: #FFFFFF;\n box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.08);\n border-radius: 4px;\n border: 1px solid #D7DFEB;\n opacity:0;\n transform: scale(0.5);\n transition:.2s cubic-bezier(.645, .045, .355, 1);\n }\n :host([visible]) .uni-app-list{\n opacity:1;\n transform:scale(1);\n }\n .header {\n width: 656px;\n height: 44px;\n box-sizing: border-box;\n padding: 16px 20px 8px 20px;\n background: #FFFFFF;\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n .header-title {\n font-size: 14px;\n font-family: PingFangSC-Medium, PingFang SC;\n font-weight: 500;\n color: #303133;\n line-height: 20px;\n }\n .main {\n width: 656px;\n height: 476px;\n background: #FFFFFF;\n box-sizing: border-box;\n padding: 24px 32px;\n display: flex;\n flex-wrap: wrap;\n align-content: flex-start;\n }\n .main-item {\n flex:0 0 auto;\n cursor: pointer;\n width: 288px;\n height: 168px;\n box-sizing: border-box;\n padding: 24px;\n background: #FFFFFF;\n box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.1);\n border-radius: 8px;\n margin-bottom: 16px;\n }\n .main-item:nth-child(2n){\n margin-left: 16px;\n }\n .main-item-header {\n display: flex;\n align-items: center;\n margin-bottom: 13px;\n }\n .main-item-header-img {\n flex: 0 0 auto;\n margin-right: 12px;\n width: 36px;\n height: 36px;\n }\n .main-item-header-info {\n width: calc(100% - 72px);\n }\n .main-item-header-info-name {\n font-size: 16px;\n font-weight: 500;\n color: #303133;\n line-height: 22px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .main-item-header-info-code {\n font-size: 12px;\n font-family: PingFangSC-Regular, PingFang SC;\n color: #b3b9c7;\n line-height: 17px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .main-item-header-arrows {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-left: 8px;\n width: 16px;\n height: 16px;\n border: 1px solid #d1dced;\n border-radius: 50%;\n font-size: 6px;\n color: #d1dced;\n flex: 0 0 auto;\n }\n .main-item-footer {\n height: 64px;\n font-size: 14px;\n font-family: PingFangSC-Regular, PingFang SC;\n color: #303753;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n word-break: break-all;\n }\n </style>\n </style>\n <div id="uni-app" class="uni-app-list">\n <div class="header">\n <span class="header-title">选择要跳转的应用</span>\n <uni-icon style="cursor:pointer" size="20" color="#79879E" name="icon-ui-closethick"></uni-icon>\n </div>\n <div class="main" id="main">\n <div class="main-item">\n <div class="main-item-header">\n <img class="main-item-header-img" data-v-248050e4="" data-v-d5649b80="" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/3b6a9e9a3c77459da0a81bc435a3d948~tplv-k3u1fbpfcp-no-mark:240:240:240:160.awebp?">\n <div class="main-item-header-info">\n <div class="main-item-header-info-name">{{ menu.name }}</div>\n <div class="main-item-header-info-code">{{ menu.productName }}</div>\n </div>\n <div class="main-item-header-arrows">\n <uni-icon style="cursor:pointer" size="12" color="#D1DCED" name="icon-ui-rightthick"></uni-icon>\n </div>\n </div>\n <div class="main-item-footer">{{ menu.introduction }}</div>\n </div>\n </div>\n </div>',e}return e(s,[{key:"target",get:function(){var n=[],i=this.getAttribute("target");if(i)try{n=JSON.parse(i)}catch(n){throw Error("".concat(i," 参数不合法"))}return n}},{key:"visible",get:function(){return"true"==this.getAttribute("visible")},set:function(n){n?this.setAttribute("visible",n+""):this.removeAttribute("visible")}},{key:"connectedCallback",value:function(){var n=this;this.app=this.shadowRoot.getElementById("uni-app"),this.app&&this.app.querySelector("uni-icon").addEventListener("click",(function(i){n.visible=!1})),this.shadowRoot.addEventListener("transitionend",(function(i){"transform"!==i.propertyName||n.visible||document.body.removeChild(n)}))}},{key:"attributeChangedCallback",value:function(n,i,e){this.app||(this.app=this.shadowRoot.getElementById("uni-app")),"visible"==n&&this.app||"target"===n&&this.renderAppList()}},{key:"renderAppList",value:function(){for(var n=this,i="",e=0;this.target.length>e;e++){var t=this.target[e];i+=' \n <div class="main-item">\n <div class="main-item-header">\n <img class="main-item-header-img" data-v-248050e4="" data-v-d5649b80="" src="'.concat(t.logoUrl,'">\n <div class="main-item-header-info">\n <div class="main-item-header-info-name">').concat(t.name,'</div>\n <div class="main-item-header-info-code">').concat(t.productName,'</div>\n </div>\n <div class="main-item-header-arrows">\n <uni-icon style="cursor:pointer" size="12" color="#D1DCED" name="icon-ui-rightthick"></uni-icon>\n </div>\n </div>\n <div class="main-item-footer">').concat(t.introduction||"","</div>\n </div>")}this.shadowRoot.getElementById("main").innerHTML=i;for(var a=this.shadowRoot.getElementById("main").getElementsByClassName("main-item"),o=function(i){a[i].addEventListener("click",(function(){n.visible=!1,n.dispatchEvent(new CustomEvent("navigate",{detail:{value:n.target[i]}}))}))},r=0;a.length>r;r++)o(r)}}],[{key:"observedAttributes",get:function(){return["visible","target"]}}]),s}(s(HTMLElement));customElements.get("uni-app-list")||customElements.define("uni-app-list",c);export{c as default}; |
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{a as e,_ as t,b as r,c as s}from"../defineProperty.js";import{beautifyUrl as a}from"../utils/index.js";var n=e((function e(){t(this,e),r(this,"data",void 0),r(this,"status",void 0),r(this,"statusText",void 0),r(this,"message",void 0)})),h=e((function e(){t(this,e),r(this,"headers",{})})),u=function(){function r(){t(this,r)}return e(r,[{key:"create",value:function(e){var t=new o;return t.baseURL=e,t}}]),r}(),o=function(){function u(){t(this,u),r(this,"baseURL",""),r(this,"timeout",3e4),r(this,"xhr",null),r(this,"handler",{})}return e(u,[{key:"use",value:function(e,t,r){e&&(this.handler.request=e),t&&(this.handler.response=t),r&&(this.handler.error=r)}},{key:"get",value:function(e){var t=this;return new Promise((function(r,u){if(t.xhr=new XMLHttpRequest,t.xhr.open("GET",a(t.baseURL+e),!0),t.handler.request&&"function"==typeof t.handler.request){var o=new h;if((o=t.handler.request(o))&&o.headers&&"object"===s(o.headers))for(var i in o.headers)t.xhr.setRequestHeader(i,o.headers[i])}t.xhr.onreadystatechange=function(){if(t.xhr&&t.xhr.readyState==XMLHttpRequest.DONE&&200==t.xhr.status){var e=null;try{e=JSON.parse(t.xhr.response)}catch(e){console.log(e)}var s=new n;s.data=e,s.status=t.xhr.status,s.statusText=t.xhr.statusText,t.handler.response&&"function"==typeof t.handler.response&&(s=t.handler.response(s)),r(s)}else if(t.xhr&&t.xhr.readyState===XMLHttpRequest.DONE&&200!==t.xhr.status||t.xhr&&t.xhr.readyState===XMLHttpRequest.UNSENT&&0===t.xhr.status){var a=null;try{a=JSON.parse(t.xhr.response)}catch(e){console.log(e)}var h=new n;h.data=a,h.status=t.xhr.status,h.statusText=t.xhr.statusText,t.handler.error&&"function"==typeof t.handler.error&&(h=t.handler.error(h)),u(h)}},t.xhr.send(null)}))}},{key:"post",value:function(e,t){var r=this;return new Promise((function(t,u){if(r.xhr=new XMLHttpRequest,r.xhr.open("POST",a(r.baseURL+e),!0),r.handler.request&&"function"==typeof r.handler.request){var o=new h;if((o=r.handler.request(o))&&o.headers&&"object"===s(o.headers))for(var i in o.headers)r.xhr.setRequestHeader(i,o.headers[i])}r.xhr.onreadystatechange=function(){if(r.xhr&&r.xhr.readyState==XMLHttpRequest.DONE&&200==r.xhr.status){var e=null;try{e=JSON.parse(r.xhr.response)}catch(e){console.log(e)}var s=new n;s.data=e,s.status=r.xhr.status,s.statusText=r.xhr.statusText,r.handler.response&&"function"==typeof r.handler.response&&(s=r.handler.response(s)),t(s)}else if(r.xhr&&r.xhr.readyState===XMLHttpRequest.DONE&&200!==r.xhr.status||r.xhr&&r.xhr.readyState===XMLHttpRequest.UNSENT&&0===r.xhr.status){var a=null;try{a=JSON.parse(r.xhr.response)}catch(e){console.log(e)}var h=new n;h.data=a,h.status=r.xhr.status,h.statusText=r.xhr.statusText,r.handler.error&&"function"==typeof r.handler.error&&(h=r.handler.error(h)),u(h)}},r.xhr.send(null)}))}},{key:"abort",value:function(){this.xhr&&this.xhr.abort()}}]),u}(),i=new u;export{i as default}; | ||
| import{a as e,_ as t,b as r,c as s}from"../defineProperty.js";import{beautifyUrl as a}from"../utils/index.js";var n=e((function e(){t(this,e),r(this,"data",void 0),r(this,"status",void 0),r(this,"statusText",void 0),r(this,"message",void 0)})),h=e((function e(){t(this,e),r(this,"headers",{})})),u=function(){function r(){t(this,r)}return e(r,[{key:"create",value:function(e){var t=new o;return t.baseURL=e,t}}]),r}(),o=function(){function u(){t(this,u),r(this,"baseURL",""),r(this,"timeout",3e4),r(this,"xhr",null),r(this,"handler",{})}return e(u,[{key:"use",value:function(e,t,r){e&&(this.handler.request=e),t&&(this.handler.response=t),r&&(this.handler.error=r)}},{key:"get",value:function(e){var t=this;return new Promise((function(r,u){if(t.xhr=new XMLHttpRequest,t.xhr.open("GET",a(t.baseURL+e),!0),t.handler.request&&"function"==typeof t.handler.request){var o=new h;if((o=t.handler.request(o))&&o.headers&&"object"===s(o.headers))for(var i in o.headers)t.xhr.setRequestHeader(i,o.headers[i])}t.xhr.onreadystatechange=function(){if(t.xhr&&t.xhr.readyState==XMLHttpRequest.DONE&&200==t.xhr.status){var e=null;try{e=JSON.parse(t.xhr.response)}catch(e){console.log(e)}var s=new n;s.data=e,s.status=t.xhr.status,s.statusText=t.xhr.statusText,t.handler.response&&"function"==typeof t.handler.response&&(s=t.handler.response(s)),r(s)}else if(t.xhr&&t.xhr.readyState===XMLHttpRequest.DONE&&200!==t.xhr.status||t.xhr&&t.xhr.readyState===XMLHttpRequest.UNSENT&&0===t.xhr.status){var a=null;try{a=JSON.parse(t.xhr.response)}catch(e){console.log(e)}var h=new n;h.data=a,h.status=t.xhr.status,h.statusText=t.xhr.statusText,t.handler.error&&"function"==typeof t.handler.error&&(h=t.handler.error(h)),u(h)}},t.xhr.send(null)}))}},{key:"post",value:function(e,t){var r=this;return new Promise((function(u,o){if(r.xhr=new XMLHttpRequest,r.xhr.open("POST",a(r.baseURL+e),!0),r.handler.request&&"function"==typeof r.handler.request){var i=new h;if((i=r.handler.request(i))&&i.headers&&"object"===s(i.headers))for(var d in i.headers)r.xhr.setRequestHeader(d,i.headers[d])}r.xhr.onreadystatechange=function(){if(r.xhr&&r.xhr.readyState==XMLHttpRequest.DONE&&200==r.xhr.status){var e=null;try{e=JSON.parse(r.xhr.response)}catch(e){console.log(e)}var t=new n;t.data=e,t.status=r.xhr.status,t.statusText=r.xhr.statusText,r.handler.response&&"function"==typeof r.handler.response&&(t=r.handler.response(t)),u(t)}else if(r.xhr&&r.xhr.readyState===XMLHttpRequest.DONE&&200!==r.xhr.status||r.xhr&&r.xhr.readyState===XMLHttpRequest.UNSENT&&0===r.xhr.status){var s=null;try{s=JSON.parse(r.xhr.response)}catch(e){console.log(e)}var a=new n;a.data=s,a.status=r.xhr.status,a.statusText=r.xhr.statusText,r.handler.error&&"function"==typeof r.handler.error&&(a=r.handler.error(a)),o(a)}},r.xhr.send(t?JSON.stringify(t):null)}))}},{key:"abort",value:function(){this.xhr&&this.xhr.abort()}}]),u}(),i=new u;export{i as default}; |
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{_ as t,b as e,a as n}from"../defineProperty.js";import{_ as i,a as o,b as r,c as s,d as c}from"../wrapNativeSuper.js";import{iconfonts as a,getFontSize as u}from"../utils/index.js";function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=i(t);if(e){var s=i(this).constructor;n=Reflect.construct(r,arguments,s)}else n=r.apply(this,arguments);return o(this,n)}}var h=function(i){r(c,i);var o=l(c);function c(){var n;return t(this,c),n=o.call(this),e(s(n),"icon",null),n.attachShadow({mode:"open"}).innerHTML='\n <style>\n :host{\n font-size:inherit;\n display:inline-block;\n transition:.3s;\n }\n .icon {\n display:block;\n width: 1em;\n height: 1em;\n margin: auto;\n fill: currentColor;\n overflow: hidden;\n /*transition:inherit;*/\n }\n </style>\n <svg class="icon" id="icon" aria-hidden="true" viewBox="0 0 1024 1024">\n '.concat(n.path,"\n </svg>"),n}return n(c,[{key:"path",get:function(){return this.name&&a[this.name]?a[this.name]:""}},{key:"name",get:function(){return this.getAttribute("name")},set:function(t){this.setAttribute("name",t)}},{key:"color",get:function(){return this.getAttribute("color")||""},set:function(t){this.setAttribute("color",t)}},{key:"size",get:function(){return this.getAttribute("size")||""},set:function(t){this.setAttribute("size",t)}},{key:"getFontSize",value:function(t){return u(t)}},{key:"connectedCallback",value:function(){this.icon=this.shadowRoot.getElementById("icon")}},{key:"attributeChangedCallback",value:function(t,e,n){if(this.icon||(this.icon=this.shadowRoot.getElementById("icon")),"name"==t&&this.path&&this.icon)this.icon.innerHTML=this.path;else if("color"===t)this.icon.style.color=n;else if("size"===t){var i=this.getFontSize(n);this.icon.style.fontSize="".concat(i)}}}],[{key:"observedAttributes",get:function(){return["name","color","size"]}}]),c}(c(HTMLElement));customElements.get("uni-icon")||customElements.define("uni-icon",h);export{h as default}; |
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{_ as t,b as e,a as n}from"../defineProperty.js";import{_ as o,a as i,b as r,c as s,d as a}from"../wrapNativeSuper.js";import{getFontSize as c}from"../utils/index.js";function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=o(t);if(e){var s=o(this).constructor;n=Reflect.construct(r,arguments,s)}else n=r.apply(this,arguments);return i(this,n)}}var u=function(o){r(a,o);var i=l(a);function a(){var n;return t(this,a),n=i.call(this),e(s(n),"loading",null),n.attachShadow({mode:"open"}).innerHTML='\n <style>\n :host{\n font-size:inherit;\n display:inline-flex;\n align-items: center;\n justify-content:center;\n color:var(--color-primary,#4d63ec);\n flex-direction: column;\n font-size: 14px;\n }\n .loading{\n display: block;\n height: 40px;\n width: 40px;\n animation: rotate 1.4s linear infinite;\n }\n .circle {\n stroke: currentColor;\n animation: progress 1.4s ease-in-out infinite;\n stroke-dasharray: 80px, 200px;\n stroke-dashoffset: 0px;\n transition:.3s;\n }\n .text {\n padding: 3px 0;\n }\n :host(:not(:empty)) .loading{\n margin: 20px;\n }\n :host([body]){\n position: fixed;\n z-index: 52;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: hsla(0,0%,100%,.5);\n transition: opacity .3s;\n }\n @keyframes rotate{\n to{\n transform: rotate(360deg); \n }\n }\n @keyframes progress {\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0px; \n }\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px; \n }\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px; \n } \n }\n </style>\n <svg class="loading" id="loading" viewBox="25 25 50 50"><circle class="circle" cx="50" cy="50" r="20" fill="none" stroke-width="2"></circle></svg>\n <span class="text" id="text">'.concat(n.text||"","</span>\n "),n}return n(a,[{key:"size",get:function(){return this.getAttribute("size")||""},set:function(t){this.setAttribute("size",t)}},{key:"body",get:function(){return"true"==this.getAttribute("body")},set:function(t){t?this.setAttribute("body",t+""):this.removeAttribute("body")}},{key:"fullscreen",get:function(){return!!this.getAttribute("fullscreen")},set:function(t){this.setAttribute("fullscreen",t+"")}},{key:"background",get:function(){return this.getAttribute("background")},set:function(t){this.setAttribute("background",t)}},{key:"text",get:function(){return this.getAttribute("text")||""},set:function(t){this.setAttribute("text",t)}},{key:"color",get:function(){return this.getAttribute("color")||""},set:function(t){this.setAttribute("color",t)}},{key:"getFontSize",value:function(t){return c(t)}},{key:"connectedCallback",value:function(){this.loading=this.shadowRoot.getElementById("loading"),this.size&&(this.size=this.size),this.color&&(this.color=this.color)}},{key:"attributeChangedCallback",value:function(t,e,n){(this.loading||(this.loading=this.shadowRoot.getElementById("loading")),"color"==t&&this.loading&&(this.loading.style.color=n),"size"==t&&this.loading&&(this.loading.style.fontSize=this.getFontSize(n)),"text"==t&&this.loading)&&(this.shadowRoot.getElementById("text").innerText=n)}}],[{key:"observedAttributes",get:function(){return["color","size","body","fullscreen","background","text"]}}]),a}(a(HTMLElement));customElements.get("uni-loading")||customElements.define("uni-loading",u);var d={showLoading:function(t){document.body.querySelectorAll("uni-loading").forEach((function(t){document.body.removeChild(t)}));var e=new u;e.body=!0,t&&(t.text&&(e.text=t.text),t.fullscreen&&(e.fullscreen=t.fullscreen),t.background&&(e.background=t.background),t.color&&(e.color=t.color),t.size&&(e.size=t.size)),document.body.appendChild(e)},hideLoading:function(){for(var t=document.querySelectorAll("uni-loading"),e=0;t.length>e;e++)document.body.removeChild(t[e])}};export{u as UniLoading,d as default}; |
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{_ as e,b as t,a as n}from"../defineProperty.js";import{_ as i,a as s,b as o,c as r,d as a}from"../wrapNativeSuper.js";import"../uni-icon/index.js";import"../utils/index.js";function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=i(e);if(t){var r=i(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return s(this,n)}}var l=function(i){o(a,i);var s=c(a);function a(){var n;return e(this,a),n=s.call(this),t(r(n),"messageEle",null),t(r(n),"icon",null),n.attachShadow({mode:"open"}).innerHTML='\n <style>\n :host{\n position: fixed;\n top: 20px;\n left: 50%;\n display:flex;\n visibility:hidden;\n opacity:0;\n transition:.3s;\n z-index: 53;\n }\n :host([visible]){\n opacity: 1;\n z-index: 53;\n visibility: visible;\n }\n .message{\n min-width: 280px;\n max-width: 80%;\n box-sizing: border-box;\n border-radius: 2px;\n background-color: #edeffd;\n overflow: hidden;\n padding: 12px 24px 12px 26px;\n display: flex;\n align-items: center;\n box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.08);\n transform: translate(-50%, -100%);\n transition: opacity 0.3s, transform .4s, top 0.4s;\n pointer-events:all;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .message-txt {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n \n :host([visible][type="info"]) .message{\n color: #36445A;\n }\n\n :host([visible][type="success"]) .message{\n background-color: #eef8ea;\n border-color: #eef8ea;\n color: var(--color-success,#58B929);\n }\n\n :host([visible][type="warning"]) .message{\n background-color: #fdf3e9;\n border-color: #fdf3e9;\n color: var(--color-warning,#EF821E);\n }\n\n :host([visible][type="error"]) .message{\n background-color: #fcebeb;\n border-color: #fcebeb;\n color: var(--color-danger,#DE3232);\n }\n \n :host([visible]) .message{\n transform: translate(-50%, 0);\n transition: opacity 0.3s, transform .4s, top 0.4s;\n }\n uni-icon {\n margin-right: 10px;\n }\n\n </style>\n <div class="message" id="message">\n <uni-icon id="icon" style="cursor:pointer" size="20" color="#4D63EC" name="icon-ui-infofill"></uni-icon>\n <span class="message-txt" id="message-txt">'.concat(n.message,"</span>\n </div>\n "),n}return n(a,[{key:"message",get:function(){return this.getAttribute("message")||""},set:function(e){this.setAttribute("message",e)}},{key:"top",get:function(){return this.getAttribute("top")||"20"},set:function(e){this.setAttribute("top",e)}},{key:"type",get:function(){return this.getAttribute("type")||"info"},set:function(e){this.setAttribute("type",e)}},{key:"duration",get:function(){return Number(this.getAttribute("duration"))||3e3},set:function(e){this.setAttribute("duration",e>3e3?e+"":"3000")}},{key:"visible",get:function(){return"true"==this.getAttribute("visible")},set:function(e){e?this.setAttribute("visible",e+""):this.removeAttribute("visible")}},{key:"connectedCallback",value:function(){var e=this;this.shadowRoot.addEventListener("transitionend",(function(t){"transform"!==t.propertyName||e.visible||document.body.removeChild(e)}))}},{key:"attributeChangedCallback",value:function(e,t,n){if(this.messageEle||(this.messageEle=this.shadowRoot.getElementById("message-txt")),this.icon||(this.icon=this.shadowRoot.getElementById("icon")),"top"==e)this.style.top=n+"px";else if("message"==e)this.messageEle.innerText=n;else if("type"==e)switch(n){case"success":this.icon.setAttribute("color","#58B929"),this.icon.setAttribute("name","icon-ui-checkcirclefill");break;case"warning":this.icon.setAttribute("color","#EF821E"),this.icon.setAttribute("name","icon-ui-warnfill");break;case"info":default:this.icon.setAttribute("color","#4D63EC"),this.icon.setAttribute("name","icon-ui-infofill");break;case"error":this.icon.setAttribute("color","#DE3232"),this.icon.setAttribute("name","icon-ui-clean")}}}],[{key:"observedAttributes",get:function(){return["type","message","duration","visible","top"]}}]),a}(a(HTMLElement));customElements.get("uni-message")||customElements.define("uni-message",l);var u={showToast:function(e){var t=new l,n=20,i=document.body.querySelectorAll("uni-message");i&&i.length&&Number(i[i.length-1].getAttribute("top"))&&(n=Number(i[i.length-1].getAttribute("top"))+i[i.length-1].offsetHeight+16),e&&(e.message&&(t.message=e.message),e.duration&&(t.duration=e.duration),e.type&&(t.type=e.type)),e.selector&&document.getElementById(e.selector)?document.getElementById(e.selector).appendChild(t):document.body.appendChild(t),t.top="".concat(n);var s=setTimeout((function(){t.visible=!0,clearTimeout(s)}),50),o=setTimeout((function(){t.visible=!1;for(var e=document.body.querySelectorAll("uni-message"),n=!1,i=0;e.length>i;i++)n&&e[i].setAttribute("top",e[i].offsetTop-t.offsetHeight-16),e[i].isSameNode(t)&&(n=!0);clearTimeout(o)}),t.duration)}};export{l as UniMessage,u as default}; |
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{_ as n,b as t,a as e}from"../defineProperty.js";import{_ as i,a as r,b as s,c as o,d as u}from"../wrapNativeSuper.js";import"../uni-icon/index.js";import a from"../uni-message/index.js";import"../utils/index.js";function A(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var e,s=i(n);if(t){var o=i(this).constructor;e=Reflect.construct(s,arguments,o)}else e=s.apply(this,arguments);return r(this,e)}}var g=function(i){s(u,i);var r=A(u);function u(){var e;return n(this,u),e=r.call(this),t(o(e),"app",null),t(o(e),"title","我们搬家啦!"),t(o(e),"message","租户名称 用户名称,你好!<br/>当前登录地址已失效,请前往新地址,并尽快保存好新地址,以防下次忘记。"),t(o(e),"tip","小贴士:到达新地址后,记得按ctrl+D"),t(o(e),"timer",null),e.attachShadow({mode:"open"}).innerHTML=' \n <style>\n :host {\n position: fixed;\n display: flex;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: -1;\n background: rgba(0, 0, 0, .5);\n visibility: hidden;\n opacity: 0;\n transition: .2s;\n }\n\n :host([visible="true"]) {\n opacity: 1;\n z-index: 50;\n visibility: visible;\n }\n\n .uni-migration {\n position: relative;\n display: flex;\n margin: 0 auto;\n margin-top: 15vh;\n box-sizing: border-box;\n padding: 44px 0 36px 0;\n z-index: 51;\n opacity: 0;\n transform: scale(0.5);\n transition: .2s cubic-bezier(.645, .045, .355, 1);\n width: 600px;\n height: 320px;\n background: #D8E6F1;\n border-radius:8px;\n box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.08);\n border-radius: 4px;\n border: 1px solid #D7DFEB;\n }\n\n :host([visible="true"]) .uni-migration {\n opacity: 1;\n transform: scale(1);\n }\n\n .uni-migration-close{\n cursor: pointer;\n z-index: 2;\n position:absolute;\n top:18px;\n right:20px;\n }\n\n :host([auto="true"]) .uni-migration-close {\n display:none;\n }\n\n .uni-migration-left{\n width: 360px;\n display: flex;\n flex-direction: column;\n padding: 24px 10px 29px 40px;\n }\n .uni-migration-left .uni-migration-left-title {\n font-size: 18px;\n font-family: PingFangSC-Semibold, PingFang SC;\n font-weight: 600;\n color: #303133;\n line-height: 25px;\n margin-bottom:24px;\n }\n\n .uni-migration-left .uni-migration-left-message {\n font-size: 13px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #303133;\n line-height: 18px;\n margin-bottom: 24px;\n }\n\n .uni-migration-left .uni-migration-left-tip {\n font-size: 12px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #B3B9C7;\n line-height: 17px;\n }\n\n .uni-migration-left .uni-migration-left-operation {\n margin-bottom:10px;\n display:flex;\n }\n\n .uni-migration-left .uni-migration-left-operation .uni-button{\n font-size: 12px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n padding: 7px 11px;\n cursor:pointer;\n margin-right: 16px;\n }\n\n .uni-migration-left .uni-migration-left-operation .uni-button{\n font-size: 12px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n padding: 7px 11px;\n cursor:pointer;\n }\n\n .uni-migration-left .uni-migration-left-operation .migration-normal{\n color: #36445A;\n background:#ffffff;\n }\n\n .uni-migration-left .uni-migration-left-operation .migration-primary{\n color: #FFFFFF;\n background:#1890FF;\n }\n\n .uni-migration-left .uni-migration-left-operation .migration-text{\n color: #767E91;\n background: transparent;\n }\n\n .uni-migration-right{\n width: 240px;\n }\n .uni-migration-right .uni-migration-right-img {\n width: 240px;\n height: 240px;\n }\n</style>\n<div id="uni-migration" class="uni-migration">\n<uni-icon class="uni-migration-close" id="uni-migration-close" style="cursor:pointer" size="20" color="#79879E" name="icon-ui-closethick"></uni-icon>\n <div class="uni-migration-left">\n <div class="uni-migration-left-title">'.concat(e.title,'</div>\n <div class="uni-migration-left-message">').concat(e.message,'</div>\n <div class="uni-migration-left-operation" id="uni-migration-operation">\n </div>\n <div class="uni-migration-left-tip">').concat(e.tip,'</div>\n </div>\n <div class="uni-migration-right">\n <img class="uni-migration-right-img" src="').concat("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAHgCAMAAABKCk6nAAADAFBMVEUAAAAlM3oWLHkYL3YZLHcWK3YWK3QYK3Xt7/Wktsunu87z9vrw9Ph8laN/j67r7/bd4+vp7vSXq8XK1eHs8fbl6vLh5/CluM3o7fSFmbjq7/W5wtfI0eDj6fG+zNzG0N/h5/BsipXr8PbG0t+ercZffHmhtMinus7z9vry9fjy9fvw8/fi6fDz9/2luc319fbk6/Hs8PXt8fcA9fLQ4Piou8/v8/nq8vnm8Pjp7vPo7fjn7PLg5+/L3fehxfOHtPLT3easv9KQu/Lt8/vQ2uWTvfLl7femyfM34v+OufKqy/OKt/Kew/OMuPHN2OTi7PU4a+aWvvPZ5/k0Z+bH2PY7cOebwvN/rfGDsfLY4On4+Prd6vkwYuWbwO9Szf/i6fgtXuPV5Pg/dOjV3+ky5P+ew+/b4+ve5e3B1vW60fX2+f6YwPNEeenf6fPe5fauzvNYxP96qfFooP+jt8vr8Ppcvv9Tov7K1eB2pvC1zPSjx/NJfu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LOg653XBKFbxqVticmvB7njE0SbisNISaRPtRKcd9Ik68NuW3SjbE70fJrs5054s8FYx9EwmUK94MM6u6orRqm2n7bXq+7zWvCGPdd9iGop5KBSrhdYK3L36hRgOySapLYOK3piZvt97nBgsObjXrqMhcWVUD0Yh6S/nr+s3WznEiw/0fzqo9kG9Wrd/MpVqjpFqM13Lur3Avh/qhgBxi9a3oFZ4y47HIAZia0CGOo1adCcaAHfrZMe4I8vgROETfETAVC9bf1dkyf0wezePjZ2qYYqcmjgViY8+Ry7qC6Vh0P7s04bRq9khdv09wTtUBxAY/JiN7ytLd/tht4KA6m2GKewyimCXQ+MjieoZ3qXkQXa+hmDr404l0HFG1L4w1HJmp4MpoOKUI75fQaUNGCXJg6xdHRSqpZTCe5sS+BHo5cdYX6qsBf+K1zpy9lRuIAZXFBeg9lblfLqXTfcjev5sbCpXoXjbnPrMhi7gXImw95Y5KXYu9bOp8oyxxToU88c+rJkhnQyofWdT9S1w3mV1YWFhYWFhYWFj4Yg8OBAAAAACA/F8bQVVVVVVVVVVVVVVV2oNDAgAAAABB/197wggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwCFZqUcWjc54QwAAAABJRU5ErkJggg==",'"/>\n </div>\n</div>'),e}return e(u,[{key:"visible",get:function(){return"true"==this.getAttribute("visible")},set:function(n){n?this.setAttribute("visible",n+""):this.removeAttribute("visible")}},{key:"address",get:function(){return this.getAttribute("address")},set:function(n){n?this.setAttribute("address",n):this.removeAttribute("address")}},{key:"storageKey",get:function(){return this.getAttribute("storageKey")||"uniPathKey"},set:function(n){n?this.setAttribute("storageKey",n):this.removeAttribute("storageKey")}},{key:"auto",get:function(){return"true"==this.getAttribute("auto")},set:function(n){n?this.setAttribute("auto",n+""):this.removeAttribute("auto")}},{key:"connectedCallback",value:function(){var n=this,t=this.shadowRoot.getElementById("uni-migration-operation");console.log(this.storageKey,"this.storageKey");var e=localStorage.getItem(this.storageKey);if(localStorage.setItem(this.storageKey,this.address),e){this.setAttribute("auto","true"),this.title="即将前往新地址…",this.message="我们搬家啦!本次为您自动前往新地址。",t.innerHTML='<div id="auto-go" class="uni-button migration-normal">立即前往(3秒)</div><div id="auto-not-go" class="uni-button migration-text">暂不前往</div>',this.shadowRoot.getElementById("auto-not-go").addEventListener("click",(function(t){n.handleNotGo()}));var i=this.shadowRoot.getElementById("auto-go");i.addEventListener("click",(function(t){n.handleGo(n.address)})),this.timer&&clearInterval(this.timer);var r=4;this.timer=setInterval((function(){i.innerText="立即前往(".concat(Math.max((r-=1)-1,0),"秒)"),0===r&&(n.timer&&clearInterval(n.timer),n.handleGo(n.address))}),1e3)}else{this.removeAttribute("auto"),this.title="我们搬家啦!",this.message="租户名称 用户名称,你好!<br/>当前登录地址已失效,请前往新地址,并尽快保存好新地址,以防下次忘记。",t.innerHTML='<div id="go" class="uni-button migration-primary">立即前往新地址</div><div id="copy" class="uni-button migration-normal">复制新地址</div>',this.shadowRoot.getElementById("copy").addEventListener("click",(function(t){n.handleCopy(n.address)})),this.shadowRoot.getElementById("go").addEventListener("click",(function(t){n.handleGo(n.address)}));var s=this.shadowRoot.getElementById("uni-migration-close");s&&s.addEventListener("click",(function(t){n.handleClose()}))}this.shadowRoot.addEventListener("transitionend",(function(t){"transform"!==t.propertyName||n.visible||document.body.removeChild(n)}))}},{key:"handleGo",value:function(n){window.location.href=n}},{key:"handleNotGo",value:function(){this.handleClose()}},{key:"handleClose",value:function(){this.timer&&clearInterval(this.timer),this.visible=!1}},{key:"handleCopy",value:function(n){var t=document.createElement("textarea");t.value=n,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),a.showToast({message:"已将地址复制到剪切板",type:"success"})}},{key:"attributeChangedCallback",value:function(n,t,e){}}],[{key:"observedAttributes",get:function(){return["visible","address","storageKey"]}}]),u}(u(HTMLElement));customElements.get("uni-migration")||customElements.define("uni-migration",g);export{g as default}; |
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{g as t,d as e,b as r,_ as n,a as o}from"../defineProperty.js";import i from"../http/index.js";import a from"../uni-app-list/index.js";import s from"../uni-loading/index.js";import c from"../uni-message/index.js";import{setParams as u,getParams as f}from"../utils/index.js";import"../uni-axios/index.js";import"../wrapNativeSuper.js";import"../uni-icon/index.js";var l,p={exports:{}},h={exports:{}},d={exports:{}};(l=d).exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);e>r;r++)n[r]=t[r];return n},l.exports.__esModule=!0,l.exports.default=l.exports;!function(t){var e=d.exports;t.exports=function(t){if(Array.isArray(t))return e(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(h);var v={exports:{}};!function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(v);var y={exports:{}};!function(t){var e=d.exports;t.exports=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}(y);var g={exports:{}};!function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports}(g);!function(t){var e=h.exports,r=v.exports,n=y.exports,o=g.exports;t.exports=function(t){return e(t)||r(t)||n(t)||o()},t.exports.__esModule=!0,t.exports.default=t.exports}(p);var x=t(p.exports),m={exports:{}};!function(t){function e(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(t){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function s(t){e(a,o,i,s,c,"next",t)}function c(t){e(a,o,i,s,c,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports}(m);var w=t(m.exports),b={exports:{}};!function(t){var r=e.exports.default;function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | ||
| t.exports=n=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=Object.create((e&&e.prototype instanceof v?e:v).prototype),i=new E(n||[]);return a(o,"_invoke",{value:_(t,r,i)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var d={};function v(){}function y(){}function g(){}var x={};l(x,c,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(U([])));w&&w!==o&&i.call(w,c)&&(x=w);var b=g.prototype=v.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function n(o,a,s,c){var u=h(t[o],t,a);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==r(l)&&i.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(l).then((function(t){f.value=t,s(f)}),(function(t){return n("throw",t,s,c)}))}c(u.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function _(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=j(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=h(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function j(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=h(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function U(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:A}}function A(){return{value:void 0,done:!0}}return y.prototype=g,a(b,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:y,configurable:!0}),y.displayName=l(g,f,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,f,"GeneratorFunction")),t.prototype=Object.create(b),t},e.awrap=function(t){return{__await:t}},k(L.prototype),l(L.prototype,u,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new L(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(b),l(b,f,"Generator"),l(b,c,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=U,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(this.prev>=o.tryLoc){var s=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(s&&c){if(o.catchLoc>this.prev)return r(o.catchLoc,!0);if(o.finallyLoc>this.prev)return r(o.finallyLoc)}else if(s){if(o.catchLoc>this.prev)return r(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(o.finallyLoc>this.prev)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(this.prev>=n.tryLoc&&i.call(n,"finallyLoc")&&n.finallyLoc>this.prev){var o=n;break}}o&&("break"===t||"continue"===t)&&e>=o.tryLoc&&o.finallyLoc>=e&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:U(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}(b);var k=b.exports(),L=k;try{regeneratorRuntime=k}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=k:Function("r","regeneratorRuntime = r")(k)}function _(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var e=1;arguments.length>e;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var O=function(){function t(e,o,i,a){n(this,t),r(this,"uniBffUrl",""),r(this,"targetProductName",""),r(this,"targetPath",""),r(this,"authorization",""),this.uniBffUrl=this.validate("uniBffUrl",e),this.targetProductName=this.validate("targetProductName",o),this.targetPath=i,this.authorization=a}var e,l,p,h,d,v;return o(t,[{key:"navigate",value:(v=w(L.mark((function t(){var e,r,n,o=this;return L.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=location.pathname,s.showLoading({}),t.next=4,this.getTargetList();case 4:if(r=t.sent,s.hideLoading(),e===location.pathname){t.next=8;break}return t.abrupt("return");case 8:r&&(r.length>1?(n=new a,document.body.appendChild(n),n.setAttribute("target",JSON.stringify(r)),n.setAttribute("visible","true"),n.addEventListener("navigate",(function(t){if(!t.detail.value)throw Error("点击事件参数错误");o.doNavigate(t.detail.value)}))):1===r.length&&this.doNavigate(r[0]));case 9:case"end":return t.stop()}}),t,this)}))),function(){return v.apply(this,arguments)})},{key:"doNavigate",value:(d=w(L.mark((function t(e){var r,n,o,i,a,c,l,p,h,d;return L.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=window.__POWERED_BY_QIANKUN__,n=!!e.accessParameters.isMicroApp,o=e.instance.current,i="",a=f(window.location.search).get("limitTenant"),c=new Map,a&&c.set("limitTenant",a),!o){t.next=33;break}if(!r||!n){t.next=16;break}l="/",2>(p=window.location.pathname.split("/").filter((function(t){return t}))).length||(l="/".concat(p[0],"/")),i="".concat(u("".concat(l).concat(e.iid),c),"/").concat(this.targetPath),window.history.pushState(null,"",this.beautifyUrl(i)),t.next=31;break;case 16:if(!n){t.next=21;break}i="".concat(u("".concat(e.instance.uniHomeUrl,"/").concat(e.iid),c),"/").concat(this.targetPath),top.location.href=this.beautifyUrl(i),t.next=31;break;case 21:return s.showLoading({}),t.next=24,this.doGetCrosToken(e.instance.uniBffUrl||this.uniBffUrl);case 24:if(h=t.sent,s.hideLoading(),h){t.next=28;break}return t.abrupt("return");case 28:c.set("cors-token",h),i=u(e.pageBaseUrl+this.targetPath,c),top.location.href=this.beautifyUrl(i);case 31:t.next=42;break;case 33:return s.showLoading({}),t.next=36,this.doGetCrosToken(e.instance.uniBffUrl||this.uniBffUrl);case 36:if(d=t.sent,s.hideLoading(),d){t.next=40;break}return t.abrupt("return");case 40:c.set("cors-token",d),n?(i=u("".concat(e.instance.uniHomeUrl,"/").concat(e.iid,"/").concat(this.targetPath),c),top.location.href=this.beautifyUrl(i)):(c.set("cors-url","".concat(e.pageBaseUrl).concat(this.targetPath)),i=u(e.instance.uniHomeUrl,c),top.location.href=this.beautifyUrl(i));case 42:case"end":return t.stop()}}),t,this)}))),function(t){return d.apply(this,arguments)})},{key:"beautifyUrl",value:function(t){return t.replaceAll("//","/").replaceAll("https:/","https://").replaceAll("http:/","http://")}},{key:"getTargetList",value:(h=w(L.mark((function t(){var e,r,n,o,i=this;return L.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=[],t.next=3,this.doListInterconnected();case 3:if(!(r=t.sent)||!r.length){t.next=14;break}n=L.mark((function t(n){var o;return L.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r[n]){t.next=9;break}return t.next=3,i.doListAllowed(r[n]||void 0);case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:(o=t.t0.map((function(t){return j(j({},t),{},{instance:r[n]})})))&&o.length&&(e=[].concat(x(e||[]),x(o)));case 9:case"end":return t.stop()}}),t)})),o=0;case 7:if(o>=r.length){t.next=12;break}return t.delegateYield(n(o),"t0",9);case 9:o++,t.next=7;break;case 12:t.next=20;break;case 14:return t.next=16,this.doListAllowed(void 0);case 16:if(t.t1=t.sent,t.t1){t.next=19;break}t.t1=[];case 19:e=t.t1.map((function(t){return j(j({},t),{},{instance:null})}));case 20:return t.abrupt("return",e);case 21:case"end":return t.stop()}}),t,this)}))),function(){return h.apply(this,arguments)})},{key:"doListAllowed",value:(p=w(L.mark((function t(e){var r;return L.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.uniBffUrl,e&&(e.uniBffUrl?e.current||(r=e.uniBffUrl):r=this.uniBffUrl),t.next=4,i.AppApi.listByProductName(this.targetProductName,r,this.authorization).then((function(t){return t})).catch((function(t){return c.showToast({message:t.message,type:"error"}),t.data}));case 4:return t.abrupt("return",t.sent.data);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"doListInterconnected",value:(l=w(L.mark((function t(){return L.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.UniInstanceApi.listInterconnected(this.uniBffUrl,this.authorization).then((function(t){return t})).catch((function(t){return c.showToast({message:t.message,type:"error"}),t}));case 2:return t.abrupt("return",t.sent.data);case 5:case"end":return t.stop()}}),t,this)}))),function(){return l.apply(this,arguments)})},{key:"doGetCrosToken",value:(e=w(L.mark((function t(e){return L.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.AppApi.acquireCorsToken(e,this.authorization).then((function(t){return t})).catch((function(t){return c.showToast({message:t.message,type:"error"}),t}));case 2:return t.abrupt("return",t.sent.data);case 5:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"validate",value:function(t,e){if(e)return e;throw Error('参数"'.concat(t,'"不合法'))}}]),t}();export{O as default}; | ||
| import{g as t,b as e,_ as r,a as n}from"../defineProperty.js";import{_ as a,r as o}from"../index2.js";import i from"../http/index.js";import s from"../uni-app-list/index.js";import c from"../uni-loading/index.js";import u from"../uni-message/index.js";import{setParams as p,getParams as f}from"../utils/index.js";import"../uni-axios/index.js";import"../wrapNativeSuper.js";import"../uni-icon/index.js";var l,h={exports:{}},d={exports:{}},x={exports:{}};(l=x).exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);e>r;r++)n[r]=t[r];return n},l.exports.__esModule=!0,l.exports.default=l.exports;!function(t){var e=x.exports;t.exports=function(t){if(Array.isArray(t))return e(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(d);var m={exports:{}};!function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(m);var g={exports:{}};!function(t){var e=x.exports;t.exports=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}(g);var b={exports:{}};!function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports}(b);!function(t){var e=d.exports,r=m.exports,n=g.exports,a=b.exports;t.exports=function(t){return e(t)||r(t)||n(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports}(h);var v=t(h.exports);function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function w(t){for(var r=1;arguments.length>r;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?y(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var k=function(){function t(n,a,o,i){r(this,t),e(this,"uniBffUrl",""),e(this,"targetProductName",""),e(this,"targetPath",""),e(this,"authorization",""),this.uniBffUrl=this.validate("uniBffUrl",n),this.targetProductName=this.validate("targetProductName",a),this.targetPath=o,this.authorization=i}var l,h,d,x,m,g;return n(t,[{key:"navigate",value:(g=a(o.mark((function t(){var e,r,n,a=this;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=location.pathname,c.showLoading({}),t.next=4,this.getTargetList();case 4:if(r=t.sent,c.hideLoading(),e===location.pathname){t.next=8;break}return t.abrupt("return");case 8:r&&(r.length>1?(n=new s,document.body.appendChild(n),n.setAttribute("target",JSON.stringify(r)),n.setAttribute("visible","true"),n.addEventListener("navigate",(function(t){if(!t.detail.value)throw Error("点击事件参数错误");a.doNavigate(t.detail.value)}))):1===r.length&&this.doNavigate(r[0]));case 9:case"end":return t.stop()}}),t,this)}))),function(){return g.apply(this,arguments)})},{key:"doNavigate",value:(m=a(o.mark((function t(e){var r,n,a,i,s,u,l,h,d,x;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=window.__POWERED_BY_QIANKUN__,n=!!e.accessParameters.isMicroApp,a=e.instance.current,i="",s=f(window.location.search).get("limitTenant"),u=new Map,s&&u.set("limitTenant",s),!a){t.next=33;break}if(!r||!n){t.next=16;break}l="/",2>(h=window.location.pathname.split("/").filter((function(t){return t}))).length||(l="/".concat(h[0],"/")),i="".concat(p("".concat(l).concat(e.iid),u),"/").concat(this.targetPath),window.history.pushState(null,"",this.beautifyUrl(i)),t.next=31;break;case 16:if(!n){t.next=21;break}i="".concat(p("".concat(e.instance.uniHomeUrl,"/").concat(e.iid),u),"/").concat(this.targetPath),top.location.href=this.beautifyUrl(i),t.next=31;break;case 21:return c.showLoading({}),t.next=24,this.doGetCrosToken(e.instance.uniBffUrl||this.uniBffUrl);case 24:if(d=t.sent,c.hideLoading(),d){t.next=28;break}return t.abrupt("return");case 28:u.set("cors-token",d),i=p(e.pageBaseUrl+this.targetPath,u),top.location.href=this.beautifyUrl(i);case 31:t.next=42;break;case 33:return c.showLoading({}),t.next=36,this.doGetCrosToken(e.instance.uniBffUrl||this.uniBffUrl);case 36:if(x=t.sent,c.hideLoading(),x){t.next=40;break}return t.abrupt("return");case 40:u.set("cors-token",x),n?(i=p("".concat(e.instance.uniHomeUrl,"/").concat(e.iid,"/").concat(this.targetPath),u),top.location.href=this.beautifyUrl(i)):(u.set("cors-url","".concat(e.pageBaseUrl).concat(this.targetPath)),i=p(e.instance.uniHomeUrl,u),top.location.href=this.beautifyUrl(i));case 42:case"end":return t.stop()}}),t,this)}))),function(t){return m.apply(this,arguments)})},{key:"beautifyUrl",value:function(t){return t.replaceAll("//","/").replaceAll("https:/","https://").replaceAll("http:/","http://")}},{key:"getTargetList",value:(x=a(o.mark((function t(){var e,r,n,a,i=this;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=[],t.next=3,this.doListInterconnected();case 3:if(!(r=t.sent)||!r.length){t.next=14;break}n=o.mark((function t(n){var a;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r[n]){t.next=9;break}return t.next=3,i.doListAllowed(r[n]||void 0);case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=[];case 6:(a=t.t0.map((function(t){return w(w({},t),{},{instance:r[n]})})))&&a.length&&(e=[].concat(v(e||[]),v(a)));case 9:case"end":return t.stop()}}),t)})),a=0;case 7:if(a>=r.length){t.next=12;break}return t.delegateYield(n(a),"t0",9);case 9:a++,t.next=7;break;case 12:t.next=20;break;case 14:return t.next=16,this.doListAllowed(void 0);case 16:if(t.t1=t.sent,t.t1){t.next=19;break}t.t1=[];case 19:e=t.t1.map((function(t){return w(w({},t),{},{instance:null})}));case 20:return t.abrupt("return",e);case 21:case"end":return t.stop()}}),t,this)}))),function(){return x.apply(this,arguments)})},{key:"doListAllowed",value:(d=a(o.mark((function t(e){var r;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.uniBffUrl,e&&(e.uniBffUrl?e.current||(r=e.uniBffUrl):r=this.uniBffUrl),t.next=4,i.AppApi.listByProductName(this.targetProductName,r,this.authorization).then((function(t){return t})).catch((function(t){return u.showToast({message:t.message,type:"error"}),t.data}));case 4:return t.abrupt("return",t.sent.data);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return d.apply(this,arguments)})},{key:"doListInterconnected",value:(h=a(o.mark((function t(){return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.UniInstanceApi.listInterconnected(this.uniBffUrl,this.authorization).then((function(t){return t})).catch((function(t){return u.showToast({message:t.message,type:"error"}),t}));case 2:return t.abrupt("return",t.sent.data);case 5:case"end":return t.stop()}}),t,this)}))),function(){return h.apply(this,arguments)})},{key:"doGetCrosToken",value:(l=a(o.mark((function t(e){return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.AppApi.acquireCorsToken(e,this.authorization).then((function(t){return t})).catch((function(t){return u.showToast({message:t.message,type:"error"}),t}));case 2:return t.abrupt("return",t.sent.data);case 5:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"validate",value:function(t,e){if(e)return e;throw Error('参数"'.concat(t,'"不合法'))}}]),t}();export{k as default}; |
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{_ as t,b as n,a as e}from"../defineProperty.js";import{_ as i,a as o,b as r,c as a,d as s}from"../wrapNativeSuper.js";import{getParams as l,setParams as d,getFontSize as p}from"../utils/index.js";import c from"../http/index.js";import f from"../uni-navigate/index.js";import"../uni-axios/index.js";import"../uni-app-list/index.js";import"../uni-icon/index.js";import"../uni-loading/index.js";import"../uni-message/index.js";var u,h;function g(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,r=i(t);if(n){var a=i(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return o(this,e)}}!function(t){t.platform="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAAD9QTFRFAAAA1dXVttvbv7/ftbnHtLrItLrHtbrItLrJtLrItLnHs7rHtLrItLrHtLrItLrItLrIs7nHs7nItLrIs7nHAwjV3AAAABR0Uk5TAAYHCHyChYa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8T7jMX7ptH6wdz5xN35xd750OP42ej44ev46O/47fH4zacqCwAAABJ0Uk5TAAYHGC0uR4KVlr/H2ePx8vP009oDlQAAARtJREFUWMPt2FtPg0AQhuEBKmcQ7EGt2lK2Zf7/P+yFpmG2KRnY70LNvpck+2TDBWGG6FYQp3nZsLKmzNM4oPuirObZ1VlkMWHS8qLaJBTXKXhxxehSTxU7VK1u93FymKufO4UFO1Z8v6eEnUuIiKLWHWojIsoYUEYU1AioDihmSDGlGCilHAPlVMoHg+k7Rb0Z5LmS5HdjOHXKTlJqSMKmU2fkSQvq9VA/CXUz8pCH/g5kZjQJLe/XQx+jvph5v37cJPQ+as/Mby+P85CHPOQhD/0T6KCHtpPQUQ+9WpD8Yb98aqHNWRx8tkeIy/Gggba7sz1CwIYa2JgFG/xgoyhsOMaN67AFAm6lAVuy4NY+uEUUbjWGW9a5rw+viI6Pi0rXN4MAAAAASUVORK5CYII="}(u||(u={})),function(t){t.circle="circle",t.square="square"}(h||(h={}));var A=function(i){r(s,i);var o=g(s);function s(){var e;return t(this,s),e=o.call(this),n(a(e),"isMicroApp",window.__POWERED_BY_QIANKUN__),n(a(e),"visible",!1),n(a(e),"timer",null),n(a(e),"initXhr",null),n(a(e),"appList",[]),e.attachShadow({mode:"open"}).innerHTML='\n <style>\n .flex-column-center {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\n .sidebar {\n position: fixed;\n top: 0;\n left: -200px;\n padding: 22px 0;\n width: 200px;\n height: 100vh;\n background: #ffffff;\n box-shadow: 4px 0px 8px 0px rgba(0, 0, 0, 0.1);\n box-sizing: border-box;\n transition: left 0.3s linear;\n overflow: hidden;\n z-index: 10000;\n }\n .sidebar .platform {\n width: 100%;\n cursor: pointer;\n display:flex;\n align-items:center;\n justify-content:center;\n height: 40px;\n flex: 0 0 auto;\n margin-bottom:34px;\n }\n .sidebar .platform img {\n width:24px;\n height:24px;\n margin-right:8px;\n }\n .sidebar .platform span {\n font-size: 16px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #767E91;\n line-height: 22px;\n }\n .sidebar .sidebar-list {\n display: none;\n width:100%;\n height: calc(100vh - 94px);\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n overflow-y: auto;\n }\n /*滚动条样式*/\n ::-webkit-scrollbar {\n width: 0px;\n height: 10px !important;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 10px;\n -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);\n background: #ffffffaa;\n }\n ::-webkit-scrollbar-track {\n background: #2e313d;\n }\n \n ::-webkit-scrollbar-corner {\n background: #2e313d;\n }\n .sidebar .sidebar-list .nav {\n position: relative;\n display:flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n min-width: 160px;\n min-height: 160px;\n background: #f5f6fa;\n border-radius: 8px;\n margin-bottom: 8px;\n cursor: pointer;\n }\n .sidebar .sidebar-list .nav img {\n margin-bottom:8px;\n width: 48px;\n height: 48px;\n }\n .sidebar .sidebar-list .nav span {\n display: block;\n width: 140px;\n height: 22px;\n margin: 0 auto;\n font-size: 16px;\n font-family: PingFangSC-Medium, PingFang SC;\n font-weight: 500;\n color: #303133;\n line-height: 22px;\n text-align: center;\n white-space:nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n .error-page, .refresh-page {\n display: none;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n margin-top: 100px;\n width:200px;\n }\n .error-page .error-img {\n width: 100px;\n height: 100px;\n }\n .error-page .error-text {\n margin: 4px 0 16px 0;\n font-size: 14px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #303133;\n line-height: 20px;\n }\n .refresh-page .cancel-button {\n display: none;\n }\n .error-page .refresh-button, .refresh-page .cancel-button {\n width: 72px;\n height: 32px;\n line-height: 32px;\n background: #FFFFFF;\n border-radius: 2px;\n border: 1px solid #D1DCED;\n color: #303753;\n font-size: 12px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n text-align: center;\n cursor: pointer;\n }\n .refresh-page .loading, .loading-page .var-loading {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n border: 4px solid color:var(--color-primary,#4d63ec);\n border-left: 4px solid #fff;\n border-top: 4px solid #fff;\n animation: load 0.3s linear 0s infinite;\n -moz-animation:load 0.3s linear 0s infinite;\n -webkit-animation: load 0.3s linear 0s infinite;\n -o-animation:load 0.3s linear 0s infinite;\n }\n .refresh-page .loading::before, .refresh-page .loading::after,\n .loading-page .var-loading::before, .loading-page .var-loading::after {\n content:\'\';\n position: absolute;\n width: 4px;\n height: 4px;\n border-top-left-radius: 50%;\n border-top-right-radius: 50%;\n background:var(--color-primary,#4d63ec);\n }\n .refresh-page .loading::before,\n .loading-page .var-loading::before {\n left: 2px;\n bottom: 3px;\n transform: rotate(-45deg);\n }\n .refresh-page .loading::after,\n .loading-page .var-loading::after {\n right: 2px;\n top: 3px;\n transform: rotate(-45deg);\n }\n @-webkit-keyframes load {\n from {\n -webkit-transform:rotate(0deg);\n }\n to {\n -webkit-transform:rotate(360deg);\n }\n }\n @-moz-keyframes load {\n from {\n -moz-transform:rotate(0deg);\n }\n to {\n -moz-transform:rotate(360deg);\n }\n }\n @-o-keyframes load {\n from {\n -o-transform:rotate(0deg);\n }\n to {\n -o-transform:rotate(360deg);\n }\n }\n .refresh-page .refresh-text,\n .loading-page .loading-page-text {\n margin: 30px 0 18px 0;\n font-size: 14px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #303133;\n line-height: 20px;\n }\n .loading-page .loading-page-text {\n color: #fff;\n }\n .loading-page .loading-page-text {\n margin-top: 18px;\n }\n .sidebar .close {\n position: fixed;\n top: 0;\n left: 0;\n width: 0;\n height: 64px;\n background:var(--color-primary,#4d63ec);\n cursor: pointer;\n }\n .sidebar .close .bias-icon {\n position: relative;\n opacity: 0;\n transition:opacity 0s linear 0.3s;\n }\n .sidebar .close .bias {\n position: absolute;\n width: 24px;\n height: 3px;\n background: #fff;\n border-radius: 2px;\n }\n .sidebar .close .right-bias {\n transform: rotate(45deg)\n }\n .sidebar .close .left-bias {\n transform: rotate(-45deg)\n }\n .transition-close {\n transition:width 0s linear 0.3s,left 0.3s linear 0s;\n }\n .oprea-button {\n position: fixed;\n left: 0;\n top: 0;\n width: 64px;\n height: 64px;\n line-height: 64px;\n text-align: center;\n background:var(--color-primary,#4d63ec);\n z-index: 9999;\n cursor: pointer;\n }\n .oprea-button .cross-stripe {\n position: relative;\n margin-bottom: 5px;\n width: 24px;\n height: 3px;\n background: #fff;\n border-radius: 2px;\n }\n .oprea-button .cross-stripe:last-child {\n margin-bottom: 0px;\n }\n .circle-button {\n left: 68px;\n top: calc(100vh - 128px);\n border-radius: 32px;\n }\n #shadow {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: none;\n background: rgba(0, 0, 0, 0.1);\n z-index:9000;\n }\n .shade {\n position: absolute;\n width: 100%;\n height: 100%;\n opacity: 0;\n z-index: 10000;\n cursor: pointer;\n }\n\n .loading-page {\n display: none;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 10001;\n }\n .message {\n display: none;\n position: fixed;\n left: 0;\n top: 0;\n right: 0;\n padding: 32px 0;\n z-index: 10002;\n }\n </style>\n <div id="sidebar" class="sidebar">\n <div id="platform" class="platform">\n <img src="'.concat(u.platform,'">\n <span>返回工作台</span>\n </div>\n <div id="sidebar-list" class="sidebar-list"></div>\n <div id="error-page" class="error-page">\n <img class="error-img" src="').concat(u.empty,'">\n <span class="error-text">出错啦</span>\n <div id="refresh-button" class="refresh-button">刷新</div>\n </div>\n <div id="refresh-page" class="refresh-page">\n <div class="loading"></div>\n <span class="refresh-text">加载中...</span>\n <div id="cancel-button" class="cancel-button">取消</div>\n </div>\n <div id="close" class="close transition-close flex-column-center">\n <div id="close-shade" class="shade"></div>\n <div class="bias-icon flex-column-center">\n <div class="bias right-bias"></div>\n <div class="bias left-bias"></div>\n </div>\n </div>\n </div>\n <div id="oprea-button" class="oprea-button flex-column-center">\n <div class="cross-stripe"></div>\n <div class="cross-stripe"></div>\n <div class="cross-stripe"></div>\n </div>\n <div id="loading-page" class="flex-column-center loading-page">\n <div class="var-loading"></div>\n <span class="loading-page-text">加载中...</span>\n </div>\n <div id="message" class="flex-column-center message">\n <img src="').concat(u.error,'" />\n </div>\n <div id="shadow"></div>\n '),e}return e(s,[{key:"mask",get:function(){return"true"==this.getAttribute("mask")},set:function(t){t?this.setAttribute("mask",t+""):this.removeAttribute("mask")}},{key:"type",get:function(){var t=h.square;for(var n in h)this.getAttribute(t)===n&&(t=h[n]);return t},set:function(t){this.setAttribute("type",t)}},{key:"color",get:function(){return this.getAttribute("color")},set:function(t){this.setAttribute("color",t)}},{key:"left",get:function(){return this.getAttribute("left")||"0"},set:function(t){this.setAttribute("left",t)}},{key:"top",get:function(){return this.getAttribute("top")||"0"},set:function(t){this.setAttribute("top",t)}},{key:"uniBffUrl",get:function(){return this.getAttribute("uni-bff-url")},set:function(t){this.setAttribute("uni-bff-url",t)}},{key:"authorization",get:function(){return this.getAttribute("authorization")},set:function(t){this.setAttribute("authorization",t)}},{key:"transparent",get:function(){return"true"==this.getAttribute("transparent")},set:function(t){t?this.setAttribute("transparent",t+""):this.removeAttribute("transparent")}},{key:"uniHomeUrl",get:function(){return this.getAttribute("uni-home-url")},set:function(t){this.setAttribute("uni-home-url",t)}},{key:"width",get:function(){return this.getAttribute("width")||"64"},set:function(t){this.setAttribute("width",t)}},{key:"height",get:function(){return this.getAttribute("width")||"64"},set:function(t){this.setAttribute("width",t)}},{key:"connectedCallback",value:function(){var t=this,n=setTimeout((function(){clearTimeout(n),t.doControlCancel(),t.creatContent()}),0)}},{key:"attributeChangedCallback",value:function(t,n,e){}},{key:"doControlCancel",value:function(){var t=this,n=0>=arguments.length||void 0===arguments[0]||arguments[0];n?this.timer=setTimeout((function(){clearTimeout(t.timer),t.shadowRoot.getElementById("cancel-button").style.display="block"}),12e4):clearTimeout(this.timer)}},{key:"creatContent",value:function(){var t=this,n=this.shadowRoot.getElementById("sidebar"),e=this.shadowRoot.getElementById("oprea-button"),i=this.shadowRoot.getElementById("close"),o=this.shadowRoot.getElementById("close-shade"),r=this.shadowRoot.querySelector(".bias-icon"),a=this.shadowRoot.getElementById("shadow"),s=this.shadowRoot.getElementById("refresh-button"),c=this.shadowRoot.getElementById("cancel-button");this.shadowRoot.getElementById("platform").addEventListener("click",(function(n){var e=l(window.location.search).get("limitTenant"),i=new Map;e&&i.set("limitTenant",e),t.isMicroApp?window.history.replaceState(null,"",d("/",i)):window.location.replace(d(t.uniHomeUrl,i))})),"circle"===this.type&&(e.classList.add("circle-button"),e.style.boxShadow="0px 0px 8px 0px ".concat(this.color)),e.style.opacity=this.transparent?"0":"1",i.style.background=this.color,e.style.background=this.color;for(var f=this.shadowRoot.querySelectorAll(".cross-stripe"),u=0;f.length>u;u++)f[u].style="0px 0px 8px 0px ".concat(this.color);e.style.width=p(this.width),e.style.height=p(this.height),e.style.left=p(this.left),e.style.top=p(this.top),e.addEventListener("click",(function(){i.style.left="200px",i.style.width="64px",r.style.opacity=1,n.style.left="0",t.mask&&(a.style.display="block"),t.doInit()})),o.addEventListener("click",(function(){i.style.left="0",i.style.width="0",r.style.opacity="0",n.style.left="-200px",t.mask&&(a.style.display="none")})),s.addEventListener("click",(function(){t.doInit()})),c.addEventListener("click",(function(){t.doCancelInit()}))}},{key:"doInit",value:function(){var t=this;this.doControlCancel(),this.doCreate("loading");var n=new c.SidebarApi;n.listLinks(this.uniBffUrl,this.authorization).then((function(n){t.appList=n.data.filter((function(t){return"uni"!==t.appName})),t.doCreate("success")})).catch((function(n){t.doCreate("error")})),this.initXhr=n.linkInstance}},{key:"doCancelInit",value:function(){this.initXhr.abort(),this.doCreate("error")}},{key:"doCreate",value:function(t){var n=this.shadowRoot.getElementById("sidebar-list"),e=this.shadowRoot.getElementById("error-page"),i=this.shadowRoot.getElementById("refresh-page");switch(t){case"success":n.style.display="flex",e.style.display="none",i.style.display="none",this.doCreateNavList(),this.doControlCancel(!1);break;case"error":n.style.display="none",e.style.display="flex",i.style.display="none",this.doControlCancel(!1);break;case"loading":n.style.display="none",e.style.display="none",i.style.display="flex"}}},{key:"doCreateNavList",value:function(){var t=this;if(0!==this.shadowRoot.children.length){var n=this.shadowRoot.querySelector("#sidebar-list");n.innerHTML="";for(var e=function(e){var i=document.createElement("div");i.setAttribute("class","nav");var o=document.createElement("div");o.setAttribute("class","shade"),o.setAttribute("path",t.appList[e].url),o.setAttribute("appName",t.appList[e].appName),o.setAttribute("productName",t.appList[e].productName),o.setAttribute("appId",t.appList[e].appId),t.appList[e].accessParameters&&t.appList[e].accessParameters.isMicroApp&&o.setAttribute("isMicroApp","true"),o.addEventListener("click",(function(n){var e=new f("".concat(t.uniBffUrl?t.uniBffUrl:window.location.origin),o.getAttribute("productName"),"",t.authorization),i={iid:o.getAttribute("appId"),instance:{current:!0,nickname:"",id:"",uniBffUrl:t.uniBffUrl,uniHomeUrl:t.uniHomeUrl},name:"",groupId:"",productName:"",logoUrl:"",introduction:"",homeUrl:"",pageBaseUrl:o.getAttribute("path"),accessParameters:{isMicroApp:o.getAttribute("isMicroApp")}};e.doNavigate(i)})),i.appendChild(o);var r=document.createElement("img");if(r.setAttribute("src",t.appList[e].logoUrl||u.defaultAppLogo),r.onerror=function(){r.src=u.defaultAppLogo,r.onerror=null},i.appendChild(r),t.appList[e].introduction||t.appList[e].appName){var a=document.createElement("span");a.innerText=t.appList[e].introduction||t.appList[e].appName,i.appendChild(a)}n.appendChild(i)},i=0;this.appList.length>i;i++)e(i)}}},{key:"doLoad",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.shadowRoot.getElementById("loading-page");n.style.display=t?"flex":"none"}},{key:"doMessage",value:function(){var t=this.shadowRoot.getElementById("message");t.style.display="flex";var n=setTimeout((function(){clearTimeout(n),t.style.display="none"}),2e3)}}],[{key:"observedAttributes",get:function(){return["mask","type","color","left","top","uni-bff-url","authorization","transparent","uni-home-url","width","height"]}}]),s}(s(HTMLElement));customElements.get("uni-sider-bar")||customElements.define("uni-sider-bar",A);export{A as default}; | ||
| import{_ as t,b as n,a as e}from"../defineProperty.js";import{_ as i,a as o,b as r,c as a,d as s}from"../wrapNativeSuper.js";import{getParams as l,setParams as d,getFontSize as p}from"../utils/index.js";import c from"../http/index.js";import f from"../uni-navigate/index.js";import"../uni-axios/index.js";import"../index2.js";import"../uni-app-list/index.js";import"../uni-icon/index.js";import"../uni-loading/index.js";import"../uni-message/index.js";var u,h;function g(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,r=i(t);if(n){var a=i(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return o(this,e)}}!function(t){t.platform="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAAD9QTFRFAAAA1dXVttvbv7/ftbnHtLrItLrHtbrItLrJtLrItLnHs7rHtLrItLrHtLrItLrItLrIs7nHs7nItLrIs7nHAwjV3AAAABR0Uk5TAAYHCHyChYaIqsnOz9LV1vr8/f62r4+bAAAAa0lEQVRIx+3WvQqAMAwE4LNV60+tWu/9n9VVpCqHi0Juy/BBIEMOcG3aWA4AHMacggeqgZc5AZLRo6YCGBA1kLBoIIMaoIGPgP4mRfCU90BeyS5twICB34NVfbuT+tgbtTq4USwn8N2s1J8d1Cycivua30UAAAAASUVORK5CYII=",t.empty="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAYhklEQVR4Xu1de4wd11n/znOe97Xe9XptJ26aODGJCWrjpHEAEfNqm7YSQkkkpIpKUNH/+KN/oKqiqgNUbYVIp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rLbfvrsQ5d89EH4GoOL9DTtDHa3LnMsGVpWmKzW1pLA9gotGhNttfR+sP1EPKaD2jtWYymu+fmurXVql5WEm5Ah5cA+KLVLbyi8K9ACZVp0dHegXUQUqbx4MV3epzbont6uGplL1P4GtC+6JNVq89mqTUKkQrlpA5dzzSyC3nlAXzYp7mzGN01NdVFmz6XrUQDxD1Ad109UFxlYOjeqfcyr/MAbTiL/Qb4ZeZcZhL9WRHEVKcYtJubFl325txTHqBnOCc9AjCiv5gxRnuloYjFzOjFos8kxAQr/MpRQhj0M1kEFEqaKis/eL+qbFjz6EG9kx4eNtSDxmjPJH08GXSjd+QjtcI9EOUQQsuqWpvviBNLj7ApWvPobtpkfhhNqsoy1FlVzMicrytuMtXtt7oOn9/Im9/To6bRo+v6JcLCWO/PVekdW8DjHdm6CkETNEETNEETNEETNEETNEET9P9DY/kndyf80E7UVvzQ2yjbPbiZD9hSVhv3YWbeZEVZWttt3+WCi9hl9w47a8s/IO92CsIyNqIAAAAASUVORK5CYII=",t.defaultAppLogo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAAXNSR0IArs4c6QAAAHhQTFRFAAAA////////9PT/7vT57vT57fT77fH57vH47vH47vL47fL57fL57fL47fH57fH57fH57fH5QaP9Sqf9Taj9Uar9e737fL37f7/7gsD7hMH7iMP7isP7i8T7jMX7ptH6wdz5xN35xd750OP42ej44ev46O/47fH4zacqCwAAABJ0Uk5TAAYHGC0uR4KVlr/H2ePx8vP009oDlQAAARtJREFUWMPt2FtPg0AQhuEBKmcQ7EGt2lK2Zf7/P+yFpmG2KRnY70LNvpck+2TDBWGG6FYQp3nZsLKmzNM4oPuirObZ1VlkMWHS8qLaJBTXKXhxxehSTxU7VK1u93FymKufO4UFO1Z8v6eEnUuIiKLWHWojIsoYUEYU1AioDihmSDGlGCilHAPlVMoHg+k7Rb0Z5LmS5HdjOHXKTlJqSMKmU2fkSQvq9VA/CXUz8pCH/g5kZjQJLe/XQx+jvph5v37cJPQ+as/Mby+P85CHPOQhD/0T6KCHtpPQUQ+9WpD8Yb98aqHNWRx8tkeIy/Gggba7sz1CwIYa2JgFG/xgoyhsOMaN67AFAm6lAVuy4NY+uEUUbjWGW9a5rw+viI6Pi0rXN4MAAAAASUVORK5CYII="}(u||(u={})),function(t){t.circle="circle",t.square="square"}(h||(h={}));var A=function(i){r(s,i);var o=g(s);function s(){var e;return t(this,s),e=o.call(this),n(a(e),"isMicroApp",window.__POWERED_BY_QIANKUN__),n(a(e),"visible",!1),n(a(e),"timer",null),n(a(e),"initXhr",null),n(a(e),"appList",[]),e.attachShadow({mode:"open"}).innerHTML='\n <style>\n .flex-column-center {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\n .sidebar {\n position: fixed;\n top: 0;\n left: -200px;\n padding: 22px 0;\n width: 200px;\n height: 100vh;\n background: #ffffff;\n box-shadow: 4px 0px 8px 0px rgba(0, 0, 0, 0.1);\n box-sizing: border-box;\n transition: left 0.3s linear;\n overflow: hidden;\n z-index: 10000;\n }\n .sidebar .platform {\n width: 100%;\n cursor: pointer;\n display:flex;\n align-items:center;\n justify-content:center;\n height: 40px;\n flex: 0 0 auto;\n margin-bottom:34px;\n }\n .sidebar .platform img {\n width:24px;\n height:24px;\n margin-right:8px;\n }\n .sidebar .platform span {\n font-size: 16px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #767E91;\n line-height: 22px;\n }\n .sidebar .sidebar-list {\n display: none;\n width:100%;\n height: calc(100vh - 94px);\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n overflow-y: auto;\n }\n /*滚动条样式*/\n ::-webkit-scrollbar {\n width: 0px;\n height: 10px !important;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 10px;\n -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);\n background: #ffffffaa;\n }\n ::-webkit-scrollbar-track {\n background: #2e313d;\n }\n \n ::-webkit-scrollbar-corner {\n background: #2e313d;\n }\n .sidebar .sidebar-list .nav {\n position: relative;\n display:flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n min-width: 160px;\n min-height: 160px;\n background: #f5f6fa;\n border-radius: 8px;\n margin-bottom: 8px;\n cursor: pointer;\n }\n .sidebar .sidebar-list .nav img {\n margin-bottom:8px;\n width: 48px;\n height: 48px;\n }\n .sidebar .sidebar-list .nav span {\n display: block;\n width: 140px;\n height: 22px;\n margin: 0 auto;\n font-size: 16px;\n font-family: PingFangSC-Medium, PingFang SC;\n font-weight: 500;\n color: #303133;\n line-height: 22px;\n text-align: center;\n white-space:nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n .error-page, .refresh-page {\n display: none;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n margin-top: 100px;\n width:200px;\n }\n .error-page .error-img {\n width: 100px;\n height: 100px;\n }\n .error-page .error-text {\n margin: 4px 0 16px 0;\n font-size: 14px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #303133;\n line-height: 20px;\n }\n .refresh-page .cancel-button {\n display: none;\n }\n .error-page .refresh-button, .refresh-page .cancel-button {\n width: 72px;\n height: 32px;\n line-height: 32px;\n background: #FFFFFF;\n border-radius: 2px;\n border: 1px solid #D1DCED;\n color: #303753;\n font-size: 12px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n text-align: center;\n cursor: pointer;\n }\n .refresh-page .loading, .loading-page .var-loading {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n border: 4px solid color:var(--color-primary,#4d63ec);\n border-left: 4px solid #fff;\n border-top: 4px solid #fff;\n animation: load 0.3s linear 0s infinite;\n -moz-animation:load 0.3s linear 0s infinite;\n -webkit-animation: load 0.3s linear 0s infinite;\n -o-animation:load 0.3s linear 0s infinite;\n }\n .refresh-page .loading::before, .refresh-page .loading::after,\n .loading-page .var-loading::before, .loading-page .var-loading::after {\n content:\'\';\n position: absolute;\n width: 4px;\n height: 4px;\n border-top-left-radius: 50%;\n border-top-right-radius: 50%;\n background:var(--color-primary,#4d63ec);\n }\n .refresh-page .loading::before,\n .loading-page .var-loading::before {\n left: 2px;\n bottom: 3px;\n transform: rotate(-45deg);\n }\n .refresh-page .loading::after,\n .loading-page .var-loading::after {\n right: 2px;\n top: 3px;\n transform: rotate(-45deg);\n }\n @-webkit-keyframes load {\n from {\n -webkit-transform:rotate(0deg);\n }\n to {\n -webkit-transform:rotate(360deg);\n }\n }\n @-moz-keyframes load {\n from {\n -moz-transform:rotate(0deg);\n }\n to {\n -moz-transform:rotate(360deg);\n }\n }\n @-o-keyframes load {\n from {\n -o-transform:rotate(0deg);\n }\n to {\n -o-transform:rotate(360deg);\n }\n }\n .refresh-page .refresh-text,\n .loading-page .loading-page-text {\n margin: 30px 0 18px 0;\n font-size: 14px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #303133;\n line-height: 20px;\n }\n .loading-page .loading-page-text {\n color: #fff;\n }\n .loading-page .loading-page-text {\n margin-top: 18px;\n }\n .sidebar .close {\n position: fixed;\n top: 0;\n left: 0;\n width: 0;\n height: 64px;\n background:var(--color-primary,#4d63ec);\n cursor: pointer;\n }\n .sidebar .close .bias-icon {\n position: relative;\n opacity: 0;\n transition:opacity 0s linear 0.3s;\n }\n .sidebar .close .bias {\n position: absolute;\n width: 24px;\n height: 3px;\n background: #fff;\n border-radius: 2px;\n }\n .sidebar .close .right-bias {\n transform: rotate(45deg)\n }\n .sidebar .close .left-bias {\n transform: rotate(-45deg)\n }\n .transition-close {\n transition:width 0s linear 0.3s,left 0.3s linear 0s;\n }\n .oprea-button {\n position: fixed;\n left: 0;\n top: 0;\n width: 64px;\n height: 64px;\n line-height: 64px;\n text-align: center;\n background:var(--color-primary,#4d63ec);\n z-index: 9999;\n cursor: pointer;\n }\n .oprea-button .cross-stripe {\n position: relative;\n margin-bottom: 5px;\n width: 24px;\n height: 3px;\n background: #fff;\n border-radius: 2px;\n }\n .oprea-button .cross-stripe:last-child {\n margin-bottom: 0px;\n }\n .circle-button {\n left: 68px;\n top: calc(100vh - 128px);\n border-radius: 32px;\n }\n #shadow {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: none;\n background: rgba(0, 0, 0, 0.1);\n z-index:9000;\n }\n .shade {\n position: absolute;\n width: 100%;\n height: 100%;\n opacity: 0;\n z-index: 10000;\n cursor: pointer;\n }\n\n .loading-page {\n display: none;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 10001;\n }\n .message {\n display: none;\n position: fixed;\n left: 0;\n top: 0;\n right: 0;\n padding: 32px 0;\n z-index: 10002;\n }\n </style>\n <div id="sidebar" class="sidebar">\n <div id="platform" class="platform">\n <img src="'.concat(u.platform,'">\n <span>返回工作台</span>\n </div>\n <div id="sidebar-list" class="sidebar-list"></div>\n <div id="error-page" class="error-page">\n <img class="error-img" src="').concat(u.empty,'">\n <span class="error-text">出错啦</span>\n <div id="refresh-button" class="refresh-button">刷新</div>\n </div>\n <div id="refresh-page" class="refresh-page">\n <div class="loading"></div>\n <span class="refresh-text">加载中...</span>\n <div id="cancel-button" class="cancel-button">取消</div>\n </div>\n <div id="close" class="close transition-close flex-column-center">\n <div id="close-shade" class="shade"></div>\n <div class="bias-icon flex-column-center">\n <div class="bias right-bias"></div>\n <div class="bias left-bias"></div>\n </div>\n </div>\n </div>\n <div id="oprea-button" class="oprea-button flex-column-center">\n <div class="cross-stripe"></div>\n <div class="cross-stripe"></div>\n <div class="cross-stripe"></div>\n </div>\n <div id="loading-page" class="flex-column-center loading-page">\n <div class="var-loading"></div>\n <span class="loading-page-text">加载中...</span>\n </div>\n <div id="message" class="flex-column-center message">\n <img src="').concat(u.error,'" />\n </div>\n <div id="shadow"></div>\n '),e}return e(s,[{key:"mask",get:function(){return"true"==this.getAttribute("mask")},set:function(t){t?this.setAttribute("mask",t+""):this.removeAttribute("mask")}},{key:"type",get:function(){var t=h.square;for(var n in h)this.getAttribute(t)===n&&(t=h[n]);return t},set:function(t){this.setAttribute("type",t)}},{key:"color",get:function(){return this.getAttribute("color")},set:function(t){this.setAttribute("color",t)}},{key:"left",get:function(){return this.getAttribute("left")||"0"},set:function(t){this.setAttribute("left",t)}},{key:"top",get:function(){return this.getAttribute("top")||"0"},set:function(t){this.setAttribute("top",t)}},{key:"uniBffUrl",get:function(){return this.getAttribute("uni-bff-url")},set:function(t){this.setAttribute("uni-bff-url",t)}},{key:"authorization",get:function(){return this.getAttribute("authorization")},set:function(t){this.setAttribute("authorization",t)}},{key:"transparent",get:function(){return"true"==this.getAttribute("transparent")},set:function(t){t?this.setAttribute("transparent",t+""):this.removeAttribute("transparent")}},{key:"uniHomeUrl",get:function(){return this.getAttribute("uni-home-url")},set:function(t){this.setAttribute("uni-home-url",t)}},{key:"width",get:function(){return this.getAttribute("width")||"64"},set:function(t){this.setAttribute("width",t)}},{key:"height",get:function(){return this.getAttribute("width")||"64"},set:function(t){this.setAttribute("width",t)}},{key:"connectedCallback",value:function(){var t=this,n=setTimeout((function(){clearTimeout(n),t.doControlCancel(),t.creatContent()}),0)}},{key:"attributeChangedCallback",value:function(t,n,e){}},{key:"doControlCancel",value:function(){var t=this,n=0>=arguments.length||void 0===arguments[0]||arguments[0];n?this.timer=setTimeout((function(){clearTimeout(t.timer),t.shadowRoot.getElementById("cancel-button").style.display="block"}),12e4):clearTimeout(this.timer)}},{key:"creatContent",value:function(){var t=this,n=this.shadowRoot.getElementById("sidebar"),e=this.shadowRoot.getElementById("oprea-button"),i=this.shadowRoot.getElementById("close"),o=this.shadowRoot.getElementById("close-shade"),r=this.shadowRoot.querySelector(".bias-icon"),a=this.shadowRoot.getElementById("shadow"),s=this.shadowRoot.getElementById("refresh-button"),c=this.shadowRoot.getElementById("cancel-button");this.shadowRoot.getElementById("platform").addEventListener("click",(function(n){var e=l(window.location.search).get("limitTenant"),i=new Map;e&&i.set("limitTenant",e),t.isMicroApp?window.history.replaceState(null,"",d("/",i)):window.location.replace(d(t.uniHomeUrl,i))})),"circle"===this.type&&(e.classList.add("circle-button"),e.style.boxShadow="0px 0px 8px 0px ".concat(this.color)),e.style.opacity=this.transparent?"0":"1",i.style.background=this.color,e.style.background=this.color;for(var f=this.shadowRoot.querySelectorAll(".cross-stripe"),u=0;f.length>u;u++)f[u].style="0px 0px 8px 0px ".concat(this.color);e.style.width=p(this.width),e.style.height=p(this.height),e.style.left=p(this.left),e.style.top=p(this.top),e.addEventListener("click",(function(){i.style.left="200px",i.style.width="64px",r.style.opacity=1,n.style.left="0",t.mask&&(a.style.display="block"),t.doInit()})),o.addEventListener("click",(function(){i.style.left="0",i.style.width="0",r.style.opacity="0",n.style.left="-200px",t.mask&&(a.style.display="none")})),s.addEventListener("click",(function(){t.doInit()})),c.addEventListener("click",(function(){t.doCancelInit()}))}},{key:"doInit",value:function(){var t=this;this.doControlCancel(),this.doCreate("loading");var n=new c.SidebarApi;n.listLinks(this.uniBffUrl,this.authorization).then((function(n){t.appList=n.data.filter((function(t){return"uni"!==t.appName})),t.doCreate("success")})).catch((function(n){t.doCreate("error")})),this.initXhr=n.linkInstance}},{key:"doCancelInit",value:function(){this.initXhr.abort(),this.doCreate("error")}},{key:"doCreate",value:function(t){var n=this.shadowRoot.getElementById("sidebar-list"),e=this.shadowRoot.getElementById("error-page"),i=this.shadowRoot.getElementById("refresh-page");switch(t){case"success":n.style.display="flex",e.style.display="none",i.style.display="none",this.doCreateNavList(),this.doControlCancel(!1);break;case"error":n.style.display="none",e.style.display="flex",i.style.display="none",this.doControlCancel(!1);break;case"loading":n.style.display="none",e.style.display="none",i.style.display="flex"}}},{key:"doCreateNavList",value:function(){var t=this;if(0!==this.shadowRoot.children.length){var n=this.shadowRoot.querySelector("#sidebar-list");n.innerHTML="";for(var e=function(e){var i=document.createElement("div");i.setAttribute("class","nav");var o=document.createElement("div");o.setAttribute("class","shade"),o.setAttribute("path",t.appList[e].url),o.setAttribute("appName",t.appList[e].appName),o.setAttribute("productName",t.appList[e].productName),o.setAttribute("appId",t.appList[e].appId),t.appList[e].accessParameters&&t.appList[e].accessParameters.isMicroApp&&o.setAttribute("isMicroApp","true"),o.addEventListener("click",(function(n){var e=new f("".concat(t.uniBffUrl?t.uniBffUrl:window.location.origin),o.getAttribute("productName"),"",t.authorization),i={iid:o.getAttribute("appId"),instance:{current:!0,nickname:"",id:"",uniBffUrl:t.uniBffUrl,uniHomeUrl:t.uniHomeUrl},name:"",groupId:"",productName:"",logoUrl:"",introduction:"",homeUrl:"",pageBaseUrl:o.getAttribute("path"),accessParameters:{isMicroApp:o.getAttribute("isMicroApp")}};e.doNavigate(i)})),i.appendChild(o);var r=document.createElement("img");if(r.setAttribute("src",t.appList[e].logoUrl||u.defaultAppLogo),r.onerror=function(){r.src=u.defaultAppLogo,r.onerror=null},i.appendChild(r),t.appList[e].introduction||t.appList[e].appName){var a=document.createElement("span");a.innerText=t.appList[e].introduction||t.appList[e].appName,i.appendChild(a)}n.appendChild(i)},i=0;this.appList.length>i;i++)e(i)}}},{key:"doLoad",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.shadowRoot.getElementById("loading-page");n.style.display=t?"flex":"none"}},{key:"doMessage",value:function(){var t=this.shadowRoot.getElementById("message");t.style.display="flex";var n=setTimeout((function(){clearTimeout(n),t.style.display="none"}),2e3)}}],[{key:"observedAttributes",get:function(){return["mask","type","color","left","top","uni-bff-url","authorization","transparent","uni-home-url","width","height"]}}]),s}(s(HTMLElement));customElements.get("uni-sider-bar")||customElements.define("uni-sider-bar",A);export{A as default}; |
@@ -29,1 +29,8 @@ /** | ||
| export declare function setParams(path: string, params: Map<string, string>): string; | ||
| /** | ||
| * RSA加密 | ||
| * @param obj 待加密字符串 | ||
| * @param key 密钥 | ||
| * @returns | ||
| */ | ||
| export declare function rsa(obj: string, key: string): string | false; |
+17
-2
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| function c(c){return c&&/\d(px|rem|em|vh|vw)$/.test(c)?c:"".concat(c,"px")}var t={"icon-ui-closethick":'<path d="M512 444.112L814.064 142.08a48 48 0 1 1 67.872 67.872L579.888 512 881.92 814.064a48 48 0 1 1-67.872 67.872L512 579.888 209.936 881.92A48 48 0 1 1 142.08 814.08L444.112 512 142.08 209.936A48 48 0 1 1 209.92 142.08L512 444.112z"></path>',"icon-ui-checkcirclefill":'<path d="M512 128c212.08 0 384 171.92 384 384a384 384 0 0 1-768 0C128 299.92 299.92 128 512 128z m225.6 222.4c-17.6-19.2-48-19.2-67.2 0L448 572.8l-94.4-94.4c-17.6-19.2-48-19.2-67.2 0-19.2 17.6-19.2 48 0 67.2l128 128c17.6 19.2 48 19.2 67.2 0l256-256c19.2-17.6 19.2-48 0-67.2z" fill="">',"icon-ui-warnfill":'<path d="M512 896C299.2 896 128 724.8 128 512S299.2 128 512 128s384 171.2 384 384-171.2 384-384 384z m0-640c-27.2 0-48 20.8-48 48v288c0 27.2 20.8 48 48 48s48-20.8 48-48V304c0-27.2-20.8-48-48-48z m0 416c-27.2 0-48 20.8-48 48s20.8 48 48 48 48-20.8 48-48-20.8-48-48-48z" fill=""></path>',"icon-ui-infofill":'<path d="M512 128C299.888 128 128 299.936 128 512s171.888 384 384 384c212.064 0 384-171.936 384-384S724.064 128 512 128z m77.52 576h-155.088C424.24 704 416 694.496 416 682.816c0-11.68 8.24-21.184 18.432-21.184l29.68-5.2v-141.84l-29.68-5.488c-10.192 0-18.432-9.504-18.432-21.184 0-11.68 8.24-21.184 18.432-21.184h120.368c3.68 0 4.896-1.504 5.408-2.736-0.144 0.704-0.32 1.376-0.32 3.312v189.12l29.632 5.2c10.192 0 18.48 9.504 18.48 21.184 0 11.68-8.288 21.184-18.48 21.184z m-124.896-383.808h46.448c0.336 0 0.624-0.192 0.96-0.192 0.32 0 0.608 0.192 0.944 0.192h46.448v44.88c0.048 1.04 0.576 1.904 0.576 2.912 0 1.04-0.528 1.904-0.576 2.912v44.768H513.6c-0.56 0.048-1.04 0.336-1.568 0.336-0.56 0-1.04-0.288-1.552-0.32h-45.84v-44.832c-0.096-1.008-0.624-1.824-0.624-2.88 0-0.992 0.528-1.856 0.624-2.864v-44.912z" fill=""></path>',"icon-ui-clean":'<path d="M512 128c-212.8 0-384 171.2-384 384s171.2 384 384 384 384-171.2 384-384-171.2-384-384-384z m136 452c19.2 19.2 19.2 48.8 0 68s-48.8 19.2-68 0L512 580 444 648c-19.2 19.2-48.8 19.2-68 0s-19.2-48.8 0-68l68-68-68-68c-19.2-19.2-19.2-48.8 0-68s48.8-19.2 68 0l68 68 68-68c19.2-19.2 48.8-19.2 68 0s19.2 48.8 0 68L580 512l68 68z" fill=""></path>',"icon-ui-rightthick":'<path d="M631.104 512l-342.72 299.872a48 48 0 0 0 63.232 72.256l384-336a48 48 0 0 0 0-72.256l-384-336a48 48 0 1 0-63.216 72.256L631.12 512z"></path>'};function l(c){return c.replaceAll("//","/").replaceAll("https:/","https://").replaceAll("http:/","http://")}function i(c){var t=new Map,l=c.split("?"),i="",n=[];l.length>1&&(i=l[1]),n=i.split("&");for(var a=0;n.length>a;a++)2===n[a].split("=").length&&t.set(n[a].split("=")[0],n[a].split("=")[1]);return t}function n(c,t){return t.forEach((function(t,l){c.indexOf("?")>-1?c+="&".concat(l,"=").concat(t):c+="?".concat(l,"=").concat(t)})),c}export{l as beautifyUrl,c as getFontSize,i as getParams,t as iconfonts,n as setParams}; | ||
| function t(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function e(t,e){return t&e}function i(t,e){return t|e}function r(t,e){return t^e}function n(t,e){return t&~e}function s(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function o(t){for(var e=0;0!=t;)t&=t-1,++e;return e}var h,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function u(t){var e,i,r="";for(e=0;t.length>=e+3;e+=3)i=parseInt(t.substring(e,e+3),16),r+=a.charAt(i>>6)+a.charAt(63&i);for(e+1==t.length?(i=parseInt(t.substring(e,e+1),16),r+=a.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),r+=a.charAt(i>>2)+a.charAt((3&i)<<4));(3&r.length)>0;)r+="=";return r}function c(e){var i,r="",n=0,s=0;for(i=0;e.length>i&&"="!=e.charAt(i);++i){var o=a.indexOf(e.charAt(i));0>o||(0==n?(r+=t(o>>2),s=3&o,n=1):1==n?(r+=t(s<<2|o>>4),s=15&o,n=2):2==n?(r+=t(s),r+=t(o>>2),s=3&o,n=3):(r+=t(s<<2|o>>4),r+=t(15&o),n=0))}return 1==n&&(r+=t(s<<2)),r}var f,l=function(t){var e;if(void 0===h){var i="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(h={},e=0;16>e;++e)h[i.charAt(e)]=e;for(i=i.toLowerCase(),e=10;16>e;++e)h[i.charAt(e)]=e;for(e=0;8>e;++e)h[r.charAt(e)]=-1}var n=[],s=0,o=0;for(e=0;t.length>e;++e){var a=t.charAt(e);if("="==a)break;if(-1!=(a=h[a])){if(void 0===a)throw Error("Illegal character at offset "+e);s|=a,2>++o?s<<=4:(n[n.length]=s,s=0,o=0)}}if(o)throw Error("Hex encoding incomplete: 4 bits missing");return n},p={decode:function(t){var e;if(void 0===f){var i="= \f\n\r\t \u2028\u2029";for(f=Object.create(null),e=0;64>e;++e)f["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)]=e;for(f["-"]=62,f._=63,e=0;9>e;++e)f[i.charAt(e)]=-1}var r=[],n=0,s=0;for(e=0;t.length>e;++e){var o=t.charAt(e);if("="==o)break;if(-1!=(o=f[o])){if(void 0===o)throw Error("Illegal character at offset "+e);n|=o,4>++s?n<<=6:(r[r.length]=n>>16,r[r.length]=n>>8&255,r[r.length]=255&n,n=0,s=0)}}switch(s){case 1:throw Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=n>>10;break;case 3:r[r.length]=n>>16,r[r.length]=n>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=p.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw Error("RegExp out of sync");t=e[2]}return p.decode(t)}},g=1e13,d=function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var i,r,n=this.buf,s=n.length;for(i=0;s>i;++i)g>(r=n[i]*t+e)?e=0:r-=(e=0|r/g)*g,n[i]=r;e>0&&(n[i]=e)},t.prototype.sub=function(t){var e,i,r=this.buf,n=r.length;for(e=0;n>e;++e)0>(i=r[e]-t)?(i+=g,t=1):t=0,r[e]=i;for(;0===r[r.length-1];)r.pop()},t.prototype.toString=function(t){if(10!=(t||10))throw Error("only base 10 is supported");for(var e=this.buf,i=""+e[e.length-1],r=e.length-2;r>=0;--r)i+=(""+(g+e[r])).substring(1);return i},t.prototype.valueOf=function(){for(var t=this.buf,e=0,i=t.length-1;i>=0;--i)e=e*g+t[i];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t}(),v=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,m=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function y(t,e){return t.length>e&&(t=t.substring(0,e)+"…"),t}var b,T=function(){function t(e,i){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=i)}return t.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw Error("Requesting byte offset ".concat(t," on a stream of length ").concat(this.enc.length));return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},t.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},t.prototype.hexDump=function(t,e,i){for(var r="",n=t;e>n;++n)if(r+=this.hexByte(this.get(n)),!0!==i)switch(15&n){case 7:r+=" ";break;case 15:r+="\n";break;default:r+=" "}return r},t.prototype.isASCII=function(t,e){for(var i=t;e>i;++i){var r=this.get(i);if(32>r||r>176)return!1}return!0},t.prototype.parseStringISO=function(t,e){for(var i="",r=t;e>r;++r)i+=String.fromCharCode(this.get(r));return i},t.prototype.parseStringUTF=function(t,e){for(var i="",r=t;e>r;){var n=this.get(r++);i+=String.fromCharCode(128>n?n:n>191&&224>n?(31&n)<<6|63&this.get(r++):(15&n)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return i},t.prototype.parseStringBMP=function(t,e){for(var i,r,n="",s=t;e>s;)i=this.get(s++),r=this.get(s++),n+=String.fromCharCode(i<<8|r);return n},t.prototype.parseTime=function(t,e,i){var r=this.parseStringISO(t,e),n=(i?v:m).exec(r);return n?(i&&(n[1]=+n[1],n[1]+=70>+n[1]?2e3:1900),r=n[1]+"-"+n[2]+"-"+n[3]+" "+n[4],n[5]&&(r+=":"+n[5],n[6]&&(r+=":"+n[6],n[7]&&(r+="."+n[7]))),n[8]&&(r+=" UTC","Z"!=n[8]&&(r+=n[8],n[9]&&(r+=":"+n[9]))),r):"Unrecognized time: "+r},t.prototype.parseInteger=function(t,e){for(var i,r=this.get(t),n=r>127,s=n?255:0,o="";r==s&&++t<e;)r=this.get(t);if(0===(i=e-t))return n?-1:0;if(i>4){for(o=r,i<<=3;0==(128&(+o^s));)o=+o<<1,--i;o="("+i+" bit)\n"}n&&(r-=256);for(var h=new d(r),a=t+1;e>a;++a)h.mulAdd(256,this.get(a));return o+""+h},t.prototype.parseBitString=function(t,e,i){for(var r=this.get(t),n="("+((e-t-1<<3)-r)+" bit)\n",s="",o=t+1;e>o;++o){for(var h=this.get(o),a=o==e-1?r:0,u=7;u>=a;--u)s+=h>>u&1?"1":"0";if(s.length>i)return n+y(s,i)}return n+s},t.prototype.parseOctetString=function(t,e,i){if(this.isASCII(t,e))return y(this.parseStringISO(t,e),i);var r=e-t,n="("+r+" byte)\n";r>(i/=2)&&(e=t+i);for(var s=t;e>s;++s)n+=this.hexByte(this.get(s));return r>i&&(n+="…"),n},t.prototype.parseOID=function(t,e,i){for(var r="",n=new d,s=0,o=t;e>o;++o){var h=this.get(o);if(n.mulAdd(128,127&h),s+=7,!(128&h)){if(""===r)if((n=n.simplify())instanceof d)n.sub(80),r="2."+n;else{var a=80>n?40>n?0:1:2;r=a+"."+(n-40*a)}else r+="."+n;if(r.length>i)return y(r,i);n=new d,s=0}}return s>0&&(r+=".incomplete"),r},t}(),S=function(){function t(t,e,i,r,n){if(!(r instanceof E))throw Error("Invalid tag value.");this.stream=t,this.header=e,this.length=i,this.tag=r,this.sub=n}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber;case 1:return"Application_"+this.tag.tagNumber;case 2:return"["+this.tag.tagNumber+"]";case 3:return"Private_"+this.tag.tagNumber}},t.prototype.content=function(t){if(void 0===this.tag)return null;void 0===t&&(t=1/0);var e=this.posContent(),i=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+i,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+i);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+i,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+i,t);case 6:return this.stream.parseOID(e,e+i,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return y(this.stream.parseStringUTF(e,e+i),t);case 18:case 19:case 20:case 21:case 22:case 26:return y(this.stream.parseStringISO(e,e+i),t);case 30:return y(this.stream.parseStringBMP(e,e+i),t);case 23:case 24:return this.stream.parseTime(e,e+i,23==this.tag.tagNumber)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(t){void 0===t&&(t="");var e=t+this.typeName()+" @"+this.stream.pos;if(0>this.length||(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+=" ";for(var i=0,r=this.sub.length;r>i;++i)e+=this.sub[i].toPrettyString(t)}return e},t.prototype.posStart=function(){return this.stream.pos},t.prototype.posContent=function(){return this.stream.pos+this.header},t.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},t.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},t.decodeLength=function(t){var e=t.get(),i=127&e;if(i==e)return i;if(i>6)throw Error("Length over 48 bits not supported at position "+(t.pos-1));if(0===i)return null;e=0;for(var r=0;i>r;++r)e=256*e+t.get();return e},t.prototype.getHexStringValue=function(){return this.toHexString().substr(2*this.header,2*this.length)},t.decode=function(e){var i;i=e instanceof T?e:new T(e,0);var r=new T(i),n=new E(i),s=t.decodeLength(i),o=i.pos,h=o-r.pos,a=null,u=function(){var e=[];if(null!==s){for(var r=o+s;r>i.pos;)e[e.length]=t.decode(i);if(i.pos!=r)throw Error("Content size is not correct for container starting at offset "+o)}else try{for(;;){var n=t.decode(i);if(n.tag.isEOC())break;e[e.length]=n}s=o-i.pos}catch(t){throw Error("Exception while decoding undefined length content: "+t)}return e};if(n.tagConstructed)a=u();else if(n.isUniversal()&&(3==n.tagNumber||4==n.tagNumber))try{if(3==n.tagNumber&&0!=i.get())throw Error("BIT STRINGs with unused bits cannot encapsulate.");a=u();for(var c=0;a.length>c;++c)if(a[c].tag.isEOC())throw Error("EOC is not supposed to be actual content.")}catch(t){a=null}if(null===a){if(null===s)throw Error("We can't skip over an invalid tag with undefined length at offset "+o);i.pos=o+Math.abs(s)}return new t(r,h,s,n,a)},t}(),E=function(){function t(t){var e=t.get();if(this.tagClass=e>>6,this.tagConstructed=0!=(32&e),this.tagNumber=31&e,31==this.tagNumber){var i=new d;do{e=t.get(),i.mulAdd(128,127&e)}while(128&e);this.tagNumber=i.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t}(),D=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],w=(1<<26)/D[D.length-1],x=function(){function h(t,e,i){null!=t&&("number"==typeof t?this.fromNumber(t,e,i):this.fromString(t,null==e&&"string"!=typeof t?256:e))}return h.prototype.toString=function(e){if(0>this.s)return"-"+this.negate().toString(e);var i;if(16==e)i=4;else if(8==e)i=3;else if(2==e)i=1;else if(32==e)i=5;else{if(4!=e)return this.toRadix(e);i=2}var r,n=(1<<i)-1,s=!1,o="",h=this.t,a=this.DB-h*this.DB%i;if(h-- >0)for(this.DB>a&&(r=this[h]>>a)>0&&(s=!0,o=t(r));h>=0;)i>a?(r=(this[h]&(1<<a)-1)<<i-a,r|=this[--h]>>(a+=this.DB-i)):(r=this[h]>>(a-=i)&n,a>0||(a+=this.DB,--h)),r>0&&(s=!0),s&&(o+=t(r));return s?o:"0"},h.prototype.negate=function(){var t=A();return h.ZERO.subTo(this,t),t},h.prototype.abs=function(){return 0>this.s?this.negate():this},h.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var i=this.t;if(0!=(e=i-t.t))return 0>this.s?-e:e;for(;--i>=0;)if(0!=(e=this[i]-t[i]))return e;return 0},h.prototype.bitLength=function(){return this.t>0?this.DB*(this.t-1)+j(this[this.t-1]^this.s&this.DM):0},h.prototype.mod=function(t){var e=A();return this.abs().divRemTo(t,null,e),0>this.s&&e.compareTo(h.ZERO)>0&&t.subTo(e,e),e},h.prototype.modPowInt=function(t,e){var i;return i=256>t||e.isEven()?new B(e):new V(e),this.exp(t,i)},h.prototype.clone=function(){var t=A();return this.copyTo(t),t},h.prototype.intValue=function(){if(0>this.s){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},h.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},h.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},h.prototype.signum=function(){return 0>this.s?-1:0>=this.t||1==this.t&&0>=this[0]?0:1},h.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var i,r=this.DB-t*this.DB%8,n=0;if(t-- >0)for(this.DB>r&&(i=this[t]>>r)!=(this.s&this.DM)>>r&&(e[n++]=i|this.s<<this.DB-r);t>=0;)8>r?(i=(this[t]&(1<<r)-1)<<8-r,i|=this[--t]>>(r+=this.DB-8)):(i=this[t]>>(r-=8)&255,r>0||(r+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==n&&(128&this.s)!=(128&i)&&++n,(n>0||i!=this.s)&&(e[n++]=i);return e},h.prototype.equals=function(t){return 0==this.compareTo(t)},h.prototype.min=function(t){return 0>this.compareTo(t)?this:t},h.prototype.max=function(t){return this.compareTo(t)>0?this:t},h.prototype.and=function(t){var i=A();return this.bitwiseTo(t,e,i),i},h.prototype.or=function(t){var e=A();return this.bitwiseTo(t,i,e),e},h.prototype.xor=function(t){var e=A();return this.bitwiseTo(t,r,e),e},h.prototype.andNot=function(t){var e=A();return this.bitwiseTo(t,n,e),e},h.prototype.not=function(){for(var t=A(),e=0;this.t>e;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},h.prototype.shiftLeft=function(t){var e=A();return 0>t?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},h.prototype.shiftRight=function(t){var e=A();return 0>t?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},h.prototype.getLowestSetBit=function(){for(var t=0;this.t>t;++t)if(0!=this[t])return t*this.DB+s(this[t]);return 0>this.s?this.t*this.DB:-1},h.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,i=0;this.t>i;++i)t+=o(this[i]^e);return t},h.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return this.t>e?0!=(this[e]&1<<t%this.DB):0!=this.s},h.prototype.setBit=function(t){return this.changeBit(t,i)},h.prototype.clearBit=function(t){return this.changeBit(t,n)},h.prototype.flipBit=function(t){return this.changeBit(t,r)},h.prototype.add=function(t){var e=A();return this.addTo(t,e),e},h.prototype.subtract=function(t){var e=A();return this.subTo(t,e),e},h.prototype.multiply=function(t){var e=A();return this.multiplyTo(t,e),e},h.prototype.divide=function(t){var e=A();return this.divRemTo(t,e,null),e},h.prototype.remainder=function(t){var e=A();return this.divRemTo(t,null,e),e},h.prototype.divideAndRemainder=function(t){var e=A(),i=A();return this.divRemTo(t,e,i),[e,i]},h.prototype.modPow=function(t,e){var i,r,n=t.bitLength(),s=H(1);if(0>=n)return s;i=18>n?1:48>n?3:144>n?4:768>n?5:6,r=8>n?new B(e):e.isEven()?new O(e):new V(e);var o=[],h=3,a=i-1,u=(1<<i)-1;if(o[1]=r.convert(this),i>1){var c=A();for(r.sqrTo(o[1],c);u>=h;)o[h]=A(),r.mulTo(c,o[h-2],o[h]),h+=2}var f,l,p=t.t-1,g=!0,d=A();for(n=j(t[p])-1;p>=0;){for(a>n?(f=(t[p]&(1<<n+1)-1)<<a-n,p>0&&(f|=t[p-1]>>this.DB+n-a)):f=t[p]>>n-a&u,h=i;0==(1&f);)f>>=1,--h;if(0>(n-=h)&&(n+=this.DB,--p),g)o[f].copyTo(s),g=!1;else{for(;h>1;)r.sqrTo(s,d),r.sqrTo(d,s),h-=2;h>0?r.sqrTo(s,d):(l=s,s=d,d=l),r.mulTo(d,o[f],s)}for(;p>=0&&0==(t[p]&1<<n);)r.sqrTo(s,d),l=s,s=d,d=l,0>--n&&(n=this.DB-1,--p)}return r.revert(s)},h.prototype.modInverse=function(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return h.ZERO;for(var i=t.clone(),r=this.clone(),n=H(1),s=H(0),o=H(0),a=H(1);0!=i.signum();){for(;i.isEven();)i.rShiftTo(1,i),e?(n.isEven()&&s.isEven()||(n.addTo(this,n),s.subTo(t,s)),n.rShiftTo(1,n)):s.isEven()||s.subTo(t,s),s.rShiftTo(1,s);for(;r.isEven();)r.rShiftTo(1,r),e?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);0>i.compareTo(r)?(r.subTo(i,r),e&&o.subTo(n,o),a.subTo(s,a)):(i.subTo(r,i),e&&n.subTo(o,n),s.subTo(a,s))}return 0!=r.compareTo(h.ONE)?h.ZERO:0>a.compareTo(t)?0>a.signum()?(a.addTo(t,a),0>a.signum()?a.add(t):a):a:a.subtract(t)},h.prototype.pow=function(t){return this.exp(t,new R)},h.prototype.gcd=function(t){var e=0>this.s?this.negate():this.clone(),i=0>t.s?t.negate():t.clone();if(0>e.compareTo(i)){var r=e;e=i,i=r}var n=e.getLowestSetBit(),s=i.getLowestSetBit();if(0>s)return e;for(s>n&&(s=n),s>0&&(e.rShiftTo(s,e),i.rShiftTo(s,i));e.signum()>0;)(n=e.getLowestSetBit())>0&&e.rShiftTo(n,e),(n=i.getLowestSetBit())>0&&i.rShiftTo(n,i),0>e.compareTo(i)?(i.subTo(e,i),i.rShiftTo(1,i)):(e.subTo(i,e),e.rShiftTo(1,e));return s>0&&i.lShiftTo(s,i),i},h.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&D[D.length-1]>=i[0]){for(e=0;D.length>e;++e)if(i[0]==D[e])return!0;return!1}if(i.isEven())return!1;for(e=1;D.length>e;){for(var r=D[e],n=e+1;D.length>n&&w>r;)r*=D[n++];for(r=i.modInt(r);n>e;)if(r%D[e++]==0)return!1}return i.millerRabin(t)},h.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},h.prototype.fromInt=function(t){this.t=1,this.s=0>t?-1:0,t>0?this[0]=t:-1>t?this[0]=t+this.DV:this.t=0},h.prototype.fromString=function(t,e){var i;if(16==e)i=4;else if(8==e)i=3;else if(256==e)i=8;else if(2==e)i=1;else if(32==e)i=5;else{if(4!=e)return void this.fromRadix(t,e);i=2}this.t=0,this.s=0;for(var r=t.length,n=!1,s=0;--r>=0;){var o=8==i?255&+t[r]:q(t,r);o<0?"-"==t.charAt(r)&&(n=!0):(n=!1,0==s?this[this.t++]=o:s+i>this.DB?(this[this.t-1]|=(o&(1<<this.DB-s)-1)<<s,this[this.t++]=o>>this.DB-s):this[this.t-1]|=o<<s,this.DB>(s+=i)||(s-=this.DB))}8==i&&0!=(128&+t[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),n&&h.ZERO.subTo(this,this)},h.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},h.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;i>=0;--i)e[i+t]=this[i];for(i=t-1;i>=0;--i)e[i]=0;e.t=this.t+t,e.s=this.s},h.prototype.drShiftTo=function(t,e){for(var i=t;this.t>i;++i)e[i-t]=this[i];e.t=Math.max(this.t-t,0),e.s=this.s},h.prototype.lShiftTo=function(t,e){for(var i=t%this.DB,r=this.DB-i,n=(1<<r)-1,s=Math.floor(t/this.DB),o=this.s<<i&this.DM,h=this.t-1;h>=0;--h)e[h+s+1]=this[h]>>r|o,o=(this[h]&n)<<i;for(h=s-1;h>=0;--h)e[h]=0;e[s]=o,e.t=this.t+s+1,e.s=this.s,e.clamp()},h.prototype.rShiftTo=function(t,e){e.s=this.s;var i=Math.floor(t/this.DB);if(this.t>i){var r=t%this.DB,n=this.DB-r,s=(1<<r)-1;e[0]=this[i]>>r;for(var o=i+1;this.t>o;++o)e[o-i-1]|=(this[o]&s)<<n,e[o-i]=this[o]>>r;r>0&&(e[this.t-i-1]|=(this.s&s)<<n),e.t=this.t-i,e.clamp()}else e.t=0},h.prototype.subTo=function(t,e){for(var i=0,r=0,n=Math.min(t.t,this.t);n>i;)r+=this[i]-t[i],e[i++]=r&this.DM,r>>=this.DB;if(this.t>t.t){for(r-=t.s;this.t>i;)r+=this[i],e[i++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;t.t>i;)r-=t[i],e[i++]=r&this.DM,r>>=this.DB;r-=t.s}e.s=0>r?-1:0,-1>r?e[i++]=this.DV+r:r>0&&(e[i++]=r),e.t=i,e.clamp()},h.prototype.multiplyTo=function(t,e){var i=this.abs(),r=t.abs(),n=i.t;for(e.t=n+r.t;--n>=0;)e[n]=0;for(n=0;r.t>n;++n)e[n+i.t]=i.am(0,r[n],e,n,0,i.t);e.s=0,e.clamp(),this.s!=t.s&&h.ZERO.subTo(e,e)},h.prototype.squareTo=function(t){for(var e=this.abs(),i=t.t=2*e.t;--i>=0;)t[i]=0;for(i=0;e.t-1>i;++i){var r=e.am(i,e[i],t,2*i,0,1);(t[i+e.t]+=e.am(i+1,2*e[i],t,2*i+1,r,e.t-i-1))<e.DV||(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},h.prototype.divRemTo=function(t,e,i){var r=t.abs();if(r.t>0){var n=this.abs();if(r.t>n.t)return null!=e&&e.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=A());var s=A(),o=this.s,a=t.s,u=this.DB-j(r[r.t-1]);u>0?(r.lShiftTo(u,s),n.lShiftTo(u,i)):(r.copyTo(s),n.copyTo(i));var c=s.t,f=s[c-1];if(0!=f){var l=f*(1<<this.F1)+(c>1?s[c-2]>>this.F2:0),p=this.FV/l,g=(1<<this.F1)/l,d=1<<this.F2,v=i.t,m=v-c,y=null==e?A():e;for(s.dlShiftTo(m,y),0>i.compareTo(y)||(i[i.t++]=1,i.subTo(y,i)),h.ONE.dlShiftTo(c,y),y.subTo(s,s);c>s.t;)s[s.t++]=0;for(;--m>=0;){var b=i[--v]==f?this.DM:Math.floor(i[v]*p+(i[v-1]+d)*g);if((i[v]+=s.am(0,b,i,m,0,c))<b)for(s.dlShiftTo(m,y),i.subTo(y,i);i[v]<--b;)i.subTo(y,i)}null!=e&&(i.drShiftTo(c,e),o!=a&&h.ZERO.subTo(e,e)),i.t=c,i.clamp(),u>0&&i.rShiftTo(u,i),0>o&&h.ZERO.subTo(i,i)}}},h.prototype.invDigit=function(){if(1>this.t)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},h.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},h.prototype.exp=function(t,e){if(t>4294967295||1>t)return h.ONE;var i=A(),r=A(),n=e.convert(this),s=j(t)-1;for(n.copyTo(i);--s>=0;)if(e.sqrTo(i,r),(t&1<<s)>0)e.mulTo(r,n,i);else{var o=i;i=r,r=o}return e.revert(i)},h.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},h.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||2>t||t>36)return"0";var e=this.chunkSize(t),i=Math.pow(t,e),r=H(i),n=A(),s=A(),o="";for(this.divRemTo(r,n,s);n.signum()>0;)o=(i+s.intValue()).toString(t).substr(1)+o,n.divRemTo(r,n,s);return s.intValue().toString(t)+o},h.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var i=this.chunkSize(e),r=Math.pow(e,i),n=!1,s=0,o=0,a=0;t.length>a;++a){var u=q(t,a);u<0?"-"==t.charAt(a)&&0==this.signum()&&(n=!0):(o=e*o+u,++s<i||(this.dMultiply(r),this.dAddOffset(o,0),s=0,o=0))}s>0&&(this.dMultiply(Math.pow(e,s)),this.dAddOffset(o,0)),n&&h.ZERO.subTo(this,this)},h.prototype.fromNumber=function(t,e,r){if("number"==typeof e)if(2>t)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(h.ONE.shiftLeft(t-1),i,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(h.ONE.shiftLeft(t-1),this);else{var n=[],s=7&t;n.length=1+(t>>3),e.nextBytes(n),s>0?n[0]&=(1<<s)-1:n[0]=0,this.fromString(n,256)}},h.prototype.bitwiseTo=function(t,e,i){var r,n,s=Math.min(t.t,this.t);for(r=0;s>r;++r)i[r]=e(this[r],t[r]);if(this.t>t.t){for(n=t.s&this.DM,r=s;this.t>r;++r)i[r]=e(this[r],n);i.t=this.t}else{for(n=this.s&this.DM,r=s;t.t>r;++r)i[r]=e(n,t[r]);i.t=t.t}i.s=e(this.s,t.s),i.clamp()},h.prototype.changeBit=function(t,e){var i=h.ONE.shiftLeft(t);return this.bitwiseTo(i,e,i),i},h.prototype.addTo=function(t,e){for(var i=0,r=0,n=Math.min(t.t,this.t);n>i;)r+=this[i]+t[i],e[i++]=r&this.DM,r>>=this.DB;if(this.t>t.t){for(r+=t.s;this.t>i;)r+=this[i],e[i++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;t.t>i;)r+=t[i],e[i++]=r&this.DM,r>>=this.DB;r+=t.s}e.s=0>r?-1:0,r>0?e[i++]=r:-1>r&&(e[i++]=this.DV+r),e.t=i,e.clamp()},h.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},h.prototype.dAddOffset=function(t,e){if(0!=t){for(;e>=this.t;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e<this.t||(this[this.t++]=0),++this[e]}},h.prototype.multiplyLowerTo=function(t,e,i){var r=Math.min(this.t+t.t,e);for(i.s=0,i.t=r;r>0;)i[--r]=0;for(var n=i.t-this.t;n>r;++r)i[r+this.t]=this.am(0,t[r],i,r,0,this.t);for(n=Math.min(t.t,e);n>r;++r)this.am(0,t[r],i,r,0,e-r);i.clamp()},h.prototype.multiplyUpperTo=function(t,e,i){--e;var r=i.t=this.t+t.t-e;for(i.s=0;--r>=0;)i[r]=0;for(r=Math.max(e-this.t,0);t.t>r;++r)i[this.t+r-e]=this.am(e-r,t[r],i,0,0,this.t+r-e);i.clamp(),i.drShiftTo(1,i)},h.prototype.modInt=function(t){if(0>=t)return 0;var e=this.DV%t,i=0>this.s?t-1:0;if(this.t>0)if(0==e)i=this[0]%t;else for(var r=this.t-1;r>=0;--r)i=(e*i+this[r])%t;return i},h.prototype.millerRabin=function(t){var e=this.subtract(h.ONE),i=e.getLowestSetBit();if(0>=i)return!1;var r=e.shiftRight(i);(t=t+1>>1)>D.length&&(t=D.length);for(var n=A(),s=0;t>s;++s){n.fromInt(D[Math.floor(Math.random()*D.length)]);var o=n.modPow(r,this);if(0!=o.compareTo(h.ONE)&&0!=o.compareTo(e)){for(var a=1;a++<i&&0!=o.compareTo(e);)if(0==(o=o.modPowInt(2,this)).compareTo(h.ONE))return!1;if(0!=o.compareTo(e))return!1}}return!0},h.prototype.square=function(){var t=A();return this.squareTo(t),t},h.prototype.gcda=function(t,e){var i=0>this.s?this.negate():this.clone(),r=0>t.s?t.negate():t.clone();if(0>i.compareTo(r)){var n=i;i=r,r=n}var s=i.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)e(i);else{o>s&&(o=s),o>0&&(i.rShiftTo(o,i),r.rShiftTo(o,r));var h=function(){(s=i.getLowestSetBit())>0&&i.rShiftTo(s,i),(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),0>i.compareTo(r)?(r.subTo(i,r),r.rShiftTo(1,r)):(i.subTo(r,i),i.rShiftTo(1,i)),i.signum()>0?setTimeout(h,0):(o>0&&r.lShiftTo(o,r),setTimeout((function(){e(r)}),0))};setTimeout(h,10)}},h.prototype.fromNumberAsync=function(t,e,r,n){if("number"==typeof e)if(2>t)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(h.ONE.shiftLeft(t-1),i,this),this.isEven()&&this.dAddOffset(1,0);var s=this,o=function(){s.dAddOffset(2,0),s.bitLength()>t&&s.subTo(h.ONE.shiftLeft(t-1),s),s.isProbablePrime(e)?setTimeout((function(){n()}),0):setTimeout(o,0)};setTimeout(o,0)}else{var a=[],u=7&t;a.length=1+(t>>3),e.nextBytes(a),u>0?a[0]&=(1<<u)-1:a[0]=0,this.fromString(a,256)}},h}(),R=function(){function t(){}return t.prototype.convert=function(t){return t},t.prototype.revert=function(t){return t},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i)},t.prototype.sqrTo=function(t,e){t.squareTo(e)},t}(),B=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return 0>t.s||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),V=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=A();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),0>t.s&&e.compareTo(x.ZERO)>0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=A();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;this.mt2>=t.t;)t[t.t++]=0;for(var e=0;this.m.t>e;++e){var i=32767&t[e],r=i*this.mpl+((i*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=e+this.m.t]+=this.m.am(0,r,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),0>t.compareTo(this.m)||t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),O=function(){function t(t){this.m=t,this.r2=A(),this.q3=A(),x.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(0>t.s||t.t>2*this.m.t)return t.mod(this.m);if(0>t.compareTo(this.m))return t;var e=A();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);0>t.compareTo(this.r2);)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function A(){return new x(null)}function I(t,e){return new x(t,e)}var N="undefined"!=typeof navigator;N&&"Microsoft Internet Explorer"==navigator.appName?(x.prototype.am=function(t,e,i,r,n,s){for(var o=32767&e,h=e>>15;--s>=0;){var a=32767&this[t],u=this[t++]>>15,c=h*a+u*o;n=((a=o*a+((32767&c)<<15)+i[r]+(1073741823&n))>>>30)+(c>>>15)+h*u+(n>>>30),i[r++]=1073741823&a}return n},b=30):N&&"Netscape"!=navigator.appName?(x.prototype.am=function(t,e,i,r,n,s){for(;--s>=0;){var o=e*this[t++]+i[r]+n;n=Math.floor(o/67108864),i[r++]=67108863&o}return n},b=26):(x.prototype.am=function(t,e,i,r,n,s){for(var o=16383&e,h=e>>14;--s>=0;){var a=16383&this[t],u=this[t++]>>14,c=h*a+u*o;n=((a=o*a+((16383&c)<<14)+i[r]+n)>>28)+(c>>14)+h*u,i[r++]=268435455&a}return n},b=28),x.prototype.DB=b,x.prototype.DM=(1<<b)-1,x.prototype.DV=1<<b;x.prototype.FV=Math.pow(2,52),x.prototype.F1=52-b,x.prototype.F2=2*b-52;var P,M,L=[];for(P=48,M=0;9>=M;++M)L[P++]=M;for(P=97,M=10;36>M;++M)L[P++]=M;for(P=65,M=10;36>M;++M)L[P++]=M;function q(t,e){var i=L[t.charCodeAt(e)];return null==i?-1:i}function H(t){var e=A();return e.fromInt(t),e}function j(t){var e,i=1;return 0!=(e=t>>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}x.ZERO=H(0),x.ONE=H(1);var C=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,i,r;for(e=0;256>e;++e)this.S[e]=e;for(i=0,e=0;256>e;++e)r=this.S[e],this.S[e]=this.S[i=i+this.S[e]+t[e%t.length]&255],this.S[i]=r;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t}();var F,K,U=null;if(null==U){U=[],K=0;var k=void 0;if("undefined"!=typeof window&&window.crypto&&window.crypto.getRandomValues){var _=new Uint32Array(256);for(window.crypto.getRandomValues(_),k=0;_.length>k;++k)U[K++]=255&_[k]}var z=0,Z=function(t){if(256>(z=z||0)&&256>K)try{U[K++]=255&t.x+t.y,z+=1}catch(t){}else window.removeEventListener?window.removeEventListener("mousemove",Z,!1):window.detachEvent&&window.detachEvent("onmousemove",Z)};"undefined"!=typeof window&&(window.addEventListener?window.addEventListener("mousemove",Z,!1):window.attachEvent&&window.attachEvent("onmousemove",Z))}function G(){if(null==F){for(F=new C;256>K;){var t=Math.floor(65536*Math.random());U[K++]=255&t}for(F.init(U),K=0;U.length>K;++K)U[K]=0;K=0}return F.next()}var $=function(){function t(){}return t.prototype.nextBytes=function(t){for(var e=0;t.length>e;++e)t[e]=G()},t}();var Y=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),i=t.mod(this.q).modPow(this.dmq1,this.q);0>e.compareTo(i);)e=e.add(this.p);return e.subtract(i).multiply(this.coeff).mod(this.p).multiply(this.q).add(i)},t.prototype.setPublic=function(t,e){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=I(t,16),this.e=parseInt(e,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(t){var e=this.n.bitLength()+7>>3,i=function(t,e){if(t.length+11>e)return console.error("Message too long for RSA"),null;for(var i=[],r=t.length-1;r>=0&&e>0;){var n=t.charCodeAt(r--);128>n?i[--e]=n:n>127&&2048>n?(i[--e]=63&n|128,i[--e]=n>>6|192):(i[--e]=63&n|128,i[--e]=n>>6&63|128,i[--e]=n>>12|224)}i[--e]=0;for(var s=new $,o=[];e>2;){for(o[0]=0;0==o[0];)s.nextBytes(o);i[--e]=o[0]}return i[--e]=2,i[--e]=0,new x(i)}(t,e);if(null==i)return null;var r=this.doPublic(i);if(null==r)return null;for(var n=r.toString(16),s=n.length,o=0;2*e-s>o;o++)n="0"+n;return n},t.prototype.setPrivate=function(t,e,i){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=I(t,16),this.e=parseInt(e,16),this.d=I(i,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(t,e,i,r,n,s,o,h){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=I(t,16),this.e=parseInt(e,16),this.d=I(i,16),this.p=I(r,16),this.q=I(n,16),this.dmp1=I(s,16),this.dmq1=I(o,16),this.coeff=I(h,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(t,e){var i=new $,r=t>>1;this.e=parseInt(e,16);for(var n=new x(e,16);;){for(;this.p=new x(t-r,1,i),0!=this.p.subtract(x.ONE).gcd(n).compareTo(x.ONE)||!this.p.isProbablePrime(10););for(;this.q=new x(r,1,i),0!=this.q.subtract(x.ONE).gcd(n).compareTo(x.ONE)||!this.q.isProbablePrime(10););if(0>=this.p.compareTo(this.q)){var s=this.p;this.p=this.q,this.q=s}var o=this.p.subtract(x.ONE),h=this.q.subtract(x.ONE),a=o.multiply(h);if(0==a.gcd(n).compareTo(x.ONE)){this.n=this.p.multiply(this.q),this.d=n.modInverse(a),this.dmp1=this.d.mod(o),this.dmq1=this.d.mod(h),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=I(t,16),i=this.doPrivate(e);return null==i?null:function(t,e){var i=t.toByteArray(),r=0;for(;i.length>r&&0==i[r];)++r;if(i.length-r!=e-1||2!=i[r])return null;++r;for(;0!=i[r];)if(++r>=i.length)return null;var n="";for(;++r<i.length;){var s=255&i[r];128>s?n+=String.fromCharCode(s):s>191&&224>s?(n+=String.fromCharCode((31&s)<<6|63&i[r+1]),++r):(n+=String.fromCharCode((15&s)<<12|(63&i[r+1])<<6|63&i[r+2]),r+=2)}return n}(i,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(t,e,i){var r=new $,n=t>>1;this.e=parseInt(e,16);var s=new x(e,16),o=this,h=function(){var e=function(){if(0>=o.p.compareTo(o.q)){var t=o.p;o.p=o.q,o.q=t}var e=o.p.subtract(x.ONE),r=o.q.subtract(x.ONE),n=e.multiply(r);0==n.gcd(s).compareTo(x.ONE)?(o.n=o.p.multiply(o.q),o.d=s.modInverse(n),o.dmp1=o.d.mod(e),o.dmq1=o.d.mod(r),o.coeff=o.q.modInverse(o.p),setTimeout((function(){i()}),0)):setTimeout(h,0)},a=function(){o.q=A(),o.q.fromNumberAsync(n,1,r,(function(){o.q.subtract(x.ONE).gcda(s,(function(t){0==t.compareTo(x.ONE)&&o.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(a,0)}))}))},u=function(){o.p=A(),o.p.fromNumberAsync(t-n,1,r,(function(){o.p.subtract(x.ONE).gcda(s,(function(t){0==t.compareTo(x.ONE)&&o.p.isProbablePrime(10)?setTimeout(a,0):setTimeout(u,0)}))}))};setTimeout(u,0)};setTimeout(h,0)},t.prototype.sign=function(t,e,i){var r=function(t,e){if(t.length+22>e)return console.error("Message too long for RSA"),null;for(var i=e-t.length-6,r="",n=0;i>n;n+=2)r+="ff";return I("0001"+r+"00"+t,16)}((X[i]||"")+""+e(t),this.n.bitLength()/4);if(null==r)return null;var n=this.doPrivate(r);if(null==n)return null;var s=n.toString(16);return 0==(1&s.length)?s:"0"+s},t.prototype.verify=function(t,e,i){var r=I(e,16),n=this.doPublic(r);return null==n?null:function(t){for(var e in X)if(X.hasOwnProperty(e)){var i=X[e],r=i.length;if(t.substr(0,r)==i)return t.substr(r)}return t} | ||
| /*! | ||
| Copyright (c) 2011, Yahoo! Inc. All rights reserved. | ||
| Code licensed under the BSD License: | ||
| http://developer.yahoo.com/yui/license.html | ||
| version: 2.9.0 | ||
| */(n.toString(16).replace(/^1f+00/,""))==""+i(t)},t}();var X={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};var J={};J.lang={extend:function(t,e,i){if(!e||!t)throw Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),i){var n;for(n in i)t.prototype[n]=i[n];var s=function(){},o=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(s=function(t,e){for(n=0;o.length>n;n+=1){var i=o[n],r=e[i];"function"==typeof r&&r!=Object.prototype[i]&&(t[i]=r)}})}catch(t){}s(t.prototype,i)}}}; | ||
| /** | ||
| * @fileOverview | ||
| * @name asn1-1.0.js | ||
| * @author Kenji Urushima kenji.urushima@gmail.com | ||
| * @version asn1 1.0.13 (2017-Jun-02) | ||
| * @since jsrsasign 2.1 | ||
| * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a> | ||
| */ | ||
| var Q={};void 0!==Q.asn1&&Q.asn1||(Q.asn1={}),Q.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var i=e.substr(1).length;i%2==1?i+=1:e.match(/^[0-7]/)||(i+=2);for(var r="",n=0;i>n;n++)r+="f";e=new x(r,16).xor(t).add(x.ONE).toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=Q.asn1,i=e.DERBoolean,r=e.DERInteger,n=e.DERBitString,s=e.DEROctetString,o=e.DERNull,h=e.DERObjectIdentifier,a=e.DEREnumerated,u=e.DERUTF8String,c=e.DERNumericString,f=e.DERPrintableString,l=e.DERTeletexString,p=e.DERIA5String,g=e.DERUTCTime,d=e.DERGeneralizedTime,v=e.DERSequence,m=e.DERSet,y=e.DERTaggedObject,b=e.ASN1Util.newObject,T=Object.keys(t);if(1!=T.length)throw"key of param shall be only one.";var S=T[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+S+":"))throw"undefined key: "+S;if("bool"==S)return new i(t[S]);if("int"==S)return new r(t[S]);if("bitstr"==S)return new n(t[S]);if("octstr"==S)return new s(t[S]);if("null"==S)return new o(t[S]);if("oid"==S)return new h(t[S]);if("enum"==S)return new a(t[S]);if("utf8str"==S)return new u(t[S]);if("numstr"==S)return new c(t[S]);if("prnstr"==S)return new f(t[S]);if("telstr"==S)return new l(t[S]);if("ia5str"==S)return new p(t[S]);if("utctime"==S)return new g(t[S]);if("gentime"==S)return new d(t[S]);if("seq"==S){for(var E=t[S],D=[],w=0;E.length>w;w++){var x=b(E[w]);D.push(x)}return new v({array:D})}if("set"==S){for(E=t[S],D=[],w=0;E.length>w;w++){x=b(E[w]);D.push(x)}return new m({array:D})}if("tag"==S){var R=t[S];if("[object Array]"===Object.prototype.toString.call(R)&&3==R.length){var B=b(R[2]);return new y({tag:R[0],explicit:R[1],obj:B})}var V={};if(void 0!==R.explicit&&(V.explicit=R.explicit),void 0!==R.tag&&(V.tag=R.tag),void 0===R.obj)throw"obj shall be specified for 'tag'.";return V.obj=b(R.obj),new y(V)}},this.jsonToASN1HEX=function(t){return this.newObject(t).getEncodedHex()}},Q.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",i=parseInt(t.substr(0,2),16),r=(e=Math.floor(i/40)+"."+i%40,""),n=2;t.length>n;n+=2){var s=("00000000"+parseInt(t.substr(n,2),16).toString(2)).slice(-8);if(r+=s.substr(1,7),"0"==s.substr(0,1))e=e+"."+new x(r,2).toString(10),r=""}return e},Q.asn1.ASN1Util.oidIntToHex=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},i=function(t){var i="",r=new x(t,10).toString(2),n=7-r.length%7;7==n&&(n=0);for(var s="",o=0;n>o;o++)s+="0";r=s+r;for(o=0;r.length-1>o;o+=7){var h=r.substr(o,7);o!=r.length-7&&(h="1"+h),i+=e(parseInt(h,2))}return i};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var r="",n=t.split(".");r+=e(40*parseInt(n[0])+parseInt(n[1])),n.splice(0,2);for(var s=0;n.length>s;s++)r+=i(n[s]);return r},Q.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var t=this.hV.length/2,e=t.toString(16);if(e.length%2==1&&(e="0"+e),128>t)return e;var i=e.length/2;if(i>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+i).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},Q.asn1.DERAbstractString=function(t){Q.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},J.lang.extend(Q.asn1.DERAbstractString,Q.asn1.ASN1Object),Q.asn1.DERAbstractTime=function(t){Q.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,i){var r=this.zeroPadding,n=this.localDateToUTC(t),s=n.getFullYear()+"";"utc"==e&&(s=s.substr(2,2));var o=s+r(n.getMonth()+1+"",2)+r(n.getDate()+"",2)+r(n.getHours()+"",2)+r(n.getMinutes()+"",2)+r(n.getSeconds()+"",2);if(!0===i){var h=n.getMilliseconds();if(0!=h){var a=r(h+"",3);o=o+"."+(a=a.replace(/[0]+$/,""))}}return o+"Z"},this.zeroPadding=function(t,e){return e>t.length?Array(e-t.length+1).join("0")+t:t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,i,r,n,s){var o=new Date(Date.UTC(t,e-1,i,r,n,s,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},J.lang.extend(Q.asn1.DERAbstractTime,Q.asn1.ASN1Object),Q.asn1.DERAbstractStructured=function(t){Q.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=[],void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},J.lang.extend(Q.asn1.DERAbstractStructured,Q.asn1.ASN1Object),Q.asn1.DERBoolean=function(){Q.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},J.lang.extend(Q.asn1.DERBoolean,Q.asn1.ASN1Object),Q.asn1.DERInteger=function(t){Q.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=Q.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new x(t+"",10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},J.lang.extend(Q.asn1.DERInteger,Q.asn1.ASN1Object),Q.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=Q.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}Q.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(0>t||t>7)throw"unused bits shall be from 0 to 7: u = "+t;var i="0"+t;this.hTLV=null,this.isModified=!0,this.hV=i+e},this.setByBinaryString=function(t){var e=8-(t=t.replace(/0+$/,"")).length%8;8==e&&(e=0);for(var i=0;e>=i;i++)t+="0";var r="";for(i=0;t.length-1>i;i+=8){var n=t.substr(i,8),s=parseInt(n,2).toString(16);1==s.length&&(s="0"+s),r+=s}this.hTLV=null,this.isModified=!0,this.hV="0"+e+r},this.setByBooleanArray=function(t){for(var e="",i=0;t.length>i;i++)e+=1==t[i]?"1":"0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=Array(t),i=0;t>i;i++)e[i]=!1;return e},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):void 0!==t.hex?this.setHexValueIncludingUnusedBits(t.hex):void 0!==t.bin?this.setByBinaryString(t.bin):void 0!==t.array&&this.setByBooleanArray(t.array))},J.lang.extend(Q.asn1.DERBitString,Q.asn1.ASN1Object),Q.asn1.DEROctetString=function(t){if(void 0!==t&&void 0!==t.obj){var e=Q.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}Q.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},J.lang.extend(Q.asn1.DEROctetString,Q.asn1.DERAbstractString),Q.asn1.DERNull=function(){Q.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},J.lang.extend(Q.asn1.DERNull,Q.asn1.ASN1Object),Q.asn1.DERObjectIdentifier=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},i=function(t){var i="",r=new x(t,10).toString(2),n=7-r.length%7;7==n&&(n=0);for(var s="",o=0;n>o;o++)s+="0";r=s+r;for(o=0;r.length-1>o;o+=7){var h=r.substr(o,7);o!=r.length-7&&(h="1"+h),i+=e(parseInt(h,2))}return i};Q.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var r="",n=t.split(".");r+=e(40*parseInt(n[0])+parseInt(n[1])),n.splice(0,2);for(var s=0;n.length>s;s++)r+=i(n[s]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueName=function(t){var e=Q.asn1.x509.OID.name2oid(t);if(""===e)throw"DERObjectIdentifier oidName undefined: "+t;this.setValueOidString(e)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):void 0!==t.oid?this.setValueOidString(t.oid):void 0!==t.hex?this.setValueHex(t.hex):void 0!==t.name&&this.setValueName(t.name))},J.lang.extend(Q.asn1.DERObjectIdentifier,Q.asn1.ASN1Object),Q.asn1.DEREnumerated=function(t){Q.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=Q.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new x(t+"",10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},J.lang.extend(Q.asn1.DEREnumerated,Q.asn1.ASN1Object),Q.asn1.DERUTF8String=function(t){Q.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},J.lang.extend(Q.asn1.DERUTF8String,Q.asn1.DERAbstractString),Q.asn1.DERNumericString=function(t){Q.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},J.lang.extend(Q.asn1.DERNumericString,Q.asn1.DERAbstractString),Q.asn1.DERPrintableString=function(t){Q.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},J.lang.extend(Q.asn1.DERPrintableString,Q.asn1.DERAbstractString),Q.asn1.DERTeletexString=function(t){Q.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},J.lang.extend(Q.asn1.DERTeletexString,Q.asn1.DERAbstractString),Q.asn1.DERIA5String=function(t){Q.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},J.lang.extend(Q.asn1.DERIA5String,Q.asn1.DERAbstractString),Q.asn1.DERUTCTime=function(t){Q.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},J.lang.extend(Q.asn1.DERUTCTime,Q.asn1.DERAbstractTime),Q.asn1.DERGeneralizedTime=function(t){Q.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),!0===t.millis&&(this.withMillis=!0))},J.lang.extend(Q.asn1.DERGeneralizedTime,Q.asn1.DERAbstractTime),Q.asn1.DERSequence=function(t){Q.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;this.asn1Array.length>e;e++){t+=this.asn1Array[e].getEncodedHex()}return this.hV=t,this.hV}},J.lang.extend(Q.asn1.DERSequence,Q.asn1.DERAbstractStructured),Q.asn1.DERSet=function(t){Q.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=[],e=0;this.asn1Array.length>e;e++){t.push(this.asn1Array[e].getEncodedHex())}return 1==this.sortFlag&&t.sort(),this.hV=t.join(""),this.hV},void 0!==t&&void 0!==t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},J.lang.extend(Q.asn1.DERSet,Q.asn1.DERAbstractStructured),Q.asn1.DERTaggedObject=function(t){Q.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,i){this.hT=e,this.isExplicit=t,this.asn1Object=i,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=i.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.tag&&(this.hT=t.tag),void 0!==t.explicit&&(this.isExplicit=t.explicit),void 0!==t.obj&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},J.lang.extend(Q.asn1.DERTaggedObject,Q.asn1.ASN1Object);var W,tt,et=(W=function(t,e){return W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},W(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+e+" is not a constructor or null");function i(){this.constructor=t}W(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),it=function(t){function e(i){var r=t.call(this)||this;return i&&("string"==typeof i?r.parseKey(i):(e.hasPrivateKeyProperty(i)||e.hasPublicKeyProperty(i))&&r.parsePropertiesFrom(i)),r}return et(e,t),e.prototype.parseKey=function(t){try{var e=0,i=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(t)?l(t):p.unarmor(t),n=S.decode(r);if(3===n.sub.length&&(n=n.sub[2].sub[0]),9===n.sub.length){e=n.sub[1].getHexStringValue(),this.n=I(e,16),i=n.sub[2].getHexStringValue(),this.e=parseInt(i,16);var s=n.sub[3].getHexStringValue();this.d=I(s,16);var o=n.sub[4].getHexStringValue();this.p=I(o,16);var h=n.sub[5].getHexStringValue();this.q=I(h,16);var a=n.sub[6].getHexStringValue();this.dmp1=I(a,16);var u=n.sub[7].getHexStringValue();this.dmq1=I(u,16);var c=n.sub[8].getHexStringValue();this.coeff=I(c,16)}else{if(2!==n.sub.length)return!1;if(n.sub[0].sub){var f=n.sub[1].sub[0];e=f.sub[0].getHexStringValue(),this.n=I(e,16),i=f.sub[1].getHexStringValue(),this.e=parseInt(i,16)}else e=n.sub[0].getHexStringValue(),this.n=I(e,16),i=n.sub[1].getHexStringValue(),this.e=parseInt(i,16)}return!0}catch(t){return!1}},e.prototype.getPrivateBaseKey=function(){var t={array:[new Q.asn1.DERInteger({int:0}),new Q.asn1.DERInteger({bigint:this.n}),new Q.asn1.DERInteger({int:this.e}),new Q.asn1.DERInteger({bigint:this.d}),new Q.asn1.DERInteger({bigint:this.p}),new Q.asn1.DERInteger({bigint:this.q}),new Q.asn1.DERInteger({bigint:this.dmp1}),new Q.asn1.DERInteger({bigint:this.dmq1}),new Q.asn1.DERInteger({bigint:this.coeff})]};return new Q.asn1.DERSequence(t).getEncodedHex()},e.prototype.getPrivateBaseKeyB64=function(){return u(this.getPrivateBaseKey())},e.prototype.getPublicBaseKey=function(){var t=new Q.asn1.DERSequence({array:[new Q.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new Q.asn1.DERNull]}),e=new Q.asn1.DERSequence({array:[new Q.asn1.DERInteger({bigint:this.n}),new Q.asn1.DERInteger({int:this.e})]}),i=new Q.asn1.DERBitString({hex:"00"+e.getEncodedHex()});return new Q.asn1.DERSequence({array:[t,i]}).getEncodedHex()},e.prototype.getPublicBaseKeyB64=function(){return u(this.getPublicBaseKey())},e.wordwrap=function(t,e){return t?t.match(RegExp("(.{1,"+(e=e||64)+"})( +|$\n?)|(.{1,"+e+"})","g")).join("\n"):t},e.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return t+=e.wordwrap(this.getPrivateBaseKeyB64())+"\n",t+="-----END RSA PRIVATE KEY-----"},e.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return t+=e.wordwrap(this.getPublicBaseKeyB64())+"\n",t+="-----END PUBLIC KEY-----"},e.hasPublicKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")},e.hasPrivateKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},e.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},e}(Y),rt="undefined"!=typeof process?null===(tt=process.env)||void 0===tt?void 0:tt.npm_package_version:void 0,nt=function(){function t(t){void 0===t&&(t={}),this.default_key_size=(t=t||{}).default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return t.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new it(t)},t.prototype.setPrivateKey=function(t){this.setKey(t)},t.prototype.setPublicKey=function(t){this.setKey(t)},t.prototype.decrypt=function(t){try{return this.getKey().decrypt(c(t))}catch(t){return!1}},t.prototype.encrypt=function(t){try{return u(this.getKey().encrypt(t))}catch(t){return!1}},t.prototype.sign=function(t,e,i){try{return u(this.getKey().sign(t,e,i))}catch(t){return!1}},t.prototype.verify=function(t,e,i){try{return this.getKey().verify(t,c(e),i)}catch(t){return!1}},t.prototype.getKey=function(t){if(!this.key){if(this.key=new it,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version=rt,t}();function st(t){return t&&/\d(px|rem|em|vh|vw)$/.test(t)?t:"".concat(t,"px")}var ot={"icon-ui-closethick":'<path d="M512 444.112L814.064 142.08a48 48 0 1 1 67.872 67.872L579.888 512 881.92 814.064a48 48 0 1 1-67.872 67.872L512 579.888 209.936 881.92A48 48 0 1 1 142.08 814.08L444.112 512 142.08 209.936A48 48 0 1 1 209.92 142.08L512 444.112z"></path>',"icon-ui-checkcirclefill":'<path d="M512 128c212.08 0 384 171.92 384 384a384 384 0 0 1-768 0C128 299.92 299.92 128 512 128z m225.6 222.4c-17.6-19.2-48-19.2-67.2 0L448 572.8l-94.4-94.4c-17.6-19.2-48-19.2-67.2 0-19.2 17.6-19.2 48 0 67.2l128 128c17.6 19.2 48 19.2 67.2 0l256-256c19.2-17.6 19.2-48 0-67.2z" fill="">',"icon-ui-warnfill":'<path d="M512 896C299.2 896 128 724.8 128 512S299.2 128 512 128s384 171.2 384 384-171.2 384-384 384z m0-640c-27.2 0-48 20.8-48 48v288c0 27.2 20.8 48 48 48s48-20.8 48-48V304c0-27.2-20.8-48-48-48z m0 416c-27.2 0-48 20.8-48 48s20.8 48 48 48 48-20.8 48-48-20.8-48-48-48z" fill=""></path>',"icon-ui-infofill":'<path d="M512 128C299.888 128 128 299.936 128 512s171.888 384 384 384c212.064 0 384-171.936 384-384S724.064 128 512 128z m77.52 576h-155.088C424.24 704 416 694.496 416 682.816c0-11.68 8.24-21.184 18.432-21.184l29.68-5.2v-141.84l-29.68-5.488c-10.192 0-18.432-9.504-18.432-21.184 0-11.68 8.24-21.184 18.432-21.184h120.368c3.68 0 4.896-1.504 5.408-2.736-0.144 0.704-0.32 1.376-0.32 3.312v189.12l29.632 5.2c10.192 0 18.48 9.504 18.48 21.184 0 11.68-8.288 21.184-18.48 21.184z m-124.896-383.808h46.448c0.336 0 0.624-0.192 0.96-0.192 0.32 0 0.608 0.192 0.944 0.192h46.448v44.88c0.048 1.04 0.576 1.904 0.576 2.912 0 1.04-0.528 1.904-0.576 2.912v44.768H513.6c-0.56 0.048-1.04 0.336-1.568 0.336-0.56 0-1.04-0.288-1.552-0.32h-45.84v-44.832c-0.096-1.008-0.624-1.824-0.624-2.88 0-0.992 0.528-1.856 0.624-2.864v-44.912z" fill=""></path>',"icon-ui-clean":'<path d="M512 128c-212.8 0-384 171.2-384 384s171.2 384 384 384 384-171.2 384-384-171.2-384-384-384z m136 452c19.2 19.2 19.2 48.8 0 68s-48.8 19.2-68 0L512 580 444 648c-19.2 19.2-48.8 19.2-68 0s-19.2-48.8 0-68l68-68-68-68c-19.2-19.2-19.2-48.8 0-68s48.8-19.2 68 0l68 68 68-68c19.2-19.2 48.8-19.2 68 0s19.2 48.8 0 68L580 512l68 68z" fill=""></path>',"icon-ui-rightthick":'<path d="M631.104 512l-342.72 299.872a48 48 0 0 0 63.232 72.256l384-336a48 48 0 0 0 0-72.256l-384-336a48 48 0 1 0-63.216 72.256L631.12 512z"></path>'};function ht(t){return t.replaceAll("//","/").replaceAll("https:/","https://").replaceAll("http:/","http://")}function at(t){var e=new Map,i=t.split("?"),r="",n=[];i.length>1&&(r=i[1]),n=r.split("&");for(var s=0;n.length>s;s++)2===n[s].split("=").length&&e.set(n[s].split("=")[0],n[s].split("=")[1]);return e}function ut(t,e){return e.forEach((function(e,i){t.indexOf("?")>-1?t+="&".concat(i,"=").concat(e):t+="?".concat(i,"=").concat(e)})),t}function ct(t,e){var i=new nt;return i.setPublicKey(e),i.encrypt(t)}export{ht as beautifyUrl,st as getFontSize,at as getParams,ot as iconfonts,ct as rsa,ut as setParams}; |
| /*! | ||
| * uni-web-sdk v0.2.1 | ||
| * uni-web-sdk v0.2.2 | ||
| * 2023 xuqingkai | ||
| */ | ||
| import{g as e,d as t}from"./defineProperty.js";var r,o={exports:{}};(r=o).exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},r.exports.__esModule=!0,r.exports.default=r.exports;var n=e(o.exports),s={exports:{}},p={exports:{}};!function(e){function t(r,o){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(p);!function(e){var t=p.exports;e.exports=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&t(e,r)},e.exports.__esModule=!0,e.exports.default=e.exports}(s);var u=e(s.exports),x={exports:{}};!function(e){var r=t.exports.default,n=o.exports;e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(x);var f=e(x.exports),c={exports:{}};!function(e){function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(c);var i=e(c.exports),a={exports:{}},l={exports:{}};!function(e){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports}(l);var d={exports:{}},_={exports:{}};!function(e){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports}(_);!function(e){var t=p.exports,r=_.exports;function o(n,s,p){return r()?(e.exports=o=Reflect.construct.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=o=function(e,r,o){var n=[null];n.push.apply(n,r);var s=new(Function.bind.apply(e,n));return o&&t(s,o.prototype),s},e.exports.__esModule=!0,e.exports.default=e.exports),o.apply(null,arguments)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports}(d);!function(e){var t=c.exports,r=p.exports,o=l.exports,n=d.exports;function s(p){var u="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==u){if(u.has(e))return u.get(e);u.set(e,s)}function s(){return n(e,arguments,t(this).constructor)}return s.prototype=Object.create(e.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),r(s,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(p)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports}(a);var y=e(a.exports);export{i as _,f as a,u as b,n as c,y as d}; |
+4
-2
| { | ||
| "name": "uni-web-sdk", | ||
| "version": "0.2.1", | ||
| "version": "0.2.2", | ||
| "description": "", | ||
@@ -75,3 +75,5 @@ "main": "lib/index.js", | ||
| ], | ||
| "dependencies": {} | ||
| "dependencies": { | ||
| "jsencrypt": "^3.3.2" | ||
| } | ||
| } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
581218
60.83%34
9.68%2811
56.6%1
Infinity%18
12.5%35
20.69%+ Added
+ Added