diff --git a/src/dash/src/assets/buttons/var/fan-0.png b/assets/data/pictures/level/fan-0.png similarity index 100% rename from src/dash/src/assets/buttons/var/fan-0.png rename to assets/data/pictures/level/fan-0.png diff --git a/src/dash/src/assets/buttons/var/fan-100.png b/assets/data/pictures/level/fan-100.png similarity index 100% rename from src/dash/src/assets/buttons/var/fan-100.png rename to assets/data/pictures/level/fan-100.png diff --git a/src/dash/src/assets/buttons/var/fan-50.png b/assets/data/pictures/level/fan-50.png similarity index 100% rename from src/dash/src/assets/buttons/var/fan-50.png rename to assets/data/pictures/level/fan-50.png diff --git a/src/dash/src/assets/buttons/var/shutter-0.png b/assets/data/pictures/level/shutter-0.png similarity index 100% rename from src/dash/src/assets/buttons/var/shutter-0.png rename to assets/data/pictures/level/shutter-0.png diff --git a/src/dash/src/assets/buttons/var/shutter-10.png b/assets/data/pictures/level/shutter-10.png similarity index 100% rename from src/dash/src/assets/buttons/var/shutter-10.png rename to assets/data/pictures/level/shutter-10.png diff --git a/src/dash/src/assets/buttons/var/shutter-100.png b/assets/data/pictures/level/shutter-100.png similarity index 100% rename from src/dash/src/assets/buttons/var/shutter-100.png rename to assets/data/pictures/level/shutter-100.png diff --git a/src/dash/src/assets/buttons/var/shutter-20.png b/assets/data/pictures/level/shutter-20.png similarity index 100% rename from src/dash/src/assets/buttons/var/shutter-20.png rename to assets/data/pictures/level/shutter-20.png diff --git a/src/dash/src/assets/buttons/var/shutter-30.png b/assets/data/pictures/level/shutter-30.png similarity index 100% rename from src/dash/src/assets/buttons/var/shutter-30.png rename to assets/data/pictures/level/shutter-30.png diff --git a/src/dash/src/assets/buttons/var/shutter-40.png b/assets/data/pictures/level/shutter-40.png similarity index 100% rename from src/dash/src/assets/buttons/var/shutter-40.png rename to assets/data/pictures/level/shutter-40.png diff --git a/src/dash/src/assets/buttons/var/shutter-50.png b/assets/data/pictures/level/shutter-50.png similarity index 100% rename from src/dash/src/assets/buttons/var/shutter-50.png rename to assets/data/pictures/level/shutter-50.png diff --git a/src/dash/src/assets/buttons/var/shutter-60.png b/assets/data/pictures/level/shutter-60.png similarity index 100% rename from src/dash/src/assets/buttons/var/shutter-60.png rename to assets/data/pictures/level/shutter-60.png diff --git a/src/dash/src/assets/buttons/var/shutter-70.png b/assets/data/pictures/level/shutter-70.png similarity index 100% rename from src/dash/src/assets/buttons/var/shutter-70.png rename to assets/data/pictures/level/shutter-70.png diff --git a/src/dash/src/assets/buttons/var/shutter-80.png b/assets/data/pictures/level/shutter-80.png similarity index 100% rename from src/dash/src/assets/buttons/var/shutter-80.png rename to assets/data/pictures/level/shutter-80.png diff --git a/src/dash/src/assets/buttons/on-off/door-off.png b/assets/data/pictures/on-off/door-off.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/door-off.png rename to assets/data/pictures/on-off/door-off.png diff --git a/src/dash/src/assets/buttons/on-off/door-on.png b/assets/data/pictures/on-off/door-on.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/door-on.png rename to assets/data/pictures/on-off/door-on.png diff --git a/src/dash/src/assets/buttons/on-off/light-off.png b/assets/data/pictures/on-off/light-off.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/light-off.png rename to assets/data/pictures/on-off/light-off.png diff --git a/src/dash/src/assets/buttons/on-off/light-on.png b/assets/data/pictures/on-off/light-on.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/light-on.png rename to assets/data/pictures/on-off/light-on.png diff --git a/src/dash/src/assets/buttons/on-off/play-off.png b/assets/data/pictures/on-off/play-off.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/play-off.png rename to assets/data/pictures/on-off/play-off.png diff --git a/src/dash/src/assets/buttons/on-off/play-on.png b/assets/data/pictures/on-off/play-on.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/play-on.png rename to assets/data/pictures/on-off/play-on.png diff --git a/src/dash/src/assets/buttons/on-off/pump-off.png b/assets/data/pictures/on-off/pump-off.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/pump-off.png rename to assets/data/pictures/on-off/pump-off.png diff --git a/src/dash/src/assets/buttons/on-off/pump-on.png b/assets/data/pictures/on-off/pump-on.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/pump-on.png rename to assets/data/pictures/on-off/pump-on.png diff --git a/src/dash/src/assets/buttons/on-off/switch1-off.png b/assets/data/pictures/on-off/switch1-off.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/switch1-off.png rename to assets/data/pictures/on-off/switch1-off.png diff --git a/src/dash/src/assets/buttons/on-off/switch1-on.png b/assets/data/pictures/on-off/switch1-on.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/switch1-on.png rename to assets/data/pictures/on-off/switch1-on.png diff --git a/src/dash/src/assets/buttons/on-off/switch2-off.png b/assets/data/pictures/on-off/switch2-off.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/switch2-off.png rename to assets/data/pictures/on-off/switch2-off.png diff --git a/src/dash/src/assets/buttons/on-off/switch2-on.png b/assets/data/pictures/on-off/switch2-on.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/switch2-on.png rename to assets/data/pictures/on-off/switch2-on.png diff --git a/src/dash/src/assets/buttons/on-off/thermo-off.png b/assets/data/pictures/on-off/thermo-off.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/thermo-off.png rename to assets/data/pictures/on-off/thermo-off.png diff --git a/src/dash/src/assets/buttons/on-off/thermo-on.png b/assets/data/pictures/on-off/thermo-on.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/thermo-on.png rename to assets/data/pictures/on-off/thermo-on.png diff --git a/src/dash/src/assets/buttons/on-off/v1-off.png b/assets/data/pictures/on-off/v1-off.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/v1-off.png rename to assets/data/pictures/on-off/v1-off.png diff --git a/src/dash/src/assets/buttons/on-off/v1-on.png b/assets/data/pictures/on-off/v1-on.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/v1-on.png rename to assets/data/pictures/on-off/v1-on.png diff --git a/src/dash/src/assets/buttons/on-off/v2-off.png b/assets/data/pictures/on-off/v2-off.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/v2-off.png rename to assets/data/pictures/on-off/v2-off.png diff --git a/src/dash/src/assets/buttons/on-off/v2-on.png b/assets/data/pictures/on-off/v2-on.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/v2-on.png rename to assets/data/pictures/on-off/v2-on.png diff --git a/src/dash/src/assets/buttons/on-off/window-off.png b/assets/data/pictures/on-off/window-off.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/window-off.png rename to assets/data/pictures/on-off/window-off.png diff --git a/src/dash/src/assets/buttons/on-off/window-on.png b/assets/data/pictures/on-off/window-on.png similarity index 100% rename from src/dash/src/assets/buttons/on-off/window-on.png rename to assets/data/pictures/on-off/window-on.png diff --git a/dash/css/app.448fa9de.css b/dash/css/app.161a255e.css similarity index 76% rename from dash/css/app.448fa9de.css rename to dash/css/app.161a255e.css index ced984447..ea65cf2df 100644 --- a/dash/css/app.448fa9de.css +++ b/dash/css/app.161a255e.css @@ -1 +1 @@ -.fit-content{width:auto;height:auto;max-width:100%;max-height:100%}.v-card__title[data-v-7a605d02],.v-card__title[data-v-49ea2ad6],.v-card__title[data-v-52d96760],.v-card__title[data-v-80eb2de6]{justify-content:center}img[data-v-49ea2ad6]{display:inline-block}.v-card__title[data-v-2fb54cd3]{justify-content:center}.value[data-v-2fb54cd3]{margin:1rem}i[data-v-2fb54cd3]{vertical-align:bottom!important;margin:0}.v-card__title[data-v-b4d10326],.v-card__title[data-v-b688bdb0]{justify-content:center}.camera-card{width:100%;height:100%}.camera-card .v-card__title{position:absolute;color:#fff;z-index:200}.widget-content[data-v-c969caae]{height:100%;width:100%}.v-card.hide-border[data-v-c969caae]{box-shadow:none!important}.full-size{position:relative;height:100%;width:100%}.edit-mode:after{content:"";display:block;width:100%;height:100%;border:.5rem dashed #b0f7b0}.delete-mode{box-sizing:border-box;border:1rem dashed #ca4b01}.edit-mode .v-card{cursor:all-scroll}.grid-container{width:100%;height:100%;display:flex;position:relative}.grid-container>div{flex:1 1 auto}.horizontal-grid{flex-direction:row}.vertical-grid{flex-direction:column}.vertical-divide-preview{background:linear-gradient(180deg,transparent calc(50% - 1px),silver 50%,transparent calc(50% + 1px))}.horizontal-divide-preview{background:linear-gradient(90deg,transparent calc(50% - 1px),silver 50%,transparent calc(50% + 1px))}.grid-group-btns{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.v-card[data-v-7df069ec]{margin:1rem}.v-card .transition[data-v-7df069ec]{position:absolute}i.selection[data-v-7df069ec]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.preview-card[data-v-7df069ec]{width:10rem;height:8rem}.v-stepper .v-card{margin-bottom:1rem;padding:0 1rem 1rem 1rem}.v-card[data-v-746e664c]{margin-left:auto;margin-right:auto}.v-card.hide-border[data-v-746e664c]{box-shadow:none!important}img{height:3rem}#global-container[data-v-220cef46]{padding:0!important;position:absolute;top:0;left:0;width:100%;height:100%;max-width:100%!important;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html{overflow-y:auto!important} \ No newline at end of file +.fit-content{width:auto;height:auto;max-width:100%;max-height:100%}.v-card__title[data-v-7a605d02],.v-card__title[data-v-35cac9e8],.v-card__title[data-v-52d96760],.v-card__title[data-v-80eb2de6]{justify-content:center}img[data-v-35cac9e8]{display:inline-block}.v-card__title[data-v-2fb54cd3]{justify-content:center}.value[data-v-2fb54cd3]{margin:1rem}i[data-v-2fb54cd3]{vertical-align:bottom!important;margin:0}.v-card__title[data-v-4fbb974a],.v-card__title[data-v-b4d10326]{justify-content:center}.camera-card{width:100%;height:100%}.camera-card .v-card__title{position:absolute;color:#fff;z-index:200}.widget-content[data-v-c969caae]{height:100%;width:100%}.v-card.hide-border[data-v-c969caae]{box-shadow:none!important}.full-size{position:relative;height:100%;width:100%}.edit-mode:after{content:"";display:block;width:100%;height:100%;border:.5rem dashed #b0f7b0}.delete-mode{box-sizing:border-box;border:1rem dashed #ca4b01}.edit-mode .v-card{cursor:all-scroll}.grid-container{width:100%;height:100%;display:flex;position:relative}.grid-container>div{flex:1 1 auto}.horizontal-grid{flex-direction:row}.vertical-grid{flex-direction:column}.vertical-divide-preview{background:linear-gradient(180deg,transparent calc(50% - 1px),silver 50%,transparent calc(50% + 1px))}.horizontal-divide-preview{background:linear-gradient(90deg,transparent calc(50% - 1px),silver 50%,transparent calc(50% + 1px))}.grid-group-btns{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.v-card[data-v-39d7dd8e]{margin:1rem}.v-card .transition[data-v-39d7dd8e]{position:absolute}i.selection[data-v-39d7dd8e]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.preview-card[data-v-39d7dd8e]{width:10rem;height:8rem}.v-stepper .v-card{margin-bottom:1rem;padding:0 1rem 1rem 1rem}.v-card[data-v-746e664c]{margin-left:auto;margin-right:auto}.v-card.hide-border[data-v-746e664c]{box-shadow:none!important}img{height:3rem}#global-container[data-v-220cef46]{padding:0!important;position:absolute;top:0;left:0;width:100%;height:100%;max-width:100%!important;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html{overflow-y:auto!important} \ No newline at end of file diff --git a/dash/img/door-off.849f629c.png b/dash/img/door-off.849f629c.png deleted file mode 100644 index ccb1101e5..000000000 Binary files a/dash/img/door-off.849f629c.png and /dev/null differ diff --git a/dash/img/door-on.7a4e8176.png b/dash/img/door-on.7a4e8176.png deleted file mode 100644 index 5f0350b21..000000000 Binary files a/dash/img/door-on.7a4e8176.png and /dev/null differ diff --git a/dash/img/fan-0.3fa3dbe2.png b/dash/img/fan-0.3fa3dbe2.png deleted file mode 100644 index fc264881e..000000000 Binary files a/dash/img/fan-0.3fa3dbe2.png and /dev/null differ diff --git a/dash/img/fan-100.ec6fe551.png b/dash/img/fan-100.ec6fe551.png deleted file mode 100644 index 2e3e9e4e8..000000000 Binary files a/dash/img/fan-100.ec6fe551.png and /dev/null differ diff --git a/dash/img/fan-50.7a6efdd0.png b/dash/img/fan-50.7a6efdd0.png deleted file mode 100644 index 335e0152f..000000000 Binary files a/dash/img/fan-50.7a6efdd0.png and /dev/null differ diff --git a/dash/img/light-off.0d39c1fe.png b/dash/img/light-off.0d39c1fe.png deleted file mode 100644 index 71e2b504c..000000000 Binary files a/dash/img/light-off.0d39c1fe.png and /dev/null differ diff --git a/dash/img/light-on.a035c773.png b/dash/img/light-on.a035c773.png deleted file mode 100644 index dccab5f49..000000000 Binary files a/dash/img/light-on.a035c773.png and /dev/null differ diff --git a/dash/img/play-off.44c57fc8.png b/dash/img/play-off.44c57fc8.png deleted file mode 100644 index c03ffcbbf..000000000 Binary files a/dash/img/play-off.44c57fc8.png and /dev/null differ diff --git a/dash/img/play-on.8f622009.png b/dash/img/play-on.8f622009.png deleted file mode 100644 index c8f9f1729..000000000 Binary files a/dash/img/play-on.8f622009.png and /dev/null differ diff --git a/dash/img/pump-off.5d91d1a3.png b/dash/img/pump-off.5d91d1a3.png deleted file mode 100644 index b5b7e1de8..000000000 Binary files a/dash/img/pump-off.5d91d1a3.png and /dev/null differ diff --git a/dash/img/pump-on.5fa26c75.png b/dash/img/pump-on.5fa26c75.png deleted file mode 100644 index 0e3a20f66..000000000 Binary files a/dash/img/pump-on.5fa26c75.png and /dev/null differ diff --git a/dash/img/shutter-0.c8b261d4.png b/dash/img/shutter-0.c8b261d4.png deleted file mode 100644 index bfac0d381..000000000 Binary files a/dash/img/shutter-0.c8b261d4.png and /dev/null differ diff --git a/dash/img/shutter-10.718dfa21.png b/dash/img/shutter-10.718dfa21.png deleted file mode 100644 index c9dfa7e19..000000000 Binary files a/dash/img/shutter-10.718dfa21.png and /dev/null differ diff --git a/dash/img/shutter-100.667a287c.png b/dash/img/shutter-100.667a287c.png deleted file mode 100644 index e7b8ee599..000000000 Binary files a/dash/img/shutter-100.667a287c.png and /dev/null differ diff --git a/dash/img/shutter-20.c6fadfce.png b/dash/img/shutter-20.c6fadfce.png deleted file mode 100644 index 3eadeae94..000000000 Binary files a/dash/img/shutter-20.c6fadfce.png and /dev/null differ diff --git a/dash/img/shutter-30.638eabfb.png b/dash/img/shutter-30.638eabfb.png deleted file mode 100644 index 928bb38b7..000000000 Binary files a/dash/img/shutter-30.638eabfb.png and /dev/null differ diff --git a/dash/img/shutter-40.b14d8bf1.png b/dash/img/shutter-40.b14d8bf1.png deleted file mode 100644 index bae91ed9e..000000000 Binary files a/dash/img/shutter-40.b14d8bf1.png and /dev/null differ diff --git a/dash/img/shutter-50.f7f69192.png b/dash/img/shutter-50.f7f69192.png deleted file mode 100644 index f71c82108..000000000 Binary files a/dash/img/shutter-50.f7f69192.png and /dev/null differ diff --git a/dash/img/shutter-60.69f34cc0.png b/dash/img/shutter-60.69f34cc0.png deleted file mode 100644 index 965e03fdb..000000000 Binary files a/dash/img/shutter-60.69f34cc0.png and /dev/null differ diff --git a/dash/img/shutter-70.f7137e1f.png b/dash/img/shutter-70.f7137e1f.png deleted file mode 100644 index cbcd9952d..000000000 Binary files a/dash/img/shutter-70.f7137e1f.png and /dev/null differ diff --git a/dash/img/shutter-80.9caa43b3.png b/dash/img/shutter-80.9caa43b3.png deleted file mode 100644 index bc59aacaf..000000000 Binary files a/dash/img/shutter-80.9caa43b3.png and /dev/null differ diff --git a/dash/img/switch1-off.1c3ea2e1.png b/dash/img/switch1-off.1c3ea2e1.png deleted file mode 100644 index 394b807c0..000000000 Binary files a/dash/img/switch1-off.1c3ea2e1.png and /dev/null differ diff --git a/dash/img/switch1-on.0efda217.png b/dash/img/switch1-on.0efda217.png deleted file mode 100644 index c8837afd1..000000000 Binary files a/dash/img/switch1-on.0efda217.png and /dev/null differ diff --git a/dash/img/switch2-off.a93e03d4.png b/dash/img/switch2-off.a93e03d4.png deleted file mode 100644 index db0d024ff..000000000 Binary files a/dash/img/switch2-off.a93e03d4.png and /dev/null differ diff --git a/dash/img/switch2-on.5e859eb4.png b/dash/img/switch2-on.5e859eb4.png deleted file mode 100644 index 179b77825..000000000 Binary files a/dash/img/switch2-on.5e859eb4.png and /dev/null differ diff --git a/dash/img/thermo-off.774245ff.png b/dash/img/thermo-off.774245ff.png deleted file mode 100644 index 5cf977967..000000000 Binary files a/dash/img/thermo-off.774245ff.png and /dev/null differ diff --git a/dash/img/thermo-on.358a99eb.png b/dash/img/thermo-on.358a99eb.png deleted file mode 100644 index b83810443..000000000 Binary files a/dash/img/thermo-on.358a99eb.png and /dev/null differ diff --git a/dash/img/v1-off.734362bf.png b/dash/img/v1-off.734362bf.png deleted file mode 100644 index 9704790db..000000000 Binary files a/dash/img/v1-off.734362bf.png and /dev/null differ diff --git a/dash/img/v1-on.427dc6d1.png b/dash/img/v1-on.427dc6d1.png deleted file mode 100644 index 2c48e7159..000000000 Binary files a/dash/img/v1-on.427dc6d1.png and /dev/null differ diff --git a/dash/img/v2-off.84bf76d8.png b/dash/img/v2-off.84bf76d8.png deleted file mode 100644 index 8654b78eb..000000000 Binary files a/dash/img/v2-off.84bf76d8.png and /dev/null differ diff --git a/dash/img/v2-on.1674941c.png b/dash/img/v2-on.1674941c.png deleted file mode 100644 index 61cd95d3c..000000000 Binary files a/dash/img/v2-on.1674941c.png and /dev/null differ diff --git a/dash/img/window-off.32205b12.png b/dash/img/window-off.32205b12.png deleted file mode 100644 index bf1cbdad6..000000000 Binary files a/dash/img/window-off.32205b12.png and /dev/null differ diff --git a/dash/img/window-on.57150857.png b/dash/img/window-on.57150857.png deleted file mode 100644 index d5aa1f6ce..000000000 Binary files a/dash/img/window-on.57150857.png and /dev/null differ diff --git a/dash/index.html b/dash/index.html index 9956a07ab..280a613aa 100644 --- a/dash/index.html +++ b/dash/index.html @@ -1 +1 @@ -
{{ sample[tab][selected].presentation }}
\n{{ sample[tab][selected].presentation }}
\n, or missing
. Bailing hydration and performing ' +\n 'full client-side render.'\n );\n }\n }\n // either not server-rendered, or hydration failed.\n // create an empty node and replace it\n oldVnode = emptyNodeAt(oldVnode);\n }\n\n // replacing existing element\n var oldElm = oldVnode.elm;\n var parentElm = nodeOps.parentNode(oldElm);\n\n // create new node\n createElm(\n vnode,\n insertedVnodeQueue,\n // extremely rare edge case: do not insert if old element is in a\n // leaving transition. Only happens when combining transition +\n // keep-alive + HOCs. (#4590)\n oldElm._leaveCb ? null : parentElm,\n nodeOps.nextSibling(oldElm)\n );\n\n // update parent placeholder node element, recursively\n if (isDef(vnode.parent)) {\n var ancestor = vnode.parent;\n var patchable = isPatchable(vnode);\n while (ancestor) {\n for (var i = 0; i < cbs.destroy.length; ++i) {\n cbs.destroy[i](ancestor);\n }\n ancestor.elm = vnode.elm;\n if (patchable) {\n for (var i$1 = 0; i$1 < cbs.create.length; ++i$1) {\n cbs.create[i$1](emptyNode, ancestor);\n }\n // #6513\n // invoke insert hooks that may have been merged by create hooks.\n // e.g. for directives that uses the \"inserted\" hook.\n var insert = ancestor.data.hook.insert;\n if (insert.merged) {\n // start at index 1 to avoid re-invoking component mounted hook\n for (var i$2 = 1; i$2 < insert.fns.length; i$2++) {\n insert.fns[i$2]();\n }\n }\n } else {\n registerRef(ancestor);\n }\n ancestor = ancestor.parent;\n }\n }\n\n // destroy old node\n if (isDef(parentElm)) {\n removeVnodes([oldVnode], 0, 0);\n } else if (isDef(oldVnode.tag)) {\n invokeDestroyHook(oldVnode);\n }\n }\n }\n\n invokeInsertHook(vnode, insertedVnodeQueue, isInitialPatch);\n return vnode.elm\n }\n}\n\n/* */\n\nvar directives = {\n create: updateDirectives,\n update: updateDirectives,\n destroy: function unbindDirectives (vnode) {\n updateDirectives(vnode, emptyNode);\n }\n};\n\nfunction updateDirectives (oldVnode, vnode) {\n if (oldVnode.data.directives || vnode.data.directives) {\n _update(oldVnode, vnode);\n }\n}\n\nfunction _update (oldVnode, vnode) {\n var isCreate = oldVnode === emptyNode;\n var isDestroy = vnode === emptyNode;\n var oldDirs = normalizeDirectives$1(oldVnode.data.directives, oldVnode.context);\n var newDirs = normalizeDirectives$1(vnode.data.directives, vnode.context);\n\n var dirsWithInsert = [];\n var dirsWithPostpatch = [];\n\n var key, oldDir, dir;\n for (key in newDirs) {\n oldDir = oldDirs[key];\n dir = newDirs[key];\n if (!oldDir) {\n // new directive, bind\n callHook$1(dir, 'bind', vnode, oldVnode);\n if (dir.def && dir.def.inserted) {\n dirsWithInsert.push(dir);\n }\n } else {\n // existing directive, update\n dir.oldValue = oldDir.value;\n dir.oldArg = oldDir.arg;\n callHook$1(dir, 'update', vnode, oldVnode);\n if (dir.def && dir.def.componentUpdated) {\n dirsWithPostpatch.push(dir);\n }\n }\n }\n\n if (dirsWithInsert.length) {\n var callInsert = function () {\n for (var i = 0; i < dirsWithInsert.length; i++) {\n callHook$1(dirsWithInsert[i], 'inserted', vnode, oldVnode);\n }\n };\n if (isCreate) {\n mergeVNodeHook(vnode, 'insert', callInsert);\n } else {\n callInsert();\n }\n }\n\n if (dirsWithPostpatch.length) {\n mergeVNodeHook(vnode, 'postpatch', function () {\n for (var i = 0; i < dirsWithPostpatch.length; i++) {\n callHook$1(dirsWithPostpatch[i], 'componentUpdated', vnode, oldVnode);\n }\n });\n }\n\n if (!isCreate) {\n for (key in oldDirs) {\n if (!newDirs[key]) {\n // no longer present, unbind\n callHook$1(oldDirs[key], 'unbind', oldVnode, oldVnode, isDestroy);\n }\n }\n }\n}\n\nvar emptyModifiers = Object.create(null);\n\nfunction normalizeDirectives$1 (\n dirs,\n vm\n) {\n var res = Object.create(null);\n if (!dirs) {\n // $flow-disable-line\n return res\n }\n var i, dir;\n for (i = 0; i < dirs.length; i++) {\n dir = dirs[i];\n if (!dir.modifiers) {\n // $flow-disable-line\n dir.modifiers = emptyModifiers;\n }\n res[getRawDirName(dir)] = dir;\n dir.def = resolveAsset(vm.$options, 'directives', dir.name, true);\n }\n // $flow-disable-line\n return res\n}\n\nfunction getRawDirName (dir) {\n return dir.rawName || ((dir.name) + \".\" + (Object.keys(dir.modifiers || {}).join('.')))\n}\n\nfunction callHook$1 (dir, hook, vnode, oldVnode, isDestroy) {\n var fn = dir.def && dir.def[hook];\n if (fn) {\n try {\n fn(vnode.elm, dir, vnode, oldVnode, isDestroy);\n } catch (e) {\n handleError(e, vnode.context, (\"directive \" + (dir.name) + \" \" + hook + \" hook\"));\n }\n }\n}\n\nvar baseModules = [\n ref,\n directives\n];\n\n/* */\n\nfunction updateAttrs (oldVnode, vnode) {\n var opts = vnode.componentOptions;\n if (isDef(opts) && opts.Ctor.options.inheritAttrs === false) {\n return\n }\n if (isUndef(oldVnode.data.attrs) && isUndef(vnode.data.attrs)) {\n return\n }\n var key, cur, old;\n var elm = vnode.elm;\n var oldAttrs = oldVnode.data.attrs || {};\n var attrs = vnode.data.attrs || {};\n // clone observed objects, as the user probably wants to mutate it\n if (isDef(attrs.__ob__)) {\n attrs = vnode.data.attrs = extend({}, attrs);\n }\n\n for (key in attrs) {\n cur = attrs[key];\n old = oldAttrs[key];\n if (old !== cur) {\n setAttr(elm, key, cur);\n }\n }\n // #4391: in IE9, setting type can reset value for input[type=radio]\n // #6666: IE/Edge forces progress value down to 1 before setting a max\n /* istanbul ignore if */\n if ((isIE || isEdge) && attrs.value !== oldAttrs.value) {\n setAttr(elm, 'value', attrs.value);\n }\n for (key in oldAttrs) {\n if (isUndef(attrs[key])) {\n if (isXlink(key)) {\n elm.removeAttributeNS(xlinkNS, getXlinkProp(key));\n } else if (!isEnumeratedAttr(key)) {\n elm.removeAttribute(key);\n }\n }\n }\n}\n\nfunction setAttr (el, key, value) {\n if (el.tagName.indexOf('-') > -1) {\n baseSetAttr(el, key, value);\n } else if (isBooleanAttr(key)) {\n // set attribute for blank value\n // e.g. \n if (isFalsyAttrValue(value)) {\n el.removeAttribute(key);\n } else {\n // technically allowfullscreen is a boolean attribute for