PageSourceSearch

https://standardworks.ai/_next/static/chunks/4967.b7a46e20a4cb8a70.js

js standardworks.ai collected 2026-10-05 14:31:56 UTC 10,811 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4967],{16757:(t,e,n)=>{n.d(e,{A:()=>u});var r=n(34954);function i(t){return function(){return t}}function o(t){return(t()-.5)*1e-6}function s(t){return t.x+t.vx}function h(t){return t.y+t.vy}function u(t){var e,n,u,l=1,a=1;function f(){for(var t,i,f,d,p,_,v,x=e.length,y=0;y<a;++y)for(t=0,i=(0,r.A)(e,s,h).visitAfter(c);t<x;++t)v=(_=n[(f=e[t]).index])*_,d=f.x+f.vx,p=f.y+f.vy,i.visit(g);function g(t,e,n,r,i){var s=t.data,h=t.r,a=_+h;if(s){if(s.index>f.index){var c=d-s.x-s.vx,x=p-s.y-s.vy,y=c*c+x*x;y<a*a&&(0===c&&(y+=(c=o(u))*c),0===x&&(y+=(x=o(u))*x),y=(a-(y=Math.sqrt(y)))/y*l,f.vx+=(c*=y)*(a=(h*=h)/(v+h)),f.vy+=(x*=y)*a,s.vx-=c*(a=1-a),s.vy-=x*a)}return}return e>d+a||r<d-a||n>p+a||i<p-a}}function c(t){if(t.data)return t.r=n[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function d(){if(e){var r,i,o=e.length;for(r=0,n=Array(o);r<o;++r)n[(i=e[r]).index]=+t(i,r,e)}}return"function"!=typeof t&&(t=i(null==t?1:+t)),f.initialize=function(t,n){e=t,u=n,d()},f.iterations=function(t){return arguments.length?(a=+t,f):a},f.strength=function(t){return arguments.length?(l=+t,f):l},f.radius=function(e){return arguments.length?(t="function"==typeof e?e:i(+e),d(),f):t},f}},26497:(t,e,n)=>{n.d(e,{N:()=>g});var r=n(95155),i=n(12115),o=n(60296),s=n(94416),h=n(86553),u=n(59686),l=n(81402),a=n(53127);function f(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class c extends i.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,n=(0,l.s)(t)&&t.offsetWidth||0,r=(0,l.s)(t)&&t.offsetHeight||0,i=this.props.sizeRef.current;i.height=e.offsetHeight||0,i.width=e.offsetWidth||0,i.top=e.offsetTop,i.left=e.offsetLeft,i.right=n-i.width-i.left,i.bottom=r-i.height-i.top}return null}componentDidUpdate(){}render(){return this.props.children}}function d(t){var e,n;let{children:o,isPresent:s,anchorX:h,anchorY:u,root:l,pop:d}=t,p=(0,i.useId)(),_=(0,i.useRef)(null),v=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:x}=(0,i.useContext)(a.Q),y=function(...t){return i.useCallback(function(...t){return e=>{let n=!1,r=t.map(t=>{let r=f(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<r.length;e++){let n=r[e];"function"==typeof n?n():f(t[e],null)}}}}(...t),t)}(_,null!=(n=null==(e=o.props)?void 0:e.ref)?n:null==o?void 0:o.ref);return(0,i.useInsertionEffect)(()=>{let{width:t,height:e,top:n,left:r,right:i,bottom:o}=v.current;if(s||!1===d||!_.current||!t||!e)return;_.current.dataset.motionPopId=p;let a=document.createElement("style");x&&(a.nonce=x);let f=null!=l?l:document.head;return f.appendChild(a),a.sheet&&a.sheet.insertRule('\n          [data-motion-pop-id="'.concat(p,'"] {\n            position: absolute !important;\n            width: ').concat(t,"px !important;\n            height: ").concat(e,"px !important;\n            ").concat("left"===h?"left: ".concat(r):"right: ".concat(i),"px !important;\n            ").concat("bottom"===u?"bottom: ".concat(o):"top: ".concat(n),"px !important;\n          }\n        ")),()=>{f.contains(a)&&f.removeChild(a)}},[s]),(0,r.jsx)(c,{isPresent:s,childRef:_,sizeRef:v,pop:d,children:!1===d?o:i.cloneElement(o,{ref:y})})}let p=t=>{let{children:e,initial:n,isPresent:o,onExitComplete:h,custom:l,presenceAffectsLayout:a,mode:f,anchorX:c,anchorY:p,root:v}=t,x=(0,s.M)(_),y=(0,i.useId)(),g=!0,m=(0,i.useMemo)(()=>(g=!1,{id:y,initial:n,isPresent:o,custom:l,onExitComplete:t=>{for(let e of(x.set(t,!0),x.values()))if(!e)return;h&&h()},register:t=>(x.set(t,!1),()=>x.delete(t))}),[o,x,h]);return a&&g&&(m={...m}),(0,i.useMemo)(()=>{x.forEach((t,e)=>x.set(e,!1))},[o]),i.useEffect(()=>{o||x.size||!h||h()},[o]),e=(0,r.jsx)(d,{pop:"popLayout"===f,isPresent:o,anchorX:c,anchorY:p,root:v,children:e}),(0,r.jsx)(u.t.Provider,{value:m,children:e})};function _(){return new Map}var v=n(75601);let x=t=>t.key||"";function y(t){let e=[];return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&e.push(t)}),e}let g=t=>{let{children:e,custom:n,initial:u=!0,onExitComplete:l,presenceAffectsLayout:a=!0,mode:f="sync",propagate:c=!1,anchorX:d="left",anchorY:_="top",root:g}=t,[m,w]=(0,v.xQ)(c),N=(0,i.useMemo)(()=>y(e),[e]),k=c&&!m?[]:N.map(x),M=(0,i.useRef)(!0),A=(0,i.useRef)(N),E=(0,s.M)(()=>new Map),b=(0,i.useRef)(new Set),[C,R]=(0,i.useState)(N),[P,j]=(0,i.useState)(N);(0,h.E)(()=>{M.current=!1,A.current=N;for(let t=0;t<P.length;t++){let e=x(P[t]);k.includes(e)?(E.delete(e),b.current.delete(e)):!0!==E.get(e)&&E.set(e,!1)}},[P,k.length,k.join("-")]);let z=[];if(N!==C){let t=[...N];for(let e=0;e<P.length;e++){let n=P[e],r=x(n);k.includes(r)||(t.splice(e,0,n),z.push(n))}return"wait"===f&&z.length&&(t=z),j(y(t)),R(N),null}let{forceRender:I}=(0,i.useContext)(o.L);return(0,r.jsx)(r.Fragment,{children:P.map(t=>{let e=x(t),i=(!c||!!m)&&(N===P||k.includes(e));return(0,r.jsx)(p,{isPresent:i,initial:(!M.current||!!u)&&void 0,custom:n,presenceAffectsLayout:a,mode:f,root:g,onExitComplete:i?void 0:()=>
1{if(b.current.has(e)||(b.current.add(e),!E.has(e)))return;E.set(e,!0);let t=!0;E.forEach(e=>{e||(t=!1)}),t&&(null==I||I(),j(A.current),c&&(null==w||w()),l&&l())},anchorX:d,anchorY:_,children:t},e)})})}},34954:(t,e,n)=>{function r(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,o,s,h,u,l,a,f,c,d=t._root,p={data:r},_=t._x0,v=t._y0,x=t._x1,y=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((l=e>=(o=(_+x)/2))?_=o:x=o,(a=n>=(s=(v+y)/2))?v=s:y=s,i=d,!(d=d[f=a<<1|l]))return i[f]=p,t;if(h=+t._x.call(null,d.data),u=+t._y.call(null,d.data),e===h&&n===u)return p.next=d,i?i[f]=p:t._root=p,t;do i=i?i[f]=[,,,,]:t._root=[,,,,],(l=e>=(o=(_+x)/2))?_=o:x=o,(a=n>=(s=(v+y)/2))?v=s:y=s;while((f=a<<1|l)==(c=(u>=s)<<1|h>=o));return i[c]=d,i[f]=p,t}function i(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function o(t){return t[0]}function s(t){return t[1]}function h(t,e,n){var r=new u(null==e?o:e,null==n?s:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function u(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function l(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}n.d(e,{A:()=>h});var a=h.prototype=u.prototype;a.copy=function(){var t,e,n=new u(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=l(r),n;for(t=[{source:r,target:n._root=[,,,,]}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=[,,,,]}):r.target[i]=l(e));return n},a.add=function(t){let e=+this._x.call(null,t),n=+this._y.call(null,t);return r(this.cover(e,n),e,n,t)},a.addAll=function(t){var e,n,i,o,s=t.length,h=Array(s),u=Array(s),l=1/0,a=1/0,f=-1/0,c=-1/0;for(n=0;n<s;++n)!(isNaN(i=+this._x.call(null,e=t[n]))||isNaN(o=+this._y.call(null,e)))&&(h[n]=i,u[n]=o,i<l&&(l=i),i>f&&(f=i),o<a&&(a=o),o>c&&(c=o));if(l>f||a>c)return this;for(this.cover(l,a).cover(f,c),n=0;n<s;++n)r(this,h[n],u[n],t[n]);return this},a.cover=function(t,e){if(isNaN(t*=1)||isNaN(e*=1))return this;var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,o=(r=Math.floor(e))+1;else{for(var s,h,u=i-n||1,l=this._root;n>t||t>=i||r>e||e>=o;)switch(h=(e<r)<<1|t<n,(s=[,,,,])[h]=l,l=s,u*=2,h){case 0:i=n+u,o=r+u;break;case 1:n=i-u,o=r+u;break;case 2:i=n+u,r=o-u;break;case 3:n=i-u,r=o-u}this._root&&this._root.length&&(this._root=l)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this},a.data=function(){var t=[];return this.visit(function(e){if(!e.length)do t.push(e.data);while(e=e.next)}),t},a.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},a.find=function(t,e,n){var r,o,s,h,u,l,a,f=this._x0,c=this._y0,d=this._x1,p=this._y1,_=[],v=this._root;for(v&&_.push(new i(v,f,c,d,p)),null==n?n=1/0:(f=t-n,c=e-n,d=t+n,p=e+n,n*=n);l=_.pop();)if((v=l.node)&&!((o=l.x0)>d)&&!((s=l.y0)>p)&&!((h=l.x1)<f)&&!((u=l.y1)<c))if(v.length){var x=(o+h)/2,y=(s+u)/2;_.push(new i(v[3],x,y,h,u),new i(v[2],o,y,x,u),new i(v[1],x,s,h,y),new i(v[0],o,s,x,y)),(a=(e>=y)<<1|t>=x)&&(l=_[_.length-1],_[_.length-1]=_[_.length-1-a],_[_.length-1-a]=l)}else{var g=t-this._x.call(null,v.data),m=e-this._y.call(null,v.data),w=g*g+m*m;if(w<n){var N=Math.sqrt(n=w);f=t-N,c=e-N,d=t+N,p=e+N,r=v.data}}return r},a.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(s=+this._y.call(null,t)))return this;var e,n,r,i,o,s,h,u,l,a,f,c,d=this._root,p=this._x0,_=this._y0,v=this._x1,x=this._y1;if(!d)return this;if(d.length)for(;;){if((l=o>=(h=(p+v)/2))?p=h:v=h,(a=s>=(u=(_+x)/2))?_=u:x=u,e=d,!(d=d[f=a<<1|l]))return this;if(!d.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(n=e,c=f)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return((i=d.next)&&delete d.next,r)?i?r.next=i:delete r.next:e?(i?e[f]=i:delete e[f],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[c]=d:this._root=d)):this._root=i,this},a.removeAll=function(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this},a.root=function(){return this._root},a.size=function(){var t=0;return this.visit(function(e){if(!e.length)do++t;while(e=e.next)}),t},a.visit=function(t){var e,n,r,o,s,h,u=[],l=this._root;for(l&&u.push(new i(l,this._x0,this._y0,this._x1,this._y1));e=u.pop();)if(!t(l=e.node,r=e.x0,o=e.y0,s=e.x1,h=e.y1)&&l.length){var a=(r+s)/2,f=(o+h)/2;(n=l[3])&&u.push(new i(n,a,f,s,h)),(n=l[2])&&u.push(new i(n,r,f,a,h)),(n=l[1])&&u.push(new i(n,a,o,s,f)),(n=l[0])&&u.push(new i(n,r,o,a,f))}return this},a.visitAfter=function(t){var e,n=[],r=[];for(this._root&&n.push(new i(this._root,this._x0,this._y0,this._x1,this._y1));e=n.pop();
1){var o=e.node;if(o.length){var s,h=e.x0,u=e.y0,l=e.x1,a=e.y1,f=(h+l)/2,c=(u+a)/2;(s=o[0])&&n.push(new i(s,h,u,f,c)),(s=o[1])&&n.push(new i(s,f,u,l,c)),(s=o[2])&&n.push(new i(s,h,c,f,a)),(s=o[3])&&n.push(new i(s,f,c,l,a))}r.push(e)}for(;e=r.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},a.x=function(t){return arguments.length?(this._x=t,this):this._x},a.y=function(t){return arguments.length?(this._y=t,this):this._y}},65751:(t,e,n)=>{n.d(e,{A:()=>r});let r=(0,n(30313).A)("outline","hand-click","HandClick",[["path",{d:"M8 13v-8.5a1.5 1.5 0 0 1 3 0v7.5",key:"svg-0"}],["path",{d:"M11 11.5v-2a1.5 1.5 0 0 1 3 0v2.5",key:"svg-1"}],["path",{d:"M14 10.5a1.5 1.5 0 0 1 3 0v1.5",key:"svg-2"}],["path",{d:"M17 11.5a1.5 1.5 0 0 1 3 0v4.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7l-.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47",key:"svg-3"}],["path",{d:"M5 3l-1 -1",key:"svg-4"}],["path",{d:"M4 7h-1",key:"svg-5"}],["path",{d:"M14 3l1 -1",key:"svg-6"}],["path",{d:"M15 6h1",key:"svg-7"}]])}}]);

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.