bravo68web-portfolio-nextjs/public/core/SelectionInfoOld.chunk.js

16 lines
6.7 KiB
JavaScript

/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[13],{399:function(ia,da,e){e.r(da);var ba=e(410),ea=e(110),aa=e(35),ha=e(71);ia=function(){function e(){this.rb=this.fe=this.Lb=this.Zb=null;this.ze=!1}e.prototype.clear=function(){Object(aa.b)(this.Zb);this.Lb="";Object(aa.b)(this.fe);Object(aa.b)(this.rb);this.ze=!1};e.prototype.Yc=function(){this.Zb=[];this.fe=[];this.rb=[];this.ze=!1};e.prototype.uy=function(e){for(var w="",y=0,r,n,h;y<e.length;)r=e.charCodeAt(y),9==r?(w+=String.fromCharCode(10),
y++):128>r?(w+=String.fromCharCode(r),y++):191<r&&224>r?(n=e.charCodeAt(y+1),w+=String.fromCharCode((r&31)<<6|n&63),y+=2):(n=e.charCodeAt(y+1),h=e.charCodeAt(y+2),w+=String.fromCharCode((r&15)<<12|(n&63)<<6|h&63),y+=3);return w};e.prototype.initData=function(e){this.Zb=[];this.fe=[];this.rb=[];this.ze=!1;try{var w=new ha.a(e);this.Lb="";w.Ia();if(!w.advance())return;var y=w.current.textContent;this.Lb=y=this.uy(y);Object(aa.b)(this.fe);w.advance();y=w.current.textContent;for(var r=y.split(","),n=
Object(ea.a)(r);n.il();){var h=n.current;try{var f=parseInt(h.trim());this.fe.push(f)}catch(la){}}Object(aa.b)(this.Zb);w.advance();y=w.current.textContent;r=y.split(",");for(var x=Object(ea.a)(r);x.il();){h=x.current;try{f=parseFloat(h.trim()),this.Zb.push(f)}catch(la){}}Object(aa.b)(this.rb);w.advance();y=w.current.textContent;r=y.split(",");e=[];w=[];y=0;for(var z=Object(ea.a)(r);z.il();){h=z.current;switch(h){case "Q":y=1;break;case "R":y=2;break;case "S":y=3;break;default:y=0}if(y)e.push(0),
w.push(y);else try{f=parseFloat(h.trim()),e.push(f),w.push(y)}catch(la){return}}y=0;var ba=e.length;n=z=h=r=void 0;for(var ca=x=0,da=0;da<ba;){var ia=w[da];if(0<ia)y=ia,++da,3===y&&(x=e[da],ca=e[da+1],da+=2);else if(1===y)for(f=0;8>f;++f)this.rb.push(e[da++]);else 2===y?(r=e[da++],h=e[da++],z=e[da++],n=e[da++],this.rb.push(r),this.rb.push(h),this.rb.push(z),this.rb.push(h),this.rb.push(z),this.rb.push(n),this.rb.push(r),this.rb.push(n)):3===y&&(r=e[da++],h=x,z=e[da++],n=ca,this.rb.push(r),this.rb.push(h),
this.rb.push(z),this.rb.push(h),this.rb.push(z),this.rb.push(n),this.rb.push(r),this.rb.push(n))}}catch(la){return}this.Lb.length&&this.Lb.length===this.fe.length&&8*this.Lb.length===this.rb.length&&(this.ze=!0)};e.prototype.ready=function(){return this.ze};e.prototype.av=function(){var e=new ba.a;if(!this.Zb.length)return e.Ag(this.Zb,-1,this.Lb,this.rb,0),e;e.Ag(this.Zb,1,this.Lb,this.rb,1);return e};e.prototype.Ye=function(){return this.rb};e.prototype.getData=function(){return{m_Struct:this.Zb,
m_Str:this.Lb,m_Offsets:this.fe,m_Quads:this.rb,m_Ready:this.ze}};return e}();da["default"]=ia},410:function(ia,da,e){var ba=e(80),ea=e(46),aa=e(426);ia=function(){function e(){this.Od=0;this.pb=this.Ca=this.Oe=null;this.Cc=0;this.Nd=null}e.prototype.Yc=function(){this.Od=-1;this.Cc=0;this.Nd=[]};e.prototype.Ag=function(e,z,w,y,r){this.Od=z;this.Cc=r;this.Nd=[];this.Oe=e;this.Ca=w;this.pb=y};e.prototype.qc=function(e){return this.Od===e.Od};e.prototype.ij=function(){return Math.abs(this.Oe[this.Od])};
e.prototype.dl=function(){return 0<this.Oe[this.Od]};e.prototype.vg=function(){var e=this.dl()?6:10,z=new aa.a;z.Ag(this.Oe,this.Od+e,this.Od,this.Ca,this.pb,1);return z};e.prototype.yR=function(e){if(0>e||e>=this.ij())return e=new aa.a,e.Ag(this.Oe,-1,-1,this.Ca,this.pb,0),e;var z=this.dl()?6:10,w=this.dl()?5:11,y=new aa.a;y.Ag(this.Oe,this.Od+z+w*e,this.Od,this.Ca,this.pb,1+e);return y};e.prototype.Em=function(){var aa=this.Od+parseInt(this.Oe[this.Od+1]);if(aa>=this.Oe.length)return aa=new e,aa.Ag(this.Oe,
-1,this.Ca,this.pb,0),aa;var z=new e;z.Ag(this.Oe,aa,this.Ca,this.pb,this.Cc+1);return z};e.prototype.se=function(e){if(this.dl())e.la=this.Oe[this.Od+2+0],e.ia=this.Oe[this.Od+2+1],e.ma=this.Oe[this.Od+2+2],e.ja=this.Oe[this.Od+2+3];else{for(var z=1.79769E308,w=ba.a.MIN,y=1.79769E308,r=ba.a.MIN,n=0;4>n;++n){var h=this.Oe[this.Od+2+2*n],f=this.Oe[this.Od+2+2*n+1];z=Math.min(z,h);w=Math.max(w,h);y=Math.min(y,f);r=Math.max(r,f)}e.la=z;e.ia=y;e.ma=w;e.ja=r}};e.prototype.CA=function(){if(this.Nd.length)return this.Nd[0];
var e=new ea.a,z=new ea.a,w=new aa.a;w.Yc();var y=this.vg(),r=new aa.a;r.Yc();for(var n=this.vg();!n.qc(w);n=n.wg())r=n;w=Array(8);n=Array(8);y.te(0,w);e.x=(w[0]+w[2]+w[4]+w[6])/4;e.y=(w[1]+w[3]+w[5]+w[7])/4;r.te(r.hj()-1,n);z.x=(n[0]+n[2]+n[4]+n[6])/4;z.y=(n[1]+n[3]+n[5]+n[7])/4;.01>Math.abs(e.x-z.x)&&.01>Math.abs(e.y-z.y)&&this.Nd.push(0);e=Math.atan2(z.y-e.y,z.x-e.x);e*=180/3.1415926;0>e&&(e+=360);this.Nd.push(e);return 0};return e}();da.a=ia},426:function(ia,da,e){var ba=e(410),ea=e(89),aa=e(80);
ia=function(){function e(){this.gk=this.sd=0;this.pb=this.Ca=this.Zb=null;this.Cc=0}e.prototype.Yc=function(){this.gk=this.sd=-1;this.Cc=0};e.prototype.Ag=function(e,z,w,y,r,n){this.sd=z;this.gk=w;this.Zb=e;this.Ca=y;this.pb=r;this.Cc=n};e.prototype.qc=function(e){return this.sd===e.sd};e.prototype.hj=function(){return parseInt(this.Zb[this.sd])};e.prototype.di=function(){return parseInt(this.Zb[this.sd+2])};e.prototype.zg=function(){return parseInt(this.Zb[this.sd+1])};e.prototype.dl=function(){return 0<
this.Zb[this.gk]};e.prototype.z8=function(){return Math.abs(this.Zb[this.gk])};e.prototype.wg=function(){var aa=this.dl(),z=aa?5:11;if(this.sd>=this.gk+(aa?6:10)+(this.z8()-1)*z)return z=new e,z.Ag(this.Zb,-1,-1,this.Ca,this.pb,0),z;aa=new e;aa.Ag(this.Zb,this.sd+z,this.gk,this.Ca,this.pb,this.Cc+1);return aa};e.prototype.T7=function(e){var z=this.hj();return 0>e||e>=z?-1:parseInt(this.Zb[this.sd+1])+e};e.prototype.te=function(e,z){e=this.T7(e);if(!(0>e)){var w=new ba.a;w.Ag(this.Zb,this.gk,this.Ca,
this.pb,0);if(w.dl()){var y=new ea.a;w.se(y);w=y.ia<y.ja?y.ia:y.ja;y=y.ia>y.ja?y.ia:y.ja;e*=8;z[0]=this.pb[e];z[1]=w;z[2]=this.pb[e+2];z[3]=z[1];z[4]=this.pb[e+4];z[5]=y;z[6]=this.pb[e+6];z[7]=z[5]}else for(e*=8,w=0;8>w;++w)z[w]=this.pb[e+w]}};e.prototype.Sd=function(e){var z=new ba.a;z.Ag(this.Zb,this.gk,this.Ca,this.pb,0);if(z.dl()){var w=this.Zb[this.sd+3],y=this.Zb[this.sd+4];if(w>y){var r=w;w=y;y=r}r=new ea.a;z.se(r);z=r.ia<r.ja?r.ia:r.ja;r=r.ia>r.ja?r.ia:r.ja;e[0]=w;e[1]=z;e[2]=y;e[3]=z;e[4]=
y;e[5]=r;e[6]=w;e[7]=r}else for(w=this.sd+3,y=0;8>y;++y)e[y]=this.Zb[w+y]};e.prototype.se=function(e){var z=new ba.a;z.Ag(this.Zb,this.gk,this.Ca,this.pb,0);if(z.dl()){var w=this.Zb[this.sd+3],y=this.Zb[this.sd+4];if(w>y){var r=w;w=y;y=r}r=new ea.a;z.se(r);z=r.ia<r.ja?r.ia:r.ja;r=r.ia>r.ja?r.ia:r.ja;e[0]=w;e[1]=z;e[2]=y;e[3]=r}else{w=1.79769E308;y=aa.a.MIN;z=1.79769E308;r=aa.a.MIN;for(var n=this.sd+3,h=0;4>h;++h){var f=this.Zb[n+2*h],x=this.Zb[n+2*h+1];w=Math.min(w,f);y=Math.max(y,f);z=Math.min(z,
x);r=Math.max(r,x)}e[0]=w;e[1]=z;e[2]=y;e[3]=r}};return e}();da.a=ia}}]);}).call(this || window)