(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[25],{dRl4:function(e,n,t){"use strict";t.d(n,"a",(function(){return W})),t.d(n,"b",(function(){return F})),t.d(n,"c",(function(){return Ge})),t.d(n,"d",(function(){return pe})),t.d(n,"e",(function(){return Xe})),t.d(n,"f",(function(){return Je})),t.d(n,"g",(function(){return Ye})),t.d(n,"h",(function(){return $e})),t.d(n,"i",(function(){return q})),t.d(n,"j",(function(){return Ue})),t.d(n,"k",(function(){return de})),t.d(n,"l",(function(){return qe})),t.d(n,"m",(function(){return Ze}));var i=t("A8Ji"),r=t("yMu5"),o=t("GLGS"),a=function(e,n){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)};function s(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}a(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var l=function(){return(l=Object.assign||function(e){for(var n,t=1,i=arguments.length;t0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,n){var t="function"===typeof Symbol&&e[Symbol.iterator];if(!t)return e;var i,r,o=t.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(r)throw r.error}}return a}function d(e,n){for(var t=0,i=n.length,r=e.length;tt){e=n+(e-t)%i}return e},se=function(e,n){for(var t=0;t=n&&e<=t},he=function(e,n){return e>=n?e%n:e<0?ie((e+1)%n-1,n):e},de=function(e){for(var n=new Array(e),t=0;t=l)})),a=f.reduce((function(e,n){return Math.abs(l-n)=l&&h>0?this._findSnappedAnchor(e,a):f>=i.threshold&&f>0?this._findAdjacentAnchor(u,a):a,this._triggerIndexChangeEvent(d.panel,e,t),[2,this._animateToPosition({position:r.clampToReachablePosition(d.position),duration:n,newActivePanel:d.panel,axesEvent:t})]):[2,Promise.reject(new pe(z(e),y))]}))}))},t._findSnappedAnchor=function(e,n){var t=q(this._flicking),i=t.camera,r=this._count,o=i.position,a=i.clampToReachablePosition(e),s=i.findAnchorIncludePosition(a);if(!n||!s)throw new pe(z(e),y);if(!isFinite(r))return s;var l=t.panelCount,u=i.anchorPoints,c=Math.sign(e-o)*Math.floor(Math.abs(e-o)/i.rangeDiff);e>o&&s.indexn.position&&s.index===n.index?c+=1:(en.index||s.positiono&&g.indexn.index&&(p-=1),new je({index:g.index,position:g.position+p*i.rangeDiff,panel:g.panel})}return u[Z(n.index+Math.sign(e-o)*r,0,u.length-1)]},t._findAdjacentAnchor=function(e,n){var t,i=q(this._flicking).camera;return null!==(t=e>0?i.getNextAnchor(n):i.getPrevAnchor(n))&&void 0!==t?t:n},t._calcSnapThreshold=function(e,n){var t=e>n.position,i=n.panel,r=i.size,o=i.alignPosition;return t?r-o+i.margin.next:o+i.margin.prev},n}(Ce),ze=function(e){function n(n){var t=(void 0===n?{}:n).stopAtEdge,i=void 0===t||t,r=e.call(this)||this;return r._stopAtEdge=i,r}s(n,e);var t=n.prototype;return Object.defineProperty(t,"stopAtEdge",{get:function(){return this._stopAtEdge},set:function(e){this._stopAtEdge=e},enumerable:!1,configurable:!0}),t.updatePosition=function(e){var n=q(this._flicking).camera,t=this._activePanel;if(t){var i=t.range,r=i.min+(i.max-i.min)*e;n.lookAt(n.clampToReachablePosition(r))}},t.moveToPosition=function(e,n,t){return u(this,void 0,void 0,(function(){var i,r,o,a,s;return c(this,(function(l){return i=q(this._flicking),r=i.camera,o=r.clampToReachablePosition(e),(a=r.findAnchorIncludePosition(o))?((s=a.panel)!==this._activePanel&&this._triggerIndexChangeEvent(s,e,t),[2,this._animateToPosition({position:this._stopAtEdge?o:e,duration:n,newActivePanel:s,axesEvent:t})]):[2,Promise.reject(new pe(z(e),y))]}))}))},n}(Ce),De=function(e){function n(n){var t=(void 0===n?{}:n).count,i=void 0===t?1:t,r=e.call(this)||this;return r.setActive=function(n,t,i){e.prototype.setActive.call(r,n,t,i),r.updateInput()},r._count=i,r._resetIndexRange(),r}s(n,e);var t=n.prototype;return Object.defineProperty(t,"count",{get:function(){return this._count},set:function(e){this._count=e},enumerable:!1,configurable:!0}),t.destroy=function(){e.prototype.destroy.call(this),this._resetIndexRange()},t.updateInput=function(){var e,n=q(this._flicking),t=n.camera,i=n.renderer,r=this._controller,o=t.controlParams,a=this._count,s=r.state.animating?null===(e=t.findNearestAnchor(t.position))||void 0===e?void 0:e.panel:this._activePanel;if(!s)return r.update(o),this._resetIndexRange(),this;var l=o.range,u=s.position,c=s.index,f=i.panelCount,h=c-a,d=c+a;h<0&&(h=n.circularEnabled?ie((h+1)%f-1,f):Z(h,0,f-1)),d>=f&&(d=n.circularEnabled?d%f:Z(d,0,f-1));var g=i.panels[h],p=i.panels[d],v=Math.max(g.position,l.min),_=Math.min(p.position,l.max);return v>u&&(v-=t.rangeDiff),__&&(o.position-=t.rangeDiff)),o.circular=!1,r.update(o),this._indexRange={min:g.index,max:p.index},this},t.moveToPosition=function(e,n,t){return u(this,void 0,void 0,(function(){var i,r,o,a,s,l,u,f,h,d,g,p,v,_,m,b,P,x,E;return c(this,(function(c){return i=q(this._flicking),r=i.camera,o=this._activePanel,a=this._controller.range,s=this._indexRange,l=r.range,u=Z(r.clampToReachablePosition(e),a[0],a[1]),(f=r.findAnchorIncludePosition(u))&&o?(h=o.position,d=Math.abs(e-h)>=i.threshold,g=e>h?r.getNextAnchor(f):r.getPrevAnchor(f),_=r.anchorPoints,m=_[0],b=_[_.length-1],P=e<=l.min&&fe(m.panel.index,s.min,s.max),x=e>=l.max&&fe(b.panel.index,s.min,s.max),P||x?(E=e=this._range.max},enumerable:!1,configurable:!0}),Object.defineProperty(n,"size",{get:function(){var e=this._flicking;return e?e.horizontal?e.viewport.width:e.viewport.height:0},enumerable:!1,configurable:!0}),Object.defineProperty(n,"progress",{get:function(){var e=this._flicking,n=this._position+this._offset,t=this.findNearestAnchor(this._position);if(!e||!t)return NaN;var i=t.panel,r=i.position+i.offset,o=e.control.controller.bounce,a=this.range,s=a.min,l=a.max,u=this.rangeDiff;if(n===r)return i.index;if(nr&&(f-=u),i.index-1+le(n,f,r)}var h=i.next(),d=h?h.position+h.offset:l+o[1];return dt)return n[i-1];t=o}return n[n.length-1]},n.findActiveAnchor=function(){var e=q(this._flicking).control.activeIndex;return function(e,n){var t,i;try{for(var r=f(e),o=r.next();!o.done;o=r.next()){var a=o.value;if(n(a))return a}}catch(s){t={error:s}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(t)throw t.error}}return null}(this._anchors,(function(n){return n.panel.index===e}))},n.clampToReachablePosition=function(e){var n=this._range;return Z(e,n.min,n.max)},n.canReach=function(e){var n=this._range;if(e.removed)return!1;var t=e.position;return t>=n.min&&t<=n.max},n.canSee=function(e){var n=this.visibleRange;return e.isVisibleOnRange(n.min,n.max)},n.updateAlignPos=function(){var e=this._align,n="object"===typeof e?e.camera:e;return this._alignPos=Q(n,this.size),this},n.updateAnchors=function(){var e=q(this._flicking).renderer.panels;return this._anchors=e.map((function(e,n){return new je({index:n,position:e.position,panel:e})})),this},n.updateAdaptiveHeight=function(){var e=q(this._flicking),n=e.control.activePanel;e.horizontal&&e.adaptive&&n&&e.viewport.setSize({height:n.height})},n.updateOffset=function(){var e=q(this._flicking),n=this._position,t=e.panels.filter((function(e){return!e.rendered}));return this._offset=t.filter((function(e){return e.position+e.offset0||a.length>0)&&n.renderer.render().then((function(){n.trigger(new i.a(F.VISIBLE_CHANGE,{added:o,removed:a,visiblePanels:t}))}))},n._checkNeedPanel=function(){var e=this._needPanelTriggered;if(!e.prev||!e.next){var n=q(this._flicking),t=n.renderer.panels;if(t.length<=0)return e.prev||(n.trigger(new i.a(F.NEED_PANEL,{direction:W.PREV})),e.prev=!0),void(e.next||(n.trigger(new i.a(F.NEED_PANEL,{direction:W.NEXT})),e.next=!0));var r=this._position,o=this.size,a=this._range,s=n.needPanelThreshold,l=r-this._alignPos,u=l+o,c=t[0],f=t[t.length-1];if(!e.prev)(l<=c.range.min+s||r<=a.min+s)&&(n.trigger(new i.a(F.NEED_PANEL,{direction:W.PREV})),e.prev=!0);if(!e.next)(u>=f.range.max-s||r>=a.max-s)&&(n.trigger(new i.a(F.NEED_PANEL,{direction:W.NEXT})),e.next=!0)}},n._checkReachEnd=function(e,n){var t=q(this._flicking),r=this._range,o=e>r.min&&er.min&&n0&&(n===t.min||n===t.max)){var l=[s,new je({index:0,position:i[0].position+r,panel:i[0].panel}),new je({index:o-1,position:i[o-1].position-r,panel:i[o-1].panel})].filter((function(e){return!!e}));s=l.reduce((function(e,t){return e&&Math.abs(e.position-n)t.max){u=Math.floor((n-t.max)/r)+1;return new je({index:s.index,position:s.position+r*u,panel:s.panel})}return s},t.clampToReachablePosition=function(n){return this._circularEnabled?n:e.prototype.clampToReachablePosition.call(this,n)},t.canReach=function(n){return!n.removed&&(!!this._circularEnabled||e.prototype.canReach.call(this,n))},t.canSee=function(n){var t=this._range,i=this.rangeDiff,r=this.visibleRange,o=e.prototype.canSee.call(this,n);return this._circularEnabled?r.mint.max?o||n.isVisibleOnRange(r.min-i,r.max-i):o:o},t.updateRange=function(){var e=q(this._flicking).renderer.panels;if(e.length<=0)return this._resetInternalValues(),this;var n=e[0],t=e[e.length-1],i=n.range.min-n.margin.prev,r=t.range.max+t.margin.next,o=this.size,a=r-i,s=e.every((function(e){return a-e.size>=o}));return this._circularEnabled=s,s?(this._range={min:i,max:r},e.forEach((function(e){return e.updateCircularToggleDirection()}))):this._range={min:n.position,max:t.position},this.updateOffset(),this},t.updateOffset=function(){return this._updateCircularOffset(),e.prototype.updateOffset.call(this)},t.lookAt=function(n){var t=this,i=q(this._flicking),r=this._position;if(n===r)return e.prototype.lookAt.call(this,n);var o=i.renderer.panels.map((function(e){return e.toggle(r,n)}));this._position=n,e.prototype.lookAt.call(this,n),o.some((function(e){return e}))&&i.renderer.render().then((function(){t.updateOffset()}))},t.applyTransform=function(){var e=this._el,n=q(this._flicking),t=this._position-this._alignPos-this._offset+this._circularOffset;return e.style[this._transform]=n.horizontal?"translate("+-t+"px)":"translate(0, "+-t+"px)",this},t._resetInternalValues=function(){e.prototype._resetInternalValues.call(this),this._circularOffset=0,this._circularEnabled=!1},t._calcPanelAreaSum=function(e){return e.reduce((function(e,n){return e+n.sizeIncludingMargin}),0)},t._updateCircularOffset=function(){if(this._circularEnabled){var e=q(this._flicking).panels.filter((function(e){return e.toggled})),n=e.filter((function(e){return e.toggleDirection===W.PREV})),t=e.filter((function(e){return e.toggleDirection===W.NEXT}));this._circularOffset=this._calcPanelAreaSum(n)-this._calcPanelAreaSum(t)}else this._circularOffset=0},n}(Se),He=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}s(n,e);var t=n.prototype;return t.updateRange=function(){var e=q(this._flicking).renderer,n=this._alignPos,t=e.getPanel(0),i=e.getPanel(e.panelCount-1);if(!t||!i)return this._range={min:0,max:0},this;var r=this.size,o=t.range.min,a=i.range.max,s=o+n,l=a-r+n;if(r0){var r=i[0].position!==t.min,o=i[i.length-1].position!==t.max,a=r?1:0,s=i.map((function(e,n){return new je({index:n+a,position:e.position,panel:e})}));r&&s.splice(0,0,new je({index:0,position:t.min,panel:n[i[0].index-1]})),o&&s.push(new je({index:s.length,position:t.max,panel:n[i[i.length-1].index+1]})),this._anchors=s}else if(t.min!==t.max){var l=this._findNearestPanel(t.min,n),u=l.index===n.length-1?l.prev():l,c=u.next();this._anchors=[new je({index:0,position:t.min,panel:u}),new je({index:1,position:t.max,panel:c})]}else this._anchors=[new je({index:0,position:t.min,panel:this._findNearestPanel(t.min,n)})];return this},t.findAnchorIncludePosition=function(n){var t=this._range,i=this._anchors;return i.length<=0?null:n<=t.min?i[0]:n>=t.max?i[i.length-1]:e.prototype.findAnchorIncludePosition.call(this,n)},t._findNearestPanel=function(e,n){for(var t=1/0,i=0;it)return n[i-1];t=o}return n[n.length-1]},n}(Se),Ve=function(){function e(e){var n=e.align,t=void 0===n?B:n,i=e.strategy;this._flicking=null,this._panels=[],this._align=t,this._strategy=i}var n=e.prototype;return Object.defineProperty(n,"panels",{get:function(){return this._panels},enumerable:!1,configurable:!0}),Object.defineProperty(n,"panelCount",{get:function(){return this._panels.length},enumerable:!1,configurable:!0}),Object.defineProperty(n,"strategy",{get:function(){return this._strategy},enumerable:!1,configurable:!0}),Object.defineProperty(n,"align",{get:function(){return this._align},set:function(e){this._align=e;var n=ee(e);this._panels.forEach((function(e){e.align=n}))},enumerable:!1,configurable:!0}),n.init=function(e){return this._flicking=e,this._collectPanels(),this},n.destroy=function(){this._flicking=null,this._panels=[]},n.getPanel=function(e){return this._panels[e]||null},n.forceRenderAllPanels=function(){return this._panels.forEach((function(e){return e.markForShow()})),Promise.resolve()},n.updatePanelSize=function(){var e=q(this._flicking),n=this._panels;if(n.length<=0)return this;if(e.panelsPerView>0){var t=n[0];t.resize(),this._updatePanelSizeByGrid(t,n)}else e.panels.forEach((function(e){return e.resize()}));return this},n.batchInsert=function(){for(var e=this,n=[],t=0;t0){var f=s||c[0].resize();e._updatePanelSizeByGrid(f,c)}else c.forEach((function(e){return e.resize()}));return u.forEach((function(e){e.increaseIndex(c.length),e.updatePosition()})),d(d([],h(n)),h(c))}),[]);return u.length<=0?[]:(this._updateCameraAndControl(),this.render(),u.length>0&&!a.animating&&a.moveToPanel(a.activePanel||u[0],{duration:0}).catch((function(){})),o.camera.updateOffset(),o.trigger(new i.a(F.PANEL_CHANGE,{added:u,removed:[]})),this.checkPanelContentsReady(u),u)},n.batchRemove=function(){for(var e=this,n=[],t=0;t0&&!s.animating){var f=re(c,l)?r[u]||r[r.length-1]:l;f?s.moveToPanel(f,{duration:0}).catch((function(){})):a.lookAt(0)}return o.camera.updateOffset(),o.trigger(new i.a(F.PANEL_CHANGE,{added:[],removed:c})),c},n.checkPanelContentsReady=function(e){var n=this,t=q(this._flicking),i=t.resizeOnContentsReady,r=this._panels;if(i&&!t.virtualEnabled){if(!((e=e.filter((function(e){return function(e){return!!e.element.querySelector("img, video")}(e)}))).length<=0)){var a=new o.a;e.forEach((function(e){e.loading=!0})),a.on("readyElement",(function(i){if(n._flicking){var o=e[i.index],s=t.camera,l=t.control,u=l.activePanel?s.getProgressInPanel(l.activePanel):0;o.loading=!1,o.resize(),r.slice(o.index+1).forEach((function(e){return e.updatePosition()})),t.initialized&&(s.updateRange(),s.updateAnchors(),l.animating||(l.updatePosition(u),l.updateInput()))}else a.destroy()})),a.on("preReady",(function(e){n._flicking&&n.render(),e.readyCount===e.totalCount&&a.destroy()})),a.on("ready",(function(){n._flicking&&n.render(),a.destroy()})),a.check(e.map((function(e){return e.element})))}}},n._updateCameraAndControl=function(){var e=q(this._flicking),n=e.camera,t=e.control;n.updateRange(),n.updateAnchors(),n.resetNeedPanelHistory(),t.updateInput()},n._showOnlyVisiblePanels=function(e){var n=e.renderer.panels,t=e.camera.visiblePanels.reduce((function(e,n){return e[n.index]=!0,e}),{});n.forEach((function(n){n.index in t||n.loading?n.markForShow():e.holding||n.markForHide()}))},n._updatePanelSizeByGrid=function(e,n){var t=q(this._flicking),i=t.panelsPerView;if(i<=0)throw new pe(j("panelsPerView",i),b);if(!(n.length<=0)){var r=(t.camera.size-(e.margin.prev+e.margin.next)*(i-1))/i,o=t.horizontal?{width:r}:{height:r},a={size:r,height:e.height,margin:e.margin};t.noPanelStyleOverride||this._strategy.updatePanelSizes(t,o),t.panels.forEach((function(e){return e.resize(a)}))}},n._removeAllChildsFromCamera=function(){for(var e=q(this._flicking).camera.element;e.firstChild;)e.removeChild(e.firstChild)},n._insertPanelElements=function(e,n){void 0===n&&(n=null);var t=q(this._flicking).camera.element,i=(null===n||void 0===n?void 0:n.element)||null,r=document.createDocumentFragment();e.forEach((function(e){return r.appendChild(e.element)})),t.insertBefore(r,i)},n._removePanelElements=function(e){var n=q(this._flicking).camera.element;e.forEach((function(e){n.removeChild(e.element)}))},e}(),Fe=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}s(n,e);var t=n.prototype;return t.render=function(){return u(this,void 0,void 0,(function(){var e,n;return c(this,(function(t){return e=q(this._flicking),(n=this._strategy).updateRenderingPanels(e),n.renderPanels(e),this._resetPanelElementOrder(),[2]}))}))},t._collectPanels=function(){var e=q(this._flicking),n=e.camera;this._removeAllTextNodes(),this._panels=this._strategy.collectPanels(e,n.children)},t._createPanel=function(e,n){return this._strategy.createPanel(e,n)},t._resetPanelElementOrder=function(){var e=q(this._flicking),n=e.camera.element,t=this._strategy.getRenderingElementsByOrder(e).reverse();t.forEach((function(e,i){var r=t[i-1]?t[i-1]:null;e.nextElementSibling!==r&&n.insertBefore(e,r)}))},t._removeAllTextNodes=function(){var e=q(this._flicking).camera.element;K(e.childNodes).forEach((function(n){n.nodeType===Node.TEXT_NODE&&e.removeChild(n)}))},n}(Ve),Ge=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}s(n,e);var t=n.prototype;return t._removePanelElements=function(e){},t._removeAllChildsFromCamera=function(){},n}(Ve),Be=function(){function e(e){var n=e.index,t=e.align,i=e.flicking,r=e.elementProvider;this._index=n,this._flicking=i,this._elProvider=r,this._align=t,this._removed=!1,this._rendered=!0,this._loading=!1,this._resetInternalStates()}var n=e.prototype;return Object.defineProperty(n,"element",{get:function(){return this._elProvider.element},enumerable:!1,configurable:!0}),Object.defineProperty(n,"elementProvider",{get:function(){return this._elProvider},enumerable:!1,configurable:!0}),Object.defineProperty(n,"index",{get:function(){return this._index},enumerable:!1,configurable:!0}),Object.defineProperty(n,"position",{get:function(){return this._pos+this._alignPos},enumerable:!1,configurable:!0}),Object.defineProperty(n,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(n,"sizeIncludingMargin",{get:function(){return this._size+this._margin.prev+this._margin.next},enumerable:!1,configurable:!0}),Object.defineProperty(n,"height",{get:function(){return this._height},enumerable:!1,configurable:!0}),Object.defineProperty(n,"margin",{get:function(){return this._margin},enumerable:!1,configurable:!0}),Object.defineProperty(n,"alignPosition",{get:function(){return this._alignPos},enumerable:!1,configurable:!0}),Object.defineProperty(n,"removed",{get:function(){return this._removed},enumerable:!1,configurable:!0}),Object.defineProperty(n,"rendered",{get:function(){return this._rendered},enumerable:!1,configurable:!0}),Object.defineProperty(n,"loading",{get:function(){return this._loading},set:function(e){this._loading=e},enumerable:!1,configurable:!0}),Object.defineProperty(n,"range",{get:function(){return{min:this._pos,max:this._pos+this._size}},enumerable:!1,configurable:!0}),Object.defineProperty(n,"toggled",{get:function(){return this._toggled},enumerable:!1,configurable:!0}),Object.defineProperty(n,"toggleDirection",{get:function(){return this._toggleDirection},enumerable:!1,configurable:!0}),Object.defineProperty(n,"offset",{get:function(){var e=this._toggleDirection,n=this._flicking.camera.rangeDiff;return e!==W.NONE&&this._toggled?e===W.PREV?-n:n:0},enumerable:!1,configurable:!0}),Object.defineProperty(n,"progress",{get:function(){var e=this._flicking;return this.index-e.camera.progress},enumerable:!1,configurable:!0}),Object.defineProperty(n,"outsetProgress",{get:function(){var e=this.position+this.offset,n=this._alignPos,t=this._flicking.camera,i=t.position;if(i===e)return 0;if(i=i.max)return 0;var a=n;return i.min>r&&(a-=i.min-r),i.max=r.min&&e<=r.max},n.isVisibleOnRange=function(e,n){var t=this.range;return n>t.min&&ee?i>=e&&i<=n&&(this._toggled=t===W.NEXT):i<=e&&i>=n&&(this._toggled=t!==W.NEXT),r!==this._toggled},n.updateCircularToggleDirection=function(){var e=this._flicking;if(!e.circularEnabled)return this._toggleDirection=W.NONE,this._toggled=!1,this;var n=e.camera,t=n.range,i=n.alignPosition,r=n.visibleRange,o=r.max-r.min,a=t.min-i,s=t.max-i+o,l=this.includeRange(s-o,s,!1),u=this.includeRange(a,a+o,!1);return this._toggled=!1,l?(this._toggleDirection=W.PREV,this._togglePosition=this.range.max+t.min-t.max+i,this.toggle(1/0,n.position)):u?(this._toggleDirection=W.NEXT,this._togglePosition=this.range.min+t.max-o+i,this.toggle(-1/0,n.position)):(this._toggleDirection=W.NONE,this._togglePosition=0),this},n._updateAlignPos=function(){this._alignPos=Q(this._align,this._size)},n._resetInternalStates=function(){this._size=0,this._pos=0,this._margin={prev:0,next:0},this._height=0,this._alignPos=0,this._toggled=!1,this._togglePosition=0,this._toggleDirection=W.NONE},e}(),Xe=function(){function e(e){var n=e.providerCtor;this._providerCtor=n}var n=e.prototype;return n.renderPanels=function(){},n.getRenderingIndexesByOrder=function(e){var n=e.renderer.panels.filter((function(e){return e.rendered})),t=n.filter((function(e){return e.toggled&&e.toggleDirection===W.PREV})),i=n.filter((function(e){return e.toggled&&e.toggleDirection===W.NEXT})),r=n.filter((function(e){return!e.toggled}));return d(d(d([],h(t)),h(r)),h(i)).map((function(e){return e.index}))},n.getRenderingElementsByOrder=function(e){var n=e.panels;return this.getRenderingIndexesByOrder(e).map((function(e){return n[e].element}))},n.updateRenderingPanels=function(e){e.renderOnlyVisible?this._showOnlyVisiblePanels(e):e.panels.forEach((function(e){return e.markForShow()}))},n.collectPanels=function(e,n){var t=this,i=ee(e.renderer.align);return n.map((function(n,r){return new Be({index:r,elementProvider:new t._providerCtor(n),align:i,flicking:e})}))},n.createPanel=function(e,n){return new Be(l(l({},n),{elementProvider:new this._providerCtor(e)}))},n.updatePanelSizes=function(e,n){e.panels.forEach((function(e){return e.setSize(n)}))},n._showOnlyVisiblePanels=function(e){var n=e.renderer.panels,t=e.camera,i=t.visiblePanels.reduce((function(e,n){return e[n.index]=!0,e}),{});n.forEach((function(n){n.index in i||n.loading?n.markForShow():e.holding||n.markForHide()})),t.updateOffset()},e}(),We=function(e){function n(n){var t=e.call(this,n)||this;return n.elementProvider.init(t),t._elProvider=n.elementProvider,t._cachedInnerHTML=null,t}s(n,e);var t=n.prototype;return Object.defineProperty(t,"element",{get:function(){return this._elProvider.element},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cachedInnerHTML",{get:function(){return this._cachedInnerHTML},enumerable:!1,configurable:!0}),Object.defineProperty(t,"elementIndex",{get:function(){var e=this._flicking,n=e.panelsPerView+1,t=e.panelCount,i=this._index;return this._toggled&&(i=this._toggleDirection===W.NEXT?i+t:i-t),he(i,n)},enumerable:!1,configurable:!0}),t.cacheRenderResult=function(e){this._cachedInnerHTML=e},t.uncacheRenderResult=function(){this._cachedInnerHTML=null},t.render=function(){var e=this._flicking.virtual,n=e.renderPanel,t=e.cache,i=this._elProvider.element,r=this._cachedInnerHTML||n(this,this._index);r!==i.innerHTML&&(i.innerHTML=r,t&&this.cacheRenderResult(r))},t.increaseIndex=function(n){return this.uncacheRenderResult(),e.prototype.increaseIndex.call(this,n)},t.decreaseIndex=function(n){return this.uncacheRenderResult(),e.prototype.decreaseIndex.call(this,n)},n}(Be),Je=function(){function e(){}var n=e.prototype;return n.renderPanels=function(e){var n=e.virtual,t=e.visiblePanels,i=de(e.panelsPerView+1);t.forEach((function(e){var t=e.elementIndex;e.render(),n.show(t),i[t]=-1})),i.filter((function(e){return e>=0})).forEach((function(e){n.hide(e)}))},n.getRenderingIndexesByOrder=function(e){var n=e.virtual,t=d([],h(e.visiblePanels)).filter((function(e){return e.rendered})).sort((function(e,n){return e.position+e.offset-(n.position+n.offset)}));if(t.length<=0)return n.elements.map((function(e,n){return n}));var i=t.map((function(e){return e.elementIndex})),r=n.elements.map((function(e,n){return l(l({},e),{idx:n})})).filter((function(e){return!e.visible})).map((function(e){return e.idx}));return d(d([],h(i)),h(r))},n.getRenderingElementsByOrder=function(e){var n=e.virtual.elements;return this.getRenderingIndexesByOrder(e).map((function(e){return n[e].nativeElement}))},n.updateRenderingPanels=function(e){var n=e.renderer.panels,t=e.camera,i=t.visiblePanels.reduce((function(e,n){return e[n.index]=!0,e}),{});n.forEach((function(e){e.index in i||e.loading?e.markForShow():e.markForHide()})),t.updateOffset()},n.collectPanels=function(e){var n=ee(e.renderer.align);return de(e.virtual.initialPanelCount).map((function(t){return new We({index:t,elementProvider:new be(e),align:n,flicking:e})}))},n.createPanel=function(e,n){return new We(l(l({},n),{elementProvider:new be(n.flicking)}))},n.updatePanelSizes=function(e,n){e.virtual.elements.forEach((function(e){ce(e.nativeElement,n)})),e.panels.forEach((function(e){return e.setSize(n)}))},e}(),Ye=function(e){function n(n,t){var i=void 0===t?{}:t,r=i.align,o=void 0===r?B:r,a=i.defaultIndex,s=void 0===a?0:a,l=i.horizontal,u=void 0===l||l,c=i.circular,f=void 0!==c&&c,h=i.bound,d=void 0!==h&&h,g=i.adaptive,_=void 0!==g&&g,m=i.panelsPerView,b=void 0===m?-1:m,P=i.noPanelStyleOverride,y=void 0!==P&&P,x=i.resizeOnContentsReady,E=void 0!==x&&x,O=i.needPanelThreshold,w=void 0===O?0:O,k=i.preventEventsBeforeInit,I=void 0===k||k,A=i.deceleration,C=void 0===A?.0075:A,j=i.duration,N=void 0===j?500:j,z=i.easing,D=void 0===z?function(e){return 1-Math.pow(1-e,3)}:z,S=i.inputType,L=void 0===S?["mouse","touch"]:S,M=i.moveType,H=void 0===M?"snap":M,V=i.threshold,F=void 0===V?40:V,G=i.interruptable,X=void 0===G||G,W=i.bounce,J=void 0===W?"20%":W,Y=i.iOSEdgeSwipeThreshold,Z=void 0===Y?30:Y,q=i.preventClickOnDrag,K=void 0===q||q,Q=i.disableOnInit,U=void 0!==Q&&Q,$=i.renderOnlyVisible,ee=void 0!==$&&$,ne=i.virtual,te=void 0===ne?null:ne,ie=i.autoInit,re=void 0===ie||ie,ae=i.autoResize,se=void 0===ae||ae,le=i.useResizeObserver,ue=void 0===le||le,ce=i.externalRenderer,fe=void 0===ce?null:ce,he=i.renderExternal,de=void 0===he?null:he,ge=e.call(this)||this;return ge._initialized=!1,ge._plugins=[],ge._align=o,ge._defaultIndex=s,ge._horizontal=u,ge._circular=f,ge._bound=d,ge._adaptive=_,ge._panelsPerView=b,ge._noPanelStyleOverride=y,ge._resizeOnContentsReady=E,ge._virtual=te,ge._needPanelThreshold=w,ge._preventEventsBeforeInit=I,ge._deceleration=C,ge._duration=N,ge._easing=D,ge._inputType=L,ge._moveType=H,ge._threshold=F,ge._interruptable=X,ge._bounce=J,ge._iOSEdgeSwipeThreshold=Z,ge._preventClickOnDrag=K,ge._disableOnInit=U,ge._renderOnlyVisible=ee,ge._autoInit=re,ge._autoResize=se,ge._useResizeObserver=ue,ge._externalRenderer=fe,ge._renderExternal=de,ge._viewport=new ve(function(e,n){var t=null;if(oe(e)){var i=(n||document).querySelector(e);if(!i)throw new pe(T(e),v);t=i}else e&&e.nodeType===Node.ELEMENT_NODE&&(t=e);if(!t)throw new pe(R(e,["HTMLElement","string"]),p);return t}(n)),ge._autoResizer=new _e(ge),ge._renderer=ge._createRenderer(),ge._camera=ge._createCamera(),ge._control=ge._createControl(),ge._virtualManager=new Pe(ge,te),ge._autoInit&&ge.init(),ge}s(n,e);var t=n.prototype;return Object.defineProperty(t,"control",{get:function(){return this._control},enumerable:!1,configurable:!0}),Object.defineProperty(t,"camera",{get:function(){return this._camera},enumerable:!1,configurable:!0}),Object.defineProperty(t,"renderer",{get:function(){return this._renderer},enumerable:!1,configurable:!0}),Object.defineProperty(t,"viewport",{get:function(){return this._viewport},enumerable:!1,configurable:!0}),Object.defineProperty(t,"initialized",{get:function(){return this._initialized},enumerable:!1,configurable:!0}),Object.defineProperty(t,"circularEnabled",{get:function(){return this._camera.controlParams.circular},enumerable:!1,configurable:!0}),Object.defineProperty(t,"virtualEnabled",{get:function(){return this._panelsPerView>0&&null!=this._virtual},enumerable:!1,configurable:!0}),Object.defineProperty(t,"index",{get:function(){return this._control.activeIndex},enumerable:!1,configurable:!0}),Object.defineProperty(t,"element",{get:function(){return this._viewport.element},enumerable:!1,configurable:!0}),Object.defineProperty(t,"currentPanel",{get:function(){return this._control.activePanel},enumerable:!1,configurable:!0}),Object.defineProperty(t,"panels",{get:function(){return this._renderer.panels},enumerable:!1,configurable:!0}),Object.defineProperty(t,"panelCount",{get:function(){return this._renderer.panelCount},enumerable:!1,configurable:!0}),Object.defineProperty(t,"visiblePanels",{get:function(){return this._camera.visiblePanels},enumerable:!1,configurable:!0}),Object.defineProperty(t,"animating",{get:function(){return this._control.animating},enumerable:!1,configurable:!0}),Object.defineProperty(t,"holding",{get:function(){return this._control.holding},enumerable:!1,configurable:!0}),Object.defineProperty(t,"activePlugins",{get:function(){return this._plugins},enumerable:!1,configurable:!0}),Object.defineProperty(t,"align",{get:function(){return this._align},set:function(e){this._align=e,this._renderer.align=e,this._camera.align=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultIndex",{get:function(){return this._defaultIndex},set:function(e){this._defaultIndex=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"horizontal",{get:function(){return this._horizontal},set:function(e){this._horizontal=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"circular",{get:function(){return this._circular},set:function(e){this._circular=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"bound",{get:function(){return this._bound},set:function(e){this._bound=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"adaptive",{get:function(){return this._adaptive},set:function(e){this._adaptive=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"panelsPerView",{get:function(){return this._panelsPerView},set:function(e){this._panelsPerView=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"noPanelStyleOverride",{get:function(){return this._noPanelStyleOverride},set:function(e){this._noPanelStyleOverride=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"resizeOnContentsReady",{get:function(){return this._resizeOnContentsReady},set:function(e){this._resizeOnContentsReady=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"needPanelThreshold",{get:function(){return this._needPanelThreshold},set:function(e){this._needPanelThreshold=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"preventEventsBeforeInit",{get:function(){return this._preventEventsBeforeInit},set:function(e){this._preventEventsBeforeInit=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"deceleration",{get:function(){return this._deceleration},set:function(e){this._deceleration=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"easing",{get:function(){return this._easing},set:function(e){this._easing=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"duration",{get:function(){return this._duration},set:function(e){this._duration=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"inputType",{get:function(){return this._inputType},set:function(e){this._inputType=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"moveType",{get:function(){return this._moveType},set:function(e){this._moveType=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"threshold",{get:function(){return this._threshold},set:function(e){this._threshold=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"interruptable",{get:function(){return this._interruptable},set:function(e){this._interruptable=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"bounce",{get:function(){return this._bounce},set:function(e){this._bounce=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"iOSEdgeSwipeThreshold",{get:function(){return this._iOSEdgeSwipeThreshold},set:function(e){this._iOSEdgeSwipeThreshold=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"preventClickOnDrag",{get:function(){return this._preventClickOnDrag},set:function(e){if(e!==this._preventClickOnDrag){var n=this._control.controller;e?n.addPreventClickHandler():n.removePreventClickHandler(),this._preventClickOnDrag=e}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"disableOnInit",{get:function(){return this._disableOnInit},set:function(e){this._disableOnInit=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"renderOnlyVisible",{get:function(){return this._renderOnlyVisible},set:function(e){this._renderOnlyVisible=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"virtual",{get:function(){return this._virtualManager},enumerable:!1,configurable:!0}),Object.defineProperty(t,"autoInit",{get:function(){return this._autoInit},enumerable:!1,configurable:!0}),Object.defineProperty(t,"autoResize",{get:function(){return this._autoResize},set:function(e){this._autoResize=e,e?this._autoResizer.enable():this._autoResizer.disable()},enumerable:!1,configurable:!0}),Object.defineProperty(t,"useResizeObserver",{get:function(){return this._useResizeObserver},set:function(e){this._useResizeObserver=e,this._autoResize&&this._autoResizer.enable()},enumerable:!1,configurable:!0}),Object.defineProperty(t,"externalRenderer",{get:function(){return this._externalRenderer},enumerable:!1,configurable:!0}),Object.defineProperty(t,"renderExternal",{get:function(){return this._renderExternal},enumerable:!1,configurable:!0}),t.init=function(){return u(this,void 0,void 0,(function(){var e,n,t,r,o,a,s=this;return c(this,(function(l){switch(l.label){case 0:return this._initialized?[2]:(e=this._camera,n=this._renderer,t=this._control,r=this._virtualManager,o=this.trigger,a=this._preventEventsBeforeInit,e.init(this),r.init(),n.init(this),t.init(this),a&&(this.trigger=function(){return s}),[4,this.resize()]);case 1:return l.sent(),[4,this._moveToInitialPanel()];case 2:return l.sent(),this._autoResize&&this._autoResizer.enable(),this._preventClickOnDrag&&t.controller.addPreventClickHandler(),this._disableOnInit&&this.disableInput(),n.checkPanelContentsReady(n.panels),this._plugins.forEach((function(e){return e.init(s)})),this._initialized=!0,a&&(this.trigger=o),this.trigger(new i.a(F.READY)),[2]}}))}))},t.destroy=function(){this.off(),this._autoResizer.disable(),this._control.destroy(),this._camera.destroy(),this._renderer.destroy(),this._plugins.forEach((function(e){return e.destroy()})),this._initialized=!1},t.prev=function(e){var n,t,i;return void 0===e&&(e=this._duration),this.moveTo(null!==(i=null===(t=null===(n=this._control.activePanel)||void 0===n?void 0:n.prev())||void 0===t?void 0:t.index)&&void 0!==i?i:-1,e,W.PREV)},t.next=function(e){var n,t,i;return void 0===e&&(e=this._duration),this.moveTo(null!==(i=null===(t=null===(n=this._control.activePanel)||void 0===n?void 0:n.next())||void 0===t?void 0:t.index)&&void 0!==i?i:this._renderer.panelCount,e,W.NEXT)},t.moveTo=function(e,n,t){void 0===n&&(n=this._duration),void 0===t&&(t=W.NONE);var i=this._renderer,r=i.panelCount,o=i.getPanel(e);return o?this._control.animating?Promise.reject(new pe(M,w)):this._control.moveToPanel(o,{duration:n,direction:t}):Promise.reject(new pe(N(e,0,r-1),P))},t.getPanel=function(e){return this._renderer.getPanel(e)},t.enableInput=function(){return this._control.enable(),this},t.disableInput=function(){return this._control.disable(),this},t.getStatus=function(e){var n,t,i=void 0===e?{}:e,r=i.index,o=void 0===r||r,a=i.position,s=void 0===a||a,l=i.includePanelHTML,u=void 0!==l&&l,c=i.visiblePanelsOnly,f=void 0!==c&&c,h=this._camera,d={panels:(f?this.visiblePanels:this.panels).map((function(e){var n={index:e.index};return u&&(n.html=e.element.outerHTML),n}))};if(o&&(d.index=this.index),s){var g=h.findNearestAnchor(h.position);g&&(d.position={panel:g.panel.index,progressInPanel:h.getProgressInPanel(g.panel)})}if(f){var p=this.visiblePanels;d.visibleOffset=null!==(t=null===(n=p[0])||void 0===n?void 0:n.index)&&void 0!==t?t:0}return d},t.setStatus=function(e){var n;if(!this._initialized)throw new pe(V,I);var t=e.index,i=e.position,r=e.visibleOffset,o=e.panels,a=this._renderer,s=this._control;if((null===(n=o[0])||void 0===n?void 0:n.html)&&!this._renderExternal&&(a.batchRemove({index:0,deleteCount:this.panels.length,hasDOMInElements:!0}),a.batchInsert({index:0,elements:te(o.map((function(e){return e.html}))),hasDOMInElements:!0})),t){var l=r?t-r:t;this.moveTo(l,0).catch((function(){}))}if(i&&this._moveType===J.FREE_SCROLL){var u=i.panel,c=i.progressInPanel,f=(l=r?u-r:u,a.panels[l].range),h=f.min+(f.max-f.min)*c;s.moveToPosition(h,0).catch((function(){}))}},t.addPlugins=function(){for(var e,n=this,t=[],i=0;i=0&&(n.destroy(),e._plugins.splice(t,1))})),this},t.resize=function(){return u(this,void 0,void 0,(function(){var e,n,t,r,o,a,s,l,u,f,h;return c(this,(function(c){switch(c.label){case 0:return e=this._viewport,n=this._renderer,t=this._camera,r=this._control,o=r.activePanel,a=e.width,s=e.height,l=o?t.getProgressInPanel(o):0,this.trigger(new i.a(F.BEFORE_RESIZE,{width:a,height:s,element:e.element})),e.resize(),[4,n.forceRenderAllPanels()];case 1:return c.sent(),n.updatePanelSize(),t.updateAlignPos(),t.updateRange(),t.updateAnchors(),[4,n.render()];case 2:return c.sent(),r.animating||(r.updatePosition(l),r.updateInput()),u=e.width,f=e.height,h=u!==a||f!==s,this.trigger(new i.a(F.AFTER_RESIZE,{width:e.width,height:e.height,prev:{width:a,height:s},sizeChanged:h,element:e.element})),[2]}}))}))},t.append=function(e){return this.insert(this._renderer.panelCount,e)},t.prepend=function(e){return this.insert(0,e)},t.insert=function(e,n){if(this._renderExternal)throw new pe(H,k);return this._renderer.batchInsert({index:e,elements:te(n),hasDOMInElements:!0})},t.remove=function(e,n){if(void 0===n&&(n=1),this._renderExternal)throw new pe(H,k);return this._renderer.batchRemove({index:e,deleteCount:n,hasDOMInElements:!0})},t._createControl=function(){var e,n=this._moveType,t=Object.keys(J).map((function(e){return J[e]})),i=Array.isArray(n)?n[0]:n,r=Array.isArray(n)&&null!==(e=n[1])&&void 0!==e?e:{};if(!re(t,i))throw new pe(j("moveType",JSON.stringify(n)),b);switch(i){case J.SNAP:return new Ne(r);case J.FREE_SCROLL:return new ze(r);case J.STRICT:return new De(r)}},t._createCamera=function(){var e={align:this._align};return this._circular?(this._bound&&console.warn('"circular" and "bound" option cannot be used together, ignoring bound.'),new Me(e)):this._bound?new He(e):new Le(e)},t._createRenderer=function(){var e=this._externalRenderer;return this._virtual&&this._panelsPerView<=0&&console.warn('"virtual" and "panelsPerView" option should be used together, ignoring virtual.'),e||(this._renderExternal?this._createExternalRenderer():this._createVanillaRenderer())},t._createExternalRenderer=function(){var e=this._renderExternal,n=e.renderer,t=e.rendererOptions;return new n(l({align:this._align},t))},t._createVanillaRenderer=function(){var e=this.virtualEnabled;return new Fe({align:this._align,strategy:e?new Je:new Xe({providerCtor:me})})},t._moveToInitialPanel=function(){return u(this,void 0,void 0,(function(){var e,n,t;return c(this,(function(i){return e=this._renderer,n=this._control,(t=e.getPanel(this._defaultIndex)||e.getPanel(0))?(n.setActive(t,null,!1),[2,n.moveToPanel(t,{duration:0})]):[2]}))}))},n.VERSION="4.4.1",n}(i.b),Ze=function(e,n){[i.b.prototype,Ye.prototype].forEach((function(t){Object.getOwnPropertyNames(t).filter((function(n){return!e[n]&&!n.startsWith("_")&&"constructor"!==n})).forEach((function(i){var r=Object.getOwnPropertyDescriptor(t,i);if(r.value)Object.defineProperty(e,i,{value:function(){for(var e,t=[],i=0;i0){var o=-1,a=-1;n.removed.forEach((function(e){o<0&&(o=e),a>=0&&e!==a-1?(Qe(i,a,o+1),o=e,a=e):a=e})),Qe(i,a,o+1)}if(n.ordered.forEach((function(e){var n=h(e,2),t=n[0],i=n[1],o=r[t],a=i-t;if(a>0){var s=r.slice(t+1,i+1);o.increaseIndex(a),s.forEach((function(e){return e.decreaseIndex(1)}))}else{s=r.slice(i,t);o.decreaseIndex(-a),s.forEach((function(e){return e.increaseIndex(1)}))}o.resize()})),n.ordered.length>0&&r.sort((function(e,n){return e.index-n.index})),n.added.length>0){var s=-1,l=-1;n.added.forEach((function(e,r){s<0&&(s=r),l>=0&&e!==l+1?(Ke(i,n,t,s,r+1),s=-1,l=-1):l=e})),s>=0&&Ke(i,n,t,s)}},Ke=function(e,n,t,i,r){e.batchInsert.apply(e,d([],h(n.added.slice(i,r).map((function(e,i){return{index:e,elements:[t[i+n.prevList.length]],hasDOMInElements:!1}})))))},Qe=function(e,n,t){var i=e.panels.slice(n,t);e.batchRemove({index:n,deleteCount:i.length,hasDOMInElements:!1})},Ue=function(e,n){var t=n.removed.reduce((function(e,n){return e[n]=!0,e}),{}),i=n.maintained.reduce((function(e,n){var t=h(n,2),i=t[0],r=t[1];return e[i]=r,e}),{});return d(d([],h(e.panels.filter((function(e){return!t[e.index]})).sort((function(e,n){return e.position+e.offset-(n.position+n.offset)})).map((function(e){return n.list[i[e.index]]})))),h(n.added.map((function(e){return n.list[e]}))))},$e=function(e,n,t){void 0===e&&(e=B),void 0===n&&(n=!0);var i=en(e),r=nn(e);if(null==r)return"";var o="calc("+i+" - ("+(t||"0px")+" * "+r.percentage+") - "+r.absolute+"px)";return n?"translate("+o+")":"translate(0, "+o+")"},en=function(e){var n="object"===typeof e?e.camera:e;return tn(n)},nn=function(e){var n="object"===typeof e?e.panel:e;return $(tn(n))},tn=function(e){if("number"===typeof e)return e+"px";switch(e){case B:return"50%";case X:return"100%";case G:return"0%";default:return e}}}}]);