From 8b6300bbcea12967a5836f1f7c98f6b96e93949a Mon Sep 17 00:00:00 2001 From: musicode Date: Mon, 29 Mar 2021 16:15:50 +0800 Subject: [PATCH] bump 1.0.0-alpha.203 --- dist/legacy/dev/yox.esm.js | 40 ++++++++++--------- dist/legacy/dev/yox.esm.js.map | 2 +- dist/legacy/dev/yox.esm.min.js | 2 +- dist/legacy/dev/yox.js | 38 ++++++++++--------- dist/legacy/dev/yox.js.map | 2 +- dist/legacy/dev/yox.min.js | 2 +- dist/legacy/prod/yox.esm.js | 40 ++++++++++--------- dist/legacy/prod/yox.esm.js.map | 2 +- dist/legacy/prod/yox.esm.min.js | 2 +- dist/legacy/prod/yox.js | 38 ++++++++++--------- dist/legacy/prod/yox.js.map | 2 +- dist/legacy/prod/yox.min.js | 2 +- dist/legacy/pure/yox.esm.js | 27 +++++++------ dist/legacy/pure/yox.esm.js.map | 2 +- dist/legacy/pure/yox.esm.min.js | 2 +- dist/legacy/pure/yox.js | 25 ++++++------ dist/legacy/pure/yox.js.map | 2 +- dist/legacy/pure/yox.min.js | 2 +- dist/legacy/runtime/yox.esm.js | 40 ++++++++++--------- dist/legacy/runtime/yox.esm.js.map | 2 +- dist/legacy/runtime/yox.esm.min.js | 2 +- dist/legacy/runtime/yox.js | 38 ++++++++++--------- dist/legacy/runtime/yox.js.map | 2 +- dist/legacy/runtime/yox.min.js | 2 +- dist/standard/dev/yox.esm.js | 40 ++++++++++--------- dist/standard/dev/yox.esm.js.map | 2 +- dist/standard/dev/yox.esm.min.js | 2 +- dist/standard/dev/yox.js | 38 ++++++++++--------- dist/standard/dev/yox.js.map | 2 +- dist/standard/dev/yox.min.js | 2 +- dist/standard/prod/yox.esm.js | 40 ++++++++++--------- dist/standard/prod/yox.esm.js.map | 2 +- dist/standard/prod/yox.esm.min.js | 2 +- dist/standard/prod/yox.js | 38 ++++++++++--------- dist/standard/prod/yox.js.map | 2 +- dist/standard/prod/yox.min.js | 2 +- dist/standard/pure/yox.esm.js | 27 +++++++------ dist/standard/pure/yox.esm.js.map | 2 +- dist/standard/pure/yox.esm.min.js | 2 +- dist/standard/pure/yox.js | 25 ++++++------ dist/standard/pure/yox.js.map | 2 +- dist/standard/pure/yox.min.js | 2 +- dist/standard/runtime/yox.esm.js | 40 ++++++++++--------- dist/standard/runtime/yox.esm.js.map | 2 +- dist/standard/runtime/yox.esm.min.js | 2 +- dist/standard/runtime/yox.js | 38 ++++++++++--------- dist/standard/runtime/yox.js.map | 2 +- dist/standard/runtime/yox.min.js | 2 +- dist/yox.d.ts | 2 +- example/transition.html | 57 ++++++++++++++++++++++++++++ package.json | 2 +- 51 files changed, 403 insertions(+), 294 deletions(-) create mode 100644 example/transition.html diff --git a/dist/legacy/dev/yox.esm.js b/dist/legacy/dev/yox.esm.js index ffd1616c..e80cd403 100644 --- a/dist/legacy/dev/yox.esm.js +++ b/dist/legacy/dev/yox.esm.js @@ -1,5 +1,5 @@ /** - * yox.js v1.0.0-alpha.202 + * yox.js v1.0.0-alpha.203 * (c) 2017-2021 musicode * Released under the MIT License. */ @@ -6240,7 +6240,12 @@ function render(context, observer, template, filters, partials, directives, tran normalizeChildren(slots[name], vnodes, components); // 就算是 undefined 也必须有值,用于覆盖旧值 result[name] = vnodes.length - ? { vnodes, components } + ? { + vnodes, + components: components.length + ? components + : UNDEFINED + } : UNDEFINED; } data.slots = result; @@ -6444,8 +6449,10 @@ function render(context, observer, template, filters, partials, directives, tran const result = context.get(name); if (result) { const { vnodes, components } = result; - for (let i = 0, length = components.length; i < length; i++) { - components[i].parent = context; + if (components) { + for (let i = 0, length = components.length; i < length; i++) { + components[i].parent = context; + } } return vnodes; } @@ -7205,9 +7212,6 @@ function formatWatcherOptions (options, immediate) { return options; } -// 触发监听函数的参数列表 -// 复用同一个数组,应该能稍微快些 -const syncWatchArgs = new Array(3), asyncWatchArgs = new Array(3); /** * 观察者有两种观察模式: * @@ -7328,13 +7332,14 @@ class Observer { */ isRecursive = codeAt(keypath) !== 36; diffWatcher(keypath, newValue, oldValue, syncEmitter.listeners, isRecursive, function (watchKeypath, keypath, newValue, oldValue) { - syncWatchArgs[0] = newValue; - syncWatchArgs[1] = oldValue; - syncWatchArgs[2] = keypath; syncEmitter.fire({ type: watchKeypath, ns: EMPTY_STRING, - }, syncWatchArgs); + }, [ + newValue, + oldValue, + keypath, + ]); }); /** * 此处有坑,举个例子 @@ -7377,10 +7382,11 @@ class Observer { instance.asyncOldValues = {}; instance.asyncKeypaths = {}; for (let keypath in asyncOldValues) { - asyncWatchArgs[0] = instance.get(keypath); - asyncWatchArgs[1] = asyncOldValues[keypath]; - asyncWatchArgs[2] = keypath; - const keypaths = asyncKeypaths[keypath], hasChange = asyncWatchArgs[0] !== asyncWatchArgs[1], filterWatcher = function (event, args, options) { + const args = [ + instance.get(keypath), + asyncOldValues[keypath], + keypath, + ], keypaths = asyncKeypaths[keypath], hasChange = args[0] !== args[1], filterWatcher = function (event, args, options) { // 前面递增了 count // 这里要递减 count // count > 0 表示前面标记了该监听器需要响应此次变化 @@ -7397,7 +7403,7 @@ class Observer { asyncEmitter.fire({ type: watchKeypath, ns: EMPTY_STRING, - }, asyncWatchArgs, filterWatcher); + }, args, filterWatcher); } } } @@ -8415,7 +8421,7 @@ class Yox { /** * core 版本 */ -Yox.version = "1.0.0-alpha.202"; +Yox.version = "1.0.0-alpha.203"; /** * 方便外部共用的通用逻辑,特别是写插件,减少重复代码 */ diff --git a/dist/legacy/dev/yox.esm.js.map b/dist/legacy/dev/yox.esm.js.map index 81f68023..486f36e5 100644 --- a/dist/legacy/dev/yox.esm.js.map +++ b/dist/legacy/dev/yox.esm.js.map @@ -1 +1 @@ -{"version":3,"file":"yox.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/dist/legacy/dev/yox.esm.min.js b/dist/legacy/dev/yox.esm.min.js index 741f40b9..95cf8a50 100644 --- a/dist/legacy/dev/yox.esm.min.js +++ b/dist/legacy/dev/yox.esm.min.js @@ -1,2 +1,2 @@ -const e=/^!(?:\s|--)/,t="undefined"!=typeof window?window:undefined,n="undefined"!=typeof document?document:undefined,i=function(){},r=Object.freeze({}),o=Object.freeze([]),s=/yox/.test(i.toString())?2:3,c={leftDelimiter:"{",rightDelimiter:"}",uglifyCompiled:false,minifyCompiled:false,logLevel:s};function a(e){return"function"==typeof e}function u(e){return Array.isArray(e)}function f(e){return null!==e&&"object"==typeof e}function l(e){return"string"==typeof e}function d(e){return"number"==typeof e&&!isNaN(e)}function p(e){return"boolean"==typeof e}function h(e){return d(e)||l(e)&&!isNaN(parseFloat(e))&&isFinite(e)}var m=Object.freeze({__proto__:null,func:a,array:u,object:f,string:l,number:d,boolean:p,numeric:h});function g(e,t,n){if(a(e))return u(n)?e.apply(t,n):undefined!==t?e.call(t,n):undefined!==n?e(n):e()}class v{constructor(e,t){this.type=e,this.phase=v.PHASE_CURRENT,t&&(this.originalEvent=t)}static is(e){return e instanceof v}preventDefault(){const e=this;if(!e.isPrevented){const{originalEvent:t}=e;t&&t.preventDefault(),e.isPrevented=true}return e}stopPropagation(){const e=this;if(!e.isStoped){const{originalEvent:t}=e;t&&t.stopPropagation(),e.isStoped=true}return e}prevent(){return this.preventDefault()}stop(){return this.stopPropagation()}}function y(e,t,n){const{length:i}=e;if(i)if(n)for(let n=i-1;n>=0&&false!==t(e[n],n);n--);else for(let n=0;n0)return e[t-1]}function E(e){const{length:t}=e;if(t>0)return e.pop()}function C(e,t,n){let i=0;return y(e,(function(r,o){(false===n?r==t:r===t)&&(e.splice(o,1),i++)}),true),i}function _(e,t,n){return w(e,t,n)>=0}function A(e){return u(e)?e:g(o.slice,e)}function N(e,t){return e.join(t)}function O(e){return!u(e)||!e.length}v.PHASE_CURRENT=0,v.PHASE_UPWARD=1,v.PHASE_DOWNWARD=-1;var j=Object.freeze({__proto__:null,each:y,push:x,unshift:T,indexOf:w,last:S,pop:E,remove:C,has:_,toArray:A,toObject:function(e,t,n){let i={};return y(e,(function(e){i[t?e[t]:e]=n||e})),i},join:N,falsy:O});function z(e,t){return null!=e&&e.toString?e.toString():undefined!==t?t:""}function P(e){return a(e)&&z(e).indexOf("[native code]")>=0}let I=function(){const e=Object.create(null);return{get:t=>e[t],set(t,n){e[t]=n},keys:()=>Object.keys(e)}};P(Object.create)||(I=function(){const e={};return{get:t=>e.hasOwnProperty(t)?e[t]:undefined,set(t,n){e[t]=n},keys:()=>Object.keys(e)}});var D=I;function L(e){const t=D();return function(n){const i=t.get(n);if(undefined!==i)return i;const r=e(n);return t.set(n,r),r}}function M(e){const t=D();return function(n,i){let r=t.get(n);if(r){const e=r.get(i);if(e)return e}else r=D(),t.set(n,r);const o=e(n,i);return r.set(i,o),o}}const V=/-([a-z])/gi,q=/\B([A-Z])/g,R=/^[a-z]/,H=L((function(e){return e.replace(V,(function(e,t){return ee(t)}))})),U=L((function(e){return e.replace(q,(function(e,t){return"-"+te(t)}))})),F=L((function(e){return e.replace(R,ee)}));function W(e,t){return new Array(t+1).join(e)}function B(e){return ie(e)?"":e.trim()}function G(e,t,n){return d(n)?t===n?"":e.slice(t,n):e.slice(t)}function K(e,t,n){return e.indexOf(t,undefined!==n?n:0)}function Y(e,t,n){return e.lastIndexOf(t,undefined!==n?n:e.length)}function Z(e,t){return 0===K(e,t)}function J(e,t){const n=e.length-t.length;return n>=0&&Y(e,t)===n}function Q(e,t){return e.charAt(t||0)}function X(e,t){return e.charCodeAt(t||0)}function ee(e){return e.toUpperCase()}function te(e){return e.toLowerCase()}function ne(e,t){return K(e,t)>=0}function ie(e){return!l(e)||!e.length}var re=Object.freeze({__proto__:null,camelize:H,hyphenate:U,capitalize:F,repeat:W,trim:B,slice:G,indexOf:K,lastIndexOf:Y,startsWith:Z,endsWith:J,charAt:Q,codeAt:X,upper:ee,lower:te,has:ne,falsy:ie});const oe=/\./g,se=/\*/g,ce=/\*\*/g,ae=M((function(e,t){return e===t||Z(e,t+=".")?t.length:-1})),ue=L((function(e){return K(e,".")<0?[e]:e.split(".")}));function fe(e,t){const n=ue(e);for(let e=0,i=n.length-1;e<=i&&false!==t(n[e],e,i);e++);}const le=M((function(e,t){return e&&t?e+"."+t:e||t})),de=L((function(e){return ne(e,"*")})),pe=L((function(e){return new RegExp(`^${e.replace(oe,"\\.").replace(se,"(\\w+)").replace(ce,"([.\\w]+?)")}$`)})),he=M((function(e,t){const n=e.match(pe(t));return n?n[1]:undefined})),me={value:undefined};function ge(e){return Object.keys(e)}function ve(e,t){for(let n in e)if(false===t(e[n],n))break}function ye(e){ve(e,(function(t,n){delete e[n]}))}function $e(e,t){return ve(t,(function(t,n){e[n]=t})),e}function be(e,t){return e&&t?$e($e({},e),t):e||t}function ke(e,t){let n=e;return u(e)?t?(n=[],y(e,(function(e,i){n[i]=ke(e,t)}))):n=e.slice():f(e)&&(n={},ve(e,(function(e,i){n[i]=t?ke(e,t):e}))),n}function xe(e,t){return fe(t,(function(t,n,i){if(null==e)return e=undefined,false;{let r=e[t],o=undefined!==r;r&&a(r.get)&&(r=r.get()),n===i?o?(me.value=r,e=me):e=undefined:e=r}})),e}function Te(e,t,n,i){fe(t,(function(t,r,o){if(r===o)e[t]=n;else if(e[t])e=e[t];else{if(!i)return false;e=e[t]={}}}))}function we(e,t){return undefined!==e[t]}var Se=Object.freeze({__proto__:null,keys:ge,each:ve,clear:ye,extend:$e,merge:be,copy:ke,get:xe,set:Te,has:we,falsy:function(e){return!f(e)||u(e)||!ge(e).length}});const Ee="undefined"!=typeof console?console:null,Ce=t&&/edge|msie|trident/i.test(t.navigator.userAgent)?"":"%c",_e=Ee?Ce?function(e,t,n){Ee.log(Ce+e,n,t)}:function(e,t){Ee.log(e,t)}:i;function Ae(){const{logLevel:e}=c;return e>=1&&e<=5?e:s}function Ne(e){return`background-color:${e};border-radius:12px;color:#fff;font-size:10px;padding:3px 6px;`}function Oe(e,t){Ae()<=1&&_e(t||"Yox debug",e,Ne("#999"))}function je(e,t){Ae()<=2&&_e(t||"Yox info",e,Ne("#2db7f5"))}function ze(e,t){Ae()<=3&&_e(t||"Yox warn",e,Ne("#f90"))}function Pe(e,t){Ae()<=4&&_e(t||"Yox error",e,Ne("#ed4014"))}function Ie(e,t){if(Ae()<=5)throw new Error(`[${t||"Yox fatal"}]: ${e}`)}var De=Object.freeze({__proto__:null,DEBUG:1,INFO:2,WARN:3,ERROR:4,FATAL:5,debug:Oe,info:je,warn:ze,error:Pe,fatal:Ie});class Le{constructor(e){this.ns=e||false,this.listeners={}}fire(e,t,n){let i=this,r=l(e)?i.toEvent(e):e,o=i.listeners[r.type],s=true;if(o){o=o.slice();const e=t&&v.is(t[0])?t[0]:undefined;for(let c=0,a=o.length;c1&&null==t&&ze(`emitter.off(type, listener) is invoked, but "listener" is ${t}.`)}else n.listeners={},arguments.length>0&&ze(`emitter.off(type) is invoked, but "type" is ${e}.`)}has(e,t){let n=this.listeners,i=this.toFilter(e,t),r=true,o=function(e){return y(e,(function(e){if(Me(i.listener,e)&&Ve(i.ns,e))return r=false})),r};return i.type?n[i.type]&&o(n[i.type]):i.ns&&ve(n,o),!r}toEvent(e){const t={type:e,ns:""};if(this.ns){const n=K(e,".");n>=0&&(t.type=G(e,0,n),t.ns=G(e,n+1))}return t}toFilter(e,t){let n;if(n=t?a(t)?{listener:t}:t:{},l(n.ns))n.type=e;else{const t=this.toEvent(e);n.type=t.type,n.ns=t.ns}return n}}function Me(e,t){return!e||e===t.listener}function Ve(e,t){const{ns:n}=t;return!n||!e||n===e}let qe;"function"==typeof setImmediate&&P(setImmediate)&&(qe=setImmediate),qe="function"==typeof MessageChannel&&P(MessageChannel)?function(e){const t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(1)}:setTimeout;var Re=qe;let He;class Ue{constructor(){this.tasks=[]}static shared(){return He||(He=new Ue)}append(e,t){const n=this,{tasks:i}=n;x(i,{fn:e,ctx:t}),1===i.length&&Re((function(){n.run()}))}prepend(e,t){const n=this,{tasks:i}=n;T(i,{fn:e,ctx:t}),1===i.length&&Re((function(){n.run()}))}clear(){this.tasks.length=0}run(){const{tasks:e}=this;e.length&&(this.tasks=[],y(e,(function(e){g(e.fn,e.ctx)})))}}function Fe(e,t,n){const{node:i,nativeAttrs:o}=t,s=n&&n.nativeAttrs;if(o||s){if(o){const t=s||r;for(let n in o)undefined!==t[n]&&o[n]===t[n]||e.setAttr(i,n,o[n])}if(s){const t=o||r;for(let n in s)undefined===t[n]&&e.removeAttr(i,n)}}}function We(e,t,n){const{node:i,nativeProps:o}=t,s=n&&n.nativeProps;if(o||s){if(o){const t=s||r;for(let n in o)undefined!==t[n]&&o[n]===t[n]||e.setProp(i,n,o[n])}if(s){const t=o||r;for(let n in s)undefined===t[n]&&e.removeProp(i,n)}}}function Be(e,t,n){const{context:i,ref:r}=t,o=n&&n.ref;if(r||o){let e=i.$refs,n=t.component||t.node;r?o?r!==o&&(e?e[r]===n&&delete e[r]:e=i.$refs={},e[r]=n):(e||(e=i.$refs={}),e[r]=n):e&&o&&e[o]===n&&delete e[o]}}function Ge(e,t){const{ref:n}=t;if(n){const e=t.context.$refs,i=t.component||t.node;e&&e[n]===i&&delete e[n]}}function Ke(e,t,n){let i;return function(){if(!i){const r=A(arguments);n&&g(e,undefined,r),i=setTimeout((function(){i=undefined,n||g(e,undefined,r)}),t)}}}function Ye(e,t,n,i,r){let{name:o,listener:s}=r;if(i){const e=i[o]||i[""];true===e?o="change":e>0&&(s=Ke(s,e,"click"===o||"tap"===o))}if(n){if(r.isNative){const t=n.$el;return e.on(t,o,s),function(){e.off(t,o,s)}}return n.on(o,r),function(){n.off(o,r)}}return e.on(t,o,s),function(){e.off(t,o,s)}}function Ze(e,t,n){const{data:i,lazy:o,events:s}=t,c=n&&n.events;if(s||c){const n=t.node,a=t.component,u=i.$event||(i.$event={});if(s){const t=c||r;for(let i in s){const r=s[i],c=t[i];c?r.value!==c.value?(u[i](),u[i]=Ye(e,n,a,o,r)):c.runtime&&r.runtime&&($e(c.runtime,r.runtime),r.runtime=c.runtime):u[i]=Ye(e,n,a,o,r)}}if(c){const e=s||r;for(let t in c)e[t]||(u[t](),delete u[t])}}}function Je(e,t){const{data:n,events:i}=t,r=n.$event;if(i&&r)for(let e in i)r[e](),delete r[e]}function Qe(e,t){return t&&true!==t?Ke(e,t):e}const Xe={set(e,t){e.value=z(t)},sync(e,t,n){n.set(t,e.value)},name:"value"},et={set(e,t){e.checked=e.value===z(t)},sync(e,t,n){e.checked&&n.set(t,e.value)},name:"checked"},tt={set(e,t){e.checked=u(t)?_(t,e.value,false):!!t},sync(e,t,n){const i=n.get(t);u(i)?e.checked?n.append(t,e.value):n.removeAt(t,w(i,e.value,false)):n.set(t,e.checked)},name:"checked"},nt={set(e,t){y(A(e.options),e.multiple?function(e){e.selected=_(t,e.value,false)}:function(n,i){if(n.value==t)return e.selectedIndex=i,false})},sync(e,t,n){const{options:i}=e;if(e.multiple){const e=[];y(A(i),(function(t){t.selected&&x(e,t.value)})),n.set(t,e)}else n.set(t,i[e.selectedIndex].value)},name:"value"};function it(e,t,n,i){let r,o,{context:s,model:c,lazy:a,nativeProps:u}=i,{keypath:f,value:l}=c,d=a&&(a.model||a[""]);if(n){let e=n.$model,t=Qe((function(e){s.set(f,e)}),d);r=function(t){r&&n.set(e,t)},o=function(){n.unwatch(e,t)},n.watch(e,t)}else{let n="select"===i.tag?nt:Xe,c="change";if(n===Xe){const e=u&&u.type;"radio"===e?n=et:"checkbox"===e?n=tt:true!==d&&(c="model")}r=function(e){r&&n.set(t,e)};const a=Qe((function(){n.sync(t,f,s)}),d);o=function(){e.off(t,c,a)},e.on(t,c,a),n.set(t,l)}return s.watch(f,r),function(){s.unwatch(f,r),r=undefined,o()}}function rt(e,t,n){const{data:i,node:r,component:o,model:s}=t,c=n&&n.model;s?c?s.keypath!==c.keypath&&(i.$model(),i.$model=it(e,r,o,t)):i.$model=it(e,r,o,t):c&&(i.$model(),delete i.$model)}function ot(e,t){const{data:n}=t;n.$model&&(n.$model(),delete n.$model)}function st(e,t,n){const{directives:i}=t,o=n&&n.directives;if(i||o){const e=t.component||t.node;if(i){const s=o||r;for(let r in i){const o=i[r],c=s[r],{bind:a,unbind:u}=o.hooks;c?o.value!==c.value?(u&&u(e,c,n),a(e,o,t)):c.runtime&&o.runtime&&($e(c.runtime,o.runtime),o.runtime=c.runtime):a(e,o,t)}}if(o){const t=i||r;for(let i in o)if(!t[i]){const{unbind:t}=o[i].hooks;t&&t(e,o[i],n)}}}}function ct(e,t){const{directives:n}=t;if(n){const e=t.component||t.node;for(let i in n){const{unbind:r}=n[i].hooks;r&&r(e,n[i],t)}}}function at(e,t,n){let{component:i,props:r,slots:o,model:s}=t;if(i&&n){if(s&&(r||(r={}),r[i.$model]=s.value),r)for(let e in r)i.checkProp(e,r[e]);const e=be(r,o);e&&i.forceUpdate(e)}}function ut(e,t){return e.isText&&t.isText||e.isComment&&t.isComment||e.tag===t.tag&&e.key===t.key}function ft(e,t,n){let i,o,s;for(;t<=n;)o=e[t],o&&(s=o.key)&&(i||(i={}),i[s]=t),t++;return i||r}function lt(e,t,n,i){i?e.before(t,n,i):e.append(t,n)}function dt(e,t,n){const i=(t.parent||t.context).createComponent(n,t);return t.component=i,t.data.$loading=false,Be(0,t),Ze(e,t),rt(e,t),st(0,t),at(0,t),i}function pt(e,t){let{tag:n,node:i,data:r,isComponent:o,isComment:s,isText:c,isStyle:a,isOption:u,children:f,text:l,html:d,context:p}=t;if(!i||!r)if(r={},t.data=r,c)t.node=e.createText(l);else if(s)t.node=e.createComment(l);else if(o){let i=undefined;n&&p.loadComponent(n,(function(n){we(r,"$loading")?r.$loading&&(r.$vnode&&(t=r.$vnode,delete r.$vnode),$t(t,dt(e,t,n))):i=n})),t.node=e.createComment("component"),i?dt(e,t,i):r.$loading=true}else i=t.node=e.createElement(t.tag,t.isSvg),f?ht(e,i,f):l?e.setText(i,l,a,u):d&&e.setHtml(i,d,a,u),Fe(e,t),We(e,t),Be(0,t),Ze(e,t),rt(e,t),st(0,t)}function ht(e,t,n,i,r,o){let s,c=i||0,a=undefined!==r?r:n.length-1;for(;c<=a;)s=n[c],pt(e,s),mt(e,t,s,o),c++}function mt(e,t,n,i){const{node:r,component:o,context:s}=n,c=e.parent(r);if(i?e.before(t,r,i.node):e.append(t,r),!c){let e=undefined;n.isComponent&&o?e=function(){$t(n,o)}:n.isStatic||n.isText||n.isComment||(e=function(){$t(n)}),e&&s.$observer.nextTask.prepend(e)}}function gt(e,t,n,i,r){let o,s=i||0,c=undefined!==r?r:n.length-1;for(;s<=c;)o=n[s],o&&vt(e,t,o),s++}function vt(e,t,n){const{node:i,component:r}=n;if(n.isStatic||n.isText||n.isComment)e.remove(t,i);else{const o=function(){yt(e,n),e.remove(t,i)};if(n.isComponent&&!r)return void o();!function(e,t,n){let{data:i,transition:r}=e;t&&!r&&(r=t.$vnode.transition);if(r){const{leave:t}=r;if(t)return void t(e.node,i.$leaving=function(){i.$leaving&&(n(),i.$leaving=undefined)})}n()}(n,r,o)}}function yt(e,t){const{data:n,children:i}=t;t.isComponent?t.component?(Ge(0,t),Je(0,t),ot(0,t),ct(0,t),function(e,t){const{component:n}=t;n&&(n.destroy(),delete t.component)}(0,t)):n.$loading=false:(Ge(0,t),Je(0,t),ot(0,t),ct(0,t),i&&y(i,(function(t){yt(e,t)})))}function $t(e,t){let{data:n,transition:i}=e;if(t&&!i&&(i=t.$vnode.transition),g(n.$leaving),i){const{enter:t}=i;if(t)return void t(e.node)}}function bt(e,t,n){if(t===n)return;const{data:i,node:r,isComponent:o}=n;if(!ut(t,n)){const i=e.parent(r);return pt(e,t),void(i&&(mt(e,i,t,n),vt(e,i,n)))}if(t.data=i,t.node=r,t.component=n.component,n.isComponent&&i.$loading)return void(i.$vnode=t);o||(Fe(e,t,n),We(e,t,n)),Be(0,t,n),Ze(e,t,n),rt(e,t,n),st(0,t,n),o&&at(0,t,n);const{text:s,html:c,children:a,isStyle:u,isOption:f}=t,d=n.text,p=n.html,h=n.children;l(s)?s!==d&&e.setText(r,s,u,f):l(c)?c!==p&&e.setHtml(r,c,u,f):a&&h?a!==h&&function(e,t,n,i){let r,o,s=0,c=n.length-1,a=n[s],u=n[c],f=0,l=i.length-1,d=i[f],p=i[l];for(;f<=l&&s<=c;)a?u?d?p?ut(a,d)?(bt(e,a,d),a=n[++s],d=i[++f]):ut(u,p)?(bt(e,u,p),u=n[--c],p=i[--l]):ut(u,d)?(bt(e,u,d),lt(e,t,d.node,e.next(p.node)),u=n[--c],d=i[++f]):ut(a,p)?(bt(e,a,p),lt(e,t,p.node,d.node),a=n[++s],p=i[--l]):(r||(r=ft(i,f,l)),o=a.key?r[a.key]:void 0,void 0!==o?(bt(e,a,i[o]),i[o]=void 0):pt(e,a),mt(e,t,a,d),a=n[++s]):p=i[--l]:d=i[++f]:u=n[--c]:a=n[++s];f>l?ht(e,t,n,s,c,n[c+1]):s>c&>(e,t,i,f,l)}(e,r,a,h):a?((l(d)||l(p))&&e.setText(r,"",u),ht(e,r,a)):h?gt(e,r,h):(l(d)||l(p))&&e.setText(r,"",u)}const kt={},xt={},Tt={};kt.slot=kt.template=xt.key=xt.ref=xt.slot=true,Tt["if"]=6,Tt.each=9,Tt.partial=10;function wt(e,t){return{type:2,isStatic:true,name:e,ns:t}}function St(e,t,n){return{type:3,ns:t,name:e,modifier:n}}function Et(e,t,n,i,r,o){return{type:4,isStatic:true,name:e,ns:t,hint:n,value:i,expr:r,children:o}}function Ct(e,t,n,i){return{type:9,from:e,to:t,equal:n||undefined,index:i,isVirtual:true}}function _t(e){return{type:5,text:e,isStatic:true,isLeaf:true}}function At(e){const t=D();return y(e.split(","),(function(e){t.set(e,true)})),t}const Nt=/^[A-Z]|-/,Ot=/&[#\w\d]{2,6};/,jt=At("area,base,embed,track,source,param,input,col,img,br,hr"),zt=At("svg,g,defs,desc,metadata,symbol,use,image,path,rect,circle,line,ellipse,polyline,polygon,text,tspan,tref,textpath,marker,pattern,clippath,mask,filter,cursor,view,animate,font,font-face,glyph,missing-glyph,foreignObject"),Pt=At("id,class,name,value,for,accesskey,title,style,src,type,href,target,alt,placeholder,preload,poster,wrap,accept,pattern,dir,autocomplete,autocapitalize"),It=At("min,minlength,max,maxlength,step,width,height,size,rows,cols,tabindex"),Dt=At("disabled,checked,required,multiple,readonly,autofocus,autoplay,controls,loop,muted,novalidate,draggable,hidden,spellcheck"),Lt={};function Mt(e,t,n){if(e.isComponent)return wt(H(t),n);{const i=te(t);return kt[e.tag]||e.isSvg?wt(t,n):Pt.get(i)?Et(Lt[i]||i,n,1):It.get(i)?Et(Lt[i]||i,n,2):Dt.get(i)?Et(Lt[i]||i,n,3):wt(t,n)}}function Vt(e){if(1!==e.type)return false;const t=e;return!t.isComponent&&undefined===kt[t.tag]}function qt(e,t){return l(t)&&Ot.test(t)?e.html=t:e.text=t,true}function Rt(e){return undefined!==e}function Ht(e,t){return h(e)?+e:undefined!==t?t:0}function Ut(e,t,n,i){return{type:5,raw:i,left:e,operator:t,right:n}}function Ft(e,t,n){let i=false,r=true,o=0;return"this"===t?(t="",r=false):".."===t?(t="",r=false,o=1):"~"===t&&(t="",i=true,r=false),n?Wt(t,e):Gt(e,t,i,r,o)}function Wt(e,t){return{type:1,raw:t,value:e}}function Bt(e,t){let n=t.shift(),i=false,r=true,o=0;if(t.length>0){let s=true,c=[],a="",u=[];if(y(t,(function(e){if(s)if(1===e.type){const t=e;if(".."===t.raw)return o+=1,void(a=a?a+"/..":"..");if("this"!==t.raw){const e=z(t.value);x(c,e),a&&(a+=J(a,"..")?"/":"."),a+=e}}else s=false;s||x(u,e)})),2===n.type){const t=n;i=t.root,r=t.lookup,o+=t.offset;let f=t.name;if(f&&T(c,f),f=N(c,"."),s)n=Gt(e,f,i,r,o);else{let s=t.raw;if(a){let e=".";"~"!==s&&".."!==s||(e="/"),s+=e+a}n=Kt(e,Gt(s,f,i,r,o),undefined,u,i,r,o)}}else n=s?Kt(e,n,N(c,"."),undefined,i,r,o):Kt(e,n,undefined,u,i,r,o)}return n}function Gt(e,t,n,i,r){return{type:2,raw:e,name:t,root:n,lookup:i,offset:r}}function Kt(e,t,n,i,r,o,s){return{type:3,raw:e,lead:t,keypath:n,nodes:i,root:r,lookup:o,offset:s}}Lt["for"]="htmlFor",Lt["class"]="className",Lt.accesskey="accessKey",Lt.style="style.cssText",Lt.novalidate="noValidate",Lt.readonly="readOnly",Lt.tabindex="tabIndex",Lt.minlength="minLength",Lt.maxlength="maxLength";const Yt={"+":true,"-":true,"~":true,"!":true,"!!":true},Zt={"*":15,"/":15,"%":15,"+":14,"-":14,"<<":13,">>":13,">>>":13,"<":12,"<=":12,">":12,">=":12,"==":11,"!=":11,"===":11,"!==":11,"&":10,"^":9,"|":8,"&&":7,"||":6};class Jt{constructor(e){const t=this;t.index=-1,t.end=e.length,t.code=Qt,t.content=e,t.go()}go(e){let t=this,{index:n,end:i}=t;n+=e||1,n>=0&&n0)),n.is(tn);){if(n.go(),On(n.code))return x(i,n.scanIdentifier(n.index,true)),n.scanTail(e,i);if(!n.is(Xt)){n.fatal(e,S(i).raw+"/ must be followed by an identifier.");break}n.go()}}scanTail(e,t){let n,i=this;e:for(;;)switch(i.code){case sn:t=[(r=Bt(i.pick(e),t),o=i.scanTuple(i.index,cn),s=i.pick(e),{type:9,raw:s,name:r,args:o})];break;case Xt:if(i.go(),On(i.code)){x(t,i.scanIdentifier(i.index,true));break}i.fatal(e,"Identifier or number expected.");break e;case an:if(i.go(),n=i.scanTernary(un),n){x(t,n);break}i.fatal(e,"[] is not allowed.");break e;default:break e}var r,o,s;return Bt(i.pick(e),t)}scanIdentifier(e,t){const n=this;for(;On(n.code);)n.go();const i=n.pick(e);return!t&&i in Cn?Wt(Cn[i],i):Ft(i,i,t)}scanOperator(e){const t=this;switch(t.code){case vn:case yn:case $n:case xn:case gn:t.go();break;case hn:t.go(),t.is(hn)&&t.fatal(e,'The operator "++" is not supported.');break;case mn:t.go(),t.is(mn)&&t.fatal(e,'The operator "--" is not supported.');break;case Tn:t.go(),t.is(Tn)?t.go():t.is(Sn)&&(t.go(),t.is(Sn)&&t.go());break;case bn:t.go(),t.is(bn)&&t.go();break;case kn:t.go(),t.is(kn)&&t.go();break;case Sn:t.go(),t.is(Sn)?(t.go(),t.is(Sn)&&t.go()):t.fatal(e,"Assignment statements are not supported.");break;case wn:t.go(),(t.is(Sn)||t.is(wn))&&t.go();break;case En:t.go(),t.is(Sn)?t.go():t.is(En)&&(t.go(),t.is(En)&&t.go())}if(t.index>e)return t.pick(e)}scanBinary(e){let t,n,i,r,o,s,c=this,a=[];for(;;){if(c.skip(),x(a,c.index),t=c.scanToken(),t){if(x(a,t),x(a,c.index),c.skip(),i=c.scanOperator(c.index),i&&(r=Zt[i])){n=a.length-4,(o=a[n])&&(s=Zt[o])&&s>=r&&a.splice(n-2,5,Ut(a[n-2],o,a[n+2],c.pick(a[n-3],a[n+3]))),x(a,i);continue}i=undefined}else i&&c.fatal(e,"Invalid syntax.");break}for(;;){if(!(a.length>=7))return a[1];n=a.length-4,a.splice(n-2,5,Ut(a[n-2],a[n],a[n+2],c.pick(a[n-3],a[n+3])))}}scanTernary(e){const t=this;t.skip();let n,i,r=t.index,o=t.scanBinary(r);return t.is(dn)&&(t.go(),n=t.scanTernary(),t.is(pn)&&(t.go(),i=t.scanTernary()),o&&n&&i?(t.skip(-1),o=function(e,t,n,i){return{type:6,raw:i,test:e,yes:t,no:n}}(o,n,i,t.pick(r))):t.fatal(r,"Invalid ternary syntax.")),Rt(e)&&(t.skip(),t.is(e)?t.go():t.fatal(r,`"${String.fromCharCode(e)}" expected, "${String.fromCharCode(t.code)}" actually.`)),o}fatal(e,t){Ie(`Error compiling expression\n\n${this.content}\n\nmessage: ${t}\n`)}}const Qt=0,Xt=46,en=44,tn=47,nn=92,rn=39,on=34,sn=40,cn=41,an=91,un=93,fn=123,ln=125,dn=63,pn=58,hn=43,mn=45,gn=42,vn=47,yn=37,$n=126,bn=38,kn=124,xn=94,Tn=33,wn=60,Sn=61,En=62,Cn={};function _n(e){return e>0&&e<33||160===e}function An(e){return e>47&&e<58}function Nn(e){return 36===e||95===e||e>96&&e<123||e>64&&e<91}function On(e){return Nn(e)||An(e)}Cn["true"]=true,Cn["false"]=false,Cn["null"]=null,Cn[void 0]=undefined;const jn=L((function(e){return new Jt(e).scanTernary(Qt)})),zn={},Pn=/\s*:\s*([_$a-z]+)$/i,In=/^[_$a-z]([\w]+)?$/i,Dn=/^[_$a-z]([\w]+)?$/i,Ln=/^[_$a-z]([\w]+)?\.[_$a-z]([\w]+)?$/i,Mn=/^\s*[\n\r]\s*|\s*[\n\r]\s*$/g,Vn=/\s*(=>|->)\s*/,qn=/<(\/)?([$a-z][-a-z0-9]*)/i,Rn=//g,Hn=/^([\s\S]*?)([\s\S]*?)$/,Fn=/^\s*([-$.:\w]+)(?:=(['"]))?/,Wn=/^[!=]*['"]/,Bn=/^\s*(\/)?>/;function Gn(e,t){return B(G(e,t.length))}function Kn(e){if(e.safe&&1===e.expr.type)return _t(z(e.expr.value))}function Yn(e){return e&&12===e.type&&!e.safe}function Zn(e,t){return xt[t.name]||"slot"===e.tag&&"name"===t.name}function Jn(e){let t=-1,n="",i=-1,r="";y(e,(function(o,s){if(5===o.type)if(i>=0){for(n=o.text;Hn.test(n);)n=RegExp.$1,t=s;if(t>=0){let o=t,s=i;n&&(e[t].text=n,o++),r&&(n?e[t].text+=r:(e[i].text=r,s--)),e.splice(o,s-o+1),t=i=-1}}else for(r=o.text;Un.test(r);)r=RegExp.$1,i=s}),true)}function Qn(t){let n,i,r,o,s=W(c.leftDelimiter,2),a=W(c.rightDelimiter,2),u=c.leftDelimiter,f=c.rightDelimiter,l=[],p=[],m=[],g=[],v=[],$=[],b=t.length,k=0,T=0,C=0,_=0,A=1,N=[],O=[],j=function(e){Ie(`Error compiling template\n\n${t}\n\nmessage: ${e}`)},z=function(e){const t=S(p);if(t&&1===t.type){const i=t;i.tag!==e&&(n=i.tag,void 0!==jt.get(n))&&P(i.type,i.tag)}var n},P=function(e,t){const i=E(p);i&&i.type===e||j("The type of poping node is not expected.");const r=i,o=1===e,s=2===e,c=4===e,a=3===e,u=S(p);o&&t&&r.tag!==t&&j(`End tag is "${t}",but start tag is "${r.tag}".`);let{children:f}=r;if(f&&f.length>1&&(n||(Jn(f),f.length||(f=r.children=undefined))),f){const e=1===f.length&&f[0];if(e)switch(e.type){case 5:o?I(r,e):s?q(r,e):c?M(r,e):a&&F(r,e);break;case 12:o?D(r,e):(s||c||a)&&R(r,e)}}else n&&(s?V(n,r):c?L(n,r):a&&U(n,r));return r.isVirtual&&!r.children&&ee(r),o?J(r):n&&s&&Zn(n,r)&&X(n,r),u&&u.isStatic&&!r.isStatic&&(u.isStatic=false),r},I=function(e,t){Vt(e)&&qt(e,t.text)&&(e.children=undefined)},D=function(e,t){Vt(e)&&(t.safe&&qt(e,t.expr)||!t.safe&&function(e,t){return e.html=t,!0}(e,t.expr))&&(e.children=undefined)},L=function(e,t){3===t.hint?t.value=true:ee(t)},M=function(e,t){const{text:n}=t;2===e.hint?(h(n)||j(`The value of "${e.name}" is not a number: ${n}.`),e.value=Ht(n)):3===e.hint?e.value="true"===n||n===e.name:e.value=n,e.children=undefined},V=function(e,t){Zn(e,t)?j(`The value of "${t.name}" is empty.`):t.value=function(e,t){return!!e.isComponent||(Z(t,"data-")?"":t)}(e,t.name)},q=function(e,t){e.value=t.text,e.children=undefined},R=function(e,t){const{expr:n}=t;1===n.type?e.value=n.value:e.expr=n,e.children=undefined},U=function(e,t){t.value=true},F=function(e,t){let i,r,{ns:o}=e,{text:s}=t,c="model"===o,a="lazy"===o,u="event"===o,f="o"===o;try{i=jn(s)}catch(l){r=l}if(i){{const{raw:t}=i;if(a)(1!==i.type||!d(i.value)||i.value<=0)&&j("The value of lazy must be a number greater than 0.");else if(9===i.type){const e=i.name;2!==e.type?j("Invalid method name."):In.test(e.name)||j("Invalid method name.")}else u&&(Dn.test(t)||Ln.test(t)?(Ln.test(t)&&"native"===t.split(".")[1]&&j('The event namespace "native" is not permitted.'),n&&n.isComponent&&e.name===t&&j("The event name listened and fired can't be the same.")):j("The event name and namespace must be an identifier."));c&&2!==i.type&&j("The value of the model must be an identifier.")}e.expr=i,e.value=1===i.type?i.value:s}else{if(!f)throw r;e.value=s}e.children=undefined},Y=function(e){let t=e,n=[],i=false,r=false;for(;x(n,t),t.next;)t=t.next;y(n,(function(e){e.children&&(!i&&e.next&&delete e.next,r=i=true)}),true),r||ee(e)},J=function(e){const{tag:t,slot:n}=e,i="template"===t,r="slot"===t;i&&(e.key?j('The "key" is not supported in