cherry-cljs
Advanced tools
Comparing version 0.1.9 to 0.1.10
import { $APP, shadow$provide, $jscomp } from "./cljs.core.js"; | ||
const shadow_esm_import = function(x) { return import(x) }; | ||
var gr,hr,or;$APP.cr=function(a,b){return 0==a.lastIndexOf(b,0)};$APP.dr=function(a){return String(a.charAt(0)).toUpperCase()+String(a.substr(1)).toLowerCase()};$APP.fr=function(a){return a.replace(er,"$2$1").split("").reverse().join("")};gr=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)}; | ||
hr=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.eo.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}()}; | ||
$APP.ir=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?gr(a,b,c):gr(a,b,hr(c));throw["Invalid match arg: ",$APP.t.h(b)].join("");};$APP.jr=function(a,b,c){return a.replace(b,c)};$APP.kr=function(a){return a.toUpperCase()};$APP.lr=function(a){return a.toLowerCase()};$APP.mr=function(a){return $APP.dr(a)}; | ||
or=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.nr.g?$APP.nr.g(1,b):$APP.nr.call(null,1,b)))return new $APP.G(null,1,5,$APP.K,[a],null);if($APP.r($APP.nr.g?$APP.nr.g(2,b):$APP.nr.call(null,2,b)))return new $APP.G(null,2,5,$APP.K,["",a],null);b-=2;return $APP.lg.g($APP.ef($APP.og("",$APP.wo.l($APP.ef($APP.Mk.g($APP.t,$APP.y(a))),0,b))),$APP.Ck.g(a,b))};$APP.rr=function(a){return $APP.qr.g(a,/\n|\r\n/)};$APP.sr=function(a){return(0,$APP.Pm)(a)}; | ||
$APP.tr=function(a){return a.replace(/^[\s\xa0]+/,"")};$APP.ur=function(a){return a.replace(/[\s\xa0]+$/,"")};$APP.vr=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.wr=function(a){return/^[\s\xa0]*$/.test(null==a?"":String(a))};$APP.xr=function(a,b){for(var c=new $APP.ya,d=a.length,e=0;;){if(d===e)return c.toString();var f=a.charAt(e),h=$APP.Se.g(b,f);null!=h?c.append($APP.t.h(h)):c.append(f);e+=1}}; | ||
$APP.yr=function(a,b){return $APP.cr(a,b)};$APP.zr=function(a,b){return $APP.ka(a,b)};$APP.Ar=function(a,b){return-1!=a.indexOf(b)};$APP.nr=function nr(a){switch(arguments.length){case 1:return nr.h(arguments[0]);case 2:return nr.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 nr.j(arguments[0],arguments[1],new $APP.pd(c.slice(2),0,null))}};$APP.nr.h=function(){return!0};$APP.nr.g=function(a,b){return $APP.dc(a,b)}; | ||
$APP.nr.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.nr.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.nr.m=2;var er;er=RegExp("([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])","g");$APP.Br=function Br(a){switch(arguments.length){case 1:return Br.h(arguments[0]);case 2:return Br.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Br.h=function(a){var b=new $APP.ya;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.Br.g=function(a,b){var c=new $APP.ya;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.Br.m=2;$APP.qr=function qr(a){switch(arguments.length){case 2:return qr.g(arguments[0],arguments[1]);case 3:return qr.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.qr.g=function(a,b){return $APP.qr.l(a,b,0)}; | ||
$APP.qr.l=function(a,b,c){if("/(?:)/"===$APP.t.h(b))b=or(a,c);else if(1>c)b=$APP.ef($APP.t.h(a).split(b));else a:for(var d=c,e=$APP.ci;;){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.qr.m=3; | ||
$APP.Cr=function Cr(a){switch(arguments.length){case 2:return Cr.g(arguments[0],arguments[1]);case 3:return Cr.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Cr.g=function(a,b){a=a.indexOf(b);return 0>a?null:a};$APP.Cr.l=function(a,b,c){a=a.indexOf(b,c);return 0>a?null:a};$APP.Cr.m=3; | ||
$APP.Dr=function Dr(a){switch(arguments.length){case 2:return Dr.g(arguments[0],arguments[1]);case 3:return Dr.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Dr.g=function(a,b){a=a.lastIndexOf(b);return 0>a?null:a};$APP.Dr.l=function(a,b,c){a=a.lastIndexOf(b,c);return 0>a?null:a};$APP.Dr.m=3;export let replace_first=$APP.jr;export let capitalize=$APP.mr;export let reverse=$APP.fr;export let join=$APP.Br;export let escape=$APP.xr;export let starts_with_QMARK_=$APP.yr;export let blank_QMARK_=$APP.wr;export let upper_case=$APP.kr;export let replace=$APP.ir;export let includes_QMARK_=$APP.Ar;export let index_of=$APP.Cr;export let trim_newline=$APP.vr;export let lower_case=$APP.lr;export let split_lines=$APP.rr;export let split=$APP.qr;export let ends_with_QMARK_=$APP.zr; | ||
export let trimr=$APP.ur;export let last_index_of=$APP.Dr;export let trim=$APP.sr;export let triml=$APP.tr; | ||
var fr,gr,nr;$APP.br=function(a,b){return 0==a.lastIndexOf(b,0)};$APP.cr=function(a){return String(a.charAt(0)).toUpperCase()+String(a.slice(1)).toLowerCase()};$APP.er=function(a){return a.replace(dr,"$2$1").split("").reverse().join("")};fr=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)}; | ||
gr=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.co.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}()}; | ||
$APP.hr=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?fr(a,b,c):fr(a,b,gr(c));throw["Invalid match arg: ",$APP.t.h(b)].join("");};$APP.ir=function(a,b,c){return a.replace(b,c)};$APP.jr=function(a){return a.toUpperCase()};$APP.kr=function(a){return a.toLowerCase()};$APP.lr=function(a){return $APP.cr(a)}; | ||
nr=function(a,b){if(0>=b||b>=2+$APP.Sd(a))return $APP.lg.g($APP.ef($APP.og("",$APP.Kk.g($APP.t,$APP.y(a)))),"");if($APP.r($APP.mr.g?$APP.mr.g(1,b):$APP.mr.call(null,1,b)))return new $APP.G(null,1,5,$APP.K,[a],null);if($APP.r($APP.mr.g?$APP.mr.g(2,b):$APP.mr.call(null,2,b)))return new $APP.G(null,2,5,$APP.K,["",a],null);b-=2;return $APP.lg.g($APP.ef($APP.og("",$APP.vo.l($APP.ef($APP.Kk.g($APP.t,$APP.y(a))),0,b))),$APP.Ak.g(a,b))};$APP.qr=function(a){return $APP.or.g(a,/\n|\r\n/)};$APP.rr=function(a){return(0,$APP.Nm)(a)}; | ||
$APP.sr=function(a){return a.replace(/^[\s\xa0]+/,"")};$APP.tr=function(a){return a.replace(/[\s\xa0]+$/,"")};$APP.ur=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.vr=function(a){return/^[\s\xa0]*$/.test(null==a?"":String(a))};$APP.wr=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=$APP.Se.g(b,f);null!=h?c.append($APP.t.h(h)):c.append(f);e+=1}}; | ||
$APP.xr=function(a,b){return $APP.br(a,b)};$APP.yr=function(a,b){return $APP.ka(a,b)};$APP.zr=function(a,b){return-1!=a.indexOf(b)};$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:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return mr.j(arguments[0],arguments[1],new $APP.pd(c.slice(2),0,null))}};$APP.mr.h=function(){return!0};$APP.mr.g=function(a,b){return $APP.dc(a,b)}; | ||
$APP.mr.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.mr.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.mr.m=2;var dr;dr=RegExp("([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])","g");$APP.Ar=function Ar(a){switch(arguments.length){case 1:return Ar.h(arguments[0]);case 2:return Ar.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Ar.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.Ar.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.Ar.m=2;$APP.or=function or(a){switch(arguments.length){case 2:return or.g(arguments[0],arguments[1]);case 3:return or.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.or.g=function(a,b){return $APP.or.l(a,b,0)}; | ||
$APP.or.l=function(a,b,c){if("/(?:)/"===$APP.t.h(b))b=nr(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.xk(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.or.m=3; | ||
$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){a=a.indexOf(b);return 0>a?null:a};$APP.Br.l=function(a,b,c){a=a.indexOf(b,c);return 0>a?null:a};$APP.Br.m=3; | ||
$APP.Cr=function Cr(a){switch(arguments.length){case 2:return Cr.g(arguments[0],arguments[1]);case 3:return Cr.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Cr.g=function(a,b){a=a.lastIndexOf(b);return 0>a?null:a};$APP.Cr.l=function(a,b,c){a=a.lastIndexOf(b,c);return 0>a?null:a};$APP.Cr.m=3;export const replace_first=$APP.ir;export const capitalize=$APP.lr;export const reverse=$APP.er;export const join=$APP.Ar;export const escape=$APP.wr;export const starts_with_QMARK_=$APP.xr;export const blank_QMARK_=$APP.vr;export const upper_case=$APP.jr;export const replace=$APP.hr;export const includes_QMARK_=$APP.zr;export const index_of=$APP.Br;export const trim_newline=$APP.ur;export const lower_case=$APP.kr;export const split_lines=$APP.qr;export const split=$APP.or; | ||
export const ends_with_QMARK_=$APP.yr;export const trimr=$APP.tr;export const last_index_of=$APP.Cr;export const trim=$APP.rr;export const triml=$APP.sr; |
import { $APP, shadow$provide, $jscomp } from "./cljs.core.js"; | ||
const shadow_esm_import = function(x) { return import(x) }; | ||
$APP.Er=function(a,b,c){if($APP.hg(c)){var d=$APP.Eh.g($APP.P,$APP.Mk.g(a,c));return b.h?b.h(d):b.call(null,d)}return $APP.ri(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.zp.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.cj.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.Gr=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.G(null,2,5,$APP.K,[$APP.Nk.h(d),c],null):new $APP.G(null,2,5,$APP.K,[d,c],null)}return $APP.Fr(function(c){return $APP.xe(c)?$APP.cj.g($APP.ah,$APP.Mk.g(b,c)):c},a)}; | ||
$APP.Hr=function(a){function b(c){var d=$APP.D.l(c,0,null);c=$APP.D.l(c,1,null);return d instanceof $APP.rg?new $APP.G(null,2,5,$APP.K,[$APP.kk(d),c],null):new $APP.G(null,2,5,$APP.K,[d,c],null)}return $APP.Fr(function(c){return $APP.xe(c)?$APP.cj.g($APP.ah,$APP.Mk.g(b,c)):c},a)};$APP.Jr=function(a,b){return $APP.Ir(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Kr=function(a,b){return $APP.Fr(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Fr=function Fr(a,b){return $APP.Er($APP.Vn.g(Fr,a),a,b)};$APP.Ir=function Ir(a,b){return $APP.Er($APP.Vn.g(Ir,a),$APP.kf,a.h?a.h(b):a.call(null,b))};export let postwalk=$APP.Fr;export let walk=$APP.Er;export let prewalk=$APP.Ir;export let stringify_keys=$APP.Hr;export let keywordize_keys=$APP.Gr;export let prewalk_replace=$APP.Jr;export let postwalk_replace=$APP.Kr; | ||
$APP.Dr=function(a,b,c){if($APP.hg(c)){var d=$APP.Ch.g($APP.P,$APP.Kk.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.yp.h($APP.Kk.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.Kk.g(a,c)),b.h?b.h(d):b.call(null,d)):b.h?b.h(c):b.call(null,c)};$APP.Fr=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.G(null,2,5,$APP.K,[$APP.Lk.h(d),c],null):new $APP.G(null,2,5,$APP.K,[d,c],null)}return $APP.Er(function(c){return $APP.xe(c)?$APP.aj.g($APP.ah,$APP.Kk.g(b,c)):c},a)}; | ||
$APP.Gr=function(a){function b(c){var d=$APP.D.l(c,0,null);c=$APP.D.l(c,1,null);return d instanceof $APP.rg?new $APP.G(null,2,5,$APP.K,[$APP.ik(d),c],null):new $APP.G(null,2,5,$APP.K,[d,c],null)}return $APP.Er(function(c){return $APP.xe(c)?$APP.aj.g($APP.ah,$APP.Kk.g(b,c)):c},a)};$APP.Ir=function(a,b){return $APP.Hr(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Jr=function(a,b){return $APP.Er(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Er=function Er(a,b){return $APP.Dr($APP.Un.g(Er,a),a,b)};$APP.Hr=function Hr(a,b){return $APP.Dr($APP.Un.g(Hr,a),$APP.kf,a.h?a.h(b):a.call(null,b))};export const walk=$APP.Dr;export const postwalk=$APP.Er;export const prewalk=$APP.Hr;export const stringify_keys=$APP.Gr;export const keywordize_keys=$APP.Fr;export const prewalk_replace=$APP.Ir;export const postwalk_replace=$APP.Jr; |
@@ -5,3 +5,3 @@ { | ||
"sideEffects": false, | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"files": [ | ||
@@ -24,3 +24,2 @@ "cljs.core.js", | ||
"shadow-cljs": "^2.20.1", | ||
"source-maps": "^1.0.12", | ||
"@babel/preset-react": "^7.18.6" | ||
@@ -27,0 +26,0 @@ }, |
@@ -88,3 +88,3 @@ ## Cherry :cherries: | ||
Cherry may introduce new constructs such as `js/await` which won't be compatible | ||
Cherry may introduce new constructs such as `js-await` which won't be compatible | ||
with current CLJS. Also it might not support all features that CLJS offers. As | ||
@@ -91,0 +91,0 @@ such, using existing libraries from the CLJS ecosystem or compiling Cherry CLJS |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1698099
8
12
7124
1