PageSourceSearch

https://static.szwego.com/wsxc_album/js/1055.e6bf1708.js

js szwego.com collected 2026-10-04 00:19:28 UTC 16,897 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkwsxc_album"]=self["webpackChunkwsxc_album"]||[]).push([[1055],{69267:function(e){e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t=e(n);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t}).join("")},n.i=function(e,t,r){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var u=this[i][0];null!=u&&(o[u]=!0)}for(var c=0;c<e.length;c++){var a=[].concat(e[c]);r&&o[a[0]]||(t&&(a[2]?a[2]="".concat(t," and ").concat(a[2]):a[2]=t),n.push(a))}},n}},11917:function(e,n,t){t.d(n,{AN:function(){return o.A},Dt:function(){return r.Dt},dH:function(){return r.dH},hI:function(){return i}});var r=t(55256),o=(t(29579),t(95376),t(10390)),i="/team/api/v3/right/staff/getFunctionList"},33096:function(e,n,t){function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now(),n=new Date(e),t=n.getFullYear(),r=n.getMonth()+1,o=n.getDate(),i=n.getDay(),u=n.getHours(),c=n.getMinutes(),a=n.getSeconds();return{year:t,month:r,day:o,weekDay:i,hour:u,minute:c,second:a}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now(),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y-m-d",t=r(e),o=t.year,i=t.month,u=t.day,c=t.hour,a=t.minute,l=t.second;return n.replace(/y|m|d|h|i|s/gi,function(e){return{y:o,m:f(i),d:f(u),h:f(c),i:f(a),s:f(l)}[e]});function f(e){return e<10?"0".concat(e):e}}t.d(n,{i$:function(){return o}})},52498:function(e,n,t){t.d(n,{$N:function(){return q},$i:function(){return H},Ey:function(){return s},F5:function(){return z},GG:function(){return _},Gd:function(){return S},H0:function(){return j},H1:function(){return L},JL:function(){return b},NQ:function(){return F},OS:function(){return V},PU:function(){return T},QC:function(){return k},Uq:function(){return N},YT:function(){return h},ZU:function(){return l},_n:function(){return C},aq:function(){return $},b2:function(){return d},cb:function(){return p},e7:function(){return f},eL:function(){return D},f0:function(){return v},f5:function(){return g},g6:function(){return m},ip:function(){return G},jh:function(){return R},kq:function(){return Y},mN:function(){return y},mb:function(){return A},nX:function(){return E},pf:function(){return w},qK:function(){return O},qf:function(){return U},rE:function(){return a},rU:function(){return x},vm:function(){return M},wD:function(){return P}});var r=isMobile.AppClient(),o=isMobile.AppAndroid(),i=isMobile.AppIOS(),u=isMobile.AppHarmonyNEXT_OS(),c=isMobile.WegoAlbumPC(),a=+getPar("version"),l=!(r&&a<2840),f=r&&a>=2850,s=f,p=!(o&&a<2850),d=r&&a>=2860,h=!(r&&a<2870),v=r&&a>=2910,b=!r||a>=2910,y=!(r&&a<2930),m=o&&a>=2950||i&&a>=2955,g=!(r&&a<2960),w=r&&a>=2964,_=!r,A=!1,O=!1,S=r&&a>=2980,j=o||i&&a>=5250,C=!1,k=!(r&&a<=2950),G=3090,x=r&&a>=3195,T=r&&a>=3220,E=!r||a>=3230,M=r&&a>=5040,N=c&&window.pcGetVersion()>=1490,D=c&&window.pcGetVersion()>=1630,P=isMobile.WegoAlbumPC()&&window.pcGetVersion()>=1700,F=o&&a>=5390&&a<5480,R=o&&a>=5281,H=o&&a>=5340||i&&a>=5330,U=r&&a>=5472,$=!u&&!(r&&a<5520),z=!u&&!(r&&a<5551),V=r&&a>=5580,q=r&&a>=5580&&!u;function L(e){if(!e||Object.keys(e).length<=0)return!1;var n;if(o&&(n=e.androidVersion),i&&(n=e.iosVersion),!n||!Array.isArray(n)||n.length<=0)return!1;var t=n.find(function(e){return!(!Array.isArray(e)||e.length<=0)&&(1===e.length?a===e[0]:e.length>1&&(-1===e[1]?a>=e[0]:a>=e[0]&&a<=e[1]))});return t}function X(){r?GetAppData("appMulSourceVersion",function(e){var n;e&&(O=L(null===(n=JSON.parse(e))||void 0===n?void 0:n.batchShareConfig))}):O=!0}function I(){if(r){if(u)return void(_=!0);GetAppData("appMulSourceVersion",function(e){e&&(_=L(JSON.parse(e)))})}else _=!0}function J(){r&&(u?A=!0:GetAppData("appMulSourceVersion",function(e){e&&(A=L(JSON.parse(e)))}))}var Y=function(){I(),J(),X()}},9213:function(e,n,t){t.r(n),t.d(n,{default:function(){return U}});var r,o,i=t(98681),u=t(10020),c=t(41594),a=t(75117),l=t(66399),f=t(31348),s=t(34808),p=t(81240),d=t(52498),h=t(11917),v=t(27924),b=t(89735),y=t(85072),m=t.n(y),g=t(86262),w={insert:"head",singleton:!1},_=(m()(g.A,w),g.A.locals||{}),A=t(18809);function O(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,n,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",o=t.toStringTag||"@@toStringTag";function i(t,r,o,i){var a=r&&r.prototype instanceof c?r:c,l=Object.create(a.prototype);return S(l,"_invoke",function(t,r,o){var i,c,a,l=0,f=o||[],s=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(n,t){return i=n,c=0,a=e,p.n=t,u}};function d(t,r){for(c=t,a=r,n=0;!s&&l&&!o&&n<f.length;n++){var o,i=f[n],d=p.p,h=i[2];t>3?(o=h===r)&&(a=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=t<2&&d<i[1])?(c=0,p.v=r,p.n=i[1]):d<h&&
1(o=t<3||i[0]>r||r>h)&&(i[4]=t,i[5]=r,p.n=h,c=0))}if(o||t>1)return u;throw s=!0,r}return function(o,f,h){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&d(f,h),c=f,a=h;(n=c<2?e:a)||!s;){i||(c?c<3?(c>1&&(p.n=-1),d(c,a)):p.n=a:p.v=a);try{if(l=2,i){if(c||(o="next"),n=i[o]){if(!(n=n.call(i,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,c<2&&(c=0)}else 1===c&&(n=i.return)&&n.call(i),c<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((n=(s=p.n<0)?a:t.call(r,p))!==u)break}catch(n){i=e,c=1,a=n}finally{l=1}}return{value:n,done:s}}}(t,o,i),!0),l}var u={};function c(){}function a(){}function l(){}n=Object.getPrototypeOf;var f=[][r]?n(n([][r]())):(S(n={},r,function(){return this}),n),s=l.prototype=c.prototype=Object.create(f);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,S(e,o,"GeneratorFunction")),e.prototype=Object.create(s),e}return a.prototype=l,S(s,"constructor",l),S(l,"constructor",a),a.displayName="GeneratorFunction",S(l,o,"GeneratorFunction"),S(s),S(s,o,"Generator"),S(s,r,function(){return this}),S(s,"toString",function(){return"[object Generator]"}),(O=function(){return{w:i,m:p}})()}function S(e,n,t,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}S=function(e,n,t,r){function i(n,t){S(e,n,function(e){return this._invoke(n,t,e)})}n?o?o(e,n,{value:t,enumerable:!r,configurable:!r,writable:!r}):e[n]=t:(i("next",0),i("throw",1),i("return",2))},S(e,n,t,r)}var j=p.Basics.Common.getUrl,C={1:{label:"保留最近1个月"},2:{label:"保留最近2个月"},3:{label:"保留最近3个月"},4:{label:"保留最近4个月"},5:{label:"保留最近5个月"},6:{label:"保留最近6个月"},7:{label:"保留最近7个月"},8:{label:"保留最近8个月"},9:{label:"保留最近9个月"},10:{label:"保留最近10个月"},11:{label:"保留最近11个月"},12:{label:"保留最近1年"},24:{label:"保留最近2年"},36:{label:"保留最近3年"}},k="去清理",G=l.$platform.AppClient(),x=d.rE<d.ip,T=null===(r=window)||void 0===r||null===(o=r.permissionMap)||void 0===o?void 0:o["page-album-/album/recent_delete"],E=isMobile.AppHarmonyNEXT_OS(),M=!T||!(null===T||void 0===T||!T.enable),N=M,D=function(){var e=(0,c.useState)(k),n=(0,u.A)(e,2),t=n[0],r=n[1],o=(0,c.useState)(!1),a=(0,u.A)(o,2),f=a[0],p=a[1],d=(0,c.useState)(!1),b=(0,u.A)(d,2),y=b[0],m=b[1],g=(0,v.p)(),w=g.totalCount,S=void 0===w?0:w,j=g.getRecycleNoteCount,G=N&&f&&!E;return(0,c.useEffect)(function(){setHtmlTitle("整理相册");var e=function(){var e=(0,i.A)(O().m(function e(n){var t,o,i,u,c,a,f,s,p;return O().w(function(e){while(1)switch(e.p=e.n){case 0:return e.p=0,e.n=1,l.$http.get(n?"/recyclebin/api/v3/smartClear/config/getCompatibleConfig":"/album/api/v3/smartDelete/query",{},{handleError:!1});case 1:if(t=e.v,o=t.errcode,i=t.result,0===o){e.n=2;break}return e.a(2);case 2:u=i.isOpen,c=i.howLong,a=C[c]||{},f=a.label,s=void 0===f?k:f,u&&r(s),e.n=4;break;case 3:e.p=3,p=e.v,console.error("getSmartSetting",p);case 4:return e.a(2)}},e,null,[[0,3]])}));return function(n){return e.apply(this,arguments)}}(),n=function(){var e=(0,i.A)(O().m(function e(){var n,t,r,o,i,u;return O().w(function(e){while(1)switch(e.p=e.n){case 0:return e.p=0,e.n=1,l.$http.get(h.AN.shop.entryRecentGoods,{},{handleError:!1});case 1:if(n=e.v,t=n.errcode,r=n.result,o=void 0!==r&&r,i=0!==t,!i){e.n=2;break}return e.a(2);case 2:p(o),e.n=4;break;case 3:e.p=3,u=e.v,console.error("getEntryRecentDelete",u);case 4:return e.a(2)}},e,null,[[0,3]])}));return function(){return e.apply(this,arguments)}}(),t=function(){var n=(0,i.A)(O().m(function n(){var t,r,o;return O().w(function(n){while(1)switch(n.n){case 0:return n.n=1,(0,s.j)();case 1:t=n.v,r=t.isGrayUser,o=void 0!==r&&r,m(o),e(o);case 2:return n.a(2)}},n)}));return function(){return n.apply(this,arguments)}}();return j(),t(),n(),window.activityResume=(0,i.A)(O().m(function n(){var t,r,o;return O().w(function(n){while(1)switch(n.n){case 0:return n.n=1,(0,s.j)();case 1:t=n.v,r=t.isGrayUser,o=void 0!==r&&r,m(o),e(o);case 2:return n.a(2)}},n)})),function(){window.activityResume=null}},[]),(0,A.jsxs)("div",{className:_.batch_delete,children:[(0,A.jsx)(l.CellGroup,{className:_.cell_group,children:(0,A.jsx)(l.Cell,{navigator:!0,title:"云空间清理",remark:"🔥清理无效产品,提升找款效率",onClick:function(){F(y)},children:t})}),(0,A.jsxs)(l.CellGroup,{className:_.cell_group,children:[(0,A.jsx)(l.Cell,{navigator:!0,title:"批量删除",onClick:P}),G&&(0,A.jsx)(l.Cell,{navigator:!0,title:"回收站",onClick:H,children:String(S)})]}),(0,A.jsx)(l.CellGroup,{className:_.cell_group,children:(0,A.jsx)(l.Cell,{navigator:!0,title:"批量上下架",onClick:R})})]})};function P(){f.nY({settings_name:"批量删除"}),_wx.isMiniapp()?window.location.href=j({hash:"#manual_delete?referrer_title=整理相册"}):window.location.href="?t=".concat(Date.now(),"&navigatorType=2#manual_delete?referrer_title=整理相册")}function F(e){f.nY({settings_name:"智能删除"}),e?_wx.isMiniapp()?window.location.href=j({hash:"#capacity_cleaning?smart_delete=1&referrer_title=整理相册"}):window.location.href=G?"?t=".concat(Date.now(),"&navigatorType=2#capacity_cleaning?smart_delete=1&referrer_title=整理相册"):"#capacity_cleaning?smart_delete=1&referrer_title=整理相册&navigatorType=2":window.location.href=j({hash:"#smart_delete?referrer_title=整理相册"})}function R(){f.nY({settings_name:"批量上下架"}),location.href=j({hash:"#batch_rack"})}function H(){if((0,b.D8)(),G)return E?void(0,l.$toast)({title:"功能正在加班加点开发中^_^"}):x?void(0,l.$toast)({title:"当前版本不支持,请升级后使用"}):void appShare(201,{url:"?navigatorType=2#/album/recent_delete"});(0,l.$toast)({title:"暂不支持,请前往APP查看"})}var U=(0,a.observer)(D)},35181:function(e,n,t){t.d(n,{A:function(){return a}});var r,o=t(95627),i=t(63887),u=t(56107),c=t(6279),a=(r=function(){function e(){(0,o.A)(this,e)}return(0,i.A)(e,[{key:"setState",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};
1Object.keys(n).forEach(function(t){((0,c.has)(e,t)||"function"!==typeof n[t]&&e.hasOwnProperty(t))&&(e[t]=n[t])})}}])}(),(0,u.A)(r.prototype,"setState",[c.action],Object.getOwnPropertyDescriptor(r.prototype,"setState"),r.prototype),r)},86262:function(e,n,t){var r=t(69267),o=t.n(r),i=o()(function(e){return e[1]});i.push([e.id,".batch_delete-module_batch_delete_9CX7g .batch_delete-module_cell_group_GpOFw{margin-top:12px}.batch_delete-module_batch_delete_9CX7g .batch_delete-module_cell_group_GpOFw+.batch_delete-module_cell_group_GpOFw{margin-top:16px}",""]),i.locals={batch_delete:"batch_delete-module_batch_delete_9CX7g",cell_group:"batch_delete-module_cell_group_GpOFw"},n.A=i},85072:function(e,n,t){var r=function(){var e;return function(){return"undefined"===typeof e&&(e=Boolean(window&&document&&document.all&&!window.atob)),e}}(),o=function(){var e={};return function(n){if("undefined"===typeof e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(r){t=null}e[n]=t}return e[n]}}(),i=[];function u(e){for(var n=-1,t=0;t<i.length;t++)if(i[t].identifier===e){n=t;break}return n}function c(e,n){for(var t={},r=[],o=0;o<e.length;o++){var c=e[o],a=n.base?c[0]+n.base:c[0],l=t[a]||0,f="".concat(a," ").concat(l);t[a]=l+1;var s=u(f),p={css:c[1],media:c[2],sourceMap:c[3]};-1!==s?(i[s].references++,i[s].updater(p)):i.push({identifier:f,updater:v(p,n),references:1}),r.push(f)}return r}function a(e){var n=document.createElement("style"),r=e.attributes||{};if("undefined"===typeof r.nonce){var i=t.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach(function(e){n.setAttribute(e,r[e])}),"function"===typeof e.insert)e.insert(n);else{var u=o(e.insert||"head");if(!u)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");u.appendChild(n)}return n}function l(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}var f=function(){var e=[];return function(n,t){return e[n]=t,e.filter(Boolean).join("\n")}}();function s(e,n,t,r){var o=t?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(n,o);else{var i=document.createTextNode(o),u=e.childNodes;u[n]&&e.removeChild(u[n]),u.length?e.insertBefore(i,u[n]):e.appendChild(i)}}function p(e,n,t){var r=t.css,o=t.media,i=t.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!==typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var d=null,h=0;function v(e,n){var t,r,o;if(n.singleton){var i=h++;t=d||(d=a(n)),r=s.bind(null,t,i,!1),o=s.bind(null,t,i,!0)}else t=a(n),r=p.bind(null,t,n),o=function(){l(t)};return r(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;r(e=n)}else o()}}
1e.exports=function(e,n){n=n||{},n.singleton||"boolean"===typeof n.singleton||(n.singleton=r()),e=e||[];var t=c(e,n);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<t.length;r++){var o=t[r],a=u(o);i[a].references--}for(var l=c(e,n),f=0;f<t.length;f++){var s=t[f],p=u(s);0===i[p].references&&(i[p].updater(),i.splice(p,1))}t=l}}}},56107:function(e,n,t){function r(e,n,t,r,o){var i={};return Object.keys(r).forEach(function(e){i[e]=r[e]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=t.slice().reverse().reduce(function(t,r){return r(e,n,t)||t},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,n,i),i=null),i}t.d(n,{A:function(){return r}})},95627:function(e,n,t){function r(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}t.d(n,{A:function(){return r}})},63887:function(e,n,t){function r(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,n,t){return n&&r(e.prototype,n),t&&r(e,t),e}t.d(n,{A:function(){return o}})},52100:function(e,n,t){function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{A:function(){return r}})},83763:function(e,n,t){t.d(n,{A:function(){return o}});var r=t(55280);function o(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&(0,r.A)(e,n)}},51237:function(e,n,t){function r(e,n,t,r){t&&Object.defineProperty(e,n,{enumerable:t.enumerable,configurable:t.configurable,writable:t.writable,value:t.initializer?t.initializer.call(r):void 0})}t.d(n,{A:function(){return r}})},60738:function(e,n,t){function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}t.d(n,{A:function(){return r}})},3846:function(e,n,t){function r(e){return r="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},r(e)}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,n){return!n||"object"!==r(n)&&"function"!==typeof n?o(e):n}t.d(n,{A:function(){return i}})},55280:function(e,n,t){function r(e,n){return r=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},r(e,n)}t.d(n,{A:function(){return r}})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.