@iris.interactive/handcook 7.0.0 → 7.0.2-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitlab-ci.yml +1 -1
- package/README.md +1 -1
- package/mix-manifest.json +30 -0
- package/package.json +3 -3
- package/public/scripts/components/collapse/collapse.component.min.js +1 -1
- package/public/scripts/components/dropdown/dropdown.component.min.js +1 -1
- package/public/scripts/components/lazyload/lazyload.component.js +13 -8
- package/public/scripts/components/lazyload/lazyload.component.min.js +1 -1
- package/public/scripts/components/lightbox/lightbox.component.min.js +1 -1
- package/public/scripts/components/modal/modal.component.min.js +1 -1
- package/public/scripts/components/nats/nats.component.js +2 -0
- package/public/scripts/components/scrollspy/scrollspy.component.min.js +1 -1
- package/public/scripts/components/slider/slider.component.js +12 -0
- package/public/scripts/components/slider/slider.component.min.js +1 -1
- package/public/scripts/components/smooth-scroll/smooth-scroll.component.min.js +1 -1
- package/public/scripts/components/tab/tab.component.min.js +1 -1
- package/public/scripts/components/toggle/toggle.component.min.js +1 -1
- package/public/scripts/components/tooltip/tooltip.component.min.js +1 -1
- package/public/scripts/handcook.js +49 -1
- package/public/scripts/index.js.LICENSE.txt +1 -0
- package/public/styles/scss/_variables.scss +7 -1
- package/public/styles/scss/mixins/_mixin-style.scss +2 -4
- package/public/styles/scss/style.css +161 -2
- package/public/styles/style.css +1 -1
package/.gitlab-ci.yml
CHANGED
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Welcome to HandCook 👨🍳
|
|
2
|
-

|
|
3
3
|

|
|
4
4
|
[](#)
|
|
5
5
|
[](https://twitter.com/captain\_iris)
|
package/mix-manifest.json
CHANGED
|
@@ -13,9 +13,39 @@
|
|
|
13
13
|
"/public/scripts/components/tooltip/tooltip.component.min.js": "/public/scripts/components/tooltip/tooltip.component.min.js",
|
|
14
14
|
"/public/styles/style.css": "/public/styles/style.css",
|
|
15
15
|
"/public/index.html": "/public/index.html",
|
|
16
|
+
"/public/scripts/components/collapse/collapse.component.js": "/public/scripts/components/collapse/collapse.component.js",
|
|
17
|
+
"/public/scripts/components/collapse/collapse.component.scss": "/public/scripts/components/collapse/collapse.component.scss",
|
|
18
|
+
"/public/scripts/components/dropdown/dropdown.component.js": "/public/scripts/components/dropdown/dropdown.component.js",
|
|
19
|
+
"/public/scripts/components/dropdown/dropdown.component.scss": "/public/scripts/components/dropdown/dropdown.component.scss",
|
|
20
|
+
"/public/scripts/components/lazyload/lazyload.component.js": "/public/scripts/components/lazyload/lazyload.component.js",
|
|
21
|
+
"/public/scripts/components/lightbox/lightbox.component.js": "/public/scripts/components/lightbox/lightbox.component.js",
|
|
22
|
+
"/public/scripts/components/lightbox/lightbox.component.scss": "/public/scripts/components/lightbox/lightbox.component.scss",
|
|
23
|
+
"/public/scripts/components/modal/modal.component.js": "/public/scripts/components/modal/modal.component.js",
|
|
24
|
+
"/public/scripts/components/modal/modal.component.scss": "/public/scripts/components/modal/modal.component.scss",
|
|
25
|
+
"/public/scripts/components/nats/nats.component.js": "/public/scripts/components/nats/nats.component.js",
|
|
26
|
+
"/public/scripts/components/overlay/overlay.component.js": "/public/scripts/components/overlay/overlay.component.js",
|
|
27
|
+
"/public/scripts/components/overlay/overlay.component.scss": "/public/scripts/components/overlay/overlay.component.scss",
|
|
28
|
+
"/public/scripts/components/popin/popin.component.js": "/public/scripts/components/popin/popin.component.js",
|
|
29
|
+
"/public/scripts/components/popin/popin.component.scss": "/public/scripts/components/popin/popin.component.scss",
|
|
30
|
+
"/public/scripts/components/scroll-reveal/scroll-reveal.component.js": "/public/scripts/components/scroll-reveal/scroll-reveal.component.js",
|
|
31
|
+
"/public/scripts/components/scroll-reveal/scroll-reveal.component.scss": "/public/scripts/components/scroll-reveal/scroll-reveal.component.scss",
|
|
32
|
+
"/public/scripts/components/scrollspy/scrollspy.component.js": "/public/scripts/components/scrollspy/scrollspy.component.js",
|
|
33
|
+
"/public/scripts/components/slider/slider.component.js": "/public/scripts/components/slider/slider.component.js",
|
|
34
|
+
"/public/scripts/components/smooth-scroll/smooth-scroll.component.js": "/public/scripts/components/smooth-scroll/smooth-scroll.component.js",
|
|
35
|
+
"/public/scripts/components/tab/tab.component.js": "/public/scripts/components/tab/tab.component.js",
|
|
36
|
+
"/public/scripts/components/tab/tab.component.scss": "/public/scripts/components/tab/tab.component.scss",
|
|
37
|
+
"/public/scripts/components/toggle/toggle.component.js": "/public/scripts/components/toggle/toggle.component.js",
|
|
38
|
+
"/public/scripts/components/tooltip/tooltip.component.js": "/public/scripts/components/tooltip/tooltip.component.js",
|
|
39
|
+
"/public/scripts/enumerators/element.enum.js": "/public/scripts/enumerators/element.enum.js",
|
|
40
|
+
"/public/scripts/enumerators/smooth-scroll.enum.js": "/public/scripts/enumerators/smooth-scroll.enum.js",
|
|
41
|
+
"/public/scripts/enumerators/tooltip.enum.js": "/public/scripts/enumerators/tooltip.enum.js",
|
|
16
42
|
"/public/scripts/handcook.js": "/public/scripts/handcook.js",
|
|
43
|
+
"/public/scripts/index.js.LICENSE.txt": "/public/scripts/index.js.LICENSE.txt",
|
|
17
44
|
"/public/styles/scss/_utils.scss": "/public/styles/scss/_utils.scss",
|
|
18
45
|
"/public/styles/scss/_variables.scss": "/public/styles/scss/_variables.scss",
|
|
19
46
|
"/public/styles/scss/handcook.scss": "/public/styles/scss/handcook.scss",
|
|
47
|
+
"/public/styles/scss/mixins/_mixin-font.scss": "/public/styles/scss/mixins/_mixin-font.scss",
|
|
48
|
+
"/public/styles/scss/mixins/_mixin-layout.scss": "/public/styles/scss/mixins/_mixin-layout.scss",
|
|
49
|
+
"/public/styles/scss/mixins/_mixin-style.scss": "/public/styles/scss/mixins/_mixin-style.scss",
|
|
20
50
|
"/public/styles/scss/style.css": "/public/styles/scss/style.css"
|
|
21
51
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iris.interactive/handcook",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2-alpha",
|
|
4
4
|
"description": "The web cooking by IRIS Interactive",
|
|
5
5
|
"main": "./public/scripts/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"author": "IRIS Interactive <dev@iris-interactive.fr> (https://www.iris-interactive.fr)",
|
|
20
20
|
"license": "UNLICENSED",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@nats-io/nats-core": "^3.0.0-27",
|
|
23
22
|
"@wordpress/browserslist-config": "^4.0.0",
|
|
24
23
|
"browser-sync": "^2.26.14",
|
|
25
24
|
"browser-sync-webpack-plugin": "^2.3.0",
|
|
@@ -33,9 +32,10 @@
|
|
|
33
32
|
"sass-loader": "11.1.1"
|
|
34
33
|
},
|
|
35
34
|
"dependencies": {
|
|
35
|
+
"@nats-io/nats-core": "^3.0.0-27",
|
|
36
36
|
"@fancyapps/ui": "^4.0.22",
|
|
37
37
|
"bootstrap": "^5.1.3",
|
|
38
|
-
"swiper": "
|
|
38
|
+
"swiper": "^10.3.1",
|
|
39
39
|
"tippy.js": "^6.3.7",
|
|
40
40
|
"vanilla-lazyload": "^17.6.1"
|
|
41
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={3812:(e,t,n)=>{function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)};r(o,"tooltip","[data-hc-tooltip], [data-hc-popover]"),r(o,"popover","[data-hc-popover]"),r(o,"scrollSmooth","[data-hc-smooth-scroll]"),r(o,"modal","[data-hc-modal]"),r(o,"modalClose","[data-hc-modal-close]"),r(o,"lightboxAttr","data-hc-lightbox"),r(o,"lightbox","[".concat(o.lightboxAttr,"]")),r(o,"dropdown","[data-hc-dropdown]"),r(o,"collapse","[data-hc-collapse]"),r(o,"collapseItem","[data-hc-collapse-item]"),r(o,"popin","[data-hc-popin]"),r(o,"tab","[data-hc-tab]"),r(o,"toggle","[data-hc-toggle]"),r(o,"slider","[data-hc-slider]"),r(o,"scrollspy","[data-hc-scrollspy]"),r(o,"scrollspyNav","[data-hc-scrollspy-nav]"),r(o,"scrollspyNavItem","[data-hc-scrollspy-nav-item]"),r(o,"scrollspyNavItemHref","[data-hc-scrollspy-nav-item-href]"),r(o,"scrollReveal","[data-hc-scroll-reveal]"),r(o,"scrollRevealDisable","[data-hc-noscroll-reveal]"),r(o,"scrollRevealParent","[data-hc-scroll-reveal-parent]"),r(o,"scrollRevealChildren","".concat(o.scrollRevealParent," > *:not(").concat(o.scrollRevealDisable,"):not(").concat(o.scrollRevealParent,"):not(").concat(o.scrollReveal,")")),r(o,"overlay","[data-hc-overlay]")},9049:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(8385),o=n(4147),i=n(2930);const s=class{constructor(e){(e=(0,o.sb)(e))&&(this._element=e,r.Z.set(this._element,this.constructor.DATA_KEY,this))}dispose(){r.Z.remove(this._element,this.constructor.DATA_KEY),i.Z.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,n=!0){(0,o.e0)(e,t,n)}static getInstance(e){return r.Z.get((0,o.sb)(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}},8385:(e,t,n)=>{n.d(t,{Z:()=>o});const r=new Map,o={set(e,t,n){r.has(e)||r.set(e,new Map);const o=r.get(e);o.has(t)||0===o.size?o.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(e,t)=>r.has(e)&&r.get(e).get(t)||null,remove(e,t){if(!r.has(e))return;const n=r.get(e);n.delete(t),0===n.size&&r.delete(e)}}},2930:(e,t,n)=>{n.d(t,{Z:()=>_});var r=n(4147);const o=/[^.]*(?=\..*)\.|.*/,i=/\..*/,s=/::\d+$/,a={};let l=1;const c={mouseenter:"mouseover",mouseleave:"mouseout"},u=/^(mouseenter|mouseleave)/i,d=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function h(e,t){return t&&`${t}::${l++}`||e.uidEvent||l++}function f(e){const t=h(e);return e.uidEvent=t,a[t]=a[t]||{},a[t]}function p(e,t,n=null){const r=Object.keys(e);for(let o=0,i=r.length;o<i;o++){const i=e[r[o]];if(i.originalHandler===t&&i.delegationSelector===n)return i}return null}function g(e,t,n){const r="string"==typeof t,o=r?n:t;let i=b(e);return d.has(i)||(i=e),[r,o,i]}function m(e,t,n,r,i){if("string"!=typeof t||!e)return;if(n||(n=r,r=null),u.test(t)){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};r?r=e(r):n=e(n)}const[s,a,l]=g(t,n,r),c=f(e),d=c[l]||(c[l]={}),m=p(d,a,s?n:null);if(m)return void(m.oneOff=m.oneOff&&i);const v=h(a,t.replace(o,"")),b=s?function(e,t,n){return function r(o){const i=e.querySelectorAll(t);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(let a=i.length;a--;)if(i[a]===s)return o.delegateTarget=s,r.oneOff&&y.off(e,o.type,t,n),n.apply(s,[o]);return null}}(e,n,r):function(e,t){return function n(r){return r.delegateTarget=e,n.oneOff&&y.off(e,r.type,t),t.apply(e,[r])}}(e,n);b.delegationSelector=s?n:null,b.originalHandler=a,b.oneOff=i,b.uidEvent=v,d[v]=b,e.addEventListener(l,b,s)}function v(e,t,n,r,o){const i=p(t[n],r,o);i&&(e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent])}function b(e){return e=e.replace(i,""),c[e]||e}const y={on(e,t,n,r){m(e,t,n,r,!1)},one(e,t,n,r){m(e,t,n,r,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const[o,i,a]=g(t,n,r),l=a!==t,c=f(e),u=t.startsWith(".");if(void 0!==i){if(!c||!c[a])return;return void v(e,c,a,i,o?n:null)}u&&Object.keys(c).forEach((n=>{!function(e,t,n,r){const o=t[n]||{};Object.keys(o).forEach((i=>{if(i.includes(r)){const r=o[i];v(e,t,n,r.originalHandler,r.delegationSelector)}}))}(e,c,n,t.slice(1))}));const d=c[a]||{};Object.keys(d).forEach((n=>{const r=n.replace(s,"");if(!l||t.includes(r)){const t=d[n];v(e,c,a,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,n){if("string"!=typeof t||!e)return null;const o=(0,r.KF)(),i=b(t),s=t!==i,a=d.has(i);let l,c=!0,u=!0,h=!1,f=null;return s&&o&&(l=o.Event(t,n),o(e).trigger(l),c=!l.isPropagationStopped(),u=!l.isImmediatePropagationStopped(),h=l.isDefaultPrevented()),a?(f=document.createEvent("HTMLEvents"),f.initEvent(i,c,!0)):f=new CustomEvent(t,{bubbles:c,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((e=>{Object.defineProperty(f,e,{get:()=>n[e]})})),h&&f.preventDefault(),u&&e.dispatchEvent(f),f.defaultPrevented&&void 0!==l&&l.preventDefault(),f}},_=y},7357:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(4147);const o={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let r=e.parentNode;for(;r&&r.nodeType===Node.ELEMENT_NODE&&3!==r.nodeType;)r.matches(t)&&n.push(r),r=r.parentNode;return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(", ");return this.find(t,e).filter((e=>!(0,r.pK)(e)&&(0,r.pn)(e)))}}},4147:(e,t,n)=>{n.d(t,{sb:()=>l,K:()=>i,dG:()=>s,zE:()=>c,pn:()=>u,pK:()=>d,nq:()=>h,KF:()=>f,pF:()=>g,e0:()=>v});const r="transitionend",o=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t},i=e=>{const t=o(e);return t&&document.querySelector(t)?t:null},s=e=>{const t=o(e);return t?document.querySelector(t):null},a=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),l=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,c=(e,t,n)=>{Object.keys(n).forEach((r=>{const o=n[r],i=t[r],s=i&&a(i)?"element":null==(l=i)?`${l}`:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(o).test(s))throw new TypeError(`${e.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}))},u=e=>!(!a(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),d=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),h=e=>{e.offsetHeight},f=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},p=[],g=e=>{var t;t=()=>{const t=f();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}},"loading"===document.readyState?(p.length||document.addEventListener("DOMContentLoaded",(()=>{p.forEach((e=>e()))})),p.push(t)):t()},m=e=>{"function"==typeof e&&e()},v=(e,t,n=!0)=>{if(!n)return void m(e);const o=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),o=Number.parseFloat(n);return r||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let i=!1;const s=({target:n})=>{n===t&&(i=!0,t.removeEventListener(r,s),m(e))};t.addEventListener(r,s),setTimeout((()=>{i||t.dispatchEvent(new Event(r))}),o)}},973:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"/*!\n * IRIS Interactive\n *\n * NOTICE OF LICENSE\n *\n * This source file is no subject to a specific license\n * but it belongs to the company IRIS Interactive.\n * You can contact IRIS Interactive at the following\n * address: contact@iris-interactive.fr\n *\n * @author Lucas ROCHE\n * @date 22/02/2022 08:25\n * @copyright Copyright (c) 2002-2022 IRIS Interactive, Inc. (http://www.iris-interactive.fr)\n */.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{height:auto;transition:width .35s ease;width:0}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}",""]);const i=o},3645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},3379:(e,t,n)=>{var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],l=t.base?i[0]+t.base:i[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=a(u),h={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(s[d].references++,s[d].updater(h)):s.push({identifier:u,updater:m(h,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var s=i(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function h(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function f(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,g=0;function m(e,t){var n,r,o;if(t.singleton){var i=g++;n=p||(p=c(t)),r=h.bind(null,n,i,!1),o=h.bind(null,n,i,!0)}else n=c(t),r=f.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=a(n[r]);s[o].references--}for(var i=l(e,t),c=0;c<n.length;c++){var u=a(n[c]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}n=i}}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{n(3812);var e=n(3379),t=n.n(e),r=n(973),o={insert:"head",singleton:!1};t()(r.Z,o);r.Z.locals;var i=n(4147),s=n(8385),a=n(2930);function l(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function c(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const u={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${c(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${c(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter((e=>e.startsWith("bs"))).forEach((n=>{let r=n.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=l(e.dataset[n])})),t},getDataAttribute:(e,t)=>l(e.getAttribute(`data-bs-${c(t)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})};var d=n(7357),h=n(9049);const f="collapse",p="bs.collapse",g={toggle:!0,parent:null},m={toggle:"boolean",parent:"(null|element)"},v="show",b="collapse",y="collapsing",_="collapsed",E=":scope .collapse .collapse",w='[data-bs-toggle="collapse"]';class A extends h.Z{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const n=d.Z.find(w);for(let e=0,t=n.length;e<t;e++){const t=n[e],r=(0,i.K)(t),o=d.Z.find(r).filter((e=>e===this._element));null!==r&&o.length&&(this._selector=r,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return g}static get NAME(){return f}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=d.Z.find(E,this._config.parent);t=d.Z.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((t=>!e.includes(t)))}const n=d.Z.findOne(this._selector);if(t.length){const r=t.find((e=>n!==e));if(e=r?A.getInstance(r):null,e&&e._isTransitioning)return}if(a.Z.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach((t=>{n!==t&&A.getOrCreateInstance(t,{toggle:!1}).hide(),e||s.Z.set(t,p,null)}));const r=this._getDimension();this._element.classList.remove(b),this._element.classList.add(y),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(y),this._element.classList.add(b,v),this._element.style[r]="",a.Z.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[r]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(a.Z.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,(0,i.nq)(this._element),this._element.classList.add(y),this._element.classList.remove(b,v);const t=this._triggerArray.length;for(let e=0;e<t;e++){const t=this._triggerArray[e],n=(0,i.dG)(t);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(y),this._element.classList.add(b),a.Z.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(v)}_getConfig(e){return(e={...g,...u.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=(0,i.sb)(e.parent),(0,i.zE)(f,e,m),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=d.Z.find(E,this._config.parent);d.Z.find(w,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=(0,i.dG)(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove(_):e.classList.add(_),e.setAttribute("aria-expanded",t)}))}static jQueryInterface(e){return this.each((function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const n=A.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}a.Z.on(document,"click.bs.collapse.data-api",w,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=(0,i.K)(this);d.Z.find(t).forEach((e=>{A.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),(0,i.pF)(A)})()})();
|
|
1
|
+
(()=>{"use strict";var e={3507:(e,t,n)=>{var r;function o(e){return o="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},o(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function s(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}var c=s((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));r=c,a(c,"tooltip","[data-hc-tooltip], [data-hc-popover]"),a(c,"popover","[data-hc-popover]"),a(c,"scrollSmooth","[data-hc-smooth-scroll]"),a(c,"modal","[data-hc-modal]"),a(c,"modalClose","[data-hc-modal-close]"),a(c,"lightboxAttr","data-hc-lightbox"),a(c,"lightbox","[".concat(r.lightboxAttr,"]")),a(c,"dropdown","[data-hc-dropdown]"),a(c,"collapse","[data-hc-collapse]"),a(c,"collapseItem","[data-hc-collapse-item]"),a(c,"popin","[data-hc-popin]"),a(c,"tab","[data-hc-tab]"),a(c,"toggle","[data-hc-toggle]"),a(c,"slider","[data-hc-slider]"),a(c,"scrollspy","[data-hc-scrollspy]"),a(c,"scrollspyNav","[data-hc-scrollspy-nav]"),a(c,"scrollspyNavItem","[data-hc-scrollspy-nav-item]"),a(c,"scrollspyNavItemHref","[data-hc-scrollspy-nav-item-href]"),a(c,"scrollReveal","[data-hc-scroll-reveal]"),a(c,"scrollRevealDisable","[data-hc-noscroll-reveal]"),a(c,"scrollRevealParent","[data-hc-scroll-reveal-parent]"),a(c,"scrollRevealChildren","".concat(r.scrollRevealParent," > *:not(").concat(r.scrollRevealDisable,"):not(").concat(r.scrollRevealParent,"):not(").concat(r.scrollReveal,")")),a(c,"overlay","[data-hc-overlay]")},1620:(e,t,n)=>{n.d(t,{A:()=>d});const r=new Map,o={set(e,t,n){r.has(e)||r.set(e,new Map);const o=r.get(e);o.has(t)||0===o.size?o.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(e,t)=>r.has(e)&&r.get(e).get(t)||null,remove(e,t){if(!r.has(e))return;const n=r.get(e);n.delete(t),0===n.size&&r.delete(e)}};var i=n(3646);function s(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function a(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const l={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${a(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${a(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=s(e.dataset[r])}return t},getDataAttribute:(e,t)=>s(e.getAttribute(`data-bs-${a(t)}`))};var c=n(3537);const u=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=(0,c.vq)(t)?l.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...(0,c.vq)(t)?l.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,r]of Object.entries(t)){const t=e[n],o=(0,c.vq)(t)?"element":(0,c.Ax)(t);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${r}".`)}}};const d=class extends u{constructor(e,t){super(),(e=(0,c.V6)(e))&&(this._element=e,this._config=this._getConfig(t),o.set(this._element,this.constructor.DATA_KEY,this))}dispose(){o.remove(this._element,this.constructor.DATA_KEY),i.A.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){(0,c.dO)(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return o.get((0,c.V6)(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}},3646:(e,t,n)=>{n.d(t,{A:()=>A});var r=n(3537);const o=/[^.]*(?=\..*)\.|.*/,i=/\..*/,s=/::\d+$/,a={};let l=1;const c={mouseenter:"mouseover",mouseleave:"mouseout"},u=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function d(e,t){return t&&`${t}::${l++}`||e.uidEvent||l++}function f(e){const t=d(e);return e.uidEvent=t,a[t]=a[t]||{},a[t]}function h(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function p(e,t,n){const r="string"==typeof t,o=r?n:t||n;let i=b(e);return u.has(i)||(i=e),[r,o,i]}function g(e,t,n,r,i){if("string"!=typeof t||!e)return;let[s,a,l]=p(t,n,r);if(t in c){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};a=e(a)}const u=f(e),g=u[l]||(u[l]={}),m=h(g,a,s?n:null);if(m)return void(m.oneOff=m.oneOff&&i);const v=d(a,t.replace(o,"")),b=s?function(e,t,n){return function r(o){const i=e.querySelectorAll(t);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of i)if(a===s)return _(o,{delegateTarget:s}),r.oneOff&&y.off(e,o.type,t,n),n.apply(s,[o])}}(e,n,a):function(e,t){return function n(r){return _(r,{delegateTarget:e}),n.oneOff&&y.off(e,r.type,t),t.apply(e,[r])}}(e,a);b.delegationSelector=s?n:null,b.callable=a,b.oneOff=i,b.uidEvent=v,g[v]=b,e.addEventListener(l,b,s)}function m(e,t,n,r,o){const i=h(t[n],r,o);i&&(e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent])}function v(e,t,n,r){const o=t[n]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&m(e,t,n,s.callable,s.delegationSelector)}function b(e){return e=e.replace(i,""),c[e]||e}const y={on(e,t,n,r){g(e,t,n,r,!1)},one(e,t,n,r){g(e,t,n,r,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const[o,i,a]=p(t,n,r),l=a!==t,c=f(e),u=c[a]||{},d=t.startsWith(".");if(void 0===i){if(d)for(const n of Object.keys(c))v(e,c,n,t.slice(1));for(const[n,r]of Object.entries(u)){const o=n.replace(s,"");l&&!t.includes(o)||m(e,c,a,r.callable,r.delegationSelector)}}else{if(!Object.keys(u).length)return;m(e,c,a,i,o?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const o=(0,r.Ve)();let i=null,s=!0,a=!0,l=!1;t!==b(t)&&o&&(i=o.Event(t,n),o(e).trigger(i),s=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),l=i.isDefaultPrevented());const c=_(new Event(t,{bubbles:s,cancelable:!0}),n);return l&&c.preventDefault(),a&&e.dispatchEvent(c),c.defaultPrevented&&i&&i.preventDefault(),c}};function _(e,t={}){for(const[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get:()=>r})}return e}const A=y},1001:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(3537);const o=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map((e=>(0,r.Pl)(e))).join(","):null},i={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!(0,r.d6)(e)&&(0,r.zN)(e)))},getSelectorFromElement(e){const t=o(e);return t&&i.findOne(t)?t:null},getElementFromSelector(e){const t=o(e);return t?i.findOne(t):null},getMultipleElementsFromSelector(e){const t=o(e);return t?i.find(t):[]}},s=i},3537:(e,t,n)=>{n.d(t,{Ax:()=>i,L0:()=>h,Pl:()=>o,V6:()=>a,Ve:()=>d,d6:()=>c,dO:()=>g,qm:()=>u,vq:()=>s,zN:()=>l});const r="transitionend",o=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),i=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),s=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),a=e=>s(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(o(e)):null,l=e=>{if(!s(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},c=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),u=e=>{e.offsetHeight},d=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],h=e=>{var t;t=()=>{const t=d();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of f)e()})),f.push(t)):t()},p=(e,t=[],n=e)=>"function"==typeof e?e(...t):n,g=(e,t,n=!0)=>{if(!n)return void p(e);const o=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),o=Number.parseFloat(n);return r||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let i=!1;const s=({target:n})=>{n===t&&(i=!0,t.removeEventListener(r,s),p(e))};t.addEventListener(r,s),setTimeout((()=>{i||t.dispatchEvent(new Event(r))}),o)}},3040:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(6314),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"/*!\n * IRIS Interactive\n *\n * NOTICE OF LICENSE\n *\n * This source file is no subject to a specific license\n * but it belongs to the company IRIS Interactive.\n * You can contact IRIS Interactive at the following\n * address: contact@iris-interactive.fr\n *\n * @author Lucas ROCHE\n * @date 22/02/2022 08:25\n * @copyright Copyright (c) 2002-2022 IRIS Interactive, Inc. (http://www.iris-interactive.fr)\n */.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{height:auto;transition:width .35s ease;width:0}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}",""]);const i=o},6314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},5072:(e,t,n)=>{var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],l=t.base?i[0]+t.base:i[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=a(u),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(s[d].references++,s[d].updater(f)):s.push({identifier:u,updater:m(f,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var s=i(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function h(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,g=0;function m(e,t){var n,r,o;if(t.singleton){var i=g++;n=p||(p=c(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else n=c(t),r=h.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=a(n[r]);s[o].references--}for(var i=l(e,t),c=0;c<n.length;c++){var u=a(n[c]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}n=i}}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nc=void 0;n(3507);var r=n(5072),o=n.n(r),i=n(3040),s={insert:"head",singleton:!1};o()(i.A,s);i.A.locals;var a=n(1620),l=n(3646),c=n(1001),u=n(3537);const d=".bs.collapse",f=`show${d}`,h=`shown${d}`,p=`hide${d}`,g=`hidden${d}`,m=`click${d}.data-api`,v="show",b="collapse",y="collapsing",_=`:scope .${b} .${b}`,A='[data-bs-toggle="collapse"]',w={parent:null,toggle:!0},C={parent:"(null|element)",toggle:"boolean"};class E extends a.A{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=c.A.find(A);for(const e of n){const t=c.A.getSelectorFromElement(e),n=c.A.find(t).filter((e=>e===this._element));null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return w}static get DefaultType(){return C}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>E.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(l.A.trigger(this._element,f).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(b),this._element.classList.add(y),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(y),this._element.classList.add(b,v),this._element.style[t]="",l.A.trigger(this._element,h)}),this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(l.A.trigger(this._element,p).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,(0,u.qm)(this._element),this._element.classList.add(y),this._element.classList.remove(b,v);for(const e of this._triggerArray){const t=c.A.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(y),this._element.classList.add(b),l.A.trigger(this._element,g)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(v)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=(0,u.V6)(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(A);for(const t of e){const e=c.A.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=c.A.find(_,this._config.parent);return c.A.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=E.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}l.A.on(document,m,A,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of c.A.getMultipleElementsFromSelector(this))E.getOrCreateInstance(e,{toggle:!1}).toggle()})),(0,u.L0)(E)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var t={
|
|
1
|
+
(()=>{"use strict";var t={3507:(t,e,o)=>{var r;function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function n(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,l(r.key),r)}}function i(t,e,o){return e&&n(t.prototype,e),o&&n(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e,o){return(e=l(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function l(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var p=i((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}));r=p,c(p,"tooltip","[data-hc-tooltip], [data-hc-popover]"),c(p,"popover","[data-hc-popover]"),c(p,"scrollSmooth","[data-hc-smooth-scroll]"),c(p,"modal","[data-hc-modal]"),c(p,"modalClose","[data-hc-modal-close]"),c(p,"lightboxAttr","data-hc-lightbox"),c(p,"lightbox","[".concat(r.lightboxAttr,"]")),c(p,"dropdown","[data-hc-dropdown]"),c(p,"collapse","[data-hc-collapse]"),c(p,"collapseItem","[data-hc-collapse-item]"),c(p,"popin","[data-hc-popin]"),c(p,"tab","[data-hc-tab]"),c(p,"toggle","[data-hc-toggle]"),c(p,"slider","[data-hc-slider]"),c(p,"scrollspy","[data-hc-scrollspy]"),c(p,"scrollspyNav","[data-hc-scrollspy-nav]"),c(p,"scrollspyNavItem","[data-hc-scrollspy-nav-item]"),c(p,"scrollspyNavItemHref","[data-hc-scrollspy-nav-item-href]"),c(p,"scrollReveal","[data-hc-scroll-reveal]"),c(p,"scrollRevealDisable","[data-hc-noscroll-reveal]"),c(p,"scrollRevealParent","[data-hc-scroll-reveal-parent]"),c(p,"scrollRevealChildren","".concat(r.scrollRevealParent," > *:not(").concat(r.scrollRevealDisable,"):not(").concat(r.scrollRevealParent,"):not(").concat(r.scrollReveal,")")),c(p,"overlay","[data-hc-overlay]")},8710:(t,e,o)=>{o.d(e,{A:()=>n});var r=o(6314),a=o.n(r)()((function(t){return t[1]}));a.push([t.id,'.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{background-color:#333;border-radius:4px;color:#fff;font-size:14px;line-height:1.4;outline:0;position:relative;transition-property:transform,visibility,opacity;white-space:normal}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{border-top-color:initial;border-width:8px 8px 0;bottom:-7px;left:0;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:initial;border-width:0 8px 8px;left:0;top:-7px;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-left-color:initial;border-width:8px 0 8px 8px;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{border-right-color:initial;border-width:8px 8px 8px 0;left:-7px;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{color:#333;height:16px;width:16px}.tippy-arrow:before{border-color:transparent;border-style:solid;content:"";position:absolute}.tippy-content{padding:5px 9px;position:relative;z-index:1}',""]);const n=a},5512:(t,e,o)=>{o.d(e,{A:()=>n});var r=o(6314),a=o.n(r)()((function(t){return t[1]}));a.push([t.id,"/*!\n * IRIS Interactive\n *\n * NOTICE OF LICENSE\n *\n * This source file is no subject to a specific license\n * but it belongs to the company IRIS Interactive.\n * You can contact IRIS Interactive at the following\n * address: contact@iris-interactive.fr\n *\n * @author Lucas ROCHE\n * @date 24/02/2022 14:19\n * @copyright Copyright (c) 2002-2022 IRIS Interactive, Inc. (http://www.iris-interactive.fr)\n */.tippy-box[data-theme~=dropdown]{background-color:#fff;box-shadow:0 0 20px 4px rgba(154,161,177,.15),0 4px 80px -8px rgba(36,40,47,.25),0 4px 4px -2px rgba(91,94,105,.15);color:#26323d}.tippy-box[data-theme~=dropdown] .tippy-content{padding:0}.tippy-box[data-theme~=dropdown][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=dropdown][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=dropdown][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=dropdown][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=dropdown]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=dropdown]>.tippy-svg-arrow{fill:#fff}",""]);const n=a},6314:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o=t(e);return e[2]?"@media ".concat(e[2]," {").concat(o,"}"):o})).join("")},e.i=function(t,o,r){"string"==typeof t&&(t=[[null,t,""]]);var a={};if(r)for(var n=0;n<this.length;n++){var i=this[n][0];null!=i&&(a[i]=!0)}for(var c=0;c<t.length;c++){var l=[].concat(t[c]);r&&a[l[0]]||(o&&(l[2]?l[2]="".concat(o," and ").concat(l[2]):l[2]=o),e.push(l))}},e}},8527:(t,e,o)=>{var r=o(5072),a=o.n(r),n=o(8710),i={insert:"head",singleton:!1};a()(n.A,i),n.A.locals},5072:(t,e,o)=>{var r,a=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},n=function(){var t={};return function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}t[e]=o}return t[e]}}(),i=[];function c(t){for(var e=-1,o=0;o<i.length;o++)if(i[o].identifier===t){e=o;break}return e}function l(t,e){for(var o={},r=[],a=0;a<t.length;a++){var n=t[a],l=e.base?n[0]+e.base:n[0],p=o[l]||0,d="".concat(l," ").concat(p);o[l]=p+1;var s=c(d),f={css:n[1],media:n[2],sourceMap:n[3]};-1!==s?(i[s].references++,i[s].updater(f)):i.push({identifier:d,updater:y(f,e),references:1}),r.push(d)}return r}function p(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var a=o.nc;a&&(r.nonce=a)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var i=n(t.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(e)}return e}var d,s=(d=[],function(t,e){return d[t]=e,d.filter(Boolean).join("\n")});function f(t,e,o,r){var a=o?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=s(e,a);else{var n=document.createTextNode(a),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(n,i[e]):t.appendChild(n)}}function u(t,e,o){var r=o.css,a=o.media,n=o.sourceMap;if(a?t.setAttribute("media",a):t.removeAttribute("media"),n&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(n))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var b=null,h=0;function y(t,e){var o,r,a;if(e.singleton){var n=h++;o=b||(b=p(e)),r=f.bind(null,o,n,!1),a=f.bind(null,o,n,!0)}else o=p(e),r=u.bind(null,o,e),a=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(o)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else a()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=a());var o=l(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<o.length;r++){var a=c(o[r]);i[a].references--}for(var n=l(t,e),p=0;p<o.length;p++){var d=c(o[p]);0===i[d].references&&(i[d].updater(),i.splice(d,1))}o=n}}}}},e={};function o(r){var a=e[r];if(void 0!==a)return a.exports;var n=e[r]={id:r,exports:{}};return t[r](n,n.exports,o),n.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.nc=void 0;o(3507),o(8527);var r=o(5072),a=o.n(r),n=o(5512),i={insert:"head",singleton:!1};a()(n.A,i);n.A.locals})();
|
|
@@ -18,7 +18,7 @@ import LazyLoad from "vanilla-lazyload";
|
|
|
18
18
|
|
|
19
19
|
export class HcLazyload {
|
|
20
20
|
|
|
21
|
-
static instance
|
|
21
|
+
static instance;
|
|
22
22
|
|
|
23
23
|
constructor(options = {}) {
|
|
24
24
|
options = Object.assign({
|
|
@@ -29,23 +29,28 @@ export class HcLazyload {
|
|
|
29
29
|
data_srcset: 'hc-srcset'
|
|
30
30
|
}, options);
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
this.lazyLoadInstance = new LazyLoad(options);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
static getInstance(options = {}) {
|
|
36
|
-
if (HcLazyload.instance
|
|
37
|
-
HcLazyload.instance = new HcLazyload(options)
|
|
36
|
+
if (!HcLazyload.instance) {
|
|
37
|
+
HcLazyload.instance = new HcLazyload(options);
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
return HcLazyload.instance;
|
|
39
|
+
return HcLazyload.instance.lazyLoadInstance;
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
static update(options = {}) {
|
|
44
|
-
HcLazyload.getInstance(options)
|
|
43
|
+
const instance = HcLazyload.getInstance(options);
|
|
44
|
+
if (instance && typeof instance.update === 'function') {
|
|
45
|
+
instance.update();
|
|
46
|
+
}
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
static loadAll(options = {}) {
|
|
48
|
-
HcLazyload.getInstance(options)
|
|
50
|
+
const instance = HcLazyload.getInstance(options);
|
|
51
|
+
if (instance && typeof instance.loadAll === 'function') {
|
|
52
|
+
instance.loadAll();
|
|
53
|
+
}
|
|
49
54
|
}
|
|
50
55
|
}
|
|
51
56
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var n={2732:function(n){n.exports=function(){"use strict";function n(){return n=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a])}return n},n.apply(this,arguments)}var t="undefined"!=typeof window,e=t&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),a=t&&"IntersectionObserver"in window,r=t&&"classList"in document.createElement("p"),i=t&&window.devicePixelRatio>1,o={elements_selector:".lazy",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},c=function(t){return n({},o,t)},l=function(n,t){var e,a="LazyLoad::Initialized",r=new n(t);try{e=new CustomEvent(a,{detail:{instance:r}})}catch(n){(e=document.createEvent("CustomEvent")).initCustomEvent(a,!1,!1,{instance:r})}window.dispatchEvent(e)},u="src",s="srcset",d="sizes",f="poster",_="llOriginalAttrs",v="data",g="loading",b="loaded",p="applied",h="error",m="native",E="data-",I="ll-status",y=function(n,t){return n.getAttribute(E+t)},w=function(n){return y(n,I)},k=function(n,t){return function(n,t,e){var a="data-ll-status";null!==e?n.setAttribute(a,e):n.removeAttribute(a)}(n,0,t)},A=function(n){return k(n,null)},O=function(n){return null===w(n)},x=function(n){return w(n)===m},L=[g,b,p,h],C=function(n,t,e,a){n&&(void 0===a?void 0===e?n(t):n(t,e):n(t,e,a))},N=function(n,t){r?n.classList.add(t):n.className+=(n.className?" ":"")+t},M=function(n,t){r?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},z=function(n){return n.llTempImage},R=function(n,t){if(t){var e=t._observer;e&&e.unobserve(n)}},T=function(n,t){n&&(n.loadingCount+=t)},j=function(n,t){n&&(n.toLoadCount=t)},P=function(n){for(var t,e=[],a=0;t=n.children[a];a+=1)"SOURCE"===t.tagName&&e.push(t);return e},G=function(n,t){var e=n.parentNode;e&&"PICTURE"===e.tagName&&P(e).forEach(t)},D=function(n,t){P(n).forEach(t)},V=[u],F=[u,f],B=[u,s,d],J=[v],S=function(n){return!!n[_]},U=function(n){return n[_]},$=function(n){return delete n[_]},q=function(n,t){if(!S(n)){var e={};t.forEach((function(t){e[t]=n.getAttribute(t)})),n[_]=e}},H=function(n,t){if(S(n)){var e=U(n);t.forEach((function(t){!function(n,t,e){e?n.setAttribute(t,e):n.removeAttribute(t)}(n,t,e[t])}))}},K=function(n,t,e){N(n,t.class_loading),k(n,g),e&&(T(e,1),C(t.callback_loading,n,e))},Q=function(n,t,e){e&&n.setAttribute(t,e)},W=function(n,t){Q(n,d,y(n,t.data_sizes)),Q(n,s,y(n,t.data_srcset)),Q(n,u,y(n,t.data_src))},X={IMG:function(n,t){G(n,(function(n){q(n,B),W(n,t)})),q(n,B),W(n,t)},IFRAME:function(n,t){q(n,V),Q(n,u,y(n,t.data_src))},VIDEO:function(n,t){D(n,(function(n){q(n,V),Q(n,u,y(n,t.data_src))})),q(n,F),Q(n,f,y(n,t.data_poster)),Q(n,u,y(n,t.data_src)),n.load()},OBJECT:function(n,t){q(n,J),Q(n,v,y(n,t.data_src))}},Y=["IMG","IFRAME","VIDEO","OBJECT"],Z=function(n,t){!t||function(n){return n.loadingCount>0}(t)||function(n){return n.toLoadCount>0}(t)||C(n.callback_finish,t)},nn=function(n,t,e){n.addEventListener(t,e),n.llEvLisnrs[t]=e},tn=function(n,t,e){n.removeEventListener(t,e)},en=function(n){return!!n.llEvLisnrs},an=function(n){if(en(n)){var t=n.llEvLisnrs;for(var e in t){var a=t[e];tn(n,e,a)}delete n.llEvLisnrs}},rn=function(n,t,e){!function(n){delete n.llTempImage}(n),T(e,-1),function(n){n&&(n.toLoadCount-=1)}(e),M(n,t.class_loading),t.unobserve_completed&&R(n,e)},on=function(n,t,e){var a=z(n)||n;en(a)||function(n,t,e){en(n)||(n.llEvLisnrs={});var a="VIDEO"===n.tagName?"loadeddata":"load";nn(n,a,t),nn(n,"error",e)}(a,(function(r){!function(n,t,e,a){var r=x(t);rn(t,e,a),N(t,e.class_loaded),k(t,b),C(e.callback_loaded,t,a),r||Z(e,a)}(0,n,t,e),an(a)}),(function(r){!function(n,t,e,a){var r=x(t);rn(t,e,a),N(t,e.class_error),k(t,h),C(e.callback_error,t,a),e.restore_on_error&&H(t,B),r||Z(e,a)}(0,n,t,e),an(a)}))},cn=function(n,t,e){!function(n){n.llTempImage=document.createElement("IMG")}(n),on(n,t,e),function(n){S(n)||(n[_]={backgroundImage:n.style.backgroundImage})}(n),function(n,t,e){var a=y(n,t.data_bg),r=y(n,t.data_bg_hidpi),o=i&&r?r:a;o&&(n.style.backgroundImage='url("'.concat(o,'")'),z(n).setAttribute(u,o),K(n,t,e))}(n,t,e),function(n,t,e){var a=y(n,t.data_bg_multi),r=y(n,t.data_bg_multi_hidpi),o=i&&r?r:a;o&&(n.style.backgroundImage=o,function(n,t,e){N(n,t.class_applied),k(n,p),e&&(t.unobserve_completed&&R(n,t),C(t.callback_applied,n,e))}(n,t,e))}(n,t,e)},ln=function(n,t,e){!function(n){return Y.indexOf(n.tagName)>-1}(n)?cn(n,t,e):function(n,t,e){on(n,t,e),function(n,t,e){var a=X[n.tagName];a&&(a(n,t),K(n,t,e))}(n,t,e)}(n,t,e)},un=function(n){n.removeAttribute(u),n.removeAttribute(s),n.removeAttribute(d)},sn=function(n){G(n,(function(n){H(n,B)})),H(n,B)},dn={IMG:sn,IFRAME:function(n){H(n,V)},VIDEO:function(n){D(n,(function(n){H(n,V)})),H(n,F),n.load()},OBJECT:function(n){H(n,J)}},fn=function(n,t){(function(n){var t=dn[n.tagName];t?t(n):function(n){if(S(n)){var t=U(n);n.style.backgroundImage=t.backgroundImage}}(n)})(n),function(n,t){O(n)||x(n)||(M(n,t.class_entered),M(n,t.class_exited),M(n,t.class_applied),M(n,t.class_loading),M(n,t.class_loaded),M(n,t.class_error))}(n,t),A(n),$(n)},_n=["IMG","IFRAME","VIDEO"],vn=function(n){return n.use_native&&"loading"in HTMLImageElement.prototype},gn=function(n,t,e){n.forEach((function(n){return function(n){return n.isIntersecting||n.intersectionRatio>0}(n)?function(n,t,e,a){var r=function(n){return L.indexOf(w(n))>=0}(n);k(n,"entered"),N(n,e.class_entered),M(n,e.class_exited),function(n,t,e){t.unobserve_entered&&R(n,e)}(n,e,a),C(e.callback_enter,n,t,a),r||ln(n,e,a)}(n.target,n,t,e):function(n,t,e,a){O(n)||(N(n,e.class_exited),function(n,t,e,a){e.cancel_on_exit&&function(n){return w(n)===g}(n)&&"IMG"===n.tagName&&(an(n),function(n){G(n,(function(n){un(n)})),un(n)}(n),sn(n),M(n,e.class_loading),T(a,-1),A(n),C(e.callback_cancel,n,t,a))}(n,t,e,a),C(e.callback_exit,n,t,a))}(n.target,n,t,e)}))},bn=function(n){return Array.prototype.slice.call(n)},pn=function(n){return n.container.querySelectorAll(n.elements_selector)},hn=function(n){return function(n){return w(n)===h}(n)},mn=function(n,t){return function(n){return bn(n).filter(O)}(n||pn(t))},En=function(n,e){var r=c(n);this._settings=r,this.loadingCount=0,function(n,t){a&&!vn(n)&&(t._observer=new IntersectionObserver((function(e){gn(e,n,t)}),function(n){return{root:n.container===document?null:n.container,rootMargin:n.thresholds||n.threshold+"px"}}(n)))}(r,this),function(n,e){t&&window.addEventListener("online",(function(){!function(n,t){var e;(e=pn(n),bn(e).filter(hn)).forEach((function(t){M(t,n.class_error),A(t)})),t.update()}(n,e)}))}(r,this),this.update(e)};return En.prototype={update:function(n){var t,r,i=this._settings,o=mn(n,i);j(this,o.length),!e&&a?vn(i)?function(n,t,e){n.forEach((function(n){-1!==_n.indexOf(n.tagName)&&function(n,t,e){n.setAttribute("loading","lazy"),on(n,t,e),function(n,t){var e=X[n.tagName];e&&e(n,t)}(n,t),k(n,m)}(n,t,e)})),j(e,0)}(o,i,this):(r=o,function(n){n.disconnect()}(t=this._observer),function(n,t){t.forEach((function(t){n.observe(t)}))}(t,r)):this.loadAll(o)},destroy:function(){this._observer&&this._observer.disconnect(),pn(this._settings).forEach((function(n){$(n)})),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(n){var t=this,e=this._settings;mn(n,e).forEach((function(n){R(n,t),ln(n,e,t)}))},restoreAll:function(){var n=this._settings;pn(n).forEach((function(t){fn(t,n)}))}},En.load=function(n,t){var e=c(t);ln(n,e)},En.resetStatus=function(n){A(n)},t&&function(n,t){if(t)if(t.length)for(var e,a=0;e=t[a];a+=1)l(n,e);else l(n,t)}(En,window.lazyLoadOptions),En}()}},t={};function e(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={exports:{}};return n[a].call(i.exports,i,i.exports,e),i.exports}e.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return e.d(t,{a:t}),t},e.d=(n,t)=>{for(var a in t)e.o(t,a)&&!e.o(n,a)&&Object.defineProperty(n,a,{enumerable:!0,get:t[a]})},e.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),(()=>{"use strict";var n=e(2732),t=e.n(n);function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function r(n,t){for(var e=0;e<t.length;e++){var a=t[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,a.key,a)}}var i,o,c,l=function(){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a(this,n),e=Object.assign({elements_selector:"[data-hc-src], [data-hc-bg], [data-hc-bg-hidpi], [data-hc-srcset]",data_src:"hc-src",data_bg:"hc-bg",data_bg_hidpi:"hc-bg-hidpi",data_srcset:"hc-srcset"},e),new(t())(e)}var e,i,o;return e=n,o=[{key:"getInstance",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null===n.instance&&(n.instance=new n(t)),n.instance}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.getInstance(t).update()}},{key:"loadAll",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.getInstance(t).loadAll()}}],(i=null)&&r(e.prototype,i),o&&r(e,o),n}();c=null,(o="instance")in(i=l)?Object.defineProperty(i,o,{value:c,enumerable:!0,configurable:!0,writable:!0}):i[o]=c})()})();
|
|
1
|
+
(()=>{var t={4144:function(t){t.exports=function(){"use strict";function t(){return t=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},t.apply(this,arguments)}var n="undefined"!=typeof window,e=n&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),o=n&&"IntersectionObserver"in window,r=n&&"classList"in document.createElement("p"),a=n&&window.devicePixelRatio>1,i={elements_selector:".lazy",container:e||n?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},c=function(n){return t({},i,n)},l=function(t,n){var e,o="LazyLoad::Initialized",r=new t(n);try{e=new CustomEvent(o,{detail:{instance:r}})}catch(t){(e=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,{instance:r})}window.dispatchEvent(e)},u="src",s="srcset",f="sizes",d="poster",v="llOriginalAttrs",_="data",g="loading",b="loaded",p="applied",m="error",h="native",y="data-",E="ll-status",I=function(t,n){return t.getAttribute(y+n)},w=function(t){return I(t,E)},k=function(t,n){return function(t,n,e){var o="data-ll-status";null!==e?t.setAttribute(o,e):t.removeAttribute(o)}(t,0,n)},A=function(t){return k(t,null)},O=function(t){return null===w(t)},L=function(t){return w(t)===h},x=[g,b,p,m],C=function(t,n,e,o){t&&"function"==typeof t&&(void 0===o?void 0===e?t(n):t(n,e):t(n,e,o))},N=function(t,n){""!==n&&(r?t.classList.add(n):t.className+=(t.className?" ":"")+n)},M=function(t,n){""!==n&&(r?t.classList.remove(n):t.className=t.className.replace(new RegExp("(^|\\s+)"+n+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,""))},j=function(t){return t.llTempImage},z=function(t,n){if(n){var e=n._observer;e&&e.unobserve(t)}},P=function(t,n){t&&(t.loadingCount+=n)},S=function(t,n){t&&(t.toLoadCount=n)},T=function(t){for(var n,e=[],o=0;n=t.children[o];o+=1)"SOURCE"===n.tagName&&e.push(n);return e},R=function(t,n){var e=t.parentNode;e&&"PICTURE"===e.tagName&&T(e).forEach(n)},G=function(t,n){T(t).forEach(n)},D=[u],H=[u,d],V=[u,s,f],F=[_],B=function(t){return!!t[v]},J=function(t){return t[v]},U=function(t){return delete t[v]},$=function(t,n){if(!B(t)){var e={};n.forEach((function(n){e[n]=t.getAttribute(n)})),t[v]=e}},q=function(t,n){if(B(t)){var e=J(t);n.forEach((function(n){!function(t,n,e){e?t.setAttribute(n,e):t.removeAttribute(n)}(t,n,e[n])}))}},K=function(t,n,e){N(t,n.class_applied),k(t,p),e&&(n.unobserve_completed&&z(t,n),C(n.callback_applied,t,e))},Q=function(t,n,e){N(t,n.class_loading),k(t,g),e&&(P(e,1),C(n.callback_loading,t,e))},W=function(t,n,e){e&&t.setAttribute(n,e)},X=function(t,n){W(t,f,I(t,n.data_sizes)),W(t,s,I(t,n.data_srcset)),W(t,u,I(t,n.data_src))},Y={IMG:function(t,n){R(t,(function(t){$(t,V),X(t,n)})),$(t,V),X(t,n)},IFRAME:function(t,n){$(t,D),W(t,u,I(t,n.data_src))},VIDEO:function(t,n){G(t,(function(t){$(t,D),W(t,u,I(t,n.data_src))})),$(t,H),W(t,d,I(t,n.data_poster)),W(t,u,I(t,n.data_src)),t.load()},OBJECT:function(t,n){$(t,F),W(t,_,I(t,n.data_src))}},Z=["IMG","IFRAME","VIDEO","OBJECT"],tt=function(t,n){!n||function(t){return t.loadingCount>0}(n)||function(t){return t.toLoadCount>0}(n)||C(t.callback_finish,n)},nt=function(t,n,e){t.addEventListener(n,e),t.llEvLisnrs[n]=e},et=function(t,n,e){t.removeEventListener(n,e)},ot=function(t){return!!t.llEvLisnrs},rt=function(t){if(ot(t)){var n=t.llEvLisnrs;for(var e in n){var o=n[e];et(t,e,o)}delete t.llEvLisnrs}},at=function(t,n,e){!function(t){delete t.llTempImage}(t),P(e,-1),function(t){t&&(t.toLoadCount-=1)}(e),M(t,n.class_loading),n.unobserve_completed&&z(t,e)},it=function(t,n,e){var o=j(t)||t;ot(o)||function(t,n,e){ot(t)||(t.llEvLisnrs={});var o="VIDEO"===t.tagName?"loadeddata":"load";nt(t,o,n),nt(t,"error",e)}(o,(function(r){!function(t,n,e,o){var r=L(n);at(n,e,o),N(n,e.class_loaded),k(n,b),C(e.callback_loaded,n,o),r||tt(e,o)}(0,t,n,e),rt(o)}),(function(r){!function(t,n,e,o){var r=L(n);at(n,e,o),N(n,e.class_error),k(n,m),C(e.callback_error,n,o),e.restore_on_error&&q(n,V),r||tt(e,o)}(0,t,n,e),rt(o)}))},ct=function(t,n,e){!function(t){return Z.indexOf(t.tagName)>-1}(t)?function(t,n,e){!function(t){t.llTempImage=document.createElement("IMG")}(t),it(t,n,e),function(t){B(t)||(t[v]={backgroundImage:t.style.backgroundImage})}(t),function(t,n,e){var o=I(t,n.data_bg),r=I(t,n.data_bg_hidpi),i=a&&r?r:o;i&&(t.style.backgroundImage='url("'.concat(i,'")'),j(t).setAttribute(u,i),Q(t,n,e))}(t,n,e),function(t,n,e){var o=I(t,n.data_bg_multi),r=I(t,n.data_bg_multi_hidpi),i=a&&r?r:o;i&&(t.style.backgroundImage=i,K(t,n,e))}(t,n,e),function(t,n,e){var o=I(t,n.data_bg_set);if(o){var r=o.split("|"),a=r.map((function(t){return"image-set(".concat(t,")")}));t.style.backgroundImage=a.join(),""===t.style.backgroundImage&&(a=r.map((function(t){return"-webkit-image-set(".concat(t,")")})),t.style.backgroundImage=a.join()),K(t,n,e)}}(t,n,e)}(t,n,e):function(t,n,e){it(t,n,e),function(t,n,e){var o=Y[t.tagName];o&&(o(t,n),Q(t,n,e))}(t,n,e)}(t,n,e)},lt=function(t){t.removeAttribute(u),t.removeAttribute(s),t.removeAttribute(f)},ut=function(t){R(t,(function(t){q(t,V)})),q(t,V)},st={IMG:ut,IFRAME:function(t){q(t,D)},VIDEO:function(t){G(t,(function(t){q(t,D)})),q(t,H),t.load()},OBJECT:function(t){q(t,F)}},ft=function(t,n){(function(t){var n=st[t.tagName];n?n(t):function(t){if(B(t)){var n=J(t);t.style.backgroundImage=n.backgroundImage}}(t)})(t),function(t,n){O(t)||L(t)||(M(t,n.class_entered),M(t,n.class_exited),M(t,n.class_applied),M(t,n.class_loading),M(t,n.class_loaded),M(t,n.class_error))}(t,n),A(t),U(t)},dt=["IMG","IFRAME","VIDEO"],vt=function(t){return t.use_native&&"loading"in HTMLImageElement.prototype},_t=function(t,n,e){t.forEach((function(t){return function(t){return t.isIntersecting||t.intersectionRatio>0}(t)?function(t,n,e,o){var r=function(t){return x.indexOf(w(t))>=0}(t);k(t,"entered"),N(t,e.class_entered),M(t,e.class_exited),function(t,n,e){n.unobserve_entered&&z(t,e)}(t,e,o),C(e.callback_enter,t,n,o),r||ct(t,e,o)}(t.target,t,n,e):function(t,n,e,o){O(t)||(N(t,e.class_exited),function(t,n,e,o){e.cancel_on_exit&&function(t){return w(t)===g}(t)&&"IMG"===t.tagName&&(rt(t),function(t){R(t,(function(t){lt(t)})),lt(t)}(t),ut(t),M(t,e.class_loading),P(o,-1),A(t),C(e.callback_cancel,t,n,o))}(t,n,e,o),C(e.callback_exit,t,n,o))}(t.target,t,n,e)}))},gt=function(t){return Array.prototype.slice.call(t)},bt=function(t){return t.container.querySelectorAll(t.elements_selector)},pt=function(t){return function(t){return w(t)===m}(t)},mt=function(t,n){return function(t){return gt(t).filter(O)}(t||bt(n))},ht=function(t,e){var r=c(t);this._settings=r,this.loadingCount=0,function(t,n){o&&!vt(t)&&(n._observer=new IntersectionObserver((function(e){_t(e,t,n)}),function(t){return{root:t.container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}}(t)))}(r,this),function(t,e){n&&(e._onlineHandler=function(){!function(t,n){var e;(e=bt(t),gt(e).filter(pt)).forEach((function(n){M(n,t.class_error),A(n)})),n.update()}(t,e)},window.addEventListener("online",e._onlineHandler))}(r,this),this.update(e)};return ht.prototype={update:function(t){var n,r,a=this._settings,i=mt(t,a);S(this,i.length),!e&&o?vt(a)?function(t,n,e){t.forEach((function(t){-1!==dt.indexOf(t.tagName)&&function(t,n,e){t.setAttribute("loading","lazy"),it(t,n,e),function(t,n){var e=Y[t.tagName];e&&e(t,n)}(t,n),k(t,h)}(t,n,e)})),S(e,0)}(i,a,this):(r=i,function(t){t.disconnect()}(n=this._observer),function(t,n){n.forEach((function(n){t.observe(n)}))}(n,r)):this.loadAll(i)},destroy:function(){this._observer&&this._observer.disconnect(),n&&window.removeEventListener("online",this._onlineHandler),bt(this._settings).forEach((function(t){U(t)})),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var n=this,e=this._settings;mt(t,e).forEach((function(t){z(t,n),ct(t,e,n)}))},restoreAll:function(){var t=this._settings;bt(t).forEach((function(n){ft(n,t)}))}},ht.load=function(t,n){var e=c(n);ct(t,e)},ht.resetStatus=function(t){A(t)},n&&function(t,n){if(n)if(n.length)for(var e,o=0;e=n[o];o+=1)l(t,e);else l(t,n)}(ht,window.lazyLoadOptions),ht}()}},n={};function e(o){var r=n[o];if(void 0!==r)return r.exports;var a=n[o]={exports:{}};return t[o].call(a.exports,a,a.exports,e),a.exports}e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),(()=>{"use strict";var t=e(4144),n=e.n(t);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function r(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,a(o.key),o)}}function a(t){var n=function(t,n){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==o(n)?n:n+""}var i,c,l,u=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),e=Object.assign({elements_selector:"[data-hc-src], [data-hc-bg], [data-hc-bg-hidpi], [data-hc-srcset]",data_src:"hc-src",data_bg:"hc-bg",data_bg_hidpi:"hc-bg-hidpi",data_srcset:"hc-srcset"},e),this.lazyLoadInstance=new(n())(e)}return e=t,a=[{key:"getInstance",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.instance||(t.instance=new t(n)),t.instance.lazyLoadInstance}},{key:"update",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.getInstance(n);e&&"function"==typeof e.update&&e.update()}},{key:"loadAll",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.getInstance(n);e&&"function"==typeof e.loadAll&&e.loadAll()}}],(o=null)&&r(e.prototype,o),a&&r(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,o,a}();i=u,l=void 0,(c=a(c="instance"))in i?Object.defineProperty(i,c,{value:l,enumerable:!0,configurable:!0,writable:!0}):i[c]=l})()})();
|