Full Site Editing - Version 3.11814

Version Description

Download this release

Release Info

Developer fullofcaffeine
Plugin Icon wp plugin Full Site Editing
Version 3.11814
Comparing to
See all releases

Code changes from version 3.11739 to 3.11814

Files changed (31) hide show
  1. block-inserter-modifications/dist/contextual-tips.asset.php +1 -1
  2. common/dist/common.asset.php +1 -1
  3. common/dist/data-stores.asset.php +1 -1
  4. common/dist/hide-plugin-buttons-mobile.asset.php +1 -1
  5. dotcom-fse/dist/dotcom-fse.asset.php +1 -1
  6. editor-site-launch/dist/focused-launch.asset.php +1 -1
  7. editor-site-launch/dist/gutenboarding-launch.asset.php +1 -1
  8. editor-site-launch/dist/launch-button.asset.php +1 -1
  9. error-reporting/dist/error-reporting.asset.php +1 -1
  10. error-reporting/dist/error-reporting.js +46 -1
  11. error-reporting/index.js +60 -32
  12. error-reporting/index.php +64 -14
  13. event-countdown-block/dist/event-countdown-block.asset.php +1 -1
  14. full-site-editing-plugin.php +2 -2
  15. global-styles/dist/customizer-fonts.asset.php +1 -1
  16. global-styles/dist/global-styles.asset.php +1 -1
  17. jetpack-timeline/dist/jetpack-timeline.asset.php +1 -1
  18. newspack-blocks/dist/blog-posts-block-editor.asset.php +1 -1
  19. newspack-blocks/dist/blog-posts-block-view.asset.php +1 -1
  20. newspack-blocks/dist/carousel-block-editor.asset.php +1 -1
  21. newspack-blocks/dist/carousel-block-editor.js +1 -1
  22. newspack-blocks/dist/carousel-block-view.asset.php +1 -1
  23. newspack-blocks/dist/carousel-block-view.js +1 -1
  24. phpunit/bootstrap.php +21 -0
  25. phpunit/class-errorreporting-activation-test.php +144 -0
  26. posts-list-block/dist/posts-list-block.asset.php +1 -1
  27. readme.txt +1 -1
  28. starter-page-templates/dist/starter-page-templates.asset.php +1 -1
  29. whats-new/dist/whats-new.asset.php +1 -1
  30. wpcom-block-editor-nav-sidebar/dist/wpcom-block-editor-nav-sidebar.asset.php +1 -1
  31. wpcom-block-editor-nux/dist/wpcom-block-editor-nux.asset.php +1 -1
block-inserter-modifications/dist/contextual-tips.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => '5e21f1a4d97c3ed7c9cf30b92e479b94');
1
+ <?php return array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => '2df0fcfe9fdb50d8d6b6d4c92e1e5427');
common/dist/common.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '679953e586bdd969566f13a56bbbee25');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'cdf3c1193c869086999c53cf292da33b');
common/dist/data-stores.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('react', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-polyfill'), 'version' => '25a15f91185a5119c9e80dc3df3d1f41');
1
+ <?php return array('dependencies' => array('react', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-polyfill'), 'version' => 'aa896ebaeca5a1208be8c02f279dea99');
common/dist/hide-plugin-buttons-mobile.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'bd052baf1fb969375280825404cbfa15');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a8b1e9cdce50457499a3771687eda15e');
dotcom-fse/dist/dotcom-fse.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-server-side-render', 'wp-url'), 'version' => 'd3fb256a4db68e036828a36a22379141');
1
+ <?php return array('dependencies' => array('lodash', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-server-side-render', 'wp-url'), 'version' => '1ad50ea75dee7714e493ff35a6d081e8');
editor-site-launch/dist/focused-launch.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-react-i18n', 'wp-url'), 'version' => 'e68aa160583ffc22a74b6dade5acc4f8');
1
+ <?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-react-i18n', 'wp-url'), 'version' => '17626f80acf8a125a98c87709c443014');
editor-site-launch/dist/gutenboarding-launch.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-react-i18n', 'wp-url'), 'version' => '4292cf00addd7eeeb100ff3e4d9d2341');
1
+ <?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-react-i18n', 'wp-url'), 'version' => 'b4ccdec52a65c5bad80d6762fba58868');
editor-site-launch/dist/launch-button.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-i18n', 'wp-polyfill'), 'version' => 'e058d1aeadc8163d57c0b82e592d38da');
1
+ <?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-i18n', 'wp-polyfill'), 'version' => '1e4b9ecce7a6a44c804a36091d47a8b5');
error-reporting/dist/error-reporting.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => '02554a055c93907bcd0badd968347c5d');
1
+ <?php return array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => 'f280667d4464ada6d8ecb46bd38cecc3');
error-reporting/dist/error-reporting.js CHANGED
@@ -1 +1,46 @@
1
- !function(){"use strict";var r={606:function(r){r.exports=window.wp.apiFetch}},e={};function t(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return r[n](i,i.exports,t),i.exports}t.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(e,{a:e}),e},t.d=function(r,e){for(var n in e)t.o(e,n)&&!t.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:e[n]})},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},t.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var n={};!function(){t.r(n);var r=t(606),e=t.n(r),o=window._jsErr||[],i=window._headJsErrorHandler,a=function(r){var t=r.error;if(t){var n={message:t.message,trace:t.stack,url:document.location.href,feature:"wp-admin"};return e()({global:!0,path:"/rest/v1.1/js-error",method:"POST",data:{error:JSON.stringify(n)}}).catch((function(){return console.error("Error: Unable to record the error in Logstash.")}))}};window.addEventListener("error",a),window.removeEventListener("error",i),delete window._headJsErrorHandler,Promise.allSettled(o.map(a)).then((function(){return delete window._jsErr}))}(),window.EditingToolkit=n}();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ !function(){"use strict";var t={487:function(t,e,n){n.d(e,{u:function(){return p}});var r=n(334),i=n(9504),o=n(2226),a=n(9798),s=n(1988),u=n(6149),c=n(6144),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.eventFromException=function(t,e){return(0,s.dr)(this._options,t,e)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=o.z.Info),(0,s.aB)(this._options,t,e,n)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=(0,r.pi)((0,r.pi)({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(e):(0,a.Ak)()?new u.V(e):new c.w(e)},e}(i.N)},2314:function(t,e,n){n.d(e,{R:function(){return l}});var r=n(334),i=n(1476),o=n(9849),a=n(3699),s=n(8536),u=n(487),c=n(2634),p=n(8356),l=function(t){function e(e){void 0===e&&(e={});return e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:i.J}],version:i.J},t.call(this,u.u,e)||this}return(0,r.ZT)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),(0,a.Rf)().document&&(this._isEnabled()?(0,c.BS)((0,r.pi)((0,r.pi)({},t),{dsn:t.dsn||this.getDsn()})):s.k.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,r){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,n,r)},e.prototype._sendEvent=function(e){var n=this.getIntegration(p.O);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(o.W)},1988:function(t,e,n){n.d(e,{dr:function(){return p},aB:function(){return l},ME:function(){return f}});var r=n(334),i=n(2226),o=n(3699),a=n(7946),s=n(1757),u=n(5311),c=n(3320);function p(t,e,n){var r=f(e,n&&n.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return(0,o.EG)(r,{handled:!0,type:"generic"}),r.level=i.z.Error,n&&n.event_id&&(r.event_id=n.event_id),a.c.resolve(r)}function l(t,e,n,r){void 0===n&&(n=i.z.Info);var o=d(e,r&&r.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),a.c.resolve(o)}function f(t,e,n){var i;if(void 0===n&&(n={}),(0,s.VW)(t)&&t.error)return t=t.error,i=(0,u.Vf)((0,c._)(t));if((0,s.TX)(t)||(0,s.fm)(t)){var a=t,p=a.name||((0,s.TX)(a)?"DOMError":"DOMException"),l=a.message?p+": "+a.message:p;return i=d(l,e,n),(0,o.Db)(i,l),"code"in a&&(i.tags=(0,r.pi)((0,r.pi)({},i.tags),{"DOMException.code":""+a.code})),i}if((0,s.VZ)(t))return i=(0,u.Vf)((0,c._)(t));if((0,s.PO)(t)||(0,s.cO)(t)){var f=t;return i=(0,u.QI)(f,e,n.rejection),(0,o.EG)(i,{synthetic:!0}),i}return i=d(t,e,n),(0,o.Db)(i,""+t,void 0),(0,o.EG)(i,{synthetic:!0}),i}function d(t,e,n){void 0===n&&(n={});var r={message:t};if(n.attachStacktrace&&e){var i=(0,c._)(e),o=(0,u.LU)(i.stack);r.stacktrace={frames:o}}return r}},2634:function(t,e,n){n.d(e,{Wz:function(){return c},re:function(){return l},BS:function(){return f}});var r=n(334),i=n(4678),o=n(4911),a=n(3699),s=n(8536),u=0;function c(){return u>0}function p(){u+=1,setTimeout((function(){u-=1}))}function l(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(u){return t}var o=function(){var o=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var s=o.map((function(t){return l(t,e)}));return t.handleEvent?t.handleEvent.apply(this,s):t.apply(this,s)}catch(u){throw p(),(0,i.$e)((function(t){t.addEventProcessor((function(t){var n=(0,r.pi)({},t);return e.mechanism&&((0,a.Db)(n,void 0,void 0),(0,a.EG)(n,e.mechanism)),n.extra=(0,r.pi)((0,r.pi)({},n.extra),{arguments:o}),n})),(0,i.Tb)(u)})),u}};try{for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(o[s]=t[s])}catch(c){}t.prototype=t.prototype||{},o.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:o}),Object.defineProperties(o,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:function(){return t.name}})}catch(c){}return o}function f(t){if(void 0===t&&(t={}),t.eventId)if(t.dsn){var e=document.createElement("script");e.async=!0,e.src=new o.b(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(e.onload=t.onLoad),(document.head||document.body).appendChild(e)}else s.k.error("Missing dsn option in showReportDialog call");else s.k.error("Missing eventId option in showReportDialog call")}},8356:function(t,e,n){n.d(e,{O:function(){return p}});var r=n(334),i=n(8585),o=n(2226),a=n(3699),s=n(4005),u=n(9660),c=n(4194),p=function(){function t(e){this.name=t.id,this._options=(0,r.pi)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&(0,i.Gd)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,a.jH)(t)},{event:t})},t.prototype.setupOnce=function(){var t=this;this._options.console&&(0,s.o)({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._consoleBreadcrumb.apply(t,(0,r.fl)(e))},type:"console"}),this._options.dom&&(0,s.o)({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._domBreadcrumb.apply(t,(0,r.fl)(e))},type:"dom"}),this._options.xhr&&(0,s.o)({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._xhrBreadcrumb.apply(t,(0,r.fl)(e))},type:"xhr"}),this._options.fetch&&(0,s.o)({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._fetchBreadcrumb.apply(t,(0,r.fl)(e))},type:"fetch"}),this._options.history&&(0,s.o)({callback:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t._historyBreadcrumb.apply(t,(0,r.fl)(e))},type:"history"})},t.prototype._consoleBreadcrumb=function(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:o.z.fromString(t.level),message:(0,u.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+((0,u.nK)(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}(0,i.Gd)().addBreadcrumb(e,{input:t.args,level:t.level})},t.prototype._domBreadcrumb=function(t){var e,n="object"==typeof this._options.dom?this._options.dom.serializeAttribute:void 0;"string"==typeof n&&(n=[n]);try{e=t.event.target?(0,c.R)(t.event.target,n):(0,c.R)(t.event,n)}catch(r){e="<unknown>"}0!==e.length&&(0,i.Gd)().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name,global:t.global})},t.prototype._xhrBreadcrumb=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},n=e.method,r=e.url,o=e.status_code,a=e.body;(0,i.Gd)().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:t.xhr,input:a})}else;},t.prototype._fetchBreadcrumb=function(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?(0,i.Gd)().addBreadcrumb({category:"fetch",data:t.fetchData,level:o.z.Error,type:"http"},{data:t.error,input:t.args}):(0,i.Gd)().addBreadcrumb({category:"fetch",data:(0,r.pi)((0,r.pi)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))},t.prototype._historyBreadcrumb=function(t){var e=(0,a.Rf)(),n=t.from,r=t.to,o=(0,a.en)(e.location.href),s=(0,a.en)(n),u=(0,a.en)(r);s.path||(s=o),o.protocol===u.protocol&&o.host===u.host&&(r=u.relative),o.protocol===s.protocol&&o.host===s.host&&(n=s.relative),(0,i.Gd)().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},t.id="Breadcrumbs",t}()},184:function(t,e,n){n.d(e,{I:function(){return r}});var r=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var r=n().getIntegration(t);if(r){try{if(r._shouldDropEvent(e,r._previousEvent))return null}catch(i){return r._previousEvent=e}return r._previousEvent=e}return e}))},t.prototype._shouldDropEvent=function(t,e){return!!e&&(!!this._isSameMessageEvent(t,e)||!!this._isSameExceptionEvent(t,e))},t.prototype._isSameMessageEvent=function(t,e){var n=t.message,r=e.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!this._isSameFingerprint(t,e)&&!!this._isSameStacktrace(t,e))))},t.prototype._getFramesFromEvent=function(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(n){return}else if(t.stacktrace)return t.stacktrace.frames},t.prototype._isSameStacktrace=function(t,e){var n=this._getFramesFromEvent(t),r=this._getFramesFromEvent(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,(r=r).length!==n.length)return!1;for(var i=0;i<r.length;i++){var o=r[i],a=n[i];if(o.filename!==a.filename||o.lineno!==a.lineno||o.colno!==a.colno||o.function!==a.function)return!1}return!0},t.prototype._getExceptionFromEvent=function(t){return t.exception&&t.exception.values&&t.exception.values[0]},t.prototype._isSameExceptionEvent=function(t,e){var n=this._getExceptionFromEvent(e),r=this._getExceptionFromEvent(t);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!this._isSameFingerprint(t,e)&&!!this._isSameStacktrace(t,e)))},t.prototype._isSameFingerprint=function(t,e){var n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return!(n.join("")!==r.join(""))}catch(i){return!1}},t.id="Dedupe",t}()},1228:function(t,e,n){n.d(e,{d:function(){return f}});var r=n(334),i=n(8585),o=n(2226),a=n(8536),s=n(4005),u=n(1757),c=n(3699),p=n(1988),l=n(2634),f=function(){function t(e){this.name=t.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=(0,r.pi)({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(a.k.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(a.k.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},t.prototype._installGlobalOnErrorHandler=function(){var e=this;this._onErrorHandlerInstalled||((0,s.o)({callback:function(n){var r=n.error,o=(0,i.Gd)(),a=o.getIntegration(t),s=r&&!0===r.__sentry_own_request__;if(a&&!(0,l.Wz)()&&!s){var f=o.getClient(),d=void 0===r&&(0,u.HD)(n.msg)?e._eventFromIncompleteOnError(n.msg,n.url,n.line,n.column):e._enhanceEventWithInitialFrame((0,p.ME)(r||n.msg,void 0,{attachStacktrace:f&&f.getOptions().attachStacktrace,rejection:!1}),n.url,n.line,n.column);(0,c.EG)(d,{handled:!1,type:"onerror"}),o.captureEvent(d,{originalException:r})}},type:"error"}),this._onErrorHandlerInstalled=!0)},t.prototype._installGlobalOnUnhandledRejectionHandler=function(){var e=this;this._onUnhandledRejectionHandlerInstalled||((0,s.o)({callback:function(n){var r=n;try{"reason"in n?r=n.reason:"detail"in n&&"reason"in n.detail&&(r=n.detail.reason)}catch(v){}var a=(0,i.Gd)(),s=a.getIntegration(t),f=r&&!0===r.__sentry_own_request__;if(!s||(0,l.Wz)()||f)return!0;var d=a.getClient(),h=(0,u.pt)(r)?e._eventFromRejectionWithPrimitive(r):(0,p.ME)(r,void 0,{attachStacktrace:d&&d.getOptions().attachStacktrace,rejection:!0});h.level=o.z.Error,(0,c.EG)(h,{handled:!1,type:"onunhandledrejection"}),a.captureEvent(h,{originalException:r})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},t.prototype._eventFromIncompleteOnError=function(t,e,n,r){var i,o=(0,u.VW)(t)?t.message:t,a=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);a&&(i=a[1],o=a[2]);var s={exception:{values:[{type:i||"Error",value:o}]}};return this._enhanceEventWithInitialFrame(s,e,n,r)},t.prototype._eventFromRejectionWithPrimitive=function(t){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(t)}]}}},t.prototype._enhanceEventWithInitialFrame=function(t,e,n,r){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].stacktrace=t.exception.values[0].stacktrace||{},t.exception.values[0].stacktrace.frames=t.exception.values[0].stacktrace.frames||[];var i=isNaN(parseInt(r,10))?void 0:r,o=isNaN(parseInt(n,10))?void 0:n,a=(0,u.HD)(e)&&e.length>0?e:(0,c.l4)();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:i,filename:a,function:"?",in_app:!0,lineno:o}),t},t.id="GlobalHandlers",t}()},3440:function(t,e,n){n.d(e,{i:function(){return c}});var r=n(334),i=n(1684),o=n(8585),a=n(1757),s=n(5311),u=n(3320),c=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){(0,i.c)((function(e,n){var r=(0,o.Gd)().getIntegration(t);return r?r._handler(e,n):e}))},t.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&(0,a.V9)(e.originalException,Error)))return t;var n=this._walkErrorTree(e.originalException,this._key);return t.exception.values=(0,r.fl)(n,t.exception.values),t},t.prototype._walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!(0,a.V9)(t[e],Error)||n.length+1>=this._limit)return n;var i=(0,u._)(t[e]),o=(0,s.__)(i);return this._walkErrorTree(t[e],e,(0,r.fl)([o],n))},t.id="LinkedErrors",t}()},3399:function(t,e,n){n.d(e,{p:function(){return c}});var r=n(334),i=n(3699),o=n(1995),a=n(9038),s=n(2634),u=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],c=function(){function t(e){this.name=t.id,this._options=(0,r.pi)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=(0,i.Rf)();(this._options.setTimeout&&(0,o.hl)(t,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&(0,o.hl)(t,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&(0,o.hl)(t,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&(0,o.hl)(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget)&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:u).forEach(this._wrapEventTarget.bind(this))},t.prototype._wrapTimeFunction=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[0];return e[0]=(0,s.re)(r,{mechanism:{data:{function:(0,a.$)(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}},t.prototype._wrapRAF=function(t){return function(e){return t.call(this,(0,s.re)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,a.$)(t)},handled:!0,type:"instrument"}}))}},t.prototype._wrapEventTarget=function(t){var e=(0,i.Rf)(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,o.hl)(n,"addEventListener",(function(e){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,s.re)(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:(0,a.$)(r),target:t},handled:!0,type:"instrument"}}))}catch(o){}return e.call(this,n,(0,s.re)(r,{mechanism:{data:{function:"addEventListener",handler:(0,a.$)(r),target:t},handled:!0,type:"instrument"}}),i)}})),(0,o.hl)(n,"removeEventListener",(function(t){return function(e,n,r){var i,o=n;try{var a=null===(i=o)||void 0===i?void 0:i.__sentry_wrapped__;a&&t.call(this,e,a,r)}catch(s){}return t.call(this,e,o,r)}})))},t.prototype._wrapXHR=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this,i=["onload","onerror","onprogress","onreadystatechange"];return i.forEach((function(t){t in r&&"function"==typeof r[t]&&(0,o.hl)(r,t,(function(e){var n={mechanism:{data:{function:t,handler:(0,a.$)(e)},handled:!0,type:"instrument"}};return e.__sentry_original__&&(n.mechanism.data.handler=(0,a.$)(e.__sentry_original__)),(0,s.re)(e,n)}))})),t.apply(this,e)}},t.id="TryCatch",t}()},9992:function(t,e,n){n.d(e,{Z:function(){return s}});var r=n(334),i=n(1684),o=n(8585),a=(0,n(3699).Rf)(),s=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){(0,i.c)((function(e){var n,i,s;if((0,o.Gd)().getIntegration(t)){if(!a.navigator&&!a.location&&!a.document)return e;var u=(null===(n=e.request)||void 0===n?void 0:n.url)||(null===(i=a.location)||void 0===i?void 0:i.href),c=(a.document||{}).referrer,p=(a.navigator||{}).userAgent,l=(0,r.pi)((0,r.pi)((0,r.pi)({},null===(s=e.request)||void 0===s?void 0:s.headers),c&&{Referer:c}),p&&{"User-Agent":p}),f=(0,r.pi)((0,r.pi)({},u&&{url:u}),{headers:l});return(0,r.pi)((0,r.pi)({},e),{request:f})}return e}))},t.id="UserAgent",t}()},5311:function(t,e,n){n.d(e,{__:function(){return a},QI:function(){return s},Vf:function(){return u},LU:function(){return c}});var r=n(1757),i=n(1995),o=n(3320);function a(t){var e=c(t.stack),n={type:t.name,value:t.message};return e&&e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function s(t,e,n){var a={exception:{values:[{type:(0,r.cO)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+(0,i.zf)(t)}]},extra:{__serialized__:(0,i.Qy)(t)}};if(e){var s=c((0,o._)(e).stack);a.stacktrace={frames:s}}return a}function u(t){return{exception:{values:[a(t)]}}}function c(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"",r=e[e.length-1].func||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map((function(t){return{colno:null===t.column?void 0:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void 0:t.line}})).reverse()}},2456:function(t,e,n){n.d(e,{S1:function(){return g},yl:function(){return b}});var r=n(1061),i=n(6286),o=n(6853),a=n(8585),s=n(3699),u=n(7946),c=n(8536),p=n(4005),l=n(2314),f=n(3399),d=n(8356),h=n(1228),v=n(3440),m=n(184),_=n(9992),y=[new r.Q,new i.c,new f.p,new d.O,new h.d,new v.i,new m.I,new _.Z];function g(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=y),void 0===t.release){var e=(0,s.Rf)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),(0,o.M)(l.R,t),t.autoSessionTracking&&function(){if(void 0===(0,s.Rf)().document)return void c.k.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");var t=(0,a.Gd)();if("function"!=typeof t.startSession||"function"!=typeof t.captureSession)return;t.startSession({ignoreDuration:!0}),t.captureSession(),(0,p.o)({callback:function(e){var n=e.from,r=e.to;void 0!==n&&n!==r&&(t.startSession({ignoreDuration:!0}),t.captureSession())},type:"history"})}()}function b(t){var e=(0,a.Gd)().getClient();return e?e.flush(t):u.c.reject(!1)}},3320:function(t,e,n){n.d(e,{_:function(){return l}});var r=n(334),i="?",o=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,s=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,c=/\((\S*)(?::(\d+))(?::(\d+))\)/,p=/Minified React error #\d+;/i;function l(t){var e=null,n=0;t&&("number"==typeof t.framesToPop?n=t.framesToPop:p.test(t.message)&&(n=1));try{if(e=function(t){if(!t||!t.stacktrace)return null;for(var e,n=t.stacktrace,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,o=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,a=n.split("\n"),s=[],u=0;u<a.length;u+=2){var c=null;(e=r.exec(a[u]))?c={url:e[2],func:e[3],args:[],line:+e[1],column:null}:(e=o.exec(a[u]))&&(c={url:e[6],func:e[3]||e[4],args:e[5]?e[5].split(","):[],line:+e[1],column:+e[2]}),c&&(!c.func&&c.line&&(c.func=i),s.push(c))}if(!s.length)return null;return{message:d(t),name:t.name,stack:s}}(t))return f(e,n)}catch(r){}try{if(e=function(t){if(!t||!t.stack)return null;for(var e,n,r,p=[],l=t.stack.split("\n"),f=0;f<l.length;++f){if(n=o.exec(l[f])){var h=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(e=c.exec(n[2]))&&(n[2]=e[1],n[3]=e[2],n[4]=e[3]);var v=n[2]&&0===n[2].indexOf("address at ")?n[2].substr("address at ".length):n[2],m=n[1]||i,_=-1!==m.indexOf("safari-extension"),y=-1!==m.indexOf("safari-web-extension");(_||y)&&(m=-1!==m.indexOf("@")?m.split("@")[0]:i,v=_?"safari-extension:"+v:"safari-web-extension:"+v),r={url:v,func:m,args:h?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=s.exec(l[f]))r={url:n[2],func:n[1]||i,args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=a.exec(l[f])))continue;n[3]&&n[3].indexOf(" > eval")>-1&&(e=u.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]=""):0!==f||n[5]||void 0===t.columnNumber||(p[0].column=t.columnNumber+1),r={url:n[3],func:n[1]||i,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!r.func&&r.line&&(r.func=i),p.push(r)}if(!p.length)return null;return{message:d(t),name:t.name,stack:p}}(t))return f(e,n)}catch(r){}return{message:d(t),name:t&&t.name,stack:[],failed:!0}}function f(t,e){try{return(0,r.pi)((0,r.pi)({},t),{stack:t.stack.slice(e)})}catch(n){return t}}function d(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}},6526:function(t,e,n){n.d(e,{d:function(){return l}});var r=n(334),i=n(4911),o=n(4434),a=n(8963),s=n(4388),u=n(8536),c=n(3699),p={event:"error",transaction:"transaction",session:"session",attachment:"attachment"},l=function(){function t(t){this.options=t,this._buffer=new a.D(30),this._rateLimits={},this._api=new i.b(t.dsn,t._metadata,t.tunnel),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new s.b("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype._handleResponse=function(t){var e=t.requestType,n=t.response,r=t.headers,i=t.resolve,a=t.reject,s=o.q.fromHttpCode(n.status);this._handleRateLimit(r)&&u.k.warn("Too many "+e+" requests, backing off until: "+this._disabledUntil(e)),s!==o.q.Success?a(n):i({status:s})},t.prototype._disabledUntil=function(t){var e=p[t];return this._rateLimits[e]||this._rateLimits.all},t.prototype._isRateLimited=function(t){return this._disabledUntil(t)>new Date(Date.now())},t.prototype._handleRateLimit=function(t){var e,n,i,o,a=Date.now(),s=t["x-sentry-rate-limits"],u=t["retry-after"];if(s){try{for(var p=(0,r.XA)(s.trim().split(",")),l=p.next();!l.done;l=p.next()){var f=l.value.split(":",2),d=parseInt(f[0],10),h=1e3*(isNaN(d)?60:d);try{for(var v=(i=void 0,(0,r.XA)(f[1].split(";"))),m=v.next();!m.done;m=v.next()){var _=m.value;this._rateLimits[_||"all"]=new Date(a+h)}}catch(y){i={error:y}}finally{try{m&&!m.done&&(o=v.return)&&o.call(v)}finally{if(i)throw i.error}}}}catch(g){e={error:g}}finally{try{l&&!l.done&&(n=p.return)&&n.call(p)}finally{if(e)throw e.error}}return!0}return!!u&&(this._rateLimits.all=new Date(a+(0,c.JY)(a,u)),!0)},t}()},6149:function(t,e,n){n.d(e,{V:function(){return c}});var r=n(334),i=n(6508),o=n(3699),a=n(9798),s=n(8536),u=n(7946);var c=function(t){function e(e,n){void 0===n&&(n=function(){var t,e,n=(0,o.Rf)();if((0,a.Du)(n.fetch))return n.fetch.bind(n);var r=n.document,i=n.fetch;if("function"==typeof(null===(t=r)||void 0===t?void 0:t.createElement))try{var u=r.createElement("iframe");u.hidden=!0,r.head.appendChild(u),(null===(e=u.contentWindow)||void 0===e?void 0:e.fetch)&&(i=u.contentWindow.fetch),r.head.removeChild(u)}catch(c){s.k.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",c)}return i.bind(n)}());var r=t.call(this,e)||this;return r._fetch=n,r}return(0,r.ZT)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest((0,i.n)(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest((0,i.Q)(t,this._api),t)},e.prototype._sendRequest=function(t,e){var n=this;if(this._isRateLimited(t.type))return Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var r={body:t.body,method:"POST",referrerPolicy:(0,a.hv)()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add((function(){return new u.c((function(e,i){n._fetch(t.url,r).then((function(r){var o={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:t.type,response:r,headers:o,resolve:e,reject:i})})).catch(i)}))}))},e}(n(6526).d)},6144:function(t,e,n){n.d(e,{w:function(){return a}});var r=n(334),i=n(6508),o=n(7946),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest((0,i.n)(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest((0,i.Q)(t,this._api),t)},e.prototype._sendRequest=function(t,e){var n=this;return this._isRateLimited(t.type)?Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429}):this._buffer.add((function(){return new o.c((function(e,r){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var o={"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:i,headers:o,resolve:e,reject:r})}},i.open("POST",t.url),n.options.headers)n.options.headers.hasOwnProperty(o)&&i.setRequestHeader(o,n.options.headers[o]);i.send(t.body)}))}))},e}(n(6526).d)},334:function(t,e,n){n.d(e,{ZT:function(){return i},pi:function(){return o},XA:function(){return a},fl:function(){return u}});
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */
16
+ var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function u(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t}},4911:function(t,e,n){n.d(e,{b:function(){return o}});var r=n(3135),i=n(1995),o=function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=new r.l(t),this.metadata=e,this._tunnel=n}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){var t=this.getDsn(),e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"},t.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this.forceEnvelope()?this._tunnel:this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},t.prototype.getStoreEndpointPath=function(){var t=this.getDsn();return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var n=this.getDsn(),r=["Sentry sentry_version=7"];return r.push("sentry_client="+t+"/"+e),r.push("sentry_key="+n.publicKey),n.pass&&r.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e=this.getDsn(),n=this.getBaseApiEndpoint()+"embed/error-page/",r=[];for(var i in r.push("dsn="+e.toString()),t)if("dsn"!==i)if("user"===i){if(!t.user)continue;t.user.name&&r.push("name="+encodeURIComponent(t.user.name)),t.user.email&&r.push("email="+encodeURIComponent(t.user.email))}else r.push(encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return r.length?n+"?"+r.join("&"):n},t.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},t.prototype._getIngestEndpoint=function(t){return this._tunnel?this._tunnel:""+this.getBaseApiEndpoint()+this.getDsn().projectId+"/"+t+"/"},t.prototype._encodedAuth=function(){var t={sentry_key:this.getDsn().publicKey,sentry_version:"7"};return(0,i._j)(t)},t}()},9504:function(t,e,n){n.d(e,{N:function(){return a}});var r=n(8536),i=n(4388),o=n(3926),a=function(){function t(t){this._options=t,this._options.dsn||r.k.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new i.b("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new i.b("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,(function(t){r.k.error("Error while sending event: "+t)}))},t.prototype.sendSession=function(t){this._transport.sendSession?this._transport.sendSession(t).then(null,(function(t){r.k.error("Error while sending session: "+t)})):r.k.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new o.V},t}()},9849:function(t,e,n){n.d(e,{W:function(){return m}});var r=n(5733),i=n(1684),o=n(5971),a=n(3135),s=n(1757),u=n(8536),c=n(7946),p=n(3699),l=n(7790),f=n(1995),d=n(9660),h=n(4388),v=n(8889),m=function(){function t(t,e){this._integrations={},this._processing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=new a.l(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this,i=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then((function(t){return r._captureEvent(t,e,n)})).then((function(t){i=t}))),i},t.prototype.captureMessage=function(t,e,n,r){var i=this,o=n&&n.event_id,a=(0,s.pt)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(a.then((function(t){return i._captureEvent(t,n,r)})).then((function(t){o=t}))),o},t.prototype.captureEvent=function(t,e,n){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((function(t){r=t}))),r},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?u.k.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):u.k.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.flush=function(t){var e=this;return this._isClientProcessing(t).then((function(n){return e._getBackend().getTransport().close(t).then((function(t){return n&&t}))}))},t.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},t.prototype.setupIntegrations=function(){this._isEnabled()&&(this._integrations=(0,v.q4)(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return u.k.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,i,a=!1,s=!1,u=e.exception&&e.exception.values;if(u){s=!0;try{for(var c=(0,r.XA)(u),p=c.next();!p.done;p=c.next()){var l=p.value.mechanism;if(l&&!1===l.handled){a=!0;break}}}catch(d){n={error:d}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}var f=t.status===o.$.Ok;(f&&0===t.errors||f&&a)&&(t.update((0,r.pi)((0,r.pi)({},a&&{status:o.$.Crashed}),{errors:t.errors||Number(s||a)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientProcessing=function(t){var e=this;return new c.c((function(n){var r=0,i=setInterval((function(){0==e._processing?(clearInterval(i),n(!0)):(r+=1,t&&r>=t&&(clearInterval(i),n(!1)))}),1)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var o=this,a=this.getOptions().normalizeDepth,s=void 0===a?3:a,u=(0,r.pi)((0,r.pi)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:(0,p.DM)()),timestamp:t.timestamp||(0,l.yW)()});this._applyClientOptions(u),this._applyIntegrationsMetadata(u);var f=e;n&&n.captureContext&&(f=i.s.clone(f).update(n.captureContext));var d=c.c.resolve(u);return f&&(d=f.applyToEvent(u,n)),d.then((function(t){return"number"==typeof s&&s>0?o._normalizeEvent(t,s):t}))},t.prototype._normalizeEvent=function(t,e){if(!t)return null;var n=(0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return(0,r.pi)((0,r.pi)({},t),t.data&&{data:(0,f.Fv)(t.data,e)})}))}),t.user&&{user:(0,f.Fv)(t.user,e)}),t.contexts&&{contexts:(0,f.Fv)(t.contexts,e)}),t.extra&&{extra:(0,f.Fv)(t.extra,e)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),n},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,i=e.dist,o=e.maxValueLength,a=void 0===o?250:o;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=(0,d.$G)(t.message,a));var s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=(0,d.$G)(s.value,a));var u=t.request;u&&u.url&&(u.url=(0,d.$G)(u.url,a))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=(0,r.fl)(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then((function(t){return t.event_id}),(function(t){u.k.error(t)}))},t.prototype._processEvent=function(t,e,n){var r=this,i=this.getOptions(),o=i.beforeSend,a=i.sampleRate;if(!this._isEnabled())return c.c.reject(new h.b("SDK not enabled, will not capture event."));var s="transaction"===t.type;return!s&&"number"==typeof a&&Math.random()>a?c.c.reject(new h.b("Discarding event because it's not included in the random sample (sampling rate = "+a+")")):this._prepareEvent(t,n,e).then((function(t){if(null===t)throw new h.b("An event processor returned null, will not send event.");if(e&&e.data&&!0===e.data.__sentry__||s||!o)return t;var n=o(t,e);return r._ensureBeforeSendRv(n)})).then((function(t){if(null===t)throw new h.b("`beforeSend` returned `null`, will not send event.");var e=n&&n.getSession&&n.getSession();return!s&&e&&r._updateSessionFromEvent(e,t),r._sendEvent(t),t})).then(null,(function(t){if(t instanceof h.b)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new h.b("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))},t.prototype._process=function(t){var e=this;this._processing+=1,t.then((function(t){return e._processing-=1,t}),(function(t){return e._processing-=1,t}))},t.prototype._ensureBeforeSendRv=function(t){var e="`beforeSend` method has to return `null` or a valid event.";if((0,s.J8)(t))return t.then((function(t){if(!(0,s.PO)(t)&&null!==t)throw new h.b(e);return t}),(function(t){throw new h.b("beforeSend rejected with "+t)}));if(!(0,s.PO)(t)&&null!==t)throw new h.b(e);return t},t}()},8889:function(t,e,n){n.d(e,{q4:function(){return c}});var r=n(5733),i=n(1684),o=n(8585),a=n(8536),s=[];function u(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}function c(t){var e={};return function(t){var e=t.defaultIntegrations&&(0,r.fl)(t.defaultIntegrations)||[],n=t.integrations,i=(0,r.fl)(u(e));Array.isArray(n)?i=(0,r.fl)(i.filter((function(t){return n.every((function(e){return e.name!==t.name}))})),u(n)):"function"==typeof n&&(i=n(i),i=Array.isArray(i)?i:[i]);var o=i.map((function(t){return t.name})),a="Debug";return-1!==o.indexOf(a)&&i.push.apply(i,(0,r.fl)(i.splice(o.indexOf(a),1))),i}(t).forEach((function(t){e[t.name]=t,function(t){-1===s.indexOf(t.name)&&(t.setupOnce(i.c,o.Gd),s.push(t.name),a.k.log("Integration installed: "+t.name))}(t)})),e}},6286:function(t,e,n){var r;n.d(e,{c:function(){return i}});var i=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){r=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this.__sentry_original__||this;return r.apply(n,t)}},t.id="FunctionToString",t}()},1061:function(t,e,n){n.d(e,{Q:function(){return p}});var r=n(5733),i=n(1684),o=n(8585),a=n(8536),s=n(3699),u=n(9660),c=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],p=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(){(0,i.c)((function(e){var n=(0,o.Gd)();if(!n)return e;var r=n.getIntegration(t);if(r){var i=n.getClient(),a=i?i.getOptions():{},s="function"==typeof r._mergeOptions?r._mergeOptions(a):{};return"function"!=typeof r._shouldDropEvent?e:r._shouldDropEvent(e,s)?null:e}return e}))},t.prototype._shouldDropEvent=function(t,e){return this._isSentryError(t,e)?(a.k.warn("Event dropped due to being internal Sentry Error.\nEvent: "+(0,s.jH)(t)),!0):this._isIgnoredError(t,e)?(a.k.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+(0,s.jH)(t)),!0):this._isDeniedUrl(t,e)?(a.k.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+(0,s.jH)(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0):!this._isAllowedUrl(t,e)&&(a.k.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+(0,s.jH)(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0)},t.prototype._isSentryError=function(t,e){if(!e.ignoreInternal)return!1;try{return t&&t.exception&&t.exception.values&&t.exception.values[0]&&"SentryError"===t.exception.values[0].type||!1}catch(n){return!1}},t.prototype._isIgnoredError=function(t,e){return!(!e.ignoreErrors||!e.ignoreErrors.length)&&this._getPossibleEventMessages(t).some((function(t){return e.ignoreErrors.some((function(e){return(0,u.zC)(t,e)}))}))},t.prototype._isDeniedUrl=function(t,e){if(!e.denyUrls||!e.denyUrls.length)return!1;var n=this._getEventFilterUrl(t);return!!n&&e.denyUrls.some((function(t){return(0,u.zC)(n,t)}))},t.prototype._isAllowedUrl=function(t,e){if(!e.allowUrls||!e.allowUrls.length)return!0;var n=this._getEventFilterUrl(t);return!n||e.allowUrls.some((function(t){return(0,u.zC)(n,t)}))},t.prototype._mergeOptions=function(t){return void 0===t&&(t={}),{allowUrls:(0,r.fl)(this._options.whitelistUrls||[],this._options.allowUrls||[],t.whitelistUrls||[],t.allowUrls||[]),denyUrls:(0,r.fl)(this._options.blacklistUrls||[],this._options.denyUrls||[],t.blacklistUrls||[],t.denyUrls||[]),ignoreErrors:(0,r.fl)(this._options.ignoreErrors||[],t.ignoreErrors||[],c),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal}},t.prototype._getPossibleEventMessages=function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values&&t.exception.values[0]||{},n=e.type,r=void 0===n?"":n,i=e.value,o=void 0===i?"":i;return[""+o,r+": "+o]}catch(u){return a.k.error("Cannot extract message for event "+(0,s.jH)(t)),[]}return[]},t.prototype._getEventFilterUrl=function(t){try{if(t.stacktrace){var e=t.stacktrace.frames;return e&&e[e.length-1].filename||null}if(t.exception){var n=t.exception.values&&t.exception.values[0].stacktrace&&t.exception.values[0].stacktrace.frames;return n&&n[n.length-1].filename||null}return null}catch(r){return a.k.error("Cannot extract url for event "+(0,s.jH)(t)),null}},t.id="InboundFilters",t}()},6508:function(t,e,n){n.d(e,{Q:function(){return a},n:function(){return s}});var r=n(5733);function i(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function o(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=(0,r.fl)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=(0,r.fl)(t.sdk.packages||[],e.packages||[]),t):t}function a(t,e){var n=i(e),o="aggregates"in t?"sessions":"session";return{body:JSON.stringify((0,r.pi)((0,r.pi)({sent_at:(new Date).toISOString()},n&&{sdk:n}),e.forceEnvelope()&&{dsn:e.getDsn().toString()}))+"\n"+JSON.stringify({type:o})+"\n"+JSON.stringify(t),type:o,url:e.getEnvelopeEndpointWithUrlEncodedAuth()}}function s(t,e){var n=i(e),a=t.type||"event",s="transaction"===a||e.forceEnvelope(),u=t.debug_meta||{},c=u.transactionSampling,p=(0,r._T)(u,["transactionSampling"]),l=c||{},f=l.method,d=l.rate;0===Object.keys(p).length?delete t.debug_meta:t.debug_meta=p;var h={body:JSON.stringify(n?o(t,e.metadata.sdk):t),type:a,url:s?e.getEnvelopeEndpointWithUrlEncodedAuth():e.getStoreEndpointWithUrlEncodedAuth()};if(s){var v=JSON.stringify((0,r.pi)((0,r.pi)({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),e.forceEnvelope()&&{dsn:e.getDsn().toString()}))+"\n"+JSON.stringify({type:a,sample_rates:[{id:f,rate:d}]})+"\n"+h.body;h.body=v}return h}},6853:function(t,e,n){n.d(e,{M:function(){return o}});var r=n(8585),i=n(8536);function o(t,e){var n;!0===e.debug&&i.k.enable();var o=(0,r.Gd)();null===(n=o.getScope())||void 0===n||n.update(e.initialScope);var a=new t(e);o.bindClient(a)}},3926:function(t,e,n){n.d(e,{V:function(){return o}});var r=n(4434),i=n(7946),o=function(){function t(){}return t.prototype.sendEvent=function(t){return i.c.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:r.q.Skipped})},t.prototype.close=function(t){return i.c.resolve(!0)},t}()},1476:function(t,e,n){n.d(e,{J:function(){return r}});var r="6.8.0"},5733:function(t,e,n){n.d(e,{pi:function(){return r},_T:function(){return i},XA:function(){return o},fl:function(){return s}});var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function i(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function o(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function s(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}},8585:function(t,e,n){n.d(e,{Xb:function(){return l},cu:function(){return f},Gd:function(){return h}});var r=n(8773),i=n(5971),o=n(3699),a=n(7790),s=n(8536),u=n(7392),c=n(1684),p=n(2430),l=function(){function t(t,e,n){void 0===e&&(e=new c.s),void 0===n&&(n=4),this._version=n,this._stack=[{}],this.getStackTop().scope=e,this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=c.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var n=this._lastEventId=(0,o.DM)(),i=e;if(!e){var a=void 0;try{throw new Error("Sentry syntheticException")}catch(t){a=t}i={originalException:t,syntheticException:a}}return this._invokeClient("captureException",t,(0,r.pi)((0,r.pi)({},i),{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var i=this._lastEventId=(0,o.DM)(),a=n;if(!n){var s=void 0;try{throw new Error(t)}catch(u){s=u}a={originalException:t,syntheticException:s}}return this._invokeClient("captureMessage",t,e,(0,r.pi)((0,r.pi)({},a),{event_id:i})),i},t.prototype.captureEvent=function(t,e){var n=this._lastEventId=(0,o.DM)();return this._invokeClient("captureEvent",t,(0,r.pi)((0,r.pi)({},e),{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop(),i=n.scope,s=n.client;if(i&&s){var u=s.getOptions&&s.getOptions()||{},c=u.beforeBreadcrumb,p=void 0===c?null:c,l=u.maxBreadcrumbs,f=void 0===l?100:l;if(!(f<=0)){var d=(0,a.yW)(),h=(0,r.pi)({timestamp:d},t),v=p?(0,o.Cf)((function(){return p(h,e)})):h;null!==v&&i.addBreadcrumb(v,f)}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var n=this.getScope();n&&n.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getScope();n&&n.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getScope();n&&n.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),n=e.scope,r=e.client;n&&r&&t(n)},t.prototype.run=function(t){var e=d(this);try{t(this)}finally{d(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(n){return s.k.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t,e,n,r,i;null===(n=null===(e=null===(t=this.getStackTop())||void 0===t?void 0:t.scope)||void 0===e?void 0:e.getSession())||void 0===n||n.close(),this._sendSessionUpdate(),null===(i=null===(r=this.getStackTop())||void 0===r?void 0:r.scope)||void 0===i||i.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),n=e.scope,a=e.client,s=a&&a.getOptions()||{},u=s.release,c=s.environment,l=((0,o.Rf)().navigator||{}).userAgent,f=new p.z((0,r.pi)((0,r.pi)((0,r.pi)({release:u,environment:c},n&&{user:n.getUser()}),l&&{userAgent:l}),t));if(n){var d=n.getSession&&n.getSession();d&&d.status===i.$.Ok&&d.update({status:i.$.Exited}),this.endSession(),n.setSession(f)}return f},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,n=t.client;if(e){var r=e.getSession&&e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},t.prototype._invokeClient=function(t){for(var e,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o=this.getStackTop(),a=o.scope,s=o.client;s&&s[t]&&(e=s)[t].apply(e,(0,r.fl)(n,[a]))},t.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=f(),i=r.__SENTRY__;if(i&&i.extensions&&"function"==typeof i.extensions[t])return i.extensions[t].apply(this,e);s.k.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function f(){var t=(0,o.Rf)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function d(t){var e=f(),n=m(e);return _(e,t),n}function h(){var t=f();return v(t)&&!m(t).isOlderThan(4)||_(t,new l),(0,u.KV)()?function(t){var e,n,r;try{var i=null===(r=null===(n=null===(e=f().__SENTRY__)||void 0===e?void 0:e.extensions)||void 0===n?void 0:n.domain)||void 0===r?void 0:r.active;if(!i)return m(t);if(!v(i)||m(i).isOlderThan(4)){var o=m(t).getStackTop();_(i,new l(o.client,c.s.clone(o.scope)))}return m(i)}catch(a){return m(t)}}(t):m(t)}function v(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function m(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new l),t.__SENTRY__.hub}function _(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}},1684:function(t,e,n){n.d(e,{s:function(){return u},c:function(){return p}});var r=n(8773),i=n(1757),o=n(7790),a=n(7946),s=n(3699),u=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=(0,r.fl)(e._breadcrumbs),n._tags=(0,r.pi)({},e._tags),n._extra=(0,r.pi)({},e._extra),n._contexts=(0,r.pi)({},e._contexts),n._user=e._user,n._level=e._level,n._span=e._span,n._session=e._session,n._transactionName=e._transactionName,n._fingerprint=e._fingerprint,n._eventProcessors=(0,r.fl)(e._eventProcessors),n._requestSession=e._requestSession),n},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=(0,r.pi)((0,r.pi)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=(0,r.pi)((0,r.pi)({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=(0,r.pi)((0,r.pi)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=(0,r.pi)((0,r.pi)({},this._extra),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var n;return null===e?delete this._contexts[t]:this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t,e,n,r,i=this.getSpan();return(null===(t=i)||void 0===t?void 0:t.transaction)?null===(e=i)||void 0===e?void 0:e.transaction:(null===(r=null===(n=i)||void 0===n?void 0:n.spanRecorder)||void 0===r?void 0:r.spans[0])?i.spanRecorder.spans[0]:void 0},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"==typeof e){var n=e(this);return n instanceof t?n:this}return e instanceof t?(this._tags=(0,r.pi)((0,r.pi)({},this._tags),e._tags),this._extra=(0,r.pi)((0,r.pi)({},this._extra),e._extra),this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):(0,i.PO)(e)&&(e=e,this._tags=(0,r.pi)((0,r.pi)({},this._tags),e.tags),this._extra=(0,r.pi)((0,r.pi)({},this._extra),e.extra),this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n="number"==typeof e?Math.min(e,100):100;if(n<=0)return this;var i=(0,r.pi)({timestamp:(0,o.yW)()},t);return this._breadcrumbs=(0,r.fl)(this._breadcrumbs,[i]).slice(-n),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){var n;if(this._extra&&Object.keys(this._extra).length&&(t.extra=(0,r.pi)((0,r.pi)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=(0,r.pi)((0,r.pi)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=(0,r.pi)((0,r.pi)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=(0,r.pi)((0,r.pi)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=(0,r.pi)({trace:this._span.getTraceContext()},t.contexts);var i=null===(n=this._span.transaction)||void 0===n?void 0:n.name;i&&(t.tags=(0,r.pi)({transaction:i},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=(0,r.fl)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this._notifyEventProcessors((0,r.fl)(c(),this._eventProcessors),t,e)},t.prototype._notifyEventProcessors=function(t,e,n,o){var s=this;return void 0===o&&(o=0),new a.c((function(a,u){var c=t[o];if(null===e||"function"!=typeof c)a(e);else{var p=c((0,r.pi)({},e),n);(0,i.J8)(p)?p.then((function(e){return s._notifyEventProcessors(t,e,n,o+1).then(a)})).then(null,u):s._notifyEventProcessors(t,p,n,o+1).then(a).then(null,u)}}))},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(e){e(t)})),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function c(){var t=(0,s.Rf)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function p(t){c().push(t)}},2430:function(t,e,n){n.d(e,{z:function(){return s}});var r=n(5971),i=n(3699),o=n(7790),a=n(1995),s=function(){function t(t){this.errors=0,this.sid=(0,i.DM)(),this.duration=0,this.status=r.$.Ok,this.init=!0,this.ignoreDuration=!1;var e=(0,o.ph)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||(0,o.ph)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:(0,i.DM)()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):this.status===r.$.Ok?this.update({status:r.$.Exited}):this.update()},t.prototype.toJSON=function(){return(0,a.Jr)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:(0,a.Jr)({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},t}()},8773:function(t,e,n){n.d(e,{pi:function(){return r},fl:function(){return o}});var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function i(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function o(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(i(arguments[e]));return t}},4678:function(t,e,n){n.d(e,{Tb:function(){return a},$e:function(){return s}});var r=n(5559),i=n(8585);function o(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var o=(0,i.Gd)();if(o&&o[t])return o[t].apply(o,(0,r.fl)(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function a(t,e){var n;try{throw new Error("Sentry syntheticException")}catch(t){n=t}return o("captureException",t,{captureContext:e,originalException:t,syntheticException:n})}function s(t){o("withScope",t)}},5559:function(t,e,n){n.d(e,{fl:function(){return i}});function r(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function i(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(r(arguments[e]));return t}},40:function(t,e,n){n.d(e,{j:function(){return u}});var r=n(3699),i=n(8536),o=n(2881),a=n(2517),s=(0,r.Rf)();function u(){s&&s.document?s.document.addEventListener("visibilitychange",(function(){var t=(0,a.x1)();s.document.hidden&&t&&(i.k.log("[Tracing] Transaction: "+o.p.Cancelled+" -> since tab moved to the background, op: "+t.op),t.status||t.setStatus(o.p.Cancelled),t.setTag("visibilitychange","document.hidden"),t.finish())})):i.k.warn("[Tracing] Could not set up background tab detection due to lack of global document")}},4476:function(t,e,n){n.d(e,{gE:function(){return v}});var r=n(2481),i=n(8536),o=n(3699),a=n(1626),s=n(564),u=n(2881),c=n(2517),p=n(40),l=n(3800),f=n(6958),d=n(9866),h=(0,r.pi)({idleTimeout:s.nT,markBackgroundTransactions:!0,maxTransactionDuration:600,routingInstrumentation:d.R,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0},f.k3),v=function(){function t(e){this.name=t.id,this._metrics=new l.zE,this._emitOptionsWarning=!1;var n=f.k3.tracingOrigins;e&&e.tracingOrigins&&Array.isArray(e.tracingOrigins)&&0!==e.tracingOrigins.length?n=e.tracingOrigins:this._emitOptionsWarning=!0,this.options=(0,r.pi)((0,r.pi)((0,r.pi)({},h),e),{tracingOrigins:n})}return t.prototype.setupOnce=function(t,e){var n=this;this._getCurrentHub=e,this._emitOptionsWarning&&(i.k.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),i.k.warn("[Tracing] We added a reasonable default for you: "+f.k3.tracingOrigins));var r=this.options,o=r.routingInstrumentation,a=r.startTransactionOnLocationChange,s=r.startTransactionOnPageLoad,u=r.markBackgroundTransactions,c=r.traceFetch,l=r.traceXHR,d=r.tracingOrigins,h=r.shouldCreateSpanForRequest;o((function(t){return n._createRouteTransaction(t)}),s,a),u&&(0,p.j)(),(0,f.L7)({traceFetch:c,traceXHR:l,tracingOrigins:d,shouldCreateSpanForRequest:h})},t.prototype._createRouteTransaction=function(t){var e=this;if(this._getCurrentHub){var n=this.options,s=n.beforeNavigate,p=n.idleTimeout,l=n.maxTransactionDuration,f="pageload"===t.op?function(){var t=(e="sentry-trace",n=document.querySelector("meta[name="+e+"]"),n?n.getAttribute("content"):null);var e,n;if(t)return(0,c.qG)(t);return}():void 0,d=(0,r.pi)((0,r.pi)((0,r.pi)({},t),f),{trimEnd:!0}),h="function"==typeof s?s(d):d,v=void 0===h?(0,r.pi)((0,r.pi)({},d),{sampled:!1}):h;!1===v.sampled&&i.k.log("[Tracing] Will not send "+v.op+" transaction because of beforeNavigate."),i.k.log("[Tracing] Starting "+v.op+" transaction on scope");var m=this._getCurrentHub(),_=(0,o.Rf)().location,y=(0,a.lb)(m,v,p,!0,{location:_});return y.registerBeforeFinishCallback((function(t,n){e._metrics.addPerformanceEntries(t),function(t,e,n){var r=n-e.startTimestamp;n&&(r>t||r<0)&&(e.setStatus(u.p.DeadlineExceeded),e.setTag("maxTransactionDurationExceeded","true"))}((0,c.WB)(l),t,n)})),y}i.k.warn("[Tracing] Did not create "+t.op+" transaction because _getCurrentHub is invalid.")},t.id="BrowserTracing",t}()},3800:function(t,e,n){n.d(e,{zE:function(){return v}});var r=n(2481),i=n(3699),o=n(7392),a=n(7790),s=n(8536),u=n(4194),c=n(2517),p=n(1604),l=n(63),f=n(165),d=n(6843),h=(0,i.Rf)(),v=function(){function t(){var t;this._measurements={},this._performanceCursor=0,!(0,o.KV)()&&(null===(t=h)||void 0===t?void 0:t.performance)&&(h.performance.mark&&h.performance.mark("sentry-tracing-init"),this._trackCLS(),this._trackLCP(),this._trackFID())}return t.prototype.addPerformanceEntries=function(t){var e=this;if(h&&h.performance&&h.performance.getEntries&&a.Z1){s.k.log("[Tracing] Adding & adjusting spans using Performance API");var n,r,i,o,u,p=(0,c.XL)(a.Z1);if(h.document)for(var l=0;l<document.scripts.length;l++)if("true"===document.scripts[l].dataset.entry){n=document.scripts[l].src;break}if(h.performance.getEntries().slice(this._performanceCursor).forEach((function(a){var l=(0,c.XL)(a.startTime),f=(0,c.XL)(a.duration);if(!("navigation"===t.op&&p+l<t.startTimestamp))switch(a.entryType){case"navigation":!function(t,e,n){m({transaction:t,entry:e,event:"unloadEvent",timeOrigin:n}),m({transaction:t,entry:e,event:"redirect",timeOrigin:n}),m({transaction:t,entry:e,event:"domContentLoadedEvent",timeOrigin:n}),m({transaction:t,entry:e,event:"loadEvent",timeOrigin:n}),m({transaction:t,entry:e,event:"connect",timeOrigin:n}),m({transaction:t,entry:e,event:"secureConnection",timeOrigin:n,eventEnd:"connectEnd",description:"TLS/SSL"}),m({transaction:t,entry:e,event:"fetch",timeOrigin:n,eventEnd:"domainLookupStart",description:"cache"}),m({transaction:t,entry:e,event:"domainLookup",timeOrigin:n,description:"DNS"}),function(t,e,n){_(t,{op:"browser",description:"request",startTimestamp:n+(0,c.XL)(e.requestStart),endTimestamp:n+(0,c.XL)(e.responseEnd)}),_(t,{op:"browser",description:"response",startTimestamp:n+(0,c.XL)(e.responseStart),endTimestamp:n+(0,c.XL)(e.responseEnd)})}(t,e,n)}(t,a,p),o=p+(0,c.XL)(a.responseStart),u=p+(0,c.XL)(a.requestStart);break;case"mark":case"paint":case"measure":var h=function(t,e,n,r,i){var o=i+n,a=o+r;return _(t,{description:e.name,endTimestamp:a,op:e.entryType,startTimestamp:o}),o}(t,a,l,f,p);void 0===i&&"sentry-tracing-init"===a.name&&(i=h);var v=(0,d.u)(),y=a.startTime<v.timeStamp;"first-paint"===a.name&&y&&(s.k.log("[Measurements] Adding FP"),e._measurements.fp={value:a.startTime},e._measurements["mark.fp"]={value:h}),"first-contentful-paint"===a.name&&y&&(s.k.log("[Measurements] Adding FCP"),e._measurements.fcp={value:a.startTime},e._measurements["mark.fcp"]={value:h});break;case"resource":var g=a.name.replace(window.location.origin,""),b=function(t,e,n,r,i,o){if("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType)return;var a={};"transferSize"in e&&(a["Transfer Size"]=e.transferSize);"encodedBodySize"in e&&(a["Encoded Body Size"]=e.encodedBodySize);"decodedBodySize"in e&&(a["Decoded Body Size"]=e.decodedBodySize);var s=o+r,u=s+i;return _(t,{description:n,endTimestamp:u,op:e.initiatorType?"resource."+e.initiatorType:"resource",startTimestamp:s,data:a}),u}(t,a,g,l,f,p);void 0===r&&(n||"").indexOf(g)>-1&&(r=b)}})),void 0!==r&&void 0!==i&&_(t,{description:"evaluation",endTimestamp:i,op:"script",startTimestamp:r}),this._performanceCursor=Math.max(performance.getEntries().length-1,0),this._trackNavigator(t),"pageload"===t.op){var f=(0,c.XL)(a.Z1);"number"==typeof o&&(s.k.log("[Measurements] Adding TTFB"),this._measurements.ttfb={value:1e3*(o-t.startTimestamp)},"number"==typeof u&&u<=o&&(this._measurements["ttfb.requestTime"]={value:1e3*(o-u)})),["fcp","fp","lcp"].forEach((function(n){if(e._measurements[n]&&!(f>=t.startTimestamp)){var r=e._measurements[n].value,i=f+(0,c.XL)(r),o=Math.abs(1e3*(i-t.startTimestamp)),a=o-r;s.k.log("[Measurements] Normalized "+n+" from "+r+" to "+o+" ("+a+")"),e._measurements[n].value=o}})),this._measurements["mark.fid"]&&this._measurements.fid&&_(t,{description:"first input delay",endTimestamp:this._measurements["mark.fid"].value+(0,c.XL)(this._measurements.fid.value),op:"web.vitals",startTimestamp:this._measurements["mark.fid"].value}),t.setMeasurements(this._measurements),this._tagMetricInfo(t)}}},t.prototype._tagMetricInfo=function(t){this._lcpEntry&&(s.k.log("[Measurements] Adding LCP Data"),this._lcpEntry.element&&t.setTag("lcp.element",(0,u.R)(this._lcpEntry.element)),this._lcpEntry.id&&t.setTag("lcp.id",this._lcpEntry.id),this._lcpEntry.url&&t.setTag("lcp.url",this._lcpEntry.url.trim().slice(0,200)),t.setTag("lcp.size",this._lcpEntry.size)),this._clsEntry&&(s.k.log("[Measurements] Adding CLS Data"),this._clsEntry.sources.map((function(e,n){return t.setTag("cls.source."+(n+1),(0,u.R)(e.node))})))},t.prototype._trackCLS=function(){var t=this;(0,p.k)((function(e){var n=e.entries.pop();n&&(s.k.log("[Measurements] Adding CLS"),t._measurements.cls={value:e.value},t._clsEntry=n)}))},t.prototype._trackNavigator=function(t){var e=h.navigator;if(e){var n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),y(n.rtt)&&(this._measurements["connection.rtt"]={value:n.rtt}),y(n.downlink)&&(this._measurements["connection.downlink"]={value:n.downlink})),y(e.deviceMemory)&&t.setTag("deviceMemory",String(e.deviceMemory)),y(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}},t.prototype._trackLCP=function(){var t=this;(0,f.T)((function(e){var n=e.entries.pop();if(n){var r=(0,c.XL)(a.Z1),i=(0,c.XL)(n.startTime);s.k.log("[Measurements] Adding LCP"),t._measurements.lcp={value:e.value},t._measurements["mark.lcp"]={value:r+i},t._lcpEntry=n}}))},t.prototype._trackFID=function(){var t=this;(0,l.T)((function(e){var n=e.entries.pop();if(n){var r=(0,c.XL)(a.Z1),i=(0,c.XL)(n.startTime);s.k.log("[Measurements] Adding FID"),t._measurements.fid={value:e.value},t._measurements["mark.fid"]={value:r+i}}}))},t}();function m(t){var e=t.transaction,n=t.entry,r=t.event,i=t.timeOrigin,o=t.eventEnd,a=t.description,s=o?n[o]:n[r+"End"],u=n[r+"Start"];u&&s&&_(e,{op:"browser",description:null!=a?a:r,startTimestamp:i+(0,c.XL)(u),endTimestamp:i+(0,c.XL)(s)})}function _(t,e){var n=e.startTimestamp,i=(0,r._T)(e,["startTimestamp"]);return n&&t.startTimestamp>n&&(t.startTimestamp=n),t.startChild((0,r.pi)({startTimestamp:n},i))}function y(t){return"number"==typeof t&&isFinite(t)}},6958:function(t,e,n){n.d(e,{k3:function(){return c},L7:function(){return p}});var r=n(2481),i=n(9660),o=n(4005),a=n(1757),s=n(2881),u=n(2517),c={traceFetch:!0,traceXHR:!0,tracingOrigins:["localhost",/^\//]};function p(t){var e=(0,r.pi)((0,r.pi)({},c),t),n=e.traceFetch,p=e.traceXHR,l=e.tracingOrigins,f=e.shouldCreateSpanForRequest,d={},h=function(t){if(d[t])return d[t];var e=l;return d[t]=e.some((function(e){return(0,i.zC)(t,e)}))&&!(0,i.zC)(t,"sentry_key"),d[t]},v=h;"function"==typeof f&&(v=function(t){return h(t)&&f(t)});var m={};n&&(0,o.o)({callback:function(t){!function(t,e,n){if(!(0,u.zu)()||!t.fetchData||!e(t.fetchData.url))return;if(t.endTimestamp&&t.fetchData.__span){return void((o=n[t.fetchData.__span])&&(t.response?o.setHttpStatus(t.response.status):t.error&&o.setStatus(s.p.InternalError),o.finish(),delete n[t.fetchData.__span]))}var i=(0,u.x1)();if(i){var o=i.startChild({data:(0,r.pi)((0,r.pi)({},t.fetchData),{type:"fetch"}),description:t.fetchData.method+" "+t.fetchData.url,op:"http"});t.fetchData.__span=o.spanId,n[o.spanId]=o;var c=t.args[0]=t.args[0],p=t.args[1]=t.args[1]||{},l=p.headers;(0,a.V9)(c,Request)&&(l=c.headers),l?"function"==typeof l.append?l.append("sentry-trace",o.toTraceparent()):l=Array.isArray(l)?(0,r.fl)(l,[["sentry-trace",o.toTraceparent()]]):(0,r.pi)((0,r.pi)({},l),{"sentry-trace":o.toTraceparent()}):l={"sentry-trace":o.toTraceparent()},p.headers=l}}(t,v,m)},type:"fetch"}),p&&(0,o.o)({callback:function(t){!function(t,e,n){var i,o;if(!(0,u.zu)()||(null===(i=t.xhr)||void 0===i?void 0:i.__sentry_own_request__)||!(null===(o=t.xhr)||void 0===o?void 0:o.__sentry_xhr__)||!e(t.xhr.__sentry_xhr__.url))return;var a=t.xhr.__sentry_xhr__;if(t.endTimestamp&&t.xhr.__sentry_xhr_span_id__){return void((c=n[t.xhr.__sentry_xhr_span_id__])&&(c.setHttpStatus(a.status_code),c.finish(),delete n[t.xhr.__sentry_xhr_span_id__]))}var s=(0,u.x1)();if(s){var c=s.startChild({data:(0,r.pi)((0,r.pi)({},a.data),{type:"xhr",method:a.method,url:a.url}),description:a.method+" "+a.url,op:"http"});if(t.xhr.__sentry_xhr_span_id__=c.spanId,n[t.xhr.__sentry_xhr_span_id__]=c,t.xhr.setRequestHeader)try{t.xhr.setRequestHeader("sentry-trace",c.toTraceparent())}catch(p){}}}(t,v,m)},type:"xhr"})}},9866:function(t,e,n){n.d(e,{R:function(){return s}});var r=n(3699),i=n(8536),o=n(4005),a=(0,r.Rf)();function s(t,e,n){if(void 0===e&&(e=!0),void 0===n&&(n=!0),a&&a.location){var r,s=a.location.href;e&&(r=t({name:a.location.pathname,op:"pageload"})),n&&(0,o.o)({callback:function(e){var n=e.to,o=e.from;void 0===o&&s&&-1!==s.indexOf(n)?s=void 0:o!==n&&(s=void 0,r&&(i.k.log("[Tracing] Finishing current transaction with op: "+r.op),r.finish()),r=t({name:a.location.pathname,op:"navigation"}))},type:"history"})}else i.k.warn("Could not initialize routing instrumentation due to invalid location")}},1604:function(t,e,n){n.d(e,{k:function(){return s}});var r=n(7498),i=n(4402),o=n(7483),a=n(391),s=function(t,e){void 0===e&&(e=!1);var n,s=(0,i.I)("CLS",0),u=function(t){t.hadRecentInput||(s.value+=t.value,s.entries.push(t),n())},c=(0,o.N)("layout-shift",u);c&&(n=(0,r._)(t,s,c,e),(0,a.u)((function(t){var e=t.isUnloading;c.takeRecords().map(u),e&&(s.isFinal=!0),n()})))}},63:function(t,e,n){n.d(e,{T:function(){return u}});var r=n(7498),i=n(6843),o=n(4402),a=n(7483),s=n(391),u=function(t){var e=(0,o.I)("FID"),n=(0,i.u)(),u=function(t){t.startTime<n.timeStamp&&(e.value=t.processingStart-t.startTime,e.entries.push(t),e.isFinal=!0,p())},c=(0,a.N)("first-input",u),p=(0,r._)(t,e,c);c?(0,s.u)((function(){c.takeRecords().map(u),c.disconnect()}),!0):window.perfMetrics&&window.perfMetrics.onFirstInputDelay&&window.perfMetrics.onFirstInputDelay((function(t,r){r.timeStamp<n.timeStamp&&(e.value=t,e.isFinal=!0,e.entries=[{entryType:"first-input",name:r.type,target:r.target,cancelable:r.cancelable,startTime:r.timeStamp,processingStart:r.timeStamp+t}],p())}))}},165:function(t,e,n){n.d(e,{T:function(){return c}});var r=n(7498),i=n(6843),o=n(4402),a=n(7483),s=n(391),u=n(8136),c=function(t,e){void 0===e&&(e=!1);var n,c=(0,o.I)("LCP"),p=(0,i.u)(),l=function(t){var e=t.startTime;e<p.timeStamp?(c.value=e,c.entries.push(t)):c.isFinal=!0,n()},f=(0,a.N)("largest-contentful-paint",l);if(f){n=(0,r._)(t,c,f,e);var d=function(){c.isFinal||(f.takeRecords().map(l),c.isFinal=!0,n())};(0,u.n)().then(d),(0,s.u)(d,!0)}}},7498:function(t,e,n){n.d(e,{_:function(){return r}});var r=function(t,e,n,r){var i;return function(){n&&e.isFinal&&n.disconnect(),e.value>=0&&(r||e.isFinal||"hidden"===document.visibilityState)&&(e.delta=e.value-(i||0),(e.delta||e.isFinal||void 0===i)&&(t(e),i=e.value))}}},6864:function(t,e,n){n.d(e,{f:function(){return r}});var r=function(){return Date.now()+"-"+(Math.floor(8999999999999*Math.random())+1e12)}},6843:function(t,e,n){n.d(e,{u:function(){return o}});var r,i=n(391),o=function(){return void 0===r&&(r="hidden"===document.visibilityState?0:1/0,(0,i.u)((function(t){var e=t.timeStamp;return r=e}),!0)),{get timeStamp(){return r}}}},4402:function(t,e,n){n.d(e,{I:function(){return i}});var r=n(6864),i=function(t,e){return void 0===e&&(e=-1),{name:t,value:e,delta:0,entries:[],id:(0,r.f)(),isFinal:!1}}},7483:function(t,e,n){n.d(e,{N:function(){return r}});var r=function(t,e){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var n=new PerformanceObserver((function(t){return t.getEntries().map(e)}));return n.observe({type:t,buffered:!0}),n}}catch(r){}}},391:function(t,e,n){n.d(e,{u:function(){return a}});var r=!1,i=!1,o=function(t){r=!t.persisted},a=function(t,e){void 0===e&&(e=!1),i||(addEventListener("pagehide",o),addEventListener("beforeunload",(function(){})),i=!0),addEventListener("visibilitychange",(function(e){var n=e.timeStamp;"hidden"===document.visibilityState&&t({timeStamp:n,isUnloading:r})}),{capture:!0,once:e})}},8136:function(t,e,n){var r;n.d(e,{n:function(){return i}});var i=function(){return r||(r=new Promise((function(t){return["scroll","keydown","pointerdown"].map((function(e){addEventListener(e,t,{once:!0,passive:!0,capture:!0})}))}))),r}},9233:function(t,e,n){n.d(e,{e:function(){return s}});var r=n(4005),i=n(8536),o=n(2881),a=n(2517);function s(){(0,r.o)({callback:u,type:"error"}),(0,r.o)({callback:u,type:"unhandledrejection"})}function u(){var t=(0,a.x1)();t&&(i.k.log("[Tracing] Transaction: "+o.p.InternalError+" -> Global error occured"),t.setStatus(o.p.InternalError))}},1626:function(t,e,n){n.d(e,{lb:function(){return v},ro:function(){return m}});var r=n(2481),i=n(8585),o=n(6910),a=n(8536),s=n(7392),u=n(9233),c=n(564),p=n(8235),l=n(2517);function f(){var t=this.getScope();if(t){var e=t.getSpan();if(e)return{"sentry-trace":e.toTraceparent()}}return{}}function d(t,e,n){return(0,l.zu)()?void 0!==t.sampled?(t.setMetadata({transactionSampling:{method:o.K.Explicit}}),t):("function"==typeof e.tracesSampler?(r=e.tracesSampler(n),t.setMetadata({transactionSampling:{method:o.K.Sampler,rate:Number(r)}})):void 0!==n.parentSampled?(r=n.parentSampled,t.setMetadata({transactionSampling:{method:o.K.Inheritance}})):(r=e.tracesSampleRate,t.setMetadata({transactionSampling:{method:o.K.Rate,rate:Number(r)}})),function(t){if(isNaN(t)||"number"!=typeof t&&"boolean"!=typeof t)return a.k.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got "+JSON.stringify(t)+" of type "+JSON.stringify(typeof t)+"."),!1;if(t<0||t>1)return a.k.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got "+t+"."),!1;return!0}(r)?r?(t.sampled=Math.random()<r,t.sampled?(a.k.log("[Tracing] starting "+t.op+" transaction - "+t.name),t):(a.k.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = "+Number(r)+")"),t)):(a.k.log("[Tracing] Discarding transaction because "+("function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),t.sampled=!1,t):(a.k.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)):(t.sampled=!1,t);var r}function h(t,e){var n,i,o=(null===(n=this.getClient())||void 0===n?void 0:n.getOptions())||{},a=new p.Y(t,this);return(a=d(a,o,(0,r.pi)({parentSampled:t.parentSampled,transactionContext:t},e))).sampled&&a.initSpanRecorder(null===(i=o._experiments)||void 0===i?void 0:i.maxSpans),a}function v(t,e,n,i,o){var a,s,u=(null===(a=t.getClient())||void 0===a?void 0:a.getOptions())||{},p=new c.io(e,t,n,i);return(p=d(p,u,(0,r.pi)({parentSampled:e.parentSampled,transactionContext:e},o))).sampled&&p.initSpanRecorder(null===(s=u._experiments)||void 0===s?void 0:s.maxSpans),p}function m(){var e;(e=(0,i.cu)()).__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=h),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=f)),(0,s.KV)()&&function(){var e=(0,i.cu)();if(e.__SENTRY__){var n={mongodb:function(){return new((0,s.l$)(t,"./integrations/mongo").Mongo)},mongoose:function(){return new((0,s.l$)(t,"./integrations/mongo").Mongo)({mongoose:!0})},mysql:function(){return new((0,s.l$)(t,"./integrations/mysql").Mysql)},pg:function(){return new((0,s.l$)(t,"./integrations/postgres").Postgres)}},o=Object.keys(n).filter((function(t){return!!(0,s.$y)(t)})).map((function(t){try{return n[t]()}catch(e){return}})).filter((function(t){return t}));o.length>0&&(e.__SENTRY__.integrations=(0,r.fl)(e.__SENTRY__.integrations||[],o))}}(),(0,u.e)()}t=n.hmd(t)},564:function(t,e,n){n.d(e,{nT:function(){return c},io:function(){return l}});var r=n(2481),i=n(7790),o=n(8536),a=n(8207),s=n(2881),u=n(8235),c=1e3,p=function(t){function e(e,n,r,i){void 0===r&&(r="");var o=t.call(this,i)||this;return o._pushActivity=e,o._popActivity=n,o.transactionSpanId=r,o}return(0,r.ZT)(e,t),e.prototype.add=function(e){var n=this;e.spanId!==this.transactionSpanId&&(e.finish=function(t){e.endTimestamp="number"==typeof t?t:(0,i._I)(),n._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),t.prototype.add.call(this,e)},e}(a.g),l=function(t){function e(e,n,r,i){void 0===r&&(r=c),void 0===i&&(i=!1);var a=t.call(this,e,n)||this;return a._idleHub=n,a._idleTimeout=r,a._onScope=i,a.activities={},a._heartbeatTimer=0,a._heartbeatCounter=0,a._finished=!1,a._beforeFinishCallbacks=[],n&&i&&(f(n),o.k.log("Setting idle transaction on scope. Span ID: "+a.spanId),n.configureScope((function(t){return t.setSpan(a)}))),a._initTimeout=setTimeout((function(){a._finished||a.finish()}),a._idleTimeout),a}return(0,r.ZT)(e,t),e.prototype.finish=function(e){var n,a,u=this;if(void 0===e&&(e=(0,i._I)()),this._finished=!0,this.activities={},this.spanRecorder){o.k.log("[Tracing] finishing IdleTransaction",new Date(1e3*e).toISOString(),this.op);try{for(var c=(0,r.XA)(this._beforeFinishCallbacks),p=c.next();!p.done;p=c.next()){(0,p.value)(this,e)}}catch(l){n={error:l}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}this.spanRecorder.spans=this.spanRecorder.spans.filter((function(t){if(t.spanId===u.spanId)return!0;t.endTimestamp||(t.endTimestamp=e,t.setStatus(s.p.Cancelled),o.k.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(t,void 0,2)));var n=t.startTimestamp<e;return n||o.k.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(t,void 0,2)),n})),o.k.log("[Tracing] flushing IdleTransaction")}else o.k.log("[Tracing] No active IdleTransaction");return this._onScope&&f(this._idleHub),t.prototype.finish.call(this,e)},e.prototype.registerBeforeFinishCallback=function(t){this._beforeFinishCallbacks.push(t)},e.prototype.initSpanRecorder=function(t){var e=this;if(!this.spanRecorder){this.spanRecorder=new p((function(t){e._finished||e._pushActivity(t)}),(function(t){e._finished||e._popActivity(t)}),this.spanId,t),o.k.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)},e.prototype._pushActivity=function(t){this._initTimeout&&(clearTimeout(this._initTimeout),this._initTimeout=void 0),o.k.log("[Tracing] pushActivity: "+t),this.activities[t]=!0,o.k.log("[Tracing] new activities count",Object.keys(this.activities).length)},e.prototype._popActivity=function(t){var e=this;if(this.activities[t]&&(o.k.log("[Tracing] popActivity "+t),delete this.activities[t],o.k.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var n=this._idleTimeout,r=(0,i._I)()+n/1e3;setTimeout((function(){e._finished||e.finish(r)}),n)}},e.prototype._beat=function(){if(clearTimeout(this._heartbeatTimer),!this._finished){var t=Object.keys(this.activities),e=t.length?t.reduce((function(t,e){return t+e})):"";e===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?(o.k.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus(s.p.DeadlineExceeded),this.setTag("heartbeat","failed"),this.finish()):this._pingHeartbeat()}},e.prototype._pingHeartbeat=function(){var t=this;o.k.log("pinging Heartbeat -> current counter: "+this._heartbeatCounter),this._heartbeatTimer=setTimeout((function(){t._beat()}),5e3)},e}(u.Y);function f(t){if(t){var e=t.getScope();if(e)e.getTransaction()&&e.setSpan(void 0)}}},9886:function(t,e,n){n.d(e,{jK:function(){return s}});var r=n(2481),i=n(4476),o=n(1626),a=n(1861),s=(0,r.pi)((0,r.pi)({},a),{BrowserTracing:i.gE});(0,o.ro)()},6810:function(t,e,n){n.d(e,{N:function(){return o}});var r=n(2481),i=n(8536),o=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._router=e.router||e.app,this._methods=(Array.isArray(e.methods)?e.methods:[]).concat("use")}return t.prototype.setupOnce=function(){this._router?function(t,e){void 0===e&&(e=[]);e.forEach((function(e){return function(t,e){var n=t[e];return t[e]=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return n.call.apply(n,(0,r.fl)([this],s(t,e)))},t}(t,e)}))}(this._router,this._methods):i.k.error("ExpressIntegration is missing an Express instance")},t.id="Express",t}();function a(t,e){var n=t.length;switch(n){case 2:return function(n,r){var i=r.__sentry_transaction;if(i){var o=i.startChild({description:t.name,op:"middleware."+e});r.once("finish",(function(){o.finish()}))}return t.call(this,n,r)};case 3:return function(n,i,o){var a,s=null===(a=i.__sentry_transaction)||void 0===a?void 0:a.startChild({description:t.name,op:"middleware."+e});t.call(this,n,i,(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];null===(t=s)||void 0===t||t.finish(),o.call.apply(o,(0,r.fl)([this],e))}))};case 4:return function(n,i,o,a){var s,u=null===(s=o.__sentry_transaction)||void 0===s?void 0:s.startChild({description:t.name,op:"middleware."+e});t.call(this,n,i,o,(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];null===(t=u)||void 0===t||t.finish(),a.call.apply(a,(0,r.fl)([this],e))}))};default:throw new Error("Express middleware takes 2-4 arguments. Got: "+n)}}function s(t,e){return t.map((function(t){return"function"==typeof t?a(t,e):Array.isArray(t)?t.map((function(t){return"function"==typeof t?a(t,e):t})):t}))}},1861:function(t,e,n){n.r(e),n.d(e,{Express:function(){return r.N},Postgres:function(){return i.E},Mysql:function(){return o.m},Mongo:function(){return a._}});var r=n(6810),i=n(8567),o=n(8643),a=n(8746)},8746:function(t,e,n){n.d(e,{_:function(){return p}});var r=n(2481),i=n(7392),o=n(8536),a=n(1995),s=n(1757),u=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],c={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]},p=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._operations=Array.isArray(e.operations)?e.operations:u,this._describeOperations=!("describeOperations"in e)||e.describeOperations,this._useMongoose=!!e.useMongoose}return t.prototype.setupOnce=function(t,e){var n=this._useMongoose?"mongoose":"mongodb",r=(0,i.$y)(n);r?this._instrumentOperations(r.Collection,this._operations,e):o.k.error("Mongo Integration was unable to require `"+n+"` package.")},t.prototype._instrumentOperations=function(t,e,n){var r=this;e.forEach((function(e){return r._patchOperation(t,e,n)}))},t.prototype._patchOperation=function(t,e,n){if(e in t.prototype){var i=this._getSpanContextFromOperationArguments.bind(this);(0,a.hl)(t.prototype,e,(function(t){return function(){for(var o,a,u,c,p=[],l=0;l<arguments.length;l++)p[l]=arguments[l];var f=p[p.length-1],d=n().getScope(),h=null===(o=d)||void 0===o?void 0:o.getSpan();if("function"!=typeof f||"mapReduce"===e&&2===p.length){var v=null===(a=h)||void 0===a?void 0:a.startChild(i(this,e,p)),m=t.call.apply(t,(0,r.fl)([this],p));return(0,s.J8)(m)?m.then((function(t){var e;return null===(e=v)||void 0===e||e.finish(),t})):(null===(u=v)||void 0===u||u.finish(),m)}var _=null===(c=h)||void 0===c?void 0:c.startChild(i(this,e,p.slice(0,-1)));return t.call.apply(t,(0,r.fl)([this],p.slice(0,-1),[function(t,e){var n;null===(n=_)||void 0===n||n.finish(),f(t,e)}]))}}))}},t.prototype._getSpanContextFromOperationArguments=function(t,e,n){var i={collectionName:t.collectionName,dbName:t.dbName,namespace:t.namespace},o={op:"db",description:e,data:i},a=c[e],s=Array.isArray(this._describeOperations)?this._describeOperations.includes(e):this._describeOperations;if(!a||!s)return o;try{if("mapReduce"===e){var u=(0,r.CR)(n,2),p=u[0],l=u[1];i[a[0]]="string"==typeof p?p:p.name||"<anonymous>",i[a[1]]="string"==typeof l?l:l.name||"<anonymous>"}else for(var f=0;f<a.length;f++)i[a[f]]=JSON.stringify(n[f])}catch(d){}return o},t.id="Mongo",t}()},8643:function(t,e,n){n.d(e,{m:function(){return a}});var r=n(7392),i=n(8536),o=n(1995),a=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(t,e){var n=(0,r.$y)("mysql/lib/Connection.js");n?(0,o.hl)(n,"createQuery",(function(t){return function(n,r,i){var o,a,s=null===(a=null===(o=e().getScope())||void 0===o?void 0:o.getSpan())||void 0===a?void 0:a.startChild({description:"string"==typeof n?n:n.sql,op:"db"});return"function"==typeof i?t.call(this,n,r,(function(t,e,n){var r;null===(r=s)||void 0===r||r.finish(),i(t,e,n)})):"function"==typeof r?t.call(this,n,(function(t,e,n){var i;null===(i=s)||void 0===i||i.finish(),r(t,e,n)})):t.call(this,n,r,i)}})):i.k.error("Mysql Integration was unable to require `mysql` package.")},t.id="Mysql",t}()},8567:function(t,e,n){n.d(e,{E:function(){return s}});var r=n(7392),i=n(8536),o=n(1995),a=n(1757),s=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(t,e){var n=(0,r.$y)("pg");n?(0,o.hl)(n.Client.prototype,"query",(function(t){return function(n,r,i){var o,s,u,c=null===(s=null===(o=e().getScope())||void 0===o?void 0:o.getSpan())||void 0===s?void 0:s.startChild({description:"string"==typeof n?n:n.text,op:"db"});if("function"==typeof i)return t.call(this,n,r,(function(t,e){var n;null===(n=c)||void 0===n||n.finish(),i(t,e)}));if("function"==typeof r)return t.call(this,n,(function(t,e){var n;null===(n=c)||void 0===n||n.finish(),r(t,e)}));var p=void 0!==r?t.call(this,n,r):t.call(this,n);return(0,a.J8)(p)?p.then((function(t){var e;return null===(e=c)||void 0===e||e.finish(),t})):(null===(u=c)||void 0===u||u.finish(),p)}})):i.k.error("Postgres Integration was unable to require `pg` package.")},t.id="Postgres",t}()},8207:function(t,e,n){n.d(e,{g:function(){return u},D:function(){return c}});var r=n(2481),i=n(3699),o=n(7790),a=n(1995),s=n(2881),u=function(){function t(t){void 0===t&&(t=1e3),this.spans=[],this._maxlen=t}return t.prototype.add=function(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)},t}(),c=function(){function t(t){if(this.traceId=(0,i.DM)(),this.spanId=(0,i.DM)().substring(16),this.startTimestamp=(0,o._I)(),this.tags={},this.data={},!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}return t.prototype.child=function(t){return this.startChild(t)},t.prototype.startChild=function(e){var n=new t((0,r.pi)((0,r.pi)({},e),{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));return n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,n},t.prototype.setTag=function(t,e){var n;return this.tags=(0,r.pi)((0,r.pi)({},this.tags),((n={})[t]=e,n)),this},t.prototype.setData=function(t,e){var n;return this.data=(0,r.pi)((0,r.pi)({},this.data),((n={})[t]=e,n)),this},t.prototype.setStatus=function(t){return this.status=t,this},t.prototype.setHttpStatus=function(t){this.setTag("http.status_code",String(t));var e=s.p.fromHttpCode(t);return e!==s.p.UnknownError&&this.setStatus(e),this},t.prototype.isSuccess=function(){return this.status===s.p.Ok},t.prototype.finish=function(t){this.endTimestamp="number"==typeof t?t:(0,o._I)()},t.prototype.toTraceparent=function(){var t="";return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),this.traceId+"-"+this.spanId+t},t.prototype.toContext=function(){return(0,a.Jr)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})},t.prototype.updateWithContext=function(t){var e,n,r,i,o;return this.data=null!=(e=t.data)?e:{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=null!=(n=t.spanId)?n:this.spanId,this.startTimestamp=null!=(r=t.startTimestamp)?r:this.startTimestamp,this.status=t.status,this.tags=null!=(i=t.tags)?i:{},this.traceId=null!=(o=t.traceId)?o:this.traceId,this},t.prototype.getTraceContext=function(){return(0,a.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})},t.prototype.toJSON=function(){return(0,a.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})},t}()},2881:function(t,e,n){var r;n.d(e,{p:function(){return r}}),function(t){t.Ok="ok",t.DeadlineExceeded="deadline_exceeded",t.Unauthenticated="unauthenticated",t.PermissionDenied="permission_denied",t.NotFound="not_found",t.ResourceExhausted="resource_exhausted",t.InvalidArgument="invalid_argument",t.Unimplemented="unimplemented",t.Unavailable="unavailable",t.InternalError="internal_error",t.UnknownError="unknown_error",t.Cancelled="cancelled",t.AlreadyExists="already_exists",t.FailedPrecondition="failed_precondition",t.Aborted="aborted",t.OutOfRange="out_of_range",t.DataLoss="data_loss"}(r||(r={})),function(t){t.fromHttpCode=function(e){if(e<400)return t.Ok;if(e>=400&&e<500)switch(e){case 401:return t.Unauthenticated;case 403:return t.PermissionDenied;case 404:return t.NotFound;case 409:return t.AlreadyExists;case 413:return t.FailedPrecondition;case 429:return t.ResourceExhausted;default:return t.InvalidArgument}if(e>=500&&e<600)switch(e){case 501:return t.Unimplemented;case 503:return t.Unavailable;case 504:return t.DeadlineExceeded;default:return t.InternalError}return t.UnknownError}}(r||(r={}))},8235:function(t,e,n){n.d(e,{Y:function(){return c}});var r=n(2481),i=n(8585),o=n(1757),a=n(8536),s=n(1995),u=n(8207),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r._measurements={},r._hub=(0,i.Gd)(),(0,o.V9)(n,i.Xb)&&(r._hub=n),r.name=e.name||"",r.metadata=e.metadata||{},r._trimEnd=e.trimEnd,r.transaction=r,r}return(0,r.ZT)(e,t),e.prototype.setName=function(t){this.name=t},e.prototype.initSpanRecorder=function(t){void 0===t&&(t=1e3),this.spanRecorder||(this.spanRecorder=new u.g(t)),this.spanRecorder.add(this)},e.prototype.setMeasurements=function(t){this._measurements=(0,r.pi)({},t)},e.prototype.setMetadata=function(t){this.metadata=(0,r.pi)((0,r.pi)({},this.metadata),t)},e.prototype.finish=function(e){var n=this;if(void 0===this.endTimestamp){if(this.name||(a.k.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),t.prototype.finish.call(this,e),!0===this.sampled){var r=this.spanRecorder?this.spanRecorder.spans.filter((function(t){return t!==n&&t.endTimestamp})):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((function(t,e){return t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t})).endTimestamp);var i={contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",debug_meta:this.metadata};return Object.keys(this._measurements).length>0&&(a.k.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),a.k.log("[Tracing] Finishing "+this.op+" transaction: "+this.name+"."),this._hub.captureEvent(i)}a.k.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.")}},e.prototype.toContext=function(){var e=t.prototype.toContext.call(this);return(0,s.Jr)((0,r.pi)((0,r.pi)({},e),{name:this.name,trimEnd:this._trimEnd}))},e.prototype.updateWithContext=function(e){var n;return t.prototype.updateWithContext.call(this,e),this.name=null!=(n=e.name)?n:"",this._trimEnd=e.trimEnd,this},e}(u.D)},2517:function(t,e,n){n.d(e,{zu:function(){return o},qG:function(){return a},x1:function(){return s},XL:function(){return u},WB:function(){return c}});var r=n(8585),i=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function o(t){var e;return void 0===t&&(t=null===(e=(0,r.Gd)().getClient())||void 0===e?void 0:e.getOptions()),!!t&&("tracesSampleRate"in t||"tracesSampler"in t)}function a(t){var e=t.match(i);if(e){var n=void 0;return"1"===e[3]?n=!0:"0"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}}function s(t){var e,n;return void 0===t&&(t=(0,r.Gd)()),null===(n=null===(e=t)||void 0===e?void 0:e.getScope())||void 0===n?void 0:n.getTransaction()}function u(t){return t/1e3}function c(t){return 1e3*t}},2481:function(t,e,n){n.d(e,{ZT:function(){return i},pi:function(){return o},_T:function(){return a},XA:function(){return s},CR:function(){return u},fl:function(){return c}});
17
+ /*! *****************************************************************************
18
+ Copyright (c) Microsoft Corporation.
19
+
20
+ Permission to use, copy, modify, and/or distribute this software for any
21
+ purpose with or without fee is hereby granted.
22
+
23
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
24
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
25
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
26
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
27
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
28
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
29
+ PERFORMANCE OF THIS SOFTWARE.
30
+ ***************************************************************************** */
31
+ var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function s(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(u(arguments[e]));return t}},5971:function(t,e,n){var r,i;n.d(e,{$:function(){return r}}),function(t){t.Ok="ok",t.Exited="exited",t.Crashed="crashed",t.Abnormal="abnormal"}(r||(r={})),function(t){t.Ok="ok",t.Errored="errored",t.Crashed="crashed"}(i||(i={}))},2226:function(t,e,n){var r;n.d(e,{z:function(){return r}}),function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(r||(r={})),function(t){t.fromString=function(e){switch(e){case"debug":return t.Debug;case"info":return t.Info;case"warn":case"warning":return t.Warning;case"error":return t.Error;case"fatal":return t.Fatal;case"critical":return t.Critical;case"log":default:return t.Log}}}(r||(r={}))},4434:function(t,e,n){var r;n.d(e,{q:function(){return r}}),function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(r||(r={})),function(t){t.fromHttpCode=function(e){return e>=200&&e<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(r||(r={}))},6910:function(t,e,n){var r;n.d(e,{K:function(){return r}}),function(t){t.Explicit="explicitly_set",t.Sampler="client_sampler",t.Rate="client_rate",t.Inheritance="inheritance"}(r||(r={}))},4194:function(t,e,n){n.d(e,{R:function(){return i}});var r=n(1757);function i(t,e){try{for(var n=t,r=[],i=0,a=0,s=" > ".length,u=void 0;n&&i++<5&&!("html"===(u=o(n,e))||i>1&&a+r.length*s+u.length>=80);)r.push(u),a+=u.length,n=n.parentNode;return r.reverse().join(" > ")}catch(c){return"<unknown>"}}function o(t,e){var n,i,o,a,s,u,c,p=t,l=[];if(!p||!p.tagName)return"";l.push(p.tagName.toLowerCase());var f=(null===(n=e)||void 0===n?void 0:n.length)?e.filter((function(t){return p.getAttribute(t)})).map((function(t){return[t,p.getAttribute(t)]})):null;if(null===(i=f)||void 0===i?void 0:i.length)f.forEach((function(t){l.push("["+t[0]+'="'+t[1]+'"]')}));else if(p.id&&l.push("#"+p.id),(o=p.className)&&(0,r.HD)(o))for(a=o.split(/\s+/),c=0;c<a.length;c++)l.push("."+a[c]);var d=["type","name","title","alt"];for(c=0;c<d.length;c++)s=d[c],(u=p.getAttribute(s))&&l.push("["+s+'="'+u+'"]');return l.join("")}},3135:function(t,e,n){n.d(e,{l:function(){return s}});var r=n(4715),i=n(4388),o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,a="Invalid Dsn",s=function(){function t(t){"string"==typeof t?this._fromString(t):this._fromComponents(t),this._validate()}return t.prototype.toString=function(t){void 0===t&&(t=!1);var e=this,n=e.host,r=e.path,i=e.pass,o=e.port,a=e.projectId;return e.protocol+"://"+e.publicKey+(t&&i?":"+i:"")+"@"+n+(o?":"+o:"")+"/"+(r?r+"/":r)+a},t.prototype._fromString=function(t){var e=o.exec(t);if(!e)throw new i.b(a);var n=(0,r.CR)(e.slice(1),6),s=n[0],u=n[1],c=n[2],p=void 0===c?"":c,l=n[3],f=n[4],d=void 0===f?"":f,h="",v=n[5],m=v.split("/");if(m.length>1&&(h=m.slice(0,-1).join("/"),v=m.pop()),v){var _=v.match(/^\d+/);_&&(v=_[0])}this._fromComponents({host:l,pass:p,path:h,projectId:v,port:d,protocol:s,publicKey:u})},t.prototype._fromComponents=function(t){"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),this.user=t.publicKey||"",this.protocol=t.protocol,this.publicKey=t.publicKey||"",this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype._validate=function(){var t=this;if(["protocol","publicKey","host","projectId"].forEach((function(e){if(!t[e])throw new i.b("Invalid Dsn: "+e+" missing")})),!this.projectId.match(/^\d+$/))throw new i.b("Invalid Dsn: Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new i.b("Invalid Dsn: Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new i.b("Invalid Dsn: Invalid port "+this.port)},t}()},4388:function(t,e,n){n.d(e,{b:function(){return o}});var r=n(4715),i=n(467),o=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return r.message=e,r.name=n.prototype.constructor.name,(0,i.f)(r,n.prototype),r}return(0,r.ZT)(e,t),e}(Error)},4005:function(t,e,n){n.d(e,{o:function(){return v}});var r,i=n(4715),o=n(1757),a=n(8536),s=n(3699),u=n(1995),c=n(9038),p=n(9798),l=(0,s.Rf)(),f={},d={};function h(t){if(!d[t])switch(d[t]=!0,t){case"console":!function(){if(!("console"in l))return;["debug","info","warn","error","log","assert"].forEach((function(t){t in l.console&&(0,u.hl)(l.console,t,(function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];m("console",{args:n,level:t}),e&&Function.prototype.apply.call(e,l.console,n)}}))}))}();break;case"dom":!function(){if(!("document"in l))return;var t=m.bind(null,"dom"),e=S(t,!0);l.document.addEventListener("click",e,!1),l.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((function(e){var n=l[e]&&l[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,u.hl)(n,"addEventListener",(function(e){return function(n,r,i){if("click"===n||"keypress"==n)try{var o=this,a=o.__sentry_instrumentation_handlers__=o.__sentry_instrumentation_handlers__||{},s=a[n]=a[n]||{refCount:0};if(!s.handler){var u=S(t);s.handler=u,e.call(this,n,u,i)}s.refCount+=1}catch(c){}return e.call(this,n,r,i)}})),(0,u.hl)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{var i=this,o=i.__sentry_instrumentation_handlers__||{},a=o[e];a&&(a.refCount-=1,a.refCount<=0&&(t.call(this,e,a.handler,r),a.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete i.__sentry_instrumentation_handlers__)}catch(s){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in l))return;var t=[],e=[],n=XMLHttpRequest.prototype;(0,u.hl)(n,"open",(function(n){return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var a=this,s=r[1];a.__sentry_xhr__={method:(0,o.HD)(r[0])?r[0].toUpperCase():r[0],url:r[1]},(0,o.HD)(s)&&"POST"===a.__sentry_xhr__.method&&s.match(/sentry_key/)&&(a.__sentry_own_request__=!0);var c=function(){if(4===a.readyState){try{a.__sentry_xhr__&&(a.__sentry_xhr__.status_code=a.status)}catch(o){}try{var n=t.indexOf(a);if(-1!==n){t.splice(n);var i=e.splice(n)[0];a.__sentry_xhr__&&void 0!==i[0]&&(a.__sentry_xhr__.body=i[0])}}catch(o){}m("xhr",{args:r,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:a})}};return"onreadystatechange"in a&&"function"==typeof a.onreadystatechange?(0,u.hl)(a,"onreadystatechange",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return c(),t.apply(a,e)}})):a.addEventListener("readystatechange",c),n.apply(a,r)}})),(0,u.hl)(n,"send",(function(n){return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.push(this),e.push(r),m("xhr",{args:r,startTimestamp:Date.now(),xhr:this}),n.apply(this,r)}}))}();break;case"fetch":!function(){if(!(0,p.t$)())return;(0,u.hl)(l,"fetch",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r={args:e,fetchData:{method:_(e),url:y(e)},startTimestamp:Date.now()};return m("fetch",(0,i.pi)({},r)),t.apply(l,e).then((function(t){return m("fetch",(0,i.pi)((0,i.pi)({},r),{endTimestamp:Date.now(),response:t})),t}),(function(t){throw m("fetch",(0,i.pi)((0,i.pi)({},r),{endTimestamp:Date.now(),error:t})),t}))}}))}();break;case"history":!function(){if(!(0,p.Bf)())return;var t=l.onpopstate;function e(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=e.length>2?e[2]:void 0;if(i){var o=r,a=String(i);r=a,m("history",{from:o,to:a})}return t.apply(this,e)}}l.onpopstate=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=l.location.href,o=r;if(r=i,m("history",{from:o,to:i}),t)try{return t.apply(this,e)}catch(a){}},(0,u.hl)(l.history,"pushState",e),(0,u.hl)(l.history,"replaceState",e)}();break;case"error":E=l.onerror,l.onerror=function(t,e,n,r,i){return m("error",{column:r,error:i,line:n,msg:t,url:e}),!!E&&E.apply(this,arguments)};break;case"unhandledrejection":x=l.onunhandledrejection,l.onunhandledrejection=function(t){return m("unhandledrejection",t),!x||x.apply(this,arguments)};break;default:a.k.warn("unknown instrumentation type:",t)}}function v(t){t&&"string"==typeof t.type&&"function"==typeof t.callback&&(f[t.type]=f[t.type]||[],f[t.type].push(t.callback),h(t.type))}function m(t,e){var n,r;if(t&&f[t])try{for(var o=(0,i.XA)(f[t]||[]),s=o.next();!s.done;s=o.next()){var u=s.value;try{u(e)}catch(p){a.k.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+(0,c.$)(u)+"\nError: "+p)}}}catch(l){n={error:l}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}function _(t){return void 0===t&&(t=[]),"Request"in l&&(0,o.V9)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function y(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in l&&(0,o.V9)(t[0],Request)?t[0].url:String(t[0])}var g,b;function S(t,e){return void 0===e&&(e=!1),function(n){if(n&&b!==n&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(n){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===g||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(n){}return!1}(b,n))&&(t({event:n,name:r,global:e}),b=n),clearTimeout(g),g=l.setTimeout((function(){g=void 0}),1e3)}}}var E=null;var x=null},1757:function(t,e,n){function r(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(t,Error)}}function i(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function o(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function a(t){return"[object DOMException]"===Object.prototype.toString.call(t)}function s(t){return"[object String]"===Object.prototype.toString.call(t)}function u(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function c(t){return"[object Object]"===Object.prototype.toString.call(t)}function p(t){return"undefined"!=typeof Event&&v(t,Event)}function l(t){return"undefined"!=typeof Element&&v(t,Element)}function f(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function d(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function h(t){return c(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function v(t,e){try{return t instanceof e}catch(n){return!1}}n.d(e,{VZ:function(){return r},VW:function(){return i},TX:function(){return o},fm:function(){return a},HD:function(){return s},pt:function(){return u},PO:function(){return c},cO:function(){return p},kK:function(){return l},Kj:function(){return f},J8:function(){return d},Cy:function(){return h},V9:function(){return v}})},8536:function(t,e,n){n.d(e,{k:function(){return s}});var r=n(3699),i=(0,r.Rf)(),o="Sentry Logger ",a=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&(0,r.Cf)((function(){i.console.log(o+"[Log]: "+t.join(" "))}))},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&(0,r.Cf)((function(){i.console.warn(o+"[Warn]: "+t.join(" "))}))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&(0,r.Cf)((function(){i.console.error(o+"[Error]: "+t.join(" "))}))},t}();i.__SENTRY__=i.__SENTRY__||{};var s=i.__SENTRY__.logger||(i.__SENTRY__.logger=new a)},4048:function(t,e,n){n.d(e,{_:function(){return r}});var r=function(){function t(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var e=0;e<this._inner.length;e++){if(this._inner[e]===t)return!0}return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var e=0;e<this._inner.length;e++)if(this._inner[e]===t){this._inner.splice(e,1);break}},t}()},3699:function(t,e,n){n.d(e,{Rf:function(){return o},DM:function(){return a},en:function(){return s},jH:function(){return u},Cf:function(){return c},Db:function(){return p},EG:function(){return l},l4:function(){return f},JY:function(){return d}});var r=n(7392),i={};function o(){return(0,r.KV)()||"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function a(){var t=o(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}function s(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}function u(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function c(t){var e=o();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach((function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)}));var i=t();return Object.keys(r).forEach((function(t){n[t]=r[t]})),i}function p(t,e,n){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||e||"",t.exception.values[0].type=t.exception.values[0].type||n||"Error"}function l(t,e){void 0===e&&(e={});try{t.exception.values[0].mechanism=t.exception.values[0].mechanism||{},Object.keys(e).forEach((function(n){t.exception.values[0].mechanism[n]=e[n]}))}catch(n){}}function f(){try{return document.location.href}catch(t){return""}}function d(t,e){if(!e)return 6e4;var n=parseInt(""+e,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+e);return isNaN(r)?6e4:r-t}},7392:function(t,e,n){function r(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function i(t,e){return t.require(e)}function o(e){var n;try{n=i(t,e)}catch(o){}try{var r=i(t,"process").cwd;n=i(t,r()+"/node_modules/"+e)}catch(o){}return n}n.d(e,{KV:function(){return r},l$:function(){return i},$y:function(){return o}}),t=n.hmd(t)},1995:function(t,e,n){n.d(e,{hl:function(){return c},_j:function(){return p},Qy:function(){return d},Fv:function(){return m},zf:function(){return _},Jr:function(){return y}});var r=n(4715),i=n(4194),o=n(1757),a=n(4048),s=n(9038),u=n(9660);function c(t,e,n){if(e in t){var r=t[e],i=n(r);if("function"==typeof i)try{i.prototype=i.prototype||{},Object.defineProperties(i,{__sentry_original__:{enumerable:!1,value:r}})}catch(o){}t[e]=i}}function p(t){return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")}function l(t){if((0,o.VZ)(t)){var e=t,n={message:e.message,name:e.name,stack:e.stack};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}if((0,o.cO)(t)){var a=t,s={};s.type=a.type;try{s.target=(0,o.kK)(a.target)?(0,i.R)(a.target):Object.prototype.toString.call(a.target)}catch(u){s.target="<unknown>"}try{s.currentTarget=(0,o.kK)(a.currentTarget)?(0,i.R)(a.currentTarget):Object.prototype.toString.call(a.currentTarget)}catch(u){s.currentTarget="<unknown>"}for(var r in"undefined"!=typeof CustomEvent&&(0,o.V9)(t,CustomEvent)&&(s.detail=a.detail),a)Object.prototype.hasOwnProperty.call(a,r)&&(s[r]=a);return s}return t}function f(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function d(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r=m(t,e);return f(r)>n?d(t,e-1,n):r}function h(t,e){return"domain"===e&&t&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":"undefined"!=typeof window&&t===window?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":(0,o.Cy)(t)?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+(0,s.$)(t)+"]":"symbol"==typeof t?"["+String(t)+"]":"bigint"==typeof t?"[BigInt: "+String(t)+"]":t}function v(t,e,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new a._),0===n)return function(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=h(t);return(0,o.pt)(n)?n:e}(e);if(null!=e&&"function"==typeof e.toJSON)return e.toJSON();var i=h(e,t);if((0,o.pt)(i))return i;var s=l(e),u=Array.isArray(e)?[]:{};if(r.memoize(e))return"[Circular ~]";for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(u[c]=v(c,s[c],n-1,r));return r.unmemoize(e),u}function m(t,e){try{return JSON.parse(JSON.stringify(t,(function(t,n){return v(t,n,e)})))}catch(n){return"**non-serializable**"}}function _(t,e){void 0===e&&(e=40);var n=Object.keys(l(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,u.$G)(n[0],e);for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");if(!(i.length>e))return r===n.length?i:(0,u.$G)(i,e)}return""}function y(t){var e,n;if((0,o.PO)(t)){var i=t,a={};try{for(var s=(0,r.XA)(Object.keys(i)),u=s.next();!u.done;u=s.next()){var c=u.value;void 0!==i[c]&&(a[c]=y(i[c]))}}catch(p){e={error:p}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return a}return Array.isArray(t)?t.map(y):t}},467:function(t,e,n){n.d(e,{f:function(){return r}});var r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n]);return t})},8963:function(t,e,n){n.d(e,{D:function(){return o}});var r=n(4388),i=n(7946),o=function(){function t(t){this._limit=t,this._buffer=[]}return t.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},t.prototype.add=function(t){var e=this;if(!this.isReady())return i.c.reject(new r.b("Not adding Promise due to buffer limit reached."));var n=t();return-1===this._buffer.indexOf(n)&&this._buffer.push(n),n.then((function(){return e.remove(n)})).then(null,(function(){return e.remove(n).then(null,(function(){}))})),n},t.prototype.remove=function(t){return this._buffer.splice(this._buffer.indexOf(t),1)[0]},t.prototype.length=function(){return this._buffer.length},t.prototype.drain=function(t){var e=this;return new i.c((function(n){var r=setTimeout((function(){t&&t>0&&n(!1)}),t);i.c.all(e._buffer).then((function(){clearTimeout(r),n(!0)})).then(null,(function(){n(!0)}))}))},t}()},9038:function(t,e,n){n.d(e,{$:function(){return i}});var r="<anonymous>";function i(t){try{return t&&"function"==typeof t&&t.name||r}catch(e){return r}}},9660:function(t,e,n){n.d(e,{$G:function(){return i},nK:function(){return o},zC:function(){return a}});var r=n(1757);function i(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function o(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var i=t[r];try{n.push(String(i))}catch(o){n.push("[value cannot be serialized]")}}return n.join(e)}function a(t,e){return!!(0,r.HD)(t)&&((0,r.Kj)(e)?e.test(t):"string"==typeof e&&-1!==t.indexOf(e))}},9798:function(t,e,n){n.d(e,{Ak:function(){return o},Du:function(){return a},t$:function(){return s},hv:function(){return u},Bf:function(){return c}});var r=n(8536),i=n(3699);function o(){if(!("fetch"in(0,i.Rf)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function a(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function s(){if(!o())return!1;var t=(0,i.Rf)();if(a(t.fetch))return!0;var e=!1,n=t.document;if(n&&"function"==typeof n.createElement)try{var s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s),s.contentWindow&&s.contentWindow.fetch&&(e=a(s.contentWindow.fetch)),n.head.removeChild(s)}catch(u){r.k.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",u)}return e}function u(){if(!o())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}function c(){var t=(0,i.Rf)(),e=t.chrome,n=e&&e.app&&e.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&r}},7946:function(t,e,n){n.d(e,{c:function(){return o}});var r,i=n(1757);!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(r||(r={}));var o=function(){function t(t){var e=this;this._state=r.PENDING,this._handlers=[],this._resolve=function(t){e._setResult(r.RESOLVED,t)},this._reject=function(t){e._setResult(r.REJECTED,t)},this._setResult=function(t,n){e._state===r.PENDING&&((0,i.J8)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._attachHandler=function(t){e._handlers=e._handlers.concat(t),e._executeHandlers()},this._executeHandlers=function(){if(e._state!==r.PENDING){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t.done||(e._state===r.RESOLVED&&t.onfulfilled&&t.onfulfilled(e._value),e._state===r.REJECTED&&t.onrejected&&t.onrejected(e._value),t.done=!0)}))}};try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}return t.resolve=function(e){return new t((function(t){t(e)}))},t.reject=function(e){return new t((function(t,n){n(e)}))},t.all=function(e){return new t((function(n,r){if(Array.isArray(e))if(0!==e.length){var i=e.length,o=[];e.forEach((function(e,a){t.resolve(e).then((function(t){o[a]=t,0===(i-=1)&&n(o)})).then(null,r)}))}else n([]);else r(new TypeError("Promise.all requires an array as input."))}))},t.prototype.then=function(e,n){var r=this;return new t((function(t,i){r._attachHandler({done:!1,onfulfilled:function(n){if(e)try{return void t(e(n))}catch(r){return void i(r)}else t(n)},onrejected:function(e){if(n)try{return void t(n(e))}catch(r){return void i(r)}else i(e)}})}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(e){var n=this;return new t((function(t,r){var i,o;return n.then((function(t){o=!1,i=t,e&&e()}),(function(t){o=!0,i=t,e&&e()})).then((function(){o?r(i):t(i)}))}))},t.prototype.toString=function(){return"[object SyncPromise]"},t}()},7790:function(t,e,n){n.d(e,{yW:function(){return u},ph:function(){return c},_I:function(){return p},Z1:function(){return l}});var r=n(3699),i=n(7392);t=n.hmd(t);var o={nowSeconds:function(){return Date.now()/1e3}};var a=(0,i.KV)()?function(){try{return(0,i.l$)(t,"perf_hooks").performance}catch(e){return}}():function(){var t=(0,r.Rf)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),s=void 0===a?o:{nowSeconds:function(){return(a.timeOrigin+a.now())/1e3}},u=o.nowSeconds.bind(o),c=s.nowSeconds.bind(s),p=c,l=function(){var t=(0,r.Rf)().performance;if(t&&t.now){var e=36e5,n=t.now(),i=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+n-i):e,a=o<e,s=t.timing&&t.timing.navigationStart,u="number"==typeof s?Math.abs(s+n-i):e;return a||u<e?o<=u?("timeOrigin",t.timeOrigin):("navigationStart",s):("dateNow",i)}"none"}()},4715:function(t,e,n){n.d(e,{ZT:function(){return i},pi:function(){return o},XA:function(){return a},CR:function(){return s}});
32
+ /*! *****************************************************************************
33
+ Copyright (c) Microsoft Corporation.
34
+
35
+ Permission to use, copy, modify, and/or distribute this software for any
36
+ purpose with or without fee is hereby granted.
37
+
38
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
39
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
40
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
41
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
42
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
43
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
44
+ PERFORMANCE OF THIS SOFTWARE.
45
+ ***************************************************************************** */
46
+ var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}},7606:function(t){t.exports=window.wp.apiFetch}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r](o,o.exports,n),o.loaded=!0,o.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.hmd=function(t){return(t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};!function(){n.r(r);var t,e,i=n(2456),o=n(4678),a=n(9886),s=n(7606),u=n.n(s),c="true"===(null===(t=window.A8C_ETK_ErrorReporting_Config)||void 0===t?void 0:t.shouldActivateSentry),p=window._jsErr||[],l=window._headJsErrorHandler;c?(i.S1({dsn:"https://658ae291b00242148af6b76494d4a49a@o248881.ingest.sentry.io/5876245",integrations:[new a.jK.BrowserTracing],tracesSampleRate:1}),p.forEach((function(t){return o.Tb(t)})),i.yl().then((function(){return delete window._jsErr}))):(e=function(t){var e=t.error;if(e){var n={message:e.message,trace:e.stack,url:document.location.href,feature:"wp-admin"};return u()({global:!0,path:"/rest/v1.1/js-error",method:"POST",data:{error:JSON.stringify(n)}}).catch((function(){return console.error("Error: Unable to record the error in Logstash.")}))}},window.addEventListener("error",e),Promise.allSettled(p.map(e)).then((function(){return delete window._jsErr}))),window.removeEventListener("error",l),delete window._headJsErrorHandler}(),window.EditingToolkit=r}();
error-reporting/index.js CHANGED
@@ -1,5 +1,8 @@
 
 
1
  import apiFetch from '@wordpress/api-fetch';
2
 
 
3
  /**
4
  * Errors that happened before this script had a chance to load
5
  * are captured in a global array. See `./index.php`.
@@ -7,39 +10,64 @@ import apiFetch from '@wordpress/api-fetch';
7
  const headErrors = window._jsErr || [];
8
  const headErrorHandler = window._headJsErrorHandler;
9
 
10
- const reportError = ( { error } ) => {
11
- // Sanitized error event objects do not include a nested error attribute. In
12
- // that case, we return early to prevent a needless TypeError when defining
13
- // `data`, below. Also, sanitized errors don't include any useful information,
14
- // so the sensible thing to do is to completely ignore them.
15
- if ( ! error ) {
16
- return;
17
- }
18
-
19
- const data = {
20
- message: error.message,
21
- trace: error.stack,
22
- url: document.location.href,
23
- feature: 'wp-admin',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  };
25
 
26
- return (
27
- apiFetch( {
28
- global: true,
29
- path: '/rest/v1.1/js-error',
30
- method: 'POST',
31
- data: { error: JSON.stringify( data ) },
32
- } )
33
- // eslint-disable-next-line no-console
34
- .catch( () => console.error( 'Error: Unable to record the error in Logstash.' ) )
35
- );
36
- };
37
-
38
- window.addEventListener( 'error', reportError );
39
-
40
- // Remove the head handler as it's not needed anymore after we set the main one above
41
  window.removeEventListener( 'error', headErrorHandler );
42
  delete window._headJsErrorHandler;
43
-
44
- // We still need to report the head errors, if any.
45
- Promise.allSettled( headErrors.map( reportError ) ).then( () => delete window._jsErr );
1
+ import * as Sentry from '@sentry/browser';
2
+ import { Integrations } from '@sentry/tracing';
3
  import apiFetch from '@wordpress/api-fetch';
4
 
5
+ const shouldActivateSentry = window.A8C_ETK_ErrorReporting_Config?.shouldActivateSentry === 'true';
6
  /**
7
  * Errors that happened before this script had a chance to load
8
  * are captured in a global array. See `./index.php`.
10
  const headErrors = window._jsErr || [];
11
  const headErrorHandler = window._headJsErrorHandler;
12
 
13
+ function activateSentry() {
14
+ Sentry.init( {
15
+ dsn: 'https://658ae291b00242148af6b76494d4a49a@o248881.ingest.sentry.io/5876245',
16
+ integrations: [ new Integrations.BrowserTracing() ],
17
+
18
+ // Set tracesSampleRate to 1.0 to capture 100%
19
+ // of transactions for performance monitoring.
20
+ // We recommend adjusting this value in production
21
+ tracesSampleRate: 1.0,
22
+ } );
23
+
24
+ // We still need to report the head errors, if any.
25
+ headErrors.forEach( ( error ) => Sentry.captureException( error ) );
26
+ Sentry.flush().then( () => delete window._jsErr );
27
+ }
28
+
29
+ // Activate the home-brew error-reporting
30
+ function activateHomebrewErrorReporting() {
31
+ const reportError = ( { error } ) => {
32
+ // Sanitized error event objects do not include a nested error attribute. In
33
+ // that case, we return early to prevent a needless TypeError when defining
34
+ // `data`, below. Also, sanitized errors don't include any useful information,
35
+ // so the sensible thing to do is to completely ignore them.
36
+ if ( ! error ) {
37
+ return;
38
+ }
39
+
40
+ const data = {
41
+ message: error.message,
42
+ trace: error.stack,
43
+ url: document.location.href,
44
+ feature: 'wp-admin',
45
+ };
46
+
47
+ return (
48
+ apiFetch( {
49
+ global: true,
50
+ path: '/rest/v1.1/js-error',
51
+ method: 'POST',
52
+ data: { error: JSON.stringify( data ) },
53
+ } )
54
+ // eslint-disable-next-line no-console
55
+ .catch( () => console.error( 'Error: Unable to record the error in Logstash.' ) )
56
+ );
57
  };
58
 
59
+ window.addEventListener( 'error', reportError );
60
+
61
+ // We still need to report the head errors, if any.
62
+ Promise.allSettled( headErrors.map( reportError ) ).then( () => delete window._jsErr );
63
+ }
64
+
65
+ if ( shouldActivateSentry ) {
66
+ activateSentry();
67
+ } else {
68
+ activateHomebrewErrorReporting();
69
+ }
70
+
71
+ // Remove the head handler as it's not needed anymore after we set the main one above (either Sentry or homebrew)
 
 
72
  window.removeEventListener( 'error', headErrorHandler );
73
  delete window._headJsErrorHandler;
 
 
 
error-reporting/index.php CHANGED
@@ -40,6 +40,53 @@ function add_crossorigin_to_script_els( $tag ) {
40
  return $tag;
41
  }
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  /**
44
  * Enqueue assets
45
  */
@@ -47,38 +94,41 @@ function enqueue_script() {
47
  $asset_file = include plugin_dir_path( __FILE__ ) . 'dist/error-reporting.asset.php';
48
  $script_dependencies = isset( $asset_file['dependencies'] ) ? $asset_file['dependencies'] : array();
49
  $script_version = isset( $asset_file['version'] ) ? $asset_file['version'] : filemtime( plugin_dir_path( __FILE__ ) . 'dist/error-reporting.js' );
 
50
 
51
  wp_enqueue_script(
52
- 'a8c-fse-error-reporting-script',
53
  plugins_url( 'dist/error-reporting.js', __FILE__ ),
54
  $script_dependencies,
55
  $script_version,
56
  true
57
  );
 
 
 
 
 
 
 
 
58
  }
59
 
60
  /**
61
- * Effectivelly activates the error reporting module by setting the necessary hooks.
 
 
 
62
  */
63
- function activate_error_reporting() {
64
- add_action( 'admin_print_scripts', __NAMESPACE__ . '\head_error_handler' );
65
  add_filter( 'script_loader_tag', __NAMESPACE__ . '\add_crossorigin_to_script_els', 99, 2 );
66
  // We load as last as possible for perf reasons. The head handler will
67
  // capture errors until the main handler is loaded.
68
  add_action( 'admin_enqueue_scripts', __NAMESPACE__ . '\enqueue_script', 99 );
69
  }
70
 
71
- /**
72
- * Returns whether or not the site loading ETK is in the WoA env.
73
- *
74
- * @return bool
75
- */
76
- function is_atomic() {
77
- return defined( 'IS_ATOMIC' ) && IS_ATOMIC;
78
- }
79
-
80
  // We don't want to activate this module in AT just yet. See https://wp.me/p4TIVU-9DI#comment-10922.
81
  // @todo Remove once we have a version that works for WPCOM simple sites and WoA.
82
  if ( ! is_atomic() ) {
83
- activate_error_reporting();
84
  }
40
  return $tag;
41
  }
42
 
43
+ /**
44
+ * Temporary function to feature flag Sentry by segment. We'll be testing
45
+ * it on production (simple sites) for a while to see if it's feasible to
46
+ * activate it for all sites and perhaps get rid of our custom solution.
47
+ * If it works well, we'll activate for all simple sites and look into.
48
+ * activating it for WoA, too.
49
+ *
50
+ * @param int $user_id the user id.
51
+ * @return bool
52
+ */
53
+ function user_in_sentry_test_segment( $user_id ) {
54
+ $current_segment = 1; // segment of existing users that will get this feature in %.
55
+ $user_segment = $user_id % 100;
56
+
57
+ // We get the last two digits of the user id and that will be used to decide in what
58
+ // segment the user is. i.e if current_segment is 10, then only ids that end in < 10
59
+ // will be considered part of the segment.
60
+ return $user_segment < $current_segment;
61
+ }
62
+
63
+ /**
64
+ * Returns whether or not the site loading ETK is in the WoA env.
65
+ *
66
+ * @return bool
67
+ */
68
+ function is_atomic() {
69
+ return defined( 'IS_ATOMIC' ) && IS_ATOMIC;
70
+ }
71
+
72
+ /**
73
+ * Return whether Sentry should be activated for a given user.
74
+ *
75
+ * In this phase, a12s have the possibility of configuring what error reporter to choose
76
+ * through the sticker. a12s shouldn not be covered by the segment logic.
77
+ *
78
+ * Regular users have the error reporter chosen based on the segmentation logic, only.
79
+ *
80
+ * @param int $user_id The user id. Used to check if the user is A8C or in
81
+ * the Sentry test segment.
82
+ * @param int $blog_id The blog ID. Usually the value of `get_current_blog_id`.
83
+ * Used to check if the sticker is applied if user is A8C.
84
+ */
85
+ function should_activate_sentry( $user_id, $blog_id ) {
86
+ return ( is_automattician( $user_id ) && has_blog_sticker( 'error-reporting-use-sentry', $blog_id ) )
87
+ || ( ! is_automattician( $user_id ) && user_in_sentry_test_segment( $user_id ) );
88
+ }
89
+
90
  /**
91
  * Enqueue assets
92
  */
94
  $asset_file = include plugin_dir_path( __FILE__ ) . 'dist/error-reporting.asset.php';
95
  $script_dependencies = isset( $asset_file['dependencies'] ) ? $asset_file['dependencies'] : array();
96
  $script_version = isset( $asset_file['version'] ) ? $asset_file['version'] : filemtime( plugin_dir_path( __FILE__ ) . 'dist/error-reporting.js' );
97
+ $script_id = 'a8c-fse-error-reporting-script';
98
 
99
  wp_enqueue_script(
100
+ $script_id,
101
  plugins_url( 'dist/error-reporting.js', __FILE__ ),
102
  $script_dependencies,
103
  $script_version,
104
  true
105
  );
106
+
107
+ wp_localize_script(
108
+ $script_id,
109
+ 'A8C_ETK_ErrorReporting_Config',
110
+ array(
111
+ 'shouldActivateSentry' => should_activate_sentry( get_current_user_id(), get_current_blog_id() ) ? 'true' : 'false',
112
+ )
113
+ );
114
  }
115
 
116
  /**
117
+ * Setup the error reporting module by setting the necessary hooks. Whether or not we get the
118
+ * homebrew version or Sentry is decided inside the `enqueue_script` function, stored in a bool
119
+ * var, and passed over to the clientside script (index.js) which will then use this value to
120
+ * decide what tool to activate.
121
  */
122
+ function setup_error_reporting() {
123
+ add_action( 'admin_print_scripts', __NAMESPACE__ . '\head_error_handler', 0 );
124
  add_filter( 'script_loader_tag', __NAMESPACE__ . '\add_crossorigin_to_script_els', 99, 2 );
125
  // We load as last as possible for perf reasons. The head handler will
126
  // capture errors until the main handler is loaded.
127
  add_action( 'admin_enqueue_scripts', __NAMESPACE__ . '\enqueue_script', 99 );
128
  }
129
 
 
 
 
 
 
 
 
 
 
130
  // We don't want to activate this module in AT just yet. See https://wp.me/p4TIVU-9DI#comment-10922.
131
  // @todo Remove once we have a version that works for WPCOM simple sites and WoA.
132
  if ( ! is_atomic() ) {
133
+ setup_error_reporting();
134
  }
event-countdown-block/dist/event-countdown-block.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-blocks', 'wp-components', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '4911d18e15c382b50318f9ade8150803');
1
+ <?php return array('dependencies' => array('wp-blocks', 'wp-components', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '8acaf904b802eed3600a66735c3e746e');
full-site-editing-plugin.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: WordPress.com Editing Toolkit
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
- * Version: 3.11739
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
@@ -42,7 +42,7 @@ namespace A8C\FSE;
42
  *
43
  * @var string
44
  */
45
- define( 'A8C_ETK_PLUGIN_VERSION', '3.11739' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  require_once __DIR__ . '/dotcom-fse/helpers.php';
2
  /**
3
  * Plugin Name: WordPress.com Editing Toolkit
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
+ * Version: 3.11814
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
42
  *
43
  * @var string
44
  */
45
+ define( 'A8C_ETK_PLUGIN_VERSION', '3.11814' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  require_once __DIR__ . '/dotcom-fse/helpers.php';
global-styles/dist/customizer-fonts.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c42192f4d3b848f5ccc73e29b5894d0d');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => '64c693694637868461fb39895d57a169');
global-styles/dist/global-styles.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-url'), 'version' => '1647734110db61a68f89ada8088f6f82');
1
+ <?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-url'), 'version' => '6d115674d5b5e56dd895761bbcb36a4a');
jetpack-timeline/dist/jetpack-timeline.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '1a5db4c1bf87c577ec1ef0de3699a3b3');
1
+ <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'ea4bd2a6d04d244122646b017fe1febf');
newspack-blocks/dist/blog-posts-block-editor.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'd54e74b78838372dc6ea154d0d7f427a');
1
+ <?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'a48a6724bff3af71b8e8c8fa04c62869');
newspack-blocks/dist/blog-posts-block-view.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'e3c2c6be6776aa08ca0a688050d07572');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'f792ec17968f5e1c32f48a4804367c47');
newspack-blocks/dist/carousel-block-editor.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '97cb7acb01303c21f26a0fa6058fb72e');
1
+ <?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '7e834da1f5fba270a75b39c87b52ff19');
newspack-blocks/dist/carousel-block-editor.js CHANGED
@@ -3,4 +3,4 @@
3
  Copyright (c) 2018 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)){if(n.length){var s=i.apply(null,n);s&&e.push(s)}}else if("object"===r)if(n.toString===Object.prototype.toString)for(var o in n)a.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},8803:function(){},8073:function(){},4457:function(){},2397:function(e,t,n){"use strict";var a=n(1260);t.ZP=a.ZP},608:function(e,t,n){"use strict";n.d(t,{RE:function(){return a.RE},gz:function(){return a.gz}});var a=n(5703)},8717:function(e,t,n){"use strict";n.d(t,{md:function(){return p},qC:function(){return d},MT:function(){return o}});var a=n(4527),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},r={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function s(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function o(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var l=e,c=t,u=[],d=u,p=!1;function f(){d===u&&(d=u.slice())}function h(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function v(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return f(),d.push(e),function(){if(t){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,f();var n=d.indexOf(e);d.splice(n,1),u=null}}}function m(e){if(!s(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,c=l(c,e)}finally{p=!1}for(var t=u=d,n=0;n<t.length;n++){(0,t[n])()}return e}function g(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,m({type:r.REPLACE})}function b(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[a.Z]=function(){return this},e}return m({type:r.INIT}),(i={dispatch:m,subscribe:v,getState:h,replaceReducer:g})[a.Z]=b,i}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(n,!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),a=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},r=t.map((function(e){return e(i)}));return u({},n,{dispatch:a=d.apply(void 0,r)(n.dispatch)})}}}},5913:function(e,t,n){"use strict";n.d(t,{u:function(){return i},t:function(){return a}});var a="undefined"==typeof document?{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[]}}},location:{hash:""}}:document,i="undefined"==typeof window?{document:a,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window},4527:function(e,t,n){"use strict";var a,i=n(9462);e=n.hmd(e),a="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var r=(0,i.Z)(a);t.Z=r},9462:function(e,t,n){"use strict";function a(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,{Z:function(){return a}})},1136:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var a="a8c/posts-carousel"},1188:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var a=n(402),i=n(7950),r=n(3163),s=n(9529),__=r.__,o="wp-block-newspack-blocks-carousel__autoplay-playing";function l(e,t){Array.prototype.forEach.call(e,t)}function c(e){e&&(e.setAttribute("aria-hidden","false"),l(e.querySelectorAll("a"),(function(e){return e.removeAttribute("tabindex")})))}function u(e){e&&(e.setAttribute("aria-hidden","true"),l(e.querySelectorAll("a"),(function(e){return e.setAttribute("tabindex","-1")})))}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=0<e.container.offsetWidth&&0<e.container.offsetHeight;if(!n)return!1;var d=new s.Z(e.container,{a11y:!1,autoplay:!!t.autoplay&&{delay:t.delay,disableOnInteraction:!1},effect:"slide",grabCursor:!0,init:!1,initialSlide:t.initialSlide||0,loop:!0,navigation:{nextEl:e.next,prevEl:e.prev},pagination:{bulletElement:"button",clickable:!0,el:e.pagination,type:"bullets",renderBullet:function(e,t){return'<button class="'.concat(t,'"><span>').concat((0,r.sprintf)(__("Slide %s","newspack-blocks"),e+1),"</span></button>")}},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,slidesPerView:t.slidesPerView,spaceBetween:16,touchStartPreventDefault:!1,breakpoints:{600:{slidesPerView:t.slidesPerView>1?2:1}},on:{init:function(){l(this.wrapperEl.querySelectorAll(".swiper-slide"),(function(e){return u(e)})),c(this.slides[this.activeIndex])},slideChange:function(){var e=this.slides[this.activeIndex];if(u(this.slides[this.previousIndex]),c(e),!this.autoplay.running){var t=e.querySelector("img"),n=!!t&&(null==t?void 0:t.alt),s=(0,r.sprintf)(__("Slide %s of %s","newspack-blocks"),this.realIndex+1,this.pagination.bullets.length);(0,a.speak)((0,i.escapeHTML)("".concat(e.innerText,",\n\t\t\t\t\t\t\t").concat(n?(0,r.sprintf)(__("Image: %s, ","newspack-blocks"),n):"","\n\t\t\t\t\t\t\t").concat(s)),"assertive")}}}});function p(){var e=t.aspectRatio;Array.from(this.slides).forEach((function(t){t.style.height="".concat(t.clientWidth*e,"px")}))}if(d.on("imagesReady",p),d.on("resize",p),t.autoplay){function f(){d.autoplay.stop(),e.play.focus()}function h(){d.autoplay.start(),e.pause.focus()}d.on("init",(function(){e.play.addEventListener("click",h),e.pause.addEventListener("click",f)})),d.on("autoplayStart",(function(){e.block.classList.add(o),(0,a.speak)(__("Playing","newspack-blocks"),"assertive")})),d.on("autoplayStop",(function(){e.block.classList.remove(o),(0,a.speak)(__("Paused","newspack-blocks"),"assertive")})),d.on("beforeDestroy",(function(){e.play.removeEventListener("click",h),e.pause.removeEventListener("click",f)}))}return d.init(),d}},1787:function(e,t,n){"use strict";var a=n(1766),i=n(4659),r=n(4730),s=n(5663),o=n(9049),l=n(3027),c=n(3804),u=n(2779),d=n.n(u),p=n(3163),f=n(6399),h=n(7947),v=n(7997),m=n(5707),g=n(1417),b=n(1424),w=n(5113),y=n(1188),E=n(904),x=n(8328),__=p.__,S=function(e){(0,s.Z)(n,e);var t=(0,o.Z)(n);function n(e){var a;return(0,i.Z)(this,n),(a=t.call(this,e)).btnPlayRef=(0,l.createRef)(),a.btnPauseRef=(0,l.createRef)(),a.btnNextRef=(0,l.createRef)(),a.btnPrevRef=(0,l.createRef)(),a.carouselRef=(0,l.createRef)(),a.paginationRef=(0,l.createRef)(),a.state={swiperInitialized:!1},a}return(0,r.Z)(n,[{key:"componentDidMount",value:function(){this.initializeSwiper(0),this.props.triggerReflow()}},{key:"componentDidUpdate",value:function(e){if(!(0<this.carouselRef.current.offsetWidth&&0<this.carouselRef.current.offsetHeight))return!1;if(!this.state.swiperInitialized)return this.initializeSwiper(0);(0,x.Ou)(e,this.props)&&this.props.triggerReflow();var t=this.props,n=t.attributes,a=t.latestPosts;if(!(0,c.isEqual)(e.latestPosts,a)||!(0,c.isEqual)(e.attributes,n)){var i=0;this.swiperInstance&&(a&&this.swiperInstance.realIndex<a.length&&(i=this.swiperInstance.realIndex),this.swiperInstance.destroy(!0,!0)),this.initializeSwiper(i)}}},{key:"componentWillUnmount",value:function(){this.props.triggerReflow()}},{key:"initializeSwiper",value:function(e){var t=this.props.latestPosts;if(t&&t.length){var n=this.props.attributes,a=n.aspectRatio,i=n.autoplay,r=n.delay,s=n.slidesPerView,o=(0,y.Z)({block:this.carouselRef.current,container:this.carouselRef.current,next:this.btnNextRef.current,prev:this.btnPrevRef.current,play:this.btnPlayRef.current,pause:this.btnPauseRef.current,pagination:this.paginationRef.current},{aspectRatio:a,autoplay:i,delay:1e3*r,initialSlide:e,slidesPerView:s<=t.length?s:t.length});o&&(this.swiperInstance=o,this.setState({swiperInitialized:!0}))}}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.availablePostTypes,i=e.className,r=e.setAttributes,s=e.latestPosts,o=e.isUIDisabled,c=t.aspectRatio,u=t.authors,p=t.autoplay,m=t.categories,g=t.delay,y=t.hideControls,x=t.imageFit,S=t.postsToShow,T=t.postType,C=t.showCategory,k=t.showDate,P=t.showAuthor,M=t.showAvatar,I=t.showTitle,z=t.slidesPerView,$=t.specificMode,O=t.specificPosts,L=t.tags,A=d()(i,"wp-block-newspack-blocks-carousel","swiper-container",{"wp-block-newspack-blocks-carousel__autoplay-playing":p,"newspack-block--disabled":o,"hide-controls":y}),D=(0,h.__experimentalGetSettings)().formats.date,N=s&&!s.length,_=s&&1===s.length,R=s?Math.min(S,s.length):S,B=[{value:1,label:__("Square","newspack-blocks"),shortName:__("1:1","newspack-blocks")},{value:.75,label:__("4:3","newspack-blocks"),shortName:__("4:3","newspack-blocks")},{value:.5625,label:__("16:9","newspack-blocks"),shortName:__("16:9","newspack-blocks")},{value:4/3,label:__("3:4","newspack-blocks"),shortName:__("3:4","newspack-blocks")},{value:16/9,label:__("9:16","newspack-blocks"),shortName:__("9:16","newspack-blocks")}];return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{className:A,ref:this.carouselRef},N&&(0,l.createElement)(v.Placeholder,{className:"component-placeholder__align-center"},(0,l.createElement)("div",{style:{margin:"auto"}},__("Sorry, no posts were found."))),!s&&(0,l.createElement)(v.Placeholder,{icon:(0,l.createElement)(v.Spinner,null),className:"component-placeholder__align-center"}),s&&(0,l.createElement)(l.Fragment,null,p&&(0,l.createElement)(l.Fragment,null,(0,l.createElement)("button",{className:"amp-carousel-button-pause amp-carousel-button",ref:this.btnPauseRef}),(0,l.createElement)("button",{className:"amp-carousel-button-play amp-carousel-button",ref:this.btnPlayRef})),(0,l.createElement)("div",{className:"swiper-wrapper"},s.map((function(e){return(0,l.createElement)("article",{className:"post-has-image swiper-slide ".concat(e.post_type),key:e.id},(0,l.createElement)("figure",{className:"post-thumbnail"},(0,l.createElement)("a",{href:"#",rel:"bookmark"},e.newspack_featured_image_src?(0,l.createElement)("img",{className:"image-fit-".concat(x),src:e.newspack_featured_image_src.large,alt:""}):(0,l.createElement)("div",{className:"wp-block-newspack-blocks-carousel__placeholder"}))),(e.newspack_post_sponsors||C||I||P||k)&&(0,l.createElement)("div",{className:"entry-wrapper"},e.newspack_post_sponsors&&(0,l.createElement)("span",{className:"cat-links sponsor-label"},(0,l.createElement)("span",{className:"flag"},e.newspack_post_sponsors[0].flag)),C&&e.newspack_category_info.length&&!e.newspack_post_sponsors&&(0,l.createElement)("div",{className:"cat-links"},(0,l.createElement)("a",{href:"#"},(0,b.decodeEntities)(e.newspack_category_info))),I&&(0,l.createElement)("h3",{className:"entry-title"},(0,l.createElement)("a",{href:"#"},(0,b.decodeEntities)(e.title.rendered.trim()))),(0,l.createElement)("div",{className:"entry-meta"},e.newspack_post_sponsors&&(0,E.b2)(e.newspack_post_sponsors),e.newspack_post_sponsors&&(0,E.Q$)(e.newspack_post_sponsors),P&&M&&!e.newspack_post_sponsors&&(0,E.lW)(e.newspack_author_info),P&&!e.newspack_post_sponsors&&(0,E.FX)(e.newspack_author_info),k&&(0,l.createElement)("time",{className:"entry-date published",key:"pub-date"},(0,h.dateI18n)(D,e.date_gmt)))))}))),!N&&!_&&(0,l.createElement)(l.Fragment,null,(0,l.createElement)("button",{className:"amp-carousel-button amp-carousel-button-prev swiper-button-prev",ref:this.btnPrevRef}),(0,l.createElement)("button",{className:"amp-carousel-button amp-carousel-button-next swiper-button-next",ref:this.btnNextRef}),(0,l.createElement)("div",{className:"swiper-pagination-bullets amp-pagination",ref:this.paginationRef})))),(0,l.createElement)(f.InspectorControls,null,(0,l.createElement)(v.PanelBody,{title:__("Display Settings"),initialOpen:!0},S&&(0,l.createElement)(w.Z,{numberOfItems:S,onNumberOfItemsChange:function(e){return r({postsToShow:e||1})},authors:u,onAuthorsChange:function(e){return r({authors:e})},categories:m,onCategoriesChange:function(e){return r({categories:e})},tags:L,onTagsChange:function(e){return r({tags:e})},specificMode:$,onSpecificModeChange:function(e){return r({specificMode:e})},specificPosts:O,onSpecificPostsChange:function(e){return r({specificPosts:e})},postType:T})),(0,l.createElement)(v.PanelBody,{title:__("Slideshow Settings"),initialOpen:!0},(0,l.createElement)(v.BaseControl,{label:__("Slide Aspect Ratio","newspack-blocks"),help:__("All slides will share the same aspect ratio, for consistency.","newspack-popups"),id:"newspack-blocks__aspect-ratio-control"},(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ButtonGroup,{id:"newspack-blocks__aspect-ratio-control-buttons","aria-label":__("Slide Aspect Ratio","newspack-blocks")},B.map((function(e){var t=c===e.value;return(0,l.createElement)(v.Button,{isLarge:!0,isPrimary:t,"aria-pressed":t,"aria-label":e.label,key:e.value,onClick:function(){return r({aspectRatio:e.value})}},e.shortName)}))))),(0,l.createElement)(v.BaseControl,{label:__("Image Fit","newspack-blocks"),help:__("cover"===x?"The image will fill the entire slide and will be cropped if necessary.":"The image will be resized to fit inside the slide without being cropped.","newspack-popups"),id:"newspack-blocks__blocks__image-fit-control"},(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ButtonGroup,{id:"newspack-blocks__image-fit-buttons","aria-label":__("Image Fit","newspack-blocks")},(0,l.createElement)(v.Button,{isLarge:!0,isPrimary:"cover"===x,"aria-pressed":"cover"===x,"aria-label":__("Cover","newspack-blocks"),onClick:function(){return r({imageFit:"cover"})}},__("Cover","newspack-blocks")),(0,l.createElement)(v.Button,{isLarge:!0,isPrimary:"contain"===x,"aria-pressed":"contain"===x,"aria-label":__("Contain","newspack-blocks"),onClick:function(){return r({imageFit:"contain"})}},__("Contain","newspack-blocks"))))),(0,l.createElement)(v.ToggleControl,{label:__("Hide Controls"),help:__("Hide the slideshow UI. Useful when used with Autoplay."),checked:y,onChange:function(e){r({hideControls:e})}}),(0,l.createElement)(v.ToggleControl,{label:__("Autoplay"),help:__("Autoplay between slides"),checked:p,onChange:function(e){r({autoplay:e})}}),p&&(0,l.createElement)(v.RangeControl,{label:__("Delay between transitions (in seconds)"),value:g,onChange:function(e){r({delay:e})},min:1,max:20}),s&&1<s.length&&(0,l.createElement)(v.RangeControl,{label:__("Number of slides to show at once"),value:z<=s.length?z:s.length,onChange:function(e){r({slidesPerView:e})},min:1,max:$?Math.min(6,s.length):Math.min(6,R)})),(0,l.createElement)(v.PanelBody,{title:__("Article Meta Settings","newspack-blocks")},(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ToggleControl,{label:__("Show Title","newspack-blocks"),checked:I,onChange:function(){return r({showTitle:!I})}})),(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ToggleControl,{label:__("Show Date","newspack-blocks"),checked:k,onChange:function(){return r({showDate:!k})}})),(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ToggleControl,{label:__("Show Category","newspack-blocks"),checked:C,onChange:function(){return r({showCategory:!C})}})),(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ToggleControl,{label:__("Show Author","newspack-blocks"),checked:P,onChange:function(){return r({showAuthor:!P})}})),P&&(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ToggleControl,{label:__("Show Author Avatar","newspack-blocks"),checked:M,onChange:function(){return r({showAvatar:!M})}}))),(0,l.createElement)(v.PanelBody,{title:__("Post Types","newspack-blocks")},n&&n.map((function(e){var t=e.name,n=e.slug;return(0,l.createElement)(v.PanelRow,{key:n},(0,l.createElement)(v.CheckboxControl,{label:t,checked:T.indexOf(n)>-1,onChange:function(e){var t=(0,a.Z)(new Set(T));e&&-1===t.indexOf(n)?t.push(n):!e&&t.indexOf(n)>-1&&t.splice(t.indexOf(n),1),r({postType:t})}}))})))))}}]),n}(l.Component);t.Z=(0,g.compose)([(0,m.withSelect)(x.b9),(0,m.withDispatch)(x.eL)])(S)},9564:function(e,t,n){"use strict";n.d(t,{Xd:function(){return o}});var a=n(3027),i=n(7997),r=n(3163),s=n(1787),__=(n(8073),n(8803),r.__),o={title:__("Post Carousel"),icon:{src:(0,a.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,a.createElement)(i.Path,{clipRule:"evenodd",d:"M7 18V6a2 2 0 012-2h6a2 2 0 012 2v12a2 2 0 01-2 2H9a2 2 0 01-2-2zM8.5 6v12a.5.5 0 00.5.5h6a.5.5 0 00.5-.5V6a.5.5 0 00-.5-.5H9a.5.5 0 00-.5.5z",fillRule:"evenodd"}),(0,a.createElement)(i.Path,{d:"M4 18.5v-13h1.5v13zM18.5 5.5v13H20v-13z"})),foreground:"#36f"},category:"newspack",keywords:[__("posts"),__("slideshow"),__("carousel")],description:__("A carousel of posts."),attributes:{className:{type:"string"},imageFit:{type:"string",default:"cover"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:5},postsToShow:{type:"integer",default:3},authors:{type:"array"},categories:{type:"array"},tags:{type:"array"},showDate:{type:"boolean",default:!0},showAuthor:{type:"boolean",default:!0},showAvatar:{type:"boolean",default:!0},showCategory:{type:"boolean",default:!1},showTitle:{type:"boolean",default:!0},postType:{type:"array",default:["post"],items:{type:"string"}},specificMode:{type:"boolean",default:!1},specificPosts:{type:"array",default:[],items:{type:"integer"}},slidesPerView:{type:"number",default:1},hideControls:{type:"boolean",default:!1},aspectRatio:{type:"number",default:.75}},supports:{html:!1,align:["center","wide","full"]},edit:s.Z,save:function(){return null}}},9707:function(e,t,n){"use strict";n.d(t,{$:function(){return c}});var a=n(9394),i=n(8717),r=(n(608),n(2397)),s=n(3804),o=(n(5707),n(7606),n(791),n(8177)),l=(n(8328),o.u2),c="newspack-blocks/".concat(l),u={postsByBlock:{},errorsByBlock:{}},d={reflow:function(){h.dispatch({type:"REFLOW"})}},p={getPosts:function(e){var t=e.clientId;return h.getState().postsByBlock[t]},getError:function(e){var t=e.clientId;return h.getState().errorsByBlock[t]},isUIDisabled:function(){return h.getState().isUIDisabled}},f=(0,r.ZP)(),h=(0,i.MT)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DISABLE_UI":return(0,s.set)(e,"isUIDisabled",!0);case"ENABLE_UI":return(0,s.set)(e,"isUIDisabled",!1);case"UPDATE_BLOCK_POSTS":return(0,s.set)(e,["postsByBlock",t.clientId],t.posts);case"UPDATE_BLOCK_ERROR":return(0,s.set)(e,["errorsByBlock",t.clientId],t.error)}return e}),(0,i.md)(f));(0,a.Z)({getSelectors:function(){return p},getActions:function(){return d}},h),JSON.stringify},8328:function(e,t,n){"use strict";n.d(t,{Ou:function(){return o},b9:function(){return d},eL:function(){return p}});var a=n(3804),i=n(3163),r=n(9707),__=i.__,s=["postsToShow","authors","categories","excerptLength","tags","showExcerpt","specificPosts","specificMode","tagExclusions","postType"],o=function(e,t){return!(0,a.isEqual)((0,a.pick)(e.attributes,s),(0,a.pick)(t.attributes,s))||!(0,a.isEqual)(e.topBlocksClientIdsInOrder,t.topBlocksClientIdsInOrder)},l=function e(t){return t.flatMap((function(t){var n=[];return n.push(t.clientId),n.concat(e(t.innerBlocks))}))},c=window.newspack_blocks_data.assets_path,u=function(e){var t=new Date;return t.setHours(12,0,0,0),{author:1,content:{rendered:"<p>"+__("The post content.","newspack")+"</p>"},date_gmt:t.toISOString(),excerpt:{rendered:"<p>"+__("The post excerpt.","newspack")+"</p>"},featured_media:"1",id:e,meta:{newspack_post_subtitle:__("Post Subtitle","newspack")},title:{rendered:__("Post Title","newspack")},newspack_article_classes:"type-post",newspack_author_info:[{display_name:__("Author Name","newspack"),avatar:'<div style="background: #36f;width: 40px;height: 40px;display: block;overflow: hidden;border-radius: 50%; max-width: 100%; max-height: 100%;"></div>',id:1,author_link:"/"}],newspack_category_info:__("Category","newspack"),newspack_featured_image_caption:__("Featured image caption","newspack"),newspack_featured_image_src:{large:"".concat(c,"/newspack-1024x536.jpg"),landscape:"".concat(c,"/newspack-800x600.jpg"),portrait:"".concat(c,"/newspack-600x800.jpg"),square:"".concat(c,"/newspack-800x800.jpg"),uncropped:"".concat(c,"/newspack-1024x536.jpg")},newspack_has_custom_excerpt:!1,newspack_post_format:"standard",newspack_post_sponsors:!1}},d=function(e,t){var n,i=t.clientId,s=t.attributes,o=e("core").getPostTypes,c=e("core/editor").getEditorBlocks,d=e("core/block-editor").getBlocks,p=l(c()).indexOf(i)>=0,f=e(r.$),h=f.getPosts,v=f.getError,m={isEditorBlock:p,isUIDisabled:(0,f.isUIDisabled)(),error:v({clientId:i}),topBlocksClientIdsInOrder:d().map((function(e){return e.clientId})),availablePostTypes:null===(n=o({per_page:-1}))||void 0===n?void 0:n.filter((function(e){return e.supports.newspack_blocks}))};return m.latestPosts=p?h({clientId:i}):function(e){return(0,a.times)(e.postsToShow,u)}(s),m},p=function(e,t){return{triggerReflow:t.isEditorBlock?e(r.$).reflow:function(){}}}},7045:function(e,t,n){"use strict";var a=n(1766),i=n(4659),r=n(4730),s=n(3989),o=n(5663),l=n(9049),c=n(1119),u=n(3027),d=n(3804),p=n(7997),f=(n(4457),function(e){(0,o.Z)(n,e);var t=(0,l.Z)(n);function n(e){var a;return(0,i.Z)(this,n),a=t.call(this,e),(0,c.Z)((0,s.Z)(a),"isFetchingInfoOnLoad",(function(){var e=a.props,t=e.tokens,n=e.fetchSavedInfo;return Boolean(t.length&&n)})),a.state={suggestions:[],validValues:{},loading:a.isFetchingInfoOnLoad()},a.debouncedUpdateSuggestions=(0,d.debounce)(a.updateSuggestions,500),a}return(0,r.Z)(n,[{key:"componentDidMount",value:function(){var e=this;if(this.isFetchingInfoOnLoad()){var t=this.props,n=t.tokens;(0,t.fetchSavedInfo)(n).then((function(t){var n=e.state.validValues;t.forEach((function(e){n[e.value]=e.label})),e.setState({validValues:n,loading:!1})}))}}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}},{key:"getLabelsForValues",value:function(e){var t=this.state.validValues;return e.reduce((function(e,n){return t[n]?[].concat((0,a.Z)(e),[t[n]]):e}),[])}},{key:"getValuesForLabels",value:function(e){var t=this.state.validValues;return e.map((function(e){return Object.keys(t).find((function(n){return t[n]===e}))}))}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props.fetchSuggestions;n&&this.setState({loading:!0},(function(){var a=n(e);a.then((function(e){if(t.suggestionsRequest===a){var n=t.state.validValues,i=[];e.forEach((function(e){i.indexOf(e.label)>=0&&(e.label="".concat(e.label," (").concat(e.value,")")),i.push(e.label),n[e.value]=e.label})),t.setState({suggestions:i,validValues:n,loading:!1})}})).catch((function(){t.suggestionsRequest===a&&t.setState({loading:!1})})),t.suggestionsRequest=a}))}},{key:"handleOnChange",value:function(e){(0,this.props.onChange)(this.getValuesForLabels(e))}},{key:"getTokens",value:function(){var e=this.props.tokens;return this.getLabelsForValues(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.help,a=t.label,i=void 0===a?"":a,r=this.state,s=r.suggestions,o=r.loading;return(0,u.createElement)("div",{className:"autocomplete-tokenfield"},(0,u.createElement)(p.FormTokenField,{value:this.getTokens(),suggestions:s,onChange:function(t){return e.handleOnChange(t)},onInputChange:function(t){return e.debouncedUpdateSuggestions(t)},label:i}),o&&(0,u.createElement)(p.Spinner,null),n&&(0,u.createElement)("p",{className:"autocomplete-tokenfield__help"},n))}}]),n}(u.Component));t.Z=f},5113:function(e,t,n){"use strict";var a=n(7560),i=n(4659),r=n(3989),s=n(5663),o=n(9049),l=n(1119),c=n(3027),u=n(3163),d=n(7997),p=n(7606),f=n.n(p),h=n(791),v=n(1424),m=n(7045),__=u.__,g=function(e){return(0,v.decodeEntities)(e.name)||__("(no title)","newspack-blocks")},b=function(e){(0,s.Z)(n,e);var t=(0,o.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var s=arguments.length,o=new Array(s),u=0;u<s;u++)o[u]=arguments[u];return e=t.call.apply(t,[this].concat(o)),(0,l.Z)((0,r.Z)(e),"state",{showAdvancedFilters:!1}),(0,l.Z)((0,r.Z)(e),"fetchPostSuggestions",(function(t){var n=e.props.postType,a=window.newspack_blocks_data.specific_posts_rest_url;return f()({url:(0,h.addQueryArgs)(a,{search:t,per_page:20,_fields:"id,title",type:"post",post_type:n})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.title)||__("(no title)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchSavedPosts",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/posts",{per_page:100,include:e.join(","),_fields:"id,title"})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.title.rendered)||__("(no title)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchAuthorSuggestions",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/users",{search:e,per_page:20,_fields:"id,name"})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.name)||__("(no name)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchSavedAuthors",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/users",{per_page:100,include:e.join(","),_fields:"id,name"})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.name)||__("(no name)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchCategorySuggestions",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/categories",{search:e,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((function(e){return Promise.all(e.map((function(e){return e.parent>0?f()({path:(0,h.addQueryArgs)("/wp/v2/categories/".concat(e.parent),{_fields:"name"})}).then((function(t){return{value:e.id,label:"".concat(g(e)," – ").concat(g(t))}})):Promise.resolve({value:e.id,label:g(e)})})))}))})),(0,l.Z)((0,r.Z)(e),"fetchSavedCategories",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/categories",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.name)||__("(no title)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchTagSuggestions",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/tags",{search:e,per_page:20,_fields:"id,name",orderby:"count",order:"desc"})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.name)||__("(no title)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchSavedTags",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/tags",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.name)||__("(no title)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"render",(function(){var t=e.props,n=t.specificMode,i=t.onSpecificModeChange,r=t.specificPosts,s=t.onSpecificPostsChange,o=t.authors,l=t.onAuthorsChange,u=t.categories,p=t.onCategoriesChange,f=t.tags,h=t.onTagsChange,v=t.tagExclusions,g=t.onTagExclusionsChange,b=t.enableSpecific,w=e.state.showAdvancedFilters;return[b&&(0,c.createElement)(d.ToggleControl,{key:"specificMode",checked:n,onChange:i,label:__("Choose Specific Posts","newspack-blocks")}),n&&(0,c.createElement)(m.Z,{key:"posts",tokens:r||[],onChange:s,fetchSuggestions:e.fetchPostSuggestions,fetchSavedInfo:e.fetchSavedPosts,label:__("Posts","newspack-blocks"),help:__("Begin typing post title, click autocomplete result to select.","newspack-blocks")}),!n&&(0,c.createElement)(d.QueryControls,(0,a.Z)({key:"queryControls"},e.props)),!n&&l&&(0,c.createElement)(m.Z,{key:"authors",tokens:o||[],onChange:l,fetchSuggestions:e.fetchAuthorSuggestions,fetchSavedInfo:e.fetchSavedAuthors,label:__("Authors","newspack-blocks")}),!n&&p&&(0,c.createElement)(m.Z,{key:"categories",tokens:u||[],onChange:p,fetchSuggestions:e.fetchCategorySuggestions,fetchSavedInfo:e.fetchSavedCategories,label:__("Categories","newspack-blocks")}),!n&&h&&(0,c.createElement)(m.Z,{key:"tags",tokens:f||[],onChange:h,fetchSuggestions:e.fetchTagSuggestions,fetchSavedInfo:e.fetchSavedTags,label:__("Tags","newspack-blocks")}),!n&&g&&(0,c.createElement)("p",{key:"toggle-advanced-filters"},(0,c.createElement)(d.Button,{isLink:!0,onClick:function(){return e.setState({showAdvancedFilters:!w})}},__(w?"Hide Advanced Filters":"Show Advanced Filters","newspack-blocks"))),!n&&g&&w&&(0,c.createElement)(m.Z,{key:"tag-exclusion",tokens:v||[],onChange:g,fetchSuggestions:e.fetchTagSuggestions,fetchSavedInfo:e.fetchSavedTags,label:__("Excluded Tags","newspack-blocks")})]})),e}return n}(c.Component);b.defaultProps={enableSpecific:!0,specificPosts:[],authors:[],categories:[],tags:[],tagExclusions:[]},t.Z=b},904:function(e,t,n){"use strict";n.d(t,{lW:function(){return s},FX:function(){return o},b2:function(){return l},Q$:function(){return c}});var a=n(1766),i=n(3027),r=n(3163),_x=r._x,s=function(e){return e.map((function(e){return(0,i.createElement)("span",{className:"avatar author-avatar",key:e.id},(0,i.createElement)("a",{className:"url fn n",href:e.author_link},(0,i.createElement)(i.RawHTML,null,e.avatar)))}))},o=function(e){return(0,i.createElement)("span",{className:"byline"},_x("by","post author","newspack-blocks")," ",e.reduce((function(t,n,r){return[].concat((0,a.Z)(t),[(0,i.createElement)("span",{className:"author vcard",key:n.id},(0,i.createElement)("a",{className:"url fn n",href:n.author_link},n.display_name)),r<e.length-2&&", ",e.length>1&&r===e.length-2&&_x(" and ","post author","newspack-blocks")])}),[]))},l=function(e){return(0,i.createElement)("span",{className:"sponsor-logos"},e.map((function(e){return(0,i.createElement)(i.Fragment,{key:e.id},e.src&&(0,i.createElement)("a",{href:e.sponsor_url},(0,i.createElement)("img",{src:e.src,width:e.img_width,height:e.img_height,alt:e.sponsor_name})))})))},c=function(e){return(0,i.createElement)("span",{className:"byline sponsor-byline"},e[0].byline_prefix," ",e.reduce((function(t,n,r){return[].concat((0,a.Z)(t),[(0,i.createElement)("span",{className:"author",key:n.id},(0,i.createElement)("a",{href:n.author_link},n.sponsor_name)),r<e.length-2&&", ",e.length>1&&r===e.length-2&&_x(" and ","post author","newspack-blocks")])}),[]))}},3534:function(e,t,n){"use strict";n.d(t,{$:function(){return s},cn:function(){return l},IV:function(){return c},pv:function(){return u},Vj:function(){return d},Lj:function(){return p},uV:function(){return f},aT:function(){return h},vs:function(){return v},eR:function(){return m},on:function(){return g},S1:function(){return b},X$:function(){return w},ld:function(){return y},iO:function(){return E},Pb:function(){return x},cv:function(){return S},W2:function(){return T},iv:function(){return C},S6:function(){return k},dy:function(){return P},fL:function(){return M},is:function(){return I},Kz:function(){return z},eq:function(){return $},R3:function(){return O},Ce:function(){return L},lp:function(){return A},eG:function(){return D},mp:function(){return N},pJ:function(){return _},qm:function(){return R},wV:function(){return B},oq:function(){return j},sE:function(){return H},pI:function(){return V},Od:function(){return Z},IH:function(){return G}});var a=n(4659),i=n(5913),r=function e(t){(0,a.Z)(this,e);for(var n=0;n<t.length;n+=1)this[n]=t[n];return this.length=t.length,this};function s(e,t){var n=[],a=0;if(e&&!t&&e instanceof r)return e;if(e)if("string"==typeof e){var s,o,l=e.trim();if(l.indexOf("<")>=0&&l.indexOf(">")>=0){var c="div";for(0===l.indexOf("<li")&&(c="ul"),0===l.indexOf("<tr")&&(c="tbody"),0!==l.indexOf("<td")&&0!==l.indexOf("<th")||(c="tr"),0===l.indexOf("<tbody")&&(c="table"),0===l.indexOf("<option")&&(c="select"),(o=i.t.createElement(c)).innerHTML=l,a=0;a<o.childNodes.length;a+=1)n.push(o.childNodes[a])}else for(s=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||i.t).querySelectorAll(e.trim()):[i.t.getElementById(e.trim().split("#")[1])],a=0;a<s.length;a+=1)s[a]&&n.push(s[a])}else if(e.nodeType||e===i.u||e===i.t)n.push(e);else if(e.length>0&&e[0].nodeType)for(a=0;a<e.length;a+=1)n.push(e[a]);return new r(n)}function o(e){for(var t=[],n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function l(e){if(void 0===e)return this;for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var a=0;a<this.length;a+=1)void 0!==this[a]&&void 0!==this[a].classList&&this[a].classList.add(t[n]);return this}function c(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var a=0;a<this.length;a+=1)void 0!==this[a]&&void 0!==this[a].classList&&this[a].classList.remove(t[n]);return this}function u(e){return!!this[0]&&this[0].classList.contains(e)}function d(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var a=0;a<this.length;a+=1)void 0!==this[a]&&void 0!==this[a].classList&&this[a].classList.toggle(t[n]);return this}function p(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(var a in e)this[n][a]=e[a],this[n].setAttribute(a,e[a]);return this}function f(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function h(e,t){var n;if(void 0!==t){for(var a=0;a<this.length;a+=1)(n=this[a]).dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0]){if(n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[e];var i=n.getAttribute("data-".concat(e));return i||void 0}}function v(e){for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransform=e,n.transform=e}return this}function m(e){"string"!=typeof e&&(e="".concat(e,"ms"));for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t[0],i=t[1],r=t[2],o=t[3];function l(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),s(t).is(i))r.apply(t,n);else for(var a=s(t).parents(),o=0;o<a.length;o+=1)s(a[o]).is(i)&&r.apply(a[o],n)}}function c(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&(a=t[0],r=t[1],o=t[2],i=void 0),o||(o=!1);for(var u,d=a.split(" "),p=0;p<this.length;p+=1){var f=this[p];if(i)for(u=0;u<d.length;u+=1){var h=d[u];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[h]||(f.dom7LiveListeners[h]=[]),f.dom7LiveListeners[h].push({listener:r,proxyListener:l}),f.addEventListener(h,l,o)}else for(u=0;u<d.length;u+=1){var v=d[u];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[v]||(f.dom7Listeners[v]=[]),f.dom7Listeners[v].push({listener:r,proxyListener:c}),f.addEventListener(v,c,o)}}return this}function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t[0],i=t[1],r=t[2],s=t[3];"function"==typeof t[1]&&(a=t[0],r=t[1],s=t[2],i=void 0),s||(s=!1);for(var o=a.split(" "),l=0;l<o.length;l+=1)for(var c=o[l],u=0;u<this.length;u+=1){var d=this[u],p=void 0;if(!i&&d.dom7Listeners?p=d.dom7Listeners[c]:i&&d.dom7LiveListeners&&(p=d.dom7LiveListeners[c]),p&&p.length)for(var f=p.length-1;f>=0;f-=1){var h=p[f];r&&h.listener===r||r&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===r?(d.removeEventListener(c,h.proxyListener,s),p.splice(f,1)):r||(d.removeEventListener(c,h.proxyListener,s),p.splice(f,1))}}return this}function w(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var a=t[0].split(" "),r=t[1],s=0;s<a.length;s+=1)for(var o=a[s],l=0;l<this.length;l+=1){var c=this[l],u=void 0;try{u=new i.u.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0})}catch(d){(u=i.t.createEvent("Event")).initEvent(o,!0,!0),u.detail=r}c.dom7EventData=t.filter((function(e,t){return t>0})),c.dispatchEvent(u),c.dom7EventData=[],delete c.dom7EventData}return this}function y(e){var t,n=["webkitTransitionEnd","transitionend"],a=this;function i(r){if(r.target===this)for(e.call(this,r),t=0;t<n.length;t+=1)a.off(n[t],i)}if(e)for(t=0;t<n.length;t+=1)a.on(n[t],i);return this}function E(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function x(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function S(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),n=i.t.body,a=e.clientTop||n.clientTop||0,r=e.clientLeft||n.clientLeft||0,s=e===i.u?i.u.scrollY:e.scrollTop,o=e===i.u?i.u.scrollX:e.scrollLeft;return{top:t.top+s-a,left:t.left+o-r}}return null}function T(){return this[0]?i.u.getComputedStyle(this[0],null):{}}function C(e,t){var n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(var a in e)this[n].style[a]=e[a];return this}if(this[0])return i.u.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function k(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this}function P(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function M(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 I(e){var t,n,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=s(e),n=0;n<t.length;n+=1)if(t[n]===a)return!0;return!1}if(e===i.t)return a===i.t;if(e===i.u)return a===i.u;if(e.nodeType||e instanceof r){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===a)return!0;return!1}return!1}function z(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function $(e){if(void 0===e)return this;var t,n=this.length;return new r(e>n-1?[]:e<0?(t=n+e)<0?[]:[this[t]]:[this[e]])}function O(){for(var e,t=0;t<arguments.length;t+=1){e=t<0||arguments.length<=t?void 0:arguments[t];for(var n=0;n<this.length;n+=1)if("string"==typeof e){var a=i.t.createElement("div");for(a.innerHTML=e;a.firstChild;)this[n].appendChild(a.firstChild)}else if(e instanceof r)for(var s=0;s<e.length;s+=1)this[n].appendChild(e[s]);else this[n].appendChild(e)}return this}function L(e){var t,n;for(t=0;t<this.length;t+=1)if("string"==typeof e){var a=i.t.createElement("div");for(a.innerHTML=e,n=a.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(a.childNodes[n],this[t].childNodes[0])}else if(e instanceof r)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function A(e){return this.length>0?e?this[0].nextElementSibling&&s(this[0].nextElementSibling).is(e)?new r([this[0].nextElementSibling]):new r([]):this[0].nextElementSibling?new r([this[0].nextElementSibling]):new r([]):new r([])}function D(e){var t=[],n=this[0];if(!n)return new r([]);for(;n.nextElementSibling;){var a=n.nextElementSibling;e?s(a).is(e)&&t.push(a):t.push(a),n=a}return new r(t)}function N(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&s(t.previousElementSibling).is(e)?new r([t.previousElementSibling]):new r([]):t.previousElementSibling?new r([t.previousElementSibling]):new r([])}return new r([])}function _(e){var t=[],n=this[0];if(!n)return new r([]);for(;n.previousElementSibling;){var a=n.previousElementSibling;e?s(a).is(e)&&t.push(a):t.push(a),n=a}return new r(t)}function R(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?s(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return s(o(t))}function B(e){for(var t=[],n=0;n<this.length;n+=1)for(var a=this[n].parentNode;a;)e?s(a).is(e)&&t.push(a):t.push(a),a=a.parentNode;return s(o(t))}function j(e){var t=this;return void 0===e?new r([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function H(e){for(var t=[],n=0;n<this.length;n+=1)for(var a=this[n].querySelectorAll(e),i=0;i<a.length;i+=1)t.push(a[i]);return new r(t)}function V(e){for(var t=[],n=0;n<this.length;n+=1)for(var a=this[n].childNodes,i=0;i<a.length;i+=1)e?1===a[i].nodeType&&s(a[i]).is(e)&&t.push(a[i]):1===a[i].nodeType&&t.push(a[i]);return new r(o(t))}function Z(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function G(){for(var e,t,n=this,a=arguments.length,i=new Array(a),r=0;r<a;r++)i[r]=arguments[r];for(e=0;e<i.length;e+=1){var o=s(i[e]);for(t=0;t<o.length;t+=1)n[n.length]=o[t],n.length+=1}return n}s.fn=r.prototype,s.Class=r,s.Dom7=r;"resize scroll".split(" ")},9529:function(e,t,n){"use strict";var a=n(3989),i=n(5663),r=n(591),s=n(5630),o=n(4659),l=n(4730),c=n(3534),u=n(5913);function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,s.Z)(e);if(t){var i=(0,s.Z)(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return(0,r.Z)(this,n)}}var p={addClass:c.cn,removeClass:c.IV,hasClass:c.pv,toggleClass:c.Vj,attr:c.Lj,removeAttr:c.uV,data:c.aT,transform:c.vs,transition:c.eR,on:c.on,off:c.S1,trigger:c.X$,transitionEnd:c.ld,outerWidth:c.iO,outerHeight:c.Pb,offset:c.cv,css:c.iv,each:c.S6,html:c.dy,text:c.fL,is:c.is,index:c.Kz,eq:c.eq,append:c.R3,prepend:c.Ce,next:c.lp,nextAll:c.eG,prev:c.mp,prevAll:c.pJ,parent:c.qm,parents:c.wV,closest:c.oq,find:c.sE,children:c.pI,remove:c.Od,add:c.IH,styles:c.W2};Object.keys(p).forEach((function(e){c.$.fn[e]=c.$.fn[e]||p[e]}));var f,h,v,m={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}}))},nextTick:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e){var t,n,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",r=u.u.getComputedStyle(e,null);return u.u.WebKitCSSMatrix?((n=r.transform||r.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),a=new u.u.WebKitCSSMatrix("none"===n?"":n)):t=(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(n=u.u.WebKitCSSMatrix?a.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===i&&(n=u.u.WebKitCSSMatrix?a.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),n||0},parseUrlQuery:function(e){var t,n,a,i,r={},s=e||u.u.location.href;if("string"==typeof s&&s.length)for(i=(n=(s=s.indexOf("?")>-1?s.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,t=0;t<i;t+=1)a=n[t].replace(/#\S+/g,"").split("="),r[decodeURIComponent(a[0])]=void 0===a[1]?void 0:decodeURIComponent(a[1])||"";return r},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=1;t<arguments.length;t+=1){var n=t<0||arguments.length<=t?void 0:arguments[t];if(null!=n)for(var a=Object.keys(Object(n)),i=0,r=a.length;i<r;i+=1){var s=a[i],o=Object.getOwnPropertyDescriptor(n,s);void 0!==o&&o.enumerable&&(m.isObject(e[s])&&m.isObject(n[s])?m.extend(e[s],n[s]):!m.isObject(e[s])&&m.isObject(n[s])?(e[s]={},m.extend(e[s],n[s])):e[s]=n[s])}}return e}},g=(h=u.t.createElement("div"),{touch:u.u.Modernizr&&!0===u.u.Modernizr.touch||!!(u.u.navigator.maxTouchPoints>0||"ontouchstart"in u.u||u.u.DocumentTouch&&u.t instanceof u.u.DocumentTouch),pointerEvents:!!(u.u.navigator.pointerEnabled||u.u.PointerEvent||"maxTouchPoints"in u.u.navigator&&u.u.navigator.maxTouchPoints>0),prefixedPointerEvents:!!u.u.navigator.msPointerEnabled,transition:(f=h.style,"transition"in f||"webkitTransition"in f||"MozTransition"in f),transforms3d:u.u.Modernizr&&!0===u.u.Modernizr.csstransforms3d||function(){var e=h.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=h.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n<t.length;n+=1)if(t[n]in e)return!0;return!1}(),observer:"MutationObserver"in u.u||"WebkitMutationObserver"in u.u,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});u.u.addEventListener("testPassiveListener",null,t)}catch(n){}return e}(),gestures:"ongesturestart"in u.u}),b={isIE:!!u.u.navigator.userAgent.match(/Trident/g)||!!u.u.navigator.userAgent.match(/MSIE/g),isEdge:!!u.u.navigator.userAgent.match(/Edge/g),isSafari:(v=u.u.navigator.userAgent.toLowerCase(),v.indexOf("safari")>=0&&v.indexOf("chrome")<0&&v.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(u.u.navigator.userAgent)},w=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e);var n=this;n.params=t,n.eventsListeners={},n.params&&n.params.on&&Object.keys(n.params.on).forEach((function(e){n.on(e,n.params.on[e])}))}return(0,l.Z)(e,[{key:"on",value:function(e,t,n){var a=this;if("function"!=typeof t)return a;var i=n?"unshift":"push";return e.split(" ").forEach((function(e){a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a}},{key:"once",value:function(e,t,n){var a=this;if("function"!=typeof t)return a;function i(){for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];t.apply(a,r),a.off(e,i),i.f7proxy&&delete i.f7proxy}return i.f7proxy=t,a.on(e,i,n)}},{key:"off",value:function(e,t){var n=this;return n.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach((function(a,i){(a===t||a.f7proxy&&a.f7proxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n}},{key:"emit",value:function(){var e,t,n,a=this;if(!a.eventsListeners)return a;for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];"string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),n=a):(e=r[0].events,t=r[0].data,n=r[0].context||a);var o=Array.isArray(e)?e:e.split(" ");return o.forEach((function(e){if(a.eventsListeners&&a.eventsListeners[e]){var i=[];a.eventsListeners[e].forEach((function(e){i.push(e)})),i.forEach((function(e){e.apply(n,t)}))}})),a}},{key:"useModulesParams",value:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var a=t.modules[n];a.params&&m.extend(e,a.params)}))}},{key:"useModules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var a=t.modules[n],i=e[n]||{};a.instance&&Object.keys(a.instance).forEach((function(e){var n=a.instance[e];t[e]="function"==typeof n?n.bind(t):n})),a.on&&t.on&&Object.keys(a.on).forEach((function(e){t.on(e,a.on[e])})),a.create&&a.create.bind(t)(i)}))}}],[{key:"components",set:function(e){this.use&&this.use(e)}},{key:"installModule",value:function(e){var t=this;t.prototype.modules||(t.prototype.modules={});var n=e.name||"".concat(Object.keys(t.prototype.modules).length,"_").concat(m.now());if(t.prototype.modules[n]=e,e.proto&&Object.keys(e.proto).forEach((function(n){t.prototype[n]=e.proto[n]})),e.static&&Object.keys(e.static).forEach((function(n){t[n]=e.static[n]})),e.install){for(var a=arguments.length,i=new Array(a>1?a-1:0),r=1;r<a;r++)i[r-1]=arguments[r];e.install.apply(t,i)}return t}},{key:"use",value:function(e){var t=this;if(Array.isArray(e))return e.forEach((function(e){return t.installModule(e)})),t;for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return t.installModule.apply(t,[e].concat(a))}}]),e}();var y={updateSize:function(){var e,t,n=this,a=n.$el;e=void 0!==n.params.width?n.params.width:a[0].clientWidth,t=void 0!==n.params.height?n.params.height:a[0].clientHeight,0===e&&n.isHorizontal()||0===t&&n.isVertical()||(e=e-parseInt(a.css("padding-left"),10)-parseInt(a.css("padding-right"),10),t=t-parseInt(a.css("padding-top"),10)-parseInt(a.css("padding-bottom"),10),m.extend(n,{width:e,height:t,size:n.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=e.params,n=e.$wrapperEl,a=e.size,i=e.rtlTranslate,r=e.wrongRTL,s=e.virtual&&t.virtual.enabled,o=s?e.virtual.slides.length:e.slides.length,l=n.children(".".concat(e.params.slideClass)),c=s?e.virtual.slides.length:l.length,d=[],p=[],f=[],h=t.slidesOffsetBefore;"function"==typeof h&&(h=t.slidesOffsetBefore.call(e));var v=t.slidesOffsetAfter;"function"==typeof v&&(v=t.slidesOffsetAfter.call(e));var w=e.snapGrid.length,y=e.snapGrid.length,E=t.spaceBetween,x=-h,S=0,T=0;if(void 0!==a){var C,k;"string"==typeof E&&E.indexOf("%")>=0&&(E=parseFloat(E.replace("%",""))/100*a),e.virtualSize=-E,i?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(C=Math.floor(c/t.slidesPerColumn)===c/e.params.slidesPerColumn?c:Math.ceil(c/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(C=Math.max(C,t.slidesPerView*t.slidesPerColumn)));for(var P,M=t.slidesPerColumn,I=C/M,z=Math.floor(c/t.slidesPerColumn),$=0;$<c;$+=1){k=0;var O=l.eq($);if(t.slidesPerColumn>1){var L=void 0,A=void 0,D=void 0;if("column"===t.slidesPerColumnFill||"row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){if("column"===t.slidesPerColumnFill)D=$-(A=Math.floor($/M))*M,(A>z||A===z&&D===M-1)&&(D+=1)>=M&&(D=0,A+=1);else{var N=Math.floor($/t.slidesPerGroup);A=$-(D=Math.floor($/t.slidesPerView)-N*t.slidesPerColumn)*t.slidesPerView-N*t.slidesPerView}L=A+D*C/M,O.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else A=$-(D=Math.floor($/I))*I;O.css("margin-".concat(e.isHorizontal()?"top":"left"),0!==D&&t.spaceBetween&&"".concat(t.spaceBetween,"px")).attr("data-swiper-column",A).attr("data-swiper-row",D)}if("none"!==O.css("display")){if("auto"===t.slidesPerView){var _=u.u.getComputedStyle(O[0],null),R=O[0].style.transform,B=O[0].style.webkitTransform;if(R&&(O[0].style.transform="none"),B&&(O[0].style.webkitTransform="none"),t.roundLengths)k=e.isHorizontal()?O.outerWidth(!0):O.outerHeight(!0);else if(e.isHorizontal()){var j=parseFloat(_.getPropertyValue("width")),H=parseFloat(_.getPropertyValue("padding-left")),V=parseFloat(_.getPropertyValue("padding-right")),Z=parseFloat(_.getPropertyValue("margin-left")),G=parseFloat(_.getPropertyValue("margin-right")),X=_.getPropertyValue("box-sizing");k=X&&"border-box"===X&&!b.isIE?j+Z+G:j+H+V+Z+G}else{var F=parseFloat(_.getPropertyValue("height")),Y=parseFloat(_.getPropertyValue("padding-top")),q=parseFloat(_.getPropertyValue("padding-bottom")),W=parseFloat(_.getPropertyValue("margin-top")),U=parseFloat(_.getPropertyValue("margin-bottom")),K=_.getPropertyValue("box-sizing");k=K&&"border-box"===K&&!b.isIE?F+W+U:F+Y+q+W+U}R&&(O[0].style.transform=R),B&&(O[0].style.webkitTransform=B),t.roundLengths&&(k=Math.floor(k))}else k=(a-(t.slidesPerView-1)*E)/t.slidesPerView,t.roundLengths&&(k=Math.floor(k)),l[$]&&(e.isHorizontal()?l[$].style.width="".concat(k,"px"):l[$].style.height="".concat(k,"px"));l[$]&&(l[$].swiperSlideSize=k),f.push(k),t.centeredSlides?(x=x+k/2+S/2+E,0===S&&0!==$&&(x=x-a/2-E),0===$&&(x=x-a/2-E),Math.abs(x)<.001&&(x=0),t.roundLengths&&(x=Math.floor(x)),T%t.slidesPerGroup==0&&d.push(x),p.push(x)):(t.roundLengths&&(x=Math.floor(x)),T%t.slidesPerGroup==0&&d.push(x),p.push(x),x=x+k+E),e.virtualSize+=k+E,S=k,T+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+v,i&&r&&("slide"===t.effect||"coverflow"===t.effect)&&n.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}),g.flexbox&&!t.setWrapperSize||(e.isHorizontal()?n.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}):n.css({height:"".concat(e.virtualSize+t.spaceBetween,"px")})),t.slidesPerColumn>1&&(e.virtualSize=(k+t.spaceBetween)*C,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?n.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}):n.css({height:"".concat(e.virtualSize+t.spaceBetween,"px")}),t.centeredSlides)){P=[];for(var Q=0;Q<d.length;Q+=1){var J=d[Q];t.roundLengths&&(J=Math.floor(J)),d[Q]<e.virtualSize+d[0]&&P.push(J)}d=P}if(!t.centeredSlides){P=[];for(var ee=0;ee<d.length;ee+=1){var te=d[ee];t.roundLengths&&(te=Math.floor(te)),d[ee]<=e.virtualSize-a&&P.push(te)}d=P,Math.floor(e.virtualSize-a)-Math.floor(d[d.length-1])>1&&d.push(e.virtualSize-a)}if(0===d.length&&(d=[0]),0!==t.spaceBetween&&(e.isHorizontal()?i?l.css({marginLeft:"".concat(E,"px")}):l.css({marginRight:"".concat(E,"px")}):l.css({marginBottom:"".concat(E,"px")})),t.centerInsufficientSlides){var ne=0;if(f.forEach((function(e){ne+=e+(t.spaceBetween?t.spaceBetween:0)})),(ne-=t.spaceBetween)<a){var ae=(a-ne)/2;d.forEach((function(e,t){d[t]=e-ae})),p.forEach((function(e,t){p[t]=e+ae}))}}m.extend(e,{slides:l,snapGrid:d,slidesGrid:p,slidesSizesGrid:f}),c!==o&&e.emit("slidesLengthChange"),d.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,n=this,a=[],i=0;if("number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed),"auto"!==n.params.slidesPerView&&n.params.slidesPerView>1)for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){var r=n.activeIndex+t;if(r>n.slides.length)break;a.push(n.slides.eq(r)[0])}else a.push(n.slides.eq(n.activeIndex)[0]);for(t=0;t<a.length;t+=1)if(void 0!==a[t]){var s=a[t].offsetHeight;i=s>i?s:i}i&&n.$wrapperEl.css("height","".concat(i,"px"))},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,n=t.params,a=t.slides,i=t.rtlTranslate;if(0!==a.length){void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;i&&(r=e),a.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var s=0;s<a.length;s+=1){var o=a[s],l=(r+(n.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility){var u=-(r-o.swiperSlideOffset),d=u+t.slidesSizesGrid[s],p=u>=0&&u<t.size-1||d>1&&d<=t.size||u<=0&&d>=t.size;p&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(s),a.eq(s).addClass(n.slideVisibleClass))}o.progress=i?-l:l}t.visibleSlides=(0,c.$)(t.visibleSlides)}},updateProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,n=t.params,a=t.maxTranslate()-t.minTranslate(),i=t.progress,r=t.isBeginning,s=t.isEnd,o=r,l=s;0===a?(i=0,r=!0,s=!0):(r=(i=(e-t.minTranslate())/a)<=0,s=i>=1),m.extend(t,{progress:i,isBeginning:r,isEnd:s}),(n.watchSlidesProgress||n.watchSlidesVisibility)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),s&&!l&&t.emit("reachEnd toEdge"),(o&&!r||l&&!s)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){var e,t=this,n=t.slides,a=t.params,i=t.$wrapperEl,r=t.activeIndex,s=t.realIndex,o=t.virtual&&a.virtual.enabled;n.removeClass("".concat(a.slideActiveClass," ").concat(a.slideNextClass," ").concat(a.slidePrevClass," ").concat(a.slideDuplicateActiveClass," ").concat(a.slideDuplicateNextClass," ").concat(a.slideDuplicatePrevClass)),(e=o?t.$wrapperEl.find(".".concat(a.slideClass,'[data-swiper-slide-index="').concat(r,'"]')):n.eq(r)).addClass(a.slideActiveClass),a.loop&&(e.hasClass(a.slideDuplicateClass)?i.children(".".concat(a.slideClass,":not(.").concat(a.slideDuplicateClass,')[data-swiper-slide-index="').concat(s,'"]')).addClass(a.slideDuplicateActiveClass):i.children(".".concat(a.slideClass,".").concat(a.slideDuplicateClass,'[data-swiper-slide-index="').concat(s,'"]')).addClass(a.slideDuplicateActiveClass));var l=e.nextAll(".".concat(a.slideClass)).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=n.eq(0)).addClass(a.slideNextClass);var c=e.prevAll(".".concat(a.slideClass)).eq(0).addClass(a.slidePrevClass);a.loop&&0===c.length&&(c=n.eq(-1)).addClass(a.slidePrevClass),a.loop&&(l.hasClass(a.slideDuplicateClass)?i.children(".".concat(a.slideClass,":not(.").concat(a.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(a.slideDuplicateNextClass):i.children(".".concat(a.slideClass,".").concat(a.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(a.slideDuplicateNextClass),c.hasClass(a.slideDuplicateClass)?i.children(".".concat(a.slideClass,":not(.").concat(a.slideDuplicateClass,')[data-swiper-slide-index="').concat(c.attr("data-swiper-slide-index"),'"]')).addClass(a.slideDuplicatePrevClass):i.children(".".concat(a.slideClass,".").concat(a.slideDuplicateClass,'[data-swiper-slide-index="').concat(c.attr("data-swiper-slide-index"),'"]')).addClass(a.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,n=this,a=n.rtlTranslate?n.translate:-n.translate,i=n.slidesGrid,r=n.snapGrid,s=n.params,o=n.activeIndex,l=n.realIndex,c=n.snapIndex,u=e;if(void 0===u){for(var d=0;d<i.length;d+=1)void 0!==i[d+1]?a>=i[d]&&a<i[d+1]-(i[d+1]-i[d])/2?u=d:a>=i[d]&&a<i[d+1]&&(u=d+1):a>=i[d]&&(u=d);s.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if((t=r.indexOf(a)>=0?r.indexOf(a):Math.floor(u/s.slidesPerGroup))>=r.length&&(t=r.length-1),u!==o){var p=parseInt(n.slides.eq(u).attr("data-swiper-slide-index")||u,10);m.extend(n,{snapIndex:t,realIndex:p,previousIndex:o,activeIndex:u}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),l!==p&&n.emit("realIndexChange"),(n.initialized||n.runCallbacksOnInit)&&n.emit("slideChange")}else t!==c&&(n.snapIndex=t,n.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,n=t.params,a=(0,c.$)(e.target).closest(".".concat(n.slideClass))[0],i=!1;if(a)for(var r=0;r<t.slides.length;r+=1)t.slides[r]===a&&(i=!0);if(!a||!i)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=a,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt((0,c.$)(a).attr("data-swiper-slide-index"),10):t.clickedIndex=(0,c.$)(a).index(),n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var E={getTranslate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",t=this,n=t.params,a=t.rtlTranslate,i=t.translate,r=t.$wrapperEl;if(n.virtualTranslate)return a?-i:i;var s=m.getTranslate(r[0],e);return a&&(s=-s),s||0},setTranslate:function(e,t){var n=this,a=n.rtlTranslate,i=n.params,r=n.$wrapperEl,s=n.progress,o=0,l=0;n.isHorizontal()?o=a?-e:e:l=e,i.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),i.virtualTranslate||(g.transforms3d?r.transform("translate3d(".concat(o,"px, ").concat(l,"px, ").concat(0,"px)")):r.transform("translate(".concat(o,"px, ").concat(l,"px)"))),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?o:l;var c=n.maxTranslate()-n.minTranslate();(0===c?0:(e-n.minTranslate())/c)!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}};var x={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,a=n.activeIndex,i=n.params,r=n.previousIndex;i.autoHeight&&n.updateAutoHeight();var s=t;if(s||(s=a>r?"next":a<r?"prev":"reset"),n.emit("transitionStart"),e&&a!==r){if("reset"===s)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),"next"===s?n.emit("slideNextTransitionStart"):n.emit("slidePrevTransitionStart")}},transitionEnd:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,a=n.activeIndex,i=n.previousIndex;n.animating=!1,n.setTransition(0);var r=t;if(r||(r=a>i?"next":a<i?"prev":"reset"),n.emit("transitionEnd"),e&&a!==i){if("reset"===r)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),"next"===r?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}};var S={slideTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3?arguments[3]:void 0,i=this,r=e;r<0&&(r=0);var s=i.params,o=i.snapGrid,l=i.slidesGrid,c=i.previousIndex,u=i.activeIndex,d=i.rtlTranslate;if(i.animating&&s.preventInteractionOnTransition)return!1;var p=Math.floor(r/s.slidesPerGroup);p>=o.length&&(p=o.length-1),(u||s.initialSlide||0)===(c||0)&&n&&i.emit("beforeSlideChangeStart");var f,h=-o[p];if(i.updateProgress(h),s.normalizeSlideIndex)for(var v=0;v<l.length;v+=1)-Math.floor(100*h)>=Math.floor(100*l[v])&&(r=v);if(i.initialized&&r!==u){if(!i.allowSlideNext&&h<i.translate&&h<i.minTranslate())return!1;if(!i.allowSlidePrev&&h>i.translate&&h>i.maxTranslate()&&(u||0)!==r)return!1}return f=r>u?"next":r<u?"prev":"reset",d&&-h===i.translate||!d&&h===i.translate?(i.updateActiveIndex(r),s.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==s.effect&&i.setTranslate(h),"reset"!==f&&(i.transitionStart(n,f),i.transitionEnd(n,f)),!1):(0!==t&&g.transition?(i.setTransition(t),i.setTranslate(h),i.updateActiveIndex(r),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,a),i.transitionStart(n,f),i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,f))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd))):(i.setTransition(0),i.setTranslate(h),i.updateActiveIndex(r),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,a),i.transitionStart(n,f),i.transitionEnd(n,f)),!0)},slideToLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3?arguments[3]:void 0,i=this,r=e;return i.params.loop&&(r+=i.loopedSlides),i.slideTo(r,t,n,a)},slideNext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,a=this,i=a.params,r=a.animating;return i.loop?!r&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,a.slideTo(a.activeIndex+i.slidesPerGroup,e,t,n)):a.slideTo(a.activeIndex+i.slidesPerGroup,e,t,n)},slidePrev:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,a=this,i=a.params,r=a.animating,s=a.snapGrid,o=a.slidesGrid,l=a.rtlTranslate;if(i.loop){if(r)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}var c=l?a.translate:-a.translate;function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,p=u(c),f=s.map((function(e){return u(e)})),h=(o.map((function(e){return u(e)})),s[f.indexOf(p)],s[f.indexOf(p)-1]);return void 0!==h&&(d=o.indexOf(h))<0&&(d=a.activeIndex-1),a.slideTo(d,e,t,n)},slideReset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,a=this;return a.slideTo(a.activeIndex,e,t,n)},slideToClosest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,a=this,i=a.activeIndex,r=Math.floor(i/a.params.slidesPerGroup);if(r<a.snapGrid.length-1){var s=a.rtlTranslate?a.translate:-a.translate,o=a.snapGrid[r],l=a.snapGrid[r+1];s-o>(l-o)/2&&(i=a.params.slidesPerGroup)}return a.slideTo(i,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,a=t.$wrapperEl,i="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,r=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt((0,c.$)(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?r<t.loopedSlides-i/2||r>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),r=a.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),m.nextTick((function(){t.slideTo(r)}))):t.slideTo(r):r>t.slides.length-i?(t.loopFix(),r=a.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),m.nextTick((function(){t.slideTo(r)}))):t.slideTo(r)}else t.slideTo(r)}};var T={loopCreate:function(){var e=this,t=e.params,n=e.$wrapperEl;n.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass)).remove();var a=n.children(".".concat(t.slideClass));if(t.loopFillGroupWithBlank){var i=t.slidesPerGroup-a.length%t.slidesPerGroup;if(i!==t.slidesPerGroup){for(var r=0;r<i;r+=1){var s=(0,c.$)(u.t.createElement("div")).addClass("".concat(t.slideClass," ").concat(t.slideBlankClass));n.append(s)}a=n.children(".".concat(t.slideClass))}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=a.length),e.loopedSlides=parseInt(t.loopedSlides||t.slidesPerView,10),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>a.length&&(e.loopedSlides=a.length);var o=[],l=[];a.each((function(t,n){var i=(0,c.$)(n);t<e.loopedSlides&&l.push(n),t<a.length&&t>=a.length-e.loopedSlides&&o.push(n),i.attr("data-swiper-slide-index",t)}));for(var d=0;d<l.length;d+=1)n.append((0,c.$)(l[d].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var p=o.length-1;p>=0;p-=1)n.prepend((0,c.$)(o[p].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){var e,t=this,n=t.params,a=t.activeIndex,i=t.slides,r=t.loopedSlides,s=t.allowSlidePrev,o=t.allowSlideNext,l=t.snapGrid,c=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var u=-l[a]-t.getTranslate();if(a<r)e=i.length-3*r+a,e+=r,t.slideTo(e,0,!1,!0)&&0!==u&&t.setTranslate((c?-t.translate:t.translate)-u);else if("auto"===n.slidesPerView&&a>=2*r||a>=i.length-r){e=-i.length+a+r,e+=r,t.slideTo(e,0,!1,!0)&&0!==u&&t.setTranslate((c?-t.translate:t.translate)-u)}t.allowSlidePrev=s,t.allowSlideNext=o},loopDestroy:function(){var e=this,t=e.$wrapperEl,n=e.params,a=e.slides;t.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,",.").concat(n.slideClass,".").concat(n.slideBlankClass)).remove(),a.removeAttr("data-swiper-slide-index")}};var C={setGrabCursor:function(e){var t=this;if(!(g.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked)){var n=t.el;n.style.cursor="move",n.style.cursor=e?"-webkit-grabbing":"-webkit-grab",n.style.cursor=e?"-moz-grabbin":"-moz-grab",n.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;g.touch||e.params.watchOverflow&&e.isLocked||(e.el.style.cursor="")}};var k={appendSlide:function(e){var t=this,n=t.$wrapperEl,a=t.params;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&n.append(e[i]);else n.append(e);a.loop&&t.loopCreate(),a.observer&&g.observer||t.update()},prependSlide:function(e){var t=this,n=t.params,a=t.$wrapperEl,i=t.activeIndex;n.loop&&t.loopDestroy();var r=i+1;if("object"==typeof e&&"length"in e){for(var s=0;s<e.length;s+=1)e[s]&&a.prepend(e[s]);r=i+e.length}else a.prepend(e);n.loop&&t.loopCreate(),n.observer&&g.observer||t.update(),t.slideTo(r,0,!1)},addSlide:function(e,t){var n=this,a=n.$wrapperEl,i=n.params,r=n.activeIndex;i.loop&&(r-=n.loopedSlides,n.loopDestroy(),n.slides=a.children(".".concat(i.slideClass)));var s=n.slides.length;if(e<=0)n.prependSlide(t);else if(e>=s)n.appendSlide(t);else{for(var o=r>e?r+1:r,l=[],c=s-1;c>=e;c-=1){var u=n.slides.eq(c);u.remove(),l.unshift(u)}if("object"==typeof t&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&a.append(t[d]);o=r>e?r+t.length:r}else a.append(t);for(var p=0;p<l.length;p+=1)a.append(l[p]);i.loop&&n.loopCreate(),i.observer&&g.observer||n.update(),i.loop?n.slideTo(o+n.loopedSlides,0,!1):n.slideTo(o,0,!1)}},removeSlide:function(e){var t=this,n=t.params,a=t.$wrapperEl,i=t.activeIndex;n.loop&&(i-=t.loopedSlides,t.loopDestroy(),t.slides=a.children(".".concat(n.slideClass)));var r,s=i;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1);s=Math.max(s,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1),s=Math.max(s,0);n.loop&&t.loopCreate(),n.observer&&g.observer||t.update(),n.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},P=function(){var e=u.u.navigator.userAgent,t={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:u.u.cordova||u.u.phonegap,phonegap:u.u.cordova||u.u.phonegap},n=e.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),a=e.match(/(Android);?[\s\/]+([\d.]+)?/),i=e.match(/(iPad).*OS\s([\d_]+)/),r=e.match(/(iPod)(.*OS\s([\d_]+))?/),s=!i&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(n&&(t.os="windows",t.osVersion=n[2],t.windows=!0),a&&!n&&(t.os="android",t.osVersion=a[2],t.android=!0,t.androidChrome=e.toLowerCase().indexOf("chrome")>=0),(i||s||r)&&(t.os="ios",t.ios=!0),s&&!r&&(t.osVersion=s[2].replace(/_/g,"."),t.iphone=!0),i&&(t.osVersion=i[2].replace(/_/g,"."),t.ipad=!0),r&&(t.osVersion=r[3]?r[3].replace(/_/g,"."):null,t.iphone=!0),t.ios&&t.osVersion&&e.indexOf("Version/")>=0&&"10"===t.osVersion.split(".")[0]&&(t.osVersion=e.toLowerCase().split("version/")[1].split(" ")[0]),t.desktop=!(t.os||t.android||t.webView),t.webView=(s||i||r)&&e.match(/.*AppleWebKit(?!.*Safari)/i),t.os&&"ios"===t.os){var o=t.osVersion.split("."),l=u.t.querySelector('meta[name="viewport"]');t.minimalUi=!t.webView&&(r||s)&&(1*o[0]==7?1*o[1]>=1:1*o[0]>7)&&l&&l.getAttribute("content").indexOf("minimal-ui")>=0}return t.pixelRatio=u.u.devicePixelRatio||1,t}();function M(e){var t=this,n=t.touchEventsData,a=t.params,i=t.touches;if(!t.animating||!a.preventInteractionOnTransition){var r=e;if(r.originalEvent&&(r=r.originalEvent),n.isTouchEvent="touchstart"===r.type,(n.isTouchEvent||!("which"in r)||3!==r.which)&&!(!n.isTouchEvent&&"button"in r&&r.button>0||n.isTouched&&n.isMoved))if(a.noSwiping&&(0,c.$)(r.target).closest(a.noSwipingSelector?a.noSwipingSelector:".".concat(a.noSwipingClass))[0])t.allowClick=!0;else if(!a.swipeHandler||(0,c.$)(r).closest(a.swipeHandler)[0]){i.currentX="touchstart"===r.type?r.targetTouches[0].pageX:r.pageX,i.currentY="touchstart"===r.type?r.targetTouches[0].pageY:r.pageY;var s=i.currentX,o=i.currentY,l=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,d=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(!l||!(s<=d||s>=u.u.screen.width-d)){if(m.extend(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=s,i.startY=o,n.touchStartTime=m.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==r.type){var p=!0;(0,c.$)(r.target).is(n.formElements)&&(p=!1),u.t.activeElement&&(0,c.$)(u.t.activeElement).is(n.formElements)&&u.t.activeElement!==r.target&&u.t.activeElement.blur();var f=p&&t.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||f)&&r.preventDefault()}t.emit("touchStart",r)}}}}function I(e){var t=this,n=t.touchEventsData,a=t.params,i=t.touches,r=t.rtlTranslate,s=e;if(s.originalEvent&&(s=s.originalEvent),n.isTouched){if(!n.isTouchEvent||"mousemove"!==s.type){var o="touchmove"===s.type?s.targetTouches[0].pageX:s.pageX,l="touchmove"===s.type?s.targetTouches[0].pageY:s.pageY;if(s.preventedByNestedSwiper)return i.startX=o,void(i.startY=l);if(!t.allowTouchMove)return t.allowClick=!1,void(n.isTouched&&(m.extend(i,{startX:o,startY:l,currentX:o,currentY:l}),n.touchStartTime=m.now()));if(n.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(t.isVertical()){if(l<i.startY&&t.translate<=t.maxTranslate()||l>i.startY&&t.translate>=t.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(o<i.startX&&t.translate<=t.maxTranslate()||o>i.startX&&t.translate>=t.minTranslate())return;if(n.isTouchEvent&&u.t.activeElement&&s.target===u.t.activeElement&&(0,c.$)(s.target).is(n.formElements))return n.isMoved=!0,void(t.allowClick=!1);if(n.allowTouchCallbacks&&t.emit("touchMove",s),!(s.targetTouches&&s.targetTouches.length>1)){i.currentX=o,i.currentY=l;var d=i.currentX-i.startX,p=i.currentY-i.startY;if(!(t.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(p,2))<t.params.threshold)){var f;if(void 0===n.isScrolling)t.isHorizontal()&&i.currentY===i.startY||t.isVertical()&&i.currentX===i.startX?n.isScrolling=!1:d*d+p*p>=25&&(f=180*Math.atan2(Math.abs(p),Math.abs(d))/Math.PI,n.isScrolling=t.isHorizontal()?f>a.touchAngle:90-f>a.touchAngle);if(n.isScrolling&&t.emit("touchMoveOpposite",s),void 0===n.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){t.allowClick=!1,s.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&s.stopPropagation(),n.isMoved||(a.loop&&t.loopFix(),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!a.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",s)),t.emit("sliderMove",s),n.isMoved=!0;var h=t.isHorizontal()?d:p;i.diff=h,h*=a.touchRatio,r&&(h=-h),t.swipeDirection=h>0?"prev":"next",n.currentTranslate=h+n.startTranslate;var v=!0,g=a.resistanceRatio;if(a.touchReleaseOnEdges&&(g=0),h>0&&n.currentTranslate>t.minTranslate()?(v=!1,a.resistance&&(n.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+n.startTranslate+h,g))):h<0&&n.currentTranslate<t.maxTranslate()&&(v=!1,a.resistance&&(n.currentTranslate=t.maxTranslate()+1-Math.pow(t.maxTranslate()-n.startTranslate-h,g))),v&&(s.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),a.threshold>0){if(!(Math.abs(h)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,n.currentTranslate=n.startTranslate,void(i.diff=t.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}a.followFinger&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),a.freeMode&&(0===n.velocities.length&&n.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:m.now()})),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate))}}}}}else n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",s)}function z(e){var t=this,n=t.touchEventsData,a=t.params,i=t.touches,r=t.rtlTranslate,s=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,c=e;if(c.originalEvent&&(c=c.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",c),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,d=m.now(),p=d-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap",c),p<300&&d-n.lastClickTime>300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),n.clickTimeout=m.nextTick((function(){t&&!t.destroyed&&t.emit("click",c)}),300)),p<300&&d-n.lastClickTime<300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),t.emit("doubleTap",c))),n.lastClickTime=m.now(),m.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,u=a.followFinger?r?t.translate:-t.translate:-n.currentTranslate,a.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(a.freeModeMomentum){if(n.velocities.length>1){var f=n.velocities.pop(),h=n.velocities.pop(),v=f.position-h.position,g=f.time-h.time;t.velocity=v/g,t.velocity/=2,Math.abs(t.velocity)<a.freeModeMinimumVelocity&&(t.velocity=0),(g>150||m.now()-f.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeModeMomentumVelocityRatio,n.velocities.length=0;var b=1e3*a.freeModeMomentumRatio,w=t.velocity*b,y=t.translate+w;r&&(y=-y);var E,x,S=!1,T=20*Math.abs(t.velocity)*a.freeModeMomentumBounceRatio;if(y<t.maxTranslate())a.freeModeMomentumBounce?(y+t.maxTranslate()<-T&&(y=t.maxTranslate()-T),E=t.maxTranslate(),S=!0,n.allowMomentumBounce=!0):y=t.maxTranslate(),a.loop&&a.centeredSlides&&(x=!0);else if(y>t.minTranslate())a.freeModeMomentumBounce?(y-t.minTranslate()>T&&(y=t.minTranslate()+T),E=t.minTranslate(),S=!0,n.allowMomentumBounce=!0):y=t.minTranslate(),a.loop&&a.centeredSlides&&(x=!0);else if(a.freeModeSticky){for(var C,k=0;k<l.length;k+=1)if(l[k]>-y){C=k;break}y=-(y=Math.abs(l[C]-y)<Math.abs(l[C-1]-y)||"next"===t.swipeDirection?l[C]:l[C-1])}if(x&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)b=r?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else if(a.freeModeSticky)return void t.slideToClosest();a.freeModeMomentumBounce&&S?(t.updateProgress(E),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,s.transitionEnd((function(){t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(a.speed),t.setTranslate(E),s.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(y),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,s.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else if(a.freeModeSticky)return void t.slideToClosest();(!a.freeModeMomentum||p>=a.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var P=0,M=t.slidesSizesGrid[0],I=0;I<o.length;I+=a.slidesPerGroup)void 0!==o[I+a.slidesPerGroup]?u>=o[I]&&u<o[I+a.slidesPerGroup]&&(P=I,M=o[I+a.slidesPerGroup]-o[I]):u>=o[I]&&(P=I,M=o[o.length-1]-o[o.length-2]);var z=(u-o[P])/M;if(p>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(z>=a.longSwipesRatio?t.slideTo(P+a.slidesPerGroup):t.slideTo(P)),"prev"===t.swipeDirection&&(z>1-a.longSwipesRatio?t.slideTo(P+a.slidesPerGroup):t.slideTo(P))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(P+a.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(P)}}}function $(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var a=e.allowSlideNext,i=e.allowSlidePrev,r=e.snapGrid;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var s=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}}function O(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}var L={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},A={update:y,translate:E,transition:x,slide:S,loop:T,grabCursor:C,manipulation:k,events:{attachEvents:function(){var e=this,t=e.params,n=e.touchEvents,a=e.el,i=e.wrapperEl;e.onTouchStart=M.bind(e),e.onTouchMove=I.bind(e),e.onTouchEnd=z.bind(e),e.onClick=O.bind(e);var r="container"===t.touchEventsTarget?a:i,s=!!t.nested;if(g.touch||!g.pointerEvents&&!g.prefixedPointerEvents){if(g.touch){var o=!("touchstart"!==n.start||!g.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.addEventListener(n.start,e.onTouchStart,o),r.addEventListener(n.move,e.onTouchMove,g.passiveListener?{passive:!1,capture:s}:s),r.addEventListener(n.end,e.onTouchEnd,o)}(t.simulateTouch&&!P.ios&&!P.android||t.simulateTouch&&!g.touch&&P.ios)&&(r.addEventListener("mousedown",e.onTouchStart,!1),u.t.addEventListener("mousemove",e.onTouchMove,s),u.t.addEventListener("mouseup",e.onTouchEnd,!1))}else r.addEventListener(n.start,e.onTouchStart,!1),u.t.addEventListener(n.move,e.onTouchMove,s),u.t.addEventListener(n.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.addEventListener("click",e.onClick,!0),e.on(P.ios||P.android?"resize orientationchange observerUpdate":"resize observerUpdate",$,!0)},detachEvents:function(){var e=this,t=e.params,n=e.touchEvents,a=e.el,i=e.wrapperEl,r="container"===t.touchEventsTarget?a:i,s=!!t.nested;if(g.touch||!g.pointerEvents&&!g.prefixedPointerEvents){if(g.touch){var o=!("onTouchStart"!==n.start||!g.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(n.start,e.onTouchStart,o),r.removeEventListener(n.move,e.onTouchMove,s),r.removeEventListener(n.end,e.onTouchEnd,o)}(t.simulateTouch&&!P.ios&&!P.android||t.simulateTouch&&!g.touch&&P.ios)&&(r.removeEventListener("mousedown",e.onTouchStart,!1),u.t.removeEventListener("mousemove",e.onTouchMove,s),u.t.removeEventListener("mouseup",e.onTouchEnd,!1))}else r.removeEventListener(n.start,e.onTouchStart,!1),u.t.removeEventListener(n.move,e.onTouchMove,s),u.t.removeEventListener(n.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",e.onClick,!0),e.off(P.ios||P.android?"resize orientationchange observerUpdate":"resize observerUpdate",$)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,n=e.initialized,a=e.loopedSlides,i=void 0===a?0:a,r=e.params,s=r.breakpoints;if(s&&(!s||0!==Object.keys(s).length)){var o=e.getBreakpoint(s);if(o&&e.currentBreakpoint!==o){var l=o in s?s[o]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=l[e];void 0!==t&&(l[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var c=l||e.originalParams,u=c.direction&&c.direction!==r.direction,d=r.loop&&(c.slidesPerView!==r.slidesPerView||u);u&&n&&e.changeDirection(),m.extend(e.params,c),m.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=o,d&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}}},getBreakpoint:function(e){if(e){var t=!1,n=[];Object.keys(e).forEach((function(e){n.push(e)})),n.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var a=0;a<n.length;a+=1){var i=n[a];this.params.breakpointsInverse?i<=u.u.innerWidth&&(t=i):i>=u.u.innerWidth&&!t&&(t=i)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked;e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),t&&t!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}},classes:{addClasses:function(){var e=this,t=e.classNames,n=e.params,a=e.rtl,i=e.$el,r=[];r.push("initialized"),r.push(n.direction),n.freeMode&&r.push("free-mode"),g.flexbox||r.push("no-flexbox"),n.autoHeight&&r.push("autoheight"),a&&r.push("rtl"),n.slidesPerColumn>1&&r.push("multirow"),P.android&&r.push("android"),P.ios&&r.push("ios"),(b.isIE||b.isEdge)&&(g.pointerEvents||g.prefixedPointerEvents)&&r.push("wp8-".concat(n.direction)),r.forEach((function(e){t.push(n.containerModifierClass+e)})),i.addClass(t.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,n,a,i,r){var s;function o(){r&&r()}e.complete&&i?o():t?((s=new u.u.Image).onload=o,s.onerror=o,a&&(s.sizes=a),n&&(s.srcset=n),t&&(s.src=t)):o()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var a=e.imagesToLoad[n];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,t)}}}},D={},N=function(e){(0,i.Z)(n,e);var t=d(n);function n(){var e,i,s;(0,o.Z)(this,n);for(var l=arguments.length,u=new Array(l),d=0;d<l;d++)u[d]=arguments[d];1===u.length&&u[0].constructor&&u[0].constructor===Object?s=u[0]:(i=u[0],s=u[1]),s||(s={}),s=m.extend({},s),i&&!s.el&&(s.el=i),e=t.call(this,s),Object.keys(A).forEach((function(e){Object.keys(A[e]).forEach((function(t){n.prototype[t]||(n.prototype[t]=A[e][t])}))}));var p=(0,a.Z)(e);void 0===p.modules&&(p.modules={}),Object.keys(p.modules).forEach((function(e){var t=p.modules[e];if(t.params){var n=Object.keys(t.params)[0],a=t.params[n];if("object"!=typeof a||null===a)return;if(!(n in s)||!("enabled"in a))return;!0===s[n]&&(s[n]={enabled:!0}),"object"!=typeof s[n]||"enabled"in s[n]||(s[n].enabled=!0),s[n]||(s[n]={enabled:!1})}}));var f=m.extend({},L);p.useModulesParams(f),p.params=m.extend({},f,D,s),p.originalParams=m.extend({},p.params),p.passedParams=m.extend({},s),p.$=c.$;var h=(0,c.$)(p.params.el);if(!(i=h[0]))return(0,r.Z)(e,void 0);if(h.length>1){var v=[];return h.each((function(e,t){var a=m.extend({},s,{el:t});v.push(new n(a))})),(0,r.Z)(e,v)}i.swiper=p,h.data("swiper",p);var b,w,y=h.children(".".concat(p.params.wrapperClass));return m.extend(p,{$el:h,el:i,$wrapperEl:y,wrapperEl:y[0],classNames:[],slides:(0,c.$)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===p.params.direction},isVertical:function(){return"vertical"===p.params.direction},rtl:"rtl"===i.dir.toLowerCase()||"rtl"===h.css("direction"),rtlTranslate:"horizontal"===p.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===h.css("direction")),wrongRTL:"-webkit-box"===y.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:p.params.allowSlideNext,allowSlidePrev:p.params.allowSlidePrev,touchEvents:(b=["touchstart","touchmove","touchend"],w=["mousedown","mousemove","mouseup"],g.pointerEvents?w=["pointerdown","pointermove","pointerup"]:g.prefixedPointerEvents&&(w=["MSPointerDown","MSPointerMove","MSPointerUp"]),p.touchEventsTouch={start:b[0],move:b[1],end:b[2]},p.touchEventsDesktop={start:w[0],move:w[1],end:w[2]},g.touch||!p.params.simulateTouch?p.touchEventsTouch:p.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:m.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:p.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),p.useModules(),p.params.init&&p.init(),(0,r.Z)(e,p)}return(0,l.Z)(n,[{key:"slidesPerViewDynamic",value:function(){var e=this,t=e.params,n=e.slides,a=e.slidesGrid,i=e.size,r=e.activeIndex,s=1;if(t.centeredSlides){for(var o,l=n[r].swiperSlideSize,c=r+1;c<n.length;c+=1)n[c]&&!o&&(s+=1,(l+=n[c].swiperSlideSize)>i&&(o=!0));for(var u=r-1;u>=0;u-=1)n[u]&&!o&&(s+=1,(l+=n[u].swiperSlideSize)>i&&(o=!0))}else for(var d=r+1;d<n.length;d+=1)a[d]-a[r]<i&&(s+=1);return s}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(a(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||a(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function a(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,a=n.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass("".concat(n.params.containerModifierClass).concat(a," wp8-").concat(a)).addClass("".concat(n.params.containerModifierClass).concat(e)),(b.isIE||b.isEdge)&&(g.pointerEvents||g.prefixedPointerEvents)&&n.$el.addClass("".concat(n.params.containerModifierClass,"wp8-").concat(e)),n.params.direction=e,n.slides.each((function(t,n){"vertical"===e?n.style.width="":n.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}},{key:"init",value:function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,a=n.params,i=n.$el,r=n.$wrapperEl,s=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),r.removeAttr("style"),s&&s.length&&s.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),m.deleteProps(n)),n.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){m.extend(D,e)}},{key:"extendedDefaults",get:function(){return D}},{key:"defaults",get:function(){return L}},{key:"Class",get:function(){return w}},{key:"$",get:function(){return c.$}}]),n}(w),_={name:"device",proto:{device:P},static:{device:P}},R={name:"support",proto:{support:g},static:{support:g}},B={name:"browser",proto:{browser:b},static:{browser:b}},j={name:"resize",create:function(){var e=this;m.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){u.u.addEventListener("resize",this.resize.resizeHandler),u.u.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){u.u.removeEventListener("resize",this.resize.resizeHandler),u.u.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},H={func:u.u.MutationObserver||u.u.WebkitMutationObserver,attach:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this,a=H.func,i=new a((function(e){if(1!==e.length){var t=function(){n.emit("observerUpdate",e[0])};u.u.requestAnimationFrame?u.u.requestAnimationFrame(t):u.u.setTimeout(t,0)}else 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(g.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),n=0;n<t.length;n+=1)e.observer.attach(t[n]);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=[]}},V={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var e=this;m.extend(e,{observer:{init:H.init.bind(e),attach:H.attach.bind(e),destroy:H.destroy.bind(e),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},Z={update:function(e){var t=this,n=t.params,a=n.slidesPerView,i=n.slidesPerGroup,r=n.centeredSlides,s=t.params.virtual,o=s.addSlidesBefore,l=s.addSlidesAfter,c=t.virtual,u=c.from,d=c.to,p=c.slides,f=c.slidesGrid,h=c.renderSlide,v=c.offset;t.updateActiveIndex();var g,b,w,y=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(b=Math.floor(a/2)+i+o,w=Math.floor(a/2)+i+l):(b=a+(i-1)+o,w=i+l);var E=Math.max((y||0)-w,0),x=Math.min((y||0)+b,p.length-1),S=(t.slidesGrid[E]||0)-(t.slidesGrid[0]||0);function T(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(m.extend(t.virtual,{from:E,to:x,offset:S,slidesGrid:t.slidesGrid}),u===E&&d===x&&!e)return t.slidesGrid!==f&&S!==v&&t.slides.css(g,"".concat(S,"px")),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:S,from:E,to:x,slides:function(){for(var e=[],t=E;t<=x;t+=1)e.push(p[t]);return e}()}),void T();var C=[],k=[];if(e)t.$wrapperEl.find(".".concat(t.params.slideClass)).remove();else for(var P=u;P<=d;P+=1)(P<E||P>x)&&t.$wrapperEl.find(".".concat(t.params.slideClass,'[data-swiper-slide-index="').concat(P,'"]')).remove();for(var M=0;M<p.length;M+=1)M>=E&&M<=x&&(void 0===d||e?k.push(M):(M>d&&k.push(M),M<u&&C.push(M)));k.forEach((function(e){t.$wrapperEl.append(h(p[e],e))})),C.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(h(p[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,"".concat(S,"px")),T()},renderSlide:function(e,t){var n=this,a=n.params.virtual;if(a.cache&&n.virtual.cache[t])return n.virtual.cache[t];var i=a.renderSlide?(0,c.$)(a.renderSlide.call(n,e,t)):(0,c.$)('<div class="'.concat(n.params.slideClass,'" data-swiper-slide-index="').concat(t,'">').concat(e,"</div>"));return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",t),a.cache&&(n.virtual.cache[t]=i),i},appendSlide:function(e){var t=this;if("object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&t.virtual.slides.push(e[n]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide:function(e){var t=this,n=t.activeIndex,a=n+1,i=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&t.virtual.slides.unshift(e[r]);a=n+e.length,i=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var s=t.virtual.cache,o={};Object.keys(s).forEach((function(e){o[parseInt(e,10)+i]=s[e]})),t.virtual.cache=o}t.virtual.update(!0),t.slideTo(a,0)},removeSlide:function(e){var t=this;if(null!=e){var n=t.activeIndex;if(Array.isArray(e))for(var a=e.length-1;a>=0;a-=1)t.virtual.slides.splice(e[a],1),t.params.virtual.cache&&delete t.virtual.cache[e[a]],e[a]<n&&(n-=1),n=Math.max(n,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<n&&(n-=1),n=Math.max(n,0);t.virtual.update(!0),t.slideTo(n,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},G={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;m.extend(e,{virtual:{update:Z.update.bind(e),appendSlide:Z.appendSlide.bind(e),prependSlide:Z.prependSlide.bind(e),removeSlide:Z.removeSlide.bind(e),removeAllSlides:Z.removeAllSlides.bind(e),renderSlide:Z.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push("".concat(e.params.containerModifierClass,"virtual"));var t={watchSlidesProgress:!0};m.extend(e.params,t),m.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},X={handle:function(e){var t=this,n=t.rtlTranslate,a=e;a.originalEvent&&(a=a.originalEvent);var i=a.keyCode||a.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===i||t.isVertical()&&40===i||34===i))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===i||t.isVertical()&&38===i||33===i))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||u.t.activeElement&&u.t.activeElement.nodeName&&("input"===u.t.activeElement.nodeName.toLowerCase()||"textarea"===u.t.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(33===i||34===i||37===i||39===i||38===i||40===i)){var r=!1;if(t.$el.parents(".".concat(t.params.slideClass)).length>0&&0===t.$el.parents(".".concat(t.params.slideActiveClass)).length)return;var s=u.u.innerWidth,o=u.u.innerHeight,l=t.$el.offset();n&&(l.left-=t.$el[0].scrollLeft);for(var c=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]],d=0;d<c.length;d+=1){var p=c[d];p[0]>=0&&p[0]<=s&&p[1]>=0&&p[1]<=o&&(r=!0)}if(!r)return}t.isHorizontal()?(33!==i&&34!==i&&37!==i&&39!==i||(a.preventDefault?a.preventDefault():a.returnValue=!1),(34!==i&&39!==i||n)&&(33!==i&&37!==i||!n)||t.slideNext(),(33!==i&&37!==i||n)&&(34!==i&&39!==i||!n)||t.slidePrev()):(33!==i&&34!==i&&38!==i&&40!==i||(a.preventDefault?a.preventDefault():a.returnValue=!1),34!==i&&40!==i||t.slideNext(),33!==i&&38!==i||t.slidePrev()),t.emit("keyPress",i)}},enable:function(){var e=this;e.keyboard.enabled||((0,c.$)(u.t).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this;e.keyboard.enabled&&((0,c.$)(u.t).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},F={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){var e=this;m.extend(e,{keyboard:{enabled:!1,enable:X.enable.bind(e),disable:X.disable.bind(e),handle:X.handle.bind(e)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var Y={lastScrollTime:m.now(),event:u.u.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel",t=e in u.t;if(!t){var n=u.t.createElement("div");n.setAttribute(e,"return;"),t="function"==typeof n.onwheel}return!t&&u.t.implementation&&u.t.implementation.hasFeature&&!0!==u.t.implementation.hasFeature("","")&&(t=u.t.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,n=0,a=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),a=10*t,i=10*n,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:a,pixelY:i}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,n=this,a=n.params.mousewheel;if(!n.mouseEntered&&!a.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var i=0,r=n.rtlTranslate?-1:1,s=Y.normalize(t);if(a.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;i=s.pixelX*r}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;i=s.pixelY}else i=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*r:-s.pixelY;if(0===i)return!0;if(a.invert&&(i=-i),n.params.freeMode){n.params.loop&&n.loopFix();var o=n.getTranslate()+i*a.sensitivity,l=n.isBeginning,c=n.isEnd;if(o>=n.minTranslate()&&(o=n.minTranslate()),o<=n.maxTranslate()&&(o=n.maxTranslate()),n.setTransition(0),n.setTranslate(o),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!l&&n.isBeginning||!c&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky&&(clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=m.nextTick((function(){n.slideToClosest()}),300)),n.emit("scroll",t),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),o===n.minTranslate()||o===n.maxTranslate())return!0}else{if(m.now()-n.mousewheel.lastScrollTime>60)if(i<0)if(n.isEnd&&!n.params.loop||n.animating){if(a.releaseOnEdges)return!0}else n.slideNext(),n.emit("scroll",t);else if(n.isBeginning&&!n.params.loop||n.animating){if(a.releaseOnEdges)return!0}else n.slidePrev(),n.emit("scroll",t);n.mousewheel.lastScrollTime=(new u.u.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},enable:function(){var e=this;if(!Y.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=(0,c.$)(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(Y.event,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this;if(!Y.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=(0,c.$)(e.params.mousewheel.eventsTarged)),t.off(Y.event,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},q={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var n=e.navigation,a=n.$nextEl,i=n.$prevEl;i&&i.length>0&&(e.isBeginning?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),a&&a.length>0&&(e.isEnd?a.addClass(t.disabledClass):a.removeClass(t.disabledClass),a[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,n=this,a=n.params.navigation;(a.nextEl||a.prevEl)&&(a.nextEl&&(e=(0,c.$)(a.nextEl),n.params.uniqueNavElements&&"string"==typeof a.nextEl&&e.length>1&&1===n.$el.find(a.nextEl).length&&(e=n.$el.find(a.nextEl))),a.prevEl&&(t=(0,c.$)(a.prevEl),n.params.uniqueNavElements&&"string"==typeof a.prevEl&&t.length>1&&1===n.$el.find(a.prevEl).length&&(t=n.$el.find(a.prevEl))),e&&e.length>0&&e.on("click",n.navigation.onNextClick),t&&t.length>0&&t.on("click",n.navigation.onPrevClick),m.extend(n.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,n=t.$nextEl,a=t.$prevEl;n&&n.length&&(n.off("click",e.navigation.onNextClick),n.removeClass(e.params.navigation.disabledClass)),a&&a.length&&(a.off("click",e.navigation.onPrevClick),a.removeClass(e.params.navigation.disabledClass))}},W={update:function(){var e=this,t=e.rtl,n=e.params.pagination;if(n.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a,i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,s=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((a=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>i-1-2*e.loopedSlides&&(a-=i-2*e.loopedSlides),a>s-1&&(a-=s),a<0&&"bullets"!==e.params.paginationType&&(a=s+a)):a=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,u,d=e.pagination.bullets;if(n.dynamicBullets&&(e.pagination.bulletSize=d.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height","".concat(e.pagination.bulletSize*(n.dynamicMainBullets+4),"px")),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=a-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=a-e.pagination.dynamicBulletIndex,u=((l=o+(Math.min(d.length,n.dynamicMainBullets)-1))+o)/2),d.removeClass("".concat(n.bulletActiveClass," ").concat(n.bulletActiveClass,"-next ").concat(n.bulletActiveClass,"-next-next ").concat(n.bulletActiveClass,"-prev ").concat(n.bulletActiveClass,"-prev-prev ").concat(n.bulletActiveClass,"-main")),r.length>1)d.each((function(e,t){var i=(0,c.$)(t),r=i.index();r===a&&i.addClass(n.bulletActiveClass),n.dynamicBullets&&(r>=o&&r<=l&&i.addClass("".concat(n.bulletActiveClass,"-main")),r===o&&i.prev().addClass("".concat(n.bulletActiveClass,"-prev")).prev().addClass("".concat(n.bulletActiveClass,"-prev-prev")),r===l&&i.next().addClass("".concat(n.bulletActiveClass,"-next")).next().addClass("".concat(n.bulletActiveClass,"-next-next")))}));else if(d.eq(a).addClass(n.bulletActiveClass),n.dynamicBullets){for(var p=d.eq(o),f=d.eq(l),h=o;h<=l;h+=1)d.eq(h).addClass("".concat(n.bulletActiveClass,"-main"));p.prev().addClass("".concat(n.bulletActiveClass,"-prev")).prev().addClass("".concat(n.bulletActiveClass,"-prev-prev")),f.next().addClass("".concat(n.bulletActiveClass,"-next")).next().addClass("".concat(n.bulletActiveClass,"-next-next"))}if(n.dynamicBullets){var v=Math.min(d.length,n.dynamicMainBullets+4),m=(e.pagination.bulletSize*v-e.pagination.bulletSize)/2-u*e.pagination.bulletSize,g=t?"right":"left";d.css(e.isHorizontal()?g:"top","".concat(m,"px"))}}if("fraction"===n.type&&(r.find(".".concat(n.currentClass)).text(n.formatFractionCurrent(a+1)),r.find(".".concat(n.totalClass)).text(n.formatFractionTotal(s))),"progressbar"===n.type){var b;b=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var w=(a+1)/s,y=1,E=1;"horizontal"===b?y=w:E=w,r.find(".".concat(n.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(y,") scaleY(").concat(E,")")).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(r.html(n.renderCustom(e,a+1,s)),e.emit("paginationRender",e,r[0])):e.emit("paginationUpdate",e,r[0]),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](n.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el,i="";if("bullets"===t.type){for(var r=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,s=0;s<r;s+=1)t.renderBullet?i+=t.renderBullet.call(e,s,t.bulletClass):i+="<".concat(t.bulletElement,' class="').concat(t.bulletClass,'"></').concat(t.bulletElement,">");a.html(i),e.pagination.bullets=a.find(".".concat(t.bulletClass))}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'.concat(t.currentClass,'"></span>')+" / "+'<span class="'.concat(t.totalClass,'"></span>'),a.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'.concat(t.progressbarFillClass,'"></span>'),a.html(i)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var n=(0,c.$)(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&1===e.$el.find(t.el).length&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass("".concat(t.modifierClass).concat(t.type,"-dynamic")),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click",".".concat(t.bulletClass),(function(t){t.preventDefault();var n=(0,c.$)(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),m.extend(e.pagination,{$el:n,el:n[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click",".".concat(t.bulletClass))}}},U={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,n=e.rtlTranslate,a=e.progress,i=t.dragSize,r=t.trackSize,s=t.$dragEl,o=t.$el,l=e.params.scrollbar,c=i,u=(r-i)*a;n?(u=-u)>0?(c=i-u,u=0):-u+i>r&&(c=r+u):u<0?(c=i+u,u=0):u+i>r&&(c=r-u),e.isHorizontal()?(g.transforms3d?s.transform("translate3d(".concat(u,"px, 0, 0)")):s.transform("translateX(".concat(u,"px)")),s[0].style.width="".concat(c,"px")):(g.transforms3d?s.transform("translate3d(0px, ".concat(u,"px, 0)")):s.transform("translateY(".concat(u,"px)")),s[0].style.height="".concat(c,"px")),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){o[0].style.opacity=0,o.transition(400)}),1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,n=t.$dragEl,a=t.$el;n[0].style.width="",n[0].style.height="";var i,r=e.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,s=e.size/e.virtualSize,o=s*(r/e.size);i="auto"===e.params.scrollbar.dragSize?r*s:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n[0].style.width="".concat(i,"px"):n[0].style.height="".concat(i,"px"),a[0].style.display=s>=1?"none":"",e.params.scrollbar.hide&&(a[0].style.opacity=0),m.extend(t,{trackSize:r,divider:s,moveDivider:o,dragSize:i}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,n=this,a=n.scrollbar,i=n.rtlTranslate,r=a.$el,s=a.dragSize,o=a.trackSize,l=a.dragStartPos;t=(a.getPointerPosition(e)-r.offset()[n.isHorizontal()?"left":"top"]-(null!==l?l:s/2))/(o-s),t=Math.max(Math.min(t,1),0),i&&(t=1-t);var c=n.minTranslate()+(n.maxTranslate()-n.minTranslate())*t;n.updateProgress(c),n.setTranslate(c),n.updateActiveIndex(),n.updateSlidesClasses()},onDragStart:function(e){var t=this,n=t.params.scrollbar,a=t.scrollbar,i=t.$wrapperEl,r=a.$el,s=a.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===s[0]||e.target===s?a.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),s.transition(100),a.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),n.hide&&r.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,n=t.scrollbar,a=t.$wrapperEl,i=n.$el,r=n.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,n.setDragPosition(e),a.transition(0),i.transition(0),r.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,n=t.params.scrollbar,a=t.scrollbar.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,n.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=m.nextTick((function(){a.css("opacity",0),a.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,i=e.params,r=t.$el[0],s=!(!g.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},o=!(!g.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};g.touch?(r.addEventListener(n.start,e.scrollbar.onDragStart,s),r.addEventListener(n.move,e.scrollbar.onDragMove,s),r.addEventListener(n.end,e.scrollbar.onDragEnd,o)):(r.addEventListener(a.start,e.scrollbar.onDragStart,s),u.t.addEventListener(a.move,e.scrollbar.onDragMove,s),u.t.addEventListener(a.end,e.scrollbar.onDragEnd,o))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,i=e.params,r=t.$el[0],s=!(!g.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},o=!(!g.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};g.touch?(r.removeEventListener(n.start,e.scrollbar.onDragStart,s),r.removeEventListener(n.move,e.scrollbar.onDragMove,s),r.removeEventListener(n.end,e.scrollbar.onDragEnd,o)):(r.removeEventListener(a.start,e.scrollbar.onDragStart,s),u.t.removeEventListener(a.move,e.scrollbar.onDragMove,s),u.t.removeEventListener(a.end,e.scrollbar.onDragEnd,o))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,n=e.$el,a=e.params.scrollbar,i=(0,c.$)(a.el);e.params.uniqueNavElements&&"string"==typeof a.el&&i.length>1&&1===n.find(a.el).length&&(i=n.find(a.el));var r=i.find(".".concat(e.params.scrollbar.dragClass));0===r.length&&(r=(0,c.$)('<div class="'.concat(e.params.scrollbar.dragClass,'"></div>')),i.append(r)),m.extend(t,{$el:i,el:i[0],$dragEl:r,dragEl:r[0]}),a.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},K={setTransform:function(e,t){var n=this.rtl,a=(0,c.$)(e),i=n?-1:1,r=a.attr("data-swiper-parallax")||"0",s=a.attr("data-swiper-parallax-x"),o=a.attr("data-swiper-parallax-y"),l=a.attr("data-swiper-parallax-scale"),u=a.attr("data-swiper-parallax-opacity");if(s||o?(s=s||"0",o=o||"0"):this.isHorizontal()?(s=r,o="0"):(o=r,s="0"),s=s.indexOf("%")>=0?"".concat(parseInt(s,10)*t*i,"%"):"".concat(s*t*i,"px"),o=o.indexOf("%")>=0?"".concat(parseInt(o,10)*t,"%"):"".concat(o*t,"px"),null!=u){var d=u-(u-1)*(1-Math.abs(t));a[0].style.opacity=d}if(null==l)a.transform("translate3d(".concat(s,", ").concat(o,", 0px)"));else{var p=l-(l-1)*(1-Math.abs(t));a.transform("translate3d(".concat(s,", ").concat(o,", 0px) scale(").concat(p,")"))}},setTranslate:function(){var e=this,t=e.$el,n=e.slides,a=e.progress,i=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,a)})),n.each((function(t,n){var r=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(r+=Math.ceil(t/2)-a*(i.length-1)),r=Math.min(Math.max(r,-1),1),(0,c.$)(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,r)}))}))},setTransition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=this,n=t.$el;n.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){var a=(0,c.$)(n),i=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),a.transition(i)}))}},Q={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(a-t,2)+Math.pow(i-n,2))},onGestureStart:function(e){var t=this,n=t.params.zoom,a=t.zoom,i=a.gesture;if(a.fakeGestureTouched=!1,a.fakeGestureMoved=!1,!g.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;a.fakeGestureTouched=!0,i.scaleStart=Q.getDistanceBetweenTouches(e)}i.$slideEl&&i.$slideEl.length||(i.$slideEl=(0,c.$)(e.target).closest(".swiper-slide"),0===i.$slideEl.length&&(i.$slideEl=t.slides.eq(t.activeIndex)),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent(".".concat(n.containerClass)),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==i.$imageWrapEl.length)?(i.$imageEl.transition(0),t.zoom.isScaling=!0):i.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,n=this.zoom,a=n.gesture;if(!g.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,a.scaleMove=Q.getDistanceBetweenTouches(e)}a.$imageEl&&0!==a.$imageEl.length&&(n.scale=g.gestures?e.scale*n.currentScale:a.scaleMove/a.scaleStart*n.currentScale,n.scale>a.maxRatio&&(n.scale=a.maxRatio-1+Math.pow(n.scale-a.maxRatio+1,.5)),n.scale<t.minRatio&&(n.scale=t.minRatio+1-Math.pow(t.minRatio-n.scale+1,.5)),a.$imageEl.transform("translate3d(0,0,0) scale(".concat(n.scale,")")))},onGestureEnd:function(e){var t=this,n=t.params.zoom,a=t.zoom,i=a.gesture;if(!g.gestures){if(!a.fakeGestureTouched||!a.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!P.android)return;a.fakeGestureTouched=!1,a.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(a.scale=Math.max(Math.min(a.scale,i.maxRatio),n.minRatio),i.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale(".concat(a.scale,")")),a.currentScale=a.scale,a.isScaling=!1,1===a.scale&&(i.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,n=t.gesture,a=t.image;n.$imageEl&&0!==n.$imageEl.length&&(a.isTouched||(P.android&&e.preventDefault(),a.isTouched=!0,a.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,a.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,n=t.zoom,a=n.gesture,i=n.image,r=n.velocity;if(a.$imageEl&&0!==a.$imageEl.length&&(t.allowClick=!1,i.isTouched&&a.$slideEl)){i.isMoved||(i.width=a.$imageEl[0].offsetWidth,i.height=a.$imageEl[0].offsetHeight,i.startX=m.getTranslate(a.$imageWrapEl[0],"x")||0,i.startY=m.getTranslate(a.$imageWrapEl[0],"y")||0,a.slideWidth=a.$slideEl[0].offsetWidth,a.slideHeight=a.$slideEl[0].offsetHeight,a.$imageWrapEl.transition(0),t.rtl&&(i.startX=-i.startX,i.startY=-i.startY));var s=i.width*n.scale,o=i.height*n.scale;if(!(s<a.slideWidth&&o<a.slideHeight)){if(i.minX=Math.min(a.slideWidth/2-s/2,0),i.maxX=-i.minX,i.minY=Math.min(a.slideHeight/2-o/2,0),i.maxY=-i.minY,i.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!i.isMoved&&!n.isScaling){if(t.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x))return void(i.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y))return void(i.isTouched=!1)}e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentX<i.minX&&(i.currentX=i.minX+1-Math.pow(i.minX-i.currentX+1,.8)),i.currentX>i.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8)),i.currentY<i.minY&&(i.currentY=i.minY+1-Math.pow(i.minY-i.currentY+1,.8)),i.currentY>i.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=i.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=i.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(i.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(i.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(i.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(i.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=i.touchesCurrent.x,r.prevPositionY=i.touchesCurrent.y,r.prevTime=Date.now(),a.$imageWrapEl.transform("translate3d(".concat(i.currentX,"px, ").concat(i.currentY,"px,0)"))}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,n=e.image,a=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;var i=300,r=300,s=a.x*i,o=n.currentX+s,l=a.y*r,c=n.currentY+l;0!==a.x&&(i=Math.abs((o-n.currentX)/a.x)),0!==a.y&&(r=Math.abs((c-n.currentY)/a.y));var u=Math.max(i,r);n.currentX=o,n.currentY=c;var d=n.width*e.scale,p=n.height*e.scale;n.minX=Math.min(t.slideWidth/2-d/2,0),n.maxX=-n.minX,n.minY=Math.min(t.slideHeight/2-p/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),t.$imageWrapEl.transition(u).transform("translate3d(".concat(n.currentX,"px, ").concat(n.currentY,"px,0)"))}},onTransitionEnd:function(){var e=this,t=e.zoom,n=t.gesture;n.$slideEl&&e.previousIndex!==e.activeIndex&&(n.$imageEl.transform("translate3d(0,0,0) scale(1)"),n.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,n.$slideEl=void 0,n.$imageEl=void 0,n.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,n,a,i,r,s,o,l,u,d,p,f,h,v,m,g,b=this,w=b.zoom,y=b.params.zoom,E=w.gesture,x=w.image;(E.$slideEl||(E.$slideEl=b.clickedSlide?(0,c.$)(b.clickedSlide):b.slides.eq(b.activeIndex),E.$imageEl=E.$slideEl.find("img, svg, canvas"),E.$imageWrapEl=E.$imageEl.parent(".".concat(y.containerClass))),E.$imageEl&&0!==E.$imageEl.length)&&(E.$slideEl.addClass("".concat(y.zoomedSlideClass)),void 0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,n="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,n=x.touchesStart.y),w.scale=E.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,w.currentScale=E.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(m=E.$slideEl[0].offsetWidth,g=E.$slideEl[0].offsetHeight,a=E.$slideEl.offset().left+m/2-t,i=E.$slideEl.offset().top+g/2-n,o=E.$imageEl[0].offsetWidth,l=E.$imageEl[0].offsetHeight,u=o*w.scale,d=l*w.scale,h=-(p=Math.min(m/2-u/2,0)),v=-(f=Math.min(g/2-d/2,0)),(r=a*w.scale)<p&&(r=p),r>h&&(r=h),(s=i*w.scale)<f&&(s=f),s>v&&(s=v)):(r=0,s=0),E.$imageWrapEl.transition(300).transform("translate3d(".concat(r,"px, ").concat(s,"px,0)")),E.$imageEl.transition(300).transform("translate3d(0,0,0) scale(".concat(w.scale,")")))},out:function(){var e=this,t=e.zoom,n=e.params.zoom,a=t.gesture;a.$slideEl||(a.$slideEl=e.clickedSlide?(0,c.$)(e.clickedSlide):e.slides.eq(e.activeIndex),a.$imageEl=a.$slideEl.find("img, svg, canvas"),a.$imageWrapEl=a.$imageEl.parent(".".concat(n.containerClass))),a.$imageEl&&0!==a.$imageEl.length&&(t.scale=1,t.currentScale=1,a.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),a.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),a.$slideEl.removeClass("".concat(n.zoomedSlideClass)),a.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var n=!("touchstart"!==e.touchEvents.start||!g.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};g.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,n),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,n),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,n),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,".".concat(e.params.zoom.containerClass),t.onTouchMove)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var n=!("touchstart"!==e.touchEvents.start||!g.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};g.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,n),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,n),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,n),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,".".concat(e.params.zoom.containerClass),t.onTouchMove)}}},J={loadInSlide:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,a=n.params.lazy;if(void 0!==e&&0!==n.slides.length){var i=n.virtual&&n.params.virtual.enabled,r=i?n.$wrapperEl.children(".".concat(n.params.slideClass,'[data-swiper-slide-index="').concat(e,'"]')):n.slides.eq(e),s=r.find(".".concat(a.elementClass,":not(.").concat(a.loadedClass,"):not(.").concat(a.loadingClass,")"));!r.hasClass(a.elementClass)||r.hasClass(a.loadedClass)||r.hasClass(a.loadingClass)||(s=s.add(r[0])),0!==s.length&&s.each((function(e,i){var s=(0,c.$)(i);s.addClass(a.loadingClass);var o=s.attr("data-background"),l=s.attr("data-src"),u=s.attr("data-srcset"),d=s.attr("data-sizes");n.loadImage(s[0],l||o,u,d,!1,(function(){if(null!=n&&n&&(!n||n.params)&&!n.destroyed){if(o?(s.css("background-image",'url("'.concat(o,'")')),s.removeAttr("data-background")):(u&&(s.attr("srcset",u),s.removeAttr("data-srcset")),d&&(s.attr("sizes",d),s.removeAttr("data-sizes")),l&&(s.attr("src",l),s.removeAttr("data-src"))),s.addClass(a.loadedClass).removeClass(a.loadingClass),r.find(".".concat(a.preloaderClass)).remove(),n.params.loop&&t){var e=r.attr("data-swiper-slide-index");if(r.hasClass(n.params.slideDuplicateClass)){var i=n.$wrapperEl.children('[data-swiper-slide-index="'.concat(e,'"]:not(.').concat(n.params.slideDuplicateClass,")"));n.lazy.loadInSlide(i.index(),!1)}else{var c=n.$wrapperEl.children(".".concat(n.params.slideDuplicateClass,'[data-swiper-slide-index="').concat(e,'"]'));n.lazy.loadInSlide(c.index(),!1)}}n.emit("lazyImageReady",r[0],s[0])}})),n.emit("lazyImageLoad",r[0],s[0])}))}},load:function(){var e=this,t=e.$wrapperEl,n=e.params,a=e.slides,i=e.activeIndex,r=e.virtual&&n.virtual.enabled,s=n.lazy,o=n.slidesPerView;function l(e){if(r){if(t.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]')).length)return!0}else if(a[e])return!0;return!1}function u(e){return r?(0,c.$)(e).attr("data-swiper-slide-index"):(0,c.$)(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children(".".concat(n.slideVisibleClass)).each((function(t,n){var a=r?(0,c.$)(n).attr("data-swiper-slide-index"):(0,c.$)(n).index();e.lazy.loadInSlide(a)}));else if(o>1)for(var d=i;d<i+o;d+=1)l(d)&&e.lazy.loadInSlide(d);else e.lazy.loadInSlide(i);if(s.loadPrevNext)if(o>1||s.loadPrevNextAmount&&s.loadPrevNextAmount>1){for(var p=s.loadPrevNextAmount,f=o,h=Math.min(i+f+Math.max(p,f),a.length),v=Math.max(i-Math.max(f,p),0),m=i+o;m<h;m+=1)l(m)&&e.lazy.loadInSlide(m);for(var g=v;g<i;g+=1)l(g)&&e.lazy.loadInSlide(g)}else{var b=t.children(".".concat(n.slideNextClass));b.length>0&&e.lazy.loadInSlide(u(b));var w=t.children(".".concat(n.slidePrevClass));w.length>0&&e.lazy.loadInSlide(u(w))}}},ee={LinearSpline:function(e,t){var n,a,i,r,s,o=function(e,t){for(a=-1,n=e.length;n-a>1;)e[i=n+a>>1]<=t?a=i:n=i;return n};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(s=o(this.x,e),r=s-1,(e-this.x[r])*(this.y[s]-this.y[r])/(this.x[s]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new ee.LinearSpline(t.slidesGrid,e.slidesGrid):new ee.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var n,a,i=this,r=i.controller.control;function s(e){var t=i.rtlTranslate?-i.translate:i.translate;"slide"===i.params.controller.by&&(i.controller.getInterpolateFunction(e),a=-i.controller.spline.interpolate(-t)),a&&"container"!==i.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(i.maxTranslate()-i.minTranslate()),a=(t-i.minTranslate())*n+e.minTranslate()),i.params.controller.inverse&&(a=e.maxTranslate()-a),e.updateProgress(a),e.setTranslate(a,i),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o<r.length;o+=1)r[o]!==t&&r[o]instanceof N&&s(r[o]);else r instanceof N&&t!==r&&s(r)},setTransition:function(e,t){var n,a=this,i=a.controller.control;function r(t){t.setTransition(e,a),0!==e&&(t.transitionStart(),t.params.autoHeight&&m.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){i&&(t.params.loop&&"slide"===a.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(i))for(n=0;n<i.length;n+=1)i[n]!==t&&i[n]instanceof N&&r(i[n]);else i instanceof N&&t!==i&&r(i)}},te={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,n=t.params.a11y;if(13===e.keyCode){var a=(0,c.$)(e.target);t.navigation&&t.navigation.$nextEl&&a.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(n.lastSlideMessage):t.a11y.notify(n.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&a.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(n.firstSlideMessage):t.a11y.notify(n.prevSlideMessage)),t.pagination&&a.is(".".concat(t.params.pagination.bulletClass))&&a[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,n=t.$nextEl,a=t.$prevEl;a&&a.length>0&&(e.isBeginning?e.a11y.disableEl(a):e.a11y.enableEl(a)),n&&n.length>0&&(e.isEnd?e.a11y.disableEl(n):e.a11y.enableEl(n))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(n,a){var i=(0,c.$)(a);e.a11y.makeElFocusable(i),e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,t.paginationBulletMessage.replace(/{{index}}/,i.index()+1))}))},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,n,a=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,a.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),n&&(e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,a.prevSlideMessage),n.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown",".".concat(e.params.pagination.bulletClass),e.a11y.onEnterKey)},destroy:function(){var e,t,n=this;n.a11y.liveRegion&&n.a11y.liveRegion.length>0&&n.a11y.liveRegion.remove(),n.navigation&&n.navigation.$nextEl&&(e=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(t=n.navigation.$prevEl),e&&e.off("keydown",n.a11y.onEnterKey),t&&t.off("keydown",n.a11y.onEnterKey),n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.off("keydown",".".concat(n.params.pagination.bulletClass),n.a11y.onEnterKey)}},ne={init:function(){var e=this;if(e.params.history){if(!u.u.history||!u.u.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var t=e.history;t.initialized=!0,t.paths=ne.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||u.u.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||u.u.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=ne.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(){var e=u.u.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){var n=this;if(n.history.initialized&&n.params.history.enabled){var a=n.slides.eq(t),i=ne.slugify(a.attr("data-history"));u.u.location.pathname.includes(e)||(i="".concat(e,"/").concat(i));var r=u.u.history.state;r&&r.value===i||(n.params.history.replaceState?u.u.history.replaceState({value:i},null,i):u.u.history.pushState({value:i},null,i))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){var a=this;if(t)for(var i=0,r=a.slides.length;i<r;i+=1){var s=a.slides.eq(i);if(ne.slugify(s.attr("data-history"))===t&&!s.hasClass(a.params.slideDuplicateClass)){var o=s.index();a.slideTo(o,e,n)}}else a.slideTo(0,e,n)}},ae={onHashCange:function(){var e=this,t=u.t.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){var n=e.$wrapperEl.children(".".concat(e.params.slideClass,'[data-hash="').concat(t,'"]')).index();if(void 0===n)return;e.slideTo(n)}},setHash:function(){var e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&u.u.history&&u.u.history.replaceState)u.u.history.replaceState(null,null,"#".concat(e.slides.eq(e.activeIndex).attr("data-hash"))||0);else{var t=e.slides.eq(e.activeIndex),n=t.attr("data-hash")||t.attr("data-history");u.t.location.hash=n||""}},init:function(){var e=this;if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var t=u.t.location.hash.replace("#","");if(t)for(var n=0,a=e.slides.length;n<a;n+=1){var i=e.slides.eq(n);if((i.attr("data-hash")||i.attr("data-history"))===t&&!i.hasClass(e.params.slideDuplicateClass)){var r=i.index();e.slideTo(r,0,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&(0,c.$)(u.u).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&(0,c.$)(u.u).off("hashchange",this.hashNavigation.onHashCange)}},ie={run:function(){var e=this,t=e.slides.eq(e.activeIndex),n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=m.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),n)},start:function(){var e=this;return void 0===e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop:function(){var e=this;return!!e.autoplay.running&&(void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},re={setTranslate:function(){for(var e=this,t=e.slides,n=0;n<t.length;n+=1){var a=e.slides.eq(n),i=-a[0].swiperSlideOffset;e.params.virtualTranslate||(i-=e.translate);var r=0;e.isHorizontal()||(r=i,i=0);var s=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(a[0].progress),0):1+Math.min(Math.max(a[0].progress,-1),0);a.css({opacity:s}).transform("translate3d(".concat(i,"px, ").concat(r,"px, 0px)"))}},setTransition:function(e){var t=this,n=t.slides,a=t.$wrapperEl;if(n.transition(e),t.params.virtualTranslate&&0!==e){var i=!1;n.transitionEnd((function(){if(!i&&t&&!t.destroyed){i=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)a.trigger(e[n])}}))}}},se={setTranslate:function(){var e,t=this,n=t.$el,a=t.$wrapperEl,i=t.slides,r=t.width,s=t.height,o=t.rtlTranslate,l=t.size,u=t.params.cubeEffect,d=t.isHorizontal(),p=t.virtual&&t.params.virtual.enabled,f=0;u.shadow&&(d?(0===(e=a.find(".swiper-cube-shadow")).length&&(e=(0,c.$)('<div class="swiper-cube-shadow"></div>'),a.append(e)),e.css({height:"".concat(r,"px")})):0===(e=n.find(".swiper-cube-shadow")).length&&(e=(0,c.$)('<div class="swiper-cube-shadow"></div>'),n.append(e)));for(var h=0;h<i.length;h+=1){var v=i.eq(h),m=h;p&&(m=parseInt(v.attr("data-swiper-slide-index"),10));var g=90*m,w=Math.floor(g/360);o&&(g=-g,w=Math.floor(-g/360));var y=Math.max(Math.min(v[0].progress,1),-1),E=0,x=0,S=0;m%4==0?(E=4*-w*l,S=0):(m-1)%4==0?(E=0,S=4*-w*l):(m-2)%4==0?(E=l+4*w*l,S=l):(m-3)%4==0&&(E=-l,S=3*l+4*l*w),o&&(E=-E),d||(x=E,E=0);var T="rotateX(".concat(d?0:-g,"deg) rotateY(").concat(d?g:0,"deg) translate3d(").concat(E,"px, ").concat(x,"px, ").concat(S,"px)");if(y<=1&&y>-1&&(f=90*m+90*y,o&&(f=90*-m-90*y)),v.transform(T),u.slideShadows){var C=d?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),k=d?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===C.length&&(C=(0,c.$)('<div class="swiper-slide-shadow-'.concat(d?"left":"top",'"></div>')),v.append(C)),0===k.length&&(k=(0,c.$)('<div class="swiper-slide-shadow-'.concat(d?"right":"bottom",'"></div>')),v.append(k)),C.length&&(C[0].style.opacity=Math.max(-y,0)),k.length&&(k[0].style.opacity=Math.max(y,0))}}if(a.css({"-webkit-transform-origin":"50% 50% -".concat(l/2,"px"),"-moz-transform-origin":"50% 50% -".concat(l/2,"px"),"-ms-transform-origin":"50% 50% -".concat(l/2,"px"),"transform-origin":"50% 50% -".concat(l/2,"px")}),u.shadow)if(d)e.transform("translate3d(0px, ".concat(r/2+u.shadowOffset,"px, ").concat(-r/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(u.shadowScale,")"));else{var P=Math.abs(f)-90*Math.floor(Math.abs(f)/90),M=1.5-(Math.sin(2*P*Math.PI/360)/2+Math.cos(2*P*Math.PI/360)/2),I=u.shadowScale,z=u.shadowScale/M,$=u.shadowOffset;e.transform("scale3d(".concat(I,", 1, ").concat(z,") translate3d(0px, ").concat(s/2+$,"px, ").concat(-s/2/z,"px) rotateX(-90deg)"))}var O=b.isSafari||b.isUiWebView?-l/2:0;a.transform("translate3d(0px,0,".concat(O,"px) rotateX(").concat(t.isHorizontal()?0:f,"deg) rotateY(").concat(t.isHorizontal()?-f:0,"deg)"))},setTransition:function(e){var t=this,n=t.$el;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&n.find(".swiper-cube-shadow").transition(e)}},oe={setTranslate:function(){for(var e=this,t=e.slides,n=e.rtlTranslate,a=0;a<t.length;a+=1){var i=t.eq(a),r=i[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(i[0].progress,1),-1));var s=-180*r,o=0,l=-i[0].swiperSlideOffset,u=0;if(e.isHorizontal()?n&&(s=-s):(u=l,l=0,o=-s,s=0),i[0].style.zIndex=-Math.abs(Math.round(r))+t.length,e.params.flipEffect.slideShadows){var d=e.isHorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),p=e.isHorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===d.length&&(d=(0,c.$)('<div class="swiper-slide-shadow-'.concat(e.isHorizontal()?"left":"top",'"></div>')),i.append(d)),0===p.length&&(p=(0,c.$)('<div class="swiper-slide-shadow-'.concat(e.isHorizontal()?"right":"bottom",'"></div>')),i.append(p)),d.length&&(d[0].style.opacity=Math.max(-r,0)),p.length&&(p[0].style.opacity=Math.max(r,0))}i.transform("translate3d(".concat(l,"px, ").concat(u,"px, 0px) rotateX(").concat(o,"deg) rotateY(").concat(s,"deg)"))}},setTransition:function(e){var t=this,n=t.slides,a=t.activeIndex,i=t.$wrapperEl;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;n.eq(a).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)i.trigger(e[n])}}))}}},le={setTranslate:function(){for(var e=this,t=e.width,n=e.height,a=e.slides,i=e.$wrapperEl,r=e.slidesSizesGrid,s=e.params.coverflowEffect,o=e.isHorizontal(),l=e.translate,u=o?t/2-l:n/2-l,d=o?s.rotate:-s.rotate,p=s.depth,f=0,h=a.length;f<h;f+=1){var v=a.eq(f),m=r[f],b=(u-v[0].swiperSlideOffset-m/2)/m*s.modifier,w=o?d*b:0,y=o?0:d*b,E=-p*Math.abs(b),x=o?0:s.stretch*b,S=o?s.stretch*b:0;Math.abs(S)<.001&&(S=0),Math.abs(x)<.001&&(x=0),Math.abs(E)<.001&&(E=0),Math.abs(w)<.001&&(w=0),Math.abs(y)<.001&&(y=0);var T="translate3d(".concat(S,"px,").concat(x,"px,").concat(E,"px) rotateX(").concat(y,"deg) rotateY(").concat(w,"deg)");if(v.transform(T),v[0].style.zIndex=1-Math.abs(Math.round(b)),s.slideShadows){var C=o?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),k=o?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===C.length&&(C=(0,c.$)('<div class="swiper-slide-shadow-'.concat(o?"left":"top",'"></div>')),v.append(C)),0===k.length&&(k=(0,c.$)('<div class="swiper-slide-shadow-'.concat(o?"right":"bottom",'"></div>')),v.append(k)),C.length&&(C[0].style.opacity=b>0?b:0),k.length&&(k[0].style.opacity=-b>0?-b:0)}}(g.pointerEvents||g.prefixedPointerEvents)&&(i[0].style.perspectiveOrigin="".concat(u,"px 50%"))},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},ce={init:function(){var e=this,t=e.params.thumbs,n=e.constructor;t.swiper instanceof n?(e.thumbs.swiper=t.swiper,m.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),m.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):m.isObject(t.swiper)&&(e.thumbs.swiper=new n(m.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var n=t.clickedIndex,a=t.clickedSlide;if(!(a&&(0,c.$)(a).hasClass(e.params.thumbs.slideThumbActiveClass)||null==n)){var i;if(i=t.params.loop?parseInt((0,c.$)(t.clickedSlide).attr("data-swiper-slide-index"),10):n,e.params.loop){var r=e.activeIndex;e.slides.eq(r).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,r=e.activeIndex);var s=e.slides.eq(r).prevAll('[data-swiper-slide-index="'.concat(i,'"]')).eq(0).index(),o=e.slides.eq(r).nextAll('[data-swiper-slide-index="'.concat(i,'"]')).eq(0).index();i=void 0===s?o:void 0===o?s:o-r<r-s?o:s}e.slideTo(i)}}},update:function(e){var t=this,n=t.thumbs.swiper;if(n){var a="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView;if(t.realIndex!==n.realIndex){var i,r=n.activeIndex;if(n.params.loop){n.slides.eq(r).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,r=n.activeIndex);var s=n.slides.eq(r).prevAll('[data-swiper-slide-index="'.concat(t.realIndex,'"]')).eq(0).index(),o=n.slides.eq(r).nextAll('[data-swiper-slide-index="'.concat(t.realIndex,'"]')).eq(0).index();i=void 0===s?o:void 0===o?s:o-r==r-s?r:o-r<r-s?o:s}else i=t.realIndex;n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(i)<0&&(n.params.centeredSlides?i=i>r?i-Math.floor(a/2)+1:i+Math.floor(a/2)-1:i>r&&(i=i-a+1),n.slideTo(i,e?0:void 0))}var l=1,c=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(l=t.params.slidesPerView),n.slides.removeClass(c),n.params.loop||n.params.virtual)for(var u=0;u<l;u+=1)n.$wrapperEl.children('[data-swiper-slide-index="'.concat(t.realIndex+u,'"]')).addClass(c);else for(var d=0;d<l;d+=1)n.slides.eq(t.realIndex+d).addClass(c)}}},ue=[_,R,B,j,V,G,F,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;m.extend(e,{mousewheel:{enabled:!1,enable:Y.enable.bind(e),disable:Y.disable.bind(e),handle:Y.handle.bind(e),handleMouseEnter:Y.handleMouseEnter.bind(e),handleMouseLeave:Y.handleMouseLeave.bind(e),lastScrollTime:m.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;m.extend(e,{navigation:{init:q.init.bind(e),update:q.update.bind(e),destroy:q.destroy.bind(e),onNextClick:q.onNextClick.bind(e),onPrevClick:q.onPrevClick.bind(e)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,n=this,a=n.navigation,i=a.$nextEl,r=a.$prevEl;!n.params.navigation.hideOnClick||(0,c.$)(e.target).is(r)||(0,c.$)(e.target).is(i)||(i?t=i.hasClass(n.params.navigation.hiddenClass):r&&(t=r.hasClass(n.params.navigation.hiddenClass)),!0===t?n.emit("navigationShow",n):n.emit("navigationHide",n),i&&i.toggleClass(n.params.navigation.hiddenClass),r&&r.toggleClass(n.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var e=this;m.extend(e,{pagination:{init:W.init.bind(e),render:W.render.bind(e),update:W.update.bind(e),destroy:W.destroy.bind(e),dynamicBulletIndex:0}})},on:{init:function(){var e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(){var e=this;(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){var e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(){var e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){var t=this;t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!(0,c.$)(e.target).hasClass(t.params.pagination.bulletClass)&&(!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;m.extend(e,{scrollbar:{init:U.init.bind(e),destroy:U.destroy.bind(e),updateSize:U.updateSize.bind(e),setTranslate:U.setTranslate.bind(e),setTransition:U.setTransition.bind(e),enableDraggable:U.enableDraggable.bind(e),disableDraggable:U.disableDraggable.bind(e),setDragPosition:U.setDragPosition.bind(e),getPointerPosition:U.getPointerPosition.bind(e),onDragStart:U.onDragStart.bind(e),onDragMove:U.onDragMove.bind(e),onDragEnd:U.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){var e=this;m.extend(e,{parallax:{setTransform:K.setTransform.bind(e),setTranslate:K.setTranslate.bind(e),setTransition:K.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(n){t[n]=Q[n].bind(e)})),m.extend(e,{zoom:t});var n=1;Object.defineProperty(e.zoom,"scale",{get:function(){return n},set:function(t){if(n!==t){var a=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,i=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,a,i)}n=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){var t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd:function(){var e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var e=this;m.extend(e,{lazy:{initialImageLoaded:!1,load:J.load.bind(e),loadInSlide:J.loadInSlide.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(){var e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(){var e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){var e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;m.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:ee.getInterpolateFunction.bind(e),setTranslate:ee.setTranslate.bind(e),setTransition:ee.setTransition.bind(e)}})},on:{update:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;m.extend(e,{a11y:{liveRegion:(0,c.$)('<span class="'.concat(e.params.a11y.notificationClass,'" aria-live="assertive" aria-atomic="true"></span>'))}}),Object.keys(te).forEach((function(t){e.a11y[t]=te[t].bind(e)}))},on:{init:function(){var e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;m.extend(e,{history:{init:ne.init.bind(e),setHistory:ne.setHistory.bind(e),setHistoryPopState:ne.setHistoryPopState.bind(e),scrollToSlide:ne.scrollToSlide.bind(e),destroy:ne.destroy.bind(e)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){var e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;m.extend(e,{hashNavigation:{initialized:!1,init:ae.init.bind(e),destroy:ae.destroy.bind(e),setHash:ae.setHash.bind(e),onHashCange:ae.onHashCange.bind(e)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;m.extend(e,{autoplay:{running:!1,paused:!1,run:ie.run.bind(e),start:ie.start.bind(e),stop:ie.stop.bind(e),pause:ie.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){var n=this;n.autoplay.running&&(t||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(e):n.autoplay.stop())},sliderFirstMove:function(){var e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){var e=this;m.extend(e,{fadeEffect:{setTranslate:re.setTranslate.bind(e),setTransition:re.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("fade"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"fade"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var e=this;m.extend(e,{cubeEffect:{setTranslate:se.setTranslate.bind(e),setTransition:se.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"cube")),e.classNames.push("".concat(e.params.containerModifierClass,"3d"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){var e=this;m.extend(e,{flipEffect:{setTranslate:oe.setTranslate.bind(e),setTransition:oe.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("flip"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"flip")),e.classNames.push("".concat(e.params.containerModifierClass,"3d"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){var e=this;m.extend(e,{coverflowEffect:{setTranslate:le.setTranslate.bind(e),setTransition:le.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push("".concat(e.params.containerModifierClass,"coverflow")),e.classNames.push("".concat(e.params.containerModifierClass,"3d")),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){var e=this;m.extend(e,{thumbs:{swiper:null,init:ce.init.bind(e),update:ce.update.bind(e),onThumbClick:ce.onThumbClick.bind(e)}})},on:{beforeInit:function(){var e=this,t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];void 0===N.use&&(N.use=N.Class.use,N.installModule=N.Class.installModule),N.use(ue),t.Z=N},3804:function(e){"use strict";e.exports=window.lodash},402:function(e){"use strict";e.exports=window.wp.a11y},7606:function(e){"use strict";e.exports=window.wp.apiFetch},6399:function(e){"use strict";e.exports=window.wp.blockEditor},9314:function(e){"use strict";e.exports=window.wp.blocks},7997:function(e){"use strict";e.exports=window.wp.components},1417:function(e){"use strict";e.exports=window.wp.compose},5707:function(e){"use strict";e.exports=window.wp.data},7947:function(e){"use strict";e.exports=window.wp.date},3027:function(e){"use strict";e.exports=window.wp.element},7950:function(e){"use strict";e.exports=window.wp.escapeHtml},5799:function(e){"use strict";e.exports=window.wp.hooks},1424:function(e){"use strict";e.exports=window.wp.htmlEntities},3163:function(e){"use strict";e.exports=window.wp.i18n},791:function(e){"use strict";e.exports=window.wp.url}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={id:a,loaded:!1,exports:{}};return e[a](r,r.exports,n),r.loaded=!0,r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};!function(){"use strict";n.r(a);var e=n(9394),t=n(9314),i=n(5799),r=n(1136),s=n(9564);(0,i.addFilter)("blocks.transforms_from_name","set-transformed-block-name",(function(e){return"newspack-blocks/carousel"!==e?e:r.T})),(0,t.registerBlockType)(r.T,(0,e.Z)((0,e.Z)({},s.Xd),{},{category:"widgets"}))}(),window.EditingToolkit=a}();
3
  Copyright (c) 2018 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)){if(n.length){var s=i.apply(null,n);s&&e.push(s)}}else if("object"===r)if(n.toString===Object.prototype.toString)for(var o in n)a.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},8803:function(){},8073:function(){},4457:function(){},2397:function(e,t,n){"use strict";var a=n(1260);t.ZP=a.ZP},608:function(e,t,n){"use strict";n.d(t,{RE:function(){return a.RE},gz:function(){return a.gz}});var a=n(5703)},8717:function(e,t,n){"use strict";n.d(t,{md:function(){return p},qC:function(){return d},MT:function(){return o}});var a=n(4527),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},r={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function s(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function o(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var l=e,c=t,u=[],d=u,p=!1;function f(){d===u&&(d=u.slice())}function h(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function v(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return f(),d.push(e),function(){if(t){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,f();var n=d.indexOf(e);d.splice(n,1),u=null}}}function m(e){if(!s(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,c=l(c,e)}finally{p=!1}for(var t=u=d,n=0;n<t.length;n++){(0,t[n])()}return e}function g(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,m({type:r.REPLACE})}function b(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[a.Z]=function(){return this},e}return m({type:r.INIT}),(i={dispatch:m,subscribe:v,getState:h,replaceReducer:g})[a.Z]=b,i}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(n,!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),a=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},r=t.map((function(e){return e(i)}));return u({},n,{dispatch:a=d.apply(void 0,r)(n.dispatch)})}}}},5913:function(e,t,n){"use strict";n.d(t,{u:function(){return i},t:function(){return a}});var a="undefined"==typeof document?{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[]}}},location:{hash:""}}:document,i="undefined"==typeof window?{document:a,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window},4527:function(e,t,n){"use strict";var a,i=n(9462);e=n.hmd(e),a="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var r=(0,i.Z)(a);t.Z=r},9462:function(e,t,n){"use strict";function a(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,{Z:function(){return a}})},1136:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var a="a8c/posts-carousel"},1188:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var a=n(402),i=n(7950),r=n(3163),s=n(9529),__=r.__,o="wp-block-newspack-blocks-carousel__autoplay-playing";function l(e,t){Array.prototype.forEach.call(e,t)}function c(e){e&&(e.setAttribute("aria-hidden","false"),l(e.querySelectorAll("a"),(function(e){return e.removeAttribute("tabindex")})))}function u(e){e&&(e.setAttribute("aria-hidden","true"),l(e.querySelectorAll("a"),(function(e){return e.setAttribute("tabindex","-1")})))}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=0<e.container.offsetWidth&&0<e.container.offsetHeight;if(!n)return!1;var d=new s.Z(e.container,{a11y:!1,autoplay:!!t.autoplay&&{delay:t.delay,disableOnInteraction:!1},effect:"slide",grabCursor:!0,init:!1,initialSlide:t.initialSlide||0,loop:!0,navigation:{nextEl:e.next,prevEl:e.prev},pagination:{bulletElement:"button",clickable:!0,el:e.pagination,type:"bullets",renderBullet:function(e,t){return'<button class="'.concat(t,'"><span>').concat((0,r.sprintf)(__("Slide %s","newspack-blocks"),e+1),"</span></button>")}},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,slidesPerView:t.slidesPerView,spaceBetween:16,touchStartPreventDefault:!1,breakpoints:{600:{slidesPerView:t.slidesPerView>1?2:1}},on:{init:function(){l(this.wrapperEl.querySelectorAll(".swiper-slide"),(function(e){return u(e)})),c(this.slides[this.activeIndex])},slideChange:function(){var e=this.slides[this.activeIndex];if(u(this.slides[this.previousIndex]),c(e),!this.autoplay.running){var t=e.querySelector("img"),n=!!t&&(null==t?void 0:t.alt),s=(0,r.sprintf)(__("Slide %s of %s","newspack-blocks"),this.realIndex+1,this.pagination.bullets.length);(0,a.speak)((0,i.escapeHTML)("".concat(e.innerText,",\n\t\t\t\t\t\t\t").concat(n?(0,r.sprintf)(__("Image: %s, ","newspack-blocks"),n):"","\n\t\t\t\t\t\t\t").concat(s)),"assertive")}}}});function p(){var e=t.aspectRatio;Array.from(this.slides).forEach((function(t){t.style.height="".concat(t.clientWidth*e,"px")}))}if(d.on("imagesReady",p),d.on("resize",p),t.autoplay){function t(){d.autoplay.stop(),e.play.focus()}function n(){d.autoplay.start(),e.pause.focus()}d.on("init",(function(){e.play.addEventListener("click",n),e.pause.addEventListener("click",t)})),d.on("autoplayStart",(function(){e.block.classList.add(o),(0,a.speak)(__("Playing","newspack-blocks"),"assertive")})),d.on("autoplayStop",(function(){e.block.classList.remove(o),(0,a.speak)(__("Paused","newspack-blocks"),"assertive")})),d.on("beforeDestroy",(function(){e.play.removeEventListener("click",n),e.pause.removeEventListener("click",t)}))}return d.init(),d}},1787:function(e,t,n){"use strict";var a=n(1766),i=n(4659),r=n(4730),s=n(5663),o=n(9049),l=n(3027),c=n(3804),u=n(2779),d=n.n(u),p=n(3163),f=n(6399),h=n(7947),v=n(7997),m=n(5707),g=n(1417),b=n(1424),w=n(5113),y=n(1188),E=n(904),x=n(8328),__=p.__,S=function(e){(0,s.Z)(n,e);var t=(0,o.Z)(n);function n(e){var a;return(0,i.Z)(this,n),(a=t.call(this,e)).btnPlayRef=(0,l.createRef)(),a.btnPauseRef=(0,l.createRef)(),a.btnNextRef=(0,l.createRef)(),a.btnPrevRef=(0,l.createRef)(),a.carouselRef=(0,l.createRef)(),a.paginationRef=(0,l.createRef)(),a.state={swiperInitialized:!1},a}return(0,r.Z)(n,[{key:"componentDidMount",value:function(){this.initializeSwiper(0),this.props.triggerReflow()}},{key:"componentDidUpdate",value:function(e){if(!(0<this.carouselRef.current.offsetWidth&&0<this.carouselRef.current.offsetHeight))return!1;if(!this.state.swiperInitialized)return this.initializeSwiper(0);(0,x.Ou)(e,this.props)&&this.props.triggerReflow();var t=this.props,n=t.attributes,a=t.latestPosts;if(!(0,c.isEqual)(e.latestPosts,a)||!(0,c.isEqual)(e.attributes,n)){var i=0;this.swiperInstance&&(a&&this.swiperInstance.realIndex<a.length&&(i=this.swiperInstance.realIndex),this.swiperInstance.destroy(!0,!0)),this.initializeSwiper(i)}}},{key:"componentWillUnmount",value:function(){this.props.triggerReflow()}},{key:"initializeSwiper",value:function(e){var t=this.props.latestPosts;if(t&&t.length){var n=this.props.attributes,a=n.aspectRatio,i=n.autoplay,r=n.delay,s=n.slidesPerView,o=(0,y.Z)({block:this.carouselRef.current,container:this.carouselRef.current,next:this.btnNextRef.current,prev:this.btnPrevRef.current,play:this.btnPlayRef.current,pause:this.btnPauseRef.current,pagination:this.paginationRef.current},{aspectRatio:a,autoplay:i,delay:1e3*r,initialSlide:e,slidesPerView:s<=t.length?s:t.length});o&&(this.swiperInstance=o,this.setState({swiperInitialized:!0}))}}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.availablePostTypes,i=e.className,r=e.setAttributes,s=e.latestPosts,o=e.isUIDisabled,c=t.aspectRatio,u=t.authors,p=t.autoplay,m=t.categories,g=t.delay,y=t.hideControls,x=t.imageFit,S=t.postsToShow,T=t.postType,C=t.showCategory,k=t.showDate,P=t.showAuthor,M=t.showAvatar,I=t.showTitle,z=t.slidesPerView,$=t.specificMode,O=t.specificPosts,L=t.tags,A=d()(i,"wp-block-newspack-blocks-carousel","swiper-container",{"wp-block-newspack-blocks-carousel__autoplay-playing":p,"newspack-block--disabled":o,"hide-controls":y}),D=(0,h.__experimentalGetSettings)().formats.date,N=s&&!s.length,_=s&&1===s.length,R=s?Math.min(S,s.length):S,B=[{value:1,label:__("Square","newspack-blocks"),shortName:__("1:1","newspack-blocks")},{value:.75,label:__("4:3","newspack-blocks"),shortName:__("4:3","newspack-blocks")},{value:.5625,label:__("16:9","newspack-blocks"),shortName:__("16:9","newspack-blocks")},{value:4/3,label:__("3:4","newspack-blocks"),shortName:__("3:4","newspack-blocks")},{value:16/9,label:__("9:16","newspack-blocks"),shortName:__("9:16","newspack-blocks")}];return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{className:A,ref:this.carouselRef},N&&(0,l.createElement)(v.Placeholder,{className:"component-placeholder__align-center"},(0,l.createElement)("div",{style:{margin:"auto"}},__("Sorry, no posts were found."))),!s&&(0,l.createElement)(v.Placeholder,{icon:(0,l.createElement)(v.Spinner,null),className:"component-placeholder__align-center"}),s&&(0,l.createElement)(l.Fragment,null,p&&(0,l.createElement)(l.Fragment,null,(0,l.createElement)("button",{className:"amp-carousel-button-pause amp-carousel-button",ref:this.btnPauseRef}),(0,l.createElement)("button",{className:"amp-carousel-button-play amp-carousel-button",ref:this.btnPlayRef})),(0,l.createElement)("div",{className:"swiper-wrapper"},s.map((function(e){return(0,l.createElement)("article",{className:"post-has-image swiper-slide ".concat(e.post_type),key:e.id},(0,l.createElement)("figure",{className:"post-thumbnail"},(0,l.createElement)("a",{href:"#",rel:"bookmark"},e.newspack_featured_image_src?(0,l.createElement)("img",{className:"image-fit-".concat(x),src:e.newspack_featured_image_src.large,alt:""}):(0,l.createElement)("div",{className:"wp-block-newspack-blocks-carousel__placeholder"}))),(e.newspack_post_sponsors||C||I||P||k)&&(0,l.createElement)("div",{className:"entry-wrapper"},e.newspack_post_sponsors&&(0,l.createElement)("span",{className:"cat-links sponsor-label"},(0,l.createElement)("span",{className:"flag"},e.newspack_post_sponsors[0].flag)),C&&e.newspack_category_info.length&&!e.newspack_post_sponsors&&(0,l.createElement)("div",{className:"cat-links"},(0,l.createElement)("a",{href:"#"},(0,b.decodeEntities)(e.newspack_category_info))),I&&(0,l.createElement)("h3",{className:"entry-title"},(0,l.createElement)("a",{href:"#"},(0,b.decodeEntities)(e.title.rendered.trim()))),(0,l.createElement)("div",{className:"entry-meta"},e.newspack_post_sponsors&&(0,E.b2)(e.newspack_post_sponsors),e.newspack_post_sponsors&&(0,E.Q$)(e.newspack_post_sponsors),P&&M&&!e.newspack_post_sponsors&&(0,E.lW)(e.newspack_author_info),P&&!e.newspack_post_sponsors&&(0,E.FX)(e.newspack_author_info),k&&(0,l.createElement)("time",{className:"entry-date published",key:"pub-date"},(0,h.dateI18n)(D,e.date_gmt)))))}))),!N&&!_&&(0,l.createElement)(l.Fragment,null,(0,l.createElement)("button",{className:"amp-carousel-button amp-carousel-button-prev swiper-button-prev",ref:this.btnPrevRef}),(0,l.createElement)("button",{className:"amp-carousel-button amp-carousel-button-next swiper-button-next",ref:this.btnNextRef}),(0,l.createElement)("div",{className:"swiper-pagination-bullets amp-pagination",ref:this.paginationRef})))),(0,l.createElement)(f.InspectorControls,null,(0,l.createElement)(v.PanelBody,{title:__("Display Settings"),initialOpen:!0},S&&(0,l.createElement)(w.Z,{numberOfItems:S,onNumberOfItemsChange:function(e){return r({postsToShow:e||1})},authors:u,onAuthorsChange:function(e){return r({authors:e})},categories:m,onCategoriesChange:function(e){return r({categories:e})},tags:L,onTagsChange:function(e){return r({tags:e})},specificMode:$,onSpecificModeChange:function(e){return r({specificMode:e})},specificPosts:O,onSpecificPostsChange:function(e){return r({specificPosts:e})},postType:T})),(0,l.createElement)(v.PanelBody,{title:__("Slideshow Settings"),initialOpen:!0},(0,l.createElement)(v.BaseControl,{label:__("Slide Aspect Ratio","newspack-blocks"),help:__("All slides will share the same aspect ratio, for consistency.","newspack-popups"),id:"newspack-blocks__aspect-ratio-control"},(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ButtonGroup,{id:"newspack-blocks__aspect-ratio-control-buttons","aria-label":__("Slide Aspect Ratio","newspack-blocks")},B.map((function(e){var t=c===e.value;return(0,l.createElement)(v.Button,{isLarge:!0,isPrimary:t,"aria-pressed":t,"aria-label":e.label,key:e.value,onClick:function(){return r({aspectRatio:e.value})}},e.shortName)}))))),(0,l.createElement)(v.BaseControl,{label:__("Image Fit","newspack-blocks"),help:__("cover"===x?"The image will fill the entire slide and will be cropped if necessary.":"The image will be resized to fit inside the slide without being cropped.","newspack-popups"),id:"newspack-blocks__blocks__image-fit-control"},(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ButtonGroup,{id:"newspack-blocks__image-fit-buttons","aria-label":__("Image Fit","newspack-blocks")},(0,l.createElement)(v.Button,{isLarge:!0,isPrimary:"cover"===x,"aria-pressed":"cover"===x,"aria-label":__("Cover","newspack-blocks"),onClick:function(){return r({imageFit:"cover"})}},__("Cover","newspack-blocks")),(0,l.createElement)(v.Button,{isLarge:!0,isPrimary:"contain"===x,"aria-pressed":"contain"===x,"aria-label":__("Contain","newspack-blocks"),onClick:function(){return r({imageFit:"contain"})}},__("Contain","newspack-blocks"))))),(0,l.createElement)(v.ToggleControl,{label:__("Hide Controls"),help:__("Hide the slideshow UI. Useful when used with Autoplay."),checked:y,onChange:function(e){r({hideControls:e})}}),(0,l.createElement)(v.ToggleControl,{label:__("Autoplay"),help:__("Autoplay between slides"),checked:p,onChange:function(e){r({autoplay:e})}}),p&&(0,l.createElement)(v.RangeControl,{label:__("Delay between transitions (in seconds)"),value:g,onChange:function(e){r({delay:e})},min:1,max:20}),s&&1<s.length&&(0,l.createElement)(v.RangeControl,{label:__("Number of slides to show at once"),value:z<=s.length?z:s.length,onChange:function(e){r({slidesPerView:e})},min:1,max:$?Math.min(6,s.length):Math.min(6,R)})),(0,l.createElement)(v.PanelBody,{title:__("Article Meta Settings","newspack-blocks")},(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ToggleControl,{label:__("Show Title","newspack-blocks"),checked:I,onChange:function(){return r({showTitle:!I})}})),(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ToggleControl,{label:__("Show Date","newspack-blocks"),checked:k,onChange:function(){return r({showDate:!k})}})),(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ToggleControl,{label:__("Show Category","newspack-blocks"),checked:C,onChange:function(){return r({showCategory:!C})}})),(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ToggleControl,{label:__("Show Author","newspack-blocks"),checked:P,onChange:function(){return r({showAuthor:!P})}})),P&&(0,l.createElement)(v.PanelRow,null,(0,l.createElement)(v.ToggleControl,{label:__("Show Author Avatar","newspack-blocks"),checked:M,onChange:function(){return r({showAvatar:!M})}}))),(0,l.createElement)(v.PanelBody,{title:__("Post Types","newspack-blocks")},n&&n.map((function(e){var t=e.name,n=e.slug;return(0,l.createElement)(v.PanelRow,{key:n},(0,l.createElement)(v.CheckboxControl,{label:t,checked:T.indexOf(n)>-1,onChange:function(e){var t=(0,a.Z)(new Set(T));e&&-1===t.indexOf(n)?t.push(n):!e&&t.indexOf(n)>-1&&t.splice(t.indexOf(n),1),r({postType:t})}}))})))))}}]),n}(l.Component);t.Z=(0,g.compose)([(0,m.withSelect)(x.b9),(0,m.withDispatch)(x.eL)])(S)},9564:function(e,t,n){"use strict";n.d(t,{Xd:function(){return o}});var a=n(3027),i=n(7997),r=n(3163),s=n(1787),__=(n(8073),n(8803),r.__),o={title:__("Post Carousel"),icon:{src:(0,a.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,a.createElement)(i.Path,{clipRule:"evenodd",d:"M7 18V6a2 2 0 012-2h6a2 2 0 012 2v12a2 2 0 01-2 2H9a2 2 0 01-2-2zM8.5 6v12a.5.5 0 00.5.5h6a.5.5 0 00.5-.5V6a.5.5 0 00-.5-.5H9a.5.5 0 00-.5.5z",fillRule:"evenodd"}),(0,a.createElement)(i.Path,{d:"M4 18.5v-13h1.5v13zM18.5 5.5v13H20v-13z"})),foreground:"#36f"},category:"newspack",keywords:[__("posts"),__("slideshow"),__("carousel")],description:__("A carousel of posts."),attributes:{className:{type:"string"},imageFit:{type:"string",default:"cover"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:5},postsToShow:{type:"integer",default:3},authors:{type:"array"},categories:{type:"array"},tags:{type:"array"},showDate:{type:"boolean",default:!0},showAuthor:{type:"boolean",default:!0},showAvatar:{type:"boolean",default:!0},showCategory:{type:"boolean",default:!1},showTitle:{type:"boolean",default:!0},postType:{type:"array",default:["post"],items:{type:"string"}},specificMode:{type:"boolean",default:!1},specificPosts:{type:"array",default:[],items:{type:"integer"}},slidesPerView:{type:"number",default:1},hideControls:{type:"boolean",default:!1},aspectRatio:{type:"number",default:.75}},supports:{html:!1,align:["center","wide","full"]},edit:s.Z,save:function(){return null}}},9707:function(e,t,n){"use strict";n.d(t,{$:function(){return c}});var a=n(9394),i=n(8717),r=(n(608),n(2397)),s=n(3804),o=(n(5707),n(7606),n(791),n(8177)),l=(n(8328),o.u2),c="newspack-blocks/".concat(l),u={postsByBlock:{},errorsByBlock:{}},d={reflow:function(){h.dispatch({type:"REFLOW"})}},p={getPosts:function(e){var t=e.clientId;return h.getState().postsByBlock[t]},getError:function(e){var t=e.clientId;return h.getState().errorsByBlock[t]},isUIDisabled:function(){return h.getState().isUIDisabled}},f=(0,r.ZP)(),h=(0,i.MT)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DISABLE_UI":return(0,s.set)(e,"isUIDisabled",!0);case"ENABLE_UI":return(0,s.set)(e,"isUIDisabled",!1);case"UPDATE_BLOCK_POSTS":return(0,s.set)(e,["postsByBlock",t.clientId],t.posts);case"UPDATE_BLOCK_ERROR":return(0,s.set)(e,["errorsByBlock",t.clientId],t.error)}return e}),(0,i.md)(f));(0,a.Z)({getSelectors:function(){return p},getActions:function(){return d}},h),JSON.stringify},8328:function(e,t,n){"use strict";n.d(t,{Ou:function(){return o},b9:function(){return d},eL:function(){return p}});var a=n(3804),i=n(3163),r=n(9707),__=i.__,s=["postsToShow","authors","categories","excerptLength","tags","showExcerpt","specificPosts","specificMode","tagExclusions","postType"],o=function(e,t){return!(0,a.isEqual)((0,a.pick)(e.attributes,s),(0,a.pick)(t.attributes,s))||!(0,a.isEqual)(e.topBlocksClientIdsInOrder,t.topBlocksClientIdsInOrder)},l=function e(t){return t.flatMap((function(t){var n=[];return n.push(t.clientId),n.concat(e(t.innerBlocks))}))},c=window.newspack_blocks_data.assets_path,u=function(e){var t=new Date;return t.setHours(12,0,0,0),{author:1,content:{rendered:"<p>"+__("The post content.","newspack")+"</p>"},date_gmt:t.toISOString(),excerpt:{rendered:"<p>"+__("The post excerpt.","newspack")+"</p>"},featured_media:"1",id:e,meta:{newspack_post_subtitle:__("Post Subtitle","newspack")},title:{rendered:__("Post Title","newspack")},newspack_article_classes:"type-post",newspack_author_info:[{display_name:__("Author Name","newspack"),avatar:'<div style="background: #36f;width: 40px;height: 40px;display: block;overflow: hidden;border-radius: 50%; max-width: 100%; max-height: 100%;"></div>',id:1,author_link:"/"}],newspack_category_info:__("Category","newspack"),newspack_featured_image_caption:__("Featured image caption","newspack"),newspack_featured_image_src:{large:"".concat(c,"/newspack-1024x536.jpg"),landscape:"".concat(c,"/newspack-800x600.jpg"),portrait:"".concat(c,"/newspack-600x800.jpg"),square:"".concat(c,"/newspack-800x800.jpg"),uncropped:"".concat(c,"/newspack-1024x536.jpg")},newspack_has_custom_excerpt:!1,newspack_post_format:"standard",newspack_post_sponsors:!1}},d=function(e,t){var n,i=t.clientId,s=t.attributes,o=e("core").getPostTypes,c=e("core/editor").getEditorBlocks,d=e("core/block-editor").getBlocks,p=l(c()).indexOf(i)>=0,f=e(r.$),h=f.getPosts,v=f.getError,m={isEditorBlock:p,isUIDisabled:(0,f.isUIDisabled)(),error:v({clientId:i}),topBlocksClientIdsInOrder:d().map((function(e){return e.clientId})),availablePostTypes:null===(n=o({per_page:-1}))||void 0===n?void 0:n.filter((function(e){return e.supports.newspack_blocks}))};return m.latestPosts=p?h({clientId:i}):function(e){return(0,a.times)(e.postsToShow,u)}(s),m},p=function(e,t){return{triggerReflow:t.isEditorBlock?e(r.$).reflow:function(){}}}},7045:function(e,t,n){"use strict";var a=n(1766),i=n(4659),r=n(4730),s=n(3989),o=n(5663),l=n(9049),c=n(1119),u=n(3027),d=n(3804),p=n(7997),f=(n(4457),function(e){(0,o.Z)(n,e);var t=(0,l.Z)(n);function n(e){var a;return(0,i.Z)(this,n),a=t.call(this,e),(0,c.Z)((0,s.Z)(a),"isFetchingInfoOnLoad",(function(){var e=a.props,t=e.tokens,n=e.fetchSavedInfo;return Boolean(t.length&&n)})),a.state={suggestions:[],validValues:{},loading:a.isFetchingInfoOnLoad()},a.debouncedUpdateSuggestions=(0,d.debounce)(a.updateSuggestions,500),a}return(0,r.Z)(n,[{key:"componentDidMount",value:function(){var e=this;if(this.isFetchingInfoOnLoad()){var t=this.props,n=t.tokens;(0,t.fetchSavedInfo)(n).then((function(t){var n=e.state.validValues;t.forEach((function(e){n[e.value]=e.label})),e.setState({validValues:n,loading:!1})}))}}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}},{key:"getLabelsForValues",value:function(e){var t=this.state.validValues;return e.reduce((function(e,n){return t[n]?[].concat((0,a.Z)(e),[t[n]]):e}),[])}},{key:"getValuesForLabels",value:function(e){var t=this.state.validValues;return e.map((function(e){return Object.keys(t).find((function(n){return t[n]===e}))}))}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props.fetchSuggestions;n&&this.setState({loading:!0},(function(){var a=n(e);a.then((function(e){if(t.suggestionsRequest===a){var n=t.state.validValues,i=[];e.forEach((function(e){i.indexOf(e.label)>=0&&(e.label="".concat(e.label," (").concat(e.value,")")),i.push(e.label),n[e.value]=e.label})),t.setState({suggestions:i,validValues:n,loading:!1})}})).catch((function(){t.suggestionsRequest===a&&t.setState({loading:!1})})),t.suggestionsRequest=a}))}},{key:"handleOnChange",value:function(e){(0,this.props.onChange)(this.getValuesForLabels(e))}},{key:"getTokens",value:function(){var e=this.props.tokens;return this.getLabelsForValues(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.help,a=t.label,i=void 0===a?"":a,r=this.state,s=r.suggestions,o=r.loading;return(0,u.createElement)("div",{className:"autocomplete-tokenfield"},(0,u.createElement)(p.FormTokenField,{value:this.getTokens(),suggestions:s,onChange:function(t){return e.handleOnChange(t)},onInputChange:function(t){return e.debouncedUpdateSuggestions(t)},label:i}),o&&(0,u.createElement)(p.Spinner,null),n&&(0,u.createElement)("p",{className:"autocomplete-tokenfield__help"},n))}}]),n}(u.Component));t.Z=f},5113:function(e,t,n){"use strict";var a=n(7560),i=n(4659),r=n(3989),s=n(5663),o=n(9049),l=n(1119),c=n(3027),u=n(3163),d=n(7997),p=n(7606),f=n.n(p),h=n(791),v=n(1424),m=n(7045),__=u.__,g=function(e){return(0,v.decodeEntities)(e.name)||__("(no title)","newspack-blocks")},b=function(e){(0,s.Z)(n,e);var t=(0,o.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var s=arguments.length,o=new Array(s),u=0;u<s;u++)o[u]=arguments[u];return e=t.call.apply(t,[this].concat(o)),(0,l.Z)((0,r.Z)(e),"state",{showAdvancedFilters:!1}),(0,l.Z)((0,r.Z)(e),"fetchPostSuggestions",(function(t){var n=e.props.postType,a=window.newspack_blocks_data.specific_posts_rest_url;return f()({url:(0,h.addQueryArgs)(a,{search:t,per_page:20,_fields:"id,title",type:"post",post_type:n})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.title)||__("(no title)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchSavedPosts",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/posts",{per_page:100,include:e.join(","),_fields:"id,title"})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.title.rendered)||__("(no title)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchAuthorSuggestions",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/users",{search:e,per_page:20,_fields:"id,name"})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.name)||__("(no name)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchSavedAuthors",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/users",{per_page:100,include:e.join(","),_fields:"id,name"})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.name)||__("(no name)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchCategorySuggestions",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/categories",{search:e,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((function(e){return Promise.all(e.map((function(e){return e.parent>0?f()({path:(0,h.addQueryArgs)("/wp/v2/categories/".concat(e.parent),{_fields:"name"})}).then((function(t){return{value:e.id,label:"".concat(g(e)," – ").concat(g(t))}})):Promise.resolve({value:e.id,label:g(e)})})))}))})),(0,l.Z)((0,r.Z)(e),"fetchSavedCategories",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/categories",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.name)||__("(no title)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchTagSuggestions",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/tags",{search:e,per_page:20,_fields:"id,name",orderby:"count",order:"desc"})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.name)||__("(no title)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"fetchSavedTags",(function(e){return f()({path:(0,h.addQueryArgs)("/wp/v2/tags",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((function(e){return{value:e.id,label:(0,v.decodeEntities)(e.name)||__("(no title)","newspack-blocks")}}))}))})),(0,l.Z)((0,r.Z)(e),"render",(function(){var t=e.props,n=t.specificMode,i=t.onSpecificModeChange,r=t.specificPosts,s=t.onSpecificPostsChange,o=t.authors,l=t.onAuthorsChange,u=t.categories,p=t.onCategoriesChange,f=t.tags,h=t.onTagsChange,v=t.tagExclusions,g=t.onTagExclusionsChange,b=t.enableSpecific,w=e.state.showAdvancedFilters;return[b&&(0,c.createElement)(d.ToggleControl,{key:"specificMode",checked:n,onChange:i,label:__("Choose Specific Posts","newspack-blocks")}),n&&(0,c.createElement)(m.Z,{key:"posts",tokens:r||[],onChange:s,fetchSuggestions:e.fetchPostSuggestions,fetchSavedInfo:e.fetchSavedPosts,label:__("Posts","newspack-blocks"),help:__("Begin typing post title, click autocomplete result to select.","newspack-blocks")}),!n&&(0,c.createElement)(d.QueryControls,(0,a.Z)({key:"queryControls"},e.props)),!n&&l&&(0,c.createElement)(m.Z,{key:"authors",tokens:o||[],onChange:l,fetchSuggestions:e.fetchAuthorSuggestions,fetchSavedInfo:e.fetchSavedAuthors,label:__("Authors","newspack-blocks")}),!n&&p&&(0,c.createElement)(m.Z,{key:"categories",tokens:u||[],onChange:p,fetchSuggestions:e.fetchCategorySuggestions,fetchSavedInfo:e.fetchSavedCategories,label:__("Categories","newspack-blocks")}),!n&&h&&(0,c.createElement)(m.Z,{key:"tags",tokens:f||[],onChange:h,fetchSuggestions:e.fetchTagSuggestions,fetchSavedInfo:e.fetchSavedTags,label:__("Tags","newspack-blocks")}),!n&&g&&(0,c.createElement)("p",{key:"toggle-advanced-filters"},(0,c.createElement)(d.Button,{isLink:!0,onClick:function(){return e.setState({showAdvancedFilters:!w})}},__(w?"Hide Advanced Filters":"Show Advanced Filters","newspack-blocks"))),!n&&g&&w&&(0,c.createElement)(m.Z,{key:"tag-exclusion",tokens:v||[],onChange:g,fetchSuggestions:e.fetchTagSuggestions,fetchSavedInfo:e.fetchSavedTags,label:__("Excluded Tags","newspack-blocks")})]})),e}return n}(c.Component);b.defaultProps={enableSpecific:!0,specificPosts:[],authors:[],categories:[],tags:[],tagExclusions:[]},t.Z=b},904:function(e,t,n){"use strict";n.d(t,{lW:function(){return s},FX:function(){return o},b2:function(){return l},Q$:function(){return c}});var a=n(1766),i=n(3027),r=n(3163),_x=r._x,s=function(e){return e.map((function(e){return(0,i.createElement)("span",{className:"avatar author-avatar",key:e.id},(0,i.createElement)("a",{className:"url fn n",href:e.author_link},(0,i.createElement)(i.RawHTML,null,e.avatar)))}))},o=function(e){return(0,i.createElement)("span",{className:"byline"},_x("by","post author","newspack-blocks")," ",e.reduce((function(t,n,r){return[].concat((0,a.Z)(t),[(0,i.createElement)("span",{className:"author vcard",key:n.id},(0,i.createElement)("a",{className:"url fn n",href:n.author_link},n.display_name)),r<e.length-2&&", ",e.length>1&&r===e.length-2&&_x(" and ","post author","newspack-blocks")])}),[]))},l=function(e){return(0,i.createElement)("span",{className:"sponsor-logos"},e.map((function(e){return(0,i.createElement)(i.Fragment,{key:e.id},e.src&&(0,i.createElement)("a",{href:e.sponsor_url},(0,i.createElement)("img",{src:e.src,width:e.img_width,height:e.img_height,alt:e.sponsor_name})))})))},c=function(e){return(0,i.createElement)("span",{className:"byline sponsor-byline"},e[0].byline_prefix," ",e.reduce((function(t,n,r){return[].concat((0,a.Z)(t),[(0,i.createElement)("span",{className:"author",key:n.id},(0,i.createElement)("a",{href:n.author_link},n.sponsor_name)),r<e.length-2&&", ",e.length>1&&r===e.length-2&&_x(" and ","post author","newspack-blocks")])}),[]))}},3534:function(e,t,n){"use strict";n.d(t,{$:function(){return s},cn:function(){return l},IV:function(){return c},pv:function(){return u},Vj:function(){return d},Lj:function(){return p},uV:function(){return f},aT:function(){return h},vs:function(){return v},eR:function(){return m},on:function(){return g},S1:function(){return b},X$:function(){return w},ld:function(){return y},iO:function(){return E},Pb:function(){return x},cv:function(){return S},W2:function(){return T},iv:function(){return C},S6:function(){return k},dy:function(){return P},fL:function(){return M},is:function(){return I},Kz:function(){return z},eq:function(){return $},R3:function(){return O},Ce:function(){return L},lp:function(){return A},eG:function(){return D},mp:function(){return N},pJ:function(){return _},qm:function(){return R},wV:function(){return B},oq:function(){return j},sE:function(){return H},pI:function(){return V},Od:function(){return Z},IH:function(){return G}});var a=n(4659),i=n(5913),r=function e(t){(0,a.Z)(this,e);for(var n=0;n<t.length;n+=1)this[n]=t[n];return this.length=t.length,this};function s(e,t){var n=[],a=0;if(e&&!t&&e instanceof r)return e;if(e)if("string"==typeof e){var s,o,l=e.trim();if(l.indexOf("<")>=0&&l.indexOf(">")>=0){var c="div";for(0===l.indexOf("<li")&&(c="ul"),0===l.indexOf("<tr")&&(c="tbody"),0!==l.indexOf("<td")&&0!==l.indexOf("<th")||(c="tr"),0===l.indexOf("<tbody")&&(c="table"),0===l.indexOf("<option")&&(c="select"),(o=i.t.createElement(c)).innerHTML=l,a=0;a<o.childNodes.length;a+=1)n.push(o.childNodes[a])}else for(s=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||i.t).querySelectorAll(e.trim()):[i.t.getElementById(e.trim().split("#")[1])],a=0;a<s.length;a+=1)s[a]&&n.push(s[a])}else if(e.nodeType||e===i.u||e===i.t)n.push(e);else if(e.length>0&&e[0].nodeType)for(a=0;a<e.length;a+=1)n.push(e[a]);return new r(n)}function o(e){for(var t=[],n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function l(e){if(void 0===e)return this;for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var a=0;a<this.length;a+=1)void 0!==this[a]&&void 0!==this[a].classList&&this[a].classList.add(t[n]);return this}function c(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var a=0;a<this.length;a+=1)void 0!==this[a]&&void 0!==this[a].classList&&this[a].classList.remove(t[n]);return this}function u(e){return!!this[0]&&this[0].classList.contains(e)}function d(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var a=0;a<this.length;a+=1)void 0!==this[a]&&void 0!==this[a].classList&&this[a].classList.toggle(t[n]);return this}function p(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(var a in e)this[n][a]=e[a],this[n].setAttribute(a,e[a]);return this}function f(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function h(e,t){var n;if(void 0!==t){for(var a=0;a<this.length;a+=1)(n=this[a]).dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0]){if(n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[e];var i=n.getAttribute("data-".concat(e));return i||void 0}}function v(e){for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransform=e,n.transform=e}return this}function m(e){"string"!=typeof e&&(e="".concat(e,"ms"));for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t[0],i=t[1],r=t[2],o=t[3];function l(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),s(t).is(i))r.apply(t,n);else for(var a=s(t).parents(),o=0;o<a.length;o+=1)s(a[o]).is(i)&&r.apply(a[o],n)}}function c(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&(a=t[0],r=t[1],o=t[2],i=void 0),o||(o=!1);for(var u,d=a.split(" "),p=0;p<this.length;p+=1){var f=this[p];if(i)for(u=0;u<d.length;u+=1){var h=d[u];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[h]||(f.dom7LiveListeners[h]=[]),f.dom7LiveListeners[h].push({listener:r,proxyListener:l}),f.addEventListener(h,l,o)}else for(u=0;u<d.length;u+=1){var v=d[u];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[v]||(f.dom7Listeners[v]=[]),f.dom7Listeners[v].push({listener:r,proxyListener:c}),f.addEventListener(v,c,o)}}return this}function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t[0],i=t[1],r=t[2],s=t[3];"function"==typeof t[1]&&(a=t[0],r=t[1],s=t[2],i=void 0),s||(s=!1);for(var o=a.split(" "),l=0;l<o.length;l+=1)for(var c=o[l],u=0;u<this.length;u+=1){var d=this[u],p=void 0;if(!i&&d.dom7Listeners?p=d.dom7Listeners[c]:i&&d.dom7LiveListeners&&(p=d.dom7LiveListeners[c]),p&&p.length)for(var f=p.length-1;f>=0;f-=1){var h=p[f];r&&h.listener===r||r&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===r?(d.removeEventListener(c,h.proxyListener,s),p.splice(f,1)):r||(d.removeEventListener(c,h.proxyListener,s),p.splice(f,1))}}return this}function w(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var a=t[0].split(" "),r=t[1],s=0;s<a.length;s+=1)for(var o=a[s],l=0;l<this.length;l+=1){var c=this[l],u=void 0;try{u=new i.u.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0})}catch(d){(u=i.t.createEvent("Event")).initEvent(o,!0,!0),u.detail=r}c.dom7EventData=t.filter((function(e,t){return t>0})),c.dispatchEvent(u),c.dom7EventData=[],delete c.dom7EventData}return this}function y(e){var t,n=["webkitTransitionEnd","transitionend"],a=this;function i(r){if(r.target===this)for(e.call(this,r),t=0;t<n.length;t+=1)a.off(n[t],i)}if(e)for(t=0;t<n.length;t+=1)a.on(n[t],i);return this}function E(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function x(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function S(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),n=i.t.body,a=e.clientTop||n.clientTop||0,r=e.clientLeft||n.clientLeft||0,s=e===i.u?i.u.scrollY:e.scrollTop,o=e===i.u?i.u.scrollX:e.scrollLeft;return{top:t.top+s-a,left:t.left+o-r}}return null}function T(){return this[0]?i.u.getComputedStyle(this[0],null):{}}function C(e,t){var n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(var a in e)this[n].style[a]=e[a];return this}if(this[0])return i.u.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function k(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this}function P(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function M(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 I(e){var t,n,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=s(e),n=0;n<t.length;n+=1)if(t[n]===a)return!0;return!1}if(e===i.t)return a===i.t;if(e===i.u)return a===i.u;if(e.nodeType||e instanceof r){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===a)return!0;return!1}return!1}function z(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function $(e){if(void 0===e)return this;var t,n=this.length;return new r(e>n-1?[]:e<0?(t=n+e)<0?[]:[this[t]]:[this[e]])}function O(){for(var e,t=0;t<arguments.length;t+=1){e=t<0||arguments.length<=t?void 0:arguments[t];for(var n=0;n<this.length;n+=1)if("string"==typeof e){var a=i.t.createElement("div");for(a.innerHTML=e;a.firstChild;)this[n].appendChild(a.firstChild)}else if(e instanceof r)for(var s=0;s<e.length;s+=1)this[n].appendChild(e[s]);else this[n].appendChild(e)}return this}function L(e){var t,n;for(t=0;t<this.length;t+=1)if("string"==typeof e){var a=i.t.createElement("div");for(a.innerHTML=e,n=a.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(a.childNodes[n],this[t].childNodes[0])}else if(e instanceof r)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function A(e){return this.length>0?e?this[0].nextElementSibling&&s(this[0].nextElementSibling).is(e)?new r([this[0].nextElementSibling]):new r([]):this[0].nextElementSibling?new r([this[0].nextElementSibling]):new r([]):new r([])}function D(e){var t=[],n=this[0];if(!n)return new r([]);for(;n.nextElementSibling;){var a=n.nextElementSibling;e?s(a).is(e)&&t.push(a):t.push(a),n=a}return new r(t)}function N(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&s(t.previousElementSibling).is(e)?new r([t.previousElementSibling]):new r([]):t.previousElementSibling?new r([t.previousElementSibling]):new r([])}return new r([])}function _(e){var t=[],n=this[0];if(!n)return new r([]);for(;n.previousElementSibling;){var a=n.previousElementSibling;e?s(a).is(e)&&t.push(a):t.push(a),n=a}return new r(t)}function R(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?s(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return s(o(t))}function B(e){for(var t=[],n=0;n<this.length;n+=1)for(var a=this[n].parentNode;a;)e?s(a).is(e)&&t.push(a):t.push(a),a=a.parentNode;return s(o(t))}function j(e){var t=this;return void 0===e?new r([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function H(e){for(var t=[],n=0;n<this.length;n+=1)for(var a=this[n].querySelectorAll(e),i=0;i<a.length;i+=1)t.push(a[i]);return new r(t)}function V(e){for(var t=[],n=0;n<this.length;n+=1)for(var a=this[n].childNodes,i=0;i<a.length;i+=1)e?1===a[i].nodeType&&s(a[i]).is(e)&&t.push(a[i]):1===a[i].nodeType&&t.push(a[i]);return new r(o(t))}function Z(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function G(){for(var e,t,n=this,a=arguments.length,i=new Array(a),r=0;r<a;r++)i[r]=arguments[r];for(e=0;e<i.length;e+=1){var o=s(i[e]);for(t=0;t<o.length;t+=1)n[n.length]=o[t],n.length+=1}return n}s.fn=r.prototype,s.Class=r,s.Dom7=r;"resize scroll".split(" ")},9529:function(e,t,n){"use strict";var a=n(3989),i=n(5663),r=n(591),s=n(5630),o=n(4659),l=n(4730),c=n(3534),u=n(5913);function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,s.Z)(e);if(t){var i=(0,s.Z)(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return(0,r.Z)(this,n)}}var p={addClass:c.cn,removeClass:c.IV,hasClass:c.pv,toggleClass:c.Vj,attr:c.Lj,removeAttr:c.uV,data:c.aT,transform:c.vs,transition:c.eR,on:c.on,off:c.S1,trigger:c.X$,transitionEnd:c.ld,outerWidth:c.iO,outerHeight:c.Pb,offset:c.cv,css:c.iv,each:c.S6,html:c.dy,text:c.fL,is:c.is,index:c.Kz,eq:c.eq,append:c.R3,prepend:c.Ce,next:c.lp,nextAll:c.eG,prev:c.mp,prevAll:c.pJ,parent:c.qm,parents:c.wV,closest:c.oq,find:c.sE,children:c.pI,remove:c.Od,add:c.IH,styles:c.W2};Object.keys(p).forEach((function(e){c.$.fn[e]=c.$.fn[e]||p[e]}));var f,h,v,m={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}}))},nextTick:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e){var t,n,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",r=u.u.getComputedStyle(e,null);return u.u.WebKitCSSMatrix?((n=r.transform||r.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),a=new u.u.WebKitCSSMatrix("none"===n?"":n)):t=(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(n=u.u.WebKitCSSMatrix?a.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===i&&(n=u.u.WebKitCSSMatrix?a.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),n||0},parseUrlQuery:function(e){var t,n,a,i,r={},s=e||u.u.location.href;if("string"==typeof s&&s.length)for(i=(n=(s=s.indexOf("?")>-1?s.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,t=0;t<i;t+=1)a=n[t].replace(/#\S+/g,"").split("="),r[decodeURIComponent(a[0])]=void 0===a[1]?void 0:decodeURIComponent(a[1])||"";return r},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=1;t<arguments.length;t+=1){var n=t<0||arguments.length<=t?void 0:arguments[t];if(null!=n)for(var a=Object.keys(Object(n)),i=0,r=a.length;i<r;i+=1){var s=a[i],o=Object.getOwnPropertyDescriptor(n,s);void 0!==o&&o.enumerable&&(m.isObject(e[s])&&m.isObject(n[s])?m.extend(e[s],n[s]):!m.isObject(e[s])&&m.isObject(n[s])?(e[s]={},m.extend(e[s],n[s])):e[s]=n[s])}}return e}},g=(h=u.t.createElement("div"),{touch:u.u.Modernizr&&!0===u.u.Modernizr.touch||!!(u.u.navigator.maxTouchPoints>0||"ontouchstart"in u.u||u.u.DocumentTouch&&u.t instanceof u.u.DocumentTouch),pointerEvents:!!(u.u.navigator.pointerEnabled||u.u.PointerEvent||"maxTouchPoints"in u.u.navigator&&u.u.navigator.maxTouchPoints>0),prefixedPointerEvents:!!u.u.navigator.msPointerEnabled,transition:(f=h.style,"transition"in f||"webkitTransition"in f||"MozTransition"in f),transforms3d:u.u.Modernizr&&!0===u.u.Modernizr.csstransforms3d||function(){var e=h.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=h.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n<t.length;n+=1)if(t[n]in e)return!0;return!1}(),observer:"MutationObserver"in u.u||"WebkitMutationObserver"in u.u,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});u.u.addEventListener("testPassiveListener",null,t)}catch(n){}return e}(),gestures:"ongesturestart"in u.u}),b={isIE:!!u.u.navigator.userAgent.match(/Trident/g)||!!u.u.navigator.userAgent.match(/MSIE/g),isEdge:!!u.u.navigator.userAgent.match(/Edge/g),isSafari:(v=u.u.navigator.userAgent.toLowerCase(),v.indexOf("safari")>=0&&v.indexOf("chrome")<0&&v.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(u.u.navigator.userAgent)},w=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e);var n=this;n.params=t,n.eventsListeners={},n.params&&n.params.on&&Object.keys(n.params.on).forEach((function(e){n.on(e,n.params.on[e])}))}return(0,l.Z)(e,[{key:"on",value:function(e,t,n){var a=this;if("function"!=typeof t)return a;var i=n?"unshift":"push";return e.split(" ").forEach((function(e){a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a}},{key:"once",value:function(e,t,n){var a=this;if("function"!=typeof t)return a;function i(){for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];t.apply(a,r),a.off(e,i),i.f7proxy&&delete i.f7proxy}return i.f7proxy=t,a.on(e,i,n)}},{key:"off",value:function(e,t){var n=this;return n.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach((function(a,i){(a===t||a.f7proxy&&a.f7proxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n}},{key:"emit",value:function(){var e,t,n,a=this;if(!a.eventsListeners)return a;for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];"string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),n=a):(e=r[0].events,t=r[0].data,n=r[0].context||a);var o=Array.isArray(e)?e:e.split(" ");return o.forEach((function(e){if(a.eventsListeners&&a.eventsListeners[e]){var i=[];a.eventsListeners[e].forEach((function(e){i.push(e)})),i.forEach((function(e){e.apply(n,t)}))}})),a}},{key:"useModulesParams",value:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var a=t.modules[n];a.params&&m.extend(e,a.params)}))}},{key:"useModules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var a=t.modules[n],i=e[n]||{};a.instance&&Object.keys(a.instance).forEach((function(e){var n=a.instance[e];t[e]="function"==typeof n?n.bind(t):n})),a.on&&t.on&&Object.keys(a.on).forEach((function(e){t.on(e,a.on[e])})),a.create&&a.create.bind(t)(i)}))}}],[{key:"components",set:function(e){this.use&&this.use(e)}},{key:"installModule",value:function(e){var t=this;t.prototype.modules||(t.prototype.modules={});var n=e.name||"".concat(Object.keys(t.prototype.modules).length,"_").concat(m.now());if(t.prototype.modules[n]=e,e.proto&&Object.keys(e.proto).forEach((function(n){t.prototype[n]=e.proto[n]})),e.static&&Object.keys(e.static).forEach((function(n){t[n]=e.static[n]})),e.install){for(var a=arguments.length,i=new Array(a>1?a-1:0),r=1;r<a;r++)i[r-1]=arguments[r];e.install.apply(t,i)}return t}},{key:"use",value:function(e){var t=this;if(Array.isArray(e))return e.forEach((function(e){return t.installModule(e)})),t;for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return t.installModule.apply(t,[e].concat(a))}}]),e}();var y={updateSize:function(){var e,t,n=this,a=n.$el;e=void 0!==n.params.width?n.params.width:a[0].clientWidth,t=void 0!==n.params.height?n.params.height:a[0].clientHeight,0===e&&n.isHorizontal()||0===t&&n.isVertical()||(e=e-parseInt(a.css("padding-left"),10)-parseInt(a.css("padding-right"),10),t=t-parseInt(a.css("padding-top"),10)-parseInt(a.css("padding-bottom"),10),m.extend(n,{width:e,height:t,size:n.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=e.params,n=e.$wrapperEl,a=e.size,i=e.rtlTranslate,r=e.wrongRTL,s=e.virtual&&t.virtual.enabled,o=s?e.virtual.slides.length:e.slides.length,l=n.children(".".concat(e.params.slideClass)),c=s?e.virtual.slides.length:l.length,d=[],p=[],f=[],h=t.slidesOffsetBefore;"function"==typeof h&&(h=t.slidesOffsetBefore.call(e));var v=t.slidesOffsetAfter;"function"==typeof v&&(v=t.slidesOffsetAfter.call(e));var w=e.snapGrid.length,y=e.snapGrid.length,E=t.spaceBetween,x=-h,S=0,T=0;if(void 0!==a){var C,k;"string"==typeof E&&E.indexOf("%")>=0&&(E=parseFloat(E.replace("%",""))/100*a),e.virtualSize=-E,i?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(C=Math.floor(c/t.slidesPerColumn)===c/e.params.slidesPerColumn?c:Math.ceil(c/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(C=Math.max(C,t.slidesPerView*t.slidesPerColumn)));for(var P,M=t.slidesPerColumn,I=C/M,z=Math.floor(c/t.slidesPerColumn),$=0;$<c;$+=1){k=0;var O=l.eq($);if(t.slidesPerColumn>1){var L=void 0,A=void 0,D=void 0;if("column"===t.slidesPerColumnFill||"row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){if("column"===t.slidesPerColumnFill)D=$-(A=Math.floor($/M))*M,(A>z||A===z&&D===M-1)&&(D+=1)>=M&&(D=0,A+=1);else{var N=Math.floor($/t.slidesPerGroup);A=$-(D=Math.floor($/t.slidesPerView)-N*t.slidesPerColumn)*t.slidesPerView-N*t.slidesPerView}L=A+D*C/M,O.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else A=$-(D=Math.floor($/I))*I;O.css("margin-".concat(e.isHorizontal()?"top":"left"),0!==D&&t.spaceBetween&&"".concat(t.spaceBetween,"px")).attr("data-swiper-column",A).attr("data-swiper-row",D)}if("none"!==O.css("display")){if("auto"===t.slidesPerView){var _=u.u.getComputedStyle(O[0],null),R=O[0].style.transform,B=O[0].style.webkitTransform;if(R&&(O[0].style.transform="none"),B&&(O[0].style.webkitTransform="none"),t.roundLengths)k=e.isHorizontal()?O.outerWidth(!0):O.outerHeight(!0);else if(e.isHorizontal()){var j=parseFloat(_.getPropertyValue("width")),H=parseFloat(_.getPropertyValue("padding-left")),V=parseFloat(_.getPropertyValue("padding-right")),Z=parseFloat(_.getPropertyValue("margin-left")),G=parseFloat(_.getPropertyValue("margin-right")),X=_.getPropertyValue("box-sizing");k=X&&"border-box"===X&&!b.isIE?j+Z+G:j+H+V+Z+G}else{var F=parseFloat(_.getPropertyValue("height")),Y=parseFloat(_.getPropertyValue("padding-top")),q=parseFloat(_.getPropertyValue("padding-bottom")),W=parseFloat(_.getPropertyValue("margin-top")),U=parseFloat(_.getPropertyValue("margin-bottom")),K=_.getPropertyValue("box-sizing");k=K&&"border-box"===K&&!b.isIE?F+W+U:F+Y+q+W+U}R&&(O[0].style.transform=R),B&&(O[0].style.webkitTransform=B),t.roundLengths&&(k=Math.floor(k))}else k=(a-(t.slidesPerView-1)*E)/t.slidesPerView,t.roundLengths&&(k=Math.floor(k)),l[$]&&(e.isHorizontal()?l[$].style.width="".concat(k,"px"):l[$].style.height="".concat(k,"px"));l[$]&&(l[$].swiperSlideSize=k),f.push(k),t.centeredSlides?(x=x+k/2+S/2+E,0===S&&0!==$&&(x=x-a/2-E),0===$&&(x=x-a/2-E),Math.abs(x)<.001&&(x=0),t.roundLengths&&(x=Math.floor(x)),T%t.slidesPerGroup==0&&d.push(x),p.push(x)):(t.roundLengths&&(x=Math.floor(x)),T%t.slidesPerGroup==0&&d.push(x),p.push(x),x=x+k+E),e.virtualSize+=k+E,S=k,T+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+v,i&&r&&("slide"===t.effect||"coverflow"===t.effect)&&n.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}),g.flexbox&&!t.setWrapperSize||(e.isHorizontal()?n.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}):n.css({height:"".concat(e.virtualSize+t.spaceBetween,"px")})),t.slidesPerColumn>1&&(e.virtualSize=(k+t.spaceBetween)*C,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?n.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}):n.css({height:"".concat(e.virtualSize+t.spaceBetween,"px")}),t.centeredSlides)){P=[];for(var Q=0;Q<d.length;Q+=1){var J=d[Q];t.roundLengths&&(J=Math.floor(J)),d[Q]<e.virtualSize+d[0]&&P.push(J)}d=P}if(!t.centeredSlides){P=[];for(var ee=0;ee<d.length;ee+=1){var te=d[ee];t.roundLengths&&(te=Math.floor(te)),d[ee]<=e.virtualSize-a&&P.push(te)}d=P,Math.floor(e.virtualSize-a)-Math.floor(d[d.length-1])>1&&d.push(e.virtualSize-a)}if(0===d.length&&(d=[0]),0!==t.spaceBetween&&(e.isHorizontal()?i?l.css({marginLeft:"".concat(E,"px")}):l.css({marginRight:"".concat(E,"px")}):l.css({marginBottom:"".concat(E,"px")})),t.centerInsufficientSlides){var ne=0;if(f.forEach((function(e){ne+=e+(t.spaceBetween?t.spaceBetween:0)})),(ne-=t.spaceBetween)<a){var ae=(a-ne)/2;d.forEach((function(e,t){d[t]=e-ae})),p.forEach((function(e,t){p[t]=e+ae}))}}m.extend(e,{slides:l,snapGrid:d,slidesGrid:p,slidesSizesGrid:f}),c!==o&&e.emit("slidesLengthChange"),d.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,n=this,a=[],i=0;if("number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed),"auto"!==n.params.slidesPerView&&n.params.slidesPerView>1)for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){var r=n.activeIndex+t;if(r>n.slides.length)break;a.push(n.slides.eq(r)[0])}else a.push(n.slides.eq(n.activeIndex)[0]);for(t=0;t<a.length;t+=1)if(void 0!==a[t]){var s=a[t].offsetHeight;i=s>i?s:i}i&&n.$wrapperEl.css("height","".concat(i,"px"))},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,n=t.params,a=t.slides,i=t.rtlTranslate;if(0!==a.length){void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;i&&(r=e),a.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var s=0;s<a.length;s+=1){var o=a[s],l=(r+(n.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility){var u=-(r-o.swiperSlideOffset),d=u+t.slidesSizesGrid[s],p=u>=0&&u<t.size-1||d>1&&d<=t.size||u<=0&&d>=t.size;p&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(s),a.eq(s).addClass(n.slideVisibleClass))}o.progress=i?-l:l}t.visibleSlides=(0,c.$)(t.visibleSlides)}},updateProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,n=t.params,a=t.maxTranslate()-t.minTranslate(),i=t.progress,r=t.isBeginning,s=t.isEnd,o=r,l=s;0===a?(i=0,r=!0,s=!0):(r=(i=(e-t.minTranslate())/a)<=0,s=i>=1),m.extend(t,{progress:i,isBeginning:r,isEnd:s}),(n.watchSlidesProgress||n.watchSlidesVisibility)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),s&&!l&&t.emit("reachEnd toEdge"),(o&&!r||l&&!s)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){var e,t=this,n=t.slides,a=t.params,i=t.$wrapperEl,r=t.activeIndex,s=t.realIndex,o=t.virtual&&a.virtual.enabled;n.removeClass("".concat(a.slideActiveClass," ").concat(a.slideNextClass," ").concat(a.slidePrevClass," ").concat(a.slideDuplicateActiveClass," ").concat(a.slideDuplicateNextClass," ").concat(a.slideDuplicatePrevClass)),(e=o?t.$wrapperEl.find(".".concat(a.slideClass,'[data-swiper-slide-index="').concat(r,'"]')):n.eq(r)).addClass(a.slideActiveClass),a.loop&&(e.hasClass(a.slideDuplicateClass)?i.children(".".concat(a.slideClass,":not(.").concat(a.slideDuplicateClass,')[data-swiper-slide-index="').concat(s,'"]')).addClass(a.slideDuplicateActiveClass):i.children(".".concat(a.slideClass,".").concat(a.slideDuplicateClass,'[data-swiper-slide-index="').concat(s,'"]')).addClass(a.slideDuplicateActiveClass));var l=e.nextAll(".".concat(a.slideClass)).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=n.eq(0)).addClass(a.slideNextClass);var c=e.prevAll(".".concat(a.slideClass)).eq(0).addClass(a.slidePrevClass);a.loop&&0===c.length&&(c=n.eq(-1)).addClass(a.slidePrevClass),a.loop&&(l.hasClass(a.slideDuplicateClass)?i.children(".".concat(a.slideClass,":not(.").concat(a.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(a.slideDuplicateNextClass):i.children(".".concat(a.slideClass,".").concat(a.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(a.slideDuplicateNextClass),c.hasClass(a.slideDuplicateClass)?i.children(".".concat(a.slideClass,":not(.").concat(a.slideDuplicateClass,')[data-swiper-slide-index="').concat(c.attr("data-swiper-slide-index"),'"]')).addClass(a.slideDuplicatePrevClass):i.children(".".concat(a.slideClass,".").concat(a.slideDuplicateClass,'[data-swiper-slide-index="').concat(c.attr("data-swiper-slide-index"),'"]')).addClass(a.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,n=this,a=n.rtlTranslate?n.translate:-n.translate,i=n.slidesGrid,r=n.snapGrid,s=n.params,o=n.activeIndex,l=n.realIndex,c=n.snapIndex,u=e;if(void 0===u){for(var d=0;d<i.length;d+=1)void 0!==i[d+1]?a>=i[d]&&a<i[d+1]-(i[d+1]-i[d])/2?u=d:a>=i[d]&&a<i[d+1]&&(u=d+1):a>=i[d]&&(u=d);s.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if((t=r.indexOf(a)>=0?r.indexOf(a):Math.floor(u/s.slidesPerGroup))>=r.length&&(t=r.length-1),u!==o){var p=parseInt(n.slides.eq(u).attr("data-swiper-slide-index")||u,10);m.extend(n,{snapIndex:t,realIndex:p,previousIndex:o,activeIndex:u}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),l!==p&&n.emit("realIndexChange"),(n.initialized||n.runCallbacksOnInit)&&n.emit("slideChange")}else t!==c&&(n.snapIndex=t,n.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,n=t.params,a=(0,c.$)(e.target).closest(".".concat(n.slideClass))[0],i=!1;if(a)for(var r=0;r<t.slides.length;r+=1)t.slides[r]===a&&(i=!0);if(!a||!i)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=a,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt((0,c.$)(a).attr("data-swiper-slide-index"),10):t.clickedIndex=(0,c.$)(a).index(),n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var E={getTranslate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",t=this,n=t.params,a=t.rtlTranslate,i=t.translate,r=t.$wrapperEl;if(n.virtualTranslate)return a?-i:i;var s=m.getTranslate(r[0],e);return a&&(s=-s),s||0},setTranslate:function(e,t){var n=this,a=n.rtlTranslate,i=n.params,r=n.$wrapperEl,s=n.progress,o=0,l=0;n.isHorizontal()?o=a?-e:e:l=e,i.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),i.virtualTranslate||(g.transforms3d?r.transform("translate3d(".concat(o,"px, ").concat(l,"px, ").concat(0,"px)")):r.transform("translate(".concat(o,"px, ").concat(l,"px)"))),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?o:l;var c=n.maxTranslate()-n.minTranslate();(0===c?0:(e-n.minTranslate())/c)!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}};var x={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,a=n.activeIndex,i=n.params,r=n.previousIndex;i.autoHeight&&n.updateAutoHeight();var s=t;if(s||(s=a>r?"next":a<r?"prev":"reset"),n.emit("transitionStart"),e&&a!==r){if("reset"===s)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),"next"===s?n.emit("slideNextTransitionStart"):n.emit("slidePrevTransitionStart")}},transitionEnd:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,a=n.activeIndex,i=n.previousIndex;n.animating=!1,n.setTransition(0);var r=t;if(r||(r=a>i?"next":a<i?"prev":"reset"),n.emit("transitionEnd"),e&&a!==i){if("reset"===r)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),"next"===r?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}};var S={slideTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3?arguments[3]:void 0,i=this,r=e;r<0&&(r=0);var s=i.params,o=i.snapGrid,l=i.slidesGrid,c=i.previousIndex,u=i.activeIndex,d=i.rtlTranslate;if(i.animating&&s.preventInteractionOnTransition)return!1;var p=Math.floor(r/s.slidesPerGroup);p>=o.length&&(p=o.length-1),(u||s.initialSlide||0)===(c||0)&&n&&i.emit("beforeSlideChangeStart");var f,h=-o[p];if(i.updateProgress(h),s.normalizeSlideIndex)for(var v=0;v<l.length;v+=1)-Math.floor(100*h)>=Math.floor(100*l[v])&&(r=v);if(i.initialized&&r!==u){if(!i.allowSlideNext&&h<i.translate&&h<i.minTranslate())return!1;if(!i.allowSlidePrev&&h>i.translate&&h>i.maxTranslate()&&(u||0)!==r)return!1}return f=r>u?"next":r<u?"prev":"reset",d&&-h===i.translate||!d&&h===i.translate?(i.updateActiveIndex(r),s.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==s.effect&&i.setTranslate(h),"reset"!==f&&(i.transitionStart(n,f),i.transitionEnd(n,f)),!1):(0!==t&&g.transition?(i.setTransition(t),i.setTranslate(h),i.updateActiveIndex(r),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,a),i.transitionStart(n,f),i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,f))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd))):(i.setTransition(0),i.setTranslate(h),i.updateActiveIndex(r),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,a),i.transitionStart(n,f),i.transitionEnd(n,f)),!0)},slideToLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3?arguments[3]:void 0,i=this,r=e;return i.params.loop&&(r+=i.loopedSlides),i.slideTo(r,t,n,a)},slideNext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,a=this,i=a.params,r=a.animating;return i.loop?!r&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,a.slideTo(a.activeIndex+i.slidesPerGroup,e,t,n)):a.slideTo(a.activeIndex+i.slidesPerGroup,e,t,n)},slidePrev:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,a=this,i=a.params,r=a.animating,s=a.snapGrid,o=a.slidesGrid,l=a.rtlTranslate;if(i.loop){if(r)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}var c=l?a.translate:-a.translate;function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,p=u(c),f=s.map((function(e){return u(e)})),h=(o.map((function(e){return u(e)})),s[f.indexOf(p)],s[f.indexOf(p)-1]);return void 0!==h&&(d=o.indexOf(h))<0&&(d=a.activeIndex-1),a.slideTo(d,e,t,n)},slideReset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,a=this;return a.slideTo(a.activeIndex,e,t,n)},slideToClosest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,a=this,i=a.activeIndex,r=Math.floor(i/a.params.slidesPerGroup);if(r<a.snapGrid.length-1){var s=a.rtlTranslate?a.translate:-a.translate,o=a.snapGrid[r],l=a.snapGrid[r+1];s-o>(l-o)/2&&(i=a.params.slidesPerGroup)}return a.slideTo(i,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,a=t.$wrapperEl,i="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,r=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt((0,c.$)(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?r<t.loopedSlides-i/2||r>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),r=a.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),m.nextTick((function(){t.slideTo(r)}))):t.slideTo(r):r>t.slides.length-i?(t.loopFix(),r=a.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),m.nextTick((function(){t.slideTo(r)}))):t.slideTo(r)}else t.slideTo(r)}};var T={loopCreate:function(){var e=this,t=e.params,n=e.$wrapperEl;n.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass)).remove();var a=n.children(".".concat(t.slideClass));if(t.loopFillGroupWithBlank){var i=t.slidesPerGroup-a.length%t.slidesPerGroup;if(i!==t.slidesPerGroup){for(var r=0;r<i;r+=1){var s=(0,c.$)(u.t.createElement("div")).addClass("".concat(t.slideClass," ").concat(t.slideBlankClass));n.append(s)}a=n.children(".".concat(t.slideClass))}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=a.length),e.loopedSlides=parseInt(t.loopedSlides||t.slidesPerView,10),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>a.length&&(e.loopedSlides=a.length);var o=[],l=[];a.each((function(t,n){var i=(0,c.$)(n);t<e.loopedSlides&&l.push(n),t<a.length&&t>=a.length-e.loopedSlides&&o.push(n),i.attr("data-swiper-slide-index",t)}));for(var d=0;d<l.length;d+=1)n.append((0,c.$)(l[d].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var p=o.length-1;p>=0;p-=1)n.prepend((0,c.$)(o[p].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){var e,t=this,n=t.params,a=t.activeIndex,i=t.slides,r=t.loopedSlides,s=t.allowSlidePrev,o=t.allowSlideNext,l=t.snapGrid,c=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var u=-l[a]-t.getTranslate();if(a<r)e=i.length-3*r+a,e+=r,t.slideTo(e,0,!1,!0)&&0!==u&&t.setTranslate((c?-t.translate:t.translate)-u);else if("auto"===n.slidesPerView&&a>=2*r||a>=i.length-r){e=-i.length+a+r,e+=r,t.slideTo(e,0,!1,!0)&&0!==u&&t.setTranslate((c?-t.translate:t.translate)-u)}t.allowSlidePrev=s,t.allowSlideNext=o},loopDestroy:function(){var e=this,t=e.$wrapperEl,n=e.params,a=e.slides;t.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,",.").concat(n.slideClass,".").concat(n.slideBlankClass)).remove(),a.removeAttr("data-swiper-slide-index")}};var C={setGrabCursor:function(e){var t=this;if(!(g.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked)){var n=t.el;n.style.cursor="move",n.style.cursor=e?"-webkit-grabbing":"-webkit-grab",n.style.cursor=e?"-moz-grabbin":"-moz-grab",n.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;g.touch||e.params.watchOverflow&&e.isLocked||(e.el.style.cursor="")}};var k={appendSlide:function(e){var t=this,n=t.$wrapperEl,a=t.params;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&n.append(e[i]);else n.append(e);a.loop&&t.loopCreate(),a.observer&&g.observer||t.update()},prependSlide:function(e){var t=this,n=t.params,a=t.$wrapperEl,i=t.activeIndex;n.loop&&t.loopDestroy();var r=i+1;if("object"==typeof e&&"length"in e){for(var s=0;s<e.length;s+=1)e[s]&&a.prepend(e[s]);r=i+e.length}else a.prepend(e);n.loop&&t.loopCreate(),n.observer&&g.observer||t.update(),t.slideTo(r,0,!1)},addSlide:function(e,t){var n=this,a=n.$wrapperEl,i=n.params,r=n.activeIndex;i.loop&&(r-=n.loopedSlides,n.loopDestroy(),n.slides=a.children(".".concat(i.slideClass)));var s=n.slides.length;if(e<=0)n.prependSlide(t);else if(e>=s)n.appendSlide(t);else{for(var o=r>e?r+1:r,l=[],c=s-1;c>=e;c-=1){var u=n.slides.eq(c);u.remove(),l.unshift(u)}if("object"==typeof t&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&a.append(t[d]);o=r>e?r+t.length:r}else a.append(t);for(var p=0;p<l.length;p+=1)a.append(l[p]);i.loop&&n.loopCreate(),i.observer&&g.observer||n.update(),i.loop?n.slideTo(o+n.loopedSlides,0,!1):n.slideTo(o,0,!1)}},removeSlide:function(e){var t=this,n=t.params,a=t.$wrapperEl,i=t.activeIndex;n.loop&&(i-=t.loopedSlides,t.loopDestroy(),t.slides=a.children(".".concat(n.slideClass)));var r,s=i;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1);s=Math.max(s,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1),s=Math.max(s,0);n.loop&&t.loopCreate(),n.observer&&g.observer||t.update(),n.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},P=function(){var e=u.u.navigator.userAgent,t={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:u.u.cordova||u.u.phonegap,phonegap:u.u.cordova||u.u.phonegap},n=e.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),a=e.match(/(Android);?[\s\/]+([\d.]+)?/),i=e.match(/(iPad).*OS\s([\d_]+)/),r=e.match(/(iPod)(.*OS\s([\d_]+))?/),s=!i&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(n&&(t.os="windows",t.osVersion=n[2],t.windows=!0),a&&!n&&(t.os="android",t.osVersion=a[2],t.android=!0,t.androidChrome=e.toLowerCase().indexOf("chrome")>=0),(i||s||r)&&(t.os="ios",t.ios=!0),s&&!r&&(t.osVersion=s[2].replace(/_/g,"."),t.iphone=!0),i&&(t.osVersion=i[2].replace(/_/g,"."),t.ipad=!0),r&&(t.osVersion=r[3]?r[3].replace(/_/g,"."):null,t.iphone=!0),t.ios&&t.osVersion&&e.indexOf("Version/")>=0&&"10"===t.osVersion.split(".")[0]&&(t.osVersion=e.toLowerCase().split("version/")[1].split(" ")[0]),t.desktop=!(t.os||t.android||t.webView),t.webView=(s||i||r)&&e.match(/.*AppleWebKit(?!.*Safari)/i),t.os&&"ios"===t.os){var o=t.osVersion.split("."),l=u.t.querySelector('meta[name="viewport"]');t.minimalUi=!t.webView&&(r||s)&&(1*o[0]==7?1*o[1]>=1:1*o[0]>7)&&l&&l.getAttribute("content").indexOf("minimal-ui")>=0}return t.pixelRatio=u.u.devicePixelRatio||1,t}();function M(e){var t=this,n=t.touchEventsData,a=t.params,i=t.touches;if(!t.animating||!a.preventInteractionOnTransition){var r=e;if(r.originalEvent&&(r=r.originalEvent),n.isTouchEvent="touchstart"===r.type,(n.isTouchEvent||!("which"in r)||3!==r.which)&&!(!n.isTouchEvent&&"button"in r&&r.button>0||n.isTouched&&n.isMoved))if(a.noSwiping&&(0,c.$)(r.target).closest(a.noSwipingSelector?a.noSwipingSelector:".".concat(a.noSwipingClass))[0])t.allowClick=!0;else if(!a.swipeHandler||(0,c.$)(r).closest(a.swipeHandler)[0]){i.currentX="touchstart"===r.type?r.targetTouches[0].pageX:r.pageX,i.currentY="touchstart"===r.type?r.targetTouches[0].pageY:r.pageY;var s=i.currentX,o=i.currentY,l=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,d=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(!l||!(s<=d||s>=u.u.screen.width-d)){if(m.extend(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=s,i.startY=o,n.touchStartTime=m.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==r.type){var p=!0;(0,c.$)(r.target).is(n.formElements)&&(p=!1),u.t.activeElement&&(0,c.$)(u.t.activeElement).is(n.formElements)&&u.t.activeElement!==r.target&&u.t.activeElement.blur();var f=p&&t.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||f)&&r.preventDefault()}t.emit("touchStart",r)}}}}function I(e){var t=this,n=t.touchEventsData,a=t.params,i=t.touches,r=t.rtlTranslate,s=e;if(s.originalEvent&&(s=s.originalEvent),n.isTouched){if(!n.isTouchEvent||"mousemove"!==s.type){var o="touchmove"===s.type?s.targetTouches[0].pageX:s.pageX,l="touchmove"===s.type?s.targetTouches[0].pageY:s.pageY;if(s.preventedByNestedSwiper)return i.startX=o,void(i.startY=l);if(!t.allowTouchMove)return t.allowClick=!1,void(n.isTouched&&(m.extend(i,{startX:o,startY:l,currentX:o,currentY:l}),n.touchStartTime=m.now()));if(n.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(t.isVertical()){if(l<i.startY&&t.translate<=t.maxTranslate()||l>i.startY&&t.translate>=t.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(o<i.startX&&t.translate<=t.maxTranslate()||o>i.startX&&t.translate>=t.minTranslate())return;if(n.isTouchEvent&&u.t.activeElement&&s.target===u.t.activeElement&&(0,c.$)(s.target).is(n.formElements))return n.isMoved=!0,void(t.allowClick=!1);if(n.allowTouchCallbacks&&t.emit("touchMove",s),!(s.targetTouches&&s.targetTouches.length>1)){i.currentX=o,i.currentY=l;var d=i.currentX-i.startX,p=i.currentY-i.startY;if(!(t.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(p,2))<t.params.threshold)){var f;if(void 0===n.isScrolling)t.isHorizontal()&&i.currentY===i.startY||t.isVertical()&&i.currentX===i.startX?n.isScrolling=!1:d*d+p*p>=25&&(f=180*Math.atan2(Math.abs(p),Math.abs(d))/Math.PI,n.isScrolling=t.isHorizontal()?f>a.touchAngle:90-f>a.touchAngle);if(n.isScrolling&&t.emit("touchMoveOpposite",s),void 0===n.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){t.allowClick=!1,s.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&s.stopPropagation(),n.isMoved||(a.loop&&t.loopFix(),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!a.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",s)),t.emit("sliderMove",s),n.isMoved=!0;var h=t.isHorizontal()?d:p;i.diff=h,h*=a.touchRatio,r&&(h=-h),t.swipeDirection=h>0?"prev":"next",n.currentTranslate=h+n.startTranslate;var v=!0,g=a.resistanceRatio;if(a.touchReleaseOnEdges&&(g=0),h>0&&n.currentTranslate>t.minTranslate()?(v=!1,a.resistance&&(n.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+n.startTranslate+h,g))):h<0&&n.currentTranslate<t.maxTranslate()&&(v=!1,a.resistance&&(n.currentTranslate=t.maxTranslate()+1-Math.pow(t.maxTranslate()-n.startTranslate-h,g))),v&&(s.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),a.threshold>0){if(!(Math.abs(h)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,n.currentTranslate=n.startTranslate,void(i.diff=t.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}a.followFinger&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),a.freeMode&&(0===n.velocities.length&&n.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:m.now()})),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate))}}}}}else n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",s)}function z(e){var t=this,n=t.touchEventsData,a=t.params,i=t.touches,r=t.rtlTranslate,s=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,c=e;if(c.originalEvent&&(c=c.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",c),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,d=m.now(),p=d-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap",c),p<300&&d-n.lastClickTime>300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),n.clickTimeout=m.nextTick((function(){t&&!t.destroyed&&t.emit("click",c)}),300)),p<300&&d-n.lastClickTime<300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),t.emit("doubleTap",c))),n.lastClickTime=m.now(),m.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,u=a.followFinger?r?t.translate:-t.translate:-n.currentTranslate,a.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(a.freeModeMomentum){if(n.velocities.length>1){var f=n.velocities.pop(),h=n.velocities.pop(),v=f.position-h.position,g=f.time-h.time;t.velocity=v/g,t.velocity/=2,Math.abs(t.velocity)<a.freeModeMinimumVelocity&&(t.velocity=0),(g>150||m.now()-f.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeModeMomentumVelocityRatio,n.velocities.length=0;var b=1e3*a.freeModeMomentumRatio,w=t.velocity*b,y=t.translate+w;r&&(y=-y);var E,x,S=!1,T=20*Math.abs(t.velocity)*a.freeModeMomentumBounceRatio;if(y<t.maxTranslate())a.freeModeMomentumBounce?(y+t.maxTranslate()<-T&&(y=t.maxTranslate()-T),E=t.maxTranslate(),S=!0,n.allowMomentumBounce=!0):y=t.maxTranslate(),a.loop&&a.centeredSlides&&(x=!0);else if(y>t.minTranslate())a.freeModeMomentumBounce?(y-t.minTranslate()>T&&(y=t.minTranslate()+T),E=t.minTranslate(),S=!0,n.allowMomentumBounce=!0):y=t.minTranslate(),a.loop&&a.centeredSlides&&(x=!0);else if(a.freeModeSticky){for(var C,k=0;k<l.length;k+=1)if(l[k]>-y){C=k;break}y=-(y=Math.abs(l[C]-y)<Math.abs(l[C-1]-y)||"next"===t.swipeDirection?l[C]:l[C-1])}if(x&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)b=r?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else if(a.freeModeSticky)return void t.slideToClosest();a.freeModeMomentumBounce&&S?(t.updateProgress(E),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,s.transitionEnd((function(){t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(a.speed),t.setTranslate(E),s.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(y),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,s.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else if(a.freeModeSticky)return void t.slideToClosest();(!a.freeModeMomentum||p>=a.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var P=0,M=t.slidesSizesGrid[0],I=0;I<o.length;I+=a.slidesPerGroup)void 0!==o[I+a.slidesPerGroup]?u>=o[I]&&u<o[I+a.slidesPerGroup]&&(P=I,M=o[I+a.slidesPerGroup]-o[I]):u>=o[I]&&(P=I,M=o[o.length-1]-o[o.length-2]);var z=(u-o[P])/M;if(p>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(z>=a.longSwipesRatio?t.slideTo(P+a.slidesPerGroup):t.slideTo(P)),"prev"===t.swipeDirection&&(z>1-a.longSwipesRatio?t.slideTo(P+a.slidesPerGroup):t.slideTo(P))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(P+a.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(P)}}}function $(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var a=e.allowSlideNext,i=e.allowSlidePrev,r=e.snapGrid;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var s=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}}function O(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}var L={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},A={update:y,translate:E,transition:x,slide:S,loop:T,grabCursor:C,manipulation:k,events:{attachEvents:function(){var e=this,t=e.params,n=e.touchEvents,a=e.el,i=e.wrapperEl;e.onTouchStart=M.bind(e),e.onTouchMove=I.bind(e),e.onTouchEnd=z.bind(e),e.onClick=O.bind(e);var r="container"===t.touchEventsTarget?a:i,s=!!t.nested;if(g.touch||!g.pointerEvents&&!g.prefixedPointerEvents){if(g.touch){var o=!("touchstart"!==n.start||!g.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.addEventListener(n.start,e.onTouchStart,o),r.addEventListener(n.move,e.onTouchMove,g.passiveListener?{passive:!1,capture:s}:s),r.addEventListener(n.end,e.onTouchEnd,o)}(t.simulateTouch&&!P.ios&&!P.android||t.simulateTouch&&!g.touch&&P.ios)&&(r.addEventListener("mousedown",e.onTouchStart,!1),u.t.addEventListener("mousemove",e.onTouchMove,s),u.t.addEventListener("mouseup",e.onTouchEnd,!1))}else r.addEventListener(n.start,e.onTouchStart,!1),u.t.addEventListener(n.move,e.onTouchMove,s),u.t.addEventListener(n.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.addEventListener("click",e.onClick,!0),e.on(P.ios||P.android?"resize orientationchange observerUpdate":"resize observerUpdate",$,!0)},detachEvents:function(){var e=this,t=e.params,n=e.touchEvents,a=e.el,i=e.wrapperEl,r="container"===t.touchEventsTarget?a:i,s=!!t.nested;if(g.touch||!g.pointerEvents&&!g.prefixedPointerEvents){if(g.touch){var o=!("onTouchStart"!==n.start||!g.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(n.start,e.onTouchStart,o),r.removeEventListener(n.move,e.onTouchMove,s),r.removeEventListener(n.end,e.onTouchEnd,o)}(t.simulateTouch&&!P.ios&&!P.android||t.simulateTouch&&!g.touch&&P.ios)&&(r.removeEventListener("mousedown",e.onTouchStart,!1),u.t.removeEventListener("mousemove",e.onTouchMove,s),u.t.removeEventListener("mouseup",e.onTouchEnd,!1))}else r.removeEventListener(n.start,e.onTouchStart,!1),u.t.removeEventListener(n.move,e.onTouchMove,s),u.t.removeEventListener(n.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",e.onClick,!0),e.off(P.ios||P.android?"resize orientationchange observerUpdate":"resize observerUpdate",$)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,n=e.initialized,a=e.loopedSlides,i=void 0===a?0:a,r=e.params,s=r.breakpoints;if(s&&(!s||0!==Object.keys(s).length)){var o=e.getBreakpoint(s);if(o&&e.currentBreakpoint!==o){var l=o in s?s[o]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=l[e];void 0!==t&&(l[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var c=l||e.originalParams,u=c.direction&&c.direction!==r.direction,d=r.loop&&(c.slidesPerView!==r.slidesPerView||u);u&&n&&e.changeDirection(),m.extend(e.params,c),m.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=o,d&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}}},getBreakpoint:function(e){if(e){var t=!1,n=[];Object.keys(e).forEach((function(e){n.push(e)})),n.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var a=0;a<n.length;a+=1){var i=n[a];this.params.breakpointsInverse?i<=u.u.innerWidth&&(t=i):i>=u.u.innerWidth&&!t&&(t=i)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked;e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),t&&t!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}},classes:{addClasses:function(){var e=this,t=e.classNames,n=e.params,a=e.rtl,i=e.$el,r=[];r.push("initialized"),r.push(n.direction),n.freeMode&&r.push("free-mode"),g.flexbox||r.push("no-flexbox"),n.autoHeight&&r.push("autoheight"),a&&r.push("rtl"),n.slidesPerColumn>1&&r.push("multirow"),P.android&&r.push("android"),P.ios&&r.push("ios"),(b.isIE||b.isEdge)&&(g.pointerEvents||g.prefixedPointerEvents)&&r.push("wp8-".concat(n.direction)),r.forEach((function(e){t.push(n.containerModifierClass+e)})),i.addClass(t.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,n,a,i,r){var s;function o(){r&&r()}e.complete&&i?o():t?((s=new u.u.Image).onload=o,s.onerror=o,a&&(s.sizes=a),n&&(s.srcset=n),t&&(s.src=t)):o()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var a=e.imagesToLoad[n];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,t)}}}},D={},N=function(e){(0,i.Z)(n,e);var t=d(n);function n(){var e,i,s;(0,o.Z)(this,n);for(var l=arguments.length,u=new Array(l),d=0;d<l;d++)u[d]=arguments[d];1===u.length&&u[0].constructor&&u[0].constructor===Object?s=u[0]:(i=u[0],s=u[1]),s||(s={}),s=m.extend({},s),i&&!s.el&&(s.el=i),e=t.call(this,s),Object.keys(A).forEach((function(e){Object.keys(A[e]).forEach((function(t){n.prototype[t]||(n.prototype[t]=A[e][t])}))}));var p=(0,a.Z)(e);void 0===p.modules&&(p.modules={}),Object.keys(p.modules).forEach((function(e){var t=p.modules[e];if(t.params){var n=Object.keys(t.params)[0],a=t.params[n];if("object"!=typeof a||null===a)return;if(!(n in s)||!("enabled"in a))return;!0===s[n]&&(s[n]={enabled:!0}),"object"!=typeof s[n]||"enabled"in s[n]||(s[n].enabled=!0),s[n]||(s[n]={enabled:!1})}}));var f=m.extend({},L);p.useModulesParams(f),p.params=m.extend({},f,D,s),p.originalParams=m.extend({},p.params),p.passedParams=m.extend({},s),p.$=c.$;var h=(0,c.$)(p.params.el);if(!(i=h[0]))return(0,r.Z)(e,void 0);if(h.length>1){var v=[];return h.each((function(e,t){var a=m.extend({},s,{el:t});v.push(new n(a))})),(0,r.Z)(e,v)}i.swiper=p,h.data("swiper",p);var b,w,y=h.children(".".concat(p.params.wrapperClass));return m.extend(p,{$el:h,el:i,$wrapperEl:y,wrapperEl:y[0],classNames:[],slides:(0,c.$)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===p.params.direction},isVertical:function(){return"vertical"===p.params.direction},rtl:"rtl"===i.dir.toLowerCase()||"rtl"===h.css("direction"),rtlTranslate:"horizontal"===p.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===h.css("direction")),wrongRTL:"-webkit-box"===y.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:p.params.allowSlideNext,allowSlidePrev:p.params.allowSlidePrev,touchEvents:(b=["touchstart","touchmove","touchend"],w=["mousedown","mousemove","mouseup"],g.pointerEvents?w=["pointerdown","pointermove","pointerup"]:g.prefixedPointerEvents&&(w=["MSPointerDown","MSPointerMove","MSPointerUp"]),p.touchEventsTouch={start:b[0],move:b[1],end:b[2]},p.touchEventsDesktop={start:w[0],move:w[1],end:w[2]},g.touch||!p.params.simulateTouch?p.touchEventsTouch:p.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:m.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:p.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),p.useModules(),p.params.init&&p.init(),(0,r.Z)(e,p)}return(0,l.Z)(n,[{key:"slidesPerViewDynamic",value:function(){var e=this,t=e.params,n=e.slides,a=e.slidesGrid,i=e.size,r=e.activeIndex,s=1;if(t.centeredSlides){for(var o,l=n[r].swiperSlideSize,c=r+1;c<n.length;c+=1)n[c]&&!o&&(s+=1,(l+=n[c].swiperSlideSize)>i&&(o=!0));for(var u=r-1;u>=0;u-=1)n[u]&&!o&&(s+=1,(l+=n[u].swiperSlideSize)>i&&(o=!0))}else for(var d=r+1;d<n.length;d+=1)a[d]-a[r]<i&&(s+=1);return s}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(a(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||a(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function a(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,a=n.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass("".concat(n.params.containerModifierClass).concat(a," wp8-").concat(a)).addClass("".concat(n.params.containerModifierClass).concat(e)),(b.isIE||b.isEdge)&&(g.pointerEvents||g.prefixedPointerEvents)&&n.$el.addClass("".concat(n.params.containerModifierClass,"wp8-").concat(e)),n.params.direction=e,n.slides.each((function(t,n){"vertical"===e?n.style.width="":n.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}},{key:"init",value:function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,a=n.params,i=n.$el,r=n.$wrapperEl,s=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),r.removeAttr("style"),s&&s.length&&s.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),m.deleteProps(n)),n.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){m.extend(D,e)}},{key:"extendedDefaults",get:function(){return D}},{key:"defaults",get:function(){return L}},{key:"Class",get:function(){return w}},{key:"$",get:function(){return c.$}}]),n}(w),_={name:"device",proto:{device:P},static:{device:P}},R={name:"support",proto:{support:g},static:{support:g}},B={name:"browser",proto:{browser:b},static:{browser:b}},j={name:"resize",create:function(){var e=this;m.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){u.u.addEventListener("resize",this.resize.resizeHandler),u.u.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){u.u.removeEventListener("resize",this.resize.resizeHandler),u.u.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},H={func:u.u.MutationObserver||u.u.WebkitMutationObserver,attach:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this,a=H.func,i=new a((function(e){if(1!==e.length){var t=function(){n.emit("observerUpdate",e[0])};u.u.requestAnimationFrame?u.u.requestAnimationFrame(t):u.u.setTimeout(t,0)}else 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(g.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),n=0;n<t.length;n+=1)e.observer.attach(t[n]);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=[]}},V={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var e=this;m.extend(e,{observer:{init:H.init.bind(e),attach:H.attach.bind(e),destroy:H.destroy.bind(e),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},Z={update:function(e){var t=this,n=t.params,a=n.slidesPerView,i=n.slidesPerGroup,r=n.centeredSlides,s=t.params.virtual,o=s.addSlidesBefore,l=s.addSlidesAfter,c=t.virtual,u=c.from,d=c.to,p=c.slides,f=c.slidesGrid,h=c.renderSlide,v=c.offset;t.updateActiveIndex();var g,b,w,y=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(b=Math.floor(a/2)+i+o,w=Math.floor(a/2)+i+l):(b=a+(i-1)+o,w=i+l);var E=Math.max((y||0)-w,0),x=Math.min((y||0)+b,p.length-1),S=(t.slidesGrid[E]||0)-(t.slidesGrid[0]||0);function T(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(m.extend(t.virtual,{from:E,to:x,offset:S,slidesGrid:t.slidesGrid}),u===E&&d===x&&!e)return t.slidesGrid!==f&&S!==v&&t.slides.css(g,"".concat(S,"px")),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:S,from:E,to:x,slides:function(){for(var e=[],t=E;t<=x;t+=1)e.push(p[t]);return e}()}),void T();var C=[],k=[];if(e)t.$wrapperEl.find(".".concat(t.params.slideClass)).remove();else for(var P=u;P<=d;P+=1)(P<E||P>x)&&t.$wrapperEl.find(".".concat(t.params.slideClass,'[data-swiper-slide-index="').concat(P,'"]')).remove();for(var M=0;M<p.length;M+=1)M>=E&&M<=x&&(void 0===d||e?k.push(M):(M>d&&k.push(M),M<u&&C.push(M)));k.forEach((function(e){t.$wrapperEl.append(h(p[e],e))})),C.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(h(p[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,"".concat(S,"px")),T()},renderSlide:function(e,t){var n=this,a=n.params.virtual;if(a.cache&&n.virtual.cache[t])return n.virtual.cache[t];var i=a.renderSlide?(0,c.$)(a.renderSlide.call(n,e,t)):(0,c.$)('<div class="'.concat(n.params.slideClass,'" data-swiper-slide-index="').concat(t,'">').concat(e,"</div>"));return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",t),a.cache&&(n.virtual.cache[t]=i),i},appendSlide:function(e){var t=this;if("object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&t.virtual.slides.push(e[n]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide:function(e){var t=this,n=t.activeIndex,a=n+1,i=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&t.virtual.slides.unshift(e[r]);a=n+e.length,i=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var s=t.virtual.cache,o={};Object.keys(s).forEach((function(e){o[parseInt(e,10)+i]=s[e]})),t.virtual.cache=o}t.virtual.update(!0),t.slideTo(a,0)},removeSlide:function(e){var t=this;if(null!=e){var n=t.activeIndex;if(Array.isArray(e))for(var a=e.length-1;a>=0;a-=1)t.virtual.slides.splice(e[a],1),t.params.virtual.cache&&delete t.virtual.cache[e[a]],e[a]<n&&(n-=1),n=Math.max(n,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<n&&(n-=1),n=Math.max(n,0);t.virtual.update(!0),t.slideTo(n,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},G={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;m.extend(e,{virtual:{update:Z.update.bind(e),appendSlide:Z.appendSlide.bind(e),prependSlide:Z.prependSlide.bind(e),removeSlide:Z.removeSlide.bind(e),removeAllSlides:Z.removeAllSlides.bind(e),renderSlide:Z.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push("".concat(e.params.containerModifierClass,"virtual"));var t={watchSlidesProgress:!0};m.extend(e.params,t),m.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},X={handle:function(e){var t=this,n=t.rtlTranslate,a=e;a.originalEvent&&(a=a.originalEvent);var i=a.keyCode||a.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===i||t.isVertical()&&40===i||34===i))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===i||t.isVertical()&&38===i||33===i))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||u.t.activeElement&&u.t.activeElement.nodeName&&("input"===u.t.activeElement.nodeName.toLowerCase()||"textarea"===u.t.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(33===i||34===i||37===i||39===i||38===i||40===i)){var r=!1;if(t.$el.parents(".".concat(t.params.slideClass)).length>0&&0===t.$el.parents(".".concat(t.params.slideActiveClass)).length)return;var s=u.u.innerWidth,o=u.u.innerHeight,l=t.$el.offset();n&&(l.left-=t.$el[0].scrollLeft);for(var c=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]],d=0;d<c.length;d+=1){var p=c[d];p[0]>=0&&p[0]<=s&&p[1]>=0&&p[1]<=o&&(r=!0)}if(!r)return}t.isHorizontal()?(33!==i&&34!==i&&37!==i&&39!==i||(a.preventDefault?a.preventDefault():a.returnValue=!1),(34!==i&&39!==i||n)&&(33!==i&&37!==i||!n)||t.slideNext(),(33!==i&&37!==i||n)&&(34!==i&&39!==i||!n)||t.slidePrev()):(33!==i&&34!==i&&38!==i&&40!==i||(a.preventDefault?a.preventDefault():a.returnValue=!1),34!==i&&40!==i||t.slideNext(),33!==i&&38!==i||t.slidePrev()),t.emit("keyPress",i)}},enable:function(){var e=this;e.keyboard.enabled||((0,c.$)(u.t).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this;e.keyboard.enabled&&((0,c.$)(u.t).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},F={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){var e=this;m.extend(e,{keyboard:{enabled:!1,enable:X.enable.bind(e),disable:X.disable.bind(e),handle:X.handle.bind(e)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var Y={lastScrollTime:m.now(),event:u.u.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel",t=e in u.t;if(!t){var n=u.t.createElement("div");n.setAttribute(e,"return;"),t="function"==typeof n.onwheel}return!t&&u.t.implementation&&u.t.implementation.hasFeature&&!0!==u.t.implementation.hasFeature("","")&&(t=u.t.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,n=0,a=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),a=10*t,i=10*n,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:a,pixelY:i}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,n=this,a=n.params.mousewheel;if(!n.mouseEntered&&!a.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var i=0,r=n.rtlTranslate?-1:1,s=Y.normalize(t);if(a.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;i=s.pixelX*r}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;i=s.pixelY}else i=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*r:-s.pixelY;if(0===i)return!0;if(a.invert&&(i=-i),n.params.freeMode){n.params.loop&&n.loopFix();var o=n.getTranslate()+i*a.sensitivity,l=n.isBeginning,c=n.isEnd;if(o>=n.minTranslate()&&(o=n.minTranslate()),o<=n.maxTranslate()&&(o=n.maxTranslate()),n.setTransition(0),n.setTranslate(o),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!l&&n.isBeginning||!c&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky&&(clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=m.nextTick((function(){n.slideToClosest()}),300)),n.emit("scroll",t),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),o===n.minTranslate()||o===n.maxTranslate())return!0}else{if(m.now()-n.mousewheel.lastScrollTime>60)if(i<0)if(n.isEnd&&!n.params.loop||n.animating){if(a.releaseOnEdges)return!0}else n.slideNext(),n.emit("scroll",t);else if(n.isBeginning&&!n.params.loop||n.animating){if(a.releaseOnEdges)return!0}else n.slidePrev(),n.emit("scroll",t);n.mousewheel.lastScrollTime=(new u.u.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},enable:function(){var e=this;if(!Y.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=(0,c.$)(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(Y.event,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this;if(!Y.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=(0,c.$)(e.params.mousewheel.eventsTarged)),t.off(Y.event,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},q={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var n=e.navigation,a=n.$nextEl,i=n.$prevEl;i&&i.length>0&&(e.isBeginning?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),a&&a.length>0&&(e.isEnd?a.addClass(t.disabledClass):a.removeClass(t.disabledClass),a[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,n=this,a=n.params.navigation;(a.nextEl||a.prevEl)&&(a.nextEl&&(e=(0,c.$)(a.nextEl),n.params.uniqueNavElements&&"string"==typeof a.nextEl&&e.length>1&&1===n.$el.find(a.nextEl).length&&(e=n.$el.find(a.nextEl))),a.prevEl&&(t=(0,c.$)(a.prevEl),n.params.uniqueNavElements&&"string"==typeof a.prevEl&&t.length>1&&1===n.$el.find(a.prevEl).length&&(t=n.$el.find(a.prevEl))),e&&e.length>0&&e.on("click",n.navigation.onNextClick),t&&t.length>0&&t.on("click",n.navigation.onPrevClick),m.extend(n.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,n=t.$nextEl,a=t.$prevEl;n&&n.length&&(n.off("click",e.navigation.onNextClick),n.removeClass(e.params.navigation.disabledClass)),a&&a.length&&(a.off("click",e.navigation.onPrevClick),a.removeClass(e.params.navigation.disabledClass))}},W={update:function(){var e=this,t=e.rtl,n=e.params.pagination;if(n.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a,i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,s=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((a=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>i-1-2*e.loopedSlides&&(a-=i-2*e.loopedSlides),a>s-1&&(a-=s),a<0&&"bullets"!==e.params.paginationType&&(a=s+a)):a=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,u,d=e.pagination.bullets;if(n.dynamicBullets&&(e.pagination.bulletSize=d.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height","".concat(e.pagination.bulletSize*(n.dynamicMainBullets+4),"px")),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=a-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=a-e.pagination.dynamicBulletIndex,u=((l=o+(Math.min(d.length,n.dynamicMainBullets)-1))+o)/2),d.removeClass("".concat(n.bulletActiveClass," ").concat(n.bulletActiveClass,"-next ").concat(n.bulletActiveClass,"-next-next ").concat(n.bulletActiveClass,"-prev ").concat(n.bulletActiveClass,"-prev-prev ").concat(n.bulletActiveClass,"-main")),r.length>1)d.each((function(e,t){var i=(0,c.$)(t),r=i.index();r===a&&i.addClass(n.bulletActiveClass),n.dynamicBullets&&(r>=o&&r<=l&&i.addClass("".concat(n.bulletActiveClass,"-main")),r===o&&i.prev().addClass("".concat(n.bulletActiveClass,"-prev")).prev().addClass("".concat(n.bulletActiveClass,"-prev-prev")),r===l&&i.next().addClass("".concat(n.bulletActiveClass,"-next")).next().addClass("".concat(n.bulletActiveClass,"-next-next")))}));else if(d.eq(a).addClass(n.bulletActiveClass),n.dynamicBullets){for(var p=d.eq(o),f=d.eq(l),h=o;h<=l;h+=1)d.eq(h).addClass("".concat(n.bulletActiveClass,"-main"));p.prev().addClass("".concat(n.bulletActiveClass,"-prev")).prev().addClass("".concat(n.bulletActiveClass,"-prev-prev")),f.next().addClass("".concat(n.bulletActiveClass,"-next")).next().addClass("".concat(n.bulletActiveClass,"-next-next"))}if(n.dynamicBullets){var v=Math.min(d.length,n.dynamicMainBullets+4),m=(e.pagination.bulletSize*v-e.pagination.bulletSize)/2-u*e.pagination.bulletSize,g=t?"right":"left";d.css(e.isHorizontal()?g:"top","".concat(m,"px"))}}if("fraction"===n.type&&(r.find(".".concat(n.currentClass)).text(n.formatFractionCurrent(a+1)),r.find(".".concat(n.totalClass)).text(n.formatFractionTotal(s))),"progressbar"===n.type){var b;b=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var w=(a+1)/s,y=1,E=1;"horizontal"===b?y=w:E=w,r.find(".".concat(n.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(y,") scaleY(").concat(E,")")).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(r.html(n.renderCustom(e,a+1,s)),e.emit("paginationRender",e,r[0])):e.emit("paginationUpdate",e,r[0]),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](n.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el,i="";if("bullets"===t.type){for(var r=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,s=0;s<r;s+=1)t.renderBullet?i+=t.renderBullet.call(e,s,t.bulletClass):i+="<".concat(t.bulletElement,' class="').concat(t.bulletClass,'"></').concat(t.bulletElement,">");a.html(i),e.pagination.bullets=a.find(".".concat(t.bulletClass))}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'.concat(t.currentClass,'"></span>')+" / "+'<span class="'.concat(t.totalClass,'"></span>'),a.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'.concat(t.progressbarFillClass,'"></span>'),a.html(i)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var n=(0,c.$)(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&1===e.$el.find(t.el).length&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass("".concat(t.modifierClass).concat(t.type,"-dynamic")),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click",".".concat(t.bulletClass),(function(t){t.preventDefault();var n=(0,c.$)(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),m.extend(e.pagination,{$el:n,el:n[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click",".".concat(t.bulletClass))}}},U={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,n=e.rtlTranslate,a=e.progress,i=t.dragSize,r=t.trackSize,s=t.$dragEl,o=t.$el,l=e.params.scrollbar,c=i,u=(r-i)*a;n?(u=-u)>0?(c=i-u,u=0):-u+i>r&&(c=r+u):u<0?(c=i+u,u=0):u+i>r&&(c=r-u),e.isHorizontal()?(g.transforms3d?s.transform("translate3d(".concat(u,"px, 0, 0)")):s.transform("translateX(".concat(u,"px)")),s[0].style.width="".concat(c,"px")):(g.transforms3d?s.transform("translate3d(0px, ".concat(u,"px, 0)")):s.transform("translateY(".concat(u,"px)")),s[0].style.height="".concat(c,"px")),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){o[0].style.opacity=0,o.transition(400)}),1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,n=t.$dragEl,a=t.$el;n[0].style.width="",n[0].style.height="";var i,r=e.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,s=e.size/e.virtualSize,o=s*(r/e.size);i="auto"===e.params.scrollbar.dragSize?r*s:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n[0].style.width="".concat(i,"px"):n[0].style.height="".concat(i,"px"),a[0].style.display=s>=1?"none":"",e.params.scrollbar.hide&&(a[0].style.opacity=0),m.extend(t,{trackSize:r,divider:s,moveDivider:o,dragSize:i}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,n=this,a=n.scrollbar,i=n.rtlTranslate,r=a.$el,s=a.dragSize,o=a.trackSize,l=a.dragStartPos;t=(a.getPointerPosition(e)-r.offset()[n.isHorizontal()?"left":"top"]-(null!==l?l:s/2))/(o-s),t=Math.max(Math.min(t,1),0),i&&(t=1-t);var c=n.minTranslate()+(n.maxTranslate()-n.minTranslate())*t;n.updateProgress(c),n.setTranslate(c),n.updateActiveIndex(),n.updateSlidesClasses()},onDragStart:function(e){var t=this,n=t.params.scrollbar,a=t.scrollbar,i=t.$wrapperEl,r=a.$el,s=a.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===s[0]||e.target===s?a.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),s.transition(100),a.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),n.hide&&r.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,n=t.scrollbar,a=t.$wrapperEl,i=n.$el,r=n.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,n.setDragPosition(e),a.transition(0),i.transition(0),r.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,n=t.params.scrollbar,a=t.scrollbar.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,n.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=m.nextTick((function(){a.css("opacity",0),a.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,i=e.params,r=t.$el[0],s=!(!g.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},o=!(!g.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};g.touch?(r.addEventListener(n.start,e.scrollbar.onDragStart,s),r.addEventListener(n.move,e.scrollbar.onDragMove,s),r.addEventListener(n.end,e.scrollbar.onDragEnd,o)):(r.addEventListener(a.start,e.scrollbar.onDragStart,s),u.t.addEventListener(a.move,e.scrollbar.onDragMove,s),u.t.addEventListener(a.end,e.scrollbar.onDragEnd,o))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,i=e.params,r=t.$el[0],s=!(!g.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},o=!(!g.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};g.touch?(r.removeEventListener(n.start,e.scrollbar.onDragStart,s),r.removeEventListener(n.move,e.scrollbar.onDragMove,s),r.removeEventListener(n.end,e.scrollbar.onDragEnd,o)):(r.removeEventListener(a.start,e.scrollbar.onDragStart,s),u.t.removeEventListener(a.move,e.scrollbar.onDragMove,s),u.t.removeEventListener(a.end,e.scrollbar.onDragEnd,o))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,n=e.$el,a=e.params.scrollbar,i=(0,c.$)(a.el);e.params.uniqueNavElements&&"string"==typeof a.el&&i.length>1&&1===n.find(a.el).length&&(i=n.find(a.el));var r=i.find(".".concat(e.params.scrollbar.dragClass));0===r.length&&(r=(0,c.$)('<div class="'.concat(e.params.scrollbar.dragClass,'"></div>')),i.append(r)),m.extend(t,{$el:i,el:i[0],$dragEl:r,dragEl:r[0]}),a.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},K={setTransform:function(e,t){var n=this.rtl,a=(0,c.$)(e),i=n?-1:1,r=a.attr("data-swiper-parallax")||"0",s=a.attr("data-swiper-parallax-x"),o=a.attr("data-swiper-parallax-y"),l=a.attr("data-swiper-parallax-scale"),u=a.attr("data-swiper-parallax-opacity");if(s||o?(s=s||"0",o=o||"0"):this.isHorizontal()?(s=r,o="0"):(o=r,s="0"),s=s.indexOf("%")>=0?"".concat(parseInt(s,10)*t*i,"%"):"".concat(s*t*i,"px"),o=o.indexOf("%")>=0?"".concat(parseInt(o,10)*t,"%"):"".concat(o*t,"px"),null!=u){var d=u-(u-1)*(1-Math.abs(t));a[0].style.opacity=d}if(null==l)a.transform("translate3d(".concat(s,", ").concat(o,", 0px)"));else{var p=l-(l-1)*(1-Math.abs(t));a.transform("translate3d(".concat(s,", ").concat(o,", 0px) scale(").concat(p,")"))}},setTranslate:function(){var e=this,t=e.$el,n=e.slides,a=e.progress,i=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,a)})),n.each((function(t,n){var r=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(r+=Math.ceil(t/2)-a*(i.length-1)),r=Math.min(Math.max(r,-1),1),(0,c.$)(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,r)}))}))},setTransition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=this,n=t.$el;n.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){var a=(0,c.$)(n),i=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),a.transition(i)}))}},Q={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(a-t,2)+Math.pow(i-n,2))},onGestureStart:function(e){var t=this,n=t.params.zoom,a=t.zoom,i=a.gesture;if(a.fakeGestureTouched=!1,a.fakeGestureMoved=!1,!g.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;a.fakeGestureTouched=!0,i.scaleStart=Q.getDistanceBetweenTouches(e)}i.$slideEl&&i.$slideEl.length||(i.$slideEl=(0,c.$)(e.target).closest(".swiper-slide"),0===i.$slideEl.length&&(i.$slideEl=t.slides.eq(t.activeIndex)),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent(".".concat(n.containerClass)),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==i.$imageWrapEl.length)?(i.$imageEl.transition(0),t.zoom.isScaling=!0):i.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,n=this.zoom,a=n.gesture;if(!g.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,a.scaleMove=Q.getDistanceBetweenTouches(e)}a.$imageEl&&0!==a.$imageEl.length&&(n.scale=g.gestures?e.scale*n.currentScale:a.scaleMove/a.scaleStart*n.currentScale,n.scale>a.maxRatio&&(n.scale=a.maxRatio-1+Math.pow(n.scale-a.maxRatio+1,.5)),n.scale<t.minRatio&&(n.scale=t.minRatio+1-Math.pow(t.minRatio-n.scale+1,.5)),a.$imageEl.transform("translate3d(0,0,0) scale(".concat(n.scale,")")))},onGestureEnd:function(e){var t=this,n=t.params.zoom,a=t.zoom,i=a.gesture;if(!g.gestures){if(!a.fakeGestureTouched||!a.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!P.android)return;a.fakeGestureTouched=!1,a.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(a.scale=Math.max(Math.min(a.scale,i.maxRatio),n.minRatio),i.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale(".concat(a.scale,")")),a.currentScale=a.scale,a.isScaling=!1,1===a.scale&&(i.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,n=t.gesture,a=t.image;n.$imageEl&&0!==n.$imageEl.length&&(a.isTouched||(P.android&&e.preventDefault(),a.isTouched=!0,a.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,a.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,n=t.zoom,a=n.gesture,i=n.image,r=n.velocity;if(a.$imageEl&&0!==a.$imageEl.length&&(t.allowClick=!1,i.isTouched&&a.$slideEl)){i.isMoved||(i.width=a.$imageEl[0].offsetWidth,i.height=a.$imageEl[0].offsetHeight,i.startX=m.getTranslate(a.$imageWrapEl[0],"x")||0,i.startY=m.getTranslate(a.$imageWrapEl[0],"y")||0,a.slideWidth=a.$slideEl[0].offsetWidth,a.slideHeight=a.$slideEl[0].offsetHeight,a.$imageWrapEl.transition(0),t.rtl&&(i.startX=-i.startX,i.startY=-i.startY));var s=i.width*n.scale,o=i.height*n.scale;if(!(s<a.slideWidth&&o<a.slideHeight)){if(i.minX=Math.min(a.slideWidth/2-s/2,0),i.maxX=-i.minX,i.minY=Math.min(a.slideHeight/2-o/2,0),i.maxY=-i.minY,i.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!i.isMoved&&!n.isScaling){if(t.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x))return void(i.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y))return void(i.isTouched=!1)}e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentX<i.minX&&(i.currentX=i.minX+1-Math.pow(i.minX-i.currentX+1,.8)),i.currentX>i.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8)),i.currentY<i.minY&&(i.currentY=i.minY+1-Math.pow(i.minY-i.currentY+1,.8)),i.currentY>i.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=i.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=i.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(i.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(i.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(i.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(i.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=i.touchesCurrent.x,r.prevPositionY=i.touchesCurrent.y,r.prevTime=Date.now(),a.$imageWrapEl.transform("translate3d(".concat(i.currentX,"px, ").concat(i.currentY,"px,0)"))}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,n=e.image,a=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;var i=300,r=300,s=a.x*i,o=n.currentX+s,l=a.y*r,c=n.currentY+l;0!==a.x&&(i=Math.abs((o-n.currentX)/a.x)),0!==a.y&&(r=Math.abs((c-n.currentY)/a.y));var u=Math.max(i,r);n.currentX=o,n.currentY=c;var d=n.width*e.scale,p=n.height*e.scale;n.minX=Math.min(t.slideWidth/2-d/2,0),n.maxX=-n.minX,n.minY=Math.min(t.slideHeight/2-p/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),t.$imageWrapEl.transition(u).transform("translate3d(".concat(n.currentX,"px, ").concat(n.currentY,"px,0)"))}},onTransitionEnd:function(){var e=this,t=e.zoom,n=t.gesture;n.$slideEl&&e.previousIndex!==e.activeIndex&&(n.$imageEl.transform("translate3d(0,0,0) scale(1)"),n.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,n.$slideEl=void 0,n.$imageEl=void 0,n.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,n,a,i,r,s,o,l,u,d,p,f,h,v,m,g,b=this,w=b.zoom,y=b.params.zoom,E=w.gesture,x=w.image;(E.$slideEl||(E.$slideEl=b.clickedSlide?(0,c.$)(b.clickedSlide):b.slides.eq(b.activeIndex),E.$imageEl=E.$slideEl.find("img, svg, canvas"),E.$imageWrapEl=E.$imageEl.parent(".".concat(y.containerClass))),E.$imageEl&&0!==E.$imageEl.length)&&(E.$slideEl.addClass("".concat(y.zoomedSlideClass)),void 0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,n="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,n=x.touchesStart.y),w.scale=E.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,w.currentScale=E.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(m=E.$slideEl[0].offsetWidth,g=E.$slideEl[0].offsetHeight,a=E.$slideEl.offset().left+m/2-t,i=E.$slideEl.offset().top+g/2-n,o=E.$imageEl[0].offsetWidth,l=E.$imageEl[0].offsetHeight,u=o*w.scale,d=l*w.scale,h=-(p=Math.min(m/2-u/2,0)),v=-(f=Math.min(g/2-d/2,0)),(r=a*w.scale)<p&&(r=p),r>h&&(r=h),(s=i*w.scale)<f&&(s=f),s>v&&(s=v)):(r=0,s=0),E.$imageWrapEl.transition(300).transform("translate3d(".concat(r,"px, ").concat(s,"px,0)")),E.$imageEl.transition(300).transform("translate3d(0,0,0) scale(".concat(w.scale,")")))},out:function(){var e=this,t=e.zoom,n=e.params.zoom,a=t.gesture;a.$slideEl||(a.$slideEl=e.clickedSlide?(0,c.$)(e.clickedSlide):e.slides.eq(e.activeIndex),a.$imageEl=a.$slideEl.find("img, svg, canvas"),a.$imageWrapEl=a.$imageEl.parent(".".concat(n.containerClass))),a.$imageEl&&0!==a.$imageEl.length&&(t.scale=1,t.currentScale=1,a.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),a.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),a.$slideEl.removeClass("".concat(n.zoomedSlideClass)),a.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var n=!("touchstart"!==e.touchEvents.start||!g.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};g.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,n),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,n),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,n),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,".".concat(e.params.zoom.containerClass),t.onTouchMove)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var n=!("touchstart"!==e.touchEvents.start||!g.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};g.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,n),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,n),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,n),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,".".concat(e.params.zoom.containerClass),t.onTouchMove)}}},J={loadInSlide:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,a=n.params.lazy;if(void 0!==e&&0!==n.slides.length){var i=n.virtual&&n.params.virtual.enabled,r=i?n.$wrapperEl.children(".".concat(n.params.slideClass,'[data-swiper-slide-index="').concat(e,'"]')):n.slides.eq(e),s=r.find(".".concat(a.elementClass,":not(.").concat(a.loadedClass,"):not(.").concat(a.loadingClass,")"));!r.hasClass(a.elementClass)||r.hasClass(a.loadedClass)||r.hasClass(a.loadingClass)||(s=s.add(r[0])),0!==s.length&&s.each((function(e,i){var s=(0,c.$)(i);s.addClass(a.loadingClass);var o=s.attr("data-background"),l=s.attr("data-src"),u=s.attr("data-srcset"),d=s.attr("data-sizes");n.loadImage(s[0],l||o,u,d,!1,(function(){if(null!=n&&n&&(!n||n.params)&&!n.destroyed){if(o?(s.css("background-image",'url("'.concat(o,'")')),s.removeAttr("data-background")):(u&&(s.attr("srcset",u),s.removeAttr("data-srcset")),d&&(s.attr("sizes",d),s.removeAttr("data-sizes")),l&&(s.attr("src",l),s.removeAttr("data-src"))),s.addClass(a.loadedClass).removeClass(a.loadingClass),r.find(".".concat(a.preloaderClass)).remove(),n.params.loop&&t){var e=r.attr("data-swiper-slide-index");if(r.hasClass(n.params.slideDuplicateClass)){var i=n.$wrapperEl.children('[data-swiper-slide-index="'.concat(e,'"]:not(.').concat(n.params.slideDuplicateClass,")"));n.lazy.loadInSlide(i.index(),!1)}else{var c=n.$wrapperEl.children(".".concat(n.params.slideDuplicateClass,'[data-swiper-slide-index="').concat(e,'"]'));n.lazy.loadInSlide(c.index(),!1)}}n.emit("lazyImageReady",r[0],s[0])}})),n.emit("lazyImageLoad",r[0],s[0])}))}},load:function(){var e=this,t=e.$wrapperEl,n=e.params,a=e.slides,i=e.activeIndex,r=e.virtual&&n.virtual.enabled,s=n.lazy,o=n.slidesPerView;function l(e){if(r){if(t.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]')).length)return!0}else if(a[e])return!0;return!1}function u(e){return r?(0,c.$)(e).attr("data-swiper-slide-index"):(0,c.$)(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children(".".concat(n.slideVisibleClass)).each((function(t,n){var a=r?(0,c.$)(n).attr("data-swiper-slide-index"):(0,c.$)(n).index();e.lazy.loadInSlide(a)}));else if(o>1)for(var d=i;d<i+o;d+=1)l(d)&&e.lazy.loadInSlide(d);else e.lazy.loadInSlide(i);if(s.loadPrevNext)if(o>1||s.loadPrevNextAmount&&s.loadPrevNextAmount>1){for(var p=s.loadPrevNextAmount,f=o,h=Math.min(i+f+Math.max(p,f),a.length),v=Math.max(i-Math.max(f,p),0),m=i+o;m<h;m+=1)l(m)&&e.lazy.loadInSlide(m);for(var g=v;g<i;g+=1)l(g)&&e.lazy.loadInSlide(g)}else{var b=t.children(".".concat(n.slideNextClass));b.length>0&&e.lazy.loadInSlide(u(b));var w=t.children(".".concat(n.slidePrevClass));w.length>0&&e.lazy.loadInSlide(u(w))}}},ee={LinearSpline:function(e,t){var n,a,i,r,s,o=function(e,t){for(a=-1,n=e.length;n-a>1;)e[i=n+a>>1]<=t?a=i:n=i;return n};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(s=o(this.x,e),r=s-1,(e-this.x[r])*(this.y[s]-this.y[r])/(this.x[s]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new ee.LinearSpline(t.slidesGrid,e.slidesGrid):new ee.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var n,a,i=this,r=i.controller.control;function s(e){var t=i.rtlTranslate?-i.translate:i.translate;"slide"===i.params.controller.by&&(i.controller.getInterpolateFunction(e),a=-i.controller.spline.interpolate(-t)),a&&"container"!==i.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(i.maxTranslate()-i.minTranslate()),a=(t-i.minTranslate())*n+e.minTranslate()),i.params.controller.inverse&&(a=e.maxTranslate()-a),e.updateProgress(a),e.setTranslate(a,i),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o<r.length;o+=1)r[o]!==t&&r[o]instanceof N&&s(r[o]);else r instanceof N&&t!==r&&s(r)},setTransition:function(e,t){var n,a=this,i=a.controller.control;function r(t){t.setTransition(e,a),0!==e&&(t.transitionStart(),t.params.autoHeight&&m.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){i&&(t.params.loop&&"slide"===a.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(i))for(n=0;n<i.length;n+=1)i[n]!==t&&i[n]instanceof N&&r(i[n]);else i instanceof N&&t!==i&&r(i)}},te={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,n=t.params.a11y;if(13===e.keyCode){var a=(0,c.$)(e.target);t.navigation&&t.navigation.$nextEl&&a.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(n.lastSlideMessage):t.a11y.notify(n.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&a.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(n.firstSlideMessage):t.a11y.notify(n.prevSlideMessage)),t.pagination&&a.is(".".concat(t.params.pagination.bulletClass))&&a[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,n=t.$nextEl,a=t.$prevEl;a&&a.length>0&&(e.isBeginning?e.a11y.disableEl(a):e.a11y.enableEl(a)),n&&n.length>0&&(e.isEnd?e.a11y.disableEl(n):e.a11y.enableEl(n))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(n,a){var i=(0,c.$)(a);e.a11y.makeElFocusable(i),e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,t.paginationBulletMessage.replace(/{{index}}/,i.index()+1))}))},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,n,a=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,a.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),n&&(e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,a.prevSlideMessage),n.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown",".".concat(e.params.pagination.bulletClass),e.a11y.onEnterKey)},destroy:function(){var e,t,n=this;n.a11y.liveRegion&&n.a11y.liveRegion.length>0&&n.a11y.liveRegion.remove(),n.navigation&&n.navigation.$nextEl&&(e=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(t=n.navigation.$prevEl),e&&e.off("keydown",n.a11y.onEnterKey),t&&t.off("keydown",n.a11y.onEnterKey),n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.off("keydown",".".concat(n.params.pagination.bulletClass),n.a11y.onEnterKey)}},ne={init:function(){var e=this;if(e.params.history){if(!u.u.history||!u.u.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var t=e.history;t.initialized=!0,t.paths=ne.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||u.u.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||u.u.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=ne.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(){var e=u.u.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){var n=this;if(n.history.initialized&&n.params.history.enabled){var a=n.slides.eq(t),i=ne.slugify(a.attr("data-history"));u.u.location.pathname.includes(e)||(i="".concat(e,"/").concat(i));var r=u.u.history.state;r&&r.value===i||(n.params.history.replaceState?u.u.history.replaceState({value:i},null,i):u.u.history.pushState({value:i},null,i))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){var a=this;if(t)for(var i=0,r=a.slides.length;i<r;i+=1){var s=a.slides.eq(i);if(ne.slugify(s.attr("data-history"))===t&&!s.hasClass(a.params.slideDuplicateClass)){var o=s.index();a.slideTo(o,e,n)}}else a.slideTo(0,e,n)}},ae={onHashCange:function(){var e=this,t=u.t.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){var n=e.$wrapperEl.children(".".concat(e.params.slideClass,'[data-hash="').concat(t,'"]')).index();if(void 0===n)return;e.slideTo(n)}},setHash:function(){var e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&u.u.history&&u.u.history.replaceState)u.u.history.replaceState(null,null,"#".concat(e.slides.eq(e.activeIndex).attr("data-hash"))||0);else{var t=e.slides.eq(e.activeIndex),n=t.attr("data-hash")||t.attr("data-history");u.t.location.hash=n||""}},init:function(){var e=this;if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var t=u.t.location.hash.replace("#","");if(t)for(var n=0,a=e.slides.length;n<a;n+=1){var i=e.slides.eq(n);if((i.attr("data-hash")||i.attr("data-history"))===t&&!i.hasClass(e.params.slideDuplicateClass)){var r=i.index();e.slideTo(r,0,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&(0,c.$)(u.u).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&(0,c.$)(u.u).off("hashchange",this.hashNavigation.onHashCange)}},ie={run:function(){var e=this,t=e.slides.eq(e.activeIndex),n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=m.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),n)},start:function(){var e=this;return void 0===e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop:function(){var e=this;return!!e.autoplay.running&&(void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},re={setTranslate:function(){for(var e=this,t=e.slides,n=0;n<t.length;n+=1){var a=e.slides.eq(n),i=-a[0].swiperSlideOffset;e.params.virtualTranslate||(i-=e.translate);var r=0;e.isHorizontal()||(r=i,i=0);var s=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(a[0].progress),0):1+Math.min(Math.max(a[0].progress,-1),0);a.css({opacity:s}).transform("translate3d(".concat(i,"px, ").concat(r,"px, 0px)"))}},setTransition:function(e){var t=this,n=t.slides,a=t.$wrapperEl;if(n.transition(e),t.params.virtualTranslate&&0!==e){var i=!1;n.transitionEnd((function(){if(!i&&t&&!t.destroyed){i=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)a.trigger(e[n])}}))}}},se={setTranslate:function(){var e,t=this,n=t.$el,a=t.$wrapperEl,i=t.slides,r=t.width,s=t.height,o=t.rtlTranslate,l=t.size,u=t.params.cubeEffect,d=t.isHorizontal(),p=t.virtual&&t.params.virtual.enabled,f=0;u.shadow&&(d?(0===(e=a.find(".swiper-cube-shadow")).length&&(e=(0,c.$)('<div class="swiper-cube-shadow"></div>'),a.append(e)),e.css({height:"".concat(r,"px")})):0===(e=n.find(".swiper-cube-shadow")).length&&(e=(0,c.$)('<div class="swiper-cube-shadow"></div>'),n.append(e)));for(var h=0;h<i.length;h+=1){var v=i.eq(h),m=h;p&&(m=parseInt(v.attr("data-swiper-slide-index"),10));var g=90*m,w=Math.floor(g/360);o&&(g=-g,w=Math.floor(-g/360));var y=Math.max(Math.min(v[0].progress,1),-1),E=0,x=0,S=0;m%4==0?(E=4*-w*l,S=0):(m-1)%4==0?(E=0,S=4*-w*l):(m-2)%4==0?(E=l+4*w*l,S=l):(m-3)%4==0&&(E=-l,S=3*l+4*l*w),o&&(E=-E),d||(x=E,E=0);var T="rotateX(".concat(d?0:-g,"deg) rotateY(").concat(d?g:0,"deg) translate3d(").concat(E,"px, ").concat(x,"px, ").concat(S,"px)");if(y<=1&&y>-1&&(f=90*m+90*y,o&&(f=90*-m-90*y)),v.transform(T),u.slideShadows){var C=d?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),k=d?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===C.length&&(C=(0,c.$)('<div class="swiper-slide-shadow-'.concat(d?"left":"top",'"></div>')),v.append(C)),0===k.length&&(k=(0,c.$)('<div class="swiper-slide-shadow-'.concat(d?"right":"bottom",'"></div>')),v.append(k)),C.length&&(C[0].style.opacity=Math.max(-y,0)),k.length&&(k[0].style.opacity=Math.max(y,0))}}if(a.css({"-webkit-transform-origin":"50% 50% -".concat(l/2,"px"),"-moz-transform-origin":"50% 50% -".concat(l/2,"px"),"-ms-transform-origin":"50% 50% -".concat(l/2,"px"),"transform-origin":"50% 50% -".concat(l/2,"px")}),u.shadow)if(d)e.transform("translate3d(0px, ".concat(r/2+u.shadowOffset,"px, ").concat(-r/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(u.shadowScale,")"));else{var P=Math.abs(f)-90*Math.floor(Math.abs(f)/90),M=1.5-(Math.sin(2*P*Math.PI/360)/2+Math.cos(2*P*Math.PI/360)/2),I=u.shadowScale,z=u.shadowScale/M,$=u.shadowOffset;e.transform("scale3d(".concat(I,", 1, ").concat(z,") translate3d(0px, ").concat(s/2+$,"px, ").concat(-s/2/z,"px) rotateX(-90deg)"))}var O=b.isSafari||b.isUiWebView?-l/2:0;a.transform("translate3d(0px,0,".concat(O,"px) rotateX(").concat(t.isHorizontal()?0:f,"deg) rotateY(").concat(t.isHorizontal()?-f:0,"deg)"))},setTransition:function(e){var t=this,n=t.$el;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&n.find(".swiper-cube-shadow").transition(e)}},oe={setTranslate:function(){for(var e=this,t=e.slides,n=e.rtlTranslate,a=0;a<t.length;a+=1){var i=t.eq(a),r=i[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(i[0].progress,1),-1));var s=-180*r,o=0,l=-i[0].swiperSlideOffset,u=0;if(e.isHorizontal()?n&&(s=-s):(u=l,l=0,o=-s,s=0),i[0].style.zIndex=-Math.abs(Math.round(r))+t.length,e.params.flipEffect.slideShadows){var d=e.isHorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),p=e.isHorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===d.length&&(d=(0,c.$)('<div class="swiper-slide-shadow-'.concat(e.isHorizontal()?"left":"top",'"></div>')),i.append(d)),0===p.length&&(p=(0,c.$)('<div class="swiper-slide-shadow-'.concat(e.isHorizontal()?"right":"bottom",'"></div>')),i.append(p)),d.length&&(d[0].style.opacity=Math.max(-r,0)),p.length&&(p[0].style.opacity=Math.max(r,0))}i.transform("translate3d(".concat(l,"px, ").concat(u,"px, 0px) rotateX(").concat(o,"deg) rotateY(").concat(s,"deg)"))}},setTransition:function(e){var t=this,n=t.slides,a=t.activeIndex,i=t.$wrapperEl;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;n.eq(a).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)i.trigger(e[n])}}))}}},le={setTranslate:function(){for(var e=this,t=e.width,n=e.height,a=e.slides,i=e.$wrapperEl,r=e.slidesSizesGrid,s=e.params.coverflowEffect,o=e.isHorizontal(),l=e.translate,u=o?t/2-l:n/2-l,d=o?s.rotate:-s.rotate,p=s.depth,f=0,h=a.length;f<h;f+=1){var v=a.eq(f),m=r[f],b=(u-v[0].swiperSlideOffset-m/2)/m*s.modifier,w=o?d*b:0,y=o?0:d*b,E=-p*Math.abs(b),x=o?0:s.stretch*b,S=o?s.stretch*b:0;Math.abs(S)<.001&&(S=0),Math.abs(x)<.001&&(x=0),Math.abs(E)<.001&&(E=0),Math.abs(w)<.001&&(w=0),Math.abs(y)<.001&&(y=0);var T="translate3d(".concat(S,"px,").concat(x,"px,").concat(E,"px) rotateX(").concat(y,"deg) rotateY(").concat(w,"deg)");if(v.transform(T),v[0].style.zIndex=1-Math.abs(Math.round(b)),s.slideShadows){var C=o?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),k=o?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===C.length&&(C=(0,c.$)('<div class="swiper-slide-shadow-'.concat(o?"left":"top",'"></div>')),v.append(C)),0===k.length&&(k=(0,c.$)('<div class="swiper-slide-shadow-'.concat(o?"right":"bottom",'"></div>')),v.append(k)),C.length&&(C[0].style.opacity=b>0?b:0),k.length&&(k[0].style.opacity=-b>0?-b:0)}}(g.pointerEvents||g.prefixedPointerEvents)&&(i[0].style.perspectiveOrigin="".concat(u,"px 50%"))},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},ce={init:function(){var e=this,t=e.params.thumbs,n=e.constructor;t.swiper instanceof n?(e.thumbs.swiper=t.swiper,m.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),m.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):m.isObject(t.swiper)&&(e.thumbs.swiper=new n(m.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var n=t.clickedIndex,a=t.clickedSlide;if(!(a&&(0,c.$)(a).hasClass(e.params.thumbs.slideThumbActiveClass)||null==n)){var i;if(i=t.params.loop?parseInt((0,c.$)(t.clickedSlide).attr("data-swiper-slide-index"),10):n,e.params.loop){var r=e.activeIndex;e.slides.eq(r).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,r=e.activeIndex);var s=e.slides.eq(r).prevAll('[data-swiper-slide-index="'.concat(i,'"]')).eq(0).index(),o=e.slides.eq(r).nextAll('[data-swiper-slide-index="'.concat(i,'"]')).eq(0).index();i=void 0===s?o:void 0===o?s:o-r<r-s?o:s}e.slideTo(i)}}},update:function(e){var t=this,n=t.thumbs.swiper;if(n){var a="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView;if(t.realIndex!==n.realIndex){var i,r=n.activeIndex;if(n.params.loop){n.slides.eq(r).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,r=n.activeIndex);var s=n.slides.eq(r).prevAll('[data-swiper-slide-index="'.concat(t.realIndex,'"]')).eq(0).index(),o=n.slides.eq(r).nextAll('[data-swiper-slide-index="'.concat(t.realIndex,'"]')).eq(0).index();i=void 0===s?o:void 0===o?s:o-r==r-s?r:o-r<r-s?o:s}else i=t.realIndex;n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(i)<0&&(n.params.centeredSlides?i=i>r?i-Math.floor(a/2)+1:i+Math.floor(a/2)-1:i>r&&(i=i-a+1),n.slideTo(i,e?0:void 0))}var l=1,c=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(l=t.params.slidesPerView),n.slides.removeClass(c),n.params.loop||n.params.virtual)for(var u=0;u<l;u+=1)n.$wrapperEl.children('[data-swiper-slide-index="'.concat(t.realIndex+u,'"]')).addClass(c);else for(var d=0;d<l;d+=1)n.slides.eq(t.realIndex+d).addClass(c)}}},ue=[_,R,B,j,V,G,F,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;m.extend(e,{mousewheel:{enabled:!1,enable:Y.enable.bind(e),disable:Y.disable.bind(e),handle:Y.handle.bind(e),handleMouseEnter:Y.handleMouseEnter.bind(e),handleMouseLeave:Y.handleMouseLeave.bind(e),lastScrollTime:m.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;m.extend(e,{navigation:{init:q.init.bind(e),update:q.update.bind(e),destroy:q.destroy.bind(e),onNextClick:q.onNextClick.bind(e),onPrevClick:q.onPrevClick.bind(e)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,n=this,a=n.navigation,i=a.$nextEl,r=a.$prevEl;!n.params.navigation.hideOnClick||(0,c.$)(e.target).is(r)||(0,c.$)(e.target).is(i)||(i?t=i.hasClass(n.params.navigation.hiddenClass):r&&(t=r.hasClass(n.params.navigation.hiddenClass)),!0===t?n.emit("navigationShow",n):n.emit("navigationHide",n),i&&i.toggleClass(n.params.navigation.hiddenClass),r&&r.toggleClass(n.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var e=this;m.extend(e,{pagination:{init:W.init.bind(e),render:W.render.bind(e),update:W.update.bind(e),destroy:W.destroy.bind(e),dynamicBulletIndex:0}})},on:{init:function(){var e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(){var e=this;(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){var e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(){var e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){var t=this;t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!(0,c.$)(e.target).hasClass(t.params.pagination.bulletClass)&&(!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;m.extend(e,{scrollbar:{init:U.init.bind(e),destroy:U.destroy.bind(e),updateSize:U.updateSize.bind(e),setTranslate:U.setTranslate.bind(e),setTransition:U.setTransition.bind(e),enableDraggable:U.enableDraggable.bind(e),disableDraggable:U.disableDraggable.bind(e),setDragPosition:U.setDragPosition.bind(e),getPointerPosition:U.getPointerPosition.bind(e),onDragStart:U.onDragStart.bind(e),onDragMove:U.onDragMove.bind(e),onDragEnd:U.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){var e=this;m.extend(e,{parallax:{setTransform:K.setTransform.bind(e),setTranslate:K.setTranslate.bind(e),setTransition:K.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(n){t[n]=Q[n].bind(e)})),m.extend(e,{zoom:t});var n=1;Object.defineProperty(e.zoom,"scale",{get:function(){return n},set:function(t){if(n!==t){var a=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,i=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,a,i)}n=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){var t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd:function(){var e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var e=this;m.extend(e,{lazy:{initialImageLoaded:!1,load:J.load.bind(e),loadInSlide:J.loadInSlide.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(){var e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(){var e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){var e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;m.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:ee.getInterpolateFunction.bind(e),setTranslate:ee.setTranslate.bind(e),setTransition:ee.setTransition.bind(e)}})},on:{update:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;m.extend(e,{a11y:{liveRegion:(0,c.$)('<span class="'.concat(e.params.a11y.notificationClass,'" aria-live="assertive" aria-atomic="true"></span>'))}}),Object.keys(te).forEach((function(t){e.a11y[t]=te[t].bind(e)}))},on:{init:function(){var e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;m.extend(e,{history:{init:ne.init.bind(e),setHistory:ne.setHistory.bind(e),setHistoryPopState:ne.setHistoryPopState.bind(e),scrollToSlide:ne.scrollToSlide.bind(e),destroy:ne.destroy.bind(e)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){var e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;m.extend(e,{hashNavigation:{initialized:!1,init:ae.init.bind(e),destroy:ae.destroy.bind(e),setHash:ae.setHash.bind(e),onHashCange:ae.onHashCange.bind(e)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;m.extend(e,{autoplay:{running:!1,paused:!1,run:ie.run.bind(e),start:ie.start.bind(e),stop:ie.stop.bind(e),pause:ie.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){var n=this;n.autoplay.running&&(t||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(e):n.autoplay.stop())},sliderFirstMove:function(){var e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){var e=this;m.extend(e,{fadeEffect:{setTranslate:re.setTranslate.bind(e),setTransition:re.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("fade"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"fade"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var e=this;m.extend(e,{cubeEffect:{setTranslate:se.setTranslate.bind(e),setTransition:se.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"cube")),e.classNames.push("".concat(e.params.containerModifierClass,"3d"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){var e=this;m.extend(e,{flipEffect:{setTranslate:oe.setTranslate.bind(e),setTransition:oe.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("flip"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"flip")),e.classNames.push("".concat(e.params.containerModifierClass,"3d"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){var e=this;m.extend(e,{coverflowEffect:{setTranslate:le.setTranslate.bind(e),setTransition:le.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push("".concat(e.params.containerModifierClass,"coverflow")),e.classNames.push("".concat(e.params.containerModifierClass,"3d")),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){var e=this;m.extend(e,{thumbs:{swiper:null,init:ce.init.bind(e),update:ce.update.bind(e),onThumbClick:ce.onThumbClick.bind(e)}})},on:{beforeInit:function(){var e=this,t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];void 0===N.use&&(N.use=N.Class.use,N.installModule=N.Class.installModule),N.use(ue),t.Z=N},3804:function(e){"use strict";e.exports=window.lodash},402:function(e){"use strict";e.exports=window.wp.a11y},7606:function(e){"use strict";e.exports=window.wp.apiFetch},6399:function(e){"use strict";e.exports=window.wp.blockEditor},9314:function(e){"use strict";e.exports=window.wp.blocks},7997:function(e){"use strict";e.exports=window.wp.components},1417:function(e){"use strict";e.exports=window.wp.compose},5707:function(e){"use strict";e.exports=window.wp.data},7947:function(e){"use strict";e.exports=window.wp.date},3027:function(e){"use strict";e.exports=window.wp.element},7950:function(e){"use strict";e.exports=window.wp.escapeHtml},5799:function(e){"use strict";e.exports=window.wp.hooks},1424:function(e){"use strict";e.exports=window.wp.htmlEntities},3163:function(e){"use strict";e.exports=window.wp.i18n},791:function(e){"use strict";e.exports=window.wp.url}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={id:a,loaded:!1,exports:{}};return e[a](r,r.exports,n),r.loaded=!0,r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};!function(){"use strict";n.r(a);var e=n(9394),t=n(9314),i=n(5799),r=n(1136),s=n(9564);(0,i.addFilter)("blocks.transforms_from_name","set-transformed-block-name",(function(e){return"newspack-blocks/carousel"!==e?e:r.T})),(0,t.registerBlockType)(r.T,(0,e.Z)((0,e.Z)({},s.Xd),{},{category:"widgets"}))}(),window.EditingToolkit=a}();
newspack-blocks/dist/carousel-block-view.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-a11y', 'wp-dom-ready', 'wp-escape-html', 'wp-i18n', 'wp-polyfill'), 'version' => 'b3096a1c5e96f4f4989404f5a87935b3');
1
+ <?php return array('dependencies' => array('wp-a11y', 'wp-dom-ready', 'wp-escape-html', 'wp-i18n', 'wp-polyfill'), 'version' => '1bc2bd86e4a16593c490dbf8e2fda9b7');
newspack-blocks/dist/carousel-block-view.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";var e={989:function(e,t,a){function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}a.d(t,{Z:function(){return i}})},659:function(e,t,a){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}a.d(t,{Z:function(){return i}})},730:function(e,t,a){function i(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function n(e,t,a){return t&&i(e.prototype,t),a&&i(e,a),e}a.d(t,{Z:function(){return n}})},630:function(e,t,a){function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}a.d(t,{Z:function(){return i}})},663:function(e,t,a){a.d(t,{Z:function(){return n}});var i=a(938);function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,i.Z)(e,t)}},591:function(e,t,a){a.d(t,{Z:function(){return s}});var i=a(929),n=a(989);function s(e,t){return!t||"object"!==(0,i.Z)(t)&&"function"!=typeof t?(0,n.Z)(e):t}},938:function(e,t,a){function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}a.d(t,{Z:function(){return i}})},929:function(e,t,a){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}a.d(t,{Z:function(){return i}})},73:function(){},913:function(e,t,a){a.d(t,{u:function(){return n},t:function(){return i}});var i="undefined"==typeof document?{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[]}}},location:{hash:""}}:document,n="undefined"==typeof window?{document:i,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window},188:function(e,t,a){a.d(t,{Z:function(){return u}});var i=a(402),n=a(950),s=a(163),r=a(529),__=s.__,o="wp-block-newspack-blocks-carousel__autoplay-playing";function l(e,t){Array.prototype.forEach.call(e,t)}function d(e){e&&(e.setAttribute("aria-hidden","false"),l(e.querySelectorAll("a"),(function(e){return e.removeAttribute("tabindex")})))}function c(e){e&&(e.setAttribute("aria-hidden","true"),l(e.querySelectorAll("a"),(function(e){return e.setAttribute("tabindex","-1")})))}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=0<e.container.offsetWidth&&0<e.container.offsetHeight;if(!a)return!1;var u=new r.Z(e.container,{a11y:!1,autoplay:!!t.autoplay&&{delay:t.delay,disableOnInteraction:!1},effect:"slide",grabCursor:!0,init:!1,initialSlide:t.initialSlide||0,loop:!0,navigation:{nextEl:e.next,prevEl:e.prev},pagination:{bulletElement:"button",clickable:!0,el:e.pagination,type:"bullets",renderBullet:function(e,t){return'<button class="'.concat(t,'"><span>').concat((0,s.sprintf)(__("Slide %s","newspack-blocks"),e+1),"</span></button>")}},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,slidesPerView:t.slidesPerView,spaceBetween:16,touchStartPreventDefault:!1,breakpoints:{600:{slidesPerView:t.slidesPerView>1?2:1}},on:{init:function(){l(this.wrapperEl.querySelectorAll(".swiper-slide"),(function(e){return c(e)})),d(this.slides[this.activeIndex])},slideChange:function(){var e=this.slides[this.activeIndex];if(c(this.slides[this.previousIndex]),d(e),!this.autoplay.running){var t=e.querySelector("img"),a=!!t&&(null==t?void 0:t.alt),r=(0,s.sprintf)(__("Slide %s of %s","newspack-blocks"),this.realIndex+1,this.pagination.bullets.length);(0,i.speak)((0,n.escapeHTML)("".concat(e.innerText,",\n\t\t\t\t\t\t\t").concat(a?(0,s.sprintf)(__("Image: %s, ","newspack-blocks"),a):"","\n\t\t\t\t\t\t\t").concat(r)),"assertive")}}}});function p(){var e=t.aspectRatio;Array.from(this.slides).forEach((function(t){t.style.height="".concat(t.clientWidth*e,"px")}))}if(u.on("imagesReady",p),u.on("resize",p),t.autoplay){function h(){u.autoplay.stop(),e.play.focus()}function v(){u.autoplay.start(),e.pause.focus()}u.on("init",(function(){e.play.addEventListener("click",v),e.pause.addEventListener("click",h)})),u.on("autoplayStart",(function(){e.block.classList.add(o),(0,i.speak)(__("Playing","newspack-blocks"),"assertive")})),u.on("autoplayStop",(function(){e.block.classList.remove(o),(0,i.speak)(__("Paused","newspack-blocks"),"assertive")})),u.on("beforeDestroy",(function(){e.play.removeEventListener("click",v),e.pause.removeEventListener("click",h)}))}return u.init(),u}},855:function(e,t,a){var i=a(531),n=a.n(i),s=a(188);a(73);"undefined"!=typeof window&&n()((function(){Array.from(document.querySelectorAll(".wp-block-newspack-blocks-carousel")).forEach((function(e){var t=parseInt(e.dataset.slidesPerView),a=parseInt(e.dataset.slideCount);(0,s.Z)({block:e,container:e.querySelector(".swiper-container"),prev:e.querySelector(".swiper-button-prev"),next:e.querySelector(".swiper-button-next"),pagination:e.querySelector(".swiper-pagination-bullets"),pause:e.querySelector(".swiper-button-pause"),play:e.querySelector(".swiper-button-play")},{aspectRatio:parseFloat(e.dataset.aspectRatio),autoplay:!!parseInt(e.dataset.autoplay),delay:1e3*parseInt(e.dataset.autoplay_delay),slidesPerView:t<=a?t:a,spaceBetween:16})}))}))},534:function(e,t,a){a.d(t,{$:function(){return r},cn:function(){return l},IV:function(){return d},pv:function(){return c},Vj:function(){return u},Lj:function(){return p},uV:function(){return h},aT:function(){return v},vs:function(){return f},eR:function(){return m},on:function(){return g},S1:function(){return b},X$:function(){return w},ld:function(){return y},iO:function(){return x},Pb:function(){return E},cv:function(){return T},W2:function(){return S},iv:function(){return C},S6:function(){return M},dy:function(){return k},fL:function(){return P},is:function(){return $},Kz:function(){return z},eq:function(){return I},R3:function(){return L},Ce:function(){return D},lp:function(){return O},eG:function(){return A},mp:function(){return H},pJ:function(){return V},qm:function(){return B},wV:function(){return G},oq:function(){return N},sE:function(){return X},pI:function(){return Y},Od:function(){return R},IH:function(){return q}});var i=a(659),n=a(913),s=function e(t){(0,i.Z)(this,e);for(var a=0;a<t.length;a+=1)this[a]=t[a];return this.length=t.length,this};function r(e,t){var a=[],i=0;if(e&&!t&&e instanceof s)return e;if(e)if("string"==typeof e){var r,o,l=e.trim();if(l.indexOf("<")>=0&&l.indexOf(">")>=0){var d="div";for(0===l.indexOf("<li")&&(d="ul"),0===l.indexOf("<tr")&&(d="tbody"),0!==l.indexOf("<td")&&0!==l.indexOf("<th")||(d="tr"),0===l.indexOf("<tbody")&&(d="table"),0===l.indexOf("<option")&&(d="select"),(o=n.t.createElement(d)).innerHTML=l,i=0;i<o.childNodes.length;i+=1)a.push(o.childNodes[i])}else for(r=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||n.t).querySelectorAll(e.trim()):[n.t.getElementById(e.trim().split("#")[1])],i=0;i<r.length;i+=1)r[i]&&a.push(r[i])}else if(e.nodeType||e===n.u||e===n.t)a.push(e);else if(e.length>0&&e[0].nodeType)for(i=0;i<e.length;i+=1)a.push(e[i]);return new s(a)}function o(e){for(var t=[],a=0;a<e.length;a+=1)-1===t.indexOf(e[a])&&t.push(e[a]);return t}function l(e){if(void 0===e)return this;for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(t[a]);return this}function d(e){for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(t[a]);return this}function c(e){return!!this[0]&&this[0].classList.contains(e)}function u(e){for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(t[a]);return this}function p(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var a=0;a<this.length;a+=1)if(2===arguments.length)this[a].setAttribute(e,t);else for(var i in e)this[a][i]=e[i],this[a].setAttribute(i,e[i]);return this}function h(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function v(e,t){var a;if(void 0!==t){for(var i=0;i<this.length;i+=1)(a=this[i]).dom7ElementDataStorage||(a.dom7ElementDataStorage={}),a.dom7ElementDataStorage[e]=t;return this}if(a=this[0]){if(a.dom7ElementDataStorage&&e in a.dom7ElementDataStorage)return a.dom7ElementDataStorage[e];var n=a.getAttribute("data-".concat(e));return n||void 0}}function f(e){for(var t=0;t<this.length;t+=1){var a=this[t].style;a.webkitTransform=e,a.transform=e}return this}function m(e){"string"!=typeof e&&(e="".concat(e,"ms"));for(var t=0;t<this.length;t+=1){var a=this[t].style;a.webkitTransitionDuration=e,a.transitionDuration=e}return this}function g(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],n=t[1],s=t[2],o=t[3];function l(e){var t=e.target;if(t){var a=e.target.dom7EventData||[];if(a.indexOf(e)<0&&a.unshift(e),r(t).is(n))s.apply(t,a);else for(var i=r(t).parents(),o=0;o<i.length;o+=1)r(i[o]).is(n)&&s.apply(i[o],a)}}function d(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),s.apply(this,t)}"function"==typeof t[1]&&(i=t[0],s=t[1],o=t[2],n=void 0),o||(o=!1);for(var c,u=i.split(" "),p=0;p<this.length;p+=1){var h=this[p];if(n)for(c=0;c<u.length;c+=1){var v=u[c];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[v]||(h.dom7LiveListeners[v]=[]),h.dom7LiveListeners[v].push({listener:s,proxyListener:l}),h.addEventListener(v,l,o)}else for(c=0;c<u.length;c+=1){var f=u[c];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[f]||(h.dom7Listeners[f]=[]),h.dom7Listeners[f].push({listener:s,proxyListener:d}),h.addEventListener(f,d,o)}}return this}function b(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],n=t[1],s=t[2],r=t[3];"function"==typeof t[1]&&(i=t[0],s=t[1],r=t[2],n=void 0),r||(r=!1);for(var o=i.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],c=0;c<this.length;c+=1){var u=this[c],p=void 0;if(!n&&u.dom7Listeners?p=u.dom7Listeners[d]:n&&u.dom7LiveListeners&&(p=u.dom7LiveListeners[d]),p&&p.length)for(var h=p.length-1;h>=0;h-=1){var v=p[h];s&&v.listener===s||s&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===s?(u.removeEventListener(d,v.proxyListener,r),p.splice(h,1)):s||(u.removeEventListener(d,v.proxyListener,r),p.splice(h,1))}}return this}function w(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];for(var i=t[0].split(" "),s=t[1],r=0;r<i.length;r+=1)for(var o=i[r],l=0;l<this.length;l+=1){var d=this[l],c=void 0;try{c=new n.u.CustomEvent(o,{detail:s,bubbles:!0,cancelable:!0})}catch(u){(c=n.t.createEvent("Event")).initEvent(o,!0,!0),c.detail=s}d.dom7EventData=t.filter((function(e,t){return t>0})),d.dispatchEvent(c),d.dom7EventData=[],delete d.dom7EventData}return this}function y(e){var t,a=["webkitTransitionEnd","transitionend"],i=this;function n(s){if(s.target===this)for(e.call(this,s),t=0;t<a.length;t+=1)i.off(a[t],n)}if(e)for(t=0;t<a.length;t+=1)i.on(a[t],n);return this}function x(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function E(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function T(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),a=n.t.body,i=e.clientTop||a.clientTop||0,s=e.clientLeft||a.clientLeft||0,r=e===n.u?n.u.scrollY:e.scrollTop,o=e===n.u?n.u.scrollX:e.scrollLeft;return{top:t.top+r-i,left:t.left+o-s}}return null}function S(){return this[0]?n.u.getComputedStyle(this[0],null):{}}function C(e,t){var a;if(1===arguments.length){if("string"!=typeof e){for(a=0;a<this.length;a+=1)for(var i in e)this[a].style[i]=e[i];return this}if(this[0])return n.u.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this}return this}function M(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this}function k(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function P(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 $(e){var t,a,i=this[0];if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(t=r(e),a=0;a<t.length;a+=1)if(t[a]===i)return!0;return!1}if(e===n.t)return i===n.t;if(e===n.u)return i===n.u;if(e.nodeType||e instanceof s){for(t=e.nodeType?[e]:e,a=0;a<t.length;a+=1)if(t[a]===i)return!0;return!1}return!1}function z(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function I(e){if(void 0===e)return this;var t,a=this.length;return new s(e>a-1?[]:e<0?(t=a+e)<0?[]:[this[t]]:[this[e]])}function L(){for(var e,t=0;t<arguments.length;t+=1){e=t<0||arguments.length<=t?void 0:arguments[t];for(var a=0;a<this.length;a+=1)if("string"==typeof e){var i=n.t.createElement("div");for(i.innerHTML=e;i.firstChild;)this[a].appendChild(i.firstChild)}else if(e instanceof s)for(var r=0;r<e.length;r+=1)this[a].appendChild(e[r]);else this[a].appendChild(e)}return this}function D(e){var t,a;for(t=0;t<this.length;t+=1)if("string"==typeof e){var i=n.t.createElement("div");for(i.innerHTML=e,a=i.childNodes.length-1;a>=0;a-=1)this[t].insertBefore(i.childNodes[a],this[t].childNodes[0])}else if(e instanceof s)for(a=0;a<e.length;a+=1)this[t].insertBefore(e[a],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function O(e){return this.length>0?e?this[0].nextElementSibling&&r(this[0].nextElementSibling).is(e)?new s([this[0].nextElementSibling]):new s([]):this[0].nextElementSibling?new s([this[0].nextElementSibling]):new s([]):new s([])}function A(e){var t=[],a=this[0];if(!a)return new s([]);for(;a.nextElementSibling;){var i=a.nextElementSibling;e?r(i).is(e)&&t.push(i):t.push(i),a=i}return new s(t)}function H(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&r(t.previousElementSibling).is(e)?new s([t.previousElementSibling]):new s([]):t.previousElementSibling?new s([t.previousElementSibling]):new s([])}return new s([])}function V(e){var t=[],a=this[0];if(!a)return new s([]);for(;a.previousElementSibling;){var i=a.previousElementSibling;e?r(i).is(e)&&t.push(i):t.push(i),a=i}return new s(t)}function B(e){for(var t=[],a=0;a<this.length;a+=1)null!==this[a].parentNode&&(e?r(this[a].parentNode).is(e)&&t.push(this[a].parentNode):t.push(this[a].parentNode));return r(o(t))}function G(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].parentNode;i;)e?r(i).is(e)&&t.push(i):t.push(i),i=i.parentNode;return r(o(t))}function N(e){var t=this;return void 0===e?new s([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function X(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].querySelectorAll(e),n=0;n<i.length;n+=1)t.push(i[n]);return new s(t)}function Y(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].childNodes,n=0;n<i.length;n+=1)e?1===i[n].nodeType&&r(i[n]).is(e)&&t.push(i[n]):1===i[n].nodeType&&t.push(i[n]);return new s(o(t))}function R(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function q(){for(var e,t,a=this,i=arguments.length,n=new Array(i),s=0;s<i;s++)n[s]=arguments[s];for(e=0;e<n.length;e+=1){var o=r(n[e]);for(t=0;t<o.length;t+=1)a[a.length]=o[t],a.length+=1}return a}r.fn=s.prototype,r.Class=s,r.Dom7=s;"resize scroll".split(" ")},529:function(e,t,a){var i=a(989),n=a(663),s=a(591),r=a(630),o=a(659),l=a(730),d=a(534),c=a(913);function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,i=(0,r.Z)(e);if(t){var n=(0,r.Z)(this).constructor;a=Reflect.construct(i,arguments,n)}else a=i.apply(this,arguments);return(0,s.Z)(this,a)}}var p={addClass:d.cn,removeClass:d.IV,hasClass:d.pv,toggleClass:d.Vj,attr:d.Lj,removeAttr:d.uV,data:d.aT,transform:d.vs,transition:d.eR,on:d.on,off:d.S1,trigger:d.X$,transitionEnd:d.ld,outerWidth:d.iO,outerHeight:d.Pb,offset:d.cv,css:d.iv,each:d.S6,html:d.dy,text:d.fL,is:d.is,index:d.Kz,eq:d.eq,append:d.R3,prepend:d.Ce,next:d.lp,nextAll:d.eG,prev:d.mp,prevAll:d.pJ,parent:d.qm,parents:d.wV,closest:d.oq,find:d.sE,children:d.pI,remove:d.Od,add:d.IH,styles:d.W2};Object.keys(p).forEach((function(e){d.$.fn[e]=d.$.fn[e]||p[e]}));var h,v,f,m={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(a){}try{delete t[e]}catch(a){}}))},nextTick:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e){var t,a,i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",s=c.u.getComputedStyle(e,null);return c.u.WebKitCSSMatrix?((a=s.transform||s.webkitTransform).split(",").length>6&&(a=a.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),i=new c.u.WebKitCSSMatrix("none"===a?"":a)):t=(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===n&&(a=c.u.WebKitCSSMatrix?i.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===n&&(a=c.u.WebKitCSSMatrix?i.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),a||0},parseUrlQuery:function(e){var t,a,i,n,s={},r=e||c.u.location.href;if("string"==typeof r&&r.length)for(n=(a=(r=r.indexOf("?")>-1?r.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,t=0;t<n;t+=1)i=a[t].replace(/#\S+/g,"").split("="),s[decodeURIComponent(i[0])]=void 0===i[1]?void 0:decodeURIComponent(i[1])||"";return s},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=1;t<arguments.length;t+=1){var a=t<0||arguments.length<=t?void 0:arguments[t];if(null!=a)for(var i=Object.keys(Object(a)),n=0,s=i.length;n<s;n+=1){var r=i[n],o=Object.getOwnPropertyDescriptor(a,r);void 0!==o&&o.enumerable&&(m.isObject(e[r])&&m.isObject(a[r])?m.extend(e[r],a[r]):!m.isObject(e[r])&&m.isObject(a[r])?(e[r]={},m.extend(e[r],a[r])):e[r]=a[r])}}return e}},g=(v=c.t.createElement("div"),{touch:c.u.Modernizr&&!0===c.u.Modernizr.touch||!!(c.u.navigator.maxTouchPoints>0||"ontouchstart"in c.u||c.u.DocumentTouch&&c.t instanceof c.u.DocumentTouch),pointerEvents:!!(c.u.navigator.pointerEnabled||c.u.PointerEvent||"maxTouchPoints"in c.u.navigator&&c.u.navigator.maxTouchPoints>0),prefixedPointerEvents:!!c.u.navigator.msPointerEnabled,transition:(h=v.style,"transition"in h||"webkitTransition"in h||"MozTransition"in h),transforms3d:c.u.Modernizr&&!0===c.u.Modernizr.csstransforms3d||function(){var e=v.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=v.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),a=0;a<t.length;a+=1)if(t[a]in e)return!0;return!1}(),observer:"MutationObserver"in c.u||"WebkitMutationObserver"in c.u,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});c.u.addEventListener("testPassiveListener",null,t)}catch(a){}return e}(),gestures:"ongesturestart"in c.u}),b={isIE:!!c.u.navigator.userAgent.match(/Trident/g)||!!c.u.navigator.userAgent.match(/MSIE/g),isEdge:!!c.u.navigator.userAgent.match(/Edge/g),isSafari:(f=c.u.navigator.userAgent.toLowerCase(),f.indexOf("safari")>=0&&f.indexOf("chrome")<0&&f.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(c.u.navigator.userAgent)},w=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e);var a=this;a.params=t,a.eventsListeners={},a.params&&a.params.on&&Object.keys(a.params.on).forEach((function(e){a.on(e,a.params.on[e])}))}return(0,l.Z)(e,[{key:"on",value:function(e,t,a){var i=this;if("function"!=typeof t)return i;var n=a?"unshift":"push";return e.split(" ").forEach((function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][n](t)})),i}},{key:"once",value:function(e,t,a){var i=this;if("function"!=typeof t)return i;function n(){for(var a=arguments.length,s=new Array(a),r=0;r<a;r++)s[r]=arguments[r];t.apply(i,s),i.off(e,n),n.f7proxy&&delete n.f7proxy}return n.f7proxy=t,i.on(e,n,a)}},{key:"off",value:function(e,t){var a=this;return a.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?a.eventsListeners[e]=[]:a.eventsListeners[e]&&a.eventsListeners[e].length&&a.eventsListeners[e].forEach((function(i,n){(i===t||i.f7proxy&&i.f7proxy===t)&&a.eventsListeners[e].splice(n,1)}))})),a):a}},{key:"emit",value:function(){var e,t,a,i=this;if(!i.eventsListeners)return i;for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];"string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],t=s.slice(1,s.length),a=i):(e=s[0].events,t=s[0].data,a=s[0].context||i);var o=Array.isArray(e)?e:e.split(" ");return o.forEach((function(e){if(i.eventsListeners&&i.eventsListeners[e]){var n=[];i.eventsListeners[e].forEach((function(e){n.push(e)})),n.forEach((function(e){e.apply(a,t)}))}})),i}},{key:"useModulesParams",value:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(a){var i=t.modules[a];i.params&&m.extend(e,i.params)}))}},{key:"useModules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this;t.modules&&Object.keys(t.modules).forEach((function(a){var i=t.modules[a],n=e[a]||{};i.instance&&Object.keys(i.instance).forEach((function(e){var a=i.instance[e];t[e]="function"==typeof a?a.bind(t):a})),i.on&&t.on&&Object.keys(i.on).forEach((function(e){t.on(e,i.on[e])})),i.create&&i.create.bind(t)(n)}))}}],[{key:"components",set:function(e){this.use&&this.use(e)}},{key:"installModule",value:function(e){var t=this;t.prototype.modules||(t.prototype.modules={});var a=e.name||"".concat(Object.keys(t.prototype.modules).length,"_").concat(m.now());if(t.prototype.modules[a]=e,e.proto&&Object.keys(e.proto).forEach((function(a){t.prototype[a]=e.proto[a]})),e.static&&Object.keys(e.static).forEach((function(a){t[a]=e.static[a]})),e.install){for(var i=arguments.length,n=new Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];e.install.apply(t,n)}return t}},{key:"use",value:function(e){var t=this;if(Array.isArray(e))return e.forEach((function(e){return t.installModule(e)})),t;for(var a=arguments.length,i=new Array(a>1?a-1:0),n=1;n<a;n++)i[n-1]=arguments[n];return t.installModule.apply(t,[e].concat(i))}}]),e}();var y={updateSize:function(){var e,t,a=this,i=a.$el;e=void 0!==a.params.width?a.params.width:i[0].clientWidth,t=void 0!==a.params.height?a.params.height:i[0].clientHeight,0===e&&a.isHorizontal()||0===t&&a.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),m.extend(a,{width:e,height:t,size:a.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=e.params,a=e.$wrapperEl,i=e.size,n=e.rtlTranslate,s=e.wrongRTL,r=e.virtual&&t.virtual.enabled,o=r?e.virtual.slides.length:e.slides.length,l=a.children(".".concat(e.params.slideClass)),d=r?e.virtual.slides.length:l.length,u=[],p=[],h=[],v=t.slidesOffsetBefore;"function"==typeof v&&(v=t.slidesOffsetBefore.call(e));var f=t.slidesOffsetAfter;"function"==typeof f&&(f=t.slidesOffsetAfter.call(e));var w=e.snapGrid.length,y=e.snapGrid.length,x=t.spaceBetween,E=-v,T=0,S=0;if(void 0!==i){var C,M;"string"==typeof x&&x.indexOf("%")>=0&&(x=parseFloat(x.replace("%",""))/100*i),e.virtualSize=-x,n?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(C=Math.floor(d/t.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(C=Math.max(C,t.slidesPerView*t.slidesPerColumn)));for(var k,P=t.slidesPerColumn,$=C/P,z=Math.floor(d/t.slidesPerColumn),I=0;I<d;I+=1){M=0;var L=l.eq(I);if(t.slidesPerColumn>1){var D=void 0,O=void 0,A=void 0;if("column"===t.slidesPerColumnFill||"row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){if("column"===t.slidesPerColumnFill)A=I-(O=Math.floor(I/P))*P,(O>z||O===z&&A===P-1)&&(A+=1)>=P&&(A=0,O+=1);else{var H=Math.floor(I/t.slidesPerGroup);O=I-(A=Math.floor(I/t.slidesPerView)-H*t.slidesPerColumn)*t.slidesPerView-H*t.slidesPerView}D=O+A*C/P,L.css({"-webkit-box-ordinal-group":D,"-moz-box-ordinal-group":D,"-ms-flex-order":D,"-webkit-order":D,order:D})}else O=I-(A=Math.floor(I/$))*$;L.css("margin-".concat(e.isHorizontal()?"top":"left"),0!==A&&t.spaceBetween&&"".concat(t.spaceBetween,"px")).attr("data-swiper-column",O).attr("data-swiper-row",A)}if("none"!==L.css("display")){if("auto"===t.slidesPerView){var V=c.u.getComputedStyle(L[0],null),B=L[0].style.transform,G=L[0].style.webkitTransform;if(B&&(L[0].style.transform="none"),G&&(L[0].style.webkitTransform="none"),t.roundLengths)M=e.isHorizontal()?L.outerWidth(!0):L.outerHeight(!0);else if(e.isHorizontal()){var N=parseFloat(V.getPropertyValue("width")),X=parseFloat(V.getPropertyValue("padding-left")),Y=parseFloat(V.getPropertyValue("padding-right")),R=parseFloat(V.getPropertyValue("margin-left")),q=parseFloat(V.getPropertyValue("margin-right")),F=V.getPropertyValue("box-sizing");M=F&&"border-box"===F&&!b.isIE?N+R+q:N+X+Y+R+q}else{var W=parseFloat(V.getPropertyValue("height")),j=parseFloat(V.getPropertyValue("padding-top")),Z=parseFloat(V.getPropertyValue("padding-bottom")),_=parseFloat(V.getPropertyValue("margin-top")),K=parseFloat(V.getPropertyValue("margin-bottom")),U=V.getPropertyValue("box-sizing");M=U&&"border-box"===U&&!b.isIE?W+_+K:W+j+Z+_+K}B&&(L[0].style.transform=B),G&&(L[0].style.webkitTransform=G),t.roundLengths&&(M=Math.floor(M))}else M=(i-(t.slidesPerView-1)*x)/t.slidesPerView,t.roundLengths&&(M=Math.floor(M)),l[I]&&(e.isHorizontal()?l[I].style.width="".concat(M,"px"):l[I].style.height="".concat(M,"px"));l[I]&&(l[I].swiperSlideSize=M),h.push(M),t.centeredSlides?(E=E+M/2+T/2+x,0===T&&0!==I&&(E=E-i/2-x),0===I&&(E=E-i/2-x),Math.abs(E)<.001&&(E=0),t.roundLengths&&(E=Math.floor(E)),S%t.slidesPerGroup==0&&u.push(E),p.push(E)):(t.roundLengths&&(E=Math.floor(E)),S%t.slidesPerGroup==0&&u.push(E),p.push(E),E=E+M+x),e.virtualSize+=M+x,T=M,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+f,n&&s&&("slide"===t.effect||"coverflow"===t.effect)&&a.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}),g.flexbox&&!t.setWrapperSize||(e.isHorizontal()?a.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}):a.css({height:"".concat(e.virtualSize+t.spaceBetween,"px")})),t.slidesPerColumn>1&&(e.virtualSize=(M+t.spaceBetween)*C,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?a.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}):a.css({height:"".concat(e.virtualSize+t.spaceBetween,"px")}),t.centeredSlides)){k=[];for(var J=0;J<u.length;J+=1){var Q=u[J];t.roundLengths&&(Q=Math.floor(Q)),u[J]<e.virtualSize+u[0]&&k.push(Q)}u=k}if(!t.centeredSlides){k=[];for(var ee=0;ee<u.length;ee+=1){var te=u[ee];t.roundLengths&&(te=Math.floor(te)),u[ee]<=e.virtualSize-i&&k.push(te)}u=k,Math.floor(e.virtualSize-i)-Math.floor(u[u.length-1])>1&&u.push(e.virtualSize-i)}if(0===u.length&&(u=[0]),0!==t.spaceBetween&&(e.isHorizontal()?n?l.css({marginLeft:"".concat(x,"px")}):l.css({marginRight:"".concat(x,"px")}):l.css({marginBottom:"".concat(x,"px")})),t.centerInsufficientSlides){var ae=0;if(h.forEach((function(e){ae+=e+(t.spaceBetween?t.spaceBetween:0)})),(ae-=t.spaceBetween)<i){var ie=(i-ae)/2;u.forEach((function(e,t){u[t]=e-ie})),p.forEach((function(e,t){p[t]=e+ie}))}}m.extend(e,{slides:l,snapGrid:u,slidesGrid:p,slidesSizesGrid:h}),d!==o&&e.emit("slidesLengthChange"),u.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,a=this,i=[],n=0;if("number"==typeof e?a.setTransition(e):!0===e&&a.setTransition(a.params.speed),"auto"!==a.params.slidesPerView&&a.params.slidesPerView>1)for(t=0;t<Math.ceil(a.params.slidesPerView);t+=1){var s=a.activeIndex+t;if(s>a.slides.length)break;i.push(a.slides.eq(s)[0])}else i.push(a.slides.eq(a.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var r=i[t].offsetHeight;n=r>n?r:n}n&&a.$wrapperEl.css("height","".concat(n,"px"))},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,a=t.params,i=t.slides,n=t.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();var s=-e;n&&(s=e),i.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var r=0;r<i.length;r+=1){var o=i[r],l=(s+(a.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+a.spaceBetween);if(a.watchSlidesVisibility){var c=-(s-o.swiperSlideOffset),u=c+t.slidesSizesGrid[r],p=c>=0&&c<t.size-1||u>1&&u<=t.size||c<=0&&u>=t.size;p&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(r),i.eq(r).addClass(a.slideVisibleClass))}o.progress=n?-l:l}t.visibleSlides=(0,d.$)(t.visibleSlides)}},updateProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,a=t.params,i=t.maxTranslate()-t.minTranslate(),n=t.progress,s=t.isBeginning,r=t.isEnd,o=s,l=r;0===i?(n=0,s=!0,r=!0):(s=(n=(e-t.minTranslate())/i)<=0,r=n>=1),m.extend(t,{progress:n,isBeginning:s,isEnd:r}),(a.watchSlidesProgress||a.watchSlidesVisibility)&&t.updateSlidesProgress(e),s&&!o&&t.emit("reachBeginning toEdge"),r&&!l&&t.emit("reachEnd toEdge"),(o&&!s||l&&!r)&&t.emit("fromEdge"),t.emit("progress",n)},updateSlidesClasses:function(){var e,t=this,a=t.slides,i=t.params,n=t.$wrapperEl,s=t.activeIndex,r=t.realIndex,o=t.virtual&&i.virtual.enabled;a.removeClass("".concat(i.slideActiveClass," ").concat(i.slideNextClass," ").concat(i.slidePrevClass," ").concat(i.slideDuplicateActiveClass," ").concat(i.slideDuplicateNextClass," ").concat(i.slideDuplicatePrevClass)),(e=o?t.$wrapperEl.find(".".concat(i.slideClass,'[data-swiper-slide-index="').concat(s,'"]')):a.eq(s)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?n.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(r,'"]')).addClass(i.slideDuplicateActiveClass):n.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(r,'"]')).addClass(i.slideDuplicateActiveClass));var l=e.nextAll(".".concat(i.slideClass)).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=a.eq(0)).addClass(i.slideNextClass);var d=e.prevAll(".".concat(i.slideClass)).eq(0).addClass(i.slidePrevClass);i.loop&&0===d.length&&(d=a.eq(-1)).addClass(i.slidePrevClass),i.loop&&(l.hasClass(i.slideDuplicateClass)?n.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass):n.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass),d.hasClass(i.slideDuplicateClass)?n.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(d.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass):n.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(d.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,a=this,i=a.rtlTranslate?a.translate:-a.translate,n=a.slidesGrid,s=a.snapGrid,r=a.params,o=a.activeIndex,l=a.realIndex,d=a.snapIndex,c=e;if(void 0===c){for(var u=0;u<n.length;u+=1)void 0!==n[u+1]?i>=n[u]&&i<n[u+1]-(n[u+1]-n[u])/2?c=u:i>=n[u]&&i<n[u+1]&&(c=u+1):i>=n[u]&&(c=u);r.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if((t=s.indexOf(i)>=0?s.indexOf(i):Math.floor(c/r.slidesPerGroup))>=s.length&&(t=s.length-1),c!==o){var p=parseInt(a.slides.eq(c).attr("data-swiper-slide-index")||c,10);m.extend(a,{snapIndex:t,realIndex:p,previousIndex:o,activeIndex:c}),a.emit("activeIndexChange"),a.emit("snapIndexChange"),l!==p&&a.emit("realIndexChange"),(a.initialized||a.runCallbacksOnInit)&&a.emit("slideChange")}else t!==d&&(a.snapIndex=t,a.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,a=t.params,i=(0,d.$)(e.target).closest(".".concat(a.slideClass))[0],n=!1;if(i)for(var s=0;s<t.slides.length;s+=1)t.slides[s]===i&&(n=!0);if(!i||!n)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt((0,d.$)(i).attr("data-swiper-slide-index"),10):t.clickedIndex=(0,d.$)(i).index(),a.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var x={getTranslate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",t=this,a=t.params,i=t.rtlTranslate,n=t.translate,s=t.$wrapperEl;if(a.virtualTranslate)return i?-n:n;var r=m.getTranslate(s[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var a=this,i=a.rtlTranslate,n=a.params,s=a.$wrapperEl,r=a.progress,o=0,l=0;a.isHorizontal()?o=i?-e:e:l=e,n.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),n.virtualTranslate||(g.transforms3d?s.transform("translate3d(".concat(o,"px, ").concat(l,"px, ").concat(0,"px)")):s.transform("translate(".concat(o,"px, ").concat(l,"px)"))),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?o:l;var d=a.maxTranslate()-a.minTranslate();(0===d?0:(e-a.minTranslate())/d)!==r&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}};var E={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,a=this,i=a.activeIndex,n=a.params,s=a.previousIndex;n.autoHeight&&a.updateAutoHeight();var r=t;if(r||(r=i>s?"next":i<s?"prev":"reset"),a.emit("transitionStart"),e&&i!==s){if("reset"===r)return void a.emit("slideResetTransitionStart");a.emit("slideChangeTransitionStart"),"next"===r?a.emit("slideNextTransitionStart"):a.emit("slidePrevTransitionStart")}},transitionEnd:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,a=this,i=a.activeIndex,n=a.previousIndex;a.animating=!1,a.setTransition(0);var s=t;if(s||(s=i>n?"next":i<n?"prev":"reset"),a.emit("transitionEnd"),e&&i!==n){if("reset"===s)return void a.emit("slideResetTransitionEnd");a.emit("slideChangeTransitionEnd"),"next"===s?a.emit("slideNextTransitionEnd"):a.emit("slidePrevTransitionEnd")}}};var T={slideTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,n=this,s=e;s<0&&(s=0);var r=n.params,o=n.snapGrid,l=n.slidesGrid,d=n.previousIndex,c=n.activeIndex,u=n.rtlTranslate;if(n.animating&&r.preventInteractionOnTransition)return!1;var p=Math.floor(s/r.slidesPerGroup);p>=o.length&&(p=o.length-1),(c||r.initialSlide||0)===(d||0)&&a&&n.emit("beforeSlideChangeStart");var h,v=-o[p];if(n.updateProgress(v),r.normalizeSlideIndex)for(var f=0;f<l.length;f+=1)-Math.floor(100*v)>=Math.floor(100*l[f])&&(s=f);if(n.initialized&&s!==c){if(!n.allowSlideNext&&v<n.translate&&v<n.minTranslate())return!1;if(!n.allowSlidePrev&&v>n.translate&&v>n.maxTranslate()&&(c||0)!==s)return!1}return h=s>c?"next":s<c?"prev":"reset",u&&-v===n.translate||!u&&v===n.translate?(n.updateActiveIndex(s),r.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),"slide"!==r.effect&&n.setTranslate(v),"reset"!==h&&(n.transitionStart(a,h),n.transitionEnd(a,h)),!1):(0!==t&&g.transition?(n.setTransition(t),n.setTranslate(v),n.updateActiveIndex(s),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(a,h),n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(a,h))}),n.$wrapperEl[0].addEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd))):(n.setTransition(0),n.setTranslate(v),n.updateActiveIndex(s),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(a,h),n.transitionEnd(a,h)),!0)},slideToLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,n=this,s=e;return n.params.loop&&(s+=n.loopedSlides),n.slideTo(s,t,a,i)},slideNext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this,n=i.params,s=i.animating;return n.loop?!s&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,i.slideTo(i.activeIndex+n.slidesPerGroup,e,t,a)):i.slideTo(i.activeIndex+n.slidesPerGroup,e,t,a)},slidePrev:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this,n=i.params,s=i.animating,r=i.snapGrid,o=i.slidesGrid,l=i.rtlTranslate;if(n.loop){if(s)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}var d=l?i.translate:-i.translate;function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u,p=c(d),h=r.map((function(e){return c(e)})),v=(o.map((function(e){return c(e)})),r[h.indexOf(p)],r[h.indexOf(p)-1]);return void 0!==v&&(u=o.indexOf(v))<0&&(u=i.activeIndex-1),i.slideTo(u,e,t,a)},slideReset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this;return i.slideTo(i.activeIndex,e,t,a)},slideToClosest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this,n=i.activeIndex,s=Math.floor(n/i.params.slidesPerGroup);if(s<i.snapGrid.length-1){var r=i.rtlTranslate?i.translate:-i.translate,o=i.snapGrid[s],l=i.snapGrid[s+1];r-o>(l-o)/2&&(n=i.params.slidesPerGroup)}return i.slideTo(n,e,t,a)},slideToClickedSlide:function(){var e,t=this,a=t.params,i=t.$wrapperEl,n="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,s=t.clickedIndex;if(a.loop){if(t.animating)return;e=parseInt((0,d.$)(t.clickedSlide).attr("data-swiper-slide-index"),10),a.centeredSlides?s<t.loopedSlides-n/2||s>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),s=i.children(".".concat(a.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(a.slideDuplicateClass,")")).eq(0).index(),m.nextTick((function(){t.slideTo(s)}))):t.slideTo(s):s>t.slides.length-n?(t.loopFix(),s=i.children(".".concat(a.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(a.slideDuplicateClass,")")).eq(0).index(),m.nextTick((function(){t.slideTo(s)}))):t.slideTo(s)}else t.slideTo(s)}};var S={loopCreate:function(){var e=this,t=e.params,a=e.$wrapperEl;a.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass)).remove();var i=a.children(".".concat(t.slideClass));if(t.loopFillGroupWithBlank){var n=t.slidesPerGroup-i.length%t.slidesPerGroup;if(n!==t.slidesPerGroup){for(var s=0;s<n;s+=1){var r=(0,d.$)(c.t.createElement("div")).addClass("".concat(t.slideClass," ").concat(t.slideBlankClass));a.append(r)}i=a.children(".".concat(t.slideClass))}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=i.length),e.loopedSlides=parseInt(t.loopedSlides||t.slidesPerView,10),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>i.length&&(e.loopedSlides=i.length);var o=[],l=[];i.each((function(t,a){var n=(0,d.$)(a);t<e.loopedSlides&&l.push(a),t<i.length&&t>=i.length-e.loopedSlides&&o.push(a),n.attr("data-swiper-slide-index",t)}));for(var u=0;u<l.length;u+=1)a.append((0,d.$)(l[u].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var p=o.length-1;p>=0;p-=1)a.prepend((0,d.$)(o[p].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){var e,t=this,a=t.params,i=t.activeIndex,n=t.slides,s=t.loopedSlides,r=t.allowSlidePrev,o=t.allowSlideNext,l=t.snapGrid,d=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var c=-l[i]-t.getTranslate();if(i<s)e=n.length-3*s+i,e+=s,t.slideTo(e,0,!1,!0)&&0!==c&&t.setTranslate((d?-t.translate:t.translate)-c);else if("auto"===a.slidesPerView&&i>=2*s||i>=n.length-s){e=-n.length+i+s,e+=s,t.slideTo(e,0,!1,!0)&&0!==c&&t.setTranslate((d?-t.translate:t.translate)-c)}t.allowSlidePrev=r,t.allowSlideNext=o},loopDestroy:function(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides;t.children(".".concat(a.slideClass,".").concat(a.slideDuplicateClass,",.").concat(a.slideClass,".").concat(a.slideBlankClass)).remove(),i.removeAttr("data-swiper-slide-index")}};var C={setGrabCursor:function(e){var t=this;if(!(g.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked)){var a=t.el;a.style.cursor="move",a.style.cursor=e?"-webkit-grabbing":"-webkit-grab",a.style.cursor=e?"-moz-grabbin":"-moz-grab",a.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;g.touch||e.params.watchOverflow&&e.isLocked||(e.el.style.cursor="")}};var M={appendSlide:function(e){var t=this,a=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&a.append(e[n]);else a.append(e);i.loop&&t.loopCreate(),i.observer&&g.observer||t.update()},prependSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,n=t.activeIndex;a.loop&&t.loopDestroy();var s=n+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);s=n+e.length}else i.prepend(e);a.loop&&t.loopCreate(),a.observer&&g.observer||t.update(),t.slideTo(s,0,!1)},addSlide:function(e,t){var a=this,i=a.$wrapperEl,n=a.params,s=a.activeIndex;n.loop&&(s-=a.loopedSlides,a.loopDestroy(),a.slides=i.children(".".concat(n.slideClass)));var r=a.slides.length;if(e<=0)a.prependSlide(t);else if(e>=r)a.appendSlide(t);else{for(var o=s>e?s+1:s,l=[],d=r-1;d>=e;d-=1){var c=a.slides.eq(d);c.remove(),l.unshift(c)}if("object"==typeof t&&"length"in t){for(var u=0;u<t.length;u+=1)t[u]&&i.append(t[u]);o=s>e?s+t.length:s}else i.append(t);for(var p=0;p<l.length;p+=1)i.append(l[p]);n.loop&&a.loopCreate(),n.observer&&g.observer||a.update(),n.loop?a.slideTo(o+a.loopedSlides,0,!1):a.slideTo(o,0,!1)}},removeSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,n=t.activeIndex;a.loop&&(n-=t.loopedSlides,t.loopDestroy(),t.slides=i.children(".".concat(a.slideClass)));var s,r=n;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)s=e[o],t.slides[s]&&t.slides.eq(s).remove(),s<r&&(r-=1);r=Math.max(r,0)}else s=e,t.slides[s]&&t.slides.eq(s).remove(),s<r&&(r-=1),r=Math.max(r,0);a.loop&&t.loopCreate(),a.observer&&g.observer||t.update(),a.loop?t.slideTo(r+t.loopedSlides,0,!1):t.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},k=function(){var e=c.u.navigator.userAgent,t={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:c.u.cordova||c.u.phonegap,phonegap:c.u.cordova||c.u.phonegap},a=e.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),i=e.match(/(Android);?[\s\/]+([\d.]+)?/),n=e.match(/(iPad).*OS\s([\d_]+)/),s=e.match(/(iPod)(.*OS\s([\d_]+))?/),r=!n&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(a&&(t.os="windows",t.osVersion=a[2],t.windows=!0),i&&!a&&(t.os="android",t.osVersion=i[2],t.android=!0,t.androidChrome=e.toLowerCase().indexOf("chrome")>=0),(n||r||s)&&(t.os="ios",t.ios=!0),r&&!s&&(t.osVersion=r[2].replace(/_/g,"."),t.iphone=!0),n&&(t.osVersion=n[2].replace(/_/g,"."),t.ipad=!0),s&&(t.osVersion=s[3]?s[3].replace(/_/g,"."):null,t.iphone=!0),t.ios&&t.osVersion&&e.indexOf("Version/")>=0&&"10"===t.osVersion.split(".")[0]&&(t.osVersion=e.toLowerCase().split("version/")[1].split(" ")[0]),t.desktop=!(t.os||t.android||t.webView),t.webView=(r||n||s)&&e.match(/.*AppleWebKit(?!.*Safari)/i),t.os&&"ios"===t.os){var o=t.osVersion.split("."),l=c.t.querySelector('meta[name="viewport"]');t.minimalUi=!t.webView&&(s||r)&&(1*o[0]==7?1*o[1]>=1:1*o[0]>7)&&l&&l.getAttribute("content").indexOf("minimal-ui")>=0}return t.pixelRatio=c.u.devicePixelRatio||1,t}();function P(e){var t=this,a=t.touchEventsData,i=t.params,n=t.touches;if(!t.animating||!i.preventInteractionOnTransition){var s=e;if(s.originalEvent&&(s=s.originalEvent),a.isTouchEvent="touchstart"===s.type,(a.isTouchEvent||!("which"in s)||3!==s.which)&&!(!a.isTouchEvent&&"button"in s&&s.button>0||a.isTouched&&a.isMoved))if(i.noSwiping&&(0,d.$)(s.target).closest(i.noSwipingSelector?i.noSwipingSelector:".".concat(i.noSwipingClass))[0])t.allowClick=!0;else if(!i.swipeHandler||(0,d.$)(s).closest(i.swipeHandler)[0]){n.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,n.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var r=n.currentX,o=n.currentY,l=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,u=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(!l||!(r<=u||r>=c.u.screen.width-u)){if(m.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=r,n.startY=o,a.touchStartTime=m.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==s.type){var p=!0;(0,d.$)(s.target).is(a.formElements)&&(p=!1),c.t.activeElement&&(0,d.$)(c.t.activeElement).is(a.formElements)&&c.t.activeElement!==s.target&&c.t.activeElement.blur();var h=p&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||h)&&s.preventDefault()}t.emit("touchStart",s)}}}}function $(e){var t=this,a=t.touchEventsData,i=t.params,n=t.touches,s=t.rtlTranslate,r=e;if(r.originalEvent&&(r=r.originalEvent),a.isTouched){if(!a.isTouchEvent||"mousemove"!==r.type){var o="touchmove"===r.type?r.targetTouches[0].pageX:r.pageX,l="touchmove"===r.type?r.targetTouches[0].pageY:r.pageY;if(r.preventedByNestedSwiper)return n.startX=o,void(n.startY=l);if(!t.allowTouchMove)return t.allowClick=!1,void(a.isTouched&&(m.extend(n,{startX:o,startY:l,currentX:o,currentY:l}),a.touchStartTime=m.now()));if(a.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(t.isVertical()){if(l<n.startY&&t.translate<=t.maxTranslate()||l>n.startY&&t.translate>=t.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(o<n.startX&&t.translate<=t.maxTranslate()||o>n.startX&&t.translate>=t.minTranslate())return;if(a.isTouchEvent&&c.t.activeElement&&r.target===c.t.activeElement&&(0,d.$)(r.target).is(a.formElements))return a.isMoved=!0,void(t.allowClick=!1);if(a.allowTouchCallbacks&&t.emit("touchMove",r),!(r.targetTouches&&r.targetTouches.length>1)){n.currentX=o,n.currentY=l;var u=n.currentX-n.startX,p=n.currentY-n.startY;if(!(t.params.threshold&&Math.sqrt(Math.pow(u,2)+Math.pow(p,2))<t.params.threshold)){var h;if(void 0===a.isScrolling)t.isHorizontal()&&n.currentY===n.startY||t.isVertical()&&n.currentX===n.startX?a.isScrolling=!1:u*u+p*p>=25&&(h=180*Math.atan2(Math.abs(p),Math.abs(u))/Math.PI,a.isScrolling=t.isHorizontal()?h>i.touchAngle:90-h>i.touchAngle);if(a.isScrolling&&t.emit("touchMoveOpposite",r),void 0===a.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(a.startMoving=!0)),a.isScrolling)a.isTouched=!1;else if(a.startMoving){t.allowClick=!1,r.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&r.stopPropagation(),a.isMoved||(i.loop&&t.loopFix(),a.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!i.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",r)),t.emit("sliderMove",r),a.isMoved=!0;var v=t.isHorizontal()?u:p;n.diff=v,v*=i.touchRatio,s&&(v=-v),t.swipeDirection=v>0?"prev":"next",a.currentTranslate=v+a.startTranslate;var f=!0,g=i.resistanceRatio;if(i.touchReleaseOnEdges&&(g=0),v>0&&a.currentTranslate>t.minTranslate()?(f=!1,i.resistance&&(a.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+a.startTranslate+v,g))):v<0&&a.currentTranslate<t.maxTranslate()&&(f=!1,i.resistance&&(a.currentTranslate=t.maxTranslate()+1-Math.pow(t.maxTranslate()-a.startTranslate-v,g))),f&&(r.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),i.threshold>0){if(!(Math.abs(v)>i.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,a.currentTranslate=a.startTranslate,void(n.diff=t.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}i.followFinger&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&(0===a.velocities.length&&a.velocities.push({position:n[t.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:n[t.isHorizontal()?"currentX":"currentY"],time:m.now()})),t.updateProgress(a.currentTranslate),t.setTranslate(a.currentTranslate))}}}}}else a.startMoving&&a.isScrolling&&t.emit("touchMoveOpposite",r)}function z(e){var t=this,a=t.touchEventsData,i=t.params,n=t.touches,s=t.rtlTranslate,r=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",d),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&i.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);i.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,u=m.now(),p=u-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap",d),p<300&&u-a.lastClickTime>300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),a.clickTimeout=m.nextTick((function(){t&&!t.destroyed&&t.emit("click",d)}),300)),p<300&&u-a.lastClickTime<300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),t.emit("doubleTap",d))),a.lastClickTime=m.now(),m.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!a.isTouched||!a.isMoved||!t.swipeDirection||0===n.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,c=i.followFinger?s?t.translate:-t.translate:-a.currentTranslate,i.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(a.velocities.length>1){var h=a.velocities.pop(),v=a.velocities.pop(),f=h.position-v.position,g=h.time-v.time;t.velocity=f/g,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(g>150||m.now()-h.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var b=1e3*i.freeModeMomentumRatio,w=t.velocity*b,y=t.translate+w;s&&(y=-y);var x,E,T=!1,S=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(y<t.maxTranslate())i.freeModeMomentumBounce?(y+t.maxTranslate()<-S&&(y=t.maxTranslate()-S),x=t.maxTranslate(),T=!0,a.allowMomentumBounce=!0):y=t.maxTranslate(),i.loop&&i.centeredSlides&&(E=!0);else if(y>t.minTranslate())i.freeModeMomentumBounce?(y-t.minTranslate()>S&&(y=t.minTranslate()+S),x=t.minTranslate(),T=!0,a.allowMomentumBounce=!0):y=t.minTranslate(),i.loop&&i.centeredSlides&&(E=!0);else if(i.freeModeSticky){for(var C,M=0;M<l.length;M+=1)if(l[M]>-y){C=M;break}y=-(y=Math.abs(l[C]-y)<Math.abs(l[C-1]-y)||"next"===t.swipeDirection?l[C]:l[C-1])}if(E&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)b=s?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&T?(t.updateProgress(x),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,r.transitionEnd((function(){t&&!t.destroyed&&a.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),t.setTranslate(x),r.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(y),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,r.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();(!i.freeModeMomentum||p>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var k=0,P=t.slidesSizesGrid[0],$=0;$<o.length;$+=i.slidesPerGroup)void 0!==o[$+i.slidesPerGroup]?c>=o[$]&&c<o[$+i.slidesPerGroup]&&(k=$,P=o[$+i.slidesPerGroup]-o[$]):c>=o[$]&&(k=$,P=o[o.length-1]-o[o.length-2]);var z=(c-o[k])/P;if(p>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(z>=i.longSwipesRatio?t.slideTo(k+i.slidesPerGroup):t.slideTo(k)),"prev"===t.swipeDirection&&(z>1-i.longSwipesRatio?t.slideTo(k+i.slidesPerGroup):t.slideTo(k))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(k+i.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(k)}}}function I(){var e=this,t=e.params,a=e.el;if(!a||0!==a.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,n=e.allowSlidePrev,s=e.snapGrid;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var r=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=n,e.allowSlideNext=i,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}}function L(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}var D={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},O={update:y,translate:x,transition:E,slide:T,loop:S,grabCursor:C,manipulation:M,events:{attachEvents:function(){var e=this,t=e.params,a=e.touchEvents,i=e.el,n=e.wrapperEl;e.onTouchStart=P.bind(e),e.onTouchMove=$.bind(e),e.onTouchEnd=z.bind(e),e.onClick=L.bind(e);var s="container"===t.touchEventsTarget?i:n,r=!!t.nested;if(g.touch||!g.pointerEvents&&!g.prefixedPointerEvents){if(g.touch){var o=!("touchstart"!==a.start||!g.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};s.addEventListener(a.start,e.onTouchStart,o),s.addEventListener(a.move,e.onTouchMove,g.passiveListener?{passive:!1,capture:r}:r),s.addEventListener(a.end,e.onTouchEnd,o)}(t.simulateTouch&&!k.ios&&!k.android||t.simulateTouch&&!g.touch&&k.ios)&&(s.addEventListener("mousedown",e.onTouchStart,!1),c.t.addEventListener("mousemove",e.onTouchMove,r),c.t.addEventListener("mouseup",e.onTouchEnd,!1))}else s.addEventListener(a.start,e.onTouchStart,!1),c.t.addEventListener(a.move,e.onTouchMove,r),c.t.addEventListener(a.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&s.addEventListener("click",e.onClick,!0),e.on(k.ios||k.android?"resize orientationchange observerUpdate":"resize observerUpdate",I,!0)},detachEvents:function(){var e=this,t=e.params,a=e.touchEvents,i=e.el,n=e.wrapperEl,s="container"===t.touchEventsTarget?i:n,r=!!t.nested;if(g.touch||!g.pointerEvents&&!g.prefixedPointerEvents){if(g.touch){var o=!("onTouchStart"!==a.start||!g.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};s.removeEventListener(a.start,e.onTouchStart,o),s.removeEventListener(a.move,e.onTouchMove,r),s.removeEventListener(a.end,e.onTouchEnd,o)}(t.simulateTouch&&!k.ios&&!k.android||t.simulateTouch&&!g.touch&&k.ios)&&(s.removeEventListener("mousedown",e.onTouchStart,!1),c.t.removeEventListener("mousemove",e.onTouchMove,r),c.t.removeEventListener("mouseup",e.onTouchEnd,!1))}else s.removeEventListener(a.start,e.onTouchStart,!1),c.t.removeEventListener(a.move,e.onTouchMove,r),c.t.removeEventListener(a.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&s.removeEventListener("click",e.onClick,!0),e.off(k.ios||k.android?"resize orientationchange observerUpdate":"resize observerUpdate",I)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,a=e.initialized,i=e.loopedSlides,n=void 0===i?0:i,s=e.params,r=s.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var o=e.getBreakpoint(r);if(o&&e.currentBreakpoint!==o){var l=o in r?r[o]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=l[e];void 0!==t&&(l[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var d=l||e.originalParams,c=d.direction&&d.direction!==s.direction,u=s.loop&&(d.slidesPerView!==s.slidesPerView||c);c&&a&&e.changeDirection(),m.extend(e.params,d),m.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=o,u&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",d)}}},getBreakpoint:function(e){if(e){var t=!1,a=[];Object.keys(e).forEach((function(e){a.push(e)})),a.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var i=0;i<a.length;i+=1){var n=a[i];this.params.breakpointsInverse?n<=c.u.innerWidth&&(t=n):n>=c.u.innerWidth&&!t&&(t=n)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked;e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),t&&t!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}},classes:{addClasses:function(){var e=this,t=e.classNames,a=e.params,i=e.rtl,n=e.$el,s=[];s.push("initialized"),s.push(a.direction),a.freeMode&&s.push("free-mode"),g.flexbox||s.push("no-flexbox"),a.autoHeight&&s.push("autoheight"),i&&s.push("rtl"),a.slidesPerColumn>1&&s.push("multirow"),k.android&&s.push("android"),k.ios&&s.push("ios"),(b.isIE||b.isEdge)&&(g.pointerEvents||g.prefixedPointerEvents)&&s.push("wp8-".concat(a.direction)),s.forEach((function(e){t.push(a.containerModifierClass+e)})),n.addClass(t.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,a,i,n,s){var r;function o(){s&&s()}e.complete&&n?o():t?((r=new c.u.Image).onload=o,r.onerror=o,i&&(r.sizes=i),a&&(r.srcset=a),t&&(r.src=t)):o()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var a=0;a<e.imagesToLoad.length;a+=1){var i=e.imagesToLoad[a];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},A={},H=function(e){(0,n.Z)(a,e);var t=u(a);function a(){var e,n,r;(0,o.Z)(this,a);for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];1===c.length&&c[0].constructor&&c[0].constructor===Object?r=c[0]:(n=c[0],r=c[1]),r||(r={}),r=m.extend({},r),n&&!r.el&&(r.el=n),e=t.call(this,r),Object.keys(O).forEach((function(e){Object.keys(O[e]).forEach((function(t){a.prototype[t]||(a.prototype[t]=O[e][t])}))}));var p=(0,i.Z)(e);void 0===p.modules&&(p.modules={}),Object.keys(p.modules).forEach((function(e){var t=p.modules[e];if(t.params){var a=Object.keys(t.params)[0],i=t.params[a];if("object"!=typeof i||null===i)return;if(!(a in r)||!("enabled"in i))return;!0===r[a]&&(r[a]={enabled:!0}),"object"!=typeof r[a]||"enabled"in r[a]||(r[a].enabled=!0),r[a]||(r[a]={enabled:!1})}}));var h=m.extend({},D);p.useModulesParams(h),p.params=m.extend({},h,A,r),p.originalParams=m.extend({},p.params),p.passedParams=m.extend({},r),p.$=d.$;var v=(0,d.$)(p.params.el);if(!(n=v[0]))return(0,s.Z)(e,void 0);if(v.length>1){var f=[];return v.each((function(e,t){var i=m.extend({},r,{el:t});f.push(new a(i))})),(0,s.Z)(e,f)}n.swiper=p,v.data("swiper",p);var b,w,y=v.children(".".concat(p.params.wrapperClass));return m.extend(p,{$el:v,el:n,$wrapperEl:y,wrapperEl:y[0],classNames:[],slides:(0,d.$)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===p.params.direction},isVertical:function(){return"vertical"===p.params.direction},rtl:"rtl"===n.dir.toLowerCase()||"rtl"===v.css("direction"),rtlTranslate:"horizontal"===p.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===v.css("direction")),wrongRTL:"-webkit-box"===y.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:p.params.allowSlideNext,allowSlidePrev:p.params.allowSlidePrev,touchEvents:(b=["touchstart","touchmove","touchend"],w=["mousedown","mousemove","mouseup"],g.pointerEvents?w=["pointerdown","pointermove","pointerup"]:g.prefixedPointerEvents&&(w=["MSPointerDown","MSPointerMove","MSPointerUp"]),p.touchEventsTouch={start:b[0],move:b[1],end:b[2]},p.touchEventsDesktop={start:w[0],move:w[1],end:w[2]},g.touch||!p.params.simulateTouch?p.touchEventsTouch:p.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:m.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:p.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),p.useModules(),p.params.init&&p.init(),(0,s.Z)(e,p)}return(0,l.Z)(a,[{key:"slidesPerViewDynamic",value:function(){var e=this,t=e.params,a=e.slides,i=e.slidesGrid,n=e.size,s=e.activeIndex,r=1;if(t.centeredSlides){for(var o,l=a[s].swiperSlideSize,d=s+1;d<a.length;d+=1)a[d]&&!o&&(r+=1,(l+=a[d].swiperSlideSize)>n&&(o=!0));for(var c=s-1;c>=0;c-=1)a[c]&&!o&&(r+=1,(l+=a[c].swiperSlideSize)>n&&(o=!0))}else for(var u=s+1;u<a.length;u+=1)i[u]-i[s]<n&&(r+=1);return r}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,a=e.params;a.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||i(),a.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=e.rtlTranslate?-1*e.translate:e.translate,a=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this,i=a.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(a.$el.removeClass("".concat(a.params.containerModifierClass).concat(i," wp8-").concat(i)).addClass("".concat(a.params.containerModifierClass).concat(e)),(b.isIE||b.isEdge)&&(g.pointerEvents||g.prefixedPointerEvents)&&a.$el.addClass("".concat(a.params.containerModifierClass,"wp8-").concat(e)),a.params.direction=e,a.slides.each((function(t,a){"vertical"===e?a.style.width="":a.style.height=""})),a.emit("changeDirection"),t&&a.update()),a}},{key:"init",value:function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this,i=a.params,n=a.$el,s=a.$wrapperEl,r=a.slides;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),i.loop&&a.loopDestroy(),t&&(a.removeClasses(),n.removeAttr("style"),s.removeAttr("style"),r&&r.length&&r.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach((function(e){a.off(e)})),!1!==e&&(a.$el[0].swiper=null,a.$el.data("swiper",null),m.deleteProps(a)),a.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){m.extend(A,e)}},{key:"extendedDefaults",get:function(){return A}},{key:"defaults",get:function(){return D}},{key:"Class",get:function(){return w}},{key:"$",get:function(){return d.$}}]),a}(w),V={name:"device",proto:{device:k},static:{device:k}},B={name:"support",proto:{support:g},static:{support:g}},G={name:"browser",proto:{browser:b},static:{browser:b}},N={name:"resize",create:function(){var e=this;m.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){c.u.addEventListener("resize",this.resize.resizeHandler),c.u.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){c.u.removeEventListener("resize",this.resize.resizeHandler),c.u.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},X={func:c.u.MutationObserver||c.u.WebkitMutationObserver,attach:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this,i=X.func,n=new i((function(e){if(1!==e.length){var t=function(){a.emit("observerUpdate",e[0])};c.u.requestAnimationFrame?c.u.requestAnimationFrame(t):c.u.setTimeout(t,0)}else a.emit("observerUpdate",e[0])}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.observer.observers.push(n)},init:function(){var e=this;if(g.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;a<t.length;a+=1)e.observer.attach(t[a]);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=[]}},Y={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var e=this;m.extend(e,{observer:{init:X.init.bind(e),attach:X.attach.bind(e),destroy:X.destroy.bind(e),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},R={update:function(e){var t=this,a=t.params,i=a.slidesPerView,n=a.slidesPerGroup,s=a.centeredSlides,r=t.params.virtual,o=r.addSlidesBefore,l=r.addSlidesAfter,d=t.virtual,c=d.from,u=d.to,p=d.slides,h=d.slidesGrid,v=d.renderSlide,f=d.offset;t.updateActiveIndex();var g,b,w,y=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",s?(b=Math.floor(i/2)+n+o,w=Math.floor(i/2)+n+l):(b=i+(n-1)+o,w=n+l);var x=Math.max((y||0)-w,0),E=Math.min((y||0)+b,p.length-1),T=(t.slidesGrid[x]||0)-(t.slidesGrid[0]||0);function S(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(m.extend(t.virtual,{from:x,to:E,offset:T,slidesGrid:t.slidesGrid}),c===x&&u===E&&!e)return t.slidesGrid!==h&&T!==f&&t.slides.css(g,"".concat(T,"px")),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:T,from:x,to:E,slides:function(){for(var e=[],t=x;t<=E;t+=1)e.push(p[t]);return e}()}),void S();var C=[],M=[];if(e)t.$wrapperEl.find(".".concat(t.params.slideClass)).remove();else for(var k=c;k<=u;k+=1)(k<x||k>E)&&t.$wrapperEl.find(".".concat(t.params.slideClass,'[data-swiper-slide-index="').concat(k,'"]')).remove();for(var P=0;P<p.length;P+=1)P>=x&&P<=E&&(void 0===u||e?M.push(P):(P>u&&M.push(P),P<c&&C.push(P)));M.forEach((function(e){t.$wrapperEl.append(v(p[e],e))})),C.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(v(p[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,"".concat(T,"px")),S()},renderSlide:function(e,t){var a=this,i=a.params.virtual;if(i.cache&&a.virtual.cache[t])return a.virtual.cache[t];var n=i.renderSlide?(0,d.$)(i.renderSlide.call(a,e,t)):(0,d.$)('<div class="'.concat(a.params.slideClass,'" data-swiper-slide-index="').concat(t,'">').concat(e,"</div>"));return n.attr("data-swiper-slide-index")||n.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=n),n},appendSlide:function(e){var t=this;if("object"==typeof e&&"length"in e)for(var a=0;a<e.length;a+=1)e[a]&&t.virtual.slides.push(e[a]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide:function(e){var t=this,a=t.activeIndex,i=a+1,n=1;if(Array.isArray(e)){for(var s=0;s<e.length;s+=1)e[s]&&t.virtual.slides.unshift(e[s]);i=a+e.length,n=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var r=t.virtual.cache,o={};Object.keys(r).forEach((function(e){o[parseInt(e,10)+n]=r[e]})),t.virtual.cache=o}t.virtual.update(!0),t.slideTo(i,0)},removeSlide:function(e){var t=this;if(null!=e){var a=t.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<a&&(a-=1),a=Math.max(a,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<a&&(a-=1),a=Math.max(a,0);t.virtual.update(!0),t.slideTo(a,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},q={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;m.extend(e,{virtual:{update:R.update.bind(e),appendSlide:R.appendSlide.bind(e),prependSlide:R.prependSlide.bind(e),removeSlide:R.removeSlide.bind(e),removeAllSlides:R.removeAllSlides.bind(e),renderSlide:R.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push("".concat(e.params.containerModifierClass,"virtual"));var t={watchSlidesProgress:!0};m.extend(e.params,t),m.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},F={handle:function(e){var t=this,a=t.rtlTranslate,i=e;i.originalEvent&&(i=i.originalEvent);var n=i.keyCode||i.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===n||t.isVertical()&&40===n||34===n))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===n||t.isVertical()&&38===n||33===n))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||c.t.activeElement&&c.t.activeElement.nodeName&&("input"===c.t.activeElement.nodeName.toLowerCase()||"textarea"===c.t.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(33===n||34===n||37===n||39===n||38===n||40===n)){var s=!1;if(t.$el.parents(".".concat(t.params.slideClass)).length>0&&0===t.$el.parents(".".concat(t.params.slideActiveClass)).length)return;var r=c.u.innerWidth,o=c.u.innerHeight,l=t.$el.offset();a&&(l.left-=t.$el[0].scrollLeft);for(var d=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]],u=0;u<d.length;u+=1){var p=d[u];p[0]>=0&&p[0]<=r&&p[1]>=0&&p[1]<=o&&(s=!0)}if(!s)return}t.isHorizontal()?(33!==n&&34!==n&&37!==n&&39!==n||(i.preventDefault?i.preventDefault():i.returnValue=!1),(34!==n&&39!==n||a)&&(33!==n&&37!==n||!a)||t.slideNext(),(33!==n&&37!==n||a)&&(34!==n&&39!==n||!a)||t.slidePrev()):(33!==n&&34!==n&&38!==n&&40!==n||(i.preventDefault?i.preventDefault():i.returnValue=!1),34!==n&&40!==n||t.slideNext(),33!==n&&38!==n||t.slidePrev()),t.emit("keyPress",n)}},enable:function(){var e=this;e.keyboard.enabled||((0,d.$)(c.t).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this;e.keyboard.enabled&&((0,d.$)(c.t).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},W={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){var e=this;m.extend(e,{keyboard:{enabled:!1,enable:F.enable.bind(e),disable:F.disable.bind(e),handle:F.handle.bind(e)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var j={lastScrollTime:m.now(),event:c.u.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel",t=e in c.t;if(!t){var a=c.t.createElement("div");a.setAttribute(e,"return;"),t="function"==typeof a.onwheel}return!t&&c.t.implementation&&c.t.implementation.hasFeature&&!0!==c.t.implementation.hasFeature("","")&&(t=c.t.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,a=0,i=0,n=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=a,a=0),i=10*t,n=10*a,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||n)&&e.deltaMode&&(1===e.deltaMode?(i*=40,n*=40):(i*=800,n*=800)),i&&!t&&(t=i<1?-1:1),n&&!a&&(a=n<1?-1:1),{spinX:t,spinY:a,pixelX:i,pixelY:n}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,a=this,i=a.params.mousewheel;if(!a.mouseEntered&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var n=0,s=a.rtlTranslate?-1:1,r=j.normalize(t);if(i.forceToAxis)if(a.isHorizontal()){if(!(Math.abs(r.pixelX)>Math.abs(r.pixelY)))return!0;n=r.pixelX*s}else{if(!(Math.abs(r.pixelY)>Math.abs(r.pixelX)))return!0;n=r.pixelY}else n=Math.abs(r.pixelX)>Math.abs(r.pixelY)?-r.pixelX*s:-r.pixelY;if(0===n)return!0;if(i.invert&&(n=-n),a.params.freeMode){a.params.loop&&a.loopFix();var o=a.getTranslate()+n*i.sensitivity,l=a.isBeginning,d=a.isEnd;if(o>=a.minTranslate()&&(o=a.minTranslate()),o<=a.maxTranslate()&&(o=a.maxTranslate()),a.setTransition(0),a.setTranslate(o),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!l&&a.isBeginning||!d&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeModeSticky&&(clearTimeout(a.mousewheel.timeout),a.mousewheel.timeout=m.nextTick((function(){a.slideToClosest()}),300)),a.emit("scroll",t),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.autoplay.stop(),o===a.minTranslate()||o===a.maxTranslate())return!0}else{if(m.now()-a.mousewheel.lastScrollTime>60)if(n<0)if(a.isEnd&&!a.params.loop||a.animating){if(i.releaseOnEdges)return!0}else a.slideNext(),a.emit("scroll",t);else if(a.isBeginning&&!a.params.loop||a.animating){if(i.releaseOnEdges)return!0}else a.slidePrev(),a.emit("scroll",t);a.mousewheel.lastScrollTime=(new c.u.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},enable:function(){var e=this;if(!j.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=(0,d.$)(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(j.event,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this;if(!j.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=(0,d.$)(e.params.mousewheel.eventsTarged)),t.off(j.event,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},Z={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var a=e.navigation,i=a.$nextEl,n=a.$prevEl;n&&n.length>0&&(e.isBeginning?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),i&&i.length>0&&(e.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,a=this,i=a.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=(0,d.$)(i.nextEl),a.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length>1&&1===a.$el.find(i.nextEl).length&&(e=a.$el.find(i.nextEl))),i.prevEl&&(t=(0,d.$)(i.prevEl),a.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length>1&&1===a.$el.find(i.prevEl).length&&(t=a.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",a.navigation.onNextClick),t&&t.length>0&&t.on("click",a.navigation.onPrevClick),m.extend(a.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,a=t.$nextEl,i=t.$prevEl;a&&a.length&&(a.off("click",e.navigation.onNextClick),a.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}},_={update:function(){var e=this,t=e.rtl,a=e.params.pagination;if(a.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i,n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el,r=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((i=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>n-1-2*e.loopedSlides&&(i-=n-2*e.loopedSlides),i>r-1&&(i-=r),i<0&&"bullets"!==e.params.paginationType&&(i=r+i)):i=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,c,u=e.pagination.bullets;if(a.dynamicBullets&&(e.pagination.bulletSize=u.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),s.css(e.isHorizontal()?"width":"height","".concat(e.pagination.bulletSize*(a.dynamicMainBullets+4),"px")),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=i-e.previousIndex,e.pagination.dynamicBulletIndex>a.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=a.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=i-e.pagination.dynamicBulletIndex,c=((l=o+(Math.min(u.length,a.dynamicMainBullets)-1))+o)/2),u.removeClass("".concat(a.bulletActiveClass," ").concat(a.bulletActiveClass,"-next ").concat(a.bulletActiveClass,"-next-next ").concat(a.bulletActiveClass,"-prev ").concat(a.bulletActiveClass,"-prev-prev ").concat(a.bulletActiveClass,"-main")),s.length>1)u.each((function(e,t){var n=(0,d.$)(t),s=n.index();s===i&&n.addClass(a.bulletActiveClass),a.dynamicBullets&&(s>=o&&s<=l&&n.addClass("".concat(a.bulletActiveClass,"-main")),s===o&&n.prev().addClass("".concat(a.bulletActiveClass,"-prev")).prev().addClass("".concat(a.bulletActiveClass,"-prev-prev")),s===l&&n.next().addClass("".concat(a.bulletActiveClass,"-next")).next().addClass("".concat(a.bulletActiveClass,"-next-next")))}));else if(u.eq(i).addClass(a.bulletActiveClass),a.dynamicBullets){for(var p=u.eq(o),h=u.eq(l),v=o;v<=l;v+=1)u.eq(v).addClass("".concat(a.bulletActiveClass,"-main"));p.prev().addClass("".concat(a.bulletActiveClass,"-prev")).prev().addClass("".concat(a.bulletActiveClass,"-prev-prev")),h.next().addClass("".concat(a.bulletActiveClass,"-next")).next().addClass("".concat(a.bulletActiveClass,"-next-next"))}if(a.dynamicBullets){var f=Math.min(u.length,a.dynamicMainBullets+4),m=(e.pagination.bulletSize*f-e.pagination.bulletSize)/2-c*e.pagination.bulletSize,g=t?"right":"left";u.css(e.isHorizontal()?g:"top","".concat(m,"px"))}}if("fraction"===a.type&&(s.find(".".concat(a.currentClass)).text(a.formatFractionCurrent(i+1)),s.find(".".concat(a.totalClass)).text(a.formatFractionTotal(r))),"progressbar"===a.type){var b;b=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var w=(i+1)/r,y=1,x=1;"horizontal"===b?y=w:x=w,s.find(".".concat(a.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(y,") scaleY(").concat(x,")")).transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(s.html(a.renderCustom(e,i+1,r)),e.emit("paginationRender",e,s[0])):e.emit("paginationUpdate",e,s[0]),s[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](a.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,n="";if("bullets"===t.type){for(var s=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,r=0;r<s;r+=1)t.renderBullet?n+=t.renderBullet.call(e,r,t.bulletClass):n+="<".concat(t.bulletElement,' class="').concat(t.bulletClass,'"></').concat(t.bulletElement,">");i.html(n),e.pagination.bullets=i.find(".".concat(t.bulletClass))}"fraction"===t.type&&(n=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'.concat(t.currentClass,'"></span>')+" / "+'<span class="'.concat(t.totalClass,'"></span>'),i.html(n)),"progressbar"===t.type&&(n=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'.concat(t.progressbarFillClass,'"></span>'),i.html(n)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var a=(0,d.$)(t.el);0!==a.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&a.length>1&&1===e.$el.find(t.el).length&&(a=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&a.addClass(t.clickableClass),a.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(a.addClass("".concat(t.modifierClass).concat(t.type,"-dynamic")),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&a.addClass(t.progressbarOppositeClass),t.clickable&&a.on("click",".".concat(t.bulletClass),(function(t){t.preventDefault();var a=(0,d.$)(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)})),m.extend(e.pagination,{$el:a,el:a[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click",".".concat(t.bulletClass))}}},K={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=e.rtlTranslate,i=e.progress,n=t.dragSize,s=t.trackSize,r=t.$dragEl,o=t.$el,l=e.params.scrollbar,d=n,c=(s-n)*i;a?(c=-c)>0?(d=n-c,c=0):-c+n>s&&(d=s+c):c<0?(d=n+c,c=0):c+n>s&&(d=s-c),e.isHorizontal()?(g.transforms3d?r.transform("translate3d(".concat(c,"px, 0, 0)")):r.transform("translateX(".concat(c,"px)")),r[0].style.width="".concat(d,"px")):(g.transforms3d?r.transform("translate3d(0px, ".concat(c,"px, 0)")):r.transform("translateY(".concat(c,"px)")),r[0].style.height="".concat(d,"px")),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){o[0].style.opacity=0,o.transition(400)}),1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=t.$dragEl,i=t.$el;a[0].style.width="",a[0].style.height="";var n,s=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=e.size/e.virtualSize,o=r*(s/e.size);n="auto"===e.params.scrollbar.dragSize?s*r:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width="".concat(n,"px"):a[0].style.height="".concat(n,"px"),i[0].style.display=r>=1?"none":"",e.params.scrollbar.hide&&(i[0].style.opacity=0),m.extend(t,{trackSize:s,divider:r,moveDivider:o,dragSize:n}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,a=this,i=a.scrollbar,n=a.rtlTranslate,s=i.$el,r=i.dragSize,o=i.trackSize,l=i.dragStartPos;t=(i.getPointerPosition(e)-s.offset()[a.isHorizontal()?"left":"top"]-(null!==l?l:r/2))/(o-r),t=Math.max(Math.min(t,1),0),n&&(t=1-t);var d=a.minTranslate()+(a.maxTranslate()-a.minTranslate())*t;a.updateProgress(d),a.setTranslate(d),a.updateActiveIndex(),a.updateSlidesClasses()},onDragStart:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,n=t.$wrapperEl,s=i.$el,r=i.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),s.transition(0),a.hide&&s.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,a=t.scrollbar,i=t.$wrapperEl,n=a.$el,s=a.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),i.transition(0),n.transition(0),s.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,a.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=m.nextTick((function(){i.css("opacity",0),i.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.touchEventsTouch,i=e.touchEventsDesktop,n=e.params,s=t.$el[0],r=!(!g.passiveListener||!n.passiveListeners)&&{passive:!1,capture:!1},o=!(!g.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};g.touch?(s.addEventListener(a.start,e.scrollbar.onDragStart,r),s.addEventListener(a.move,e.scrollbar.onDragMove,r),s.addEventListener(a.end,e.scrollbar.onDragEnd,o)):(s.addEventListener(i.start,e.scrollbar.onDragStart,r),c.t.addEventListener(i.move,e.scrollbar.onDragMove,r),c.t.addEventListener(i.end,e.scrollbar.onDragEnd,o))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.touchEventsTouch,i=e.touchEventsDesktop,n=e.params,s=t.$el[0],r=!(!g.passiveListener||!n.passiveListeners)&&{passive:!1,capture:!1},o=!(!g.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};g.touch?(s.removeEventListener(a.start,e.scrollbar.onDragStart,r),s.removeEventListener(a.move,e.scrollbar.onDragMove,r),s.removeEventListener(a.end,e.scrollbar.onDragEnd,o)):(s.removeEventListener(i.start,e.scrollbar.onDragStart,r),c.t.removeEventListener(i.move,e.scrollbar.onDragMove,r),c.t.removeEventListener(i.end,e.scrollbar.onDragEnd,o))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.$el,i=e.params.scrollbar,n=(0,d.$)(i.el);e.params.uniqueNavElements&&"string"==typeof i.el&&n.length>1&&1===a.find(i.el).length&&(n=a.find(i.el));var s=n.find(".".concat(e.params.scrollbar.dragClass));0===s.length&&(s=(0,d.$)('<div class="'.concat(e.params.scrollbar.dragClass,'"></div>')),n.append(s)),m.extend(t,{$el:n,el:n[0],$dragEl:s,dragEl:s[0]}),i.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},U={setTransform:function(e,t){var a=this.rtl,i=(0,d.$)(e),n=a?-1:1,s=i.attr("data-swiper-parallax")||"0",r=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y"),l=i.attr("data-swiper-parallax-scale"),c=i.attr("data-swiper-parallax-opacity");if(r||o?(r=r||"0",o=o||"0"):this.isHorizontal()?(r=s,o="0"):(o=s,r="0"),r=r.indexOf("%")>=0?"".concat(parseInt(r,10)*t*n,"%"):"".concat(r*t*n,"px"),o=o.indexOf("%")>=0?"".concat(parseInt(o,10)*t,"%"):"".concat(o*t,"px"),null!=c){var u=c-(c-1)*(1-Math.abs(t));i[0].style.opacity=u}if(null==l)i.transform("translate3d(".concat(r,", ").concat(o,", 0px)"));else{var p=l-(l-1)*(1-Math.abs(t));i.transform("translate3d(".concat(r,", ").concat(o,", 0px) scale(").concat(p,")"))}},setTranslate:function(){var e=this,t=e.$el,a=e.slides,i=e.progress,n=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,a){e.parallax.setTransform(a,i)})),a.each((function(t,a){var s=a.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(s+=Math.ceil(t/2)-i*(n.length-1)),s=Math.min(Math.max(s,-1),1),(0,d.$)(a).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,a){e.parallax.setTransform(a,s)}))}))},setTransition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=this,a=t.$el;a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,a){var i=(0,d.$)(a),n=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),i.transition(n)}))}},J={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,n=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(n-a,2))},onGestureStart:function(e){var t=this,a=t.params.zoom,i=t.zoom,n=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!g.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,n.scaleStart=J.getDistanceBetweenTouches(e)}n.$slideEl&&n.$slideEl.length||(n.$slideEl=(0,d.$)(e.target).closest(".swiper-slide"),0===n.$slideEl.length&&(n.$slideEl=t.slides.eq(t.activeIndex)),n.$imageEl=n.$slideEl.find("img, svg, canvas"),n.$imageWrapEl=n.$imageEl.parent(".".concat(a.containerClass)),n.maxRatio=n.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==n.$imageWrapEl.length)?(n.$imageEl.transition(0),t.zoom.isScaling=!0):n.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,a=this.zoom,i=a.gesture;if(!g.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.fakeGestureMoved=!0,i.scaleMove=J.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(a.scale=g.gestures?e.scale*a.currentScale:i.scaleMove/i.scaleStart*a.currentScale,a.scale>i.maxRatio&&(a.scale=i.maxRatio-1+Math.pow(a.scale-i.maxRatio+1,.5)),a.scale<t.minRatio&&(a.scale=t.minRatio+1-Math.pow(t.minRatio-a.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale(".concat(a.scale,")")))},onGestureEnd:function(e){var t=this,a=t.params.zoom,i=t.zoom,n=i.gesture;if(!g.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!k.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,n.maxRatio),a.minRatio),n.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale(".concat(i.scale,")")),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(n.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,a=t.gesture,i=t.image;a.$imageEl&&0!==a.$imageEl.length&&(i.isTouched||(k.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,a=t.zoom,i=a.gesture,n=a.image,s=a.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(t.allowClick=!1,n.isTouched&&i.$slideEl)){n.isMoved||(n.width=i.$imageEl[0].offsetWidth,n.height=i.$imageEl[0].offsetHeight,n.startX=m.getTranslate(i.$imageWrapEl[0],"x")||0,n.startY=m.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var r=n.width*a.scale,o=n.height*a.scale;if(!(r<i.slideWidth&&o<i.slideHeight)){if(n.minX=Math.min(i.slideWidth/2-r/2,0),n.maxX=-n.minX,n.minY=Math.min(i.slideHeight/2-o/2,0),n.maxY=-n.minY,n.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!n.isMoved&&!a.isScaling){if(t.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),s.prevPositionX||(s.prevPositionX=n.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=n.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(n.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(n.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(n.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(n.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=n.touchesCurrent.x,s.prevPositionY=n.touchesCurrent.y,s.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d(".concat(n.currentX,"px, ").concat(n.currentY,"px,0)"))}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,a=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!a.isTouched||!a.isMoved)return a.isTouched=!1,void(a.isMoved=!1);a.isTouched=!1,a.isMoved=!1;var n=300,s=300,r=i.x*n,o=a.currentX+r,l=i.y*s,d=a.currentY+l;0!==i.x&&(n=Math.abs((o-a.currentX)/i.x)),0!==i.y&&(s=Math.abs((d-a.currentY)/i.y));var c=Math.max(n,s);a.currentX=o,a.currentY=d;var u=a.width*e.scale,p=a.height*e.scale;a.minX=Math.min(t.slideWidth/2-u/2,0),a.maxX=-a.minX,a.minY=Math.min(t.slideHeight/2-p/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),t.$imageWrapEl.transition(c).transform("translate3d(".concat(a.currentX,"px, ").concat(a.currentY,"px,0)"))}},onTransitionEnd:function(){var e=this,t=e.zoom,a=t.gesture;a.$slideEl&&e.previousIndex!==e.activeIndex&&(a.$imageEl.transform("translate3d(0,0,0) scale(1)"),a.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,a.$slideEl=void 0,a.$imageEl=void 0,a.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,a,i,n,s,r,o,l,c,u,p,h,v,f,m,g,b=this,w=b.zoom,y=b.params.zoom,x=w.gesture,E=w.image;(x.$slideEl||(x.$slideEl=b.clickedSlide?(0,d.$)(b.clickedSlide):b.slides.eq(b.activeIndex),x.$imageEl=x.$slideEl.find("img, svg, canvas"),x.$imageWrapEl=x.$imageEl.parent(".".concat(y.containerClass))),x.$imageEl&&0!==x.$imageEl.length)&&(x.$slideEl.addClass("".concat(y.zoomedSlideClass)),void 0===E.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,a="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=E.touchesStart.x,a=E.touchesStart.y),w.scale=x.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,w.currentScale=x.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(m=x.$slideEl[0].offsetWidth,g=x.$slideEl[0].offsetHeight,i=x.$slideEl.offset().left+m/2-t,n=x.$slideEl.offset().top+g/2-a,o=x.$imageEl[0].offsetWidth,l=x.$imageEl[0].offsetHeight,c=o*w.scale,u=l*w.scale,v=-(p=Math.min(m/2-c/2,0)),f=-(h=Math.min(g/2-u/2,0)),(s=i*w.scale)<p&&(s=p),s>v&&(s=v),(r=n*w.scale)<h&&(r=h),r>f&&(r=f)):(s=0,r=0),x.$imageWrapEl.transition(300).transform("translate3d(".concat(s,"px, ").concat(r,"px,0)")),x.$imageEl.transition(300).transform("translate3d(0,0,0) scale(".concat(w.scale,")")))},out:function(){var e=this,t=e.zoom,a=e.params.zoom,i=t.gesture;i.$slideEl||(i.$slideEl=e.clickedSlide?(0,d.$)(e.clickedSlide):e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent(".".concat(a.containerClass))),i.$imageEl&&0!==i.$imageEl.length&&(t.scale=1,t.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass("".concat(a.zoomedSlideClass)),i.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var a=!("touchstart"!==e.touchEvents.start||!g.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};g.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.on(e.touchEvents.move,".".concat(e.params.zoom.containerClass),t.onTouchMove)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var a=!("touchstart"!==e.touchEvents.start||!g.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};g.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.off(e.touchEvents.move,".".concat(e.params.zoom.containerClass),t.onTouchMove)}}},Q={loadInSlide:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this,i=a.params.lazy;if(void 0!==e&&0!==a.slides.length){var n=a.virtual&&a.params.virtual.enabled,s=n?a.$wrapperEl.children(".".concat(a.params.slideClass,'[data-swiper-slide-index="').concat(e,'"]')):a.slides.eq(e),r=s.find(".".concat(i.elementClass,":not(.").concat(i.loadedClass,"):not(.").concat(i.loadingClass,")"));!s.hasClass(i.elementClass)||s.hasClass(i.loadedClass)||s.hasClass(i.loadingClass)||(r=r.add(s[0])),0!==r.length&&r.each((function(e,n){var r=(0,d.$)(n);r.addClass(i.loadingClass);var o=r.attr("data-background"),l=r.attr("data-src"),c=r.attr("data-srcset"),u=r.attr("data-sizes");a.loadImage(r[0],l||o,c,u,!1,(function(){if(null!=a&&a&&(!a||a.params)&&!a.destroyed){if(o?(r.css("background-image",'url("'.concat(o,'")')),r.removeAttr("data-background")):(c&&(r.attr("srcset",c),r.removeAttr("data-srcset")),u&&(r.attr("sizes",u),r.removeAttr("data-sizes")),l&&(r.attr("src",l),r.removeAttr("data-src"))),r.addClass(i.loadedClass).removeClass(i.loadingClass),s.find(".".concat(i.preloaderClass)).remove(),a.params.loop&&t){var e=s.attr("data-swiper-slide-index");if(s.hasClass(a.params.slideDuplicateClass)){var n=a.$wrapperEl.children('[data-swiper-slide-index="'.concat(e,'"]:not(.').concat(a.params.slideDuplicateClass,")"));a.lazy.loadInSlide(n.index(),!1)}else{var d=a.$wrapperEl.children(".".concat(a.params.slideDuplicateClass,'[data-swiper-slide-index="').concat(e,'"]'));a.lazy.loadInSlide(d.index(),!1)}}a.emit("lazyImageReady",s[0],r[0])}})),a.emit("lazyImageLoad",s[0],r[0])}))}},load:function(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides,n=e.activeIndex,s=e.virtual&&a.virtual.enabled,r=a.lazy,o=a.slidesPerView;function l(e){if(s){if(t.children(".".concat(a.slideClass,'[data-swiper-slide-index="').concat(e,'"]')).length)return!0}else if(i[e])return!0;return!1}function c(e){return s?(0,d.$)(e).attr("data-swiper-slide-index"):(0,d.$)(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children(".".concat(a.slideVisibleClass)).each((function(t,a){var i=s?(0,d.$)(a).attr("data-swiper-slide-index"):(0,d.$)(a).index();e.lazy.loadInSlide(i)}));else if(o>1)for(var u=n;u<n+o;u+=1)l(u)&&e.lazy.loadInSlide(u);else e.lazy.loadInSlide(n);if(r.loadPrevNext)if(o>1||r.loadPrevNextAmount&&r.loadPrevNextAmount>1){for(var p=r.loadPrevNextAmount,h=o,v=Math.min(n+h+Math.max(p,h),i.length),f=Math.max(n-Math.max(h,p),0),m=n+o;m<v;m+=1)l(m)&&e.lazy.loadInSlide(m);for(var g=f;g<n;g+=1)l(g)&&e.lazy.loadInSlide(g)}else{var b=t.children(".".concat(a.slideNextClass));b.length>0&&e.lazy.loadInSlide(c(b));var w=t.children(".".concat(a.slidePrevClass));w.length>0&&e.lazy.loadInSlide(c(w))}}},ee={LinearSpline:function(e,t){var a,i,n,s,r,o=function(e,t){for(i=-1,a=e.length;a-i>1;)e[n=a+i>>1]<=t?i=n:a=n;return a};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(r=o(this.x,e),s=r-1,(e-this.x[s])*(this.y[r]-this.y[s])/(this.x[r]-this.x[s])+this.y[s]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new ee.LinearSpline(t.slidesGrid,e.slidesGrid):new ee.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var a,i,n=this,s=n.controller.control;function r(e){var t=n.rtlTranslate?-n.translate:n.translate;"slide"===n.params.controller.by&&(n.controller.getInterpolateFunction(e),i=-n.controller.spline.interpolate(-t)),i&&"container"!==n.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(n.maxTranslate()-n.minTranslate()),i=(t-n.minTranslate())*a+e.minTranslate()),n.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,n),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(s))for(var o=0;o<s.length;o+=1)s[o]!==t&&s[o]instanceof H&&r(s[o]);else s instanceof H&&t!==s&&r(s)},setTransition:function(e,t){var a,i=this,n=i.controller.control;function s(t){t.setTransition(e,i),0!==e&&(t.transitionStart(),t.params.autoHeight&&m.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){n&&(t.params.loop&&"slide"===i.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(n))for(a=0;a<n.length;a+=1)n[a]!==t&&n[a]instanceof H&&s(n[a]);else n instanceof H&&t!==n&&s(n)}},te={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,a=t.params.a11y;if(13===e.keyCode){var i=(0,d.$)(e.target);t.navigation&&t.navigation.$nextEl&&i.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(a.lastSlideMessage):t.a11y.notify(a.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&i.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(a.firstSlideMessage):t.a11y.notify(a.prevSlideMessage)),t.pagination&&i.is(".".concat(t.params.pagination.bulletClass))&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,a=t.$nextEl,i=t.$prevEl;i&&i.length>0&&(e.isBeginning?e.a11y.disableEl(i):e.a11y.enableEl(i)),a&&a.length>0&&(e.isEnd?e.a11y.disableEl(a):e.a11y.enableEl(a))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(a,i){var n=(0,d.$)(i);e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,t.paginationBulletMessage.replace(/{{index}}/,n.index()+1))}))},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,a,i=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,i.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),a&&(e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,i.prevSlideMessage),a.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown",".".concat(e.params.pagination.bulletClass),e.a11y.onEnterKey)},destroy:function(){var e,t,a=this;a.a11y.liveRegion&&a.a11y.liveRegion.length>0&&a.a11y.liveRegion.remove(),a.navigation&&a.navigation.$nextEl&&(e=a.navigation.$nextEl),a.navigation&&a.navigation.$prevEl&&(t=a.navigation.$prevEl),e&&e.off("keydown",a.a11y.onEnterKey),t&&t.off("keydown",a.a11y.onEnterKey),a.pagination&&a.params.pagination.clickable&&a.pagination.bullets&&a.pagination.bullets.length&&a.pagination.$el.off("keydown",".".concat(a.params.pagination.bulletClass),a.a11y.onEnterKey)}},ae={init:function(){var e=this;if(e.params.history){if(!c.u.history||!c.u.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var t=e.history;t.initialized=!0,t.paths=ae.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||c.u.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||c.u.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=ae.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(){var e=c.u.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){var a=this;if(a.history.initialized&&a.params.history.enabled){var i=a.slides.eq(t),n=ae.slugify(i.attr("data-history"));c.u.location.pathname.includes(e)||(n="".concat(e,"/").concat(n));var s=c.u.history.state;s&&s.value===n||(a.params.history.replaceState?c.u.history.replaceState({value:n},null,n):c.u.history.pushState({value:n},null,n))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,a){var i=this;if(t)for(var n=0,s=i.slides.length;n<s;n+=1){var r=i.slides.eq(n);if(ae.slugify(r.attr("data-history"))===t&&!r.hasClass(i.params.slideDuplicateClass)){var o=r.index();i.slideTo(o,e,a)}}else i.slideTo(0,e,a)}},ie={onHashCange:function(){var e=this,t=c.t.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){var a=e.$wrapperEl.children(".".concat(e.params.slideClass,'[data-hash="').concat(t,'"]')).index();if(void 0===a)return;e.slideTo(a)}},setHash:function(){var e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&c.u.history&&c.u.history.replaceState)c.u.history.replaceState(null,null,"#".concat(e.slides.eq(e.activeIndex).attr("data-hash"))||0);else{var t=e.slides.eq(e.activeIndex),a=t.attr("data-hash")||t.attr("data-history");c.t.location.hash=a||""}},init:function(){var e=this;if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var t=c.t.location.hash.replace("#","");if(t)for(var a=0,i=e.slides.length;a<i;a+=1){var n=e.slides.eq(a);if((n.attr("data-hash")||n.attr("data-history"))===t&&!n.hasClass(e.params.slideDuplicateClass)){var s=n.index();e.slideTo(s,0,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&(0,d.$)(c.u).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&(0,d.$)(c.u).off("hashchange",this.hashNavigation.onHashCange)}},ne={run:function(){var e=this,t=e.slides.eq(e.activeIndex),a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=m.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),a)},start:function(){var e=this;return void 0===e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop:function(){var e=this;return!!e.autoplay.running&&(void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},se={setTranslate:function(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1){var i=e.slides.eq(a),n=-i[0].swiperSlideOffset;e.params.virtualTranslate||(n-=e.translate);var s=0;e.isHorizontal()||(s=n,n=0);var r=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:r}).transform("translate3d(".concat(n,"px, ").concat(s,"px, 0px)"))}},setTransition:function(e){var t=this,a=t.slides,i=t.$wrapperEl;if(a.transition(e),t.params.virtualTranslate&&0!==e){var n=!1;a.transitionEnd((function(){if(!n&&t&&!t.destroyed){n=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a<e.length;a+=1)i.trigger(e[a])}}))}}},re={setTranslate:function(){var e,t=this,a=t.$el,i=t.$wrapperEl,n=t.slides,s=t.width,r=t.height,o=t.rtlTranslate,l=t.size,c=t.params.cubeEffect,u=t.isHorizontal(),p=t.virtual&&t.params.virtual.enabled,h=0;c.shadow&&(u?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=(0,d.$)('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:"".concat(s,"px")})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=(0,d.$)('<div class="swiper-cube-shadow"></div>'),a.append(e)));for(var v=0;v<n.length;v+=1){var f=n.eq(v),m=v;p&&(m=parseInt(f.attr("data-swiper-slide-index"),10));var g=90*m,w=Math.floor(g/360);o&&(g=-g,w=Math.floor(-g/360));var y=Math.max(Math.min(f[0].progress,1),-1),x=0,E=0,T=0;m%4==0?(x=4*-w*l,T=0):(m-1)%4==0?(x=0,T=4*-w*l):(m-2)%4==0?(x=l+4*w*l,T=l):(m-3)%4==0&&(x=-l,T=3*l+4*l*w),o&&(x=-x),u||(E=x,x=0);var S="rotateX(".concat(u?0:-g,"deg) rotateY(").concat(u?g:0,"deg) translate3d(").concat(x,"px, ").concat(E,"px, ").concat(T,"px)");if(y<=1&&y>-1&&(h=90*m+90*y,o&&(h=90*-m-90*y)),f.transform(S),c.slideShadows){var C=u?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),M=u?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===C.length&&(C=(0,d.$)('<div class="swiper-slide-shadow-'.concat(u?"left":"top",'"></div>')),f.append(C)),0===M.length&&(M=(0,d.$)('<div class="swiper-slide-shadow-'.concat(u?"right":"bottom",'"></div>')),f.append(M)),C.length&&(C[0].style.opacity=Math.max(-y,0)),M.length&&(M[0].style.opacity=Math.max(y,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -".concat(l/2,"px"),"-moz-transform-origin":"50% 50% -".concat(l/2,"px"),"-ms-transform-origin":"50% 50% -".concat(l/2,"px"),"transform-origin":"50% 50% -".concat(l/2,"px")}),c.shadow)if(u)e.transform("translate3d(0px, ".concat(s/2+c.shadowOffset,"px, ").concat(-s/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(c.shadowScale,")"));else{var k=Math.abs(h)-90*Math.floor(Math.abs(h)/90),P=1.5-(Math.sin(2*k*Math.PI/360)/2+Math.cos(2*k*Math.PI/360)/2),$=c.shadowScale,z=c.shadowScale/P,I=c.shadowOffset;e.transform("scale3d(".concat($,", 1, ").concat(z,") translate3d(0px, ").concat(r/2+I,"px, ").concat(-r/2/z,"px) rotateX(-90deg)"))}var L=b.isSafari||b.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,".concat(L,"px) rotateX(").concat(t.isHorizontal()?0:h,"deg) rotateY(").concat(t.isHorizontal()?-h:0,"deg)"))},setTransition:function(e){var t=this,a=t.$el;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&a.find(".swiper-cube-shadow").transition(e)}},oe={setTranslate:function(){for(var e=this,t=e.slides,a=e.rtlTranslate,i=0;i<t.length;i+=1){var n=t.eq(i),s=n[0].progress;e.params.flipEffect.limitRotation&&(s=Math.max(Math.min(n[0].progress,1),-1));var r=-180*s,o=0,l=-n[0].swiperSlideOffset,c=0;if(e.isHorizontal()?a&&(r=-r):(c=l,l=0,o=-r,r=0),n[0].style.zIndex=-Math.abs(Math.round(s))+t.length,e.params.flipEffect.slideShadows){var u=e.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),p=e.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom");0===u.length&&(u=(0,d.$)('<div class="swiper-slide-shadow-'.concat(e.isHorizontal()?"left":"top",'"></div>')),n.append(u)),0===p.length&&(p=(0,d.$)('<div class="swiper-slide-shadow-'.concat(e.isHorizontal()?"right":"bottom",'"></div>')),n.append(p)),u.length&&(u[0].style.opacity=Math.max(-s,0)),p.length&&(p[0].style.opacity=Math.max(s,0))}n.transform("translate3d(".concat(l,"px, ").concat(c,"px, 0px) rotateX(").concat(o,"deg) rotateY(").concat(r,"deg)"))}},setTransition:function(e){var t=this,a=t.slides,i=t.activeIndex,n=t.$wrapperEl;if(a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var s=!1;a.eq(i).transitionEnd((function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a<e.length;a+=1)n.trigger(e[a])}}))}}},le={setTranslate:function(){for(var e=this,t=e.width,a=e.height,i=e.slides,n=e.$wrapperEl,s=e.slidesSizesGrid,r=e.params.coverflowEffect,o=e.isHorizontal(),l=e.translate,c=o?t/2-l:a/2-l,u=o?r.rotate:-r.rotate,p=r.depth,h=0,v=i.length;h<v;h+=1){var f=i.eq(h),m=s[h],b=(c-f[0].swiperSlideOffset-m/2)/m*r.modifier,w=o?u*b:0,y=o?0:u*b,x=-p*Math.abs(b),E=o?0:r.stretch*b,T=o?r.stretch*b:0;Math.abs(T)<.001&&(T=0),Math.abs(E)<.001&&(E=0),Math.abs(x)<.001&&(x=0),Math.abs(w)<.001&&(w=0),Math.abs(y)<.001&&(y=0);var S="translate3d(".concat(T,"px,").concat(E,"px,").concat(x,"px) rotateX(").concat(y,"deg) rotateY(").concat(w,"deg)");if(f.transform(S),f[0].style.zIndex=1-Math.abs(Math.round(b)),r.slideShadows){var C=o?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),M=o?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===C.length&&(C=(0,d.$)('<div class="swiper-slide-shadow-'.concat(o?"left":"top",'"></div>')),f.append(C)),0===M.length&&(M=(0,d.$)('<div class="swiper-slide-shadow-'.concat(o?"right":"bottom",'"></div>')),f.append(M)),C.length&&(C[0].style.opacity=b>0?b:0),M.length&&(M[0].style.opacity=-b>0?-b:0)}}(g.pointerEvents||g.prefixedPointerEvents)&&(n[0].style.perspectiveOrigin="".concat(c,"px 50%"))},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},de={init:function(){var e=this,t=e.params.thumbs,a=e.constructor;t.swiper instanceof a?(e.thumbs.swiper=t.swiper,m.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),m.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):m.isObject(t.swiper)&&(e.thumbs.swiper=new a(m.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var a=t.clickedIndex,i=t.clickedSlide;if(!(i&&(0,d.$)(i).hasClass(e.params.thumbs.slideThumbActiveClass)||null==a)){var n;if(n=t.params.loop?parseInt((0,d.$)(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){var s=e.activeIndex;e.slides.eq(s).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,s=e.activeIndex);var r=e.slides.eq(s).prevAll('[data-swiper-slide-index="'.concat(n,'"]')).eq(0).index(),o=e.slides.eq(s).nextAll('[data-swiper-slide-index="'.concat(n,'"]')).eq(0).index();n=void 0===r?o:void 0===o?r:o-s<s-r?o:r}e.slideTo(n)}}},update:function(e){var t=this,a=t.thumbs.swiper;if(a){var i="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():a.params.slidesPerView;if(t.realIndex!==a.realIndex){var n,s=a.activeIndex;if(a.params.loop){a.slides.eq(s).hasClass(a.params.slideDuplicateClass)&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,s=a.activeIndex);var r=a.slides.eq(s).prevAll('[data-swiper-slide-index="'.concat(t.realIndex,'"]')).eq(0).index(),o=a.slides.eq(s).nextAll('[data-swiper-slide-index="'.concat(t.realIndex,'"]')).eq(0).index();n=void 0===r?o:void 0===o?r:o-s==s-r?s:o-s<s-r?o:r}else n=t.realIndex;a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(n)<0&&(a.params.centeredSlides?n=n>s?n-Math.floor(i/2)+1:n+Math.floor(i/2)-1:n>s&&(n=n-i+1),a.slideTo(n,e?0:void 0))}var l=1,d=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(l=t.params.slidesPerView),a.slides.removeClass(d),a.params.loop||a.params.virtual)for(var c=0;c<l;c+=1)a.$wrapperEl.children('[data-swiper-slide-index="'.concat(t.realIndex+c,'"]')).addClass(d);else for(var u=0;u<l;u+=1)a.slides.eq(t.realIndex+u).addClass(d)}}},ce=[V,B,G,N,Y,q,W,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;m.extend(e,{mousewheel:{enabled:!1,enable:j.enable.bind(e),disable:j.disable.bind(e),handle:j.handle.bind(e),handleMouseEnter:j.handleMouseEnter.bind(e),handleMouseLeave:j.handleMouseLeave.bind(e),lastScrollTime:m.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;m.extend(e,{navigation:{init:Z.init.bind(e),update:Z.update.bind(e),destroy:Z.destroy.bind(e),onNextClick:Z.onNextClick.bind(e),onPrevClick:Z.onPrevClick.bind(e)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,a=this,i=a.navigation,n=i.$nextEl,s=i.$prevEl;!a.params.navigation.hideOnClick||(0,d.$)(e.target).is(s)||(0,d.$)(e.target).is(n)||(n?t=n.hasClass(a.params.navigation.hiddenClass):s&&(t=s.hasClass(a.params.navigation.hiddenClass)),!0===t?a.emit("navigationShow",a):a.emit("navigationHide",a),n&&n.toggleClass(a.params.navigation.hiddenClass),s&&s.toggleClass(a.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var e=this;m.extend(e,{pagination:{init:_.init.bind(e),render:_.render.bind(e),update:_.update.bind(e),destroy:_.destroy.bind(e),dynamicBulletIndex:0}})},on:{init:function(){var e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(){var e=this;(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){var e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(){var e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){var t=this;t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!(0,d.$)(e.target).hasClass(t.params.pagination.bulletClass)&&(!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;m.extend(e,{scrollbar:{init:K.init.bind(e),destroy:K.destroy.bind(e),updateSize:K.updateSize.bind(e),setTranslate:K.setTranslate.bind(e),setTransition:K.setTransition.bind(e),enableDraggable:K.enableDraggable.bind(e),disableDraggable:K.disableDraggable.bind(e),setDragPosition:K.setDragPosition.bind(e),getPointerPosition:K.getPointerPosition.bind(e),onDragStart:K.onDragStart.bind(e),onDragMove:K.onDragMove.bind(e),onDragEnd:K.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){var e=this;m.extend(e,{parallax:{setTransform:U.setTransform.bind(e),setTranslate:U.setTranslate.bind(e),setTransition:U.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(a){t[a]=J[a].bind(e)})),m.extend(e,{zoom:t});var a=1;Object.defineProperty(e.zoom,"scale",{get:function(){return a},set:function(t){if(a!==t){var i=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,n=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,i,n)}a=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){var t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd:function(){var e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var e=this;m.extend(e,{lazy:{initialImageLoaded:!1,load:Q.load.bind(e),loadInSlide:Q.loadInSlide.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(){var e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(){var e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){var e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;m.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:ee.getInterpolateFunction.bind(e),setTranslate:ee.setTranslate.bind(e),setTransition:ee.setTransition.bind(e)}})},on:{update:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;m.extend(e,{a11y:{liveRegion:(0,d.$)('<span class="'.concat(e.params.a11y.notificationClass,'" aria-live="assertive" aria-atomic="true"></span>'))}}),Object.keys(te).forEach((function(t){e.a11y[t]=te[t].bind(e)}))},on:{init:function(){var e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;m.extend(e,{history:{init:ae.init.bind(e),setHistory:ae.setHistory.bind(e),setHistoryPopState:ae.setHistoryPopState.bind(e),scrollToSlide:ae.scrollToSlide.bind(e),destroy:ae.destroy.bind(e)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){var e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;m.extend(e,{hashNavigation:{initialized:!1,init:ie.init.bind(e),destroy:ie.destroy.bind(e),setHash:ie.setHash.bind(e),onHashCange:ie.onHashCange.bind(e)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;m.extend(e,{autoplay:{running:!1,paused:!1,run:ne.run.bind(e),start:ne.start.bind(e),stop:ne.stop.bind(e),pause:ne.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){var a=this;a.autoplay.running&&(t||!a.params.autoplay.disableOnInteraction?a.autoplay.pause(e):a.autoplay.stop())},sliderFirstMove:function(){var e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){var e=this;m.extend(e,{fadeEffect:{setTranslate:se.setTranslate.bind(e),setTransition:se.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("fade"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"fade"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var e=this;m.extend(e,{cubeEffect:{setTranslate:re.setTranslate.bind(e),setTransition:re.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"cube")),e.classNames.push("".concat(e.params.containerModifierClass,"3d"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){var e=this;m.extend(e,{flipEffect:{setTranslate:oe.setTranslate.bind(e),setTransition:oe.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("flip"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"flip")),e.classNames.push("".concat(e.params.containerModifierClass,"3d"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){var e=this;m.extend(e,{coverflowEffect:{setTranslate:le.setTranslate.bind(e),setTransition:le.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push("".concat(e.params.containerModifierClass,"coverflow")),e.classNames.push("".concat(e.params.containerModifierClass,"3d")),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){var e=this;m.extend(e,{thumbs:{swiper:null,init:de.init.bind(e),update:de.update.bind(e),onThumbClick:de.onThumbClick.bind(e)}})},on:{beforeInit:function(){var e=this,t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];void 0===H.use&&(H.use=H.Class.use,H.installModule=H.Class.installModule),H.use(ce),t.Z=H},402:function(e){e.exports=window.wp.a11y},531:function(e){e.exports=window.wp.domReady},950:function(e){e.exports=window.wp.escapeHtml},163:function(e){e.exports=window.wp.i18n}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,a),s.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};!function(){a.r(i);a(855)}(),window.EditingToolkit=i}();
1
+ !function(){"use strict";var e={989:function(e,t,a){function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}a.d(t,{Z:function(){return i}})},659:function(e,t,a){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}a.d(t,{Z:function(){return i}})},730:function(e,t,a){function i(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function n(e,t,a){return t&&i(e.prototype,t),a&&i(e,a),e}a.d(t,{Z:function(){return n}})},630:function(e,t,a){function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}a.d(t,{Z:function(){return i}})},663:function(e,t,a){a.d(t,{Z:function(){return n}});var i=a(938);function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,i.Z)(e,t)}},591:function(e,t,a){a.d(t,{Z:function(){return s}});var i=a(929),n=a(989);function s(e,t){return!t||"object"!==(0,i.Z)(t)&&"function"!=typeof t?(0,n.Z)(e):t}},938:function(e,t,a){function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}a.d(t,{Z:function(){return i}})},929:function(e,t,a){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}a.d(t,{Z:function(){return i}})},73:function(){},913:function(e,t,a){a.d(t,{u:function(){return n},t:function(){return i}});var i="undefined"==typeof document?{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[]}}},location:{hash:""}}:document,n="undefined"==typeof window?{document:i,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window},188:function(e,t,a){a.d(t,{Z:function(){return u}});var i=a(402),n=a(950),s=a(163),r=a(529),__=s.__,o="wp-block-newspack-blocks-carousel__autoplay-playing";function l(e,t){Array.prototype.forEach.call(e,t)}function d(e){e&&(e.setAttribute("aria-hidden","false"),l(e.querySelectorAll("a"),(function(e){return e.removeAttribute("tabindex")})))}function c(e){e&&(e.setAttribute("aria-hidden","true"),l(e.querySelectorAll("a"),(function(e){return e.setAttribute("tabindex","-1")})))}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=0<e.container.offsetWidth&&0<e.container.offsetHeight;if(!a)return!1;var u=new r.Z(e.container,{a11y:!1,autoplay:!!t.autoplay&&{delay:t.delay,disableOnInteraction:!1},effect:"slide",grabCursor:!0,init:!1,initialSlide:t.initialSlide||0,loop:!0,navigation:{nextEl:e.next,prevEl:e.prev},pagination:{bulletElement:"button",clickable:!0,el:e.pagination,type:"bullets",renderBullet:function(e,t){return'<button class="'.concat(t,'"><span>').concat((0,s.sprintf)(__("Slide %s","newspack-blocks"),e+1),"</span></button>")}},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,slidesPerView:t.slidesPerView,spaceBetween:16,touchStartPreventDefault:!1,breakpoints:{600:{slidesPerView:t.slidesPerView>1?2:1}},on:{init:function(){l(this.wrapperEl.querySelectorAll(".swiper-slide"),(function(e){return c(e)})),d(this.slides[this.activeIndex])},slideChange:function(){var e=this.slides[this.activeIndex];if(c(this.slides[this.previousIndex]),d(e),!this.autoplay.running){var t=e.querySelector("img"),a=!!t&&(null==t?void 0:t.alt),r=(0,s.sprintf)(__("Slide %s of %s","newspack-blocks"),this.realIndex+1,this.pagination.bullets.length);(0,i.speak)((0,n.escapeHTML)("".concat(e.innerText,",\n\t\t\t\t\t\t\t").concat(a?(0,s.sprintf)(__("Image: %s, ","newspack-blocks"),a):"","\n\t\t\t\t\t\t\t").concat(r)),"assertive")}}}});function p(){var e=t.aspectRatio;Array.from(this.slides).forEach((function(t){t.style.height="".concat(t.clientWidth*e,"px")}))}if(u.on("imagesReady",p),u.on("resize",p),t.autoplay){function t(){u.autoplay.stop(),e.play.focus()}function a(){u.autoplay.start(),e.pause.focus()}u.on("init",(function(){e.play.addEventListener("click",a),e.pause.addEventListener("click",t)})),u.on("autoplayStart",(function(){e.block.classList.add(o),(0,i.speak)(__("Playing","newspack-blocks"),"assertive")})),u.on("autoplayStop",(function(){e.block.classList.remove(o),(0,i.speak)(__("Paused","newspack-blocks"),"assertive")})),u.on("beforeDestroy",(function(){e.play.removeEventListener("click",a),e.pause.removeEventListener("click",t)}))}return u.init(),u}},855:function(e,t,a){var i=a(531),n=a.n(i),s=a(188);a(73);"undefined"!=typeof window&&n()((function(){Array.from(document.querySelectorAll(".wp-block-newspack-blocks-carousel")).forEach((function(e){var t=parseInt(e.dataset.slidesPerView),a=parseInt(e.dataset.slideCount);(0,s.Z)({block:e,container:e.querySelector(".swiper-container"),prev:e.querySelector(".swiper-button-prev"),next:e.querySelector(".swiper-button-next"),pagination:e.querySelector(".swiper-pagination-bullets"),pause:e.querySelector(".swiper-button-pause"),play:e.querySelector(".swiper-button-play")},{aspectRatio:parseFloat(e.dataset.aspectRatio),autoplay:!!parseInt(e.dataset.autoplay),delay:1e3*parseInt(e.dataset.autoplay_delay),slidesPerView:t<=a?t:a,spaceBetween:16})}))}))},534:function(e,t,a){a.d(t,{$:function(){return r},cn:function(){return l},IV:function(){return d},pv:function(){return c},Vj:function(){return u},Lj:function(){return p},uV:function(){return h},aT:function(){return v},vs:function(){return f},eR:function(){return m},on:function(){return g},S1:function(){return b},X$:function(){return w},ld:function(){return y},iO:function(){return x},Pb:function(){return E},cv:function(){return T},W2:function(){return S},iv:function(){return C},S6:function(){return M},dy:function(){return k},fL:function(){return P},is:function(){return $},Kz:function(){return z},eq:function(){return I},R3:function(){return L},Ce:function(){return D},lp:function(){return O},eG:function(){return A},mp:function(){return H},pJ:function(){return V},qm:function(){return B},wV:function(){return G},oq:function(){return N},sE:function(){return X},pI:function(){return Y},Od:function(){return R},IH:function(){return q}});var i=a(659),n=a(913),s=function e(t){(0,i.Z)(this,e);for(var a=0;a<t.length;a+=1)this[a]=t[a];return this.length=t.length,this};function r(e,t){var a=[],i=0;if(e&&!t&&e instanceof s)return e;if(e)if("string"==typeof e){var r,o,l=e.trim();if(l.indexOf("<")>=0&&l.indexOf(">")>=0){var d="div";for(0===l.indexOf("<li")&&(d="ul"),0===l.indexOf("<tr")&&(d="tbody"),0!==l.indexOf("<td")&&0!==l.indexOf("<th")||(d="tr"),0===l.indexOf("<tbody")&&(d="table"),0===l.indexOf("<option")&&(d="select"),(o=n.t.createElement(d)).innerHTML=l,i=0;i<o.childNodes.length;i+=1)a.push(o.childNodes[i])}else for(r=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||n.t).querySelectorAll(e.trim()):[n.t.getElementById(e.trim().split("#")[1])],i=0;i<r.length;i+=1)r[i]&&a.push(r[i])}else if(e.nodeType||e===n.u||e===n.t)a.push(e);else if(e.length>0&&e[0].nodeType)for(i=0;i<e.length;i+=1)a.push(e[i]);return new s(a)}function o(e){for(var t=[],a=0;a<e.length;a+=1)-1===t.indexOf(e[a])&&t.push(e[a]);return t}function l(e){if(void 0===e)return this;for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(t[a]);return this}function d(e){for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(t[a]);return this}function c(e){return!!this[0]&&this[0].classList.contains(e)}function u(e){for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(t[a]);return this}function p(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var a=0;a<this.length;a+=1)if(2===arguments.length)this[a].setAttribute(e,t);else for(var i in e)this[a][i]=e[i],this[a].setAttribute(i,e[i]);return this}function h(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function v(e,t){var a;if(void 0!==t){for(var i=0;i<this.length;i+=1)(a=this[i]).dom7ElementDataStorage||(a.dom7ElementDataStorage={}),a.dom7ElementDataStorage[e]=t;return this}if(a=this[0]){if(a.dom7ElementDataStorage&&e in a.dom7ElementDataStorage)return a.dom7ElementDataStorage[e];var n=a.getAttribute("data-".concat(e));return n||void 0}}function f(e){for(var t=0;t<this.length;t+=1){var a=this[t].style;a.webkitTransform=e,a.transform=e}return this}function m(e){"string"!=typeof e&&(e="".concat(e,"ms"));for(var t=0;t<this.length;t+=1){var a=this[t].style;a.webkitTransitionDuration=e,a.transitionDuration=e}return this}function g(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],n=t[1],s=t[2],o=t[3];function l(e){var t=e.target;if(t){var a=e.target.dom7EventData||[];if(a.indexOf(e)<0&&a.unshift(e),r(t).is(n))s.apply(t,a);else for(var i=r(t).parents(),o=0;o<i.length;o+=1)r(i[o]).is(n)&&s.apply(i[o],a)}}function d(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),s.apply(this,t)}"function"==typeof t[1]&&(i=t[0],s=t[1],o=t[2],n=void 0),o||(o=!1);for(var c,u=i.split(" "),p=0;p<this.length;p+=1){var h=this[p];if(n)for(c=0;c<u.length;c+=1){var v=u[c];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[v]||(h.dom7LiveListeners[v]=[]),h.dom7LiveListeners[v].push({listener:s,proxyListener:l}),h.addEventListener(v,l,o)}else for(c=0;c<u.length;c+=1){var f=u[c];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[f]||(h.dom7Listeners[f]=[]),h.dom7Listeners[f].push({listener:s,proxyListener:d}),h.addEventListener(f,d,o)}}return this}function b(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],n=t[1],s=t[2],r=t[3];"function"==typeof t[1]&&(i=t[0],s=t[1],r=t[2],n=void 0),r||(r=!1);for(var o=i.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],c=0;c<this.length;c+=1){var u=this[c],p=void 0;if(!n&&u.dom7Listeners?p=u.dom7Listeners[d]:n&&u.dom7LiveListeners&&(p=u.dom7LiveListeners[d]),p&&p.length)for(var h=p.length-1;h>=0;h-=1){var v=p[h];s&&v.listener===s||s&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===s?(u.removeEventListener(d,v.proxyListener,r),p.splice(h,1)):s||(u.removeEventListener(d,v.proxyListener,r),p.splice(h,1))}}return this}function w(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];for(var i=t[0].split(" "),s=t[1],r=0;r<i.length;r+=1)for(var o=i[r],l=0;l<this.length;l+=1){var d=this[l],c=void 0;try{c=new n.u.CustomEvent(o,{detail:s,bubbles:!0,cancelable:!0})}catch(u){(c=n.t.createEvent("Event")).initEvent(o,!0,!0),c.detail=s}d.dom7EventData=t.filter((function(e,t){return t>0})),d.dispatchEvent(c),d.dom7EventData=[],delete d.dom7EventData}return this}function y(e){var t,a=["webkitTransitionEnd","transitionend"],i=this;function n(s){if(s.target===this)for(e.call(this,s),t=0;t<a.length;t+=1)i.off(a[t],n)}if(e)for(t=0;t<a.length;t+=1)i.on(a[t],n);return this}function x(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function E(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function T(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),a=n.t.body,i=e.clientTop||a.clientTop||0,s=e.clientLeft||a.clientLeft||0,r=e===n.u?n.u.scrollY:e.scrollTop,o=e===n.u?n.u.scrollX:e.scrollLeft;return{top:t.top+r-i,left:t.left+o-s}}return null}function S(){return this[0]?n.u.getComputedStyle(this[0],null):{}}function C(e,t){var a;if(1===arguments.length){if("string"!=typeof e){for(a=0;a<this.length;a+=1)for(var i in e)this[a].style[i]=e[i];return this}if(this[0])return n.u.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this}return this}function M(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this}function k(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function P(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 $(e){var t,a,i=this[0];if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(t=r(e),a=0;a<t.length;a+=1)if(t[a]===i)return!0;return!1}if(e===n.t)return i===n.t;if(e===n.u)return i===n.u;if(e.nodeType||e instanceof s){for(t=e.nodeType?[e]:e,a=0;a<t.length;a+=1)if(t[a]===i)return!0;return!1}return!1}function z(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function I(e){if(void 0===e)return this;var t,a=this.length;return new s(e>a-1?[]:e<0?(t=a+e)<0?[]:[this[t]]:[this[e]])}function L(){for(var e,t=0;t<arguments.length;t+=1){e=t<0||arguments.length<=t?void 0:arguments[t];for(var a=0;a<this.length;a+=1)if("string"==typeof e){var i=n.t.createElement("div");for(i.innerHTML=e;i.firstChild;)this[a].appendChild(i.firstChild)}else if(e instanceof s)for(var r=0;r<e.length;r+=1)this[a].appendChild(e[r]);else this[a].appendChild(e)}return this}function D(e){var t,a;for(t=0;t<this.length;t+=1)if("string"==typeof e){var i=n.t.createElement("div");for(i.innerHTML=e,a=i.childNodes.length-1;a>=0;a-=1)this[t].insertBefore(i.childNodes[a],this[t].childNodes[0])}else if(e instanceof s)for(a=0;a<e.length;a+=1)this[t].insertBefore(e[a],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function O(e){return this.length>0?e?this[0].nextElementSibling&&r(this[0].nextElementSibling).is(e)?new s([this[0].nextElementSibling]):new s([]):this[0].nextElementSibling?new s([this[0].nextElementSibling]):new s([]):new s([])}function A(e){var t=[],a=this[0];if(!a)return new s([]);for(;a.nextElementSibling;){var i=a.nextElementSibling;e?r(i).is(e)&&t.push(i):t.push(i),a=i}return new s(t)}function H(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&r(t.previousElementSibling).is(e)?new s([t.previousElementSibling]):new s([]):t.previousElementSibling?new s([t.previousElementSibling]):new s([])}return new s([])}function V(e){var t=[],a=this[0];if(!a)return new s([]);for(;a.previousElementSibling;){var i=a.previousElementSibling;e?r(i).is(e)&&t.push(i):t.push(i),a=i}return new s(t)}function B(e){for(var t=[],a=0;a<this.length;a+=1)null!==this[a].parentNode&&(e?r(this[a].parentNode).is(e)&&t.push(this[a].parentNode):t.push(this[a].parentNode));return r(o(t))}function G(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].parentNode;i;)e?r(i).is(e)&&t.push(i):t.push(i),i=i.parentNode;return r(o(t))}function N(e){var t=this;return void 0===e?new s([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function X(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].querySelectorAll(e),n=0;n<i.length;n+=1)t.push(i[n]);return new s(t)}function Y(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].childNodes,n=0;n<i.length;n+=1)e?1===i[n].nodeType&&r(i[n]).is(e)&&t.push(i[n]):1===i[n].nodeType&&t.push(i[n]);return new s(o(t))}function R(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function q(){for(var e,t,a=this,i=arguments.length,n=new Array(i),s=0;s<i;s++)n[s]=arguments[s];for(e=0;e<n.length;e+=1){var o=r(n[e]);for(t=0;t<o.length;t+=1)a[a.length]=o[t],a.length+=1}return a}r.fn=s.prototype,r.Class=s,r.Dom7=s;"resize scroll".split(" ")},529:function(e,t,a){var i=a(989),n=a(663),s=a(591),r=a(630),o=a(659),l=a(730),d=a(534),c=a(913);function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,i=(0,r.Z)(e);if(t){var n=(0,r.Z)(this).constructor;a=Reflect.construct(i,arguments,n)}else a=i.apply(this,arguments);return(0,s.Z)(this,a)}}var p={addClass:d.cn,removeClass:d.IV,hasClass:d.pv,toggleClass:d.Vj,attr:d.Lj,removeAttr:d.uV,data:d.aT,transform:d.vs,transition:d.eR,on:d.on,off:d.S1,trigger:d.X$,transitionEnd:d.ld,outerWidth:d.iO,outerHeight:d.Pb,offset:d.cv,css:d.iv,each:d.S6,html:d.dy,text:d.fL,is:d.is,index:d.Kz,eq:d.eq,append:d.R3,prepend:d.Ce,next:d.lp,nextAll:d.eG,prev:d.mp,prevAll:d.pJ,parent:d.qm,parents:d.wV,closest:d.oq,find:d.sE,children:d.pI,remove:d.Od,add:d.IH,styles:d.W2};Object.keys(p).forEach((function(e){d.$.fn[e]=d.$.fn[e]||p[e]}));var h,v,f,m={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(a){}try{delete t[e]}catch(a){}}))},nextTick:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e){var t,a,i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",s=c.u.getComputedStyle(e,null);return c.u.WebKitCSSMatrix?((a=s.transform||s.webkitTransform).split(",").length>6&&(a=a.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),i=new c.u.WebKitCSSMatrix("none"===a?"":a)):t=(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===n&&(a=c.u.WebKitCSSMatrix?i.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===n&&(a=c.u.WebKitCSSMatrix?i.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),a||0},parseUrlQuery:function(e){var t,a,i,n,s={},r=e||c.u.location.href;if("string"==typeof r&&r.length)for(n=(a=(r=r.indexOf("?")>-1?r.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,t=0;t<n;t+=1)i=a[t].replace(/#\S+/g,"").split("="),s[decodeURIComponent(i[0])]=void 0===i[1]?void 0:decodeURIComponent(i[1])||"";return s},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=1;t<arguments.length;t+=1){var a=t<0||arguments.length<=t?void 0:arguments[t];if(null!=a)for(var i=Object.keys(Object(a)),n=0,s=i.length;n<s;n+=1){var r=i[n],o=Object.getOwnPropertyDescriptor(a,r);void 0!==o&&o.enumerable&&(m.isObject(e[r])&&m.isObject(a[r])?m.extend(e[r],a[r]):!m.isObject(e[r])&&m.isObject(a[r])?(e[r]={},m.extend(e[r],a[r])):e[r]=a[r])}}return e}},g=(v=c.t.createElement("div"),{touch:c.u.Modernizr&&!0===c.u.Modernizr.touch||!!(c.u.navigator.maxTouchPoints>0||"ontouchstart"in c.u||c.u.DocumentTouch&&c.t instanceof c.u.DocumentTouch),pointerEvents:!!(c.u.navigator.pointerEnabled||c.u.PointerEvent||"maxTouchPoints"in c.u.navigator&&c.u.navigator.maxTouchPoints>0),prefixedPointerEvents:!!c.u.navigator.msPointerEnabled,transition:(h=v.style,"transition"in h||"webkitTransition"in h||"MozTransition"in h),transforms3d:c.u.Modernizr&&!0===c.u.Modernizr.csstransforms3d||function(){var e=v.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=v.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),a=0;a<t.length;a+=1)if(t[a]in e)return!0;return!1}(),observer:"MutationObserver"in c.u||"WebkitMutationObserver"in c.u,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});c.u.addEventListener("testPassiveListener",null,t)}catch(a){}return e}(),gestures:"ongesturestart"in c.u}),b={isIE:!!c.u.navigator.userAgent.match(/Trident/g)||!!c.u.navigator.userAgent.match(/MSIE/g),isEdge:!!c.u.navigator.userAgent.match(/Edge/g),isSafari:(f=c.u.navigator.userAgent.toLowerCase(),f.indexOf("safari")>=0&&f.indexOf("chrome")<0&&f.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(c.u.navigator.userAgent)},w=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e);var a=this;a.params=t,a.eventsListeners={},a.params&&a.params.on&&Object.keys(a.params.on).forEach((function(e){a.on(e,a.params.on[e])}))}return(0,l.Z)(e,[{key:"on",value:function(e,t,a){var i=this;if("function"!=typeof t)return i;var n=a?"unshift":"push";return e.split(" ").forEach((function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][n](t)})),i}},{key:"once",value:function(e,t,a){var i=this;if("function"!=typeof t)return i;function n(){for(var a=arguments.length,s=new Array(a),r=0;r<a;r++)s[r]=arguments[r];t.apply(i,s),i.off(e,n),n.f7proxy&&delete n.f7proxy}return n.f7proxy=t,i.on(e,n,a)}},{key:"off",value:function(e,t){var a=this;return a.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?a.eventsListeners[e]=[]:a.eventsListeners[e]&&a.eventsListeners[e].length&&a.eventsListeners[e].forEach((function(i,n){(i===t||i.f7proxy&&i.f7proxy===t)&&a.eventsListeners[e].splice(n,1)}))})),a):a}},{key:"emit",value:function(){var e,t,a,i=this;if(!i.eventsListeners)return i;for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];"string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],t=s.slice(1,s.length),a=i):(e=s[0].events,t=s[0].data,a=s[0].context||i);var o=Array.isArray(e)?e:e.split(" ");return o.forEach((function(e){if(i.eventsListeners&&i.eventsListeners[e]){var n=[];i.eventsListeners[e].forEach((function(e){n.push(e)})),n.forEach((function(e){e.apply(a,t)}))}})),i}},{key:"useModulesParams",value:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(a){var i=t.modules[a];i.params&&m.extend(e,i.params)}))}},{key:"useModules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this;t.modules&&Object.keys(t.modules).forEach((function(a){var i=t.modules[a],n=e[a]||{};i.instance&&Object.keys(i.instance).forEach((function(e){var a=i.instance[e];t[e]="function"==typeof a?a.bind(t):a})),i.on&&t.on&&Object.keys(i.on).forEach((function(e){t.on(e,i.on[e])})),i.create&&i.create.bind(t)(n)}))}}],[{key:"components",set:function(e){this.use&&this.use(e)}},{key:"installModule",value:function(e){var t=this;t.prototype.modules||(t.prototype.modules={});var a=e.name||"".concat(Object.keys(t.prototype.modules).length,"_").concat(m.now());if(t.prototype.modules[a]=e,e.proto&&Object.keys(e.proto).forEach((function(a){t.prototype[a]=e.proto[a]})),e.static&&Object.keys(e.static).forEach((function(a){t[a]=e.static[a]})),e.install){for(var i=arguments.length,n=new Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];e.install.apply(t,n)}return t}},{key:"use",value:function(e){var t=this;if(Array.isArray(e))return e.forEach((function(e){return t.installModule(e)})),t;for(var a=arguments.length,i=new Array(a>1?a-1:0),n=1;n<a;n++)i[n-1]=arguments[n];return t.installModule.apply(t,[e].concat(i))}}]),e}();var y={updateSize:function(){var e,t,a=this,i=a.$el;e=void 0!==a.params.width?a.params.width:i[0].clientWidth,t=void 0!==a.params.height?a.params.height:i[0].clientHeight,0===e&&a.isHorizontal()||0===t&&a.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),m.extend(a,{width:e,height:t,size:a.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=e.params,a=e.$wrapperEl,i=e.size,n=e.rtlTranslate,s=e.wrongRTL,r=e.virtual&&t.virtual.enabled,o=r?e.virtual.slides.length:e.slides.length,l=a.children(".".concat(e.params.slideClass)),d=r?e.virtual.slides.length:l.length,u=[],p=[],h=[],v=t.slidesOffsetBefore;"function"==typeof v&&(v=t.slidesOffsetBefore.call(e));var f=t.slidesOffsetAfter;"function"==typeof f&&(f=t.slidesOffsetAfter.call(e));var w=e.snapGrid.length,y=e.snapGrid.length,x=t.spaceBetween,E=-v,T=0,S=0;if(void 0!==i){var C,M;"string"==typeof x&&x.indexOf("%")>=0&&(x=parseFloat(x.replace("%",""))/100*i),e.virtualSize=-x,n?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(C=Math.floor(d/t.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(C=Math.max(C,t.slidesPerView*t.slidesPerColumn)));for(var k,P=t.slidesPerColumn,$=C/P,z=Math.floor(d/t.slidesPerColumn),I=0;I<d;I+=1){M=0;var L=l.eq(I);if(t.slidesPerColumn>1){var D=void 0,O=void 0,A=void 0;if("column"===t.slidesPerColumnFill||"row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){if("column"===t.slidesPerColumnFill)A=I-(O=Math.floor(I/P))*P,(O>z||O===z&&A===P-1)&&(A+=1)>=P&&(A=0,O+=1);else{var H=Math.floor(I/t.slidesPerGroup);O=I-(A=Math.floor(I/t.slidesPerView)-H*t.slidesPerColumn)*t.slidesPerView-H*t.slidesPerView}D=O+A*C/P,L.css({"-webkit-box-ordinal-group":D,"-moz-box-ordinal-group":D,"-ms-flex-order":D,"-webkit-order":D,order:D})}else O=I-(A=Math.floor(I/$))*$;L.css("margin-".concat(e.isHorizontal()?"top":"left"),0!==A&&t.spaceBetween&&"".concat(t.spaceBetween,"px")).attr("data-swiper-column",O).attr("data-swiper-row",A)}if("none"!==L.css("display")){if("auto"===t.slidesPerView){var V=c.u.getComputedStyle(L[0],null),B=L[0].style.transform,G=L[0].style.webkitTransform;if(B&&(L[0].style.transform="none"),G&&(L[0].style.webkitTransform="none"),t.roundLengths)M=e.isHorizontal()?L.outerWidth(!0):L.outerHeight(!0);else if(e.isHorizontal()){var N=parseFloat(V.getPropertyValue("width")),X=parseFloat(V.getPropertyValue("padding-left")),Y=parseFloat(V.getPropertyValue("padding-right")),R=parseFloat(V.getPropertyValue("margin-left")),q=parseFloat(V.getPropertyValue("margin-right")),F=V.getPropertyValue("box-sizing");M=F&&"border-box"===F&&!b.isIE?N+R+q:N+X+Y+R+q}else{var W=parseFloat(V.getPropertyValue("height")),j=parseFloat(V.getPropertyValue("padding-top")),Z=parseFloat(V.getPropertyValue("padding-bottom")),_=parseFloat(V.getPropertyValue("margin-top")),K=parseFloat(V.getPropertyValue("margin-bottom")),U=V.getPropertyValue("box-sizing");M=U&&"border-box"===U&&!b.isIE?W+_+K:W+j+Z+_+K}B&&(L[0].style.transform=B),G&&(L[0].style.webkitTransform=G),t.roundLengths&&(M=Math.floor(M))}else M=(i-(t.slidesPerView-1)*x)/t.slidesPerView,t.roundLengths&&(M=Math.floor(M)),l[I]&&(e.isHorizontal()?l[I].style.width="".concat(M,"px"):l[I].style.height="".concat(M,"px"));l[I]&&(l[I].swiperSlideSize=M),h.push(M),t.centeredSlides?(E=E+M/2+T/2+x,0===T&&0!==I&&(E=E-i/2-x),0===I&&(E=E-i/2-x),Math.abs(E)<.001&&(E=0),t.roundLengths&&(E=Math.floor(E)),S%t.slidesPerGroup==0&&u.push(E),p.push(E)):(t.roundLengths&&(E=Math.floor(E)),S%t.slidesPerGroup==0&&u.push(E),p.push(E),E=E+M+x),e.virtualSize+=M+x,T=M,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+f,n&&s&&("slide"===t.effect||"coverflow"===t.effect)&&a.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}),g.flexbox&&!t.setWrapperSize||(e.isHorizontal()?a.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}):a.css({height:"".concat(e.virtualSize+t.spaceBetween,"px")})),t.slidesPerColumn>1&&(e.virtualSize=(M+t.spaceBetween)*C,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?a.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}):a.css({height:"".concat(e.virtualSize+t.spaceBetween,"px")}),t.centeredSlides)){k=[];for(var J=0;J<u.length;J+=1){var Q=u[J];t.roundLengths&&(Q=Math.floor(Q)),u[J]<e.virtualSize+u[0]&&k.push(Q)}u=k}if(!t.centeredSlides){k=[];for(var ee=0;ee<u.length;ee+=1){var te=u[ee];t.roundLengths&&(te=Math.floor(te)),u[ee]<=e.virtualSize-i&&k.push(te)}u=k,Math.floor(e.virtualSize-i)-Math.floor(u[u.length-1])>1&&u.push(e.virtualSize-i)}if(0===u.length&&(u=[0]),0!==t.spaceBetween&&(e.isHorizontal()?n?l.css({marginLeft:"".concat(x,"px")}):l.css({marginRight:"".concat(x,"px")}):l.css({marginBottom:"".concat(x,"px")})),t.centerInsufficientSlides){var ae=0;if(h.forEach((function(e){ae+=e+(t.spaceBetween?t.spaceBetween:0)})),(ae-=t.spaceBetween)<i){var ie=(i-ae)/2;u.forEach((function(e,t){u[t]=e-ie})),p.forEach((function(e,t){p[t]=e+ie}))}}m.extend(e,{slides:l,snapGrid:u,slidesGrid:p,slidesSizesGrid:h}),d!==o&&e.emit("slidesLengthChange"),u.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,a=this,i=[],n=0;if("number"==typeof e?a.setTransition(e):!0===e&&a.setTransition(a.params.speed),"auto"!==a.params.slidesPerView&&a.params.slidesPerView>1)for(t=0;t<Math.ceil(a.params.slidesPerView);t+=1){var s=a.activeIndex+t;if(s>a.slides.length)break;i.push(a.slides.eq(s)[0])}else i.push(a.slides.eq(a.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var r=i[t].offsetHeight;n=r>n?r:n}n&&a.$wrapperEl.css("height","".concat(n,"px"))},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,a=t.params,i=t.slides,n=t.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();var s=-e;n&&(s=e),i.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var r=0;r<i.length;r+=1){var o=i[r],l=(s+(a.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+a.spaceBetween);if(a.watchSlidesVisibility){var c=-(s-o.swiperSlideOffset),u=c+t.slidesSizesGrid[r],p=c>=0&&c<t.size-1||u>1&&u<=t.size||c<=0&&u>=t.size;p&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(r),i.eq(r).addClass(a.slideVisibleClass))}o.progress=n?-l:l}t.visibleSlides=(0,d.$)(t.visibleSlides)}},updateProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,a=t.params,i=t.maxTranslate()-t.minTranslate(),n=t.progress,s=t.isBeginning,r=t.isEnd,o=s,l=r;0===i?(n=0,s=!0,r=!0):(s=(n=(e-t.minTranslate())/i)<=0,r=n>=1),m.extend(t,{progress:n,isBeginning:s,isEnd:r}),(a.watchSlidesProgress||a.watchSlidesVisibility)&&t.updateSlidesProgress(e),s&&!o&&t.emit("reachBeginning toEdge"),r&&!l&&t.emit("reachEnd toEdge"),(o&&!s||l&&!r)&&t.emit("fromEdge"),t.emit("progress",n)},updateSlidesClasses:function(){var e,t=this,a=t.slides,i=t.params,n=t.$wrapperEl,s=t.activeIndex,r=t.realIndex,o=t.virtual&&i.virtual.enabled;a.removeClass("".concat(i.slideActiveClass," ").concat(i.slideNextClass," ").concat(i.slidePrevClass," ").concat(i.slideDuplicateActiveClass," ").concat(i.slideDuplicateNextClass," ").concat(i.slideDuplicatePrevClass)),(e=o?t.$wrapperEl.find(".".concat(i.slideClass,'[data-swiper-slide-index="').concat(s,'"]')):a.eq(s)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?n.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(r,'"]')).addClass(i.slideDuplicateActiveClass):n.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(r,'"]')).addClass(i.slideDuplicateActiveClass));var l=e.nextAll(".".concat(i.slideClass)).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=a.eq(0)).addClass(i.slideNextClass);var d=e.prevAll(".".concat(i.slideClass)).eq(0).addClass(i.slidePrevClass);i.loop&&0===d.length&&(d=a.eq(-1)).addClass(i.slidePrevClass),i.loop&&(l.hasClass(i.slideDuplicateClass)?n.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass):n.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass),d.hasClass(i.slideDuplicateClass)?n.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(d.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass):n.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(d.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,a=this,i=a.rtlTranslate?a.translate:-a.translate,n=a.slidesGrid,s=a.snapGrid,r=a.params,o=a.activeIndex,l=a.realIndex,d=a.snapIndex,c=e;if(void 0===c){for(var u=0;u<n.length;u+=1)void 0!==n[u+1]?i>=n[u]&&i<n[u+1]-(n[u+1]-n[u])/2?c=u:i>=n[u]&&i<n[u+1]&&(c=u+1):i>=n[u]&&(c=u);r.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if((t=s.indexOf(i)>=0?s.indexOf(i):Math.floor(c/r.slidesPerGroup))>=s.length&&(t=s.length-1),c!==o){var p=parseInt(a.slides.eq(c).attr("data-swiper-slide-index")||c,10);m.extend(a,{snapIndex:t,realIndex:p,previousIndex:o,activeIndex:c}),a.emit("activeIndexChange"),a.emit("snapIndexChange"),l!==p&&a.emit("realIndexChange"),(a.initialized||a.runCallbacksOnInit)&&a.emit("slideChange")}else t!==d&&(a.snapIndex=t,a.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,a=t.params,i=(0,d.$)(e.target).closest(".".concat(a.slideClass))[0],n=!1;if(i)for(var s=0;s<t.slides.length;s+=1)t.slides[s]===i&&(n=!0);if(!i||!n)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt((0,d.$)(i).attr("data-swiper-slide-index"),10):t.clickedIndex=(0,d.$)(i).index(),a.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var x={getTranslate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",t=this,a=t.params,i=t.rtlTranslate,n=t.translate,s=t.$wrapperEl;if(a.virtualTranslate)return i?-n:n;var r=m.getTranslate(s[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var a=this,i=a.rtlTranslate,n=a.params,s=a.$wrapperEl,r=a.progress,o=0,l=0;a.isHorizontal()?o=i?-e:e:l=e,n.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),n.virtualTranslate||(g.transforms3d?s.transform("translate3d(".concat(o,"px, ").concat(l,"px, ").concat(0,"px)")):s.transform("translate(".concat(o,"px, ").concat(l,"px)"))),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?o:l;var d=a.maxTranslate()-a.minTranslate();(0===d?0:(e-a.minTranslate())/d)!==r&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}};var E={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,a=this,i=a.activeIndex,n=a.params,s=a.previousIndex;n.autoHeight&&a.updateAutoHeight();var r=t;if(r||(r=i>s?"next":i<s?"prev":"reset"),a.emit("transitionStart"),e&&i!==s){if("reset"===r)return void a.emit("slideResetTransitionStart");a.emit("slideChangeTransitionStart"),"next"===r?a.emit("slideNextTransitionStart"):a.emit("slidePrevTransitionStart")}},transitionEnd:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,a=this,i=a.activeIndex,n=a.previousIndex;a.animating=!1,a.setTransition(0);var s=t;if(s||(s=i>n?"next":i<n?"prev":"reset"),a.emit("transitionEnd"),e&&i!==n){if("reset"===s)return void a.emit("slideResetTransitionEnd");a.emit("slideChangeTransitionEnd"),"next"===s?a.emit("slideNextTransitionEnd"):a.emit("slidePrevTransitionEnd")}}};var T={slideTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,n=this,s=e;s<0&&(s=0);var r=n.params,o=n.snapGrid,l=n.slidesGrid,d=n.previousIndex,c=n.activeIndex,u=n.rtlTranslate;if(n.animating&&r.preventInteractionOnTransition)return!1;var p=Math.floor(s/r.slidesPerGroup);p>=o.length&&(p=o.length-1),(c||r.initialSlide||0)===(d||0)&&a&&n.emit("beforeSlideChangeStart");var h,v=-o[p];if(n.updateProgress(v),r.normalizeSlideIndex)for(var f=0;f<l.length;f+=1)-Math.floor(100*v)>=Math.floor(100*l[f])&&(s=f);if(n.initialized&&s!==c){if(!n.allowSlideNext&&v<n.translate&&v<n.minTranslate())return!1;if(!n.allowSlidePrev&&v>n.translate&&v>n.maxTranslate()&&(c||0)!==s)return!1}return h=s>c?"next":s<c?"prev":"reset",u&&-v===n.translate||!u&&v===n.translate?(n.updateActiveIndex(s),r.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),"slide"!==r.effect&&n.setTranslate(v),"reset"!==h&&(n.transitionStart(a,h),n.transitionEnd(a,h)),!1):(0!==t&&g.transition?(n.setTransition(t),n.setTranslate(v),n.updateActiveIndex(s),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(a,h),n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(a,h))}),n.$wrapperEl[0].addEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd))):(n.setTransition(0),n.setTranslate(v),n.updateActiveIndex(s),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(a,h),n.transitionEnd(a,h)),!0)},slideToLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,n=this,s=e;return n.params.loop&&(s+=n.loopedSlides),n.slideTo(s,t,a,i)},slideNext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this,n=i.params,s=i.animating;return n.loop?!s&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,i.slideTo(i.activeIndex+n.slidesPerGroup,e,t,a)):i.slideTo(i.activeIndex+n.slidesPerGroup,e,t,a)},slidePrev:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this,n=i.params,s=i.animating,r=i.snapGrid,o=i.slidesGrid,l=i.rtlTranslate;if(n.loop){if(s)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}var d=l?i.translate:-i.translate;function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u,p=c(d),h=r.map((function(e){return c(e)})),v=(o.map((function(e){return c(e)})),r[h.indexOf(p)],r[h.indexOf(p)-1]);return void 0!==v&&(u=o.indexOf(v))<0&&(u=i.activeIndex-1),i.slideTo(u,e,t,a)},slideReset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this;return i.slideTo(i.activeIndex,e,t,a)},slideToClosest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this,n=i.activeIndex,s=Math.floor(n/i.params.slidesPerGroup);if(s<i.snapGrid.length-1){var r=i.rtlTranslate?i.translate:-i.translate,o=i.snapGrid[s],l=i.snapGrid[s+1];r-o>(l-o)/2&&(n=i.params.slidesPerGroup)}return i.slideTo(n,e,t,a)},slideToClickedSlide:function(){var e,t=this,a=t.params,i=t.$wrapperEl,n="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,s=t.clickedIndex;if(a.loop){if(t.animating)return;e=parseInt((0,d.$)(t.clickedSlide).attr("data-swiper-slide-index"),10),a.centeredSlides?s<t.loopedSlides-n/2||s>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),s=i.children(".".concat(a.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(a.slideDuplicateClass,")")).eq(0).index(),m.nextTick((function(){t.slideTo(s)}))):t.slideTo(s):s>t.slides.length-n?(t.loopFix(),s=i.children(".".concat(a.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(a.slideDuplicateClass,")")).eq(0).index(),m.nextTick((function(){t.slideTo(s)}))):t.slideTo(s)}else t.slideTo(s)}};var S={loopCreate:function(){var e=this,t=e.params,a=e.$wrapperEl;a.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass)).remove();var i=a.children(".".concat(t.slideClass));if(t.loopFillGroupWithBlank){var n=t.slidesPerGroup-i.length%t.slidesPerGroup;if(n!==t.slidesPerGroup){for(var s=0;s<n;s+=1){var r=(0,d.$)(c.t.createElement("div")).addClass("".concat(t.slideClass," ").concat(t.slideBlankClass));a.append(r)}i=a.children(".".concat(t.slideClass))}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=i.length),e.loopedSlides=parseInt(t.loopedSlides||t.slidesPerView,10),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>i.length&&(e.loopedSlides=i.length);var o=[],l=[];i.each((function(t,a){var n=(0,d.$)(a);t<e.loopedSlides&&l.push(a),t<i.length&&t>=i.length-e.loopedSlides&&o.push(a),n.attr("data-swiper-slide-index",t)}));for(var u=0;u<l.length;u+=1)a.append((0,d.$)(l[u].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var p=o.length-1;p>=0;p-=1)a.prepend((0,d.$)(o[p].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){var e,t=this,a=t.params,i=t.activeIndex,n=t.slides,s=t.loopedSlides,r=t.allowSlidePrev,o=t.allowSlideNext,l=t.snapGrid,d=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var c=-l[i]-t.getTranslate();if(i<s)e=n.length-3*s+i,e+=s,t.slideTo(e,0,!1,!0)&&0!==c&&t.setTranslate((d?-t.translate:t.translate)-c);else if("auto"===a.slidesPerView&&i>=2*s||i>=n.length-s){e=-n.length+i+s,e+=s,t.slideTo(e,0,!1,!0)&&0!==c&&t.setTranslate((d?-t.translate:t.translate)-c)}t.allowSlidePrev=r,t.allowSlideNext=o},loopDestroy:function(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides;t.children(".".concat(a.slideClass,".").concat(a.slideDuplicateClass,",.").concat(a.slideClass,".").concat(a.slideBlankClass)).remove(),i.removeAttr("data-swiper-slide-index")}};var C={setGrabCursor:function(e){var t=this;if(!(g.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked)){var a=t.el;a.style.cursor="move",a.style.cursor=e?"-webkit-grabbing":"-webkit-grab",a.style.cursor=e?"-moz-grabbin":"-moz-grab",a.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;g.touch||e.params.watchOverflow&&e.isLocked||(e.el.style.cursor="")}};var M={appendSlide:function(e){var t=this,a=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&a.append(e[n]);else a.append(e);i.loop&&t.loopCreate(),i.observer&&g.observer||t.update()},prependSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,n=t.activeIndex;a.loop&&t.loopDestroy();var s=n+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);s=n+e.length}else i.prepend(e);a.loop&&t.loopCreate(),a.observer&&g.observer||t.update(),t.slideTo(s,0,!1)},addSlide:function(e,t){var a=this,i=a.$wrapperEl,n=a.params,s=a.activeIndex;n.loop&&(s-=a.loopedSlides,a.loopDestroy(),a.slides=i.children(".".concat(n.slideClass)));var r=a.slides.length;if(e<=0)a.prependSlide(t);else if(e>=r)a.appendSlide(t);else{for(var o=s>e?s+1:s,l=[],d=r-1;d>=e;d-=1){var c=a.slides.eq(d);c.remove(),l.unshift(c)}if("object"==typeof t&&"length"in t){for(var u=0;u<t.length;u+=1)t[u]&&i.append(t[u]);o=s>e?s+t.length:s}else i.append(t);for(var p=0;p<l.length;p+=1)i.append(l[p]);n.loop&&a.loopCreate(),n.observer&&g.observer||a.update(),n.loop?a.slideTo(o+a.loopedSlides,0,!1):a.slideTo(o,0,!1)}},removeSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,n=t.activeIndex;a.loop&&(n-=t.loopedSlides,t.loopDestroy(),t.slides=i.children(".".concat(a.slideClass)));var s,r=n;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)s=e[o],t.slides[s]&&t.slides.eq(s).remove(),s<r&&(r-=1);r=Math.max(r,0)}else s=e,t.slides[s]&&t.slides.eq(s).remove(),s<r&&(r-=1),r=Math.max(r,0);a.loop&&t.loopCreate(),a.observer&&g.observer||t.update(),a.loop?t.slideTo(r+t.loopedSlides,0,!1):t.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},k=function(){var e=c.u.navigator.userAgent,t={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:c.u.cordova||c.u.phonegap,phonegap:c.u.cordova||c.u.phonegap},a=e.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),i=e.match(/(Android);?[\s\/]+([\d.]+)?/),n=e.match(/(iPad).*OS\s([\d_]+)/),s=e.match(/(iPod)(.*OS\s([\d_]+))?/),r=!n&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(a&&(t.os="windows",t.osVersion=a[2],t.windows=!0),i&&!a&&(t.os="android",t.osVersion=i[2],t.android=!0,t.androidChrome=e.toLowerCase().indexOf("chrome")>=0),(n||r||s)&&(t.os="ios",t.ios=!0),r&&!s&&(t.osVersion=r[2].replace(/_/g,"."),t.iphone=!0),n&&(t.osVersion=n[2].replace(/_/g,"."),t.ipad=!0),s&&(t.osVersion=s[3]?s[3].replace(/_/g,"."):null,t.iphone=!0),t.ios&&t.osVersion&&e.indexOf("Version/")>=0&&"10"===t.osVersion.split(".")[0]&&(t.osVersion=e.toLowerCase().split("version/")[1].split(" ")[0]),t.desktop=!(t.os||t.android||t.webView),t.webView=(r||n||s)&&e.match(/.*AppleWebKit(?!.*Safari)/i),t.os&&"ios"===t.os){var o=t.osVersion.split("."),l=c.t.querySelector('meta[name="viewport"]');t.minimalUi=!t.webView&&(s||r)&&(1*o[0]==7?1*o[1]>=1:1*o[0]>7)&&l&&l.getAttribute("content").indexOf("minimal-ui")>=0}return t.pixelRatio=c.u.devicePixelRatio||1,t}();function P(e){var t=this,a=t.touchEventsData,i=t.params,n=t.touches;if(!t.animating||!i.preventInteractionOnTransition){var s=e;if(s.originalEvent&&(s=s.originalEvent),a.isTouchEvent="touchstart"===s.type,(a.isTouchEvent||!("which"in s)||3!==s.which)&&!(!a.isTouchEvent&&"button"in s&&s.button>0||a.isTouched&&a.isMoved))if(i.noSwiping&&(0,d.$)(s.target).closest(i.noSwipingSelector?i.noSwipingSelector:".".concat(i.noSwipingClass))[0])t.allowClick=!0;else if(!i.swipeHandler||(0,d.$)(s).closest(i.swipeHandler)[0]){n.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,n.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var r=n.currentX,o=n.currentY,l=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,u=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(!l||!(r<=u||r>=c.u.screen.width-u)){if(m.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=r,n.startY=o,a.touchStartTime=m.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==s.type){var p=!0;(0,d.$)(s.target).is(a.formElements)&&(p=!1),c.t.activeElement&&(0,d.$)(c.t.activeElement).is(a.formElements)&&c.t.activeElement!==s.target&&c.t.activeElement.blur();var h=p&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||h)&&s.preventDefault()}t.emit("touchStart",s)}}}}function $(e){var t=this,a=t.touchEventsData,i=t.params,n=t.touches,s=t.rtlTranslate,r=e;if(r.originalEvent&&(r=r.originalEvent),a.isTouched){if(!a.isTouchEvent||"mousemove"!==r.type){var o="touchmove"===r.type?r.targetTouches[0].pageX:r.pageX,l="touchmove"===r.type?r.targetTouches[0].pageY:r.pageY;if(r.preventedByNestedSwiper)return n.startX=o,void(n.startY=l);if(!t.allowTouchMove)return t.allowClick=!1,void(a.isTouched&&(m.extend(n,{startX:o,startY:l,currentX:o,currentY:l}),a.touchStartTime=m.now()));if(a.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(t.isVertical()){if(l<n.startY&&t.translate<=t.maxTranslate()||l>n.startY&&t.translate>=t.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(o<n.startX&&t.translate<=t.maxTranslate()||o>n.startX&&t.translate>=t.minTranslate())return;if(a.isTouchEvent&&c.t.activeElement&&r.target===c.t.activeElement&&(0,d.$)(r.target).is(a.formElements))return a.isMoved=!0,void(t.allowClick=!1);if(a.allowTouchCallbacks&&t.emit("touchMove",r),!(r.targetTouches&&r.targetTouches.length>1)){n.currentX=o,n.currentY=l;var u=n.currentX-n.startX,p=n.currentY-n.startY;if(!(t.params.threshold&&Math.sqrt(Math.pow(u,2)+Math.pow(p,2))<t.params.threshold)){var h;if(void 0===a.isScrolling)t.isHorizontal()&&n.currentY===n.startY||t.isVertical()&&n.currentX===n.startX?a.isScrolling=!1:u*u+p*p>=25&&(h=180*Math.atan2(Math.abs(p),Math.abs(u))/Math.PI,a.isScrolling=t.isHorizontal()?h>i.touchAngle:90-h>i.touchAngle);if(a.isScrolling&&t.emit("touchMoveOpposite",r),void 0===a.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(a.startMoving=!0)),a.isScrolling)a.isTouched=!1;else if(a.startMoving){t.allowClick=!1,r.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&r.stopPropagation(),a.isMoved||(i.loop&&t.loopFix(),a.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!i.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",r)),t.emit("sliderMove",r),a.isMoved=!0;var v=t.isHorizontal()?u:p;n.diff=v,v*=i.touchRatio,s&&(v=-v),t.swipeDirection=v>0?"prev":"next",a.currentTranslate=v+a.startTranslate;var f=!0,g=i.resistanceRatio;if(i.touchReleaseOnEdges&&(g=0),v>0&&a.currentTranslate>t.minTranslate()?(f=!1,i.resistance&&(a.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+a.startTranslate+v,g))):v<0&&a.currentTranslate<t.maxTranslate()&&(f=!1,i.resistance&&(a.currentTranslate=t.maxTranslate()+1-Math.pow(t.maxTranslate()-a.startTranslate-v,g))),f&&(r.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),i.threshold>0){if(!(Math.abs(v)>i.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,a.currentTranslate=a.startTranslate,void(n.diff=t.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}i.followFinger&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&(0===a.velocities.length&&a.velocities.push({position:n[t.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:n[t.isHorizontal()?"currentX":"currentY"],time:m.now()})),t.updateProgress(a.currentTranslate),t.setTranslate(a.currentTranslate))}}}}}else a.startMoving&&a.isScrolling&&t.emit("touchMoveOpposite",r)}function z(e){var t=this,a=t.touchEventsData,i=t.params,n=t.touches,s=t.rtlTranslate,r=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",d),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&i.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);i.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,u=m.now(),p=u-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap",d),p<300&&u-a.lastClickTime>300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),a.clickTimeout=m.nextTick((function(){t&&!t.destroyed&&t.emit("click",d)}),300)),p<300&&u-a.lastClickTime<300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),t.emit("doubleTap",d))),a.lastClickTime=m.now(),m.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!a.isTouched||!a.isMoved||!t.swipeDirection||0===n.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,c=i.followFinger?s?t.translate:-t.translate:-a.currentTranslate,i.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(a.velocities.length>1){var h=a.velocities.pop(),v=a.velocities.pop(),f=h.position-v.position,g=h.time-v.time;t.velocity=f/g,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(g>150||m.now()-h.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var b=1e3*i.freeModeMomentumRatio,w=t.velocity*b,y=t.translate+w;s&&(y=-y);var x,E,T=!1,S=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(y<t.maxTranslate())i.freeModeMomentumBounce?(y+t.maxTranslate()<-S&&(y=t.maxTranslate()-S),x=t.maxTranslate(),T=!0,a.allowMomentumBounce=!0):y=t.maxTranslate(),i.loop&&i.centeredSlides&&(E=!0);else if(y>t.minTranslate())i.freeModeMomentumBounce?(y-t.minTranslate()>S&&(y=t.minTranslate()+S),x=t.minTranslate(),T=!0,a.allowMomentumBounce=!0):y=t.minTranslate(),i.loop&&i.centeredSlides&&(E=!0);else if(i.freeModeSticky){for(var C,M=0;M<l.length;M+=1)if(l[M]>-y){C=M;break}y=-(y=Math.abs(l[C]-y)<Math.abs(l[C-1]-y)||"next"===t.swipeDirection?l[C]:l[C-1])}if(E&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)b=s?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&T?(t.updateProgress(x),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,r.transitionEnd((function(){t&&!t.destroyed&&a.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),t.setTranslate(x),r.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(y),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,r.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();(!i.freeModeMomentum||p>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var k=0,P=t.slidesSizesGrid[0],$=0;$<o.length;$+=i.slidesPerGroup)void 0!==o[$+i.slidesPerGroup]?c>=o[$]&&c<o[$+i.slidesPerGroup]&&(k=$,P=o[$+i.slidesPerGroup]-o[$]):c>=o[$]&&(k=$,P=o[o.length-1]-o[o.length-2]);var z=(c-o[k])/P;if(p>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(z>=i.longSwipesRatio?t.slideTo(k+i.slidesPerGroup):t.slideTo(k)),"prev"===t.swipeDirection&&(z>1-i.longSwipesRatio?t.slideTo(k+i.slidesPerGroup):t.slideTo(k))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(k+i.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(k)}}}function I(){var e=this,t=e.params,a=e.el;if(!a||0!==a.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,n=e.allowSlidePrev,s=e.snapGrid;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var r=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=n,e.allowSlideNext=i,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}}function L(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}var D={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},O={update:y,translate:x,transition:E,slide:T,loop:S,grabCursor:C,manipulation:M,events:{attachEvents:function(){var e=this,t=e.params,a=e.touchEvents,i=e.el,n=e.wrapperEl;e.onTouchStart=P.bind(e),e.onTouchMove=$.bind(e),e.onTouchEnd=z.bind(e),e.onClick=L.bind(e);var s="container"===t.touchEventsTarget?i:n,r=!!t.nested;if(g.touch||!g.pointerEvents&&!g.prefixedPointerEvents){if(g.touch){var o=!("touchstart"!==a.start||!g.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};s.addEventListener(a.start,e.onTouchStart,o),s.addEventListener(a.move,e.onTouchMove,g.passiveListener?{passive:!1,capture:r}:r),s.addEventListener(a.end,e.onTouchEnd,o)}(t.simulateTouch&&!k.ios&&!k.android||t.simulateTouch&&!g.touch&&k.ios)&&(s.addEventListener("mousedown",e.onTouchStart,!1),c.t.addEventListener("mousemove",e.onTouchMove,r),c.t.addEventListener("mouseup",e.onTouchEnd,!1))}else s.addEventListener(a.start,e.onTouchStart,!1),c.t.addEventListener(a.move,e.onTouchMove,r),c.t.addEventListener(a.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&s.addEventListener("click",e.onClick,!0),e.on(k.ios||k.android?"resize orientationchange observerUpdate":"resize observerUpdate",I,!0)},detachEvents:function(){var e=this,t=e.params,a=e.touchEvents,i=e.el,n=e.wrapperEl,s="container"===t.touchEventsTarget?i:n,r=!!t.nested;if(g.touch||!g.pointerEvents&&!g.prefixedPointerEvents){if(g.touch){var o=!("onTouchStart"!==a.start||!g.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};s.removeEventListener(a.start,e.onTouchStart,o),s.removeEventListener(a.move,e.onTouchMove,r),s.removeEventListener(a.end,e.onTouchEnd,o)}(t.simulateTouch&&!k.ios&&!k.android||t.simulateTouch&&!g.touch&&k.ios)&&(s.removeEventListener("mousedown",e.onTouchStart,!1),c.t.removeEventListener("mousemove",e.onTouchMove,r),c.t.removeEventListener("mouseup",e.onTouchEnd,!1))}else s.removeEventListener(a.start,e.onTouchStart,!1),c.t.removeEventListener(a.move,e.onTouchMove,r),c.t.removeEventListener(a.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&s.removeEventListener("click",e.onClick,!0),e.off(k.ios||k.android?"resize orientationchange observerUpdate":"resize observerUpdate",I)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,a=e.initialized,i=e.loopedSlides,n=void 0===i?0:i,s=e.params,r=s.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var o=e.getBreakpoint(r);if(o&&e.currentBreakpoint!==o){var l=o in r?r[o]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=l[e];void 0!==t&&(l[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var d=l||e.originalParams,c=d.direction&&d.direction!==s.direction,u=s.loop&&(d.slidesPerView!==s.slidesPerView||c);c&&a&&e.changeDirection(),m.extend(e.params,d),m.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=o,u&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",d)}}},getBreakpoint:function(e){if(e){var t=!1,a=[];Object.keys(e).forEach((function(e){a.push(e)})),a.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var i=0;i<a.length;i+=1){var n=a[i];this.params.breakpointsInverse?n<=c.u.innerWidth&&(t=n):n>=c.u.innerWidth&&!t&&(t=n)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked;e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),t&&t!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}},classes:{addClasses:function(){var e=this,t=e.classNames,a=e.params,i=e.rtl,n=e.$el,s=[];s.push("initialized"),s.push(a.direction),a.freeMode&&s.push("free-mode"),g.flexbox||s.push("no-flexbox"),a.autoHeight&&s.push("autoheight"),i&&s.push("rtl"),a.slidesPerColumn>1&&s.push("multirow"),k.android&&s.push("android"),k.ios&&s.push("ios"),(b.isIE||b.isEdge)&&(g.pointerEvents||g.prefixedPointerEvents)&&s.push("wp8-".concat(a.direction)),s.forEach((function(e){t.push(a.containerModifierClass+e)})),n.addClass(t.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,a,i,n,s){var r;function o(){s&&s()}e.complete&&n?o():t?((r=new c.u.Image).onload=o,r.onerror=o,i&&(r.sizes=i),a&&(r.srcset=a),t&&(r.src=t)):o()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var a=0;a<e.imagesToLoad.length;a+=1){var i=e.imagesToLoad[a];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},A={},H=function(e){(0,n.Z)(a,e);var t=u(a);function a(){var e,n,r;(0,o.Z)(this,a);for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];1===c.length&&c[0].constructor&&c[0].constructor===Object?r=c[0]:(n=c[0],r=c[1]),r||(r={}),r=m.extend({},r),n&&!r.el&&(r.el=n),e=t.call(this,r),Object.keys(O).forEach((function(e){Object.keys(O[e]).forEach((function(t){a.prototype[t]||(a.prototype[t]=O[e][t])}))}));var p=(0,i.Z)(e);void 0===p.modules&&(p.modules={}),Object.keys(p.modules).forEach((function(e){var t=p.modules[e];if(t.params){var a=Object.keys(t.params)[0],i=t.params[a];if("object"!=typeof i||null===i)return;if(!(a in r)||!("enabled"in i))return;!0===r[a]&&(r[a]={enabled:!0}),"object"!=typeof r[a]||"enabled"in r[a]||(r[a].enabled=!0),r[a]||(r[a]={enabled:!1})}}));var h=m.extend({},D);p.useModulesParams(h),p.params=m.extend({},h,A,r),p.originalParams=m.extend({},p.params),p.passedParams=m.extend({},r),p.$=d.$;var v=(0,d.$)(p.params.el);if(!(n=v[0]))return(0,s.Z)(e,void 0);if(v.length>1){var f=[];return v.each((function(e,t){var i=m.extend({},r,{el:t});f.push(new a(i))})),(0,s.Z)(e,f)}n.swiper=p,v.data("swiper",p);var b,w,y=v.children(".".concat(p.params.wrapperClass));return m.extend(p,{$el:v,el:n,$wrapperEl:y,wrapperEl:y[0],classNames:[],slides:(0,d.$)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===p.params.direction},isVertical:function(){return"vertical"===p.params.direction},rtl:"rtl"===n.dir.toLowerCase()||"rtl"===v.css("direction"),rtlTranslate:"horizontal"===p.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===v.css("direction")),wrongRTL:"-webkit-box"===y.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:p.params.allowSlideNext,allowSlidePrev:p.params.allowSlidePrev,touchEvents:(b=["touchstart","touchmove","touchend"],w=["mousedown","mousemove","mouseup"],g.pointerEvents?w=["pointerdown","pointermove","pointerup"]:g.prefixedPointerEvents&&(w=["MSPointerDown","MSPointerMove","MSPointerUp"]),p.touchEventsTouch={start:b[0],move:b[1],end:b[2]},p.touchEventsDesktop={start:w[0],move:w[1],end:w[2]},g.touch||!p.params.simulateTouch?p.touchEventsTouch:p.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:m.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:p.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),p.useModules(),p.params.init&&p.init(),(0,s.Z)(e,p)}return(0,l.Z)(a,[{key:"slidesPerViewDynamic",value:function(){var e=this,t=e.params,a=e.slides,i=e.slidesGrid,n=e.size,s=e.activeIndex,r=1;if(t.centeredSlides){for(var o,l=a[s].swiperSlideSize,d=s+1;d<a.length;d+=1)a[d]&&!o&&(r+=1,(l+=a[d].swiperSlideSize)>n&&(o=!0));for(var c=s-1;c>=0;c-=1)a[c]&&!o&&(r+=1,(l+=a[c].swiperSlideSize)>n&&(o=!0))}else for(var u=s+1;u<a.length;u+=1)i[u]-i[s]<n&&(r+=1);return r}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,a=e.params;a.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||i(),a.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=e.rtlTranslate?-1*e.translate:e.translate,a=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this,i=a.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(a.$el.removeClass("".concat(a.params.containerModifierClass).concat(i," wp8-").concat(i)).addClass("".concat(a.params.containerModifierClass).concat(e)),(b.isIE||b.isEdge)&&(g.pointerEvents||g.prefixedPointerEvents)&&a.$el.addClass("".concat(a.params.containerModifierClass,"wp8-").concat(e)),a.params.direction=e,a.slides.each((function(t,a){"vertical"===e?a.style.width="":a.style.height=""})),a.emit("changeDirection"),t&&a.update()),a}},{key:"init",value:function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this,i=a.params,n=a.$el,s=a.$wrapperEl,r=a.slides;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),i.loop&&a.loopDestroy(),t&&(a.removeClasses(),n.removeAttr("style"),s.removeAttr("style"),r&&r.length&&r.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach((function(e){a.off(e)})),!1!==e&&(a.$el[0].swiper=null,a.$el.data("swiper",null),m.deleteProps(a)),a.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){m.extend(A,e)}},{key:"extendedDefaults",get:function(){return A}},{key:"defaults",get:function(){return D}},{key:"Class",get:function(){return w}},{key:"$",get:function(){return d.$}}]),a}(w),V={name:"device",proto:{device:k},static:{device:k}},B={name:"support",proto:{support:g},static:{support:g}},G={name:"browser",proto:{browser:b},static:{browser:b}},N={name:"resize",create:function(){var e=this;m.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){c.u.addEventListener("resize",this.resize.resizeHandler),c.u.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){c.u.removeEventListener("resize",this.resize.resizeHandler),c.u.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},X={func:c.u.MutationObserver||c.u.WebkitMutationObserver,attach:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this,i=X.func,n=new i((function(e){if(1!==e.length){var t=function(){a.emit("observerUpdate",e[0])};c.u.requestAnimationFrame?c.u.requestAnimationFrame(t):c.u.setTimeout(t,0)}else a.emit("observerUpdate",e[0])}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.observer.observers.push(n)},init:function(){var e=this;if(g.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;a<t.length;a+=1)e.observer.attach(t[a]);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=[]}},Y={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var e=this;m.extend(e,{observer:{init:X.init.bind(e),attach:X.attach.bind(e),destroy:X.destroy.bind(e),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},R={update:function(e){var t=this,a=t.params,i=a.slidesPerView,n=a.slidesPerGroup,s=a.centeredSlides,r=t.params.virtual,o=r.addSlidesBefore,l=r.addSlidesAfter,d=t.virtual,c=d.from,u=d.to,p=d.slides,h=d.slidesGrid,v=d.renderSlide,f=d.offset;t.updateActiveIndex();var g,b,w,y=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",s?(b=Math.floor(i/2)+n+o,w=Math.floor(i/2)+n+l):(b=i+(n-1)+o,w=n+l);var x=Math.max((y||0)-w,0),E=Math.min((y||0)+b,p.length-1),T=(t.slidesGrid[x]||0)-(t.slidesGrid[0]||0);function S(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(m.extend(t.virtual,{from:x,to:E,offset:T,slidesGrid:t.slidesGrid}),c===x&&u===E&&!e)return t.slidesGrid!==h&&T!==f&&t.slides.css(g,"".concat(T,"px")),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:T,from:x,to:E,slides:function(){for(var e=[],t=x;t<=E;t+=1)e.push(p[t]);return e}()}),void S();var C=[],M=[];if(e)t.$wrapperEl.find(".".concat(t.params.slideClass)).remove();else for(var k=c;k<=u;k+=1)(k<x||k>E)&&t.$wrapperEl.find(".".concat(t.params.slideClass,'[data-swiper-slide-index="').concat(k,'"]')).remove();for(var P=0;P<p.length;P+=1)P>=x&&P<=E&&(void 0===u||e?M.push(P):(P>u&&M.push(P),P<c&&C.push(P)));M.forEach((function(e){t.$wrapperEl.append(v(p[e],e))})),C.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(v(p[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,"".concat(T,"px")),S()},renderSlide:function(e,t){var a=this,i=a.params.virtual;if(i.cache&&a.virtual.cache[t])return a.virtual.cache[t];var n=i.renderSlide?(0,d.$)(i.renderSlide.call(a,e,t)):(0,d.$)('<div class="'.concat(a.params.slideClass,'" data-swiper-slide-index="').concat(t,'">').concat(e,"</div>"));return n.attr("data-swiper-slide-index")||n.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=n),n},appendSlide:function(e){var t=this;if("object"==typeof e&&"length"in e)for(var a=0;a<e.length;a+=1)e[a]&&t.virtual.slides.push(e[a]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide:function(e){var t=this,a=t.activeIndex,i=a+1,n=1;if(Array.isArray(e)){for(var s=0;s<e.length;s+=1)e[s]&&t.virtual.slides.unshift(e[s]);i=a+e.length,n=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var r=t.virtual.cache,o={};Object.keys(r).forEach((function(e){o[parseInt(e,10)+n]=r[e]})),t.virtual.cache=o}t.virtual.update(!0),t.slideTo(i,0)},removeSlide:function(e){var t=this;if(null!=e){var a=t.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<a&&(a-=1),a=Math.max(a,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<a&&(a-=1),a=Math.max(a,0);t.virtual.update(!0),t.slideTo(a,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},q={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;m.extend(e,{virtual:{update:R.update.bind(e),appendSlide:R.appendSlide.bind(e),prependSlide:R.prependSlide.bind(e),removeSlide:R.removeSlide.bind(e),removeAllSlides:R.removeAllSlides.bind(e),renderSlide:R.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push("".concat(e.params.containerModifierClass,"virtual"));var t={watchSlidesProgress:!0};m.extend(e.params,t),m.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},F={handle:function(e){var t=this,a=t.rtlTranslate,i=e;i.originalEvent&&(i=i.originalEvent);var n=i.keyCode||i.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===n||t.isVertical()&&40===n||34===n))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===n||t.isVertical()&&38===n||33===n))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||c.t.activeElement&&c.t.activeElement.nodeName&&("input"===c.t.activeElement.nodeName.toLowerCase()||"textarea"===c.t.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(33===n||34===n||37===n||39===n||38===n||40===n)){var s=!1;if(t.$el.parents(".".concat(t.params.slideClass)).length>0&&0===t.$el.parents(".".concat(t.params.slideActiveClass)).length)return;var r=c.u.innerWidth,o=c.u.innerHeight,l=t.$el.offset();a&&(l.left-=t.$el[0].scrollLeft);for(var d=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]],u=0;u<d.length;u+=1){var p=d[u];p[0]>=0&&p[0]<=r&&p[1]>=0&&p[1]<=o&&(s=!0)}if(!s)return}t.isHorizontal()?(33!==n&&34!==n&&37!==n&&39!==n||(i.preventDefault?i.preventDefault():i.returnValue=!1),(34!==n&&39!==n||a)&&(33!==n&&37!==n||!a)||t.slideNext(),(33!==n&&37!==n||a)&&(34!==n&&39!==n||!a)||t.slidePrev()):(33!==n&&34!==n&&38!==n&&40!==n||(i.preventDefault?i.preventDefault():i.returnValue=!1),34!==n&&40!==n||t.slideNext(),33!==n&&38!==n||t.slidePrev()),t.emit("keyPress",n)}},enable:function(){var e=this;e.keyboard.enabled||((0,d.$)(c.t).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this;e.keyboard.enabled&&((0,d.$)(c.t).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},W={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){var e=this;m.extend(e,{keyboard:{enabled:!1,enable:F.enable.bind(e),disable:F.disable.bind(e),handle:F.handle.bind(e)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var j={lastScrollTime:m.now(),event:c.u.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel",t=e in c.t;if(!t){var a=c.t.createElement("div");a.setAttribute(e,"return;"),t="function"==typeof a.onwheel}return!t&&c.t.implementation&&c.t.implementation.hasFeature&&!0!==c.t.implementation.hasFeature("","")&&(t=c.t.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,a=0,i=0,n=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=a,a=0),i=10*t,n=10*a,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||n)&&e.deltaMode&&(1===e.deltaMode?(i*=40,n*=40):(i*=800,n*=800)),i&&!t&&(t=i<1?-1:1),n&&!a&&(a=n<1?-1:1),{spinX:t,spinY:a,pixelX:i,pixelY:n}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,a=this,i=a.params.mousewheel;if(!a.mouseEntered&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var n=0,s=a.rtlTranslate?-1:1,r=j.normalize(t);if(i.forceToAxis)if(a.isHorizontal()){if(!(Math.abs(r.pixelX)>Math.abs(r.pixelY)))return!0;n=r.pixelX*s}else{if(!(Math.abs(r.pixelY)>Math.abs(r.pixelX)))return!0;n=r.pixelY}else n=Math.abs(r.pixelX)>Math.abs(r.pixelY)?-r.pixelX*s:-r.pixelY;if(0===n)return!0;if(i.invert&&(n=-n),a.params.freeMode){a.params.loop&&a.loopFix();var o=a.getTranslate()+n*i.sensitivity,l=a.isBeginning,d=a.isEnd;if(o>=a.minTranslate()&&(o=a.minTranslate()),o<=a.maxTranslate()&&(o=a.maxTranslate()),a.setTransition(0),a.setTranslate(o),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!l&&a.isBeginning||!d&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeModeSticky&&(clearTimeout(a.mousewheel.timeout),a.mousewheel.timeout=m.nextTick((function(){a.slideToClosest()}),300)),a.emit("scroll",t),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.autoplay.stop(),o===a.minTranslate()||o===a.maxTranslate())return!0}else{if(m.now()-a.mousewheel.lastScrollTime>60)if(n<0)if(a.isEnd&&!a.params.loop||a.animating){if(i.releaseOnEdges)return!0}else a.slideNext(),a.emit("scroll",t);else if(a.isBeginning&&!a.params.loop||a.animating){if(i.releaseOnEdges)return!0}else a.slidePrev(),a.emit("scroll",t);a.mousewheel.lastScrollTime=(new c.u.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},enable:function(){var e=this;if(!j.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=(0,d.$)(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(j.event,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this;if(!j.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=(0,d.$)(e.params.mousewheel.eventsTarged)),t.off(j.event,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},Z={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var a=e.navigation,i=a.$nextEl,n=a.$prevEl;n&&n.length>0&&(e.isBeginning?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),i&&i.length>0&&(e.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,a=this,i=a.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=(0,d.$)(i.nextEl),a.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length>1&&1===a.$el.find(i.nextEl).length&&(e=a.$el.find(i.nextEl))),i.prevEl&&(t=(0,d.$)(i.prevEl),a.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length>1&&1===a.$el.find(i.prevEl).length&&(t=a.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",a.navigation.onNextClick),t&&t.length>0&&t.on("click",a.navigation.onPrevClick),m.extend(a.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,a=t.$nextEl,i=t.$prevEl;a&&a.length&&(a.off("click",e.navigation.onNextClick),a.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}},_={update:function(){var e=this,t=e.rtl,a=e.params.pagination;if(a.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i,n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el,r=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((i=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>n-1-2*e.loopedSlides&&(i-=n-2*e.loopedSlides),i>r-1&&(i-=r),i<0&&"bullets"!==e.params.paginationType&&(i=r+i)):i=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,c,u=e.pagination.bullets;if(a.dynamicBullets&&(e.pagination.bulletSize=u.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),s.css(e.isHorizontal()?"width":"height","".concat(e.pagination.bulletSize*(a.dynamicMainBullets+4),"px")),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=i-e.previousIndex,e.pagination.dynamicBulletIndex>a.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=a.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=i-e.pagination.dynamicBulletIndex,c=((l=o+(Math.min(u.length,a.dynamicMainBullets)-1))+o)/2),u.removeClass("".concat(a.bulletActiveClass," ").concat(a.bulletActiveClass,"-next ").concat(a.bulletActiveClass,"-next-next ").concat(a.bulletActiveClass,"-prev ").concat(a.bulletActiveClass,"-prev-prev ").concat(a.bulletActiveClass,"-main")),s.length>1)u.each((function(e,t){var n=(0,d.$)(t),s=n.index();s===i&&n.addClass(a.bulletActiveClass),a.dynamicBullets&&(s>=o&&s<=l&&n.addClass("".concat(a.bulletActiveClass,"-main")),s===o&&n.prev().addClass("".concat(a.bulletActiveClass,"-prev")).prev().addClass("".concat(a.bulletActiveClass,"-prev-prev")),s===l&&n.next().addClass("".concat(a.bulletActiveClass,"-next")).next().addClass("".concat(a.bulletActiveClass,"-next-next")))}));else if(u.eq(i).addClass(a.bulletActiveClass),a.dynamicBullets){for(var p=u.eq(o),h=u.eq(l),v=o;v<=l;v+=1)u.eq(v).addClass("".concat(a.bulletActiveClass,"-main"));p.prev().addClass("".concat(a.bulletActiveClass,"-prev")).prev().addClass("".concat(a.bulletActiveClass,"-prev-prev")),h.next().addClass("".concat(a.bulletActiveClass,"-next")).next().addClass("".concat(a.bulletActiveClass,"-next-next"))}if(a.dynamicBullets){var f=Math.min(u.length,a.dynamicMainBullets+4),m=(e.pagination.bulletSize*f-e.pagination.bulletSize)/2-c*e.pagination.bulletSize,g=t?"right":"left";u.css(e.isHorizontal()?g:"top","".concat(m,"px"))}}if("fraction"===a.type&&(s.find(".".concat(a.currentClass)).text(a.formatFractionCurrent(i+1)),s.find(".".concat(a.totalClass)).text(a.formatFractionTotal(r))),"progressbar"===a.type){var b;b=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var w=(i+1)/r,y=1,x=1;"horizontal"===b?y=w:x=w,s.find(".".concat(a.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(y,") scaleY(").concat(x,")")).transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(s.html(a.renderCustom(e,i+1,r)),e.emit("paginationRender",e,s[0])):e.emit("paginationUpdate",e,s[0]),s[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](a.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,n="";if("bullets"===t.type){for(var s=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,r=0;r<s;r+=1)t.renderBullet?n+=t.renderBullet.call(e,r,t.bulletClass):n+="<".concat(t.bulletElement,' class="').concat(t.bulletClass,'"></').concat(t.bulletElement,">");i.html(n),e.pagination.bullets=i.find(".".concat(t.bulletClass))}"fraction"===t.type&&(n=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'.concat(t.currentClass,'"></span>')+" / "+'<span class="'.concat(t.totalClass,'"></span>'),i.html(n)),"progressbar"===t.type&&(n=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'.concat(t.progressbarFillClass,'"></span>'),i.html(n)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var a=(0,d.$)(t.el);0!==a.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&a.length>1&&1===e.$el.find(t.el).length&&(a=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&a.addClass(t.clickableClass),a.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(a.addClass("".concat(t.modifierClass).concat(t.type,"-dynamic")),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&a.addClass(t.progressbarOppositeClass),t.clickable&&a.on("click",".".concat(t.bulletClass),(function(t){t.preventDefault();var a=(0,d.$)(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)})),m.extend(e.pagination,{$el:a,el:a[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click",".".concat(t.bulletClass))}}},K={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=e.rtlTranslate,i=e.progress,n=t.dragSize,s=t.trackSize,r=t.$dragEl,o=t.$el,l=e.params.scrollbar,d=n,c=(s-n)*i;a?(c=-c)>0?(d=n-c,c=0):-c+n>s&&(d=s+c):c<0?(d=n+c,c=0):c+n>s&&(d=s-c),e.isHorizontal()?(g.transforms3d?r.transform("translate3d(".concat(c,"px, 0, 0)")):r.transform("translateX(".concat(c,"px)")),r[0].style.width="".concat(d,"px")):(g.transforms3d?r.transform("translate3d(0px, ".concat(c,"px, 0)")):r.transform("translateY(".concat(c,"px)")),r[0].style.height="".concat(d,"px")),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){o[0].style.opacity=0,o.transition(400)}),1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=t.$dragEl,i=t.$el;a[0].style.width="",a[0].style.height="";var n,s=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=e.size/e.virtualSize,o=r*(s/e.size);n="auto"===e.params.scrollbar.dragSize?s*r:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width="".concat(n,"px"):a[0].style.height="".concat(n,"px"),i[0].style.display=r>=1?"none":"",e.params.scrollbar.hide&&(i[0].style.opacity=0),m.extend(t,{trackSize:s,divider:r,moveDivider:o,dragSize:n}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,a=this,i=a.scrollbar,n=a.rtlTranslate,s=i.$el,r=i.dragSize,o=i.trackSize,l=i.dragStartPos;t=(i.getPointerPosition(e)-s.offset()[a.isHorizontal()?"left":"top"]-(null!==l?l:r/2))/(o-r),t=Math.max(Math.min(t,1),0),n&&(t=1-t);var d=a.minTranslate()+(a.maxTranslate()-a.minTranslate())*t;a.updateProgress(d),a.setTranslate(d),a.updateActiveIndex(),a.updateSlidesClasses()},onDragStart:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,n=t.$wrapperEl,s=i.$el,r=i.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),s.transition(0),a.hide&&s.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,a=t.scrollbar,i=t.$wrapperEl,n=a.$el,s=a.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),i.transition(0),n.transition(0),s.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,a.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=m.nextTick((function(){i.css("opacity",0),i.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.touchEventsTouch,i=e.touchEventsDesktop,n=e.params,s=t.$el[0],r=!(!g.passiveListener||!n.passiveListeners)&&{passive:!1,capture:!1},o=!(!g.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};g.touch?(s.addEventListener(a.start,e.scrollbar.onDragStart,r),s.addEventListener(a.move,e.scrollbar.onDragMove,r),s.addEventListener(a.end,e.scrollbar.onDragEnd,o)):(s.addEventListener(i.start,e.scrollbar.onDragStart,r),c.t.addEventListener(i.move,e.scrollbar.onDragMove,r),c.t.addEventListener(i.end,e.scrollbar.onDragEnd,o))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.touchEventsTouch,i=e.touchEventsDesktop,n=e.params,s=t.$el[0],r=!(!g.passiveListener||!n.passiveListeners)&&{passive:!1,capture:!1},o=!(!g.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};g.touch?(s.removeEventListener(a.start,e.scrollbar.onDragStart,r),s.removeEventListener(a.move,e.scrollbar.onDragMove,r),s.removeEventListener(a.end,e.scrollbar.onDragEnd,o)):(s.removeEventListener(i.start,e.scrollbar.onDragStart,r),c.t.removeEventListener(i.move,e.scrollbar.onDragMove,r),c.t.removeEventListener(i.end,e.scrollbar.onDragEnd,o))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.$el,i=e.params.scrollbar,n=(0,d.$)(i.el);e.params.uniqueNavElements&&"string"==typeof i.el&&n.length>1&&1===a.find(i.el).length&&(n=a.find(i.el));var s=n.find(".".concat(e.params.scrollbar.dragClass));0===s.length&&(s=(0,d.$)('<div class="'.concat(e.params.scrollbar.dragClass,'"></div>')),n.append(s)),m.extend(t,{$el:n,el:n[0],$dragEl:s,dragEl:s[0]}),i.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},U={setTransform:function(e,t){var a=this.rtl,i=(0,d.$)(e),n=a?-1:1,s=i.attr("data-swiper-parallax")||"0",r=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y"),l=i.attr("data-swiper-parallax-scale"),c=i.attr("data-swiper-parallax-opacity");if(r||o?(r=r||"0",o=o||"0"):this.isHorizontal()?(r=s,o="0"):(o=s,r="0"),r=r.indexOf("%")>=0?"".concat(parseInt(r,10)*t*n,"%"):"".concat(r*t*n,"px"),o=o.indexOf("%")>=0?"".concat(parseInt(o,10)*t,"%"):"".concat(o*t,"px"),null!=c){var u=c-(c-1)*(1-Math.abs(t));i[0].style.opacity=u}if(null==l)i.transform("translate3d(".concat(r,", ").concat(o,", 0px)"));else{var p=l-(l-1)*(1-Math.abs(t));i.transform("translate3d(".concat(r,", ").concat(o,", 0px) scale(").concat(p,")"))}},setTranslate:function(){var e=this,t=e.$el,a=e.slides,i=e.progress,n=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,a){e.parallax.setTransform(a,i)})),a.each((function(t,a){var s=a.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(s+=Math.ceil(t/2)-i*(n.length-1)),s=Math.min(Math.max(s,-1),1),(0,d.$)(a).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,a){e.parallax.setTransform(a,s)}))}))},setTransition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=this,a=t.$el;a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,a){var i=(0,d.$)(a),n=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),i.transition(n)}))}},J={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,n=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(n-a,2))},onGestureStart:function(e){var t=this,a=t.params.zoom,i=t.zoom,n=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!g.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,n.scaleStart=J.getDistanceBetweenTouches(e)}n.$slideEl&&n.$slideEl.length||(n.$slideEl=(0,d.$)(e.target).closest(".swiper-slide"),0===n.$slideEl.length&&(n.$slideEl=t.slides.eq(t.activeIndex)),n.$imageEl=n.$slideEl.find("img, svg, canvas"),n.$imageWrapEl=n.$imageEl.parent(".".concat(a.containerClass)),n.maxRatio=n.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==n.$imageWrapEl.length)?(n.$imageEl.transition(0),t.zoom.isScaling=!0):n.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,a=this.zoom,i=a.gesture;if(!g.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.fakeGestureMoved=!0,i.scaleMove=J.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(a.scale=g.gestures?e.scale*a.currentScale:i.scaleMove/i.scaleStart*a.currentScale,a.scale>i.maxRatio&&(a.scale=i.maxRatio-1+Math.pow(a.scale-i.maxRatio+1,.5)),a.scale<t.minRatio&&(a.scale=t.minRatio+1-Math.pow(t.minRatio-a.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale(".concat(a.scale,")")))},onGestureEnd:function(e){var t=this,a=t.params.zoom,i=t.zoom,n=i.gesture;if(!g.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!k.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,n.maxRatio),a.minRatio),n.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale(".concat(i.scale,")")),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(n.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,a=t.gesture,i=t.image;a.$imageEl&&0!==a.$imageEl.length&&(i.isTouched||(k.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,a=t.zoom,i=a.gesture,n=a.image,s=a.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(t.allowClick=!1,n.isTouched&&i.$slideEl)){n.isMoved||(n.width=i.$imageEl[0].offsetWidth,n.height=i.$imageEl[0].offsetHeight,n.startX=m.getTranslate(i.$imageWrapEl[0],"x")||0,n.startY=m.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var r=n.width*a.scale,o=n.height*a.scale;if(!(r<i.slideWidth&&o<i.slideHeight)){if(n.minX=Math.min(i.slideWidth/2-r/2,0),n.maxX=-n.minX,n.minY=Math.min(i.slideHeight/2-o/2,0),n.maxY=-n.minY,n.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!n.isMoved&&!a.isScaling){if(t.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),s.prevPositionX||(s.prevPositionX=n.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=n.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(n.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(n.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(n.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(n.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=n.touchesCurrent.x,s.prevPositionY=n.touchesCurrent.y,s.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d(".concat(n.currentX,"px, ").concat(n.currentY,"px,0)"))}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,a=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!a.isTouched||!a.isMoved)return a.isTouched=!1,void(a.isMoved=!1);a.isTouched=!1,a.isMoved=!1;var n=300,s=300,r=i.x*n,o=a.currentX+r,l=i.y*s,d=a.currentY+l;0!==i.x&&(n=Math.abs((o-a.currentX)/i.x)),0!==i.y&&(s=Math.abs((d-a.currentY)/i.y));var c=Math.max(n,s);a.currentX=o,a.currentY=d;var u=a.width*e.scale,p=a.height*e.scale;a.minX=Math.min(t.slideWidth/2-u/2,0),a.maxX=-a.minX,a.minY=Math.min(t.slideHeight/2-p/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),t.$imageWrapEl.transition(c).transform("translate3d(".concat(a.currentX,"px, ").concat(a.currentY,"px,0)"))}},onTransitionEnd:function(){var e=this,t=e.zoom,a=t.gesture;a.$slideEl&&e.previousIndex!==e.activeIndex&&(a.$imageEl.transform("translate3d(0,0,0) scale(1)"),a.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,a.$slideEl=void 0,a.$imageEl=void 0,a.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,a,i,n,s,r,o,l,c,u,p,h,v,f,m,g,b=this,w=b.zoom,y=b.params.zoom,x=w.gesture,E=w.image;(x.$slideEl||(x.$slideEl=b.clickedSlide?(0,d.$)(b.clickedSlide):b.slides.eq(b.activeIndex),x.$imageEl=x.$slideEl.find("img, svg, canvas"),x.$imageWrapEl=x.$imageEl.parent(".".concat(y.containerClass))),x.$imageEl&&0!==x.$imageEl.length)&&(x.$slideEl.addClass("".concat(y.zoomedSlideClass)),void 0===E.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,a="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=E.touchesStart.x,a=E.touchesStart.y),w.scale=x.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,w.currentScale=x.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(m=x.$slideEl[0].offsetWidth,g=x.$slideEl[0].offsetHeight,i=x.$slideEl.offset().left+m/2-t,n=x.$slideEl.offset().top+g/2-a,o=x.$imageEl[0].offsetWidth,l=x.$imageEl[0].offsetHeight,c=o*w.scale,u=l*w.scale,v=-(p=Math.min(m/2-c/2,0)),f=-(h=Math.min(g/2-u/2,0)),(s=i*w.scale)<p&&(s=p),s>v&&(s=v),(r=n*w.scale)<h&&(r=h),r>f&&(r=f)):(s=0,r=0),x.$imageWrapEl.transition(300).transform("translate3d(".concat(s,"px, ").concat(r,"px,0)")),x.$imageEl.transition(300).transform("translate3d(0,0,0) scale(".concat(w.scale,")")))},out:function(){var e=this,t=e.zoom,a=e.params.zoom,i=t.gesture;i.$slideEl||(i.$slideEl=e.clickedSlide?(0,d.$)(e.clickedSlide):e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent(".".concat(a.containerClass))),i.$imageEl&&0!==i.$imageEl.length&&(t.scale=1,t.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass("".concat(a.zoomedSlideClass)),i.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var a=!("touchstart"!==e.touchEvents.start||!g.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};g.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.on(e.touchEvents.move,".".concat(e.params.zoom.containerClass),t.onTouchMove)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var a=!("touchstart"!==e.touchEvents.start||!g.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};g.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.off(e.touchEvents.move,".".concat(e.params.zoom.containerClass),t.onTouchMove)}}},Q={loadInSlide:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this,i=a.params.lazy;if(void 0!==e&&0!==a.slides.length){var n=a.virtual&&a.params.virtual.enabled,s=n?a.$wrapperEl.children(".".concat(a.params.slideClass,'[data-swiper-slide-index="').concat(e,'"]')):a.slides.eq(e),r=s.find(".".concat(i.elementClass,":not(.").concat(i.loadedClass,"):not(.").concat(i.loadingClass,")"));!s.hasClass(i.elementClass)||s.hasClass(i.loadedClass)||s.hasClass(i.loadingClass)||(r=r.add(s[0])),0!==r.length&&r.each((function(e,n){var r=(0,d.$)(n);r.addClass(i.loadingClass);var o=r.attr("data-background"),l=r.attr("data-src"),c=r.attr("data-srcset"),u=r.attr("data-sizes");a.loadImage(r[0],l||o,c,u,!1,(function(){if(null!=a&&a&&(!a||a.params)&&!a.destroyed){if(o?(r.css("background-image",'url("'.concat(o,'")')),r.removeAttr("data-background")):(c&&(r.attr("srcset",c),r.removeAttr("data-srcset")),u&&(r.attr("sizes",u),r.removeAttr("data-sizes")),l&&(r.attr("src",l),r.removeAttr("data-src"))),r.addClass(i.loadedClass).removeClass(i.loadingClass),s.find(".".concat(i.preloaderClass)).remove(),a.params.loop&&t){var e=s.attr("data-swiper-slide-index");if(s.hasClass(a.params.slideDuplicateClass)){var n=a.$wrapperEl.children('[data-swiper-slide-index="'.concat(e,'"]:not(.').concat(a.params.slideDuplicateClass,")"));a.lazy.loadInSlide(n.index(),!1)}else{var d=a.$wrapperEl.children(".".concat(a.params.slideDuplicateClass,'[data-swiper-slide-index="').concat(e,'"]'));a.lazy.loadInSlide(d.index(),!1)}}a.emit("lazyImageReady",s[0],r[0])}})),a.emit("lazyImageLoad",s[0],r[0])}))}},load:function(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides,n=e.activeIndex,s=e.virtual&&a.virtual.enabled,r=a.lazy,o=a.slidesPerView;function l(e){if(s){if(t.children(".".concat(a.slideClass,'[data-swiper-slide-index="').concat(e,'"]')).length)return!0}else if(i[e])return!0;return!1}function c(e){return s?(0,d.$)(e).attr("data-swiper-slide-index"):(0,d.$)(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children(".".concat(a.slideVisibleClass)).each((function(t,a){var i=s?(0,d.$)(a).attr("data-swiper-slide-index"):(0,d.$)(a).index();e.lazy.loadInSlide(i)}));else if(o>1)for(var u=n;u<n+o;u+=1)l(u)&&e.lazy.loadInSlide(u);else e.lazy.loadInSlide(n);if(r.loadPrevNext)if(o>1||r.loadPrevNextAmount&&r.loadPrevNextAmount>1){for(var p=r.loadPrevNextAmount,h=o,v=Math.min(n+h+Math.max(p,h),i.length),f=Math.max(n-Math.max(h,p),0),m=n+o;m<v;m+=1)l(m)&&e.lazy.loadInSlide(m);for(var g=f;g<n;g+=1)l(g)&&e.lazy.loadInSlide(g)}else{var b=t.children(".".concat(a.slideNextClass));b.length>0&&e.lazy.loadInSlide(c(b));var w=t.children(".".concat(a.slidePrevClass));w.length>0&&e.lazy.loadInSlide(c(w))}}},ee={LinearSpline:function(e,t){var a,i,n,s,r,o=function(e,t){for(i=-1,a=e.length;a-i>1;)e[n=a+i>>1]<=t?i=n:a=n;return a};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(r=o(this.x,e),s=r-1,(e-this.x[s])*(this.y[r]-this.y[s])/(this.x[r]-this.x[s])+this.y[s]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new ee.LinearSpline(t.slidesGrid,e.slidesGrid):new ee.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var a,i,n=this,s=n.controller.control;function r(e){var t=n.rtlTranslate?-n.translate:n.translate;"slide"===n.params.controller.by&&(n.controller.getInterpolateFunction(e),i=-n.controller.spline.interpolate(-t)),i&&"container"!==n.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(n.maxTranslate()-n.minTranslate()),i=(t-n.minTranslate())*a+e.minTranslate()),n.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,n),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(s))for(var o=0;o<s.length;o+=1)s[o]!==t&&s[o]instanceof H&&r(s[o]);else s instanceof H&&t!==s&&r(s)},setTransition:function(e,t){var a,i=this,n=i.controller.control;function s(t){t.setTransition(e,i),0!==e&&(t.transitionStart(),t.params.autoHeight&&m.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){n&&(t.params.loop&&"slide"===i.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(n))for(a=0;a<n.length;a+=1)n[a]!==t&&n[a]instanceof H&&s(n[a]);else n instanceof H&&t!==n&&s(n)}},te={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,a=t.params.a11y;if(13===e.keyCode){var i=(0,d.$)(e.target);t.navigation&&t.navigation.$nextEl&&i.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(a.lastSlideMessage):t.a11y.notify(a.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&i.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(a.firstSlideMessage):t.a11y.notify(a.prevSlideMessage)),t.pagination&&i.is(".".concat(t.params.pagination.bulletClass))&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,a=t.$nextEl,i=t.$prevEl;i&&i.length>0&&(e.isBeginning?e.a11y.disableEl(i):e.a11y.enableEl(i)),a&&a.length>0&&(e.isEnd?e.a11y.disableEl(a):e.a11y.enableEl(a))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(a,i){var n=(0,d.$)(i);e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,t.paginationBulletMessage.replace(/{{index}}/,n.index()+1))}))},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,a,i=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,i.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),a&&(e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,i.prevSlideMessage),a.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown",".".concat(e.params.pagination.bulletClass),e.a11y.onEnterKey)},destroy:function(){var e,t,a=this;a.a11y.liveRegion&&a.a11y.liveRegion.length>0&&a.a11y.liveRegion.remove(),a.navigation&&a.navigation.$nextEl&&(e=a.navigation.$nextEl),a.navigation&&a.navigation.$prevEl&&(t=a.navigation.$prevEl),e&&e.off("keydown",a.a11y.onEnterKey),t&&t.off("keydown",a.a11y.onEnterKey),a.pagination&&a.params.pagination.clickable&&a.pagination.bullets&&a.pagination.bullets.length&&a.pagination.$el.off("keydown",".".concat(a.params.pagination.bulletClass),a.a11y.onEnterKey)}},ae={init:function(){var e=this;if(e.params.history){if(!c.u.history||!c.u.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var t=e.history;t.initialized=!0,t.paths=ae.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||c.u.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||c.u.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=ae.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(){var e=c.u.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){var a=this;if(a.history.initialized&&a.params.history.enabled){var i=a.slides.eq(t),n=ae.slugify(i.attr("data-history"));c.u.location.pathname.includes(e)||(n="".concat(e,"/").concat(n));var s=c.u.history.state;s&&s.value===n||(a.params.history.replaceState?c.u.history.replaceState({value:n},null,n):c.u.history.pushState({value:n},null,n))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,a){var i=this;if(t)for(var n=0,s=i.slides.length;n<s;n+=1){var r=i.slides.eq(n);if(ae.slugify(r.attr("data-history"))===t&&!r.hasClass(i.params.slideDuplicateClass)){var o=r.index();i.slideTo(o,e,a)}}else i.slideTo(0,e,a)}},ie={onHashCange:function(){var e=this,t=c.t.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){var a=e.$wrapperEl.children(".".concat(e.params.slideClass,'[data-hash="').concat(t,'"]')).index();if(void 0===a)return;e.slideTo(a)}},setHash:function(){var e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&c.u.history&&c.u.history.replaceState)c.u.history.replaceState(null,null,"#".concat(e.slides.eq(e.activeIndex).attr("data-hash"))||0);else{var t=e.slides.eq(e.activeIndex),a=t.attr("data-hash")||t.attr("data-history");c.t.location.hash=a||""}},init:function(){var e=this;if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var t=c.t.location.hash.replace("#","");if(t)for(var a=0,i=e.slides.length;a<i;a+=1){var n=e.slides.eq(a);if((n.attr("data-hash")||n.attr("data-history"))===t&&!n.hasClass(e.params.slideDuplicateClass)){var s=n.index();e.slideTo(s,0,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&(0,d.$)(c.u).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&(0,d.$)(c.u).off("hashchange",this.hashNavigation.onHashCange)}},ne={run:function(){var e=this,t=e.slides.eq(e.activeIndex),a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=m.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),a)},start:function(){var e=this;return void 0===e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop:function(){var e=this;return!!e.autoplay.running&&(void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},se={setTranslate:function(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1){var i=e.slides.eq(a),n=-i[0].swiperSlideOffset;e.params.virtualTranslate||(n-=e.translate);var s=0;e.isHorizontal()||(s=n,n=0);var r=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:r}).transform("translate3d(".concat(n,"px, ").concat(s,"px, 0px)"))}},setTransition:function(e){var t=this,a=t.slides,i=t.$wrapperEl;if(a.transition(e),t.params.virtualTranslate&&0!==e){var n=!1;a.transitionEnd((function(){if(!n&&t&&!t.destroyed){n=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a<e.length;a+=1)i.trigger(e[a])}}))}}},re={setTranslate:function(){var e,t=this,a=t.$el,i=t.$wrapperEl,n=t.slides,s=t.width,r=t.height,o=t.rtlTranslate,l=t.size,c=t.params.cubeEffect,u=t.isHorizontal(),p=t.virtual&&t.params.virtual.enabled,h=0;c.shadow&&(u?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=(0,d.$)('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:"".concat(s,"px")})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=(0,d.$)('<div class="swiper-cube-shadow"></div>'),a.append(e)));for(var v=0;v<n.length;v+=1){var f=n.eq(v),m=v;p&&(m=parseInt(f.attr("data-swiper-slide-index"),10));var g=90*m,w=Math.floor(g/360);o&&(g=-g,w=Math.floor(-g/360));var y=Math.max(Math.min(f[0].progress,1),-1),x=0,E=0,T=0;m%4==0?(x=4*-w*l,T=0):(m-1)%4==0?(x=0,T=4*-w*l):(m-2)%4==0?(x=l+4*w*l,T=l):(m-3)%4==0&&(x=-l,T=3*l+4*l*w),o&&(x=-x),u||(E=x,x=0);var S="rotateX(".concat(u?0:-g,"deg) rotateY(").concat(u?g:0,"deg) translate3d(").concat(x,"px, ").concat(E,"px, ").concat(T,"px)");if(y<=1&&y>-1&&(h=90*m+90*y,o&&(h=90*-m-90*y)),f.transform(S),c.slideShadows){var C=u?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),M=u?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===C.length&&(C=(0,d.$)('<div class="swiper-slide-shadow-'.concat(u?"left":"top",'"></div>')),f.append(C)),0===M.length&&(M=(0,d.$)('<div class="swiper-slide-shadow-'.concat(u?"right":"bottom",'"></div>')),f.append(M)),C.length&&(C[0].style.opacity=Math.max(-y,0)),M.length&&(M[0].style.opacity=Math.max(y,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -".concat(l/2,"px"),"-moz-transform-origin":"50% 50% -".concat(l/2,"px"),"-ms-transform-origin":"50% 50% -".concat(l/2,"px"),"transform-origin":"50% 50% -".concat(l/2,"px")}),c.shadow)if(u)e.transform("translate3d(0px, ".concat(s/2+c.shadowOffset,"px, ").concat(-s/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(c.shadowScale,")"));else{var k=Math.abs(h)-90*Math.floor(Math.abs(h)/90),P=1.5-(Math.sin(2*k*Math.PI/360)/2+Math.cos(2*k*Math.PI/360)/2),$=c.shadowScale,z=c.shadowScale/P,I=c.shadowOffset;e.transform("scale3d(".concat($,", 1, ").concat(z,") translate3d(0px, ").concat(r/2+I,"px, ").concat(-r/2/z,"px) rotateX(-90deg)"))}var L=b.isSafari||b.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,".concat(L,"px) rotateX(").concat(t.isHorizontal()?0:h,"deg) rotateY(").concat(t.isHorizontal()?-h:0,"deg)"))},setTransition:function(e){var t=this,a=t.$el;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&a.find(".swiper-cube-shadow").transition(e)}},oe={setTranslate:function(){for(var e=this,t=e.slides,a=e.rtlTranslate,i=0;i<t.length;i+=1){var n=t.eq(i),s=n[0].progress;e.params.flipEffect.limitRotation&&(s=Math.max(Math.min(n[0].progress,1),-1));var r=-180*s,o=0,l=-n[0].swiperSlideOffset,c=0;if(e.isHorizontal()?a&&(r=-r):(c=l,l=0,o=-r,r=0),n[0].style.zIndex=-Math.abs(Math.round(s))+t.length,e.params.flipEffect.slideShadows){var u=e.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),p=e.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom");0===u.length&&(u=(0,d.$)('<div class="swiper-slide-shadow-'.concat(e.isHorizontal()?"left":"top",'"></div>')),n.append(u)),0===p.length&&(p=(0,d.$)('<div class="swiper-slide-shadow-'.concat(e.isHorizontal()?"right":"bottom",'"></div>')),n.append(p)),u.length&&(u[0].style.opacity=Math.max(-s,0)),p.length&&(p[0].style.opacity=Math.max(s,0))}n.transform("translate3d(".concat(l,"px, ").concat(c,"px, 0px) rotateX(").concat(o,"deg) rotateY(").concat(r,"deg)"))}},setTransition:function(e){var t=this,a=t.slides,i=t.activeIndex,n=t.$wrapperEl;if(a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var s=!1;a.eq(i).transitionEnd((function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a<e.length;a+=1)n.trigger(e[a])}}))}}},le={setTranslate:function(){for(var e=this,t=e.width,a=e.height,i=e.slides,n=e.$wrapperEl,s=e.slidesSizesGrid,r=e.params.coverflowEffect,o=e.isHorizontal(),l=e.translate,c=o?t/2-l:a/2-l,u=o?r.rotate:-r.rotate,p=r.depth,h=0,v=i.length;h<v;h+=1){var f=i.eq(h),m=s[h],b=(c-f[0].swiperSlideOffset-m/2)/m*r.modifier,w=o?u*b:0,y=o?0:u*b,x=-p*Math.abs(b),E=o?0:r.stretch*b,T=o?r.stretch*b:0;Math.abs(T)<.001&&(T=0),Math.abs(E)<.001&&(E=0),Math.abs(x)<.001&&(x=0),Math.abs(w)<.001&&(w=0),Math.abs(y)<.001&&(y=0);var S="translate3d(".concat(T,"px,").concat(E,"px,").concat(x,"px) rotateX(").concat(y,"deg) rotateY(").concat(w,"deg)");if(f.transform(S),f[0].style.zIndex=1-Math.abs(Math.round(b)),r.slideShadows){var C=o?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),M=o?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===C.length&&(C=(0,d.$)('<div class="swiper-slide-shadow-'.concat(o?"left":"top",'"></div>')),f.append(C)),0===M.length&&(M=(0,d.$)('<div class="swiper-slide-shadow-'.concat(o?"right":"bottom",'"></div>')),f.append(M)),C.length&&(C[0].style.opacity=b>0?b:0),M.length&&(M[0].style.opacity=-b>0?-b:0)}}(g.pointerEvents||g.prefixedPointerEvents)&&(n[0].style.perspectiveOrigin="".concat(c,"px 50%"))},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},de={init:function(){var e=this,t=e.params.thumbs,a=e.constructor;t.swiper instanceof a?(e.thumbs.swiper=t.swiper,m.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),m.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):m.isObject(t.swiper)&&(e.thumbs.swiper=new a(m.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var a=t.clickedIndex,i=t.clickedSlide;if(!(i&&(0,d.$)(i).hasClass(e.params.thumbs.slideThumbActiveClass)||null==a)){var n;if(n=t.params.loop?parseInt((0,d.$)(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){var s=e.activeIndex;e.slides.eq(s).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,s=e.activeIndex);var r=e.slides.eq(s).prevAll('[data-swiper-slide-index="'.concat(n,'"]')).eq(0).index(),o=e.slides.eq(s).nextAll('[data-swiper-slide-index="'.concat(n,'"]')).eq(0).index();n=void 0===r?o:void 0===o?r:o-s<s-r?o:r}e.slideTo(n)}}},update:function(e){var t=this,a=t.thumbs.swiper;if(a){var i="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():a.params.slidesPerView;if(t.realIndex!==a.realIndex){var n,s=a.activeIndex;if(a.params.loop){a.slides.eq(s).hasClass(a.params.slideDuplicateClass)&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,s=a.activeIndex);var r=a.slides.eq(s).prevAll('[data-swiper-slide-index="'.concat(t.realIndex,'"]')).eq(0).index(),o=a.slides.eq(s).nextAll('[data-swiper-slide-index="'.concat(t.realIndex,'"]')).eq(0).index();n=void 0===r?o:void 0===o?r:o-s==s-r?s:o-s<s-r?o:r}else n=t.realIndex;a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(n)<0&&(a.params.centeredSlides?n=n>s?n-Math.floor(i/2)+1:n+Math.floor(i/2)-1:n>s&&(n=n-i+1),a.slideTo(n,e?0:void 0))}var l=1,d=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(l=t.params.slidesPerView),a.slides.removeClass(d),a.params.loop||a.params.virtual)for(var c=0;c<l;c+=1)a.$wrapperEl.children('[data-swiper-slide-index="'.concat(t.realIndex+c,'"]')).addClass(d);else for(var u=0;u<l;u+=1)a.slides.eq(t.realIndex+u).addClass(d)}}},ce=[V,B,G,N,Y,q,W,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;m.extend(e,{mousewheel:{enabled:!1,enable:j.enable.bind(e),disable:j.disable.bind(e),handle:j.handle.bind(e),handleMouseEnter:j.handleMouseEnter.bind(e),handleMouseLeave:j.handleMouseLeave.bind(e),lastScrollTime:m.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;m.extend(e,{navigation:{init:Z.init.bind(e),update:Z.update.bind(e),destroy:Z.destroy.bind(e),onNextClick:Z.onNextClick.bind(e),onPrevClick:Z.onPrevClick.bind(e)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,a=this,i=a.navigation,n=i.$nextEl,s=i.$prevEl;!a.params.navigation.hideOnClick||(0,d.$)(e.target).is(s)||(0,d.$)(e.target).is(n)||(n?t=n.hasClass(a.params.navigation.hiddenClass):s&&(t=s.hasClass(a.params.navigation.hiddenClass)),!0===t?a.emit("navigationShow",a):a.emit("navigationHide",a),n&&n.toggleClass(a.params.navigation.hiddenClass),s&&s.toggleClass(a.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var e=this;m.extend(e,{pagination:{init:_.init.bind(e),render:_.render.bind(e),update:_.update.bind(e),destroy:_.destroy.bind(e),dynamicBulletIndex:0}})},on:{init:function(){var e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(){var e=this;(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){var e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(){var e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){var t=this;t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!(0,d.$)(e.target).hasClass(t.params.pagination.bulletClass)&&(!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;m.extend(e,{scrollbar:{init:K.init.bind(e),destroy:K.destroy.bind(e),updateSize:K.updateSize.bind(e),setTranslate:K.setTranslate.bind(e),setTransition:K.setTransition.bind(e),enableDraggable:K.enableDraggable.bind(e),disableDraggable:K.disableDraggable.bind(e),setDragPosition:K.setDragPosition.bind(e),getPointerPosition:K.getPointerPosition.bind(e),onDragStart:K.onDragStart.bind(e),onDragMove:K.onDragMove.bind(e),onDragEnd:K.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){var e=this;m.extend(e,{parallax:{setTransform:U.setTransform.bind(e),setTranslate:U.setTranslate.bind(e),setTransition:U.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(a){t[a]=J[a].bind(e)})),m.extend(e,{zoom:t});var a=1;Object.defineProperty(e.zoom,"scale",{get:function(){return a},set:function(t){if(a!==t){var i=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,n=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,i,n)}a=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){var t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd:function(){var e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var e=this;m.extend(e,{lazy:{initialImageLoaded:!1,load:Q.load.bind(e),loadInSlide:Q.loadInSlide.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(){var e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(){var e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){var e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;m.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:ee.getInterpolateFunction.bind(e),setTranslate:ee.setTranslate.bind(e),setTransition:ee.setTransition.bind(e)}})},on:{update:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;m.extend(e,{a11y:{liveRegion:(0,d.$)('<span class="'.concat(e.params.a11y.notificationClass,'" aria-live="assertive" aria-atomic="true"></span>'))}}),Object.keys(te).forEach((function(t){e.a11y[t]=te[t].bind(e)}))},on:{init:function(){var e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;m.extend(e,{history:{init:ae.init.bind(e),setHistory:ae.setHistory.bind(e),setHistoryPopState:ae.setHistoryPopState.bind(e),scrollToSlide:ae.scrollToSlide.bind(e),destroy:ae.destroy.bind(e)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){var e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;m.extend(e,{hashNavigation:{initialized:!1,init:ie.init.bind(e),destroy:ie.destroy.bind(e),setHash:ie.setHash.bind(e),onHashCange:ie.onHashCange.bind(e)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;m.extend(e,{autoplay:{running:!1,paused:!1,run:ne.run.bind(e),start:ne.start.bind(e),stop:ne.stop.bind(e),pause:ne.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){var a=this;a.autoplay.running&&(t||!a.params.autoplay.disableOnInteraction?a.autoplay.pause(e):a.autoplay.stop())},sliderFirstMove:function(){var e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){var e=this;m.extend(e,{fadeEffect:{setTranslate:se.setTranslate.bind(e),setTransition:se.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("fade"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"fade"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var e=this;m.extend(e,{cubeEffect:{setTranslate:re.setTranslate.bind(e),setTransition:re.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"cube")),e.classNames.push("".concat(e.params.containerModifierClass,"3d"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){var e=this;m.extend(e,{flipEffect:{setTranslate:oe.setTranslate.bind(e),setTransition:oe.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("flip"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"flip")),e.classNames.push("".concat(e.params.containerModifierClass,"3d"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};m.extend(e.params,t),m.extend(e.originalParams,t)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){var e=this;m.extend(e,{coverflowEffect:{setTranslate:le.setTranslate.bind(e),setTransition:le.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push("".concat(e.params.containerModifierClass,"coverflow")),e.classNames.push("".concat(e.params.containerModifierClass,"3d")),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){var e=this;m.extend(e,{thumbs:{swiper:null,init:de.init.bind(e),update:de.update.bind(e),onThumbClick:de.onThumbClick.bind(e)}})},on:{beforeInit:function(){var e=this,t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];void 0===H.use&&(H.use=H.Class.use,H.installModule=H.Class.installModule),H.use(ce),t.Z=H},402:function(e){e.exports=window.wp.a11y},531:function(e){e.exports=window.wp.domReady},950:function(e){e.exports=window.wp.escapeHtml},163:function(e){e.exports=window.wp.i18n}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,a),s.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};!function(){a.r(i);a(855)}(),window.EditingToolkit=i}();
phpunit/bootstrap.php CHANGED
@@ -61,3 +61,24 @@ remove_filter( 'wp_die_handler', 'fail_if_died' );
61
 
62
  // Don't let deprecation notices cause tests to fail.
63
  PHPUnit\Framework\Error\Deprecated::$enabled = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
  // Don't let deprecation notices cause tests to fail.
63
  PHPUnit\Framework\Error\Deprecated::$enabled = false;
64
+
65
+ // Global function stubs that might be needed by all tests.
66
+
67
+ /**
68
+ * Stub for the `is_automattician` function.
69
+ *
70
+ * This function is only used by the `class-errorreporting-activation-test.php`
71
+ * test at the moment. It needs to be defined here because for some reason it's
72
+ * not loaded by default globally in the test env,and since it's when the error
73
+ * reporting php module is loaded, and since all modules are loaded here for
74
+ * each test, defining it globally here is needed in order to not break the
75
+ * tests due to it being undefined.
76
+ *
77
+ * Check the `class-errorreporting-activation-test.php` test to make sense
78
+ * of the implementation here.
79
+ *
80
+ * @param int $user_id The user id.
81
+ */
82
+ function is_automattician( $user_id ) {
83
+ return ( 8898 === $user_id || 8808 === $user_id );
84
+ }
phpunit/class-errorreporting-activation-test.php ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Error Reporting Activation Test File.
4
+ *
5
+ * Unit-tests the Sentry/homebrew error reporting activation logic.
6
+ * This test file should be ephemeral and will be removed once we
7
+ * decide which solution to use.
8
+ *
9
+ * The rest of the error reporting module is easier to test manually,
10
+ * and harder (and probably not worth the time and effort) to write
11
+ * automated tests for. In fact, if we choose to use Sentry, then
12
+ * it'll pretty much only add a snippet (maybe with some additional
13
+ * conditional logic for WoA).
14
+ *
15
+ * I think this provides for a good pragmatic balance in giving
16
+ * us confidence. -Marcelo.
17
+ *
18
+ * @package full-site-editing-plugin
19
+ */
20
+
21
+ namespace A8C\FSE\ErrorReporting;
22
+
23
+ use PHPUnit\Framework\TestCase;
24
+
25
+ // Stub for the `is_automattician` function is in `bootstrap.php`.
26
+ // See comments there for more info.
27
+
28
+ /**
29
+ * Stub for the has_blog_sticker function
30
+ *
31
+ * @param noop $sticker Not used.
32
+ * @param int $blog_id The blog id.
33
+ */
34
+ function has_blog_sticker( $sticker, $blog_id ) {
35
+ if ( 7731 === $blog_id ) {
36
+ return true;
37
+ }
38
+ if ( 7732 === $blog_id ) {
39
+ return false;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Class ErrorReporting_Activation_Test
45
+ */
46
+ class ErrorReporting_Activation_Test extends TestCase {
47
+ /**
48
+ * This should match the pct in `user_in_sentry_test_segment()` in
49
+ * `../error-reporting/index.php`
50
+ *
51
+ * @var int $current_segment
52
+ */
53
+ private $current_segment = 1;
54
+ /**
55
+ * A dummy id that represents an a11n user. It's used in the `is_automattician`
56
+ * stub defined above.
57
+ *
58
+ * @var int $a11n_user_id
59
+ */
60
+ private $a11n_user_id = 8898;
61
+ /**
62
+ * A dummy id that represents an a11n user that would fall in the segment.
63
+ * It's used in the `is_automattician` stub defined above.
64
+ *
65
+ * @var int $a11n_user_id
66
+ */
67
+ private $a11n_user_id_in_segment = 8808;
68
+ /**
69
+ * A dummy id that represents a regular non-a11n user.
70
+ *
71
+ * @var int $a11n_user_id
72
+ */
73
+ private $regular_user_id = 6600;
74
+ /**
75
+ * A dummy id that represents an a11n user. It's used in the `is_automattician`
76
+ * stub defined above.
77
+ *
78
+ * The sticker we're faking here is the `error-reporting-use-sentry`.
79
+ * See: https://github.com/Automattic/wp-calypso/pull/54257.
80
+ *
81
+ * @var int $blog_with_sticker_id
82
+ */
83
+ private $blog_with_sticker_id = 7731;
84
+
85
+ /**
86
+ * A dummy id that represents an blog that has a sticker. It's used in the
87
+ * `has_blog_sticker` defined above.
88
+ *
89
+ * @var int $blog_without_sticker_id
90
+ */
91
+ private $blog_without_sticker_id = 7732;
92
+ /**
93
+ * Represents a blog id we don't care about.Communicates that the id is not
94
+ * really relevant in the given test context
95
+ *
96
+ * @var int $blog_noop_id
97
+ */
98
+ private $blog_noop_id = 7733;
99
+
100
+ /**
101
+ * Tests that the `should_activate_sentry` function returns `true` for an a11n
102
+ * user id if the current blog has the sticker applied.
103
+ */
104
+ public function test_should_activate_sentry_is_true_if_a11n_with_sticker() {
105
+ $this->assertTrue( should_activate_sentry( $this->a11n_user_id, $this->blog_with_sticker_id ) );
106
+ }
107
+
108
+ /**
109
+ * Tests that the `should_activate_sentry` function returns `false` for an a11n
110
+ * user id if the current blog does not have the sticker applied.
111
+ */
112
+ public function test_should_activate_sentry_is_false_if_a11n_without_sticker() {
113
+ $this->assertFalse( should_activate_sentry( $this->a11n_user_id, $this->blog_without_sticker_id ) );
114
+ }
115
+
116
+ /**
117
+ * Tests that the `should_activate_sentry` function returns `false` for an a11n
118
+ * user that tested false for the sentry sticker but accidentally falls in the
119
+ * test segment. A12s without the sticker that fall in the segment should not
120
+ * have Sentry activated.
121
+ */
122
+ public function test_should_activate_sentry_is_false_if_a11n_without_sticker_and_in_sentry_segment() {
123
+ $this->assertFalse( should_activate_sentry( $this->a11n_user_id_in_segment, $this->blog_without_sticker_id ) );
124
+ }
125
+
126
+ /**
127
+ * Tests that the `should_activate_sentry` function returns `true` for the ids that fall
128
+ * inside the segment.
129
+ */
130
+ public function test_should_activate_sentry_is_true_if_regular_user_in_sentry_segment() {
131
+ for ( $i = $this->regular_user_id; $i < $this->regular_user_id + $this->current_segment; $i++ ) {
132
+ $this->assertTrue( should_activate_sentry( $i, $this->blog_noop_id ) );
133
+ }
134
+ }
135
+ /**
136
+ * Tests that the `should_activate_sentry` function returns `false` for the ids that fall outside
137
+ * the test segment.
138
+ */
139
+ public function test_should_activate_sentry_is_false_if_regular_user_outside_sentry_segment() {
140
+ for ( $i = $this->regular_user_id + $this->current_segment; $i <= $this->regular_user_id + 99; $i++ ) {
141
+ $this->assertFalse( should_activate_sentry( $i, $this->blog_noop_id ) );
142
+ }
143
+ }
144
+ }
posts-list-block/dist/posts-list-block.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'a28e34231aa4bb6848f40c13c43f32b1');
1
+ <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '4fdb6bff1dfe2feaa8b8ace4b05eb530');
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.5
5
  Tested up to: 5.6
6
- Stable tag: 3.11739
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.5
5
  Tested up to: 5.6
6
+ Stable tag: 3.11814
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
starter-page-templates/dist/starter-page-templates.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-url'), 'version' => 'cc23e3aaa58e5d3ec427095ded408dd4');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-url'), 'version' => '805b3361d54b3d7936f7212bcafe804b');
whats-new/dist/whats-new.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-react-i18n'), 'version' => '12b1e6390699d1a3067c7f16918d217e');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-react-i18n'), 'version' => '12d78f4be794a1aedaaea4b5e484da48');
wpcom-block-editor-nav-sidebar/dist/wpcom-block-editor-nav-sidebar.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '110bcc314db7176841c4cb3e13bccc50');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'e1b1a251a0c2ee7af4c87f7c87837b6a');
wpcom-block-editor-nux/dist/wpcom-block-editor-nux.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '4fef06acb2f12df1f8fef98687082b8a');
1
+ <?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'c0f0b6fdddfb404c204b43d6ec57543a');