f7cloud_client/apps/whiteboard/js/line-2ECJkxIB.chunk.mjs
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

4 lines
1.0 KiB
JavaScript

/*! third party licenses: js/vendor.LICENSE.txt */
import{a as h}from"./array-Cg_lHFoG.chunk.mjs";import{w as d,c as i}from"./path-i7Zvihw6.chunk.mjs";import{z as y}from"./isEmpty-nTVdZyYD.chunk.mjs";function v(t){return t[0]}function w(t){return t[1]}function E(t,e){var a=i(!0),f=null,l=y,o=null,p=d(r);t=typeof t=="function"?t:t===void 0?v:i(t),e=typeof e=="function"?e:e===void 0?w:i(e);function r(n){var u,s=(n=h(n)).length,g,c=!1,m;for(f==null&&(o=l(m=p())),u=0;u<=s;++u)!(u<s&&a(g=n[u],u,n))===c&&((c=!c)?o.lineStart():o.lineEnd()),c&&o.point(+t(g,u,n),+e(g,u,n));if(m)return o=null,m+""||null}return r.x=function(n){return arguments.length?(t=typeof n=="function"?n:i(+n),r):t},r.y=function(n){return arguments.length?(e=typeof n=="function"?n:i(+n),r):e},r.defined=function(n){return arguments.length?(a=typeof n=="function"?n:i(!!n),r):a},r.curve=function(n){return arguments.length?(l=n,f!=null&&(o=l(f)),r):l},r.context=function(n){return arguments.length?(n==null?f=o=null:o=l(f=n),r):f},r}export{E as l};
//# sourceMappingURL=line-2ECJkxIB.chunk.mjs.map