varfreesewing_patterns_brian=function(t){vare={};functionn(r){if(e[r])returne[r].exports;varo=e[r]={i:r,l:!1,exports:{}};returnt[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}returnn.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varoint)n.d(r,o,function(e){returnt[e]}.bind(null,o));returnr},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=22)}([function(t,e,n){"use strict";varr=function(t){if(t&&t.__esModule)returnt;vare={};if(null!=t)for(varnint)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});varo=n(3),i=n(2),s=n(15),a=n(23),u=r(n(7));e.Freesewing=functiont(){!function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,t),this.version="1.0.1",this.pattern=o.Pattern,this.point=i.Point,this.path=s.Path,this.snippet=a.Snippet,this.utils=u}},function(t,e,n){"use strict";functionr(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});varo=function(){functiont(){!function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,t),this.list=[]}returnfunction(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"add",value:function(t,e){returnthis.list.push({name:t,value:e}),this}},{key:"render",value:function(){vart="",e=!0,n=!1,r=void0;try{for(varo,i=this.list[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){vars=o.value;t+=" ".concat(s.name,'="').concat(s.value,'"')}}catch(t){n=!0,r=t}finally{try{e||null==i.return||i.return()}finally{if(n)throwr}}returnt}}]),t}();e.Attributes=o},function(t,e,n){"use strict";functionr(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});varo=n(7),i=n(1),s=function(){functiont(e,n){returnfunction(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,t),this.attributes=newi.Attributes,this.x=o.round(e),this.y=o.round(n),this}returnfunction(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"dist",value:function(t){vare=this.x-t.x,n=this.y-t.y;returno.round(Math.sqrt(Math.pow(e,2)+Math.pow(n,2)))}},{key:"slope",value:function(t){return(t.y-this.y)/(t.x-this.x)}},{key:"dx",value:function(t){returnt.x-this.x}},{key:"dy",value:function(t){returnt.y-this.y}},{key:"angle",value:function(t){for(vare=Math.atan2(-1*this.dy(t),this.dx(t));e<0;)e+=2*Math.PI;returno.rad2deg(e)}},{key:"rotate",value:function(e,n){varr=this.dist(n),i=this.angle(n);returnnewt(n.x+r*Math.cos(o.deg2rad(i+e))*-1,n.y+r*Math.sin(o.deg2rad(i+e)))}},{key:"copy",value:function(){returnnewt(this.x,this.y)}},{key:"equals",value:function(t){returnthis.x===t.x&&this.y===t.y}},{key:"flipX",value:function(e){returnnewt(e.x+this.dx(e),e.y)}},{key:"flipY",value:function(e){returnnewt(e.x,e.y+this.dy(e))}},{key:"shift",value:function(t,e){varn=this.copy();returnn.x+=e,n.rotate(t,this)}},{key:"shiftTowards",value:function(t,e){returnthis.shift(this.angle(t),e)}},{key:"shiftFractionTowards",value:function(t,e){returnthis.shiftTowards(t,this.dist(t)*e)}},{key:"shiftOutwards",value:function(t,e){returnthis.shiftTowards(t,this.dist(t)+e)}}]),t}();e.Point=s},function(t,e,n){"use strict";functionr(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enu