Module 420897

1,418 characters · in no known chunk
Dependencies
Required by (1)
Lazily required by (0)none
Requires (2)
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(668459),i=n(643479);let s=0,a=1,o=2,l=3,u=4,c=5,d=6,_=7,f=8,p=24,h={2e3:{name:"PathInformation",description:m},2999:{name:"ClippingPathName",description(e){let[,t]=(0,i.z6)(e,0);return t}}};function m(e){let t=2,n={},i=[];for(let s=0;s<e.byteLength;s+=t+p){let a=r.A.getShortAt(e,s);E[a]&&(n[a]||(n[a]=E[a].description),i.push({type:a,path:E[a].path(e,s+t)}))}return JSON.stringify({types:n,paths:i})}let E={[s]:{description:"Closed subpath length",path:(e,t)=>[r.A.getShortAt(e,t)]},[a]:{description:"Closed subpath Bezier knot, linked",path:g},[o]:{description:"Closed subpath Bezier knot, unlinked",path:g},[l]:{description:"Open subpath length",path:(e,t)=>[r.A.getShortAt(e,t)]},[u]:{description:"Open subpath Bezier knot, linked",path:g},[c]:{description:"Open subpath Bezier knot, unlinked",path:g},[d]:{description:"Path fill rule",path:()=>[]},[f]:{description:"Initial fill rule",path:(e,t)=>[r.A.getShortAt(e,t)]},[_]:{description:"Clipboard",path:I}};function g(e,t){let n=8,r=[];for(let i=0;i<p;i+=n)r.push(A(e,t+i));return r}function A(e,t){let n=T(e,t,8);return[T(e,t+4,8),n]}function I(e,t){return[[T(e,t,8),T(e,t+4,8),T(e,t+8,8),T(e,t+12,8)],T(e,t+16,8)]}function T(e,t,n){let s=r.A.getLongAt(e,t),a=s>>>31==0?1:-1,o=(0x7f000000&s)>>>32-n,l=s&parseInt((0,i.tp)("1",32-n),2);return a*(0,i.Aj)(o.toString(2)+"."+(0,i.CF)(l.toString(2),32-n,"0"),2)}}