diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..a9fb17c --- /dev/null +++ b/build.sh @@ -0,0 +1,11 @@ +dist=docs +webdev build +rm -rf $dist +mkdir $dist +cp build/*.ico $dist +cp build/*.jpg $dist +cp build/*.html $dist +cp build/*.js $dist +cp build/*.css $dist + +echo "copy path to $dist" \ No newline at end of file diff --git a/docs/favicon.ico b/docs/favicon.ico new file mode 100644 index 0000000..7ba349b Binary files /dev/null and b/docs/favicon.ico differ diff --git a/docs/github_logo.jpg b/docs/github_logo.jpg new file mode 100644 index 0000000..3848bea Binary files /dev/null and b/docs/github_logo.jpg differ diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..4c078aa --- /dev/null +++ b/docs/index.html @@ -0,0 +1,97 @@ + + + + + + + + + + json2dart_for_json_serializable + + + + + + +
+ 中文 + + + +
+
+

+ simple use + json_serializable +

+
+ + +
+
+
+ copy your json to left textarea + +
+ dart class name + + + jsonKey annotation + + use camelCase + + use static +
+
+
+
+
+ + + + + + + +
+
+ + + + + + + + +
+
+
+ + diff --git a/docs/index_ch.html b/docs/index_ch.html new file mode 100644 index 0000000..ec36e37 --- /dev/null +++ b/docs/index_ch.html @@ -0,0 +1,96 @@ + + + + + + + + + + json2dart_for_json_serializable + + + + + + +
+ English + + + +
+
+

+ 为了便利使用 + json_serializable + 库 +

+
+ + +
+
+
+
+ 将json粘贴至左边 + +
+ 类名称 + + + 使用 JsonKey 注解 + + 驼峰命名 + + 使用静态方法 +
+
+
+
+
+ + + + + + + +
+
+ + + + + + + + +
+
+ + diff --git a/docs/main.dart.js b/docs/main.dart.js new file mode 100644 index 0000000..20afc8e --- /dev/null +++ b/docs/main.dart.js @@ -0,0 +1,3079 @@ +{}(function dartProgram(){function copyProperties(a,b){var u=Object.keys(a) +for(var t=0;t=0)return true +if(typeof version=="function"&&version.length==0){var s=version() +if(/^\d+\.\d+\.\d+\.\d+$/.test(s))return true}}catch(r){}return false}() +function setFunctionNamesIfNecessary(a){function t(){};if(typeof t.name=="string")return +for(var u=0;u=u.length)return H.n(u,3) +t=H.m(u[3]) +if(t!=null)return parseInt(a,10) +if(u[2]!=null)return parseInt(a,16) +return}, +az:function(a){return H.fk(a)+H.dU(H.a8(a),0,null)}, +fk:function(a){var u,t,s,r,q,p,o,n=J.q(a),m=n.constructor +if(typeof m=="function"){u=m.name +t=typeof u==="string"?u:null}else t=null +s=t==null +if(s||n===C.v||!!n.$iaB){r=C.k(a) +if(s)t=r +if(r==="Object"){q=a.constructor +if(typeof q=="function"){p=String(q).match(/^\s*function\s*([\w$]*)\s*\(/) +o=p==null?null:p[1] +if(typeof o==="string"&&/^\w+$/.test(o))t=o}}return t}t=t +return H.aL(t.length>1&&C.b.M(t,0)===36?C.b.V(t,1):t)}, +F:function(a){var u +if(a<=65535)return String.fromCharCode(a) +if(a<=1114111){u=a-65536 +return String.fromCharCode((55296|C.h.ao(u,10))>>>0,56320|u&1023)}throw H.f(P.c_(a,0,1114111,null,null))}, +fP:function(a){throw H.f(H.bg(a))}, +n:function(a,b){if(a==null)J.bp(a) +throw H.f(H.a7(a,b))}, +a7:function(a,b){var u,t,s="index" +if(typeof b!=="number"||Math.floor(b)!==b)return new P.W(!0,b,s,null) +u=H.H(J.bp(a)) +if(!(b<0)){if(typeof u!=="number")return H.fP(u) +t=b>=u}else t=!0 +if(t)return P.dJ(b,a,s,null,u) +return P.c0(b,s)}, +bg:function(a){return new P.W(!0,a,null,null)}, +f:function(a){var u +if(a==null)a=new P.ax() +u=new Error() +u.dartException=a +if("defineProperty" in Object){Object.defineProperty(u,"message",{get:H.eU}) +u.name=""}else u.toString=H.eU +return u}, +eU:function(){return J.aN(this.dartException)}, +ak:function(a){throw H.f(a)}, +h2:function(a){throw H.f(P.ap(a))}, +S:function(a){var u,t,s,r,q,p +a=H.h_(a.replace(String({}),'$receiver$')) +u=a.match(/\\\$[a-zA-Z]+\\\$/g) +if(u==null)u=H.O([],[P.e]) +t=u.indexOf("\\$arguments\\$") +s=u.indexOf("\\$argumentsExpr\\$") +r=u.indexOf("\\$expr\\$") +q=u.indexOf("\\$method\\$") +p=u.indexOf("\\$receiver\\$") +return new H.cd(a.replace(new RegExp('\\\\\\$arguments\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$argumentsExpr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$expr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$method\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$receiver\\\\\\$','g'),'((?:x|[^x])*)'),t,s,r,q,p)}, +ce:function(a){return function($expr$){var $argumentsExpr$='$arguments$' +try{$expr$.$method$($argumentsExpr$)}catch(u){return u.message}}(a)}, +et:function(a){return function($expr$){try{$expr$.$method$}catch(u){return u.message}}(a)}, +em:function(a,b){return new H.bY(a,b==null?null:b.method)}, +dN:function(a,b){var u=b==null,t=u?null:b.method +return new H.bO(a,t,u?null:b.receiver)}, +P:function(a){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g=null,f=new H.dB(a) +if(a==null)return +if(a instanceof H.ar)return f.$1(a.a) +if(typeof a!=="object")return a +if("dartException" in a)return f.$1(a.dartException) +else if(!("message" in a))return a +u=a.message +if("number" in a&&typeof a.number=="number"){t=a.number +s=t&65535 +if((C.h.ao(t,16)&8191)===10)switch(s){case 438:return f.$1(H.dN(H.i(u)+" (Error "+s+")",g)) +case 445:case 5007:return f.$1(H.em(H.i(u)+" (Error "+s+")",g))}}if(a instanceof TypeError){r=$.eW() +q=$.eX() +p=$.eY() +o=$.eZ() +n=$.f1() +m=$.f2() +l=$.f0() +$.f_() +k=$.f4() +j=$.f3() +i=r.u(u) +if(i!=null)return f.$1(H.dN(H.m(u),i)) +else{i=q.u(u) +if(i!=null){i.method="call" +return f.$1(H.dN(H.m(u),i))}else{i=p.u(u) +if(i==null){i=o.u(u) +if(i==null){i=n.u(u) +if(i==null){i=m.u(u) +if(i==null){i=l.u(u) +if(i==null){i=o.u(u) +if(i==null){i=k.u(u) +if(i==null){i=j.u(u) +h=i!=null}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0 +if(h)return f.$1(H.em(H.m(u),i))}}return f.$1(new H.cg(typeof u==="string"?u:""))}if(a instanceof RangeError){if(typeof u==="string"&&u.indexOf("call stack")!==-1)return new P.b0() +u=function(b){try{return String(b)}catch(e){}return null}(a) +return f.$1(new P.W(!1,g,g,typeof u==="string"?u.replace(/^RangeError:\s*/,""):u))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof u==="string"&&u==="too much recursion")return new P.b0() +return a}, +ai:function(a){var u +if(a instanceof H.ar)return a.b +if(a==null)return new H.bc(a) +u=a.$cachedTrace +if(u!=null)return u +return a.$cachedTrace=new H.bc(a)}, +fN:function(a,b){var u,t,s,r=a.length +for(u=0;u=27 +if(q)return H.fa(t,!r,u,b) +if(t===0){r=$.Q +if(typeof r!=="number")return r.B() +$.Q=r+1 +p="self"+r +r="return function(){var "+p+" = this." +q=$.an +return new Function(r+H.i(q==null?$.an=H.bs("self"):q)+";return "+p+"."+H.i(u)+"();}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,t).join(",") +r=$.Q +if(typeof r!=="number")return r.B() +$.Q=r+1 +o+=r +r="return function("+o+"){return this." +q=$.an +return new Function(r+H.i(q==null?$.an=H.bs("self"):q)+"."+H.i(u)+"("+o+");}")()}, +fb:function(a,b,c,d){var u=H.dE,t=H.ed +switch(b?-1:a){case 0:throw H.f(new H.c1("Intercepted function with no arguments.")) +case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,u,t) +case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,u,t) +case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,u,t) +case 4:return function(e,f,g){return function(h,i,j){return f(this)[e](g(this),h,i,j)}}(c,u,t) +case 5:return function(e,f,g){return function(h,i,j,k){return f(this)[e](g(this),h,i,j,k)}}(c,u,t) +case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(this),h,i,j,k,l)}}(c,u,t) +default:return function(e,f,g,h){return function(){h=[g(this)] +Array.prototype.push.apply(h,arguments) +return e.apply(f(this),h)}}(d,u,t)}}, +fc:function(a,b){var u,t,s,r,q,p,o,n=$.an +if(n==null)n=$.an=H.bs("self") +u=$.ec +if(u==null)u=$.ec=H.bs("receiver") +t=b.$stubName +s=b.length +r=a[t] +q=b==null?r==null:b===r +p=!q||s>=28 +if(p)return H.fb(s,!q,t,b) +if(s===1){n="return function(){return this."+H.i(n)+"."+H.i(t)+"(this."+H.i(u)+");" +u=$.Q +if(typeof u!=="number")return u.B() +$.Q=u+1 +return new Function(n+u+"}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,s-1).join(",") +n="return function("+o+"){return this."+H.i(n)+"."+H.i(t)+"(this."+H.i(u)+", "+o+");" +u=$.Q +if(typeof u!=="number")return u.B() +$.Q=u+1 +return new Function(n+u+"}")()}, +dX:function(a,b,c,d,e,f,g){return H.fd(a,b,H.H(c),d,!!e,!!f,g)}, +dE:function(a){return a.a}, +ed:function(a){return a.c}, +bs:function(a){var u,t,s,r=new H.am("self","target","receiver","name"),q=J.eg(Object.getOwnPropertyNames(r)) +for(u=q.length,t=0;t"))}, +fW:function(a,b){var u +if(a==null)return a +u=J.q(a) +if(!!u.$ir)return a +if(u[b])return a +H.e2(a,b)}, +eI:function(a){var u +if("$S" in a){u=a.$S +if(typeof u=="number")return v.types[H.H(u)] +else return a.$S()}return}, +bk:function(a,b){var u +if(typeof a=="function")return!0 +u=H.eI(J.q(a)) +if(u==null)return!1 +return H.ex(u,null,b,null)}, +d:function(a,b){var u,t +if(a==null)return a +if($.dQ)return a +$.dQ=!0 +try{if(H.bk(a,b))return a +u=H.aK(b) +t=H.T(a,u) +throw H.f(t)}finally{$.dQ=!1}}, +bl:function(a,b){if(a!=null&&!H.dW(a,b))H.ak(H.T(a,H.aK(b))) +return a}, +T:function(a,b){return new H.b2("TypeError: "+P.aQ(a)+": type '"+H.fF(a)+"' is not a subtype of type '"+b+"'")}, +fF:function(a){var u,t=J.q(a) +if(!!t.$iao){u=H.eI(t) +if(u!=null)return H.aK(u) +return"Closure"}return H.az(a)}, +fI:function(a){throw H.f(new H.cj(a))}, +h3:function(a){throw H.f(new P.bv(H.m(a)))}, +eN:function(a){return v.getIsolateTag(a)}, +O:function(a,b){a.$ti=b +return a}, +a8:function(a){if(a==null)return +return a.$ti}, +ho:function(a,b,c){return H.aj(a["$a"+H.i(c)],H.a8(b))}, +da:function(a,b,c,d){var u +H.m(c) +H.H(d) +u=H.aj(a["$a"+H.i(c)],H.a8(b)) +return u==null?null:u[d]}, +eO:function(a,b,c){var u +H.m(b) +H.H(c) +u=H.aj(a["$a"+H.i(b)],H.a8(a)) +return u==null?null:u[c]}, +k:function(a,b){var u +H.H(b) +u=H.a8(a) +return u==null?null:u[b]}, +aK:function(a){return H.a4(a,null)}, +a4:function(a,b){var u,t +H.a5(b,"$ir",[P.e],"$ar") +if(a==null)return"dynamic" +if(a===-1)return"void" +if(typeof a==="object"&&a!==null&&a.constructor===Array)return H.aL(a[0].name)+H.dU(a,1,b) +if(typeof a=="function")return H.aL(a.name) +if(a===-2)return"dynamic" +if(typeof a==="number"){H.H(a) +if(b==null||a<0||a>=b.length)return"unexpected-generic-index:"+a +u=b.length +t=u-a-1 +if(t<0||t>=u)return H.n(b,t) +return H.i(b[t])}if('func' in a)return H.fw(a,b) +if('futureOr' in a)return"FutureOr<"+H.a4("type" in a?a.type:null,b)+">" +return"unknown-reified-type"}, +fw:function(a,a0){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=", ",b=[P.e] +H.a5(a0,"$ir",b,"$ar") +if("bounds" in a){u=a.bounds +if(a0==null){a0=H.O([],b) +t=null}else t=a0.length +s=a0.length +for(r=u.length,q=r;q>0;--q)C.a.j(a0,"T"+(s+q)) +for(p="<",o="",q=0;q "+l}, +dU:function(a,b,c){var u,t,s,r,q,p +H.a5(c,"$ir",[P.e],"$ar") +if(a==null)return"" +u=new P.R("") +for(t=b,s="",r=!0,q="";t"}, +aj:function(a,b){if(a==null)return b +a=a.apply(null,b) +if(a==null)return +if(typeof a==="object"&&a!==null&&a.constructor===Array)return a +if(typeof a=="function")return a.apply(null,b) +return b}, +Z:function(a,b,c,d){var u,t +H.m(b) +H.bn(c) +H.m(d) +if(a==null)return!1 +u=H.a8(a) +t=J.q(a) +if(t[b]==null)return!1 +return H.eD(H.aj(t[d],u),null,c,null)}, +a5:function(a,b,c,d){H.m(b) +H.bn(c) +H.m(d) +if(a==null)return a +if(H.Z(a,b,c,d))return a +throw H.f(H.T(a,function(e,f){return e.replace(/[^<,> ]+/g,function(g){return f[g]||g})}(H.aL(b.substring(2))+H.dU(c,0,null),v.mangledGlobalNames)))}, +fH:function(a,b,c,d,e){H.m(c) +H.m(d) +H.m(e) +if(!H.G(a,null,b,null))H.h4("TypeError: "+H.i(c)+H.aK(a)+H.i(d)+H.aK(b)+H.i(e))}, +h4:function(a){throw H.f(new H.b2(H.m(a)))}, +eD:function(a,b,c,d){var u,t +if(c==null)return!0 +if(a==null){u=c.length +for(t=0;tn)return!1 +if(o+m=0}, +h_:function(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") +return a}, +fE:function(a){return a}, +h1:function(a,b,c,d){var u,t,s,r,q,p +for(u=b.ap(0,a),u=new H.b3(u.a,u.b,u.c),t=0,s="";u.l();s=r){r=u.d +q=r.b +p=q.index +r=s+H.i(H.ey().$1(C.b.D(a,t,p)))+H.i(c.$1(r)) +t=p+q[0].length}u=s+H.i(H.ey().$1(C.b.V(a,t))) +return u.charCodeAt(0)==0?u:u}, +cd:function cd(a,b,c,d,e,f){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f}, +bY:function bY(a,b){this.a=a +this.b=b}, +bO:function bO(a,b,c){this.a=a +this.b=b +this.c=c}, +cg:function cg(a){this.a=a}, +ar:function ar(a,b){this.a=a +this.b=b}, +dB:function dB(a){this.a=a}, +bc:function bc(a){this.a=a +this.b=null}, +ao:function ao(){}, +cb:function cb(){}, +c4:function c4(){}, +am:function am(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +b2:function b2(a){this.a=a}, +c1:function c1(a){this.a=a}, +cj:function cj(a){this.a=a}, +bN:function bN(a){var _=this +_.a=0 +_.f=_.e=_.d=_.c=_.b=null +_.r=0 +_.$ti=a}, +bT:function bT(a,b){this.a=a +this.b=b +this.c=null}, +aV:function aV(a,b){this.a=a +this.$ti=b}, +bU:function bU(a,b,c){var _=this +_.a=a +_.b=b +_.d=_.c=null +_.$ti=c}, +db:function db(a){this.a=a}, +dc:function dc(a){this.a=a}, +dd:function dd(a){this.a=a}, +bM:function bM(a,b){var _=this +_.a=a +_.b=b +_.d=_.c=null}, +cL:function cL(a){this.b=a}, +ci:function ci(a,b,c){this.a=a +this.b=b +this.c=c}, +b3:function b3(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +fM:function(a){return J.fg(a?Object.keys(a):[],null)}},J={ +e1:function(a,b,c,d){return{i:a,p:b,e:c,x:d}}, +d9:function(a){var u,t,s,r,q=a[v.dispatchPropertyName] +if(q==null)if($.e_==null){H.fR() +q=a[v.dispatchPropertyName]}if(q!=null){u=q.p +if(!1===u)return q.i +if(!0===u)return a +t=Object.getPrototypeOf(a) +if(u===t)return q.i +if(q.e===t)throw H.f(P.eu("Return interceptor for "+H.i(u(a,q))))}s=a.constructor +r=s==null?null:s[$.e5()] +if(r!=null)return r +r=H.fX(a) +if(r!=null)return r +if(typeof a=="function")return C.x +u=Object.getPrototypeOf(a) +if(u==null)return C.n +if(u===Object.prototype)return C.n +if(typeof s=="function"){Object.defineProperty(s,$.e5(),{value:C.j,enumerable:false,writable:true,configurable:true}) +return C.j}return C.j}, +fg:function(a,b){return J.eg(H.O(a,[b]))}, +eg:function(a){H.bn(a) +a.fixed$length=Array +return a}, +eh:function(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 +default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 +default:return!1}}, +fh:function(a,b){var u,t +for(u=a.length;b0;b=u){u=b-1 +t=C.b.P(a,u) +if(t!==32&&t!==13&&!J.eh(t))break}return b}, +q:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.aR.prototype +return J.bK.prototype}if(typeof a=="string")return J.ad.prototype +if(a==null)return J.bL.prototype +if(typeof a=="boolean")return J.bJ.prototype +if(a.constructor==Array)return J.a1.prototype +if(typeof a!="object"){if(typeof a=="function")return J.a2.prototype +return a}if(a instanceof P.l)return a +return J.d9(a)}, +N:function(a){if(typeof a=="string")return J.ad.prototype +if(a==null)return a +if(a.constructor==Array)return J.a1.prototype +if(typeof a!="object"){if(typeof a=="function")return J.a2.prototype +return a}if(a instanceof P.l)return a +return J.d9(a)}, +eL:function(a){if(a==null)return a +if(a.constructor==Array)return J.a1.prototype +if(typeof a!="object"){if(typeof a=="function")return J.a2.prototype +return a}if(a instanceof P.l)return a +return J.d9(a)}, +d8:function(a){if(typeof a=="string")return J.ad.prototype +if(a==null)return a +if(!(a instanceof P.l))return J.aB.prototype +return a}, +eM:function(a){if(a==null)return a +if(typeof a!="object"){if(typeof a=="function")return J.a2.prototype +return a}if(a instanceof P.l)return a +return J.d9(a)}, +e7:function(a,b){if(a==null)return b==null +if(typeof a!="object")return b!=null&&a===b +return J.q(a).K(a,b)}, +f5:function(a,b){if(typeof b==="number")if(a.constructor==Array||typeof a=="string"||H.fV(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b=4){t=b.a3() +b.a=a.a +b.c=a.c +P.aE(b,t)}else{t=H.h(b.c,"$iV") +b.a=2 +b.c=a +a.an(t)}}, +aE:function(a,b){var u,t,s,r,q,p,o,n,m,l,k,j,i=null,h={},g=h.a=a +for(;!0;){u={} +t=g.a===8 +if(b==null){if(t){s=H.h(g.c,"$iy") +g=g.b +r=s.a +q=s.b +g.toString +P.d0(i,i,g,r,q)}return}for(;p=b.a,p!=null;b=p){b.a=null +P.aE(h.a,b)}g=h.a +o=g.c +u.a=t +u.b=o +r=!t +if(r){q=b.c +q=(q&1)!==0||q===8}else q=!0 +if(q){q=b.b +n=q.b +if(t){m=g.b +m.toString +m=m==n +if(!m)n.toString +else m=!0 +m=!m}else m=!1 +if(m){H.h(o,"$iy") +g=g.b +r=o.a +q=o.b +g.toString +P.d0(i,i,g,r,q) +return}l=$.p +if(l!=n)$.p=n +else l=i +g=b.c +if(g===8)new P.cC(h,u,b,t).$0() +else if(r){if((g&1)!==0)new P.cB(u,b,o).$0()}else if((g&2)!==0)new P.cA(h,u,b).$0() +if(l!=null)$.p=l +g=u.b +if(!!J.q(g).$iz){if(g.a>=4){k=H.h(q.c,"$iV") +q.c=null +b=q.O(k) +q.a=g.a +q.c=g.c +h.a=g +continue}else P.ev(g,q) +return}}j=b.b +k=H.h(j.c,"$iV") +j.c=null +b=j.O(k) +g=u.a +r=u.b +if(!g){H.o(r,H.k(j,0)) +j.a=4 +j.c=r}else{H.h(r,"$iy") +j.a=8 +j.c=r}h.a=j +g=j}}, +fA:function(a,b){if(H.bk(a,{func:1,args:[P.l,P.u]}))return b.ay(a,null,P.l,P.u) +if(H.bk(a,{func:1,args:[P.l]}))return H.d(a,{func:1,ret:null,args:[P.l]}) +throw H.f(P.eb(a,"onError","Error handler must accept one Object or one Object and a StackTrace as arguments, and return a a valid result"))}, +fy:function(){var u,t +for(;u=$.ag,u!=null;){$.aG=null +t=u.b +$.ag=t +if(t==null)$.aF=null +u.a.$0()}}, +fD:function(){$.dS=!0 +try{P.fy()}finally{$.aG=null +$.dS=!1 +if($.ag!=null)$.e6().$1(P.eE())}}, +eB:function(a){var u=new P.b5(H.d(a,{func:1,ret:-1})) +if($.ag==null){$.ag=$.aF=u +if(!$.dS)$.e6().$1(P.eE())}else $.aF=$.aF.b=u}, +fC:function(a){var u,t,s +H.d(a,{func:1,ret:-1}) +u=$.ag +if(u==null){P.eB(a) +$.aG=$.aF +return}t=new P.b5(a) +s=$.aG +if(s==null){t.b=u +$.ag=$.aG=t}else{t.b=s.b +$.aG=s.b=t +if(t.b==null)$.aF=t}}, +e3:function(a){var u,t=null,s={func:1,ret:-1} +H.d(a,s) +u=$.p +if(C.c===u){P.d2(t,t,C.c,a) +return}u.toString +P.d2(t,t,u,H.d(u.aq(a),s))}, +h7:function(a,b){if(H.a5(a,"$iaA",[b],"$aaA")==null)H.ak(P.f8("stream")) +return new P.cQ([b])}, +d0:function(a,b,c,d,e){var u={} +u.a=d +P.fC(new P.d1(u,e))}, +ez:function(a,b,c,d,e){var u,t +H.d(d,{func:1,ret:e}) +t=$.p +if(t===c)return d.$0() +$.p=c +u=t +try{t=d.$0() +return t}finally{$.p=u}}, +eA:function(a,b,c,d,e,f,g){var u,t +H.d(d,{func:1,ret:f,args:[g]}) +H.o(e,g) +t=$.p +if(t===c)return d.$1(e) +$.p=c +u=t +try{t=d.$1(e) +return t}finally{$.p=u}}, +fB:function(a,b,c,d,e,f,g,h,i){var u,t +H.d(d,{func:1,ret:g,args:[h,i]}) +H.o(e,h) +H.o(f,i) +t=$.p +if(t===c)return d.$2(e,f) +$.p=c +u=t +try{t=d.$2(e,f) +return t}finally{$.p=u}}, +d2:function(a,b,c,d){var u +H.d(d,{func:1,ret:-1}) +u=C.c!==c +if(u)d=!(!u||!1)?c.aq(d):c.aU(d,-1) +P.eB(d)}, +cn:function cn(a){this.a=a}, +cm:function cm(a,b,c){this.a=a +this.b=b +this.c=c}, +co:function co(a){this.a=a}, +cp:function cp(a){this.a=a}, +cR:function cR(){}, +cS:function cS(a,b){this.a=a +this.b=b}, +b4:function b4(a,b){this.a=a +this.b=!1 +this.$ti=b}, +cl:function cl(a,b){this.a=a +this.b=b}, +ck:function ck(a,b,c){this.a=a +this.b=b +this.c=c}, +cX:function cX(a){this.a=a}, +cY:function cY(a){this.a=a}, +d4:function d4(a){this.a=a}, +z:function z(){}, +b6:function b6(){}, +be:function be(a,b){this.a=a +this.$ti=b}, +V:function V(a,b,c,d,e){var _=this +_.a=null +_.b=a +_.c=b +_.d=c +_.e=d +_.$ti=e}, +A:function A(a,b){var _=this +_.a=0 +_.b=a +_.c=null +_.$ti=b}, +cv:function cv(a,b){this.a=a +this.b=b}, +cz:function cz(a,b){this.a=a +this.b=b}, +cw:function cw(a){this.a=a}, +cx:function cx(a){this.a=a}, +cy:function cy(a,b,c){this.a=a +this.b=b +this.c=c}, +cC:function cC(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +cD:function cD(a){this.a=a}, +cB:function cB(a,b,c){this.a=a +this.b=b +this.c=c}, +cA:function cA(a,b,c){this.a=a +this.b=b +this.c=c}, +b5:function b5(a){this.a=a +this.b=null}, +aA:function aA(){}, +c9:function c9(a,b){this.a=a +this.b=b}, +ca:function ca(a,b){this.a=a +this.b=b}, +c7:function c7(){}, +c8:function c8(){}, +cQ:function cQ(a){this.$ti=a}, +y:function y(a,b){this.a=a +this.b=b}, +cT:function cT(){}, +d1:function d1(a,b){this.a=a +this.b=b}, +cM:function cM(){}, +cO:function cO(a,b,c){this.a=a +this.b=b +this.c=c}, +cN:function cN(a,b){this.a=a +this.b=b}, +cP:function cP(a,b,c){this.a=a +this.b=b +this.c=c}, +dO:function(a,b,c){H.bn(a) +return H.a5(H.fN(a,new H.bN([b,c])),"$iek",[b,c],"$aek")}, +ff:function(a,b,c){var u,t +if(P.dT(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}u=H.O([],[P.e]) +C.a.j($.D,a) +try{P.fx(a,u)}finally{if(0>=$.D.length)return H.n($.D,-1) +$.D.pop()}t=P.es(b,H.fW(u,"$iE"),", ")+c +return t.charCodeAt(0)==0?t:t}, +ef:function(a,b,c){var u,t +if(P.dT(a))return b+"..."+c +u=new P.R(b) +C.a.j($.D,a) +try{t=u +t.a=P.es(t.a,a,", ")}finally{if(0>=$.D.length)return H.n($.D,-1) +$.D.pop()}u.a+=c +t=u.a +return t.charCodeAt(0)==0?t:t}, +dT:function(a){var u,t +for(u=$.D.length,t=0;t=b.length)return H.n(b,-1) +q=b.pop() +if(0>=b.length)return H.n(b,-1) +p=b.pop()}else{o=u.gm();++s +if(!u.l()){if(s<=4){C.a.j(b,H.i(o)) +return}q=H.i(o) +if(0>=b.length)return H.n(b,-1) +p=b.pop() +t+=q.length+2}else{n=u.gm();++s +for(;u.l();o=n,n=m){m=u.gm();++s +if(s>100){while(!0){if(!(t>75&&s>3))break +if(0>=b.length)return H.n(b,-1) +t-=b.pop().length+2;--s}C.a.j(b,"...") +return}}p=H.i(o) +q=H.i(n) +t+=q.length+p.length+4}}if(s>b.length+2){t+=5 +l="..."}else l=null +while(!0){if(!(t>80&&b.length>3))break +if(0>=b.length)return H.n(b,-1) +t-=b.pop().length+2 +if(l==null){t+=5 +l="..."}}if(l!=null)C.a.j(b,l) +C.a.j(b,p) +C.a.j(b,q)}, +el:function(a){var u,t={} +if(P.dT(a))return"{...}" +u=new P.R("") +try{C.a.j($.D,a) +u.a+="{" +t.a=!0 +J.e8(a,new P.bX(t,u)) +u.a+="}"}finally{if(0>=$.D.length)return H.n($.D,-1) +$.D.pop()}t=u.a +return t.charCodeAt(0)==0?t:t}, +bI:function bI(){}, +bV:function bV(){}, +ae:function ae(){}, +bW:function bW(){}, +bX:function bX(a,b){this.a=a +this.b=b}, +Y:function Y(){}, +b9:function b9(){}, +fz:function(a,b){var u,t,s,r +if(typeof a!=="string")throw H.f(H.bg(a)) +u=null +try{u=JSON.parse(a)}catch(s){t=H.P(s) +r=P.dH(String(t),null) +throw H.f(r)}r=P.cZ(u) +return r}, +cZ:function(a){var u +if(a==null)return +if(typeof a!="object")return a +if(Object.getPrototypeOf(a)!==Array.prototype)return new P.cE(a,Object.create(null)) +for(u=0;ua||a>c)throw H.f(P.c_(a,0,c,"start",null)) +if(a>b||b>c)throw H.f(P.c_(b,a,c,"end",null)) +return b}, +fm:function(a,b){if(typeof a!=="number")return a.aI() +if(a<0)throw H.f(P.c_(a,0,null,b,null))}, +dJ:function(a,b,c,d,e){var u=H.H(e==null?J.bp(b):e) +return new P.bH(u,!0,a,c,"Index out of range")}, +dP:function(a){return new P.ch(a)}, +eu:function(a){return new P.cf(a)}, +er:function(a){return new P.c3(a)}, +ap:function(a){return new P.bt(a)}, +dH:function(a,b){return new P.bD(a,b)}, +a6:function a6(){}, +bi:function bi(){}, +ab:function ab(){}, +br:function br(){}, +ax:function ax(){}, +W:function W(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +aZ:function aZ(a,b,c,d,e,f){var _=this +_.e=a +_.f=b +_.a=c +_.b=d +_.c=e +_.d=f}, +bH:function bH(a,b,c,d,e){var _=this +_.f=a +_.a=b +_.b=c +_.c=d +_.d=e}, +ch:function ch(a){this.a=a}, +cf:function cf(a){this.a=a}, +c3:function c3(a){this.a=a}, +bt:function bt(a){this.a=a}, +b0:function b0(){}, +bv:function bv(a){this.a=a}, +ct:function ct(a){this.a=a}, +bD:function bD(a,b){this.a=a +this.b=b}, +J:function J(){}, +E:function E(){}, +r:function r(){}, +j:function j(){}, +aJ:function aJ(){}, +l:function l(){}, +a3:function a3(){}, +b_:function b_(){}, +u:function u(){}, +e:function e(){}, +R:function R(a){this.a=a}, +b:function b(){}},W={ +f9:function(a){var u=new self.Blob(a) +return u}, +x:function(a,b,c,d,e){var u=W.fG(new W.cs(c),W.a),t=u!=null +if(t&&!0){H.d(u,{func:1,args:[W.a]}) +if(t)J.f6(a,b,u,!1)}return new W.cr(a,b,u,!1,[e])}, +fG:function(a,b){var u +H.d(a,{func:1,ret:-1,args:[b]}) +u=$.p +if(u===C.c)return a +return u.aV(a,b)}, +c:function c(){}, +al:function al(){}, +bq:function bq(){}, +a9:function a9(){}, +a_:function a_(){}, +by:function by(){}, +cu:function cu(a,b){this.a=a +this.$ti=b}, +aa:function aa(){}, +a:function a(){}, +a0:function a0(){}, +bC:function bC(){}, +X:function X(){}, +aw:function aw(){}, +t:function t(){}, +w:function w(){}, +aY:function aY(){}, +c2:function c2(){}, +b1:function b1(){}, +c5:function c5(a){this.a=a}, +c6:function c6(a){this.a=a}, +M:function M(){}, +U:function U(){}, +cq:function cq(){}, +b7:function b7(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.$ti=d}, +cr:function cr(a,b,c,d,e){var _=this +_.b=a +_.c=b +_.d=c +_.e=d +_.$ti=e}, +cs:function cs(a){this.a=a}, +as:function as(){}, +bB:function bB(a,b,c){var _=this +_.a=a +_.b=b +_.c=-1 +_.d=null +_.$ti=c}, +ba:function ba(){}, +bb:function bb(){}, +bd:function bd(){}},X={ +dV:function(a){if(0>=a.length)return H.n(a,0) +return a[0].toLowerCase()+H.h1(J.dD(a,1),P.eq("[A-Z]"),H.d(new X.d5(),{func:1,ret:P.e,args:[P.a3]}),null)}, +eF:function(a){var u,t,s,r,q,p,o,n=P.eq("[0-9]\\.[0-9]+").ap(0,a),m=P.fj(n,!0,H.eO(n,"E",0)) +for(u=0;u=n.length)return H.n(n,0) +t=n[0] +s=t.length +r=s-1 +q=P.ep(r,s,s) +p=t.substring(0,r) +o=t.substring(q) +t=p+"5"+o +s=n.index +n=n[0].length +q=P.ep(s,s+n,a.length) +p=a.substring(0,s) +o=a.substring(q) +a=p+t+o}return a}, +bE:function bE(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +bF:function bF(a){this.a=a}, +bG:function bG(a){this.a=a}, +d5:function d5(){}, +bj:function(a){if(a==null||a.length===0)return"" +if(0>=a.length)return H.n(a,0) +return a[0].toUpperCase()+J.dD(a,1)}, +eJ:function(a){if(a==null||a.length===0)return"" +if(0>=a.length)return H.n(a,0) +return a[0].toLowerCase()+J.dD(a,1)}, +cc:function cc(){}, +I:function I(a,b){this.a=a +this.b=b}, +bw:function bw(a,b){this.a=a +this.b=b}, +bx:function bx(a,b){this.a=a +this.b=b}, +aW:function aW(a,b,c){this.d=a +this.a=b +this.b=c}, +aC:function aC(a,b){this.a=a +this.b=b}, +ac:function ac(a){this.a=a}, +bA:function bA(a){this.a=a}, +L:function L(){}, +af:function af(a,b){this.a=a +this.b=b}, +at:function at(a,b){this.a=a +this.b=b}, +aX:function aX(a,b){this.a=a +this.b=b}},O={ +dg:function(){var u=0,t=P.d_(null),s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0 +var $async$dg=P.d3(function(a1,a2){if(a1===1)return P.cU(a2,t) +while(true)switch(u){case 0:a0=$ +u=2 +return P.ft(O.dR(),$async$dg) +case 2:a0.df=a2 +s=new S.bu() +r=document +q=H.h(r.querySelector("#json"),"$iM") +$.aH=H.h(r.querySelector("#class_name"),"$iM") +$.d7=H.h(r.querySelector("#result"),"$iM") +q.value=s.b8() +p=W.a +o={func:1,ret:-1,args:[p]} +W.x(q,"input",H.d(new O.dh(s,q),o),!1,p) +n=H.h(r.querySelector("#out_entity_name"),"$iX") +n.value=s.b7() +$.dZ=n.value +W.x(n,"input",H.d(new O.di(n,s),o),!1,p) +m=H.h(r.querySelector("#format"),"$ia9") +m.toString +l=W.t +k={func:1,ret:-1,args:[l]} +W.x(m,"click",H.d(new O.dj(q),k),!1,l) +j=H.h(r.querySelector("#use_json_key"),"$iX") +i=H.h(r.querySelector("#camelCase"),"$iX") +h=H.h(r.querySelector("#use_static"),"$iX") +g=H.h(r.querySelector("#result"),"$iM") +f=H.h(r.querySelector("#v0"),"$ieo") +e=H.h(r.querySelector("#v1"),"$ieo") +d=new O.dy(e,s) +$.bo=s.b9() +new O.dz(e).$0() +f.toString +W.x(f,"input",H.d(new O.dp(d),o),!1,p) +e.toString +W.x(e,"input",H.d(new O.dq(d),o),!1,p) +d=new O.dx(j,i) +j.checked=$.e4 +j.toString +W.x(j,"input",H.d(new O.dr(d),o),!1,p) +c=J.aM(r.querySelector("#check_label")) +b=H.k(c,0) +W.x(c.a,c.b,H.d(new O.ds(j,d),{func:1,ret:-1,args:[b]}),!1,b) +i.checked=$.aI +i.toString +W.x(i,"input",H.d(new O.dt(i),o),!1,p) +b=J.aM(r.querySelector("#camelCaseLabel")) +d=H.k(b,0) +W.x(b.a,b.b,H.d(new O.du(i),{func:1,ret:-1,args:[d]}),!1,d) +h.checked=$.e0 +W.x(h,"input",H.d(new O.dv(h),o),!1,p) +d=J.aM(r.querySelector("#useStaticLabel")) +b=H.k(d,0) +W.x(d.a,d.b,H.d(new O.dw(h),{func:1,ret:-1,args:[b]}),!1,b) +O.K() +b=J.aM(r.querySelector("#copy")) +d=H.k(b,0) +W.x(b.a,b.b,H.d(new O.dk(g),{func:1,ret:-1,args:[d]}),!1,d) +a=H.h(r.querySelector("#save"),"$ia9") +a.toString +W.x(a,"click",H.d(new O.dl(g),k),!1,l) +r=r.querySelector("#edit_class") +$.eH=r +r=J.aM(r) +l=H.k(r,0) +W.x(r.a,r.b,H.d(new O.dm(),{func:1,ret:-1,args:[l]}),!1,l) +l=$.aH +l.toString +W.x(l,"input",H.d(new O.dn(),o),!1,p) +return P.cV(null,t)}}) +return P.cW($async$dg,t)}, +dR:function(){var u=0,t=P.d_(P.a6),s,r,q,p,o,n +var $async$dR=P.d3(function(a,b){if(a===1)return P.cU(b,t) +while(true)switch(u){case 0:o=W.aw +n=document +H.fH(o,W.aa,"The type argument '","' is not a subtype of the type variable bound '","' of type variable 'T' in 'querySelectorAll'.") +r=new W.cu(n.querySelectorAll("meta"),[o]) +o=new H.av(r,r.gi(r),[o]) +while(!0){if(!o.l()){q=null +break}p=o.d.getAttribute("lang") +if(p!=null){q=p +break}}if(q==null)o=null +else o=H.h0(q,"zh",0) +if(o===!0){s=!0 +u=1 +break}s=!1 +u=1 +break +case 1:return P.cV(s,t)}}) +return P.cW($async$dR,t)}, +K:function(){var u=0,t=P.d_(null),s,r=[],q,p,o,n,m,l,k,j,i,h,g,f,e,d,c +var $async$K=P.d3(function(a,a0){if(a===1)return P.cU(a0,t) +while(true)switch(u){case 0:e=document +d=H.h(e.querySelector("#json"),"$iM").value +c=H.h(e.querySelector("#result"),"$iM") +try{O.eK(d)}catch(b){if(!!J.q(H.P(b)).$idG){if(H.B($.df))c.value="\u4e0d\u662f\u4e00\u4e2a\u6b63\u786e\u7684json" +else c.value="Not JSON" +u=1 +break}else throw b}p=$.dZ +if(p==null||p===""||C.b.aA(p)==="")p="Entity" +o=d +n=$.bo +m=H.O([],[X.I]) +l=new X.bE(o,p,n,m) +o=l.a=X.eF(o) +$.bm=l +k=p==null?"Entity":p +j=n===C.e?new X.aC(o,k):new X.I(o,k) +if(!J.q(C.d.R(0,j.a)).$ir){C.a.j(m,j) +l.S(j)}else{C.a.j(m,j.aG()) +l.S(j)}i=$.bm.aF() +$.aH.textContent=i +o=$.bm +h=o.aw() +g=X.dV(o.b)+".dart" +$.dY=g +f=(H.B($.df)?"\u5e94\u8be5\u4f7f\u7528\u7684\u6587\u4ef6\u540d\u4e3a:":"your dart file name is:")+" "+g +e.querySelector("#file_name").textContent=f +$.d7.value=h +case 1:return P.cV(s,t)}}) +return P.cW($async$K,t)}, +eK:function(a){return P.ew(C.d.R(0,a),null," ")}, +aD:function aD(a){this.b=a}, +dh:function dh(a,b){this.a=a +this.b=b}, +di:function di(a,b){this.a=a +this.b=b}, +dj:function dj(a){this.a=a}, +dy:function dy(a,b){this.a=a +this.b=b}, +dz:function dz(a){this.a=a}, +dp:function dp(a){this.a=a}, +dq:function dq(a){this.a=a}, +dx:function dx(a,b){this.a=a +this.b=b}, +dr:function dr(a){this.a=a}, +ds:function ds(a,b){this.a=a +this.b=b}, +dt:function dt(a){this.a=a}, +du:function du(a){this.a=a}, +dv:function dv(a){this.a=a}, +dw:function dw(a){this.a=a}, +dk:function dk(a){this.a=a}, +dl:function dl(a){this.a=a}, +dm:function dm(){}, +dn:function dn(){}},S={bu:function bu(){}},F={ +eR:function(){O.dg()}} +var w=[C,H,J,P,W,X,O,S,F] +hunkHelpers.setFunctionNamesIfNecessary(w) +var $={} +H.dL.prototype={} +J.C.prototype={ +K:function(a,b){return a===b}, +gt:function(a){return H.ay(a)}, +h:function(a){return"Instance of '"+H.az(a)+"'"}} +J.bJ.prototype={ +h:function(a){return String(a)}, +gt:function(a){return a?519018:218159}, +$ia6:1} +J.bL.prototype={ +K:function(a,b){return null==b}, +h:function(a){return"null"}, +gt:function(a){return 0}, +$ij:1} +J.aT.prototype={ +gt:function(a){return 0}, +h:function(a){return String(a)}} +J.bZ.prototype={} +J.aB.prototype={} +J.a2.prototype={ +h:function(a){var u=a[$.eV()] +if(u==null)return this.aM(a) +return"JavaScript function for "+H.i(J.aN(u))}, +$S:function(){return{func:1,opt:[,,,,,,,,,,,,,,,,]}}, +$idI:1} +J.a1.prototype={ +j:function(a,b){H.o(b,H.k(a,0)) +if(!!a.fixed$length)H.ak(P.dP("add")) +a.push(b)}, +n:function(a,b){var u,t +H.d(b,{func:1,ret:-1,args:[H.k(a,0)]}) +u=a.length +for(t=0;t=a.length)return-1 +for(u=0;u=a.length||b<0)throw H.f(H.a7(a,b)) +return a[b]}, +C:function(a,b,c){H.o(c,H.k(a,0)) +if(!!a.immutable$list)H.ak(P.dP("indexed set")) +if(b>=a.length||!1)throw H.f(H.a7(a,b)) +a[b]=c}, +$iE:1, +$ir:1} +J.dK.prototype={} +J.aO.prototype={ +gm:function(){return this.d}, +l:function(){var u,t=this,s=t.a,r=s.length +if(t.b!==r)throw H.f(H.h2(s)) +u=t.c +if(u>=r){t.sai(null) +return!1}t.sai(s[u]);++t.c +return!0}, +sai:function(a){this.d=H.o(a,H.k(this,0))}} +J.aS.prototype={ +h:function(a){if(a===0&&1/a<0)return"-0.0" +else return""+a}, +gt:function(a){var u,t,s,r,q=a|0 +if(a===q)return 536870911&q +u=Math.abs(a) +t=Math.log(u)/0.6931471805599453|0 +s=Math.pow(2,t) +r=u<1?u/s:s/u +return 536870911&((r*9007199254740992|0)+(r*3542243181176521|0))*599197+t*1259}, +ao:function(a,b){var u +if(a>0)u=this.aT(a,b) +else{u=b>31?31:b +u=a>>u>>>0}return u}, +aT:function(a,b){return b>31?0:a>>>b}, +$ibi:1, +$iaJ:1} +J.aR.prototype={$iJ:1} +J.bK.prototype={} +J.ad.prototype={ +P:function(a,b){if(b<0)throw H.f(H.a7(a,b)) +if(b>=a.length)H.ak(H.a7(a,b)) +return a.charCodeAt(b)}, +M:function(a,b){if(b>=a.length)throw H.f(H.a7(a,b)) +return a.charCodeAt(b)}, +B:function(a,b){if(typeof b!=="string")throw H.f(P.eb(b,null,null)) +return a+b}, +D:function(a,b,c){if(c==null)c=a.length +if(b<0)throw H.f(P.c0(b,null)) +if(b>c)throw H.f(P.c0(b,null)) +if(c>a.length)throw H.f(P.c0(c,null)) +return a.substring(b,c)}, +V:function(a,b){return this.D(a,b,null)}, +aA:function(a){var u,t,s,r=a.trim(),q=r.length +if(q===0)return r +if(this.M(r,0)===133){u=J.fh(r,1) +if(u===q)return""}else u=0 +t=q-1 +s=this.P(r,t)===133?J.fi(r,t):q +if(u===0&&s===q)return r +return r.substring(u,s)}, +h:function(a){return a}, +gt:function(a){var u,t,s +for(u=a.length,t=0,s=0;s>6}t=536870911&t+((67108863&t)<<3) +t^=t>>11 +return 536870911&t+((16383&t)<<15)}, +gi:function(a){return a.length}, +k:function(a,b){if(b>=a.length||!1)throw H.f(H.a7(a,b)) +return a[b]}, +$ien:1, +$ie:1} +H.bz.prototype={} +H.au.prototype={ +gq:function(a){var u=this +return new H.av(u,u.gi(u),[H.eO(u,"au",0)])}, +gp:function(a){return this.gi(this)===0}} +H.av.prototype={ +gm:function(){return this.d}, +l:function(){var u,t=this,s=t.a,r=J.N(s),q=r.gi(s) +if(t.b!==q)throw H.f(P.ap(s)) +u=t.c +if(u>=q){t.sae(null) +return!1}t.sae(r.G(s,u));++t.c +return!0}, +sae:function(a){this.d=H.o(a,H.k(this,0))}} +H.cd.prototype={ +u:function(a){var u,t,s=this,r=new RegExp(s.a).exec(a) +if(r==null)return +u=Object.create(null) +t=s.b +if(t!==-1)u.arguments=r[t+1] +t=s.c +if(t!==-1)u.argumentsExpr=r[t+1] +t=s.d +if(t!==-1)u.expr=r[t+1] +t=s.e +if(t!==-1)u.method=r[t+1] +t=s.f +if(t!==-1)u.receiver=r[t+1] +return u}} +H.bY.prototype={ +h:function(a){var u=this.b +if(u==null)return"NoSuchMethodError: "+H.i(this.a) +return"NoSuchMethodError: method not found: '"+u+"' on null"}} +H.bO.prototype={ +h:function(a){var u,t=this,s="NoSuchMethodError: method not found: '",r=t.b +if(r==null)return"NoSuchMethodError: "+H.i(t.a) +u=t.c +if(u==null)return s+r+"' ("+H.i(t.a)+")" +return s+r+"' on '"+u+"' ("+H.i(t.a)+")"}} +H.cg.prototype={ +h:function(a){var u=this.a +return u.length===0?"Error":"Error: "+u}} +H.ar.prototype={} +H.dB.prototype={ +$1:function(a){if(!!J.q(a).$iab)if(a.$thrownJsError==null)a.$thrownJsError=this.a +return a}, +$S:4} +H.bc.prototype={ +h:function(a){var u,t=this.b +if(t!=null)return t +t=this.a +u=t!==null&&typeof t==="object"?t.stack:null +return this.b=u==null?"":u}, +$iu:1} +H.ao.prototype={ +h:function(a){return"Closure '"+H.az(this).trim()+"'"}, +$idI:1, +gbf:function(){return this}, +$C:"$1", +$R:1, +$D:null} +H.cb.prototype={} +H.c4.prototype={ +h:function(a){var u=this.$static_name +if(u==null)return"Closure of unknown static method" +return"Closure '"+H.aL(u)+"'"}} +H.am.prototype={ +K:function(a,b){var u=this +if(b==null)return!1 +if(u===b)return!0 +if(!(b instanceof H.am))return!1 +return u.a===b.a&&u.b===b.b&&u.c===b.c}, +gt:function(a){var u,t=this.c +if(t==null)u=H.ay(this.a) +else u=typeof t!=="object"?J.dC(t):H.ay(t) +return(u^H.ay(this.b))>>>0}, +h:function(a){var u=this.c +if(u==null)u=this.a +return"Closure '"+H.i(this.d)+"' of "+("Instance of '"+H.az(u)+"'")}} +H.b2.prototype={ +h:function(a){return this.a}} +H.c1.prototype={ +h:function(a){return"RuntimeError: "+this.a}} +H.cj.prototype={ +h:function(a){return"Assertion failed: "+P.aQ(this.a)}} +H.bN.prototype={ +gi:function(a){return this.a}, +gp:function(a){return this.a===0}, +gv:function(a){return new H.aV(this,[H.k(this,0)])}, +k:function(a,b){var u,t,s,r,q=this +if(typeof b==="string"){u=q.b +if(u==null)return +t=q.a0(u,b) +s=t==null?null:t.b +return s}else if(typeof b==="number"&&(b&0x3ffffff)===b){r=q.c +if(r==null)return +t=q.a0(r,b) +s=t==null?null:t.b +return s}else return q.b6(b)}, +b6:function(a){var u,t,s=this.d +if(s==null)return +u=this.ak(s,J.dC(a)&0x3ffffff) +t=this.au(u,a) +if(t<0)return +return u[t].b}, +C:function(a,b,c){var u,t,s,r,q,p,o=this +H.o(b,H.k(o,0)) +H.o(c,H.k(o,1)) +if(typeof b==="string"){u=o.b +o.ag(u==null?o.b=o.a1():u,b,c)}else if(typeof b==="number"&&(b&0x3ffffff)===b){t=o.c +o.ag(t==null?o.c=o.a1():t,b,c)}else{s=o.d +if(s==null)s=o.d=o.a1() +r=J.dC(b)&0x3ffffff +q=o.ak(s,r) +if(q==null)o.a4(s,r,[o.a2(b,c)]) +else{p=o.au(q,b) +if(p>=0)q[p].b=c +else q.push(o.a2(b,c))}}}, +n:function(a,b){var u,t,s=this +H.d(b,{func:1,ret:-1,args:[H.k(s,0),H.k(s,1)]}) +u=s.e +t=s.r +for(;u!=null;){b.$2(u.a,u.b) +if(t!==s.r)throw H.f(P.ap(s)) +u=u.c}}, +ag:function(a,b,c){var u,t=this +H.o(b,H.k(t,0)) +H.o(c,H.k(t,1)) +u=t.a0(a,b) +if(u==null)t.a4(a,b,t.a2(b,c)) +else u.b=c}, +a2:function(a,b){var u=this,t=new H.bT(H.o(a,H.k(u,0)),H.o(b,H.k(u,1))) +if(u.e==null)u.e=u.f=t +else u.f=u.f.c=t;++u.a +u.r=u.r+1&67108863 +return t}, +au:function(a,b){var u,t +if(a==null)return-1 +u=a.length +for(t=0;t=u.length)return H.n(u,a) +return u[a]}, +k:function(a,b){var u=this.b +if(b>=u.length)return H.n(u,b) +return u[b]}, +$ia3:1, +$ib_:1} +H.ci.prototype={ +gq:function(a){return new H.b3(this.a,this.b,this.c)}, +$aE:function(){return[P.b_]}} +H.b3.prototype={ +gm:function(){return this.d}, +l:function(){var u,t,s,r,q=this,p=q.b +if(p==null)return!1 +u=q.c +if(u<=p.length){t=q.a +s=t.aQ(p,u) +if(s!=null){q.d=s +r=s.gb2() +if(s.b.index===r){if(t.b.unicode){p=q.c +u=p+1 +t=q.b +if(u=55296&&p<=56319){p=C.b.P(t,u) +p=p>=56320&&p<=57343}else p=!1}else p=!1}else p=!1 +r=(p?r+1:r)+1}q.c=r +return!0}}q.b=q.d=null +return!1}} +P.cn.prototype={ +$1:function(a){var u=this.a,t=u.a +u.a=null +t.$0()}, +$S:8} +P.cm.prototype={ +$1:function(a){var u,t +this.a.a=H.d(a,{func:1,ret:-1}) +u=this.b +t=this.c +u.firstChild?u.removeChild(t):u.appendChild(t)}, +$S:11} +P.co.prototype={ +$0:function(){this.a.$0()}, +$S:0} +P.cp.prototype={ +$0:function(){this.a.$0()}, +$S:0} +P.cR.prototype={ +aN:function(a,b){if(self.setTimeout!=null)self.setTimeout(H.bh(new P.cS(this,b),0),a) +else throw H.f(P.dP("`setTimeout()` not found."))}} +P.cS.prototype={ +$0:function(){this.b.$0()}, +$S:1} +P.b4.prototype={ +E:function(a,b){var u,t=this +H.bl(b,{futureOr:1,type:H.k(t,0)}) +if(t.b)t.a.E(0,b) +else if(H.Z(b,"$iz",t.$ti,"$az")){u=t.a +b.T(u.gaX(u),u.gaZ(),-1)}else P.e3(new P.cl(t,b))}, +F:function(a,b){if(this.b)this.a.F(a,b) +else P.e3(new P.ck(this,a,b))}, +$idF:1} +P.cl.prototype={ +$0:function(){this.a.a.E(0,this.b)}, +$S:0} +P.ck.prototype={ +$0:function(){this.a.a.F(this.b,this.c)}, +$S:0} +P.cX.prototype={ +$1:function(a){return this.a.$2(0,a)}, +$S:12} +P.cY.prototype={ +$2:function(a,b){this.a.$2(1,new H.ar(a,H.h(b,"$iu")))}, +$S:13} +P.d4.prototype={ +$2:function(a,b){this.a(H.H(a),b)}, +$S:14} +P.z.prototype={} +P.b6.prototype={ +F:function(a,b){var u +H.h(b,"$iu") +if(a==null)a=new P.ax() +u=this.a +if(u.a!==0)throw H.f(P.er("Future already completed")) +$.p.toString +u.Y(a,b)}, +b_:function(a){return this.F(a,null)}, +$idF:1} +P.be.prototype={ +E:function(a,b){var u +H.bl(b,{futureOr:1,type:H.k(this,0)}) +u=this.a +if(u.a!==0)throw H.f(P.er("Future already completed")) +u.X(b)}, +aY:function(a){return this.E(a,null)}} +P.V.prototype={ +ba:function(a){if(this.c!==6)return!0 +return this.b.b.ab(H.d(this.d,{func:1,ret:P.a6,args:[P.l]}),a.a,P.a6,P.l)}, +b3:function(a){var u=this.e,t=P.l,s={futureOr:1,type:H.k(this,1)},r=this.b.b +if(H.bk(u,{func:1,args:[P.l,P.u]}))return H.bl(r.bb(u,a.a,a.b,null,t,P.u),s) +else return H.bl(r.ab(H.d(u,{func:1,args:[P.l]}),a.a,null,t),s)}} +P.A.prototype={ +T:function(a,b,c){var u,t=H.k(this,0) +H.d(a,{func:1,ret:{futureOr:1,type:c},args:[t]}) +u=$.p +if(u!==C.c){u.toString +H.d(a,{func:1,ret:{futureOr:1,type:c},args:[t]}) +if(b!=null)b=P.fA(b,u)}return this.a5(a,b,c)}, +be:function(a,b){return this.T(a,null,b)}, +a5:function(a,b,c){var u,t,s=H.k(this,0) +H.d(a,{func:1,ret:{futureOr:1,type:c},args:[s]}) +u=new P.A($.p,[c]) +t=b==null?1:3 +this.ah(new P.V(u,t,a,b,[s,c])) +return u}, +ah:function(a){var u,t=this,s=t.a +if(s<=1){a.a=H.h(t.c,"$iV") +t.c=a}else{if(s===2){u=H.h(t.c,"$iA") +s=u.a +if(s<4){u.ah(a) +return}t.a=s +t.c=u.c}s=t.b +s.toString +P.d2(null,null,s,H.d(new P.cv(t,a),{func:1,ret:-1}))}}, +an:function(a){var u,t,s,r,q,p=this,o={} +o.a=a +if(a==null)return +u=p.a +if(u<=1){t=H.h(p.c,"$iV") +s=p.c=a +if(t!=null){for(;r=s.a,r!=null;s=r);s.a=t}}else{if(u===2){q=H.h(p.c,"$iA") +u=q.a +if(u<4){q.an(a) +return}p.a=u +p.c=q.c}o.a=p.O(a) +u=p.b +u.toString +P.d2(null,null,u,H.d(new P.cz(o,p),{func:1,ret:-1}))}}, +a3:function(){var u=H.h(this.c,"$iV") +this.c=null +return this.O(u)}, +O:function(a){var u,t,s +for(u=a,t=null;u!=null;t=u,u=s){s=u.a +u.a=t}return t}, +X:function(a){var u,t,s=this,r=H.k(s,0) +H.bl(a,{futureOr:1,type:r}) +u=s.$ti +if(H.Z(a,"$iz",u,"$az"))if(H.Z(a,"$iA",u,null))P.ev(a,s) +else P.fr(a,s) +else{t=s.a3() +H.o(a,r) +s.a=4 +s.c=a +P.aE(s,t)}}, +Y:function(a,b){var u,t=this +H.h(b,"$iu") +u=t.a3() +t.a=8 +t.c=new P.y(a,b) +P.aE(t,u)}, +$iz:1} +P.cv.prototype={ +$0:function(){P.aE(this.a,this.b)}, +$S:0} +P.cz.prototype={ +$0:function(){P.aE(this.b,this.a.a)}, +$S:0} +P.cw.prototype={ +$1:function(a){var u=this.a +u.a=0 +u.X(a)}, +$S:8} +P.cx.prototype={ +$2:function(a,b){H.h(b,"$iu") +this.a.Y(a,b)}, +$1:function(a){return this.$2(a,null)}, +$S:17} +P.cy.prototype={ +$0:function(){this.a.Y(this.b,this.c)}, +$S:0} +P.cC.prototype={ +$0:function(){var u,t,s,r,q,p,o=this,n=null +try{s=o.c +n=s.b.b.az(H.d(s.d,{func:1}),null)}catch(r){u=H.P(r) +t=H.ai(r) +if(o.d){s=H.h(o.a.a.c,"$iy").a +q=u +q=s==null?q==null:s===q +s=q}else s=!1 +q=o.b +if(s)q.b=H.h(o.a.a.c,"$iy") +else q.b=new P.y(u,t) +q.a=!0 +return}if(!!J.q(n).$iz){if(n instanceof P.A&&n.a>=4){if(n.a===8){s=o.b +s.b=H.h(n.c,"$iy") +s.a=!0}return}p=o.a.a +s=o.b +s.b=n.be(new P.cD(p),null) +s.a=!1}}, +$S:1} +P.cD.prototype={ +$1:function(a){return this.a}, +$S:18} +P.cB.prototype={ +$0:function(){var u,t,s,r,q,p,o,n=this +try{s=n.b +r=H.k(s,0) +q=H.o(n.c,r) +p=H.k(s,1) +n.a.b=s.b.b.ab(H.d(s.d,{func:1,ret:{futureOr:1,type:p},args:[r]}),q,{futureOr:1,type:p},r)}catch(o){u=H.P(o) +t=H.ai(o) +s=n.a +s.b=new P.y(u,t) +s.a=!0}}, +$S:1} +P.cA.prototype={ +$0:function(){var u,t,s,r,q,p,o,n,m=this +try{u=H.h(m.a.a.c,"$iy") +r=m.c +if(H.B(r.ba(u))&&r.e!=null){q=m.b +q.b=r.b3(u) +q.a=!1}}catch(p){t=H.P(p) +s=H.ai(p) +r=H.h(m.a.a.c,"$iy") +q=r.a +o=t +n=m.b +if(q==null?o==null:q===o)n.b=r +else n.b=new P.y(t,s) +n.a=!0}}, +$S:1} +P.b5.prototype={} +P.aA.prototype={ +gi:function(a){var u,t,s=this,r={},q=new P.A($.p,[P.J]) +r.a=0 +u=H.k(s,0) +t=H.d(new P.c9(r,s),{func:1,ret:-1,args:[u]}) +H.d(new P.ca(r,q),{func:1,ret:-1}) +W.x(s.a,s.b,t,!1,u) +return q}} +P.c9.prototype={ +$1:function(a){H.o(a,H.k(this.b,0));++this.a.a}, +$S:function(){return{func:1,ret:P.j,args:[H.k(this.b,0)]}}} +P.ca.prototype={ +$0:function(){this.b.X(this.a.a)}, +$S:0} +P.c7.prototype={} +P.c8.prototype={} +P.cQ.prototype={} +P.y.prototype={ +h:function(a){return H.i(this.a)}, +$iab:1} +P.cT.prototype={$ihj:1} +P.d1.prototype={ +$0:function(){var u,t=this.a,s=t.a +t=s==null?t.a=new P.ax():s +s=this.b +if(s==null)throw H.f(t) +u=H.f(t) +u.stack=s.h(0) +throw u}, +$S:0} +P.cM.prototype={ +bc:function(a){var u,t,s,r=null +H.d(a,{func:1,ret:-1}) +try{if(C.c===$.p){a.$0() +return}P.ez(r,r,this,a,-1)}catch(s){u=H.P(s) +t=H.ai(s) +P.d0(r,r,this,u,H.h(t,"$iu"))}}, +bd:function(a,b,c){var u,t,s,r=null +H.d(a,{func:1,ret:-1,args:[c]}) +H.o(b,c) +try{if(C.c===$.p){a.$1(b) +return}P.eA(r,r,this,a,b,-1,c)}catch(s){u=H.P(s) +t=H.ai(s) +P.d0(r,r,this,u,H.h(t,"$iu"))}}, +aU:function(a,b){return new P.cO(this,H.d(a,{func:1,ret:b}),b)}, +aq:function(a){return new P.cN(this,H.d(a,{func:1,ret:-1}))}, +aV:function(a,b){return new P.cP(this,H.d(a,{func:1,ret:-1,args:[b]}),b)}, +k:function(a,b){return}, +az:function(a,b){H.d(a,{func:1,ret:b}) +if($.p===C.c)return a.$0() +return P.ez(null,null,this,a,b)}, +ab:function(a,b,c,d){H.d(a,{func:1,ret:c,args:[d]}) +H.o(b,d) +if($.p===C.c)return a.$1(b) +return P.eA(null,null,this,a,b,c,d)}, +bb:function(a,b,c,d,e,f){H.d(a,{func:1,ret:d,args:[e,f]}) +H.o(b,e) +H.o(c,f) +if($.p===C.c)return a.$2(b,c) +return P.fB(null,null,this,a,b,c,d,e,f)}, +ay:function(a,b,c,d){return H.d(a,{func:1,ret:b,args:[c,d]})}} +P.cO.prototype={ +$0:function(){return this.a.az(this.b,this.c)}, +$S:function(){return{func:1,ret:this.c}}} +P.cN.prototype={ +$0:function(){return this.a.bc(this.b)}, +$S:1} +P.cP.prototype={ +$1:function(a){var u=this.c +return this.a.bd(this.b,H.o(a,u),u)}, +$S:function(){return{func:1,ret:-1,args:[this.c]}}} +P.bI.prototype={} +P.bV.prototype={$iE:1,$ir:1} +P.ae.prototype={ +gq:function(a){return new H.av(a,this.gi(a),[H.da(this,a,"ae",0)])}, +G:function(a,b){return this.k(a,b)}, +gp:function(a){return this.gi(a)===0}, +gav:function(a){return this.gi(a)!==0}, +h:function(a){return P.ef(a,"[","]")}} +P.bW.prototype={} +P.bX.prototype={ +$2:function(a,b){var u,t=this.a +if(!t.a)this.b.a+=", " +t.a=!1 +t=this.b +u=t.a+=H.i(a) +t.a=u+": " +t.a+=H.i(b)}, +$S:5} +P.Y.prototype={ +n:function(a,b){var u,t,s=this +H.d(b,{func:1,ret:-1,args:[H.da(s,a,"Y",0),H.da(s,a,"Y",1)]}) +for(u=J.e9(s.gv(a));u.l();){t=u.gm() +b.$2(t,s.k(a,t))}}, +gi:function(a){return J.bp(this.gv(a))}, +gp:function(a){return J.f7(this.gv(a))}, +h:function(a){return P.el(a)}, +$iv:1} +P.b9.prototype={} +P.cE.prototype={ +k:function(a,b){var u,t=this.b +if(t==null)return this.c.k(0,b) +else if(typeof b!=="string")return +else{u=t[b] +return typeof u=="undefined"?this.aS(b):u}}, +gi:function(a){return this.b==null?this.c.a:this.N().length}, +gp:function(a){return this.gi(this)===0}, +gv:function(a){var u +if(this.b==null){u=this.c +return new H.aV(u,[H.k(u,0)])}return new P.cF(this)}, +n:function(a,b){var u,t,s,r,q=this +H.d(b,{func:1,ret:-1,args:[P.e,,]}) +if(q.b==null)return q.c.n(0,b) +u=q.N() +for(t=0;t=u.length)return H.n(u,b) +u=u[b]}return u}, +gq:function(a){var u=this.a +if(u.b==null){u=u.gv(u) +u=u.gq(u)}else{u=u.N() +u=new J.aO(u,u.length,[H.k(u,0)])}return u}, +$aau:function(){return[P.e]}, +$aE:function(){return[P.e]}} +P.aP.prototype={} +P.aq.prototype={} +P.aU.prototype={ +h:function(a){var u=P.aQ(this.a) +return(this.b!=null?"Converting object to an encodable object failed:":"Converting object did not return an encodable object:")+" "+u}} +P.bQ.prototype={ +h:function(a){return"Cyclic error in JSON stringify"}} +P.bP.prototype={ +R:function(a,b){var u=P.fz(b,this.gb0().a) +return u}, +H:function(a){var u=this.gb1() +u=P.ew(a,u.b,u.a) +return u}, +gb1:function(){return C.z}, +gb0:function(){return C.y}, +$aaP:function(){return[P.l,P.e]}} +P.bS.prototype={ +$aaq:function(){return[P.l,P.e]}} +P.bR.prototype={ +$aaq:function(){return[P.e,P.l]}} +P.cJ.prototype={ +ad:function(a){var u,t,s,r,q,p,o,n=a.length +for(u=J.d8(a),t=this.c,s=0,r=0;r92)continue +if(q<32){if(r>s)t.a+=C.b.D(a,s,r) +s=r+1 +p=t.a+=H.F(92) +switch(q){case 8:t.a=p+H.F(98) +break +case 9:t.a=p+H.F(116) +break +case 10:t.a=p+H.F(110) +break +case 12:t.a=p+H.F(102) +break +case 13:t.a=p+H.F(114) +break +default:p+=H.F(117) +t.a=p +p+=H.F(48) +t.a=p +p+=H.F(48) +t.a=p +o=q>>>4&15 +p+=H.F(o<10?48+o:87+o) +t.a=p +o=q&15 +t.a=p+H.F(o<10?48+o:87+o) +break}}else if(q===34||q===92){if(r>s)t.a+=C.b.D(a,s,r) +s=r+1 +p=t.a+=H.F(92) +t.a=p+H.F(q)}}if(s===0)t.a+=H.i(a) +else if(s=s.length)return H.n(s,-1) +s.pop()}catch(r){t=H.P(r) +s=P.ej(a,t,q.gam()) +throw H.f(s)}}, +aB:function(a){var u,t,s=this +if(typeof a==="number"){if(!isFinite(a))return!1 +s.c.a+=C.w.h(a) +return!0}else if(a===!0){s.c.a+="true" +return!0}else if(a===!1){s.c.a+="false" +return!0}else if(a==null){s.c.a+="null" +return!0}else if(typeof a==="string"){u=s.c +u.a+='"' +s.ad(a) +u.a+='"' +return!0}else{u=J.q(a) +if(!!u.$ir){s.W(a) +s.aC(a) +u=s.a +if(0>=u.length)return H.n(u,-1) +u.pop() +return!0}else if(!!u.$iv){s.W(a) +t=s.aD(a) +u=s.a +if(0>=u.length)return H.n(u,-1) +u.pop() +return t}else return!1}}, +aC:function(a){var u,t,s=this.c +s.a+="[" +u=J.N(a) +if(u.gav(a)){this.A(u.k(a,0)) +for(t=1;t=u)return H.n(t,q) +p.A(t[q])}n.a+="}" +return!0}} +P.cK.prototype={ +$2:function(a,b){var u,t +if(typeof a!=="string")this.a.b=!1 +u=this.b +t=this.a +C.a.C(u,t.a++,a) +C.a.C(u,t.a++,b)}, +$S:5} +P.cG.prototype={ +aC:function(a){var u,t=this,s=J.N(a),r=s.gp(a),q=t.c,p=q.a +if(r)q.a=p+"[]" +else{q.a=p+"[\n" +t.J(++t.a$) +t.A(s.k(a,0)) +for(u=1;u=u)return H.n(t,q) +p.A(t[q])}n.a+="\n" +p.J(--p.a$) +n.a+="}" +return!0}} +P.cH.prototype={ +$2:function(a,b){var u,t +if(typeof a!=="string")this.a.b=!1 +u=this.b +t=this.a +C.a.C(u,t.a++,a) +C.a.C(u,t.a++,b)}, +$S:5} +P.b8.prototype={ +gam:function(){var u=this.c.a +return u.charCodeAt(0)==0?u:u}} +P.cI.prototype={ +J:function(a){var u,t,s +for(u=this.f,t=this.c,s=0;ss)u=": Not in range "+H.i(s)+".."+H.i(t)+", inclusive" +else u=t78?C.b.D(r,0,75)+"...":r +return s+"\n"+u}else return s}, +$idG:1} +P.J.prototype={} +P.E.prototype={ +gi:function(a){var u,t=this.gq(this) +for(u=0;t.l();)++u +return u}, +G:function(a,b){var u,t,s +P.fm(b,"index") +for(u=this.gq(this),t=0;u.l();){s=u.gm() +if(b===t)return s;++t}throw H.f(P.dJ(b,this,"index",null,t))}, +h:function(a){return P.ff(this,"(",")")}} +P.r.prototype={$iE:1} +P.j.prototype={ +gt:function(a){return P.l.prototype.gt.call(this,this)}, +h:function(a){return"null"}} +P.aJ.prototype={} +P.l.prototype={constructor:P.l,$il:1, +K:function(a,b){return this===b}, +gt:function(a){return H.ay(this)}, +h:function(a){return"Instance of '"+H.az(this)+"'"}, +toString:function(){return this.h(this)}} +P.a3.prototype={} +P.b_.prototype={$ia3:1} +P.u.prototype={} +P.e.prototype={$ien:1} +P.R.prototype={ +gi:function(a){return this.a.length}, +h:function(a){var u=this.a +return u.charCodeAt(0)==0?u:u}, +$ih8:1} +W.c.prototype={} +W.al.prototype={ +h:function(a){return String(a)}, +$ial:1} +W.bq.prototype={ +h:function(a){return String(a)}} +W.a9.prototype={$ia9:1} +W.a_.prototype={ +gi:function(a){return a.length}} +W.by.prototype={ +h:function(a){return String(a)}} +W.cu.prototype={ +gi:function(a){return this.a.length}, +k:function(a,b){var u=this.a +if(b<0||b>=u.length)return H.n(u,b) +return H.o(u[b],H.k(this,0))}} +W.aa.prototype={ +h:function(a){return a.localName}, +gax:function(a){return new W.b7(a,"click",!1,[W.t])}, +$iaa:1} +W.a.prototype={$ia:1} +W.a0.prototype={ +aO:function(a,b,c,d){return a.addEventListener(b,H.bh(H.d(c,{func:1,args:[W.a]}),1),!1)}, +$ia0:1} +W.bC.prototype={ +gi:function(a){return a.length}} +W.X.prototype={$iX:1,$ieo:1} +W.aw.prototype={$iaw:1} +W.t.prototype={$it:1} +W.w.prototype={ +h:function(a){var u=a.nodeValue +return u==null?this.aL(a):u}, +$iw:1} +W.aY.prototype={ +gi:function(a){return a.length}, +k:function(a,b){if(b>>>0!==b||b>=a.length)throw H.f(P.dJ(b,a,null,null,null)) +return a[b]}, +G:function(a,b){if(b<0||b>=a.length)return H.n(a,b) +return a[b]}, +$idM:1, +$adM:function(){return[W.w]}, +$aae:function(){return[W.w]}, +$iE:1, +$aE:function(){return[W.w]}, +$ir:1, +$ar:function(){return[W.w]}, +$aas:function(){return[W.w]}} +W.c2.prototype={ +gi:function(a){return a.length}} +W.b1.prototype={ +a6:function(a,b){var u=P.e +H.a5(b,"$iv",[u,u],"$av").n(0,new W.c5(a))}, +k:function(a,b){return a.getItem(H.m(b))}, +n:function(a,b){var u,t +H.d(b,{func:1,ret:-1,args:[P.e,P.e]}) +for(u=0;!0;++u){t=a.key(u) +if(t==null)return +b.$2(t,a.getItem(t))}}, +gv:function(a){var u=H.O([],[P.e]) +this.n(a,new W.c6(u)) +return u}, +gi:function(a){return a.length}, +gp:function(a){return a.key(0)==null}, +$aY:function(){return[P.e,P.e]}, +$iv:1, +$av:function(){return[P.e,P.e]}} +W.c5.prototype={ +$2:function(a,b){this.a.setItem(H.m(a),H.m(b))}, +$S:19} +W.c6.prototype={ +$2:function(a,b){return C.a.j(this.a,a)}, +$S:20} +W.M.prototype={$iM:1} +W.U.prototype={} +W.cq.prototype={} +W.b7.prototype={} +W.cr.prototype={} +W.cs.prototype={ +$1:function(a){return this.a.$1(H.h(a,"$ia"))}, +$S:21} +W.as.prototype={ +gq:function(a){return new W.bB(a,a.length,[H.da(this,a,"as",0)])}} +W.bB.prototype={ +l:function(){var u=this,t=u.c+1,s=u.b +if(t=s.length)return H.n(s,t) +u.sal(s[t]) +u.c=t +return!0}u.sal(null) +u.c=s +return!1}, +gm:function(){return this.d}, +sal:function(a){this.d=H.o(a,H.k(this,0))}} +W.ba.prototype={} +W.bb.prototype={} +W.bd.prototype={} +P.b.prototype={ +gax:function(a){return new W.b7(a,"click",!1,[W.t])}} +X.bE.prototype={ +aw:function(){var u,t=new P.R("") +this.b4() +t.a="import 'package:json_annotation/json_annotation.dart'; \n \n part '"+X.dV(this.b)+".g.dart';\n \n \n" +C.a.n(this.d,new X.bF(t)) +u=t.a +return u.charCodeAt(0)==0?u:u}, +b4:function(){var u,t,s,r,q=$.aH.value.split("\n") +for(u=this.d,t=0;t=q.length)return H.n(q,t) +r=J.ea(q[t]).split(":") +if(1>=r.length)return H.n(r,1) +s.b=J.ea(r[1])}}, +S:function(a){C.a.n(a.gas(),new X.bG(this))}, +aF:function(){var u,t,s,r,q +for(u=this.d,t=u.length,s=0,r="";s srcJson) => _$"+u+t}u=this.b +return" factory "+u+".fromJson(Map srcJson) => _$"+u+t}, +gas:function(){return new X.ac(this.a).L()}, +aG:function(){var u=this +if(!!u.$iaW)return u +return new X.aW(u,u.a,u.b)}} +X.bw.prototype={ +$1:function(a){H.h(a,"$iL") +this.b.a+="this."+H.i(H.B($.aI)?this.a.ar(a.gw()):a.gw())+","}, +$S:6} +X.bx.prototype={ +$1:function(a){var u,t +H.h(a,"$iL") +u=this.b +u.a+="\n" +if(H.B($.e4))u.a+=" @JsonKey(name: '"+H.i(a.gw())+"')\n" +t=H.B($.aI)?X.eJ(this.a.ar(a.gw())):a.gw() +u.a+=" "+a.gac()+" "+H.i(t)+";\n"}, +$S:6} +X.aW.prototype={ +a8:function(){var u,t=this.b +t="List<"+t+"> get"+t+"List(List list){\n List<"+t+"> result = [];\n list.forEach((item){\n result.add("+t+".fromJson(item));\n });\n return result;\n }\n" +u=this.d.a8() +t+=u +return t}, +a7:function(){var u=this.d.a7() +return u}, +aa:function(){var u=this.d.aa() +return u}, +I:function(a){var u=this.d.I(0) +return u}, +a9:function(){var u=this.d.a9() +return u}, +gas:function(){return new X.ac(C.d.H(J.f5(C.d.R(0,this.a),0))).L()}} +X.aC.prototype={ +at:function(){return""}, +I:function(a){var u=this.aK(0) +u+"\n" +u=u+"\n\n"+(" Map toJson() => _$"+this.b+"ToJson(this);") +return u.charCodeAt(0)==0?u:u}} +X.ac.prototype={ +aj:function(a){var u +H.a5(a,"$iv",[P.e,null],"$av") +u=H.O([],[X.L]) +J.e8(a,new X.bA(u)) +return u}, +L:function(){var u,t,s=C.d.R(0,this.a),r=[P.e,null] +if(H.Z(s,"$iv",r,"$av"))return this.aj(s) +else{u=J.q(s) +if(!!u.$ir){t=u.k(s,0) +if(H.Z(t,"$iv",r,"$av"))return this.aj(t)}}return H.O([],[X.L])}} +X.bA.prototype={ +$2:function(a,b){var u=this +H.m(a) +if(!!J.q(b).$ir)C.a.j(u.a,new X.at(b,a)) +else if(typeof b==="string")C.a.j(u.a,new X.af("String",a)) +else if(typeof b==="number"&&Math.floor(b)===b)C.a.j(u.a,new X.af("int",a)) +else if(typeof b==="number")C.a.j(u.a,new X.af("double",a)) +else if(typeof b==="boolean")C.a.j(u.a,new X.af("bool",a)) +else if(H.Z(b,"$iv",[P.e,null],"$av"))C.a.j(u.a,new X.aX(b,a))}, +$S:25} +X.L.prototype={} +X.af.prototype={ +gac:function(){return this.a}, +gw:function(){return this.b}} +X.at.prototype={ +gaW:function(){var u=this.a,t=J.N(u),s=t.gp(u) +if(s)return!1 +u=t.k(u,0) +if(H.Z(u,"$iv",[P.e,null],"$av"))return!0 +return!1}, +gU:function(){var u,t,s=this.a,r=J.N(s),q=r.gp(s) +if(q)return"dynamic" +u=r.k(s,0) +if(!!J.q(u).$ir)t="List<"+new X.at(u,"").gU()+">" +else if(H.Z(u,"$iv",[P.e,null],"$av"))t=X.bj(this.b) +else if(typeof u==="number"&&Math.floor(u)===u)t="int" +else if(typeof u==="number")t="double" +else if(typeof u==="string")t="String" +else t=typeof u==="boolean"?"bool":"dynamic" +return t}, +gac:function(){return"List<"+this.gU()+">"}, +gw:function(){return this.b}} +X.aX.prototype={ +gac:function(){return X.bj(this.b)}, +gw:function(){return this.b}};(function aliases(){var u=J.C.prototype +u.aL=u.h +u=J.aT.prototype +u.aM=u.h +u=X.I.prototype +u.aK=u.I})();(function installTearOffs(){var u=hunkHelpers._static_1,t=hunkHelpers._static_0,s=hunkHelpers.installInstanceTearOff +u(H,"ey","fE",26) +u(P,"fJ","fo",7) +u(P,"fK","fp",7) +u(P,"fL","fq",7) +t(P,"eE","fD",1) +s(P.b6.prototype,"gaZ",0,1,null,["$2","$1"],["F","b_"],15,0) +s(P.be.prototype,"gaX",1,0,null,["$1","$0"],["E","aY"],16,0) +u(P,"eG","fv",4)})();(function inheritance(){var u=hunkHelpers.mixin,t=hunkHelpers.inherit,s=hunkHelpers.inheritMany +t(P.l,null) +s(P.l,[H.dL,J.C,J.aO,P.E,H.av,H.cd,P.ab,H.ar,H.ao,H.bc,P.Y,H.bT,H.bU,H.bM,H.cL,H.b3,P.cR,P.b4,P.z,P.b6,P.V,P.A,P.b5,P.aA,P.c7,P.c8,P.cQ,P.y,P.cT,P.b9,P.ae,P.aP,P.cJ,P.cG,P.a6,P.aJ,P.b0,P.ct,P.bD,P.r,P.j,P.a3,P.b_,P.u,P.e,P.R,W.as,W.bB,X.bE,O.aD,S.bu,X.cc,X.ac,X.L]) +s(J.C,[J.bJ,J.bL,J.aT,J.a1,J.aS,J.ad,W.a0,W.by,W.a,W.ba,W.bd]) +s(J.aT,[J.bZ,J.aB,J.a2]) +t(J.dK,J.a1) +s(J.aS,[J.aR,J.bK]) +s(P.E,[H.bz,P.bI]) +s(H.bz,[H.au,H.aV]) +s(P.ab,[H.bY,H.bO,H.cg,H.b2,H.c1,P.br,P.aU,P.ax,P.W,P.ch,P.cf,P.c3,P.bt,P.bv]) +s(H.ao,[H.dB,H.cb,H.db,H.dc,H.dd,P.cn,P.cm,P.co,P.cp,P.cS,P.cl,P.ck,P.cX,P.cY,P.d4,P.cv,P.cz,P.cw,P.cx,P.cy,P.cC,P.cD,P.cB,P.cA,P.c9,P.ca,P.d1,P.cO,P.cN,P.cP,P.bX,P.cK,P.cH,W.c5,W.c6,W.cs,X.bF,X.bG,X.d5,O.dh,O.di,O.dj,O.dy,O.dz,O.dp,O.dq,O.dx,O.dr,O.ds,O.dt,O.du,O.dv,O.dw,O.dk,O.dl,O.dm,O.dn,X.bw,X.bx,X.bA]) +s(H.cb,[H.c4,H.am]) +t(H.cj,P.br) +t(P.bW,P.Y) +s(P.bW,[H.bN,P.cE]) +t(H.ci,P.bI) +t(P.be,P.b6) +t(P.cM,P.cT) +t(P.bV,P.b9) +t(P.cF,H.au) +t(P.aq,P.c8) +t(P.bQ,P.aU) +t(P.bP,P.aP) +s(P.aq,[P.bS,P.bR]) +t(P.b8,P.cJ) +t(P.bf,P.b8) +t(P.cI,P.bf) +s(P.aJ,[P.bi,P.J]) +s(P.W,[P.aZ,P.bH]) +t(W.w,W.a0) +s(W.w,[W.aa,W.a_]) +s(W.aa,[W.c,P.b]) +s(W.c,[W.al,W.bq,W.a9,W.bC,W.X,W.aw,W.c2,W.M]) +t(W.cu,P.bV) +t(W.U,W.a) +t(W.t,W.U) +t(W.bb,W.ba) +t(W.aY,W.bb) +t(W.b1,W.bd) +t(W.cq,P.aA) +t(W.b7,W.cq) +t(W.cr,P.c7) +t(X.I,X.cc) +s(X.I,[X.aW,X.aC]) +s(X.L,[X.af,X.at,X.aX]) +u(P.b9,P.ae) +u(P.bf,P.cG) +u(W.ba,P.ae) +u(W.bb,W.as) +u(W.bd,P.Y)})();(function constants(){var u=hunkHelpers.makeConstList +C.v=J.C.prototype +C.a=J.a1.prototype +C.h=J.aR.prototype +C.w=J.aS.prototype +C.b=J.ad.prototype +C.x=J.a2.prototype +C.n=J.bZ.prototype +C.i=W.b1.prototype +C.j=J.aB.prototype +C.k=function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +} +C.o=function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +} +C.u=function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +} +C.p=function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +} +C.q=function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +} +C.t=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +} +C.r=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +} +C.l=function(hooks) { return hooks; } + +C.d=new P.bP() +C.c=new P.cM() +C.y=new P.bR(null) +C.z=new P.bS(null,null) +C.f=new O.aD("Version.v0") +C.e=new O.aD("Version.v1") +C.m=H.O(u([C.f,C.e]),[O.aD])})() +var v={mangledGlobalNames:{J:"int",bi:"double",aJ:"num",e:"String",a6:"bool",j:"Null",r:"List"},mangledNames:{},getTypeFromName:getGlobalFromName,metadata:[],types:[{func:1,ret:P.j},{func:1,ret:-1},{func:1,ret:P.j,args:[W.a]},{func:1,ret:P.j,args:[W.t]},{func:1,args:[,]},{func:1,ret:P.j,args:[,,]},{func:1,ret:P.j,args:[X.L]},{func:1,ret:-1,args:[{func:1,ret:-1}]},{func:1,ret:P.j,args:[,]},{func:1,args:[,P.e]},{func:1,args:[P.e]},{func:1,ret:P.j,args:[{func:1,ret:-1}]},{func:1,ret:-1,args:[,]},{func:1,ret:P.j,args:[,P.u]},{func:1,ret:P.j,args:[P.J,,]},{func:1,ret:-1,args:[P.l],opt:[P.u]},{func:1,ret:-1,opt:[P.l]},{func:1,ret:P.j,args:[,],opt:[P.u]},{func:1,ret:[P.A,,],args:[,]},{func:1,ret:P.j,args:[P.e,P.e]},{func:1,ret:-1,args:[P.e,P.e]},{func:1,args:[W.a]},{func:1,ret:P.j,args:[X.I]},{func:1,ret:P.e,args:[P.a3]},{func:1,ret:[P.z,P.j],args:[W.t]},{func:1,ret:P.j,args:[P.e,,]},{func:1,ret:P.e,args:[P.e]}],interceptorsByTag:null,leafTags:null};(function staticFields(){$.Q=0 +$.an=null +$.ec=null +$.dQ=!1 +$.eP=null +$.eC=null +$.eT=null +$.d6=null +$.de=null +$.e_=null +$.ag=null +$.aF=null +$.aG=null +$.dS=!1 +$.p=C.c +$.D=[] +$.dZ=null +$.e4=!0 +$.aI=!0 +$.e0=!0 +$.dY="" +$.bo=C.f +$.d7=null +$.aH=null +$.eH=null +$.df=!1 +$.bm=null})();(function lazyInitializers(){var u=hunkHelpers.lazy +u($,"h5","eV",function(){return H.eN("_$dart_dartClosure")}) +u($,"h6","e5",function(){return H.eN("_$dart_js")}) +u($,"h9","eW",function(){return H.S(H.ce({ +toString:function(){return"$receiver$"}}))}) +u($,"ha","eX",function(){return H.S(H.ce({$method$:null, +toString:function(){return"$receiver$"}}))}) +u($,"hb","eY",function(){return H.S(H.ce(null))}) +u($,"hc","eZ",function(){return H.S(function(){var $argumentsExpr$='$arguments$' +try{null.$method$($argumentsExpr$)}catch(t){return t.message}}())}) +u($,"hf","f1",function(){return H.S(H.ce(void 0))}) +u($,"hg","f2",function(){return H.S(function(){var $argumentsExpr$='$arguments$' +try{(void 0).$method$($argumentsExpr$)}catch(t){return t.message}}())}) +u($,"he","f0",function(){return H.S(H.et(null))}) +u($,"hd","f_",function(){return H.S(function(){try{null.$method$}catch(t){return t.message}}())}) +u($,"hi","f4",function(){return H.S(H.et(void 0))}) +u($,"hh","f3",function(){return H.S(function(){try{(void 0).$method$}catch(t){return t.message}}())}) +u($,"hk","e6",function(){return P.fn()})})();(function nativeSupport(){!function(){var u=function(a){var o={} +o[a]=1 +return Object.keys(hunkHelpers.convertToFastObject(o))[0]} +v.getIsolateTag=function(a){return u("___dart_"+a+v.isolateTag)} +var t="___dart_isolate_tags_" +var s=Object[t]||(Object[t]=Object.create(null)) +var r="_ZxYxX" +for(var q=0;;q++){var p=u(r+"_"+q+"_") +if(!(p in s)){s[p]=1 +v.isolateTag=p +break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() +hunkHelpers.setOrUpdateInterceptorsByTag({Blob:J.C,DOMError:J.C,File:J.C,MediaError:J.C,NavigatorUserMediaError:J.C,OverconstrainedError:J.C,PositionError:J.C,SQLError:J.C,HTMLAudioElement:W.c,HTMLBRElement:W.c,HTMLBaseElement:W.c,HTMLBodyElement:W.c,HTMLCanvasElement:W.c,HTMLContentElement:W.c,HTMLDListElement:W.c,HTMLDataElement:W.c,HTMLDataListElement:W.c,HTMLDetailsElement:W.c,HTMLDialogElement:W.c,HTMLDivElement:W.c,HTMLEmbedElement:W.c,HTMLFieldSetElement:W.c,HTMLHRElement:W.c,HTMLHeadElement:W.c,HTMLHeadingElement:W.c,HTMLHtmlElement:W.c,HTMLIFrameElement:W.c,HTMLImageElement:W.c,HTMLLIElement:W.c,HTMLLabelElement:W.c,HTMLLegendElement:W.c,HTMLLinkElement:W.c,HTMLMapElement:W.c,HTMLMediaElement:W.c,HTMLMenuElement:W.c,HTMLMeterElement:W.c,HTMLModElement:W.c,HTMLOListElement:W.c,HTMLObjectElement:W.c,HTMLOptGroupElement:W.c,HTMLOptionElement:W.c,HTMLOutputElement:W.c,HTMLParagraphElement:W.c,HTMLParamElement:W.c,HTMLPictureElement:W.c,HTMLPreElement:W.c,HTMLProgressElement:W.c,HTMLQuoteElement:W.c,HTMLScriptElement:W.c,HTMLShadowElement:W.c,HTMLSlotElement:W.c,HTMLSourceElement:W.c,HTMLSpanElement:W.c,HTMLStyleElement:W.c,HTMLTableCaptionElement:W.c,HTMLTableCellElement:W.c,HTMLTableDataCellElement:W.c,HTMLTableHeaderCellElement:W.c,HTMLTableColElement:W.c,HTMLTableElement:W.c,HTMLTableRowElement:W.c,HTMLTableSectionElement:W.c,HTMLTemplateElement:W.c,HTMLTimeElement:W.c,HTMLTitleElement:W.c,HTMLTrackElement:W.c,HTMLUListElement:W.c,HTMLUnknownElement:W.c,HTMLVideoElement:W.c,HTMLDirectoryElement:W.c,HTMLFontElement:W.c,HTMLFrameElement:W.c,HTMLFrameSetElement:W.c,HTMLMarqueeElement:W.c,HTMLElement:W.c,HTMLAnchorElement:W.al,HTMLAreaElement:W.bq,HTMLButtonElement:W.a9,CDATASection:W.a_,CharacterData:W.a_,Comment:W.a_,ProcessingInstruction:W.a_,Text:W.a_,DOMException:W.by,Element:W.aa,AbortPaymentEvent:W.a,AnimationEvent:W.a,AnimationPlaybackEvent:W.a,ApplicationCacheErrorEvent:W.a,BackgroundFetchClickEvent:W.a,BackgroundFetchEvent:W.a,BackgroundFetchFailEvent:W.a,BackgroundFetchedEvent:W.a,BeforeInstallPromptEvent:W.a,BeforeUnloadEvent:W.a,BlobEvent:W.a,CanMakePaymentEvent:W.a,ClipboardEvent:W.a,CloseEvent:W.a,CustomEvent:W.a,DeviceMotionEvent:W.a,DeviceOrientationEvent:W.a,ErrorEvent:W.a,ExtendableEvent:W.a,ExtendableMessageEvent:W.a,FetchEvent:W.a,FontFaceSetLoadEvent:W.a,ForeignFetchEvent:W.a,GamepadEvent:W.a,HashChangeEvent:W.a,InstallEvent:W.a,MediaEncryptedEvent:W.a,MediaKeyMessageEvent:W.a,MediaQueryListEvent:W.a,MediaStreamEvent:W.a,MediaStreamTrackEvent:W.a,MessageEvent:W.a,MIDIConnectionEvent:W.a,MIDIMessageEvent:W.a,MutationEvent:W.a,NotificationEvent:W.a,PageTransitionEvent:W.a,PaymentRequestEvent:W.a,PaymentRequestUpdateEvent:W.a,PopStateEvent:W.a,PresentationConnectionAvailableEvent:W.a,PresentationConnectionCloseEvent:W.a,ProgressEvent:W.a,PromiseRejectionEvent:W.a,PushEvent:W.a,RTCDataChannelEvent:W.a,RTCDTMFToneChangeEvent:W.a,RTCPeerConnectionIceEvent:W.a,RTCTrackEvent:W.a,SecurityPolicyViolationEvent:W.a,SensorErrorEvent:W.a,SpeechRecognitionError:W.a,SpeechRecognitionEvent:W.a,SpeechSynthesisEvent:W.a,StorageEvent:W.a,SyncEvent:W.a,TrackEvent:W.a,TransitionEvent:W.a,WebKitTransitionEvent:W.a,VRDeviceEvent:W.a,VRDisplayEvent:W.a,VRSessionEvent:W.a,MojoInterfaceRequestEvent:W.a,ResourceProgressEvent:W.a,USBConnectionEvent:W.a,IDBVersionChangeEvent:W.a,AudioProcessingEvent:W.a,OfflineAudioCompletionEvent:W.a,WebGLContextEvent:W.a,Event:W.a,InputEvent:W.a,Window:W.a0,DOMWindow:W.a0,EventTarget:W.a0,HTMLFormElement:W.bC,HTMLInputElement:W.X,HTMLMetaElement:W.aw,MouseEvent:W.t,DragEvent:W.t,PointerEvent:W.t,WheelEvent:W.t,Document:W.w,DocumentFragment:W.w,HTMLDocument:W.w,ShadowRoot:W.w,XMLDocument:W.w,Attr:W.w,DocumentType:W.w,Node:W.w,NodeList:W.aY,RadioNodeList:W.aY,HTMLSelectElement:W.c2,Storage:W.b1,HTMLTextAreaElement:W.M,CompositionEvent:W.U,FocusEvent:W.U,KeyboardEvent:W.U,TextEvent:W.U,TouchEvent:W.U,UIEvent:W.U,SVGAElement:P.b,SVGAnimateElement:P.b,SVGAnimateMotionElement:P.b,SVGAnimateTransformElement:P.b,SVGAnimationElement:P.b,SVGCircleElement:P.b,SVGClipPathElement:P.b,SVGDefsElement:P.b,SVGDescElement:P.b,SVGDiscardElement:P.b,SVGEllipseElement:P.b,SVGFEBlendElement:P.b,SVGFEColorMatrixElement:P.b,SVGFEComponentTransferElement:P.b,SVGFECompositeElement:P.b,SVGFEConvolveMatrixElement:P.b,SVGFEDiffuseLightingElement:P.b,SVGFEDisplacementMapElement:P.b,SVGFEDistantLightElement:P.b,SVGFEFloodElement:P.b,SVGFEFuncAElement:P.b,SVGFEFuncBElement:P.b,SVGFEFuncGElement:P.b,SVGFEFuncRElement:P.b,SVGFEGaussianBlurElement:P.b,SVGFEImageElement:P.b,SVGFEMergeElement:P.b,SVGFEMergeNodeElement:P.b,SVGFEMorphologyElement:P.b,SVGFEOffsetElement:P.b,SVGFEPointLightElement:P.b,SVGFESpecularLightingElement:P.b,SVGFESpotLightElement:P.b,SVGFETileElement:P.b,SVGFETurbulenceElement:P.b,SVGFilterElement:P.b,SVGForeignObjectElement:P.b,SVGGElement:P.b,SVGGeometryElement:P.b,SVGGraphicsElement:P.b,SVGImageElement:P.b,SVGLineElement:P.b,SVGLinearGradientElement:P.b,SVGMarkerElement:P.b,SVGMaskElement:P.b,SVGMetadataElement:P.b,SVGPathElement:P.b,SVGPatternElement:P.b,SVGPolygonElement:P.b,SVGPolylineElement:P.b,SVGRadialGradientElement:P.b,SVGRectElement:P.b,SVGScriptElement:P.b,SVGSetElement:P.b,SVGStopElement:P.b,SVGStyleElement:P.b,SVGElement:P.b,SVGSVGElement:P.b,SVGSwitchElement:P.b,SVGSymbolElement:P.b,SVGTSpanElement:P.b,SVGTextContentElement:P.b,SVGTextElement:P.b,SVGTextPathElement:P.b,SVGTextPositioningElement:P.b,SVGTitleElement:P.b,SVGUseElement:P.b,SVGViewElement:P.b,SVGGradientElement:P.b,SVGComponentTransferFunctionElement:P.b,SVGFEDropShadowElement:P.b,SVGMPathElement:P.b}) +hunkHelpers.setOrUpdateLeafTags({Blob:true,DOMError:true,File:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,SQLError:true,HTMLAudioElement:true,HTMLBRElement:true,HTMLBaseElement:true,HTMLBodyElement:true,HTMLCanvasElement:true,HTMLContentElement:true,HTMLDListElement:true,HTMLDataElement:true,HTMLDataListElement:true,HTMLDetailsElement:true,HTMLDialogElement:true,HTMLDivElement:true,HTMLEmbedElement:true,HTMLFieldSetElement:true,HTMLHRElement:true,HTMLHeadElement:true,HTMLHeadingElement:true,HTMLHtmlElement:true,HTMLIFrameElement:true,HTMLImageElement:true,HTMLLIElement:true,HTMLLabelElement:true,HTMLLegendElement:true,HTMLLinkElement:true,HTMLMapElement:true,HTMLMediaElement:true,HTMLMenuElement:true,HTMLMeterElement:true,HTMLModElement:true,HTMLOListElement:true,HTMLObjectElement:true,HTMLOptGroupElement:true,HTMLOptionElement:true,HTMLOutputElement:true,HTMLParagraphElement:true,HTMLParamElement:true,HTMLPictureElement:true,HTMLPreElement:true,HTMLProgressElement:true,HTMLQuoteElement:true,HTMLScriptElement:true,HTMLShadowElement:true,HTMLSlotElement:true,HTMLSourceElement:true,HTMLSpanElement:true,HTMLStyleElement:true,HTMLTableCaptionElement:true,HTMLTableCellElement:true,HTMLTableDataCellElement:true,HTMLTableHeaderCellElement:true,HTMLTableColElement:true,HTMLTableElement:true,HTMLTableRowElement:true,HTMLTableSectionElement:true,HTMLTemplateElement:true,HTMLTimeElement:true,HTMLTitleElement:true,HTMLTrackElement:true,HTMLUListElement:true,HTMLUnknownElement:true,HTMLVideoElement:true,HTMLDirectoryElement:true,HTMLFontElement:true,HTMLFrameElement:true,HTMLFrameSetElement:true,HTMLMarqueeElement:true,HTMLElement:false,HTMLAnchorElement:true,HTMLAreaElement:true,HTMLButtonElement:true,CDATASection:true,CharacterData:true,Comment:true,ProcessingInstruction:true,Text:true,DOMException:true,Element:false,AbortPaymentEvent:true,AnimationEvent:true,AnimationPlaybackEvent:true,ApplicationCacheErrorEvent:true,BackgroundFetchClickEvent:true,BackgroundFetchEvent:true,BackgroundFetchFailEvent:true,BackgroundFetchedEvent:true,BeforeInstallPromptEvent:true,BeforeUnloadEvent:true,BlobEvent:true,CanMakePaymentEvent:true,ClipboardEvent:true,CloseEvent:true,CustomEvent:true,DeviceMotionEvent:true,DeviceOrientationEvent:true,ErrorEvent:true,ExtendableEvent:true,ExtendableMessageEvent:true,FetchEvent:true,FontFaceSetLoadEvent:true,ForeignFetchEvent:true,GamepadEvent:true,HashChangeEvent:true,InstallEvent:true,MediaEncryptedEvent:true,MediaKeyMessageEvent:true,MediaQueryListEvent:true,MediaStreamEvent:true,MediaStreamTrackEvent:true,MessageEvent:true,MIDIConnectionEvent:true,MIDIMessageEvent:true,MutationEvent:true,NotificationEvent:true,PageTransitionEvent:true,PaymentRequestEvent:true,PaymentRequestUpdateEvent:true,PopStateEvent:true,PresentationConnectionAvailableEvent:true,PresentationConnectionCloseEvent:true,ProgressEvent:true,PromiseRejectionEvent:true,PushEvent:true,RTCDataChannelEvent:true,RTCDTMFToneChangeEvent:true,RTCPeerConnectionIceEvent:true,RTCTrackEvent:true,SecurityPolicyViolationEvent:true,SensorErrorEvent:true,SpeechRecognitionError:true,SpeechRecognitionEvent:true,SpeechSynthesisEvent:true,StorageEvent:true,SyncEvent:true,TrackEvent:true,TransitionEvent:true,WebKitTransitionEvent:true,VRDeviceEvent:true,VRDisplayEvent:true,VRSessionEvent:true,MojoInterfaceRequestEvent:true,ResourceProgressEvent:true,USBConnectionEvent:true,IDBVersionChangeEvent:true,AudioProcessingEvent:true,OfflineAudioCompletionEvent:true,WebGLContextEvent:true,Event:false,InputEvent:false,Window:true,DOMWindow:true,EventTarget:false,HTMLFormElement:true,HTMLInputElement:true,HTMLMetaElement:true,MouseEvent:true,DragEvent:true,PointerEvent:true,WheelEvent:true,Document:true,DocumentFragment:true,HTMLDocument:true,ShadowRoot:true,XMLDocument:true,Attr:true,DocumentType:true,Node:false,NodeList:true,RadioNodeList:true,HTMLSelectElement:true,Storage:true,HTMLTextAreaElement:true,CompositionEvent:true,FocusEvent:true,KeyboardEvent:true,TextEvent:true,TouchEvent:true,UIEvent:false,SVGAElement:true,SVGAnimateElement:true,SVGAnimateMotionElement:true,SVGAnimateTransformElement:true,SVGAnimationElement:true,SVGCircleElement:true,SVGClipPathElement:true,SVGDefsElement:true,SVGDescElement:true,SVGDiscardElement:true,SVGEllipseElement:true,SVGFEBlendElement:true,SVGFEColorMatrixElement:true,SVGFEComponentTransferElement:true,SVGFECompositeElement:true,SVGFEConvolveMatrixElement:true,SVGFEDiffuseLightingElement:true,SVGFEDisplacementMapElement:true,SVGFEDistantLightElement:true,SVGFEFloodElement:true,SVGFEFuncAElement:true,SVGFEFuncBElement:true,SVGFEFuncGElement:true,SVGFEFuncRElement:true,SVGFEGaussianBlurElement:true,SVGFEImageElement:true,SVGFEMergeElement:true,SVGFEMergeNodeElement:true,SVGFEMorphologyElement:true,SVGFEOffsetElement:true,SVGFEPointLightElement:true,SVGFESpecularLightingElement:true,SVGFESpotLightElement:true,SVGFETileElement:true,SVGFETurbulenceElement:true,SVGFilterElement:true,SVGForeignObjectElement:true,SVGGElement:true,SVGGeometryElement:true,SVGGraphicsElement:true,SVGImageElement:true,SVGLineElement:true,SVGLinearGradientElement:true,SVGMarkerElement:true,SVGMaskElement:true,SVGMetadataElement:true,SVGPathElement:true,SVGPatternElement:true,SVGPolygonElement:true,SVGPolylineElement:true,SVGRadialGradientElement:true,SVGRectElement:true,SVGScriptElement:true,SVGSetElement:true,SVGStopElement:true,SVGStyleElement:true,SVGElement:true,SVGSVGElement:true,SVGSwitchElement:true,SVGSymbolElement:true,SVGTSpanElement:true,SVGTextContentElement:true,SVGTextElement:true,SVGTextPathElement:true,SVGTextPositioningElement:true,SVGTitleElement:true,SVGUseElement:true,SVGViewElement:true,SVGGradientElement:true,SVGComponentTransferFunctionElement:true,SVGFEDropShadowElement:true,SVGMPathElement:true})})() +convertAllToFastObject(w) +convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) +return}if(typeof document.currentScript!='undefined'){a(document.currentScript) +return}var u=document.scripts +function onLoad(b){for(var s=0;s templateList = []; - String makeDartCode() { + void refreshAllTemplates() { var entityName = this.entityName ?? "Entity"; DefaultTemplate template; if (version == Version.v1) { @@ -23,7 +23,6 @@ class Generator { template = DefaultTemplate(srcJson: jsonString, className: entityName); } - StringBuffer resultSb = StringBuffer(); if (!template.isList) { templateList.add(template); refreshTemplate(template); @@ -34,6 +33,11 @@ class Generator { refreshTemplate(template); } + } + + String makeDartCode() { + StringBuffer resultSb = StringBuffer(); + handleInputClassName(); resultSb.writeln(header); templateList.forEach((template) { @@ -42,21 +46,39 @@ class Generator { return resultSb.toString(); } + void handleInputClassName() { + final text = eClassName.value; + final lines = text.split("\n"); + + for (var i = 0; i < templateList.length; i++) { + final template = templateList[i]; + final line = lines[i].trim(); + final inputKeyValue = line.split(":"); + final inputName = inputKeyValue[1].trim(); + + template.className = inputName; + } + } + void refreshTemplate(DefaultTemplate template) { var fieldList = template.fieldList; fieldList.forEach((filed) { if (filed is MapField) { - DefaultTemplate template = DefaultTemplate(srcJson: json.encode(filed.map), className: filed.typeString); + DefaultTemplate template = DefaultTemplate( + srcJson: json.encode(filed.map), className: filed.typeString); if (version == Version.v1) { - template = V1Template(srcJson: json.encode(filed.map), className: filed.typeString); + template = V1Template( + srcJson: json.encode(filed.map), className: filed.typeString); } templateList.add(template); refreshTemplate(template); } else if (filed is ListField) { if (filed.childIsObject) { - DefaultTemplate template = DefaultTemplate(srcJson: json.encode(filed.list[0]), className: filed.typeName); + DefaultTemplate template = DefaultTemplate( + srcJson: json.encode(filed.list[0]), className: filed.typeName); if (version == Version.v1) { - template = V1Template(srcJson: json.encode(filed.list[0]), className: filed.typeName); + template = V1Template( + srcJson: json.encode(filed.list[0]), className: filed.typeName); } templateList.add(template); refreshTemplate(template); @@ -67,13 +89,23 @@ class Generator { String get fileName => camelCase2UnderScoreCase(entityName); - static const String importString = "import 'package:json_annotation/json_annotation.dart';"; + static const String importString = + "import 'package:json_annotation/json_annotation.dart';"; String get header => """$importString - -part '$fileName.g.dart'; - -"""; + + part '$fileName.g.dart'; + + """; + + String getClassNameText() { + final sb = StringBuffer(); + for (final template in templateList) { + String text = "${template.className} : ${template.className}"; + sb.writeln(text); + } + return sb.toString(); + } } String camelCase2UnderScoreCase(String name) { diff --git a/lib/json_generator.dart b/lib/json_generator.dart index fe73c83..b8ce9f0 100644 --- a/lib/json_generator.dart +++ b/lib/json_generator.dart @@ -10,6 +10,7 @@ String entityName = null; bool useJsonKey = true; bool isCamelCase = true; +bool isStaticMethod = true; var downloadFileName = ""; @@ -27,10 +28,15 @@ enum Version { v0, v1 } Version v = Version.v0; +TextAreaElement eResult; +TextAreaElement eClassName; +Element editButton; void main() async { isChinese = await _isChinese(); var dataHelper = CookieHelper(); TextAreaElement jsonInput = querySelector("#json"); + eClassName = querySelector("#class_name"); + eResult = querySelector("#result"); jsonInput.value = dataHelper.loadJsonString(); jsonInput.onInput.listen((event) { @@ -61,6 +67,7 @@ void main() async { InputElement eJsonKey = querySelector("#use_json_key"); InputElement eCamelCase = querySelector("#camelCase"); + InputElement eUseStatic = querySelector("#use_static"); TextAreaElement result = querySelector("#result"); RadioButtonInputElement v0 = querySelector("#v0"); RadioButtonInputElement v1 = querySelector("#v1"); @@ -125,6 +132,17 @@ void main() async { refreshData(); }); + eUseStatic.checked = isStaticMethod; + eUseStatic.onInput.listen((event) { + isStaticMethod = eUseStatic.checked; + refreshData(); + }); + + querySelector("#useStaticLabel").onClick.listen((event) { + eUseStatic.checked = !eUseStatic.checked; + refreshData(); + }); + refreshData(); querySelector("#copy").onClick.listen((event) { @@ -150,6 +168,15 @@ void main() async { saveLink.download = downloadFileName; saveLink.click(); }); + + editButton = querySelector("#edit_class"); + editButton.onClick.listen((event) { + showOrClassName(); + }); + + eClassName.onInput.listen((event) { + refreshClassNameChange(eClassName.text); + }); } Future _isChinese() async { @@ -172,7 +199,7 @@ Future _isChinese() async { } bool isChinese = false; - +Generator generator; void refreshData() async { TextAreaElement jsonInput = querySelector("#json"); var string = jsonInput.value; @@ -195,7 +222,18 @@ void refreshData() async { entityClassName = entityName; } - var generator = Generator(string, entityClassName, v); + generator = Generator(string, entityClassName, v); + generator.refreshAllTemplates(); + writeClassNameText(generator); + makeCode(generator); +} + +void writeClassNameText(Generator generator) { + String names = generator.getClassNameText(); + eClassName.text = names; +} + +void makeCode(Generator generator) { var dartCode = generator.makeDartCode(); var dartFileName = ("${generator.fileName}.dart"); downloadFileName = dartFileName; @@ -206,10 +244,14 @@ void refreshData() async { } else { filePrefix = "your dart file name is:"; } - // print(filePrefix); - querySelector("#file_name").text = "$filePrefix $dartFileName"; + final resultName = "$filePrefix $dartFileName"; + writeToResult(resultName, dartCode); +} - result.value = dartCode; +void writeToResult(String resultName, String resultText) { + // print(filePrefix); + querySelector("#file_name").text = resultName; + eResult.value = resultText; } String formatJson(String jsonString) { @@ -217,3 +259,26 @@ String formatJson(String jsonString) { var prettyString = JsonEncoder.withIndent(" ").convert(map); return prettyString; } + +void showOrClassName() { + final currentState = !eClassName.hidden; + + eClassName.hidden = !eClassName.hidden; + eResult.hidden = !eResult.hidden; + + editButton.text = currentState ? "name" : "result"; +} + +void refreshClassNameChange(String text) { + final value = generator.makeDartCode(); + String filePrefix; + if (isChinese) { + filePrefix = "应该使用的文件名为:"; + } else { + filePrefix = "your dart file name is:"; + } + var dartFileName = ("${generator.fileName}.dart"); + downloadFileName = dartFileName; + final resultName = "$filePrefix $dartFileName"; + writeToResult(resultName, value); +} diff --git a/lib/template.dart b/lib/template.dart index a420997..e5eb165 100644 --- a/lib/template.dart +++ b/lib/template.dart @@ -97,6 +97,9 @@ class DefaultTemplate extends Template { @override String method() { + if (main.isStaticMethod) { + return " static $className fromJson(Map srcJson) => _\$${className}FromJson(srcJson);"; + } return " factory $className.fromJson(Map srcJson) => _\$${className}FromJson(srcJson);"; } @@ -108,22 +111,27 @@ class DefaultTemplate extends Template { if (this is ListTemplate) { return this; } - return ListTemplate(srcJson: srcJson, className: className, delegateTemplate: this); + return ListTemplate( + srcJson: srcJson, className: className, delegateTemplate: this); } } class ListTemplate extends DefaultTemplate { Template delegateTemplate; - ListTemplate({String srcJson, String className = "Entity", this.delegateTemplate}) : super(className: className, srcJson: srcJson); + ListTemplate( + {String srcJson, String className = "Entity", this.delegateTemplate}) + : super(className: className, srcJson: srcJson); @override String declare() { - return _declareListMethod() + "\n" + delegateTemplate?.declare() ?? super.declare(); + return _declareListMethod() + "\n" + delegateTemplate?.declare() ?? + super.declare(); } String _declareListMethod() { - var listMethod = """List<$className> get${className}List(List list){ + var listMethod = + """List<$className> get${className}List(List list){ List<$className> result = []; list.forEach((item){ result.add($className.fromJson(item)); @@ -154,11 +162,13 @@ class ListTemplate extends DefaultTemplate { } @override - List get fieldList => FieldHelper(json.encode(json.decode(srcJson)[0])).getFields(); + List get fieldList => + FieldHelper(json.encode(json.decode(srcJson)[0])).getFields(); } class V1Template extends DefaultTemplate { - V1Template({String srcJson, String className = "Entity"}) : super(className: className, srcJson: srcJson); + V1Template({String srcJson, String className = "Entity"}) + : super(className: className, srcJson: srcJson); @override String interface() => ""; @@ -168,7 +178,8 @@ class V1Template extends DefaultTemplate { var result = StringBuffer(); result.writeln(super.method()); result.writeln(); - result.write(" Map toJson() => _\$${className}ToJson(this);"); + result.write( + " Map toJson() => _\$${className}ToJson(this);"); return result.toString(); } } diff --git a/pubspec.yaml b/pubspec.yaml index 67d8f46..3387c53 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,11 +11,10 @@ environment: # path: ^1.4.1 dependencies: # Your other regular dependencies here - json_annotation: ^0.2.3 - intl: ^0.15.7 + json_annotation: ^3.0.0 + intl: ^0.15.8 - dev_dependencies: - build_runner: ^0.9.0 - build_web_compilers: ^0.4.0 - json_serializable: ^0.5.4 \ No newline at end of file + build_runner: ^1.6.6 + build_web_compilers: ^2.2.3 + json_serializable: ^3.2.0 \ No newline at end of file diff --git a/web/index.html b/web/index.html index 0dc635c..4c078aa 100644 --- a/web/index.html +++ b/web/index.html @@ -1,67 +1,97 @@ - - + json2dart_for_json_serializable - - + + - + - +
-

simple use - json_serializable -

-
- v0.x.x - v1.x.x -
-
-
- copy your json to left textarea - -
- dart class name - - - jsonKey annotation - - use camelCase -
-
-
-
-
- - - - - - -
-
- - - - - - - +

+ simple use + json_serializable +

+
+ + +
+
+
+ copy your json to left textarea + +
+ dart class name + + + jsonKey annotation + + use camelCase + + use static
+
+
- - - \ No newline at end of file +
+ + + + + + + +
+
+ + + + + + + + +
+
+
+ + diff --git a/web/index_ch.html b/web/index_ch.html index 47872dc..ec36e37 100644 --- a/web/index_ch.html +++ b/web/index_ch.html @@ -1,68 +1,96 @@ - - + json2dart_for_json_serializable - - + + - + - +
-

为了便利使用 - json_serializable库 -

-
- v0.x.x - v1.x.x -
+

+ 为了便利使用 + json_serializable + 库 +

+
+ + +
-
- 将json粘贴至左边 - -
- 类名称 - - - jsonKey annotation - - use camelCase -
-
-
-
-
- - - - - - -
-
- - - - - - - -
+
+ 将json粘贴至左边 + +
+ 类名称 + + + 使用 JsonKey 注解 + + 驼峰命名 + + 使用静态方法 +
+
+
+
+
+ + + + + + + +
+
+ + + + + + + + +
- - - \ No newline at end of file + + diff --git a/web/styles.css b/web/styles.css index a8765ac..4110906 100644 --- a/web/styles.css +++ b/web/styles.css @@ -6,7 +6,7 @@ body { height: 100%; margin: 0; padding: 0; - font-family: "Roboto", sans-serif; + font-family: 'Roboto', sans-serif; } h1 { @@ -21,7 +21,6 @@ h1 { textarea { width: 86%; - height: 70vh; } .content { @@ -34,7 +33,7 @@ textarea { } button { - width: 6rem; + width: 9rem; height: 2rem; font-size: 1rem; } @@ -63,3 +62,13 @@ a:hover { font-size: 10px; text-align: center; } + +.content_area { + height: 60vh; +} + +#class_name { + width: 86%; + background-color: rgba(255, 255, 0, 0.164); + height: 60vh; +}