PageSourceSearch

https://www.riseart.com/fe/assets/ra-packages-feutils-BT9hW3Hl.js

js riseart.com collected 2026-10-02 04:00:32 UTC 8,266 bytes, 2 lines download raw bytes

1var O=Object.defineProperty,m=(e,n)=>O(e,"name",{value:n,configurable:!0});function E(e,n,t=1){return Array.from({length:(n-e)/t+1},(r,o)=>e+o*t)}m(E,"arrayRange");var S=Object.defineProperty,j=(e,n)=>S(e,"name",{value:n,configurable:!0});function R(){return typeof window!="undefined"&&!!(window&&window.ontouchstart!==void 0||window.navigator&&(window.navigator.msMaxTouchPoints||window.navigator.maxTouchPoints)>2)}j(R,"isTouchDevice");var B=Object.defineProperty,C=(e,n)=>B(e,"name",{value:n,configurable:!0});const T=C((e,{key:n,width:t,height:r,extension:o}={},{artDirectionConfig:s=[],maxImageDimension:i,fixedBy:f="width"}={})=>{let a={width:t,height:r};const u=f==="height"?"height":"width";if(i&&a[u]&&a[u]>i&&(a[u]=i),s&&s.length){const d=f==="height"?"width":"height";a=s.reduce((c,p)=>((!i||i>=p[u])&&a[u]<=p[u]&&(c[u]>p[u]||!c.wasFound)&&c[d]===p[d]&&(c.wasFound=!0,c[u]=p[u]),c),{...a,wasFound:!1})}return`${e}/${a.width}x${a.height}_${n}.${o}`},"generateSrc");var k=Object.defineProperty,P=(e,n)=>k(e,"name",{value:n,configurable:!0});const z=P((e,n)=>Number.isNaN(e)?(console.error(`[generateSrcSet] Art direction configuration is not setup properly. Expected fixed dimension '${n}' to have numeric value, but received ${e}`),!1):!0,"isValidFixedValue"),v=P((e,n,t,r=[],o,s="width")=>{(!r||!r.length)&&console.error("[generateSrcSet] The artDirectionConfig config property should not be empty.");const i=s==="height"?"height":"width";let f=[...r];if(o){let a=null;if(f=r.filter(u=>{const d=parseInt(String(u[i]),10);return d<o?((!a||a&&parseInt(String(a[i]),10)<d)&&(a={...u}),!0):!1}),a&&r.length!==f.length){const u=s==="width"?"height":"width";typeof a[u]=="string"&&a[u].toUpperCase()==="AUTO"&&f.push({[i]:o,[u]:"AUTO"})}}return f.map(a=>{const u=parseInt(String(a[i]),10);return z(u,i)?`${T(e,{key:n,width:a.width,height:a.height,extension:t})} ${u}w`:""})},"generateSrcSet");var N=Object.defineProperty,Y=(e,n)=>N(e,"name",{value:n,configurable:!0});const Ce=Y((e,{image:n,sizesList:t,artDirectionConfig:r})=>{const{sizes:o,defaultSrcDimension:s,fixedBy:i="width"}=t;if(!n.key)return null;const f=i!=="height",a=f?n.width:n.height,u=!s||a<s?a:s;return{src:T(e,{key:n.key,width:f?u:"AUTO",height:f?"AUTO":u,extension:n.extension},{artDirectionConfig:r,maxImageDimension:a,fixedBy:i}),srcSet:{img:v(e,n.key,n.extension,r,a,i).toString(),webp:v(e,n.key,"webp",r,a,i).toString()},sizes:o}},"generatePictureProps");var G=Object.defineProperty,L=(e,n)=>G(e,"name",{value:n,configurable:!0});function U(e="",n=!0){return e?e.replace(new RegExp(`\r?
2`,"g"),n?"<br />":"<br>"):null}L(U,"nl2br");var M=Object.defineProperty,x=(e,n)=>M(e,"name",{value:n,configurable:!0});const w=[/(#+)(.*)/,/\[([^\[]+)\]\(([^\)]+)\)/,/(\*\*|__)(.*?)\1/,/(\*|_)(.*?)\1/,/\~\~(.*?)\~\~/,/\:\"(.*?)\"\:/,/`(.*?)`/,/\n\*(.*)/,/\n[0-9]+\.(.*)/,/\n(&gt;|\>)(.*)/,/\n-{5,}/];function F(e){let n=0;const{length:t}=w;for(;n<t;){if(new RegExp(w[n]).test(e))return!0;n+=1}return!1}x(F,"isStringMarkdown");var I=Object.defineProperty,V=(e,n)=>I(e,"name",{value:n,configurable:!0});function K(e,n,t){return`${t}/${e.replace(/_/g,"/")}.${n}`}V(K,"generateUrlFromSource");var D=Object.defineProperty,W=(e,n)=>D(e,"name",{value:n,configurable:!0});function q(e){return e.replace(/^(.+?)\/*?$/,"$1")}W(q,"stripTrailingSlash");var X=Object.defineProperty,J=(e,n)=>X(e,"name",{value:n,configurable:!0});function h(e,n){if(!Array.isArray(e))return;if(typeof Array.prototype.find=="function")return e.find(n);let t;return e.some(r=>n(r)?(t=r,!0):!1),t}J(h,"find");var Q=Object.defineProperty,Z=(e,n)=>Q(e,"name",{value:n,configurable:!0});const H=Z(e=>e.replace(/([-_][a-z0-9])/g,n=>n.toUpperCase().replace("-","").replace("_","")),"snakeToCamelCase");var ee=Object.defineProperty,ne=(e,n)=>ee(e,"name",{value:n,configurable:!0});const ke=ne(e=>typeof e=="string"&&e.replace("!important","").split(";").reduce((n,t)=>{const[r,o]=t.split(":"),s=r&&H(r.trim()),i=o&&o.trim();return s&&i&&(n[s]=i),n},{}),"convertToReactStyles");var te=Object.defineProperty,re=(e,n)=>te(e,"name",{value:n,configurable:!0});function oe(e){const[n,...t]=e&&e.split(" ")||[];return{firstName:n,lastName:t.join(" ")}}re(oe,"splitName");var ie=Object.defineProperty,ae=(e,n)=>ie(e,"name",{value:n,configurable:!0});function se(e,n,t){const r=n.replace(/\D|^0{2}/g,""),s=[r.substr(0,4),r.substr(0,3),r.substr(0,2),r.substr(0,1)].reduce((i,f)=>{if(i)return i;
2const a=f&&e.filter(({matchingDialingCode:d})=>d===f)||null,u=a&&a.length||0;return u?u===1?a[0]:t&&h(a,({code:d})=>d.toLowerCase()===t.toLowerCase())||h(a,({dialingDefault:d})=>!!d)||a[0]:i},null);return s?{countryCode:s.code,dialingCode:s.dialingCode,phone:r.substr(s.dialingCode.length)}:null}ae(se,"phoneParser");var ue=Object.defineProperty,fe=(e,n)=>ue(e,"name",{value:n,configurable:!0});function de(e,n=2){const i={size:e,unit:"B"};return e>=1024&&e<1048576?(i.size=e/1024,i.unit="KB"):e>=1048576&&e<1073741824?(i.size=e/1048576,i.unit="MB"):e>=1073741824&&e<1099511627776?(i.size=e/1073741824,i.unit="GB"):e>=1099511627776&&(i.size=e/1099511627776,i.unit="TB"),{size:parseFloat(`${i.size}`).toFixed(n),unit:i.unit}}fe(de,"bytesToHuman");var ce=Object.defineProperty,le=(e,n)=>ce(e,"name",{value:n,configurable:!0});function pe(e,n,t=0){return Number((100*(1-e/n)).toFixed(t))}le(pe,"calcPercentDifference");var _e=Object.defineProperty,he=(e,n)=>_e(e,"name",{value:n,configurable:!0});function ge(e){return new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)}
2he(ge,"isAbsoluteUrl");var be=Object.defineProperty,$e=(e,n)=>be(e,"name",{value:n,configurable:!0});function Ae(e){const n=e?Object.keys(e):[];return n.length?n.reduce((t,r,o)=>{if(r){const s=encodeURIComponent(`${r}${e[r]?`=${e[r]}`:""}`);return`${t}${o>0?"&":"#"}${s}`}return t},""):""}$e(Ae,"stringifyHash");var ve=Object.defineProperty,we=(e,n)=>ve(e,"name",{value:n,configurable:!0});function ye(e,n,t){if(n<0||n>=e.length||t<0||t>=e.length||n===t)return e;const r=e[n],o=[...e.slice(0,n),...e.slice(n+1)];return[...o.slice(0,t),r,...o.slice(t)]}we(ye,"moveArrayItem");var Te=Object.defineProperty,l=(e,n)=>Te(e,"name",{value:n,configurable:!0});function g(e,n){return Object.keys(n).reduce((t,r)=>{if(t.found)return t;const o=n[r];if(t.result=[...t.result,r],r===e)return t.found=!0,t;if(o&&Object.keys(o).length){const s=g(e,o);return{result:[...t.result,...s.result],found:s.found}}return t},{result:[],found:!1})}l(g,"findIncludedRoles");function b(e,n){const t=g(e,n);return t.found?t.result:[]}l(b,"listIncludedRoles");function $(e,n,t="disallow"){return Object.keys(n).reduce((r,o)=>{const s=n[o];return r[o]=e[o]||t,s&&Object.keys(s).length?{...r,...$(e,s,r[o])}:r},{})}l($,"flattenRoles");function A(e,n,t="*"){return n.indexOf(t)!==-1||n.indexOf(e)!==-1}l(A,"isRoleInList");function _(e,n,t){if(Array.isArray(e)){if(!e.length||!n)return!1;if(A(n,e))return!0;const r=b(n,t);return e.some(o=>r.indexOf(o)!==-1)}return e&&typeof e=="object"?e[n]==="allow"?!0:$(e,t)[n]==="allow":!1}l(_,"isRoleAllowedForACL");function Pe(e,n,t,r=null){return r?_(r,e,t):n?_(n,e,t):!1}l(Pe,"canUserAccessRoute");var Oe=Object.defineProperty,y=(e,n)=>Oe(e,"name",{value:n,configurable:!0});const ze=y(({role:e,resourcePermissions:n,rolesHierarchy:t})=>{if(n){const o=Array.isArray(n)?n:typeof n=="string"?[n]:n;return{isAllowed:_(o,e,t)}}const r=b(e,t)||[];return{allowedRoles:r,checkAclAccess:y(o=>A(o,r),"checkAclAccess")}},"useAclAccess");var me=Object.defineProperty,Ee=(e,n)=>me(e,"name",{value:n,configurable:!0});function Se(e="",n=!1){if(typeof document=="undefined")return;const r=document&&document.body&&document.body.className||"",o=r.indexOf(e)!==-1;o&&!n?document.body.className=r.replace(e,""):!o&&n&&(document.body.className=[...r.split(""),e].join(""))}Ee(Se,"addBodyClassName");var je=Object.defineProperty,Re=(e,n)=>je(e,"name",{value:n,configurable:!0});function Be(e){return new Date(new Date(e).getTime()+new Date().getTimezoneOffset()*60*1e3)}Re(Be,"convertUTCToLocal");export{E as a,Ae as b,_ as c,ge as d,R as e,h as f,K as g,Ce as h,F as i,T as j,Se as k,oe as l,pe as m,U as n,Be as o,se as p,ke as q,Pe as r,q as s,ze as u};

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.