(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["VueContainerQuery"]=t():e["VueContainerQuery"]=t()})("undefined"!==typeof self?self:this,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fae3")}({"01f9":function(e,t,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),a=n("32e9"),c=n("84f2"),s=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",p="keys",v="values",b=function(){return this};e.exports=function(e,t,n,g,y,m,x){s(n,t,g);var w,S,E,O=function(e){if(!d&&e in L)return L[e];switch(e){case p:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},j=t+" Iterator",k=y==v,C=!1,L=e.prototype,T=L[f]||L[h]||y&&L[y],z=T||O(y),A=y?k?O("entries"):z:void 0,_="Array"==t&&L.entries||T;if(_&&(E=l(_.call(new e)),E!==Object.prototype&&E.next&&(u(E,j,!0),i||"function"==typeof E[f]||a(E,f,b))),k&&T&&T.name!==v&&(C=!0,z=function(){return T.call(this)}),i&&!x||!d&&!C&&L[f]||a(L,f,z),c[t]=z,c[j]=b,y)if(w={values:k?z:O(v),keys:m?z:O(p),entries:A},x)for(S in w)S in L||o(L,S,w[S]);else r(r.P+r.F*(d||C),t,w);return w}},"0d58":function(e,t,n){var i=n("ce10"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);var n,a=o(t),c=a.length,s=0;while(c>s)i.f(e,n=a[s++],t[n]);return e}},"18d2":function(e,t,n){"use strict";var i=n("18e9");e.exports=function(e){e=e||{};var t=e.reporter,n=e.batchProcessor,r=e.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function o(e,t){if(!c(e))throw new Error("Element is not detectable by this strategy.");function n(){t(e)}if(i.isIE(8))r(e).object={proxy:n},e.attachEvent("onresize",n);else{var o=c(e);o.contentDocument.defaultView.addEventListener("resize",n)}}function a(e,o,a){a||(a=o,o=e,e=null),e=e||{};e.debug;function c(e,o){var a="display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; padding: 0; margin: 0; opacity: 0; z-index: -1000; pointer-events: none;",c=!1,s=window.getComputedStyle(e),u=e.offsetWidth,l=e.offsetHeight;function f(){function n(){if("static"===s.position){e.style.position="relative";var n=function(e,t,n,i){function r(e){return e.replace(/[^-\d\.]/g,"")}var o=n[i];"auto"!==o&&"0"!==r(o)&&(e.warn("An element that is positioned static has style."+i+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",t),t.style[i]=0)};n(t,e,s,"top"),n(t,e,s,"right"),n(t,e,s,"bottom"),n(t,e,s,"left")}}function u(){function t(e,n){e.contentDocument?n(e.contentDocument):setTimeout(function(){t(e,n)},100)}c||n();var i=this;t(i,function(t){o(e)})}""!==s.position&&(n(s),c=!0);var l=document.createElement("object");l.style.cssText=a,l.tabIndex=-1,l.type="text/html",l.onload=u,i.isIE()||(l.data="about:blank"),e.appendChild(l),r(e).object=l,i.isIE()&&(l.data="about:blank")}r(e).startSize={width:u,height:l},n?n.add(f):f()}i.isIE(8)?a(o):c(o,a)}function c(e){return r(e).object}function s(e){i.isIE(8)?e.detachEvent("onresize",r(e).object.proxy):e.removeChild(c(e)),delete r(e).object}return{makeDetectable:a,addListener:o,uninstall:s}}},"18e9":function(e,t,n){"use strict";var i=e.exports={};i.isIE=function(e){function t(){var e=navigator.userAgent.toLowerCase();return-1!==e.indexOf("msie")||-1!==e.indexOf("trident")||-1!==e.indexOf(" edge/")}if(!t())return!1;if(!e)return!0;var n=function(){var e,t=3,n=document.createElement("div"),i=n.getElementsByTagName("i");do{n.innerHTML="\x3c!--[if gt IE "+ ++t+"]>4?t:e}();return e===n},i.isLegacyOpera=function(){return!!window.opera}},"1b47":function(e,t,n){"use strict";function i(e){for(var t=[],n=0,i=Object.keys(e);n";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+a+"document.F=Object"+r+"/script"+a),e.close(),u=e.F;while(i--)delete u[s][o[i]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(c[s]=i(e),n=new c,c[s]=null,n[a]=e):n=u(),void 0===t?n:r(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,c=e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))};c.store=i},"2cef":function(e,t,n){"use strict";e.exports=function(){var e=1;function t(){return e++}return{generate:t}}},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"32e9":function(e,t,n){var i=n("86cc"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"38fd":function(e,t,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},"456d":function(e,t,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",function(){return function(e){return r(i(e))}})},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"49ad":function(e,t,n){"use strict";e.exports=function(e){var t={};function n(n){var i=e.get(n);return void 0===i?[]:t[i]||[]}function i(n,i){var r=e.get(n);t[r]||(t[r]=[]),t[r].push(i)}function r(e,t){for(var i=n(e),r=0,o=i.length;r0?r(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a307:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("eec4"),r=function(){function e(e){var t=this;this.handler=e,this.listenedElement=null,this.hasResizeObserver="undefined"!==typeof window.ResizeObserver,this.hasResizeObserver?this.rz=new ResizeObserver(function(e){t.handler(o(e[0].target))}):this.erd=i({strategy:"scroll"})}return e.prototype.observe=function(e){var t=this;this.listenedElement!==e&&(this.listenedElement&&this.disconnect(),e&&(this.hasResizeObserver?this.rz.observe(e):this.erd.listenTo(e,function(e){t.handler(o(e))})),this.listenedElement=e)},e.prototype.disconnect=function(){this.listenedElement&&(this.hasResizeObserver?this.rz.disconnect():this.erd.uninstall(this.listenedElement),this.listenedElement=null)},e}();function o(e){return{width:a(window.getComputedStyle(e)["width"]),height:a(window.getComputedStyle(e)["height"])}}function a(e){var t=/^([0-9\.]+)px$/.exec(e);return t?parseFloat(t[1]):0}t.default=r},abb4:function(e,t,n){"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var i=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;nn?n=r:rl)if(c=s[l++],c!=c)return!0}else for(;u>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c946:function(e,t,n){"use strict";var i=n("b770").forEach;e.exports=function(e){e=e||{};var t=e.reporter,n=e.batchProcessor,r=e.stateHandler.getState,o=(e.stateHandler.hasState,e.idHandler);if(!n)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var a=u(),c="erd_scroll_detection_scrollbar_style",s="erd_scroll_detection_container";function u(){var e=500,t=500,n=document.createElement("div");n.style.cssText="position: absolute; width: "+2*e+"px; height: "+2*t+"px; visibility: hidden; margin: 0; padding: 0;";var i=document.createElement("div");i.style.cssText="position: absolute; width: "+e+"px; height: "+t+"px; overflow: scroll; visibility: none; top: "+3*-e+"px; left: "+3*-t+"px; visibility: hidden; margin: 0; padding: 0;",i.appendChild(n),document.body.insertBefore(i,document.body.firstChild);var r=e-i.clientWidth,o=t-i.clientHeight;return document.body.removeChild(i),{width:r,height:o}}function l(e,t){function n(t,n){n=n||function(e){document.head.appendChild(e)};var i=document.createElement("style");return i.innerHTML=t,i.id=e,n(i),i}if(!document.getElementById(e)){var i=t+"_animation",r=t+"_animation_active",o="/* Created by the element-resize-detector library. */\n";o+="."+t+" > div::-webkit-scrollbar { display: none; }\n\n",o+="."+r+" { -webkit-animation-duration: 0.1s; animation-duration: 0.1s; -webkit-animation-name: "+i+"; animation-name: "+i+"; }\n",o+="@-webkit-keyframes "+i+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",o+="@keyframes "+i+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",n(o)}}function f(e){e.className+=" "+s+"_animation_active"}function d(e,n,i){if(e.addEventListener)e.addEventListener(n,i);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+n,i)}}function h(e,n,i){if(e.removeEventListener)e.removeEventListener(n,i);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+n,i)}}function p(e){return r(e).container.childNodes[0].childNodes[0].childNodes[0]}function v(e){return r(e).container.childNodes[0].childNodes[0].childNodes[1]}function b(e,t){var n=r(e).listeners;if(!n.push)throw new Error("Cannot add listener to an element that is not detectable.");r(e).listeners.push(t)}function g(e,c,u){function l(){if(e.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(o.get(c),"Scroll: "),t.log.apply)t.log.apply(null,n);else for(var i=0;i=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},ce10:function(e,t,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");e.exports=function(e,t){var n,c=r(e),s=0,u=[];for(n in c)n!=a&&i(c,n)&&u.push(n);while(t.length>s)i(c,n=t[s++])&&(~o(u,n)||u.push(n));return u}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d6eb:function(e,t,n){"use strict";var i="_erd";function r(e){return e[i]={},o(e)}function o(e){return e[i]}function a(e){delete e[i]}e.exports={initState:r,getState:o,cleanState:a}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},eec4:function(e,t,n){"use strict";var i=n("b770").forEach,r=n("5be5"),o=n("49ad"),a=n("2cef"),c=n("5058"),s=n("abb4"),u=n("18e9"),l=n("c274"),f=n("d6eb"),d=n("18d2"),h=n("c946");function p(e){return Array.isArray(e)||void 0!==e.length}function v(e){if(Array.isArray(e))return e;var t=[];return i(e,function(e){t.push(e)}),t}function b(e){return e&&1===e.nodeType}function g(e,t,n){var i=e[t];return void 0!==i&&null!==i||void 0===n?i:n}e.exports=function(e){var t;if(e=e||{},e.idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var n=a(),y=c({idGenerator:n,stateHandler:f});t=y}var m=e.reporter;if(!m){var x=!1===m;m=s(x)}var w=g(e,"batchProcessor",l({reporter:m})),S={};S.callOnAdd=!!g(e,"callOnAdd",!0),S.debug=!!g(e,"debug",!1);var E,O=o(t),j=r({stateHandler:f}),k=g(e,"strategy","object"),C={reporter:m,batchProcessor:w,stateHandler:f,idHandler:t};if("scroll"===k&&(u.isLegacyOpera()?(m.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),k="object"):u.isIE(9)&&(m.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),k="object")),"scroll"===k)E=h(C);else{if("object"!==k)throw new Error("Invalid strategy name: "+k);E=d(C)}var L={};function T(e,n,r){function o(e){var t=O.get(e);i(t,function(t){t(e)})}function a(e,t,n){O.add(t,n),e&&n(t)}if(r||(r=n,n=e,e={}),!n)throw new Error("At least one element required.");if(!r)throw new Error("Listener required.");if(b(n))n=[n];else{if(!p(n))return m.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");n=v(n)}var c=0,s=g(e,"callOnAdd",S.callOnAdd),u=g(e,"onReady",function(){}),l=g(e,"debug",S.debug);i(n,function(e){f.getState(e)||(f.initState(e),t.set(e));var d=t.get(e);if(l&&m.log("Attaching listener to element",d,e),!j.isDetectable(e))return l&&m.log(d,"Not detectable."),j.isBusy(e)?(l&&m.log(d,"System busy making it detectable"),a(s,e,r),L[d]=L[d]||[],void L[d].push(function(){c++,c===n.length&&u()})):(l&&m.log(d,"Making detectable..."),j.markBusy(e,!0),E.makeDetectable({debug:l},e,function(e){if(l&&m.log(d,"onElementDetectable"),f.getState(e)){j.markAsDetectable(e),j.markBusy(e,!1),E.addListener(e,o),a(s,e,r);var t=f.getState(e);if(t&&t.startSize){var h=e.offsetWidth,p=e.offsetHeight;t.startSize.width===h&&t.startSize.height===p||o(e)}L[d]&&i(L[d],function(e){e()})}else l&&m.log(d,"Element uninstalled before being detectable.");delete L[d],c++,c===n.length&&u()}));l&&m.log(d,"Already detecable, adding listener."),a(s,e,r),c++}),c===n.length&&u()}function z(e){if(!e)return m.error("At least one element is required.");if(b(e))e=[e];else{if(!p(e))return m.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=v(e)}i(e,function(e){O.removeAllListeners(e),E.uninstall(e),f.cleanState(e)})}return{listenTo:T,removeListener:O.removeListener,removeAllListeners:O.removeAllListeners,uninstall:z}}},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fae3:function(e,t,n){"use strict";n.r(t);n("1eb2");var i=n("1b47"),r=n.n(i);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n