cherry-cljs
Advanced tools
Comparing version 0.2.19 to 0.3.20
@@ -11,3 +11,3 @@ import { $APP, shadow$provide, $jscomp } from "./cljs.core.js"; | ||
$APP.gs.j=function(a,b,c){return $APP.cf.l($APP.gs,a,$APP.lg.g(c,b))};$APP.gs.o=function(a){var b=$APP.A(a),c=$APP.B(a);a=$APP.A(c);c=$APP.B(c);return this.j(b,a,c)};$APP.gs.m=2;$APP.hs=function hs(a){switch(arguments.length){case 2:return hs.g(arguments[0],arguments[1]);case 3:return hs.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}}; | ||
$APP.hs.g=function(a,b){if($APP.y(a)&&$APP.y(b)){var c=$APP.fs.g($APP.gk($APP.Rj($APP.A(a))),$APP.gk($APP.Rj($APP.A(b))));b=$APP.Sd(a)<=$APP.Sd(b)?new $APP.J(null,2,5,$APP.O,[a,b],null):new $APP.J(null,2,5,$APP.O,[b,a],null);a=$APP.D.l(b,0,null);b=$APP.D.l(b,1,null);var d=$APP.as(a,c);return $APP.cf.l(function(e,f){var h=function(){var l=$APP.Zj(f,c);return d.h?d.h(l):d.call(null,l)}();return $APP.r(h)?$APP.cf.l(function(l,n){return $APP.lg.g(l,$APP.Qo.j($APP.P.g([n,f],0)))},e,h):e},$APP.ck,b)}return $APP.ck}; | ||
$APP.hs.l=function(a,b,c){a=$APP.Sd(a)<=$APP.Sd(b)?new $APP.J(null,3,5,$APP.O,[a,b,$APP.bs(c)],null):new $APP.J(null,3,5,$APP.O,[b,a,c],null);b=$APP.D.l(a,0,null);c=$APP.D.l(a,1,null);var d=$APP.D.l(a,2,null),e=$APP.as(b,$APP.Tj(d));return $APP.cf.l(function(f,h){var l=function(){var n=$APP.Zr($APP.Zj(h,$APP.Rj(d)),d);return e.h?e.h(n):e.call(null,n)}();return $APP.r(l)?$APP.cf.l(function(n,v){return $APP.lg.g(n,$APP.Qo.j($APP.P.g([v,h],0)))},f,l):f},$APP.ck,c)};$APP.hs.m=3;export const union=$APP.es;export const join=$APP.hs;export const select=$APP.Xr;export const subset_QMARK_=$APP.cs;export const intersection=$APP.fs;export const superset_QMARK_=$APP.ds;export const index=$APP.as;export const walk=$APP.fs;export const rename_keys=$APP.Zr;export const map_invert=$APP.bs;export const rename=$APP.$r;export const project=$APP.Yr;export const difference=$APP.gs; | ||
$APP.hs.g=function(a,b){if($APP.z(a)&&$APP.z(b)){var c=$APP.fs.g($APP.gk($APP.Rj($APP.A(a))),$APP.gk($APP.Rj($APP.A(b))));b=$APP.Sd(a)<=$APP.Sd(b)?new $APP.J(null,2,5,$APP.O,[a,b],null):new $APP.J(null,2,5,$APP.O,[b,a],null);a=$APP.D.l(b,0,null);b=$APP.D.l(b,1,null);var d=$APP.as(a,c);return $APP.cf.l(function(e,f){var h=function(){var l=$APP.Zj(f,c);return d.h?d.h(l):d.call(null,l)}();return $APP.r(h)?$APP.cf.l(function(l,n){return $APP.lg.g(l,$APP.Qo.j($APP.P.g([n,f],0)))},e,h):e},$APP.ck,b)}return $APP.ck}; | ||
$APP.hs.l=function(a,b,c){a=$APP.Sd(a)<=$APP.Sd(b)?new $APP.J(null,3,5,$APP.O,[a,b,$APP.bs(c)],null):new $APP.J(null,3,5,$APP.O,[b,a,c],null);b=$APP.D.l(a,0,null);c=$APP.D.l(a,1,null);var d=$APP.D.l(a,2,null),e=$APP.as(b,$APP.Tj(d));return $APP.cf.l(function(f,h){var l=function(){var n=$APP.Zr($APP.Zj(h,$APP.Rj(d)),d);return e.h?e.h(n):e.call(null,n)}();return $APP.r(l)?$APP.cf.l(function(n,u){return $APP.lg.g(n,$APP.Qo.j($APP.P.g([u,h],0)))},f,l):f},$APP.ck,c)};$APP.hs.m=3;export const union=$APP.es;export const join=$APP.hs;export const select=$APP.Xr;export const subset_QMARK_=$APP.cs;export const intersection=$APP.fs;export const superset_QMARK_=$APP.ds;export const index=$APP.as;export const walk=$APP.fs;export const rename_keys=$APP.Zr;export const map_invert=$APP.bs;export const rename=$APP.$r;export const project=$APP.Yr;export const difference=$APP.gs; |
import { $APP, shadow$provide, $jscomp } from "./cljs.core.js"; | ||
const shadow_esm_import = function(x) { return import(x) }; | ||
var sr,tr,Ar;$APP.nr=function(a,b){return 0==a.lastIndexOf(b,0)};$APP.or=function(a){return String(a.charAt(0)).toUpperCase()+String(a.slice(1)).toLowerCase()};$APP.rr=function(a){return a.replace(qr,"$2$1").split("").reverse().join("")};sr=function(a,b,c){var d=RegExp,e=b.source,f=$APP.r(b.ignoreCase)?"gi":"g";f=$APP.r(b.multiline)?[f,"m"].join(""):f;b=$APP.r(b.unicode)?[f,"u"].join(""):f;return a.replace(new d(e,b),c)}; | ||
tr=function(a){return function(){function b(d){var e=null;if(0<arguments.length){e=0;for(var f=Array(arguments.length-0);e<f.length;)f[e]=arguments[e+0],++e;e=new $APP.pd(f,0,null)}return c.call(this,e)}function c(d){d=$APP.go.g(2,d);if($APP.Td.g($APP.Sd(d),1))return d=$APP.A(d),a.h?a.h(d):a.call(null,d);d=$APP.ef(d);return a.h?a.h(d):a.call(null,d)}b.m=0;b.o=function(d){d=$APP.y(d);return c(d)};b.j=c;return b}()}; | ||
tr=function(a){return function(){function b(d){var e=null;if(0<arguments.length){e=0;for(var f=Array(arguments.length-0);e<f.length;)f[e]=arguments[e+0],++e;e=new $APP.pd(f,0,null)}return c.call(this,e)}function c(d){d=$APP.go.g(2,d);if($APP.Td.g($APP.Sd(d),1))return d=$APP.A(d),a.h?a.h(d):a.call(null,d);d=$APP.ef(d);return a.h?a.h(d):a.call(null,d)}b.m=0;b.o=function(d){d=$APP.z(d);return c(d)};b.j=c;return b}()}; | ||
$APP.ur=function(a,b,c){if("string"===typeof b)return a.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c);if(b instanceof RegExp)return"string"===typeof c?sr(a,b,c):sr(a,b,tr(c));throw["Invalid match arg: ",$APP.t.h(b)].join("");};$APP.vr=function(a,b,c){return a.replace(b,c)};$APP.wr=function(a){return a.toUpperCase()};$APP.xr=function(a){return a.toLowerCase()};$APP.yr=function(a){return $APP.or(a)}; | ||
Ar=function(a,b){if(0>=b||b>=2+$APP.Sd(a))return $APP.lg.g($APP.ef($APP.og("",$APP.Mk.g($APP.t,$APP.y(a)))),"");if($APP.r($APP.zr.g?$APP.zr.g(1,b):$APP.zr.call(null,1,b)))return new $APP.J(null,1,5,$APP.O,[a],null);if($APP.r($APP.zr.g?$APP.zr.g(2,b):$APP.zr.call(null,2,b)))return new $APP.J(null,2,5,$APP.O,["",a],null);b-=2;return $APP.lg.g($APP.ef($APP.og("",$APP.yo.l($APP.ef($APP.Mk.g($APP.t,$APP.y(a))),0,b))),$APP.Ck.g(a,b))};$APP.Cr=function(a){return $APP.Br.g(a,/\n|\r\n/)};$APP.Dr=function(a){return(0,$APP.Rm)(a)}; | ||
Ar=function(a,b){if(0>=b||b>=2+$APP.Sd(a))return $APP.lg.g($APP.ef($APP.og("",$APP.Mk.g($APP.t,$APP.z(a)))),"");if($APP.r($APP.zr.g?$APP.zr.g(1,b):$APP.zr.call(null,1,b)))return new $APP.J(null,1,5,$APP.O,[a],null);if($APP.r($APP.zr.g?$APP.zr.g(2,b):$APP.zr.call(null,2,b)))return new $APP.J(null,2,5,$APP.O,["",a],null);b-=2;return $APP.lg.g($APP.ef($APP.og("",$APP.yo.l($APP.ef($APP.Mk.g($APP.t,$APP.z(a))),0,b))),$APP.Ck.g(a,b))};$APP.Cr=function(a){return $APP.Br.g(a,/\n|\r\n/)};$APP.Dr=function(a){return(0,$APP.Rm)(a)}; | ||
$APP.Er=function(a){return a.replace(/^[\s\xa0]+/,"")};$APP.Fr=function(a){return a.replace(/[\s\xa0]+$/,"")};$APP.Gr=function(a){for(var b=a.length;;){if(0===b)return"";var c=$APP.Se.g(a,b-1);if("\n"===c||"\r"===c)--b;else return a.substring(0,b)}};$APP.Hr=function(a){return/^[\s\xa0]*$/.test(null==a?"":String(a))};$APP.Ir=function(a,b){for(var c=new $APP.xa,d=a.length,e=0;;){if(d===e)return c.toString();var f=a.charAt(e),h=b.h?b.h(f):b.call(null,f);null!=h?c.append($APP.t.h(h)):c.append(f);e+=1}}; | ||
$APP.Jr=function(a,b){return $APP.nr(a,b)};$APP.Kr=function(a,b){return $APP.ka(a,b)};$APP.Lr=function(a,b){return-1!=a.indexOf(b)};$APP.zr=function zr(a){switch(arguments.length){case 1:return zr.h(arguments[0]);case 2:return zr.g(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return zr.j(arguments[0],arguments[1],2<c.length?new $APP.pd(c.slice(2),0,null):null)}};$APP.zr.h=function(){return!0}; | ||
$APP.zr.g=function(a,b){return $APP.dc(a,b)};$APP.zr.j=function(a,b,c){for(;;)if(a===b)if($APP.B(c))a=b,b=$APP.A(c),c=$APP.B(c);else return b===$APP.A(c);else return!1};$APP.zr.o=function(a){var b=$APP.A(a),c=$APP.B(a);a=$APP.A(c);c=$APP.B(c);return this.j(b,a,c)};$APP.zr.m=2;var qr;qr=RegExp("([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])","g");$APP.Mr=function Mr(a){switch(arguments.length){case 1:return Mr.h(arguments[0]);case 2:return Mr.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Mr.h=function(a){var b=new $APP.xa;for(a=$APP.y(a);;)if(null!=a)b=b.append($APP.t.h($APP.A(a))),a=$APP.B(a);else return b.toString()}; | ||
$APP.Mr.g=function(a,b){var c=new $APP.xa;for(b=$APP.y(b);;)if(null!=b)c.append($APP.t.h($APP.A(b))),b=$APP.B(b),null!=b&&c.append(a);else return c.toString()};$APP.Mr.m=2;$APP.Br=function Br(a){switch(arguments.length){case 2:return Br.g(arguments[0],arguments[1]);case 3:return Br.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Br.g=function(a,b){return $APP.Br.l(a,b,0)}; | ||
$APP.zr.g=function(a,b){return $APP.dc(a,b)};$APP.zr.j=function(a,b,c){for(;;)if(a===b)if($APP.B(c))a=b,b=$APP.A(c),c=$APP.B(c);else return b===$APP.A(c);else return!1};$APP.zr.o=function(a){var b=$APP.A(a),c=$APP.B(a);a=$APP.A(c);c=$APP.B(c);return this.j(b,a,c)};$APP.zr.m=2;var qr;qr=RegExp("([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])","g");$APP.Mr=function Mr(a){switch(arguments.length){case 1:return Mr.h(arguments[0]);case 2:return Mr.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Mr.h=function(a){var b=new $APP.xa;for(a=$APP.z(a);;)if(null!=a)b=b.append($APP.t.h($APP.A(a))),a=$APP.B(a);else return b.toString()}; | ||
$APP.Mr.g=function(a,b){var c=new $APP.xa;for(b=$APP.z(b);;)if(null!=b)c.append($APP.t.h($APP.A(b))),b=$APP.B(b),null!=b&&c.append(a);else return c.toString()};$APP.Mr.m=2;$APP.Br=function Br(a){switch(arguments.length){case 2:return Br.g(arguments[0],arguments[1]);case 3:return Br.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Br.g=function(a,b){return $APP.Br.l(a,b,0)}; | ||
$APP.Br.l=function(a,b,c){if("/(?:)/"===$APP.t.h(b))b=Ar(a,c);else if(1>c)b=$APP.ef($APP.t.h(a).split(b));else a:for(var d=c,e=$APP.ai;;){if(1===d){b=$APP.lg.g(e,a);break a}var f=$APP.zk(b,a);if(null!=f){var h=a.indexOf(f);f=a.substring(h+$APP.Sd(f));--d;e=$APP.lg.g(e,a.substring(0,h));a=f}else{b=$APP.lg.g(e,a);break a}}if(0===c&&1<$APP.Sd(b))a:for(c=b;;)if(""===$APP.le(c))c=$APP.me(c);else break a;else c=b;return c};$APP.Br.m=3; | ||
@@ -12,0 +12,0 @@ $APP.Nr=function Nr(a){switch(arguments.length){case 2:return Nr.g(arguments[0],arguments[1]);case 3:return Nr.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Nr.g=function(a,b){a=a.indexOf(b);return 0>a?null:a};$APP.Nr.l=function(a,b,c){a=a.indexOf(b,c);return 0>a?null:a};$APP.Nr.m=3; |
import { $APP, shadow$provide, $jscomp } from "./cljs.core.js"; | ||
const shadow_esm_import = function(x) { return import(x) }; | ||
$APP.Pr=function(a,b,c){if($APP.hg(c)){var d=$APP.Bh.g($APP.Q,$APP.Mk.g(a,c));return b.h?b.h(d):b.call(null,d)}return $APP.pi(c)?(d=new $APP.Ve(function(){var e=$APP.Qb(c);return a.h?a.h(e):a.call(null,e)}(),function(){var e=$APP.Rb(c);return a.h?a.h(e):a.call(null,e)}(),null),b.h?b.h(d):b.call(null,d)):$APP.Ie(c)?(d=$APP.jp.h($APP.Mk.g(a,c)),b.h?b.h(d):b.call(null,d)):$APP.ye(c)?(d=$APP.cf.l(function(e,f){return $APP.lg.g(e,a.h?a.h(f):a.call(null,f))},c,c),b.h?b.h(d):b.call(null,d)):$APP.oe(c)?(d= | ||
$APP.aj.g($APP.ee(c),$APP.Mk.g(a,c)),b.h?b.h(d):b.call(null,d)):b.h?b.h(c):b.call(null,c)};$APP.Rr=function(a){function b(c){var d=$APP.D.l(c,0,null);c=$APP.D.l(c,1,null);return"string"===typeof d?new $APP.J(null,2,5,$APP.O,[$APP.Nk.h(d),c],null):new $APP.J(null,2,5,$APP.O,[d,c],null)}return $APP.Qr(function(c){return $APP.xe(c)?$APP.aj.g($APP.$g,$APP.Mk.g(b,c)):c},a)}; | ||
$APP.Sr=function(a){function b(c){var d=$APP.D.l(c,0,null);c=$APP.D.l(c,1,null);return d instanceof $APP.G?new $APP.J(null,2,5,$APP.O,[$APP.ik(d),c],null):new $APP.J(null,2,5,$APP.O,[d,c],null)}return $APP.Qr(function(c){return $APP.xe(c)?$APP.aj.g($APP.$g,$APP.Mk.g(b,c)):c},a)};$APP.Ur=function(a,b){return $APP.Tr(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Vr=function(a,b){return $APP.Qr(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Qr=function Qr(a,b){return $APP.Pr($APP.Xn.g(Qr,a),a,b)};$APP.Tr=function Tr(a,b){return $APP.Pr($APP.Xn.g(Tr,a),$APP.kf,a.h?a.h(b):a.call(null,b))};export const walk=$APP.Pr;export const postwalk=$APP.Qr;export const prewalk=$APP.Tr;export const stringify_keys=$APP.Sr;export const keywordize_keys=$APP.Rr;export const prewalk_replace=$APP.Ur;export const postwalk_replace=$APP.Vr; | ||
$APP.Pr=function(a,b,c){if($APP.hg(c)){var d=$APP.Bh.g($APP.R,$APP.Mk.g(a,c));return b.h?b.h(d):b.call(null,d)}return $APP.pi(c)?(d=new $APP.Ve(function(){var e=$APP.Qb(c);return a.h?a.h(e):a.call(null,e)}(),function(){var e=$APP.Rb(c);return a.h?a.h(e):a.call(null,e)}(),null),b.h?b.h(d):b.call(null,d)):$APP.Ie(c)?(d=$APP.jp.h($APP.Mk.g(a,c)),b.h?b.h(d):b.call(null,d)):$APP.ye(c)?(d=$APP.cf.l(function(e,f){return $APP.lg.g(e,a.h?a.h(f):a.call(null,f))},c,c),b.h?b.h(d):b.call(null,d)):$APP.oe(c)?(d= | ||
$APP.aj.g($APP.ee(c),$APP.Mk.g(a,c)),b.h?b.h(d):b.call(null,d)):b.h?b.h(c):b.call(null,c)};$APP.Rr=function(a){function b(c){var d=$APP.D.l(c,0,null);c=$APP.D.l(c,1,null);return"string"===typeof d?new $APP.J(null,2,5,$APP.O,[$APP.Nk.h(d),c],null):new $APP.J(null,2,5,$APP.O,[d,c],null)}return $APP.Qr(function(c){return $APP.ue(c)?$APP.aj.g($APP.$g,$APP.Mk.g(b,c)):c},a)}; | ||
$APP.Sr=function(a){function b(c){var d=$APP.D.l(c,0,null);c=$APP.D.l(c,1,null);return d instanceof $APP.G?new $APP.J(null,2,5,$APP.O,[$APP.ik(d),c],null):new $APP.J(null,2,5,$APP.O,[d,c],null)}return $APP.Qr(function(c){return $APP.ue(c)?$APP.aj.g($APP.$g,$APP.Mk.g(b,c)):c},a)};$APP.Ur=function(a,b){return $APP.Tr(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Vr=function(a,b){return $APP.Qr(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Qr=function Qr(a,b){return $APP.Pr($APP.Xn.g(Qr,a),a,b)};$APP.Tr=function Tr(a,b){return $APP.Pr($APP.Xn.g(Tr,a),$APP.kf,a.h?a.h(b):a.call(null,b))};export const walk=$APP.Pr;export const postwalk=$APP.Qr;export const prewalk=$APP.Tr;export const stringify_keys=$APP.Sr;export const keywordize_keys=$APP.Rr;export const prewalk_replace=$APP.Ur;export const postwalk_replace=$APP.Vr; |
@@ -5,3 +5,3 @@ { | ||
"sideEffects": false, | ||
"version": "0.2.19", | ||
"version": "0.3.20", | ||
"files": [ | ||
@@ -16,2 +16,5 @@ "cljs.core.js", | ||
}, | ||
"dependencies": { | ||
"squint-cljs": "0.8.113" | ||
}, | ||
"devDependencies": { | ||
@@ -18,0 +21,0 @@ "@babel/core": "^7.19.0", |
@@ -52,3 +52,3 @@ ## Cherry :cherries: | ||
- [Cherry ClojureScript template on livecodes.io](https://dev.livecodes.io/?template=clojurescript) | ||
- [Cherry ClojureScript template on livecodes.io](https://livecodes.io/?template=clojurescript) | ||
- [playground](https://squint-cljs.github.io/cherry/) | ||
@@ -55,0 +55,0 @@ - [wordle](https://squint-cljs.github.io/cherry/examples/wordle/index.html) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1755339
7366
1
+ Addedsquint-cljs@0.8.113
+ Addedanymatch@3.1.3(transitive)
+ Addedbinary-extensions@2.3.0(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedchokidar@3.6.0(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedfsevents@2.3.3(transitive)
+ Addedglob-parent@5.1.2(transitive)
+ Addedis-binary-path@2.1.0(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addednormalize-path@3.0.0(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedreaddirp@3.6.0(transitive)
+ Addedsquint-cljs@0.8.113(transitive)
+ Addedto-regex-range@5.0.1(transitive)