找回密码
 立即注册
搜索
热搜: 丝袜 魅魔 黑丝
查看: 5|回复: 0

14679310_哈迪与他的魔法少女学生们35~36

[复制链接]

13万

主题

343

回帖

22万

积分

管理员

站长

UID
1
积分
224400
余额
13 R
Moe币
84881
在线时间
279 小时
注册时间
2025-12-28
最后登录
2026-11-9
发表于 2026-9-3 23:00:59 | 显示全部楼层 |阅读模式
64;Ne++)if(!Ge[Ne]){for(g=0;g<313;g+=Ne)Ge[g]=Ne;ye[Re]=O(Ne,.5)*Z|0,et[Re++]=O(Ne,1/3)*Z|0}for(v+="€";v[H]%64-56;)v+="\0";for(g=0;g<v[H];g++){if((m=v.charCodeAt(g))>>8)return;U[g>>2]|=m<<(3-g)%4*8}for(U[U[H]]=Ce/Z|0,U[U[H]]=Ce,m=0;m<U[H];){var xe=U.slice(m,m+=16),ke=ye;for(ye=ye.slice(0,8),g=0;g<64;g++){var ot=xe[g-15],We=xe[g-2],Be=ye[0],Tt=ye[4],dt=ye[7]+(oe(Tt,6)^oe(Tt,11)^oe(Tt,25))+(Tt&ye[5]^~Tt&ye[6])+et[g]+(xe[g]=g<16?xe[g]:xe[g-16]+(oe(ot,7)^oe(ot,18)^ot>>>3)+xe[g-7]+(oe(We,17)^oe(We,19)^We>>>10)|0);(ye=[dt+((oe(Be,2)^oe(Be,13)^oe(Be,22))+(Be&ye[1]^Be&ye[2]^ye[1]&ye[2]))|0].concat(ye))[4]=ye[4]+dt|0}for(g=0;g<8;g++)ye[g]=ye[g]+ke[g]|0}for(g=0;g<8;g++)for(m=3;m+1;m--){var An=ye[g]>>8*m&255;X+=(An<16?0:"")+An.toString(16)}return X},Oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",Te=function(f){for(var v="",g=0;g<f;g++){var m=Math.floor(66*Math.random());v+=Oe.charAt(m)}return v},Ue=function(f){var v=ge(f),g=new Uint8Array(v.match(/[\da-f]{2}/gi).map(function(m){return parseInt(m,16)}));return mt(g)},mt=function(f){var v=new Uint8Array(f);return rn(String.fromCharCode.apply(null,v))},rn=function(f){return btoa(f).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},qr=function(f,v,g){(function(Z,H){if(typeof H!="function"&&H!==null)throw new TypeError("Super expression must either be null or a function");Z.prototype=Object.create(H&&H.prototype,{constructor:{value:Z,writable:!0,configurable:!0}}),Object.defineProperty(Z,"prototype",{writable:!1}),H&&p(Z,H)})(O,f);var m=A(O);function O(){var Z,H,X;return s(this,O),X=m.call(this),z("_ku")?w((Z=d(X),u(O.prototype)),"supportKsosid",!0,Z,!0):w((H=d(X),u(O.prototype)),"supportKsosid",!1,H,!0),X}return l(O,[{key:"signPopToken",value:function(Z,H){return(v=v||i(n().mark(function X(U,Ce){var ye=this;return n().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.abrupt("return",new Promise(function(Re,Ge){Ae(U,"string","method格式错误"),Ae(Ce,"string","uri格式错误"),E(u(O.prototype),"checkKsoSid",ye).call(ye).then(function(Ne){Re("empty")}).catch(function(Ne){Ge(Ne)})}));case 1:case"end":return et.stop()}},X)}))).apply(this,arguments)}},{key:"generatePKCEParam",value:function(){return(g=g||i(n().mark(function Z(){var H,X,U;return n().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return H=Math.floor(86*Math.random())+43,X=Te(H),U=Ue(X),Ce.abrupt("return",{code_verifier:X,code_challenge:U});case 4:case"end":return Ce.stop()}},Z)}))).apply(this,arguments)}}]),O}(re),En=new qr,Vr=function(){function f(){s(this,f)}return l(f,[{key:"_checkAndroidInit",value:function(){return new Promise(function(v,g){if(window.ksointernalaccountapi)return v(!0);var m=0,O=setInterval(function(){return m++,window.ksointernalaccountapi?(clearInterval(O),v(!0)):m>15?(clearInterval(O),g(new C(C.ANDRIOD_INIT_FAIL))):void 0},10)})}},{key:"_execClientSdk",value:function(v){var g=this,m=v.eventName,O=v.params;return new Promise(function(Z,H){g._checkAndroidInit().then(function(){var X=Object.assign({},O,{kwtid:z("kwtid")});window.ksointernalaccountapi[m](X,function(U){if(U.result==="ok")return Z(U.data);var Ce=U.result,ye=U.msg;return H(new C(Ce,ye))})}).catch(function(X){return H(X)})})}},{key:"signPopToken",value:function(v,g){var m=this,O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:z("cv");return new Promise(function(Z,H){m._execClientSdk({eventName:"signPopToken",params:{method:v,uri:g,cv:O}}).then(function(X){Z(X)}).catch(function(X){H(X)})})}},{key:"generatePKCEParam",value:function(){var v=this;return new Promise(function(g,m){v._execClientSdk({eventName:"generatePKCEParam"}).then(function(O){g(O)}).catch(function(O){m(O)})})}},{key:"loginCallback",value:function(v,g,m){var O=this;return new Promise(function(Z,H){O._execClientSdk({eventName:"loginCallback",params:{codeVerifier:v,authCode:g,action:m}}).then(function(X){Z(X)}).catch(function(X){H(X)})})}},{key:"hasClientAPI",value:function(v){var g=this;return new Promise(function(m,O){g._checkAndroidInit().then(function(){window.ksointernalaccountapi&&window.ksointernalaccountapi[v]?m(!0):m(!1)}).catch(function(Z){O(Z)})})}}]),f}(),ut=new(l(function f(){if(s(this,f),window.ksointernalaccountapi||window.ksointernalaccountnativeandroidapi){var v=new Vr;return v.supportKsosid=!0,v}return En}));return typeof window<"u"?ut:{}}();/*! js-cookie v3.0.5 | MIT */function to(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var ns=function e(t,n){function r(o,i,s){if(typeof document<"u"){typeof(s=to({},n,s)).expires=="number"&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in s)s[l]&&(a+="; "+l,s[l]!==!0&&(a+="="+s[l].split(";")[0]));return document.cookie=o+"="+t.write(i,o)+a}}return Object.create({set:r,get:function(o){if(typeof document<"u"&&(!arguments.length||o)){for(var i=document.cookie?document.cookie.split("; "):[],s={},a=0;a<i.length;a++){var l=i[a].split("="),c=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(s[u]=t.read(c,u),o===u)break}catch{}}return o?s[o]:s}},remove:function(o,i){r(o,"",to({},i,{expires:-1}))},withAttributes:function(o){return e(this.converter,to({},this.attributes,o))},withConverter:function(o){return e(to({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});function rs(e){return e.startsWith("file://")}function Ws(){try{return window.self!==window.top}catch{return!0}}const Rt={name:"",retry:1};function pl(e){return e.split("_")[0]}const os="csrf",xu="X-CSRFToken";function ku(){let e=ns.get(os);return e||(e=function(){let t="";const n="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678";for(let r=0;r<32;r++)t+=n.charAt(Math.floor(48*Math.random()));return t}(),ns.set(os,e)),e}const Tu=new class{constructor(){ei(this,"requestFailedList",[]);ei(this,"circuitBreakState",!1)}startCircuitBreaker(){this.circuitBreakState=!0,this.startCancelCircuitBreakTimer()}startCancelCircuitBreakTimer(){this.circuitBreakTimer&&clearTimeout(this.circuitBreakTimer);const e=60+30*Math.random()|0;this.circuitBreakTimer=setTimeout(()=>{this.circuitBreakTimer=void 0,this.cancelCircuitBreak()},1e3*e)}cancelCircuitBreak(){this.circuitBreakState=!1,this.circuitBreakTimer&&clearTimeout(this.circuitBreakTimer),this.resetReqFailedList()}resetReqFailedList(){const e=Date.now()-5e3;this.requestFailedList=this.requestFailedList.filter(t=>t>e)}handleCircuitBreaker(){const e=Date.now();this.requestFailedList.push(e),this.requestFailedList.filter(t=>t<e).length>=20&&this.startCircuitBreaker()}};function nm(e){return Tu.circuitBreakState&&(e!=null&&e["axios-retry"])&&(e["axios-retry"].retries=0),e}function rm(e){return e}function om(e){const t=e.response;return t&&t.status>500&&Tu.handleCircuitBreaker(),Promise.reject(e)}function im(e){if(e!=null&&e.useCsrfToken){const{method:t}=e;t&&~["post","put","delete"].indexOf(t)&&(e.headers=e.headers||{},e.headers[xu]=ku())}return e}var Su=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},sm=Ur(Su),am=Su,lm=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e},qs=Ur(function(e,t){return e&&!am(t)?lm(e,t):t});async function cm(e){if(e!=null&&e.url){const t=String(e.method).toUpperCase(),n=function(o){const{url:i,baseURL:s}=o;let a=qs(s,i);try{a=new URL(a,location.origin).pathname}catch{const l=document.createElement("a");l.href=a,a=l.pathname}return a}({url:e.url,baseURL:e.baseURL}),r=await Hr.signPopToken(t,n);if(r&&r!=="empty"){const o=new URL(e.url,window.location.origin);o.searchParams.set("_kpt",r),e.url=sm(e.url)?o.href:o.pathname+o.search}}return e}const Jo=!!(window.cefQuery||window.external&&window.external.cefQuery||window.external&&window.external.jsAsynCall||window.external&&window.external.fromJSAsynCallBase64||window.onlinewordart&&window.onlinewordart.jsAsynCall||window.Extention),um=!!window.Extention;function Ro(e,t,n){return e.message=`Client Api Exec Catch Error:
    method: ${t}, error: ${e.message}`,n&&(e.message+=`, response: ${JSON.stringify(n)}`,e.response=n),e}const ln=String.fromCharCode;let no,ro,cn;const qe={b64DecodeUnicode:e=>qe.decode(atob(e)),ucs2encode:e=>{const t=e.length;let n,r=-1,o="";for(;++r<t;)n=e[r],n>65535&&(n-=65536,o+=ln(n>>>10&1023|55296),n=56320|1023&n),o+=ln(n);return o},checkScalarValue:e=>{if(e>=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")},createByte:(e,t)=>ln(e>>t&63|128),readContinuationByte:()=>{if(cn>=ro)throw Error("Invalid byte index");const e=255&no[cn];if(cn++,(192&e)==128)return 63&e;throw Error("Invalid continuation byte")},decodeSymbol:()=>{let e,t,n,r;if(cn>ro)throw Error("Invalid byte index");if(cn==ro)return!1;const o=255&no[cn];if(cn++,!(128&o))return o;if((224&o)==192){if(e=qe.readContinuationByte(),r=(31&o)<<6|e,r>=128)return r;throw Error("Invalid continuation byte")}if((240&o)==224){if(e=qe.readContinuationByte(),t=qe.readContinuationByte(),r=(15&o)<<12|e<<6|t,r>=2048)return qe.checkScalarValue(r),r;throw Error("Invalid continuation byte")}if((248&o)==240&&(e=qe.readContinuationByte(),t=qe.readContinuationByte(),n=qe.readContinuationByte(),r=(7&o)<<18|e<<12|t<<6|n,r>=65536&&r<=1114111))return r;throw Error("Invalid UTF-8 detected")},encodeCodePoint:e=>{if(!(4294967168&e))return ln(e);let t="";return 4294965248&e?4294901760&e?4292870144&e||(t=ln(e>>18&7|240),t+=qe.createByte(e,12),t+=qe.createByte(e,6)):(qe.checkScalarValue(e),t=ln(e>>12&15|224),t+=qe.createByte(e,6)):t=ln(e>>6&31|192),t+=ln(63&e|128),t},ucs2decode:e=>{let t=new Array(e.length),n=0;const r=e.length;let o,i,s=0;for(;n<r;)o=e.charCodeAt(n++),o>=55296&&o<=56319&&n<r?(i=e.charCodeAt(n++),(64512&i)==56320?t[s]=((1023&o)<<10)+(1023&i)+65536:(t[s]=o,n--)):t[s]=o,s++;return t=t.slice(0,s),t},decode:e=>{no=qe.ucs2decode(e),ro=no.length,cn=0;const t=[];let n=qe.decodeSymbol();for(;n!==!1;)t.push(n),n=qe.decodeSymbol();return qe.ucs2encode(t)},encode:e=>{const t=qe.ucs2decode(e),n=t.length;let r,o=-1,i="";for(;++o<n;)r=t[o],i+=qe.encodeCodePoint(r);return i}},fm=window.external&&window.external.fromJSAsynCallBase64||window.onlinewordart&&window.onlinewordart.jsAsynCall,hl=window.cefQuery;function mo(e,t,n){const r=e.split(".").join("_")+"_async_callback_"+setTimeout("1");return new Promise((o,i)=>{Jo||o({});const s={method:e,params:t};e!=="common.report.dataWarehouseSend"&&(window[r]=c=>{let u;delete window[r];try{if((c=JSON.parse(qe.b64DecodeUnicode(c))).code=c.callstatus==="ok",c.callstatus!=="ok")throw new Error("execute api failed");c.result===void 0&&(c.result=c.data),c.result===void 0&&(c.result=Object.assign({},c));try{c.result=JSON.parse(c.result||{})}catch{}o(c.result)}catch(p){u=Ro(p,e,c),i(u)}n&&n(u,c==null?void 0:c.result)},s.callback=r);const a=JSON.stringify(s),l=window.btoa(qe.encode(a));hl?hl({request:`fromJSAsynCallBase64("${l}")`,persistent:!1}):fm(l)})}function dm(e){return e&&(e.startTime=Date.now()),e}function pm(e){const t=Date.now();return e.duration=t-e.config.startTime,function(n){var o,i;const r=n.duration;if(r>200&&Jo){const s=n.config,a="personal_request_api_duration",l=1,c={plugin_name:function(u){var p,d,A,N,E,P,w,y,T;try{if(!Rt.name&&Rt.retry>=0){Rt.retry-=1;const k=u.match(/https:\/\/personal\.local\.wps\.cn\/addons\/([\w-]+)\//i);if(k&&k[1])return Rt.name=k[1],Rt.name;if(rs(u)){const C=u.match(/addons\/(?:pool\/[^/]+\/)?([^/]+)/i);if(C&&C[1])return Rt.name=pl(C[1]),Rt.name}if(window.Extention){const C=(A=(d=(p=window.Extention)==null?void 0:p.PluginManager)==null?void 0:d.getPluginInfo)==null?void 0:A.call(d);if(C!=null&&C.code)return Rt.name=(N=C.result)==null?void 0:N.name,Rt.name;const te=(w=(P=(E=window.Extention.AppFrameWork)==null?void 0:E.Application)==null?void 0:P.getAppConfig)==null?void 0:w.call(P);if(te!=null&&te.code){const pe=(T=(y=te.result)==null?void 0:y.pluginDir)==null?void 0:T.match(/[^/\\]+$/);if(pe)return Rt.name=pl(pe[0]),Rt.name}}}}catch(k){console.error(k)}finally{return Rt.name}}(location.href),method:String(s.method),url:vl(qs(s.baseURL,s.url)),duration:r};c.plugin_name||rs(location.href)||(c.plugin_name=vl(location.href).replace(/([^/]+\/[^/]+).*/,"$1")),window.Extention?(i=(o=window.Extention.Report)==null?void 0:o.sendInfo)==null||i.call(o,a,c,l):mo("common.report.dataWarehouseSend",{eventName:a,content:Object.keys(c).map(u=>({attribute:u,value:c[u]})),rate:l})}}(e),e}function vl(e){const t=new URL(e,location.origin);return t.host+t.pathname.replace(/\/$/,"")}function hm(e={}){const{config:t={}}=e,n=bu.create(t);return n.interceptors.request.use(cm),n.interceptors.request.use(dm),n.interceptors.request.use(im),n.interceptors.request.use(nm),n.interceptors.response.use(rm,om),n.interceptors.response.use(pm),hn(n,function(r){const o={retries:3,retryDelay:i=>{switch(i){case 1:return 0;case 2:return 500;case 3:return 1e3;default:return 200}},retryCondition:i=>{var c,u,p;const s=((c=i.response)==null?void 0:c.status)||0,a=((p=(u=i.config)==null?void 0:u.method)==null?void 0:p.toLocaleLowerCase())==="get",l=i.code===Ht.AxiosError.ERR_NETWORK||hn.isNetworkError(i);return a&&(l||s>500)&&s!==429}};return r!=null&&r["axios-retry"]&&Object.assign(o,r["axios-retry"]),o}(e.config)),n}var ki,vm=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}},Vs=Object.prototype.toString,Ks=(ki=Object.create(null),function(e){var t=Vs.call(e);return ki[t]||(ki[t]=t.slice(8,-1).toLowerCase())});function Un(e){return e=e.toLowerCase(),function(t){return Ks(t)===e}}function is(e){return Array.isArray(e)}function oo(e){return e===void 0}var gl=Un("ArrayBuffer");function _l(e){return e!==null&&typeof e=="object"}function io(e){if(Ks(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var gm=Un("Date"),_m=Un("File"),mm=Un("Blob"),bm=Un("FileList");function Ti(e){return Vs.call(e)==="[object Function]"}var ym=Un("URLSearchParams");function Si(e,t){if(e!=null)if(typeof e!="object"&&(e=[e]),is(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var Ri,wm=(Ri=typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array),function(e){return Ri&&e instanceof Ri}),Ru={isArray:is,isArrayBuffer:gl,isBuffer:function(e){return e!==null&&!oo(e)&&e.constructor!==null&&!oo(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Vs.call(e)===t||Ti(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&gl(e.buffer)},isString:function(e){return typeof e=="string"},isNumber:function(e){return typeof e=="number"},isObject:_l,isPlainObject:io,isUndefined:oo,isDate:gm,isFile:_m,isBlob:mm,isFunction:Ti,isStream:function(e){return _l(e)&&Ti(e.pipe)},isURLSearchParams:ym,isStandardBrowserEnv:function(){return(typeof navigator>"u"||navigator.product!=="ReactNative"&&navigator.product!=="NativeScript"&&navigator.product!=="NS")&&typeof window<"u"&&typeof document<"u"},forEach:Si,merge:function e(){var t={};function n(i,s){io(t[s])&&io(i)?t[s]=e(t[s],i):io(i)?t[s]=e({},i):is(i)?t[s]=i.slice():t[s]=i}for(var r=0,o=arguments.length;r<o;r++)Si(arguments[r],n);return t},extend:function(e,t,n){return Si(t,function(r,o){e[o]=n&&typeof r=="function"?vm(r,n):r}),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var r,o,i,s={};t=t||{};do{for(o=(r=Object.getOwnPropertyNames(e)).length;o-- >0;)s[i=r[o]]||(t[i]=e[i],s[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Ks,kindOfTest:Un,endsWith:function(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n},toArray:function(e){if(!e)return null;var t=e.length;if(oo(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:wm,isFileList:bm},Ou=Ru;function rr(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Ou.inherits(rr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var ml=rr.prototype,bl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){bl[e]={value:e}}),Object.defineProperties(rr,bl),Object.defineProperty(ml,"isAxiosError",{value:!0}),rr.from=function(e,t,n,r,o,i){var s=Object.create(ml);return Ou.toFlatObject(e,s,function(a){return a!==Error.prototype}),rr.call(s,e.message,t,n,r,o),s.name=e.name,i&&Object.assign(s,i),s};var Oi=rr,Cm=Ur(function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Oi("Request failed with status code "+n.status,[Oi.ERR_BAD_REQUEST,Oi.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)});const Ii={httpRequest:"common.network.httpRequest",checkLoginState:"common.account.checkLoginState",getUserLoginInfo:"getUserLoginInfo"};var Em=new class{httpRequest(e,t){return e!=null&&e.contentType&&(e.header["Content-Type"]=e.contentType,delete e.contentType),e!=null&&e.data&&typeof e.data!="string"&&(e.data=JSON.stringify(e.data)),e.type=e.type.toLowerCase(),Ws()&&(t!=null&&t.httpRequest)?t.httpRequest(e):mo(Ii.httpRequest,Object.assign({timeout:1e4,type:"get",header:{"Content-Type":"application/json; charset=utf8"}},e))}getWpsSid(){return new Promise(async e=>{const t={sid:""};try{let n=await mo(Ii.checkLoginState);t.sid=n==null?void 0:n.wpssid,n=await mo(Ii.getUserLoginInfo),t.sid=t.sid?t.sid:n==null?void 0:n.sid,e(t)}catch{e(t)}})}};const yl={httpRequest:"Extention.Network.httpRequest",getLoginInfo:"Extention.Account.CurrentAccount.getLoginInfo"};function wl(e,t){let n=null;try{let r=t;if(t==null&&(r={result:t,code:!0}),t=function(o){let i,s=o;try{s=JSON.parse(o)}catch(a){i=a}if(typeof s=="object"){if(Object.prototype.hasOwnProperty.call(s,"code")&&Object.prototype.hasOwnProperty.call(s,"result")&&Object.prototype.hasOwnProperty.call(s,"errormsg"))return s;{const a={};return a.code=!s.callstatus||s.callstatus=="ok",a.errormsg=s.errormsg||"",a.result=s,a}}if(typeof s=="boolean"||typeof s=="string"||typeof s=="number"){const a={code:!0,errormsg:""};return a.result=s,a}throw i}(r),!(t!=null&&t.code))throw new Error("execute api failed");t.callstatus=t.code?"ok":"error";try{t.result=JSON.parse(t.result)}catch{}}catch(r){n=Ro(r,e,t)}return{error:n,response:t==null?void 0:t.result}}function Cl(e,...t){return new Promise((n,r)=>{var i;if(arguments.length<=0)return void r(Ro({},"",null));let o;Jo||n({});try{typeof e=="string"&&e.includes(".DocerV2")&&!((i=window==null?void 0:window.Extention)!=null&&i.DocerV2)&&(e=e.replace("DocerV2","PromeDocerV2"));for(let c=0;c<t.length;c++)if(typeof t[c]=="function"){const u=t[c];t[c]=p=>{u(wl(e,p))}}let s;s=typeof e=="function"?e:new Function(`return ${e}(...arguments)`),o=s(...t);const{error:a,response:l}=wl(e,o);a?r(a):n(l)}catch(s){r(Ro(s,e,o))}})}var Am=new class{httpRequest(e,t){return e!=null&&e.data&&typeof e.data!="string"&&(e.data=JSON.stringify(e.data)),Ws()&&(t!=null&&t.httpRequest)?t.httpRequest(e):function(n,...r){return new Promise((o,i)=>{Cl(n,...r,({error:s,response:a})=>{s?i(s):o(a)})})}(yl.httpRequest,Object.assign({timeout:1e4,type:"get",contentType:"application/json; charset=utf8"},e))}getWpsSid(){return new Promise(async e=>{const t={sid:""};try{const n=await Cl(yl.getLoginInfo);t.sid=(n==null?void 0:n.wpsSid)||""}catch{}e(t)})}};let Iu={api:Am};um||(Iu={api:Em});const{api:El}=Iu;var Zn=Ru;function Al(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var xm=Ur(function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(Zn.isURLSearchParams(t))r=t.toString();else{var o=[];Zn.forEach(t,function(s,a){s!=null&&(Zn.isArray(s)?a+="[]":s=[s],Zn.forEach(s,function(l){Zn.isDate(l)?l=l.toISOString():Zn.isObject(l)&&(l=JSON.stringify(l)),o.push(Al(a)+"="+Al(l))}))}),r=o.join("&")}if(r){var i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e});function xl(e,t){e.cancelToken&&e.cancelToken.unsubscribe(t),e.signal&&e.signal.removeEventListener("abort",t)}const km={201:403,203:404},Tm=function(e){return new Promise(async(t,n)=>{var s;const r=function(a){const l=a.data||{},c=a.headers||{},u=qs(a.baseURL,a.url),p=String(c["Content-Type"]||"application/json; charset=utf8");if(delete c["Content-Type"],a.auth){const A=a.auth.username||"",N=a.auth.password?unescape(encodeURIComponent(a.auth.password)):"";c.Authorization="Basic "+btoa(A+":"+N)}const d={url:xm(u,a.params,a.paramsSerializer),type:String(a.method).toLowerCase(),data:l,header:c,timeout:a.timeout||1e4,contentType:p,customVerb:""};if(d.type==="delete"&&(d.type="CUSTOM",d.customVerb="DELETE"),a.responseType==="arraybuffer"&&(d.isRespBase64Encode=!0),["application/ocet-stream","application/octet-stream"].includes(p)&&a.data instanceof FormData){d.header={...d.header,"Content-Type":p};const A=a.data.get("file"),N=a.data.get("base64");A?(d.file=String(A),d.contentType="binary"):N&&(d.data=String(N),d.isBase64Encode=!0,d.contentType="application/json; charset=utf8")}return d}(e);try{await(async(a,l)=>{var u;if(Hr.supportKsosid||Ws()&&((u=l.iframe)!=null&&u.httpRequest))return;const c=await El.getWpsSid();a.cookie||(a.cookie={}),l.withCredentials&&c&&c.sid?a.cookie.wps_sid=c==null?void 0:c.sid:a.cookie.wps_sid=""})(r,e)}catch(a){console.error("setWpsSidIfNeeded error:",a)}((a,l)=>{if(l!=null&&l.useCsrfToken){a.cookie||(a.cookie={});const{method:c}=l,u=ku();a.cookie[os]=u,c&&~["post","put","delete"].indexOf(c)&&(a.header[xu]=u)}})(r,e);const{onCanceled:o,isCanceled:i}=function(a,l){let c,u=!1;return(a.cancelToken||a.signal)&&(c=function(p){l(!p||p&&p.type?new Ht.CanceledError:p),u=!0},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c))),{onCanceled:c,isCanceled:u}}(e,n);El.httpRequest(r,{httpRequest:(s=e.iframe)==null?void 0:s.httpRequest}).then(a=>{if(i)throw Error("Request aborted");Cm(function(l){t(l),xl(e,o)},function(l){n(l),xl(e,o)},{data:a,config:e})}).catch(a=>{const l=Object.assign({},a==null?void 0:a.response);l.result&&!l.data&&(l.data=l.result);try{const d=JSON.parse(l.errormsg);l.networkerrorcode=d==null?void 0:d.errorcode}catch(d){console.log(d)}const c=l.networkerrorcode;l.status=km[c]||0;const u=Object.assign({},r,{status:l==null?void 0:l.status}),p=a==null?void 0:a.message;if(i)n(new Ht.AxiosError("Request aborted",Ht.AxiosError.ECONNABORTED,e,u,l));else if(typeof p=="string"&&p.toLowerCase().indexOf("timeout")>=0||p.toLowerCase().indexOf("time out")>=0||(p==null?void 0:p.errorcode)===4){let d=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const A=e.transitional;e.timeoutErrorMessage&&(d=e.timeoutErrorMessage),n(new Ht.AxiosError(d,A.clarifyTimeoutError?Ht.AxiosError.ETIMEDOUT:Ht.AxiosError.ECONNABORTED,e,u,l))}else n(new Ht.AxiosError("Network Error",Ht.AxiosError.ERR_NETWORK,e,u,l))})})};function Sm(e={}){var r;const{config:t={}}=e,n=e.useClientRequestApi||((r=window.wpsRequestConfig)==null?void 0:r.useClientRequestApi);return Jo&&(n==1||n=="auto"&&(rs(location.href)||!function(){var i,s;let o=!1;try{if(window.Extention){const a=(s=(i=window.Extention.Webview)==null?void 0:i.getUseCookie)==null?void 0:s.call(i);a!=null&&a.code&&(o=a==null?void 0:a.result.useCookie)}else o=!!ns.get("wps_sid")||Hr.supportKsosid}catch(a){console.error(a)}finally{return o}}()))?bu.create({adapter:Tm,...t}):hm(e)}Hr.checkKsoSid;Hr.supportKsosid;const Rm={useClientRequestApi:!0,config:{withCredentials:!0}},Pu=Sm(Rm);Pu.interceptors.response.use(e=>{const{data:t}=e;return t||Promise.reject({code:"STATUS ERROR"})},e=>Promise.reject(e));const Lu=e=>(Vt("data-v-333479f2"),e=e(),Kt(),e),Om={class:"layout"},Im={class:"layout-left"},Pm=["poster"],Lm=["src"],Nm={class:"layout-right"},Dm=Lu(()=>b("div",{class:"title"},[b("span",null,"WPS AI"),b("span",null,"让办公更轻松")],-1)),jm={class:"tab-wrapper"},$m=["onClick"],Mm={class:"text"},Bm={class:"sub-title"},Fm={class:"desc"},Um={class:"ai-status"},Hm=Lu(()=>b("div",{class:"text"},"已享有AI权益",-1)),zm={class:"error-text"},Wm={key:0,class:"operate"},qm={key:1,class:"operate"},Vm={key:2,class:"tip"},Km=Le({__name:"WpsAI",setup(e){const t=de(null),n=de(null),r=de(!1),o=ee(()=>Vn.value.find(w=>w.value===Et.value)),i=ee(()=>{var w;return(w=xt.value)==null?void 0:w.has_ai_privilege}),s=ee(()=>{var w;return(w=xt.value)==null?void 0:w.button_text}),a=ee(()=>{var w;return(w=xt.value)==null?void 0:w.remark}),l=ee(()=>Qe.value?i.value?"login_ai":"login_no_ai":"no_login"),c={[Zt.RECEIVE_TIMES_LIMITED]:{msg:"已享受过相关福利,不可重复领取",reason:"fail_times_limited"},[Zt.RECEIVE_MUTEX_LIMITED]:{msg:"已享受过相关福利,不可重复领取",reason:"fail_get_others"},[Zt.ELIGIBILITY_LIMI
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|M男之家

GMT+8, 2026-11-13 03:05 , Processed in 0.042992 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表