Files
ccdi/doc/other/纪检初核系统-离线演示包/mb-proto2/preview-html-zip-40b1c65b44de21c4ab8a.js

3 lines
46 KiB
JavaScript
Raw Normal View History

2026-01-27 17:09:32 +08:00
try{let oe=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},ce=new oe.Error().stack;ce&&(oe._sentryDebugIds=oe._sentryDebugIds||{},oe._sentryDebugIds[ce]="aae742b7-f41d-4665-aba4-81f1ace84e67",oe._sentryDebugIdIdentifier="sentry-dbid-aae742b7-f41d-4665-aba4-81f1ace84e67")}catch(oe){}{let oe=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};oe.SENTRY_RELEASE={id:"22.14.4"}}(()=>{"use strict";var oe={9820:r=>{r.exports=html2canvas},12603:(r,v,e)=>{e.d(v,{W:()=>o,p:()=>l});let o=function(n){return n.Org="org",n.OrgSpace="space",n.Folder="folder",n.Project="project",n}({}),l=function(n){return n.OrgSpace="orgspace-permission-tip",n.OrgSpaceLimiter="orgspace-limiter-permission-tip",n.RootFolder="root-folder-permission-tip",n.SubFolder="sub-folder-permission-tip",n.Project="project-permission-tip",n}({})},16700:r=>{r.exports=canvg},18183:(r,v,e)=>{e.d(v,{Dw:()=>l,H:()=>a,QQ:()=>R,X9:()=>C,o$:()=>o});const o="/proto",l=L=>o+"/"+L,n=L=>{const O=/^\/proto\/design\/(?:([^/]+?))$/i.exec(L);return O?O[1]:new Error("project cid error")},a=L=>{let{search:O,pathname:_}=L;if(_.includes("/sharing"))return _.includes("dashboard")||_.includes("htmlzip")?_.split("/").at(-3):_.includes("embed/v2")?location.pathname.split("/").at(-4):_.split("/").at(-2);{const w=new URLSearchParams(O).get("token");if(w)return w;const j=/^\/proto\/([^/]+?)(?:\/forum|\/uichina|\/embed|\/embed\/v2|\/htmlzip|\/sharing|\/ro)?\/?$/i.exec(_);return j?j[1]:""}},A=L=>{let{pathname:O}=L;const _=/^\/proto\/design\/([^/]+)\/?$/i.exec(O);return _?_[1]:""},C=L=>{let{search:O,pathname:_}=L;return a({search:O,pathname:_})||A({pathname:_})},R="/p2mkt_view",k=L=>R+"/"+L,y=L=>/^\/p2mkt_view\/(?:([^/]+?))$/i.exec(L)[1]},23767:(r,v,e)=>{e.d(v,{Bf:()=>y,Ff:()=>l,xZ:()=>n});var o=e(88987);const l=Symbol("PROJECT_VERSION_AUTO_SAVE"),n=Symbol("PROJECT_VERSION_SAVE"),a=Symbol("PROJECT_ENTRY_DESIGN"),A=Symbol("PROJECT_ENTRY_PREVIEW"),C=Symbol("PROJECT_ENTRY_SHARE"),R={[l]:1013,[n]:1014,[a]:1017,[A]:1018,[C]:1019},k={[l]:4,[n]:4,[a]:6,[A]:6,[C]:6},y=async(L,O)=>{await(0,o.VX)({actionType:k[L],action:R[L],orgCid:O.orgCid,extra:{user_name:O.userName,project_name:O.projectName}})}},33236:(r,v,e)=>{e.d(v,{l:()=>n,r:()=>l});var o=e(67787);const l=(0,o.DU)(["::-webkit-scrollbar-track{background-color:transparent;}::-webkit-scrollbar{width:4px;height:4px;border-radius:4px;}::-webkit-scrollbar-thumb{background-color:",";border-radius:4px;&:hover{background-color:",";}}::-webkit-scrollbar-corner{background-color:transparent;}.widget.panel{::-webkit-scrollbar-thumb{background-color:#d2d2d8;&:hover{background-color:",";}}}"],a=>a.theme.color_bg_border_02,a=>a.theme.color_background_split_hover,a=>a.theme.color_background_split_hover),n=(0,o.DU)([".ModalPortal,.CoreModalPortal,.OverlayPortal{min-width:initial !important;}"])},42459:(r,v,e)=>{e.d(v,{$G:()=>Z,Op:()=>w,Uj:()=>O,XB:()=>l,be:()=>a,fQ:()=>L,nK:()=>n,u5:()=>A});const o=(t,s,i)=>{if(t[s]===i)return t;const c=[...t];return c[s]=i,c},l=(t,s)=>s>=0&&s<=t.length-1?[...t.slice(0,s),...t.slice(s+1)]:t,n=(t,s,i)=>[...t.slice(0,s),i,...t.slice(s)],a=(t,s,i)=>i===s?t:i<s?[...t.slice(0,i),...t.slice(i+1,s+1),t[i],...t.slice(s+1)]:[...t.slice(0,s),t[i],...t.slice(s,i),...t.slice(i+1)],A=(t,s)=>[...t,s],C=(t,s)=>[s,...t],R=t=>{if(t.length===0)return t;const s=[...t];return s.pop(),s},k=t=>{if(t.length===0)return t;const s=[...t];return s.shift(),s},y=(t,s)=>s&&s.length?[...t,...s]:t,L=(t,s)=>t.includes(s)?t:[...t,s],O=(t,s)=>{const i=t.indexOf(s);return~i?[...t.slice(0,i),...t.slice(i+1)]:t},_=(t,s,i)=>{const c=t.indexOf(i);return~c?a(t,s,c):t},w=(t,s)=>{const i=t.findIndex(s);return~i?[...t.slice(0,i),...t.slice(i+1)]:t},j=(t,s,i)=>{const c=t.findIndex(s);return~c?a(t,i,c):t},Z=(t,s,i)=>{const c=t.findIndex(s);if(!~c||t[c]===i)return t;const d=[...t];return d[c]=i,d},q=(t,s,i)=>{const c=t.findIndex(s);if(!~c)return[...t,i];if(t[c]===i)return t;const d=[...t];return d[c]=i,d},F=(t,s,i)=>t.find(s)===void 0?[...t,i]:t,f=(t,s)=>{const i=[];
//# sourceMappingURL=preview-html-zip-40b1c65b44de21c4ab8a.js.map