react-rollup-demo
Version:
REACT ROLLUP JS
1 lines • 123 kB
JavaScript
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var React=require("react"),React__default=_interopDefault(React);function Text(e){e=e.children;return React__default.createElement("div",null,React__default.createElement("strong",null,"Text:")," ",e)}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var classnames=createCommonjsModule(function(e){function s(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var n=typeof r;if("string"==n||"number"==n)e.push(r);else if(Array.isArray(r)&&r.length){var i=s.apply(null,r);i&&e.push(i)}else if("object"==n)for(var a in r)o.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var o;o={}.hasOwnProperty,e.exports?(s.default=s,e.exports=s):window.classNames=s}),AccordionComponentContent=React__default.createContext(),TiiAccoordianHeaderIconSize={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6"},TiiAccoordianHeaderIcon={UP:"svg-caret-up",DOWN:"svg-caret-down"},AccordionComponent=function(e){var t=e.mainClassName,r=e.children,e=e.isSingleExpandable,t=classnames("card",t||"accordion-card");return React__default.createElement(AccordionComponentContent.Provider,{value:{mainCssClassName:t,isSingleExpandable:e}},r)};function RandomElementID(){return"id-"+Math.random().toString(16).slice(-4)}var b="function"==typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;function z(i){if("object"==typeof i&&null!==i){var a=i.$$typeof;switch(a){case c:switch(i=i.type){case l:case m:case e:case g:case f:case p:return i;default:switch(i=i&&i.$$typeof){case k:case n:case t:case r:case h:return i;default:return a}}case d:return a}}}function A(e){return z(e)===m}var AsyncMode=l,ConcurrentMode=m,ContextConsumer=k,ContextProvider=h,Element=c,ForwardRef=n,Fragment=e,Lazy=t,Memo=r,Portal=d,Profiler=g,StrictMode=f,Suspense=p,isAsyncMode=function(e){return A(e)||z(e)===l},isConcurrentMode=A,isContextConsumer=function(e){return z(e)===k},isContextProvider=function(e){return z(e)===h},isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===c},isForwardRef=function(e){return z(e)===n},isFragment=function(t){return z(t)===e},isLazy=function(e){return z(e)===t},isMemo=function(e){return z(e)===r},isPortal=function(e){return z(e)===d},isProfiler=function(e){return z(e)===g},isStrictMode=function(e){return z(e)===f},isSuspense=function(e){return z(e)===p},isValidElementType=function(i){return"string"==typeof i||"function"==typeof i||i===e||i===m||i===g||i===f||i===p||i===q||"object"==typeof i&&null!==i&&(i.$$typeof===t||i.$$typeof===r||i.$$typeof===h||i.$$typeof===k||i.$$typeof===n||i.$$typeof===w||i.$$typeof===x||i.$$typeof===y||i.$$typeof===v)},typeOf=z,reactIs_production_min={AsyncMode:l,ConcurrentMode:m,ContextConsumer:k,ContextProvider:h,Element:c,ForwardRef:n,Fragment:e,Lazy:t,Memo:r,Portal:d,Profiler:g,StrictMode:f,Suspense:p,isAsyncMode:isAsyncMode,isConcurrentMode:A,isContextConsumer:isContextConsumer,isContextProvider:isContextProvider,isElement:isElement,isForwardRef:isForwardRef,isFragment:isFragment,isLazy:isLazy,isMemo:isMemo,isPortal:isPortal,isProfiler:isProfiler,isStrictMode:isStrictMode,isSuspense:isSuspense,isValidElementType:isValidElementType,typeOf:z},reactIs_development=createCommonjsModule(function(e,t){function r(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:var r=e.type;switch(r){case u:case f:case o:case d:case l:case h:return r;default:var n=r&&r.$$typeof;switch(n){case p:case v:case y:case g:case c:return n;default:return t}}case s:return t}}}function n(e){return r(e)===f}var i,a,s,o,l,d,c,p,u,f,v,h,m,g,y,b,w,S,C,T,x,E,_,P,M,O,$,k,I,L,z;"production"!==process.env.NODE_ENV&&(i="function"==typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,s=i?Symbol.for("react.portal"):60106,o=i?Symbol.for("react.fragment"):60107,l=i?Symbol.for("react.strict_mode"):60108,d=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,p=i?Symbol.for("react.context"):60110,u=i?Symbol.for("react.async_mode"):60111,f=i?Symbol.for("react.concurrent_mode"):60111,v=i?Symbol.for("react.forward_ref"):60112,h=i?Symbol.for("react.suspense"):60113,m=i?Symbol.for("react.suspense_list"):60120,g=i?Symbol.for("react.memo"):60115,y=i?Symbol.for("react.lazy"):60116,b=i?Symbol.for("react.block"):60121,w=i?Symbol.for("react.fundamental"):60117,S=i?Symbol.for("react.responder"):60118,C=i?Symbol.for("react.scope"):60119,T=f,x=p,E=c,_=a,P=v,M=o,O=y,$=g,k=s,I=d,L=l,i=h,z=!1,t.AsyncMode=u,t.ConcurrentMode=T,t.ContextConsumer=x,t.ContextProvider=E,t.Element=_,t.ForwardRef=P,t.Fragment=M,t.Lazy=O,t.Memo=$,t.Portal=k,t.Profiler=I,t.StrictMode=L,t.Suspense=i,t.isAsyncMode=function(e){return z||(z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),n(e)||r(e)===u},t.isConcurrentMode=n,t.isContextConsumer=function(e){return r(e)===p},t.isContextProvider=function(e){return r(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return r(e)===v},t.isFragment=function(e){return r(e)===o},t.isLazy=function(e){return r(e)===y},t.isMemo=function(e){return r(e)===g},t.isPortal=function(e){return r(e)===s},t.isProfiler=function(e){return r(e)===d},t.isStrictMode=function(e){return r(e)===l},t.isSuspense=function(e){return r(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===d||e===l||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===w||e.$$typeof===S||e.$$typeof===C||e.$$typeof===b)},t.typeOf=r)}),reactIs_development_1=reactIs_development.AsyncMode,reactIs_development_2=reactIs_development.ConcurrentMode,reactIs_development_3=reactIs_development.ContextConsumer,reactIs_development_4=reactIs_development.ContextProvider,reactIs_development_5=reactIs_development.Element,reactIs_development_6=reactIs_development.ForwardRef,reactIs_development_7=reactIs_development.Fragment,reactIs_development_8=reactIs_development.Lazy,reactIs_development_9=reactIs_development.Memo,reactIs_development_10=reactIs_development.Portal,reactIs_development_11=reactIs_development.Profiler,reactIs_development_12=reactIs_development.StrictMode,reactIs_development_13=reactIs_development.Suspense,reactIs_development_14=reactIs_development.isAsyncMode,reactIs_development_15=reactIs_development.isConcurrentMode,reactIs_development_16=reactIs_development.isContextConsumer,reactIs_development_17=reactIs_development.isContextProvider,reactIs_development_18=reactIs_development.isElement,reactIs_development_19=reactIs_development.isForwardRef,reactIs_development_20=reactIs_development.isFragment,reactIs_development_21=reactIs_development.isLazy,reactIs_development_22=reactIs_development.isMemo,reactIs_development_23=reactIs_development.isPortal,reactIs_development_24=reactIs_development.isProfiler,reactIs_development_25=reactIs_development.isStrictMode,reactIs_development_26=reactIs_development.isSuspense,reactIs_development_27=reactIs_development.isValidElementType,reactIs_development_28=reactIs_development.typeOf,reactIs=createCommonjsModule(function(e){"production"===process.env.NODE_ENV?e.exports=reactIs_production_min:e.exports=reactIs_development}),getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function shouldUseNative(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},n)).join("")?!1:!0}catch(e){return!1}}var ReactPropTypesSecret$1,loggedTypeFailures,has,objectAssign=shouldUseNative()?Object.assign:function(e,t){for(var r,n=toObject(e),i=1;i<arguments.length;i++){for(var a in r=Object(arguments[i]))hasOwnProperty.call(r,a)&&(n[a]=r[a]);if(getOwnPropertySymbols)for(var s=getOwnPropertySymbols(r),o=0;o<s.length;o++)propIsEnumerable.call(r,s[o])&&(n[s[o]]=r[s[o]])}return n},ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ReactPropTypesSecret_1=ReactPropTypesSecret,printWarning=function(){};function checkPropTypes(e,t,r,n,i){if("production"!==process.env.NODE_ENV)for(var a in e)if(has(e,a)){var s;try{if("function"!=typeof e[a]){var o=Error((n||"React class")+": "+r+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw o.name="Invariant Violation",o}s=e[a](t,a,n,r,null,ReactPropTypesSecret$1)}catch(e){s=e}!s||s instanceof Error||printWarning((n||"React class")+": type specification of "+r+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in loggedTypeFailures)&&(loggedTypeFailures[s.message]=!0,a=i?i():"",printWarning("Failed "+r+" type: "+s.message+(null!=a?a:"")))}}"production"!==process.env.NODE_ENV&&(ReactPropTypesSecret$1=ReactPropTypesSecret_1,loggedTypeFailures={},has=Function.call.bind(Object.prototype.hasOwnProperty),printWarning=function(e){e="Warning: "+e;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(e){}}),checkPropTypes.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(loggedTypeFailures={})};var checkPropTypes_1=checkPropTypes,has$1=Function.call.bind(Object.prototype.hasOwnProperty),printWarning$1=function(){};function emptyFunctionThatReturnsNull(){return null}"production"!==process.env.NODE_ENV&&(printWarning$1=function(e){e="Warning: "+e;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(e){}});var factoryWithTypeCheckers=function(a,p){var s="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";var u="<<anonymous>>",e={array:t("array"),bool:t("boolean"),func:t("function"),number:t("number"),object:t("object"),string:t("string"),symbol:t("symbol"),any:r(emptyFunctionThatReturnsNull),arrayOf:function(l){return r(function(e,t,r,n,i){if("function"!=typeof l)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=e[t];if(!Array.isArray(a))return new f("Invalid "+n+" `"+i+"` of type `"+c(a)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<a.length;s++){var o=l(a,s,r,n,i+"["+s+"]",ReactPropTypesSecret_1);if(o instanceof Error)return o}return null})},element:r(function(e,t,r,n,i){return t=e[t],a(t)?null:new f("Invalid "+n+" `"+i+"` of type `"+c(t)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:r(function(e,t,r,n,i){return t=e[t],reactIs.isValidElementType(t)?null:new f("Invalid "+n+" `"+i+"` of type `"+c(t)+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(s){return r(function(e,t,r,n,i){if(e[t]instanceof s)return null;var a=s.name||u;return new f("Invalid "+n+" `"+i+"` of type `"+((t=e[t]).constructor&&t.constructor.name?t.constructor.name:u)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")})},node:r(function(e,t,r,n,i){return l(e[t])?null:new f("Invalid "+n+" `"+i+"` supplied to `"+r+"`, expected a ReactNode.")}),objectOf:function(l){return r(function(e,t,r,n,i){if("function"!=typeof l)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a,s=e[t];if("object"!==(t=c(s)))return new f("Invalid "+n+" `"+i+"` of type `"+t+"` supplied to `"+r+"`, expected an object.");for(a in s)if(has$1(s,a)){var o=l(s,a,r,n,i+"."+a,ReactPropTypesSecret_1);if(o instanceof Error)return o}return null})},oneOf:function(o){if(Array.isArray(o))return r(function(e,t,r,n,i){for(var a=e[t],s=0;s<o.length;s++)if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(a,o[s]))return null;t=JSON.stringify(o,function(e,t){return"symbol"===d(t)?String(t):t});return new f("Invalid "+n+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+t+".")});"production"!==process.env.NODE_ENV&&printWarning$1(1<arguments.length?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array.");return emptyFunctionThatReturnsNull},oneOfType:function(s){if(!Array.isArray(s))return"production"!==process.env.NODE_ENV&&printWarning$1("Invalid argument supplied to oneOfType, expected an instance of array."),emptyFunctionThatReturnsNull;for(var e=0;e<s.length;e++){var t=s[e];if("function"!=typeof t)return printWarning$1("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+function(e){var t=d(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}(t)+" at index "+e+"."),emptyFunctionThatReturnsNull}return r(function(e,t,r,n,i){for(var a=0;a<s.length;a++)if(null==(0,s[a])(e,t,r,n,i,ReactPropTypesSecret_1))return null;return new f("Invalid "+n+" `"+i+"` supplied to `"+r+"`.")})},shape:function(l){return r(function(e,t,r,n,i){var a,s=e[t];if("object"!==(t=c(s)))return new f("Invalid "+n+" `"+i+"` of type `"+t+"` supplied to `"+r+"`, expected `object`.");for(a in l){var o=l[a];if(o){o=o(s,a,r,n,i+"."+a,ReactPropTypesSecret_1);if(o)return o}}return null})},exact:function(d){return r(function(e,t,r,n,i){var a,s=e[t],o=c(s);if("object"!==o)return new f("Invalid "+n+" `"+i+"` of type `"+o+"` supplied to `"+r+"`, expected `object`.");for(a in objectAssign({},e[t],d)){var l=d[a];if(!l)return new f("Invalid "+n+" `"+i+"` key `"+a+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(e[t],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(d),null," "));l=l(s,a,r,n,i+"."+a,ReactPropTypesSecret_1);if(l)return l}return null})}};function f(e){this.message=e,this.stack=""}function r(l){var d,c;function e(e,t,r,n,i,a,s){if(n=n||u,a=a||r,s!==ReactPropTypesSecret_1){if(p){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}"production"===process.env.NODE_ENV||"undefined"==typeof console||!d[o=n+":"+r]&&c<3&&(printWarning$1("You are manually calling a React.PropTypes validation function for the `"+a+"` prop on `"+n+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),d[o]=!0,c++)}return null==t[r]?e?null===t[r]?new f("The "+i+" `"+a+"` is marked as required in `"+n+"`, but its value is `null`."):new f("The "+i+" `"+a+"` is marked as required in `"+n+"`, but its value is `undefined`."):null:l(t,r,n,i,a)}"production"!==process.env.NODE_ENV&&(d={},c=0);var t=e.bind(null,!1);return t.isRequired=e.bind(null,!0),t}function t(s){return r(function(e,t,r,n,i,a){return c(t=e[t])===s?null:new f("Invalid "+n+" `"+i+"` of type `"+d(t)+"` supplied to `"+r+"`, expected `"+s+"`.")})}function l(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(l);if(null===e||a(e))return!0;var t=function(e){if("function"==typeof(e=e&&(s&&e[s]||e[o])))return e}(e);if(!t)return!1;var r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!l(r.value))return!1}else for(;!(r=n.next()).done;){var i=r.value;if(i&&!l(i[1]))return!1}return!0;default:return!1}}function c(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":(e=e,"symbol"===t||e&&("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)?"symbol":t)}function d(e){if(null==e)return""+e;var t=c(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}return f.prototype=Error.prototype,e.checkPropTypes=checkPropTypes_1,e.resetWarningCache=checkPropTypes_1.resetWarningCache,e.PropTypes=e};function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function e(e,t,r,n,i,a){if(a!==ReactPropTypesSecret_1){a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}var r={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return r.PropTypes=r},propTypes=createCommonjsModule(function(e){"production"!==process.env.NODE_ENV?e.exports=factoryWithTypeCheckers(reactIs.isElement,!0):e.exports=factoryWithThrowingShims()}),AccordionChild=function(e){var t=React.useContext(AccordionComponentContent),r=t.mainCssClassName,n=t.isSingleExpandable,i=e.ariaExpanded,a=e.children,s=e.iconSize,o=e.icon,l=e.cardHeading,d=e.ariaAccordionID,c=e.additional,p=e.isSepHeader,t=e.ariaControls,e=e.ariaHeadingID,o=classnames("icon",s,o),t=t||RandomElementID(),e=e||RandomElementID();return React__default.createElement("div",{className:r},React__default.createElement("div",{id:e,className:"accordion-card__card-header"},p&&React__default.createElement("div",{className:"accordion-card__card-header__text"},React__default.createElement("span",{className:"h3 accordion-card__card-header__headText"},l),React__default.createElement("span",{className:"body-m"},c)),React__default.createElement("button",{className:"btn btn-link",type:"button","data-toggle":"collapse","data-target":"#".concat(t),"aria-expanded":i,"aria-controls":t},!p&&React__default.createElement("span",{className:"h3"},l),React__default.createElement("span",{className:o}))),n?React__default.createElement("div",{id:t,className:"collapse ".concat(i?"show":""," "),"aria-labelledby":e,"data-parent":"#".concat(d&&d)},React__default.createElement("div",{className:p?"card-body":"accordion-card__card-body"},a)):React__default.createElement("div",{id:t,className:"collapse ".concat(i?"show":""," "),"aria-labelledby":e},React__default.createElement("div",{className:p?"card-body":"accordion-card__card-body"},a)))};function isObject(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function extend(t,r){void 0===t&&(t={}),void 0===r&&(r={}),Object.keys(r).forEach(function(e){void 0===t[e]?t[e]=r[e]:isObject(r[e])&&isObject(t[e])&&0<Object.keys(r[e]).length&&extend(t[e],r[e])})}AccordionChild.propTypes={ariaExpanded:propTypes.bool.isRequired,ariaControls:propTypes.any,ariaHeadingID:propTypes.any,ariaAccordionID:propTypes.any,iconSize:propTypes.oneOf(Object.values(TiiAccoordianHeaderIconSize)),icon:propTypes.oneOf(Object.values(TiiAccoordianHeaderIcon)),cardHeading:propTypes.string.isRequired,isSepHeader:propTypes.bool,isSingleExpandable:propTypes.bool,additional:propTypes.string},AccordionChild.defaultProps={ariaExpanded:!1,iconSize:TiiAccoordianHeaderIconSize.H4,icon:TiiAccoordianHeaderIcon.DOWN,cardHeading:"Demo Content",ariaAccordionID:null,isSepHeader:!1,isSingleExpandable:!1,additional:""};var ssrDocument={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function getDocument(){var e="undefined"!=typeof document?document:{};return extend(e,ssrDocument),e}var ssrWindow={document:ssrDocument,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function getWindow(){var e="undefined"!=typeof window?window:{};return extend(e,ssrWindow),e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function _construct(e,t,r){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);n=new(Function.bind.apply(e,n));return r&&_setPrototypeOf(n,r.prototype),n}).apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _wrapNativeSuper(e){var r="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(t,e)})(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function makeReactive(e){var t=e.__proto__;Object.defineProperty(e,"__proto__",{get:function(){return t},set:function(e){t.__proto__=e}})}var Dom7=function(t){function e(e){e=t.call.apply(t,[this].concat(e))||this;return makeReactive(_assertThisInitialized(e)),e}return _inheritsLoose(e,t),e}(_wrapNativeSuper(Array));function arrayFlat(e){var t=[];return(e=void 0===e?[]:e).forEach(function(e){Array.isArray(e)?t.push.apply(t,arrayFlat(e)):t.push(e)}),t}function arrayFilter(e,t){return Array.prototype.filter.call(e,t)}function arrayUnique(e){for(var t=[],r=0;r<e.length;r+=1)-1===t.indexOf(e[r])&&t.push(e[r]);return t}function qsa(e,t){if("string"!=typeof e)return[e];for(var r=[],n=t.querySelectorAll(e),i=0;i<n.length;i+=1)r.push(n[i]);return r}function $(e,t){var r=getWindow(),n=getDocument(),i=[];if(!t&&e instanceof Dom7)return e;if(!e)return new Dom7(i);if("string"==typeof e){var a=e.trim();if(0<=a.indexOf("<")&&0<=a.indexOf(">")){var s="div";0===a.indexOf("<li")&&(s="ul"),0===a.indexOf("<tr")&&(s="tbody"),0!==a.indexOf("<td")&&0!==a.indexOf("<th")||(s="tr"),0===a.indexOf("<tbody")&&(s="table"),0===a.indexOf("<option")&&(s="select");var o=n.createElement(s);o.innerHTML=a;for(var l=0;l<o.childNodes.length;l+=1)i.push(o.childNodes[l])}else i=qsa(e.trim(),t||n)}else if(e.nodeType||e===r||e===n)i.push(e);else if(Array.isArray(e)){if(e instanceof Dom7)return e;i=e}return new Dom7(arrayUnique(i))}function addClass(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=arrayFlat(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).add.apply(e,n)}),this}function removeClass(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=arrayFlat(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).remove.apply(e,n)}),this}function toggleClass(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=arrayFlat(t.map(function(e){return e.split(" ")}));this.forEach(function(t){n.forEach(function(e){t.classList.toggle(e)})})}function hasClass(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=arrayFlat(t.map(function(e){return e.split(" ")}));return 0<arrayFilter(this,function(t){return 0<n.filter(function(e){return t.classList.contains(e)}).length}).length}function attr(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var r=0;r<this.length;r+=1)if(2===arguments.length)this[r].setAttribute(e,t);else for(var n in e)this[r][n]=e[n],this[r].setAttribute(n,e[n]);return this}function removeAttr(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function transform(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this}function transition(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?e+"ms":e;return this}function on(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],a=t[1],s=t[2],i=t[3];function o(e){var t=e.target;if(t){var r=e.target.dom7EventData||[];if(r.indexOf(e)<0&&r.unshift(e),$(t).is(a))s.apply(t,r);else for(var n=$(t).parents(),i=0;i<n.length;i+=1)$(n[i]).is(a)&&s.apply(n[i],r)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),s.apply(this,t)}"function"==typeof t[1]&&(n=t[0],s=t[1],i=t[2],a=void 0);for(var d,i=i||!1,c=n.split(" "),p=0;p<this.length;p+=1){var u=this[p];if(a)for(d=0;d<c.length;d+=1){var f=c[d];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[f]||(u.dom7LiveListeners[f]=[]),u.dom7LiveListeners[f].push({listener:s,proxyListener:o}),u.addEventListener(f,o,i)}else for(d=0;d<c.length;d+=1){var v=c[d];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[v]||(u.dom7Listeners[v]=[]),u.dom7Listeners[v].push({listener:s,proxyListener:l}),u.addEventListener(v,l,i)}}return this}function off(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t[1],a=t[2],s=t[3];"function"==typeof t[1]&&(n=t[0],a=t[1],s=t[2],i=void 0);for(var s=s||!1,o=n.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],c=0;c<this.length;c+=1){var p=this[c],u=void 0;if(!i&&p.dom7Listeners?u=p.dom7Listeners[d]:i&&p.dom7LiveListeners&&(u=p.dom7LiveListeners[d]),u&&u.length)for(var f=u.length-1;0<=f;--f){var v=u[f];(!a||v.listener!==a)&&!(a&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===a)&&a||(p.removeEventListener(d,v.proxyListener,s),u.splice(f,1))}}return this}function trigger(){for(var e=getWindow(),t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(var i=r[0].split(" "),a=r[1],s=0;s<i.length;s+=1)for(var o=i[s],l=0;l<this.length;l+=1){var d,c=this[l];e.CustomEvent&&(d=new e.CustomEvent(o,{detail:a,bubbles:!0,cancelable:!0}),c.dom7EventData=r.filter(function(e,t){return 0<t}),c.dispatchEvent(d),c.dom7EventData=[],delete c.dom7EventData)}return this}function transitionEnd(r){var n=this;return r&&n.on("transitionend",function e(t){t.target===this&&(r.call(this,t),n.off("transitionend",e))}),this}function outerWidth(e){if(0<this.length){if(e){e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function outerHeight(e){if(0<this.length){if(e){e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function offset(){if(0<this.length){var e=getWindow(),t=getDocument(),r=this[0],n=r.getBoundingClientRect(),i=t.body,a=r.clientTop||i.clientTop||0,t=r.clientLeft||i.clientLeft||0,i=r===e?e.scrollY:r.scrollTop,r=r===e?e.scrollX:r.scrollLeft;return{top:n.top+i-a,left:n.left+r-t}}return null}function styles(){var e=getWindow();return this[0]?e.getComputedStyle(this[0],null):{}}function css(e,t){var r,n=getWindow();if(1===arguments.length){if("string"!=typeof e){for(r=0;r<this.length;r+=1)for(var i in e)this[r].style[i]=e[i];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}if(2!==arguments.length||"string"!=typeof e)return this;for(r=0;r<this.length;r+=1)this[r].style[e]=t;return this}function each(r){return r&&this.forEach(function(e,t){r.apply(e,[e,t])}),this}function filter(e){return $(arrayFilter(this,e))}function html(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function text(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function is(e){var t,r,n=getWindow(),i=getDocument(),a=this[0];if(!a||void 0===e)return!1;if("string"==typeof e){if(a.matches)return a.matches(e);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(e);if(a.msMatchesSelector)return a.msMatchesSelector(e);for(t=$(e),r=0;r<t.length;r+=1)if(t[r]===a)return!0;return!1}if(e===i)return a===i;if(e===n)return a===n;if(e.nodeType||e instanceof Dom7){for(t=e.nodeType?[e]:e,r=0;r<t.length;r+=1)if(t[r]===a)return!0;return!1}return!1}function index(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function eq(e){if(void 0===e)return this;var t=this.length;if(t-1<e)return $([]);if(e<0){t=t+e;return t<0?$([]):$([this[t]])}return $([this[e]])}function append(){for(var e=getDocument(),t=0;t<arguments.length;t+=1)for(var r=t<0||arguments.length<=t?void 0:arguments[t],n=0;n<this.length;n+=1)if("string"==typeof r){var i=e.createElement("div");for(i.innerHTML=r;i.firstChild;)this[n].appendChild(i.firstChild)}else if(r instanceof Dom7)for(var a=0;a<r.length;a+=1)this[n].appendChild(r[a]);else this[n].appendChild(r);return this}function prepend(e){for(var t,r=getDocument(),n=0;n<this.length;n+=1)if("string"==typeof e){var i=r.createElement("div");for(i.innerHTML=e,t=i.childNodes.length-1;0<=t;--t)this[n].insertBefore(i.childNodes[t],this[n].childNodes[0])}else if(e instanceof Dom7)for(t=0;t<e.length;t+=1)this[n].insertBefore(e[t],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this}function next(e){return 0<this.length?e?this[0].nextElementSibling&&$(this[0].nextElementSibling).is(e)?$([this[0].nextElementSibling]):$([]):this[0].nextElementSibling?$([this[0].nextElementSibling]):$([]):$([])}function nextAll(e){var t=[],r=this[0];if(!r)return $([]);for(;r.nextElementSibling;){var n=r.nextElementSibling;(!e||$(n).is(e))&&t.push(n),r=n}return $(t)}function prev(e){if(0<this.length){var t=this[0];return e?t.previousElementSibling&&$(t.previousElementSibling).is(e)?$([t.previousElementSibling]):$([]):t.previousElementSibling?$([t.previousElementSibling]):$([])}return $([])}function prevAll(e){var t=[],r=this[0];if(!r)return $([]);for(;r.previousElementSibling;){var n=r.previousElementSibling;(!e||$(n).is(e))&&t.push(n),r=n}return $(t)}function parent(e){for(var t=[],r=0;r<this.length;r+=1)null===this[r].parentNode||e&&!$(this[r].parentNode).is(e)||t.push(this[r].parentNode);return $(t)}function parents(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].parentNode;n;)e&&!$(n).is(e)||t.push(n),n=n.parentNode;return $(t)}function closest(e){var t=this;return void 0===e?$([]):t.is(e)?t:t.parents(e).eq(0)}function find(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].querySelectorAll(e),i=0;i<n.length;i+=1)t.push(n[i]);return $(t)}function children(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].children,i=0;i<n.length;i+=1)e&&!$(n[i]).is(e)||t.push(n[i]);return $(t)}function remove(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}$.fn=Dom7.prototype;var support,device,browser,Methods={addClass:addClass,removeClass:removeClass,hasClass:hasClass,toggleClass:toggleClass,attr:attr,removeAttr:removeAttr,transform:transform,transition:transition,on:on,off:off,trigger:trigger,transitionEnd:transitionEnd,outerWidth:outerWidth,outerHeight:outerHeight,styles:styles,offset:offset,css:css,each:each,html:html,text:text,is:is,index:index,eq:eq,append:append,prepend:prepend,next:next,nextAll:nextAll,prev:prev,prevAll:prevAll,parent:parent,parents:parents,closest:closest,find:find,children:children,filter:filter,remove:remove};function deleteProps(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}function nextTick(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function now(){return Date.now()}function getTranslate(e,t){void 0===t&&(t="x");var r,n,i,a=getWindow(),e=a.getComputedStyle(e,null);return a.WebKitCSSMatrix?(6<(n=e.transform||e.webkitTransform).split(",").length&&(n=n.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),i=new a.WebKitCSSMatrix("none"===n?"":n)):r=(i=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=a.WebKitCSSMatrix?i.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),(n="y"===t?a.WebKitCSSMatrix?i.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5]):n)||0}function isObject$1(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object}function extend$1(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=1;t<arguments.length;t+=1){var r=t<0||arguments.length<=t?void 0:arguments[t];if(null!=r)for(var n=Object.keys(Object(r)),i=0,a=n.length;i<a;i+=1){var s=n[i],o=Object.getOwnPropertyDescriptor(r,s);void 0!==o&&o.enumerable&&(isObject$1(e[s])&&isObject$1(r[s])?extend$1(e[s],r[s]):!isObject$1(e[s])&&isObject$1(r[s])?(e[s]={},extend$1(e[s],r[s])):e[s]=r[s])}}return e}function bindModuleMethods(r,n){Object.keys(n).forEach(function(t){isObject$1(n[t])&&Object.keys(n[t]).forEach(function(e){"function"==typeof n[t][e]&&(n[t][e]=n[t][e].bind(r))}),r[t]=n[t]})}function calcSupport(){var r=getWindow(),e=getDocument();return{touch:!!("ontouchstart"in r||r.DocumentTouch&&e instanceof r.DocumentTouch),pointerEvents:!!r.PointerEvent&&"maxTouchPoints"in r.navigator&&0<=r.navigator.maxTouchPoints,observer:"MutationObserver"in r||"WebkitMutationObserver"in r,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});r.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in r}}function getSupport(){return support=support||calcSupport()}function calcDevice(e){var t=(void 0===e?{}:e).userAgent,r=getSupport(),n=getWindow(),i=n.navigator.platform,a=t||n.navigator.userAgent,s={ios:!1,android:!1},o=n.screen.width,l=n.screen.height,d=a.match(/(Android);?[\s\/]+([\d.]+)?/),c=a.match(/(iPad).*OS\s([\d_]+)/),e=a.match(/(iPod)(.*OS\s([\d_]+))?/),t=!c&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),n="Win32"===i,i="MacIntel"===i;return!c&&i&&r.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(o+"x"+l)&&(c=(c=a.match(/(Version)\/([\d.]+)/))||[0,1,"13_0_0"],i=!1),d&&!n&&(s.os="android",s.android=!0),(c||t||e)&&(s.os="ios",s.ios=!0),s}function getDevice(e){return void 0===e&&(e={}),device=device||calcDevice(e)}function calcBrowser(){var e,t=getWindow();return{isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:0<=(e=t.navigator.userAgent.toLowerCase()).indexOf("safari")&&e.indexOf("chrome")<0&&e.indexOf("android")<0,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}function getBrowser(){return browser=browser||calcBrowser()}Object.keys(Methods).forEach(function(e){$.fn[e]=Methods[e]});var supportsResizeObserver=function(){return void 0!==getWindow().ResizeObserver},Resize={name:"resize",create:function(){var a=this;extend$1(a,{resize:{observer:null,createObserver:function(){a&&!a.destroyed&&a.initialized&&(a.resize.observer=new ResizeObserver(function(e){var t=a.width,r=a.height,n=t,i=r;e.forEach(function(e){var t=e.contentBoxSize,r=e.contentRect,e=e.target;e&&e!==a.el||(n=r?r.width:(t[0]||t).inlineSize,i=r?r.height:(t[0]||t).blockSize)}),n===t&&i===r||a.resize.resizeHandler()}),a.resize.observer.observe(a.el))},removeObserver:function(){a.resize.observer&&a.resize.observer.unobserve&&a.el&&(a.resize.observer.unobserve(a.el),a.resize.observer=null)},resizeHandler:function(){a&&!a.destroyed&&a.initialized&&(a.emit("beforeResize"),a.emit("resize"))},orientationChangeHandler:function(){a&&!a.destroyed&&a.initialized&&a.emit("orientationchange")}}})},on:{init:function(e){var t=getWindow();e.params.resizeObserver&&supportsResizeObserver()?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=getWindow();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}};function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r,n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Observer={attach:function(e,t){void 0===t&&(t={});var r=getWindow(),n=this,i=new(r.MutationObserver||r.WebkitMutationObserver)(function(e){var t;1!==e.length?(t=function(){n.emit("observerUpdate",e[0])},r.requestAnimationFrame?r.requestAnimationFrame(t):r.setTimeout(t,0)):n.emit("observerUpdate",e[0])});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.observer.observers.push(i)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),r=0;r<t.length;r+=1)e.observer.attach(t[r]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},Observer$1={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){bindModuleMethods(this,{observer:_extends({},Observer,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}},modular={useParams:function(t){var r=this;r.modules&&Object.keys(r.modules).forEach(function(e){e=r.modules[e];e.params&&extend$1(t,e.params)})},useModules:function(r){void 0===r&&(r={});var n=this;n.modules&&Object.keys(n.modules).forEach(function(e){var t=n.modules[e],e=r[e]||{};t.on&&n.on&&Object.keys(t.on).forEach(function(e){n.on(e,t.on[e])}),t.create&&t.create.bind(n)(e)})}},eventsEmitter={on:function(e,t,r){var n=this;if("function"!=typeof t)return n;var i=r?"unshift":"push";return e.split(" ").forEach(function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)}),n},once:function(n,i,e){var a=this;return"function"!=typeof i?a:(s.__emitterProxy=i,a.on(n,s,e));function s(){a.off(n,s),s.__emitterProxy&&delete s.__emitterProxy;for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];i.apply(a,t)}},onAny:function(e,t){if("function"!=typeof e)return this;t=t?"unshift":"push";return this.eventsAnyListeners.indexOf(e)<0&&this.eventsAnyListeners[t](e),this},offAny:function(e){var t=this;if(!t.eventsAnyListeners)return t;e=t.eventsAnyListeners.indexOf(e);return 0<=e&&t.eventsAnyListeners.splice(e,1),t},off:function(e,n){var i=this;return i.eventsListeners&&e.split(" ").forEach(function(r){void 0===n?i.eventsListeners[r]=[]:i.eventsListeners[r]&&i.eventsListeners[r].forEach(function(e,t){(e===n||e.__emitterProxy&&e.__emitterProxy===n)&&i.eventsListeners[r].splice(t,1)})}),i},emit:function(){var e,r,n,i=this;if(!i.eventsListeners)return i;for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return n="string"==typeof a[0]||Array.isArray(a[0])?(e=a[0],r=a.slice(1,a.length),i):(e=a[0].events,r=a[0].data,a[0].context||i),r.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(function(t){i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(function(e){e.apply(n,[t].concat(r))}),i.eventsListeners&&i.eventsListeners[t]&&i.eventsListeners[t].forEach(function(e){e.apply(n,r)})}),i}};function updateSize(){var e=this,t=e.$el,r=void 0!==e.params.width&&null!==e.params.width?e.params.width:t[0].clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:t[0].clientHeight;0===r&&e.isHorizontal()||0===n&&e.isVertical()||(r=r-parseInt(t.css("padding-left")||0,10)-parseInt(t.css("padding-right")||0,10),n=n-parseInt(t.css("padding-top")||0,10)-parseInt(t.css("padding-bottom")||0,10),extend$1(e,{width:r=Number.isNaN(r)?0:r,height:n=Number.isNaN(n)?0:n,size:e.isHorizontal()?r:n}))}function updateSlides(){function r(e){return t.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function e(e,t){return parseFloat(e.getPropertyValue(r(t))||0)}var t=this,n=getWindow(),i=t.params,a=t.$wrapperEl,s=t.size,o=t.rtlTranslate,l=t.wrongRTL,d=t.virtual&&i.virtual.enabled,c=(d?t.virtual:t).slides.length,p=a.children("."+t.params.slideClass),u=(d?t.virtual.slides:p).length,f=[],v=[],h=[];var m=i.slidesOffsetBefore;"function"==typeof m&&(m=i.slidesOffsetBefore.call(t));var g=i.slidesOffsetAfter;"function"==typeof g&&(g=i.slidesOffsetAfter.call(t));var y,b=t.snapGrid.length,d=t.slidesGrid.length,w=i.spaceBetween,S=-m,C=0,T=0;if(void 0!==s){"string"==typeof w&&0<=w.indexOf("%")&&(w=parseFloat(w.replace("%",""))/100*s),t.virtualSize=-w,o?p.css({marginLeft:"",marginTop:""}):p.css({marginRight:"",marginBottom:""}),1<i.slidesPerColumn&&(y=Math.floor(u/i.slidesPerColumn)===u/t.params.slidesPerColumn?u:Math.ceil(u/i.slidesPerColumn)*i.slidesPerColumn,"auto"!==i.slidesPerView&&"row"===i.slidesPerColumnFill&&(y=Math.max(y,i.slidesPerView*i.slidesPerColumn)));for(var x,E,_,P,M,O=i.slidesPerColumn,$=y/O,k=Math.floor(u/i.slidesPerColumn),I=0;I<u;I+=1){W=0;var L,z,A,R,D,N,j,B,F,W,H=p.eq(I);1<i.slidesPerColumn&&(F=j=N=void 0,"row"===i.slidesPerColumnFill&&1<i.slidesPerGroup?(D=Math.floor(I/(i.slidesPerGroup*i.slidesPerColumn)),A=I-i.slidesPerColumn*i.slidesPerGroup*D,R=0===D?i.slidesPerGroup:Math.min(Math.ceil((u-D*O*i.slidesPerGroup)/O),i.slidesPerGroup),j=A-(F=Math.floor(A/R))*R+D*i.slidesPerGroup,H.css({"-webkit-box-ordinal-group":N=j+F*y/O,"-moz-box-ordinal-group":N,"-ms-flex-order":N,"-webkit-order":N,order:N})):"column"===i.slidesPerColumnFill?(F=I-(j=Math.floor(I/O))*O,(k<j||j===k&&F===O-1)&&O<=(F+=1)&&(F=0,j+=1)):j=I-(F=Math.floor(I/$))*$,H.css(r("margin-top"),0!==F&&i.spaceBetween&&i.spaceBetween+"px")),"none"!==H.css("display")&&("auto"===i.slidesPerView?(B=n.getComputedStyle(H[0],null),L=H[0].style.transform,z=H[0].style.webkitTransform,L&&(H[0].style.transform="none"),z&&(H[0].style.webkitTransform="none"),W=i.roundLengths?t.isHorizontal()?H.outerWidth(!0):H.outerHeight(!0):(A=e(B,"width"),R=e(B,"padding-left"),D=e(B,"padding-right"),N=e(B,"margin-left"),j=e(B,"margin-right"),(F=B.getPropertyValue(B,"box-sizing"))&&"border-box"===F?A+N+j:(F=(B=H[0]).clientWidth,A+R+D+N+j+(B.offsetWidth-F))),L&&(H[0].style.transform=L),z&&(H[0].style.webkitTransform=z),i.roundLengths&&(W=Math.floor(W))):(W=(s-(i.slidesPerView-1)*w)/i.slidesPerView,i.roundLengths&&(W=Math.floor(W)),p[I]&&(p[I].style[r("width")]=W+"px")),p[I]&&(p[I].swiperSlideSize=W),h.push(W),i.centeredSlides?(S=S+W/2+C/2+w,0===C&&0!==I&&(S=S-s/2-w),0===I&&(S=S-s/2-w),Math.abs(S)<.001&&(S=0),i.roundLengths&&(S=Math.floor(S)),T%i.slidesPerGroup==0&&f.push(S),v.push(S)):(i.roundLengths&&(S=Math.floor(S)),(T-Math.min(t.params.slidesPerGroupSkip,T))%t.params.slidesPerGroup==0&&f.push(S),v.push(S),S=S+W+w),t.virtualSize+=W+w,C=W,T+=1)}if(t.virtualSize=Math.max(t.virtualSize,s)+g,o&&l&&("slide"===i.effect||"coverflow"===i.effect)&&a.css({width:t.virtualSize+i.spaceBetween+"px"}),i.setWrapperSize&&a.css(((l={})[r("width")]=t.virtualSize+i.spaceBetween+"px",l)),1<i.slidesPerColumn)if(t.virtualSize=(W+i.spaceBetween)*y,t.virtualSize=Math.ceil(t.virtualSize/i.slidesPerColumn)-i.spaceBetween,a.css(((x={})[r("width")]=t.virtualSize+i.spaceBetween+"px",x)),i.centeredSlides){for(var G=[],V=0;V<f.length;V+=1){var q=f[V];i.roundLengths&&(q=Math.floor(q)),f[V]<t.virtualSize+f[0]&&G.push(q)}f=G}if(!i.centeredSlides){G=[];for(var Y=0;Y<f.length;Y+=1){var X=f[Y];i.roundLengths&&(X=Math.floor(X)),f[Y]<=t.virtualSize-s&&G.push(X)}f=G,1<Math.floor(t.virtualSize-s)-Math.floor(f[f.length-1])&&f.push(t.virtualSize-s)}0===f.length&&(f=[0]),0!==i.spaceBetween&&(x=t.isHorizontal()&&o?"marginLeft":r("marginRight"),p.filter(function(e,t){return!i.cssMode||t!==p.length-1}).css(((o={})[x]=w+"px",o))),i.centeredSlides&&i.centeredSlidesBounds&&(E=0,h.forEach(function(e){E+=e+(i.spaceBetween||0)}),_=(E-=i.spaceBetween)-s,f=f.map(function(e){return e<0?-m:_<e?_+g:e})),i.centerInsufficientSlides&&(P=0,h.forEach(function(e){P+=e+(i.spaceBetween||0)}),(P-=i.spaceBetween)<s&&(M=(s-P)/2,f.forEach(function(e,t){f[t]=e-M}),v.forEach(function(e,t){v[t]=e+M}))),extend$1(t,{slides:p,snapGrid:f,slidesGrid:v,slidesSizesGrid:h}),u!==c&&t.emit("slidesLengthChange"),f.length!==b&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),v.length!==d&&t.emit("slidesGridLengthChange"),(i.watchSlidesProgress||i.watchSlidesVisibility)&&t.updateSlidesOffset()}}function updateAutoHeight(e){var t,r,n=this,i=[],a=0;if("number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed),"auto"!==n.params.slidesPerView&&1<n.params.slidesPerView)if(n.params.centeredSlides)n.visibleSlides.each(function(e){i.push(e)});else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){var s=n.activeIndex+t;if(s>n.slides.length)break;i.push(n.slides.eq(s)[0])}else i.push(n.slides.eq(n.activeIndex)[0]);for(t=0;t<i.length;t+=1)void 0!==i[t]&&(a=a<(r=i[t].offsetHeight)?r:a);a&&n.$wrapperEl.css("height",a+"px")}function updateSlidesOffset(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop}function updateSlidesProgress(e){void 0===e&&(e=this&&this.translate||0);var t=this,r=t.params,n=t.slides,i=t.rtlTranslate;if(0!==n.length){void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();var a=i?e:-e;n.removeClass(r.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var s=0;s<n.length;s+=1){var o,l,d=n[s],c=(a+(r.centeredSlides?t.minTranslate():0)-d.swiperSlideOffset)/(d.swiperSlideSize+r.spaceBetween);(r.watchSlidesVisibility||r.centeredSlides&&r.autoHeight)&&(l=(o=-(a-d.swiperSlideOffset))+t.slidesSizesGrid[s],(0<=o&&o<t.size-1||1<l&&l<=t.size||o<=0&&l>=t.size)&&(t.visibleSlides.push(d),t.visibleSlidesIndexes.push(s),n.eq(s).addClass(r.slideVisibleClass))),d.progress=i?-c:c}t.visibleSlides=$(t.visibleSlides)}}function updateProgress(e){var t=this;void 0===e&&(o=t.rtlTranslate?-1:1,e=t&&t.translate&&t.translate*o||0);var r=t.params,n=t.maxTranslate()-t.minTranslate(),i=t.progress,a=t.isBeginning,s=a,o=l=t.isEnd,l=0==n?a=!(i=0):(a=(i=(e-t.minTranslate())/n)<=0,1<=i);extend$1(t,{progress:i,isBeginning:a,isEnd:l}),(r.watchSlidesProgress||r.watchSlidesVisibility||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),a&&!s&&t.emit("reachBeginning toEdge"),l&&!o&&t.emit("reachEnd toEdge"),(s&&!a||o&&!l)&&t.emit("fromEdge"),t.emit("progress",i)}function updateSlidesClasses(){var e=this,t=e.slides,r=e.params,n=e.$wrapperEl,i=e.activeIndex,a=e.realIndex,s=e.virtual&&r.virtual.enabled;t.removeClass(r.slideActiveClass+" "+r.slideNextClass+" "+r.slidePrevClass+" "+r.slideDuplicateActiveClass+" "+r.slideDuplicateNextClass+" "+r.slideDuplicatePrevClass),(i=s?e.$wrapperEl.find("."+r.slideClass+'[data-swiper-slide-index="'+i+'"]'):t.eq(i)).addClass(r.slideActiveClass),r.loop&&(i.hasClass(r.slideDuplicateClass)?n.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-s