// source --> https://history.gospmr.org/wp-content/plugins/audioigniter/player/build/app.js?ver=2.0.2 
/*! For license information please see app.js.LICENSE.txt */
(()=>{var e,t,n={3379:e=>{var t={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,n){return"number"!=typeof n||t[e]?n:n+"px"}},4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var l in n)r.call(n,l)&&n[l]&&e.push(l);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},3879:(e,t,n)=>{var r=n(7236),a=n(6189),o={float:"cssFloat"},i=n(3379);function l(e,t,n){var l=o[t];if(void 0===l&&(l=function(e){var t=a(e),n=r(t);return o[t]=o[e]=o[n]=n,n}(t)),l){if(void 0===n)return e.style[l];e.style[l]=i(l,n)}}function u(e,t){for(var n in t)t.hasOwnProperty(n)&&l(e,n,t[n])}function s(){2===arguments.length?"string"==typeof arguments[1]?arguments[0].style.cssText=arguments[1]:u(arguments[0],arguments[1]):l(arguments[0],arguments[1],arguments[2])}e.exports=s,e.exports.set=s,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce((function(t,n){return t[n]=l(e,n||""),t}),{}):l(e,t||"")}},8875:(e,t,n)=>{var r;!function(){"use strict";var a=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:a,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:a&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:a&&!!window.screen};void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},139:e=>{"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},3759:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,a,o,i,l],c=0;(u=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},75:function(e){(function(){var t,n,r;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-r)/1e6},n=process.hrtime,r=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})()):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},7236:e=>{var t=null,n=["Webkit","Moz","O","ms"];e.exports=function(e){t||(t=document.createElement("div"));var r=t.style;if(e in r)return e;for(var a=e.charAt(0).toUpperCase()+e.slice(1),o=n.length;o>=0;o--){var i=n[o]+a;if(i in r)return i}return!1}},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4087:(e,t,n)=>{for(var r=n(75),a="undefined"==typeof window?n.g:window,o=["moz","webkit"],i="AnimationFrame",l=a["request"+i],u=a["cancel"+i]||a["cancelRequest"+i],s=0;!l&&s<o.length;s++)l=a[o[s]+"Request"+i],u=a[o[s]+"Cancel"+i]||a[o[s]+"CancelRequest"+i];if(!l||!u){var c=0,f=0,d=[];l=function(e){if(0===d.length){var t=r(),n=Math.max(0,16.666666666666668-(t-c));c=n+t,setTimeout((function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return d.push({handle:++f,callback:e,cancelled:!1}),f},u=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}e.exports=function(e){return l.call(a,e)},e.exports.cancel=function(){u.apply(a,arguments)},e.exports.polyfill=function(){a.requestAnimationFrame=l,a.cancelAnimationFrame=u}},8682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.renderViewDefault=function(e){return i.default.createElement("div",e)},t.renderTrackHorizontalDefault=function(e){var t=e.style,n=l(e,["style"]),a=r({},t,{right:2,bottom:2,left:2,borderRadius:3});return i.default.createElement("div",r({style:a},n))},t.renderTrackVerticalDefault=function(e){var t=e.style,n=l(e,["style"]),a=r({},t,{right:2,bottom:2,top:2,borderRadius:3});return i.default.createElement("div",r({style:a},n))},t.renderThumbHorizontalDefault=function(e){var t=e.style,n=l(e,["style"]),a=r({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return i.default.createElement("div",r({style:a},n))},t.renderThumbVerticalDefault=function(e){var t=e.style,n=l(e,["style"]),a=r({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return i.default.createElement("div",r({style:a},n))};var a,o=n(7294),i=(a=o)&&a.__esModule?a:{default:a};function l(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},4608:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4087),i=v(o),l=v(n(3879)),u=n(7294),s=v(n(2196)),c=v(n(5205)),f=v(n(3305)),d=v(n(8669)),p=v(n(4749)),h=v(n(6839)),m=n(7679),y=n(8682);function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var k=function(e){function t(e){var n;g(this,t);for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];var i=b(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this,e].concat(a)));return i.getScrollLeft=i.getScrollLeft.bind(i),i.getScrollTop=i.getScrollTop.bind(i),i.getScrollWidth=i.getScrollWidth.bind(i),i.getScrollHeight=i.getScrollHeight.bind(i),i.getClientWidth=i.getClientWidth.bind(i),i.getClientHeight=i.getClientHeight.bind(i),i.getValues=i.getValues.bind(i),i.getThumbHorizontalWidth=i.getThumbHorizontalWidth.bind(i),i.getThumbVerticalHeight=i.getThumbVerticalHeight.bind(i),i.getScrollLeftForOffset=i.getScrollLeftForOffset.bind(i),i.getScrollTopForOffset=i.getScrollTopForOffset.bind(i),i.scrollLeft=i.scrollLeft.bind(i),i.scrollTop=i.scrollTop.bind(i),i.scrollToLeft=i.scrollToLeft.bind(i),i.scrollToTop=i.scrollToTop.bind(i),i.scrollToRight=i.scrollToRight.bind(i),i.scrollToBottom=i.scrollToBottom.bind(i),i.handleTrackMouseEnter=i.handleTrackMouseEnter.bind(i),i.handleTrackMouseLeave=i.handleTrackMouseLeave.bind(i),i.handleHorizontalTrackMouseDown=i.handleHorizontalTrackMouseDown.bind(i),i.handleVerticalTrackMouseDown=i.handleVerticalTrackMouseDown.bind(i),i.handleHorizontalThumbMouseDown=i.handleHorizontalThumbMouseDown.bind(i),i.handleVerticalThumbMouseDown=i.handleVerticalThumbMouseDown.bind(i),i.handleWindowResize=i.handleWindowResize.bind(i),i.handleScroll=i.handleScroll.bind(i),i.handleDrag=i.handleDrag.bind(i),i.handleDragEnd=i.handleDragEnd.bind(i),i.state={didMountUniversal:!1},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){this.props.universal&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,o.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view.scrollLeft}},{key:"getScrollTop",value:function(){return this.view.scrollTop}},{key:"getScrollWidth",value:function(){return this.view.scrollWidth}},{key:"getScrollHeight",value:function(){return this.view.scrollHeight}},{key:"getClientWidth",value:function(){return this.view.clientWidth}},{key:"getClientHeight",value:function(){return this.view.clientHeight}},{key:"getValues",value:function(){var e=this.view,t=e.scrollLeft,n=e.scrollTop,r=e.scrollWidth,a=e.scrollHeight,o=e.clientWidth,i=e.clientHeight;return{left:t/(r-o)||0,top:n/(a-i)||0,scrollLeft:t,scrollTop:n,scrollWidth:r,scrollHeight:a,clientWidth:o,clientHeight:i}}},{key:"getThumbHorizontalWidth",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,a=r.scrollWidth,o=r.clientWidth,i=(0,p.default)(this.trackHorizontal),l=Math.ceil(o/a*i);return i===l?0:t||Math.max(l,n)}},{key:"getThumbVerticalHeight",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,a=r.scrollHeight,o=r.clientHeight,i=(0,h.default)(this.trackVertical),l=Math.ceil(o/a*i);return i===l?0:t||Math.max(l,n)}},{key:"getScrollLeftForOffset",value:function(e){var t=this.view,n=t.scrollWidth,r=t.clientWidth;return e/((0,p.default)(this.trackHorizontal)-this.getThumbHorizontalWidth())*(n-r)}},{key:"getScrollTopForOffset",value:function(e){var t=this.view,n=t.scrollHeight,r=t.clientHeight;return e/((0,h.default)(this.trackVertical)-this.getThumbVerticalHeight())*(n-r)}},{key:"scrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view.scrollLeft=e}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view.scrollTop=e}},{key:"scrollToLeft",value:function(){this.view.scrollLeft=0}},{key:"scrollToTop",value:function(){this.view.scrollTop=0}},{key:"scrollToRight",value:function(){this.view.scrollLeft=this.view.scrollWidth}},{key:"scrollToBottom",value:function(){this.view.scrollTop=this.view.scrollHeight}},{key:"addListeners",value:function(){if("undefined"!=typeof document){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,a=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,f.default)()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),a.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!=typeof document){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,a=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,f.default)()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),a.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,r=n.onScroll,a=n.onScrollFrame;r&&r(e),this.update((function(e){var n=e.scrollLeft,r=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=r,a&&a(e)})),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,r=t.getBoundingClientRect().left,a=this.getThumbHorizontalWidth(),o=Math.abs(r-n)-a/2;this.view.scrollLeft=this.getScrollLeftForOffset(o)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect().top,a=this.getThumbVerticalHeight(),o=Math.abs(r-n)-a/2;this.view.scrollTop=this.getScrollTopForOffset(o)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,r=t.offsetWidth,a=t.getBoundingClientRect().left;this.prevPageX=r-(n-a)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,r=t.offsetHeight,a=t.getBoundingClientRect().top;this.prevPageY=r-(n-a)}},{key:"setupDragging",value:function(){(0,l.default)(document.body,m.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=d.default}},{key:"teardownDragging",value:function(){(0,l.default)(document.body,m.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=-this.trackHorizontal.getBoundingClientRect().left+t-(this.getThumbHorizontalWidth()-this.prevPageX);this.view.scrollLeft=this.getScrollLeftForOffset(n)}if(this.prevPageY){var r=e.clientY,a=-this.trackVertical.getBoundingClientRect().top+r-(this.getThumbVerticalHeight()-this.prevPageY);this.view.scrollTop=this.getScrollTopForOffset(a)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,l.default)(this.trackHorizontal,{opacity:1}),(0,l.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout((function(){(0,l.default)(e.trackHorizontal,{opacity:0}),(0,l.default)(e.trackVertical,{opacity:0})}),t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval((function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop}),100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&i.default.cancel(this.requestFrame),this.requestFrame=(0,i.default)((function(){t.requestFrame=void 0,e()}))}},{key:"update",value:function(e){var t=this;this.raf((function(){return t._update(e)}))}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,r=t.hideTracksWhenNotNeeded,a=this.getValues();if((0,f.default)()){var o=a.scrollLeft,i=a.clientWidth,u=a.scrollWidth,s=(0,p.default)(this.trackHorizontal),c=this.getThumbHorizontalWidth(),d={width:c,transform:"translateX("+o/(u-i)*(s-c)+"px)"},m=a.scrollTop,y=a.clientHeight,v=a.scrollHeight,g=(0,h.default)(this.trackVertical),b=this.getThumbVerticalHeight(),k={height:b,transform:"translateY("+m/(v-y)*(g-b)+"px)"};if(r){var w={visibility:u>i?"visible":"hidden"},S={visibility:v>y?"visible":"hidden"};(0,l.default)(this.trackHorizontal,w),(0,l.default)(this.trackVertical,S)}(0,l.default)(this.thumbHorizontal,d),(0,l.default)(this.thumbVertical,k)}n&&n(a),"function"==typeof e&&e(a)}},{key:"render",value:function(){var e=this,t=(0,f.default)(),n=this.props,a=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),o=n.renderTrackHorizontal,i=n.renderTrackVertical,l=n.renderThumbHorizontal,s=n.renderThumbVertical,d=n.tagName,p=(n.hideTracksWhenNotNeeded,n.autoHide),h=(n.autoHideTimeout,n.autoHideDuration),y=(n.thumbSize,n.thumbMinSize,n.universal),v=n.autoHeight,g=n.autoHeightMin,b=n.autoHeightMax,k=n.style,w=n.children,S=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),_=this.state.didMountUniversal,T=r({},m.containerStyleDefault,v&&r({},m.containerStyleAutoHeight,{minHeight:g,maxHeight:b}),k),E=r({},m.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},v&&r({},m.viewStyleAutoHeight,{minHeight:(0,c.default)(g)?"calc("+g+" + "+t+"px)":g+t,maxHeight:(0,c.default)(b)?"calc("+b+" + "+t+"px)":b+t}),v&&y&&!_&&{minHeight:g,maxHeight:b},y&&!_&&m.viewStyleUniversalInitial),O={transition:"opacity "+h+"ms",opacity:0},P=r({},m.trackHorizontalStyleDefault,p&&O,(!t||y&&!_)&&{display:"none"}),C=r({},m.trackVerticalStyleDefault,p&&O,(!t||y&&!_)&&{display:"none"});return(0,u.createElement)(d,r({},S,{style:T,ref:function(t){e.container=t}}),[(0,u.cloneElement)(a({style:E}),{key:"view",ref:function(t){e.view=t}},w),(0,u.cloneElement)(o({style:P}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,u.cloneElement)(l({style:m.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,u.cloneElement)(i({style:C}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,u.cloneElement)(s({style:m.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(u.Component);t.default=k,k.propTypes={onScroll:s.default.func,onScrollFrame:s.default.func,onScrollStart:s.default.func,onScrollStop:s.default.func,onUpdate:s.default.func,renderView:s.default.func,renderTrackHorizontal:s.default.func,renderTrackVertical:s.default.func,renderThumbHorizontal:s.default.func,renderThumbVertical:s.default.func,tagName:s.default.string,thumbSize:s.default.number,thumbMinSize:s.default.number,hideTracksWhenNotNeeded:s.default.bool,autoHide:s.default.bool,autoHideTimeout:s.default.number,autoHideDuration:s.default.number,autoHeight:s.default.bool,autoHeightMin:s.default.oneOfType([s.default.number,s.default.string]),autoHeightMax:s.default.oneOfType([s.default.number,s.default.string]),universal:s.default.bool,style:s.default.object,children:s.default.node},k.defaultProps={renderView:y.renderViewDefault,renderTrackHorizontal:y.renderTrackHorizontalDefault,renderTrackVertical:y.renderTrackVerticalDefault,renderThumbHorizontal:y.renderThumbHorizontalDefault,renderThumbVertical:y.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},7679:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},1298:(e,t,n)=>{"use strict";t.$B=void 0;var r,a=n(4608),o=(r=a)&&r.__esModule?r:{default:r};o.default,t.$B=o.default},6839:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,a=n.paddingBottom;return t-parseFloat(r)-parseFloat(a)}},4749:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,a=n.paddingRight;return t-parseFloat(r)-parseFloat(a)}},3305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!1!==i)return i;if("undefined"!=typeof document){var e=document.createElement("div");(0,o.default)(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),i=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else i=0;return i||0};var r,a=n(3879),o=(r=a)&&r.__esModule?r:{default:r};var i=!1},5205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e}},8669:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!1}},2496:(e,t,n)=>{"use strict";var r=n(139),a=n(3759),o=n(7288);e.exports=function(){function e(e,t,n,r,i,l){l!==o&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},2196:(e,t,n)=>{e.exports=n(2496)()},7288:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(3840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function u(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){y[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];y[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){y[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){y[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){y[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){y[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){y[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){y[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){y[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function b(e,t,n,r){var a=y.hasOwnProperty(t)?y[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,g);y[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,g);y[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,g);y[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){y[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),y.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){y[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),P=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function A(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var D,F=Object.assign;function z(e){if(void 0===D)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var H=!1;function j(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l]){var u="\n"+a[i].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=i&&0<=l);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function U(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=j(e.type,!1);case 11:return e=j(e.type.render,!1);case 1:return e=j(e.type,!0);default:return""}}function B(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case _:return"Fragment";case S:return"Portal";case E:return"Profiler";case T:return"StrictMode";case x:return"Suspense";case L:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case C:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:B(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return B(e(t))}catch(e){}}return null}function V(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B(t);case 8:return t===T?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Z(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function K(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){K(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function oe(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var se,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((se=se||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ye(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ge(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ke=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,_e=null,Te=null;function Ee(e){if(e=ba(e)){if("function"!=typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=wa(t),Se(e.stateNode,e.type,t))}}function Oe(e){_e?Te?Te.push(e):Te=[e]:_e=e}function Pe(){if(_e){var e=_e,t=Te;if(Te=_e=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Ce(e,t){return e(t)}function xe(){}var Le=!1;function Ne(e,t,n){if(Le)return e(t,n);Le=!0;try{return Ce(e,t,n)}finally{Le=!1,(null!==_e||null!==Te)&&(xe(),Pe())}}function Me(e,t){var n=e.stateNode;if(null===n)return null;var r=wa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Re=!1;if(c)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(ce){Re=!1}function Ae(e,t,n,r,a,o,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var De=!1,Fe=null,ze=!1,He=null,je={onError:function(e){De=!0,Fe=e}};function Ue(e,t,n,r,a,o,i,l,u){De=!1,Fe=null,Ae.apply(je,arguments)}function Be(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ve(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function We(e){if(Be(e)!==e)throw Error(o(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Be(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return We(a),e;if(i===r)return We(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var l=!1,u=a.child;u;){if(u===n){l=!0,n=a,r=i;break}if(u===r){l=!0,r=a,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=a;break}if(u===r){l=!0,r=i,n=a;break}u=u.sibling}if(!l)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?$e(e):null}function $e(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=$e(e);if(null!==t)return t;e=e.sibling}return null}var Qe=a.unstable_scheduleCallback,Ye=a.unstable_cancelCallback,Ge=a.unstable_shouldYield,Ze=a.unstable_requestPaint,Ke=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(lt(e)/ut|0)|0},lt=Math.log,ut=Math.LN2;var st=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~a;0!==l?r=ft(l):0!==(o&=i)&&(r=ft(o))}else 0!==(i=n&~a)?r=ft(i):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=st;return 0==(4194240&(st<<=1))&&(st=64),e}function yt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var bt=0;function kt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var wt,St,_t,Tt,Et,Ot=!1,Pt=[],Ct=null,xt=null,Lt=null,Nt=new Map,Mt=new Map,Rt=[],It="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function At(e,t){switch(e){case"focusin":case"focusout":Ct=null;break;case"dragenter":case"dragleave":xt=null;break;case"mouseover":case"mouseout":Lt=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function Dt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=ba(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Ft(e){var t=ga(e.target);if(null!==t){var n=Be(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ve(n)))return e.blockedOn=t,void Et(e.priority,(function(){_t(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ba(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ke=r,n.target.dispatchEvent(r),ke=null,t.shift()}return!0}function Ht(e,t,n){zt(e)&&n.delete(t)}function jt(){Ot=!1,null!==Ct&&zt(Ct)&&(Ct=null),null!==xt&&zt(xt)&&(xt=null),null!==Lt&&zt(Lt)&&(Lt=null),Nt.forEach(Ht),Mt.forEach(Ht)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,Ot||(Ot=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,jt)))}function Bt(e){function t(t){return Ut(t,e)}if(0<Pt.length){Ut(Pt[0],e);for(var n=1;n<Pt.length;n++){var r=Pt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ct&&Ut(Ct,e),null!==xt&&Ut(xt,e),null!==Lt&&Ut(Lt,e),Nt.forEach(t),Mt.forEach(t),n=0;n<Rt.length;n++)(r=Rt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Rt.length&&null===(n=Rt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Rt.shift()}var Vt=k.ReactCurrentBatchConfig,Wt=!0;function qt(e,t,n,r){var a=bt,o=Vt.transition;Vt.transition=null;try{bt=1,Qt(e,t,n,r)}finally{bt=a,Vt.transition=o}}function $t(e,t,n,r){var a=bt,o=Vt.transition;Vt.transition=null;try{bt=4,Qt(e,t,n,r)}finally{bt=a,Vt.transition=o}}function Qt(e,t,n,r){if(Wt){var a=Gt(e,t,n,r);if(null===a)Wr(e,t,r,Yt,n),At(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Ct=Dt(Ct,e,t,n,r,a),!0;case"dragenter":return xt=Dt(xt,e,t,n,r,a),!0;case"mouseover":return Lt=Dt(Lt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Nt.set(o,Dt(Nt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Mt.set(o,Dt(Mt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(At(e,r),4&t&&-1<It.indexOf(e)){for(;null!==a;){var o=ba(a);if(null!==o&&wt(o),null===(o=Gt(e,t,n,r))&&Wr(e,t,r,Yt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Yt=null;function Gt(e,t,n,r){if(Yt=null,null!==(e=ga(e=we(r))))if(null===(t=Be(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ve(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Zt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Kt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Kt?Kt.value:Kt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Jt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,ln,un,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(sn),fn=F({},sn,{view:0,detail:0}),dn=an(fn),pn=F({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(on=e.screenX-un.screenX,ln=e.screenY-un.screenY):ln=on=0,un=e),on)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=an(pn),mn=an(F({},pn,{dataTransfer:0})),yn=an(F({},fn,{relatedTarget:0})),vn=an(F({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=F({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(gn),kn=an(F({},sn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function En(){return Tn}var On=F({},fn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pn=an(On),Cn=an(F({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),xn=an(F({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),Ln=an(F({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=F({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=an(Nn),Rn=[9,13,27,32],In=c&&"CompositionEvent"in window,An=null;c&&"documentMode"in document&&(An=document.documentMode);var Dn=c&&"TextEvent"in window&&!An,Fn=c&&(!In||An&&8<An&&11>=An),zn=String.fromCharCode(32),Hn=!1;function jn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1;var Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function qn(e,t,n,r){Oe(r),0<(t=$r(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $n=null,Qn=null;function Yn(e){zr(e,0)}function Gn(e){if(Q(ka(e)))return e}function Zn(e,t){if("change"===e)return t}var Kn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Kn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){$n&&($n.detachEvent("onpropertychange",nr),Qn=$n=null)}function nr(e){if("value"===e.propertyName&&Gn(Qn)){var t=[];qn(t,Qn,e,we(e)),Ne(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Qn=n,($n=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Qn)}function or(e,t){if("click"===e)return Gn(t)}function ir(e,t){if("input"===e||"change"===e)return Gn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!f.call(t,a)||!lr(e[a],t[a]))return!1}return!0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var i=cr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,yr=null,vr=null,gr=null,br=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==yr||yr!==Y(r)||("selectionStart"in(r=yr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&ur(gr,r)||(gr=r,0<(r=$r(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},_r={},Tr={};function Er(e){if(_r[e])return _r[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Tr)return _r[e]=n[t];return e}c&&(Tr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Or=Er("animationend"),Pr=Er("animationiteration"),Cr=Er("animationstart"),xr=Er("transitionend"),Lr=new Map,Nr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){Lr.set(e,t),u(t,[e])}for(var Rr=0;Rr<Nr.length;Rr++){var Ir=Nr[Rr];Mr(Ir.toLowerCase(),"on"+(Ir[0].toUpperCase()+Ir.slice(1)))}Mr(Or,"onAnimationEnd"),Mr(Pr,"onAnimationIteration"),Mr(Cr,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(xr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ar="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ar));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,l,u,s){if(Ue.apply(this,arguments),De){if(!De)throw Error(o(198));var c=Fe;De=!1,Fe=null,ze||(ze=!0,He=c)}}(r,t,void 0,e),e.currentTarget=null}function zr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==o&&a.isPropagationStopped())break e;Fr(a,l,s),o=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,s=l.currentTarget,l=l.listener,u!==o&&a.isPropagationStopped())break e;Fr(a,l,s),o=u}}}if(ze)throw e=He,ze=!1,He=null,e}function Hr(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(Vr(t,e,2,!1),n.add(r))}function jr(e,t,n){var r=0;t&&(r|=4),Vr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function Br(e){if(!e[Ur]){e[Ur]=!0,i.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||jr(t,!1,e),jr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,jr("selectionchange",!1,t))}}function Vr(e,t,n,r){switch(Zt(t)){case 1:var a=qt;break;case 4:a=$t;break;default:a=Qt}n=a.bind(null,t,n,e),a=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===a||8===u.nodeType&&u.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=ga(l)))return;if(5===(u=i.tag)||6===u){r=o=i;continue e}l=l.parentNode}}r=r.return}Ne((function(){var r=o,a=we(n),i=[];e:{var l=Lr.get(e);if(void 0!==l){var u=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=Pn;break;case"focusin":s="focus",u=yn;break;case"focusout":s="blur",u=yn;break;case"beforeblur":case"afterblur":u=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=xn;break;case Or:case Pr:case Cr:u=vn;break;case xr:u=Ln;break;case"scroll":u=dn;break;case"wheel":u=Mn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Cn}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&(null!=(m=Me(h,d))&&c.push(qr(h,m,p)))),f)break;h=h.return}0<c.length&&(l=new u(l,s,null,n,a),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===ke||!(s=n.relatedTarget||n.fromElement)||!ga(s)&&!s[ha])&&(u||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?ga(s):null)&&(s!==(f=Be(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=hn,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Cn,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?l:ka(u),p=null==s?l:ka(s),(l=new c(m,h+"leave",u,n,a)).target=f,l.relatedTarget=p,m=null,ga(a)===r&&((c=new c(d,h+"enter",s,n,a)).target=p,c.relatedTarget=f,m=c),f=m,u&&s)e:{for(d=s,h=0,p=c=u;p;p=Qr(p))h++;for(p=0,m=d;m;m=Qr(m))p++;for(;0<h-p;)c=Qr(c),h--;for(;0<p-h;)d=Qr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Qr(c),d=Qr(d)}c=null}else c=null;null!==u&&Yr(i,l,u,c,!1),null!==s&&null!==f&&Yr(i,f,s,c,!0)}if("select"===(u=(l=r?ka(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var y=Zn;else if(Wn(l))if(Kn)y=ir;else{y=ar;var v=rr}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=or);switch(y&&(y=y(e,r))?qn(i,y,n,a):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&ee(l,"number",l.value)),v=r?ka(r):window,e){case"focusin":(Wn(v)||"true"===v.contentEditable)&&(yr=v,vr=r,gr=null);break;case"focusout":gr=vr=yr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,kr(i,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":kr(i,n,a)}var g;if(In)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Bn?jn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&(Bn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Bn&&(g=en()):(Xt="value"in(Kt=a)?Kt.value:Kt.textContent,Bn=!0)),0<(v=$r(r,b)).length&&(b=new kn(b,e,null,n,a),i.push({event:b,listeners:v}),g?b.data=g:null!==(g=Un(n))&&(b.data=g))),(g=Dn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(Hn=!0,zn);case"textInput":return(e=t.data)===zn&&Hn?null:e;default:return null}}(e,n):function(e,t){if(Bn)return"compositionend"===e||!In&&jn(e,t)?(e=en(),Jt=Xt=Kt=null,Bn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=$r(r,"onBeforeInput")).length&&(a=new kn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=g))}zr(i,t)}))}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $r(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Me(e,n))&&r.unshift(qr(e,o,a)),null!=(o=Me(e,t))&&r.push(qr(e,o,a))),e=e.return}return r}function Qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,a?null!=(u=Me(n,o))&&i.unshift(qr(n,u,l)):a||null!=(u=Me(n,o))&&i.push(qr(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Gr=/\r\n?/g,Zr=/\u0000|\uFFFD/g;function Kr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace(Zr,"")}function Xr(e,t,n){if(t=Kr(t),Kr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(la)}:ra;function la(e){setTimeout((function(){throw e}))}function ua(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Bt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Bt(t)}function sa(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fa=Math.random().toString(36).slice(2),da="__reactFiber$"+fa,pa="__reactProps$"+fa,ha="__reactContainer$"+fa,ma="__reactEvents$"+fa,ya="__reactListeners$"+fa,va="__reactHandles$"+fa;function ga(e){var t=e[da];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[da]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[da])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function ba(e){return!(e=e[da]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ka(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wa(e){return e[pa]||null}var Sa=[],_a=-1;function Ta(e){return{current:e}}function Ea(e){0>_a||(e.current=Sa[_a],Sa[_a]=null,_a--)}function Oa(e,t){_a++,Sa[_a]=e.current,e.current=t}var Pa={},Ca=Ta(Pa),xa=Ta(!1),La=Pa;function Na(e,t){var n=e.type.contextTypes;if(!n)return Pa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ma(e){return null!=(e=e.childContextTypes)}function Ra(){Ea(xa),Ea(Ca)}function Ia(e,t,n){if(Ca.current!==Pa)throw Error(o(168));Oa(Ca,t),Oa(xa,n)}function Aa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,V(e)||"Unknown",a));return F({},n,r)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pa,La=Ca.current,Oa(Ca,e),Oa(xa,xa.current),!0}function Fa(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Aa(e,t,La),r.__reactInternalMemoizedMergedChildContext=e,Ea(xa),Ea(Ca),Oa(Ca,e)):Ea(xa),Oa(xa,n)}var za=null,Ha=!1,ja=!1;function Ua(e){null===za?za=[e]:za.push(e)}function Ba(){if(!ja&&null!==za){ja=!0;var e=0,t=bt;try{var n=za;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}za=null,Ha=!1}catch(t){throw null!==za&&(za=za.slice(e+1)),Qe(Je,Ba),t}finally{bt=t,ja=!1}}return null}var Va=[],Wa=0,qa=null,$a=0,Qa=[],Ya=0,Ga=null,Za=1,Ka="";function Xa(e,t){Va[Wa++]=$a,Va[Wa++]=qa,qa=e,$a=t}function Ja(e,t,n){Qa[Ya++]=Za,Qa[Ya++]=Ka,Qa[Ya++]=Ga,Ga=e;var r=Za;e=Ka;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Za=1<<32-it(t)+a|n<<a|r,Ka=o+e}else Za=1<<o|n<<a|r,Ka=e}function eo(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function to(e){for(;e===qa;)qa=Va[--Wa],Va[Wa]=null,$a=Va[--Wa],Va[Wa]=null;for(;e===Ga;)Ga=Qa[--Ya],Qa[Ya]=null,Ka=Qa[--Ya],Qa[Ya]=null,Za=Qa[--Ya],Qa[Ya]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Ns(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function lo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=sa(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ga?{id:Za,overflow:Ka}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ns(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function uo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function so(e){if(ao){var t=ro;if(t){var n=t;if(!lo(e,t)){if(uo(e))throw Error(o(418));t=sa(n.nextSibling);var r=no;t&&lo(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(uo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!ao)return co(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(uo(e))throw po(),Error(o(418));for(;t;)io(e,t),t=sa(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=sa(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?sa(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=sa(e.nextSibling)}function ho(){ro=no=null,ao=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var yo=k.ReactCurrentBatchConfig;function vo(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var go=Ta(null),bo=null,ko=null,wo=null;function So(){wo=ko=bo=null}function _o(e){var t=go.current;Ea(go),e._currentValue=t}function To(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Eo(e,t){bo=e,wo=ko=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(kl=!0),e.firstContext=null)}function Oo(e){var t=e._currentValue;if(wo!==e)if(e={context:e,memoizedValue:t,next:null},null===ko){if(null===bo)throw Error(o(308));ko=e,bo.dependencies={lanes:0,firstContext:e}}else ko=ko.next=e;return t}var Po=null;function Co(e){null===Po?Po=[e]:Po.push(e)}function xo(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Co(t)):(n.next=a.next,a.next=n),t.interleaved=n,Lo(e,r)}function Lo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var No=!1;function Mo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ro(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Io(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ao(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Cu)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Lo(e,n)}return null===(a=r.interleaved)?(t.next=t,Co(r)):(t.next=a.next,a.next=t),r.interleaved=t,Lo(e,n)}function Do(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}function Fo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function zo(e,t,n,r){var a=e.updateQueue;No=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var u=l,s=u.next;u.next=null,null===i?o=s:i.next=s,i=u;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=s:l.next=s,c.lastBaseUpdate=u))}if(null!==o){var f=a.baseState;for(i=0,c=s=u=null,l=o;;){var d=l.lane,p=l.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(d=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=m.payload)?h.call(p,f,d):h))break e;f=F({},f,d);break e;case 2:No=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(d=a.effects)?a.effects=[l]:d.push(l))}else p={eventTime:p,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,i|=d;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(d=l).next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null}}if(null===c&&(u=f),a.baseState=u,a.firstBaseUpdate=s,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Du|=i,e.lanes=i,e.memoizedState=f}}function Ho(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var jo=(new r.Component).refs;function Uo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Bo={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=es(),a=ts(e),o=Io(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Ao(e,o,a))&&(ns(t,e,a,r),Do(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=es(),a=ts(e),o=Io(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Ao(e,o,a))&&(ns(t,e,a,r),Do(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=es(),r=ts(e),a=Io(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Ao(e,a,r))&&(ns(t,e,r,n),Do(t,e,r))}};function Vo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(a,o))}function Wo(e,t,n){var r=!1,a=Pa,o=t.contextType;return"object"==typeof o&&null!==o?o=Oo(o):(a=Ma(t)?La:Ca.current,o=(r=null!=(r=t.contextTypes))?Na(e,a):Pa),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Bo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function qo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Bo.enqueueReplaceState(t,t.state,null)}function $o(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=jo,Mo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Oo(o):(o=Ma(t)?La:Ca.current,a.context=Na(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(Uo(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Bo.enqueueReplaceState(a,a.state,null),zo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function Qo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===jo&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Yo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Go(e){return(0,e._init)(e._payload)}function Zo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Rs(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Fs(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(e,t,n,r){var o=n.type;return o===_?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===M&&Go(o)===t.type)?((r=a(t,n.props)).ref=Qo(e,t,n),r.return=e,r):((r=Is(n.type,n.key,n.props,null,e.mode,r)).ref=Qo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zs(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=As(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fs(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Is(t.type,t.key,t.props,null,e.mode,n)).ref=Qo(e,null,t),n.return=e,n;case S:return(t=zs(t,e.mode,n)).return=e,t;case M:return d(e,(0,t._init)(t._payload),n)}if(te(t)||A(t))return(t=As(t,e.mode,n,null)).return=e,t;Yo(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===a?s(e,t,n,r):null;case S:return n.key===a?c(e,t,n,r):null;case M:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||A(n))return null!==a?null:f(e,t,n,r,null);Yo(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case M:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||A(r))return f(t,e=e.get(n)||null,r,a,null);Yo(t,r)}return null}function m(a,o,l,u){for(var s=null,c=null,f=o,m=o=0,y=null;null!==f&&m<l.length;m++){f.index>m?(y=f,f=null):y=f.sibling;var v=p(a,f,l[m],u);if(null===v){null===f&&(f=y);break}e&&f&&null===v.alternate&&t(a,f),o=i(v,o,m),null===c?s=v:c.sibling=v,c=v,f=y}if(m===l.length)return n(a,f),ao&&Xa(a,m),s;if(null===f){for(;m<l.length;m++)null!==(f=d(a,l[m],u))&&(o=i(f,o,m),null===c?s=f:c.sibling=f,c=f);return ao&&Xa(a,m),s}for(f=r(a,f);m<l.length;m++)null!==(y=h(f,a,m,l[m],u))&&(e&&null!==y.alternate&&f.delete(null===y.key?m:y.key),o=i(y,o,m),null===c?s=y:c.sibling=y,c=y);return e&&f.forEach((function(e){return t(a,e)})),ao&&Xa(a,m),s}function y(a,l,u,s){var c=A(u);if("function"!=typeof c)throw Error(o(150));if(null==(u=c.call(u)))throw Error(o(151));for(var f=c=null,m=l,y=l=0,v=null,g=u.next();null!==m&&!g.done;y++,g=u.next()){m.index>y?(v=m,m=null):v=m.sibling;var b=p(a,m,g.value,s);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(a,m),l=i(b,l,y),null===f?c=b:f.sibling=b,f=b,m=v}if(g.done)return n(a,m),ao&&Xa(a,y),c;if(null===m){for(;!g.done;y++,g=u.next())null!==(g=d(a,g.value,s))&&(l=i(g,l,y),null===f?c=g:f.sibling=g,f=g);return ao&&Xa(a,y),c}for(m=r(a,m);!g.done;y++,g=u.next())null!==(g=h(m,a,y,g.value,s))&&(e&&null!==g.alternate&&m.delete(null===g.key?y:g.key),l=i(g,l,y),null===f?c=g:f.sibling=g,f=g);return e&&m.forEach((function(e){return t(a,e)})),ao&&Xa(a,y),c}return function e(r,o,i,u){if("object"==typeof i&&null!==i&&i.type===_&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var s=i.key,c=o;null!==c;){if(c.key===s){if((s=i.type)===_){if(7===c.tag){n(r,c.sibling),(o=a(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===M&&Go(s)===c.type){n(r,c.sibling),(o=a(c,i.props)).ref=Qo(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===_?((o=As(i.props.children,r.mode,u,i.key)).return=r,r=o):((u=Is(i.type,i.key,i.props,null,r.mode,u)).ref=Qo(r,o,i),u.return=r,r=u)}return l(r);case S:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=zs(i,r.mode,u)).return=r,r=o}return l(r);case M:return e(r,o,(c=i._init)(i._payload),u)}if(te(i))return m(r,o,i,u);if(A(i))return y(r,o,i,u);Yo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Fs(i,r.mode,u)).return=r,r=o),l(r)):n(r,o)}}var Ko=Zo(!0),Xo=Zo(!1),Jo={},ei=Ta(Jo),ti=Ta(Jo),ni=Ta(Jo);function ri(e){if(e===Jo)throw Error(o(174));return e}function ai(e,t){switch(Oa(ni,t),Oa(ti,e),Oa(ei,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ea(ei),Oa(ei,t)}function oi(){Ea(ei),Ea(ti),Ea(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=ue(t,e.type);t!==n&&(Oa(ti,e),Oa(ei,n))}function li(e){ti.current===e&&(Ea(ei),Ea(ti))}var ui=Ta(0);function si(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ci=[];function fi(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var di=k.ReactCurrentDispatcher,pi=k.ReactCurrentBatchConfig,hi=0,mi=null,yi=null,vi=null,gi=!1,bi=!1,ki=0,wi=0;function Si(){throw Error(o(321))}function _i(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ti(e,t,n,r,a,i){if(hi=i,mi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,di.current=null===e||null===e.memoizedState?ll:ul,e=n(r,a),bi){i=0;do{if(bi=!1,ki=0,25<=i)throw Error(o(301));i+=1,vi=yi=null,t.updateQueue=null,di.current=sl,e=n(r,a)}while(bi)}if(di.current=il,t=null!==yi&&null!==yi.next,hi=0,vi=yi=mi=null,gi=!1,t)throw Error(o(300));return e}function Ei(){var e=0!==ki;return ki=0,e}function Oi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===vi?mi.memoizedState=vi=e:vi=vi.next=e,vi}function Pi(){if(null===yi){var e=mi.alternate;e=null!==e?e.memoizedState:null}else e=yi.next;var t=null===vi?mi.memoizedState:vi.next;if(null!==t)vi=t,yi=e;else{if(null===e)throw Error(o(310));e={memoizedState:(yi=e).memoizedState,baseState:yi.baseState,baseQueue:yi.baseQueue,queue:yi.queue,next:null},null===vi?mi.memoizedState=vi=e:vi=vi.next=e}return vi}function Ci(e,t){return"function"==typeof t?t(e):t}function xi(e){var t=Pi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=yi,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var u=l=null,s=null,c=i;do{var f=c.lane;if((hi&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(u=s=d,l=r):s=s.next=d,mi.lanes|=f,Du|=f}c=c.next}while(null!==c&&c!==i);null===s?l=r:s.next=u,lr(r,t.memoizedState)||(kl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,mi.lanes|=i,Du|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Li(e){var t=Pi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);lr(i,t.memoizedState)||(kl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ni(){}function Mi(e,t){var n=mi,r=Pi(),a=t(),i=!lr(r.memoizedState,a);if(i&&(r.memoizedState=a,kl=!0),r=r.queue,Wi(Ai.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==vi&&1&vi.memoizedState.tag){if(n.flags|=2048,Hi(9,Ii.bind(null,n,r,a,t),void 0,null),null===xu)throw Error(o(349));0!=(30&hi)||Ri(n,t,a)}return a}function Ri(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ii(e,t,n,r){t.value=n,t.getSnapshot=r,Di(t)&&Fi(e)}function Ai(e,t,n){return n((function(){Di(t)&&Fi(e)}))}function Di(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function Fi(e){var t=Lo(e,1);null!==t&&ns(t,e,1,-1)}function zi(e){var t=Oi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,mi,e),[t.memoizedState,e]}function Hi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ji(){return Pi().memoizedState}function Ui(e,t,n,r){var a=Oi();mi.flags|=e,a.memoizedState=Hi(1|t,n,void 0,void 0===r?null:r)}function Bi(e,t,n,r){var a=Pi();r=void 0===r?null:r;var o=void 0;if(null!==yi){var i=yi.memoizedState;if(o=i.destroy,null!==r&&_i(r,i.deps))return void(a.memoizedState=Hi(t,n,o,r))}mi.flags|=e,a.memoizedState=Hi(1|t,n,o,r)}function Vi(e,t){return Ui(8390656,8,e,t)}function Wi(e,t){return Bi(2048,8,e,t)}function qi(e,t){return Bi(4,2,e,t)}function $i(e,t){return Bi(4,4,e,t)}function Qi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Yi(e,t,n){return n=null!=n?n.concat([e]):null,Bi(4,4,Qi.bind(null,t,e),n)}function Gi(){}function Zi(e,t){var n=Pi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_i(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ki(e,t){var n=Pi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_i(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 0==(21&hi)?(e.baseState&&(e.baseState=!1,kl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),mi.lanes|=n,Du|=n,e.baseState=!0),t)}function Ji(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{bt=n,pi.transition=r}}function el(){return Pi().memoizedState}function tl(e,t,n){var r=ts(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))al(t,n);else if(null!==(n=xo(e,t,n,r))){ns(n,e,r,es()),ol(n,t,r)}}function nl(e,t,n){var r=ts(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))al(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,i)){var u=t.interleaved;return null===u?(a.next=a,Co(t)):(a.next=u.next,u.next=a),void(t.interleaved=a)}}catch(e){}null!==(n=xo(e,t,a,r))&&(ns(n,e,r,a=es()),ol(n,t,r))}}function rl(e){var t=e.alternate;return e===mi||null!==t&&t===mi}function al(e,t){bi=gi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ol(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var il={readContext:Oo,useCallback:Si,useContext:Si,useEffect:Si,useImperativeHandle:Si,useInsertionEffect:Si,useLayoutEffect:Si,useMemo:Si,useReducer:Si,useRef:Si,useState:Si,useDebugValue:Si,useDeferredValue:Si,useTransition:Si,useMutableSource:Si,useSyncExternalStore:Si,useId:Si,unstable_isNewReconciler:!1},ll={readContext:Oo,useCallback:function(e,t){return Oi().memoizedState=[e,void 0===t?null:t],e},useContext:Oo,useEffect:Vi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ui(4194308,4,Qi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=Oi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,mi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Oi().memoizedState=e},useState:zi,useDebugValue:Gi,useDeferredValue:function(e){return Oi().memoizedState=e},useTransition:function(){var e=zi(!1),t=e[0];return e=Ji.bind(null,e[1]),Oi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=mi,a=Oi();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===xu)throw Error(o(349));0!=(30&hi)||Ri(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Vi(Ai.bind(null,r,i,e),[e]),r.flags|=2048,Hi(9,Ii.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Oi(),t=xu.identifierPrefix;if(ao){var n=Ka;t=":"+t+"R"+(n=(Za&~(1<<32-it(Za)-1)).toString(32)+n),0<(n=ki++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ul={readContext:Oo,useCallback:Zi,useContext:Oo,useEffect:Wi,useImperativeHandle:Yi,useInsertionEffect:qi,useLayoutEffect:$i,useMemo:Ki,useReducer:xi,useRef:ji,useState:function(){return xi(Ci)},useDebugValue:Gi,useDeferredValue:function(e){return Xi(Pi(),yi.memoizedState,e)},useTransition:function(){return[xi(Ci)[0],Pi().memoizedState]},useMutableSource:Ni,useSyncExternalStore:Mi,useId:el,unstable_isNewReconciler:!1},sl={readContext:Oo,useCallback:Zi,useContext:Oo,useEffect:Wi,useImperativeHandle:Yi,useInsertionEffect:qi,useLayoutEffect:$i,useMemo:Ki,useReducer:Li,useRef:ji,useState:function(){return Li(Ci)},useDebugValue:Gi,useDeferredValue:function(e){var t=Pi();return null===yi?t.memoizedState=e:Xi(t,yi.memoizedState,e)},useTransition:function(){return[Li(Ci)[0],Pi().memoizedState]},useMutableSource:Ni,useSyncExternalStore:Mi,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function fl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var pl="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Io(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wu||(Wu=!0,qu=r),dl(0,t)},n}function ml(e,t,n){(n=Io(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){dl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!=typeof r&&(null===$u?$u=new Set([this]):$u.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function yl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Es.bind(null,e,t,n),t.then(e,e))}function vl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gl(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Io(-1,1)).tag=2,Ao(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var bl=k.ReactCurrentOwner,kl=!1;function wl(e,t,n,r){t.child=null===e?Xo(t,null,n,r):Ko(t,e.child,n,r)}function Sl(e,t,n,r,a){n=n.render;var o=t.ref;return Eo(t,a),r=Ti(e,t,n,r,o,a),n=Ei(),null===e||kl?(ao&&n&&eo(t),t.flags|=1,wl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Wl(e,t,a))}function _l(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Ms(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Is(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Tl(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(i,r)&&e.ref===t.ref)return Wl(e,t,a)}return t.flags|=1,(e=Rs(o,r)).ref=t.ref,e.return=t,t.child=e}function Tl(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(kl=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,Wl(e,t,a);0!=(131072&e.flags)&&(kl=!0)}}return Pl(e,t,n,r,a)}function El(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oa(Ru,Mu),Mu|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oa(Ru,Mu),Mu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Oa(Ru,Mu),Mu|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Oa(Ru,Mu),Mu|=r;return wl(e,t,a,n),t.child}function Ol(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pl(e,t,n,r,a){var o=Ma(n)?La:Ca.current;return o=Na(t,o),Eo(t,a),n=Ti(e,t,n,r,o,a),r=Ei(),null===e||kl?(ao&&r&&eo(t),t.flags|=1,wl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Wl(e,t,a))}function Cl(e,t,n,r,a){if(Ma(n)){var o=!0;Da(t)}else o=!1;if(Eo(t,a),null===t.stateNode)Vl(e,t),Wo(t,n,r),$o(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;"object"==typeof s&&null!==s?s=Oo(s):s=Na(t,s=Ma(n)?La:Ca.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&qo(t,i,r,s),No=!1;var d=t.memoizedState;i.state=d,zo(t,r,i,a),u=t.memoizedState,l!==r||d!==u||xa.current||No?("function"==typeof c&&(Uo(t,n,c,r),u=t.memoizedState),(l=No||Vo(t,n,l,r,d,u,s))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Ro(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:vo(t.type,l),i.props=s,f=t.pendingProps,d=i.context,"object"==typeof(u=n.contextType)&&null!==u?u=Oo(u):u=Na(t,u=Ma(n)?La:Ca.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==f||d!==u)&&qo(t,i,r,u),No=!1,d=t.memoizedState,i.state=d,zo(t,r,i,a);var h=t.memoizedState;l!==f||d!==h||xa.current||No?("function"==typeof p&&(Uo(t,n,p,r),h=t.memoizedState),(s=No||Vo(t,n,s,r,d,h,u)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=u,r=s):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return xl(e,t,n,r,o,a)}function xl(e,t,n,r,a,o){Ol(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&Fa(t,n,!1),Wl(e,t,o);r=t.stateNode,bl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ko(t,e.child,null,o),t.child=Ko(t,null,l,o)):wl(e,t,l,o),t.memoizedState=r.state,a&&Fa(t,n,!0),t.child}function Ll(e){var t=e.stateNode;t.pendingContext?Ia(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ia(0,t.context,!1),ai(e,t.containerInfo)}function Nl(e,t,n,r,a){return ho(),mo(a),t.flags|=256,wl(e,t,n,r),t.child}var Ml,Rl,Il,Al={dehydrated:null,treeContext:null,retryLane:0};function Dl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fl(e,t,n){var r,a=t.pendingProps,i=ui.current,l=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Oa(ui,1&i),null===e)return so(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=a.children,e=a.fallback,l?(a=t.mode,l=t.child,u={mode:"hidden",children:u},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=u):l=Ds(u,a,0,null),e=As(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Dl(n),t.memoizedState=Al,e):zl(t,u));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,l){if(n)return 256&t.flags?(t.flags&=-257,Hl(e,t,l,r=fl(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Ds({mode:"visible",children:r.children},a,0,null),(i=As(i,a,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Ko(t,e.child,null,l),t.child.memoizedState=Dl(l),t.memoizedState=Al,i);if(0==(1&t.mode))return Hl(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return r=u,Hl(e,t,l,r=fl(i=Error(o(419)),r,void 0))}if(u=0!=(l&e.childLanes),kl||u){if(null!==(r=xu)){switch(l&-l){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Lo(e,a),ns(r,e,a,-1))}return ms(),Hl(e,t,l,r=fl(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ps.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=sa(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Qa[Ya++]=Za,Qa[Ya++]=Ka,Qa[Ya++]=Ga,Za=e.id,Ka=e.overflow,Ga=t),(t=zl(t,r.children)).flags|=4096,t)}(e,t,u,a,r,i,n);if(l){l=a.fallback,u=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:a.children};return 0==(1&u)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=Rs(i,s)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Rs(r,l):(l=As(l,u,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,u=null===(u=e.child.memoizedState)?Dl(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},l.memoizedState=u,l.childLanes=e.childLanes&~n,t.memoizedState=Al,a}return e=(l=e.child).sibling,a=Rs(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function zl(e,t){return(t=Ds({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Hl(e,t,n,r){return null!==r&&mo(r),Ko(t,e.child,null,n),(e=zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function jl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),To(e.return,t,n)}function Ul(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Bl(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(wl(e,t,r.children,n),0!=(2&(r=ui.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&jl(e,n,t);else if(19===e.tag)jl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Oa(ui,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===si(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ul(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===si(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Ul(t,!0,n,null,o);break;case"together":Ul(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Du|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Rs(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Rs(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ql(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function $l(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ql(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $l(t),null;case 1:case 17:return Ma(t.type)&&Ra(),$l(t),null;case 3:return r=t.stateNode,oi(),Ea(xa),Ea(Ca),fi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oo&&(is(oo),oo=null))),$l(t),null;case 5:li(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Rl(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return $l(t),null}if(e=ri(ei.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[da]=t,r[pa]=i,e=0!=(1&t.mode),n){case"dialog":Hr("cancel",r),Hr("close",r);break;case"iframe":case"object":case"embed":Hr("load",r);break;case"video":case"audio":for(a=0;a<Ar.length;a++)Hr(Ar[a],r);break;case"source":Hr("error",r);break;case"img":case"image":case"link":Hr("error",r),Hr("load",r);break;case"details":Hr("toggle",r);break;case"input":Z(r,i),Hr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Hr("invalid",r);break;case"textarea":ae(r,i),Hr("invalid",r)}for(var u in ge(n,i),a=null,i)if(i.hasOwnProperty(u)){var s=i[u];"children"===u?"string"==typeof s?r.textContent!==s&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,s,e),a=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,s,e),a=["children",""+s]):l.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&Hr("scroll",r)}switch(n){case"input":$(r),J(r,i,!0);break;case"textarea":$(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[da]=t,e[pa]=r,Ml(e,t),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Hr("cancel",e),Hr("close",e),a=r;break;case"iframe":case"object":case"embed":Hr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Ar.length;a++)Hr(Ar[a],e);a=r;break;case"source":Hr("error",e),a=r;break;case"img":case"image":case"link":Hr("error",e),Hr("load",e),a=r;break;case"details":Hr("toggle",e),a=r;break;case"input":Z(e,r),a=G(e,r),Hr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=F({},r,{value:void 0}),Hr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Hr("invalid",e)}for(i in ge(n,a),s=a)if(s.hasOwnProperty(i)){var c=s[i];"style"===i?ye(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"==typeof c&&de(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&Hr("scroll",e):null!=c&&b(e,i,c,u))}switch(n){case"input":$(e),J(e,r,!1);break;case"textarea":$(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return $l(t),null;case 6:if(e&&null!=t.stateNode)Il(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=ri(ni.current),ri(ei.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[da]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[da]=t,t.stateNode=r}return $l(t),null;case 13:if(Ea(ui),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&0!=(1&t.mode)&&0==(128&t.flags))po(),ho(),t.flags|=98560,i=!1;else if(i=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[da]=t}else ho(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;$l(t),i=!1}else null!==oo&&(is(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ui.current)?0===Iu&&(Iu=3):ms())),null!==t.updateQueue&&(t.flags|=4),$l(t),null);case 4:return oi(),null===e&&Br(t.stateNode.containerInfo),$l(t),null;case 10:return _o(t.type._context),$l(t),null;case 19:if(Ea(ui),null===(i=t.memoizedState))return $l(t),null;if(r=0!=(128&t.flags),null===(u=i.rendering))if(r)ql(i,!1);else{if(0!==Iu||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=si(e))){for(t.flags|=128,ql(i,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(u=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=u.childLanes,i.lanes=u.lanes,i.child=u.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,i.type=u.type,e=u.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Oa(ui,1&ui.current|2),t.child}e=e.sibling}null!==i.tail&&Ke()>Bu&&(t.flags|=128,r=!0,ql(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=si(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ql(i,!0),null===i.tail&&"hidden"===i.tailMode&&!u.alternate&&!ao)return $l(t),null}else 2*Ke()-i.renderingStartTime>Bu&&1073741824!==n&&(t.flags|=128,r=!0,ql(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=i.last)?n.sibling=u:t.child=u,i.last=u)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ke(),t.sibling=null,n=ui.current,Oa(ui,r?1&n|2:1&n),t):($l(t),null);case 22:case 23:return fs(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Mu)&&($l(t),6&t.subtreeFlags&&(t.flags|=8192)):$l(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Yl(e,t){switch(to(t),t.tag){case 1:return Ma(t.type)&&Ra(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),Ea(xa),Ea(Ca),fi(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(Ea(ui),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ea(ui),null;case 4:return oi(),null;case 10:return _o(t.type._context),null;case 22:case 23:return fs(),null;default:return null}}Ml=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Rl=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var o,i=null;switch(n){case"input":a=G(e,a),r=G(e,r),i=[];break;case"select":a=F({},a,{value:void 0}),r=F({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in ge(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var u=a[c];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(o in u)!u.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&u[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(i||(i=[]),i.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(i=i||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Hr("scroll",e),i||u===s||(i=[])):(i=i||[]).push(c,s))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gl=!1,Zl=!1,Kl="function"==typeof WeakSet?WeakSet:Set,Xl=null;function Jl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Ts(e,t,n)}else n.current=null}function eu(e,t,n){try{n()}catch(n){Ts(e,t,n)}}var tu=!1;function nu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&eu(t,n,o)}a=a.next}while(a!==r)}}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function au(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[da],delete t[pa],delete t[ma],delete t[ya],delete t[va])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function iu(e){return 5===e.tag||3===e.tag||4===e.tag}function lu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}var cu=null,fu=!1;function du(e,t,n){for(n=n.child;null!==n;)pu(e,t,n),n=n.sibling}function pu(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(e){}switch(n.tag){case 5:Zl||Jl(n,t);case 6:var r=cu,a=fu;cu=null,du(e,t,n),fu=a,null!==(cu=r)&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cu.removeChild(n.stateNode));break;case 18:null!==cu&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?ua(e.parentNode,n):1===e.nodeType&&ua(e,n),Bt(e)):ua(cu,n.stateNode));break;case 4:r=cu,a=fu,cu=n.stateNode.containerInfo,fu=!0,du(e,t,n),cu=r,fu=a;break;case 0:case 11:case 14:case 15:if(!Zl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)||0!=(4&o))&&eu(n,t,i),a=a.next}while(a!==r)}du(e,t,n);break;case 1:if(!Zl&&(Jl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Ts(n,t,e)}du(e,t,n);break;case 21:du(e,t,n);break;case 22:1&n.mode?(Zl=(r=Zl)||null!==n.memoizedState,du(e,t,n),Zl=r):du(e,t,n);break;default:du(e,t,n)}}function hu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Kl),t.forEach((function(t){var r=Cs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,l=t,u=l;e:for(;null!==u;){switch(u.tag){case 5:cu=u.stateNode,fu=!1;break e;case 3:case 4:cu=u.stateNode.containerInfo,fu=!0;break e}u=u.return}if(null===cu)throw Error(o(160));pu(i,l,a),cu=null,fu=!1;var s=a.alternate;null!==s&&(s.return=null),a.return=null}catch(e){Ts(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)yu(t,e),t=t.sibling}function yu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mu(t,e),vu(e),4&r){try{nu(3,e,e.return),ru(3,e)}catch(t){Ts(e,e.return,t)}try{nu(5,e,e.return)}catch(t){Ts(e,e.return,t)}}break;case 1:mu(t,e),vu(e),512&r&&null!==n&&Jl(n,n.return);break;case 5:if(mu(t,e),vu(e),512&r&&null!==n&&Jl(n,n.return),32&e.flags){var a=e.stateNode;try{de(a,"")}catch(t){Ts(e,e.return,t)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,u=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===u&&"radio"===i.type&&null!=i.name&&K(a,i),be(u,l);var c=be(u,i);for(l=0;l<s.length;l+=2){var f=s[l],d=s[l+1];"style"===f?ye(a,d):"dangerouslySetInnerHTML"===f?fe(a,d):"children"===f?de(a,d):b(a,f,d,c)}switch(u){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(a,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[pa]=i}catch(t){Ts(e,e.return,t)}}break;case 6:if(mu(t,e),vu(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(t){Ts(e,e.return,t)}}break;case 3:if(mu(t,e),vu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Bt(t.containerInfo)}catch(t){Ts(e,e.return,t)}break;case 4:default:mu(t,e),vu(e);break;case 13:mu(t,e),vu(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Uu=Ke())),4&r&&hu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Zl=(c=Zl)||f,mu(t,e),Zl=c):mu(t,e),vu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!=(1&e.mode))for(Xl=e,f=e.child;null!==f;){for(d=Xl=f;null!==Xl;){switch(h=(p=Xl).child,p.tag){case 0:case 11:case 14:case 15:nu(4,p,p.return);break;case 1:Jl(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Ts(r,n,e)}}break;case 5:Jl(p,p.return);break;case 22:if(null!==p.memoizedState){wu(d);continue}}null!==h?(h.return=p,Xl=h):wu(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{a=d.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(u=d.stateNode,l=null!=(s=d.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,u.style.display=me("display",l))}catch(t){Ts(e,e.return,t)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){Ts(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:mu(t,e),vu(e),4&r&&hu(e);case 21:}}function vu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(iu(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(de(a,""),r.flags&=-33),su(e,lu(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;uu(e,lu(e),i);break;default:throw Error(o(161))}}catch(t){Ts(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function gu(e,t,n){Xl=e,bu(e,t,n)}function bu(e,t,n){for(var r=0!=(1&e.mode);null!==Xl;){var a=Xl,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Gl;if(!i){var l=a.alternate,u=null!==l&&null!==l.memoizedState||Zl;l=Gl;var s=Zl;if(Gl=i,(Zl=u)&&!s)for(Xl=a;null!==Xl;)u=(i=Xl).child,22===i.tag&&null!==i.memoizedState?Su(a):null!==u?(u.return=i,Xl=u):Su(a);for(;null!==o;)Xl=o,bu(o,t,n),o=o.sibling;Xl=a,Gl=l,Zl=s}ku(e)}else 0!=(8772&a.subtreeFlags)&&null!==o?(o.return=a,Xl=o):ku(e)}}function ku(e){for(;null!==Xl;){var t=Xl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Zl||ru(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zl)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:vo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Ho(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ho(t,l,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Bt(d)}}}break;default:throw Error(o(163))}Zl||512&t.flags&&au(t)}catch(e){Ts(t,t.return,e)}}if(t===e){Xl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xl=n;break}Xl=t.return}}function wu(e){for(;null!==Xl;){var t=Xl;if(t===e){Xl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xl=n;break}Xl=t.return}}function Su(e){for(;null!==Xl;){var t=Xl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ru(4,t)}catch(e){Ts(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(e){Ts(t,a,e)}}var o=t.return;try{au(t)}catch(e){Ts(t,o,e)}break;case 5:var i=t.return;try{au(t)}catch(e){Ts(t,i,e)}}}catch(e){Ts(t,t.return,e)}if(t===e){Xl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Xl=l;break}Xl=t.return}}var _u,Tu=Math.ceil,Eu=k.ReactCurrentDispatcher,Ou=k.ReactCurrentOwner,Pu=k.ReactCurrentBatchConfig,Cu=0,xu=null,Lu=null,Nu=0,Mu=0,Ru=Ta(0),Iu=0,Au=null,Du=0,Fu=0,zu=0,Hu=null,ju=null,Uu=0,Bu=1/0,Vu=null,Wu=!1,qu=null,$u=null,Qu=!1,Yu=null,Gu=0,Zu=0,Ku=null,Xu=-1,Ju=0;function es(){return 0!=(6&Cu)?Ke():-1!==Xu?Xu:Xu=Ke()}function ts(e){return 0==(1&e.mode)?1:0!=(2&Cu)&&0!==Nu?Nu&-Nu:null!==yo.transition?(0===Ju&&(Ju=mt()),Ju):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Zt(e.type)}function ns(e,t,n,r){if(50<Zu)throw Zu=0,Ku=null,Error(o(185));vt(e,n,r),0!=(2&Cu)&&e===xu||(e===xu&&(0==(2&Cu)&&(Fu|=n),4===Iu&&ls(e,Nu)),rs(e,r),1===n&&0===Cu&&0==(1&t.mode)&&(Bu=Ke()+500,Ha&&Ba()))}function rs(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),l=1<<i,u=a[i];-1===u?0!=(l&n)&&0==(l&r)||(a[i]=pt(l,t)):u<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=dt(e,e===xu?Nu:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Ha=!0,Ua(e)}(us.bind(null,e)):Ua(us.bind(null,e)),ia((function(){0==(6&Cu)&&Ba()})),n=null;else{switch(kt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=xs(n,as.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function as(e,t){if(Xu=-1,Ju=0,0!=(6&Cu))throw Error(o(327));var n=e.callbackNode;if(Ss()&&e.callbackNode!==n)return null;var r=dt(e,e===xu?Nu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=ys(e,r);else{t=r;var a=Cu;Cu|=2;var i=hs();for(xu===e&&Nu===t||(Vu=null,Bu=Ke()+500,ds(e,t));;)try{gs();break}catch(t){ps(e,t)}So(),Eu.current=i,Cu=a,null!==Lu?t=0:(xu=null,Nu=0,t=Iu)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(r=a,t=os(e,a))),1===t)throw n=Au,ds(e,0),ls(e,r),rs(e,Ke()),n;if(6===t)ls(e,r);else{if(a=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!lr(o(),a))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=ys(e,r))&&(0!==(i=ht(e))&&(r=i,t=os(e,i))),1===t))throw n=Au,ds(e,0),ls(e,r),rs(e,Ke()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:ws(e,ju,Vu);break;case 3:if(ls(e,r),(130023424&r)===r&&10<(t=Uu+500-Ke())){if(0!==dt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){es(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(ws.bind(null,e,ju,Vu),t);break}ws(e,ju,Vu);break;case 4:if(ls(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>a&&(a=l),r&=~i}if(r=a,10<(r=(120>(r=Ke()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Tu(r/1960))-r)){e.timeoutHandle=ra(ws.bind(null,e,ju,Vu),r);break}ws(e,ju,Vu);break;default:throw Error(o(329))}}}return rs(e,Ke()),e.callbackNode===n?as.bind(null,e):null}function os(e,t){var n=Hu;return e.current.memoizedState.isDehydrated&&(ds(e,t).flags|=256),2!==(e=ys(e,t))&&(t=ju,ju=n,null!==t&&is(t)),e}function is(e){null===ju?ju=e:ju.push.apply(ju,e)}function ls(e,t){for(t&=~zu,t&=~Fu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function us(e){if(0!=(6&Cu))throw Error(o(327));Ss();var t=dt(e,0);if(0==(1&t))return rs(e,Ke()),null;var n=ys(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=os(e,r))}if(1===n)throw n=Au,ds(e,0),ls(e,t),rs(e,Ke()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ws(e,ju,Vu),rs(e,Ke()),null}function ss(e,t){var n=Cu;Cu|=1;try{return e(t)}finally{0===(Cu=n)&&(Bu=Ke()+500,Ha&&Ba())}}function cs(e){null!==Yu&&0===Yu.tag&&0==(6&Cu)&&Ss();var t=Cu;Cu|=1;var n=Pu.transition,r=bt;try{if(Pu.transition=null,bt=1,e)return e()}finally{bt=r,Pu.transition=n,0==(6&(Cu=t))&&Ba()}}function fs(){Mu=Ru.current,Ea(Ru)}function ds(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Lu)for(n=Lu.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ra();break;case 3:oi(),Ea(xa),Ea(Ca),fi();break;case 5:li(r);break;case 4:oi();break;case 13:case 19:Ea(ui);break;case 10:_o(r.type._context);break;case 22:case 23:fs()}n=n.return}if(xu=e,Lu=e=Rs(e.current,null),Nu=Mu=t,Iu=0,Au=null,zu=Fu=Du=0,ju=Hu=null,null!==Po){for(t=0;t<Po.length;t++)if(null!==(r=(n=Po[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}Po=null}return e}function ps(e,t){for(;;){var n=Lu;try{if(So(),di.current=il,gi){for(var r=mi.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}gi=!1}if(hi=0,vi=yi=mi=null,bi=!1,ki=0,Ou.current=null,null===n||null===n.return){Iu=1,Au=t,Lu=null;break}e:{var i=e,l=n.return,u=n,s=t;if(t=Nu,u.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s,f=u,d=f.tag;if(0==(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=vl(l);if(null!==h){h.flags&=-257,gl(h,l,u,0,t),1&h.mode&&yl(i,c,t),s=c;var m=(t=h).updateQueue;if(null===m){var y=new Set;y.add(s),t.updateQueue=y}else m.add(s);break e}if(0==(1&t)){yl(i,c,t),ms();break e}s=Error(o(426))}else if(ao&&1&u.mode){var v=vl(l);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),gl(v,l,u,0,t),mo(cl(s,u));break e}}i=s=cl(s,u),4!==Iu&&(Iu=2),null===Hu?Hu=[i]:Hu.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Fo(i,hl(0,s,t));break e;case 1:u=s;var g=i.type,b=i.stateNode;if(0==(128&i.flags)&&("function"==typeof g.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===$u||!$u.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Fo(i,ml(i,u,t));break e}}i=i.return}while(null!==i)}ks(n)}catch(e){t=e,Lu===n&&null!==n&&(Lu=n=n.return);continue}break}}function hs(){var e=Eu.current;return Eu.current=il,null===e?il:e}function ms(){0!==Iu&&3!==Iu&&2!==Iu||(Iu=4),null===xu||0==(268435455&Du)&&0==(268435455&Fu)||ls(xu,Nu)}function ys(e,t){var n=Cu;Cu|=2;var r=hs();for(xu===e&&Nu===t||(Vu=null,ds(e,t));;)try{vs();break}catch(t){ps(e,t)}if(So(),Cu=n,Eu.current=r,null!==Lu)throw Error(o(261));return xu=null,Nu=0,Iu}function vs(){for(;null!==Lu;)bs(Lu)}function gs(){for(;null!==Lu&&!Ge();)bs(Lu)}function bs(e){var t=_u(e.alternate,e,Mu);e.memoizedProps=e.pendingProps,null===t?ks(e):Lu=t,Ou.current=null}function ks(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Ql(n,t,Mu)))return void(Lu=n)}else{if(null!==(n=Yl(n,t)))return n.flags&=32767,void(Lu=n);if(null===e)return Iu=6,void(Lu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Lu=t);Lu=t=e}while(null!==t);0===Iu&&(Iu=5)}function ws(e,t,n){var r=bt,a=Pu.transition;try{Pu.transition=null,bt=1,function(e,t,n,r){do{Ss()}while(null!==Yu);if(0!=(6&Cu))throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===xu&&(Lu=xu=null,Nu=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Qu||(Qu=!0,xs(tt,(function(){return Ss(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Pu.transition,Pu.transition=null;var l=bt;bt=1;var u=Cu;Cu|=4,Ou.current=null,function(e,t){if(ea=Wt,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var l=0,u=-1,s=-1,c=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==n||0!==a&&3!==d.nodeType||(u=l+a),d!==i||0!==r&&3!==d.nodeType||(s=l+r),3===d.nodeType&&(l+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++c===a&&(u=l),p===i&&++f===r&&(s=l),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Wt=!1,Xl=t;null!==Xl;)if(e=(t=Xl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Xl=e;else for(;null!==Xl;){t=Xl;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var y=m.memoizedProps,v=m.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:vo(t.type,y),v);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var k=t.stateNode.containerInfo;1===k.nodeType?k.textContent="":9===k.nodeType&&k.documentElement&&k.removeChild(k.documentElement);break;default:throw Error(o(163))}}catch(e){Ts(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Xl=e;break}Xl=t.return}m=tu,tu=!1}(e,n),yu(n,e),hr(ta),Wt=!!ea,ta=ea=null,e.current=n,gu(n,e,a),Ze(),Cu=u,bt=l,Pu.transition=i}else e.current=n;if(Qu&&(Qu=!1,Yu=e,Gu=a),0===(i=e.pendingLanes)&&($u=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),rs(e,Ke()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Wu)throw Wu=!1,e=qu,qu=null,e;0!=(1&Gu)&&0!==e.tag&&Ss(),0!=(1&(i=e.pendingLanes))?e===Ku?Zu++:(Zu=0,Ku=e):Zu=0,Ba()}(e,t,n,r)}finally{Pu.transition=a,bt=r}return null}function Ss(){if(null!==Yu){var e=kt(Gu),t=Pu.transition,n=bt;try{if(Pu.transition=null,bt=16>e?16:e,null===Yu)var r=!1;else{if(e=Yu,Yu=null,Gu=0,0!=(6&Cu))throw Error(o(331));var a=Cu;for(Cu|=4,Xl=e.current;null!==Xl;){var i=Xl,l=i.child;if(0!=(16&Xl.flags)){var u=i.deletions;if(null!==u){for(var s=0;s<u.length;s++){var c=u[s];for(Xl=c;null!==Xl;){var f=Xl;switch(f.tag){case 0:case 11:case 15:nu(8,f,i)}var d=f.child;if(null!==d)d.return=f,Xl=d;else for(;null!==Xl;){var p=(f=Xl).sibling,h=f.return;if(ou(f),f===c){Xl=null;break}if(null!==p){p.return=h,Xl=p;break}Xl=h}}}var m=i.alternate;if(null!==m){var y=m.child;if(null!==y){m.child=null;do{var v=y.sibling;y.sibling=null,y=v}while(null!==y)}}Xl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Xl=l;else e:for(;null!==Xl;){if(0!=(2048&(i=Xl).flags))switch(i.tag){case 0:case 11:case 15:nu(9,i,i.return)}var g=i.sibling;if(null!==g){g.return=i.return,Xl=g;break e}Xl=i.return}}var b=e.current;for(Xl=b;null!==Xl;){var k=(l=Xl).child;if(0!=(2064&l.subtreeFlags)&&null!==k)k.return=l,Xl=k;else e:for(l=b;null!==Xl;){if(0!=(2048&(u=Xl).flags))try{switch(u.tag){case 0:case 11:case 15:ru(9,u)}}catch(e){Ts(u,u.return,e)}if(u===l){Xl=null;break e}var w=u.sibling;if(null!==w){w.return=u.return,Xl=w;break e}Xl=u.return}}if(Cu=a,Ba(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(e){}r=!0}return r}finally{bt=n,Pu.transition=t}}return!1}function _s(e,t,n){e=Ao(e,t=hl(0,t=cl(n,t),1),1),t=es(),null!==e&&(vt(e,1,t),rs(e,t))}function Ts(e,t,n){if(3===e.tag)_s(e,e,n);else for(;null!==t;){if(3===t.tag){_s(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===$u||!$u.has(r))){t=Ao(t,e=ml(t,e=cl(n,e),1),1),e=es(),null!==t&&(vt(t,1,e),rs(t,e));break}}t=t.return}}function Es(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=es(),e.pingedLanes|=e.suspendedLanes&n,xu===e&&(Nu&n)===n&&(4===Iu||3===Iu&&(130023424&Nu)===Nu&&500>Ke()-Uu?ds(e,0):zu|=n),rs(e,t)}function Os(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=es();null!==(e=Lo(e,t))&&(vt(e,t,n),rs(e,n))}function Ps(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Os(e,n)}function Cs(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Os(e,n)}function xs(e,t){return Qe(e,t)}function Ls(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ns(e,t,n,r){return new Ls(e,t,n,r)}function Ms(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rs(e,t){var n=e.alternate;return null===n?((n=Ns(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Is(e,t,n,r,a,i){var l=2;if(r=e,"function"==typeof e)Ms(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case _:return As(n.children,a,i,t);case T:l=8,a|=8;break;case E:return(e=Ns(12,n,t,2|a)).elementType=E,e.lanes=i,e;case x:return(e=Ns(13,n,t,a)).elementType=x,e.lanes=i,e;case L:return(e=Ns(19,n,t,a)).elementType=L,e.lanes=i,e;case R:return Ds(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:l=10;break e;case P:l=9;break e;case C:l=11;break e;case N:l=14;break e;case M:l=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ns(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function As(e,t,n,r){return(e=Ns(7,e,r,t)).lanes=n,e}function Ds(e,t,n,r){return(e=Ns(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function Fs(e,t,n){return(e=Ns(6,e,null,t)).lanes=n,e}function zs(e,t,n){return(t=Ns(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hs(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yt(0),this.expirationTimes=yt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function js(e,t,n,r,a,o,i,l,u){return e=new Hs(e,t,n,l,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ns(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mo(o),e}function Us(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Bs(e){if(!e)return Pa;e:{if(Be(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ma(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ma(n))return Aa(e,n,t)}return t}function Vs(e,t,n,r,a,o,i,l,u){return(e=js(n,r,!0,e,0,o,0,l,u)).context=Bs(null),n=e.current,(o=Io(r=es(),a=ts(n))).callback=null!=t?t:null,Ao(n,o,a),e.current.lanes=a,vt(e,a,r),rs(e,r),e}function Ws(e,t,n,r){var a=t.current,o=es(),i=ts(a);return n=Bs(n),null===t.context?t.context=n:t.pendingContext=n,(t=Io(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ao(a,t,i))&&(ns(e,a,i,o),Do(e,a,i)),i}function qs(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $s(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Qs(e,t){$s(e,t),(e=e.alternate)&&$s(e,t)}_u=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||xa.current)kl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return kl=!1,function(e,t,n){switch(t.tag){case 3:Ll(t),ho();break;case 5:ii(t);break;case 1:Ma(t.type)&&Da(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Oa(go,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Oa(ui,1&ui.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Fl(e,t,n):(Oa(ui,1&ui.current),null!==(e=Wl(e,t,n))?e.sibling:null);Oa(ui,1&ui.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Bl(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Oa(ui,ui.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Wl(e,t,n)}(e,t,n);kl=0!=(131072&e.flags)}else kl=!1,ao&&0!=(1048576&t.flags)&&Ja(t,$a,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vl(e,t),e=t.pendingProps;var a=Na(t,Ca.current);Eo(t,n),a=Ti(null,t,r,e,a,n);var i=Ei();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ma(r)?(i=!0,Da(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Mo(t),a.updater=Bo,t.stateNode=a,a._reactInternals=t,$o(t,r,e,n),t=xl(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),wl(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vl(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Ms(e)?1:0;if(null!=e){if((e=e.$$typeof)===C)return 11;if(e===N)return 14}return 2}(r),e=vo(r,e),a){case 0:t=Pl(null,t,r,e,n);break e;case 1:t=Cl(null,t,r,e,n);break e;case 11:t=Sl(null,t,r,e,n);break e;case 14:t=_l(null,t,r,vo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Pl(e,t,r,a=t.elementType===r?a:vo(r,a),n);case 1:return r=t.type,a=t.pendingProps,Cl(e,t,r,a=t.elementType===r?a:vo(r,a),n);case 3:e:{if(Ll(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Ro(e,t),zo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Nl(e,t,r,n,a=cl(Error(o(423)),t));break e}if(r!==a){t=Nl(e,t,r,n,a=cl(Error(o(424)),t));break e}for(ro=sa(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=Xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===a){t=Wl(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&so(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,na(r,a)?l=null:null!==i&&na(r,i)&&(t.flags|=32),Ol(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&so(t),null;case 13:return Fl(e,t,n);case 4:return ai(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ko(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Sl(e,t,r,a=t.elementType===r?a:vo(r,a),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Oa(go,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===a.children&&!xa.current){t=Wl(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var u=i.dependencies;if(null!==u){l=i.child;for(var s=u.firstContext;null!==s;){if(s.context===r){if(1===i.tag){(s=Io(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),To(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(o(341));l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),To(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}wl(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Eo(t,n),r=r(a=Oo(a)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return a=vo(r=t.type,t.pendingProps),_l(e,t,r,a=vo(r.type,a),n);case 15:return Tl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:vo(r,a),Vl(e,t),t.tag=1,Ma(r)?(e=!0,Da(t)):e=!1,Eo(t,n),Wo(t,r,a),$o(t,r,a,n),xl(null,t,r,!0,e,n);case 19:return Bl(e,t,n);case 22:return El(e,t,n)}throw Error(o(156,t.tag))};var Ys="function"==typeof reportError?reportError:function(e){console.error(e)};function Gs(e){this._internalRoot=e}function Zs(e){this._internalRoot=e}function Ks(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Js(){}function ec(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=qs(i);l.call(e)}}Ws(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=qs(i);o.call(e)}}var i=Vs(t,r,e,0,null,!1,0,"",Js);return e._reactRootContainer=i,e[ha]=i.current,Br(8===e.nodeType?e.parentNode:e),cs(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=qs(u);l.call(e)}}var u=js(e,0,!1,null,0,!1,0,"",Js);return e._reactRootContainer=u,e[ha]=u.current,Br(8===e.nodeType?e.parentNode:e),cs((function(){Ws(t,u,n,r)})),u}(n,t,e,a,r);return qs(i)}Zs.prototype.render=Gs.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Ws(e,t,null,null)},Zs.prototype.unmount=Gs.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cs((function(){Ws(null,e,null,null)})),t[ha]=null}},Zs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Tt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rt.length&&0!==t&&t<Rt[n].priority;n++);Rt.splice(n,0,e),0===n&&Ft(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(gt(t,1|n),rs(t,Ke()),0==(6&Cu)&&(Bu=Ke()+500,Ba()))}break;case 13:cs((function(){var t=Lo(e,1);if(null!==t){var n=es();ns(t,e,1,n)}})),Qs(e,1)}},St=function(e){if(13===e.tag){var t=Lo(e,134217728);if(null!==t)ns(t,e,134217728,es());Qs(e,134217728)}},_t=function(e){if(13===e.tag){var t=ts(e),n=Lo(e,t);if(null!==n)ns(n,e,t,es());Qs(e,t)}},Tt=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=wa(r);if(!a)throw Error(o(90));Q(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ce=ss,xe=cs;var tc={usingClientEntryPoint:!1,Events:[ba,ka,wa,Oe,Pe,ss]},nc={findFiberByHostInstance:ga,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{at=ac.inject(rc),ot=ac}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ks(t))throw Error(o(200));return Us(e,t,null,n)},t.createRoot=function(e,t){if(!Ks(e))throw Error(o(299));var n=!1,r="",a=Ys;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=js(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,Br(8===e.nodeType?e.parentNode:e),new Gs(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return cs(e)},t.hydrate=function(e,t,n){if(!Xs(t))throw Error(o(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Ks(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",l=Ys;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Vs(t,null,e,1,null!=n?n:null,a,0,i,l),e[ha]=t.current,Br(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Zs(t)},t.render=function(e,t,n){if(!Xs(t))throw Error(o(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xs(e))throw Error(o(40));return!!e._reactRootContainer&&(cs((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null}))})),!0)},t.unstable_batchedUpdates=ss,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xs(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},745:(e,t,n)=>{"use strict";var r=n(3935);t.s=r.createRoot,r.hydrateRoot},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(4448)},6871:(e,t,n)=>{"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function a(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function i(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,i=null,l=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?i="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?l="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==i||null!==l){var u=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==i?"\n  "+i:"")+(null!==l?"\n  "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=a),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:()=>i}),r.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},9983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(7294),i=h(o),l=h(n(3935)),u=h(n(9545)),s=h(n(8747)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(7149)),f=n(1112),d=h(f),p=n(6871);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=t.portalClassName="ReactModalPortal",g=t.bodyOpenClassName="ReactModal__Body--open",b=void 0!==l.default.createPortal,k=function(){return b?l.default.createPortal:l.default.unstable_renderSubtreeIntoContainer};function w(e){return e()}var S=function(e){function t(){var e,n,a;m(this,t);for(var o=arguments.length,u=Array(o),c=0;c<o;c++)u[c]=arguments[c];return n=a=y(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),a.removePortal=function(){!b&&l.default.unmountComponentAtNode(a.node),w(a.props.parentSelector).removeChild(a.node)},a.portalRef=function(e){a.portal=e},a.renderPortal=function(e){var n=k()(a,i.default.createElement(s.default,r({defaultStyles:t.defaultStyles},e)),a.node);a.portalRef(n)},y(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){f.canUseDOM&&(b||(this.node=document.createElement("div")),this.node.className=this.props.portalClassName,w(this.props.parentSelector).appendChild(this.node),!b&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:w(e.parentSelector),nextParent:w(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(f.canUseDOM){var r=this.props,a=r.isOpen,o=r.portalClassName;e.portalClassName!==o&&(this.node.className=o);var i=n.prevParent,l=n.nextParent;l!==i&&(i.removeChild(this.node),l.appendChild(this.node)),(e.isOpen||a)&&!b&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(f.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return f.canUseDOM&&b?(!this.node&&b&&(this.node=document.createElement("div")),k()(i.default.createElement(s.default,r({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),t}(o.Component);S.propTypes={isOpen:u.default.bool.isRequired,style:u.default.shape({content:u.default.object,overlay:u.default.object}),portalClassName:u.default.string,bodyOpenClassName:u.default.string,htmlOpenClassName:u.default.string,className:u.default.oneOfType([u.default.string,u.default.shape({base:u.default.string.isRequired,afterOpen:u.default.string.isRequired,beforeClose:u.default.string.isRequired})]),overlayClassName:u.default.oneOfType([u.default.string,u.default.shape({base:u.default.string.isRequired,afterOpen:u.default.string.isRequired,beforeClose:u.default.string.isRequired})]),appElement:u.default.instanceOf(d.default),onAfterOpen:u.default.func,onRequestClose:u.default.func,closeTimeoutMS:u.default.number,ariaHideApp:u.default.bool,shouldFocusAfterRender:u.default.bool,shouldCloseOnOverlayClick:u.default.bool,shouldReturnFocusAfterClose:u.default.bool,parentSelector:u.default.func,aria:u.default.object,data:u.default.object,role:u.default.string,contentLabel:u.default.string,shouldCloseOnEsc:u.default.bool,overlayRef:u.default.func,contentRef:u.default.func},S.defaultProps={isOpen:!1,portalClassName:v,bodyOpenClassName:g,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,parentSelector:function(){return document.body}},S.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(S),t.default=S},8747:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a="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=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(7294),l=m(i),u=m(n(9545)),s=h(n(9685)),c=m(n(8338)),f=h(n(7149)),d=h(n(2409)),p=m(n(1112));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}}var y={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,a=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&d.remove(document.body,o),a&&d.remove(document.getElementsByTagName("html")[0],a),r&&v>0&&0===(v-=1)&&f.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(s.returnFocus(),s.teardownScopedFocus()):s.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose()},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(s.setupScopedFocus(n.node),s.markForFocusLater()),n.setState({isOpen:!0},(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen()})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus()},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){9===e.keyCode&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":a(t))?t:{base:y[e],afterOpen:y[e]+"--after-open",beforeClose:y[e]+"--before-close"},o=r.base;return n.state.afterOpen&&(o=o+" "+r.afterOpen),n.state.beforeClose&&(o=o+" "+r.beforeClose),"string"==typeof t&&t?o+" "+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,a=e.bodyOpenClassName;a&&d.add(document.body,a),r&&d.add(document.getElementsByTagName("html")[0],r),n&&(v+=1,f.hide(t))}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.overlayClassName,a=e.defaultStyles,o=t?{}:a.content,i=n?{}:a.overlay;return this.shouldBeClosed()?null:l.default.createElement("div",{ref:this.setOverlayRef,className:this.buildClassName("overlay",n),style:r({},i,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},l.default.createElement("div",r({ref:this.setContentRef,style:r({},o,this.props.style.content),className:this.buildClassName("content",t),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",this.props.aria||{}),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),this.props.children))}}]),t}(i.Component);g.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},g.propTypes={isOpen:u.default.bool.isRequired,defaultStyles:u.default.shape({content:u.default.object,overlay:u.default.object}),style:u.default.shape({content:u.default.object,overlay:u.default.object}),className:u.default.oneOfType([u.default.string,u.default.object]),overlayClassName:u.default.oneOfType([u.default.string,u.default.object]),bodyOpenClassName:u.default.string,htmlOpenClassName:u.default.string,ariaHideApp:u.default.bool,appElement:u.default.instanceOf(p.default),onAfterOpen:u.default.func,onAfterClose:u.default.func,onRequestClose:u.default.func,closeTimeoutMS:u.default.number,shouldFocusAfterRender:u.default.bool,shouldCloseOnOverlayClick:u.default.bool,shouldReturnFocusAfterClose:u.default.bool,role:u.default.string,contentLabel:u.default.string,aria:u.default.object,data:u.default.object,children:u.default.node,shouldCloseOnEsc:u.default.bool,overlayRef:u.default.func,contentRef:u.default.func,testId:u.default.string},t.default=g,e.exports=t.default},7149:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=u,t.setElement=function(e){var t=e;if("string"==typeof t&&i.canUseDOM){var n=document.querySelectorAll(t);u(n,t),t="length"in n?n[0]:n}return l=t||l},t.validateElement=s,t.hide=function(e){s(e)&&(e||l).setAttribute("aria-hidden","true")},t.show=function(e){s(e)&&(e||l).removeAttribute("aria-hidden")},t.documentNotReadyOrSSRTesting=function(){l=null},t.resetForTesting=function(){l=null};var r,a=n(670),o=(r=a)&&r.__esModule?r:{default:r},i=n(1112);var l=null;function u(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function s(e){return!(!e&&!l)||((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),!1)}},2409:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dumpClassLists=function(){0};var n={},r={};t.add=function(e,t){return a=e.classList,o="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(o,e),a.add(e)}));var a,o},t.remove=function(e,t){return a=e.classList,o="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(o,e),0===o[e]&&a.remove(e)}));var a,o}},9685:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleBlur=s,t.handleFocus=c,t.markForFocusLater=function(){i.push(document.activeElement)},t.returnFocus=function(){var e=null;try{return void(0!==i.length&&(e=i.pop()).focus())}catch(t){console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){i.length>0&&i.pop()},t.setupScopedFocus=function(e){l=e,window.addEventListener?(window.addEventListener("blur",s,!1),document.addEventListener("focus",c,!0)):(window.attachEvent("onBlur",s),document.attachEvent("onFocus",c))},t.teardownScopedFocus=function(){l=null,window.addEventListener?(window.removeEventListener("blur",s),document.removeEventListener("focus",c)):(window.detachEvent("onBlur",s),document.detachEvent("onFocus",c))};var r,a=n(7845),o=(r=a)&&r.__esModule?r:{default:r};var i=[],l=null,u=!1;function s(){u=!0}function c(){if(u){if(u=!1,!l)return;setTimeout((function(){l.contains(document.activeElement)||((0,o.default)(l)[0]||l).focus()}),0)}}},1112:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var r,a=n(8875);var o=((r=a)&&r.__esModule?r:{default:r}).default,i=o.canUseDOM?window.HTMLElement:{};t.canUseDOM=o.canUseDOM;t.default=i},8338:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(!n.length)return void t.preventDefault();var r,a=t.shiftKey,i=n[0],l=n[n.length-1];if(e===document.activeElement){if(!a)return;r=l}l!==document.activeElement||a||(r=i);i===document.activeElement&&a&&(r=l);if(r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var s=n.indexOf(document.activeElement);s>-1&&(s+=a?-1:1);if(void 0===n[s])return t.preventDefault(),void(r=a?l:i).focus();t.preventDefault(),n[s].focus()};var r,a=n(7845),o=(r=a)&&r.__esModule?r:{default:r};e.exports=t.default},7845:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(o)};var n=/input|select|textarea|button|object/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow"):"none"==n.getPropertyValue("display")}function a(e,t){var a=e.nodeName.toLowerCase();return(n.test(a)&&!e.disabled||"a"===a&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(r(t))return!1;t=t.parentNode}return!0}(e)}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default},3253:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(9983),o=(r=a)&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},1118:(e,t,n)=>{"use strict";var r=n(139),a=n(3759),o=n(5344);e.exports=function(){function e(e,t,n,r,i,l){l!==o&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},9545:(e,t,n)=>{e.exports=n(1118)()},5344:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8137:(e,t,n)=>{"use strict";var r=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=i(n(7294)),o=i(n(3064));function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=[],c=!1,f=void 0;if("undefined"!=typeof window){var d=n(2273);(f=d.soundManager).onready((function(){s.slice().forEach((function(e){return e()}))}))}function p(){}var h={PLAYING:"PLAYING",STOPPED:"STOPPED",PAUSED:"PAUSED"},m=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){var e=this;this.createSound((function(t){return e.updateSound(t)}))}},{key:"componentWillUnmount",value:function(){this.removeSound()}},{key:"componentDidUpdate",value:function(e){var t=this;this.props.url!==e.url?this.createSound((function(n){return t.updateSound(n,e)})):this.updateSound(this.sound)}},{key:"updateSound",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e&&(this.props.playStatus===h.PLAYING?(0===e.playState&&e.play(),e.paused&&e.resume()):this.props.playStatus===h.STOPPED?0!==e.playState&&e.stop():e.paused||e.pause(),null!=this.props.playFromPosition&&this.props.playFromPosition!==t.playFromPosition&&e.setPosition(this.props.playFromPosition),null!=this.props.position&&e.position!==this.props.position&&Math.round(e.position)!==Math.round(this.props.position)&&e.setPosition(this.props.position),this.props.volume!==t.volume&&e.setVolume(this.props.volume),this.props.playbackRate!==t.playbackRate&&e.setPlaybackRate(this.props.playbackRate))}},{key:"createSound",value:function(e){var t=this;this.removeSound();var n=this;this.props.url&&(this.stopCreatingSound=function(e,t){if(f.ok())return t(f.createSound(e)),function(){};c||(c=!0,f.beginDelayedInit());var n=function(){t(f.createSound(e))};return s.push(n),function(){s.splice(s.indexOf(n),1)}}({url:this.props.url,autoLoad:this.props.autoLoad,volume:this.props.volume,position:this.props.playFromPosition||this.props.position||0,playbackRate:this.props.playbackRate,whileloading:function(){n.props.onLoading(this)},whileplaying:function(){n.props.onPlaying(this)},onerror:function(e,t){n.props.onError(e,t,this)},onload:function(){n.props.onLoad(this)},onpause:function(){n.props.onPause(this)},onresume:function(){n.props.onResume(this)},onstop:function(){n.props.onStop(this)},onfinish:function(){n.props.loop&&n.props.playStatus===h.PLAYING?n.sound.play():n.props.onFinishedPlaying()},onbufferchange:function(){n.props.onBufferChange(this.isBuffering)}},(function(n){t.sound=n,e(n)})))}},{key:"removeSound",value:function(){if(this.stopCreatingSound&&(this.stopCreatingSound(),delete this.stopCreatingSound),this.sound){try{this.sound.destruct()}catch(e){}delete this.sound}}},{key:"render",value:function(){return null}}]),t}(a.default.Component);m.status=h,m.propTypes={url:o.default.string.isRequired,playStatus:o.default.oneOf(Object.keys(h)).isRequired,position:o.default.number,playFromPosition:o.default.number,volume:o.default.number,playbackRate:o.default.number,onError:o.default.func,onLoading:o.default.func,onLoad:o.default.func,onPlaying:o.default.func,onPause:o.default.func,onResume:o.default.func,onStop:o.default.func,onFinishedPlaying:o.default.func,onBufferChange:o.default.func,autoLoad:o.default.bool,loop:o.default.bool},m.defaultProps={volume:100,playbackRate:1,onError:p,onLoading:p,onPlaying:p,onLoad:p,onPause:p,onResume:p,onStop:p,onFinishedPlaying:p,onBufferChange:p,autoLoad:!1,loop:!1},t.Z=m},822:(e,t,n)=>{"use strict";var r=n(139),a=n(3759);e.exports=function(){function e(){a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},3064:(e,t,n)=>{e.exports=n(822)()},2408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function v(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}function g(){}function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=v.prototype;var k=b.prototype=new g;k.constructor=b,m(k,v.prototype),k.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,_={current:null},T={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)S.call(t,a)&&!T.hasOwnProperty(a)&&(o[a]=t[a]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(a in u=e.defaultProps)void 0===o[a]&&(o[a]=u[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:_.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function x(e,t,a,o,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var u=!1;if(null===e)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return i=i(u=e),e=""===o?"."+C(u,0):o,w(i)?(a="",null!=e&&(a=e.replace(P,"$&/")+"/"),x(i,t,a,"",(function(e){return e}))):null!=i&&(O(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||u&&u.key===i.key?"":(""+i.key).replace(P,"$&/")+"/")+e)),t.push(i)),1;if(u=0,o=""===o?".":o+":",w(e))for(var s=0;s<e.length;s++){var c=o+C(l=e[s],s);u+=x(l,t,a,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),s=0;!(l=e.next()).done;)u+=x(l=l.value,t,a,c=o+C(l,s++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function L(e,t,n){if(null==e)return e;var r=[],a=0;return x(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},R={transition:null},I={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:R,ReactCurrentOwner:_};t.Children={map:L,forEach:function(e,t,n){L(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return L(e,(function(){t++})),t},toArray:function(e){return L(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=a,t.Profiler=i,t.PureComponent=b,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)S.call(t,s)&&!T.hasOwnProperty(s)&&(a[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return M.current.useTransition()},t.version="18.2.0"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},53:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,u=e[l],s=l+1,c=e[s];if(0>o(u,n))s<a&&0>o(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[l]=n,r=l);else{if(!(s<a&&0>o(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}var s=[],c=[],f=1,d=null,p=3,h=!1,m=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function w(e){if(y=!1,k(e),!m)if(null!==r(s))m=!0,R(S);else{var t=r(c);null!==t&&I(w,t.startTime-e)}}function S(e,n){m=!1,y&&(y=!1,g(O),O=-1),h=!0;var o=p;try{for(k(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!x());){var i=d.callback;if("function"==typeof i){d.callback=null,p=d.priorityLevel;var l=i(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?d.callback=l:d===r(s)&&a(s),k(n)}else a(s);d=r(s)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&I(w,f.startTime-n),u=!1}return u}finally{d=null,p=o,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,T=!1,E=null,O=-1,P=5,C=-1;function x(){return!(t.unstable_now()-C<P)}function L(){if(null!==E){var e=t.unstable_now();C=e;var n=!0;try{n=E(!0,e)}finally{n?_():(T=!1,E=null)}}else T=!1}if("function"==typeof b)_=function(){b(L)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,M=N.port2;N.port1.onmessage=L,_=function(){M.postMessage(null)}}else _=function(){v(L,0)};function R(e){E=e,T||(T=!0,_())}function I(e,n){O=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,R(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(s)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:f++,callback:a,priorityLevel:e,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>i?(e.sortIndex=o,n(c,e),null===r(s)&&e===r(c)&&(y?(g(O),O=-1):y=!0,I(w,o-i))):(e.sortIndex=l,n(s,e),m||h||(m=!0,R(S))),e},t.unstable_shouldYield=x,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},2273:(e,t,n)=>{var r;e=n.nmd(e),function(a,o){"use strict";if(!a||!a.document)throw new Error("SoundManager requires a browser with window and document objects.");var i=null;function l(e,t){this.setupOptions={url:e||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null,flashLoadTimeout:1e3,wmode:null,allowScriptAccess:"always",useFlashBlock:!1,useHTML5Audio:!0,forceUseGlobalHTML5Audio:!1,ignoreMobileRestrictions:!1,html5Test:/^(probably|maybe)$/i,preferFlash:!1,noSWFCache:!1,idPrefix:"sound"},this.defaultOptions={autoLoad:!1,autoPlay:!1,from:null,loops:1,onid3:null,onerror:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onposition:null,onstop:null,onfinish:null,multiShot:!0,multiShotEvents:!1,position:null,pan:0,playbackRate:1,stream:!0,to:null,type:null,usePolicyFile:!1,volume:100},this.flash9Options={onfailure:null,isMovieStar:null,usePeakData:!1,useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null},this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null},this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a","m4b"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1},ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},opus:{type:["audio/ogg; codecs=opus","audio/opus"],required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1},flac:{type:["audio/flac"],required:!1}},this.movieID="sm2-container",this.id=t||"sm2movie",this.debugID="soundmanager-debug",this.debugURLParam=/([#?&])debug=1/i,this.versionNumber="V2.97a.20170601",this.version=null,this.movieURL=null,this.altURL=null,this.swfLoaded=!1,this.enabled=!1,this.oMC=null,this.sounds={},this.soundIDs=[],this.muted=!1,this.didFlashBlock=!1,this.filePattern=null,this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i},this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1},this.sandbox={},this.html5={usingFlash:null},this.flash={},this.html5Only=!1,this.ignoreFlash=!1;var n,r,i,l,u,s,c,f,d,p,h,m,y,v,g,b,k,w,S,_,T,E,O,P,C,x,L,N,M,R,I,A,D,F,z,H,j,U,B,V,W,q,$,Q,Y,G,Z,K,X,J,ee,te,ne,re,ae,oe,ie,le,ue=this,se=null,ce=null,fe=navigator.userAgent,de=a.location.href.toString(),pe=document,he=[],me=!1,ye=!1,ve=!1,ge=!1,be=!1,ke=null,we=null,Se=!1,_e=!1,Te=0,Ee=null,Oe=[],Pe=null,Ce=Array.prototype.slice,xe=!1,Le=0,Ne=1e3,Me=fe.match(/(ipad|iphone|ipod)/i),Re=fe.match(/android/i),Ie=fe.match(/msie|trident/i),Ae=fe.match(/webkit/i),De=fe.match(/safari/i)&&!fe.match(/chrome/i),Fe=fe.match(/opera/i),ze=fe.match(/(mobile|pre\/|xoom)/i)||Me||Re,He=!de.match(/usehtml5audio/i)&&!de.match(/sm2-ignorebadua/i)&&De&&!fe.match(/silk/i)&&fe.match(/OS\sX\s10_6_([3-7])/i),je=(a.console!==o&&console.log,pe.hasFocus!==o?pe.hasFocus():null),Ue=De&&(pe.hasFocus===o||!pe.hasFocus()),Be=!Ue,Ve=/(mp3|mp4|mpa|m4a|m4b)/i,We="about:blank",qe=pe.location?pe.location.protocol.match(/http/i):null,$e=qe?"":"//",Qe=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4|m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i,Ye=["mpeg4","aac","flv","mov","mp4","m4v","f4v","m4a","m4b","mp4v","3gp","3g2"],Ge=new RegExp("\\.("+Ye.join("|")+")(\\?.*)?$","i");function Ze(e){return ue.preferFlash&&ne&&!ue.ignoreFlash&&ue.flash[e]!==o&&ue.flash[e]}function Ke(e){return function(t){var n=this._s;return n&&n._a?e.call(this,t):null}}this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i,this.useAltURL=!qe,F={swfBox:"sm2-object-box",swfDefault:"movieContainer",swfError:"swf_error",swfTimedout:"swf_timedout",swfLoaded:"swf_loaded",swfUnblocked:"swf_unblocked",sm2Debug:"sm2_debug",highPerf:"high_performance",flashDebug:"flash_debug"},G=[null,"MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED"],this.hasHTML5=function(){try{return Audio!==o&&(Fe&&opera!==o&&opera.version()<10?new Audio(null):new Audio).canPlayType!==o}catch(e){return!1}}(),this.setup=function(e){var t=!ue.url;return e!==o&&ve&&Pe&&ue.ok()&&(e.flashVersion!==o||e.url!==o||e.html5Test),d(e),xe||(ze?ue.setupOptions.ignoreMobileRestrictions&&!ue.setupOptions.forceUseGlobalHTML5Audio||(Oe.push(S.globalHTML5),xe=!0):ue.setupOptions.forceUseGlobalHTML5Audio&&(Oe.push(S.globalHTML5),xe=!0)),!le&&ze&&(ue.setupOptions.ignoreMobileRestrictions?Oe.push(S.ignoreMobile):(ue.setupOptions.useHTML5Audio=!0,ue.setupOptions.preferFlash=!1,Me?ue.ignoreFlash=!0:(Re&&!fe.match(/android\s2\.3/i)||!Re)&&(xe=!0))),e&&(t&&O&&e.url!==o&&ue.beginDelayedInit(),O||e.url===o||"complete"!==pe.readyState||setTimeout(T,1)),le=!0,ue},this.ok=function(){return Pe?ve&&!ge:ue.useHTML5Audio&&ue.hasHTML5},this.supported=this.ok,this.getMovie=function(e){return r(e)||pe[e]||a[e]},this.createSound=function(e,t){var r,a=null;if(!ve||!ue.ok())return!1;if(t!==o&&(e={id:e,url:t}),(r=f(e)).url=W(r.url),r.id===o&&(r.id=ue.setupOptions.idPrefix+Le++),j(r.id,!0))return ue.sounds[r.id];function i(){return r=z(r),ue.sounds[r.id]=new n(r),ue.soundIDs.push(r.id),ue.sounds[r.id]}if(Q(r))(a=i())._setup_html5(r);else{if(ue.html5Only)return i();if(ue.html5.usingFlash&&r.url&&r.url.match(/data:/i))return i();s>8&&null===r.isMovieStar&&(r.isMovieStar=!!(r.serverURL||r.type&&r.type.match(Qe)||r.url&&r.url.match(Ge))),r=H(r,undefined),a=i(),8===s?ce._createSound(r.id,r.loops||1,r.usePolicyFile):(ce._createSound(r.id,r.url,r.usePeakData,r.useWaveformData,r.useEQData,r.isMovieStar,!!r.isMovieStar&&r.bufferTime,r.loops||1,r.serverURL,r.duration||null,r.autoPlay,!0,r.autoLoad,r.usePolicyFile),r.serverURL||(a.connected=!0,r.onconnect&&r.onconnect.apply(a))),r.serverURL||!r.autoLoad&&!r.autoPlay||a.load(r)}return!r.serverURL&&r.autoPlay&&a.play(),a},this.destroySound=function(e,t){if(!j(e))return!1;var n,r=ue.sounds[e];for(r.stop(),r._iO={},r.unload(),n=0;n<ue.soundIDs.length;n++)if(ue.soundIDs[n]===e){ue.soundIDs.splice(n,1);break}return t||r.destruct(!0),r=null,delete ue.sounds[e],!0},this.load=function(e,t){return!!j(e)&&ue.sounds[e].load(t)},this.unload=function(e){return!!j(e)&&ue.sounds[e].unload()},this.onPosition=function(e,t,n,r){return!!j(e)&&ue.sounds[e].onposition(t,n,r)},this.onposition=this.onPosition,this.clearOnPosition=function(e,t,n){return!!j(e)&&ue.sounds[e].clearOnPosition(t,n)},this.play=function(e,t){var n=null,r=t&&!(t instanceof Object);if(!ve||!ue.ok())return!1;if(j(e,r))r&&(t={url:t});else{if(!r)return!1;r&&(t={url:t}),t&&t.url&&(t.id=e,n=ue.createSound(t).play())}return null===n&&(n=ue.sounds[e].play(t)),n},this.start=this.play,this.setPlaybackRate=function(e,t,n){return!!j(e)&&ue.sounds[e].setPlaybackRate(t,n)},this.setPosition=function(e,t){return!!j(e)&&ue.sounds[e].setPosition(t)},this.stop=function(e){return!!j(e)&&ue.sounds[e].stop()},this.stopAll=function(){var e;for(e in ue.sounds)ue.sounds.hasOwnProperty(e)&&ue.sounds[e].stop()},this.pause=function(e){return!!j(e)&&ue.sounds[e].pause()},this.pauseAll=function(){var e;for(e=ue.soundIDs.length-1;e>=0;e--)ue.sounds[ue.soundIDs[e]].pause()},this.resume=function(e){return!!j(e)&&ue.sounds[e].resume()},this.resumeAll=function(){var e;for(e=ue.soundIDs.length-1;e>=0;e--)ue.sounds[ue.soundIDs[e]].resume()},this.togglePause=function(e){return!!j(e)&&ue.sounds[e].togglePause()},this.setPan=function(e,t){return!!j(e)&&ue.sounds[e].setPan(t)},this.setVolume=function(e,t){var n,r;if(e!==o&&!isNaN(e)&&t===o){for(n=0,r=ue.soundIDs.length;n<r;n++)ue.sounds[ue.soundIDs[n]].setVolume(e);return!1}return!!j(e)&&ue.sounds[e].setVolume(t)},this.mute=function(e){var t=0;if(e instanceof String&&(e=null),e)return!!j(e)&&ue.sounds[e].mute();for(t=ue.soundIDs.length-1;t>=0;t--)ue.sounds[ue.soundIDs[t]].mute();return ue.muted=!0,!0},this.muteAll=function(){ue.mute()},this.unmute=function(e){var t;if(e instanceof String&&(e=null),e)return!!j(e)&&ue.sounds[e].unmute();for(t=ue.soundIDs.length-1;t>=0;t--)ue.sounds[ue.soundIDs[t]].unmute();return ue.muted=!1,!0},this.unmuteAll=function(){ue.unmute()},this.toggleMute=function(e){return!!j(e)&&ue.sounds[e].toggleMute()},this.getMemoryUse=function(){var e=0;return ce&&8!==s&&(e=parseInt(ce._getMemoryUse(),10)),e},this.disable=function(e){var t;if(e===o&&(e=!1),ge)return!1;for(ge=!0,t=ue.soundIDs.length-1;t>=0;t--)N(ue.sounds[ue.soundIDs[t]]);return N(ue),c(e),ee.remove(a,"load",y),!0},this.canPlayMIME=function(e){var t;return ue.hasHTML5&&(t=Y({type:e})),!t&&Pe&&(t=e&&ue.ok()?!!(s>8&&e.match(Qe)||e.match(ue.mimePattern)):null),t},this.canPlayURL=function(e){var t;return ue.hasHTML5&&(t=Y({url:e})),!t&&Pe&&(t=e&&ue.ok()?!!e.match(ue.filePattern):null),t},this.canPlayLink=function(e){return!(e.type===o||!e.type||!ue.canPlayMIME(e.type))||ue.canPlayURL(e.href)},this.getSoundById=function(e,t){return e?ue.sounds[e]:null},this.onready=function(e,t){var n="onready";if("function"!=typeof e)throw I("needFunction",n);return t||(t=a),h(n,e,t),m(),!0},this.ontimeout=function(e,t){var n="ontimeout";if("function"!=typeof e)throw I("needFunction",n);return t||(t=a),h(n,e,t),m({type:n}),!0},this._writeDebug=function(e,t){return!0},this._wD=this._writeDebug,this._debug=function(){},this.reboot=function(e,t){var n,r,o;for(n=ue.soundIDs.length-1;n>=0;n--)ue.sounds[ue.soundIDs[n]].destruct();if(ce)try{Ie&&(we=ce.innerHTML),ke=ce.parentNode.removeChild(ce)}catch(e){}if(we=ke=Pe=ce=null,ue.enabled=O=ve=Se=_e=me=ye=ge=xe=ue.swfLoaded=!1,ue.soundIDs=[],ue.sounds={},Le=0,le=!1,e)he=[];else for(n in he)if(he.hasOwnProperty(n))for(r=0,o=he[n].length;r<o;r++)he[n][r].fired=!1;return ue.html5={usingFlash:null},ue.flash={},ue.html5Only=!1,ue.ignoreFlash=!1,a.setTimeout((function(){t||ue.beginDelayedInit()}),20),ue},this.reset=function(){return ue.reboot(!0,!0)},this.getMoviePercent=function(){return ce&&"PercentLoaded"in ce?ce.PercentLoaded():null},this.beginDelayedInit=function(){be=!0,T(),setTimeout((function(){return!_e&&(C(),_(),_e=!0,!0)}),20),v()},this.destruct=function(){ue.disable(!0)},n=function(e){var t,n,r,a,i,l,u,c,d,p,h=this,m=!1,y=[],v=0,g=null;d={duration:null,time:null},this.id=e.id,this.sID=this.id,this.url=e.url,this.options=f(e),this.instanceOptions=this.options,this._iO=this.instanceOptions,this.pan=this.options.pan,this.volume=this.options.volume,this.isHTML5=!1,this._a=null,p=!this.url,this.id3={},this._debug=function(){},this.load=function(e){var t;if(e!==o?h._iO=f(e,h.options):(e=h.options,h._iO=e,g&&g!==h.url&&(h._iO.url=h.url,h.url=null)),h._iO.url||(h._iO.url=h.url),h._iO.url=W(h._iO.url),h.instanceOptions=h._iO,!(t=h._iO).url&&!h.url)return h;if(t.url===h.url&&0!==h.readyState&&2!==h.readyState)return 3===h.readyState&&t.onload&&ie(h,(function(){t.onload.apply(h,[!!h.duration])})),h;if(h.loaded=!1,h.readyState=1,h.playState=0,h.id3={},Q(t))h._setup_html5(t)._called_load||(h._html5_canplay=!1,h.url!==t.url&&(h._a.src=t.url,h.setPosition(0)),h._a.autobuffer="auto",h._a.preload="auto",h._a._called_load=!0);else{if(ue.html5Only)return h;if(h._iO.url&&h._iO.url.match(/data:/i))return h;try{h.isHTML5=!1,h._iO=H(z(t)),h._iO.autoPlay&&(h._iO.position||h._iO.from)&&(h._iO.autoPlay=!1),t=h._iO,8===s?ce._load(h.id,t.url,t.stream,t.autoPlay,t.usePolicyFile):ce._load(h.id,t.url,!!t.stream,!!t.autoPlay,t.loops||1,!!t.autoLoad,t.usePolicyFile)}catch(e){x({type:"SMSOUND_LOAD_JS_EXCEPTION",fatal:!0})}}return h.url=t.url,h},this.unload=function(){return 0!==h.readyState&&(h.isHTML5?(a(),h._a&&(h._a.pause(),g=K(h._a))):8===s?ce._unload(h.id,We):ce._unload(h.id),t()),h},this.destruct=function(e){h.isHTML5?(a(),h._a&&(h._a.pause(),K(h._a),xe||r(),h._a._s=null,h._a=null)):(h._iO.onfailure=null,ce._destroySound(h.id)),e||ue.destroySound(h.id,!0)},this.play=function(e,t){var n,r,a,u,d,y=!0;if(t=t===o||t,e||(e={}),h.url&&(h._iO.url=h.url),h._iO=f(h._iO,h.options),h._iO=f(e,h._iO),h._iO.url=W(h._iO.url),h.instanceOptions=h._iO,!h.isHTML5&&h._iO.serverURL&&!h.connected)return h.getAutoPlay()||h.setAutoPlay(!0),h;if(Q(h._iO)&&(h._setup_html5(h._iO),i()),1===h.playState&&!h.paused&&!h._iO.multiShot)return h.isHTML5&&h.setPosition(h._iO.position),h;if(e.url&&e.url!==h.url&&(h.readyState||h.isHTML5||8!==s||!p?h.load(h._iO):p=!1),!h.loaded)if(0===h.readyState){if(h.isHTML5||ue.html5Only){if(!h.isHTML5)return h;h.load(h._iO)}else h._iO.autoPlay=!0,h.load(h._iO);h.instanceOptions=h._iO}else if(2===h.readyState)return h;return!h.isHTML5&&9===s&&h.position>0&&h.position===h.duration&&(e.position=0),h.paused&&h.position>=0&&(!h._iO.serverURL||h.position>0)?h.resume():(h._iO=f(e,h._iO),(!h.isHTML5&&null!==h._iO.position&&h._iO.position>0||null!==h._iO.from&&h._iO.from>0||null!==h._iO.to)&&0===h.instanceCount&&0===h.playState&&!h._iO.serverURL&&(r=function(){h._iO=f(e,h._iO),h.play(h._iO)},h.isHTML5&&!h._html5_canplay?h.load({_oncanplay:r}):h.isHTML5||h.loaded||h.readyState&&2===h.readyState||h.load({onload:r}),h._iO=c()),(!h.instanceCount||h._iO.multiShotEvents||h.isHTML5&&h._iO.multiShot&&!xe||!h.isHTML5&&s>8&&!h.getAutoPlay())&&h.instanceCount++,h._iO.onposition&&0===h.playState&&l(h),h.playState=1,h.paused=!1,h.position=h._iO.position===o||isNaN(h._iO.position)?0:h._iO.position,h.isHTML5||(h._iO=H(z(h._iO))),h._iO.onplay&&t&&(h._iO.onplay.apply(h),m=!0),h.setVolume(h._iO.volume,!0),h.setPan(h._iO.pan,!0),1!==h._iO.playbackRate&&h.setPlaybackRate(h._iO.playbackRate),h.isHTML5?h.instanceCount<2?(i(),n=h._setup_html5(),h.setPosition(h._iO.position),n.play()):(a=new Audio(h._iO.url),u=function(){ee.remove(a,"ended",u),h._onfinish(h),K(a),a=null},d=function(){ee.remove(a,"canplay",d);try{a.currentTime=h._iO.position/Ne}catch(e){}a.play()},ee.add(a,"ended",u),h._iO.volume!==o&&(a.volume=Math.max(0,Math.min(1,h._iO.volume/100))),h.muted&&(a.muted=!0),h._iO.position?ee.add(a,"canplay",d):a.play()):(y=ce._start(h.id,h._iO.loops||1,9===s?h.position:h.position/Ne,h._iO.multiShot||!1),9!==s||y||h._iO.onplayerror&&h._iO.onplayerror.apply(h))),h},this.start=this.play,this.stop=function(e){var t,n=h._iO;return 1===h.playState&&(h._onbufferchange(0),h._resetOnPosition(0),h.paused=!1,h.isHTML5||(h.playState=0),u(),n.to&&h.clearOnPosition(n.to),h.isHTML5?h._a&&(t=h.position,h.setPosition(0),h.position=t,h._a.pause(),h.playState=0,h._onTimer(),a()):(ce._stop(h.id,e),n.serverURL&&h.unload()),h.instanceCount=0,h._iO={},n.onstop&&n.onstop.apply(h)),h},this.setAutoPlay=function(e){h._iO.autoPlay=e,h.isHTML5||(ce._setAutoPlay(h.id,e),e&&(h.instanceCount||1!==h.readyState||h.instanceCount++))},this.getAutoPlay=function(){return h._iO.autoPlay},this.setPlaybackRate=function(e){var t=Math.max(.5,Math.min(4,e));if(h.isHTML5)try{h._iO.playbackRate=t,h._a.playbackRate=t}catch(e){}return h},this.setPosition=function(e){e===o&&(e=0);var t,n,r=h.isHTML5?Math.max(e,0):Math.min(h.duration||h._iO.duration,Math.max(e,0));if(h.position=r,n=h.position/Ne,h._resetOnPosition(h.position),h._iO.position=r,h.isHTML5){if(h._a){if(h._html5_canplay){if(h._a.currentTime.toFixed(3)!==n.toFixed(3))try{h._a.currentTime=n,(0===h.playState||h.paused)&&h._a.pause()}catch(e){}}else if(n)return h;h.paused&&h._onTimer(!0)}}else t=9===s?h.position:n,h.readyState&&2!==h.readyState&&ce._setPosition(h.id,t,h.paused||!h.playState,h._iO.multiShot);return h},this.pause=function(e){return h.paused||0===h.playState&&1!==h.readyState||(h.paused=!0,h.isHTML5?(h._setup_html5().pause(),a()):(e||e===o)&&ce._pause(h.id,h._iO.multiShot),h._iO.onpause&&h._iO.onpause.apply(h)),h},this.resume=function(){var e=h._iO;return h.paused?(h.paused=!1,h.playState=1,h.isHTML5?(h._setup_html5().play(),i()):(e.isMovieStar&&!e.serverURL&&h.setPosition(h.position),ce._pause(h.id,e.multiShot)),!m&&e.onplay?(e.onplay.apply(h),m=!0):e.onresume&&e.onresume.apply(h),h):h},this.togglePause=function(){return 0===h.playState?(h.play({position:9!==s||h.isHTML5?h.position/Ne:h.position}),h):(h.paused?h.resume():h.pause(),h)},this.setPan=function(e,t){return e===o&&(e=0),t===o&&(t=!1),h.isHTML5||ce._setPan(h.id,e),h._iO.pan=e,t||(h.pan=e,h.options.pan=e),h},this.setVolume=function(e,t){return e===o&&(e=100),t===o&&(t=!1),h.isHTML5?h._a&&(ue.muted&&!h.muted&&(h.muted=!0,h._a.muted=!0),h._a.volume=Math.max(0,Math.min(1,e/100))):ce._setVolume(h.id,ue.muted&&!h.muted||h.muted?0:e),h._iO.volume=e,t||(h.volume=e,h.options.volume=e),h},this.mute=function(){return h.muted=!0,h.isHTML5?h._a&&(h._a.muted=!0):ce._setVolume(h.id,0),h},this.unmute=function(){h.muted=!1;var e=h._iO.volume!==o;return h.isHTML5?h._a&&(h._a.muted=!1):ce._setVolume(h.id,e?h._iO.volume:h.options.volume),h},this.toggleMute=function(){return h.muted?h.unmute():h.mute()},this.onPosition=function(e,t,n){return y.push({position:parseInt(e,10),method:t,scope:n!==o?n:h,fired:!1}),h},this.onposition=this.onPosition,this.clearOnPosition=function(e,t){var n;if(e=parseInt(e,10),!isNaN(e))for(n=0;n<y.length;n++)e===y[n].position&&(t&&t!==y[n].method||(y[n].fired&&v--,y.splice(n,1)))},this._processOnPosition=function(){var e,t,n=y.length;if(!n||!h.playState||v>=n)return!1;for(e=n-1;e>=0;e--)!(t=y[e]).fired&&h.position>=t.position&&(t.fired=!0,v++,t.method.apply(t.scope,[t.position]),n=y.length);return!0},this._resetOnPosition=function(e){var t,n,r=y.length;if(!r)return!1;for(t=r-1;t>=0;t--)(n=y[t]).fired&&e<=n.position&&(n.fired=!1,v--);return!0},c=function(){var e,t,n=h._iO,r=n.from,a=n.to;return t=function(){h.clearOnPosition(a,t),h.stop()},e=function(){null===a||isNaN(a)||h.onPosition(a,t)},null===r||isNaN(r)||(n.position=r,n.multiShot=!1,e()),n},l=function(){var e,t=h._iO.onposition;if(t)for(e in t)t.hasOwnProperty(e)&&h.onPosition(parseInt(e,10),t[e])},u=function(){var e,t=h._iO.onposition;if(t)for(e in t)t.hasOwnProperty(e)&&h.clearOnPosition(parseInt(e,10))},i=function(){h.isHTML5&&U(h)},a=function(){h.isHTML5&&B(h)},(t=function(e){e||(y=[],v=0),m=!1,h._hasTimer=null,h._a=null,h._html5_canplay=!1,h.bytesLoaded=null,h.bytesTotal=null,h.duration=h._iO&&h._iO.duration?h._iO.duration:null,h.durationEstimate=null,h.buffered=[],h.eqData=[],h.eqData.left=[],h.eqData.right=[],h.failures=0,h.isBuffering=!1,h.instanceOptions={},h.instanceCount=0,h.loaded=!1,h.metadata={},h.readyState=0,h.muted=!1,h.paused=!1,h.peakData={left:0,right:0},h.waveformData={left:[],right:[]},h.playState=0,h.position=null,h.id3={}})(),this._onTimer=function(e){var t,n,r=!1,a={};return(h._hasTimer||e)&&h._a&&(e||(h.playState>0||1===h.readyState)&&!h.paused)&&((t=h._get_html5_duration())!==d.duration&&(d.duration=t,h.duration=t,r=!0),h.durationEstimate=h.duration,(n=h._a.currentTime*Ne||0)!==d.time&&(d.time=n,r=!0),(r||e)&&h._whileplaying(n,a,a,a,a)),r},this._get_html5_duration=function(){var e=h._iO,t=h._a&&h._a.duration?h._a.duration*Ne:e&&e.duration?e.duration:null;return t&&!isNaN(t)&&t!==1/0?t:null},this._apply_loop=function(e,t){e.loop=t>1?"loop":""},this._setup_html5=function(e){var r,a=f(h._iO,e),o=xe?se:h._a,i=decodeURI(a.url);if(xe?i===decodeURI(te)&&(r=!0):i===decodeURI(g)&&(r=!0),o){if(o._s)if(xe)o._s&&o._s.playState&&!r&&o._s.stop();else if(!xe&&i===decodeURI(g))return h._apply_loop(o,a.loops),o;r||(g&&t(!1),o.src=a.url,h.url=a.url,g=a.url,te=a.url,o._called_load=!1)}else a.autoLoad||a.autoPlay?(h._a=new Audio(a.url),h._a.load()):h._a=Fe&&opera.version()<10?new Audio(null):new Audio,(o=h._a)._called_load=!1,xe&&(se=o);return h.isHTML5=!0,h._a=o,o._s=h,n(),h._apply_loop(o,a.loops),a.autoLoad||a.autoPlay?h.load():(o.autobuffer=!1,o.preload="auto"),o},n=function(){if(h._a._added_events)return!1;var e,t,n,r;for(e in h._a._added_events=!0,oe)oe.hasOwnProperty(e)&&(t=e,n=oe[e],r=void 0,h._a&&h._a.addEventListener(t,n,r||!1));return!0},r=function(){var e,t,n,r;for(e in h._a._added_events=!1,oe)oe.hasOwnProperty(e)&&(t=e,n=oe[e],r=void 0,h._a&&h._a.removeEventListener(t,n,r||!1))},this._onload=function(e){var t=!!e||!h.isHTML5&&8===s&&h.duration;return h.loaded=t,h.readyState=t?3:2,h._onbufferchange(0),t||h.isHTML5||h._onerror(),h._iO.onload&&ie(h,(function(){h._iO.onload.apply(h,[t])})),!0},this._onerror=function(e,t){h._iO.onerror&&ie(h,(function(){h._iO.onerror.apply(h,[e,t])}))},this._onbufferchange=function(e){return 0!==h.playState&&(!(e&&h.isBuffering||!e&&!h.isBuffering)&&(h.isBuffering=1===e,h._iO.onbufferchange&&h._iO.onbufferchange.apply(h,[e]),!0))},this._onsuspend=function(){return h._iO.onsuspend&&h._iO.onsuspend.apply(h),!0},this._onfailure=function(e,t,n){h.failures++,h._iO.onfailure&&1===h.failures&&h._iO.onfailure(e,t,n)},this._onwarning=function(e,t,n){h._iO.onwarning&&h._iO.onwarning(e,t,n)},this._onfinish=function(){var e=h._iO.onfinish;h._onbufferchange(0),h._resetOnPosition(0),h.instanceCount&&(h.instanceCount--,h.instanceCount||(u(),h.playState=0,h.paused=!1,h.instanceCount=0,h.instanceOptions={},h._iO={},a(),h.isHTML5&&(h.position=0)),h.instanceCount&&!h._iO.multiShotEvents||e&&ie(h,(function(){e.apply(h)})))},this._whileloading=function(e,t,n,r){var a=h._iO;h.bytesLoaded=e,h.bytesTotal=t,h.duration=Math.floor(n),h.bufferLength=r,h.isHTML5||a.isMovieStar?h.durationEstimate=h.duration:a.duration?h.durationEstimate=h.duration>a.duration?h.duration:a.duration:h.durationEstimate=parseInt(h.bytesTotal/h.bytesLoaded*h.duration,10),h.isHTML5||(h.buffered=[{start:0,end:h.duration}]),(3!==h.readyState||h.isHTML5)&&a.whileloading&&a.whileloading.apply(h)},this._whileplaying=function(e,t,n,r,a){var i,l=h._iO;return!isNaN(e)&&null!==e&&(h.position=Math.max(0,e),h._processOnPosition(),!h.isHTML5&&s>8&&(l.usePeakData&&t!==o&&t&&(h.peakData={left:t.leftPeak,right:t.rightPeak}),l.useWaveformData&&n!==o&&n&&(h.waveformData={left:n.split(","),right:r.split(",")}),l.useEQData&&a!==o&&a&&a.leftEQ&&(i=a.leftEQ.split(","),h.eqData=i,h.eqData.left=i,a.rightEQ!==o&&a.rightEQ&&(h.eqData.right=a.rightEQ.split(",")))),1===h.playState&&(h.isHTML5||8!==s||h.position||!h.isBuffering||h._onbufferchange(0),l.whileplaying&&l.whileplaying.apply(h)),!0)},this._oncaptiondata=function(e){h.captiondata=e,h._iO.oncaptiondata&&h._iO.oncaptiondata.apply(h,[e])},this._onmetadata=function(e,t){var n,r,a={};for(n=0,r=e.length;n<r;n++)a[e[n]]=t[n];h.metadata=a,h._iO.onmetadata&&h._iO.onmetadata.call(h,h.metadata)},this._onid3=function(e,t){var n,r,a=[];for(n=0,r=e.length;n<r;n++)a[e[n]]=t[n];h.id3=f(h.id3,a),h._iO.onid3&&h._iO.onid3.apply(h)},this._onconnect=function(e){e=1===e,h.connected=e,e&&(h.failures=0,j(h.id)&&(h.getAutoPlay()?h.play(o,h.getAutoPlay()):h._iO.autoLoad&&h.load()),h._iO.onconnect&&h._iO.onconnect.apply(h,[e]))},this._ondataerror=function(e){h.playState>0&&h._iO.ondataerror&&h._iO.ondataerror.apply(h)}},P=function(){return pe.body||pe.getElementsByTagName("div")[0]},r=function(e){return pe.getElementById(e)},f=function(e,t){var n,r,a=e||{};for(r in n=t===o?ue.defaultOptions:t)n.hasOwnProperty(r)&&a[r]===o&&("object"!=typeof n[r]||null===n[r]?a[r]=n[r]:a[r]=f(a[r],n[r]));return a},ie=function(e,t){e.isHTML5||8!==s?t():a.setTimeout(t,0)},p={onready:1,ontimeout:1,defaultOptions:1,flash9Options:1,movieStarOptions:1},d=function(e,t){var n,r=!0,a=t!==o,i=ue.setupOptions,l=p;for(n in e)if(e.hasOwnProperty(n))if("object"!=typeof e[n]||null===e[n]||e[n]instanceof Array||e[n]instanceof RegExp)a&&l[t]!==o?ue[t][n]=e[n]:i[n]!==o?(ue.setupOptions[n]=e[n],ue[n]=e[n]):l[n]===o?r=!1:ue[n]instanceof Function?ue[n].apply(ue,e[n]instanceof Array?e[n]:[e[n]]):ue[n]=e[n];else{if(l[n]!==o)return d(e[n],n);r=!1}return r},ee=function(){var e=a.attachEvent,t={add:e?"attachEvent":"addEventListener",remove:e?"detachEvent":"removeEventListener"};function n(t){var n=Ce.call(t),r=n.length;return e?(n[1]="on"+n[1],r>3&&n.pop()):3===r&&n.push(!1),n}function r(n,r){var a=n.shift(),o=[t[r]];e?a[o](n[0],n[1]):a[o].apply(a,n)}return{add:function(){r(n(arguments),"add")},remove:function(){r(n(arguments),"remove")}}}(),oe={abort:Ke((function(){})),canplay:Ke((function(){var e,t=this._s;if(!t._html5_canplay){if(t._html5_canplay=!0,t._onbufferchange(0),e=t._iO.position===o||isNaN(t._iO.position)?null:t._iO.position/Ne,this.currentTime!==e)try{this.currentTime=e}catch(e){}t._iO._oncanplay&&t._iO._oncanplay()}})),canplaythrough:Ke((function(){var e=this._s;e.loaded||(e._onbufferchange(0),e._whileloading(e.bytesLoaded,e.bytesTotal,e._get_html5_duration()),e._onload(!0))})),durationchange:Ke((function(){var e,t=this._s;e=t._get_html5_duration(),isNaN(e)||e===t.duration||(t.durationEstimate=t.duration=e)})),ended:Ke((function(){this._s._onfinish()})),error:Ke((function(){var e=G[this.error.code]||null;this._s._onload(!1),this._s._onerror(this.error.code,e)})),loadeddata:Ke((function(){var e=this._s;e._loaded||De||(e.duration=e._get_html5_duration())})),loadedmetadata:Ke((function(){})),loadstart:Ke((function(){this._s._onbufferchange(1)})),play:Ke((function(){this._s._onbufferchange(0)})),playing:Ke((function(){this._s._onbufferchange(0)})),progress:Ke((function(e){var t,n,r=this._s,a=0,o=(e.type,e.target.buffered),i=e.loaded||0,l=e.total||1;if(r.buffered=[],o&&o.length){for(t=0,n=o.length;t<n;t++)r.buffered.push({start:o.start(t)*Ne,end:o.end(t)*Ne});a=(o.end(0)-o.start(0))*Ne,i=Math.min(1,a/(e.target.duration*Ne))}isNaN(i)||(r._whileloading(i,l,r._get_html5_duration()),i&&l&&i===l&&oe.canplaythrough.call(this,e))})),ratechange:Ke((function(){})),suspend:Ke((function(e){var t=this._s;oe.progress.call(this,e),t._onsuspend()})),stalled:Ke((function(){})),timeupdate:Ke((function(){this._s._onTimer()})),waiting:Ke((function(){this._s._onbufferchange(1)}))},Q=function(e){return!(!e||!(e.type||e.url||e.serverURL))&&(!(e.serverURL||e.type&&Ze(e.type))&&(e.type?Y({type:e.type}):Y({url:e.url})||ue.html5Only||e.url.match(/data:/i)))},K=function(e){var t;return e&&(t=De?We:ue.html5.canPlayType("audio/wav")?"data:audio/wave;base64,/UklGRiYAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQIAAAD//w==":We,e.src=t,e._called_unload!==o&&(e._called_load=!1)),xe&&(te=null),t},Y=function(e){if(!ue.useHTML5Audio||!ue.hasHTML5)return!1;var t,n,r,a,i=e.url||null,l=e.type||null,u=ue.audioFormats;if(l&&ue.html5[l]!==o)return ue.html5[l]&&!Ze(l);if(!Z){for(a in Z=[],u)u.hasOwnProperty(a)&&(Z.push(a),u[a].related&&(Z=Z.concat(u[a].related)));Z=new RegExp("\\.("+Z.join("|")+")(\\?.*)?$","i")}return(r=i?i.toLowerCase().match(Z):null)&&r.length?r=r[1]:l?r=(-1!==(n=l.indexOf(";"))?l.substr(0,n):l).substr(6):t=!1,r&&ue.html5[r]!==o?t=ue.html5[r]&&!Ze(r):(l="audio/"+r,t=ue.html5.canPlayType({type:l}),ue.html5[r]=t,t=t&&ue.html5[l]&&!Ze(l)),t},J=function(){if(!ue.useHTML5Audio||!ue.hasHTML5)return ue.html5.usingFlash=!0,Pe=!0,!1;var e,t,n,r,a=Audio!==o?Fe&&opera.version()<10?new Audio(null):new Audio:null,i={};function l(e){var t,n,o=!1,i=!1;if(!a||"function"!=typeof a.canPlayType)return o;if(e instanceof Array){for(r=0,n=e.length;r<n;r++)(ue.html5[e[r]]||a.canPlayType(e[r]).match(ue.html5Test))&&(i=!0,ue.html5[e[r]]=!0,ue.flash[e[r]]=!!e[r].match(Ve));o=i}else o=!(!(t=!(!a||"function"!=typeof a.canPlayType)&&a.canPlayType(e))||!t.match(ue.html5Test));return o}for(e in n=ue.audioFormats)if(n.hasOwnProperty(e)&&(t="audio/"+e,i[e]=l(n[e].type),i[t]=i[e],e.match(Ve)?(ue.flash[e]=!0,ue.flash[t]=!0):(ue.flash[e]=!1,ue.flash[t]=!1),n[e]&&n[e].related))for(r=n[e].related.length-1;r>=0;r--)i["audio/"+n[e].related[r]]=i[e],ue.html5[n[e].related[r]]=i[e],ue.flash[n[e].related[r]]=i[e];return i.canPlayType=a?l:null,ue.html5=f(ue.html5,i),ue.html5.usingFlash=$(),Pe=ue.html5.usingFlash,!0},S={},I=function(){},z=function(e){return 8===s&&e.loops>1&&e.stream&&(e.stream=!1),e},H=function(e,t){return e&&!e.usePolicyFile&&(e.onid3||e.usePeakData||e.useWaveformData||e.useEQData)&&(e.usePolicyFile=!0),e},i=function(){return!1},N=function(e){var t;for(t in e)e.hasOwnProperty(t)&&"function"==typeof e[t]&&(e[t]=i);t=null},M=function(e){e===o&&(e=!1),(ge||e)&&ue.disable(e)},R=function(e){var t;if(e)if(e.match(/\.swf(\?.*)?$/i)){if(e.substr(e.toLowerCase().lastIndexOf(".swf?")+4))return e}else e.lastIndexOf("/")!==e.length-1&&(e+="/");return t=(e&&-1!==e.lastIndexOf("/")?e.substr(0,e.lastIndexOf("/")+1):"./")+ue.movieURL,ue.noSWFCache&&(t+="?ts="+(new Date).getTime()),t},k=function(){8!==(s=parseInt(ue.flashVersion,10))&&9!==s&&(ue.flashVersion=s=8);var e=ue.debugMode||ue.debugFlash?"_debug.swf":".swf";ue.useHTML5Audio&&!ue.html5Only&&ue.audioFormats.mp4.required&&s<9&&(ue.flashVersion=s=9),ue.version=ue.versionNumber+(ue.html5Only?" (HTML5-only mode)":9===s?" (AS3/Flash 9)":" (AS2/Flash 8)"),s>8?(ue.defaultOptions=f(ue.defaultOptions,ue.flash9Options),ue.features.buffering=!0,ue.defaultOptions=f(ue.defaultOptions,ue.movieStarOptions),ue.filePatterns.flash9=new RegExp("\\.(mp3|"+Ye.join("|")+")(\\?.*)?$","i"),ue.features.movieStar=!0):ue.features.movieStar=!1,ue.filePattern=ue.filePatterns[8!==s?"flash9":"flash8"],ue.movieURL=(8===s?"soundmanager2.swf":"soundmanager2_flash9.swf").replace(".swf",e),ue.features.peakData=ue.features.waveformData=ue.features.eqData=s>8},L=function(e,t){ce&&ce._setPolling(e,t)},j=this.getSoundById,D=function(){var e=[];return ue.debugMode&&e.push(F.sm2Debug),ue.debugFlash&&e.push(F.flashDebug),ue.useHighPerformance&&e.push(F.highPerf),e.join(" ")},A=function(){I("fbHandler");var e=ue.getMoviePercent(),t=F,n={type:"FLASHBLOCK"};ue.html5Only||(ue.ok()?ue.oMC&&(ue.oMC.className=[D(),t.swfDefault,t.swfLoaded+(ue.didFlashBlock?" "+t.swfUnblocked:"")].join(" ")):(Pe&&(ue.oMC.className=D()+" "+t.swfDefault+" "+(null===e?t.swfTimedout:t.swfError)),ue.didFlashBlock=!0,m({type:"ontimeout",ignoreInit:!0,error:n}),x(n)))},h=function(e,t,n){he[e]===o&&(he[e]=[]),he[e].push({method:t,scope:n||null,fired:!1})},m=function(e){if(e||(e={type:ue.ok()?"onready":"ontimeout"}),!ve&&e&&!e.ignoreInit)return!1;if("ontimeout"===e.type&&(ue.ok()||ge&&!e.ignoreInit))return!1;var t,n,r={success:e&&e.ignoreInit?ue.ok():!ge},a=e&&e.type&&he[e.type]||[],o=[],i=[r],l=Pe&&!ue.ok();for(e.error&&(i[0].error=e.error),t=0,n=a.length;t<n;t++)!0!==a[t].fired&&o.push(a[t]);if(o.length)for(t=0,n=o.length;t<n;t++)o[t].scope?o[t].method.apply(o[t].scope,i):o[t].method.apply(this,i),l||(o[t].fired=!0);return!0},y=function(){a.setTimeout((function(){ue.useFlashBlock&&A(),m(),"function"==typeof ue.onload&&ue.onload.apply(a),ue.waitForWindowLoad&&ee.add(a,"load",y)}),1)},re=function(){if(ne!==o)return ne;var e,t,n,r,i=!1,l=navigator,u=a.ActiveXObject;try{r=l.plugins}catch(e){r=void 0}if(r&&r.length)t="application/x-shockwave-flash",(n=l.mimeTypes)&&n[t]&&n[t].enabledPlugin&&n[t].enabledPlugin.description&&(i=!0);else if(u!==o&&!fe.match(/MSAppHost/i)){try{e=new u("ShockwaveFlash.ShockwaveFlash")}catch(t){e=null}i=!!e,e=null}return ne=i,i},$=function(){var e,t,n=ue.audioFormats;if(Me&&!!fe.match(/os (1|2|3_0|3_1)\s/i)?(ue.hasHTML5=!1,ue.html5Only=!0,ue.oMC&&(ue.oMC.style.display="none")):ue.useHTML5Audio&&(ue.html5&&ue.html5.canPlayType||(ue.hasHTML5=!1)),ue.useHTML5Audio&&ue.hasHTML5)for(t in q=!0,n)n.hasOwnProperty(t)&&n[t].required&&(ue.html5.canPlayType(n[t].type)?ue.preferFlash&&(ue.flash[t]||ue.flash[n[t].type])&&(e=!0):(q=!1,e=!0));return ue.ignoreFlash&&(e=!1,q=!0),ue.html5Only=ue.hasHTML5&&ue.useHTML5Audio&&!e,!ue.html5Only},W=function(e){var t,n,r,a=0;if(e instanceof Array){for(t=0,n=e.length;t<n;t++)if(e[t]instanceof Object){if(ue.canPlayMIME(e[t].type)){a=t;break}}else if(ue.canPlayURL(e[t])){a=t;break}e[a].url&&(e[a]=e[a].url),r=e[a]}else r=e;return r},U=function(e){e._hasTimer||(e._hasTimer=!0,!ze&&ue.html5PollingInterval&&(null===Ee&&0===Te&&(Ee=setInterval(V,ue.html5PollingInterval)),Te++))},B=function(e){e._hasTimer&&(e._hasTimer=!1,!ze&&ue.html5PollingInterval&&Te--)},V=function(){var e;if(null!==Ee&&!Te)return clearInterval(Ee),void(Ee=null);for(e=ue.soundIDs.length-1;e>=0;e--)ue.sounds[ue.soundIDs[e]].isHTML5&&ue.sounds[ue.soundIDs[e]]._hasTimer&&ue.sounds[ue.soundIDs[e]]._onTimer()},x=function(e){e=e!==o?e:{},"function"==typeof ue.onerror&&ue.onerror.apply(a,[{type:e.type!==o?e.type:null}]),e.fatal!==o&&e.fatal&&ue.disable()},ae=function(){if(He&&re()){var e,t,n=ue.audioFormats;for(t in n)if(n.hasOwnProperty(t)&&("mp3"===t||"mp4"===t)&&(ue.html5[t]=!1,n[t]&&n[t].related))for(e=n[t].related.length-1;e>=0;e--)ue.html5[n[t].related[e]]=!1}},this._setSandboxType=function(e){},this._externalInterfaceOK=function(e){ue.swfLoaded||(ue.swfLoaded=!0,Ue=!1,He&&ae(),setTimeout(u,Ie?100:1))},C=function(e,t){if(me&&ye)return!1;if(ue.html5Only)return k(),ue.oMC=r(ue.movieID),u(),me=!0,ye=!0,!1;var n,a,i,l,s,c,f,d,p,h=t||ue.url,m=ue.altURL||h,y=P(),v=D(),g=pe.getElementsByTagName("html")[0];function b(e,t){return'<param name="'+e+'" value="'+t+'" />'}if(n=g&&g.dir&&g.dir.match(/rtl/i),e=e===o?ue.id:e,k(),ue.url=R(qe?h:m),t=ue.url,ue.wmode=!ue.wmode&&ue.useHighPerformance?"transparent":ue.wmode,null!==ue.wmode&&(fe.match(/msie 8/i)||!Ie&&!ue.useHighPerformance)&&navigator.platform.match(/win32|win64/i)&&(Oe.push(S.spcWmode),ue.wmode=null),a={name:e,id:e,src:t,quality:"high",allowScriptAccess:ue.allowScriptAccess,bgcolor:ue.bgColor,pluginspage:$e+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)",type:"application/x-shockwave-flash",wmode:ue.wmode,hasPriority:"true"},ue.debugFlash&&(a.FlashVars="debug=1"),ue.wmode||delete a.wmode,Ie)i=pe.createElement("div"),s=['<object id="'+e+'" data="'+t+'" type="'+a.type+'" title="'+a.title+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">',b("movie",t),b("AllowScriptAccess",ue.allowScriptAccess),b("quality",a.quality),ue.wmode?b("wmode",ue.wmode):"",b("bgcolor",ue.bgColor),b("hasPriority","true"),ue.debugFlash?b("FlashVars",a.FlashVars):"","</object>"].join("");else for(l in i=pe.createElement("embed"),a)a.hasOwnProperty(l)&&i.setAttribute(l,a[l]);if(v=D(),y=P())if(ue.oMC=r(ue.movieID)||pe.createElement("div"),ue.oMC.id)p=ue.oMC.className,ue.oMC.className=(p?p+" ":F.swfDefault)+(v?" "+v:""),ue.oMC.appendChild(i),Ie&&((c=ue.oMC.appendChild(pe.createElement("div"))).className=F.swfBox,c.innerHTML=s),ye=!0;else{if(ue.oMC.id=ue.movieID,ue.oMC.className=F.swfDefault+" "+v,f=null,c=null,ue.useFlashBlock||(ue.useHighPerformance?f={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"}:(f={position:"absolute",width:"6px",height:"6px",top:"-9999px",left:"-9999px"},n&&(f.left=Math.abs(parseInt(f.left,10))+"px"))),Ae&&(ue.oMC.style.zIndex=1e4),!ue.debugFlash)for(d in f)f.hasOwnProperty(d)&&(ue.oMC.style[d]=f[d]);try{Ie||ue.oMC.appendChild(i),y.appendChild(ue.oMC),Ie&&((c=ue.oMC.appendChild(pe.createElement("div"))).className=F.swfBox,c.innerHTML=s),ye=!0}catch(e){throw new Error(I("domError")+" \n"+e.toString())}}return me=!0,!0},_=function(){return ue.html5Only?(C(),!1):!ce&&(!!ue.url&&((ce=ue.getMovie(ue.id))||(ke?(Ie?ue.oMC.innerHTML=we:ue.oMC.appendChild(ke),ke=null,me=!0):C(ue.id,ue.url),ce=ue.getMovie(ue.id)),"function"==typeof ue.oninitmovie&&setTimeout(ue.oninitmovie,1),!0))},v=function(){setTimeout(g,1e3)},b=function(){a.setTimeout((function(){ue.setup({preferFlash:!1}).reboot(),ue.didFlashBlock=!0,ue.beginDelayedInit()}),1)},g=function(){var e,t=!1;ue.url&&(Se||(Se=!0,ee.remove(a,"load",v),ne&&Ue&&!je||(ve||(e=ue.getMoviePercent())>0&&e<100&&(t=!0),setTimeout((function(){if(e=ue.getMoviePercent(),t)return Se=!1,void a.setTimeout(v,1);!ve&&Be&&(null===e?ue.useFlashBlock||0===ue.flashLoadTimeout?ue.useFlashBlock&&A():!ue.useFlashBlock&&q?b():m({type:"ontimeout",ignoreInit:!0,error:{type:"INIT_FLASHBLOCK"}}):0===ue.flashLoadTimeout||(!ue.useFlashBlock&&q?b():M(!0)))}),ue.flashLoadTimeout))))},w=function(){function e(){ee.remove(a,"focus",w)}return je||!Ue?(e(),!0):(Be=!0,je=!0,Se=!1,v(),e(),!0)},c=function(e){if(ve)return!1;if(ue.html5Only)return ve=!0,y(),!0;var t,n=!0;return ue.useFlashBlock&&ue.flashLoadTimeout&&!ue.getMoviePercent()||(ve=!0),t={type:!ne&&Pe?"NO_FLASH":"INIT_TIMEOUT"},(ge||e)&&(ue.useFlashBlock&&ue.oMC&&(ue.oMC.className=D()+" "+(null===ue.getMoviePercent()?F.swfTimedout:F.swfError)),m({type:"ontimeout",error:t,ignoreInit:!0}),x(t),n=!1),ge||(ue.waitForWindowLoad&&!be?ee.add(a,"load",y):y()),n},l=function(){var e,t=ue.setupOptions;for(e in t)t.hasOwnProperty(e)&&(ue[e]===o?ue[e]=t[e]:ue[e]!==t[e]&&(ue.setupOptions[e]=ue[e]))},u=function(){if(ve)return!1;function e(){ee.remove(a,"load",ue.beginDelayedInit)}if(ue.html5Only)return ve||(e(),ue.enabled=!0,c()),!0;_();try{ce._externalInterfaceTest(!1),L(!0,ue.flashPollingInterval||(ue.useHighPerformance?10:50)),ue.debugMode||ce._disableDebug(),ue.enabled=!0,ue.html5Only||ee.add(a,"unload",i)}catch(e){return x({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),M(!0),c(),!1}return c(),e(),!0},T=function(){return!O&&(O=!0,l(),!ne&&ue.hasHTML5&&ue.setup({useHTML5Audio:!0,preferFlash:!1}),J(),!ne&&Pe&&(Oe.push(S.needFlash),ue.setup({flashLoadTimeout:1})),pe.removeEventListener&&pe.removeEventListener("DOMContentLoaded",T,!1),_(),!0)},X=function(){return"complete"===pe.readyState&&(T(),pe.detachEvent("onreadystatechange",X)),!0},E=function(){be=!0,T(),ee.remove(a,"load",E)},re(),ee.add(a,"focus",w),ee.add(a,"load",v),ee.add(a,"load",E),pe.addEventListener?pe.addEventListener("DOMContentLoaded",T,!1):pe.attachEvent?pe.attachEvent("onreadystatechange",X):x({type:"NO_DOM2_EVENTS",fatal:!0})}a.SM2_DEFER!==o&&SM2_DEFER||(i=new l),e&&"object"==typeof e.exports?(e.exports.SoundManager=l,e.exports.soundManager=i):void 0===(r=function(){return{constructor:l,getInstance:function(e){if(!a.soundManager&&e instanceof Function){var t=e(l);t instanceof l&&(a.soundManager=t)}return a.soundManager}}}.call(t,n,t,e))||(e.exports=r),a.SoundManager=l,a.soundManager=i}(window)},8975:(e,t,n)=>{var r;!function(){"use strict";var a={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[\+\-]/};function o(e){return l(s(e),arguments)}function i(e,t){return o.apply(null,[e].concat(t||[]))}function l(e,t){var n,r,i,l,u,s,c,f,d,p=1,h=e.length,m="";for(r=0;r<h;r++)if("string"==typeof e[r])m+=e[r];else if(Array.isArray(e[r])){if((l=e[r])[2])for(n=t[p],i=0;i<l[2].length;i++){if(!n.hasOwnProperty(l[2][i]))throw new Error(o('[sprintf] property "%s" does not exist',l[2][i]));n=n[l[2][i]]}else n=l[1]?t[l[1]]:t[p++];if(a.not_type.test(l[8])&&a.not_primitive.test(l[8])&&n instanceof Function&&(n=n()),a.numeric_arg.test(l[8])&&"number"!=typeof n&&isNaN(n))throw new TypeError(o("[sprintf] expecting number but found %T",n));switch(a.number.test(l[8])&&(f=n>=0),l[8]){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,l[6]?parseInt(l[6]):0);break;case"e":n=l[7]?parseFloat(n).toExponential(l[7]):parseFloat(n).toExponential();break;case"f":n=l[7]?parseFloat(n).toFixed(l[7]):parseFloat(n);break;case"g":n=l[7]?String(Number(n.toPrecision(l[7]))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=l[7]?n.substring(0,l[7]):n;break;case"t":n=String(!!n),n=l[7]?n.substring(0,l[7]):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=l[7]?n.substring(0,l[7]):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=l[7]?n.substring(0,l[7]):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}a.json.test(l[8])?m+=n:(!a.number.test(l[8])||f&&!l[3]?d="":(d=f?"+":"-",n=n.toString().replace(a.sign,"")),s=l[4]?"0"===l[4]?"0":l[4].charAt(1):" ",c=l[6]-(d+n).length,u=l[6]&&c>0?s.repeat(c):"",m+=l[5]?d+n+u:"0"===s?d+u+n:u+d+n)}return m}var u=Object.create(null);function s(e){if(u[e])return u[e];for(var t,n=e,r=[],o=0;n;){if(null!==(t=a.text.exec(n)))r.push(t[0]);else if(null!==(t=a.modulo.exec(n)))r.push("%");else{if(null===(t=a.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var i=[],l=t[2],s=[];if(null===(s=a.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(s[1]);""!==(l=l.substring(s[0].length));)if(null!==(s=a.key_access.exec(l)))i.push(s[1]);else{if(null===(s=a.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(s[1])}t[2]=i}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push(t)}n=n.substring(t[0].length)}return u[e]=r}t.sprintf=o,t.vsprintf=i,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=i,void 0===(r=function(){return{sprintf:o,vsprintf:i}}.call(t,n,t,e))||(e.exports=r))}()},6189:(e,t,n)=>{var r=n(7966);e.exports=function(e){return r(e).replace(/\s(\w)/g,(function(e,t){return t.toUpperCase()}))}},1788:e=>{e.exports=function(e){return t.test(e)?e.toLowerCase():n.test(e)?(function(e){return e.replace(a,(function(e,t){return t?" "+t:""}))}(e)||e).toLowerCase():r.test(e)?function(e){return e.replace(o,(function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")}))}(e).toLowerCase():e.toLowerCase()};var t=/\s/,n=/(_|-|\.|:)/,r=/([a-z][A-Z]|[A-Z][a-z])/;var a=/[\W_]+(.|$)/g;var o=/(.)([A-Z]+)/g},7966:(e,t,n)=>{var r=n(1788);e.exports=function(e){return r(e).replace(/[\W_]+(.|$)/g,(function(e,t){return t?" "+t:""})).trim()}},670:e=>{"use strict";e.exports=function(){}}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(o.exports,o,o.exports,a),o.loaded=!0,o.exports}a.m=n,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>"fingerprintjs.js",a.miniCssF=e=>{},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="audioigniter:",a.l=(n,r,o,i)=>{if(e[n])e[n].push(r);else{var l,u;if(void 0!==o)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var f=s[c];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+o){l=f;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",t+o),l.src=n),e[n]=[r];var d=(t,r)=>{l.onerror=l.onload=null,clearTimeout(p);var a=e[n];if(delete e[n],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(r))),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),u&&document.head.appendChild(l)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e={143:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,a)=>r=e[t]=[n,a]));n.push(r[2]=o);var i=a.p+a.u(t),l=new Error;a.l(i,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",l.name="ChunkLoadError",l.type=o,l.request=i,r[1](l)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,l,u]=n,s=0;if(i.some((t=>0!==e[t]))){for(r in l)a.o(l,r)&&(a.m[r]=l[r]);if(u)u(a)}for(t&&t(n);s<i.length;s++)o=i[s],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunkaudioigniter=self.webpackChunkaudioigniter||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";var e=a(7294),t=a(745),n=a(5697),r=a.n(n),o=a(8137),i=a(8975),l=a(4184),u=a.n(l),s=a(1298),c={track:r().object.isRequired,trackNo:r().number,style:r().object,className:r().string,displayArtistNames:r().bool},f=function(t){var n=t.className,r=t.style,a=t.track,o=t.trackNo,i=t.displayArtistNames,l=a.title;return i&&a.subtitle&&(l="".concat(a.title," - ").concat(a.subtitle)),null!=o&&(l="".concat(o,". ").concat(l)),e.createElement("span",{className:n,style:r},l)};f.propTypes=c;const d=f;var p=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 24"},e.createElement("path",{d:"M18 12c0 .712-.37 1.355-.99 1.72L3.159 23.625C2.757 23.889 2.382 24 2 24c-1.103 0-2-.897-2-2V2C0 .897.897 0 2 0c.385 0 .76.111 1.085.323l13.962 9.981c.583.34.953.983.953 1.695z"}))},h=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("path",{d:"M9 2v20c0 1.103-.897 2-2 2H2c-1.103 0-2-.897-2-2V2C0 .897.897 0 2 0h5c1.103 0 2 .897 2 2zm13-2h-5c-1.103 0-2 .897-2 2v20c0 1.103.897 2 2 2h5c1.103 0 2-.897 2-2V2c0-1.103-.897-2-2-2z"}))},m=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("path",{d:"M24 1.999v19.989c0 1.102-.897 1.999-2 1.999h-5c-1.103 0-2-.897-2-1.999v-6.837L3.16 23.612C1.597 24.635 0 23.472 0 21.988V1.999C0 .897.897 0 2 0c.384 0 .76.111 1.085.322L15 8.837V1.999C15 .897 15.897 0 17 0h5c1.103 0 2 .897 2 1.999z"}))},y=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("path",{d:"M24 2.014v19.987C24 23.103 23.103 24 22 24c-.385 0-.76-.111-1.085-.323L9 15.164v6.838c0 1.102-.897 1.999-2 1.999H2c-1.103 0-2-.897-2-1.999V2.015C0 .913.897.016 2 .016h5c1.103 0 2 .897 2 1.999v6.837L20.841.391C22.41-.636 24 .533 24 2.016z"}))},v=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("path",{d:"M.871 5h10.758c.488 0 .871-.439.871-1s-.383-1-.871-1H.871C.383 3 0 3.439 0 4s.383 1 .871 1zM.871 10.25h10.758c.488 0 .871-.439.871-1s-.383-1-.871-1H.871c-.488 0-.871.439-.871 1s.383 1 .871 1zM23.595 3.129l-.002-.001c-.254-.156-.574-.17-.833-.036l-7.449 3.756c-.291.148-.472.442-.472.77v8.259c-.5-.234-1.055-.356-1.626-.356-1.841 0-3.339 1.229-3.339 2.74s1.498 2.74 3.339 2.74 3.338-1.229 3.338-2.74V8.15l5.736-2.893v8.116c-.5-.233-1.056-.355-1.627-.355-1.841 0-3.338 1.229-3.338 2.739s1.497 2.74 3.338 2.74 3.339-1.229 3.339-2.74V3.862c0-.3-.151-.574-.405-.733zM8.129 13.5H.871c-.488 0-.871.439-.871 1s.383 1 .871 1h7.258c.488 0 .871-.439.871-1s-.383-1-.871-1z"}))},g=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("path",{d:"M24 11v2c0 1.103-.897 2-2 2h-7v7c0 1.103-.897 2-2 2h-2c-1.103 0-2-.897-2-2v-7H2c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h7V2c0-1.103.897-2 2-2h2c1.103 0 2 .897 2 2v7h7c1.103 0 2 .897 2 2z"}))},b=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 24"},e.createElement("path",{d:"M24 11v2c0 1.103-.897 2-2 2H2c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h20c1.103 0 2 .897 2 2z"}))},k=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 24"},e.createElement("path",{d:"M18 2v16c0 1.654-1.794 3-4 3s-4-1.346-4-3 1.794-3 4-3V4.5L8 6.374V21c0 1.654-1.794 3-4 3s-4-1.346-4-3 1.794-3 4-3V5c0-.966.691-1.793 1.645-1.966L15.238.157c.204-.097.481-.157.763-.157 1.103 0 2 .897 2 2z"}))},w=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("path",{d:"M8.707 15h9.898c1.042 0 1.985-.657 2.346-1.636l2.94-7.979c.072-.196.109-.402.109-.616 0-.976-.794-1.77-1.77-1.77H5.734l-.339-1.188C5.09.744 4.101-.001 2.991-.001H.5c-.276 0-.5.224-.5.5s.224.5.5.5h2.491c.666 0 1.259.447 1.442 1.088l3.505 12.267-2.379 2.379c-.361.36-.56.841-.56 1.356 0 1.054.857 1.91 1.91 1.91h15.59c.276 0 .5-.224.5-.5s-.224-.5-.5-.5H6.909c-.502 0-.91-.408-.91-.916 0-.243.095-.472.267-.644l2.44-2.44zM18 12h-7.5c-.276 0-.5-.224-.5-.5s.224-.5.5-.5H18c.276 0 .5.224.5.5s-.224.5-.5.5zm.5-2.5H10c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8.5c.276 0 .5.224.5.5s-.224.5-.5.5zM9.5 6H20c.276 0 .5.224.5.5s-.224.5-.5.5H9.5c-.276 0-.5-.224-.5-.5s.224-.5.5-.5zM21 20c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2zM8 20c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2z"}))},S=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("path",{d:"M24 12c0 2.756-2.243 4.999-5 4.999-.004 0-.02.001-.047.001-.295 0-1.919-.082-3.953-1.398v.397c0 .553-.447 1-1 1s-1-.447-1-1v-2.5c0-.553.447-1 1-1h2.5c.553 0 1 .447 1 1 0 .403-.241.745-.584.903 1.193.589 2.011.604 2.055.597 1.683 0 3.028-1.345 3.028-3s-1.346-3-3-3c-2.151 0-4.213 1.832-6.396 3.772-2.338 2.078-4.756 4.227-7.604 4.227-2.757 0-5-2.243-5-4.999S2.242 7 4.999 7c.046-.002 1.777-.044 4 1.394V8c0-.553.447-1 1-1s1 .447 1 1v2.5c0 .553-.447 1-1 1h-2.5c-.553 0-1-.447-1-1 0-.403.241-.746.585-.904-1.186-.587-1.997-.6-2.056-.596C3.345 9 2 10.346 2 12s1.346 3 3 3c2.089 0 4.122-1.807 6.275-3.722C13.641 9.176 16.087 7.001 19 7.001c2.757 0 5 2.243 5 4.999z"}))},_=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("path",{d:"M24 15c0 2.757-2.243 5-5 5h-.183c-.177 0-.333-.092-.422-.23-.05-.078-.078-.17-.078-.269 0-.078.018-.153.05-.219.419-.882.632-1.819.632-2.782 0-3.584-2.916-6.5-6.5-6.5s-6.5 2.916-6.5 6.5c0 .923.196 1.823.583 2.676.074.087.119.2.119.324 0 .276-.224.5-.5.5-.005.001-.013 0-.02 0h-.183c-3.309 0-6-2.691-6-6 0-2.158 1.143-4.121 3.003-5.193C3.104 5.036 6.203 2 9.998 2c2.759 0 5.205 1.58 6.35 4.062.227-.042.439-.063.65-.063 2.206 0 4 1.794 4 4 0 .142-.008.283-.024.428 1.825.785 3.024 2.572 3.024 4.572zm-6 1.5c0 3.032-2.468 5.5-5.5 5.5S7 19.532 7 16.5 9.468 11 12.5 11s5.5 2.468 5.5 5.5zm-3.146.646c-.195-.195-.512-.195-.707 0l-1.146 1.146v-4.793c0-.276-.224-.5-.5-.5s-.5.224-.5.5v4.793l-1.146-1.146c-.195-.195-.512-.195-.707 0s-.195.512 0 .707l2 2c.046.046.1.083.161.108.059.025.124.038.192.038.065 0 .129-.013.19-.038h.002c.002-.001.003-.003.005-.004.057-.024.111-.058.157-.105l2-2c.195-.195.195-.512 0-.707z"}))},T=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("path",{d:"M0 4.5C0 3.673.673 3 1.5 3h21c.827 0 1.5.673 1.5 1.5S23.327 6 22.5 6h-21C.673 6 0 5.327 0 4.5zM1.5 11h15c.827 0 1.5-.673 1.5-1.5S17.327 8 16.5 8h-15C.673 8 0 8.673 0 9.5S.673 11 1.5 11zm15 7h-15c-.827 0-1.5.673-1.5 1.5S.673 21 1.5 21h15c.827 0 1.5-.673 1.5-1.5s-.673-1.5-1.5-1.5zm6-5h-21c-.827 0-1.5.673-1.5 1.5S.673 16 1.5 16h21c.827 0 1.5-.673 1.5-1.5s-.673-1.5-1.5-1.5z"}))},E=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("path",{d:"M23.927 16.827c.098.23.098.504-.004.743-.044.111-.119.223-.212.314l-2.876 2.833c-.184.182-.428.282-.688.282s-.506-.101-.69-.283c-.187-.183-.289-.428-.289-.689s.103-.506.29-.69l1.188-1.171h-.86c-1.881 0-3.649-.722-4.979-2.034l-2.14-2.107c-.187-.185-.289-.43-.289-.69 0-.176.062-.336.149-.484l-2.372 2.337c-1.329 1.312-3.098 2.034-4.979 2.034H.98c-.54 0-.979-.436-.979-.972s.438-.972.979-.972h4.196c1.36 0 2.639-.522 3.599-1.469l2.354-2.319c-.148.086-.308.146-.484.146-.26 0-.505-.1-.689-.282l-1.179-1.163c-.962-.947-2.24-1.469-3.601-1.469H.98c-.54 0-.979-.436-.979-.972s.438-.972.979-.972h4.196c1.88 0 3.648.722 4.979 2.033l1.179 1.163c.188.184.29.429.29.69 0 .177-.063.339-.152.487l3.333-3.284c1.33-1.312 3.099-2.034 4.979-2.034h.86l-1.188-1.171c-.188-.184-.29-.429-.29-.69s.103-.506.29-.69c.379-.375.998-.375 1.379.001l2.874 2.833c.096.094.168.202.217.323.098.231.098.505-.004.743-.044.111-.116.219-.21.312l-2.878 2.835c-.363.363-1.013.365-1.38-.001-.186-.182-.288-.428-.288-.689s.104-.506.29-.69l1.188-1.17h-.86c-1.36 0-2.639.521-3.601 1.469l-3.313 3.265c.374-.215.855-.181 1.174.134l2.139 2.108c.963.947 2.241 1.469 3.602 1.469h.86l-1.188-1.171c-.188-.184-.29-.429-.29-.69s.104-.506.29-.69c.379-.374.998-.375 1.379.001l2.877 2.834c.094.094.166.202.214.321z"}))},O={className:r().string,title:r().string,src:r().string,onClick:r().func},P=function(t){var n=t.className,r=t.title,a=t.src,o=t.onClick;return e.createElement("div",{className:n+(a?"":" ai-track-no-thumb"),onClick:o},a?e.createElement("img",{src:a,alt:r||""}):e.createElement(k,null))};P.propTypes=O;const C=P;const x=function(e){return![".mp3",".flac",".amr",".aac",".oga",".wav",".wma"].some((function(t){return e.includes(t)}))};function L(e){return L="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},L(e)}function N(){N=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var a=t&&t.prototype instanceof f?t:f,o=Object.create(a.prototype),i=new _(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return E()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var l=k(i,n);if(l){if(l===c)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,i),o}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var c={};function f(){}function d(){}function p(){}var h={};l(h,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(T([])));y&&y!==t&&n.call(y,a)&&(h=y);var v=p.prototype=f.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function r(a,o,i,l){var u=s(e[a],e,o);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==L(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(f).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,l)}))}l(u.arg)}var a;this._invoke=function(e,n){function o(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(o,o):o()}}function k(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function T(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=p,l(v,"constructor",p),l(p,"constructor",d),d.displayName=l(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},g(b.prototype),l(b.prototype,o,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new b(u(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},g(v),l(v,i,"Generator"),l(v,a,(function(){return this})),l(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;S(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}function M(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function R(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){M(o,r,a,i,l,"next",e)}function l(e){M(o,r,a,i,l,"throw",e)}i(void 0)}))}}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,r.key,r)}}function A(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F="PLAY",z="PLAYING",H="PAUSE",j="STOP",U="SEEK",B="DOWNLOAD",V=function(e){var t;return null!==(t=null==e?void 0:e.replace("audioigniter-",""))&&void 0!==t?t:null},W=function(e,t){var n=e.activeIndex,r=e.tracks,a=e.position,o=e.duration,i=t.playerId,l=r[n],u=null!=l?l:{},s=u.title,c=u.subtitle,f=u.audio;return{trackUrl:f,trackTitle:s,trackArtist:null!=c?c:"",playerId:V(i),position:a,duration:o,isStream:x(f)}};const q=new(A((function e(){var t,n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),D(this,"initializeFingerprint",R(N().mark((function e(){var t,r,o;return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.e(766).then(a.bind(a,6595));case 2:return t=e.sent,e.next=5,t.load();case 5:return r=e.sent,e.next=8,r.get();case 8:o=e.sent,n.clientId=o.visitorId;case 10:case"end":return e.stop()}}),e)})))),D(this,"fetch",R(N().mark((function e(){var t,r;return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t={type:"application/json"},r=new Blob([JSON.stringify(n.queue)],t),navigator.sendBeacon("".concat(aiStats.apiUrl,"/log"),r);case 3:case"end":return e.stop()}}),e)})))),D(this,"eventQueueTimer",(function(){setInterval((function(){n.queue.length>0&&n.eventQueueFlush()}),15e3)})),D(this,"eventQueueFlush",R(N().mark((function e(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.fetch();case 2:n.queue=[];case 3:case"end":return e.stop()}}),e)})))),D(this,"eventTrack",(function(e){var t,r,a=e.event,o=e.trackUrl,i=e.trackTitle,l=e.trackArtist,u=e.playerId,s=e.position,c=e.oldPosition,f=e.duration,d=e.isStream;null!==(t=window.aiStats)&&void 0!==t&&t.enabled&&(a===H&&0===s||n.queue.push({event:a,track_url:o,track_title:i,track_artist:l,playlist_id:parseInt(u,10),timestamp:(new Date).getTime(),referrer_url:window.location.href,event_data:{position:null!==(r=Math.floor(s/1e3))&&void 0!==r?r:null,old_position:null!=c?Math.floor(c/1e3):null,duration:f?Math.floor(f/1e3):null},client_fingerprint:n.clientId,is_stream:d}))})),this.clientId=null,this.queue=[],null!==(t=window.aiStats)&&void 0!==t&&t.enabled&&(this.eventQueueTimer(),this.initializeFingerprint(),window.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&n.eventQueueFlush()})))})));var $={buyButtonsTarget:r().bool,buyUrl:r().string,downloadUrl:r().string,downloadFilename:r().string,onTrackLoop:r().func,isLooping:r().bool,displayBuyButtons:r().bool,onOpenTrackLyrics:r().func,playbackRate:r().number,setPlaybackRate:r().func,allowPlaybackRate:r().bool,playbackRates:r().arrayOf(r().number),isPlaying:r().bool,track:r().shape({audio:r().string.isRequired}).isRequired,playerId:r().string},Q=function(t){var n=t.buyButtonsTarget,r=t.buyUrl,a=t.downloadUrl,o=t.downloadFilename,i=t.onTrackLoop,l=t.isLooping,u=t.displayBuyButtons,s=t.onOpenTrackLyrics,c=t.setPlaybackRate,f=t.playbackRate,d=t.allowPlaybackRate,p=t.playbackRates,h=t.isPlaying,m=t.track,y=t.playerId;return null!=r||null!=a||i||s?e.createElement("div",{className:"ai-track-control-buttons"},r&&u&&e.createElement("a",{href:r,className:"ai-track-btn",rel:n?"noopener noreferrer":void 0,target:n?"_blank":"_self",role:"button","aria-label":aiStrings.buy_track,title:aiStrings.buy_track},e.createElement(w,null)),a&&o&&u&&e.createElement("a",{href:a,download:o,className:"ai-track-btn",role:"button",onClick:function(){q.eventTrack({event:B,trackUrl:m.audio,playerId:V(y)})},"aria-label":aiStrings.download_track,title:aiStrings.download_track},e.createElement(_,null)),s&&e.createElement("a",{href:"#",className:"ai-track-btn",role:"button","aria-label":aiStrings.open_track_lyrics,title:aiStrings.open_track_lyrics,onClick:function(e){e.preventDefault(),s()}},e.createElement(T,null)),d&&h&&e.createElement("a",{href:"#",className:"ai-track-btn ai-btn-playback-rate",role:"button","aria-label":aiStrings.set_playback_rate,title:aiStrings.set_playback_rate,onClick:function(e){e.preventDefault(),c(p)}},"×",f),i&&e.createElement("a",{href:"#",className:"ai-track-btn ai-track-btn-repeat",role:"button","aria-label":aiStrings.toggle_track_repeat,title:aiStrings.toggle_track_repeat,onClick:function(e){e.preventDefault(),i()}},e.createElement("span",{style:{opacity:l?1:.3}},e.createElement(S,null)))):null};Q.propTypes=$;const Y=Q;var G={setPosition:r().func,position:r().number.isRequired,duration:r().number.isRequired},Z=function(t){var n=t.position,r=t.duration,a=t.setPosition;return e.createElement("span",{onClick:function(e){if(null!=a){var t=(e.pageX-e.currentTarget.getBoundingClientRect().left)/e.currentTarget.offsetWidth;a(t*r)}},className:"ai-track-progress-bar"},e.createElement("span",{className:"ai-track-progress",style:{width:"".concat(100*n/r,"%")}}))};Z.propTypes=G;const K=Z;function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J={track:r().shape({audio:r().string,buyUrl:r().string,cover:r().string,title:r().string,subtitle:r().string,lyrics:r().string,downloadUrl:r().string,downloadFilename:r().string}),index:r().number.isRequired,trackNo:r().number,isActive:r().bool,position:r().number,duration:r().number,setPosition:r().func,playStatus:r().oneOf([o.Z.status.PLAYING,o.Z.status.PAUSED,o.Z.status.STOPPED]),onTrackClick:r().func.isRequired,onTrackLoop:r().func,className:r().string.isRequired,isStandalone:r().bool,buyButtonsTarget:r().bool,displayArtistNames:r().bool,displayCovers:r().bool,displayBuyButtons:r().bool,isLooping:r().bool,playbackRate:r().number,setPlaybackRate:r().func,allowPlaybackRate:r().bool,playbackRates:r().arrayOf(r().number),buffering:r().bool,playerId:r().string},ee=function(t){var n,r=t.track,a=t.index,l=t.trackNo,s=t.isActive,c=t.playStatus,f=t.duration,m=t.position,y=t.setPosition,v=t.isStandalone,g=t.buyButtonsTarget,b=t.displayArtistNames,k=t.displayCovers,w=t.displayBuyButtons,S=t.onTrackClick,_=t.onTrackLoop,T=t.className,E=t.isLooping,O=t.playbackRate,P=t.setPlaybackRate,x=t.allowPlaybackRate,L=t.playbackRates,N=t.buffering,M=t.playerId,R=(0,e.useContext)(Lt).toggleLyricsModal,I=s&&c===o.Z.status.PLAYING,A=void 0!==m&&void 0!==f&&s&&v,D=u()((X(n={},T,!!T),X(n,"ai-track-active",s),X(n,"ai-track-loading",s&&N),n));return e.createElement("li",{className:D},k&&e.createElement(C,{className:"ai-track-thumb",src:r.cover,alt:r.title,onClick:function(){return S(a)}}),v&&e.createElement("button",{className:u()({"ai-track-btn ai-track-inline-play-btn":!0,"ai-is-loading":s&&N}),onClick:function(){return S(a)},"aria-label":I?(0,i.sprintf)(aiStrings.pause_title,r.title):(0,i.sprintf)(aiStrings.play_title,r.title),"aria-pressed":I},I?e.createElement(h,null):e.createElement(p,null),e.createElement("span",{className:"ai-track-spinner"})),e.createElement("div",{className:"ai-track-control",onClick:function(){return S(a)}},e.createElement(d,{className:"ai-track-name",track:r,trackNo:l,displayArtistNames:b})),e.createElement(Y,{buyButtonsTarget:g,track:r,buyUrl:r.buyUrl,downloadUrl:r.downloadUrl,downloadFilename:r.downloadFilename,onTrackLoop:_&&function(){return _(a)},isLooping:E,displayBuyButtons:w,onOpenTrackLyrics:r.lyrics&&function(){return R(!0,r)},playbackRate:O,setPlaybackRate:P,allowPlaybackRate:x,playbackRates:L,isPlaying:I,playerId:M}),A&&e.createElement(K,{setPosition:y,duration:f,position:m}))};ee.propTypes=J;const te=ee;function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ne.apply(this,arguments)}var re={tracks:r().arrayOf(r().object).isRequired,playStatus:r().oneOf([o.Z.status.PLAYING,o.Z.status.PAUSED,o.Z.status.STOPPED]),activeTrackIndex:r().number,position:r().number,duration:r().number,setPosition:r().func,standaloneTracks:r().bool,onTrackClick:r().func.isRequired,onTrackLoop:r().func,className:r().string,trackClassName:r().string,reverseTrackOrder:r().bool,displayTrackNo:r().bool,displayBuyButtons:r().bool,buyButtonsTarget:r().bool,displayCovers:r().bool,displayArtistNames:r().bool,playbackRate:r().number,setPlaybackRate:r().func,allowPlaybackRate:r().bool,playbackRates:r().arrayOf(r().number),buffering:r().bool,repeatingTrackIndex:r().bool,playerId:r().string},ae=function(t){var n=ne({},t),r=n.tracks;return e.createElement("ul",{className:n.className},r&&r.map((function(t,a){var o=n.reverseTrackOrder?r.length-a:a+1,i=a===n.repeatingTrackIndex;return e.createElement(te,{key:a,track:t,index:a,trackNo:n.displayTrackNo?o:void 0,playStatus:n.playStatus,isActive:n.activeTrackIndex===a,buyButtonsTarget:n.buyButtonsTarget,displayArtistNames:n.displayArtistNames,displayBuyButtons:n.displayBuyButtons,displayCovers:n.displayCovers,onTrackClick:n.onTrackClick,onTrackLoop:n.onTrackLoop,setPosition:n.setPosition,duration:n.duration,position:n.position,className:n.trackClassName,isStandalone:n.standaloneTracks,isLooping:i,playbackRate:n.playbackRate,setPlaybackRate:n.setPlaybackRate,allowPlaybackRate:n.allowPlaybackRate,playbackRates:n.playbackRates,buffering:n.buffering,playerId:n.playerId})})))};ae.propTypes=re;const oe=ae;var ie={tracks:r().arrayOf(r().object).isRequired,activeTrackIndex:r().number.isRequired,onTrackClick:r().func.isRequired,isOpen:r().bool,className:r().string,trackClassName:r().string,reverseTrackOrder:r().bool,displayTrackNo:r().bool,limitTracklistHeight:r().bool,tracklistHeight:r().number,displayBuyButtons:r().bool,buyButtonsTarget:r().bool,displayCovers:r().bool,displayArtistNames:r().bool,onTrackLoop:r().func,repeatingTrackIndex:r().number,playerId:r().string},le=function(t){var n=t.isOpen,r=t.limitTracklistHeight,a=t.tracklistHeight,o=t.tracks,i=t.activeTrackIndex,l=t.onTrackClick,u=t.onTrackLoop,c=t.className,f=t.reverseTrackOrder,d=t.trackClassName,p=t.displayTrackNo,h=t.displayBuyButtons,m=t.buyButtonsTarget,y=t.displayCovers,v=t.displayArtistNames,g=t.repeatingTrackIndex,b=t.playerId,k=(0,e.useRef)(null),w=function(e){var t=k.current.getScrollHeight()/o.length;(function(e){var t=k.current.getScrollHeight()/o.length*e,n=k.current.getScrollTop(),r=n+k.current.getClientHeight();return!(t<n||t>r)})(e)||k.current.scrollTop(t*e)};(0,e.useEffect)((function(){r&&w(i)}),[i,r]);var S=function(){return e.createElement(oe,{tracks:o,activeTrackIndex:i,onTrackClick:l,className:c,trackClassName:d,reverseTrackOrder:f,displayTrackNo:p,displayBuyButtons:h,buyButtonsTarget:m,displayCovers:y,displayArtistNames:v,onTrackLoop:u,repeatingTrackIndex:g,playerId:b})};return e.createElement("div",{id:"tracklisting",style:{display:n?"block":"none"}},r?e.createElement(s.$B,{className:"ai-scroll-wrap",ref:k,style:{height:a}},S()):S())};le.propTypes=ie;const ue=le;function se(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ce(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var fe={position:r().number.isRequired,duration:r().number.isRequired,countdown:r().bool.isRequired},de=function(t){var n=t.countdown,r=t.position,a=t.duration,o=se((0,e.useState)(n||!1),2),i=o[0],l=o[1];return e.createElement("span",{className:"ai-track-time",onClick:function(){a&&l((function(e){return!e}))}},function(){if(!a)return"00:00";var e=i?(a-r)/1e3:r/1e3,t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%60),l="00:00";return n=n>=10?n:"0".concat(n),o=o>=10?o:"0".concat(o),Number.isInteger(parseInt(o,10))&&(l=t?"".concat(t,":").concat(n,":").concat(o):"".concat(n,":").concat(o)),i?"-".concat(l):l}())};de.propTypes=fe;const pe=de;var he={className:r().string,onClick:r().func,children:r().node,ariaLabel:r().string,ariaPressed:r().bool,ariaExpanded:r().bool,ariaControls:r().string},me=function(t){var n=t.className,r=t.onClick,a=t.children,o=t.ariaLabel,i=t.ariaPressed,l=t.ariaExpanded,u=t.ariaControls;return e.createElement("button",{className:n,onClick:r,"aria-label":o,"aria-pressed":i,"aria-expanded":l,"aria-controls":u},a)};me.propTypes=he;const ye=me;function ve(e){return function(e){if(Array.isArray(e))return ge(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ge(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var be={volume:r().number.isRequired,setVolume:r().func.isRequired},ke=function(t){var n=t.volume,r=t.setVolume;return e.createElement("div",{className:"ai-audio-volume-control"},e.createElement("div",{className:"ai-audio-volume-bars"},Array.apply(void 0,ve(Array(11))).map((function(t,a){return e.createElement("span",{key:a,className:"ai-volume-bar ".concat(a<=n/10?"ai-volume-bar-active":""),onClick:function(){return r(10*a)}})}))),e.createElement("div",{className:"ai-audio-volume-control-btns"},e.createElement(ye,{className:"ai-btn",onClick:function(){return r(n>=100?n:n+10)},"aria-label":aiStrings.volume_up},e.createElement(g,null)),e.createElement(ye,{className:"ai-btn",onClick:function(){return r(n<=0?n:n-10)},"aria-label":aiStrings.volume_down},e.createElement(b,null))))};ke.propTypes=be;const we=ke;function Se(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,r.key,r)}}var _e=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw new Error("SoundCloud client ID is required");this.clientId=t,this.baseUrl="https://api.soundcloud.com"}var t,n,r;return t=e,r=[{key:"isSoundCloudUrl",value:function(e){return e.indexOf("soundcloud.com")>-1}}],(n=[{key:"resolve",value:function(e){var t=encodeURIComponent("_status_code_map[302]=200");return fetch("".concat(this.baseUrl,"/resolve?url=").concat(e,"&client_id=").concat(this.clientId,"&").concat(t)).then((function(e){return e.json()})).then((function(e){return fetch(e.location)})).then((function(e){return e.json()}))}},{key:"fetchSoundCloudStreams",value:function(t){var n=this,r=t.filter((function(t){return e.isSoundCloudUrl(t.audio)})).map((function(e){return n.resolve(e.audio)}));return Promise.all(r)}},{key:"mapStreamsToTracks",value:function(t,n){var r=this,a=0;return t.map((function(t){return e.isSoundCloudUrl(t.audio)&&(t.audio="".concat(n[a].stream_url,"?client_id=").concat(r.clientId),a++),t}))}}])&&Se(t.prototype,n),r&&Se(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();const Te=function(){return window.ai_pro_front_scripts&&!!window.ai_pro_front_scripts.multi_sound_disabled};function Ee(e){return function(e){if(Array.isArray(e))return Oe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oe(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Pe=function(e){if(!Array.isArray(e))return e;for(var t=Ee(e),n=t.length-1;n>0;n--){var r=Math.floor(Math.random()*(n+1)),a=[t[r],t[n]];t[n]=a[0],t[r]=a[1]}return t};const Ce=function(e,t,n){var r=n>e.length?n%e.length:n;return e.concat(e.splice(0,t>0?e.length-r:r))};var xe=function(e){var t=e.tracks,n=void 0===t?[]:t,r=e.initialTrack,a=void 0===r?1:r,o=e.reverseTrackOrder,i=void 0!==o&&o,l=a-1;return!n.length||!a||a>n.length?0:i?Math.max(n.length-a,0):l},Le=function(e){var t=e.tracks,n=void 0===t?[]:t,r=e.initialTrack,a=void 0===r?1:r,o=e.reverseTrackOrder,i=void 0!==o&&o,l=e.shuffle,u=void 0!==l&&l,s=xe({tracks:n,initialTrack:a,reverseTrackOrder:i}),c=n.map((function(e,t){return t}));if(!u){var f=c.indexOf(s);return{activeIndex:s,trackQueue:Ce(c,0,f)}}var d=Pe(c);return d.splice(d.indexOf(s),1),d.unshift(s),{activeIndex:s,trackQueue:d}};function Ne(e){return Ne="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},Ne(e)}const Me={set:function(e,t){e&&t&&("object"===Ne(t)?window.localStorage.setItem(e,JSON.stringify(t)):window.localStorage.setItem(e,t))},get:function(e){var t=localStorage.getItem(e);if(t){try{var n=JSON.parse(t);if(n&&"object"===Ne(n))return n}catch(e){return t}return t}}};const Re=function(e,t){var n=!1;return function(){if(!n){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];e.apply(this,a),n=!0,setTimeout((function(){n=!1}),t)}}};function Ie(e){return Ie="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},Ie(e)}function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e){return function(e){if(Array.isArray(e))return He(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return He(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return He(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function He(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function je(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,r.key,r)}}function Ue(e,t){return Ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ue(e,t)}function Be(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,r=qe(e);if(t){var a=qe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ve(this,n)}}function Ve(e,t){if(t&&("object"===Ie(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return We(e)}function We(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qe(e)}var $e=[.5,.75,1,1.25,1.5,2,3];const Qe=function(t,n){var a=function(r){!function(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ue(e,t)}(s,r);var a,i,l,u=Be(s);function s(e){var t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var r=(n=u.call(this,e)).props,a=r.playerId,i=r.volume,l=r.cycleTracks,c=r.defaultShuffle,f=r.shuffleEnabled,d=Me.get(a);return n.state={tracks:[],activeIndex:0,trackQueue:[],playStatus:o.Z.status.STOPPED,position:null!==(t=null==d?void 0:d.position)&&void 0!==t?t:0,duration:0,playbackRate:1,volume:null==i?100:i,cycleTracks:l,repeatingTrackIndex:null,isMultiSoundDisabled:Te(),buffering:!1,shuffle:f&&c},n.playTrack=n.playTrack.bind(We(n)),n.pauseTrack=n.pauseTrack.bind(We(n)),n.togglePlay=n.togglePlay.bind(We(n)),n.nextTrack=n.nextTrack.bind(We(n)),n.prevTrack=n.prevTrack.bind(We(n)),n.setPosition=n.setPosition.bind(We(n)),n.setVolume=n.setVolume.bind(We(n)),n.skipPosition=n.skipPosition.bind(We(n)),n.setPlaybackRate=n.setPlaybackRate.bind(We(n)),n.toggleTracklistCycling=n.toggleTracklistCycling.bind(We(n)),n.toggleShuffle=n.toggleShuffle.bind(We(n)),n.setTrackCycling=n.setTrackCycling.bind(We(n)),n.reverseTracks=n.reverseTracks.bind(We(n)),n.getFinalProps=n.getFinalProps.bind(We(n)),n.onPlaying=n.onPlaying.bind(We(n)),n.onFinishedPlaying=n.onFinishedPlaying.bind(We(n)),n.aiEventTrackThrottled=Re((function(e){q.eventTrack(e)}),6e4),n}return a=s,i=[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.playerId,r=t.tracksUrl,a=t.soundcloudClientId,o=t.reverseTrackOrder,i=t.initialTrack,l=t.rememberLastPosition,u=t.track,s=this.state.shuffle,c=Me.get(n);if(u)try{return void this.setState({tracks:[JSON.parse(u)],trackQueue:[0]})}catch(e){}var f=fetch(r).then((function(e){return e.json()}));if(a){var d=new _e(a),p=f.then((function(e){return d.fetchSoundCloudStreams(e)})).catch((function(e){return console.error(e)})),h=[f,p].map((function(e){return e.catch((function(e){return{status:"error",error:e}}))}));Promise.all(h).then((function(t){if("error"===t[1].status)return e.setState({tracks:t[0]});var n=d.mapStreamsToTracks.apply(d,ze(t)),r=Le({tracks:n,initialTrack:i,reverseTrackOrder:o,shuffle:s}),a=r.trackQueue,l=r.activeIndex;return e.setState((function(){return{tracks:n,activeIndex:l,trackQueue:a}}),(function(){o&&e.reverseTracks()}))}))}else f.then((function(t){var n=Le({tracks:t,initialTrack:null!=c&&c.activeIndex&&l?c.activeIndex+1:i,reverseTrackOrder:o,shuffle:s}),r=n.trackQueue,a=n.activeIndex;e.setState({tracks:t,activeIndex:a,trackQueue:r},(function(){o&&e.reverseTracks()}))}))}},{key:"onPlaying",value:function(e){var t=this,r=e.duration,a=e.position,o=this.state.activeIndex,i=this.props,l=i.playerId,u=i.rememberLastPosition;a>6e4&&this.aiEventTrackThrottled(De({event:z},W(this.state,this.props))),this.setState((function(){return{duration:r,position:a}}),(function(){n&&n.onPlaying&&n.onPlaying(t.getFinalProps()),l&&u&&(a%5e3<300||a<350)&&Me.set(l,{position:a,activeIndex:o})}))}},{key:"onFinishedPlaying",value:function(){var e=this,t=this.props,r=t.stopOnTrackFinish,a=t.delayBetweenTracks,i=1e3*(void 0===a?0:a);this.setState((function(){return{playStatus:o.Z.status.STOPPED}}),(function(){q.eventTrack(De({event:j},W(e.state,e.props)))})),r||n&&n.onFinishedPlaying&&setTimeout((function(){n.onFinishedPlaying(e.getFinalProps())}),i)}},{key:"getFinalProps",value:function(){var e=this.state,t=e.tracks[e.activeIndex]||{};return De(De({playTrack:this.playTrack,pauseTrack:this.pauseTrack,togglePlay:this.togglePlay,nextTrack:this.nextTrack,prevTrack:this.prevTrack,setPosition:this.setPosition,skipPosition:this.skipPosition,setPlaybackRate:this.setPlaybackRate,setVolume:this.setVolume,toggleTracklistCycling:this.toggleTracklistCycling,setTrackCycling:this.setTrackCycling,toggleShuffle:this.toggleShuffle,currentTrack:t},this.props),this.state)}},{key:"setVolume",value:function(e){this.setState((function(){return{volume:e}}))}},{key:"setPosition",value:function(e){var t=this,n=this.state.position;this.setState((function(){return{position:e}}),(function(){q.eventTrack(De(De({event:U},W(t.state,t.props)),{},{oldPosition:n}))}))}},{key:"setTrackCycling",value:function(e,t){var n=this;t&&t.preventDefault();var r=this.state,a=r.activeIndex;r.cycleTracks&&null!=e&&this.toggleTracklistCycling(),this.setState((function(t){return{repeatingTrackIndex:t.repeatingTrackIndex===e?null:e}}),(function(){null!=e&&a!==e&&n.playTrack(e)}))}},{key:"setPlaybackRate",value:function(e){this.setState((function(t){var n=t.playbackRate,r=e||$e,a=r.findIndex((function(e){return e===n}));return{playbackRate:r[(r.length+(a+1))%r.length]}}))}},{key:"toggleShuffle",value:function(){var e=this,t=this.props,n=t.initialTrack,r=t.reverseTrackOrder,a=this.state.tracks;this.setState((function(e){return{shuffle:!e.shuffle}}),(function(){e.setState((function(){return{trackQueue:Le({tracks:a,initialTrack:n,reverseTrackOrder:r,shuffle:e.state.shuffle}).trackQueue}})),e.state.shuffle}))}},{key:"skipPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.state.position,n=this.props.skipAmount,r=1e3*parseInt(n,10);this.setPosition(t+r*e)}},{key:"playTrack",value:function(e,t){var n=this;t&&t.preventDefault();var r=this.state,a=r.repeatingTrackIndex,i=r.isMultiSoundDisabled,l=r.playStatus;i&&window.soundManager.pauseAll(),l===o.Z.status.PLAYING&&q.eventTrack(De({event:j},W(this.state,this.props))),this.setState((function(){return{activeIndex:e,position:0,playStatus:o.Z.status.PLAYING}}),(function(){q.eventTrack(De({event:F},W(De(De({},n.state),{},{duration:null}),n.props)))})),e!==a&&null!=a&&this.setTrackCycling(null)}},{key:"pauseTrack",value:function(e){var t=this;e&&e.preventDefault(),this.state.playStatus===o.Z.status.PLAYING&&this.setState((function(){return{playStatus:o.Z.status.PAUSED}}),(function(){q.eventTrack(De({event:H},W(t.state,t.props)))}))}},{key:"togglePlay",value:function(e,t){var n=this;t&&t.preventDefault();var r=this.state.activeIndex;"number"!=typeof e||e===r?this.setState((function(e){var t=e.playStatus,n=e.isMultiSoundDisabled;return t!==o.Z.status.PLAYING&&n&&window.soundManager.pauseAll(),{playStatus:t===o.Z.status.PLAYING?o.Z.status.PAUSED:o.Z.status.PLAYING}}),(function(){q.eventTrack(De({event:n.state.playStatus===o.Z.status.PLAYING?F:H},W(n.state,n.props)))})):this.playTrack(e)}},{key:"nextTrack",value:function(){var e=this.state,t=e.trackQueue,n=e.activeIndex,r=t.indexOf(n),a=t[(r+1)%t.length];this.playTrack(a)}},{key:"prevTrack",value:function(){var e=this.state,t=e.trackQueue,n=e.activeIndex,r=t.indexOf(n),a=t[(r+t.length-1)%t.length];this.playTrack(a)}},{key:"toggleTracklistCycling",value:function(){null!==this.state.repeatingTrackIndex&&this.setTrackCycling(null),this.setState((function(e){return{cycleTracks:!e.cycleTracks}}))}},{key:"reverseTracks",value:function(){this.setState((function(e){return{tracks:e.tracks.slice().reverse()}}))}},{key:"render",value:function(){var n=this,r=this.state,a=r.tracks,i=r.playStatus,l=r.position,u=r.volume,s=r.playbackRate,c=this.getFinalProps();return e.createElement("div",{className:"ai-audioigniter"},e.createElement(t,c),a.length>0&&e.createElement(o.Z,{url:c.currentTrack.audio,playStatus:i,position:l,volume:u,onPlaying:this.onPlaying,onFinishedPlaying:this.onFinishedPlaying,onPause:function(){return n.pauseTrack()},playbackRate:s,onBufferChange:function(e){n.setState({buffering:e})}}))}}],i&&je(a.prototype,i),l&&je(a,l),Object.defineProperty(a,"prototype",{writable:!1}),s}(e.Component);return a.propTypes={playerId:r().string,volume:r().number,cycleTracks:r().bool,tracksUrl:r().string,track:r().string,soundcloudClientId:r().string,reverseTrackOrder:r().bool,skipAmount:r().number,stopOnTrackFinish:r().bool,delayBetweenTracks:r().number,initialTrack:r().number,shuffleEnabled:r().bool,defaultShuffle:r().bool,rememberLastPosition:r().bool},a};const Ye=function(){return window.ai_pro_front_scripts&&!!window.ai_pro_front_scripts.typography_disabled};function Ge(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ze(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ke=function(e){return e?{width:e.offsetWidth,height:e.offsetHeight}:{width:0,height:0}};const Xe=function(t){var n=Ge((0,e.useState)(Ke(t?t.current:{})),2),r=n[0],a=n[1],o=(0,e.useCallback)((function(){t.current&&a(Ke(t.current))}),[t]);return(0,e.useLayoutEffect)((function(){if(t.current){if(o(),"function"==typeof ResizeObserver){var e=new ResizeObserver((function(){return o()}));return e.observe(t.current),function(){e.disconnect(t.current),e=null}}return window.addEventListener("resize",o),function(){window.removeEventListener("resize",o)}}}),[t.current]),r};var Je={className:r().string,button:r().shape({title:r().string,url:r().string,icon:r().string}).isRequired},et=function(t){var n,r,a,o=t.className,i=t.button,l=u()((n={"ai-btn":!0,"ai-player-button":!0,"ai-player-button-icon-only":!i.title},a=!!o,(r=o)in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,n));return e.createElement("a",{href:i.url,className:l,target:"_blank",rel:"noopener noreferrer"},i.icon&&e.createElement("span",{className:"ai-player-button-icon",dangerouslySetInnerHTML:{__html:i.icon}}),i.title&&e.createElement("span",{className:"ai-player-button-title"},i.title))};et.propTypes=Je;const tt=et;var nt={className:r().string,buttons:r().arrayOf(r().shape({title:r().string,url:r().string,icon:r().string}).isRequired).isRequired},rt=function(t){var n,r,a,o=t.className,i=t.buttons,l=u()((a=!!o,(r=o)in(n={"ai-player-buttons":!0})?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,n));return e.createElement("div",{className:l},i.map((function(t,n){return e.createElement(tt,{key:n,button:t})})))};rt.propTypes=nt;const at=rt;function ot(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return it(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return it(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function it(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var lt={tracks:r().arrayOf(r().object),playStatus:r().oneOf([o.Z.status.PLAYING,o.Z.status.PAUSED,o.Z.status.STOPPED]),activeIndex:r().number,volume:r().number,position:r().number,duration:r().number,currentTrack:r().object.isRequired,playTrack:r().func.isRequired,togglePlay:r().func.isRequired,nextTrack:r().func.isRequired,prevTrack:r().func.isRequired,setPosition:r().func.isRequired,setVolume:r().func.isRequired,toggleTracklistCycling:r().func.isRequired,setTrackCycling:r().func.isRequired,cycleTracks:r().bool.isRequired,displayTracklist:r().bool,allowTracklistToggle:r().bool,allowTracklistLoop:r().bool,allowTrackLoop:r().bool,reverseTrackOrder:r().bool,displayTrackNo:r().bool,displayCredits:r().bool,displayActiveCover:r().bool,displayTracklistCovers:r().bool,limitTracklistHeight:r().bool,tracklistHeight:r().number,displayBuyButtons:r().bool,buyButtonsTarget:r().bool,displayArtistNames:r().bool,maxWidth:r().string,repeatingTrackIndex:r().number,playbackRate:r().number,setPlaybackRate:r().func,skipAmount:r().number,skipPosition:r().func.isRequired,countdownTimerByDefault:r().bool,allowPlaybackRate:r().bool,playbackRates:r().arrayOf(r().number),buffering:r().bool,shuffleEnabled:r().bool,shuffle:r().bool,toggleShuffle:r().func.isRequired,playerButtons:r().arrayOf(r().shape({title:r().string,url:r().string,icon:r().string}).isRequired),playerId:r().string},ut=function(t){var n=t.tracks,r=t.playerId,a=t.playStatus,l=t.activeIndex,s=t.volume,c=t.position,f=t.duration,d=t.playbackRate,g=t.shuffle,b=t.shuffleEnabled,k=t.currentTrack,w=t.playTrack,_=t.togglePlay,O=t.nextTrack,P=t.prevTrack,x=t.setPosition,L=t.setVolume,N=t.setPlaybackRate,M=t.toggleTracklistCycling,R=t.cycleTracks,I=t.toggleShuffle,A=t.allowTracklistToggle,D=t.allowTracklistLoop,F=t.allowPlaybackRate,z=t.playbackRates,H=t.allowTrackLoop,j=t.setTrackCycling,U=t.reverseTrackOrder,B=t.displayTrackNo,V=t.displayTracklist,W=t.displayTracklistCovers,q=t.displayActiveCover,$=t.displayCredits,Q=t.limitTracklistHeight,Y=t.tracklistHeight,G=t.displayBuyButtons,Z=t.buyButtonsTarget,X=t.displayArtistNames,J=t.maxWidth,ee=t.repeatingTrackIndex,te=t.skipAmount,ne=t.skipPosition,re=t.countdownTimerByDefault,ae=t.buffering,oe=t.playerButtons,ie=(0,e.useRef)(null),le=ot((0,e.useState)(V),2),se=le[0],ce=le[1],fe=Xe(ie).width,de=u()({"ai-wrap":!0,"ai-type-full":!0,"ai-is-loading":!n.length,"ai-narrow":null!=fe&&fe<480&&window.innerWidth>480,"ai-with-typography":!Ye()}),he=u()({"ai-audio-control":!0,"ai-audio-playing":a===o.Z.status.PLAYING,"ai-audio-loading":ae});return e.createElement("div",{ref:ie,className:de,style:{maxWidth:J}},e.createElement("div",{className:"ai-control-wrap"},q&&e.createElement(C,{className:"ai-thumb ai-control-wrap-thumb",src:k.cover,alt:k.title}),e.createElement("div",{className:"ai-control-wrap-controls"},e.createElement("div",{className:"ai-audio-controls-main"},e.createElement(ye,{onClick:_,className:he,ariaLabel:a===o.Z.status.PLAYING?(0,i.sprintf)(aiStrings.pause_title,k.title):(0,i.sprintf)(aiStrings.play_title,k.title),ariaPressed:a===o.Z.status.PLAYING},a===o.Z.status.PLAYING?e.createElement(h,null):e.createElement(p,null),e.createElement("span",{className:"ai-control-spinner"})),e.createElement("div",{className:"ai-track-info"},e.createElement("p",{className:"ai-track-title"},e.createElement("span",null,k.title)),(0===n.length||k.subtitle)&&X&&e.createElement("p",{className:"ai-track-subtitle"},e.createElement("span",null,k.subtitle)))),e.createElement("div",{className:"ai-audio-controls-progress"},e.createElement(K,{setPosition:x,duration:f,position:c}),e.createElement(pe,{duration:f,position:c,countdown:re})),e.createElement("div",{className:"ai-audio-controls-meta"},n.length>1&&e.createElement(ye,{className:"ai-btn ai-tracklist-prev",onClick:P,ariaLabel:aiStrings.previous,title:aiStrings.previous},e.createElement(y,null)),n.length>1&&e.createElement(ye,{className:"ai-btn ai-tracklist-next",onClick:O,ariaLabel:aiStrings.next,title:aiStrings.next},e.createElement(m,null)),e.createElement(we,{volume:s,setVolume:L}),D&&e.createElement(ye,{className:"ai-btn ai-btn-repeat ".concat(R&&"ai-btn-active"),onClick:M,ariaLabel:aiStrings.toggle_list_repeat},e.createElement(S,null)),b&&e.createElement(ye,{className:"ai-btn ai-btn-shuffle ".concat(g&&"ai-btn-active"),onClick:I,ariaLabel:aiStrings.shuffle},e.createElement(E,null)),F&&e.createElement(ye,{className:"ai-btn ai-btn-playback-rate",onClick:function(){return N(z)},ariaLabel:aiStrings.set_playback_rate},e.createElement(e.Fragment,null,"×",d)),te>0&&e.createElement(e.Fragment,null,e.createElement(ye,{className:"ai-btn ai-btn-skip-position",onClick:function(){return ne(-1)},ariaLabel:aiStrings.skip_backward},"-",te,"s"),e.createElement(ye,{className:"ai-btn ai-btn-skip-position",onClick:function(){return ne(1)},ariaLabel:aiStrings.skip_forward},"+",te,"s")),k&&k.lyrics&&!se&&e.createElement(Lt.Consumer,null,(function(t){var n=t.toggleLyricsModal;return e.createElement(ye,{className:"ai-btn ai-lyrics",onClick:function(){return n(!0,k)},ariaLabel:aiStrings.open_track_lyrics,title:aiStrings.open_track_lyrics},e.createElement(T,null))})),A&&e.createElement(ye,{className:"ai-btn ai-tracklist-toggle",onClick:function(){ce((function(e){return!e}))},ariaLabel:aiStrings.toggle_list_visible,ariaExpanded:se},e.createElement(v,null))))),e.createElement("div",{className:"ai-tracklist-wrap ".concat(se?"ai-tracklist-open":"")},e.createElement(ue,{className:"ai-tracklist",trackClassName:"ai-track",tracks:n,activeTrackIndex:l,isOpen:se,displayTrackNo:B,displayCovers:W,displayBuyButtons:G,buyButtonsTarget:Z,displayArtistNames:X,reverseTrackOrder:U,limitTracklistHeight:Q,tracklistHeight:Y,onTrackClick:w,onTrackLoop:H?j:void 0,repeatingTrackIndex:ee,playerId:r})),(null==oe?void 0:oe.length)>0&&e.createElement(at,{buttons:oe}),$&&e.createElement("div",{className:"ai-footer"},e.createElement("p",null,"Powered by"," ",e.createElement("a",{href:"https://www.cssigniter.com/plugins/audioigniter?utm_source=player&utm_medium=link&utm_content=audioigniter&utm_campaign=footer-link",target:"_blank",rel:"noopener noreferrer"},"AudioIgniter"))))};ut.propTypes=lt;const st=Qe(ut,{onFinishedPlaying:function(e){var t=e.repeatingTrackIndex,n=e.cycleTracks,r=e.nextTrack,a=e.activeIndex,o=e.playTrack,i=e.trackQueue;null==t?(n||a!==i[i.length-1])&&r():o(t)}});var ct={tracks:r().arrayOf(r().object),playerId:r().string,playStatus:r().oneOf([o.Z.status.PLAYING,o.Z.status.PAUSED,o.Z.status.STOPPED]),activeIndex:r().number,position:r().number,duration:r().number,setPosition:r().func.isRequired,togglePlay:r().func.isRequired,setTrackCycling:r().func.isRequired,allowTrackLoop:r().bool,maxWidth:r().string,reverseTrackOrder:r().bool,displayTrackNo:r().bool,buyButtonsTarget:r().bool,displayArtistNames:r().bool,displayBuyButtons:r().bool,displayCredits:r().bool,repeatingTrackIndex:r().number,playbackRate:r().number,setPlaybackRate:r().func,allowPlaybackRate:r().bool,playbackRates:r().arrayOf(r().number),buffering:r().bool,playerButtons:r().arrayOf(r().shape({title:r().string,url:r().string,icon:r().string}).isRequired)},ft=function(t){var n,r=t.playStatus,a=r===o.Z.status.PLAYING||r===o.Z.status.PAUSED?t.activeIndex:void 0,i=u()({"ai-wrap":!0,"ai-type-simple":!0,"ai-with-typography":!Ye()});return e.createElement("div",{className:i,style:{maxWidth:t.maxWidth}},e.createElement("div",{className:"ai-tracklist ai-tracklist-open"},e.createElement(oe,{tracks:t.tracks,playStatus:t.playStatus,activeTrackIndex:a,onTrackClick:t.togglePlay,setPosition:t.setPosition,duration:t.duration,position:t.position,playbackRate:t.playbackRate,className:"ai-tracklist",trackClassName:"ai-track",reverseTrackOrder:t.reverseTrackOrder,displayTrackNo:t.displayTrackNo,displayBuyButtons:t.displayBuyButtons,buyButtonsTarget:t.buyButtonsTarget,displayArtistNames:t.displayArtistNames,standaloneTracks:!0,onTrackLoop:t.allowTrackLoop?t.setTrackCycling:void 0,repeatingTrackIndex:t.repeatingTrackIndex,setPlaybackRate:t.setPlaybackRate,allowPlaybackRate:t.allowPlaybackRate,playbackRates:t.playbackRates,buffering:t.buffering,playerId:t.playerId})),(null===(n=t.playerButtons)||void 0===n?void 0:n.length)>0&&e.createElement(at,{buttons:t.playerButtons}),t.displayCredits&&e.createElement("div",{className:"ai-footer"},e.createElement("p",null,"Powered by"," ",e.createElement("a",{href:"https://www.cssigniter.com/plugins/audioigniter?utm_source=player&utm_medium=link&utm_content=audioigniter&utm_campaign=footer-link",target:"_blank",rel:"noopener noreferrer"},"AudioIgniter"))))};ft.propTypes=ct;const dt=Qe(ft,{onFinishedPlaying:function(e){var t=e.repeatingTrackIndex,n=e.cycleTracks,r=e.nextTrack,a=e.activeIndex,o=e.playTrack,i=e.trackQueue;null==t?(n||a!==i[i.length-1])&&r():o(t)}});function pt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ht(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ht(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ht(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var mt={tracks:r().arrayOf(r().object),playStatus:r().oneOf([o.Z.status.PLAYING,o.Z.status.PAUSED,o.Z.status.STOPPED]),activeIndex:r().number,volume:r().number,position:r().number,duration:r().number,currentTrack:r().object.isRequired,playTrack:r().func.isRequired,togglePlay:r().func.isRequired,nextTrack:r().func.isRequired,prevTrack:r().func.isRequired,setPosition:r().func.isRequired,setVolume:r().func.isRequired,toggleTracklistCycling:r().func.isRequired,cycleTracks:r().bool.isRequired,allowTracklistToggle:r().bool,allowTracklistLoop:r().bool,reverseTrackOrder:r().bool,displayTrackNo:r().bool,displayTracklist:r().bool,displayActiveCover:r().bool,displayTracklistCovers:r().bool,limitTracklistHeight:r().bool,tracklistHeight:r().number,displayBuyButtons:r().bool,buyButtonsTarget:r().bool,displayArtistNames:r().bool,setTrackCycling:r().func.isRequired,repeatingTrackIndex:r().number,allowTrackLoop:r().bool,playbackRate:r().number,setPlaybackRate:r().func,skipAmount:r().number,skipPosition:r().func.isRequired,countdownTimerByDefault:r().bool,allowPlaybackRate:r().bool,playbackRates:r().arrayOf(r().number),buffering:r().bool,playerButtons:r().arrayOf(r().shape({title:r().string,url:r().string,icon:r().string}).isRequired),playerId:r().string},yt=function(t){var n=t.tracks,r=t.playStatus,a=t.activeIndex,l=t.volume,s=t.position,c=t.duration,f=t.playbackRate,d=t.playerId,g=t.currentTrack,b=t.playTrack,k=t.togglePlay,w=t.nextTrack,_=t.prevTrack,E=t.setPosition,O=t.setVolume,P=t.toggleTracklistCycling,x=t.cycleTracks,L=t.setTrackCycling,N=t.setPlaybackRate,M=t.allowPlaybackRate,R=t.playbackRates,I=t.allowTracklistToggle,A=t.allowTracklistLoop,D=t.allowTrackLoop,F=t.reverseTrackOrder,z=t.displayTracklist,H=t.displayTrackNo,j=t.displayTracklistCovers,U=t.displayActiveCover,B=t.limitTracklistHeight,V=t.tracklistHeight,W=t.displayBuyButtons,q=t.buyButtonsTarget,$=t.displayArtistNames,Q=t.repeatingTrackIndex,Y=t.skipAmount,G=t.skipPosition,Z=t.countdownTimerByDefault,X=t.buffering,J=t.playerButtons,ee=pt((0,e.useState)(z),2),te=ee[0],ne=ee[1],re=u()({"ai-wrap":!0,"ai-type-global-footer":!0,"ai-is-loading":!n.length,"ai-with-typography":!Ye()}),ae=u()({"ai-audio-control":!0,"ai-audio-playing":r===o.Z.status.PLAYING,"ai-audio-loading":X});return e.createElement("div",{className:re},e.createElement("div",{className:"ai-control-wrap"},U&&e.createElement(C,{className:"ai-thumb ai-control-wrap-thumb",src:g.cover,alt:g.title}),e.createElement("div",{className:"ai-control-wrap-controls"},e.createElement(K,{setPosition:E,duration:c,position:s}),e.createElement("div",{className:"ai-audio-controls-main"},e.createElement(ye,{onClick:k,className:ae,ariaLabel:r===o.Z.status.PLAYING?(0,i.sprintf)(aiStrings.pause_title,g.title):(0,i.sprintf)(aiStrings.play_title,g.title),ariaPressed:r===o.Z.status.PLAYING},r===o.Z.status.PLAYING?e.createElement(h,null):e.createElement(p,null),e.createElement("span",{className:"ai-control-spinner"})),e.createElement("div",{className:"ai-audio-controls-meta"},n.length>1&&e.createElement(ye,{className:"ai-btn ai-tracklist-prev",onClick:_,ariaLabel:aiStrings.previous},e.createElement(y,null)),n.length>1&&e.createElement(ye,{className:"ai-btn ai-tracklist-next",onClick:w,ariaLabel:aiStrings.next},e.createElement(m,null)),e.createElement(we,{volume:l,setVolume:O}),A&&e.createElement(ye,{className:"ai-btn ai-btn-repeat ".concat(x&&"ai-btn-active"),onClick:P,ariaLabel:aiStrings.toggle_list_repeat},e.createElement(S,null)),M&&e.createElement(ye,{className:"ai-btn ai-btn-playback-rate",onClick:function(){return N(R)},ariaLabel:aiStrings.set_playback_rate},e.createElement(e.Fragment,null,"×",f)),Y>0&&e.createElement(e.Fragment,null,e.createElement(ye,{className:"ai-btn ai-btn-skip-position",onClick:function(){return G(-1)},ariaLabel:aiStrings.skip_backward},"-",Y,"s"),e.createElement(ye,{className:"ai-btn ai-btn-skip-position",onClick:function(){return G(1)},ariaLabel:aiStrings.skip_forward},"+",Y,"s")),g&&g.lyrics&&!te&&e.createElement(Lt.Consumer,null,(function(t){var n=t.toggleLyricsModal;return e.createElement(ye,{className:"ai-btn ai-lyrics",onClick:function(){return n(!0,g)},ariaLabel:aiStrings.open_track_lyrics,title:aiStrings.open_track_lyrics},e.createElement(T,null))}))),e.createElement("div",{className:"ai-track-info"},e.createElement("p",{className:"ai-track-title"},e.createElement("span",null,g.title)),(0===n.length||g.subtitle)&&$&&e.createElement("p",{className:"ai-track-subtitle"},e.createElement("span",null,g.subtitle))),e.createElement("div",{className:"ai-audio-controls-meta-right"},e.createElement(pe,{duration:c,position:s,countdown:Z}),I&&e.createElement(ye,{className:"ai-btn ai-tracklist-toggle",onClick:function(){ne((function(e){return!e}))},ariaLabel:aiStrings.toggle_list_visible},e.createElement(v,null)))))),e.createElement("div",{className:"ai-tracklist-wrap ".concat(te?"ai-tracklist-open":""),style:{display:te?"block":"none"}},e.createElement(ue,{className:"ai-tracklist",trackClassName:"ai-track",tracks:n,activeTrackIndex:a,isOpen:te,displayTrackNo:H,displayCovers:j,displayBuyButtons:W,buyButtonsTarget:q,displayArtistNames:$,reverseTrackOrder:F,limitTracklistHeight:B,tracklistHeight:V,onTrackClick:b,onTrackLoop:D?L:void 0,repeatingTrackIndex:Q,playerId:d}),(null==J?void 0:J.length)>0&&e.createElement(at,{buttons:J})))};yt.propTypes=mt;const vt=Qe(yt,{onFinishedPlaying:function(e){var t=e.repeatingTrackIndex,n=e.cycleTracks,r=e.nextTrack,a=e.activeIndex,o=e.playTrack,i=e.trackQueue;null==t?(n||a!==i[i.length-1])&&r():o(t)}});var gt=a(3253),bt=a.n(gt);document.querySelector(".audioigniter-root")&&bt().setAppElement(".audioigniter-root");var kt={isOpen:r().bool,closeModal:r().func.isRequired,children:r().any},wt=function(t){var n=t.isOpen,r=t.closeModal,a=t.children;return e.createElement(bt(),{isOpen:n,closeModal:r,onRequestClose:r,overlayClassName:"ai-modal-overlay",className:"ai-modal"},e.createElement("div",{className:"ai-modal-wrap"},e.createElement("div",{className:"ai-modal-header"},e.createElement("button",{className:"ai-modal-dismiss",type:"button",onClick:r},"×")),e.createElement("div",{className:"ai-modal-content"},a)))};wt.propTypes=kt;const St=wt;var _t=["type"];function Tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){Ot(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ct(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ct(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ct(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xt(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Lt=(0,e.createContext)(),Nt=function(t){var n=t.type,r=xt(t,_t),a=Pt((0,e.useState)({open:!1,track:null}),2),o=a[0],i=a[1],l=function(e,t){return i((function(n){return Et(Et({},n),{},{track:t,open:e})}))},u=o.track,s=o.open,c="simple"===n?dt:"global-footer"===n?vt:st;return e.createElement(e.Fragment,null,e.createElement(Lt.Provider,{value:{toggleLyricsModal:l}},e.createElement(c,r)),u&&u.lyrics&&e.createElement(St,{isOpen:s,closeModal:function(){return l(!1)}},u&&u.lyrics))};Nt.propTypes={type:r().string};const Mt=Nt;function Rt(){return Rt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rt.apply(this,arguments)}var It=document.getElementsByClassName("audioigniter-root");function At(n){var r=n.getAttribute("data-player-type"),a={playerId:n.getAttribute("id"),tracksUrl:n.getAttribute("data-tracks-url"),track:n.getAttribute("data-track"),displayTracklistCovers:JSON.parse(n.getAttribute("data-display-tracklist-covers")),displayActiveCover:JSON.parse(n.getAttribute("data-display-active-cover")),displayCredits:JSON.parse(n.getAttribute("data-display-credits")),displayTracklist:JSON.parse(n.getAttribute("data-display-tracklist")),allowTracklistToggle:JSON.parse(n.getAttribute("data-allow-tracklist-toggle")),allowPlaybackRate:JSON.parse(n.getAttribute("data-allow-playback-rate")),playbackRates:JSON.parse(n.getAttribute("data-playback-rates")),allowTracklistLoop:JSON.parse(n.getAttribute("data-allow-tracklist-loop")),allowTrackLoop:JSON.parse(n.getAttribute("data-allow-track-loop")),displayTrackNo:JSON.parse(n.getAttribute("data-display-track-no")),displayBuyButtons:JSON.parse(n.getAttribute("data-display-buy-buttons")),buyButtonsTarget:JSON.parse(n.getAttribute("data-buy-buttons-target")),volume:parseInt(n.getAttribute("data-volume"),10),displayArtistNames:JSON.parse(n.getAttribute("data-display-artist-names")),cycleTracks:JSON.parse(n.getAttribute("data-cycle-tracks")),limitTracklistHeight:JSON.parse(n.getAttribute("data-limit-tracklist-height")),tracklistHeight:parseInt(n.getAttribute("data-tracklist-height"),10),reverseTrackOrder:JSON.parse(n.getAttribute("data-reverse-track-order")),maxWidth:n.getAttribute("data-max-width"),soundcloudClientId:n.getAttribute("data-soundcloud-client-id"),skipAmount:parseInt(n.getAttribute("data-skip-amount"),10),initialTrack:parseInt(n.getAttribute("data-initial-track"),10),delayBetweenTracks:parseInt(n.getAttribute("data-tracks-delay"),10),stopOnTrackFinish:JSON.parse(n.getAttribute("data-stop-on-finish")),defaultShuffle:JSON.parse(n.getAttribute("data-shuffle-default")),shuffleEnabled:JSON.parse(n.getAttribute("data-shuffle")),countdownTimerByDefault:JSON.parse(n.getAttribute("data-timer-countdown")),rememberLastPosition:JSON.parse(n.getAttribute("data-remember-last")),playerButtons:JSON.parse(n.getAttribute("data-player-buttons"))};(0,t.s)(n).render(e.createElement(Mt,Rt({type:r},a)))}Array.prototype.slice.call(It).forEach((function(e){At(e)})),window.__CI_AUDIOIGNITER_MANUAL_INIT__=function(e){At(e)}})()})();
// source --> https://history.gospmr.org/wp-content/plugins/wp-smush-pro/app/assets/js/smush-detector.min.js?ver=3.23.4 
!function(){var e={6105:function(e){e.exports=function(){function e(){return(e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var t={ignoreId:!1},n="undefined"!=typeof Node,r=n?Node.ELEMENT_NODE:1,o=n?Node.TEXT_NODE:3,i=n?Node.DOCUMENT_TYPE_NODE:10;return function(n,a){var u=e({},t,a),l=n;if(l&&l.id&&!u.ignoreId)return'//*[@id="'+l.id+'"]';for(var c=[];l&&(r===l.nodeType||o===l.nodeType);){for(var s=0,f=!1,d=l.previousSibling;d;)d.nodeType!==i&&d.nodeName===l.nodeName&&s++,d=d.previousSibling;for(d=l.nextSibling;d;){if(d.nodeName===l.nodeName){f=!0;break}d=d.nextSibling}var v=s||f?"["+(s+1)+"]":"";c.push(l.nodeType!=o?(l.prefix?l.prefix+":":"")+l.localName+v:"text()"+(v||"[1]")),l=l.parentNode}return c.length?"/"+c.reverse().join("/"):""}}()},4561:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["id","class","length"],n=e.attributes;return[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n)).reduce(function(e,n){return t.indexOf(n.nodeName)>-1||e.push("["+n.nodeName+'="'+n.value+'"]'),e},[])}},3770:function(e,t){"use strict";function n(e){if(!e.hasAttribute("class"))return[];try{return Array.prototype.slice.call(e.classList).filter(function(e){return/^[a-z_-][a-z\d_-]*$/i.test(e)?e:null})}catch(n){var t=e.getAttribute("class");return(t=t.trim().replace(/\s+/g," ")).split(" ")}}Object.defineProperty(t,"__esModule",{value:!0}),t.getClasses=n,t.getClassSelectors=function(e){return n(e).filter(Boolean).map(function(e){return"."+e})}},2584:function(e,t){"use strict";function n(e,t,r,o,i,a,u){if(a!==u)for(var l=o;l<=i&&i-l+1>=u-a;++l)r[a]=t[l],n(e,t,r,l+1,i,a+1,u);else e.push(r.slice(0,a).join(""))}Object.defineProperty(t,"__esModule",{value:!0}),t.getCombinations=function(e,t){for(var r=[],o=e.length,i=[],a=1;a<=t;++a)n(r,e,i,0,o-1,0,a);return r}},9169:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getID=function(e){var t=e.getAttribute("id");if(null!==t&&""!==t)return t.match(/(?:^\d|:)/)?'[id="'+t+'"]':"#"+t;return null}},6064:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNthChild=function(e){var t=0,n=void 0,o=void 0,i=e.parentNode;if(Boolean(i)){var a=i.childNodes,u=a.length;for(n=0;n<u;n++)if(o=a[n],(0,r.isElement)(o)&&(t++,o===e))return":nth-child("+t+")"}return null};var r=n(8440)},7175:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParents=function(e){var t=[],n=e;for(;(0,r.isElement)(n);)t.push(n),n=n.parentNode;return t};var r=n(8440)},7970:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTag=function(e){return e.tagName.toLowerCase().replace(/:/g,"\\:")}},7924:function(e,t,n){"use strict";t.A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selectorTypes,r=void 0===n?["ID","Class","Tag","NthChild"]:n,o=t.attributesToIgnore,i=void 0===o?["id","class","length"]:o,a=t.excludeRegex,u=void 0===a?null:a,l=[],f=(0,s.getParents)(e),d=!0,v=!1,m=void 0;try{for(var p,g=f[Symbol.iterator]();!(d=(p=g.next()).done);d=!0){var b=y(p.value,r,i,u);Boolean(b)&&l.push(b)}}catch(e){v=!0,m=e}finally{try{!d&&g.return&&g.return()}finally{if(v)throw m}}var h=[],_=!0,w=!1,S=void 0;try{for(var N,T=l[Symbol.iterator]();!(_=(N=T.next()).done);_=!0){var C=N.value;h.unshift(C);var j=h.join(" > ");if((0,c.isUnique)(e,j))return j}}catch(e){w=!0,S=e}finally{try{!_&&T.return&&T.return()}finally{if(w)throw S}}return null};var r=n(9169),o=n(3770),i=n(2584),a=n(4561),u=n(6064),l=n(7970),c=n(2213),s=n(7175);function f(e,t){var n=e.parentNode.querySelectorAll(t);return 1===n.length&&n[0]===e}function d(e,t){return t.find(f.bind(null,e))}function v(e,t,n){var r=(0,i.getCombinations)(t,3),o=d(e,r);return Boolean(o)||Boolean(n)&&(o=d(e,r=r.map(function(e){return n+e})),Boolean(o))?o:null}function y(e,t,n,i){var c=void 0,s=function(e,t,n){var i={Tag:l.getTag,NthChild:u.getNthChild,Attributes:function(e){return(0,a.getAttributes)(e,n)},Class:o.getClassSelectors,ID:r.getID};return t.reduce(function(t,n){return t[n]=i[n](e),t},{})}(e,t,n);i&&i instanceof RegExp&&(s.ID=i.test(s.ID)?null:s.ID,s.Class=s.Class.filter(function(e){return!i.test(e)}));var d=!0,y=!1,m=void 0;try{for(var p,g=t[Symbol.iterator]();!(d=(p=g.next()).done);d=!0){var b=p.value,h=s.ID,_=s.Tag,w=s.Class,S=s.Attributes,N=s.NthChild;switch(b){case"ID":if(Boolean(h)&&f(e,h))return h;break;case"Tag":if(Boolean(_)&&f(e,_))return _;break;case"Class":if(Boolean(w)&&w.length&&(c=v(e,w,_)))return c;break;case"Attributes":if(Boolean(S)&&S.length&&(c=v(e,S,_)))return c;break;case"NthChild":if(Boolean(N))return N}}}catch(e){y=!0,m=e}finally{try{!d&&g.return&&g.return()}finally{if(y)throw m}}return"*"}},8440:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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};t.isElement=function(e){var t=void 0;t="object"===("undefined"==typeof HTMLElement?"undefined":n(HTMLElement))?e instanceof HTMLElement:!!e&&"object"===(void 0===e?"undefined":n(e))&&1===e.nodeType&&"string"==typeof e.nodeName;return t}},2213:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUnique=function(e,t){if(!Boolean(t))return!1;var n=e.ownerDocument.querySelectorAll(t);return 1===n.length&&n[0]===e}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(7924),t=n(6105),r=n.n(t);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){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(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,c(r.key),r)}}function c(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 s=function(){return t=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(n=[{key:"onLCP",value:function(t){var n,o,i=null==t||null===(n=t.entries[0])||void 0===n?void 0:n.element,a=null==t||null===(o=t.attribution)||void 0===o?void 0:o.url;if(i&&a){var u=(0,e.A)(i),l=r()(i,{ignoreId:!0});this.useRelativeImageURL=this.shouldUseRelativeImageURL(i,a);var c={url:window.location.href,data:JSON.stringify({selector:u,selector_xpath:l,selector_id:null==i?void 0:i.id,selector_class:null==i?void 0:i.className,image_url:this.useRelativeImageURL?this.makeImageURLRelative(a):a,background_data:this.getBackgroundDataForElement(i)}),nonce:smush_detector.nonce,is_mobile:smush_detector.is_mobile,data_store:JSON.stringify(smush_detector.data_store),previous_data_version:smush_detector.previous_data_version,previous_data_hash:smush_detector.previous_data_hash},s=new XMLHttpRequest;s.open("POST",smush_detector.ajax_url+"?action=smush_handle_lcp_data",!0),s.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var f=Object.keys(c).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(c[e])}).join("&");s.send(f)}}},{key:"shouldUseRelativeImageURL",value:function(e,t){if(null==e||!e.outerHTML)return!1;var n=e.outerHTML;if(n.includes(t))return!1;var r=this.makeImageURLRelative(t);return n.includes(r)}},{key:"makeImageURLRelative",value:function(e){try{var t=new URL(e,window.location.origin);if(t.hostname===window.location.hostname)return t.pathname+t.search}catch(e){}return e}},{key:"getBackgroundDataForElement",value:function(e){var t=[window.getComputedStyle(e,null).getPropertyValue("background-image"),getComputedStyle(e,":after").getPropertyValue("background-image"),getComputedStyle(e,":before").getPropertyValue("background-image")].filter(function(e){return"none"!==e});return 0===t.length?null:this.getBackgroundDataForPropertyValue(t[0])}},{key:"getBackgroundDataForPropertyValue",value:function(e){var t=this,n="background-image";if(e.includes("image-set(")&&(n="background-image-set"),!e||""===e||e.includes("data:image"))return null;var r=i(e.matchAll(/((?:https?:\/|\.+)?\/[^'",\s()]+\.(jpe?g|png|gif|webp|svg|avif)(?:\?[^\s'",?)]+)?)\b/gi)).map(function(e){var n=e[1].trim();return t.useRelativeImageURL?t.makeImageURLRelative(n):n});return r.length<=0?null:{type:n,urls:r}}}])&&l(t.prototype,n),o&&l(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,o}();!function(e){var t=null,n=!1,r=window.innerHeight;if(0===(null===(e=document)||void 0===e||null===(e=e.documentElement)||void 0===e?void 0:e.scrollTop)&&"PerformanceObserver"in window){var o=new PerformanceObserver(function(e){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(l)throw i}}}}(e.getEntries());try{for(r.s();!(n=r.n()).done;){var o=n.value;i(o)&&(t=o)}}catch(e){r.e(e)}finally{r.f()}});try{o.observe({type:"largest-contentful-paint",buffered:!0})}catch(e){}["keydown","click","pointerdown","touchstart"].forEach(function(e){addEventListener(e,function(e){e.isTrusted&&(n||(n=!0,t&&(new s).onLCP({entries:[t],attribution:{url:t.url||"",element:t.element||""}}),o&&o.disconnect()))},{once:!0,capture:!0})})}function i(e){var t=e&&e.element;return!t||t.getBoundingClientRect().top+window.scrollY<=r}}()}()}();
//# sourceMappingURL=smush-detector.min.js.map;
// source --> https://history.gospmr.org/wp-includes/js/comment-reply.min.js?ver=6.9.4 
/*! This file is auto-generated */
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);
// source --> https://history.gospmr.org/wp-includes/js/hoverIntent.min.js?ver=1.10.2 
/*! This file is auto-generated */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)}(function(f){"use strict";function u(e){return"function"==typeof e}var i,r,v={interval:100,sensitivity:6,timeout:0},s=0,a=function(e){i=e.pageX,r=e.pageY},p=function(e,t,n,o){if(Math.sqrt((n.pX-i)*(n.pX-i)+(n.pY-r)*(n.pY-r))<o.sensitivity)return t.off(n.event,a),delete n.timeoutId,n.isActive=!0,e.pageX=i,e.pageY=r,delete n.pX,delete n.pY,o.over.apply(t[0],[e]);n.pX=i,n.pY=r,n.timeoutId=setTimeout(function(){p(e,t,n,o)},o.interval)};f.fn.hoverIntent=function(e,t,n){function o(e){var u=f.extend({},e),r=f(this),v=((t=r.data("hoverIntent"))||r.data("hoverIntent",t={}),t[i]),t=(v||(t[i]=v={id:i}),v.timeoutId&&(v.timeoutId=clearTimeout(v.timeoutId)),v.event="mousemove.hoverIntent.hoverIntent"+i);"mouseenter"===e.type?v.isActive||(v.pX=u.pageX,v.pY=u.pageY,r.off(t,a).on(t,a),v.timeoutId=setTimeout(function(){p(u,r,v,d)},d.interval)):v.isActive&&(r.off(t,a),v.timeoutId=setTimeout(function(){var e,t,n,o,i;e=u,t=r,n=v,o=d.out,(i=t.data("hoverIntent"))&&delete i[n.id],o.apply(t[0],[e])},d.timeout))}var i=s++,d=f.extend({},v);f.isPlainObject(e)?(d=f.extend(d,e),u(d.out)||(d.out=d.over)):d=u(t)?f.extend(d,{over:e,out:t,selector:n}):f.extend(d,{over:e,out:e,selector:t});return this.on({"mouseenter.hoverIntent":o,"mouseleave.hoverIntent":o},d.selector)}});
// source --> https://history.gospmr.org/wp-includes/js/imagesloaded.min.js?ver=5.0.0 
/*! This file is auto-generated */
/*!
 * imagesLoaded PACKAGED v5.0.0
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),
/*!
 * imagesLoaded v5.0.0
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/isotope.js?ver=1.0.0 
/*!
 * Isotope PACKAGED v3.0.6
 *
 * Licensed GPLv3 for open source use
 * or Isotope Commercial License for commercial use
 *
 * https://isotope.metafizzy.co
 * Copyright 2010-2018 Metafizzy
 */
!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],(function(i){return e(t,i)})):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,(function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each((function(t,u){var h=a.data(u,i);if(h){var l=h[e];if(l&&"_"!=e.charAt(0)){var d=l.apply(h,o);n=void 0===n?d:n}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)})),void 0!==n?n:t}(this,t,n.call(arguments,1)):(function(t,e){t.each((function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))}))}(this,t),this)},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i})),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n];o&&o[s]&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,(function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(t){var e=getComputedStyle(t);return e||s("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function i(){if(!u){u=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var s=document.body||document.documentElement;s.appendChild(i);var r=e(i);n=200==Math.round(t(r.width)),o.isBoxSizeOuter=n,s.removeChild(i)}}function o(o){if(i(),"string"==typeof o&&(o=document.querySelector(o)),o&&"object"==typeof o&&o.nodeType){var s=e(o);if("none"==s.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<a;e++)t[r[e]]=0;return t}();var u={};u.width=o.offsetWidth,u.height=o.offsetHeight;for(var h=u.isBorderBox="border-box"==s.boxSizing,l=0;l<a;l++){var d=r[l],f=s[d],c=parseFloat(f);u[d]=isNaN(c)?0:c}var m=u.paddingLeft+u.paddingRight,p=u.paddingTop+u.paddingBottom,y=u.marginLeft+u.marginRight,g=u.marginTop+u.marginBottom,v=u.borderLeftWidth+u.borderRightWidth,_=u.borderTopWidth+u.borderBottomWidth,z=h&&n,I=t(s.width);!1!==I&&(u.width=I+(z?0:m+v));var x=t(s.height);return!1!==x&&(u.height=x+(z?0:p+_)),u.innerWidth=u.width-(m+v),u.innerHeight=u.height-(p+_),u.outerWidth=u.width+y,u.outerHeight=u.height+g,u}}var n,s="undefined"==typeof console?function(){}:function(t){console.error(t)},r=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],a=r.length,u=!1;return o})),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,(function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}})),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],(function(i){return e(t,i)})):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,(function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},o=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?o.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach((function(t){if(t instanceof HTMLElement){if(!o)return void n.push(t);e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}})),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout((function(){o.apply(s,e),delete s[n]}),i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,i){return e+"-"+i})).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady((function(){var s=i.toDashed(o),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),l=r+"-options",d=t.jQuery;h.forEach((function(t){var i,s=t.getAttribute(r)||t.getAttribute(l);try{i=s&&JSON.parse(s)}catch(e){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);d&&d.data(t,o,a)}))}))},i})),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,(function(t,e){"use strict";function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var o=document.documentElement.style,n="string"==typeof o.transition?"transition":"WebkitTransition",s="string"==typeof o.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],a={transform:s,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"},u=i.prototype=Object.create(t.prototype);u.constructor=i,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[a[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;-1!=o.indexOf("%")&&(s=s/100*a.width),-1!=n.indexOf("%")&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",l=o?"bottom":"top",d=this.position.y+t[u];e[h]=this.getYValue(d),e[l]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;0}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var h="opacity,"+function(t){return t.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}))}(s);u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:h,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var l={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=l[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(d)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){return n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),void this.hide()):void this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i})),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],(function(i,o,n,s){return e(t,i,o,n,s)})):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,(function(t,e,i,o,n){"use strict";function s(t,e){var i=o.getQueryElement(t);if(i){this.element=i,u&&(this.$element=u(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++l;this.element.outlayerGUID=n,d[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}var a=t.console,u=t.jQuery,h=function(){},l=0,d={};s.namespace="outlayer",s.Item=n,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=s.prototype;o.extend(f,e.prototype),f.option=function(t){o.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=new i(e[n],this);o.push(s)}return o},f._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map((function(t){return t.element}))},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter((function(t){return!t.isIgnored}))},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach((function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)}),this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach((function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)}),this)},f.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];return i.length?(i=parseFloat(i))*(c[o]||1):0}(t),this.stagger)},f._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},f._getContainerSize=h,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function o(){++r==s&&i()}var n=this,s=e.length;if(e&&s){var r=0;e.forEach((function(e){e.once(t,o)}))}else i()},f.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),u)if(this.$element=this.$element||u(this.element),e){var n=u.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){(t=this._find(t))&&t.forEach((function(t){o.removeFrom(this.stamps,t),this.unignore(t)}),this)},f._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),o.makeArray(t)},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=h,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t);return{left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom}},f.handleEvent=o.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},o.debounceMethod(s,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach((function(t,i){t.stagger(i*e),t.reveal()}))}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach((function(t,i){t.stagger(i*e),t.hide()}))}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach((function(t){var i=this.getItem(t);i&&e.push(i)}),this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach((function(t){t.remove(),o.removeFrom(this.items,t)}),this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach((function(t){t.destroy()})),this.unbindResize();var e=this.element.outlayerGUID;delete d[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},s.data=function(t){var e=(t=o.getQueryElement(t))&&t.outlayerGUID;return e&&d[e]},s.create=function(t,e){var i=r(s);return i.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(n),o.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var c={ms:1,s:1e3};return s.Item=n,s})),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,(function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e})),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,(function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach((function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}})),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i})),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,(function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o;s=Math[r&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},s=o.y+t.size.outerHeight,r=i+o.col,a=o.col;a<r;a++)this.colYs[a]=s;return n},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft")?o.left:o.right,s=n+i.outerWidth,r=Math.floor(n/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this._getOption("originTop")?o.top:o.bottom)+i.outerHeight,h=r;h<=a;h++)this.colYs[h]=Math.max(u,this.colYs[h])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i})),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,(function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i})),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,(function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e})),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,(function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e})),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],(function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)})):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,(function(t,e,i,o,n,s,r){var a=t.jQuery,u=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});h.Item=s,h.LayoutMode=r;var l=h.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){t[i].id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){function t(){e&&i&&o&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,i,o,n=this;this.once("layoutComplete",(function(){e=!0,t()})),this.once("hideComplete",(function(){i=!0,t()})),this.once("revealComplete",(function(){o=!0,t()}))},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var d=function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}(o&&o[1],i),s=h.sortDataParsers[e[1]];return s?function(t){return t&&s(n(t))}:function(t){return t&&n(t)}};h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(t,e){return function(i,o){for(var n=0;n<t.length;n++){var s=t[n],r=i.sortData[s],a=o.sortData[s];if(r>a||r<a)return(r>a?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var f=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map((function(t){return t.element}))},h}));
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/lazysizes.js?ver=1.0.0 
!function(e){var t=function(e,t){"use strict";if(!t.getElementsByClassName)return;var n,a=t.documentElement,i=e.Date,o=e.HTMLPictureElement,r="addEventListener",s="getAttribute",l=e[r],d=e.setTimeout,c=e.requestAnimationFrame||d,u=e.requestIdleCallback,f=/^picture$/i,m=["load","error","lazyincluded","_lazyloaded"],v={},g=Array.prototype.forEach,h=function(e,t){return v[t]||(v[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),v[t].test(e[s]("class")||"")&&v[t]},z=function(e,t){h(e,t)||e.setAttribute("class",(e[s]("class")||"").trim()+" "+t)},y=function(e,t){var n;(n=h(e,t))&&e.setAttribute("class",(e[s]("class")||"").replace(n," "))},p=function(e,t,n){var a=n?r:"removeEventListener";n&&p(e,t),m.forEach((function(n){e[a](n,t)}))},C=function(e,n,a,i,o){var r=t.createEvent("CustomEvent");return r.initCustomEvent(n,!i,!o,a||{}),e.dispatchEvent(r),r},b=function(t,a){var i;!o&&(i=e.picturefill||n.pf)?i({reevaluate:!0,elements:[t]}):a&&a.src&&(t.src=a.src)},A=function(e,t){return(getComputedStyle(e,null)||{})[t]},E=function(e,t,a){for(a=a||e.offsetWidth;a<n.minSize&&t&&!e._lazysizesWidth;)a=t.offsetWidth,t=t.parentNode;return a},N=(P=[],T=[],$=function(){var e=P;for(P=T,k=!0,O=!1;e.length;)e.shift()();k=!1},D=function(e,n){k&&!n?e.apply(this,arguments):(P.push(e),O||(O=!0,(t.hidden?d:c)($)))},D._lsFlush=$,D),w=function(e,t){return t?function(){N(e)}:function(){var t=this,n=arguments;N((function(){e.apply(t,n)}))}},M=function(e){var t,n=0,a=125,o=66,r=o,s=function(){t=!1,n=i.now(),e()},l=u?function(){u(s,{timeout:r}),r!==o&&(r=o)}:w((function(){d(s)}),!0);return function(e){var o;(e=!0===e)&&(r=44),t||(t=!0,(o=a-(i.now()-n))<0&&(o=0),e||o<9&&u?l():d(l,o))}},_=function(e){var t,n,a=99,o=function(){t=null,e()},r=function(){var e=i.now()-n;e<a?d(r,a-e):(u||o)(o)};return function(){n=i.now(),t||(t=d(r,a))}},W=function(){var o,c,u,m,v,E,W,L,B,F,R,S,k,O,P,T,$=/^img$/i,D=/^iframe$/i,H="onscroll"in e&&!/glebot/.test(navigator.userAgent),I=0,q=0,j=0,G=-1,J=function(e){j--,e&&e.target&&p(e.target,J),(!e||j<0||!e.target)&&(j=0)},K=function(e,n){var i,o=e,r="hidden"==A(t.body,"visibility")||"hidden"!=A(e,"visibility");for(F-=n,k+=n,R-=n,S+=n;r&&(o=o.offsetParent)&&o!=t.body&&o!=a;)(r=(A(o,"opacity")||1)>0)&&"visible"!=A(o,"overflow")&&(i=o.getBoundingClientRect(),r=S>i.left&&R<i.right&&k>i.top-1&&F<i.bottom+1);return r},Q=function(){var e,i,r,l,d,f,m,g,h;if((v=n.loadMode)&&j<8&&(e=o.length)){i=0,G++,null==P&&("expand"in n||(n.expand=a.clientHeight>500&&a.clientWidth>500?500:370),O=n.expand,P=O*n.expFactor),q<P&&j<1&&G>2&&v>2&&!t.hidden?(q=P,G=0):q=v>1&&G>1&&j<6?O:I;for(;i<e;i++)if(o[i]&&!o[i]._lazyRace)if(H)if((g=o[i][s]("data-expand"))&&(f=1*g)||(f=q),h!==f&&(L=innerWidth+f*T,B=innerHeight+f,m=-1*f,h=f),r=o[i].getBoundingClientRect(),(k=r.bottom)>=m&&(F=r.top)<=B&&(S=r.right)>=m*T&&(R=r.left)<=L&&(k||S||R||F)&&(u&&j<3&&!g&&(v<3||G<4)||K(o[i],f))){if(ae(o[i]),d=!0,j>9)break}else!d&&u&&!l&&j<4&&G<4&&v>2&&(c[0]||n.preloadAfterLoad)&&(c[0]||!g&&(k||S||R||F||"auto"!=o[i][s](n.sizesAttr)))&&(l=c[0]||o[i]);else ae(o[i]);l&&!d&&ae(l)}Y()},U=M(Q),V=function(e){z(e,n.loadedClass),y(e,n.loadingClass),y(e,n.afterLoadedClass)},X=function(e){z(e.target,n.afterLoadedClass),Y()},Y=function(){if(W.length>0)for(var e,t,a=n.animateExpand,i=0,o=0;o<W.length;o++){var r=W[o],l=r[s]("data-animate");l&&(a=l),e=W[o].getBoundingClientRect(),t!==a&&(L=innerWidth+a*T,B=innerHeight+a,i=-1*a,t=a),(k=e.bottom)>=i&&(F=e.top)<=B&&(S=e.right)>=i*T&&(R=e.left)<=L&&(k||S||R||F)&&h(r,n.afterLoadedClass)&&V(r)}},Z=function(e,t){try{e.contentWindow.location.replace(t)}catch(n){e.src=t}},ee=function(e){var t,a,i=e[s](n.srcsetAttr);(t=n.customMedia[e[s]("data-media")||e[s]("media")])&&e.setAttribute("media",t),i&&e.setAttribute("srcset",i),t&&((a=e.parentNode).insertBefore(e.cloneNode(),e),a.removeChild(e))},te=w((function(e,t,a,i,o){var r,l,c,u,v,h;(v=C(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(a?z(e,n.autosizesClass):e.setAttribute("sizes",i)),l=e[s](n.srcsetAttr),r=e[s](n.srcAttr),o&&(u=(c=e.parentNode)&&f.test(c.nodeName||"")),h=t.firesLoad||"src"in e&&(l||r||u),v={target:e},h&&(p(e,J,!0),clearTimeout(m),m=d(J,2500),z(e,n.loadingClass),p(e,X,!0)),u&&g.call(c.getElementsByTagName("source"),ee),l?e.setAttribute("srcset",l):r&&!u&&(D.test(e.nodeName)?Z(e,r):e.src=r),(l||u)&&b(e,{src:r})),e._lazyRace&&delete e._lazyRace,y(e,n.lazyClass),N((function(){h&&!ne(e)||(h?J(v):j--)}),!0)}));function ne(e){return!!e.complete&&(void 0===e.naturalWidth||0!==e.naturalWidth)}var ae=function(e){var t,a=$.test(e.nodeName),i=a&&(e[s](n.sizesAttr)||e[s]("sizes")),o="auto"==i;(!o&&u||!a||!e.src&&!e.srcset||e.complete||h(e,n.errorClass))&&(t=C(e,"lazyunveilread").detail,o&&x.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,j++,te(e,t,o,i,a))},ie=function(){if(!u)if(i.now()-E<999)d(ie,999);else{var e=_((function(){n.loadMode=3,U()}));u=!0,n.loadMode=3,U(),l("scroll",(function(){3==n.loadMode&&(n.loadMode=2),e()}),!0)}};return{_:function(){E=i.now(),o=t.getElementsByClassName(n.lazyClass),W=t.getElementsByClassName(n.afterLoadedClass),c=t.getElementsByClassName(n.lazyClass+" "+n.preloadClass),T=n.hFac,l("scroll",U,!0),l("resize",U,!0),e.MutationObserver?new MutationObserver(U).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a[r]("DOMNodeInserted",U,!0),a[r]("DOMAttrModified",U,!0),setInterval(U,999)),l("hashchange",U,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach((function(e){t[r](e,U,!0)})),/d$|^c/.test(t.readyState)?ie():(l("load",ie),t[r]("DOMContentLoaded",U),d(ie,2e4)),o.length?(Q(),N._lsFlush()):U()},checkElems:U,unveil:ae}}(),x=(F=w((function(e,t,n,a){var i,o,r;if(e._lazysizesWidth=a,a+="px",e.setAttribute("sizes",a),f.test(t.nodeName||""))for(o=0,r=(i=t.getElementsByTagName("source")).length;o<r;o++)i[o].setAttribute("sizes",a);n.detail.dataAttr||b(e,n.detail)})),R=function(e,t,n){var a,i=e.parentNode;i&&(n=E(e,i,n),(a=C(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=a.detail.width)&&n!==e._lazysizesWidth&&F(e,i,a,n))},S=_((function(){var e,t=B.length;if(t)for(e=0;e<t;e++)R(B[e])})),{_:function(){B=t.getElementsByClassName(n.autosizesClass),l("resize",S)},checkElems:S,updateElem:R}),L=function(){L.i||(L.i=!0,x._(),W._())};var B,F,R,S;var k,O,P,T,$,D;return function(){var t,a={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",afterLoadedClass:"afterloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,animateExpand:0};for(t in n=e.lazySizesConfig||e.lazysizesConfig||{},a)t in n||(n[t]=a[t]);e.lazySizesConfig=n,d((function(){n.init&&L()}))}(),{cfg:n,autoSizer:x,loader:W,init:L,uP:b,aC:z,rC:y,hC:h,fire:C,gW:E,rAF:N}}(e,e.document);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}(window);
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/ls.bgset.js?ver=1.0.0 
!function(e,t){"use strict";var a=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",a,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):e.lazySizes?a():e.addEventListener("lazyunveilread",a,!0)}(window,(function(e,t,a){"use strict";if(e.addEventListener){var i=/\s+/g,r=/\s*\|\s+|\s+\|\s*/g,s=/^(.+?)(?:\s+\[\s*(.+?)\s*\])?$/,n=/\(|\)|'/,l={contain:1,cover:1},d=function(e){if(e.target._lazybgset){var t=e.target,i=t._lazybgset,r=t.currentSrc||t.src;r&&(i.style.backgroundImage="url("+(n.test(r)?JSON.stringify(r):r)+")"),t._lazybgsetLoading&&(a.fire(i,"_lazyloaded",{},!1,!0),delete t._lazybgsetLoading)}};addEventListener("lazybeforeunveil",(function(e){var n,l,o;!e.defaultPrevented&&(n=e.target.getAttribute("data-bgset"))&&(o=e.target,(l=t.createElement("img")).alt="",l._lazybgsetLoading=!0,e.detail.firesLoad=!0,function(e,a,n){var l=t.createElement("picture"),d=a.getAttribute(lazySizesConfig.sizesAttr),o=a.getAttribute("data-ratio"),z=a.getAttribute("data-optimumx");a._lazybgset&&a._lazybgset.parentNode==a&&a.removeChild(a._lazybgset),Object.defineProperty(n,"_lazybgset",{value:a,writable:!0}),Object.defineProperty(a,"_lazybgset",{value:l,writable:!0}),e=e.replace(i," ").split(r),l.style.display="none",n.className=lazySizesConfig.lazyClass,1!=e.length||d||(d="auto"),e.forEach((function(e){var a=t.createElement("source");d&&"auto"!=d&&a.setAttribute("sizes",d),e.match(s)&&(a.setAttribute(lazySizesConfig.srcsetAttr,RegExp.$1),RegExp.$2&&a.setAttribute("media",lazySizesConfig.customMedia[RegExp.$2]||RegExp.$2)),l.appendChild(a)})),d&&(n.setAttribute(lazySizesConfig.sizesAttr,d),a.removeAttribute(lazySizesConfig.sizesAttr),a.removeAttribute("sizes")),z&&n.setAttribute("data-optimumx",z),o&&n.setAttribute("data-ratio",o),l.appendChild(n),a.appendChild(l)}(n,o,l),setTimeout((function(){a.loader.unveil(l),a.rAF((function(){a.fire(l,"_lazyloaded",{},!0,!0),l.complete&&d({target:l})}))})))})),t.addEventListener("load",d,!0),e.addEventListener("lazybeforesizes",(function(e){if(e.detail.instance==a&&e.target._lazybgset&&e.detail.dataAttr){var t=function(e){var t;return t=(getComputedStyle(e)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),!l[t]&&l[e.style.backgroundSize]&&(t=e.style.backgroundSize),t}(e.target._lazybgset);l[t]&&(e.target._lazysizesParentFit=t,a.rAF((function(){e.target.setAttribute("data-parent-fit",t),e.target._lazysizesParentFit&&delete e.target._lazysizesParentFit})))}}),!0),t.documentElement.addEventListener("lazybeforesizes",(function(e){var t,i;!e.defaultPrevented&&e.target._lazybgset&&e.detail.instance==a&&(e.detail.width=(t=e.target._lazybgset,i=a.gW(t,t.parentNode),(!t._lazysizesWidth||i>t._lazysizesWidth)&&(t._lazysizesWidth=i),t._lazysizesWidth))}))}}));
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/superfish.js?ver=1.0.0 
!function(e,n){"use strict";var t,o,i,s,a,r,l,p,h,f,c,u,d,v,m,y,w,T,C=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library,S=(o="sf-breadcrumb",i="sf-js-enabled",s="sf-with-ul",a="sf-arrows",r=function(){var n=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent);return n&&e("html").css("cursor","pointer").on("click",e.noop),n}(),l="behavior"in(t=document.documentElement.style)&&"fill"in t&&/iemobile/i.test(navigator.userAgent),p=!!n.PointerEvent,h=[],f=function(e,n,t){var o=i;n.cssArrows&&(o+=" "+a),e[t?"addClass":"removeClass"](o)},c=function(e,n){var t=n?"addClass":"removeClass";e.children("a")[t](s)},u=function(e){var n=e[0].style.msTouchAction,t=e[0].style.touchAction;t="pan-y"===(t=t||n)?"auto":"pan-y",e[0].style.msTouchAction=t,e[0].style.touchAction=t},d=function(e){return e.closest("."+i)},v=function(e){return d(e).data("sfOptions")},m=function(){var n=e(this),t=v(n);clearTimeout(t.sfTimer),n.siblings().superfish("hide").end().superfish("show")},y=function(n){n.retainPath=e.inArray(this[0],n.$path)>-1,this.superfish("hide"),this.parents("."+n.hoverClass).length||(n.onIdle.call(d(this)),n.$path.length&&e.proxy(m,n.$path)())},w=function(){var n=e(this),t=v(n);r?e.proxy(y,n,t)():(clearTimeout(t.sfTimer),t.sfTimer=setTimeout(e.proxy(y,n,t),t.delay))},T=function(n){var t=e(this),o=v(t),i=t.siblings(n.data.popUpSelector);if(!1===o.onHandleTouch.call(i))return this;i.length>0&&i.is(":hidden")&&(t.one("click.superfish",!1),"MSPointerDown"===n.type||"pointerdown"===n.type?t.trigger("focus"):e.proxy(m,t.parent("li"))())},{hide:function(n){if(this.length){var t=v(this);if(!t)return this;var o=!0===t.retainPath?t.$path:"",i=this.find("li."+t.hoverClass).add(this).not(o).removeClass(t.hoverClass).children(t.popUpSelector),s=t.speedOut;if(n){var a=!("object"!=typeof jnews||"object"!=typeof jnews.library)&&jnews.library;a&&a.forEach(i,(function(e,n){e.style.display=0})),s=0}if(t.retainPath=!1,!1===t.onBeforeHide.call(i,h))return this;"slide"===t.animationType?i.stop(!0,!0).fadeOut(t.animationOut,(function(){var n=e(this);t.onHide.call(n)})):"fade"===t.animationType?i.stop(!0,!0).fadeOut(t.animationOut,(function(){var n=e(this);t.onHide.call(n)})):"animateTransform"===t.animationType?i.stop(!0,!0).hide(0,(function(){var n=e(this);t.onHide.call(n)})):"none"===t.animationType?i.stop(!0,!0).hide(0,(function(){var n=e(this);t.onShow.call(n,h)})):i.stop(!0,!0).animate(t.animationOut,s,(function(){var n=e(this);t.onHide.call(n)}))}return this},show:function(){var n=v(this);if(!n)return this;var t=this.addClass(n.hoverClass).children(n.popUpSelector);return!1===n.onBeforeShow.call(t)||("slide"===n.animationType?t.stop(!0,!0).slideDown(n.speed,(function(){var t=e(this);n.onShow.call(t,h)})):"fade"===n.animationType?t.stop(!0,!0).fadeIn(n.speed,(function(){var t=e(this);n.onShow.call(t,h)})):"animateTransform"===n.animationType?t.stop(!0,!0).css({display:"block",transform:"translate(0, -10px)",opacity:0}).transition({opacity:1,y:0},n.speed,"ease",(function(){var t=e(this);n.onShow.call(t,h)})):"none"===n.animationType?t.stop(!0,!0).show(0,(function(){var t=e(this);n.onShow.call(t,h)})):t.stop(!0,!0).animate(n.animation,n.speed,(function(){n.onShow.call(t,h)}))),this},destroy:function(){return this.each((function(){var n,t=e(this),i=t.data("sfOptions");if(!i)return!1;n=t.find(i.popUpSelector).parent("li"),clearTimeout(i.sfTimer),f(t,i),c(n),u(t),t.off(".superfish").off(".hoverIntent"),n.children(i.popUpSelector).attr("style",(function(e,n){return n.replace(/display[^;]+;?/g,"")})),i.$path.removeClass(i.hoverClass+" "+o).addClass(i.pathClass),t.find("."+i.hoverClass).removeClass(i.hoverClass),i.onDestroy.call(t),t.removeData("sfOptions")}))},init:function(n){return this.each((function(){var t=this;C&&C.requestAnimationFrame.call(C.win,(function(){var i=e(t);if(i.data("sfOptions"))return!1;var s=e.extend({},e.fn.superfish.defaults,n),a=i.find(s.popUpSelector).parent("li");s.$path=function(n,t){return n.find("li."+t.pathClass).slice(0,t.pathLevels).addClass(t.hoverClass+" "+o).filter((function(){return e(this).children(t.popUpSelector).hide().show().length})).removeClass(t.pathClass)}(i,s),i.data("sfOptions",s),f(i,s,!0),c(a,!0),u(i),function(n,t){var o="li:has("+t.popUpSelector+")";e.fn.hoverIntent&&!t.disableHI?n.hoverIntent(m,w,o):n.on("mouseenter.superfish",o,m).on("mouseleave.superfish",o,w);var i="MSPointerDown.superfish";p&&(i="pointerdown.superfish"),r||(i+=" touchend.superfish"),l&&(i+=" mousedown.superfish"),n.on("focusin.superfish","li",m).on("focusout.superfish","li",w).on(i,"a",t,T)}(i,s),a.not("."+o).superfish("hide",!0),s.onInit.call(t)}))}))}});e.fn.superfish=function(n,t){return S[n]?S[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?e.error("Method "+n+" does not exist on jQuery.fn.superfish"):S.init.apply(this,arguments)},e.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animationType:"animate",animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:e.noop,onBeforeShow:e.noop,onShow:e.noop,onBeforeHide:e.noop,onHide:e.noop,onIdle:e.noop,onDestroy:e.noop,onHandleTouch:e.noop}}(jQuery,window);
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/theia-sticky-sidebar.js?ver=1.0.0 
/*!
 * Theia Sticky Sidebar v1.3.0
 * https://github.com/WeCodePixels/theia-sticky-sidebar
 *
 * Glues your website's sidebars, making them permanently visible while scrolling.
 *
 * Copyright 2013-2014 WeCodePixels and other contributors
 * Released under the MIT license
 */
!function(i){"use strict";i.fn.theiaStickySidebar=function(t){(t=i.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,sidebarBehavior:"modern",wrap:"",exclude:".elementor-element-overlay, .ui-resizable-handle",active:!0},t)).additionalMarginTop=parseInt(t.additionalMarginTop)||0,t.additionalMarginBottom=parseInt(t.additionalMarginBottom)||0;var o=t.additionalMarginTop;function e(t,e){return!0===t.initialized||!(i("body").width()<t.minWidth)&&(function(t,e){t.initialized=!0,i("head").append(i('<style>.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>')),e.each((function(){var e={};e.sidebar=i(this),e.options=t||{},e.container=i(e.options.containerSelector),0==e.container.length&&(e.container=e.sidebar.parent()),e.sidebar.parents().css("-webkit-transform","none"),e.sidebar.css({position:"relative",overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),e.stickySidebar=e.sidebar.find(".theiaStickySidebar"),0==e.stickySidebar.length&&(e.sidebar.find("script").remove(),e.stickySidebar=i("<div>").addClass("theiaStickySidebar"),i(e.sidebar.children(t.wrap)).each((function(o,a){i(a).is(t.exclude)||e.stickySidebar.append(a)})),e.sidebar.append(i("<div>").addClass("jegStickyHolder").append(e.stickySidebar))),e.marginTop=parseInt(e.sidebar.css("margin-top")),e.marginBottom=parseInt(e.sidebar.css("margin-bottom")),e.paddingTop=parseInt(e.sidebar.css("padding-top")),e.paddingBottom=parseInt(e.sidebar.css("padding-bottom"));var a=e.stickySidebar.offset().top,n=e.stickySidebar.outerHeight();function d(){e.fixedScrollTop=0,e.sidebar.css({"min-height":"1px"}),e.stickySidebar.css({position:"static",width:""})}function r(t){var o=t.height();return t.children().each((function(){o=Math.max(o,i(this).height())})),o}e.stickySidebar.css("padding-top",1),e.stickySidebar.css("padding-bottom",1),a-=e.stickySidebar.offset().top,n=e.stickySidebar.outerHeight()-n-a,0==a?(e.stickySidebar.css("padding-top",0),e.stickySidebarPaddingTop=0):e.stickySidebarPaddingTop=1,0==n?(e.stickySidebar.css("padding-bottom",0),e.stickySidebarPaddingBottom=0):e.stickySidebarPaddingBottom=1,e.previousScrollTop=null,e.fixedScrollTop=0,d(),e.onScroll=function(o){if(t.active){if(!o.stickySidebar.is(":visible"))return;if(i("body").width()<o.options.minWidth)return void d();if(o.sidebar.outerWidth(!0)+50>o.container.width())return void d();var e=i(document).scrollTop(),a="static";if(e>=o.container.offset().top+(o.paddingTop+o.marginTop-o.options.additionalMarginTop)){var n,s=o.paddingTop+o.marginTop+t.additionalMarginTop,c=o.paddingBottom+o.marginBottom+t.additionalMarginBottom,p=o.container.offset().top,b=o.container.offset().top+r(o.container),l=0+t.additionalMarginTop;n=o.stickySidebar.outerHeight()+s+c<i(window).height()?l+o.stickySidebar.outerHeight():i(window).height()-o.marginBottom-o.paddingBottom-t.additionalMarginBottom;var g=p-e+o.paddingTop+o.marginTop,h=b-e-o.paddingBottom-o.marginBottom,f=o.stickySidebar.offset().top-e,S=o.previousScrollTop-e;"fixed"==o.stickySidebar.css("position")&&"modern"==o.options.sidebarBehavior&&(f+=S),"legacy"==o.options.sidebarBehavior&&(f=n-o.stickySidebar.outerHeight(),f=Math.max(f,n-o.stickySidebar.outerHeight())),f=S>0?Math.min(f,l):Math.max(f,n-o.stickySidebar.outerHeight()),f=Math.max(f,g),f=Math.min(f,h-o.stickySidebar.outerHeight());var u=o.container.height()==o.stickySidebar.outerHeight();a=(u||f!=l)&&(u||f!=n-o.stickySidebar.outerHeight())?e+f-o.sidebar.offset().top-o.paddingTop<=t.additionalMarginTop?"static":"absolute":"fixed"}}else a="static";if("fixed"==a)o.stickySidebar.css({position:"fixed",width:o.sidebar.width(),top:f,left:o.sidebar.offset().left+parseInt(o.sidebar.css("padding-left"))});else if("absolute"==a){var m={};"absolute"!=o.stickySidebar.css("position")&&(m.position="absolute",m.top=e+f-o.sidebar.offset().top-o.stickySidebarPaddingTop-o.stickySidebarPaddingBottom),m.width=o.sidebar.width(),m.left="",o.stickySidebar.css(m)}else"static"==a&&d();"static"!=a&&1==o.options.updateSidebarHeight&&o.sidebar.css({"min-height":o.stickySidebar.outerHeight()+o.stickySidebar.offset().top-o.sidebar.offset().top+o.paddingBottom}),o.previousScrollTop=e},e.onScroll(e),i(document).on("scroll",function(i){return function(){i.onScroll(i)}}(e)),i(window).on("resize",function(i){return function(){i.stickySidebar.css({position:"static"}),i.onScroll(i)}}(e)),i(window).on("jnews_additional_sticky_margin",(function(i,a){t.additionalMarginTop=a+o,e.options.additionalMarginTop=a+o}))}))}(t,e),!0)}!function(t,o){var a=e(t,o);a||(console.log("TST: Body width smaller than options.minWidth. Init is delayed."),i(document).scroll(function(t,o){return function(a){e(t,o)&&i(this).off(a)}}(t,o)),i(window).on("resize",function(t,o){return function(a){e(t,o)&&i(this).off(a)}}(t,o)))}(t,this),i(this).on("theiaStickySidebarDeactivate",(function(){t.active=!1})),i(this).on("theiaStickySidebarActivate",(function(){t.active=!0}))}}(jQuery);
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.waypoints.js?ver=1.0.0 
/*!
 Waypoints - 4.0.1
 Copyright © 2011-2016 Caleb Troughton
 Licensed under the MIT license.
 https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
 */
!function(){"use strict";var t=0,e={};function i(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=i.Adapter.extend({},i.defaults,o),this.element=this.options.element,this.adapter=new i.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=i.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=i.Context.findOrCreateByElement(this.options.context),i.offsetAliases[this.options.offset]&&(this.options.offset=i.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),e[this.key]=this,t+=1}i.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},i.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},i.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete e[this.key]},i.prototype.disable=function(){return this.enabled=!1,this},i.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},i.prototype.next=function(){return this.group.next(this)},i.prototype.previous=function(){return this.group.previous(this)},i.invokeAll=function(t){var i=[];for(var o in e)i.push(e[o]);for(var n=0,r=i.length;n<r;n++)i[n][t]()},i.destroyAll=function(){i.invokeAll("destroy")},i.disableAll=function(){i.invokeAll("disable")},i.enableAll=function(){for(var t in i.Context.refreshAll(),e)e[t].enabled=!0;return this},i.refreshAll=function(){i.Context.refreshAll()},i.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},i.viewportWidth=function(){return document.documentElement.clientWidth},i.adapters=[],i.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},i.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=i}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}var e=0,i={},o=window.Waypoint,n=window.onload;function r(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+e,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,e+=1,o.windowContext||(o.windowContext=!0,o.windowContext=new r(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}r.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},r.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),o=this.element==this.element.window;t&&e&&!o&&(this.adapter.off(".waypoints"),delete i[this.key])},r.prototype.createThrottledResizeHandler=function(){var t=this;function e(){t.handleResize(),t.didResize=!1}this.adapter.on("resize.waypoints",(function(){t.didResize||(t.didResize=!0,o.requestAnimationFrame(e))}))},r.prototype.createThrottledScrollHandler=function(){var t=this;function e(){t.handleScroll(),t.didScroll=!1}this.adapter.on("scroll.waypoints",(function(){t.didScroll&&!o.isTouch||(t.didScroll=!0,o.requestAnimationFrame(e))}))},r.prototype.handleResize=function(){o.Context.refreshAll()},r.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll?o.forward:o.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r];if(null!==s.triggerPoint){var a=o.oldScroll<s.triggerPoint,l=o.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(n),t[s.group.id]=s.group)}}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},r.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},r.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},r.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},r.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;o<n;o++)t[o].destroy()},r.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),n={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,c,u=this.waypoints[r][a],d=u.options.offset,f=u.triggerPoint,w=0,y=null==f;u.element!==u.element.window&&(w=u.adapter.offset()[s.offsetProp]),"function"==typeof d?d=d.apply(u):"string"==typeof d&&(d=parseFloat(d),u.options.offset.indexOf("%")>-1&&(d=Math.ceil(s.contextDimension*d/100))),l=s.contextScroll-s.contextOffset,u.triggerPoint=Math.floor(w+l-d),h=f<s.oldScroll,p=u.triggerPoint>=s.oldScroll,c=!h&&!p,!y&&(h&&p)?(u.queueTrigger(s.backward),n[u.group.id]=u.group):(!y&&c||y&&s.oldScroll>=u.triggerPoint)&&(u.queueTrigger(s.forward),n[u.group.id]=u.group)}}return o.requestAnimationFrame((function(){for(var t in n)n[t].flushTriggers()})),this},r.findOrCreateByElement=function(t){return r.findByElement(t)||new r(t)},r.refreshAll=function(){for(var t in i)i[t].refresh()},r.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){n&&n(),r.refreshAll()},o.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},o.Context=r}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}var i={vertical:{},horizontal:{}},o=window.Waypoint;function n(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}n.prototype.add=function(t){this.waypoints.push(t)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;r<s;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},n.prototype.previous=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},n.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},n.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(t){return i[t.axis][t.name]||new n(t)},o.Group=n}(),function(){"use strict";var t=window.jQuery,e=window.Waypoint;function i(e){this.$element=t(e)}t.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(t,e){i.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}})),t.each(["extend","inArray","isEmptyObject"],(function(e,o){i[o]=t[o]})),e.adapters.push({name:"jquery",Adapter:i}),e.Adapter=i}(),function(){"use strict";var t=window.Waypoint;function e(e){return function(){var i=[],o=arguments[0];return"function"==typeof arguments[0]&&((o=e.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var n=e.extend({},o,{element:this});"string"==typeof n.context&&(n.context=e(this).closest(n.context)[0]),i.push(new t(n))})),i}}window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}();
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.scrollTo.js?ver=1.0.0 
/*!
 * jQuery.scrollTo
 * Copyright (c) 2007-2015 Ariel Flesler - aflesler
 * Licensed under MIT
 * @projectDescription Lightweight, cross-browser and highly customizable animated scrolling with jQuery
 * @author Ariel Flesler
 * @version 2.1.2
 */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}((function(e){"use strict";var t=e.scrollTo=function(t,o,n){return e(window).scrollTo(t,o,n)};function o(t){return!t.nodeName||-1!==e.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])}function n(t){return"function"==typeof t||e.isPlainObject(t)?t:{top:t,left:t}}return t.defaults={axis:"xy",duration:0,limit:!0},e.fn.scrollTo=function(r,i,s){"object"==typeof i&&(s=i,i=0),"function"==typeof s&&(s={onAfter:s}),"max"===r&&(r=9e9),s=e.extend({},t.defaults,s),i=i||s.duration;var f=s.queue&&s.axis.length>1;return f&&(i/=2),s.offset=n(s.offset),s.over=n(s.over),this.each((function(){if(null!==r){var a,u=o(this),c=u?this.contentWindow||window:this,l=e(c),d=r,m={};switch(typeof d){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(d)){d=n(d);break}d=u?e(d):e(d,c);case"object":if(0===d.length)return;(d.is||d.style)&&(a=(d=e(d)).offset())}var p="function"==typeof s.offset&&s.offset(c,d)||s.offset;e.each(s.axis.split(""),(function(e,o){var n="x"===o?"Left":"Top",r=n.toLowerCase(),i="scroll"+n,x=l[i](),v=t.max(c,o);if(a)m[i]=a[r]+(u?0:x-l.offset()[r]),s.margin&&(m[i]-=parseInt(d.css("margin"+n),10)||0,m[i]-=parseInt(d.css("border"+n+"Width"),10)||0),m[i]+=p[r]||0,s.over[r]&&(m[i]+=d["x"===o?"width":"height"]()*s.over[r]);else{var y=d[r];m[i]=y.slice&&"%"===y.slice(-1)?parseFloat(y)/100*v:y}s.limit&&/^\d+$/.test(m[i])&&(m[i]=m[i]<=0?0:Math.min(m[i],v)),!e&&s.axis.length>1&&(x===m[i]?m={}:f&&(h(s.onAfterFirst),m={}))})),h(s.onAfter)}function h(t){var o=e.extend({},s,{queue:!0,duration:i,complete:t&&function(){t.call(c,d,s)}});l.animate(m,o)}}))},t.max=function(t,n){var r="x"===n?"Width":"Height",i="scroll"+r;if(!o(t))return t[i]-e(t)[r.toLowerCase()]();var s="client"+r,f=t.ownerDocument||t.document,a=f.documentElement,u=f.body;return Math.max(a[i],u[i])-Math.min(a[s],u[s])},e.Tween.propHooks.scrollLeft=e.Tween.propHooks.scrollTop={get:function(t){return e(t.elem)[t.prop]()},set:function(t){var o=this.get(t);if(t.options.interrupt&&t._last&&t._last!==o)return e(t.elem).stop();var n=Math.round(t.now);o!==n&&(e(t.elem)[t.prop](n),t._last=this.get(t))}},t}));
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.parallax.js?ver=1.0.0 
!function(n){var t=n(window),o=t.height();t.on("resize",(function(){o=t.height()})),n.fn.parallax=function(e,i,r){var u,h,l=n(this);function c(){var r=t.scrollTop();l.each((function(){var t=n(this),c=t.offset().top;c+u(t)<r||c>r+o||l.css("backgroundPosition",e+" "+Math.round((h-r)*i)+"px")}))}l.each((function(){h=l.offset().top})),u=r?function(n){return n.outerHeight(!0)}:function(n){return n.height()},(arguments.length<1||null===e)&&(e="50%"),(arguments.length<2||null===i)&&(i=.1),(arguments.length<3||null===r)&&(r=!0),t.on("scroll",c).on("resize",c),c()}}(jQuery);
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.okayNav.js?ver=1.0.0 
/*!
 * jquery.okayNav.js 2.0.4 (https://github.com/VPenkov/okayNav)
 * Author: Vergil Penkov (http://vergilpenkov.com/)
 * MIT license: https://opensource.org/licenses/MIT
 */
!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(i,e){return void 0===e&&(e="undefined"!=typeof window?require("jquery"):require("jquery")(i)),n(e),e}:n(jQuery)}((function(n){var i=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library,e="okayNav",t={parent:"",toggle_icon_class:"okayNav__menu-toggle",toggle_icon_content:"<span /><span /><span />",align_right:!0,swipe_enabled:!0,threshold:50,resize_delay:10,beforeOpen:function(){},afterOpen:function(){},beforeClose:function(){},afterClose:function(){},itemHidden:function(){},itemDisplayed:function(){}};function o(e,o){var a=this;a.options=n.extend({},t,o),a.navigation=n(e),a.document=n(document),a.window=n(window),""==a.options.parent&&(this.options.parent=this.navigation.parent()),a.nav_open=!1,a.parent_full_width=0,a.radCoef=180/Math.PI,a.sTouch={x:0,y:0},a.cTouch={x:0,y:0},a.sTime=0,a.nav_position=0,a.percent_open=0,a.nav_moving=!1,i&&(a.jnewsLibrary=i,a.init())}o.prototype={init:function(){var i=this;n("body").addClass("okayNav-loaded"),i.navigation.addClass("okayNav loaded").children("ul").addClass("okayNav__nav--visible"),i.options.align_right?i.navigation.append('<ul class="okayNav__nav--invisible transition-enabled nav-right" />').append('<a href="#" aria-label="Show all Category" class="'+i.options.toggle_icon_class+' okay-invisible">'+i.options.toggle_icon_content+"</a>"):i.navigation.prepend('<ul class="okayNav__nav--invisible transition-enabled nav-left" />').prepend('<a href="#" class="'+i.options.toggle_icon_class+' okay-invisible">'+i.options.toggle_icon_content+"</a>"),i.nav_visible=i.navigation.children(".okayNav__nav--visible"),i.nav_invisible=i.navigation.children(".okayNav__nav--invisible"),i.toggle_icon=i.navigation.children("."+i.options.toggle_icon_class),i.toggle_icon_width=i.toggle_icon.outerWidth(!0),i.default_width=i.getChildrenWidth(i.navigation),i.parent_full_width=n(i.options.parent).outerWidth(!0),i.last_visible_child_width=0,i.initEvents(),i.nav_visible.contents().filter((function(){return this.nodeType=Node.TEXT_NODE&&!1===/\S/.test(this.nodeValue)})).remove(),1==i.options.swipe_enabled&&i.initSwipeEvents()},initEvents:function(){var i=this;i.options.parent.on("click.okayNav",(function(e){var t=n(e.target);!0===i.nav_open&&0==t.closest(".okayNav").length&&i.closeInvisibleNav(),t.hasClass(i.options.toggle_icon_class)&&(e.preventDefault(),i.toggleInvisibleNav())})),n(document).on("mouseup.okayNav",(function(e){n(e.target);!n(e.target).parents(".okayNav").length>0&&i.closeInvisibleNav()}));var e=i._debounce((function(){i.recalcNav()}),i.options.recalc_delay);i.window.on("load.okayNav ready.okayNav resize.okayNav",e),n(document).on("ready.okayNav",e),e()},initSwipeEvents:function(){var i=this;i.document.on("touchstart.okayNav",(function(e){if(i.nav_invisible.removeClass("transition-enabled"),1==e.originalEvent.touches.length){var t=e.originalEvent.touches[0];(t.pageX<25&&0==i.options.align_right||t.pageX>n(i.options.parent).outerWidth(!0)-25&&1==i.options.align_right||!0===i.nav_open)&&(i.sTouch.x=i.cTouch.x=t.pageX,i.sTouch.y=i.cTouch.y=t.pageY,i.sTime=Date.now())}})).on("touchmove.okayNav",(function(n){var e=n.originalEvent.touches[0];i._triggerMove(e.pageX,e.pageY),i.nav_moving=!0})).on("touchend.okayNav",(function(n){i.sTouch={x:0,y:0},i.cTouch={x:0,y:0},i.sTime=0,i.percent_open>100-i.options.threshold?(i.nav_position=0,i.closeInvisibleNav()):1==i.nav_moving&&(i.nav_position=i.nav_invisible.width(),i.openInvisibleNav()),i.nav_moving=!1,i.nav_invisible.addClass("transition-enabled")}))},_getDirection:function(n){return this.options.align_right?n>0?-1:1:n<0?-1:1},_triggerMove:function(n,i){var e=this;e.cTouch.x=n,e.cTouch.y=i;var t=Date.now(),o=e.cTouch.x-e.sTouch.x,a=e.cTouch.y-e.sTouch.y,s=a*a,l=Math.sqrt(o*o+s),v=Math.sqrt(s),r=Math.asin(Math.sin(v/l))*e.radCoef;e.sTime;if(e.sTouch.x=n,e.sTouch.y=i,r<20){var c=e._getDirection(o),d=e.nav_position+c*l,p=e.nav_invisible.width(),u=0;d<0?u=-d:d>p&&(u=p-d);var _=(p-(e.nav_position+c*l+u))/p*100;e.nav_position+=c*l+u,e.percent_open=_}},getParent:function(){return this.options.parent},getVisibleNav:function(){return this.nav_visible},getInvisibleNav:function(){return this.nav_invisible},getNavToggleIcon:function(){return this.toggle_icon},_debounce:function(n,i,e){var t,o=this;return function(){var i=this,a=arguments,s=e&&!t;t&&o.jnewsLibrary.cancelAnimationFrame.call(o.jnewsLibrary.win,t),t=o.jnewsLibrary.requestAnimationFrame.call(o.jnewsLibrary.win,(function(){t&&o.jnewsLibrary.cancelAnimationFrame.call(o.jnewsLibrary.win,t),e||n.apply(i,a)})),s&&n.apply(i,a)}},openInvisibleNav:function(){var n=this;n.options.enable_swipe||n.options.beforeOpen.call(),n.toggle_icon.addClass("icon--active"),n.nav_invisible.addClass("nav-open"),n.nav_open=!0,n.options.afterOpen.call()},closeInvisibleNav:function(){var n=this;n.options.enable_swipe||n.options.beforeClose.call(),n.toggle_icon.removeClass("icon--active"),n.nav_invisible.removeClass("nav-open"),n.nav_open=!1,n.options.afterClose.call()},toggleInvisibleNav:function(){var n=this;n.nav_open?n.closeInvisibleNav():n.openInvisibleNav()},getChildrenWidth:function(i){for(var e=0,t=n(i).children(),o=0;o<t.length;o++)e+=n(t[o]).outerWidth(!0);return e},getVisibleItemCount:function(){return n("li",this.nav_visible).length},getHiddenItemCount:function(){return n("li",this.nav_invisible).length},recalcNav:function(){var i=this,e=n(i.options.parent).outerWidth(!0),t=i.getChildrenWidth(i.options.parent),o=i.navigation.outerWidth(!0),a=i.getVisibleItemCount(),s=i.nav_visible.outerWidth(!0)+i.toggle_icon_width,l=t+i.last_visible_child_width+i.toggle_icon_width;if(e>t-o+i.default_width)return i._expandAllItems(),void i.toggle_icon.addClass("okay-invisible");a>0&&o<=s&&e<=l&&i._collapseNavItem(),e>l+i.toggle_icon_width+15&&i._expandNavItem(),0==i.getHiddenItemCount()?i.toggle_icon.addClass("okay-invisible"):i.toggle_icon.removeClass("okay-invisible")},_collapseNavItem:function(){var i=this,e=n("li:last-child",i.nav_visible);i.last_visible_child_width=e.outerWidth(!0),i.document.trigger("okayNav:collapseItem",e),e.detach().prependTo(i.nav_invisible),i.options.itemHidden.call(),i.jnewsLibrary.requestAnimationFrame.call(i.jnewsLibrary.win,(function(){i.recalcNav()}))},_expandNavItem:function(){var i=this,e=n("li:first-child",i.nav_invisible);i.document.trigger("okayNav:expandItem",e),e.detach().appendTo(i.nav_visible),i.options.itemDisplayed.call()},_expandAllItems:function(){var i=this;n("li",i.nav_invisible).detach().appendTo(i.nav_visible),i.options.itemDisplayed.call()},_collapseAllItems:function(){var i=this;n("li",i.nav_visible).detach().appendTo(i.nav_invisible),i.options.itemHidden.call()},destroy:function(){var i=this;n("li",i.nav_invisible).appendTo(i.nav_visible),i.nav_invisible.remove(),i.nav_visible.removeClass("okayNav__nav--visible"),i.toggle_icon.remove(),i.document.unbind(".okayNav"),i.window.unbind(".okayNav")}},n.fn[e]=function(t){var a,s=arguments;return void 0===t||"object"==typeof t?this.each((function(){var a=this;i&&i.requestAnimationFrame.call(i.win,(function(){n.data(a,"plugin_"+e)||n.data(a,"plugin_"+e,new o(a,t))}))})):"string"==typeof t&&"_"!==t[0]&&"init"!==t?(this.each((function(){var l=this;i&&i.requestAnimationFrame.call(i.win,(function(){var i=n.data(l,"plugin_"+e);i instanceof o&&"function"==typeof i[t]&&(a=i[t].apply(i,Array.prototype.slice.call(s,1))),"destroy"===t&&n.data(l,"plugin_"+e,null)}))})),void 0!==a?a:this):void 0}}));
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.mousewheel.js?ver=1.0.0 
/*!
 * jQuery Mousewheel 3.1.12
 *
 * Copyright 2014 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}((function(e){var t,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var s=n.length;s;)e.event.fixHooks[n[--s]]=e.event.mouseHooks;var a=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=o.length;t;)this.addEventListener(o[--t],h,!1);else this.onmousewheel=h;e.data(this,"mousewheel-line-height",a.getLineHeight(this)),e.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=o.length;t;)this.removeEventListener(o[--t],h,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),n=i["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function h(n){var o,s=n||window.event,h=l.call(arguments,1),f=0,d=0,c=0,m=0,g=0;if((n=e.event.fix(s)).type="mousewheel","detail"in s&&(c=-1*s.detail),"wheelDelta"in s&&(c=s.wheelDelta),"wheelDeltaY"in s&&(c=s.wheelDeltaY),"wheelDeltaX"in s&&(d=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(d=-1*c,c=0),f=0===c?d:c,"deltaY"in s&&(f=c=-1*s.deltaY),"deltaX"in s&&(d=s.deltaX,0===c&&(f=-1*d)),0!==c||0!==d){if(1===s.deltaMode){var w=e.data(this,"mousewheel-line-height");f*=w,c*=w,d*=w}else if(2===s.deltaMode){var v=e.data(this,"mousewheel-page-height");f*=v,c*=v,d*=v}if(o=Math.max(Math.abs(c),Math.abs(d)),(!i||o<i)&&(i=o,u(s,o)&&(i/=40)),u(s,o)&&(f/=40,d/=40,c/=40),f=Math[f>=1?"floor":"ceil"](f/i),d=Math[d>=1?"floor":"ceil"](d/i),c=Math[c>=1?"floor":"ceil"](c/i),a.settings.normalizeOffset&&this.getBoundingClientRect){var p=this.getBoundingClientRect();m=n.clientX-p.left,g=n.clientY-p.top}return n.deltaX=d,n.deltaY=c,n.deltaFactor=i,n.offsetX=m,n.offsetY=g,n.deltaMode=0,h.unshift(n,f,d,c),t&&clearTimeout(t),t=setTimeout(r,200),(e.event.dispatch||e.event.handle).apply(this,h)}}function r(){i=null}function u(e,t){return a.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}));
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/modernizr-custom.js?ver=1.0.0 
/*! modernizr 3.5.0 (Custom Build) | MIT *
 * https://modernizr.com/download/?-applicationcache-audio-backgroundsize-borderimage-borderradius-boxshadow-canvas-canvastext-cssanimations-csscolumns-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-flexbox-fontface-generatedcontent-geolocation-hashchange-history-hsla-indexeddb-inlinesvg-input-inputtypes-localstorage-multiplebgs-opacity-postmessage-rgba-sessionstorage-smil-svg-svgclippaths-textshadow-video-webgl-websockets-websqldatabase-webworkers-addtest-domprefixes-hasevent-mq-prefixed-prefixes-setclasses-shiv-testallprops-testprop-teststyles !*/
!function(e,t,n){function r(e,t){return typeof e===t}function a(e){var t=C.className,n=T._config.classPrefix||"";if(E&&(t=t.baseVal),T._config.enableJSClass){var r=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(r,"$1"+n+"js$2")}T._config.enableClasses&&(t+=" "+n+e.join(" "+n),E?C.className.baseVal=t:C.className=t)}function o(e,t){if("object"==typeof e)for(var n in e)k(e,n)&&o(n,e[n]);else{var r=(e=e.toLowerCase()).split("."),i=T[r[0]];if(2==r.length&&(i=i[r[1]]),void 0!==i)return T;t="function"==typeof t?t():t,1==r.length?T[r[0]]=t:(!T[r[0]]||T[r[0]]instanceof Boolean||(T[r[0]]=new Boolean(T[r[0]])),T[r[0]][r[1]]=t),a([(t&&0!=t?"":"no-")+r.join("-")]),T._trigger(e,t)}return T}function i(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):E?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function s(e){return e.replace(/([a-z])-([a-z])/g,(function(e,t,n){return t+n.toUpperCase()})).replace(/^-/,"")}function c(e,t){return!!~(""+e).indexOf(t)}function l(e,n,r,a){var o,s,c,l,d="modernizr",u=i("div"),f=function(){var e=t.body;return e||((e=i(E?"svg":"body")).fake=!0),e}();if(parseInt(r,10))for(;r--;)(c=i("div")).id=a?a[r]:d+(r+1),u.appendChild(c);return(o=i("style")).type="text/css",o.id="s"+d,(f.fake?f:u).appendChild(o),f.appendChild(u),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(t.createTextNode(e)),u.id=d,f.fake&&(f.style.background="",f.style.overflow="hidden",l=C.style.overflow,C.style.overflow="hidden",C.appendChild(f)),s=n(u,e),f.fake?(f.parentNode.removeChild(f),C.style.overflow=l,C.offsetHeight):u.parentNode.removeChild(u),!!s}function d(e,t){return function(){return e.apply(t,arguments)}}function u(e){return e.replace(/([A-Z])/g,(function(e,t){return"-"+t.toLowerCase()})).replace(/^ms-/,"-ms-")}function f(t,n,r){var a;if("getComputedStyle"in e){a=getComputedStyle.call(e,t,n);var o=e.console;if(null!==a)r&&(a=a.getPropertyValue(r));else if(o){o[o.error?"error":"log"].call(o,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else a=!n&&t.currentStyle&&t.currentStyle[r];return a}function p(t,r){var a=t.length;if("CSS"in e&&"supports"in e.CSS){for(;a--;)if(e.CSS.supports(u(t[a]),r))return!0;return!1}if("CSSSupportsRule"in e){for(var o=[];a--;)o.push("("+u(t[a])+":"+r+")");return l("@supports ("+(o=o.join(" or "))+") { #modernizr { position: absolute; } }",(function(e){return"absolute"==f(e,null,"position")}))}return n}function m(e,t,a,o){function l(){u&&(delete V.style,delete V.modElem)}if(o=!r(o,"undefined")&&o,!r(a,"undefined")){var d=p(e,a);if(!r(d,"undefined"))return d}for(var u,f,m,g,h,v=["modernizr","tspan","samp"];!V.style&&v.length;)u=!0,V.modElem=i(v.shift()),V.style=V.modElem.style;for(m=e.length,f=0;m>f;f++)if(g=e[f],h=V.style[g],c(g,"-")&&(g=s(g)),V.style[g]!==n){if(o||r(a,"undefined"))return l(),"pfx"!=t||g;try{V.style[g]=a}catch(e){}if(V.style[g]!=h)return l(),"pfx"!=t||g}return l(),!1}function g(e,t,n,a,o){var i=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+D.join(i+" ")+i).split(" ");return r(t,"string")||r(t,"undefined")?m(s,t,a,o):function(e,t,n){var a;for(var o in e)if(e[o]in t)return!1===n?e[o]:r(a=t[e[o]],"function")?d(a,n||t):a;return!1}(s=(e+" "+_.join(i+" ")+i).split(" "),t,n)}function h(e,t){var n=e.deleteDatabase(t);n.onsuccess=function(){o("indexeddb.deletedatabase",!0)},n.onerror=function(){o("indexeddb.deletedatabase",!1)}}function v(e,t,r){return g(e,n,n,t,r)}var y=[],b=[],x={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout((function(){t(n[e])}),0)},addTest:function(e,t,n){b.push({name:e,fn:t,options:n})},addAsyncTest:function(e){b.push({name:null,fn:e})}},T=function(){};T.prototype=x,(T=new T).addTest("applicationcache","applicationCache"in e),T.addTest("geolocation","geolocation"in navigator),T.addTest("history",(function(){var t=navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone")||"file:"===location.protocol)&&(e.history&&"pushState"in e.history)})),T.addTest("postmessage","postMessage"in e),T.addTest("svg",!!t.createElementNS&&!!t.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect);var w=!1;try{w="WebSocket"in e&&2===e.WebSocket.CLOSING}catch(e){}T.addTest("websockets",w),T.addTest("localstorage",(function(){var e="modernizr";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}})),T.addTest("sessionstorage",(function(){var e="modernizr";try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){return!1}})),T.addTest("websqldatabase","openDatabase"in e),T.addTest("webworkers","Worker"in e);var S=x._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];x._prefixes=S;var C=t.documentElement,E="svg"===C.nodeName.toLowerCase();E||function(e,t){function n(){var e=g.elements;return"string"==typeof e?e.split(" "):e}function r(e){var t=m[e[f]];return t||(t={},p++,e[f]=p,m[p]=t),t}function a(e,n,a){return n||(n=t),c?n.createElement(e):(a||(a=r(n)),!(o=a.cache[e]?a.cache[e].cloneNode():u.test(e)?(a.cache[e]=a.createElem(e)).cloneNode():a.createElem(e)).canHaveChildren||d.test(e)||o.tagUrn?o:a.frag.appendChild(o));var o}function o(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return g.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/[\w\-:]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(g,t.frag)}function i(e){e||(e=t);var n=r(e);return!g.shivCSS||s||n.hasCSS||(n.hasCSS=!!function(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),c||o(e,n),e}var s,c,l=e.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f="_html5shiv",p=0,m={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",s="hidden"in e,c=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){s=!0,c=!0}}();var g={elements:l.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==l.shivCSS,supportsUnknownElements:c,shivMethods:!1!==l.shivMethods,type:"default",shivDocument:i,createElement:a,createDocumentFragment:function(e,a){if(e||(e=t),c)return e.createDocumentFragment();for(var o=(a=a||r(e)).frag.cloneNode(),i=0,s=n(),l=s.length;l>i;i++)o.createElement(s[i]);return o},addElements:function(e,t){var n=g.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),g.elements=n+" "+e,i(t)}};e.html5=g,i(t),"object"==typeof module&&module.exports&&(module.exports=g)}(void 0!==e?e:this,t);var k,P="Moz O ms Webkit",_=x._config.usePrefixes?P.toLowerCase().split(" "):[];x._domPrefixes=_,function(){var e={}.hasOwnProperty;k=r(e,"undefined")||r(e.call,"undefined")?function(e,t){return t in e&&r(e.constructor.prototype[t],"undefined")}:function(t,n){return e.call(t,n)}}(),x._l={},x.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),T.hasOwnProperty(e)&&setTimeout((function(){T._trigger(e,T[e])}),0)},x._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout((function(){var e;for(e=0;e<n.length;e++)(0,n[e])(t)}),0),delete this._l[e]}},T._q.push((function(){x.addTest=o}));var z=function(){var e=!("onblur"in t.documentElement);return function(t,r){var a;return!!t&&(r&&"string"!=typeof r||(r=i(r||"div")),!(a=(t="on"+t)in r)&&e&&(r.setAttribute||(r=i("div")),r.setAttribute(t,""),a="function"==typeof r[t],r[t]!==n&&(r[t]=n),r.removeAttribute(t)),a)}}();x.hasEvent=z,T.addTest("hashchange",(function(){return!1!==z("hashchange",e)&&(t.documentMode===n||t.documentMode>7)})),T.addTest("audio",(function(){var e=i("audio"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),t.mp3=e.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/,""),t.opus=e.canPlayType('audio/ogg; codecs="opus"')||e.canPlayType('audio/webm; codecs="opus"').replace(/^no$/,""),t.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),t.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(e){}return t})),T.addTest("canvas",(function(){var e=i("canvas");return!(!e.getContext||!e.getContext("2d"))})),T.addTest("canvastext",(function(){return!1!==T.canvas&&"function"==typeof i("canvas").getContext("2d").fillText})),T.addTest("video",(function(){var e=i("video"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),t.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),t.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""),t.vp9=e.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,""),t.hls=e.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,""))}catch(e){}return t})),T.addTest("webgl",(function(){var t=i("canvas"),n="probablySupportsContext"in t?"probablySupportsContext":"supportsContext";return n in t?t[n]("webgl")||t[n]("experimental-webgl"):"WebGLRenderingContext"in e})),T.addTest("cssgradients",(function(){for(var e,t="background-image:",n="",r=0,a=S.length-1;a>r;r++)e=0===r?"to ":"",n+=t+S[r]+"linear-gradient("+e+"left top, #9f9, white);";T._config.usePrefixes&&(n+=t+"-webkit-gradient(linear,left top,right bottom,from(#9f9),to(white));");var o=i("a").style;return o.cssText=n,(""+o.backgroundImage).indexOf("gradient")>-1})),T.addTest("multiplebgs",(function(){var e=i("a").style;return e.cssText="background:url(https://),url(https://),red url(https://)",/(url\s*\(.*?){3}/.test(e.background)})),T.addTest("opacity",(function(){var e=i("a").style;return e.cssText=S.join("opacity:.55;"),/^0.55$/.test(e.opacity)})),T.addTest("rgba",(function(){var e=i("a").style;return e.cssText="background-color:rgba(150,255,150,.5)",(""+e.backgroundColor).indexOf("rgba")>-1})),T.addTest("inlinesvg",(function(){var e=i("div");return e.innerHTML="<svg/>","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)}));var N=i("input"),A="autocomplete autofocus list placeholder max min multiple pattern required step".split(" "),R={};T.input=function(t){for(var n=0,r=t.length;r>n;n++)R[t[n]]=!!(t[n]in N);return R.list&&(R.list=!(!i("datalist")||!e.HTMLDataListElement)),R}(A);var $="search tel url email datetime date month week time datetime-local number range color".split(" "),M={};T.inputtypes=function(e){for(var r,a,o,i=e.length,s=0;i>s;s++)N.setAttribute("type",r=e[s]),(o="text"!==N.type&&"style"in N)&&(N.value="1)",N.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(r)&&N.style.WebkitAppearance!==n?(C.appendChild(N),o=(a=t.defaultView).getComputedStyle&&"textfield"!==a.getComputedStyle(N,null).WebkitAppearance&&0!==N.offsetHeight,C.removeChild(N)):/^(search|tel)$/.test(r)||(o=/^(url|email)$/.test(r)?N.checkValidity&&!1===N.checkValidity():"1)"!=N.value)),M[e[s]]=!!o;return M}($),T.addTest("hsla",(function(){var e=i("a").style;return e.cssText="background-color:hsla(120,40%,100%,.5)",c(e.backgroundColor,"rgba")||c(e.backgroundColor,"hsla")}));var L="CSS"in e&&"supports"in e.CSS,O="supportsCSS"in e;T.addTest("supports",L||O);var B={}.toString;T.addTest("svgclippaths",(function(){return!!t.createElementNS&&/SVGClipPath/.test(B.call(t.createElementNS("http://www.w3.org/2000/svg","clipPath")))})),T.addTest("smil",(function(){return!!t.createElementNS&&/SVGAnimate/.test(B.call(t.createElementNS("http://www.w3.org/2000/svg","animate")))}));var j=function(){var t=e.matchMedia||e.msMatchMedia;return t?function(e){var n=t(e);return n&&n.matches||!1}:function(t){var n=!1;return l("@media "+t+" { #modernizr { position: absolute; } }",(function(t){n="absolute"==(e.getComputedStyle?e.getComputedStyle(t,null):t.currentStyle).position})),n}}();x.mq=j;var F=x.testStyles=l,I=function(){var e=navigator.userAgent,t=e.match(/w(eb)?osbrowser/gi),n=e.match(/windows phone/gi)&&e.match(/iemobile\/([0-9])+/gi)&&parseFloat(RegExp.$1)>=9;return t||n}();I?T.addTest("fontface",!1):F('@font-face {font-family:"font";src:url("https://")}',(function(e,n){var r=t.getElementById("smodernizr"),a=r.sheet||r.styleSheet,o=a?a.cssRules&&a.cssRules[0]?a.cssRules[0].cssText:a.cssText||"":"",i=/src/i.test(o)&&0===o.indexOf(n.split(" ")[0]);T.addTest("fontface",i)})),F('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',(function(e){T.addTest("generatedcontent",e.offsetHeight>=6)}));var D=x._config.usePrefixes?P.split(" "):[];x._cssomPrefixes=D;var W=function(t){var r,a=S.length,o=e.CSSRule;if(void 0===o)return n;if(!t)return!1;if((r=(t=t.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in o)return"@"+t;for(var i=0;a>i;i++){var s=S[i];if(s.toUpperCase()+"_"+r in o)return"@-"+s.toLowerCase()+"-"+t}return!1};x.atRule=W;var q={elem:i("modernizr")};T._q.push((function(){delete q.elem}));var V={style:q.elem.style};T._q.unshift((function(){delete V.style}));var H=x.testProp=function(e,t,r){return m([e],n,t,r)};T.addTest("textshadow",H("textShadow","1px 1px")),x.testAllProps=g;var U=x.prefixed=function(e,t,n){return 0===e.indexOf("@")?W(e):(-1!=e.indexOf("-")&&(e=s(e)),t?g(e,t,n):g(e,"pfx"))};T.addAsyncTest((function(){var t;try{t=U("indexedDB",e)}catch(e){}if(t){var n="modernizr-"+Math.random(),r=t.open(n);r.onerror=function(){r.error&&"InvalidStateError"===r.error.name?o("indexeddb",!1):(o("indexeddb",!0),h(t,n))},r.onsuccess=function(){o("indexeddb",!0),h(t,n)}}else o("indexeddb",!1)})),x.testAllProps=v,T.addTest("cssanimations",v("animationName","a",!0)),T.addTest("backgroundsize",v("backgroundSize","100%",!0)),T.addTest("borderimage",v("borderImage","url() 1",!0)),T.addTest("borderradius",v("borderRadius","0px",!0)),function(){T.addTest("csscolumns",(function(){var e=!1,t=v("columnCount");try{(e=!!t)&&(e=new Boolean(e))}catch(e){}return e}));for(var e,t,n=["Width","Span","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","BreakBefore","BreakAfter","BreakInside"],r=0;r<n.length;r++)e=n[r].toLowerCase(),t=v("column"+n[r]),("breakbefore"===e||"breakafter"===e||"breakinside"==e)&&(t=t||v(n[r])),T.addTest("csscolumns."+e,t)}(),T.addTest("boxshadow",v("boxShadow","1px 1px",!0)),T.addTest("flexbox",v("flexBasis","1px",!0)),T.addTest("cssreflections",v("boxReflect","above",!0)),T.addTest("csstransforms",(function(){return-1===navigator.userAgent.indexOf("Android 2.")&&v("transform","scale(1)",!0)})),T.addTest("csstransforms3d",(function(){var e=!!v("perspective","1px",!0),t=T._config.usePrefixes;if(e&&(!t||"webkitPerspective"in C.style)){var n;T.supports?n="@supports (perspective: 1px)":(n="@media (transform-3d)",t&&(n+=",(-webkit-transform-3d)")),F("#modernizr{width:0;height:0}"+(n+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}"),(function(t){e=7===t.offsetWidth&&18===t.offsetHeight}))}return e})),T.addTest("csstransitions",v("transition","all",!0)),function(){var e,t,n,a,o,i;for(var s in b)if(b.hasOwnProperty(s)){if(e=[],(t=b[s]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(a=r(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)1===(i=e[o].split(".")).length?T[i[0]]=a:(!T[i[0]]||T[i[0]]instanceof Boolean||(T[i[0]]=new Boolean(T[i[0]])),T[i[0]][i[1]]=a),y.push((a?"":"no-")+i.join("-"))}}(),a(y),delete x.addTest,delete x.addAsyncTest;for(var G=0;G<T._q.length;G++)T._q[G]();e.Modernizr=T}(window,document);
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.smartresize.js?ver=1.0.0 
!function(t,i){"use strict";jQuery.fn[i]=function(t){return t?this.bind("resize",(e=t,function(){var t=this,i=arguments;u?clearTimeout(u):n&&e.apply(t,i),u=setTimeout((function(){n||e.apply(t,i),u=null}),r||50)})):this.trigger(i);var e,r,n,u}}(jQuery,"smartresize");
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/chosen.jquery.js?ver=1.0.0 
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com

Version 1.8.7
Full source at https://github.com/harvesthq/chosen
Copyright (c) 2011-2018 Harvest http://getharvest.com

MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
This file is generated by `grunt build`, do not edit it by hand.
*/
(function(){var t,e,s,i,r={}.hasOwnProperty;(i=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,s,i,r,n,o;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),o=[],s=0,i=(n=t.childNodes).length;s<i;s++)r=n[s],o.push(this.add_option(r,e,t.disabled));return o},t.prototype.add_option=function(t,e,s){if("OPTION"===t.nodeName.toUpperCase())return""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,title:t.title?t.title:void 0,selected:t.selected,disabled:!0===s?s:t.disabled,group_array_index:e,group_label:null!=e?this.parsed[e].label:null,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},t}()).select_to_array=function(t){var e,s,r,n,o;for(n=new i,s=0,r=(o=t.childNodes).length;s<r;s++)e=o[s],n.add_node(e);return n.parsed},e=function(){function t(e,s){var i,r;this.form_field=e,this.options=null!=s?s:{},this.label_click_handler=(i=this.label_click_handler,r=this,function(){return i.apply(r,arguments)}),t.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return t.prototype.set_default_values=function(){var t;return this.click_test_action=(t=this,function(e){return t.test_active_click(e)}),this.activate_action=function(t){return function(e){return t.activate_field(e)}}(this),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},t.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||t.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text},t.prototype.choice_label=function(t){return this.include_group_label_in_selected&&null!=t.group_label?"<b class='group-name'>"+this.escape_html(t.group_label)+"</b>"+t.html:t.html},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return setTimeout((e=this,function(){return e.container_mousedown()}),50)}else if(!this.active_field)return this.activate_field();var e},t.prototype.input_blur=function(t){if(!this.mouse_on_container)return this.active_field=!1,setTimeout((e=this,function(){return e.blur_test()}),100);var e},t.prototype.label_click_handler=function(t){return this.is_multiple?this.container_mousedown(t):this.activate_field()},t.prototype.results_option_build=function(t){var e,s,i,r,n,o,h;for(e="",h=0,r=0,n=(o=this.results_data).length;r<n&&(i="",""!==(i=(s=o[r]).group?this.result_add_group(s):this.result_add_option(s))&&(h++,e+=i),(null!=t?t.first:void 0)&&(s.selected&&this.is_multiple?this.choice_build(s):s.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(s))),!(h>=this.max_shown_results));r++);return e},t.prototype.result_add_option=function(t){var e,s;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),(s=document.createElement("li")).className=e.join(" "),t.style&&(s.style.cssText=t.style),s.setAttribute("data-option-array-index",t.array_index),s.innerHTML=t.highlighted_html||t.html,t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.result_add_group=function(t){var e,s;return(t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),(s=document.createElement("li")).className=e.join(" "),s.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},t.prototype.reset_single_select_options=function(){var t,e,s,i,r;for(r=[],t=0,e=(s=this.results_data).length;t<e;t++)(i=s[t]).selected?r.push(i.selected=!1):r.push(void 0);return r},t.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},t.prototype.results_search=function(t){return this.results_showing?this.winnow_results():this.results_show()},t.prototype.winnow_results=function(t){var e,s,i,r,n,o,h,l,c,_,a,u,d,p,f;for(this.no_results_clear(),_=0,e=(h=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),c=this.get_search_regex(e),i=0,r=(l=this.results_data).length;i<r;i++)(n=l[i]).search_match=!1,a=null,u=null,n.highlighted_html="",this.include_option_in_results(n)&&(n.group&&(n.group_match=!1,n.active_options=0),null!=n.group_array_index&&this.results_data[n.group_array_index]&&(0===(a=this.results_data[n.group_array_index]).active_options&&a.search_match&&(_+=1),a.active_options+=1),f=n.group?n.label:n.text,n.group&&!this.group_search||(u=this.search_string_match(f,c),n.search_match=null!=u,n.search_match&&!n.group&&(_+=1),n.search_match?(h.length&&(d=u.index,o=f.slice(0,d),s=f.slice(d,d+h.length),p=f.slice(d+h.length),n.highlighted_html=this.escape_html(o)+"<em>"+this.escape_html(s)+"</em>"+this.escape_html(p)),null!=a&&(a.group_match=!0)):null!=n.group_array_index&&this.results_data[n.group_array_index].search_match&&(n.search_match=!0)));return this.result_clear_highlight(),_<1&&h.length?(this.update_results_content(""),this.no_results(h)):(this.update_results_content(this.results_option_build()),(null!=t?t.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var e,s;return s=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(s="^"+s),e=this.case_sensitive_search?"":"i",new RegExp(s,e)},t.prototype.search_string_match=function(t,e){var s;return s=e.exec(t),!this.search_contains&&(null!=s?s[1]:void 0)&&(s.index+=1),s},t.prototype.choices_count=function(){var t,e,s;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=0,e=(s=this.form_field.options).length;t<e;t++)s[t].selected&&(this.selected_option_count+=1);return this.selected_option_count},t.prototype.choices_click=function(t){if(t.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show()},t.prototype.keydown_checker=function(t){var e,s;switch(s=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),8!==s&&this.pending_backstroke&&this.clear_backstroke(),s){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&t.preventDefault();break;case 32:this.disable_search&&t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:t.preventDefault(),this.keydown_arrow()}},t.prototype.keyup_checker=function(t){var e,s;switch(s=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),s){case 8:this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},t.prototype.clipboard_event_checker=function(t){var e;if(!this.is_disabled)return setTimeout((e=this,function(){return e.results_search()}),50)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},t.prototype.get_single_html=function(){return'<a class="chosen-single chosen-default">\n  <span>'+this.default_text+'</span>\n  <div><b></b></div>\n</a>\n<div class="chosen-drop">\n  <div class="chosen-search">\n    <input class="chosen-search-input" type="text" autocomplete="off" />\n  </div>\n  <ul class="chosen-results"></ul>\n</div>'},t.prototype.get_multi_html=function(){return'<ul class="chosen-choices">\n  <li class="search-field">\n    <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n  </li>\n</ul>\n<div class="chosen-drop">\n  <ul class="chosen-results"></ul>\n</div>'},t.prototype.get_no_results_html=function(t){return'<li class="no-results">\n  '+this.results_none_found+" <span>"+this.escape_html(t)+"</span>\n</li>"},t.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),(t=jQuery).fn.extend({chosen:function(i){return e.browser_is_supported()?this.each((function(e){var r,n;n=(r=t(this)).data("chosen"),"destroy"!==i?n instanceof s||r.data("chosen",new s(this,i)):n instanceof s&&n.destroy()})):this}}),s=function(e){function s(){return s.__super__.constructor.apply(this,arguments)}return function(t,e){for(var s in e)r.call(e,s)&&(t[s]=e[s]);function i(){this.constructor=t}i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype}(s,e),s.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},s.prototype.set_up_html=function(){var e,s;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),s={class:e.join(" "),title:this.form_field.title},this.form_field.id.length&&(s.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("<div />",s),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},s.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},s.prototype.register_observers=function(){var t;return this.container.on("touchstart.chosen",(t=this,function(e){t.container_mousedown(e)})),this.container.on("touchend.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mousedown.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("mouseup.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mouseenter.chosen",function(t){return function(e){t.mouse_enter(e)}}(this)),this.container.on("mouseleave.chosen",function(t){return function(e){t.mouse_leave(e)}}(this)),this.search_results.on("mouseup.chosen",function(t){return function(e){t.search_results_mouseup(e)}}(this)),this.search_results.on("mouseover.chosen",function(t){return function(e){t.search_results_mouseover(e)}}(this)),this.search_results.on("mouseout.chosen",function(t){return function(e){t.search_results_mouseout(e)}}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(t){return function(e){t.search_results_mousewheel(e)}}(this)),this.search_results.on("touchstart.chosen",function(t){return function(e){t.search_results_touchstart(e)}}(this)),this.search_results.on("touchmove.chosen",function(t){return function(e){t.search_results_touchmove(e)}}(this)),this.search_results.on("touchend.chosen",function(t){return function(e){t.search_results_touchend(e)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(t){return function(e){t.results_update_field(e)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(t){return function(e){t.activate_field(e)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(t){return function(e){t.close_field(e)}}(this)),this.search_field.on("blur.chosen",function(t){return function(e){t.input_blur(e)}}(this)),this.search_field.on("keyup.chosen",function(t){return function(e){t.keyup_checker(e)}}(this)),this.search_field.on("keydown.chosen",function(t){return function(e){t.keydown_checker(e)}}(this)),this.search_field.on("focus.chosen",function(t){return function(e){t.input_focus(e)}}(this)),this.search_field.on("cut.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.search_field.on("paste.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(t){return function(e){t.choices_click(e)}}(this)):this.container.on("click.chosen",(function(t){t.preventDefault()}))},s.prototype.destroy=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},s.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},s.prototype.container_mousedown=function(e){var s;if(!this.is_disabled)return!e||"mousedown"!==(s=e.type)&&"touchstart"!==s||this.results_showing||e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},s.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},s.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},s.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},s.prototype.close_field=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},s.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},s.prototype.test_active_click=function(e){var s;return(s=t(e.target).closest(".chosen-container")).length&&this.container[0]===s[0]?this.active_field=!0:this.close_field()},s.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},s.prototype.result_do_highlight=function(t){var e,s,i,r,n;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),r=(i=parseInt(this.search_results.css("maxHeight"),10))+(n=this.search_results.scrollTop()),(e=(s=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight())>=r)return this.search_results.scrollTop(e-i>0?e-i:0);if(s<n)return this.search_results.scrollTop(s)}},s.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},s.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},s.prototype.update_results_content=function(t){return this.search_results.html(t)},s.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},s.prototype.set_tab_index=function(t){var e;if(this.form_field.tabIndex)return e=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=e},s.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=t("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.on("click.chosen",this.label_click_handler)},s.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},s.prototype.search_results_mouseup=function(e){var s;if((s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return this.result_highlight=s,this.result_select(e),this.search_field.focus()},s.prototype.search_results_mouseover=function(e){var s;if(s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(s)},s.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result")||t(e.target).parents(".active-result").first())return this.result_clear_highlight()},s.prototype.choice_build=function(e){var s,i,r;return s=t("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(e)+"</span>"),e.disabled?s.addClass("search-choice-disabled"):((i=t("<a />",{class:"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",(r=this,function(t){return r.choice_destroy_link_click(t)})),s.append(i)),this.search_container.before(s)},s.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target))},s.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},s.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},s.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},s.prototype.result_select=function(t){var e,s;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),(s=this.results_data[e[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[s.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(s):this.single_set_selected_text(this.choice_label(s)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?t.metaKey||t.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[s.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},s.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},s.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},s.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},s.prototype.get_search_field_value=function(){return this.search_field.val()},s.prototype.get_search_text=function(){return t.trim(this.get_search_field_value())},s.prototype.escape_html=function(e){return t("<div/>").text(e).html()},s.prototype.winnow_results_set_highlight=function(){var t,e;if(null!=(t=(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t)},s.prototype.no_results=function(t){var e;return e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},s.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},s.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},s.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},s.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},s.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},s.prototype.search_field_scale=function(){var e,s,i,r,n,o,h;if(this.is_multiple){for(n={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},s=0,i=(o=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;s<i;s++)n[r=o[s]]=this.search_field.css(r);return(e=t("<div />").css(n)).text(this.get_search_field_value()),t("body").append(e),h=e.width()+25,e.remove(),this.container.is(":visible")&&(h=Math.min(this.container.outerWidth()-10,h)),this.search_field.width(h)}},s.prototype.trigger_form_field_change=function(t){return this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t)},s}(e)}).call(this);
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.magnific-popup.js?ver=1.0.0 
/*! Magnific Popup - v1.2.0 - 2024-06-08
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2024 Dmytro Semenov; */
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}((function(e){var t,n,i,o,r,a,s="Close",l="BeforeClose",c="MarkupParse",d="Open",p="Change",u="mfp",f="."+u,m="mfp-ready",g="mfp-removing",v="mfp-prevent-close",h=function(){},y=!!window.jQuery,w=e(window),C=function(e,n){t.ev.on(u+e+f,n)},b=function(t,n,i,o){var r=document.createElement("div");return r.className="mfp-"+t,i&&(r.innerHTML=i),o?n&&n.appendChild(r):(r=e(r),n&&r.appendTo(n)),r},x=function(e,n){t.ev.triggerHandler(u+e,n),t.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),t.st.callbacks[e]&&t.st.callbacks[e].apply(t,Array.isArray(n)?n:[n]))},I=function(n){return n===a&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),a=n),t.currTemplate.closeBtn},T=function(){e.magnificPopup.instance||((t=new h).init(),e.magnificPopup.instance=t)};h.prototype={constructor:h,init:function(){var n=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=e(document),t.popupsCache={}},open:function(n){var o;if(!1===n.isObj){t.items=n.items.toArray(),t.index=0;var a,s=n.items;for(o=0;o<s.length;o++)if((a=s[o]).parsed&&(a=a.el[0]),a===n.el[0]){t.index=o;break}}else t.items=Array.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(!t.isOpen){t.types=[],r="",n.mainEl&&n.mainEl.length?t.ev=n.mainEl.eq(0):t.ev=i,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=b("bg").on("click"+f,(function(){t.close()})),t.wrap=b("wrap").attr("tabindex",-1).on("click"+f,(function(e){t._checkIfClose(e.target)&&t.close()})),t.container=b("container",t.wrap)),t.contentContainer=b("content"),t.st.preloader&&(t.preloader=b("preloader",t.container,t.st.tLoading));var l=e.magnificPopup.modules;for(o=0;o<l.length;o++){var p=l[o];p=p.charAt(0).toUpperCase()+p.slice(1),t["init"+p].call(t)}x("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(C(c,(function(e,t,n,i){n.close_replaceWith=I(i.type)})),r+=" mfp-close-btn-in"):t.wrap.append(I())),t.st.alignTop&&(r+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:w.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:i.height(),position:"absolute"}),t.st.enableEscapeKey&&i.on("keyup"+f,(function(e){27===e.keyCode&&t.close()})),w.on("resize"+f,(function(){t.updateSize()})),t.st.closeOnContentClick||(r+=" mfp-auto-cursor"),r&&t.wrap.addClass(r);var u=t.wH=w.height(),g={};if(t.fixedContentPos&&t._hasScrollBar(u)){var v=t._getScrollbarSize();v&&(g.marginRight=v)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):g.overflow="hidden");var h=t.st.mainClass;return t.isIE7&&(h+=" mfp-ie7"),h&&t._addClassToMFP(h),t.updateItemHTML(),x("BuildControls"),e("html").css(g),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout((function(){t.content?(t._addClassToMFP(m),t._setFocus()):t.bgOverlay.addClass(m),i.on("focusin"+f,t._onFocusIn)}),16),t.isOpen=!0,t.updateSize(u),x(d),n}t.updateItemHTML()},close:function(){t.isOpen&&(x(l),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(g),setTimeout((function(){t._close()}),t.st.removalDelay)):t._close())},_close:function(){x(s);var n=g+" "+m+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var o={marginRight:""};t.isIE7?e("body, html").css("overflow",""):o.overflow="",e("html").css(o)}i.off("keyup.mfp focusin"+f),t.ev.off(f),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).trigger("focus"),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,x("AfterClose")},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;t.wrap.css("height",i),t.wH=i}else t.wH=e||w.height();t.fixedContentPos||t.wrap.css("height",t.wH),x("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var i=n.type;if(x("BeforeChange",[t.currItem?t.currItem.type:"",i]),t.currItem=n,!t.currTemplate[i]){var r=!!t.st[i]&&t.st[i].markup;x("FirstMarkupParse",r),t.currTemplate[i]=!r||e(r)}o&&o!==n.type&&t.container.removeClass("mfp-"+o+"-holder");var a=t["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,t.currTemplate[i]);t.appendContent(a,i),n.preloaded=!0,x(p,n),o=n.type,t.container.prepend(t.contentContainer),x("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[n]?t.content.find(".mfp-close").length||t.content.append(I()):t.content=e:t.content="",x("BeforeAppend"),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var i,o=t.items[n];if(o.tagName?o={el:e(o)}:(i=o.type,o={data:o,src:o.src}),o.el){for(var r=t.types,a=0;a<r.length;a++)if(o.el.hasClass("mfp-"+r[a])){i=r[a];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=i||t.st.type||"inline",o.index=n,o.parsed=!0,t.items[n]=o,x("ElementParse",o),t.items[n]},addGroup:function(e,n){var i=function(i){i.mfpEl=this,t._openClick(i,e,n)};n||(n={});var o="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(o).on(o,i)):(n.isObj=!1,n.delegate?e.off(o).on(o,n.delegate,i):(n.items=e,e.off(o).on(o,i)))},_openClick:function(n,i,o){if((void 0!==o.midClick?o.midClick:e.magnificPopup.defaults.midClick)||!(2===n.which||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey)){var r=void 0!==o.disableOn?o.disableOn:e.magnificPopup.defaults.disableOn;if(r)if("function"==typeof r){if(!r.call(t))return!0}else if(w.width()<r)return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),o.el=e(n.mfpEl),o.delegate&&(o.items=i.find(o.delegate)),t.open(o)}},updateStatus:function(e,i){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),i||"loading"!==e||(i=t.st.tLoading);var o={status:e,text:i};x("UpdateStatus",o),e=o.status,i=o.text,t.st.allowHTMLInStatusIndicator?t.preloader.html(i):t.preloader.text(i),t.preloader.find("a").on("click",(function(e){e.stopImmediatePropagation()})),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).closest("."+v).length){var i=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(i&&o)return!0;if(!t.content||e(n).closest(".mfp-close").length||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(i)return!0}else if(o&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?i.height():document.body.scrollHeight)>(e||w.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).trigger("focus")},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(n,i,o){var r;o.data&&(i=e.extend(o.data,i)),x(c,[n,i,o]),e.each(i,(function(i,o){if(void 0===o||!1===o)return!0;if((r=i.split("_")).length>1){var a=n.find(f+"-"+r[0]);if(a.length>0){var s=r[1];"replaceWith"===s?a[0]!==o[0]&&a.replaceWith(o):"img"===s?a.is("img")?a.attr("src",o):a.replaceWith(e("<img>").attr("src",o).attr("class",a.attr("class"))):a.attr(r[1],o)}}else t.st.allowHTMLInTemplate?n.find(f+"-"+i).html(o):n.find(f+"-"+i).text(o)}))},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:h.prototype,modules:[],open:function(t,n){return T(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0,allowHTMLInStatusIndicator:!1,allowHTMLInTemplate:!1}},e.fn.magnificPopup=function(n){T();var i=e(this);if("string"==typeof n)if("open"===n){var o,r=y?i.data("magnificPopup"):i[0].magnificPopup,a=parseInt(arguments[1],10)||0;r.items?o=r.items[a]:(o=i,r.delegate&&(o=o.find(r.delegate)),o=o.eq(a)),t._openClick({mfpEl:o},i,r)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),y?i.data("magnificPopup",n):i[0].magnificPopup=n,t.addGroup(i,n);return i};var k,P,_,S="inline",E=function(){_&&(P.after(_.addClass(k)).detach(),_=null)};e.magnificPopup.registerModule(S,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(S),C(s+"."+S,(function(){E()}))},getInline:function(n,i){if(E(),n.src){var o=t.st.inline,r=e(n.src);if(r.length){var a=r[0].parentNode;a&&a.tagName&&(P||(k=o.hiddenClass,P=b(k),k="mfp-"+k),_=r.after(P).detach().removeClass(k)),t.updateStatus("ready")}else t.updateStatus("error",o.tNotFound),r=e("<div>");return n.inlineElement=r,r}return t.updateStatus("ready"),t._parseMarkup(i,{},n),i}}});var z,O="ajax",M=function(){z&&e(document.body).removeClass(z)},B=function(){M(),t.req&&t.req.abort()};e.magnificPopup.registerModule(O,{options:{settings:null,cursor:"mfp-ajax-cur",tError:"The content could not be loaded."},proto:{initAjax:function(){t.types.push(O),z=t.st.ajax.cursor,C(s+"."+O,B),C("BeforeChange."+O,B)},getAjax:function(n){z&&e(document.body).addClass(z),t.updateStatus("loading");var i=e.extend({url:n.src,success:function(i,o,r){var a={data:i,xhr:r};x("ParseAjax",a),t.appendContent(e(a.data),O),n.finished=!0,M(),t._setFocus(),setTimeout((function(){t.wrap.addClass(m)}),16),t.updateStatus("ready"),x("AjaxContentAdded")},error:function(){M(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(i),""}}});var L,H=function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var n=t.st.image.titleSrc;if(n){if("function"==typeof n)return n.call(t,e);if(e.el)return e.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:"The image could not be loaded."},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image"),C(d+i,(function(){"image"===t.currItem.type&&n.cursor&&e(document.body).addClass(n.cursor)})),C(s+i,(function(){n.cursor&&e(document.body).removeClass(n.cursor),w.off("resize"+f)})),C("Resize"+i,t.resizeImage),t.isLowIE&&C("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,L&&clearInterval(L),e.isCheckingImgSize=!1,x("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],o=function(r){L&&clearInterval(L),L=setInterval((function(){i.naturalWidth>0?t._onImageHasSize(e):(n>200&&clearInterval(L),3===++n?o(10):40===n?o(50):100===n&&o(500))}),r)};o(1)},getImage:function(n,i){var o=0,r=t.st.image,a=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",r.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,x("ImageLoadComplete")):++o<200?setTimeout(s,100):a())},l=i.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",n.el&&n.el.find("img").length&&(c.alt=n.el.find("img").attr("alt")),n.img=e(c).on("load.mfploader",s).on("error.mfploader",a),c.src=n.src,l.is("img")&&(n.img=n.img.clone()),(c=n.img[0]).naturalWidth>0?n.hasSize=!0:c.width||(n.hasSize=!1)}return t._parseMarkup(i,{title:H(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(L&&clearInterval(L),n.loadError?(i.addClass("mfp-loading"),t.updateStatus("error",r.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),t.updateStatus("ready")),i):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),t.findImageSize(n)),i)}}});var A;e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,i=".zoom";if(n.enabled&&t.supportsTransition){var o,r,a=n.duration,c=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return o["-webkit-"+r]=o["-moz-"+r]=o["-o-"+r]=o[r]=i,t.css(o),t},d=function(){t.content.css("visibility","visible")};C("BuildControls"+i,(function(){if(t._allowZoom()){if(clearTimeout(o),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void d();(r=c(e)).css(t._getOffset()),t.wrap.append(r),o=setTimeout((function(){r.css(t._getOffset(!0)),o=setTimeout((function(){d(),setTimeout((function(){r.remove(),e=r=null,x("ZoomAnimationEnded")}),16)}),a)}),16)}})),C(l+i,(function(){if(t._allowZoom()){if(clearTimeout(o),t.st.removalDelay=a,!e){if(!(e=t._getItemToZoom()))return;r=c(e)}r.css(t._getOffset(!0)),t.wrap.append(r),t.content.css("visibility","hidden"),setTimeout((function(){r.css(t._getOffset())}),16)}})),C(s+i,(function(){t._allowZoom()&&(d(),r&&r.remove(),e=null)}))}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){var i,o=(i=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),r=parseInt(i.css("padding-top"),10),a=parseInt(i.css("padding-bottom"),10);o.top-=e(window).scrollTop()-r;var s={width:i.width(),height:(y?i.innerHeight():i[0].offsetHeight)-a-r};return void 0===A&&(A=void 0!==document.createElement("p").style.MozTransform),A?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});var F="iframe",j=function(e){if(t.currTemplate[F]){var n=t.currTemplate[F].find("iframe");n.length&&(e||(n[0].src="//about:blank"),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(F,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(F),C("BeforeChange",(function(e,t,n){t!==n&&(t===F?j():n===F&&j(!0))})),C(s+"."+F,(function(){j()}))},getIframe:function(n,i){var o=n.src,r=t.st.iframe;e.each(r.patterns,(function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1}));var a={};return r.srcAction&&(a[r.srcAction]=o),t._parseMarkup(i,a,n),t.updateStatus("ready"),i}}});var N=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},D=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%",langDir:null,loop:!0},proto:{initGallery:function(){var n=t.st.gallery,o=".mfp-gallery";if(t.direction=!0,!n||!n.enabled)return!1;n.langDir||(n.langDir=document.dir||"ltr"),r+=" mfp-gallery",C(d+o,(function(){n.navigateByImgClick&&t.wrap.on("click"+o,".mfp-img",(function(){if(t.items.length>1)return t.next(),!1})),i.on("keydown"+o,(function(e){37===e.keyCode?"rtl"===n.langDir?t.next():t.prev():39===e.keyCode&&("rtl"===n.langDir?t.prev():t.next())})),t.updateGalleryButtons()})),C("UpdateStatus"+o,(function(){t.updateGalleryButtons()})),C("UpdateStatus"+o,(function(e,n){n.text&&(n.text=D(n.text,t.currItem.index,t.items.length))})),C(c+o,(function(e,i,o,r){var a=t.items.length;o.counter=a>1?D(n.tCounter,r.index,a):""})),C("BuildControls"+o,(function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i,o,r,a;"rtl"===n.langDir?(i=n.tNext,o=n.tPrev,r="next",a="prev"):(i=n.tPrev,o=n.tNext,r="prev",a="next");var s=n.arrowMarkup,l=t.arrowLeft=e(s.replace(/%title%/gi,i).replace(/%action%/gi,r).replace(/%dir%/gi,"left")).addClass(v),c=t.arrowRight=e(s.replace(/%title%/gi,o).replace(/%action%/gi,a).replace(/%dir%/gi,"right")).addClass(v);"rtl"===n.langDir?(t.arrowNext=l,t.arrowPrev=c):(t.arrowNext=c,t.arrowPrev=l),l.on("click",(function(){"rtl"===n.langDir?t.next():t.prev()})),c.on("click",(function(){"rtl"===n.langDir?t.prev():t.next()})),t.container.append(l.add(c))}})),C(p+o,(function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout((function(){t.preloadNearbyImages(),t._preloadTimeout=null}),16)})),C(s+o,(function(){i.off(o),t.wrap.off("click"+o),t.arrowRight=t.arrowLeft=null}))},next:function(){var e=N(t.index+1);if(!t.st.gallery.loop&&0===e)return!1;t.direction=!0,t.index=e,t.updateItemHTML()},prev:function(){var e=t.index-1;if(!t.st.gallery.loop&&e<0)return!1;t.direction=!1,t.index=N(e),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),o=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?o:i);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?i:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=N(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),x("LazyLoad",i),"image"===i.type&&(i.img=e('<img class="mfp-img" />').on("load.mfploader",(function(){i.hasSize=!0})).on("error.mfploader",(function(){i.hasSize=!0,i.loadError=!0,x("LazyLoadError",i)})).attr("src",i.src)),i.preloaded=!0}},updateGalleryButtons:function(){t.st.gallery.loop||"object"!=typeof t.arrowPrev||null===t.arrowPrev||(0===t.index?t.arrowPrev.hide():t.arrowPrev.show(),t.index===t.items.length-1?t.arrowNext.hide():t.arrowNext.show())}}});var W="retina";e.magnificPopup.registerModule(W,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,(function(e){return"@2x"+e}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;(n=isNaN(n)?n():n)>1&&(C("ImageHasSize."+W,(function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})})),C("ElementParse."+W,(function(t,i){i.src=e.replaceSrc(i,n)})))}}}}),T()}));
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.jnewsgif.js?ver=1.0.0 
!function(a){"use strict";a.fn.jnewsgif=function(s){var i={};return s=s?a.extend(i,s):a.extend(i),a(this).each((function(){var s=a(this);s.addClass("ff-setup ff-image");var i=a('<div class="ff-overlay"><div class="ff-control">GIF</div></div>').insertBefore(s),n=a("<canvas />",{class:"ff-canvas"}).attr({width:0,height:0}).insertBefore(s);s.add(i).add(n).wrapAll(a("<div />",{class:["ff-container","ff-responsive"].join(" ")+" "+s[0].classList})),i.on("click",(function(){var s=a(this),i=a(s).siblings("canvas");a(i).hasClass("ff-canvas-active")?(a(s).removeClass("ff-container-active"),a(i).removeClass("ff-canvas-active").addClass("ff-canvas-ready")):(a(s).addClass("ff-container-active"),a(i).removeClass("ff-canvas-ready").addClass("ff-canvas-active"))})),s.imagesLoaded().progress((function(s,i){var n=a(i.img).siblings("canvas"),e="transitionend webkitTransitionEnd oTransitionEnd otransitionend",t=a(i.img).width(),f=a(i.img).height();n.attr({width:t,height:f}),n[0].getContext("2d").drawImage(a(i.img).get(0),0,0,t,f),n.addClass("ff-canvas-ready").on(e,(function(){a(this).off(e),a(i.img).addClass("ff-image-ready")}))}))}))}}(jQuery);
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.jsticky.js?ver=1.0.0 
!function(s){"use strict";s.fn.jsticky=function(o){var e={item_offset:".jeg_header",wrapper:".jeg_navbar_wrapper",state_class:".jeg_sticky_nav",mode:"scroll",use_translate3d:!0,onScrollDown:!1,onScrollUp:!1,onStickyRemoved:!1,broadcast_position:!1};return o=o?s.extend(e,o):s.extend(e),s(this).each((function(){var e,t=1==jnewsoption.admin_bar?32:0,n=0,a=0,r=0,i=s(this),l=i.outerHeight(),d=0,c=0,p=0,_=function(){1==jnewsoption.admin_bar&&(t=s(window).width()<=782&&s(window).width()>600?46:s(window).width()<=600?0:32),e=s(".sticky_blankspace").offset().top};_();s(window).on("scroll",(function(){if("normal"!==o.mode){if(c=s(this).scrollTop(),p=Math.abs(c-a),i.hasClass(o.state_class)||i.addClass("notransition"),c>a){if("scroll"===o.mode){if(c<e+l)return}else if(c<e-t)return;i.addClass(o.state_class),"scroll"===o.mode?(d=r-p)<-l&&(d=-l):"pinned"===o.mode&&p>5&&c>l+t&&(d=-l),"function"==typeof o.onScrollDown&&o.onScrollDown()}else c>e-t?(i.removeClass("notransition"),"scroll"===o.mode&&(d=r+p),("pinned"===o.mode&&p>5||d>0)&&(d=0,i.removeClass("notransition"))):(i.removeClass(o.state_class),d=0,"function"==typeof o.onStickyRemoved&&o.onStickyRemoved()),"function"==typeof o.onScrollUp&&o.onScrollUp();n=c<e-t?0:d+t,i.hasClass(o.state_class)?o.use_translate3d?i.css({"-webkit-transform":"translate3d(0px, "+n+"px, 0px)",transform:"translate3d(0px, "+n+"px, 0px)","--offset":"translate3d(0px, "+t+"px, 0px)"}):i.css({top:n+"px"}):o.use_translate3d?i.css({"-webkit-transform":"",transform:""}):i.css({top:""}),o.broadcast_position&&s(window).trigger("jnews_additional_sticky_margin",l+n),r=d,a=c}})),s(window).on("load resize",(function(){setTimeout(_,200),s("body").hasClass("jeg_sidecontent")&&s(".jeg_header_sticky .jeg_header").hasClass("normal")&&s(".jeg_header.normal .jeg_stickybar.jeg_navbar.jeg_navbar_wrapper.jeg_navbar_normal").css({"max-width":s("body").width()-340+"px"})})),s((function(){_()}))}))}}(jQuery);
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.transit.min.js?ver=1.0.0 
(function(t,e){if(typeof define==="function"&&define.amd){define(["jquery"],e)}else if(typeof exports==="object"){module.exports=e(require("jquery"))}else{e(t.jQuery)}})(this,function(t){t.transit={version:"0.9.12",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:true,useTransitionEnd:false};var e=document.createElement("div");var n={};function i(t){if(t in e.style)return t;var n=["Moz","Webkit","O","ms"];var i=t.charAt(0).toUpperCase()+t.substr(1);for(var r=0;r<n.length;++r){var s=n[r]+i;if(s in e.style){return s}}}function r(){e.style[n.transform]="";e.style[n.transform]="rotateY(90deg)";return e.style[n.transform]!==""}var s=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;n.transition=i("transition");n.transitionDelay=i("transitionDelay");n.transform=i("transform");n.transformOrigin=i("transformOrigin");n.filter=i("Filter");n.transform3d=r();var a={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"};var o=n.transitionEnd=a[n.transition]||null;for(var u in n){if(n.hasOwnProperty(u)&&typeof t.support[u]==="undefined"){t.support[u]=n[u]}}e=null;t.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeInCubic:"cubic-bezier(.550,.055,.675,.190)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};t.cssHooks["transit:transform"]={get:function(e){return t(e).data("transform")||new f},set:function(e,i){var r=i;if(!(r instanceof f)){r=new f(r)}if(n.transform==="WebkitTransform"&&!s){e.style[n.transform]=r.toString(true)}else{e.style[n.transform]=r.toString()}t(e).data("transform",r)}};t.cssHooks.transform={set:t.cssHooks["transit:transform"].set};t.cssHooks.filter={get:function(t){return t.style[n.filter]},set:function(t,e){t.style[n.filter]=e}};if(t.fn.jquery<"1.8"){t.cssHooks.transformOrigin={get:function(t){return t.style[n.transformOrigin]},set:function(t,e){t.style[n.transformOrigin]=e}};t.cssHooks.transition={get:function(t){return t.style[n.transition]},set:function(t,e){t.style[n.transition]=e}}}p("scale");p("scaleX");p("scaleY");p("translate");p("rotate");p("rotateX");p("rotateY");p("rotate3d");p("perspective");p("skewX");p("skewY");p("x",true);p("y",true);function f(t){if(typeof t==="string"){this.parse(t)}return this}f.prototype={setFromString:function(t,e){var n=typeof e==="string"?e.split(","):e.constructor===Array?e:[e];n.unshift(t);f.prototype.set.apply(this,n)},set:function(t){var e=Array.prototype.slice.apply(arguments,[1]);if(this.setter[t]){this.setter[t].apply(this,e)}else{this[t]=e.join(",")}},get:function(t){if(this.getter[t]){return this.getter[t].apply(this)}else{return this[t]||0}},setter:{rotate:function(t){this.rotate=b(t,"deg")},rotateX:function(t){this.rotateX=b(t,"deg")},rotateY:function(t){this.rotateY=b(t,"deg")},scale:function(t,e){if(e===undefined){e=t}this.scale=t+","+e},skewX:function(t){this.skewX=b(t,"deg")},skewY:function(t){this.skewY=b(t,"deg")},perspective:function(t){this.perspective=b(t,"px")},x:function(t){this.set("translate",t,null)},y:function(t){this.set("translate",null,t)},translate:function(t,e){if(this._translateX===undefined){this._translateX=0}if(this._translateY===undefined){this._translateY=0}if(t!==null&&t!==undefined){this._translateX=b(t,"px")}if(e!==null&&e!==undefined){this._translateY=b(e,"px")}this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var t=(this.scale||"1,1").split(",");if(t[0]){t[0]=parseFloat(t[0])}if(t[1]){t[1]=parseFloat(t[1])}return t[0]===t[1]?t[0]:t},rotate3d:function(){var t=(this.rotate3d||"0,0,0,0deg").split(",");for(var e=0;e<=3;++e){if(t[e]){t[e]=parseFloat(t[e])}}if(t[3]){t[3]=b(t[3],"deg")}return t}},parse:function(t){var e=this;t.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(t,n,i){e.setFromString(n,i)})},toString:function(t){var e=[];for(var i in this){if(this.hasOwnProperty(i)){if(!n.transform3d&&(i==="rotateX"||i==="rotateY"||i==="perspective"||i==="transformOrigin")){continue}if(i[0]!=="_"){if(t&&i==="scale"){e.push(i+"3d("+this[i]+",1)")}else if(t&&i==="translate"){e.push(i+"3d("+this[i]+",0)")}else{e.push(i+"("+this[i]+")")}}}}return e.join(" ")}};function c(t,e,n){if(e===true){t.queue(n)}else if(e){t.queue(e,n)}else{t.each(function(){n.call(this)})}}function l(e){var i=[];t.each(e,function(e){e=t.camelCase(e);e=t.transit.propertyMap[e]||t.cssProps[e]||e;e=h(e);if(n[e])e=h(n[e]);if(t.inArray(e,i)===-1){i.push(e)}});return i}function d(e,n,i,r){var s=l(e);if(t.cssEase[i]){i=t.cssEase[i]}var a=""+y(n)+" "+i;if(parseInt(r,10)>0){a+=" "+y(r)}var o=[];t.each(s,function(t,e){o.push(e+" "+a)});return o.join(", ")}t.fn.transition=t.fn.transit=function(e,i,r,s){var a=this;var u=0;var f=true;var l=t.extend(true,{},e);if(typeof i==="function"){s=i;i=undefined}if(typeof i==="object"){r=i.easing;u=i.delay||0;f=typeof i.queue==="undefined"?true:i.queue;s=i.complete;i=i.duration}if(typeof r==="function"){s=r;r=undefined}if(typeof l.easing!=="undefined"){r=l.easing;delete l.easing}if(typeof l.duration!=="undefined"){i=l.duration;delete l.duration}if(typeof l.complete!=="undefined"){s=l.complete;delete l.complete}if(typeof l.queue!=="undefined"){f=l.queue;delete l.queue}if(typeof l.delay!=="undefined"){u=l.delay;delete l.delay}if(typeof i==="undefined"){i=t.fx.speeds._default}if(typeof r==="undefined"){r=t.cssEase._default}i=y(i);var p=d(l,i,r,u);var h=t.transit.enabled&&n.transition;var b=h?parseInt(i,10)+parseInt(u,10):0;if(b===0){var g=function(t){a.css(l);if(s){s.apply(a)}if(t){t()}};c(a,f,g);return a}var m={};var v=function(e){var i=false;var r=function(){if(i){a.unbind(o,r)}if(b>0){a.each(function(){this.style[n.transition]=m[this]||null})}if(typeof s==="function"){s.apply(a)}if(typeof e==="function"){e()}};if(b>0&&o&&t.transit.useTransitionEnd){i=true;a.bind(o,r)}else{window.setTimeout(r,b)}a.each(function(){if(b>0){this.style[n.transition]=p}t(this).css(l)})};var z=function(t){this.offsetWidth;v(t)};c(a,f,z);return this};function p(e,i){if(!i){t.cssNumber[e]=true}t.transit.propertyMap[e]=n.transform;t.cssHooks[e]={get:function(n){var i=t(n).css("transit:transform");return i.get(e)},set:function(n,i){var r=t(n).css("transit:transform");r.setFromString(e,i);t(n).css({"transit:transform":r})}}}function h(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function b(t,e){if(typeof t==="string"&&!t.match(/^[\-0-9\.]+$/)){return t}else{return""+t+e}}function y(e){var n=e;if(typeof n==="string"&&!n.match(/^[\-0-9\.]+/)){n=t.fx.speeds[n]||t.fx.speeds._default}return b(n,"ms")}t.transit.getTransitionValue=d;return t});
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/main.js?ver=1.0.0 
!function(e){"use strict";function t(){jnews.body_inject?(jnews.body_inject.find("img").attr("data-pin-no-hover",!0),jnews.body_inject.find(".article-content img, .featured img, .thumbnail-container img").removeAttr("data-pin-no-hover")):(e("img").attr("data-pin-no-hover",!0),e(".article-content img, .featured img, .thumbnail-container img").removeAttr("data-pin-no-hover"))}function n(){var t=jnews.body_inject?jnews.body_inject.find(".jeg_fs_container"):e(".jeg_fs_container"),n=t.find(".jeg_fs_content"),a=t.find(".jeg_featured_bg"),i=t.find(".jeg_fs_scroll"),o=function(){var t=jnews.body_inject?jnews.body_inject.find(".jeg_header"):e(".jeg_header"),i=jnews.body_inject?jnews.body_inject.find(".jeg_navbar_mobile"):e(".jeg_navbar_mobile");if(n.length>0){var o=t.is(":visible")?t.outerHeight():i.outerHeight(),s=e(window).height();e(n).css({height:s-o+"px"}),e(a).css({height:s+"px"})}},s=jnews.body_inject?jnews.body_inject.find(".jeg_parallax .jeg_featured_img"):e(".jeg_parallax .jeg_featured_img");s.length&&s.each((function(){e(this).parallax("50%",.15)})),i.on("click",(function(){var t=jnews.body_inject?jnews.body_inject.find(".jeg_scroll_flag").offset().top:e(".jeg_scroll_flag").offset().top;e("html, body").animate({scrollTop:t},800)}));var r=function(){var n=e(window).scrollTop(),a=t.outerHeight(),o=1-n/a;if((jnews.body_inject?jnews.body_inject:e("body")).hasClass("jeg_single_tpl_5")){var s=1-n/a*.2;t.find(".entry-header .container").css({opacity:o,"-webkit-transform":"scale("+s+")",transform:"scale("+s+")"})}else t.find(".entry-header .container").css({opacity:o});i.css("opacity",o-.2)};"object"==typeof jnews.library&&(jnews.library.winLoad(o),jnews.library.winLoad(r)),e(window).on("resize",o),e((function(){o()})),e(window).on("scroll resize",r)}function a(){if("object"==typeof jnews.library){var e=function(){var e=jnews.library.globalBody.querySelectorAll(".ads-parallax-inner");e.length&&r.forEach(e,(function(e,t){var n=e.querySelector(".ads-parallax");if("object"==typeof n&&null!==n){var a=jnews.library.getWidth(e),i=jnews.library.getHeight(n);n.style.width=a+"px",n.style.marginTop="-"+i/2+"px"}}))};jnews.library.addEvents(jnews.library.win,{load:e,resize:e})}}function i(){var t=jnews.body_inject?jnews.body_inject.find(".jnews-cookie-law-policy"):e(".jnews-cookie-law-policy"),n=e.now(),a=void 0===jnewsoption.site_slug?"/":jnewsoption.site_slug,i=void 0===jnewsoption.site_domain?window.location.hostname:jnewsoption.site_domain;if(t.length>0){var o=function(e){for(var t=e+"=",n=document.cookie.split(";"),a=0;a<n.length;a++){for(var i=n[a];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null}("jnews_cookie_law");o?parseInt(o)<n&&t.fadeIn("slow"):t.fadeIn("slow"),t.find(".btn-cookie").on("click",(function(t){t.preventDefault();var o,s,r,l,d=e(this);o="jnews_cookie_law",s=d.data("expire"),r=n+24*s*60*60*1e3,(l=new Date).setTime(r),l.toUTCString(),document.cookie=o+"="+(r||"")+";expires="+l+";path="+a+";domain="+i,d.parent().fadeOut()}))}}function o(t){var n=jnews.body_inject?jnews.body_inject.find(".jeg_progress_container"):e(".jeg_progress_container");if(n.length>0){var a=!1,i=e(window),o=t.height(),s=.85*i.height();e(window).on("scroll",(function(){a=!0})),e(window).on("resize",(function(){o=t.height(),s=.85*i.height(),r()})),void 0!==window.progressTimer&&clearInterval(window.progressTimer),window.progressTimer=setInterval((function(){a&&(a=!1,r())}),150);var r=function(){var e=i.scrollTop(),a=t.offset().top,r=s-a+e,l=0;s>o+a?n.find(".progress-bar").width(0):(r>o?o<e-a+.2*s?(n.find(".progress-bar").css("transition","none"),n.find(".progress-bar").width(0)):(n.find(".progress-bar").css("transition","none"),n.find(".progress-bar").width("100%"),l=100):r>0&&(l=r/o*100),n.find(".progress-bar").width(l+"%"),n.find(".progress-bar").css("transition","all .12s ease-in"))}}}function s(){var s,r,d=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library,c=jnews.body_inject?jnews.body_inject:e("body"),u=c.find(".jeg_tabpost_widget"),p=c.find(".jeg_review_search"),f=c.find(".jeg_reviewbars"),g=d&&"undefined"!==d.globalBody,_=!(!g||"function"!=typeof jnews.slider)&&d.globalBody.querySelectorAll(".jeg_slider_wrapper .jeg_slider"),h=!(!g||"function"!=typeof jnews.tns)&&d.globalBody.getElementsByClassName("featured_gallery"),w=!(!g||"function"!=typeof jnews.carousel)&&d.globalBody.getElementsByClassName("jeg_postblock_carousel"),m=!(!g||"function"!=typeof jnews.overlayslider)&&d.globalBody.getElementsByClassName("jeg_overlay_slider"),j=!(!g||"function"!=typeof jnews.ticker)&&d.globalBody.getElementsByClassName("jeg_news_ticker"),v=!(!g||"function"!=typeof jnews.vidplaylist)&&d.globalBody.getElementsByClassName("jeg_video_playlist");if(u.length&&u.jtabs(),_&&_.length&&d.forEach(_,(function(e,t){d.requestAnimationFrame.call(d.win,(function(){jnews.slider({container:e,onInit:function(e){void 0!==e.nextButton&&(e.nextButton.setAttribute("aria-label","Next button"),d.addClass(e.nextButton,"tns-next")),void 0!==e.prevButton&&(e.prevButton.setAttribute("aria-label","Previous button"),d.addClass(e.prevButton,"tns-prev"))}})}))})),h&&h.length&&d.forEach(h,(function(e,t){if(!d.hasClass(e,"jeg_tns_active")){var n=jnews.tns({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",controls:!0,controlsText:["",""],nav:!0,items:1,mouseDrag:!0,autoplay:!1,autoplayTimeout:3e3,loop:!1,onInit:function(e){void 0!==e.nextButton&&(e.nextButton.setAttribute("aria-label","Next button"),d.addClass(e.nextButton,"tns-next")),void 0!==e.prevButton&&(e.prevButton.setAttribute("aria-label","Previous button"),d.addClass(e.prevButton,"tns-prev"))}});void 0!==n&&(n.events.on("dragStart",(function(e){e.event.preventDefault(),e.event.stopPropagation()})),d.addClass(e,"jeg_tns_active"),d.dataStorage.put(e,"tiny-slider",n))}})),w&&w.length&&d.forEach(w,(function(e,t){d.requestAnimationFrame.call(d.win,(function(){jnews.carousel({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",onInit:function(e){void 0!==e.nextButton&&(e.nextButton.setAttribute("aria-label","Next button"),d.addClass(e.nextButton,"tns-next")),void 0!==e.prevButton&&(e.prevButton.setAttribute("aria-label","Previous button"),d.addClass(e.prevButton,"tns-prev"))}})}))})),m&&m.length&&jnews.overlayslider({container:m[0],textDirection:1==jnewsoption.rtl?"rtl":"ltr",onInit:function(e){void 0!==e.nextButton&&(e.nextButton.setAttribute("aria-label","Next button"),d.addClass(e.nextButton,"tns-next")),void 0!==e.prevButton&&(e.prevButton.setAttribute("aria-label","Previous button"),d.addClass(e.prevButton,"tns-prev"))}}),j&&j.length&&d.forEach(j,(function(e,t){jnews.ticker({container:e})})),v&&v.length&&d.forEach(v,(function(e,t){jnews.vidplaylist({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",onInit:function(e){void 0!==e.nextButton&&(e.nextButton.setAttribute("aria-label","Next button"),d.addClass(e.nextButton,"tns-next")),void 0!==e.prevButton&&(e.prevButton.setAttribute("aria-label","Previous button"),d.addClass(e.prevButton,"tns-prev"))}})})),jnews.hero&&jnews.hero.init(),n(),e(window).width()>=768&&((s=e(".jeg_sticky_sidebar")).theiaStickySidebar({additionalMarginTop:20}),s.parents(".jeg_double_sidebar,.jeg_double_right_sidebar").length>0&&window.addEventListener("resize",(function(){window.innerWidth>=992?s.trigger("theiaStickySidebarActivate"):s.trigger("theiaStickySidebarDeactivate")})),e(window).width()>768&&(c.find(".share-float").theiaStickySidebar({additionalMarginTop:20,updateSidebarHeight:!1}),c.find(".jeg_parallax_bg").parallax("50%",.1))),f.length&&f.jskill(),function(){var t=jnews.body_inject?jnews.body_inject.find(".jscroll-to-top"):e(".jscroll-to-top");if(t.length>0){var n=function(){e(window).scrollTop()>400?t.addClass("show"):t.removeClass("show")};t.on("click",(function(){return e("html, body").animate({scrollTop:0},600),!1})),"object"==typeof jnews.library&&jnews.library.winLoad(n),e(window).on("scroll",n)}}(),e((function(){var t;(t=jnews.body_inject?jnews.body_inject.find("a[href*=\\#]:not([href=\\#])"):e("a[href*=\\#]:not([href=\\#])")).length&&t.each((function(t,n){var a=e(n);if(void 0!==a.data("vc-container")||a.hasClass("bp-primary-action")||a.hasClass("jeg_popuplink"))return!1;a.on("click",(function(t){var n=e(this).attr("href");if((n=n.split("#")).length>1){n=n[1];var a=jnews.body_inject?jnews.body_inject.find("#"+n):e("#"+n);0!==a.length&&setTimeout((function(){e("html, body").animate({scrollTop:a.offset().top},600)}),0)}}))}))})),a(),c.find("select.jnews-select-chosen:visible , .widget_categories select , .jeg_post_list_filter select , #buddypress select").chosen({disable_search_threshold:10}),e.do_media_render(c),t(),window.onYouTubeIframeAPIReady=function(){var t=c.find(".jeg_blocklink .jeg_videobg");t.length&&t.each((function(){e(this).jvideo_background()}))},jnewsoption.gif)c.find('.content-inner img[src$=".gif"]').jnewsgif();l(d.globalBody),e.facebook_page_widget(),e.twitter_widget(),e.pinterest_widget(),e(document).ajaxComplete((function(){e.twitter_widget(),e.facebook_page_widget()})),e.ajaxSetup({data:{lang:jnewsoption.language}}),i(),p.length&&p.ajax_review_search(),o(c.find(".entry-content")),e(document).on("jnews-autoload-change-id",(function(e,t){o(c.find(".post-autoload[data-id="+t+"]").find(".entry-content"))})),(r=jnews.body_inject?jnews.body_inject.find(".jnews_author_box_container"):e(".jnews_author_box_container")).length&&r.each((function(){var t=e(this);t.hasClass("author-truncate")&&t.on("click",(function(){e(this).removeClass("author-truncate")}))}));var b=e(".jeg_boxed");if(b.length>0){var y=b.find(".jeg_footer_container");if(y.hasClass("jeg_container_full")){var x=(e("body").width()-e(".jeg_viewport").width())/2*-1;x<0&&y.css({position:"absolute",left:x+"px",right:x+"px"}),e(window).on("resize",(function(){var t=(e("body").width()-e(".jeg_viewport").width())/2*-1;t<0?(y.css("position","absolute"),y.css("left",t+"px"),y.css("right",t+"px")):y.css("position","")}))}}}window.jnews=window.jnews||{},void 0===jnews.body_inject&&(window.jnews.body_inject=e("body")),e.youtube_parser=function(e){var t=e.match(/^.*(?:(?:youtu.be\/)|(?:v\/)|(?:\/u\/\w\/)|(?:embed\/)|(?:watch\?))\??&?v?=?([^#\&\?]*).*/);if(t&&11===t[1].length)return t[1];window.alert("Url Incorrect")},e.vimeo_parser=function(e){var t=e.match(/(?:(http|https)\:\/\/)(?:(?:www|player)\.)?vimeo\.com(?:\/(?:video\/(\d+)(?:$|\/))|(?:\/(\d+)(?:$|\/)))/);if(t)return t=t[2]||t[3];window.alert("not a vimeo url")},e.dailymotion_parser=function(e){var t=e.match(/(?:dailymotion\.com(?:\/video|\/hub)|dai\.ly)\/([0-9a-z]+)(?:[\-_0-9a-zA-Z]+#video=([a-z0-9]+))?/);if(t)return t[2]?t[2]:t[1];window.alert("not a dailymotion url")},e.type_video_youtube=function(t,n,a){var i=new URL(e(t).attr("data-src")),o=e.youtube_parser(i.toString()),s="",r="";s+=i.searchParams.get("start")?"start="+i.searchParams.get("start")+"&":"",s+=i.searchParams.get("end")?"end="+i.searchParams.get("end")+"&":"",a?(s+=!0===n?"autoplay=1&":"",r='<iframe width="700" height="500" src="//www.youtube.com/v/'+o+"?version=3&"+(s+=!0===a?"loop=1&playlist="+o:"")+'showinfo=0&theme=light&autohide=1&rel=0&wmode=opaque" frameborder="0" allowfullscreen></iframe>'):r='<iframe width="700" height="500" src="//www.youtube.com/embed/'+o+"?"+(s+=!0===n?"autoplay=1&":"")+'showinfo=0&theme=light&autohide=1&rel=0&wmode=opaque" frameborder="0" allowfullscreen></iframe>',e(".jeg_video_container",t).append(r)},e.type_video_vimeo=function(t,n,a){var i="";i+=!0===n?"autoplay=1&":"";var o='<iframe src="//player.vimeo.com/video/'+e.vimeo_parser(e(t).attr("data-src"))+"?"+(i+=!0===a?"loop=1&":"")+'title=0&byline=0&portrait=0" width="700" height="500" frameborder="0" mozallowfullscreen webkitallowfullscreen allowfullscreen></iframe>';e(".jeg_video_container",t).append(o)},e.type_video_dailymotion=function(t,n){var a="",i='<iframe src="//www.dailymotion.com/embed/video/'+e.dailymotion_parser(e(t).attr("data-src"))+"?"+(a+=!0===n?"autoplay=1&":"")+'ui-start-screen-info=0&ui-theme=light&queue-autoplay-next=0&queue-enable=0&sharing-enable=0&ui-logo=0" width="700" height="500" frameborder="0" mozallowfullscreen webkitallowfullscreen allowfullscreen></iframe>';e(".jeg_video_container",t).append(i)},e.type_soundcloud=function(t){var n=e(t).attr("data-src"),a='<iframe src="https://w.soundcloud.com/player/?url='+encodeURIComponent(n)+'" width="700" height="500" frameborder="0"></iframe>';e(".jeg_video_container",t).append(a)},e.type_audio=function(t){var n="",a="";""!==e(t).data("mp3")&&(n="<source type='audio/mpeg' src='"+e(t).data("mp3")+"' />"),""!==e(t).data("ogg")&&(a="<source type='audio/ogg' src='"+e(t).data("ogg")+"' />");var i="<audio preload='none' style='width: 100%; visibility: hidden;' controls='controls'>"+n+a+"</audio>";e(t).append(i);var o={};"undefined"!=typeof _wpmejsSettings&&(o=_wpmejsSettings),o.success=function(e){var t,n;"flash"===e.pluginType&&(t=e.attributes.autoplay&&"false"!==e.attributes.autoplay,n=e.attributes.loop&&"false"!==e.attributes.loop,t&&e.addEventListener("canplay",(function(){e.play()}),!1),n&&e.addEventListener("ended",(function(){e.play()}),!1))},e(t).find("audio").mediaelementplayer(o)},e.type_video_html5=function(t,n,a,i){var o=e(t).data("cover");a.pauseOtherPlayers=!1;var s="",r="",l="";""!==e(t).data("mp4")&&(s="<source type='video/mp4' src='"+e(t).data("mp4")+"' />"),""!==e(t).data("webm")&&(r="<source type='video/webm' src='"+e(t).data("webm")+"' />"),""!==e(t).data("ogg")&&(l="<source type='video/ogg' src='"+e(t).data("ogg")+"' />");var d="<video id='player' style='width:100%;height:100%;' width='100%' height='100%' poster='"+o+"' controls='controls' "+(n?"preload='auto'":"preload='none'")+">"+s+r+l+("<object width='100%' height='100%' type='application/x-shockwave-flash' data='/public/mediaelementjs/flashmediaelement.swf'><param name='movie' value='/public/mediaelementjs/flashmediaelement.swf' /><param name='flashvars' value='controls=true&file="+e(t).data("mp4")+"' /><img src='"+o+"' alt='No video playback capabilities' title='No video playback capabilities' /></object>")+"</video>";e(i,t).append(d),n&&(a.success=function(e){"flash"===e.pluginType?e.addEventListener("canplay",(function(){e.play()}),!1):e.play()}),e(t).find("video").mediaelementplayer(a)},e.do_media_render=function(t){e(t).find("[data-type='youtube']").length&&e(t).find("[data-type='youtube']").each((function(){var t=e(this).data("autoplay"),n=e(this).data("repeat");e.type_video_youtube(e(this),t,n)})),e(t).find("[data-type='vimeo']").length&&e(t).find("[data-type='vimeo']").each((function(){var t=e(this).data("autoplay"),n=e(this).data("repeat");e.type_video_vimeo(e(this),t,n)})),e(t).find("[data-type='dailymotion']").length&&e(t).find("[data-type='dailymotion']").each((function(){var t=e(this).data("autoplay");e.type_video_dailymotion(e(this),t)})),e(t).find("[data-type='soundcloud']").length&&e(t).find("[data-type='soundcloud']").each((function(){e.type_soundcloud(e(this))})),e(t).find("[data-type='audio']").length&&e(t).find("[data-type='audio']").each((function(){e.type_audio(e(this))})),e(t).find("video").length&&e(t).find("video").each((function(){e(this).parents(".elementor-background-video-container")||e(this).mediaelementplayer()}))},e.fn.jtabs=function(){e(this).each((function(){var t=e(this),n=e(".jeg_tabpost_nav li.active",t),a=function(n){var a=e(n).data("tab-content");e(".jeg_tabpost_nav li.active",t).removeClass("active"),e(n).addClass("active"),e(".jeg_tabpost_item.active",t).removeClass("active"),e('.jeg_tabpost_item[id="'+a+'"]',t).addClass("active")};if(n.length)a(n);else{var i=e(".jeg_tabpost_nav li",t).first();a(i)}e(".jeg_tabpost_nav li",t).on("click",(function(){e(this).hasClass("active")||a(this)}))}))},e.fn.jskill=function(){return e(this).each((function(){var t=e(this);t.waypoint((function(n){var a=t.find("li"),i=t.data("scoretype");t.addClass("show"),a.each((function(t){var n=e(this).find(".barbg"),a=e(this).find(".reviewscore"),o=n.attr("data-width");window.setTimeout((function(){a.prop("Counter",0).animate({Counter:o},{duration:600,easing:"swing",step:function(t){var a="";"point"===i?window.jnewsoption.jnewsReview&&window.jnewsoption.jnewsReview.enableDecimal?(a=.1*t,a=Number.isInteger(a)?a:a.toFixed(1)):a=Math.ceil(.1*t):a=Math.ceil(t)+"%",e(this).text(a),n.css("width",t+"%")}})}),250*t)})),this.destroy()}),{offset:"80%",context:window})}))},e.fn.jvideo_background=function(){function t(t){var n=function(t,n){var a,i,o=16,s=9,r=s/o,l=e(t).height(),d=e(t).width(),c=l/d,u=function(){return[a=d*r,i=d,(d-i)/2,(l-a)/2]},p=function(){return[a=l,i=l/r,(d-i)/2,(l-a)/2]},f=function(){return[a=s,i=o,(d-i)/2,(l-a)/2]};if("fit"===n)return c>r?u():p();if("zoom"===n)return c>r?p():u();if("fitNoUpscale"===n)return s>l||o>d?e.new_get_image_container_size(img,t,"fit"):f()}(t.parents(".jeg_block_container"),"zoom");t.css({height:n[0],width:n[1],left:n[2]+"px",top:n[3]+"px","max-width":"inherit"})}e(this).each((function(){var n=e(this),a=n.parent(".jeg_videowrapper"),i=n.get(0),o=n.data("youtubeid");new YT.Player(i,{width:"100%",height:"100%",videoId:o,playerVars:{playlist:o,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),t(a),jQuery(window).on("resize",(function(){t(a)}))}))},e.fn.ajax_review_search=function(){return e(this).each((function(){var t=this,n=e(t).find('input[name="action"]'),a=e(t).find('input[name="page"]'),i=e(t).find('select[name="category"]'),o=e(t).find(".search_keyword"),s=e(t).find('select[name="sort"]'),r=e(t).find(".jeg_review_search_result_holder"),l=e(t).find(".module-overlay"),d=e(t).find(".review-search-form"),c=e(t).data("id"),u=window[c],p=null,f=null,g=function(){p&&clearTimeout(p),p=setTimeout((function(){e(l).stop().fadeIn(),u.action=e(n).val(),u.keyword=e(o).val(),u.category=e(i).val(),u.sort=e(s).val(),u.page=e(a).val(),null!==f&&f.abort(),f=e.ajax({url:jnews_ajax_url,type:"post",dataType:"html",data:u,success:function(t){e(r).html(t),e(l).stop().fadeOut()}})}),250)},_=function(){e(a).val(1),g()};e(o).on("input",(function(){(e(o).val().length>2||0==e(o).val().length)&&_()})),e(i).on("change",(function(){_()})),e(s).on("change",(function(){_()})),e(t).on("click",".jeg_navigation a",(function(t){t.preventDefault(),e(a).val(e(this).data("id")),g()})),e(d).on("submit",(function(e){e.preventDefault(),_()}))}))},e.facebook_page_widget=function(){e(".fb-page").length&&(e("#facebook-jssdk").length?"undefined"!=typeof FB&&FB.XFBML.parse():e(".fb-page").waypoint({handler:function(){var t,n,a,i,o,s="&appId="+e(".fb-page").attr("data-id");t=document,n="script",a="facebook-jssdk",o=t.getElementsByTagName(n)[0],t.getElementById(a)||((i=t.createElement(n)).id=a,i.src="//connect.facebook.net/"+jnewsoption.language+"/sdk.js#xfbml=1&version=v2.8"+s,o.parentNode.insertBefore(i,o))},offset:"100%"}))},e.twitter_widget=function(){var t=jnews.body_inject?jnews.body_inject.find(".twitter-timeline"):e(".twitter-timeline"),n=!1;t.length&&t.waypoint({handler:function(){var e;n||((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="//platform.twitter.com/widgets.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(e),n=!0)},offset:"100%"})},e.pinterest_widget=function(){var t=jnews.body_inject?jnews.body_inject.find(".jeg_pinterest_widget"):e(".jeg_pinterest_widget"),n=!1;t.length&&t.waypoint({handler:function(){var e;n||((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="//assets.pinterest.com/js/pinit.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(e),n=!0)},offset:"100%"})},e((function(){s()})),e(window).on("load",(function(){if(-1!==navigator.userAgent.indexOf("MSIE")||navigator.appVersion.indexOf("Trident/")>0){var e=document.createEvent("UIEvents");e.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(e)}else window.dispatchEvent(new Event("resize"))})),e(document).on("jnews-ajax-load",(function(a,i){var o=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library;t(),n(),e.do_media_render(i),e(window).width()>=768&&(e(i).find(".jeg_sticky_sidebar").theiaStickySidebar({additionalMarginTop:20}),e(window).width()>768&&(e(i).find(".share-float").theiaStickySidebar({additionalMarginTop:20,updateSidebarHeight:!1}),e(i).find(".jeg_parallax_bg").parallax("50%",.1))),e(i).find("select:visible").chosen({disable_search_threshold:10}),o&&"undefined"!==o.globalBody&&o.forEach(i,(function(e,t){if("function"==typeof jnews.carousel){var n=e.getElementsByClassName("jeg_postblock_carousel");n.length&&o.forEach(n,(function(e,t){jnews.carousel({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",onInit:function(e){void 0!==e.nextButton&&(e.nextButton.setAttribute("aria-label","Next button"),o.addClass(e.nextButton,"tns-next")),void 0!==e.prevButton&&(e.prevButton.setAttribute("aria-label","Previous button"),o.addClass(e.prevButton,"tns-prev"))}})}))}if("function"==typeof jnews.tns){var a=e.getElementsByClassName("featured_gallery");a.length&&o.forEach(a,(function(e,t){if(!o.hasClass(e,"jeg_tns_active")){var n=jnews.tns({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",controls:!0,controlsText:["",""],nav:!0,items:1,mouseDrag:!0,autoplay:!1,autoplayTimeout:3e3,loop:!1,onInit:function(e){void 0!==e.nextButton&&(e.nextButton.setAttribute("aria-label","Next button"),o.addClass(e.nextButton,"tns-next")),void 0!==e.prevButton&&(e.prevButton.setAttribute("aria-label","Previous button"),o.addClass(e.prevButton,"tns-prev"))}});void 0!==n&&(n.events.on("dragStart",(function(e){e.event.preventDefault(),e.event.stopPropagation()})),o.addClass(e,"jeg_tns_active"),o.dataStorage.put(e,"tiny-slider",n))}}))}if("function"==typeof jnews.vidplaylist){var s=e.getElementsByClassName("jeg_video_playlist");s.length&&(o.forEach(s,(function(e,t){jnews.vidplaylist({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",onInit:function(e){void 0!==e.nextButton&&(e.nextButton.setAttribute("aria-label","Next button"),o.addClass(e.nextButton,"tns-next")),void 0!==e.prevButton&&(e.prevButton.setAttribute("aria-label","Previous button"),o.addClass(e.prevButton,"tns-prev"))}})})),setTimeout((function(){window.dispatchEvent(new Event("resize"))}),500))}if("function"==typeof jnews.slider){var r=e.querySelectorAll(".jeg_slider_wrapper .jeg_slider");r.length&&o.forEach(r,(function(e,t){jnews.slider({container:e,onInit:function(e){void 0!==e.nextButton&&(e.nextButton.setAttribute("aria-label","Next button"),o.addClass(e.nextButton,"tns-next")),void 0!==e.prevButton&&(e.prevButton.setAttribute("aria-label","Previous button"),o.addClass(e.prevButton,"tns-prev"))}})}))}"function"==typeof jnews.splitpost&&jnews.splitpost(e),o.forEach(i,(function(e,t){l(e)}))})),e(i).find('.content-inner img[src$=".gif"]').jnewsgif();var s=e(i).find(".jeg_reviewbars");s.length&&s.jskill();var r=e(i).find(".jeg_tabpost_widget");r.length&&r.jtabs(),e(i).find(".jeg_module_hook").jmodule(),jnews.widget.popular.init(i),jnews.popup.init(i),jnews.comment.init(i),jnews.mobile.truncate(),e.facebook_page_widget(),e.twitter_widget(),e.pinterest_widget()}));var r=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library;function l(e){if(r){var t=e.getElementsByClassName("jeg_preview_slider");t.length&&(r.forEach(t,(function(e,t){var n=e,a=window[n.dataset.selector];jnews.jpreviewslider(n,a)})),setTimeout((function(){r.triggerEvents(r.win,"resize")}),500))}}r&&r.addEvents(r.doc,{jnews_after_split_content_ajax:function(e){if(e.detail&&e.detail.data){var t=e.detail.data;r.forEach(t,(function(e,t){l(e)}))}}})}(jQuery),function(e){"use strict";window.jnews=window.jnews||{};var t="object"==typeof jnews&&"object"==typeof jnews.library,n=!!t&&jnews.library;void 0===jnews.body_inject&&(window.jnews.body_inject=e("body")),window.jnews.menu={newsfeed_xhr:null,search_length_word:3,search_timeout:null,search_xhr:null,init:function(a){var i=this;i.isJNewsLibrary=t,i.jnewsLibrary=!!i.isJNewsLibrary&&n,void 0===a&&(a=jnews.body_inject?jnews.body_inject:e("body")),a.find(".jeg_menu").each((function(){var t=this,n=(t=e(t)).attr("data-animation");"slide"===n?t.superfish({animationType:n,popUpSelector:"ul,.sub-menu",speed:150,animationOut:100,onShow:function(){e(this).find(".jeg_newsfeed").length&&i.mega_menu_init(this,i)}}):"animateTransform"===n?t.superfish({animationType:n,popUpSelector:"ul,.sub-menu",disableHI:!0,speed:200,delay:0,onShow:function(){e(this).find(".jeg_newsfeed").length&&i.mega_menu_init(this,i)}}):"none"===n?t.superfish({animationType:n,popUpSelector:"ul,.sub-menu",delay:0,disableHI:!0,animation:{opacity:"show"},speed:1,onShow:function(){e(this).find(".jeg_newsfeed").length&&i.mega_menu_init(this,i)}}):t.superfish({popUpSelector:"ul,.sub-menu",delay:250,speed:"fast",animation:{opacity:"show"},onShow:function(){e(this).find(".jeg_newsfeed").length&&i.mega_menu_init(this,i)}})})),i.search(a),i.multi_lang(a),i.meganav(a)},meganav:function(t){var n=t.find(".jeg_meganav_bar");n.find(".current_title").on("click",(function(){n.toggleClass("nav-open")})),e(document).on("mouseup",(function(t){n.hasClass("nav-open")&&!e(t.target).parents(".jeg_meganav_bar").length>0&&n.removeClass("nav-open")}))},search:function(e){this.search_toggle(e),this.live_search(e)},search_toggle:function(t){t.find(".jeg_search_toggle").on("click",(function(t){t.preventDefault();var n=e(this).parent(".jeg_search_wrapper"),a=e(this).parents(".jeg_container, .jeg_container_full"),i=n.hasClass("jeg_search_fullwidth_expand")?"hide_navbar_items":"";a.toggleClass("jeg_search_expanded "+i),e("i.fa",e(this)).toggleClass("fa-close fa-search"),e(".jeg_search_input",n).focus()}))},live_search:function(t){var n=this;jnewsoption.live_search&&(t.find(".jeg_search_wrapper .jeg_search_input").each((function(){var t=null,a=e(this),i=e(this).parents(".jeg_search_wrapper");e(this).on("keyup",(function(){if(!e(i).hasClass("jeg_search_modal_expand")){var o=e(this).val();o.trim().length>=n.search_length_word&&o!==t?(t=o,n.do_live_search(o,a)):o.trim().length<n.search_length_word&&n.hide_live_search()}}))})),t.find(".search-all-button").on("click",(function(t){t.preventDefault();var n=e(this).parents(".jeg_search_wrapper");e(n).find("form").trigger("submit")})))},multi_lang:function(t){t.find(".jeg_lang_btn").on("click",(function(t){t.preventDefault(),e(this).parents(".jeg_container, .jeg_container_full").toggleClass("jeg_lang_expanded ")}))},do_live_search:function(t,n){var a=this;clearTimeout(a.search_timeout),a.search_timeout=setTimeout((function(){null!==a.search_xhr&&a.search_xhr.abort(),a.loading_search(n),a.search_xhr=e.ajax({url:jnews_ajax_url,type:"post",dataType:"html",data:{s:t,action:"jnews_ajax_live_search"},success:e.proxy(a.load_search,a,n)})}),200)},loading_search:function(t){var n=e(t).parents(".jeg_search_wrapper");e(n).find(".jeg_search_button .fa").removeClass("fa-search").addClass("fa-spinner fa-spin")},remove_loading_search:function(t){var n=e(t).parents(".jeg_search_wrapper");e(n).find(".jeg_search_button .fa").removeClass("fa-spinner fa-spin").addClass("fa-search")},load_search:function(t,n){var a=this,i=e(t).parents(".jeg_search_wrapper");""===n?(e(i).find(".search-result-wrapper").html(""),a.search_no_data(i)):(e(i).find(".search-result-wrapper").html("").append(n),a.search_data_exist(i)),a.remove_loading_search(t)},search_no_data:function(t){e(t).find(".jeg_search_result").removeClass("jeg_search_hide"),e(t).find(".jeg_search_result").removeClass("with_result").addClass("no_result")},search_data_exist:function(t){e(t).find(".jeg_search_result").removeClass("jeg_search_hide"),e(t).find(".jeg_search_result").addClass("with_result").removeClass("no_result")},hide_live_search:function(){e(".jeg_search_result").addClass("jeg_search_hide")},sticky_menu:function(t){void 0===t&&(t=jnews.body_inject?jnews.body_inject:e("body"));var n=t.find(".jeg_stickybar");if(n.length){n.jsticky({item_offset:".jeg_header",mode:n.data("mode"),state_class:"jeg_sticky_nav",wrapper:".jeg_stickybar",broadcast_position:!0})}},mega_menu_init:function(t,n){var a=e(t).parents(".jeg_megamenu");if(a.hasClass("ajaxload")&&!a.hasClass("loaded")){var i=a.data("category"),o="jnews_build_mega_category_1",s=a.data("number"),r="";a.hasClass("category_2")&&(o="jnews_build_mega_category_2",r=a.data("tags")),null!==n.newsfeed_xhr&&n.newsfeed_xhr.abort(),n.newsfeed_xhr=e.ajax({url:jnews_ajax_url,type:"post",dataType:"html",data:{cat_id:i,action:o,number:s,tags:r},success:function(e){a.find(".jeg_newsfeed .newsfeed_overlay").remove(),a.find(".jeg_newsfeed").append(e),n.create_menu_carousel(t),n.attach_mouseenter_subcategory(t,n),a.addClass("loaded")}})}else n.create_menu_carousel(t),n.attach_mouseenter_subcategory(t,n)},create_menu_carousel_content:function(e){var t=this,n=e.getElementsByClassName("newsfeed_carousel");if(n.length){var a=4,i=t.jnewsLibrary.getParents(e,".jeg_megamenu");i=(i=i.length?i[i.length-1]:t.jnewsLibrary.doc).dataset.itemRow,t.jnewsLibrary.forEach(n,(function(n,o){if(a="default"===i?t.jnewsLibrary.hasClass(n,"with_subcat")?t.jnewsLibrary.getParents(e,".jeg_header.full").length?5:3:t.jnewsLibrary.getParents(e,".jeg_header.full").length?6:4:i,!t.jnewsLibrary.hasClass(n,"jeg_tns_active")){var s=jnews.tns({container:n,textDirection:1==jnewsoption.rtl?"rtl":"ltr",controls:!0,controlsText:["",""],nav:!1,loop:!1,gutter:20,items:a,mouseDrag:!0,controlsPosition:"bottom",loop:!0,onInit:function(e){void 0!==e.nextButton&&(e.nextButton.setAttribute("aria-label","Next button"),t.jnewsLibrary.addClass(e.nextButton,"tns-next")),void 0!==e.prevButton&&(e.prevButton.setAttribute("aria-label","Previous button"),t.jnewsLibrary.addClass(e.prevButton,"tns-prev"))}});void 0!==s&&(s.events.on("dragStart",(function(e){e.event.preventDefault(),e.event.stopPropagation()})),t.jnewsLibrary.addClass(n,"jeg_tns_active"),t.jnewsLibrary.dataStorage.put(n,"tiny-slider",s))}var r=e.getElementsByClassName("jeg_newsfeed_list");r.length&&t.jnewsLibrary.addClass(r[0],"loaded")}))}},create_menu_carousel:function(e){var t=this;t.jnewsLibrary&&(e.length?t.jnewsLibrary.forEach(e,(function(e,n){t.create_menu_carousel_content(e)})):t.create_menu_carousel_content(e))},attach_mouseenter_subcategory:function(t,n){e(t).find(".jeg_newsfeed_subcat li").on("mouseenter",(function(){n.menu_load_newsfeed(this,n)}))},menu_loaded:function(e){e.addClass("loaded"),e.height("auto")},menu_load_newsfeed:function(t,n){if(!e(t).hasClass("active")){var a=e(t).parents(".jeg_newsfeed"),i=e(a).find(".jeg_newsfeed_list"),o=e(i).height();i.height(o);var s=e(t).data("cat-id"),r=i.find(".jeg_newsfeed_container[data-cat-id='"+s+"']");if(r.length)i.removeClass("loaded"),i.find(".jeg_newsfeed_container").removeClass("active").hide(),i.find(".jeg_newsfeed_container[data-cat-id='"+s+"']").fadeIn((function(){n.menu_loaded(i)}));else{null!==n.newsfeed_xhr&&n.newsfeed_xhr.abort();var l=e(t).parents(".jeg_megamenu"),d=e(l).data("number"),c="jnews_mega_category_1";e(l).hasClass("category_2")&&(c="jnews_mega_category_2"),i.removeClass("loaded"),n.newsfeed_xhr=e.ajax({url:jnews_ajax_url,type:"post",dataType:"html",data:{cat_id:s,action:c,number:d},success:function(e){i.find(".jeg_newsfeed_container").hide(),i.append(e),r=i.find(".jeg_newsfeed_container[data-cat-id='"+s+"']"),n.create_menu_carousel(r),n.menu_loaded(i)}})}e(t).addClass("active").siblings().removeClass("active")}}},jnews.menu.init(),jnews.menu.sticky_menu(),window.jnews.loginregister={xhr:null,captcha:[],validateCaptcha:!1,show_popup:function(e){e.length>0&&e.magnificPopup({type:"inline",removalDelay:500,midClick:!0,callbacks:{beforeOpen:function(){this.st.mainClass="mfp-zoom-out",jnews.body_inject.removeClass("jeg_show_menu")}}})},validateResponse:function(e){""!==e&&(this.validateCaptcha=!0)},init:function(){var t=jnews.body_inject?jnews.body_inject.find(".jeg_popuplink"):e(".jeg_popuplink");this.show_popup(t);var n=jnews.body_inject?jnews.body_inject.find(".jeg_popuplink_parent a"):e(".jeg_popuplink_parent a");this.show_popup(n)},validateForm:function(t){var n=e(t).find(".form-message"),a=e(t).data("type");if("register"===a&&""===e(t).find('[name="email"]').val())return n.html("<p class='alert alert-error'>"+jnewsoption.lang.empty_email+"</p>"),!1;if(("login"===a||"register"===a)&&""===e(t).find('[name="username"]').val())return n.html("<p class='alert alert-error'>"+jnewsoption.lang.empty_username+"</p>"),!1;if("login"===a&&""===e(t).find('[name="password"]').val())return n.html("<p class='alert alert-error'>"+jnewsoption.lang.empty_password+"</p>"),!1;if("forgot"===a&&""===e(t).find('[name="user_login"]').val())return n.html("<p class='alert alert-error'>"+jnewsoption.lang.empty_username+"</p>"),!1;return!0},hook_form:function(){var t=this;e(".jeg_popupform.jeg_popup_account > form").each((function(){var n=this,a=e(n),i=a.find(".button"),o=a.find(".form-message");a.on("submit",(function(s){s.preventDefault(),t.validateForm(n)&&(o.html(""),i.val(i.data("process")),null!==t.xhr&&t.xhr.abort(),t.xhr=e.post(jnews_ajax_url,{action:"jnews_refresh_nonce",refresh_action_nonce:"jnews_nonce"}).always((function(n){n.jnews_nonce&&(a.find('input[name="jnews_nonce"]').val(n.jnews_nonce),t.xhr=e.ajax({url:jnews_ajax_url,type:"post",dataType:"json",data:a.serialize(),success:function(e){if(1===e.response&&(o.html("<p class='alert alert-success'>"+e.string+"</p>"),1===e.refresh&&(window.location=jnewsoption.login_reload+"/?")),0==e.response){var n=a.data("type");i.val(i.data("string")),o.html("<p class='alert alert-error'>"+e.string+"</p>"),t.show_popup(o.find(".jeg_popuplink")),"undefined"!=typeof grecaptcha&&grecaptcha.reset(t.captcha[n])}i.val(i.data("string"))}}))})))}))}))}},window.jnews.mobile={init:function(){this.navmobile=jnews.body_inject?jnews.body_inject.find(".jeg_navbar_mobile"):e(".jeg_navbar_mobile"),this.mobilemenu=jnews.body_inject?jnews.body_inject.find(".jeg_mobile_menu"):e(".jeg_mobile_menu"),this.isJNewsLibrary=t,this.jnewsLibrary=!!this.isJNewsLibrary&&n,this.menu(),this.search(),this.truncate(),this.multi_lang()},truncate:function(){e(".content-inner.mobile-truncate").on("click",(function(){e(this).removeClass("mobile-truncate"),e(this).trigger("resize")}))},show_menu:function(e){e.preventDefault(),window.jnews.mobile.prep_dropdown(),jnews.body_inject.toggleClass("jeg_show_menu")},hide_menu:function(e){e.preventDefault(),jnews.body_inject.removeClass("jeg_show_menu")},menu:function(){var t=this;t.jnewsLibrary&&(t.mobilemenu.hasClass("jeg_menu_dropdown")||t.mobilemenu.superfish({onInit:t.mobilemenu.hasClass("sf-js-hover")?jnews.library.noop:function(){e(this).off("mouseenter.superfish mouseleave.superfish .hoverIntent")},onBeforeHide:t.mobilemenu.hasClass("sf-js-open")?function(e){var t=this;return!(e.find((function(e){return t[0]===e}))&&t.show()&&t.parent().addClass("sfHover"))}:jnews.library.noop,onShow:t.mobilemenu.hasClass("sf-js-open")?function(e){var t=this;e.find((function(e){return t[0]===e}))||e.push(t[0])}:jnews.library.noop})),e(".jeg_mobile_toggle").off("click",t.show_menu).on("click",t.show_menu),e(".jeg_menu_close").off("click",t.hide_menu).on("click",t.hide_menu),e(document).on("mouseup",(function(t){jnews.body_inject.hasClass("jeg_show_menu")&&!e(t.target).parents(".jeg_mobile_wrapper").length>0&&(jnews.body_inject.removeClass("jeg_show_menu"),jnews.body_inject.removeClass("jeg_lang_expanded"))})),t.navmobile.jsticky({mode:t.navmobile.data("mode"),item_offset:".jeg_navbar_mobile",state_class:"jeg_sticky_nav",wrapper:".jeg_navbar_mobile_wrapper",use_translate3d:!0,broadcast_position:!1})},search:function(){e(".jeg_mobile_search").on("click",(function(t){t.preventDefault(),e("body").toggleClass("jeg_search_expanded"),e("i.fa",e(this)).toggleClass("fa-close fa-search"),e(".jeg_navbar_mobile_wrapper .jeg_search_input").val("").focus()}))},multi_lang:function(){e(".jeg_mobile_wrapper .jeg_lang_btn").on("click",(function(t){t.preventDefault(),e("body").toggleClass("jeg_lang_expanded ")}))},prep_dropdown:function(){var t=this,n=t.mobilemenu;if(n.hasClass("jeg_menu_dropdown")&&!n.hasClass("created")){var a=n.find(".menu-item-has-children > a");a.wrap('<div class="drop-down-wrapper"></div>'),a.after('<span><i class="arrow-icon"></i></span>'),t.jeg_dropdown(n),n.addClass("created")}e(".jeg_menu_dropdown.language-swicher").length>0&&t.jeg_dropdown(e(".jeg_menu_dropdown.language-swicher"))},jeg_dropdown:function(t){var n;if(t.find(".menu-item-has-children .drop-down-wrapper > span").on("click",(function(){var a=e(this).parent().parent();a.addClass("clicked");var i=a.parent();i=i.parent(),a.hasClass("open")?a.removeClass("open"):(a.addClass("open"),t.hasClass("sf-js-open")||void 0!==n&&i.hasClass("jeg_aside_item")&&n.attr("id")!==a.attr("id")&&(n.removeClass("open"),n.find("> .sub-menu .menu-item-has-children").removeClass("open"),n=a)),i.hasClass("jeg_aside_item")&&(n=a)})),t.hasClass("sf-js-hover")&&window.innerWidth>=1025){var a=t.find(".menu-item-has-children");e(a).on("mouseenter.dropdown",(function(){e(this).hasClass("clicked")||e(this).addClass("open")})),e(a).on("mouseleave.dropdown",(function(){if(e(this).removeClass("clicked"),!t.hasClass("sf-js-open")){var n=e(this);setTimeout((function(){n.removeClass("open")}),500)}}))}}},jnews.mobile.init(),window.jnews.first_load_caller={init:function(){jnews.first_load?jnews.first_load.init():n.requestAnimationFrame.call(n.win,function(){this.init()}.bind(this))}},jnews.first_load_caller.init(),window.jnews.deprecated={init:function(t){void 0===t&&(t=jnews.body_inject?jnews.body_inject:e("body"));var n=t.find("[class*=google-plus].removed, [class*=google_plus].removed, [class*=googleplus].removed ");n.length&&n.off("click.share click").on("click",(function(e){e.preventDefault})).on("click",(function(){return!1}))}},jnews.deprecated.init(),window.jnews.widget={},window.jnews.widget.popular={init:function(t){void 0===t&&(t=jnews.body_inject?jnews.body_inject:e("body"));var n=t.find(".widget_jnews_popular .socialshare_list a");n.length&&n.on("click",(function(t){var n=e(this);t.preventDefault();var a=n.attr("href");window.open(a,"","height=570,width=750")}))}},jnews.widget.popular.init(),window.jnews.popup={popupcontainer:null,container:null,init:function(t){var n=this;n.isJNewsLibrary="object"==typeof jnews&&"object"==typeof jnews.library,n.jnewsLibrary=!!n.isJNewsLibrary&&jnews.library,n.jnewsLibrary&&(n.globalBody=jnews.body_inject?jnews.body_inject:e("body"),n.container=void 0===t?n.globalBody:t,"photoswipe"===jnewsoption.popup_script?(n.popupcontainer=n.globalBody.find(".pswp"),n.popupcontainer=n.popupcontainer.get(0),n.popup_photoswipe()):"magnific"===jnewsoption.popup_script&&n.popup_magnific())},expand_photoswipe:function(e,t){var n={index:t,history:!1,focus:!1,showAnimationDuration:0,hideAnimationDuration:0,barsSize:{top:44,bottom:0}};new PhotoSwipe(this.popupcontainer,PhotoSwipeUI_Default,e,n).init()},expand_single_featured:function(t){var n=e(t),a=n.find("img"),i=[{src:n.attr("href"),w:parseInt(a.data("full-width"),10),h:parseInt(a.data("full-height"),10),title:a.attr("alt")}];this.expand_photoswipe(i,0)},expand_featured_gallery:function(e){var t=this,n=t.jnewsLibrary.getParents(e,".featured_gallery");n=n.length?n[n.length-1]:t.jnewsLibrary.doc;var a=t.jnewsLibrary.dataStorage.get(n,"tiny-slider"),i=a.getInfo().index,o=[];t.jnewsLibrary.forEach(n.getElementsByTagName("a"),(function(e,n){var a=e.getElementsByTagName("img");if(a.length){a=a[0];var i=e.getElementsByClassName("thumbnail-container");if(i.length)if(i=i[0],t.jnewsLibrary.hasClass(i,"thumbnail-background")){var s=e.querySelectorAll(".thumbnail-container > div");i.length&&(s=s[0],o[n]={src:e.getAttribute("href"),w:parseInt(s.dataset.fullWidth,10),h:parseInt(s.dataset.fullHeight,10),title:s.getAttribute("alt")})}else o[n]={src:e.getAttribute("href"),w:parseInt(a.dataset.fullWidth,10),h:parseInt(a.dataset.fullHeight,10),title:a.getAttribute("alt")}}}));var s={index:i,history:!1,focus:!1,showAnimationDuration:0,hideAnimationDuration:0},r=new PhotoSwipe(t.popupcontainer,PhotoSwipeUI_Default,o,s);r.listen("afterChange",(function(){var e=r.getCurrentIndex();a.goTo(e)})),r.init()},expand_wp_gallery:function(t){var n=e(t),a=n.parents(".gallery"),i=n.parents("figure").index("figure"),o=[];a.find("a").each((function(t){var n=e(this),a=n.find("img"),i=n.parents(".gallery-item").find(".wp-caption-text").text();o[t]={src:n.attr("href"),w:parseInt(a.data("full-width"),10),h:parseInt(a.data("full-height"),10),title:i}})),this.expand_photoswipe(o,i)},expand_single_image_caption:function(t){var n=this,a=e(t),i=a.parent(),o=i.find("a").attr("href"),s=i.find(".wp-caption-text").text();a.addClass("load-image");var r=new Image;r.onload=function(){a.removeClass("load-image");var e=[{src:o,w:parseInt(r.width,10),h:parseInt(r.height,10),title:s}];n.expand_photoswipe(e,0)},r.src=o},expand_single_image:function(t){var n=this,a=e(t),i=a.find("img");a.addClass("load-image");var o=new Image;o.onload=function(){a.removeClass("load-image");var e=[{src:a.attr("href"),w:parseInt(o.width,10),h:parseInt(o.height,10),title:i.attr("alt")}];n.expand_photoswipe(e,0)},o.src=a.attr("href")},popup_photoswipe:function(){var t=this;t.container.find(".jeg_featured.featured_image a:not(.wp-caption-text a)").on("click",(function(e){e.preventDefault(),t.expand_single_featured(this)})),t.container.find(".featured_gallery a").on("click",(function(e){e.preventDefault(),t.expand_featured_gallery(this)})),t.container.find(".content-inner .gallery").find("a[href$='.gif'], a[href$='.jpg'], a[href$='.png'], a[href$='.bmp'], a[href$='.jpeg'], a[href$='.webp']").on("click",(function(e){e.preventDefault(),t.expand_wp_gallery(this)})),t.container.find(".content-inner figure.wp-caption").find("a[href$='.gif'], a[href$='.jpg'], a[href$='.png'], a[href$='.bmp'], a[href$='.jpeg'], a[href$='.webp']").find("img").each((function(){e(this).parent().on("click",(function(e){e.preventDefault(),t.expand_single_image_caption(this)}))})),t.container.find(".content-inner").find("a[href$='.gif'], a[href$='.jpg'], a[href$='.png'], a[href$='.bmp'], a[href$='.jpeg'], a[href$='.webp']").find("img[class*='align'], img[class^='wp-image']").each((function(){e(this).parent().on("click",(function(e){e.preventDefault(),t.expand_single_image(this)}))}))},expand_magnific:function(t){e(t).magnificPopup({gallery:{enabled:!0},type:"image",closeOnContentClick:!0,closeBtnInside:!1,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-with-zoom",image:{verticalFit:!0,titleSrc:function(e){return"FIGURE"===e.el.parent().prop("tagName")?e.el.parent().find("figcaption").text():e.el.parents(".gallery-item").find(".wp-caption-text").length?e.el.parents(".gallery-item").find(".wp-caption-text").text():e.el.find("img").attr("alt")}}})},expand_magnific_gallery:function(e){this.expand_magnific(e)},popup_magnitif_single_gallery:function(t){var n=this,a=[];n.container.find(t).each((function(){var t=e(this);"IMG"===t.prop("tagName")?a.push(t.parent().get(0)):a.push(t.get(0))})),n.expand_magnific(a),n.expand_magnific_gallery(".featured_gallery a")},popup_magnitif_normal:function(t){var n=this;n.container.find(t).each((function(){var t=e(this);"IMG"===t.prop("tagName")?n.expand_magnific(t.parent().get(0)):n.expand_magnific(t.get(0))})),n.expand_magnific_gallery(".featured_gallery a")},popup_magnific:function(){var e=".content-inner figure.wp-caption > a > img,.content-inner a[href$='.gif'] > img[class*='wp-image'],.content-inner a[href$='.jpg'] > img[class*='wp-image'],.content-inner a[href$='.png'] > img[class*='wp-image'],.content-inner a[href$='.bmp'] > img[class*='wp-image'],.content-inner a[href$='.webp'] > img[class*='wp-image'],.content-inner a[href$='.gif'] > img[class*='align'],.content-inner a[href$='.jpg'] > img[class*='align'],.content-inner a[href$='.png'] > img[class*='align'],.content-inner a[href$='.bmp'] > img[class*='align'],.content-inner a[href$='.webp'] > img[class*='align'],.jeg_featured.featured_image a:not(.wp-caption-text a),.content-inner .gallery a";"1"===jnewsoption.single_gallery?this.popup_magnitif_single_gallery(e):this.popup_magnitif_normal(e)}},jnews.popup.init(),window.jnews.comment={container:null,init:function(t){var n=this;n.container=void 0===t?jnews.body_inject?jnews.body_inject:e("body"):t,this.create(n.container);var a=n.container.find(".ajax_comment_button");a.length&&a.on("click",(function(){var t=e(this),a=t.data("id"),i=t.data("post-type"),o=t.data("loading");t.find("span").text(o),e.ajax({url:jnews_ajax_url,type:"post",dataType:"html",data:{action:"jnews_ajax_comment",post_id:a,post_type:i},success:function(e){t.after(e).remove(),n.create(n.container)}})}))},create:function(){var t,n,a,i,o,s,r=jnews.body_inject?jnews.body_inject.find("#comments"):e("#comments");if(r.length){var l=r.attr("data-type"),d=r.attr("data-id");if("disqus"==l)e("#disqus-script").length?DISQUS.reset({reload:!0}):(e("#disqus-script").remove(),(s=document.createElement("script")).id="disqus-script",s.type="text/javascript",s.async=!0,s.src="//"+d+".disqus.com/embed.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(s));else if("facebook"==l)if(e("#facebook-jssdk").length)"undefined"!=typeof FB&&FB.XFBML.parse();else if("facebook"==l){var c=d?"&appId="+d:"";t=document,n="script",a="facebook-jssdk",o=t.getElementsByTagName(n)[0],t.getElementById(a)||((i=t.createElement(n)).id=a,i.src="//connect.facebook.net/"+jnewsoption.language+"/sdk.js#xfbml=1&version=v2.8"+c,o.parentNode.insertBefore(i,o))}}}},jnews.comment.init(),window.jnews.ajax_analytic={update:function(e,t){this.google_analytics(window.location.pathname,document.title),this.track_jnews(t)},get_nonce:function(e){},google_analytics:function(e,t){"undefined"==typeof pageTracker&&"undefined"==typeof _gaq&&"undefined"==typeof ga&&"undefined"==typeof __gaTracker&&"undefined"==typeof gaplusu||("undefined"!=typeof pageTracker&&null!==pageTracker&&pageTracker._trackPageview(e),"undefined"!=typeof _gaq&&null!==_gaq&&(null!=t&&_gaq.push(["_set","title",t]),_gaq.push(["_trackPageview",e])),"undefined"!=typeof ga&&null!==ga&&(null!=t&&ga("set","title",t),ga("send","pageview",e)),"undefined"!=typeof __gaTracker&&null!==__gaTracker&&__gaTracker("send","pageview",e),"undefined"!=typeof gaplusu&&null!==gaplusu&&(null!=t&&gaplusu("set","title",t),gaplusu("send","pageview",e)),"undefined"!=typeof gtag&&null!==gtag&&(null!=t&&gtag("set",{page_title:t,page_location:e}),gtag("event","page_view")))},track_jnews:function(e){jfla.indexOf("view_counter")>-1&&jnews.first_load.do_ajax({action:"jnews_first_load_action",load_action:["view_counter"],jnews_id:e})}},window.jnews.menu_drop={init:function(){this.menu_drop=jnews.body_inject?jnews.body_inject.find(".menu-item-has-children"):e(".menu-item-has-children"),this.menu_drop.length&&e(window).width()<=1024&&this.newEvent()},newEvent:function(){this.menu_drop.on("click",(function(){e(this).hasClass("sfHover")?(e(this).removeClass("sfHover"),e(this).find(".sub-menu").attr("style","display: none")):e(this).find(".sub-menu").attr("style","display: block")}))}},jnews.menu_drop.init(),window.jnews.edit_account={init:function(){this.changeHandler(),this.submitForm()},changeHandler:function(){var t=jnews.body_inject?jnews.body_inject.find("#fname"):e("#fname"),n=jnews.body_inject?jnews.body_inject.find("#lname"):e("#lname");(t.length||n.length)&&(t.on("change",(function(t){var n=this.value,a=e("#lname").val(),i=e("#dname");i.append("<option>"+n+"</option>"),i.append("<option>"+n+" "+a+"</option>"),i.append("<option>"+a+" "+n+"</option>"),i.chosen("destroy").chosen()})),n.on("change",(function(t){var n=e("#fname").val(),a=this.value,i=e("#dname");i.append("<option>"+a+"</option>"),i.append("<option>"+n+" "+a+"</option>"),i.append("<option>"+a+" "+n+"</option>"),i.chosen("destroy").chosen()})))},submitForm:function(){var t=jnews.body_inject.find(".jeg_account_right form");t.on("submit",(function(n){if("false"===t.attr("onsubmit"))return e(window).scrollTop(0),!1}))}},jnews.edit_account.init()}(jQuery);
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.jscrollpane.js?ver=1.0.0 
/*!
 * jScrollPane - v2.2.3-rc.1 - 2020-06-26
 * http://jscrollpane.kelvinluck.com/
 *
 * Copyright (c) 2014 Kelvin Luck
 * Copyright (c) 2017-2020 Tuukka Pasanen
 * Dual licensed under the MIT or GPL licenses.
 *
 * SPDX-License-Identifier: MIT
 * SPDX-License-Identifier: GPL-2.0-or-later
 */
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(jQuery||require("jquery")):e(jQuery)}((function(e){e.fn.jScrollPane=function(t){function o(t,o){var s,i,n,r,a,l,c,p,u,d,f,h,v,g,j,m,w,y,k,b,T,C,x,S,D,B,H,P,z,A,W,Y,M,X,R=this,L=!0,E=!0,I=!1,F=!1,V=t.clone(!1,!1).empty(),q=!1,O=e.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp",G=function(){s.resizeSensorDelay>0?setTimeout((function(){N(s)}),s.resizeSensorDelay):N(s)};function N(o){var b,L,E,I,F,V,pe,ue,de,fe,he,ve,ge,je=!1,me=!1;if(s=o,b=0,L=0,void 0===i)I=t.scrollTop(),F=t.scrollLeft(),t.css({overflow:"hidden",padding:"0"}),n=t.innerWidth()+M,r=t.innerHeight(),t.width(n),i=e('<div class="jspPane"></div>').css("padding",Y).append(t.children()),a=e('<div class="jspContainer"></div>').css({width:n+"px",height:r+"px"}).append(i).appendTo(t);else{if(t.css("width",""),a.css({width:"auto",height:"auto"}),i.css("position","static"),V=t.innerWidth()+M,pe=t.innerHeight(),i.css("position","absolute"),je=s.stickToBottom&&function(){var e=c-r;if(1==s.maintainPosition)return e>=20&&e-le()<10;return!0}(),me=s.stickToRight&&function(){var e=l-n;if(1==s.maintainPosition)return e>=20&&e-ae()<10;return!0}(),E=V!==n||pe!==r,n=V,r=pe,a.css({width:n+"px",height:r+"px"}),!E&&X==l&&i.outerHeight()==c)return void t.width(n);X=l,i.css("width",""),t.width(n),a.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}i.css("overflow","auto"),l=o.contentWidth?o.contentWidth:i[0].scrollWidth,c=i[0].scrollHeight,i.css("overflow",""),p=l/n,d=(u=c/r)>1||s.alwaysShowVScroll,(f=p>1||s.alwaysShowHScroll)||d?(t.addClass("jspScrollable"),s.maintainPosition&&(g||w)&&(b=ae(),L=le()),d&&(a.append(e('<div class="jspVerticalBar"></div>').append(e('<div class="jspCap jspCapTop"></div>'),e('<div class="jspTrack"></div>').append(e('<div class="jspDrag"></div>').append(e('<div class="jspDragTop"></div>'),e('<div class="jspDragBottom"></div>'))),e('<div class="jspCap jspCapBottom"></div>'))),y=a.find(">.jspVerticalBar"),k=y.find(">.jspTrack"),h=k.find(">.jspDrag"),s.showArrows&&(x=e('<a class="jspArrow jspArrowUp"></a>').on("mousedown.jsp",J(0,-1)).on("click.jsp",ce),S=e('<a class="jspArrow jspArrowDown"></a>').on("mousedown.jsp",J(0,1)).on("click.jsp",ce),s.arrowScrollOnHover&&(x.on("mouseover.jsp",J(0,-1,x)),S.on("mouseover.jsp",J(0,1,S))),$(k,s.verticalArrowPositions,x,S)),T=r,a.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each((function(){T-=e(this).outerHeight()})),h.on("mouseenter",(function(){h.addClass("jspHover")})).on("mouseleave",(function(){h.removeClass("jspHover")})).on("mousedown.jsp",(function(t){e("html").on("dragstart.jsp selectstart.jsp",ce),h.addClass("jspActive");var o=t.pageY-h.position().top;return e("html").on("mousemove.jsp",(function(e){ee(e.pageY-o,!1)})).on("mouseup.jsp mouseleave.jsp",_),!1})),Q()),f&&(a.append(e('<div class="jspHorizontalBar"></div>').append(e('<div class="jspCap jspCapLeft"></div>'),e('<div class="jspTrack"></div>').append(e('<div class="jspDrag"></div>').append(e('<div class="jspDragLeft"></div>'),e('<div class="jspDragRight"></div>'))),e('<div class="jspCap jspCapRight"></div>'))),D=a.find(">.jspHorizontalBar"),B=D.find(">.jspTrack"),j=B.find(">.jspDrag"),s.showArrows&&(z=e('<a class="jspArrow jspArrowLeft"></a>').on("mousedown.jsp",J(-1,0)).on("click.jsp",ce),A=e('<a class="jspArrow jspArrowRight"></a>').on("mousedown.jsp",J(1,0)).on("click.jsp",ce),s.arrowScrollOnHover&&(z.on("mouseover.jsp",J(-1,0,z)),A.on("mouseover.jsp",J(1,0,A))),$(B,s.horizontalArrowPositions,z,A)),j.on("mouseenter",(function(){j.addClass("jspHover")})).on("mouseleave",(function(){j.removeClass("jspHover")})).on("mousedown.jsp",(function(t){e("html").on("dragstart.jsp selectstart.jsp",ce),j.addClass("jspActive");var o=t.pageX-j.position().left;return e("html").on("mousemove.jsp",(function(e){oe(e.pageX-o,!1)})).on("mouseup.jsp mouseleave.jsp",_),!1})),H=a.innerWidth(),U()),function(){if(f&&d){var t=B.outerHeight(),o=k.outerWidth();T-=t,e(D).find(">.jspCap:visible,>.jspArrow").each((function(){H+=e(this).outerWidth()})),H-=o,r-=o,n-=t,B.parent().append(e('<div class="jspCorner"></div>').css("width",t+"px")),Q(),U()}f&&i.width(a.outerWidth()-M+"px");c=i.outerHeight(),u=c/r,f&&((P=Math.ceil(1/p*H))>s.horizontalDragMaxWidth?P=s.horizontalDragMaxWidth:P<s.horizontalDragMinWidth&&(P=s.horizontalDragMinWidth),j.css("width",P+"px"),m=H-P,se(w));d&&((C=Math.ceil(1/u*T))>s.verticalDragMaxHeight?C=s.verticalDragMaxHeight:C<s.verticalDragMinHeight&&(C=s.verticalDragMinHeight),h.css("height",C+"px"),v=T-C,te(g))}(),(s.stickToBottom||s.stickToRight)&&(ne(me?l-n:b,!1),ie(je?c-r:L,!1)),i.find(":input,a").off("focus.jsp").on("focus.jsp",(function(e){re(e.target,!1)})),a.off(O).on(O,(function(e,t,o,i){w||(w=0),g||(g=0);var n=w,r=g,a=e.deltaFactor||s.mouseWheelSpeed;return R.scrollBy(o*a,-i*a,!1),n==w&&r==g})),ge=!1,a.off("touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick").on("touchstart.jsp",(function(e){var t=e.originalEvent.touches[0];ue=ae(),de=le(),fe=t.pageX,he=t.pageY,ve=!1,ge=!0})).on("touchmove.jsp",(function(e){if(ge){var t=e.originalEvent.touches[0],o=w,s=g;return R.scrollTo(ue+fe-t.pageX,de+he-t.pageY),ve=ve||Math.abs(fe-t.pageX)>5||Math.abs(he-t.pageY)>5,o==w&&s==g}})).on("touchend.jsp",(function(e){ge=!1})).on("click.jsp-touchclick",(function(e){if(ve)return ve=!1,!1})),s.enableKeyboardNavigation&&function(){var o,n,l=[];f&&l.push(D[0]);d&&l.push(y[0]);i.on("focus.jsp",(function(){t.focus()})),t.attr("tabindex",0).off("keydown.jsp keypress.jsp").on("keydown.jsp",(function(t){if(t.target===this||l.length&&e(t.target).closest(l).length){var s=w,i=g;switch(t.keyCode){case 40:case 38:case 34:case 32:case 33:case 39:case 37:o=t.keyCode,p();break;case 35:ie(c-r),o=null;break;case 36:ie(0),o=null}return!(n=t.keyCode==o&&s!=w||i!=g)}})).on("keypress.jsp",(function(t){if(t.keyCode==o&&p(),t.target===this||l.length&&e(t.target).closest(l).length)return!n})),s.hideFocus?(t.css("outline","none"),"hideFocus"in a[0]&&t.attr("hideFocus",!0)):(t.css("outline",""),"hideFocus"in a[0]&&t.attr("hideFocus",!1));function p(){var e=w,t=g;switch(o){case 40:R.scrollByY(s.keyboardSpeed,!1);break;case 38:R.scrollByY(-s.keyboardSpeed,!1);break;case 34:case 32:R.scrollByY(r*s.scrollPagePercent,!1);break;case 33:R.scrollByY(-r*s.scrollPagePercent,!1);break;case 39:R.scrollByX(s.keyboardSpeed,!1);break;case 37:R.scrollByX(-s.keyboardSpeed,!1)}return n=e!=w||t!=g}}(),s.clickOnTrack&&function(){Z(),d&&k.on("mousedown.jsp",(function(t){if(void 0===t.originalTarget||t.originalTarget==t.currentTarget){var o,i=e(this),n=i.offset(),a=t.pageY-n.top-g,l=!0,p=function(){var e=i.offset(),n=t.pageY-e.top-C/2,d=r*s.scrollPagePercent,f=v*d/(c-r);if(a<0)g-f>n?R.scrollByY(-d):ee(n);else{if(!(a>0))return void u();g+f<n?R.scrollByY(d):ee(n)}o=setTimeout(p,l?s.initialDelay:s.trackClickRepeatFreq),l=!1},u=function(){o&&clearTimeout(o),o=null,e(document).off("mouseup.jsp",u)};return p(),e(document).on("mouseup.jsp",u),!1}}));f&&B.on("mousedown.jsp",(function(t){if(void 0===t.originalTarget||t.originalTarget==t.currentTarget){var o,i=e(this),r=i.offset(),a=t.pageX-r.left-w,c=!0,p=function(){var e=i.offset(),r=t.pageX-e.left-P/2,d=n*s.scrollPagePercent,f=m*d/(l-n);if(a<0)w-f>r?R.scrollByX(-d):oe(r);else{if(!(a>0))return void u();w+f<r?R.scrollByX(d):oe(r)}o=setTimeout(p,c?s.initialDelay:s.trackClickRepeatFreq),c=!1},u=function(){o&&clearTimeout(o),o=null,e(document).off("mouseup.jsp",u)};return p(),e(document).on("mouseup.jsp",u),!1}}))}(),function(){if(location.hash&&location.hash.length>1){var t,o,s=escape(location.hash.substr(1));try{t=e("#"+s+', a[name="'+s+'"]')}catch(e){return}t.length&&i.find(s)&&(0===a.scrollTop()?o=setInterval((function(){a.scrollTop()>0&&(re(t,!0),e(document).scrollTop(a.position().top),clearInterval(o))}),50):(re(t,!0),e(document).scrollTop(a.position().top)))}}(),s.hijackInternalLinks&&function(){if(e(document.body).data("jspHijack"))return;e(document.body).data("jspHijack",!0),e(document.body).delegate('a[href*="#"]',"click",(function(t){var o,s,i,n,r,a=this.href.substr(0,this.href.indexOf("#")),l=location.href;if(-1!==location.href.indexOf("#")&&(l=location.href.substr(0,location.href.indexOf("#"))),a===l){o=escape(this.href.substr(this.href.indexOf("#")+1));try{s=e("#"+o+', a[name="'+o+'"]')}catch(e){return}s.length&&((i=s.closest(".jspScrollable")).data("jsp").scrollToElement(s,!0),i[0].scrollIntoView&&(n=e(window).scrollTop(),((r=s.offset().top)<n||r>n+e(window).height())&&i[0].scrollIntoView()),t.preventDefault())}}))}()):(t.removeClass("jspScrollable"),i.css({top:"0",left:"0",width:a.width()-M}),a.off(O),i.find(":input,a").off("focus.jsp"),t.attr("tabindex","-1").removeAttr("tabindex").off("keydown.jsp keypress.jsp"),i.off(".jsp"),Z()),s.resizeSensor||!s.autoReinitialise||W?s.resizeSensor||s.autoReinitialise||!W||clearInterval(W):W=setInterval((function(){N(s)}),s.autoReinitialiseDelay),s.resizeSensor&&!q&&(K(i,G),K(t,G),K(t.parent(),G),window.addEventListener("resize",G),q=!0),I&&t.scrollTop(0)&&ie(I,!1),F&&t.scrollLeft(0)&&ne(F,!1),t.trigger("jsp-initialised",[f||d])}function K(e,t){var o,s,i=document.createElement("div"),n=document.createElement("div"),r=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div");i.style.cssText="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;",n.style.cssText="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;",a.style.cssText="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;",r.style.cssText="position: absolute; left: 0; top: 0;",l.style.cssText="position: absolute; left: 0; top: 0; width: 200%; height: 200%;";var c=function(){r.style.width=n.offsetWidth+10+"px",r.style.height=n.offsetHeight+10+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,a.scrollLeft=a.scrollWidth,a.scrollTop=a.scrollHeight,o=e.width(),s=e.height()};n.addEventListener("scroll",function(){(e.width()>o||e.height()>s)&&t.apply(this,[]),c()}.bind(this)),a.addEventListener("scroll",function(){(e.width()<o||e.height()<s)&&t.apply(this,[]),c()}.bind(this)),n.appendChild(r),a.appendChild(l),i.appendChild(n),i.appendChild(a),e.append(i),"static"===window.getComputedStyle(e[0],null).getPropertyValue("position")&&(e[0].style.position="relative"),c()}function Q(){k.height(T+"px"),g=0,b=s.verticalGutter+k.outerWidth();try{0===y.position().left&&i.css("margin-left",b+"px")}catch(e){}}function U(){a.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each((function(){H-=e(this).outerWidth()})),B.width(H+"px"),w=0}function $(e,t,o,s){var i,n="before",r="after";"os"==t&&(t=/Mac/.test(navigator.platform)?"after":"split"),t==n?r=t:t==r&&(n=t,i=o,o=s,s=i),e[n](o)[r](s)}function J(t,o,i){return function(){return function(t,o,i,n){i=e(i).addClass("jspActive");var r,a,l=!0,c=function(){0!==t&&R.scrollByX(t*s.arrowButtonSpeed),0!==o&&R.scrollByY(o*s.arrowButtonSpeed),a=setTimeout(c,l?s.initialDelay:s.arrowRepeatFreq),l=!1};c(),r=n?"mouseout.jsp":"mouseup.jsp",n=n||e("html"),n.on(r,(function(){i.removeClass("jspActive"),a&&clearTimeout(a),a=null,n.off(r)}))}(t,o,this,i),this.blur(),!1}}function Z(){B&&B.off("mousedown.jsp"),k&&k.off("mousedown.jsp")}function _(){e("html").off("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp"),h&&h.removeClass("jspActive"),j&&j.removeClass("jspActive")}function ee(o,i){if(d){o<0?o=0:o>v&&(o=v);var n=new e.Event("jsp-will-scroll-y");if(t.trigger(n,[o]),!n.isDefaultPrevented()){var a=o||0,l=0===a,p=a==v,u=-(o/v)*(c-r);void 0===i&&(i=s.animateScroll),i?R.animate(h,"top",o,te,(function(){t.trigger("jsp-user-scroll-y",[-u,l,p])})):(h.css("top",o+"px"),te(o),t.trigger("jsp-user-scroll-y",[-u,l,p]))}}}function te(e){void 0===e&&(e=h.position().top),a.scrollTop(0);var o=0===(g=e||0),n=g==v,l=-(e/v)*(c-r);L==o&&I==n||(L=o,I=n,t.trigger("jsp-arrow-change",[L,I,E,F])),function(e,t){s.showArrows&&(x[e?"addClass":"removeClass"]("jspDisabled"),S[t?"addClass":"removeClass"]("jspDisabled"))}(o,n),i.css("top",l+"px"),t.trigger("jsp-scroll-y",[-l,o,n]).trigger("scroll")}function oe(o,i){if(f){o<0?o=0:o>m&&(o=m);var r=new e.Event("jsp-will-scroll-x");if(t.trigger(r,[o]),!r.isDefaultPrevented()){var a=o||0,c=0===a,p=a==m,u=-(o/m)*(l-n);void 0===i&&(i=s.animateScroll),i?R.animate(j,"left",o,se,(function(){t.trigger("jsp-user-scroll-x",[-u,c,p])})):(j.css("left",o+"px"),se(o),t.trigger("jsp-user-scroll-x",[-u,c,p]))}}}function se(e){void 0===e&&(e=j.position().left),a.scrollTop(0);var o=0===(w=e||0),r=w==m,c=-(e/m)*(l-n);E==o&&F==r||(E=o,F=r,t.trigger("jsp-arrow-change",[L,I,E,F])),function(e,t){s.showArrows&&(z[e?"addClass":"removeClass"]("jspDisabled"),A[t?"addClass":"removeClass"]("jspDisabled"))}(o,r),i.css("left",c+"px"),t.trigger("jsp-scroll-x",[-c,o,r]).trigger("scroll")}function ie(e,t){ee(e/(c-r)*v,t)}function ne(e,t){oe(e/(l-n)*m,t)}function re(t,o,i){var l,c,p,u,d,f,h,v,g,j=0,m=0;try{l=e(t)}catch(e){return}for(c=l.outerHeight(),p=l.outerWidth(),a.scrollTop(0),a.scrollLeft(0);!l.is(".jspPane");)if(j+=l.position().top,m+=l.position().left,l=l.offsetParent(),/^body|html$/i.test(l[0].nodeName))return;f=(u=le())+r,j<u||o?v=j-s.horizontalGutter:j+c>f&&(v=j-r+c+s.horizontalGutter),isNaN(v)||ie(v,i),h=(d=ae())+n,m<d||o?g=m-s.horizontalGutter:m+p>h&&(g=m-n+p+s.horizontalGutter),isNaN(g)||ne(g,i)}function ae(){return-i.position().left}function le(){return-i.position().top}function ce(){return!1}"border-box"===t.css("box-sizing")?(Y=0,M=0):(Y=t.css("paddingTop")+" "+t.css("paddingRight")+" "+t.css("paddingBottom")+" "+t.css("paddingLeft"),M=(parseInt(t.css("paddingLeft"),10)||0)+(parseInt(t.css("paddingRight"),10)||0)),e.extend(R,{reinitialise:function(t){N(t=e.extend({},s,t))},scrollToElement:function(e,t,o){re(e,t,o)},scrollTo:function(e,t,o){ne(e,o),ie(t,o)},scrollToX:function(e,t){ne(e,t)},scrollToY:function(e,t){ie(e,t)},scrollToPercentX:function(e,t){ne(e*(l-n),t)},scrollToPercentY:function(e,t){ie(e*(c-r),t)},scrollBy:function(e,t,o){R.scrollByX(e,o),R.scrollByY(t,o)},scrollByX:function(e,t){oe((ae()+Math[e<0?"floor":"ceil"](e))/(l-n)*m,t)},scrollByY:function(e,t){ee((le()+Math[e<0?"floor":"ceil"](e))/(c-r)*v,t)},positionDragX:function(e,t){oe(e,t)},positionDragY:function(e,t){ee(e,t)},animate:function(e,t,o,i,n){var r={};r[t]=o,e.animate(r,{duration:s.animateDuration,easing:s.animateEase,queue:!1,step:i,complete:n})},getContentPositionX:function(){return ae()},getContentPositionY:function(){return le()},getContentWidth:function(){return l},getContentHeight:function(){return c},getPercentScrolledX:function(){return ae()/(l-n)},getPercentScrolledY:function(){return le()/(c-r)},getIsScrollableH:function(){return f},getIsScrollableV:function(){return d},getContentPane:function(){return i},scrollToBottom:function(e){ee(v,e)},hijackInternalLinks:e.noop,destroy:function(){var e,o;e=le(),o=ae(),t.removeClass("jspScrollable").off(".jsp"),i.off(".jsp"),t.replaceWith(V.append(i.children())),V.scrollTop(e),V.scrollLeft(o),W&&clearInterval(W)}}),N(o)}return t=e.extend({},e.fn.jScrollPane.defaults,t),e.each(["arrowButtonSpeed","trackClickSpeed","keyboardSpeed"],(function(){t[this]=t[this]||t.speed})),this.each((function(){var s=e(this),i=s.data("jsp");i?i.reinitialise(t):(e("script",s).filter('[type="text/javascript"],:not([type])').remove(),i=new o(s,t),s.data("jsp",i))}))},e.fn.jScrollPane.defaults={showArrows:!1,maintainPosition:!0,stickToBottom:!1,stickToRight:!1,clickOnTrack:!0,autoReinitialise:!1,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,contentWidth:void 0,animateScroll:!1,animateDuration:300,animateEase:"linear",hijackInternalLinks:!1,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:3,arrowButtonSpeed:0,arrowRepeatFreq:50,arrowScrollOnHover:!1,trackClickSpeed:0,trackClickRepeatFreq:70,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:!0,hideFocus:!1,keyboardSpeed:0,initialDelay:300,speed:30,scrollPagePercent:.8,alwaysShowVScroll:!1,alwaysShowHScroll:!1,resizeSensor:!1,resizeSensorDelay:0}}));
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/sidefeed.js?ver=1.0.0 
!function(e){"use strict";function t(){var t=e("#jeg_sidecontent");if(t.length){var a,n,i,o=e(".jeg_header.full").outerHeight()||0,s=e(".jeg_stickybar"),r=0,d=0;!function(){var t=e(".sidecontent_postwrapper");if(t.length){t.jScrollPane({mouseWheelSpeed:50});var a=t.data("jsp"),n=1==jnewsoption.admin_bar?32:0,i=function(){e(window).width()>1024?t.css("height",e(window).height()-e(".jeg_side_heading").outerHeight()-n):(e("#jeg_sidecontent").css("height",e(window).height()-e(".jeg_navbar_mobile_wrapper").outerHeight()),t.css("height",e(window).height()-e(".jeg_side_heading").outerHeight()-e(".jeg_navbar_mobile_wrapper").outerHeight())),a.reinitialise()};"object"==typeof jnews&&"object"==typeof jnews.library&&jnews.library.winLoad(i),e(window).on("resize",i)}}();var c=function(){d=e(window).scrollTop(),r=1==jnewsoption.admin_bar?32:0,s.length&&(a=s.css("-webkit-transform")||s.css("-moz-transform")||s.css("-ms-transform")||s.css("-o-transform")||s.css("transform"),n=a.replace(/[^0-9\-.,]/g,"").split(","),i=n[13]||n[5]),d>o?(t.addClass("fixed"),e(".jeg_header").hasClass("full")&&i>0&&s.length&&(r+=s.outerHeight())):(t.removeClass("fixed"),r=o+r),t.css({top:r})};e(window).width()>1024?("object"==typeof jnews&&"object"==typeof jnews.library&&jnews.library.winLoad(c),e(window).on("scroll",c)):e(window).off("scroll",c)}}window.jnews.sidefeed=window.jnews.sidefeed||{},window.jnews.sidefeed={init:function(){var t=this;t.container=e("#jeg_sidecontent"),t.container.length&&(t.variable=window.side_feed,t.xhr=null,t.xhr_cache=[],t.lock_action=!1,t.current_post_id=jnewsoption.postid,t.min_prev_sidefeed=5,t.post_xhr=null,t.post_xhr_cache=[],t.tab=t.container.find(".jeg_side_tabs > li"),t.menu=t.container.find(".jeg_filter_menu a"),t.loadbutton=t.container.find(".sidefeed_loadmore button"),t.sidefeed=t.container.find(".jeg_sidefeed"),t.overlay_loader=t.container.find(".jeg_sidefeed_overlay"),t.sectionwrap=e(".post-wrapper"),t.postoverlay=e(".post-ajax-overlay"),t.bind_autoload(),t.bind_tab(),t.bind_menu(),t.bind_load_button(),jnewsoption.sidefeed_ajax&&t.bind_ajax())},load_first_item:function(){var t=this.sidefeed.find(".jeg_post").first();t&&e(t).find("a.ajax").trigger("click")},load_ajax:function(t,a,n){var i=this;"append"===t?e(i.sidefeed).append(n.content):"replace"===t&&i.sidefeed.html(n.content),i.after_ajax_request(t,a,n)},cache_get:function(e){for(var t=this,a=JSON.stringify(e),n=0;n<t.xhr_cache.length;n++)if(t.xhr_cache[n].param==a)return t.xhr_cache[n].result;return!1},cache_save:function(e,t){var a=JSON.stringify(e);this.xhr_cache.push({param:a,result:t})},before_ajax_request:function(t){var a=this;"append"===t?a.loadbutton.addClass("btn-loading").text(e(a.loadbutton).data("loading")):"replace"===t&&a.overlay_loader.show(),a.lock_action=!0},after_ajax_request:function(t,a,n){var i=this;i.loadbutton.removeClass("btn-end").text(e(i.loadbutton).data("loadmore")),n.next?i.loadbutton.text(e(i.loadbutton).data("loadmore")):i.loadbutton.addClass("btn-end").text(e(i.loadbutton).data("end")),"append"===t?i.loadbutton.removeClass("loading"):"replace"===t&&(i.overlay_loader.hide(),i.load_first_item(),i.active_state_feed(i.current_post_id)),i.lock_action=!1,i.cache_save(a,n),i.reinitialize_view(),"append"===t&&i.scroll_to_new_element(n)},scroll_to_new_element:function(t){var a=e(t.content),n=a.filter("[data-id]").first();(0===n.length&&(n=a.find("[data-id]").first()),n.attr("id"))&&e(".sidecontent_postwrapper").data("jsp").scrollToElement("#"+n.attr("id"))},load_content:function(t){var a=this;a.before_ajax_request(t);var n={action:"jnews_newsfeed_load",data:a.variable},i=a.cache_get(n);a.xhr&&a.xhr.abort(),i?a.load_ajax(t,n,i):a.xhr=e.ajax({url:jnews_ajax_url,type:"post",dataType:"json",data:n,success:e.proxy(a.load_ajax,a,t,n)})},bind_autoload:function(){var t=this;e(document).on("jnews-autoload-change-id",(function(e,a){t.current_post_id=a,t.active_state_feed(a)}))},bind_tab:function(){var t=this;t.tab.on("click",(function(a){a.preventDefault(),t.lock_action||(t.tab.removeClass("active"),e(this).addClass("active"),t.variable.sort_by=e(this).data("sort"),t.variable.paged=1,t.load_content("replace"))}))},bind_menu:function(){var t=this;t.menu.on("click",(function(a){a.preventDefault(),t.lock_action||(t.menu.removeClass("active"),e(this).addClass("active"),t.variable.include_category=e(this).data("id"),t.variable.paged=1,t.load_content("replace"))}))},bind_load_button:function(){var e=this;e.loadbutton.on("click",(function(t){t.preventDefault(),e.lock_action||e.loadbutton.hasClass("btn-end")||(e.variable.paged=e.variable.paged+1,e.load_content("append"))}))},bind_ajax:function(){var t=this;jnewsoption.isblog&&window.history&&window.history.pushState&&t.ajax_dispatch(),window.history.pushState&&!jnewsoption.ismobile&&e(window).on("popstate",e.proxy(t.popstate,t))},popstate:function(e){var t=this;if(void 0!==e.originalEvent){var a=e.originalEvent.state,n=location.href;a&&"sidefeed"===a.type&&(t.current_post_id=a.postid,t.active_state_feed(t.current_post_id),t.do_request(n,!0))}},ajax_dispatch:function(){var t=this;t.sidefeed.on("click","a.ajax",(function(a){a.preventDefault();var n=e(this).parents(".jeg_post"),i=e(n).data("id"),o=e(this).attr("href");i==t.current_post_id||(e("body").removeClass("menu-active").removeClass("push-content-right"),t.current_post_id=i,t.set_side_active(n),t.do_request(o,!1))}))},do_request:function(t,a){var n=this;n.postoverlay.fadeIn(500,(function(){e(document).trigger("jnews-sidefeed-ajax-begin"),n.sectionwrap.height(e(window).height()),n.sectionwrap.find(".post-wrap").remove(),e("html, body").scrollTop(0),n.fetch_content(t,n.current_post_id,a)}))},active_state_feed:function(e){var t=this;t.sidefeed.find(".jeg_post").removeClass("active");var a=t.sidefeed.find(".jeg_post[data-id="+e+"]").addClass("active");t.load_sidefeed_content(a),t.scroll_to_view(a)},load_sidefeed_content:function(e){for(var t=0;t<this.min_prev_sidefeed;t++)e.length&&(e=e.next());0===e.length&&this.try_load_sidefeed_content()},try_load_sidefeed_content:function(){this.loadbutton.trigger("click")},close_curtain:function(){this.postoverlay.fadeOut(500),this.sectionwrap.css({height:"auto"})},fetch_content:function(t,a,n){var i=this;null!==i.post_xhr&&i.post_xhr.abort(),i.post_xhr=e.ajax({url:t,type:"get",dataType:"html",success:function(e){n||window.history.pushState({postid:a,type:"sidefeed"},"",t),jnews.ajax_analytic.update(t,a),i.set_meta_data(e),i.setup_content(e,a)},timeout:function(){window.location=t}})},set_side_active:function(t){var a=this;a.sidefeed.find(".jeg_post").removeClass("active"),e(t).addClass("active"),a.load_sidefeed_content(t),a.scroll_to_view(t)},reinitialize_view:function(){e(".sidecontent_postwrapper").data("jsp").reinitialise(),setTimeout((function(){window.dispatchEvent(new Event("resize"))}),500)},scroll_to_view:function(t){if(e(t).length){var a=e(".sidecontent_postwrapper"),n=a.data("jsp"),i=e(t).position().top,o=a.height(),s=i+e(".jspPane").position().top,r=e(t).height();if(s<0||s>o-r){var d=0;d=s<0?i-20:i-o+r+50,n.scrollTo(0,d)}}},set_meta_data:function(t){var a=e(t).filter("title").text(),n=e(t).filter("meta[name=keyword]").attr("content"),i=e(t).filter("meta[name=description]").attr("content");e("meta[name=description]").attr("content",i),e("meta[name=keyword]").attr("content",n),document.title=a},setup_content:function(t,a){var n=e(t).find(".post-wrap");this.sectionwrap.append(n);var i=e(t).find("#post-body-class").attr("class");e("body").attr("class",i),this.close_curtain(),e(document).trigger("jnews-sidefeed-ajax",[a]),e(document).trigger("jnews-ajax-load",[n])}},e((function(){t(),jnews.sidefeed.init()}))}(jQuery);
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/darkmode.js?ver=1.0.0 
!function(e){const t=e(".jeg_dark_mode_toggle"),o=e("body");for(var r,i,a=void 0===jnewsoption.site_slug?"/":jnewsoption.site_slug,c=void 0===jnewsoption.site_domain?window.location.hostname:jnewsoption.site_domain,n=window.location,d=new URL(n),s=d.searchParams.get("vc_editable"),g=d.searchParams.get("elementor-preview"),m=[],h=[],f=[],l=[],k=[],u=[],_=[],p=[],j=[e(".jeg_header_wrapper"),e(".jeg_header_sticky"),e(".jeg_navbar_mobile_wrapper"),e(".jeg_about")],w=(r="darkmode",(i=document.cookie.match("(^|;) ?"+r+"=([^;]*)(;|$)"))?i[2]:null),v=(new Date).getHours(),y=o.hasClass("jeg_full_dark"),C=0;C<4;C++)m[C]=j[C].find("img.jeg_logo_img").attr("data-light-src"),h[C]=j[C].find("img.jeg_logo_img").attr("data-light-srcset"),f[C]=j[C].find("img.jeg_logo_img").attr("data-dark-src"),l[C]=j[C].find("img.jeg_logo_img").attr("data-dark-srcset"),j[C].find(".footer_logo img").each((function(t,o){k[C]=void 0===k[C]?[]:k[C],u[C]=void 0===u[C]?[]:u[C],_[C]=void 0===_[C]?[]:_[C],p[C]=void 0===p[C]?[]:p[C],k[C][t]=e(o).attr("data-light-src"),u[C][t]=e(o).attr("data-light-srcset"),_[C][t]=e(o).attr("data-dark-src"),p[C][t]=e(o).attr("data-dark-srcset")}));if(o.hasClass("jeg_dark_preview")&&!t.length){var b,M=e(".jeg_header_wrapper");new MutationObserver((function(e,t){clearTimeout(b),b=setTimeout(D,200)})).observe(M[0],{childList:!0,subtree:!0})}function D(){var t=e(".jeg_dark_mode_toggle");t.length&&(t.on("change",(function(){null===s&&null===g&&B(e(this))})),t.on("click",(function(){I(e(this));var o=e(this);o.is(":checked")?t.each((function(){o.prop("checked",!0).trigger("change")})):o.is(":checked")||t.each((function(){o.prop("checked",!1).trigger("change")}))})))}if(o.hasClass("jeg_toggle_light")&&E(),o.hasClass("jeg_timed_dark"))if(v>=18||v<=6){o.addClass("jnews-dark-mode"),o.trigger("tinymce-add-dm"),o.trigger("jnews:darkmode-on");for(C=0;C<4;C++)j[C].find(".jeg_logo_img").attr({src:f[C],srcset:l[C]}),j[C].find(".footer_logo img").each((function(t,o){e(o).attr({src:_[C][t],srcset:p[C][t],"data-srcset":p[C][t]})}));document.cookie="darkmode = true;path = "+a+";domain = "+c}else{o.removeClass("jnews-dark-mode"),o.trigger("tinymce-remove-dm"),o.trigger("jnews:darkmode-off");for(C=0;C<4;C++)j[C].find(".jeg_logo_img").attr({src:m[C],srcset:h[C]}),j[C].find(".footer_logo img").each((function(t,o){e(o).attr({src:k[C][t],srcset:u[C][t],"data-srcset":u[C][t]})}));document.cookie="darkmode = false;path = "+a+";domain = "+c}if(o.hasClass("jeg_device_dark")){L();window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",L())}function L(){if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches){o.addClass("jnews-dark-mode"),o.trigger("tinymce-add-dm"),o.trigger("jnews:darkmode-on");for(var t=0;t<4;t++)j[t].find(".jeg_logo_img").attr({src:f[t],srcset:l[t]}),j[t].find(".footer_logo img").each((function(o,r){e(r).attr({src:_[t][o],srcset:p[t][o],"data-srcset":p[t][o]})}));document.cookie="darkmode = true;path = "+a+";domain = "+c}else{o.removeClass("jnews-dark-mode"),o.trigger("tinymce-remove-dm"),o.trigger("jnews:darkmode-off");for(t=0;t<4;t++)j[t].find(".jeg_logo_img").attr({src:m[t],srcset:h[t]}),j[t].find(".footer_logo img").each((function(o,r){e(r).attr({src:k[t][o],srcset:u[t][o],"data-srcset":u[t][o]})}));document.cookie="darkmode = false;path = "+a+";domain = "+c}}if(o.hasClass("jeg_device_toggle")){if(null===w)cookie=!1,T(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(function(){!1===cookie&&T()}));t.on("click",(function(){I(e(this)),o.removeClass("jnews-dark-nocookie"),null===s&&null===g&&(cookie=!0,B(e(this))),e(this).is(":checked")?t.each((function(){e(this).prop("checked",!0).trigger("change")})):e(this).is(":checked")||t.each((function(){e(this).prop("checked",!1).trigger("change")}))}))}function T(){if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches){o.addClass("jnews-dark-mode"),o.trigger("tinymce-add-dm"),o.trigger("jnews:darkmode-on");for(var r=0;r<4;r++)j[r].find(".jeg_logo_img").attr({src:f[r],srcset:l[r]}),j[r].find(".footer_logo img").each((function(t,o){e(o).attr({src:_[r][t],srcset:p[r][t],"data-srcset":p[r][t]})}));t.each((function(){e(this).prop("checked",!0).trigger("change")}))}else{o.removeClass("jnews-dark-mode"),o.trigger("tinymce-remove-dm"),o.trigger("jnews:darkmode-off");for(r=0;r<4;r++)j[r].find(".jeg_logo_img").attr({src:m[r],srcset:h[r]}),j[r].find(".footer_logo img").each((function(t,o){e(o).attr({src:k[r][t],srcset:u[r][t],"data-srcset":u[r][t]})}));t.each((function(){e(this).prop("checked",!1).trigger("change")}))}}if(o.hasClass("jeg_toggle_dark")){if(null===w){o.addClass("jnews-dark-mode"),o.trigger("tinymce-add-dm"),o.trigger("jnews:darkmode-on");for(C=0;C<4;C++)j[C].find(".jeg_logo_img").attr({src:f[C],srcset:l[C]}),j[C].find(".footer_logo img").each((function(t,o){e(o).attr({src:_[C][t],srcset:p[C][t],"data-srcset":p[C][t]})}));t.each((function(){e(this).prop("checked",!0).trigger("change")})),document.cookie="darkmode = true;path = "+a+";domain = "+c}E()}function B(t){var r=!1,i="false";if(parseInt(jnewsoption.dm_cookie_time)>0&&(r=new Date).setDate(r.getDate()+parseInt(jnewsoption.dm_cookie_time)),t.is(":checked")){o.addClass("jnews-dark-mode"),o.trigger("tinymce-add-dm"),o.trigger("jnews:darkmode-on");for(var n=0;n<4;n++)j[n].find(".jeg_logo_img").attr({src:f[n],srcset:l[n]}),j[n].find(".footer_logo img").each((function(t,o){e(o).attr({src:_[n][t],srcset:p[n][t],"data-srcset":p[n][t]})}));i="true"}else if(!t.is(":checked")){o.removeClass("jnews-dark-mode"),o.trigger("tinymce-remove-dm"),o.trigger("jnews:darkmode-off");for(n=0;n<4;n++)j[n].find(".jeg_logo_img").attr({src:m[n],srcset:h[n]}),j[n].find(".footer_logo img").each((function(t,o){e(o).attr({src:k[n][t],srcset:u[n][t],"data-srcset":u[n][t]})}))}document.cookie=r?"darkmode = "+i+";expires="+r.toUTCString()+";path = "+a+";domain = "+c:"darkmode = "+i+";path = "+a+";domain = "+c}function E(){t.on("change",(function(){null===s&&null===g&&B(e(this))})),t.on("click",(function(){I(e(this));var o=e(this);o.is(":checked")?t.each((function(){o.prop("checked",!0).trigger("change")})):o.is(":checked")||t.each((function(){o.prop("checked",!1).trigger("change")}))}))}function I(o){o.is(":checked")?t.each((function(){e(this).prop("checked",!0)})):t.each((function(){e(this).prop("checked",!1)}))}function P(t){"undefined"!=typeof grecaptcha&&grecaptcha?.render&&e(".g-recaptcha").each((function(){const o=e(this).clone().empty();o[0]&&(o.insertAfter(this),this.remove(),grecaptcha.render(o[0],{sitekey:o.data("sitekey"),theme:t}))}))}"true"===w?t.prop("checked",!0).trigger("change"):"false"===w&&t.prop("checked",!1).trigger("change"),e(document).on("tinymce-editor-init",function(t,r){o.on("tinymce-add-dm",(function(){e(r.getBody()).addClass("jnews-dark-mode")})),o.on("tinymce-remove-dm",(function(){e(r.getBody()).removeClass("jnews-dark-mode")})),y||"true"===w?o.trigger("tinymce-add-dm"):o.trigger("tinymce-remove-dm")}.bind(o).bind(w)),e(document).on("jnews:darkmode-on",(function(){P("dark")})),e(document).on("jnews:darkmode-off",(function(){P("light")}))}(jQuery);
// source --> https://history.gospmr.org/wp-content/plugins/dflip/assets/js/dflip.min.js?ver=1.7.29 
/**
 * @preserve
 * Plugin Name: dflip
 * Description: dflip - 3D & 2D FlipBook
 *
 * Author: Deepak Ghimire
 * Author URI: http://dearhive.com
 */
"use strict";var DFLIP=DFLIP||{},PRESENTATION=DFLIP;!function(e,t){e.version="1.7.29",e.PAGE_MODE={SINGLE:1,DOUBLE:2,AUTO:null},e.SINGLE_PAGE_MODE={ZOOM:1,BOOKLET:2,AUTO:null},e.CONTROLSPOSITION={HIDDEN:"hide",TOP:"top",BOTTOM:"bottom"},e.DIRECTION={LTR:1,RTL:2},e.LINK_TARGET={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4},e.CORNERS={TL:"tl",TR:"tr",BL:"bl",BR:"br",L:"l",R:"r",NONE:null},e.SOURCE_TYPE={IMAGE:"image",PDF:"pdf",HTML:"html"},e.DISPLAY_TYPE={WEBGL:"3D",HTML:"2D"},e.PAGE_SIZE={AUTO:0,SINGLE:1,DOUBLEINTERNAL:2};var n,i,o,a,s=e.defaults={webgl:!0,webglShadow:!0,soundEnable:!0,search:!1,height:"auto",autoEnableOutline:!1,autoEnableThumbnail:!1,overwritePDFOutline:!1,enableDownload:!0,duration:800,direction:e.DIRECTION.LTR,pageMode:e.PAGE_MODE.AUTO,singlePageMode:e.SINGLE_PAGE_MODE.AUTO,backgroundColor:"#fff",forceFit:!0,transparent:!1,hard:"none",openPage:1,annotationClass:"",autoPlay:!1,autoPlayDuration:5e3,autoPlayStart:!1,maxTextureSize:1600,minTextureSize:256,rangeChunkSize:524288,icons:{altnext:"ti-angle-right",altprev:"ti-angle-left",next:"ti-angle-right",prev:"ti-angle-left",end:"ti-angle-double-right",start:"ti-angle-double-left",share:"ti-sharethis",help:"ti-help-alt",more:"ti-more-alt",download:"ti-download",zoomin:"ti-zoom-in",zoomout:"ti-zoom-out",fullscreen:"ti-fullscreen",fitscreen:"ti-arrows-corner",thumbnail:"ti-layout-grid2",outline:"ti-menu-alt",close:"ti-close",search:"ti-search",doublepage:"ti-book",singlepage:"ti-file",sound:"ti-volume",facebook:"ti-facebook",google:"ti-google",twitter:"ti-twitter-alt",mail:"ti-email",play:"ti-control-play",pause:"ti-control-pause"},text:{toggleSound:"Turn on/off Sound",toggleThumbnails:"Toggle Thumbnails",toggleOutline:"Toggle Outline/Bookmark",previousPage:"Previous Page",nextPage:"Next Page",toggleFullscreen:"Toggle Fullscreen",zoomIn:"Zoom In",zoomOut:"Zoom Out",toggleHelp:"Toggle Help",singlePageMode:"Single Page Mode",doublePageMode:"Double Page Mode",downloadPDFFile:"Download PDF File",gotoFirstPage:"Goto First Page",gotoLastPage:"Goto Last Page",play:"Start AutoPlay",pause:"Pause AutoPlay",share:"Share",mailSubject:"I wanted you to see this FlipBook",mailBody:"Check out this site {{url}}",loading:"Loading"},allControls:"altPrev,pageNumber,altNext,play,outline,thumbnail,zoomIn,zoomOut,fullScreen,share,download,search,more,pageMode,startPage,endPage,sound",moreControls:"download,pageMode,startPage,endPage,sound",hideControls:"",controlsPosition:e.CONTROLSPOSITION.BOTTOM,paddingTop:30,paddingLeft:20,paddingRight:20,paddingBottom:30,enableAnalytics:!1,scrollWheel:!0,onCreate:function(e){},onCreateUI:function(e){},onFlip:function(e){},beforeFlip:function(e){},onReady:function(e){},zoomRatio:1.5,pageSize:e.PAGE_SIZE.AUTO,pdfjsSrc:"js/libs/pdf.min.js",pdfjsCompatibilitySrc:"js/libs/compatibility.js",pdfjsWorkerSrc:"js/libs/pdf.worker.min.js",threejsSrc:"js/libs/three.min.js",mockupjsSrc:"js/libs/mockup.min.js",soundFile:"sound/turn2.mp3",imagesLocation:"images",imageResourcesPath:"images/pdfjs/",cMapUrl:"cmaps/",enableDebugLog:!1,canvasToBlob:!1,enableAnnotation:!0,pdfRenderQuality:.9,textureLoadFallback:"blank",stiffness:3,backgroundImage:"",pageRatio:null,pixelRatio:window.devicePixelRatio||1,thumbElement:"div",spotLightIntensity:.22,ambientLightColor:"#fff",ambientLightIntensity:.8,shadowOpacity:.15,linkTarget:e.LINK_TARGET.BLANK,sharePrefix:"flipbook-",loadMoreCount:!1},r="WebKitCSSMatrix"in window||document.body&&"MozPerspective"in document.body.style,l="onmousedown"in window,c=(window,navigator.userAgent),d=e.utils={drag:{left:0,right:1,none:-1},mouseEvents:l?{type:"mouse",start:"mousedown",move:"mousemove",end:"mouseup"}:{type:"touch",start:"touchstart",move:"touchmove",end:"touchend"},html:{div:"<div/>",img:"<img/>",a:"<a>",input:"<input type='text'/>"},getSharePrefix:function(){return d.getSharePrefixes()[0]},getSharePrefixes:function(){return(e.defaults.sharePrefix+",dflip-,flipbook-,dearflip-").split(",").filter((function(e){return e}))},toRad:function(e){return e*Math.PI/180},isset:function(e,t){return null==e?t:e},isnull:function(e){return null==e||null==e},toDeg:function(e){return 180*e/Math.PI},transition:function(e,t){return e?t/1e3+"s ease-out":"0s none"},hasCompatibility:function(){var e=!1;return null!=window.dFlipLocation&&window.dFlipLocation.indexOf("lip-lit")>0&&(e=!0),e},scrollIntoView:function(e,t,n){(t=t||e.parentNode).scrollTop=e.offsetTop-t.offsetTop+(!1===n?e.offsetHeight-t.offsetHeight:0),t.scrollLeft=e.offsetLeft-t.offsetLeft},display:function(e){return e?"block":"none"},resetTranslate:function(){return b(0,0)},translateStr:function(e,t){return r?" translate3d("+e+"px,"+t+"px, 0px) ":" translate("+e+"px, "+t+"px) "},httpsCorrection:function(e){var t=window.location;return t.href.indexOf("https://")>-1&&e.indexOf(t.hostname)>-1&&(e=e.replace("http://","https://")),t.href.indexOf("http://")>-1&&e.indexOf(t.hostname)>-1&&(e=e.replace("https://","http://")),e},resetBoxShadow:function(){return"rgba(0, 0, 0, 0) 0px 0px 20px"},rotateStr:function(e){return" rotateZ("+e+"deg) "},bg:function(e){return"#fff"+P(e)},bgImage:function(e){return null==e||"blank"==e?"":" url("+e+")"},src:function(e){return null!=e?""+e:""},limitAt:function(e,t,n){return e<t?t:e>n?n:e},distOrigin:function(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))},distPoints:function(e,t,n,i){return Math.sqrt(Math.pow(n-e,2)+Math.pow(i-t,2))},calculateScale:function(e,t){var n=C(e[0].x,e[0].y,e[1].x,e[1].y);return C(t[0].x,t[0].y,t[1].x,t[1].y)/n},getVectorAvg:function(e){return{x:e.map((function(e){return e.x})).reduce(d.sum)/e.length,y:e.map((function(e){return e.y})).reduce(d.sum)/e.length}},sum:function(e,t){return e+t},getTouches:function(e,t){return t=t||{left:0,top:0},Array.prototype.slice.call(e.touches).map((function(e){return{x:e.pageX-t.left,y:e.pageY-t.top}}))},angleByDistance:function(e,t){var n=t/2,i=x(e,0,t);return i<n?v(Math.asin(i/n)):90+v(Math.asin((i-n)/n))},log:function(e){1==s.enableDebugLog&&window.console&&console.log(e)},lowerPowerOfTwo:function(e){return Math.pow(2,Math.floor(Math.log(e)/Math.LN2))},nearestPowerOfTwo:function(e,t){return Math.min(t||2048,Math.pow(2,Math.ceil(Math.log(e)/Math.LN2)))},zoomStops:function(e,t,n,i,o){null==i&&(i=256),null==o&&(o=2048);var a=Math.log(e/i)/Math.log(t);return i*Math.pow(t,null==n?Math.round(a):1==n?Math.ceil(a):Math.floor(a))},extendOptions:function(e,n){return t.extend(!0,{},e,n)},getFullscreenElement:function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement},hasFullscreenEnabled:function(){return document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled},getBasePage:function(e){return 2*Math.floor(e/2)},loadResources:function(e,t,n){var i=document,o=i.createElement(e),a=i.getElementsByTagName(e)[0];o.async=!0,n&&o.addEventListener("load",(function(e){n(null,e)}),!1),o.src=t,a.parentNode.insertBefore(o,a)},getScriptCallbacks:[],getScript:function(e,n,i){var o,a=d.getScriptCallbacks[e];function s(e,t){if(null!=o&&(t||!o.readyState||/loaded|complete/.test(o.readyState))&&(o.onload=o.onreadystatechange=null,o=null,o=null,!t)){for(var n=0;n<a.length;n++)a[n]&&a[n](),a[n]=null;i=null}}if(0===t("script[src='"+e+"']").length){(a=d.getScriptCallbacks[e]=[]).push(n),o=document.createElement("script");var r=document.body.getElementsByTagName("script")[0];o.async=1,o.setAttribute("data-cfasync",!1),null!=r?(r.parentNode.insertBefore(o,r),r=null):document.body.appendChild(o),o.addEventListener("load",s,!1),o.addEventListener("readystatechange",s,!1),o.addEventListener("complete",s,!1),i&&o.addEventListener("error",i,!1),o.src=e+("MS"==R.dom?"?"+Math.random(1):"")}else a.push(n)},isHardPage:function(e,t,n,i){if(null!=e){if("cover"==e)return 0==t||i&&1==t||t==Math.ceil(n/(i?1:2))-(i?0:1);if("all"==e)return!0;var o=(","+e+",").indexOf(","+(2*t+1)+",")>-1,a=(","+e+",").indexOf(","+(2*t+2)+",")>-1;return o||a}return!1},fixMouseEvent:function(e){if(e){var n=e.originalEvent||e;if(n.changedTouches&&n.changedTouches.length>0){var i=t.event.fix(e),o=n.changedTouches[0];return i.clientX=o.clientX,i.clientY=o.clientY,i.pageX=o.pageX,i.touches=n.touches,i.pageY=o.pageY,i.movementX=o.movementX,i.movementY=o.movementY,i}return e}return e},hasWebgl:function(){try{var e=document.createElement("canvas");return!(!window.WebGLRenderingContext||!e.getContext("webgl")&&!e.getContext("experimental-webgl"))}catch(e){return!1}}(),isBookletMode:function(t){return t.pageMode==e.PAGE_MODE.SINGLE&&t.singlePageMode==e.SINGLE_PAGE_MODE.BOOKLET},isRTLMode:function(t){return t.direction==e.DIRECTION.RTL},isIPad:navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform),isMobile:(a=!1,o=c||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(o)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(o.substr(0,4)))&&(a=!0),a),isIOS:/(iPad|iPhone|iPod)/g.test(c),isSafari:/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||safari.pushNotification).toString(),prefix:(n=window.getComputedStyle(document.documentElement,""),i=Array.prototype.slice.call(n).join("").match(/-(moz|webkit|ms)-/)[1],{dom:"WebKit|Moz|MS".match(new RegExp("("+i+")","i"))[1],lowercase:i,css:"-"+i+"-",js:i[0].toUpperCase()+i.substr(1)}),canSupport3D:function(){var e=!0;try{if(-1!==c.indexOf("MSIE")||navigator.appVersion.indexOf("Trident/")>0)e=!1,console.log("Proper Support for 3D not detected for IE!");else if(z&&!B)e=!1,console.log("Proper Support for 3D not detected for IOS!");else{var t=c.toString().toLowerCase().match(/android\s([0-9\.]*)/i);(t=t?t[1]:void 0)&&(t=parseInt(t,10),!isNaN(t)&&t<9&&(e=!1,console.log("Proper Support for 3D not detected for Android below 9.0!")))}}catch(e){}return e},__extends:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super=t.prototype,e}},u=e.SOURCE_TYPE,h=(e.DISPLAY_TYPE,d.drag),p=d.mouseEvents,g=d.html,f=d.isset,m=(d.isnull,d.toRad),v=d.toDeg,b=(d.transition,d.translateStr),w=(d.resetBoxShadow,d.rotateStr),P=(d.bg,d.bgImage),x=(d.src,d.limitAt),y=d.distOrigin,C=d.distPoints,L=d.angleByDistance,S=d.log,I=d.nearestPowerOfTwo,E=d.extendOptions,k=d.getBasePage,T=d.getScript,O=d.fixMouseEvent,R=d.prefix,F=d.isBookletMode,M=d.isRTLMode,D=d.isMobile,N=d.hasWebgl,z=d.isSafari,B=d.isIOS,_=d.__extends;!function(){if(window.CanvasPixelArray)"function"!=typeof window.CanvasPixelArray.prototype.set&&(window.CanvasPixelArray.prototype.set=function(e){for(var t=0,n=this.length;t<n;t++)this[t]=e[t]});else{var e,t=!1;if(z&&(t=(e=c.match(/Version\/([0-9]+)\.([0-9]+)\.([0-9]+) Safari\//))&&parseInt(e[1])<6),t){var n=window.CanvasRenderingContext2D.prototype,i=n.createImageData;n.createImageData=function(e,t){var n=i.call(this,e,t);return n.data.set=function(e){for(var t=0,n=this.length;t<n;t++)this[t]=e[t]},n},n=null}}}(),"requestAnimationFrame"in window||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,20)}),function(){if("undefined"!=typeof Uint8Array)return void 0===Uint8Array.prototype.subarray&&(Uint8Array.prototype.subarray=function(e,t){return new Uint8Array(this.slice(e,t))},Float32Array.prototype.subarray=function(e,t){return new Float32Array(this.slice(e,t))}),void("undefined"==typeof Float64Array&&(window.Float64Array=Float32Array));function e(e,t){return new n(this.slice(e,t))}function t(e,t){arguments.length<2&&(t=0);for(var n=0,i=e.length;n<i;++n,++t)this[t]=255&e[n]}function n(n){var i,o,a;if("number"==typeof n)for(i=[],o=0;o<n;++o)i[o]=0;else if("slice"in n)i=n.slice(0);else for(i=[],o=0,a=n.length;o<a;++o)i[o]=n[o];return i.subarray=e,i.buffer=i,i.byteLength=i.length,i.set=t,"object"==typeof n&&n.buffer&&(i.buffer=n.buffer),i}window.Uint8Array=n,window.Int8Array=n,window.Uint32Array=n,window.Int32Array=n,window.Uint16Array=n,window.Float32Array=n,window.Float64Array=n}();var A=function(n,i){var o="df-ui",a=M(i.target),s=i.ui=t(g.div,{class:o}),r=i.options;s.dispose=function(){n.find(".df-ui-btn").each((function(){t(this).off()})),w.off(),c.off(),u.off(),h.off(),p.off(),f.off(),m.off(),v.off(),P.off(),C.off(),k.off(),T.off(),R.off(),F.off(),N.off(),z.off(),_.off(),A.off(),j.off(),U.off(),O.remove(),b.remove(),u.remove(),c.remove(),p.remove(),s.shareBox&&(s.shareBox.dispose&&s.shareBox.dispose(),s.shareBox=null),document.removeEventListener("keyup",Y,!1),window.removeEventListener("click",L,!1),s.update=null,i=null};var l=function(e){return isNaN(e)?e=i.target._activePage:e<1?e=1:e>i.target.pageCount&&(e=i.target.pageCount),e},c=s.next=t(g.div,{class:"df-ui-btn df-ui-next "+r.icons.next,title:a?r.text.previousPage:r.text.nextPage,html:"<span>"+r.text.nextPage+"</span>"}).on("click",(function(){i.next()})),u=s.prev=t(g.div,{class:"df-ui-btn df-ui-prev "+r.icons.prev,title:a?r.text.nextPage:r.text.previousPage,html:"<span>"+r.text.previousPage+"</span>"}).on("click",(function(){i.prev()})),h=t(g.div,{class:"df-ui-btn df-ui-play "+r.icons.play,title:r.text.play,html:"<span>"+r.text.play+"</span>"}).on("click",(function(){var e=t(this);i.setAutoPlay(!e.hasClass(r.icons.pause))}));1==r.autoPlay&&(s.play=h,i.setAutoPlay(r.autoPlayStart));var p=t(g.div,{class:"df-ui-wrapper df-ui-zoom"}),f=s.zoomIn=t(g.div,{class:"df-ui-btn df-ui-zoomin "+r.icons.zoomin,title:r.text.zoomIn,html:"<span>"+r.text.zoomIn+"</span>"}).on("click",(function(){i.zoom(1),s.update(),i.target.startPoint&&i.target.pan&&i.target.pan(i.target.startPoint)})),m=s.zoomOut=t(g.div,{class:"df-ui-btn df-ui-zoomout "+r.icons.zoomout,title:r.text.zoomOut,html:"<span>"+r.text.zoomOut+"</span>"}).on("click",(function(){i.zoom(-1),s.update(),i.target.startPoint&&i.target.pan&&i.target.pan(i.target.startPoint)}));p.append(f).append(m);var v=s.pageNumber=t(g.div,{class:"df-ui-btn df-ui-page"}).on("change",(function(){var e=parseInt(s.pageInput.val(),10);e=l(e),i.gotoPage(e)})).on("keyup",(function(e){if(13==e.keyCode){var t=parseInt(s.pageInput.val(),10);(t=l(t))!==l(i.target._activePage||i._activePage)&&i.gotoPage(t)}}));s.pageInput=t('<input id="df_book_page_number" type="text"/>').appendTo(v),s.pageLabel=t('<label for="df_book_page_number"/>').appendTo(v);var b=t(g.div,{class:"df-ui-wrapper df-ui-size"}),w=t(g.div,{class:"df-ui-btn df-ui-help "+r.icons.help,title:r.text.toggleHelp,html:"<span>"+r.text.toggleHelp+"</span>"}).on("click",(function(){})),P=s.sound=t(g.div,{class:"df-ui-btn df-ui-sound "+r.icons.sound,title:r.text.toggleSound,html:"<span>"+r.text.toggleSound+"</span>"}).on("click",(function(){r.soundEnable=!r.soundEnable,s.updateSound()}));if(s.updateSound=function(){0==r.soundEnable||"false"==r.soundEnable?P.addClass("disabled"):P.removeClass("disabled")},s.updateSound(),"string"==typeof r.source&&1==r.search){var x=s.search=t(g.div,{class:"df-ui-btn df-ui-search "+r.icons.search}).on("click",(function(e){x.hasClass("df-active")||(t(this).addClass("df-active"),e.stopPropagation())}));window.addEventListener("click",(function(e){s.search.removeClass("df-active")}),!1);var y=t(g.div,{class:"search-container"});x.append(y)}var C=s.more=t(g.div,{class:"df-ui-btn df-ui-more "+r.icons.more}).on("click",(function(e){C.hasClass("df-active")||(t(this).addClass("df-active"),e.stopPropagation())}));function L(e){C.removeClass("df-active")}window.addEventListener("click",L,!1);var I=t(g.div,{class:"more-container"});if(C.append(I),"string"==typeof r.source&&1==r.enableDownload){var E="df-ui-btn df-ui-download "+r.icons.download;(s.download=t('<a download target="_blank" class="'+E+'"><span>'+r.text.downloadPDFFile+"</span></a>")).attr("href",r.source).attr("title",r.text.downloadPDFFile)}d.hasFullscreenEnabled()||n.addClass("df-custom-fullscreen"),s.switchFullscreen=function(){d.getFullscreenElement();var e=i.container[0];1!=s.isFullscreen?(i.container.addClass("df-fullscreen"),e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen(),s.isFullscreen=!0):(i.container.removeClass("df-fullscreen"),s.isFullscreen=!1,document.exitFullscreen?document.fullscreenElement&&document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.fullscreenElement&&document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()),d.hasFullscreenEnabled()||setTimeout((function(){i.resize()}),50)};var k=s.fullScreen=t(g.div,{class:"df-ui-btn df-ui-fullscreen "+r.icons.fullscreen,title:r.text.toggleFullscreen,html:"<span>"+r.text.toggleFullscreen+"</span>"}).on("click",s.switchFullscreen),T=s.fit=t(g.div,{class:"df-ui-btn df-ui-fit "+r.icons.fitscreen}).on("click",(function(){t(this).toggleClass("df-button-fit-active")}));b.append(k);var O=t(g.div,{class:"df-ui-wrapper df-ui-controls"}),R=(s.shareBox=new e.Share(n,r),s.share=t(g.div,{class:"df-ui-btn df-ui-share "+r.icons.share,title:r.text.share,html:"<span>"+r.text.share+"</span>"}).on("click",(function(e){1==s.shareBox.isOpen?s.shareBox.close():(s.shareBox.update(i.getURLHash()),s.shareBox.show())}))),F=s.startPage=t(g.div,{class:"df-ui-btn df-ui-start "+(a?r.icons.end:r.icons.start),title:r.text.gotoFirstPage,html:"<span>"+r.text.gotoFirstPage+"</span>"}).on("click",(function(){i.start()})),N=s.endPage=t(g.div,{class:"df-ui-btn df-ui-end "+(a?r.icons.start:r.icons.end),title:r.text.gotoLastPage,html:"<span>"+r.text.gotoLastPage+"</span>"}).on("click",(function(){i.end()})),z=s.pageMode=t(g.div,{class:"df-ui-btn df-ui-pagemode "+r.icons.singlepage,html:"<span>"+r.text.singlePageMode+"</span>"}).on("click",(function(){var e=t(this);i.setPageMode(!e.hasClass(r.icons.doublepage))}));i.setPageMode(i.target.pageMode==e.PAGE_MODE.SINGLE);var _=s.altPrev=t(g.div,{class:"df-ui-btn df-ui-prev df-ui-alt "+r.icons.prev,title:a?r.text.nextPage:r.text.previousPage,html:"<span>"+r.text.previousPage+"</span>"}).on("click",(function(){i.prev()})),A=s.altNext=t(g.div,{class:"df-ui-btn df-ui-next df-ui-alt "+r.icons.next,title:a?r.text.previousPage:r.text.nextPage,html:"<span>"+r.text.nextPage+"</span>"}).on("click",(function(){i.next()})),j=s.thumbnail=t(g.div,{class:"df-ui-btn df-ui-thumbnail "+r.icons.thumbnail,title:r.text.toggleThumbnails,html:"<span>"+r.text.toggleThumbnails+"</span>"}).on("click",(function(){var e=t(this);i.target.thumbContainer?(i.target.thumbContainer.toggleClass("df-sidemenu-visible"),e.toggleClass("df-active")):(i.contentProvider.initThumbs(),e.toggleClass("df-active"));e.hasClass("df-active")&&e.siblings(".df-active").trigger("click"),s.update(!0)})),U=s.outline=t(g.div,{class:"df-ui-btn df-ui-outline "+r.icons.outline,title:r.text.toggleOutline,html:"<span>"+r.text.toggleOutline+"</span>"}).on("click",(function(){var e=t(this);if(i.target.outlineContainer){var n=i.target.outlineContainer;e.toggleClass("df-active"),n.toggleClass("df-sidemenu-visible"),e.hasClass("df-active")&&e.siblings(".df-active").trigger("click"),s.update(!0)}})),H=r.allControls.replace(/ /g,"").split(","),W=","+r.moreControls.replace(/ /g,"")+",",V=","+r.hideControls.replace(/ /g,"")+",";B&&D&&(V+=",fullScreen,");W.split(",");for(var G=0;G<H.length;G++){var q=H[G];if(V.indexOf(","+q+",")<0){var Z=s[q];null!=Z&&"object"==typeof Z&&(W.indexOf(","+q+",")>-1&&"more"!==q&&"pageNumber"!==q?I.append(Z):O.append(Z))}}n.append(O).append(u).append(c).append(p);function Y(e){switch(e.keyCode){case 27:1==s.isFullscreen?s.fullScreen.trigger("click"):window.dfLightBox&&window.dfActiveLightBoxBook&&window.dfLightBox.closeButton.trigger("click");break;case 16:!1;break;case 17:!1;break;case 18:!1;break;case 37:i.prev();break;case 39:i.next()}}document.addEventListener("keyup",Y,!1),s.update=function(t){S("ui update");var o=i.target,a=l(o._activePage||i._activePage),r=o.pageCount||i.pageCount,c=o.direction==e.DIRECTION.RTL,d=1==a||0==a,u=a==r;s.next.show(),s.prev.show(),s.altNext.removeClass("disabled"),s.altPrev.removeClass("disabled"),(d&&!c||u&&c)&&(s.prev.hide(),s.altPrev.addClass("disabled")),(u&&!c||d&&c)&&(s.next.hide(),s.altNext.addClass("disabled")),s.pageInput.val(a),s.pageLabel.html(a+"/"+r),n.find(".df-sidemenu-visible").length>0?n.addClass("df-sidemenu-open"):n.removeClass("df-sidemenu-open"),1==t&&i.resize(),o.contentProvider.zoomScale==o.contentProvider.maxZoom?s.zoomIn.addClass("disabled"):s.zoomIn.removeClass("disabled"),1==o.contentProvider.zoomScale?s.zoomOut.addClass("disabled"):s.zoomOut.removeClass("disabled")},null!=i.target&&(i.target.ui=s),null!=r.onCreateUI&&r.onCreateUI(i)},j=null;function U(){j=function(e){function n(n){n=n||{};var i=this;e.call(this,n),i.options=n,i.canvas=t(i.renderer.domElement).addClass("df-3dcanvas"),i.container=n.container,i.container.append(i.canvas),i.type="PreviewStage",i.mouse=new THREE.Vector2,i.raycaster=new THREE.Raycaster,i.camera.position.set(0,20,600),i.camera.lookAt(new THREE.Vector3(0,0,0)),i.spotLight.position.set(-220,330,550),i.spotLight.castShadow=!D&&!d.isIPad&&n.webglShadow,i.spotLight.shadow&&(i.spotLight.shadow.bias=-8e-4),i.spotLight.intensity=f(n.spotLightIntensity,s.spotLightIntensity),i.ambientLight.color=new THREE.Color(f(n.ambientLightColor,s.ambientLightColor)),i.ambientLight.intensity=f(n.ambientLightIntensity,s.ambientLightIntensity);var o=new THREE.ShadowMaterial;o.opacity=f(n.shadowOpacity,s.shadowOpacity),i.ground.material=o,i.ground.position.z=-2,i.orbitControl.maxAzimuthAngle=0,i.orbitControl.minAzimuthAngle=0,i.orbitControl.minPolarAngle=Math.PI/2,i.orbitControl.maxPolarAngle=2.2,i.orbitControl.mouseButtons.ORBIT=THREE.MOUSE.RIGHT,i.orbitControl.mouseButtons.PAN=-1,i.orbitControl.maxDistance=5e3,i.orbitControl.minDistance=50,i.orbitControl.noZoom=!0,i.selectiveRendering=!0,i.orbitControl.zoomSpeed=5,i.orbitControl.keyPanSpeed=0,i.orbitControl.center.set(0,0,0),i.orbitControl.update(),i.swipe_threshold=D?15:20;var a=i.cssRenderer=new THREE.CSS3DRenderer;t(a.domElement).css({position:"absolute",top:0,pointerEvents:"none"}).addClass("df-3dcanvas df-csscanvas"),i.container[0].appendChild(a.domElement);var r=i.cssScene=new THREE.Scene,l=document.createElement("div");l.className="df-page-content df-page-content-left";var c=document.createElement("div");c.className="df-page-content df-page-content-right";var u=r.divLeft=new THREE.CSS3DObject(l),h=r.divRight=new THREE.CSS3DObject(c);function g(){i.renderRequestPending=!0}r.add(u),r.add(h),i.resizeCallback=function(){a.setSize(i.canvas.width(),i.canvas.height())},window.addEventListener(p.move,g,!1),window.addEventListener("keyup",g,!1),i.dispose=function(){i.clearChild(),i.render(),window.removeEventListener(p.move,g,!1),1==i.options.scrollWheel&&(i.container[0].removeEventListener("mousewheel",m,!1),i.container[0].removeEventListener("DOMMouseScroll",m,!1)),window.removeEventListener("keyup",g,!1),i.renderer.domElement.removeEventListener("mousemove",v,!1),i.renderer.domElement.removeEventListener("touchmove",v,!1),i.renderer.domElement.removeEventListener("mousedown",b,!1),i.renderer.domElement.removeEventListener("touchstart",b,!1),i.renderer.domElement.removeEventListener("mouseup",w,!1),i.renderer.domElement.removeEventListener("touchend",w,!1),i.canvas.remove(),a.domElement.parentNode.removeChild(a.domElement),a=null,i.renderCallback=null,i.renderCallback=null,i.orbitControl.dispose(),i.orbitControl=null,i.renderer.dispose(),i.cancelRAF()},i.renderCallback=function(){TWEEN.getAll().length>0&&(i.renderRequestPending=!0),TWEEN.update(),a.render(r,i.camera)};var m=function(e){if(!0===i.previewObject.options.isLightBox||!0===i.previewObject.ui.isFullscreen){var t=0;if(null!=e.wheelDelta?t=e.wheelDelta:null!=e.detail&&(t=-e.detail),t){var n=i.previewObject.contentProvider.zoomScale;(t>0&&1==n||t<0&&n>1)&&e.preventDefault(),i.previewObject.zoom(t>0?1:-1)}g()}},v=function(e){if(i.renderRequestPending=!0,e=O(e),i.isMouseDown&&0!=e.movementX&&0!=e.movementY&&(i.isMouseMoving=!0),null!=e.touches&&2==e.touches.length&&null!=i.startTouches){i.zoomDirty=!0;var t=d.getVectorAvg(d.getTouches(e,i.container.offset())),n=d.calculateScale(i.startTouches,d.getTouches(e));i.lastScale,i.previewObject.contentProvider.zoomScale,t.x,t.y;return i.camera.position.z=i.originalZ/n,i.lastScale=n,i.lastZoomCenter=t,void e.preventDefault()}if(1==i.isMouseDown&&1==i.previewObject.contentProvider.zoomScale){var o=e.pageX-i.lastPos;performance.now(),i.lastTime;Math.abs(o)>i.swipe_threshold&&(o<0?i.target.next():i.target.prev(),e.preventDefault(),i.isMouseDown=!1),i.lastPos=e.pageX,i.lastTime=performance.now()}},b=function(e){null!=(e=O(e)).touches&&2==e.touches.length&&null==i.startTouches&&(i.startTouches=d.getTouches(e),i.lastScale=1,i.originalZ=1*i.camera.position.z),document.activeElement.blur(),i.mouseValue=e.pageX+","+e.pageY,i.isMouseMoving=!1,i.isMouseDown=!0,i.lastPos=e.pageX,i.lastTime=performance.now()},w=function(e){if(null!=(e=O(e)).touches&&0==e.touches.length){i.previewObject.contentProvider.zoomScale;1==i.zoomDirty&&(i.previewObject.contentProvider.zoomScale=d.limitAt(i.previewObject.contentProvider.zoomScale*i.lastScale,1,i.previewObject.contentProvider.maxZoom),i.previewObject.zoomValue=1*i.previewObject.contentProvider.zoomScale,i.previewObject.resize(),i.zoomDirty=!1),i.lastScale=null,i.startTouches=null}null!=e.touches&&e.touches.length>1||function(e){if(i.isMouseDown=!1,0!==e.button)return this;var n=e.pageX+","+e.pageY;if(i.isMouseMoving);else if(n==i.mouseValue){e=e||window.event,e=t.event.fix(e);var o=i.mouse,a=i.raycaster;o.x=e.offsetX/i.canvas.innerWidth()*2-1,o.y=1-e.offsetY/i.canvas.innerHeight()*2,a.setFromCamera(o,i.camera);var s=a.intersectObjects(i.target instanceof MOCKUP.Bundle?i.target.children:[i.target],!0);if(s.length>0){var r,l=0;do{r=null!=s[l]?s[l].object:null,l++}while((r instanceof THREE.BoxHelper||!(r instanceof MOCKUP.Paper)||1==r.isFlipping)&&l<s.length);null!=r.userData.object||(r.angles[1]>90?1!=r.isEdge&&i.target.next():1!=r.isEdge&&i.target.prev())}}}(e)};return i.renderer.domElement.addEventListener("mousemove",v,!1),i.renderer.domElement.addEventListener("touchmove",v,!1),i.renderer.domElement.addEventListener("mousedown",b,!1),i.renderer.domElement.addEventListener("touchstart",b,!1),i.renderer.domElement.addEventListener("mouseup",w,!1),i.renderer.domElement.addEventListener("touchend",w,!1),1==i.options.scrollWheel&&(i.container[0].addEventListener("mousewheel",m,!1),i.container[0].addEventListener("DOMMouseScroll",m,!1)),t(i.renderer.domElement).css({display:"block"}),t(window).trigger("resize"),this}return _(n,e),n.prototype.width=function(){return this.container.width()},n.prototype.height=function(){return this.container.height()},n}(MOCKUP.Stage),MOCKUP.PreviewStage=j;var n=function(t){function n(e,n){(e=e||{}).folds=1,t.call(this,e,n),this.angle=0,this.isFlipping=!1,this.material.materials[5].transparent=!0,this.material.materials[4].transparent=!0,this.type="BookPaper"}return _(n,t),n.prototype.tween=function(t,n){var i=this,o=1e-5;i.originalStiff=i.stiffness;var a=i.newStiffness,s=F(i.parent),r=n-t,l=t>90,c=i.parent.direction==e.DIRECTION.RTL;i.init={angle:t,angle2:t<90?0:180,stiff:i.originalStiff,index:l&&!c||!l&&c?1:0},i.first={angle:t+r/4,angle2:90,stiff:i.originalStiff,index:l&&!c||!l&&c?1:.25},i.mid={angle:t+2*r/4,angle2:t<90?135:45,stiff:i.newStiffness,index:.5},i.mid2={angle:t+3*r/4,angle2:t<90?180:0,stiff:i.newStiffness,index:l&&!c||!l&&c?.25:1},i.end={angle:n,angle2:t<90?180:0,stiff:i.newStiffness,index:l&&!c||!l&&c?0:1},i.isFlipping=!0;s&&(!l&&!c||l&&c)&&(i.material.materials[5].opacity=i.material.materials[4].opacity=0,i.castShadow=!1),i.currentTween=new TWEEN.Tween(i.init).to({angle:[i.first.angle,i.mid.angle,i.mid2.angle,i.end.angle],angle2:[i.first.angle2,i.mid.angle2,i.mid2.angle2,i.end.angle2],stiff:[i.first.stiff,i.mid.stiff,i.mid2.stiff,i.end.stiff],index:[i.first.index,i.mid.index,i.mid2.index,i.end.index]},i.parent.duration).onUpdate((function(e){var t;t=this,i.angles[1]=t.angle,i.angles[4]=i.isHard?t.angle:t.angle2,1==i.isHard?i.stiffness=0:(i.stiffness=t.stiff/(a+o)*(i.newStiffness+o),i.stiffness=isNaN(i.stiffness)?0:t.stiff),s&&(i.material.materials[5].opacity=i.material.materials[4].opacity=t.index,i.castShadow=t.index>.5),i.updateAngle(!0)})).easing(TWEEN.Easing.Sinusoidal.Out).onComplete((function(e){i.stiffness=i.newStiffness,i.updateAngle(),i.material.materials[5].opacity=i.material.materials[4].opacity=1,i.castShadow=!0,i.isFlipping=!1,i.parent&&i.parent.refresh&&i.parent.refresh()})).start()},n}(MOCKUP.FlexBoxPaper);MOCKUP.BookPaper=n;var i=function(t){function n(n,i){(n=n||{}).segments=n.segments||50,this.pageCount=n.pageCount,this.height=n.height,this.width=n.width,this.direction=n.direction||e.DIRECTION.LTR,this.startPage=1,this.endPage=this.pageCount,this.stackCount=n.stackCount||6,this.materials=[],t.call(this,n,i),this.angles=[0,0,0,0,0,0],this.stiffness=null==n.stiffness?1.5:n.stiffness,this.hardConfig=n.hard,this._activePage=n.openPage||this.startPage,this.createStack(n),this.pageMode=n.pageMode||(D||this.pageCount<=2?e.PAGE_MODE.SINGLE:e.PAGE_MODE.DOUBLE),this.singlePageMode=n.singlePageMode||(D?e.SINGLE_PAGE_MODE.BOOKLET:e.SINGLE_PAGE_MODE.ZOOM),this.type="Book"}return _(n,t),n.prototype.getPageByNumber=function(e){var t=F(this)?M(this)?e+1:e:Math.floor((e-1)/2);return this.getObjectByName(t.toString())},n.prototype.isPageHard=function(e){return d.isHardPage(this.hardConfig,e,this.pageCount)},n.prototype.activePage=function(e){if(null==e)return this._activePage;this.gotoPage(e)},n.prototype.gotoPage=function(e){e=parseInt(e,10),this._activePage=e,1==this.autoPlay&&this.previewObject.setAutoPlay(this.autoPlay),this.updatePage(e),this&&this.thumblist&&this.thumblist.review&&this.thumblist.review()},n.prototype.moveBy=function(e){var t=this._activePage+e;t=x(t,this.startPage,this.endPage),1!=this.firstFlipped&&(this.previewObject.analytics({eventAction:"First Page Flip",options:this.previewObject.options}),this.firstFlipped=!0),this.gotoPage(t)},n.prototype.next=function(t){null==t&&(t=this.direction==e.DIRECTION.RTL?-this.pageMode:this.pageMode),this.moveBy(t)},n.prototype.prev=function(t){null==t&&(t=this.direction==e.DIRECTION.RTL?this.pageMode:-this.pageMode),this.moveBy(t)},n.prototype.updateAngle=function(){for(var e=this.angles[1],t=this.angles[4]-e,n=this.stackCount,i=0;i<n;i++){var o=this.children[i];o.angles[1]=e+i*t/(100*n),o.stiffness=this.stiffness,o.updateAngle()}},n.prototype.refresh=function(){this.updatePage(this._activePage),null!=this.flipCallback&&this.flipCallback()},n.prototype.updatePage=function(t){var n=this.direction==e.DIRECTION.RTL,i=F(this),o=(k(t),i?1:2);t=Math.floor(t/o),n&&(t=Math.ceil(this.pageCount/o)-t);var a=this.oldBaseNumber||0,r=this.pageCount/o,l=this.stackCount,c=.02,d=.4,u=i?0:(.5-Math.abs(r/2-t)/r)/this.stiffness,h=Math.floor(l/2),p=!1;a>t?(p=!0,this.children[l-1].skipFlip=!0,this.children.unshift(this.children.pop())):a<t&&(this.children[0].skipFlip=!0,this.children.push(this.children.shift()));for(var g=5/r,f=g*t/2,m=g*(r-t)/2,v=f<m?m:f,b=0;b<l;b++){var w,P=this.children[b],x=(P.color,P.angles[1]),y=t-h+b;n&&(y=i?this.pageCount-y:Math.ceil(this.pageCount/2)-y-1);var C=P.isHard=this.isPageHard(y),L=P.name;P.isEdge=!1,0==b?P.depth=f<d?d:f:b==l-1?P.depth=m<d?d:m:(P.depth=d,P.isEdge=!1),1==P.isFlipping&&(P.depth=d),P.position.x=0;var S=c*b,I=180-c*(b-h)+c*b;if(b<h?(P.newStiffness=C||0==this.stiffness?0:u/(t/r)/4,w=S,P.position.z=v-(-b+h)*d,1==p&&(P.position.z-=d)):(w=I,P.newStiffness=C||0==this.stiffness?0:u/(Math.abs(r-t)/r)/4,P.position.z=v-(-l+b+h+1)*d-P.depth),0==P.isFlipping)if(Math.abs(x-w)>20&&0==P.skipFlip){P.depth=d;var E=P.stiffness;E=x>w?u/(Math.abs(r-t)/r)/4:u/(t/r)/4,P.position.z+=d,P.stiffness=isNaN(E)?P.stiffness:E,P.updateAngle(!0),P.targetStiffness=C?0:b<t?u/(Math.abs(r-t)/r)/4:u/(t/r)/4,P.targetStiffness=C?0:isNaN(P.targetStiffness)?P.stiffness:P.targetStiffness,P.isFlipping=!0,P.tween(x,w),null!=this.preFlipCallback&&this.preFlipCallback()}else P.skipFlip=!1,P.newStiffness=isNaN(P.newStiffness)?0:P.newStiffness,P.angles[1]==w&&P.stiffness==P.newStiffness&&P.depth==P.oldDepth||(P.angles[1]=P.angles[4]=w,P.stiffness=P.newStiffness,P.updateAngle(!0));P.visible=i?n?b<h||P.isFlipping:b>=h||P.isFlipping:y>=0&&y<r||i&&y==r,null!=this.requestPage&&(P.name=y.toString(),P.name!=L&&(P.textureLoaded=!1,P.frontImage(s.textureLoadFallback),P.frontPageStamp="-1",P.frontTextureLoaded=!1,P.thumbLoaded=!1,P.backImage(s.textureLoadFallback),P.backPageStamp="-1",P.backTextureLoaded=!1,this.requestPage())),P.oldDepth=P.depth;var T=Math.abs(P.geometry.boundingBox.max.x)<Math.abs(P.geometry.boundingBox.min.x)?P.geometry.boundingBox.max.x:P.geometry.boundingBox.min.x;P.position.x=1==P.isEdge&&0==P.isFlipping?b<h?T:-T:0}this.oldBaseNumber=t,null!=this.updatePageCallback&&this.updatePageCallback()},n.prototype.createCover=function(e){e.width=2*e.width,this.cover=new MOCKUP.BiFold(e),this.add(this.cover)},n.prototype.createStack=function(e){for(var t="red,green,blue,yellow,orange,black".split(","),n=0;n<this.stackCount;n++){e.angles=[,this.stackCount-n],e.stiffness=(this.stackCount-n)/100;var i=new MOCKUP.BookPaper(e);i.angles[1]=180,i.index=n,i.updateAngle(),i.textureReady=!1,i.textureRequested=!1,this.add(i),i.color=t[n],i.position.z=-1*n}},n.prototype.shininess=function(e){if(null==e)return this.mainObject.shininess();this.mainObject.shininess(e)},n.prototype.bumpScale=function(e){if(null==e)return this.mainObject.bumpScale();this.mainObject.bumpScale(e)},n.prototype.frontImage=function(e){if(null==e)return this.mainObject.frontImage();this.mainObject.frontImage(e)},n.prototype.backImage=function(e){if(null==e)return this.mainObject.backImage();this.mainObject.backImage(e)},n}(MOCKUP.Bundle);MOCKUP.Book=i}var H=function(n){function i(t){t=t||{},this.type="PreviewObject";var n=this;function i(){setTimeout((function(){n.resize()}),50)}n.zoomValue=1,window.addEventListener("resize",i,!1),this.sound=document.createElement("audio"),this.sound.setAttribute("src",t.soundFile+"?ver="+e.version),this.sound.setAttribute("type","audio/mpeg"),this.autoPlayFunction=function(){n&&n.target.autoPlay&&(n.target.direction==e.DIRECTION.RTL?n.target.prev():n.target.next())},this.dispose=function(){if(clearInterval(this.autoPlayTimer),this.autoPlayTimer=null,this.autoPlayFunction=null,this.target&&this.target.children)for(var e=0;e<this.target.children.length;e++){var t=this.target.children[e];t&&t.currentTween&&t.currentTween.stop()}this.zoomTween&&(this.zoomTween.stop&&this.zoomTween.stop(),this.zoomTween=null),this.container&&(this.container.removeClass&&this.container.removeClass("df-sidemenu-open df-floating"),this.container.info&&this.container.info.remove&&this.container.info.remove(),this.commentPopup.remove()),this.target&&this.target.dispose&&this.target.dispose(),this.target=null,this.stage&&this.stage.dispose&&this.stage.dispose(),this.stage=null,this.ui&&this.ui.dispose&&this.ui.dispose(),this.ui=null,this.contentProvider&&this.contentProvider.dispose&&this.contentProvider.dispose(),this.contentProvider=null,this.checkRequestQueue=null,window.removeEventListener("resize",i)},this.checkRequestQueue()}return i.prototype={checkRequestQueue:function(){var e=this;e.checkRequestQueue&&window.requestAnimationFrame&&requestAnimationFrame((function(){e&&e.checkRequestQueue&&e.checkRequestQueue()})),e.container&&e.container[0]&&e._offsetParent!==e.container[0].offsetParent&&(e._offsetParent=e.container[0].offsetParent,null!==e._offsetParent&&e.resize(),d.log("Visibility Resize Detected"))},start:function(){this.target.gotoPage(this.target.startPage)},end:function(){this.target.gotoPage(this.target.endPage)},next:function(){},prev:function(){},getPageTextContent:function(e){return this.contentProvider.pdfDocument.getPage(e+1).then((function(e){return e.getTextContent({normalizeWhitespace:!0})}))},calculateSize:function(e,t,n,i,o,a,s,r){var l=e,c=t-o,d=l-i,u=Math.ceil(r?c:c/2),h=u/s,p=null;a?l=p=Math.min(h,n-i):p=Math.min(d,n-i);var g,f,m=h>p;return m?(f=p,g=Math.floor(f*s)):(g=u,f=Math.ceil(u/s)),a&&(l=Math.max(f+i,320)),{stageHeight:l,isWide:m,height:f,width:g}},zoom:function(e){this.pendingZoom=!0,this.zoomDelta=e,this.resize(),this.ui&&this.ui.update()},resize:function(){var n=this;if(null!=n.target&&null!=n.target.ui&&null!=n.target.contentProvider&&null!=n.target.contentProvider.viewport&&null!=n.target.stage){this.ui&&1==this.ui.isFullscreen&&1==d.hasFullscreenEnabled()&&null==d.getFullscreenElement()&&this.ui.switchFullscreen();var i,o,a,s,r,l,c=n.target,h=n.container,p=n.options,g=c.stage,f=c.contentProvider,m=f.pageRatio,v=(f.zoomViewport,M(c)),b="css"!==c.mode,w=(f.pageRatio,1!=this.ui.isFullscreen&&"auto"===p.height),P=h.hasClass("df-sidemenu-open")?220:0,C=this.target.pageMode==e.PAGE_MODE.SINGLE;void 0===this._offsetParent&&(this._offsetParent=this.container[0].offsetParent);var L=h.width();L<400?n.container.addClass("df-xs"):n.container.removeClass("df-xs");var S=h.find(".df-ui-controls").height(),I=p.paddingTop+(p.controlsPosition==e.CONTROLSPOSITION.TOP?S:0),E=p.paddingRight,k=p.paddingBottom+(p.controlsPosition==e.CONTROLSPOSITION.BOTTOM?S:0),T=p.paddingLeft,O=(I=isNaN(I)?0:x(I,0,I))+(k=isNaN(k)?0:x(k,0,k)),R=(T=isNaN(T)?0:x(T,0,T))+(E=isNaN(E)?0:x(E,0,E)),F=L-P;h.height(p.height);var D=t(window).height(),N=Math.min(h.height(),D),z=n.calculateSize(N,F,D,O,R,w,m,C);N=B=w?n.calculateSize(N,F+P,D,O,R,w,m,C).stageHeight:z.stageHeight,h.height(N);var B=N,_=F-R,A=B-O;if(a=Math.floor(C?_:_/2),(i=(o=Math.floor(a/m))>A)&&(a=(o=A)*m),l=f.maxZoom=f.zoomViewport.height/o,null==n.zoomValue&&(n.zoomValue=1),null==f.zoomScale&&(f.zoomScale=1),1==n.pendingZoom&&null!=n.zoomDelta){n.zoomDelta,Math.max(o,a);n.zoomValue=n.zoomDelta>0?n.zoomValue*n.options.zoomRatio:n.zoomValue/n.options.zoomRatio,n.zoomValue=x(n.zoomValue,1,l),1==n.zoomValue?f.zoomScale=1:f.zoomScale=x(n.zoomValue,1,l)}r=f.zoomScale,f.checkViewportSize(a,o,r),f.contentSourceType==u.PDF&&(a=f.imageViewport.width/r,o=f.imageViewport.height/r),1!=f.zoomScale&&this.target.container.addClass("df-zoom-enabled");var j=c.zoomWidth=Math.floor(a*r),U=c.zoomHeight=Math.floor(o*r),H=2*j;if(b){var W=U/c.height,V=i?r*(o+O)/W:r*(a*(C?1:2)+R)/W/(F/B);g.resizeCanvas(F,B),s=1/(2*Math.tan(Math.PI*g.camera.fov*.5/180)/(V/r))+2.2,g.camera.updateProjectionMatrix(),g.renderRequestPending=!0;var G=(I-k)*(c.height/o)/r/2,q=1==f.zoomScale;g.camera.position.z!==s&&1==n.pendingZoom?(null!=n.zoomTween&&n.zoomTween.stop(),n.zoomTween=new TWEEN.Tween({campos:g.camera.position.z,otx:g.orbitControl.target.x,oty:g.orbitControl.target.y,otz:g.orbitControl.target.z}).delay(0).to({campos:s,otx:0,oty:G,otz:0},100).onUpdate((function(){g.camera.position.z=this.campos,q&&(g.camera.position.y=this.oty,g.orbitControl.target=new THREE.Vector3(this.otx,this.oty,this.otz)),g.orbitControl.update()})).easing(TWEEN.Easing.Linear.None).onComplete((function(){g.camera.position.z=s,1==f.zoomScale&&(g.camera.position.set(0,G,s),g.orbitControl.target=new THREE.Vector3(0,G,0)),g.orbitControl.update()})).start()):(1==f.zoomScale&&(g.camera.position.set(0,G,s),g.orbitControl.target=new THREE.Vector3(0,G,0)),g.orbitControl.update()),g.orbitControl.update(),g.orbitControl.mouseButtons.ORBIT=1!=r?-1:THREE.MOUSE.RIGHT,g.orbitControl.mouseButtons.PAN=1!=r?THREE.MOUSE.LEFT:-1}else{c.pageWidth=Math.round(a),c.fullWidth=2*c.pageWidth,c.height=Math.round(o);var Z=c.shiftHeight=Math.round(x((U-B+O)/2,0,U)),Y=c.shiftWidth=Math.round(x((H-F+R)/2,0,H));1==r&&(c.left=0,c.top=0),c.stage.css({top:-Z,bottom:-Z,right:-Y+(v?P:0),left:-Y+(v?0:P),paddingTop:I,paddingRight:E,paddingBottom:k,paddingLeft:T,transform:"translate3d("+c.left+"px,"+c.top+"px,0)"}),c.stageHeight=g.height(),c.wrapper.css({width:H,height:U,marginTop:N-U-O>0?(N-O-U)/2:0});var K=Math.floor(y(a,o)*r);c.stage.find(".df-page-wrapper").width(K).height(K),c.stage.find(".df-book-page, .df-page-front , .df-page-back, .df-page-fold-inner-shadow").height(U).width(j)}n.checkCenter({type:"resize"}),1==f.zoomScale&&this.target.container.removeClass("df-zoom-enabled"),c.thumblist&&c.thumblist.reset(t(c.thumblist.container).height()),n.pendingZoom=!1}},playSound:function(){try{this.options&&1==this.options.soundEnable&&(this.sound.currentTime=0,this.sound.play())}catch(e){}},setPageMode:function(t){1==t?(this.ui.pageMode.addClass(this.options.icons.doublepage),this.ui.pageMode.html("<span>"+this.options.text.doublePageMode+"</span>"),this.ui.pageMode.attr("title",this.options.text.doublePageMode),this.target.pageMode=e.PAGE_MODE.SINGLE):(this.ui.pageMode.removeClass(this.options.icons.doublepage),this.ui.pageMode.html("<span>"+this.options.text.singlePageMode+"</span>"),this.ui.pageMode.attr("title",this.options.text.singlePageMode),this.target.pageMode=e.PAGE_MODE.DOUBLE),this.target&&this.target.singlePageMode==e.SINGLE_PAGE_MODE.BOOKLET&&this.target.reset(),this.resize()},setAutoPlay:function(e){if(this.options.autoPlay){var t=(e=1==e)?this.options.text.pause:this.options.text.play;this.ui.play.toggleClass(this.options.icons.pause,e),this.ui.play.html("<span>"+t+"</span>"),this.ui.play.attr("title",t),clearInterval(this.autoPlayTimer),e&&(this.autoPlayTimer=setInterval(this.autoPlayFunction,this.options.autoPlayDuration)),this.target.autoPlay=e}},height:function(e){if(null==e)return this.container.height();this.options.height=e,this.container.height(e),this.resize()},checkCenter:function(t){t=null==t?{}:t,this.centerType=this.centerType||"start";var n,i=this.target,o=0,a=0,s=0,r=d.getBasePage(i._activePage),l=i._activePage%2==0,c=i.direction==e.DIRECTION.RTL,u=i.pageMode==e.PAGE_MODE.SINGLE,h=u&&i.singlePageMode==e.SINGLE_PAGE_MODE.BOOKLET,p=i.stage.width();if("css"==i.mode)n=i.wrapper.width(),o=Math.max((n-p)/2,0),a=-n/4,s=n/4,0==r||h?(i.wrapper.css({left:u?c?s-o:a-o:c?s:a}),i.shadow.css({width:"50%",left:c?0:"50%",transitionDelay:""})):r==i.pageCount?(i.wrapper.css({left:u?c?a-o:s-o:c?a:s}),i.shadow.css({width:"50%",left:c?"50%":0,transitionDelay:""})):(i.wrapper.css({left:u?c?l?a-o:s-o:l?s-o:a-o:0}),i.shadow.css({width:"100%",left:0,transitionDelay:parseInt(i.duration,10)+50+"ms"})),i.wrapper.css({transition:"resize"==t.type?"none":""});else if(null!=i.stage){var g,f=i.position.x;o=i.width/4,a=-(n=i.width)/2,s=n/2,(g=0==r||h?c?s:a:r==i.pageCount?c?a:s:u?c?l?a:s:l?s:a:0)!==this.centerEnd&&(this.centerTween=new TWEEN.Tween({x:f}).delay(0).to({x:g},i.duration).onUpdate((function(){i.position.x=this.x,i.stage.cssScene.position.x=this.x})).easing(i.ease).start(),this.centerEnd=g)}},width:function(e){if(null==e)return this.container.width();this.options.width=e,this.container.width(e),this.resize()}},i}();e.PreviewObject=H;var W=function(n){function i(n,i,o,a){o=o||{};var r=this;if(r.contentRawSource=n,r.contentSource=r.contentRawSource,r.contentSourceType=null,r.minDimension=o.minTextureSize||256,r.maxDimension=o.maxTextureSize||2048,r.pdfRenderQuality=o.pdfRenderQuality||e.defaults.pdfRenderQuality,r.flipbook=a,r.waitPeriod=50,r.maxLength=297,r.enableDebug=!1,r.zoomScale=1,r.maxZoom=2,r.options=o,r.outline=o.outline,r.links=o.links,r.html=o.html,r.isCrossOrigin=o.isCrossOrigin,r.normalViewport={height:297,width:210,scale:1},r.viewport={height:297,width:210,scale:1},r.imageViewport={height:297,width:210,scale:1},r.bookSize={height:297,width:210},r.zoomViewport={height:297,width:210},r.thumbsize=128,r.cacheIndex=256,r.cache=[],r.pageRatio=o.pageRatio||r.viewport.width/r.viewport.height,r.textureLoadTimeOut=null,r.type="TextureLibrary",null!=r.contentSource&&(Array===r.contentSource.constructor||Array.isArray(r.contentSource)||r.contentSource instanceof Array)){r.contentSourceType=u.IMAGE,r.pageCount=r.contentSource.length;for(var l=0;l<r.contentSource.length;l++)r.contentSource[l]=d.httpsCorrection(r.contentSource[l].toString());t("<img/>").attr("src",r.contentSource[0]).on("load",(function(){r.viewport.height=this.height,r.viewport.width=this.width,r.pageRatio=r.viewport.width/r.viewport.height,r.bookSize={width:(r.pageRatio>1?1:r.pageRatio)*r.maxLength,height:r.maxLength/(r.pageRatio<1?1:r.pageRatio)},r.zoomViewport={width:(r.pageRatio>1?1:r.pageRatio)*r.maxDimension,height:r.maxDimension/(r.pageRatio<1?1:r.pageRatio)},r.linkService=new PDFLinkService,t(this).off(),r.options.pageSize==e.PAGE_SIZE.DOUBLEINTERNAL&&(r.pageCount=2*r.contentSource.length-2,1==r.options.webgl&&(r.requiresImageTextureScaling=!0)),null!=i&&(i(r),i=null),S(this.height+":"+this.width)}))}else if("string"==typeof r.contentSource||r.contentSource instanceof String){var c=function(){r.contentSource.indexOf(".base64")>1?t.ajax({url:r.contentSource,xhrFields:{onprogress:function(e){if(e.lengthComputable){var t=100*e.loaded/e.total;r.updateInfo(r.options.text.loading+" PDF "+t.toString().split(".")[0]+"% ...")}}},success:function(e){r.options.docParameters={data:atob(e)},h()}}):h()},h=function(){if(r){pdfjsLib.GlobalWorkerOptions.workerSrc=s.pdfjsWorkerSrc,r.contentSourceType=u.PDF;var t=r.options.disableFontFace;z||B||r.options.disableFontFace;var o=r.loading=pdfjsLib.getDocument(r.options.docParameters?r.options.docParameters:{url:d.httpsCorrection(n),rangeChunkSize:isNaN(r.options.rangeChunkSize)?524288:r.options.rangeChunkSize,cMapUrl:s.cMapUrl,cMapPacked:!0,imageResourcesPath:s.imageResourcesPath,disableAutoFetch:!0,disableStream:!0,disableRange:!0===r.options.disableRange,disableFontFace:t});o.promise.then((function(t){r.pdfDocument=t,t.getPage(1).then((function(n){r.normalViewport=n.getViewport({scale:1}),r.viewport=n.getViewport({scale:1}),r.viewport.height=r.viewport.height/10,r.viewport.width=r.viewport.width/10,r.pageRatio=r.viewport.width/r.viewport.height,r.bookSize={width:(r.pageRatio>1?1:r.pageRatio)*r.maxLength,height:r.maxLength/(r.pageRatio<1?1:r.pageRatio)},r.zoomViewport={width:(r.pageRatio>1?1:r.pageRatio)*r.maxDimension,height:r.maxDimension/(r.pageRatio<1?1:r.pageRatio)},r.refPage=n,t.numPages>1?t.getPage(2).then((function(n){if(r.options.pageSize==e.PAGE_SIZE.AUTO){var o=n.getViewport({scale:1});o.width/o.height>1.5*r.pageRatio?(r.options.pageSize=e.PAGE_SIZE.DOUBLEINTERNAL,r.pageCount=2*t.numPages-2):r.options.pageSize=e.PAGE_SIZE.SINGLE}null!=i&&(i(r),i=null)})):null!=i&&(i(r),i=null)})),r.linkService=new PDFLinkService,r.linkService.setDocument(t,null),r.pageCount=t.numPages,r.contentSource=t}),(function(e){if(r){var t="",n=document.createElement("a");n.href=r.contentSource,n.hostname!==window.location.hostname&&(t="CROSS ORIGIN!! "),r.updateInfo(t+"Cannot access file!  "+r.contentSource)}})),o.onProgress=function(e){if(r){var t=100*e.loaded/e.total;isNaN(t)?e&&e.loaded?r.updateInfo(r.options.text.loading+" PDF "+(Math.ceil(e.loaded/1e4)/100).toString()+"MB ..."):r.updateInfo(r.options.text.loading+" PDF ..."):r.updateInfo(r.options.text.loading+" PDF "+t.toString().split(".")[0]+"% ...")}}}},p=function(){if(r){s.pdfjsWorkerSrc.indexOf("?ver")<0&&(s.pdfjsWorkerSrc+="?ver="+e.version),r.updateInfo(r.options.text.loading+" PDF Worker ...");var n=document.createElement("a");n.href=s.pdfjsWorkerSrc,n.hostname!==window.location.hostname?(r.updateInfo(r.options.text.loading+" PDF Worker CORS ..."),t.ajax({url:s.pdfjsWorkerSrc,cache:!0,success:function(t){s.pdfjsWorkerSrc=e.createObjectURL(t,"text/javascript"),c()}})):c()}};null==window.pdfjsLib?r&&(r.updateInfo(r.options.text.loading+" PDF Service ..."),T(s.pdfjsSrc+"?ver="+e.version,(function(){"function"==typeof define&&define.amd&&window.requirejs?(r.updateInfo(r.options.text.loading+" PDF Service (require) ..."),require.config({paths:{"pdfjs-dist/build/pdf.worker":s.pdfjsWorkerSrc.replace(".js","")}}),require(["pdfjs-dist/build/pdf"],(function(e){window.pdfjsLib=e,p()}))):"object"==typeof exports&&null!=exports["pdfjs-dist/build/pdf"]?(window.pdfjsLib=exports["pdfjs-dist/build/pdf"],p()):p()}),(function(){r.updateInfo("Unable to load PDF service..")}))):c()}else r.updateInfo("Please set a valid document file or source."),console.error("Unknown source type. Please set a valid document file source.");return this.dispose=function(){r.loading&&r.loading.destroy&&r.loading.destroy(),r.loading=null,r.textureLoadTimeOut&&(clearTimeout(r.textureLoadTimeOut),r.textureLoadTimeOut=null),this.targetObject&&(this.targetObject.thumbContainer&&this.targetObject.thumbContainer.remove&&this.targetObject.thumbContainer.remove(),this.targetObject.outlineContainer&&this.targetObject.outlineContainer.remove&&this.targetObject.outlineContainer.remove(),this.targetObject.dispose&&this.targetObject.dispose(),this.targetObject.processPage=null,this.targetObject.requestPage=null,this.targetObject.container&&this.targetObject.container.off&&this.targetObject.container.off()),this.pdfDocument&&this.pdfDocument.destroy&&this.pdfDocument.destroy(),this.linkService&&this.linkService.dispose&&this.linkService.dispose(),this.outlineViewer&&this.outlineViewer.dispose&&this.outlineViewer.dispose(),this.thumblist&&this.thumblist.dispose&&(this.thumblist.review=null,this.thumblist.dispose()),this.activeThumb=null,this.targetObject=null,this.pdfDocument=null,this.linkService=null,this.outlineViewer=null,this.thumblist=null,r=null},this}return _(i,{}),i.prototype.updateInfo=function(e){this.flipbook&&this.flipbook.updateInfo&&this.flipbook.updateInfo(e)},i.prototype.initThumbs=function(){var e,n=this;null==n.cache[n.thumbsize]&&(n.cache[n.thumbsize]=[]);var i=function(){clearTimeout(e),e=setTimeout((function(){e=setTimeout(o,n.waitPeriod/2)}),n.waitPeriod)},o=function(){var o=0;if((Date.now()-n.thumblist.lastScrolled<100?o=1:(n.targetObject.container.find(".df-thumb-container .df-vrow").each((function(){var e=t(this);if(!e.hasClass("df-thumb-loaded")){o++;var a=t(this).attr("id").replace("df-thumb","");return n.getPage(a,i,!0),e.addClass("df-thumb-loaded"),!1}})),0==o&&clearTimeout(e)),o>0&&i(),n.activeThumb!=n.targetObject._activePage)&&(null!=n.targetObject.thumbContainer&&n.targetObject.thumbContainer.hasClass("df-sidemenu-visible"))){var a=n.thumblist.container,s=a.scrollTop,r=a.getBoundingClientRect().height,l=n.targetObject.thumbContainer.find("#df-thumb"+n.targetObject._activePage);l.length>0?(n.targetObject.thumbContainer.find(".df-selected").removeClass("df-selected"),l.addClass("df-selected"),s+r<(l=l[0]).offsetTop+l.scrollHeight?d.scrollIntoView(l,null,!1):s>l.offsetTop&&d.scrollIntoView(l),n.activeThumb=n.targetObject._activePage):(t(a).scrollTop(124*n.targetObject._activePage),i())}};n.thumblist=n.targetObject.thumblist=new ThumbList({h:500,addFn:function(e){},scrollFn:i,itemHeight:128,totalRows:n.pageCount,generatorFn:function(e){var t=document.createElement("div"),n=e+1;t.id="df-thumb"+n;var i=document.createElement("div");return i.innerHTML=n,t.appendChild(i),t}}),n.thumblist.lastScrolled=Date.now(),n.thumblist.review=i,i();var a=t("<div>").addClass("df-thumb-container df-sidemenu-visible df-sidemenu");a.append(t(n.thumblist.container).addClass("df-thumb-wrapper")),n.targetObject.thumbContainer=a,n.targetObject.container.append(a);var s=t(g.div,{class:"df-ui-btn df-ui-sidemenu-close ti-close"});a.append(s),n.thumblist.reset(t(n.thumblist.container).height()),n.targetObject.container.on("click",".df-thumb-container .df-vrow",(function(e){e.stopPropagation();var i=t(this).attr("id").replace("df-thumb","");n.targetObject.gotoPage(parseInt(i,10))}))},i.prototype.initOutline=function(){var e=this,n=t("<div>").addClass("df-outline-container df-sidemenu"),i=t("<div>").addClass("df-outline-wrapper"),o=t(g.div,{class:"df-ui-btn df-ui-sidemenu-close ti-close"});function a(t){if(1==e.options.overwritePDFOutline&&(t=[]),t=t||[],e.outline)for(var n=0;n<e.outline.length;n++)e.outline[n].custom=!0,t&&t.push(e.outline[n]);0===t.length&&null!=e.targetObject.ui.outline?e.targetObject.ui.outline.hide():1==e.options.autoEnableOutline&&e.targetObject.ui.outline.trigger("click"),e.outlineViewer.render({outline:t})}n.append(o).append(i),e.targetObject.container.append(n),e.targetObject.outlineContainer=n,e.outlineViewer=new BookMarkViewer({container:i[0],linkService:e.linkService,outlineItemClass:"df-outline-item",outlineToggleClass:"df-outline-toggle",outlineToggleHiddenClass:"df-outlines-hidden"}),e.pdfDocument?e.pdfDocument.getOutline().then((function(e){a(e)})):a([]),1==e.options.autoEnableThumbnail&&e.targetObject.ui.thumbnail.trigger("click")},i.prototype.checkViewportSize=function(e,t,n){var i=this,o=i.targetObject,a=e*n,r=t*n,l=i.cacheIndex;if(i.contentSourceType==u.PDF){if(i.cacheIndex=Math.ceil(Math.max(a,r)),i.cacheIndex=Math.floor(Math.max(a,r)),i.cacheIndex=x(i.cacheIndex*s.pixelRatio,i.minDimension,i.maxDimension),null==i.cache[i.cacheIndex]&&(i.cache[i.cacheIndex]=[]),l!==i.cacheIndex){for(var c=0;c<o.children.length;c++)o.children[c];o.refresh()}i.imageViewport=i.refPage.getViewport({scale:r/i.normalViewport.height}),i.viewport="css"==o.mode?i.imageViewport:i.refPage.getViewport({scale:i.bookSize.height/i.normalViewport.height}),S(i.cacheIndex),i.annotedPage=void 0,i.review()}else null==i.cache[i.cacheIndex]&&(i.cache[i.cacheIndex]=[])},i.prototype.getCache=function(e,t){return 1==t?null==this.cache[this.thumbsize]?null:this.cache[this.thumbsize][e]:null==this.cache[this.cacheIndex]?null:this.cache[this.cacheIndex][e]},i.prototype.setCache=function(e,t,n,i){if(1==n)null!=this.cache[this.thumbsize]&&(this.cache[this.thumbsize][e]=t);else{var o=null==i?this.cacheIndex:i;null!=this.cache[o]&&(this.cache[o][e]=t)}},i.prototype.setTarget=function(e){var t=this;if(null==e)return this.targetObject;this.targetObject=e,e.contentProvider=this,e.container.removeClass("df-loading df-init"),null!=t.linkService&&(t.linkService.setViewer(e),t.initOutline()),e.processPage=function(e,n){e>0&&e<=t.pageCount?t.getPage(e,n):t.setPage(e,s.textureLoadFallback,n)},e.requestPage=function(){t.review("Request")},null!=e.resize&&e.resize()},i.prototype.review=function(e){var t=this;e=e||"timer review",clearTimeout(t.textureLoadTimeOut),t.textureLoadTimeOut=setTimeout((function(){t.textureLoadTimeOut=setTimeout(t.reviewPages,t.waitPeriod/2,t,e)}),t.waitPeriod)},i.prototype.reviewPages=function(e,n){var i=(e=e||this).targetObject;if(null!=i){var o=F(i);null!=n&&S(n);var a,s=!1;for(a=0;a<e.targetObject.children.length;a++)if(1==i.children[a].isFlipping){s=!0;break}if(0==s){var r=i.children.length>3?3:i.children.length,l=o?i._activePage:k(i._activePage);for(e.baseNumber=l,e.zoomScale>1&&(r=1),a=0;a<r;a++){var c=Math.floor(a/2),d=a%2==0?-c*(o?1:2):(0==c?1:c)*(o?1:2),u=l+d,h=l+d+1,p=i.getPageByNumber(u),g=i.getPageByNumber(h),f=u+"|"+e.cacheIndex,m=h+"|"+e.cacheIndex,v=0;if(null!=p&&p.frontPageStamp!=f&&1==p.visible&&(p.frontTextureLoaded=!1,i.processPage(u,(function(){e.review("Batch Call")})),p.frontPageStamp=f,v++),null==g||g.backPageStamp==m||1!=g.visible||o||(g.backTextureLoaded=!1,i.processPage(h,(function(){e.review("Batch Call")})),g.backPageStamp=m,v++),0==d&&e.annotedPage!==l&&(e.getAnnotations(u),o||e.getAnnotations(h),e.annotedPage=l),v>0)break}0==v&&"css"!==i.mode&&e.setLoading(l)}else if(e.review("Revisit request"),null!=e.annotedPage&&"css"!==i.mode){var b=k(i._activePage);t(i.getContentLayer(b)).html(""),t(i.getContentLayer(b+1)).html(""),e.annotedPage=null}}},i.prototype.getPage=function(n,i,o){var a=this,r=n=parseInt(n,10),l=a.contentSource;n<=0&&n>=a.pageCount?a.setPage(n,s.textureLoadFallback,i,o):a.contentSourceType==u.PDF?null!=a.getCache(n,o)?(a.setPage(n,a.getCache(n,o),i,o),S("Page "+n+" loaded from cache")):(!0!==o&&a.setLoading(n,!0),a.options.pageSize==e.PAGE_SIZE.DOUBLEINTERNAL&&n>2&&(r=Math.ceil((n-1)/2)+1),l.getPage(r,o).then((function(t){!function(t,n,i,o){var s=a.options.forceFit,r=a.options.pageSize==e.PAGE_SIZE.DOUBLEINTERNAL&&n>1&&n<a.pageCount,l=r&&s?2:1,c=s?t.getViewport({scale:1}):a.normalViewport,d=a.cacheIndex/Math.max(c.width/l,c.height);1==a.webgl&&(d=I(a.cacheIndex)/(a.pageRatio>1?c.width/l:c.height));var u=document.createElement("canvas"),h=performance.now(),p=a.cacheIndex,g=u.getContext("2d");1==o&&(d=a.thumbsize/a.normalViewport.height);u.height=Math.round(c.height*d),u.width=Math.round(c.width/l*d),"css"==a.targetObject.mode&&Math.abs(a.targetObject.zoomHeight-u.height)<2&&Math.abs(a.targetObject.zoomWidth-u.width)<2&&(u.height=a.targetObject.zoomHeight+0,u.width=a.targetObject.zoomWidth+0);c=t.getViewport({scale:d}),S("rendering "+n+" at "+u.width+"x"+u.height),r&&(M(a.targetObject)?n%2==0&&(c.transform[4]=-u.width):n%2==1&&(c.transform[4]=-u.width));var f={canvasContext:g,viewport:c};t.cleanupAfterRender=!0,t.render(f).promise.then((function(){S(performance.now()-h),h=performance.now(),1==o||1==a.options.canvasToBlob&&!0!==a.webgl?u.toBlob((function(t){var s=e.createObjectURL(t,"image/jpeg");S(performance.now()-h),a.setCache(n,s,o,p),a.setPage(n,s,i,o)}),"image/jpeg",a.pdfRenderQuality):(S("Setting Page "+n),a.setPage(n,u,i,o)),f=null}))}(t,n,i,o)}))):a.contentSourceType!=u.IMAGE&&a.contentSourceType!=u.HTML||(null!=a.getCache(n,o)?(a.setPage(n,a.getCache(n,o),i,o),S("Page "+n+" loaded from cache")):(!0!==o&&a.setLoading(n,!0),a.options.pageSize==e.PAGE_SIZE.DOUBLEINTERNAL&&n>2&&(r=Math.ceil((n-1)/2)+1),function(e,n,i){t("<img/>").attr("src",e).on("load",(function(){t(this).off(),null!=n&&n(e),S(this.height+":"+this.width)}))}(l[r-1],(function(e){a.setCache(n,e,o,a.cacheIndex),a.setPage(n,e,i,o),null!=i&&i()}),a.isCrossOrigin)))},i.prototype.getTargetPage=function(e){},i.prototype.setLoading=function(e,n){if(null!=this.targetObject)if(1==this.webgl){var i=this.targetObject.container;1==n?!0!==i.isLoading&&(i.addClass("df-loading"),i.isLoading=!0,S("Loading icon at "+e+" as "+n)):null!=i.isLoading&&(i.removeClass("df-loading"),i.isLoading=null,S("Loading icon at "+e+" as "+n))}else{var o=t(this.targetObject.getContentLayer(e));null!=o&&(1==n?o.addClass("df-page-loading"):o.removeClass("df-page-loading"),S("Loading icon at "+e+" as "+n))}},i.prototype.getAnnotations=function(n){var i=this;if(0!=i.options.enableAnnotation){var o=i.targetObject;n=parseInt(n,10);var a=i.contentSource,s=t(o.getContentLayer(n));if(s.empty(),n>0&&n<=i.pageCount){if(i.contentSourceType==u.PDF){k(n);var r=n;i.options.pageSize==e.PAGE_SIZE.DOUBLEINTERNAL&&n>2&&(r=Math.ceil((n-1)/2)+1),a.getPage(r).then((function(e){if(null!=s&&s.length>0){var t=e.getViewport({scale:1});t=e.getViewport({scale:i.normalViewport.height/t.height*i.viewport.height/t.height}),i.setupAnnotations(e,t,s,n)}}))}if(null!=i.links&&null!=i.links[n])for(var l=i.links[n],c=0;c<l.length;c++){var d,h=l[c];h.dest&&h.dest.indexOf&&0==h.dest.indexOf("[html]")?((d=document.createElement("div")).innerHTML=h.dest.substr(6),d.className="customHtmlAnnotation"):((d=document.createElement("a")).setAttribute("dest",h.dest),d.className="customLinkAnnotation",d.href="#"+h.dest,d.onclick=function(){var e=this.getAttribute("dest");return e&&i.linkService.customNavigateTo(e),!1}),d.style.left=h.x+"%",d.style.top=h.y+"%",d.style.width=h.w+"%",d.style.height=h.h+"%",s[0].appendChild(d)}if(null!=i.html&&null!=i.html[n]){var p=i.html[n];s.append(t("<div class='customHTMLAnnotation'>").html(p))}}}},i.prototype.setPage=function(e,t,n,i){var o=this,a=o.targetObject,r=M(a),l=F(a);if(1==i){o.targetObject.container.find("#df-thumb"+e).css({backgroundImage:P(t)})}else{t==s.textureLoadFallback&&S("Fallback on "+e);var c=a.getPageByNumber(e);null!=c?e%2!=0&&!r||e%2!=1&&r&&!l||l&&!r?(S(e+"rendered to back of "+c.color),c.backImage(t,(function(t,i){c.backTextureLoaded=!0,o.setLoading(e),o.requiresImageTextureScaling&&i&&1!=e&&e!=o.pageCount&&(i.repeat.x=.5,i.offset.x=.5),null!=n&&n()}))):(S(e+"rendered to front of "+c.color),c.frontImage(t,(function(t,i){c.frontTextureLoaded=!0,o.setLoading(e),o.requiresImageTextureScaling&&i&&1!=e&&e!=o.pageCount&&(i.repeat.x=.5),null!=n&&n()}))):S("Invalid set request on Page "+e)}},i.prototype.setupAnnotations=function(n,i,o,a){if(null!=o&&0!=t(o).length){var r=this,l=M(this.targetObject);return n.getAnnotations().then((function(c){if(i=i.clone({dontFlip:!0}),r.options.pageSize,e.PAGE_SIZE.DOUBLEINTERNAL,null!=o){0==(o=t(o)).find(".annotationDiv").length&&o.append(t("<div class='annotationDiv'>"));var d=o.find(".annotationDiv");if(d.empty(),r.options.pageSize==e.PAGE_SIZE.DOUBLEINTERNAL&&a>1&&a<r.pageCount&&(!l&&a%2==1||l&&a%2==0)?d.css({left:"-100%"}):1==a&&d.css({left:""}),pdfjsLib.AnnotationLayer.render({annotations:c,div:d[0],page:n,viewport:i,imageResourcesPath:s.imageResourcesPath,linkService:r.linkService}),r.options.annotationClass&&""!==r.options.annotationClass&&d.find(" > section").addClass(r.options.annotationClass),1==r.options.search){0==o.find(".textLayerDiv").length&&o.append(t("<div class='textLayerDiv'>"));var u=o.find(".textLayerDiv");n.getTextContent().then((function(t){var n=new e.TextLayerBuilder({textLayerDiv:u[0],pageIndex:null,viewport:i.clone({dontFlip:!1})});n.setTextContent(t),n.render()}))}}}))}},i}(),V=function(){function n(e){this.angles=e.angles||[0,0,0,0,0,0],this.stiffness=e.angles||.1,this.segments=e.segments||1,this.canvasMode=e.contentSourceType!==u.IMAGE&&0==e.canvasToBlob,this.initDOM()}function i(e){var n=e.contentLayer=t(g.div,{class:"df-page-content"});e.append(n)}return n.prototype={initDOM:function(){var e=this.element=t(g.div,{class:"df-book-page"}),n=this.wrapper=t(g.div,{class:"df-page-wrapper"}),o=this.front=t(g.div,{class:"df-page-front"}),a=this.back=t(g.div,{class:"df-page-back"}),s=this.foldInnerShadow=t(g.div,{class:"df-page-fold-inner-shadow"}),r=this.foldOuterShadow=t(g.div,{class:"df-page-fold-outer-shadow"});this.frontIMG=new Image,this.backIMG=new Image,i(o,this.segments),i(a,this.segments),e.append(n).append(r),n.append(o).append(a).append(s)},updatePoint:function(t){if(null!=t){var n=null!=this.parent.dragPage?this.parent.dragPage:null!=t.page?t.page:this,i=n.element.width(),o=n.element.height(),a=null!=this.parent.corner?this.parent.corner:t.corner,s=e.CORNERS,r=n.side==h.right,l=a==s.BL||a==s.BR;t.rx=1==r?2*i-t.x:t.x,t.ry=1==l?o-t.y:t.y;var c=Math.atan2(t.ry,t.rx);c=Math.PI/2-x(c,0,m(90));var d=r?t.x/2:i-t.x/2,u=t.ry/2,p=Math.max(0,Math.sin(c-Math.atan2(u,d))*y(d,u)),g=.5*y(t.rx,t.ry),f=Math.round(i-p*Math.sin(c)),P=Math.round(p*Math.cos(c)),C=v(c),L=l?r?90-C+180:180+C:r?C:90-C,S=l?r?90-C+180:C:r?C+180:L,I=l?r?90-C:C+90:r?L-90:L+180,E=r?i-f:f,k=l?o+P:-P,T=r?-f:f-i,O=l?-o-P:P,F=x(.5*t.distance/i,0,.5),M=x(.5*(2*i-t.rx)/i,.05,.3);n.element.addClass("df-folding");var D=r?n.back:n.front,N=r?n.front:n.back,z=n.foldOuterShadow,B=n.foldInnerShadow;n.wrapper.css({transform:b(E,k)+w(L)}),D.css({transform:w(-L)+b(-E,-k)}),N.css({transform:w(S)+b(T,O),boxShadow:"rgba(0, 0, 0, "+F+") 0px 0px 20px"}),B.css({transform:w(S)+b(T,O),opacity:M/2,backgroundImage:R.css+"linear-gradient( "+I+"deg, rgba(0, 0, 0, 0.25) , rgb(0, 0, 0) "+.7*g+"px, rgb(255, 255, 255) "+g+"px)"}),z.css({opacity:M/2,left:r?"auto":0,right:r?0:"auto",backgroundImage:R.css+"linear-gradient( "+(180-I)+"deg, rgba(0, 0, 0,0) "+g/3+"px, rgb(0, 0, 0) "+g+"px)"})}},updateAngle:function(e,t){var n=5*this.element.width();this.wrapper.css({perspective:n,perspectiveOrigin:1==t?"0% 50%":"100% 50%"}),this.front.css({display:1==t?e<=-90?"block":"none":e<90?"block":"none",transform:("MfS"!==R.dom?"":"perspective("+n+"px) ")+(1==t?"translateX(-100%) ":"")+"rotateY("+((1==t?180:0)+e)+"deg)"}),this.back.css({display:1==t?e>-90?"block":"none":e>=90?"block":"none",transform:("MSd"!==R.dom?"":"perspective("+n+"px) ")+(0==t?"translateX(100%) ":"")+"rotateY("+((0==t?-180:0)+e)+"deg)"})},tween:function(t){var n=this;if(null!=n&&null!=n.parent){var i,o=F(n.parent),a=n.side==h.right,s=n.parent.direction==e.DIRECTION.RTL,r=n.parent.corner==e.CORNERS.BL||n.parent.corner==e.CORNERS.BR,l=1==n.magnetic,c=r?n.parent.height:0,d=0,u=n.end=n&&1==n.animateToReset?{x:a?n.parent.fullWidth:0,y:c}:{x:a?0:n.parent.fullWidth,y:c};n.ease=n.isHard?TWEEN.Easing.Quadratic.InOut:TWEEN.Easing.Linear.None;var p=n.parent.duration;1==n.isHard?(null!=t&&(d=L(t.distance,t.fullWidth)),i=n.init={angle:d*(a?-1:1)},u=n.end=n&&1==n.animateToReset?{angle:a?0:-0}:{angle:a?-180:180}):null==t?(i=n.init=n&&1==n.animateToReset?{x:a?0:n.parent.fullWidth,y:0}:{x:a?n.parent.fullWidth:0,y:0},n.first={x:(a?3:1)*n.parent.fullWidth/4,y:0},n.mid={x:(a?1:3)*n.parent.fullWidth/4,y:0}):(i=n.init={x:t.x,y:t.y,opacity:1},n.first={x:3*t.x/4,y:3*t.y/4,opacity:1},n.mid={x:t.x/4,y:t.y/4,opacity:1},p=n.parent.duration*C(i.x,i.y,u.x,u.y)/n.parent.fullWidth,p=x(p,n.parent.duration/3,n.parent.duration)),i.index=0,u.index=1,n.isFlipping=!0;var g=function(e){1==n.isHard?(n.updateAngle(e.angle,a),n.angle=e.angle):(n.updatePoint({x:e.x,y:e.y}),n.x=e.x,n.y=e.y),o&&!l&&(n.element[0].style.opacity=a&&!s||!a&&s?e.index>.5?2*(1-e.index):1:e.index<.5?2*e.index:1)};o&&(!a&&!s||a&&s)&&(n.element[0].style.opacity=0);n.completeTween=n.completeTween||function(t){n.isFlipping=!1,1==n.isHard?(n.updateAngle(n.end.angle),n.back.css({display:"block"}),n.front.css({display:"block"})):n.updatePoint({x:n.end.x,y:n.end.y}),n.element[0].style.opacity=1,!0!==n.animateToReset?n.side=n.side==h.right?h.left:h.right:n.animateToReset=null,n.currentTween=null,n.pendingPoint=null,n.magnetic=!1,n.parent.dragPage=null,n.parent.corner=e.CORNERS.NONE,1!=t&&n.parent.refresh()};1==n.isHard?n.currentTween=new TWEEN.Tween(i).delay(0).to(u,n.parent.duration).onUpdate((function(){g(this)})).easing(n.ease).onComplete(n.completeTween).start():null==t?n.currentTween=new TWEEN.Tween(i).delay(0).to(u,n.parent.duration).onUpdate((function(){g(this)})).easing(TWEEN.Easing.Sinusoidal.Out).onComplete(n.completeTween).start():(n.currentTween=new TWEEN.Tween(i).delay(0).to(u,p).onUpdate((function(){g(this)})).easing(TWEEN.Easing.Sinusoidal.Out).onComplete(n.completeTween),n.currentTween.start())}},frontImage:function(e,n){var i=this;function o(){i.front.css({backgroundImage:P(e)}),null!=n&&n()}1==i.canvasMode?(i.front.find(">canvas").remove(),e!==s.textureLoadFallback&&i.front.append(t(e)),null!=n&&n()):e==s.textureLoadFallback?o():(i.frontIMG.onload=o,i.frontIMG.src=e)},backImage:function(e,n){var i=this;function o(){i.back.css({backgroundImage:P(e)}),null!=n&&n()}1==i.canvasMode?(i.back.find(">canvas").remove(),e!==s.textureLoadFallback&&i.back.append(t(e)),null!=n&&n()):e==s.textureLoadFallback?o():(i.backIMG.onload=o,i.backIMG.src=e)},updateCSS:function(e){this.element.css(e)},resetCSS:function(){this.wrapper.css({transform:""}),this.front.css({transform:"",boxShadow:""}),this.back.css({transform:"",boxShadow:""})},clearTween:function(e){this.currentTween.stop(),this.completeTween(1==e),this.resetCSS()}},n}(),G=function(n){function i(e){for(var t=!1,n=0;n<e.pages.length;n++){if(1==e.pages[n].isFlipping){t=!0;break}}return t}function o(n,o){var a=this;function s(e){a.dragPage!=e.page&&1==e.page.visible&&(a.dragPage.clearTween(!0),a.dragPage=e.page,a.corner=e.corner,a.dragPage.pendingPoint=e)}a.type="BookCSS",a.images=n.images||[],a.pageCount=n.pageCount||1,a.foldSense=50,a.stackCount=4,a.mode="css",a.pages=[],a.duration=n.duration,a.container=t(o),a.options=n,a.drag=h.none,a.pageMode=n.pageMode||(D||a.pageCount<=2?e.PAGE_MODE.SINGLE:e.PAGE_MODE.DOUBLE),a.singlePageMode=n.singlePageMode||(D?e.SINGLE_PAGE_MODE.BOOKLET:e.SINGLE_PAGE_MODE.ZOOM),a.swipe_threshold=D?15:50,a.direction=n.direction||e.DIRECTION.LTR,a.startPage=1,a.endPage=a.pageCount,a._activePage=n.openPage||a.startPage,a.hardConfig=n.hard,r="WebKitCSSMatrix"in window||document.body&&"MozPerspective"in document.body.style,a.animateF=function(){TWEEN.getAll().length>0?TWEEN.update():clearInterval(a.animate)},a.init(n),a.skipDrag=!1;var l=function(t){var n=a.eventToPoint(t);if(null!=t.touches&&2==t.touches.length&&null!=a.startTouches){a.zoomDirty=!0;var o=d.getVectorAvg(d.getTouches(t,a.container.offset())),s=d.calculateScale(a.startTouches,d.getTouches(t));a.lastScale,a.contentProvider.zoomScale,o.x,o.y;a.stage.css({transform:"translate3d("+a.left+"px,"+a.top+"px,0) scale3d("+s+","+s+",1)"}),a.lastScale=s,a.lastZoomCenter=o,t.preventDefault()}if(!(null!=t.touches&&t.touches.length>1||null==a.startPoint||null!=a.startTouches)){var r=a.dragPage||n.page;if(1!==a.contentProvider.zoomScale)null==t.touches&&1!=a.isPanning||(a.pan(n),t.preventDefault());else if(!0!==a.skipDrag){n.distance;if(!i(a)){if(null!=a.dragPage||1==n.isInside){null!=a.dragPage?S("set mouse down move"):(n.y=x(n.y,1,a.height-1),n.x=x(n.x,1,n.fullWidth-1));var l=a.corner||n.corner;if(r.isHard){var c=l==e.CORNERS.BR||l==e.CORNERS.TR,u=L(n.distance,n.fullWidth);r.updateAngle(u*(c?-1:1),c)}else r.updatePoint(n,a);r.magnetic=!0,r.magneticCorner=n.corner,t.preventDefault()}if(null==a.dragPage&&null!=r&&0==n.isInside&&1==r.magnetic&&(r.pendingPoint=n,r.animateToReset=!0,a.corner=r.magneticCorner,a.animatePage(r),r.pendingPoint=null,r.magnetic=!1,r.magneticCorner=null),1==a.isPanning&&null==a.dragPage&&1==a.contentProvider.zoomScale){var p=n.x-a.lastPos;performance.now(),a.lastTime;Math.abs(p)>a.swipe_threshold&&(p<0?a.next():a.prev(),a.drag=h.none,a.isPanning=!1,t.preventDefault()),a.lastPos=n.x,a.lastTime=performance.now()}}}}},c=function(t){if(null!=t.touches&&0==t.touches.length){a.contentProvider.zoomScale;1==a.zoomDirty&&(a.previewObject.contentProvider.zoomScale=d.limitAt(a.previewObject.contentProvider.zoomScale*a.lastScale,1,a.previewObject.contentProvider.maxZoom),a.previewObject.zoomValue=1*a.previewObject.contentProvider.zoomScale,a.previewObject.resize(),a.zoomDirty=!1),a.wrapper.css({transform:""}),a.lastScale=null,a.startTouches=null}if(a.isPanning=!1,!(null!=t.touches&&t.touches.length>1)&&!0!==a.skipDrag){var n=a.eventToPoint(t);a.dragPage&&(t.preventDefault(),a.dragPage.pendingPoint=n,n.x==a.startPoint.x&&n.y==a.startPoint.y&&1==n.isInside?a.corner==e.CORNERS.BR||a.corner==e.CORNERS.TR?(s(n),!0!==a.dragPage.isFlipping&&a.next()):a.corner!=e.CORNERS.BL&&a.corner!=e.CORNERS.TL||(s(n),!0!==a.dragPage.isFlipping&&a.prev()):!0!==a.dragPage.isFlipping&&(n.distance>n.fullWidth/2?n.x>n.fullWidth/2?a.prev():a.next():(a.dragPage.animateToReset=!0,a.animatePage(a.dragPage))),a.dragPage&&(a.dragPage.pendingPoint=null,a.dragPage.magnetic=!1)),a.drag=h.none}},u=function(t){var n=a.eventToPoint(t),i=t.srcElement||t.originalTarget;a.dragPage&&a.dragPage.magnetic||a.wrapper[0].contains(t.target)&&1==a.contentProvider.zoomScale&&n.x==a.startPoint.x&&n.y==a.startPoint.y&&n.isInsidePage&&a.startPoint.page==n.page&&!n.page.isFlipping&&"A"!==i.nodeName&&(0==a.startPoint.page.side?(a.corner=e.CORNERS.TL,a.prev(),a.startPoint.page=null):(a.corner=e.CORNERS.TR,a.next(),a.startPoint.page=null),a.isPanning=!1)},p=function(t){if(null!=t.touches&&2==t.touches.length&&null==a.startTouches&&(a.startTouches=d.getTouches(t),a.lastScale=1),!(null!=t.touches&&t.touches.length>1||null==t.touches&&0!==t.button)){var n,o=a.eventToPoint(t);a.startPoint=o,a.left=a.left||0,a.top=a.top||0,a.isPanning=!0,a.lastPos=o.x,a.lastTime=performance.now(),!0!==a.skipDrag&&(1!=o.isInside||i(a)||(a.startPoint=o,a.drag=o.drag,a.dragPage=o.page,a.corner=o.corner,S(a.corner),(n=a.dragPage).parent.container.find(".df-folding").removeClass("df-folding"),n.element.addClass("df-folding"),o.page.isHard||o.page.updatePoint(o,a),"0"==o.page.name?a.shadow.css({width:"50%",left:a.direction==e.DIRECTION.RTL?0:"50%",transitionDelay:""}):o.page.name==Math.ceil(a.pageCount/2)-1&&a.shadow.css({width:"50%",left:a.direction==e.DIRECTION.RTL?"50%":0,transitionDelay:""})))}},g=function(e){if(!0===a.previewObject.options.isLightBox||!0===a.previewObject.ui.isFullscreen){var t=0;null!=e.wheelDelta?t=e.wheelDelta/120:null!=e.detail&&(t=-e.detail/3);var n=a.contentProvider.zoomScale,i=a.contentProvider.maxZoom;if(t&&(t>0&&n<i||t<0&&n>1)){e.stopPropagation(),e.preventDefault();var o=a.eventToPoint(e),s=a.eventToPoint(e),r={x:a.container.width()/2,y:a.container.height()/2-23};a.previewObject.zoom(t);var l=a.contentProvider.zoomScale;if(n!==l){var c=l/n;1==l?(a.left=0,a.top=0):(a.left*=c,a.top*=c);var d=(o.raw.x-r.x)*c,u=(o.raw.y-r.y)*c;s.raw.x=r.x+d,s.raw.y=r.y+u,a.startPoint=s,a.pan(o);var h=a.dragPage||o.page;null==a.dragPage&&null!=h&&1==o.isInside&&1==h.magnetic&&(h.pendingPoint=o,h.animateToReset=!0,a.corner=h.magneticCorner,a.animatePage(h),h.pendingPoint=null,h.magnetic=!1,h.magneticCorner=null)}}}},f=a.container[0],m=a.stage[0];f&&(m.addEventListener("mousemove",l,!1),m.addEventListener("touchmove",l,!1),m.addEventListener("mousedown",p,!1),m.addEventListener("click",u,!1),m.addEventListener("mouseup",c,!1),m.addEventListener("touchend",c,!1),m.addEventListener("touchstart",p,!1),1==a.options.scrollWheel&&(m.addEventListener("mousewheel",g,!1),m.addEventListener("DOMMouseScroll",g,!1))),this.dispose=function(){m.removeEventListener("mousemove",l,!1),m.removeEventListener("touchmove",l,!1),m.removeEventListener("mousedown",p,!1),m.removeEventListener("click",u,!1),m.removeEventListener("mouseup",c,!1),m.removeEventListener("touchend",c,!1),m.removeEventListener("touchstart",p,!1),1==a.options.scrollWheel&&(m.removeEventListener("mousewheel",g,!1),m.removeEventListener("DOMMouseScroll",g,!1)),a.updatePageCallback=null,a.flipCallback=null,a.animateF=null,a.stage.remove()}}return _(o,{}),o.prototype={add:function(e){e instanceof V?this.container.append(t(e.element)):this.container.append(t(e))},pan:function(e){var t=this.startPoint,n=this.contentProvider.zoomScale,i=this.left+(e.raw.x-t.raw.x),o=this.top+(e.raw.y-t.raw.y);this.left=Math.round(x(i,-this.shiftWidth,this.shiftWidth)),this.top=Math.round(x(o,-this.shiftHeight,this.shiftHeight)),1==n&&(this.left=0,this.top=0),this.startPoint=e,this.stage.css({transform:"translate3d("+this.left+"px,"+this.top+"px,0)"})},getPageByNumber:function(e){for(var t,n=F(this)?M(this)?e+1:e:Math.floor((e-1)/2),i=0;i<this.pages.length;i++)n==parseInt(this.pages[i].name,10)&&(t=this.pages[i]);return t},getPageSide:function(t){var n=this.direction==e.DIRECTION.RTL,i=this.getPageByNumber(t);if(null!=i)return F(this)?n?i.front:i.back:t%2==0?n?i.back:i.front:n?i.front:i.back},getContentLayer:function(e){var t=this.getPageSide(e);return null==t?null:t.contentLayer}},o.prototype.init=function(e){var n=this;n.stage=t(g.div,{class:"df-book-stage"}),n.wrapper=t(g.div,{class:"df-book-wrapper"}),n.shadow=t(g.div,{class:"df-book-shadow"}),n.container.append(n.stage),n.stage.append(n.wrapper),n.wrapper.append(n.shadow),n.createStack(e)},o.prototype.createStack=function(e){for(var t="red,green,blue,yellow,orange,black".split(","),n=0;n<this.stackCount;n++){e.angles=[,this.stackCount-n],e.stiffness=(this.stackCount-n)/100;var i=new V(e);i.angles[1]=180,i.index=n,i.parent=this,i.textureReady=!1,i.textureRequested=!1,this.wrapper.append(i.element),i.isFlipping=!1,this.pages.push(i),i.color=t[n]}this.children=this.pages},o.prototype.isPageHard=function(e){return d.isHardPage(this.hardConfig,e,this.pageCount,F(this))},o.prototype.setDuration=function(e){this.duration=e},o.prototype.moveBy=function(e){var t=this._activePage+e;t=x(t,this.startPage,this.endPage),1!=this.firstFlipped&&(this.previewObject.analytics({eventAction:"First Page Flip",options:this.previewObject.options}),this.firstFlipped=!0),this.gotoPage(t)},o.prototype.next=function(t){null==t&&(t=this.direction==e.DIRECTION.RTL?-this.pageMode:this.pageMode),this.moveBy(t)},o.prototype.prev=function(t){null==t&&(t=this.direction==e.DIRECTION.RTL?this.pageMode:-this.pageMode),this.moveBy(t)},o.prototype.eventToPoint=function(n){n=O(n);var i=this.wrapper,o=this.pages,a=this.pageWidth,s=this.fullWidth,r=this.height,l=(t(window),{x:n.clientX,y:n.clientY}),c=l.x-i[0].getBoundingClientRect().left,d=l.y-i[0].getBoundingClientRect().top;l.x=l.x-this.container[0].getBoundingClientRect().left,l.y=l.y-this.container[0].getBoundingClientRect().top;var u,p=this.drag==h.none?c<a?c:s-c:this.drag==h.left?c:s-c,g=c<a?o[this.stackCount/2-1]:o[this.stackCount/2],f=c<this.foldSense?h.left:c>s-this.foldSense?h.right:h.none,m=c,v=d,b=r,w=s,P=this.foldSense,x=e.CORNERS;return{isInsidePage:m>=0&&m<=w&&v>=0&&v<=b,isInside:(u=m>=0&&m<P?v>=0&&v<=P?x.TL:v>=b-P&&v<=b?x.BL:v>P&&v<b-P?x.L:x.NONE:m>=w-P&&m<=w?v>=0&&v<=P?x.TR:v>=b-P&&v<=b?x.BR:v>P&&v<b-P?x.R:x.NONE:x.NONE)!==x.NONE&&u!==x.L&&u!==x.R,x:c,y:d,fullWidth:s,rawDistance:s-c,distance:p,page:g,drag:f,foldSense:this.foldSense,event:n,raw:l,corner:u}},o.prototype.gotoPage=function(e){e=parseInt(e,10),this._activePage=e,1==this.autoPlay&&this.previewObject.setAutoPlay(this.autoPlay),this.updatePage(e),this&&this.thumblist&&this.thumblist.review&&this.thumblist.review()},o.prototype.refresh=function(){this.updatePage(this._activePage),null!=this.flipCallback&&this.flipCallback()},o.prototype.updatePage=function(n){var i=this.direction==e.DIRECTION.RTL,o=F(this),a=(k(n),o?1:2);n=Math.floor(n/a),i&&(n=Math.ceil(this.pageCount/a)-n);var r=this.oldBaseNumber||0,l=this.pageCount/a,c=this.stackCount,d=Math.floor(c/2);r>n?(this.children[c-1].skipFlip=!0,this.children.unshift(this.children.pop())):r<n&&(this.children[0].skipFlip=!0,this.children.push(this.children.shift()));for(var u=0;u<c;u++){var p=this.children[u];r!==n&&null!=p.currentTween&&p.clearTween(!0);var g,f=p.side,m=n-d+u;i&&(m=o?this.pageCount-m:Math.ceil(this.pageCount/2)-m-1);var v=p.name;p.isHard=this.isPageHard(m),p.isHard?p.element.addClass("df-hard-page"):(p.element.removeClass("df-hard-page"),p.front.css({display:"block"}),p.back.css({display:"block"})),0==m||m==l?p.element.addClass("df-cover-page"):p.element.removeClass("df-cover-page"),t(p.element).attr("pageNumber")!=m&&(p.front.contentLayer.empty(),p.back.contentLayer.empty()),t(p.element).attr("pageNumber",m),p.isEdge=!1,0==u||u==c-1||(p.isEdge=!1),g=u<d?h.left:h.right,0==p.isFlipping&&(g!==f&&0==p.skipFlip?(this.animatePage(p),null!=this.preFlipCallback&&this.preFlipCallback()):(p.skipFlip=!1,p.element.removeClass("df-flipping df-quick-turn df-folding df-left-side df-right-side"),p.element.addClass(u<d?"df-left-side":"df-right-side"),p.side=g)),p.visible=o?i?u<d||p.isFlipping:u>=d||p.isFlipping:m>=0&&m<l||o&&m==l,null!=this.requestPage&&1==p.visible&&(p.name=m.toString(),p.name!=v&&(p.backTextureLoaded=!1,p.frontTextureLoaded=!1,p.backPageStamp="-1",p.frontPageStamp="-1",p.thumbLoaded=!1,p.front.contentLayer.html(""),p.back.contentLayer.html(""),p.frontImage(s.textureLoadFallback),p.backImage(s.textureLoadFallback),this.requestPage())),p.oldDepth=p.depth,p.updateCSS({display:1==p.visible?"block":"none",zIndex:6+(u<d?u-d:d-u),transform:""}),null==p.pendingPoint&&0==p.isFlipping&&p.resetCSS()}0==TWEEN.getAll().length&&clearInterval(this.animate),t(".quick-hint").html(n),this.oldBaseNumber=n,this.updatePageCallback&&this.updatePageCallback()},o.prototype.animatePage=function(e){e.element.addClass("df-flipping"),e.isFlipping=!0,null!=this.animate&&clearInterval(this.animate),this.animate=setInterval(this.animateF,30),e.tween(e.pendingPoint)},o}(),q=function(n){function i(i,o,a){n.call(this,a);var s=this;s.type="FlipBook",s.container=i,s.options=a,s.options.source=o,s.contentSource=o,null!=a.height&&a.height.toString().indexOf("%")<0?s.container.height(Math.min(a.height,t(window).height())):s.container.height(a.height),s.options.isLightBox&&window.dfLightBox.closeButton.addClass(s.options.icons.close),s.options.pageSize==e.PAGE_SIZE.DOUBLEINTERNAL&&((Array===s.contentSource.constructor||Array.isArray(s.contentSource)||s.contentSource instanceof Array)&&(s.options.singlePageMode=e.SINGLE_PAGE_MODE.ZOOM),s.container.addClass("df-double-internal")),s.options.isLightBox||null==s.container.attr("id")||(s.options.id=s.container.attr("id")),!0!==s.options.parsed&&null!=s.options.links&&e.parseLinks(s.options.links);var r=s.webgl=1==a.webgl&&1==N&&d.canSupport3D();if(i.addClass("df-container df-loading df-init df-floating df-controls-"+s.options.controlsPosition),s.commentPopup=t('<div class="df-comment-popup">').appendTo(i),1==s.options.transparent&&i.addClass("df-transparent"),s.options.direction==e.DIRECTION.RTL&&i.addClass("df-rtl"),s.container.info=t(g.div,{class:"loading-info"}).appendTo(s.container).html(s.options.text.loading+"..."),c.match(/msie\s[5-9]/i))return s.container.info.html("Your browser (Internet Explorer) is out of date to run DFlip Flipbook Plugin. <br><a href='http://browsehappy.com/'>Upgrade to a new one</a>").addClass("df-old-browser"),i.removeClass("df-loading"),s;var l=null==a.backgroundImage||""==a.backgroundImage?"":"url('"+a.backgroundImage+"')";return s.container.css({position:"relative",overflow:"hidden",backgroundColor:a.backgroundColor,backgroundImage:l}),1==s.options.isLightBox&&s.analytics({eventAction:"Open Book",options:s.options}),s.init(r,o),null!=s.options.onCreate&&s.options.onCreate(s),s}return _(i,n),i.prototype.init=function(n){var i,o,a=this,r=a.target,l=a.options;if(1==n){i=function(){a.container.css({minHeight:300,minWidth:300}),a.stage=new j(E(a.options,{container:a.container})),a.stage.previewObject=a,a.contentProvider=new W(a.contentSource,(function(i){var o={pageCount:i.pageCount,stackCount:6,segments:20,width:i.bookSize.width,height:i.bookSize.height};a.target=r=a.stage.target=new MOCKUP.Book(E(a.options,o),a.stage),a.extendtarget(),A(a.container,a),r.ui=a.ui,r.container=a.container,i.webgl=n,i.setTarget(a.target),r.getContentLayer=function(t){var n=r.direction==e.DIRECTION.RTL,i=a.stage.cssScene.divLeft.element,o=a.stage.cssScene.divRight.element;return k(r._activePage),F(r)?n?i:o:t%2==0?n?o:i:n?i:o},r.stage=a.stage,r.flipCallback=function(){if(a.contentProvider){a.contentProvider.review("flipCallback");var n,i,o=k(r._activePage),s=r.getPageByNumber(o),l=r.getPageByNumber(o+1),c=r.parent.cssScene.divLeft,d=r.parent.cssScene.divRight;r.pageMode,e.PAGE_MODE.SINGLE,r.direction,e.DIRECTION.RTL,null!=s&&null!=c&&(n=Math.abs(s.geometry.boundingBox.max.x-s.geometry.boundingBox.min.x),i=Math.abs(s.geometry.boundingBox.max.z-s.geometry.boundingBox.min.z),c.rotation.y=.9*-Math.atan2(i,n),c.position.z=.8*i,c.position.x=i/2.5,t(c.element).css({width:n,left:-n/2})),null!=l&&null!=d&&(n=Math.abs(l.geometry.boundingBox.max.x-l.geometry.boundingBox.min.x),i=Math.abs(l.geometry.boundingBox.max.z-l.geometry.boundingBox.min.z),d.rotation.y=.9*Math.atan2(i,n),d.position.z=.8*i,d.position.x=-i/2.5,t(d.element).css({width:n,left:n/2})),null!=a.options.onFlip&&a.options.onFlip(a)}},r.resize=void a.resize(),r.updatePageCallback=function(){a.ui.update(),a.checkCenter(),a.stage.renderRequestPending=!0};var s=t(a.stage.cssScene.divLeft.element),l=t(a.stage.cssScene.divRight.element);r.preFlipCallback=function(){s.empty(),l.empty(),null!=a.options.beforeFlip&&a.options.beforeFlip(a),a.playSound()},t(window).trigger("resize"),s.css({width:i.bookSize.width,height:i.bookSize.height,left:-i.bookSize.width/2}),l.css({width:i.bookSize.width,height:i.bookSize.height,left:i.bookSize.width/2}),r.ease=TWEEN.Easing.Cubic.InOut,r.contentProvider=i,r.duration=a.options.duration,r.gotoPage(r._activePage),r.flipCallback(),1==a.options.isLightBox&&a.analytics({eventAction:"Book Ready",options:a.options}),null!=a.options.onReady&&a.options.onReady(a)}),l,a)},o=function(){MOCKUP.defaults.anisotropy=0,MOCKUP.defaults.groundTexture="blank",THREE.skipPowerOfTwo=!0,U(),null!=i&&i()},null==window.MOCKUP?(a.updateInfo(l.text.loading+" WEBGL 3D ..."),"function"==typeof define&&define.amd&&window.requirejs?(requirejs.config({paths:{three:s.threejsSrc.replace(".js","")},shim:{three:{exports:"THREE"}}}),require(["three"],(function(t){return window.THREE=t,T(s.mockupjsSrc+"?ver="+e.version,(function(){o()})),t}))):"function"==typeof define&&define.amd?require(["three",s.threejsSrc.replace(".js","")],(function(e,t){e((function(){}))})):T(s.threejsSrc+"?ver="+e.version,(function(){T(s.mockupjsSrc+"?ver="+e.version,(function(){o()}))}))):o()}else a.contentProvider=new W(a.contentSource,(function(e){var i={pageCount:e.pageCount,contentSourceType:e.contentSourceType};a.target=r=new G(E(a.options,i),a.container),a.target.previewObject=a,a.extendtarget(),A(a.container,a),e.webgl=n,e.setTarget(a.target),e.waitPeriod=2,r.ease=TWEEN.Easing.Quadratic.InOut,r.duration=a.options.duration,r.container=a.container,r.updatePageCallback=function(){a.ui.update(),a.checkCenter()},r.resize=void a.resize(),t(window).trigger("resize"),r.flipCallback=function(){a.contentProvider&&(a.contentProvider.review("flipCallback"),null!=a.options.onFlip&&a.options.onFlip(a))},r.preFlipCallback=function(){null!=a.options.beforeFlip&&a.options.beforeFlip(a),a.playSound()},r.gotoPage(r._activePage),r.flipCallback(),null!=a.options.onReady&&a.options.onReady(a),a.analytics({eventAction:"Book Ready",options:a.options})}),l,a)},i.prototype.extendtarget=function(){var e=this;e.target.previewObject=e,e.target.reset=function(){for(var t=0;t<e.target.children.length;t++){var n=e.target.children[t];n.skipFlip=!0,n.name="-2"}e.contentProvider.annotedPage="-2",e.target.refresh()}},i.prototype.getURLHash=function(){if(null!=this.options.id){var e=d.getSharePrefix()+(null!=this.options.slug?this.options.slug:this.options.id)+"/";null!=this.target&&null!=this.target._activePage&&(e+=this.target._activePage+"/"),window.location.hash=e}return window.location.href},i.prototype.end=function(){this.target.gotoPage(this.target.endPage)},i.prototype.gotoPage=function(e){this.target.gotoPage(e),null!=this.ui&&this.ui.update()},i.prototype.prev=function(){this.target.prev()},i.prototype.next=function(){this.target.next()},i.prototype.updateInfo=function(e){this.container&&this.container.info&&this.container.info.html&&this.container.info.html(e)},i.prototype.analytics=function(e){if(1==this.options.enableAnalytics)try{var t=e.options,n=void 0;t&&(n=t.bookTitle||t.slug||t.id);var i=window.gtag;if(i)i("event",e.eventAction,{event_category:"Flipbook",event_label:n});else(window.ga||window.__gaTracker)("send",{hitType:"event",eventCategory:"Flipbook",eventAction:e.eventAction,eventLabel:n})}catch(e){}},i}(H);t.fn.extend({shelf:function(){},flipBook:function(e,n){return new q(t(this),e,function(e){return t.extend(!0,{},s,e)}(n))}})}(DFLIP,jQuery),function(e){if(e.URL=e.URL||e.webkitURL,e.Blob&&e.URL)try{return void new Blob}catch(e){}var t=e.BlobBuilder||e.WebKitBlobBuilder||e.MozBlobBuilder||function(e){var t=function(e){return Object.prototype.toString.call(e).match(/^\[object\s(.*)\]$/)[1]},n=function(){this.data=[]},i=function(e,t,n){this.data=e,this.size=e.length,this.type=t,this.encoding=n},o=n.prototype,a=i.prototype,s=e.FileReaderSync,r=function(e){this.code=this[this.name=e]},l="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),c=l.length,d=e.URL||e.webkitURL||e,u=d.createObjectURL,h=d.revokeObjectURL,p=d,g=e.btoa,f=e.atob,m=e.ArrayBuffer,v=e.Uint8Array,b=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(i.fake=a.fake=!0;c--;)r.prototype[l[c]]=c+1;return d.createObjectURL||(p=e.URL=function(e){var t,n=document.createElementNS("http://www.w3.org/1999/xhtml","a");return n.href=e,"origin"in n||("data:"===n.protocol.toLowerCase()?n.origin=null:(t=e.match(b),n.origin=t&&t[1])),n}),p.createObjectURL=function(e){var t,n=e.type;return null===n&&(n="application/octet-stream"),e instanceof i?(t="data:"+n,"base64"===e.encoding?t+";base64,"+e.data:"URI"===e.encoding?t+","+decodeURIComponent(e.data):g?t+";base64,"+g(e.data):t+","+encodeURIComponent(e.data)):u?u.call(d,e):void 0},p.revokeObjectURL=function(e){"data:"!==e.substring(0,5)&&h&&h.call(d,e)},o.append=function(e){var n=this.data;if(v&&(e instanceof m||e instanceof v)){for(var o="",a=new v(e),l=0,c=a.length;l<c;l++)o+=String.fromCharCode(a[l]);n.push(o)}else if("Blob"===t(e)||"File"===t(e)){if(!s)throw new r("NOT_READABLE_ERR");var d=new s;n.push(d.readAsBinaryString(e))}else e instanceof i?"base64"===e.encoding&&f?n.push(f(e.data)):"URI"===e.encoding?n.push(decodeURIComponent(e.data)):"raw"===e.encoding&&n.push(e.data):("string"!=typeof e&&(e+=""),n.push(unescape(encodeURIComponent(e))))},o.getBlob=function(e){return arguments.length||(e=null),new i(this.data.join(""),e,"raw")},o.toString=function(){return"[object BlobBuilder]"},a.slice=function(e,t,n){var o=arguments.length;return o<3&&(n=null),new i(this.data.slice(e,o>1?t:this.data.length),n,this.encoding)},a.toString=function(){return"[object Blob]"},a.close=function(){this.size=0,delete this.data},n}(e);e.Blob=function(e,n){var i=n&&n.type||"",o=new t;if(e)for(var a=0,s=e.length;a<s;a++)Uint8Array&&e[a]instanceof Uint8Array?o.append(e[a].buffer):o.append(e[a]);var r=o.getBlob(i);return!r.slice&&r.webkitSlice&&(r.slice=r.webkitSlice),r};var n=Object.getPrototypeOf||function(e){return e.__proto__};e.Blob.prototype=n(new e.Blob)}(window),function(e){var t,n=e.Uint8Array,i=e.HTMLCanvasElement,o=i&&i.prototype,a=/\s*;\s*base64\s*(?:;|$)/i,s="toDataURL",r=function(e){for(var i,o,a=e.length,s=new n(a/4*3|0),r=0,l=0,c=[0,0],d=0,u=0;a--;)o=e.charCodeAt(r++),255!==(i=t[o-43])&&null!=i&&(c[1]=c[0],c[0]=o,u=u<<6|i,4===++d&&(s[l++]=u>>>16,61!==c[1]&&(s[l++]=u>>>8),61!==c[0]&&(s[l++]=u),d=0));return s};n&&(t=new n([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51])),i&&!o.toBlob&&(o.toBlob=function(e,t){if(t||(t="image/png"),this.mozGetAsFile)e(this.mozGetAsFile("canvas",t));else if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(t))e(this.msToBlob());else{var i,o=Array.prototype.slice.call(arguments,1),l=this[s].apply(this,o),c=l.indexOf(","),d=l.substring(c+1),u=a.test(l.substring(0,c));Blob.fake?((i=new Blob).encoding=u?"base64":"URI",i.data=d,i.size=d.length):n&&(i=u?new Blob([r(d)],{type:t}):new Blob([decodeURIComponent(d)],{type:t})),e(i)}},o.toDataURLHD?o.toBlobHD=function(){s="toDataURLHD";var e=this.toBlob();return s="toDataURL",e}:o.toBlobHD=o.toBlob)}(window),function(){if("performance"in window==!1&&(window.performance={}),Date.now=Date.now||function(){return(new Date).getTime()},"now"in window.performance==!1){var e=window.performance.timing&&window.performance.timing.navigationStart?window.performance.timing.navigationStart:Date.now();window.performance.now=function(){return Date.now()-e}}}(),function(){var e,t,n=n||(e=[],{getAll:function(){return e},removeAll:function(){e=[]},add:function(t){e.push(t)},remove:function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)},update:function(t){if(0===e.length)return!1;var n=0;for(t=null!=t?t:window.performance.now();n<e.length;)e[n].update(t)?n++:e.splice(n,1);return!0}});n.Tween=function(e){var t=e,i={},o={},a={},s=1e3,r=0,l=!1,c=!1,d=!1,u=0,h=null,p=n.Easing.Linear.None,g=n.Interpolation.Linear,f=[],m=null,v=!1,b=null,w=null,P=null;for(var x in e)i[x]=parseFloat(e[x],10);this.to=function(e,t){return null!=t&&(s=t),o=e,this},this.start=function(e){for(var s in n.add(this),c=!0,v=!1,h=null!=e?e:window.performance.now(),h+=u,o){if(o[s]instanceof Array){if(0===o[s].length)continue;o[s]=[t[s]].concat(o[s])}null!==i[s]&&(i[s]=t[s],i[s]instanceof Array==!1&&(i[s]*=1),a[s]=i[s]||0)}return this},this.stop=function(){return c?(n.remove(this),c=!1,null!==P&&P.call(t),this.stopChainedTweens(),this):this},this.stopChainedTweens=function(){for(var e=0,t=f.length;e<t;e++)f[e].stop()},this.complete=function(){return c?(n.remove(this),c=!1,null!==w&&w.call(t),this.completeChainedTweens(),this):this},this.completeChainedTweens=function(){for(var e=0,t=f.length;e<t;e++)f[e].complete()},this.delay=function(e){return u=e,this},this.repeat=function(e){return r=e,this},this.yoyo=function(e){return l=e,this},this.easing=function(e){return p=null==e?p:e,this},this.interpolation=function(e){return g=e,this},this.chain=function(){return f=arguments,this},this.onStart=function(e){return m=e,this},this.onUpdate=function(e){return b=e,this},this.onComplete=function(e){return w=e,this},this.onStop=function(e){return P=e,this},this.update=function(e){var n,c,P;if(e<h)return!0;for(n in!1===v&&(null!==m&&m.call(t),v=!0),P=p(c=(c=(e-h)/s)>1?1:c),o)if(null!==i[n]){var x=i[n]||0,y=o[n];y instanceof Array?t[n]=g(y,P):("string"==typeof y&&(y=y.startsWith("+")||y.startsWith("-")?x+parseFloat(y,10):parseFloat(y,10)),"number"==typeof y&&(t[n]=x+(y-x)*P))}if(null!==b&&b.call(t,P),1===c){if(r>0){for(n in isFinite(r)&&r--,a){if("string"==typeof o[n]&&(a[n]=a[n]+parseFloat(o[n],10)),l){var C=a[n];a[n]=o[n],o[n]=C}i[n]=a[n]}return l&&(d=!d),h=e+u,!0}null!==w&&w.call(t);for(var L=0,S=f.length;L<S;L++)f[L].start(h+s);return!1}return!0}},n.Easing={Linear:{None:function(e){return e}},Quadratic:{In:function(e){return e*e},Out:function(e){return e*(2-e)},InOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)}},Quartic:{In:function(e){return e*e*e*e},Out:function(e){return 1- --e*e*e*e},InOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)}},Sinusoidal:{In:function(e){return 1-Math.cos(e*Math.PI/2)},Out:function(e){return Math.sin(e*Math.PI/2)},InOut:function(e){return.5*(1-Math.cos(Math.PI*e))}},Cubic:{In:function(e){return e*e*e},Out:function(e){return--e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)}}},n.Interpolation={Linear:function(e,t){var i=e.length-1,o=i*t,a=Math.floor(o),s=n.Interpolation.Utils.Linear;return t<0?s(e[0],e[1],o):t>1?s(e[i],e[i-1],i-o):s(e[a],e[a+1>i?i:a+1],o-a)},Bezier:function(e,t){for(var i=0,o=e.length-1,a=Math.pow,s=n.Interpolation.Utils.Bernstein,r=0;r<=o;r++)i+=a(1-t,o-r)*a(t,r)*e[r]*s(o,r);return i},Utils:{Linear:function(e,t,n){return(t-e)*n+e},Bernstein:function(e,t){var i=n.Interpolation.Utils.Factorial;return i(e)/i(t)/i(e-t)},Factorial:(t=[1],function(e){var n=1;if(t[e])return t[e];for(var i=e;i>1;i--)n*=i;return t[e]=n,n}),CatmullRom:function(e,t,n,i,o){var a=.5*(n-e),s=.5*(i-t),r=o*o;return(2*t-2*n+a+s)*(o*r)+(-3*t+3*n-2*a-s)*r+a*o+t}}},window.TWEEN=n}(),DFLIP.createBlob=function(e,t){if("undefined"!=typeof Blob)return new Blob([e],{type:t});var n=new MozBlobBuilder;return n.append(e),n.getBlob(t)},DFLIP.createObjectURL=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function(t,n){if("undefined"!=typeof URL&&URL.createObjectURL){var i=DFLIP.createBlob(t,n);return URL.createObjectURL(i)}for(var o="data:"+n+";base64,",a=0,s=t.length;a<s;a+=3){var r=255&t[a],l=255&t[a+1],c=255&t[a+2];o+=e[r>>2]+e[(3&r)<<4|l>>4]+e[a+1<s?(15&l)<<2|c>>6:64]+e[a+2<s?63&c:64]}return o}}();var ThumbList=function(){function e(t){var n=t&&t.w+"px"||"100%",i=t&&t.h+"px"||"100%",o=this.itemHeight=t.itemHeight;this.items=t.items,this.generatorFn=t.generatorFn,this.totalRows=t.totalRows||t.items&&t.items.length,this.addFn=t.addFn,this.scrollFn=t.scrollFn;var a=e.createScroller(o*this.totalRows);this.container=e.createContainer(n,i),this.container.appendChild(a),this.screenItemsLen=Math.ceil(t.h/o),this.offsetItems=this.screenItemsLen,this.cachedItemsLen=this.screenItemsLen+2*this.offsetItems,this._renderChunk(this.container,0);var s=this;s.lastRepaintY=0;this.screenItemsLen;function r(e){var t=e.target.scrollTop;if(!s.lastRepaintY||Math.abs(t-s.lastRepaintY)>=s.offsetItems*s.itemHeight){var n=parseInt(t/o,10)-s.offsetItems;s._renderChunk(s.container,n<0?0:n),s.lastRepaintY=t}s.lastScrolled=Date.now(),null!=s.scrollFn&&s.scrollFn(),e.preventDefault&&e.preventDefault()}s.dispose=function(){s.container&&s.container.parentNode&&s.container.parentNode.removeChild(s.container),s.container.removeEventListener("scroll",r)},s.container.addEventListener("scroll",r)}return e.prototype.reset=function(e){this.screenItemsLen=Math.ceil(e/this.itemHeight),this.cachedItemsLen=this.screenItemsLen+2*this.offsetItems;var t=parseInt(this.lastRepaintY/this.itemHeight,10)-this.offsetItems;this.needReset=!0,this._renderChunk(this.container,Math.max(t,0))},e.prototype.createRow=function(e){var t;return this.generatorFn&&((t=this.generatorFn(e)).classList.add("df-vrow"),t.style.position="absolute",t.style.top=e*this.itemHeight+"px",t.setAttribute("index",e)),t},e.prototype._renderChunk=function(e,t){var n=null==this.range;this.range=this.range||{min:0,max:this.cachedItemsLen};var i=this.range,o=i.min,a=i.max,s=!!n||t>=o;if(n||t!=o||0!=this.needReset){var r,l=n?o:s?a:t;l=l>this.totalRows?this.totalRows:l<0?0:l;var c=t+this.cachedItemsLen;for(c=c>this.totalRows?this.totalRows:c,r=l;r<c;r++)s?e.appendChild(this.createRow(r)):e.insertBefore(this.createRow(r),e.childNodes[1+r-l]),null!=this.addFn&&this.addFn(r);Math.abs(t-o);if(this.needReset=!1,!n&&e.childNodes.length>this.cachedItemsLen+1)for(var d=s?1:1+this.cachedItemsLen,u=d+(c-l);u>d;u--)e.childNodes[d]&&this.container.removeChild(e.childNodes[d]);this.range.min=t,this.range.max=c}},e.createContainer=function(e,t){var n=document.createElement("div");return n.style.width=e,n.style.height=t,n.style.overflow="auto",n.style.position="relative",n.style.padding=0,n},e.createScroller=function(e){var t=document.createElement("div");return t.style.opacity=0,t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.width="1px",t.style.height=e+"px",t},e}(),BookMarkViewer=function(){function e(e){this.outline=null,this.lastToggleIsShow=!0,this.container=e.container,this.linkService=e.linkService,this.outlineItemClass=e.outlineItemClass||"outlineItem",this.outlineToggleClass=e.outlineToggleClass||"outlineItemToggler",this.outlineToggleHiddenClass=e.outlineToggleHiddenClass||"outlineItemsHidden"}return e.prototype={dispose:function(){this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this.linkService=null},reset:function(){this.outline=null,this.lastToggleIsShow=!0;for(var e=this.container;e.firstChild;)e.removeChild(e.firstChild)},_dispatchEvent:function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("outlineloaded",!0,!0,{outlineCount:e}),this.container.dispatchEvent(t)},_bindLink:function(e,t){var n=this.linkService;if(1==t.custom)e.href=n.getCustomDestinationHash(t.dest),e.onclick=function(e){return n.customNavigateTo(t.dest),!1};else{if(t.url)return void pdfjsLib.addLinkAttributes(e,{url:t.url});e.href=n.getDestinationHash(t.dest),e.onclick=function(e){return n.navigateTo(t.dest),!1}}},_addToggleButton:function(e){var t=document.createElement("div");t.className=this.outlineToggleClass+" "+this.outlineToggleHiddenClass,t.onclick=function(n){if(n.stopPropagation(),t.classList.toggle(this.outlineToggleHiddenClass),n.shiftKey){var i=!t.classList.contains(this.outlineToggleHiddenClass);this._toggleOutlineItem(e,i)}}.bind(this),e.insertBefore(t,e.firstChild)},_toggleOutlineItem:function(e,t){this.lastToggleIsShow=t;for(var n=e.querySelectorAll("."+this.outlineToggleClass),i=0,o=n.length;i<o;++i)n[i].classList[t?"remove":"add"](this.outlineToggleHiddenClass)},toggleOutlineTree:function(){this.outline&&this._toggleOutlineItem(this.container,!this.lastToggleIsShow)},render:function(e){var t=e&&e.outline||null,n=0;if(this.outline&&this.reset(),this.outline=t,t){for(var i=document.createDocumentFragment(),o=[{parent:i,items:this.outline}],a=!1;o.length>0;)for(var s=o.shift(),r=s.custom,l=0,c=s.items.length;l<c;l++){var d=s.items[l],u=document.createElement("div");u.className=this.outlineItemClass;var h=document.createElement("a");if(null==d.custom&&null!=r&&(d.custom=r),this._bindLink(h,d),h.textContent=d.title.replace(/\x00/g,""),u.appendChild(h),d.items&&d.items.length>0){a=!0,this._addToggleButton(u);var p=document.createElement("div");p.className=this.outlineItemClass+"s",u.appendChild(p),o.push({parent:p,custom:d.custom,items:d.items})}s.parent.appendChild(u),n++}a&&(null!=this.container.classList?this.container.classList.add(this.outlineItemClass+"s"):null!=this.container.className&&(this.container.className+=" picWindow")),this.container.appendChild(i),this._dispatchEvent(n)}}},e}(),DFLightBox=function(e){function t(t,n){this.duration=300;var i=this;return i.lightboxWrapper=e("<div>").addClass("df-lightbox-wrapper"),i.container=e("<div>").addClass("df-container").appendTo(i.lightboxWrapper),i.controls=e("<div>").addClass("df-lightbox-controls").appendTo(i.lightboxWrapper),i.closeButton=e("<div>").addClass("df-lightbox-close df-ui-btn").on("click",(function(){i.close(t)})).appendTo(i.controls),i.lightboxWrapper.append(i.container),i}return t.prototype.show=function(t){return 0==this.lightboxWrapper.parent().length&&e("body").append(this.lightboxWrapper),e("html,body").addClass("df-lightbox-open"),this.lightboxWrapper.fadeIn(this.duration,t),this},t.prototype.close=function(t){return this.lightboxWrapper.fadeOut(this.duration),setTimeout(t,this.duration),e("html,body").removeClass("df-lightbox-open"),this},t}(jQuery);DFLIP.Share=function(e){function t(t,n){var i=this,o="<div>",a="width=500,height=400";i.isOpen=!1,i.shareUrl="",i.wrapper=e('<div class="df-share-wrapper" style="display: none;">').on("click",(function(e){i.close()})),i.box=e('<div class="df-share-box">').on("click",(function(e){e.preventDefault(),e.stopPropagation()})).appendTo(i.wrapper).html('<span class="df-share-title">'+n.text.share+"</span>"),i.urlInput=e('<textarea class="df-share-url">').on("click",(function(){e(this).select()})),i.facebook=e(o,{class:"df-share-button df-share-facebook "+n.icons.facebook}).on("click",(function(e){window.open("https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(i.shareUrl),"Sharer",a)})),i.google=e(o,{class:"df-share-button df-share-google "+n.icons.google}).on("click",(function(e){window.open("https://plus.google.com/share?url="+encodeURIComponent(i.shareUrl),"Sharer",a)})),i.twitter=e(o,{class:"df-share-button df-share-twitter "+n.icons.twitter}).on("click",(function(e){window.open("http://twitter.com/share?url="+encodeURIComponent(i.shareUrl),"Sharer",a)})),i.mail=e("<a>",{class:"df-share-button df-share-mail "+n.icons.mail,href:"mailto:?subject="+n.text.mailSubject+"&body="+n.text.mailBody.replace("{{url}}",encodeURIComponent(i.shareUrl)),target:"_blank"}).on("click",(function(t){e(this).attr("href","mailto:?subject="+n.text.mailSubject+"&body="+n.text.mailBody.replace("{{url}}",encodeURIComponent(i.shareUrl))),t.stopPropagation()})),i.box.append(i.urlInput).append(i.facebook).append(i.twitter).append(i.mail),e(t).append(i.wrapper)}return t.prototype.show=function(){this.wrapper.fadeIn(300),this.urlInput.val(this.shareUrl),this.urlInput.trigger("click"),this.isOpen=!0},t.prototype.dispose=function(){var e=this;e.box.off(),e.google.off(),e.twitter.off(),e.facebook.off(),e.mail.off(),e.urlInput.off(),e.wrapper.off().remove()},t.prototype.close=function(){this.wrapper.fadeOut(300),this.isOpen=!1},t.prototype.update=function(e){this.shareUrl=e},t}(jQuery),DFLIP.Popup=function(e){function t(t,n){var i=this;i.isOpen=!1,i.wrapper=e('<div class="df-popup-wrapper" style="display: none;">').on("click",(function(e){i.close()})),i.box=e('<div class="df-popup-box">').on("click",(function(e){e.preventDefault(),e.stopPropagation()})).appendTo(i.wrapper),e(t).append(i.wrapper)}return t.prototype.show=function(){this.wrapper.fadeIn(300),this.isOpen=!0},t.prototype.dispose=function(){this.box.off(),this.wrapper.off().remove()},t.prototype.close=function(){this.wrapper.fadeOut(300),this.isOpen=!1},t}(jQuery);var PDFLinkService=function(){function e(){this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null,this._pagesRefCache=null}return e.prototype={dispose:function(){this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null,this._pagesRefCache=null},setDocument:function(e,t){this.baseUrl=t,this.pdfDocument=e,this._pagesRefCache=Object.create(null)},setViewer:function(e){this.pdfViewer=e,this.externalLinkTarget=e.previewObject.options.linkTarget},setHistory:function(e){this.pdfHistory=e},get pagesCount(){return this.pdfDocument.numPages},get page(){return this.pdfViewer.currentPageNumber},set page(e){this.pdfViewer.currentPageNumber=e},navigateTo:function(e){this.goToDestination(e)},goToDestination:function(e){var t,n="",i=this,o=function(t){var a=t instanceof Object?i._pagesRefCache[t.num+" "+t.gen+" R"]:t+1;a?(i.pdfViewer.contentProvider.options.pageSize==DFLIP.PAGE_SIZE.DOUBLEINTERNAL&&a>2&&(a=2*a-1),a>i.pdfViewer.pageCount&&(a=i.pdfViewer.pageCount),i.pdfViewer.gotoPage(a),i.pdfHistory&&i.pdfHistory.push({dest:e,hash:n,page:a})):i.pdfDocument.getPageIndex(t).then((function(e){var n=e+1,a=t.num+" "+t.gen+" R";i._pagesRefCache[a]=n,o(t)}))};"string"==typeof e?(n=e,t=this.pdfDocument.getDestination(e)):t=Promise.resolve(e),t.then((function(t){e=t,t instanceof Array&&o(t[0])}))},customNavigateTo:function(e){if(""!=e&&null!=e&&"null"!=e){var t=null;if(isNaN(Math.round(e))){if("string"==typeof e&&(t=parseInt(e.replace("#",""),10),isNaN(t)))return void window.open(e,DFLIP.defaults.linkTarget==DFLIP.LINK_TARGET.SELF?"_self":"_blank")}else t=e;null!=t&&this.pdfViewer.gotoPage(t)}},getDestinationHash:function(e){if("string"==typeof e)return this.getAnchorUrl("#"+escape(e));if(e instanceof Array){var t=e[0],n=t instanceof Object?this._pagesRefCache[t.num+" "+t.gen+" R"]:t+1;if(n){var i=this.getAnchorUrl("#page="+n),o=e[1];if("object"==typeof o&&"name"in o&&"XYZ"===o.name){var a=e[4]||this.pdfViewer.currentScaleValue,s=parseFloat(a);s&&(a=100*s),i+="&zoom="+a,(e[2]||e[3])&&(i+=","+(e[2]||0)+","+(e[3]||0))}return i}}return this.getAnchorUrl("")},getCustomDestinationHash:function(e){return"#"+escape(e)},getAnchorUrl:function(e){return(this.baseUrl||"")+e},setHash:function(e){if(e.indexOf("=")>=0){var t,n,i=parseQueryString(e);if("nameddest"in i)return this.pdfHistory&&this.pdfHistory.updateNextHashParam(i.nameddest),void this.navigateTo(i.nameddest);if("page"in i&&(t=0|i.page||1),"zoom"in i){var o=i.zoom.split(","),a=o[0],s=parseFloat(a);-1===a.indexOf("Fit")?n=[null,{name:"XYZ"},o.length>1?0|o[1]:null,o.length>2?0|o[2]:null,s?s/100:a]:"Fit"===a||"FitB"===a?n=[null,{name:a}]:"FitH"===a||"FitBH"===a||"FitV"===a||"FitBV"===a?n=[null,{name:a},o.length>1?0|o[1]:null]:"FitR"===a?5!==o.length?console.error("PDFLinkService_setHash: Not enough parameters for 'FitR'."):n=[null,{name:a},0|o[1],0|o[2],0|o[3],0|o[4]]:console.error("PDFLinkService_setHash: '"+a+"' is not a valid zoom value.")}if(n?this.pdfViewer.scrollPageIntoView(t||this.page,n):t&&(this.page=t),"pagemode"in i){var r=document.createEvent("CustomEvent");r.initCustomEvent("pagemode",!0,!0,{mode:i.pagemode}),this.pdfViewer.container.dispatchEvent(r)}}else/^\d+$/.test(e)?this.page=e:(this.pdfHistory&&this.pdfHistory.updateNextHashParam(unescape(e)),this.navigateTo(unescape(e)))},executeNamedAction:function(e){switch(e){case"GoBack":this.pdfHistory&&this.pdfHistory.back();break;case"GoForward":this.pdfHistory&&this.pdfHistory.forward();break;case"NextPage":this.page++;break;case"PrevPage":this.page--;break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}var t=document.createEvent("CustomEvent");t.initCustomEvent("namedaction",!0,!0,{action:e}),this.pdfViewer.container.dispatchEvent(t)},cachePageRef:function(e,t){var n=t.num+" "+t.gen+" R";this._pagesRefCache[n]=e}},e}(),FindStates={FIND_FOUND:0,FIND_NOTFOUND:1,FIND_WRAPPED:2,FIND_PENDING:3},FIND_SCROLL_OFFSET_TOP=-50,FIND_SCROLL_OFFSET_LEFT=-400,CHARACTERS_TO_NORMALIZE={"‘":"'","’":"'","‚":"'","‛":"'","“":'"',"”":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"};DFLIP.PDFFindController=function(){function e(e){this.pdfViewer=e.pdfViewer||null,this.onUpdateResultsCount=null,this.onUpdateState=null,this.reset();var t=Object.keys(CHARACTERS_TO_NORMALIZE).join("");this.normalizationRegex=new RegExp("["+t+"]","g")}return e.prototype={reset:function(){this.startedTextExtraction=!1,this.extractTextPromises=[],this.pendingFindMatches=Object.create(null),this.active=!1,this.pageContents=[],this.pageMatches=[],this.pageMatchesLength=null,this.matchCount=0,this.selected={pageIdx:-1,matchIdx:-1},this.offset={pageIdx:null,matchIdx:null},this.pagesToSearch=null,this.resumePageIdx=null,this.state=null,this.dirtyMatch=!1,this.findTimeout=null,this.firstPagePromise=new Promise(function(e){this.resolveFirstPage=e}.bind(this))},normalize:function(e){return e.replace(this.normalizationRegex,(function(e){return CHARACTERS_TO_NORMALIZE[e]}))},_prepareMatches:function(e,t,n){function i(e,t){var n,i,o;if(n=e[t],o=e[t+1],t<e.length-1&&n.match===o.match)return n.skipped=!0,!0;for(var a=t-1;a>=0;a--)if(!(i=e[a]).skipped){if(i.match+i.matchLength<n.match)break;if(i.match+i.matchLength>=n.match+n.matchLength)return n.skipped=!0,!0}return!1}var o,a;for(e.sort((function(e,t){return e.match===t.match?e.matchLength-t.matchLength:e.match-t.match})),o=0,a=e.length;o<a;o++)i(e,o)||(t.push(e[o].match),n.push(e[o].matchLength))},calcFindPhraseMatch:function(e,t,n){for(var i=[],o=e.length,a=-o;-1!==(a=n.indexOf(e,a+o));)i.push(a);this.pageMatches[t]=i},calcFindWordMatch:function(e,t,n){for(var i,o,a,s=[],r=e.match(/\S+/g),l=0,c=r.length;l<c;l++)for(a=-(o=(i=r[l]).length);-1!==(a=n.indexOf(i,a+o));)s.push({match:a,matchLength:o,skipped:!1});this.pageMatchesLength||(this.pageMatchesLength=[]),this.pageMatchesLength[t]=[],this.pageMatches[t]=[],this._prepareMatches(s,this.pageMatches[t],this.pageMatchesLength[t])},calcFindMatch:function(e){var t=this.normalize(this.pageContents[e]),n=this.normalize(this.state.query),i=this.state.caseSensitive,o=this.state.phraseSearch;0!==n.length&&(i||(t=t.toLowerCase(),n=n.toLowerCase()),o?this.calcFindPhraseMatch(n,e,t):this.calcFindWordMatch(n,e,t),this.updatePage(e),this.resumePageIdx===e&&(this.resumePageIdx=null,this.nextPageMatch()),this.pageMatches[e].length>0&&(this.matchCount+=this.pageMatches[e].length,this.updateUIResultsCount()))},extractText:function(){if(!this.startedTextExtraction){this.startedTextExtraction=!0,this.pageContents=[];for(var e=[],t=this.pdfViewer.contentProvider.pdfDocument.numPages,n=0;n<t;n++)this.extractTextPromises.push(new Promise((function(t){e.push(t)})));var i=this;!function t(n){i.pdfViewer.getPageTextContent(n).then((function(o){for(var a=o.items,s=[],r=0,l=a.length;r<l;r++)s.push(a[r].str);i.pageContents.push(s.join("")),e[n](n),console.log("extracting Page"+n),n+1<i.pdfViewer.contentProvider.pdfDocument.numPages&&t(n+1)}))}(0)}},executeCommand:function(e,t){null!==this.state&&"findagain"===e||(this.dirtyMatch=!0),this.state=t,this.updateUIState(FindStates.FIND_PENDING),this.firstPagePromise.then(function(){this.extractText(),clearTimeout(this.findTimeout),"find"===e?this.findTimeout=setTimeout(this.nextMatch.bind(this),250):this.nextMatch()}.bind(this))},updatePage:function(e){this.selected.pageIdx===e&&(this.pdfViewer.currentPageNumber=e+1);var t=this.pdfViewer.getPageView(e);t.textLayer&&t.textLayer.updateMatches()},nextMatch:function(){var e=this.state.findPrevious,t=this.pdfViewer.currentPageNumber-1,n=this.pdfViewer.contentProvider.pageCount;if(this.active=!0,this.dirtyMatch){this.dirtyMatch=!1,this.selected.pageIdx=this.selected.matchIdx=-1,this.offset.pageIdx=t,this.offset.matchIdx=null,this.hadMatch=!1,this.resumePageIdx=null,this.pageMatches=[],this.matchCount=0,this.pageMatchesLength=null;for(var i=this,o=0;o<n;o++)this.updatePage(o),o in this.pendingFindMatches||(this.pendingFindMatches[o]=!0,this.extractTextPromises[o].then((function(e){delete i.pendingFindMatches[e],i.calcFindMatch(e)})))}if(""!==this.state.query){if(!this.resumePageIdx){var a=this.offset;if(this.pagesToSearch=n,null!==a.matchIdx){var s=this.pageMatches[a.pageIdx].length;if(!e&&a.matchIdx+1<s||e&&a.matchIdx>0)return this.hadMatch=!0,a.matchIdx=e?a.matchIdx-1:a.matchIdx+1,void this.updateMatch(!0);this.advanceOffsetPage(e)}this.nextPageMatch()}}else this.updateUIState(FindStates.FIND_FOUND)},matchesReady:function(e){var t=this.offset,n=e.length,i=this.state.findPrevious;return n?(this.hadMatch=!0,t.matchIdx=i?n-1:0,this.updateMatch(!0),!0):(this.advanceOffsetPage(i),!!(t.wrapped&&(t.matchIdx=null,this.pagesToSearch<0))&&(this.updateMatch(!1),!0))},updateMatchPosition:function(e,t,n,i){if(this.selected.matchIdx===t&&this.selected.pageIdx===e){var o={top:FIND_SCROLL_OFFSET_TOP,left:FIND_SCROLL_OFFSET_LEFT};scrollIntoView(n[i],o,!0)}},nextPageMatch:function(){null!==this.resumePageIdx&&console.error("There can only be one pending page.");do{var e=this.offset.pageIdx,t=this.pageMatches[e];if(!t){this.resumePageIdx=e;break}}while(!this.matchesReady(t))},advanceOffsetPage:function(e){var t=this.offset,n=this.extractTextPromises.length;t.pageIdx=e?t.pageIdx-1:t.pageIdx+1,t.matchIdx=null,this.pagesToSearch--,(t.pageIdx>=n||t.pageIdx<0)&&(t.pageIdx=e?n-1:0,t.wrapped=!0)},updateMatch:function(e){var t=FindStates.FIND_NOTFOUND,n=this.offset.wrapped;if(this.offset.wrapped=!1,e){var i=this.selected.pageIdx;this.selected.pageIdx=this.offset.pageIdx,this.selected.matchIdx=this.offset.matchIdx,t=n?FindStates.FIND_WRAPPED:FindStates.FIND_FOUND,-1!==i&&i!==this.selected.pageIdx&&this.updatePage(i)}this.updateUIState(t,this.state.findPrevious),-1!==this.selected.pageIdx&&this.updatePage(this.selected.pageIdx)},updateUIResultsCount:function(){this.onUpdateResultsCount&&this.onUpdateResultsCount(this.matchCount)},updateUIState:function(e,t){this.onUpdateState&&this.onUpdateState(e,t,this.matchCount)}},e}(),DFLIP.TextLayerBuilder=function(){function e(e){this.textLayerDiv=e.textLayerDiv,this.renderingDone=!1,this.divContentDone=!1,this.pageIdx=e.pageIndex,this.pageNumber=this.pageIdx+1,this.matches=[],this.viewport=e.viewport,this.textDivs=[],this.findController=e.findController||null,this.textLayerRenderTask=null,this.enhanceTextSelection=e.enhanceTextSelection,this._bindMouse()}return e.prototype={_finishRendering:function(){if(this.renderingDone=!0,!this.enhanceTextSelection){var e=document.createElement("div");e.className="endOfContent",this.textLayerDiv.appendChild(e)}},render:function(e){if(this.divContentDone&&!this.renderingDone){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this.textDivs=[];var t=document.createDocumentFragment();this.textLayerRenderTask=pdfjsLib.renderTextLayer({textContent:this.textContent,container:t,viewport:this.viewport,textDivs:this.textDivs,timeout:e,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then(function(){this.textLayerDiv.appendChild(t),this._finishRendering(),this.updateMatches()}.bind(this),(function(e){}))}},setTextContent:function(e){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this.textContent=e,this.divContentDone=!0},convertMatches:function(e,t){var n=0,i=0,o=this.textContent.items,a=o.length-1,s=null===this.findController?0:this.findController.state.query.length,r=[];if(!e)return r;for(var l=0,c=e.length;l<c;l++){for(var d=e[l];n!==a&&d>=i+o[n].str.length;)i+=o[n].str.length,n++;n===o.length&&console.error("Could not find a matching mapping");var u={begin:{divIdx:n,offset:d-i}};for(d+=t?t[l]:s;n!==a&&d>i+o[n].str.length;)i+=o[n].str.length,n++;u.end={divIdx:n,offset:d-i},r.push(u)}return r},renderMatches:function(e){if(0!==e.length){var t=this.textContent.items,n=this.textDivs,i=null,o=this.pageIdx,a=null!==this.findController&&o===this.findController.selected.pageIdx,s=null===this.findController?-1:this.findController.selected.matchIdx,r={divIdx:-1,offset:void 0},l=s,c=l+1;if(null!==this.findController&&this.findController.state.highlightAll)l=0,c=e.length;else if(!a)return;for(var d=l;d<c;d++){var u=e[d],h=u.begin,p=u.end,g=a&&d===s?" selected":"";if(this.findController&&this.findController.updateMatchPosition(o,d,n,h.divIdx),i&&h.divIdx===i.divIdx?b(i.divIdx,i.offset,h.offset):(null!==i&&b(i.divIdx,i.offset,r.offset),v(h)),h.divIdx===p.divIdx)b(h.divIdx,h.offset,p.offset,"highlight"+g);else{b(h.divIdx,h.offset,r.offset,"highlight begin"+g);for(var f=h.divIdx+1,m=p.divIdx;f<m;f++)n[f].className="highlight middle"+g;v(p,"highlight end"+g)}i=p}i&&b(i.divIdx,i.offset,r.offset)}function v(e,t){var i=e.divIdx;n[i].textContent="",b(i,0,e.offset,t)}function b(e,i,o,a){var s=n[e],r=t[e].str.substring(i,o),l=document.createTextNode(r);if(a){var c=document.createElement("span");return c.className=a,c.appendChild(l),void s.appendChild(c)}s.appendChild(l)}},updateMatches:function(){if(this.renderingDone){for(var e,t,n=this.matches,i=this.textDivs,o=this.textContent.items,a=-1,s=0,r=n.length;s<r;s++){for(var l=n[s],c=Math.max(a,l.begin.divIdx),d=l.end.divIdx;c<=d;c++){var u=i[c];u.textContent=o[c].str,u.className=""}a=l.end.divIdx+1}if(null!==this.findController&&this.findController.active)null!==this.findController&&(e=this.findController.pageMatches[this.pageIdx]||null,t=this.findController.pageMatchesLength&&this.findController.pageMatchesLength[this.pageIdx]||null),this.matches=this.convertMatches(e,t),this.renderMatches(this.matches)}},_bindMouse:function(){var e=this.textLayerDiv,t=this;e.addEventListener("mousedown",(function(n){if(t.enhanceTextSelection&&t.textLayerRenderTask)t.textLayerRenderTask.expandTextDivs(!0);else{var i=e.querySelector(".endOfContent");if(i){var o=n.target!==e;if(o=o&&"none"!==window.getComputedStyle(i).getPropertyValue("-moz-user-select")){var a=e.getBoundingClientRect(),s=Math.max(0,(n.pageY-a.top)/a.height);i.style.top=(100*s).toFixed(2)+"%"}i.classList.add("active")}}})),e.addEventListener("mouseup",(function(n){if(t.enhanceTextSelection&&t.textLayerRenderTask)t.textLayerRenderTask.expandTextDivs(!1);else{var i=e.querySelector(".endOfContent");i&&(i.style.top="",i.classList.remove("active"))}}))}},e}(),DFLIP.ConvertPageLinks=function(){for(var e,t=arguments[0]/100,n=arguments[1]/100,i=function(e,i,o,a,s){return{x:e/t,y:i/n,w:o/t,h:a/n,dest:s}},o=[],a=2;a<arguments.length;a++)e=arguments[a],o[a-2]=i.apply(this,e);return o},DFLIP.parseLinks=function(e){var t;if(null!=e&&e.length>0)for(var n=0;n<e.length;n++)null!=(t=e[n])&&null!=t[0]&&null==t[0].dest&&(t=DFLIP.ConvertPageLinks.apply(this,t),e[n]=t);return e},function(e){function t(e){return"true"==e||1==e}function n(e){null!=e.webgl&&(e.webgl=t(e.webgl)),null!=e.enableDownload&&(e.enableDownload=t(e.enableDownload)),null!=e.search&&(e.search=t(e.search)),null!=e.enableAnalytics&&(e.enableAnalytics=t(e.enableAnalytics)),null!=e.scrollWheel&&(e.scrollWheel=t(e.scrollWheel)),null!=e.autoEnableOutline&&(e.autoEnableOutline=t(e.autoEnableOutline)),null!=e.autoEnableThumbnail&&(e.autoEnableThumbnail=t(e.autoEnableThumbnail)),null!=e.transparent&&(e.transparent=t(e.transparent)),null!=e.overwritePDFOutline&&(e.overwritePDFOutline=t(e.overwritePDFOutline)),null!=e.soundEnable&&(e.soundEnable=t(e.soundEnable)),null!=e.forceFit&&(e.forceFit=t(e.forceFit)),null!=e.enableAnnotation&&(e.enableAnnotation=t(e.enableAnnotation)),null!=e.webglShadow&&(e.webglShadow=t(e.webglShadow)),null!=e.autoPlay&&(e.autoPlay=t(e.autoPlay)),null!=e.autoPlayStart&&(e.autoPlayStart=t(e.autoPlayStart)),null!=e.paddingTop&&(e.paddingTop=parseInt(e.paddingTop,10)),null!=e.paddingRight&&(e.paddingRight=parseInt(e.paddingRight,10)),null!=e.paddingBottom&&(e.paddingBottom=parseInt(e.paddingBottom,10)),null!=e.paddingLeft&&(e.paddingLeft=parseInt(e.paddingLeft,10)),null!=e.zoomRatio&&(e.zoomRatio=parseFloat(e.zoomRatio,10)),null!=e.stiffness&&(e.stiffness=parseFloat(e.stiffness,10)),null!=e.autoPlayDuration&&(e.autoPlayDuration=parseInt(e.autoPlayDuration,10)),null!=e.linkTarget&&(e.linkTarget=parseInt(e.linkTarget,10)),0!=e.pageMode&&"0"!=e.pageMode||(e.pageMode=null),0!=e.singlePageMode&&"0"!=e.singlePageMode||(e.singlePageMode=null)}DFLIP.getOptions=function(t){var i="option_"+(t=e(t)).attr("id"),o=t.attr("source")||t.attr("df-source");(i=null==i||""==i||null==window[i]?{}:window[i]).source=null==o||""==o?i.source:o;var a={webgl:t.attr("webgl"),height:t.attr("height"),soundEnable:t.attr("sound"),bookTitle:t.data("title"),transparent:t.attr("transparent"),enableDownload:t.attr("download"),search:t.attr("search"),duration:t.attr("duration"),hard:t.attr("hard"),openPage:t.data("page"),pageMode:t.attr("pagemode"),direction:t.attr("direction"),backgroundColor:t.attr("backgroundcolor"),scrollWheel:t.attr("scrollwheel"),backgroundImage:t.attr("backgroundimage"),paddingTop:t.attr("paddingtop"),paddingRight:t.attr("paddingright"),paddingBottom:t.attr("paddingbottom"),paddingLeft:t.attr("paddingleft"),wpOptions:t.attr("wpoptions")};return function(e){if(1!=e.parsed){e.parsed=!0;var t=[];if(n(e),"undefined"!=typeof dFlipWPGlobal&&"true"==e.wpOptions){try{for(var i in e.links){for(var o=e.links[i],a=[100,100],s=0;s<o.length;s++){for(var r=o[s].substr(1).slice(0,-1).split(","),l=[],c=0;c<5;c++)l[c]=r[c];a.push(l)}t[parseInt(i,10)+1]=a}}catch(e){console.error(e.stack)}e.links=DFLIP.parseLinks(t)}else e.links=DFLIP.parseLinks(e.links)}}(i=e.extend(!0,{},i,a)),i},DFLIP.parseBooks=function(){e(".dflip-books").each((function(){if(!1!==DFLIP.defaults.loadMoreCount){var t=e(this);if("true"!==(t.attr("parsed")||t.attr("df-parsed"))){t.attr("df-parsed","true");var n=0,i=t.find("._df_button, ._df_thumb, ._df_custom, ._df_book"),o=i.length;i.each((function(){++n>DFLIP.defaults.loadMoreCount&&e(this).attr("skip-parse","true")})),o>DFLIP.defaults.loadMoreCount&&t.append("<div class='df-more-button-wrapper'><div class='df-more-button'>Load More..</div></div>")}}})),e("._df_button, ._df_thumb, ._df_custom, ._df_book").each((function(){var t=e(this);if("true"!==t.attr("skip-parse")&&"true"!==(t.attr("parsed")||t.attr("df-parsed")))if(t.attr("df-parsed","true"),t.hasClass("_df_book")){var n=t.attr("id"),i=t.attr("slug"),o=DFLIP.getOptions(t);o.id=n,null!=i&&(o.slug=i),n?window[n.toString()]=e(t).flipBook(o.source,o):e(t).flipBook(o.source,o)}else if(t.hasClass("_df_thumb")){var a=e("<div class='_df_book-cover'>"),s=t.html().trim();t.html("");e("<span class='_df_book-title'>").html(s).appendTo(a);var r=t.attr("thumb")||t.attr("df-thumb"),l=t.attr("thumbtype")||DFLIP.defaults.thumbElement||"div",c=t.attr("tags")||t.attr("df-tags");if(c&&(c=c.split(",")).length>0)for(var d=0;d<c.length;d++)t.append("<span class='_df_book-tag'>"+c[d]+"</span>");null!=r&&""!=r.toString().trim()?"img"==l?(a.append('<img src="'+r+'" alt="'+s+'"/>'),t.attr("thumb-type","img")):a.css({backgroundImage:"url('"+r+"')"}):a.addClass("_df_thumb-not-found"),t.append(a)}}))},e(document).ready((function(){var t=e("body");if("undefined"==typeof dFlipLocation&&0!=DFLIP.autoDetectLocation&&e("script").each((function(){var t=e(this)[0].src;if((t.indexOf("/dflip.js")>-1||t.indexOf("/dflip.min.js")>-1)&&(t.indexOf("https://")>-1||t.indexOf("http://")>-1)&&t.indexOf("js/dflip.")>-1){var n=t.split("/");window.dFlipLocation=n.slice(0,-2).join("/")}})),"undefined"!=typeof dFlipLocation&&(dFlipLocation.length>2&&"/"!==dFlipLocation.slice(-1)&&(window.dFlipLocation+="/"),DFLIP.defaults.mockupjsSrc=dFlipLocation+"js/libs/mockup.min.js",DFLIP.defaults.pdfjsSrc=dFlipLocation+"js/libs/pdf.min.js",DFLIP.defaults.pdfjsCompatibilitySrc=dFlipLocation+"js/libs/compatibility.js",DFLIP.defaults.threejsSrc=dFlipLocation+"js/libs/three.min.js",DFLIP.defaults.pdfjsWorkerSrc=dFlipLocation+"js/libs/pdf.worker.min.js",DFLIP.defaults.soundFile=dFlipLocation+"sound/turn2.mp3",DFLIP.defaults.imagesLocation=dFlipLocation+"images",DFLIP.defaults.imageResourcesPath=dFlipLocation+"images/pdfjs/",DFLIP.defaults.cMapUrl=dFlipLocation+"js/libs/cmaps/","undefined"!=typeof dFlipWPGlobal)){if(void 0!==dFlipWPGlobal.pdfVersion){var i=dFlipWPGlobal.pdfVersion;"beta"===i&&(i="2.12.313-legacy-dist"),"default"!==i&&(DFLIP.defaults.pdfjsSrc=dFlipLocation+"js/libs/pdfjs/"+i+"/pdf.min.js",DFLIP.defaults.pdfjsWorkerSrc=dFlipLocation+"js/libs/pdfjs/"+i+"/pdf.worker.min.js")}n(dFlipWPGlobal),e.extend(!0,DFLIP.defaults,dFlipWPGlobal)}DFLIP.preParseHash=window.location.hash,t.on("click","._df_button, ._df_thumb, ._df_custom",(function(t){t.preventDefault();var n=e(this);window.dfLightBox||(window.dfLightBox=new DFLightBox((function(){Array.prototype.forEach.call(DFLIP.utils.getSharePrefixes(),(function(e){0==window.location.hash.indexOf("#"+e)&&(window.location.hash="#_")})),window.dfActiveLightBoxBook.analytics({eventAction:"Book Closed",options:window.dfActiveLightBoxBook.options}),window.dfActiveLightBoxBook.dispose(),window.dfActiveLightBoxBook=null}))),window.dfLightBox.duration=500,window.dfActiveLightBoxBook&&window.dfActiveLightBoxBook.dispose?window.dfActiveLightBoxBook.dispose():window.dfLightBox.show((function(){var t=DFLIP.getOptions(n);t.transparent=!1,t.height="100%",t.id=n.attr("id");var i=n.attr("slug");null!=i&&(t.slug=i),t.isLightBox=!0,window.dfActiveLightBoxBook=e(window.dfLightBox.container).flipBook(t.source,t)}))})),(DFLIP.utils.isSafari||DFLIP.utils.isIOS)&&e("body").addClass("df-webkit");var o=!1;if(Array.prototype.forEach.call(DFLIP.utils.getSharePrefixes(),(function(t){if(DFLIP.preParseHash&&DFLIP.preParseHash.indexOf(t)>=0&&!1===o){var n,i=DFLIP.preParseHash.split(t)[1].split("/")[0],a=DFLIP.preParseHash.split(t)[1].split("/")[1];null!=a&&(a=a.split("/")[0]),0===(n=e("[slug="+i+"]")).length&&(n=e("#"+i)),0===n.length&&(n=e("[_slug="+i+"]")),n.length>0&&(null!=a&&n.data("page",a),n.is("._df_button, ._df_thumb, ._df_custom")&&(n.trigger("click"),o=!0))}})),DFLIP.parseBooks(),t.hasClass("attachment-pdf")){var a=e("[attachment_pdf_flipbook_lightbox]");a.length>0&&e(a[0]).trigger("click")}t.on("click",".df-ui-sidemenu-close",(function(){e(this).closest(".df-container").find(".df-ui-outline.df-active , .df-ui-thumbnail.df-active").trigger("click")})),t.on("mouseout",".annotationDiv section.squareAnnotation",(function(){var t=e(this);DFLIP.handlePopup(t,!1)})),t.on("mouseover",".annotationDiv section.squareAnnotation",(function(){var t=e(this);DFLIP.handlePopup(t,!0)})),DFLIP.handlePopup=function(e,t){void 0===t&&(t=!0);var n=e.closest(".df-container"),i=n.find(".df-comment-popup");if(i.toggleClass("df-active",t),t){var o=e[0].getBoundingClientRect(),a=n[0].getBoundingClientRect(),s=e.find(".popupWrapper").first();i.html(s.html());var r=o.left-a.left;r+360>a.width?r=a.width-360-10:r<10&&(r=10);var l=o.top-a.top+o.height+5;l+i.height()>a.height?l=o.top-i.height()-o.height-10:l<10&&(l=10),i.css({left:r,top:l})}},t.on("click",".dflip-books .df-more-button",(function(){var t=e(this).closest(".dflip-books");if(t.length>0){var n=0;t.find("._df_button, ._df_thumb, ._df_custom, ._df_book").each((function(){"true"===e(this).attr("skip-parse")&&(n<DFLIP.defaults.loadMoreCount&&e(this).removeAttr("skip-parse"),n++)})),DFLIP.parseBooks()}}))}))}(jQuery);
// source --> https://history.gospmr.org/wp-content/plugins/elementor/assets/js/webpack.runtime.min.js?ver=4.0.1 
(()=>{"use strict";var e,r,_,t,a,n={},i={};function __webpack_require__(e){var r=i[e];if(void 0!==r)return r.exports;var _=i[e]={exports:{}};return n[e].call(_.exports,_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=n,e=[],__webpack_require__.O=(r,_,t,a)=>{if(!_){var n=1/0;for(b=0;b<e.length;b++){for(var[_,t,a]=e[b],i=!0,c=0;c<_.length;c++)(!1&a||n>=a)&&Object.keys(__webpack_require__.O).every(e=>__webpack_require__.O[e](_[c]))?_.splice(c--,1):(i=!1,a<n&&(n=a));if(i){e.splice(b--,1);var o=t();void 0!==o&&(r=o)}}return r}a=a||0;for(var b=e.length;b>0&&e[b-1][2]>a;b--)e[b]=e[b-1];e[b]=[_,t,a]},_=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var a=Object.create(null);__webpack_require__.r(a);var n={};r=r||[null,_({}),_([]),_(_)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~r.indexOf(i);i=_(i))Object.getOwnPropertyNames(i).forEach(r=>n[r]=()=>e[r]);return n.default=()=>e,__webpack_require__.d(a,n),a},__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((r,_)=>(__webpack_require__.f[_](e,r),r),[])),__webpack_require__.u=e=>786===e?"397f2d183c19202777d6.bundle.min.js":216===e?"lightbox.570c05c5a283cfb6b223.bundle.min.js":30===e?"text-path.a67c1f3a78d208bc7e1b.bundle.min.js":131===e?"accordion.8b0db5058afeb74622f5.bundle.min.js":707===e?"alert.42cc1d522ef5c60bf874.bundle.min.js":457===e?"counter.12335f45aaa79d244f24.bundle.min.js":234===e?"progress.0ea083b809812c0e3aa1.bundle.min.js":575===e?"tabs.18344b05d8d1ea0702bc.bundle.min.js":775===e?"toggle.2a177a3ef4785d3dfbc5.bundle.min.js":180===e?"video.86d44e46e43d0807e708.bundle.min.js":177===e?"image-carousel.6167d20b95b33386757b.bundle.min.js":212===e?"text-editor.45609661e409413f1cef.bundle.min.js":211===e?"wp-audio.c9624cb6e5dc9de86abd.bundle.min.js":215===e?"nested-tabs.a2401356d329f179475e.bundle.min.js":915===e?"nested-accordion.294d40984397351fd0f5.bundle.min.js":1===e?"contact-buttons.e98d0220ce8c38404e7e.bundle.min.js":336===e?"floating-bars.740d06d17cea5cebdb61.bundle.min.js":557===e?"shared-frontend-handlers.03caa53373b56d3bab67.bundle.min.js":396===e?"shared-editor-handlers.cacdcbed391abf4b48b0.bundle.min.js":768===e?"container-editor-handlers.a2e8e48d28c5544fb183.bundle.min.js":77===e?"section-frontend-handlers.d85ab872da118940910d.bundle.min.js":220===e?"section-editor-handlers.53ffedef32043348b99b.bundle.min.js":304===e?"nested-title-keyboard-handler.2a67d3cc630e11815acc.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},a="elementorFrontend:",__webpack_require__.l=(e,r,_,n)=>{if(t[e])t[e].push(r);else{var i,c;if(void 0!==_)for(var o=document.getElementsByTagName("script"),b=0;b<o.length;b++){var u=o[b];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==a+_){i=u;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",a+_),i.src=e),t[e]=[r];var onScriptComplete=(r,_)=>{i.onerror=i.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(_)),r)return r(_)},d=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=onScriptComplete.bind(null,i.onerror),i.onload=onScriptComplete.bind(null,i.onload),c&&document.head.appendChild(i)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");if(_.length)for(var t=_.length-1;t>-1&&(!e||!/^http(s?):/.test(e));)e=_[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={76:0};__webpack_require__.f.j=(r,_)=>{var t=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==t)if(t)_.push(t[2]);else if(76!=r){var a=new Promise((_,a)=>t=e[r]=[_,a]);_.push(t[2]=a);var n=__webpack_require__.p+__webpack_require__.u(r),i=new Error;__webpack_require__.l(n,_=>{if(__webpack_require__.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var a=_&&("load"===_.type?"missing":_.type),n=_&&_.target&&_.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+n+")",i.name="ChunkLoadError",i.type=a,i.request=n,t[1](i)}},"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var t,a,[n,i,c]=_,o=0;if(n.some(r=>0!==e[r])){for(t in i)__webpack_require__.o(i,t)&&(__webpack_require__.m[t]=i[t]);if(c)var b=c(__webpack_require__)}for(r&&r(_);o<n.length;o++)a=n[o],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return __webpack_require__.O(b)},r=self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();
// source --> https://history.gospmr.org/wp-content/plugins/elementor/assets/js/frontend-modules.min.js?ver=4.0.1 
(self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[]).push([[941],{1:(e,t,r)=>{"use strict";var n=r(5578),i=r(7255),s=r(5755),o=r(1866),a=r(6029),c=r(5022),l=n.Symbol,u=i("wks"),p=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return s(u,e)||(u[e]=a&&s(l,e)?l[e]:p("Symbol."+e)),u[e]}},41:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},169:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1483),o=r(5755),a=r(382),c=r(2048).CONFIGURABLE,l=r(7268),u=r(4483),p=u.enforce,d=u.get,h=String,f=Object.defineProperty,g=n("".slice),m=n("".replace),v=n([].join),y=a&&!i(function(){return 8!==f(function(){},"length",{value:8}).length}),w=String(String).split("String"),b=e.exports=function(e,t,r){"Symbol("===g(h(t),0,7)&&(t="["+m(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&o(r,"arity")&&e.length!==r.arity&&f(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=p(e);return o(n,"source")||(n.source=v(w,"string"==typeof t?t:"")),e};Function.prototype.toString=b(function toString(){return s(this)&&d(this).source||l(this)},"toString")},274:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},348:(e,t,r)=>{"use strict";var n=r(1807),i=r(1483),s=r(1704),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!s(a=n(r,e)))return a;if(i(r=e.valueOf)&&!s(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!s(a=n(r,e)))return a;throw new o("Can't convert object to primitive value")}},382:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},641:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(9655);const Module=function(){const e=jQuery,t=arguments,r=this,n={};let i;this.getItems=function(e,t){if(t){const r=t.split("."),n=r.splice(0,1);if(!r.length)return e[n];if(!e[n])return;return this.getItems(e[n],r.join("."))}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,n,s){if(s||(s=i),"object"==typeof t)return e.extend(s,t),r;const o=t.split("."),a=o.splice(0,1);return o.length?(s[a]||(s[a]={}),r.setSettings(o.join("."),n,s[a])):(s[a]=n,r)},this.getErrorMessage=function(e,t){let r;if("forceMethodImplementation"===e)r=`The method '${t}' must to be implemented in the inheritor child.`;else r="An error occurs";return r},this.forceMethodImplementation=function(e){throw new Error(this.getErrorMessage("forceMethodImplementation",e))},this.on=function(t,i){if("object"==typeof t)return e.each(t,function(e){r.on(e,this)}),r;return t.split(" ").forEach(function(e){n[e]||(n[e]=[]),n[e].push(i)}),r},this.off=function(e,t){if(!n[e])return r;if(!t)return delete n[e],r;const i=n[e].indexOf(t);return-1!==i&&(delete n[e][i],n[e]=n[e].filter(e=>e)),r},this.trigger=function(t){const i="on"+t[0].toUpperCase()+t.slice(1),s=Array.prototype.slice.call(arguments,1);r[i]&&r[i].apply(r,s);const o=n[t];return o?(e.each(o,function(e,t){t.apply(r,s)}),r):r},r.__construct.apply(r,t),e.each(r,function(e){const t=r[e];"function"==typeof t&&(r[e]=function(){return t.apply(r,arguments)})}),function(){i=r.getDefaultSettings();const n=t[0];n&&e.extend(!0,i,n)}(),r.trigger("init")};Module.prototype.__construct=function(){},Module.prototype.getDefaultSettings=function(){return{}},Module.prototype.getConstructorID=function(){return this.constructor.name},Module.extend=function(e){const t=jQuery,r=this,child=function(){return r.apply(this,arguments)};return t.extend(child,r),(child.prototype=Object.create(t.extend({},r.prototype,e))).constructor=child,child.__super__=r.prototype,child},e.exports=Module},670:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=function(e,t,r){n?i.f(e,t,s(0,r)):e[t]=r}},751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724),r(4846),r(9655);class InstanceType{static[Symbol.hasInstance](e){let t=super[Symbol.hasInstance](e);if(e&&!e.constructor.getInstanceType)return t;if(e&&(e.instanceTypes||(e.instanceTypes=[]),t||this.getInstanceType()===e.constructor.getInstanceType()&&(t=!0),t)){const t=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===e.instanceTypes.indexOf(t)&&e.instanceTypes.push(t)}return!t&&e&&(t=e.instanceTypes&&Array.isArray(e.instanceTypes)&&-1!==e.instanceTypes.indexOf(this.getInstanceType())),t}static getInstanceType(){elementorModules.ForceMethodImplementation()}constructor(){let e=new.target;const t=[];for(;e.__proto__&&e.__proto__.name;)t.push(e.__proto__),e=e.__proto__;t.reverse().forEach(e=>this instanceof e)}}t.default=InstanceType},1091:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},1265:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641)),s=n(r(2425)),o=n(r(2946)),a=n(r(3980)),c=n(r(2970)),l=n(r(8685)),u=r(9031),p=r(1462);const d={Module:i.default,ViewModule:s.default,ArgsObject:o.default,ForceMethodImplementation:l.default,utils:{Masonry:a.default,Scroll:c.default},importExport:{createGetInitialState:u.createGetInitialState,customizationDialogsRegistry:p.customizationDialogsRegistry}};window.elementorModules?Object.assign(window.elementorModules,d):window.elementorModules=d;t.default=window.elementorModules},1278:(e,t,r)=>{"use strict";var n=r(4762),i=n({}.toString),s=n("".slice);e.exports=function(e){return s(i(e),8,-1)}},1409:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},1423:(e,t,r)=>{"use strict";var n=r(1409),i=r(1483),s=r(4815),o=r(5022),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&s(t.prototype,a(e))}},1462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customizationDialogsRegistry=void 0;var n=r(7958);t.customizationDialogsRegistry=new n.BaseRegistry},1483:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},1506:(e,t,r)=>{"use strict";var n=r(2914),i=r(1807),s=r(2293),o=r(8761),a=r(5299),c=r(6960),l=r(4815),u=r(4887),p=r(6665),d=r(6721),h=TypeError,Result=function(e,t){this.stopped=e,this.result=t},f=Result.prototype;e.exports=function(e,t,r){var g,m,v,y,w,b,S,x=r&&r.that,E=!(!r||!r.AS_ENTRIES),I=!(!r||!r.IS_RECORD),_=!(!r||!r.IS_ITERATOR),C=!(!r||!r.INTERRUPTED),O=n(t,x),stop=function(e){return g&&d(g,"normal"),new Result(!0,e)},callFn=function(e){return E?(s(e),C?O(e[0],e[1],stop):O(e[0],e[1])):C?O(e,stop):O(e)};if(I)g=e.iterator;else if(_)g=e;else{if(!(m=p(e)))throw new h(o(e)+" is not iterable");if(a(m)){for(v=0,y=c(e);y>v;v++)if((w=callFn(e[v]))&&l(f,w))return w;return new Result(!1)}g=u(e,m)}for(b=I?e.next:g.next;!(S=i(b,g)).done;){try{w=callFn(S.value)}catch(e){d(g,"throw",e)}if("object"==typeof w&&w&&l(f,w))return w}return new Result(!1)}},1507:e=>{"use strict";e.exports={}},1703:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function trunc(e){var n=+e;return(n>0?r:t)(n)}},1704:(e,t,r)=>{"use strict";var n=r(1483);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},1799:(e,t,r)=>{"use strict";var n=r(382),i=r(8473),s=r(3145);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},1807:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},1831:(e,t,r)=>{"use strict";var n=r(9557),i=r(5578),s=r(2095),o="__core-js_shared__",a=e.exports=i[o]||s(o,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},1851:(e,t,r)=>{"use strict";var n,i,s,o=r(8473),a=r(1483),c=r(1704),l=r(5290),u=r(3181),p=r(7914),d=r(1),h=r(9557),f=d("iterator"),g=!1;[].keys&&("next"in(s=[].keys())?(i=u(u(s)))!==Object.prototype&&(n=i):g=!0),!c(n)||o(function(){var e={};return n[f].call(e)!==e})?n={}:h&&(n=l(n)),a(n[f])||p(n,f,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},1866:(e,t,r)=>{"use strict";var n=r(4762),i=0,s=Math.random(),o=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+s,36)}},1975:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(8120),o=r(2293),a=r(41),c=r(8660),l=r(8901),u=r(9557),p=r(6721),d=r(7486),h=r(5267),f=!u&&!d("filter",function(){}),g=!u&&!f&&h("filter",TypeError),m=u||f||g,v=c(function(){for(var e,t,r=this.iterator,n=this.predicate,s=this.next;;){if(e=o(i(s,r)),this.done=!!e.done)return;if(t=e.value,l(r,n,[t,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function filter(e){o(this);try{s(e)}catch(e){p(this,"throw",e)}return g?i(g,this,e):new v(a(this),{predicate:e})}})},1983:(e,t,r)=>{"use strict";var n=r(6721);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},2048:(e,t,r)=>{"use strict";var n=r(382),i=r(5755),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=i(s,"name"),c=a&&"something"===function something(){}.name,l=a&&(!n||n&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},2095:(e,t,r)=>{"use strict";var n=r(5578),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},2121:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1278),o=Object,a=n("".split);e.exports=i(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?a(e,""):o(e)}:o},2278:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return n(e,i)}},2293:(e,t,r)=>{"use strict";var n=r(1704),i=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not an object")}},2313:(e,t,r)=>{"use strict";var n=r(7914);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},2347:(e,t,r)=>{"use strict";var n=r(3312),i=Object;e.exports=function(e){return i(n(e))}},2355:(e,t,r)=>{"use strict";var n=r(1807),i=r(1704),s=r(1423),o=r(2564),a=r(348),c=r(1),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||s(e))return e;var r,c=o(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||s(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},2425:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641));t.default=i.default.extend({elements:null,getDefaultElements:()=>({}),bindEvents(){},onInit(){this.initElements(),this.bindEvents()},initElements(){this.elements=this.getDefaultElements()}})},2564:(e,t,r)=>{"use strict";var n=r(8120),i=r(5983);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},2811:(e,t,r)=>{"use strict";var n=r(1409);e.exports=n("document","documentElement")},2890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:".elementor-element",nestedDocumentElements:".elementor .elementor-element"},classes:{editMode:"elementor-edit-mode"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};const e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),r=>{t[r]=e.attributes[r]})}else t=this.$element.data("elementor-settings")||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each((e,t)=>setTimeout(()=>elementorFrontend.elementsHandler.runReadyTrigger(t)))}onInit(){this.$element=this.getSettings("$element"),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings("classes.editMode")),this.isEdit?elementor.on("document:loaded",()=>{elementor.settings.page.model.on("change",this.onSettingsChange.bind(this))}):this.runElementsHandlers()}onSettingsChange(){}}t.default=_default},2914:(e,t,r)=>{"use strict";var n=r(3786),i=r(8120),s=r(274),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},2946:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(751)),s=n(r(5213));class ArgsObject extends i.default{static getInstanceType(){return"ArgsObject"}constructor(e){super(),this.args=e}requireArgument(e,t=this.args){if(!Object.prototype.hasOwnProperty.call(t,e))throw Error(`${e} is required.`)}requireArgumentType(e,t,r=this.args){if(this.requireArgument(e,r),typeof r[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t,r=this.args){if(this.requireArgument(e,r),!(r[e]instanceof t||(0,s.default)(r[e],t)))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t,r=this.args){if(this.requireArgument(e,r),r[e].constructor.toString()!==t.prototype.constructor.toString())throw Error(`${e} invalid constructor type.`)}}t.default=ArgsObject},2970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);t.default=class Scroll{static scrollObserver(e){let t=0;const r={root:e.root||null,rootMargin:e.offset||"0px",threshold:((e=0)=>{const t=[];if(e>0&&e<=100){const r=100/e;for(let e=0;e<=100;e+=r)t.push(e/100)}else t.push(0);return t})(e.sensitivity)};return new IntersectionObserver(function handleIntersect(r){const n=r[0].boundingClientRect.y,i=r[0].isIntersecting,s=n<t?"down":"up",o=Math.abs(parseFloat((100*r[0].intersectionRatio).toFixed(2)));e.callback({sensitivity:e.sensitivity,isInViewport:i,scrollPercentage:o,intersectionScrollDirection:s}),t=n},r)}static getElementViewportPercentage(e,t={}){const r=e[0].getBoundingClientRect(),n=t.start||0,i=t.end||0,s=window.innerHeight*n/100,o=window.innerHeight*i/100,a=r.top-window.innerHeight,c=0-a+s,l=r.top+s+e.height()-a+o,u=Math.max(0,Math.min(c/l,1));return parseFloat((100*u).toFixed(2))}static getPageScrollPercentage(e={},t){const r=e.start||0,n=e.end||0,i=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,s=i*r/100,o=i+s+i*n/100;return(document.documentElement.scrollTop+document.body.scrollTop+s)/o*100}}},3005:(e,t,r)=>{"use strict";var n=r(1703);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},3145:(e,t,r)=>{"use strict";var n=r(5578),i=r(1704),s=n.document,o=i(s)&&i(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},3181:(e,t,r)=>{"use strict";var n=r(5755),i=r(1483),s=r(2347),o=r(5409),a=r(9441),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=s(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},3242:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(1506),o=r(8120),a=r(2293),c=r(41),l=r(6721),u=r(5267)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{find:function find(e){a(this);try{o(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;return s(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},3312:(e,t,r)=>{"use strict";var n=r(5983),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},3392:(e,t,r)=>{"use strict";var n=r(3005),i=Math.max,s=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):s(r,t)}},3617:(e,t,r)=>{"use strict";var n=r(8612),i=r(5578),s=r(6021),o=r(2293),a=r(1483),c=r(3181),l=r(3864),u=r(670),p=r(8473),d=r(5755),h=r(1),f=r(1851).IteratorPrototype,g=r(382),m=r(9557),v="constructor",y="Iterator",w=h("toStringTag"),b=TypeError,S=i[y],x=m||!a(S)||S.prototype!==f||!p(function(){S({})}),E=function Iterator(){if(s(this,f),c(this)===f)throw new b("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(e,t){g?l(f,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===f)throw new b("You can't redefine this property");d(this,e)?this[e]=t:u(this,e,t)}}):f[e]=t};d(f,w)||defineIteratorPrototypeAccessor(w,y),!x&&d(f,v)&&f[v]!==Object||defineIteratorPrototypeAccessor(v,E),E.prototype=f,n({global:!0,constructor:!0,forced:x},{Iterator:E})},3658:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741);e.exports=Object.keys||function keys(e){return n(e,i)}},3786:(e,t,r)=>{"use strict";var n=r(1278),i=r(4762);e.exports=function(e){if("Function"===n(e))return i(e)}},3815:(e,t,r)=>{"use strict";var n=r(2355),i=r(1423);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},3864:(e,t,r)=>{"use strict";var n=r(169),i=r(5835);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},3896:(e,t,r)=>{"use strict";var n=r(382),i=r(8473);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},3980:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);var i=n(r(2425));t.default=i.default.extend({getDefaultSettings:()=>({container:null,items:null,columnsCount:3,verticalSpaceBetween:30}),getDefaultElements(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run(){var e=[],t=this.elements.$container.position().top,r=this.getSettings(),n=r.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each(function(i){var s=Math.floor(i/n),o=jQuery(this),a=o[0].getBoundingClientRect().height+r.verticalSpaceBetween;if(s){var c=o.position(),l=i%n,u=c.top-t-e[l];u-=parseInt(o.css("margin-top"),10),u*=-1,o.css("margin-top",u+"px"),e[l]+=a}else e.push(a)})}})},3991:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(8120),o=r(2293),a=r(41),c=r(8660),l=r(8901),u=r(6721),p=r(7486),d=r(5267),h=r(9557),f=!h&&!p("map",function(){}),g=!h&&!f&&d("map",TypeError),m=h||f||g,v=c(function(){var e=this.iterator,t=o(i(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:m},{map:function map(e){o(this);try{s(e)}catch(e){u(this,"throw",e)}return g?i(g,this,e):new v(a(this),{mapper:e})}})},4338:(e,t,r)=>{"use strict";var n={};n[r(1)("toStringTag")]="z",e.exports="[object z]"===String(n)},4347:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},4364:(e,t,r)=>{"use strict";r(3991)},4483:(e,t,r)=>{"use strict";var n,i,s,o=r(4644),a=r(5578),c=r(1704),l=r(9037),u=r(5755),p=r(1831),d=r(5409),h=r(1507),f="Object already initialized",g=a.TypeError,m=a.WeakMap;if(o||p.state){var v=p.state||(p.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new g(f);return t.facade=e,v.set(e,t),t},i=function(e){return v.get(e)||{}},s=function(e){return v.has(e)}}else{var y=d("state");h[y]=!0,n=function(e,t){if(u(e,y))throw new g(f);return t.facade=e,l(e,y,t),t},i=function(e){return u(e,y)?e[y]:{}},s=function(e){return u(e,y)}}e.exports={set:n,get:i,has:s,enforce:function(e){return s(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},4644:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483),s=n.WeakMap;e.exports=i(s)&&/native code/.test(String(s))},4741:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4762:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype,s=i.call,o=n&&i.bind.bind(s,s);e.exports=n?o:function(e){return function(){return s.apply(e,arguments)}}},4815:(e,t,r)=>{"use strict";var n=r(4762);e.exports=n({}.isPrototypeOf)},4846:(e,t,r)=>{"use strict";r(3617)},4887:(e,t,r)=>{"use strict";var n=r(1807),i=r(8120),s=r(2293),o=r(8761),a=r(6665),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return s(n(r,e));throw new c(o(e)+" is not iterable")}},4914:(e,t,r)=>{"use strict";var n=r(1278);e.exports=Array.isArray||function isArray(e){return"Array"===n(e)}},4946:(e,t,r)=>{"use strict";var n=r(6784),i=n(r(1265)),s=n(r(2890)),o=n(r(7955)),a=n(r(8140)),c=n(r(7224)),l=n(r(5633)),u=n(r(9603));i.default.frontend={Document:s.default,tools:{StretchElement:o.default},handlers:{Base:c.default,StretchedElement:a.default,SwiperBase:l.default,CarouselBase:u.default}}},4961:(e,t,r)=>{"use strict";var n=r(382),i=r(1807),s=r(7611),o=r(7738),a=r(5599),c=r(3815),l=r(5755),u=r(1799),p=Object.getOwnPropertyDescriptor;t.f=n?p:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!i(s.f,e,t),e[t])}},5022:(e,t,r)=>{"use strict";var n=r(6029);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5213:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=(e,t)=>{t=Array.isArray(t)?t:[t];for(const r of t)if(e.constructor.name===r.prototype[Symbol.toStringTag])return!0;return!1}},5247:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},5267:(e,t,r)=>{"use strict";var n=r(5578);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,s=i&&i[e],o=!1;if(s)try{s.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return s}},5290:(e,t,r)=>{"use strict";var n,i=r(2293),s=r(5799),o=r(4741),a=r(1507),c=r(2811),l=r(3145),u=r(5409),p="prototype",d="script",h=u("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<"+d+">"+e+"</"+d+">"},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObject=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;NullProtoObject="undefined"!=typeof document?document.domain&&n?NullProtoObjectViaActiveX(n):(t=l("iframe"),r="java"+d+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(scriptTag("document.F=Object")),e.close(),e.F):NullProtoObjectViaActiveX(n);for(var i=o.length;i--;)delete NullProtoObject[p][o[i]];return NullProtoObject()};a[h]=!0,e.exports=Object.create||function create(e,t){var r;return null!==e?(EmptyConstructor[p]=i(e),r=new EmptyConstructor,EmptyConstructor[p]=null,r[h]=e):r=NullProtoObject(),void 0===t?r:s.f(r,t)}},5299:(e,t,r)=>{"use strict";var n=r(1),i=r(6775),s=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[s]===e)}},5409:(e,t,r)=>{"use strict";var n=r(7255),i=r(1866),s=n("keys");e.exports=function(e){return s[e]||(s[e]=i(e))}},5578:function(e,t,r){"use strict";var check=function(e){return e&&e.Math===Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof r.g&&r.g)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},5599:(e,t,r)=>{"use strict";var n=r(2121),i=r(3312);e.exports=function(e){return n(i(e))}},5633:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(7224));class SwiperHandlerBase extends i.default{getInitialSlide(){const e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0}getSlidesCount(){return this.elements.$slides.length}togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")}handleKenBurns(){const e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=jQuery(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=jQuery(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)}}t.default=SwiperHandlerBase},5724:(e,t,r)=>{"use strict";var n=r(8612),i=r(2347),s=r(6960),o=r(9273),a=r(1091);n({target:"Array",proto:!0,arity:1,forced:r(8473)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=i(this),r=s(t),n=arguments.length;a(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return o(t,r),r}})},5755:(e,t,r)=>{"use strict";var n=r(4762),i=r(2347),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return s(i(e),t)}},5799:(e,t,r)=>{"use strict";var n=r(382),i=r(3896),s=r(5835),o=r(2293),a=r(5599),c=r(3658);t.f=n&&!i?Object.defineProperties:function defineProperties(e,t){o(e);for(var r,n=a(t),i=c(t),l=i.length,u=0;l>u;)s.f(e,r=i[u++],n[r]);return e}},5835:(e,t,r)=>{"use strict";var n=r(382),i=r(1799),s=r(3896),o=r(2293),a=r(3815),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",h="writable";t.f=n?s?function defineProperty(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:p in r?r[p]:n[p],writable:!1})}return l(e,t,r)}:l:function defineProperty(e,t,r){if(o(e),t=a(t),o(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},5983:e=>{"use strict";e.exports=function(e){return null==e}},6021:(e,t,r)=>{"use strict";var n=r(4815),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},6029:(e,t,r)=>{"use strict";var n=r(6477),i=r(8473),s=r(5578).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},6145:(e,t,r)=>{"use strict";var n=r(4338),i=r(1483),s=r(1278),o=r(1)("toStringTag"),a=Object,c="Arguments"===s(function(){return arguments}());e.exports=n?s:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?r:c?s(t):"Object"===(n=s(t))&&i(t.callee)?"Arguments":n}},6211:(e,t,r)=>{"use strict";r(3242)},6477:(e,t,r)=>{"use strict";var n,i,s=r(5578),o=r(9461),a=s.process,c=s.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},6651:(e,t,r)=>{"use strict";var n=r(5599),i=r(3392),s=r(6960),createMethod=function(e){return function(t,r,o){var a=n(t),c=s(a);if(0===c)return!e&&-1;var l,u=i(o,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},6665:(e,t,r)=>{"use strict";var n=r(6145),i=r(2564),s=r(5983),o=r(6775),a=r(1)("iterator");e.exports=function(e){if(!s(e))return i(e,a)||i(e,"@@iterator")||o[n(e)]}},6721:(e,t,r)=>{"use strict";var n=r(1807),i=r(2293),s=r(2564);e.exports=function(e,t,r){var o,a;i(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw r;if(a)throw o;return i(o),r}},6726:(e,t,r)=>{"use strict";var n=r(5755),i=r(9497),s=r(4961),o=r(5835);e.exports=function(e,t,r){for(var a=i(t),c=o.f,l=s.f,u=0;u<a.length;u++){var p=a[u];n(e,p)||r&&n(r,p)||c(e,p,l(t,p))}}},6742:(e,t,r)=>{"use strict";var n=r(4762),i=r(5755),s=r(5599),o=r(6651).indexOf,a=r(1507),c=n([].push);e.exports=function(e,t){var r,n=s(e),l=0,u=[];for(r in n)!i(a,r)&&i(n,r)&&c(u,r);for(;t.length>l;)i(n,r=t[l++])&&(~o(u,r)||c(u,r));return u}},6775:e=>{"use strict";e.exports={}},6784:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6960:(e,t,r)=>{"use strict";var n=r(8324);e.exports=function(e){return n(e.length)}},7224:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(6211),r(9655),e.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners())},isActive:()=>!0,isElementInTheCurrentDocument(){return!!elementorFrontend.isEditMode()&&elementor.documents.currentDocument.id.toString()===this.$element[0].closest(".elementor").dataset.elementorId},findElement(e){var t=this.$element;return t.find(e).filter(function(){return jQuery(this).parent().closest(".elementor-element").is(t)})},getUniqueHandlerID(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr("data-element_type")+this.getConstructorID()},initEditorListeners(){var e=this;if(e.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){const t=e.getWidgetType()||e.getElementType();let r="change";"global"!==t&&(r+=":"+t),e.editorListeners.push({event:r,to:elementor.channels.editor,callback(t,r){e.getUniqueHandlerID(r.model.cid,r.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,r)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback(t,r){if(r.model.cid!==e.getModelCID())return;const n=Object.keys(t.changed)[0];e.onEditSettingsChange(n,t.changed[n])}}),["page"].forEach(function(t){var r="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[r]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback(t){e[r](t.changed)}})})},getEditorListeners(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)})},removeEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)})},getElementType(){return this.$element.data("element_type")},getWidgetType(){const e=this.$element.data("widget_type");if(e)return e.split(".")[0]},getID(){return this.$element.data("id")},getModelCID(){return this.$element.data("model-cid")},getElementSettings(e){let t={};const r=this.getModelCID();if(this.isEdit&&r){const e=elementorFrontend.config.elements.data[r],n=e.attributes;let i=n.widgetType||n.elType;n.isInner&&(i="inner-"+i);let s=elementorFrontend.config.elements.keys[i];s||(s=elementorFrontend.config.elements.keys[i]=[],jQuery.each(e.controls,(e,t)=>{(t.frontend_available||t.editor_available)&&s.push(e)})),jQuery.each(e.getActiveControls(),function(e){if(-1!==s.indexOf(e)){let r=n[e];r.toJSON&&(r=r.toJSON()),t[e]=r}})}else t=this.$element.data("settings")||{};return this.getItems(t,e)},getEditSettings(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})},7255:(e,t,r)=>{"use strict";var n=r(1831);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},7268:(e,t,r)=>{"use strict";var n=r(4762),i=r(1483),s=r(1831),o=n(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},7458:(e,t,r)=>{"use strict";r(1975)},7486:e=>{"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},7611:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:r},7738:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7914:(e,t,r)=>{"use strict";var n=r(1483),i=r(5835),s=r(169),o=r(2095);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&s(r,l,a),a.global)c?e[t]=r:o(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},7955:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({getDefaultSettings:()=>({element:null,direction:elementorFrontend.config.is_rtl?"right":"left",selectors:{container:window},considerScrollbar:!1,cssOutput:"inline"}),getDefaultElements(){return{$element:jQuery(this.getSettings("element"))}},stretch(){const e=this.getSettings();let t;try{t=jQuery(e.selectors.container)}catch(e){}t&&t.length||(t=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var r=this.elements.$element,n=t.innerWidth(),i=r.offset().left,s="fixed"===r.css("position"),o=s?0:i,a=window===t[0];if(!a){var c=t.offset().left;s&&(o=c),i>c&&(o=i-c)}if(e.considerScrollbar&&a){o-=window.innerWidth-n}s||(elementorFrontend.config.is_rtl&&(o=n-(r.outerWidth()+o)),o=-o),e.margin&&(o+=e.margin);var l={};let u=n;e.margin&&(u-=2*e.margin),l.width=u+"px",l[e.direction]=o+"px","variables"!==e.cssOutput?r.css(l):this.applyCssVariables(r,l)},reset(){const e={},t=this.getSettings(),r=this.elements.$element;"variables"!==t.cssOutput?(e.width="",e[t.direction]="",r.css(e)):this.resetCssVariables(r)},applyCssVariables(e,t){e.css("--stretch-width",t.width),t.left?e.css("--stretch-left",t.left):e.css("--stretch-right",t.right)},resetCssVariables(e){e.css({"--stretch-width":"","--stretch-left":"","--stretch-right":""})}})},7958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRegistry=void 0,r(4846),r(7458),r(9655),r(4364);t.BaseRegistry=class BaseRegistry{constructor(){this.sections=new Map}register(e){if(!e.key||!e.title)throw new Error("Template type must have key and title");const t=this.get(e.key)||this.formatSection(e);if(e.children)if(t.children){const r=new Map(t.children.map(e=>[e.key,e]));e.children.forEach(e=>{const t=this.formatSection(e);r.set(e.key,t)}),t.children=Array.from(r.values())}else t.children=e.children.map(e=>this.formatSection(e));this.sections.set(e.key,t)}formatSection({children:e,...t}){return{key:t.key,title:t.title,description:t.description||"",useParentDefault:!1!==t.useParentDefault,getInitialState:t.getInitialState||null,component:t.component||null,order:t.order||10,isAvailable:t.isAvailable||(()=>!0),...t}}getAll(){return Array.from(this.sections.values()).filter(e=>e.isAvailable()).map(e=>e.children?{...e,children:[...e.children].sort((e,t)=>e.order-t.order)}:e).sort((e,t)=>e.order-t.order)}get(e){return this.sections.get(e)}}},8120:(e,t,r)=>{"use strict";var n=r(1483),i=r(8761),s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not a function")}},8140:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);var i=n(r(7224));class StretchedElement extends i.default{getStretchedClass(){return"e-stretched"}getStretchSettingName(){return"stretch_element"}getStretchActiveValue(){return"yes"}bindEvents(){const e=this.getUniqueHandlerID();elementorFrontend.addListenerOnce(e,"resize",this.stretch),elementorFrontend.addListenerOnce(e,"sticky:stick",this.stretch,this.$element),elementorFrontend.addListenerOnce(e,"sticky:unstick",this.stretch,this.$element),elementorFrontend.isEditMode()&&(this.onKitChangeStretchContainerChange=this.onKitChangeStretchContainerChange.bind(this),elementor.channels.editor.on("kit:change:stretchContainer",this.onKitChangeStretchContainerChange))}unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID(),"resize",this.stretch),elementorFrontend.isEditMode()&&elementor.channels.editor.off("kit:change:stretchContainer",this.onKitChangeStretchContainerChange)}isActive(e){return elementorFrontend.isEditMode()||e.$element.hasClass(this.getStretchedClass())}getStretchElementForConfig(e=null){return e?this.$element.find(e):this.$element}getStretchElementConfig(){return{element:this.getStretchElementForConfig(),selectors:{container:this.getStretchContainer()},considerScrollbar:elementorFrontend.isEditMode()&&elementorFrontend.config.is_rtl}}initStretch(){this.stretch=this.stretch.bind(this),this.stretchElement=new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig())}getStretchContainer(){return elementorFrontend.getKitSettings("stretched_section_container")||window}isStretchSettingEnabled(){return this.getElementSettings(this.getStretchSettingName())===this.getStretchActiveValue()}stretch(){this.isStretchSettingEnabled()&&this.stretchElement.stretch()}onInit(...e){this.isActive(this.getSettings())&&(this.initStretch(),super.onInit(...e),this.stretch())}onElementChange(e){this.getStretchSettingName()===e&&(this.isStretchSettingEnabled()?this.stretch():this.stretchElement.reset())}onKitChangeStretchContainerChange(){this.stretchElement.setSettings("selectors.container",this.getStretchContainer()),this.stretch()}}t.default=StretchedElement},8324:(e,t,r)=>{"use strict";var n=r(3005),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},8473:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},8612:(e,t,r)=>{"use strict";var n=r(5578),i=r(4961).f,s=r(9037),o=r(7914),a=r(2095),c=r(6726),l=r(8730);e.exports=function(e,t){var r,u,p,d,h,f=e.target,g=e.global,m=e.stat;if(r=g?n:m?n[f]||a(f,{}):n[f]&&n[f].prototype)for(u in t){if(d=t[u],p=e.dontCallGetSet?(h=i(r,u))&&h.value:r[u],!l(g?u:f+(m?".":"#")+u,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&s(d,"sham",!0),o(r,u,d,e)}}},8660:(e,t,r)=>{"use strict";var n=r(1807),i=r(5290),s=r(9037),o=r(2313),a=r(1),c=r(4483),l=r(2564),u=r(1851).IteratorPrototype,p=r(5247),d=r(6721),h=r(1983),f=a("toStringTag"),g="IteratorHelper",m="WrapForValidIterator",v="normal",y="throw",w=c.set,createIteratorProxyPrototype=function(e){var t=c.getterFor(e?m:g);return o(i(u),{next:function next(){var r=t(this);if(e)return r.nextHandler();if(r.done)return p(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:p(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var s=l(i,"return");return s?n(s,i):p(void 0,!0)}if(r.inner)try{d(r.inner.iterator,v)}catch(e){return d(i,y,e)}if(r.openIters)try{h(r.openIters,v)}catch(e){return d(i,y,e)}return i&&d(i,v),p(void 0,!0)}})},b=createIteratorProxyPrototype(!0),S=createIteratorProxyPrototype(!1);s(S,f,"Iterator Helper"),e.exports=function(e,t,r){var n=function Iterator(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?m:g,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,w(this,i)};return n.prototype=t?b:S,n}},8685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ForceMethodImplementation=void 0;class ForceMethodImplementation extends Error{constructor(e={},t={}){super(`${e.isStatic?"static ":""}${e.fullName}() should be implemented, please provide '${e.functionName||e.fullName}' functionality.`,t),Object.keys(t).length&&console.error(t),Error.captureStackTrace(this,ForceMethodImplementation)}}t.ForceMethodImplementation=ForceMethodImplementation;t.default=e=>{const t=Error().stack.split("\n")[2].trim(),r=t.startsWith("at new")?"constructor":t.split(" ")[1],n={};if(n.functionName=r,n.fullName=r,n.functionName.includes(".")){const e=n.functionName.split(".");n.className=e[0],n.functionName=e[1]}else n.isStatic=!0;throw new ForceMethodImplementation(n,e)}},8730:(e,t,r)=>{"use strict";var n=r(8473),i=r(1483),s=/#|\.prototype\./,isForced=function(e,t){var r=a[o(e)];return r===l||r!==c&&(i(t)?n(t):!!t)},o=isForced.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=isForced.data={},c=isForced.NATIVE="N",l=isForced.POLYFILL="P";e.exports=isForced},8761:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},8901:(e,t,r)=>{"use strict";var n=r(2293),i=r(6721);e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},9031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetInitialState=function createGetInitialState(e,t={}){return(r,n)=>{let i=n;if(r.hasOwnProperty("uploadedData")){i=!1;const t=r.uploadedData.manifest.templates,n=elementorAppConfig?.["import-export-customization"]?.exportGroups||{};for(const r in t){if(n[t[r].doc_type]===e){i=!0;break}}}return{enabled:i,...t}}}},9037:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=n?function(e,t,r){return i.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}},9273:(e,t,r)=>{"use strict";var n=r(382),i=r(4914),s=TypeError,o=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!o(e,"length").writable)throw new s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},9441:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})},9461:(e,t,r)=>{"use strict";var n=r(5578).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},9497:(e,t,r)=>{"use strict";var n=r(1409),i=r(4762),s=r(2278),o=r(4347),a=r(2293),c=i([].concat);e.exports=n("Reflect","ownKeys")||function ownKeys(e){var t=s.f(a(e)),r=o.f;return r?c(t,r(e)):t}},9557:e=>{"use strict";e.exports=!1},9603:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211),r(9655);var i=n(r(5633));class CarouselHandlerBase extends i.default{getDefaultSettings(){return{selectors:{carousel:".swiper",swiperWrapper:".swiper-wrapper",slideContent:".swiper-slide",swiperArrow:".elementor-swiper-button",paginationWrapper:".swiper-pagination",paginationBullet:".swiper-pagination-bullet",paginationBulletWrapper:".swiper-pagination-bullets"}}}getDefaultElements(){const e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.carousel),$swiperWrapper:this.$element.find(e.swiperWrapper),$swiperArrows:this.$element.find(e.swiperArrow),$paginationWrapper:this.$element.find(e.paginationWrapper),$paginationBullets:this.$element.find(e.paginationBullet),$paginationBulletWrapper:this.$element.find(e.paginationBulletWrapper)};return t.$slides=t.$swiperContainer.find(e.slideContent),t}getSwiperSettings(){const e=this.getElementSettings(),t=+e.slides_to_show||3,r=1===t,n=elementorFrontend.config.responsive.activeBreakpoints,i={mobile:1,tablet:r?1:2},s={slidesPerView:t,loop:"yes"===e.infinite,speed:e.speed,handleElementorBreakpoints:!0,breakpoints:{}};let o=t;Object.keys(n).reverse().forEach(t=>{const r=i[t]?i[t]:o;s.breakpoints[n[t].value]={slidesPerView:+e["slides_to_show_"+t]||r,slidesPerGroup:+e["slides_to_scroll_"+t]||1},e.image_spacing_custom&&(s.breakpoints[n[t].value].spaceBetween=this.getSpaceBetween(t)),o=+e["slides_to_show_"+t]||r}),"yes"===e.autoplay&&(s.autoplay={delay:e.autoplay_speed,disableOnInteraction:"yes"===e.pause_on_interaction}),r?(s.effect=e.effect,"fade"===e.effect&&(s.fadeEffect={crossFade:!0})):s.slidesPerGroup=+e.slides_to_scroll||1,e.image_spacing_custom&&(s.spaceBetween=this.getSpaceBetween());const a="arrows"===e.navigation||"both"===e.navigation,c="dots"===e.navigation||"both"===e.navigation||e.pagination;return a&&(s.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),c&&(s.pagination={el:`.elementor-element-${this.getID()} .swiper-pagination`,type:e.pagination?e.pagination:"bullets",clickable:!0,renderBullet:(e,t)=>`<span class="${t}" role="button" tabindex="0" data-bullet-index="${e}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${e+1}"></span>`}),"yes"===e.lazyload&&(s.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),s.a11y={enabled:!0,prevSlideMessage:elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,nextSlideMessage:elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,firstSlideMessage:elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,lastSlideMessage:elementorFrontend.config.i18n.a11yCarouselLastSlideMessage},s.on={slideChange:()=>{this.a11ySetPaginationTabindex(),this.handleElementHandlers(),this.a11ySetSlideAriaHidden()},init:()=>{this.a11ySetPaginationTabindex(),this.a11ySetSlideAriaHidden("initialisation")}},this.applyOffsetSettings(e,s,t),s}getOffsetWidth(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"offset_width","size",e)||0}applyOffsetSettings(e,t,r){const n=e.offset_sides;if(!(elementorFrontend.isEditMode()&&"NestedCarousel"===this.constructor.name)&&n&&"none"!==n)switch(n){case"right":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-right");break;case"left":this.addClassToSwiperContainer("offset-left");break;case"both":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-both")}}forceSliderToShowNextSlideWhenOnLast(e,t){e.slidesPerView=t+.001}addClassToSwiperContainer(e){this.getDefaultElements().$swiperContainer[0].classList.add(e)}async onInit(...e){if(super.onInit(...e),!this.elements.$swiperContainer.length||2>this.elements.$slides.length)return;await this.initSwiper();"yes"===this.getElementSettings().pause_on_hover&&this.togglePauseOnHover(!0)}async initSwiper(){const e=elementorFrontend.utils.swiper;this.swiper=await new e(this.elements.$swiperContainer,this.getSwiperSettings()),this.elements.$swiperContainer.data("swiper",this.swiper)}bindEvents(){this.elements.$swiperArrows.on("keydown",this.onDirectionArrowKeydown.bind(this)),this.elements.$paginationWrapper.on("keydown",".swiper-pagination-bullet",this.onDirectionArrowKeydown.bind(this)),this.elements.$swiperContainer.on("keydown",".swiper-slide",this.onDirectionArrowKeydown.bind(this)),this.$element.find(":focusable").on("focus",this.onFocusDisableAutoplay.bind(this)),elementorFrontend.elements.$window.on("resize",this.getSwiperSettings.bind(this))}unbindEvents(){this.elements.$swiperArrows.off(),this.elements.$paginationWrapper.off(),this.elements.$swiperContainer.off(),this.$element.find(":focusable").off(),elementorFrontend.elements.$window.off("resize")}onDirectionArrowKeydown(e){const t=elementorFrontend.config.is_rtl,r=e.originalEvent.code,n=t?"ArrowLeft":"ArrowRight";if(!(-1!==["ArrowLeft","ArrowRight"].indexOf(r)))return!0;(t?"ArrowRight":"ArrowLeft")===r?this.swiper.slidePrev():n===r&&this.swiper.slideNext()}onFocusDisableAutoplay(){this.swiper.autoplay.stop()}updateSwiperOption(e){const t=this.getElementSettings()[e],r=this.swiper.params;switch(e){case"autoplay_speed":r.autoplay.delay=t;break;case"speed":r.speed=t}this.swiper.update()}getChangeableProperties(){return{pause_on_hover:"pauseOnHover",autoplay_speed:"delay",speed:"speed",arrows_position:"arrows_position"}}onElementChange(e){if(0===e.indexOf("image_spacing_custom"))return void this.updateSpaceBetween(e);if(this.getChangeableProperties()[e])if("pause_on_hover"===e){const e=this.getElementSettings("pause_on_hover");this.togglePauseOnHover("yes"===e)}else this.updateSwiperOption(e)}onEditSettingsChange(e){"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}getSpaceBetween(e=null){const t=elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"image_spacing_custom","size",e);return Number(t)||0}updateSpaceBetween(e){const t=e.match("image_spacing_custom_(.*)"),r=t?t[1]:"desktop",n=this.getSpaceBetween(r);"desktop"!==r&&(this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[r].value].spaceBetween=n),this.swiper.params.spaceBetween=n,this.swiper.update()}getPaginationBullets(e="array"){const t=this.$element.find(this.getSettings("selectors").paginationBullet);return"array"===e?Array.from(t):t}a11ySetPaginationTabindex(){const e=this.swiper?.params?.pagination.bulletClass,t=this.swiper?.params?.pagination.bulletActiveClass;this.getPaginationBullets().forEach(e=>{e.classList?.contains(t)||e.removeAttribute("tabindex")});const r="ArrowLeft"===event?.code||"ArrowRight"===event?.code;event?.target?.classList?.contains(e)&&r&&this.$element.find(`.${t}`).trigger("focus")}getSwiperWrapperTranformXValue(){let e=this.elements.$swiperWrapper[0]?.style.transform;return e=e.replace("translate3d(",""),e=e.split(","),e=parseInt(e[0].replace("px","")),e||0}a11ySetSlideAriaHidden(e=""){if("number"!=typeof("initialisation"===e?0:this.swiper?.activeIndex))return;const t=this.getSwiperWrapperTranformXValue(),r=this.elements.$swiperWrapper[0].clientWidth;this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each((e,n)=>{0<=n.offsetLeft+t&&r>n.offsetLeft+t?(n.removeAttribute("aria-hidden"),n.removeAttribute("inert")):(n.setAttribute("aria-hidden",!0),n.setAttribute("inert",""))})}handleElementHandlers(){}}t.default=CarouselHandlerBase},9655:(e,t,r)=>{"use strict";r(9930)},9930:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(1506),o=r(8120),a=r(2293),c=r(41),l=r(6721),u=r(5267)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function forEach(e){a(this);try{o(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;s(t,function(t){e(t,r++)},{IS_RECORD:!0})}})}},e=>{var t;t=4946,e(e.s=t)}]);
// source --> https://history.gospmr.org/wp-includes/js/jquery/ui/core.min.js?ver=1.13.3 
/*! jQuery UI - v1.13.3 - 2024-04-26
* https://jqueryui.com
* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
/*!
 * jQuery UI :data 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
/*!
 * jQuery UI Disable Selection 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
/*!
 * jQuery UI Focusable 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
/*!
 * jQuery UI Form Reset Mixin 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
/*!
 * jQuery UI Support for jQuery core 1.8.x and newer 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 *
 */
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
/*!
 * jQuery UI Keycode 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
/*!
 * jQuery UI Labels 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
/*!
 * jQuery UI Position 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 *
 * https://api.jqueryui.com/position/
 */
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
/*!
 * jQuery UI Scroll Parent 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
/*!
 * jQuery UI Tabbable 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
/*!
 * jQuery UI Unique ID 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
/*!
 * jQuery UI Widget 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});
// source --> https://history.gospmr.org/wp-content/plugins/elementor/assets/js/frontend.min.js?ver=4.0.1 
"use strict";(self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[]).push([[313],{607:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class Controls{getControlValue(e,t,n){let r;return r="object"==typeof e[t]&&n?e[t][n]:e[t],r}getResponsiveControlValue(e,t,n="",r=null){const o=r||elementorFrontend.getCurrentDeviceMode(),s=this.getControlValue(e,t,n);if("widescreen"===o){const r=this.getControlValue(e,`${t}_widescreen`,n);return r||0===r?r:s}const i=elementorFrontend.breakpoints.getActiveBreakpointsList({withDesktop:!0});let a=o,l=i.indexOf(o),d="";for(;l<=i.length;){if("desktop"===a){d=s;break}const r=`${t}_${a}`,o=this.getControlValue(e,r,n);if(o||0===o){d=o;break}l++,a=i[l]}return d}}},680:(e,t,n)=>{var r=n(4762),o=n(8120);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},735:(e,t,n)=>{var r=n(1704);e.exports=function(e){return r(e)||null===e}},1780:e=>{e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},1953:(e,t,n)=>{var r=n(680),o=n(1704),s=n(3312),i=n(3852);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function setPrototypeOf(n,r){return s(n),i(r),o(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},2126:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3002);t.default=[()=>n.e(77).then(n.bind(n,2439)),()=>n.e(557).then(n.bind(n,628)),()=>n.e(557).then(n.bind(n,3031)),(0,r.createEditorHandler)(()=>n.e(396).then(n.bind(n,9956))),(0,r.createEditorHandler)(()=>n.e(220).then(n.bind(n,3243)))]},2429:(e,t,n)=>{var r=n(1483),o=n(1704),s=n(1953);e.exports=function(e,t,n){var i,a;return s&&r(i=t.constructor)&&i!==n&&o(a=i.prototype)&&a!==n.prototype&&s(e,a),e}},3002:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createEditorHandler=function createEditorHandler(e){return()=>new Promise(t=>{elementorFrontend.isEditMode()&&e().then(t)})}},3126:(e,t,n)=>{var r=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(8427));class VimeoLoader extends o.default{getApiURL(){return"https://player.vimeo.com/api/player.js"}getURLRegex(){return/^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/}isApiLoaded(){return window.Vimeo}getApiObject(){return Vimeo}getAutoplayURL(e){const t=e.match(/#t=[^&]*/);return e.replace(t[0],"")+t}}t.default=VimeoLoader},3582:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(6409);class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{links:'a[href^="%23elementor-action"], a[href^="#elementor-action"]'}}}bindEvents(){elementorFrontend.elements.$document.on("click",this.getSettings("selectors.links"),this.runLinkAction.bind(this))}initActions(){this.actions={lightbox:async e=>{const t=await elementorFrontend.utils.lightbox;e.slideshow?t.openSlideshow(e.slideshow,e.url):(e.id&&(e.type="image"),t.showModal(e))}}}addAction(e,t){this.actions[e]=t}runAction(e,...t){e=decodeURI(e);const n=(e=decodeURIComponent(e)).match(/action=(.+?)&/);if(!n)return;const r=this.actions[n[1]];if(!r)return;let o={};const s=e.match(/settings=(.+)/);s&&(o=JSON.parse(atob(s[1]))),o.previousEvent=event,r(o,...t)}runLinkAction(e){e.preventDefault(),this.runAction(jQuery(e.currentTarget).attr("href"),e)}runHashAction(){if(!location.hash)return;const e=document.querySelector(`[data-e-action-hash="${location.hash}"], a[href*="${location.hash}"]`);e&&this.runAction(e.getAttribute("data-e-action-hash"))}createActionHash(e,t){return encodeURIComponent(`#elementor-action:action=${e}&settings=${btoa(JSON.stringify(t))}`)}onInit(){super.onInit(),this.initActions(),elementorFrontend.on("components:init",this.runHashAction.bind(this))}}t.default=_default},3678:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3002);t.default=[()=>n.e(557).then(n.bind(n,628)),()=>n.e(557).then(n.bind(n,3031)),(0,r.createEditorHandler)(()=>n.e(396).then(n.bind(n,9956))),(0,r.createEditorHandler)(()=>n.e(768).then(n.bind(n,8847))),(0,r.createEditorHandler)(()=>n.e(768).then(n.bind(n,3323)))]},3852:(e,t,n)=>{var r=n(735),o=String,s=TypeError;e.exports=function(e){if(r(e))return e;throw new s("Can't set "+o(e)+" as a prototype")}},4047:(e,t,n)=>{var r=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2890));class _default extends elementorModules.ViewModule{constructor(...e){super(...e),this.documents={},this.initDocumentClasses(),this.attachDocumentsClasses()}getDefaultSettings(){return{selectors:{document:".elementor"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$documents:jQuery(e.document)}}initDocumentClasses(){this.documentClasses={base:o.default},elementorFrontend.hooks.doAction("elementor/frontend/documents-manager/init-classes",this)}addDocumentClass(e,t){this.documentClasses[e]=t}attachDocumentsClasses(){this.elements.$documents.each((e,t)=>this.attachDocumentClass(jQuery(t)))}attachDocumentClass(e){const t=e.data(),n=t.elementorId,r=t.elementorType,o=this.documentClasses[r]||this.documentClasses.base;this.documents[n]=new o({$element:e,id:n})}}t.default=_default},4252:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(4846),n(6211);class LightboxManager extends elementorModules.ViewModule{static getLightbox(){const e=new Promise(e=>{Promise.all([n.e(786),n.e(216)]).then(n.t.bind(n,3942,23)).then(({default:t})=>e(new t))}),t=elementorFrontend.utils.assetsLoader.load("script","dialog"),r=elementorFrontend.utils.assetsLoader.load("style","dialog"),o=elementorFrontend.utils.assetsLoader.load("script","share-link"),s=elementorFrontend.utils.assetsLoader.load("style","swiper"),i=elementorFrontend.utils.assetsLoader.load("style","e-lightbox");return Promise.all([e,t,r,o,s,i]).then(()=>e)}getDefaultSettings(){return{selectors:{links:"a, [data-elementor-lightbox]",slideshow:"[data-elementor-lightbox-slideshow]"}}}getDefaultElements(){return{$links:jQuery(this.getSettings("selectors.links")),$slideshow:jQuery(this.getSettings("selectors.slideshow"))}}isLightboxLink(e){if("a"===e.tagName.toLowerCase()&&(e.hasAttribute("download")||!/^[^?]+\.(png|jpe?g|gif|svg|webp|avif)(\?.*)?$/i.test(e.href))&&!e.dataset.elementorLightboxVideo)return!1;const t=elementorFrontend.getKitSettings("global_image_lightbox"),n=e.dataset.elementorOpenLightbox;return"yes"===n||t&&"no"!==n}isLightboxSlideshow(){return 0!==this.elements.$slideshow.length}async onLinkClick(e){const t=e.currentTarget,n=jQuery(e.target),r=elementorFrontend.isEditMode(),o=r&&elementor.$previewContents.find("body").hasClass("elementor-editor__ui-state__color-picker"),s=!!n.closest(".elementor-edit-area").length;if(!this.isLightboxLink(t))return void(r&&s&&e.preventDefault());if(e.preventDefault(),r&&!elementor.getPreferences("lightbox_in_editor"))return;if(o)return;(await LightboxManager.getLightbox()).createLightbox(t)}bindEvents(){elementorFrontend.elements.$document.on("click",this.getSettings("selectors.links"),e=>this.onLinkClick(e))}onInit(...e){super.onInit(...e),elementorFrontend.isEditMode()||this.maybeActivateLightboxOnLink()}maybeActivateLightboxOnLink(){this.elements.$links.each((e,t)=>{if(this.isLightboxLink(t))return LightboxManager.getLightbox(),!1})}}t.default=LightboxManager},4799:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Events=void 0;class Events{static dispatch(e,t,n=null,r=null){e=e instanceof jQuery?e[0]:e,r&&e.dispatchEvent(new CustomEvent(r,{detail:n})),e.dispatchEvent(new CustomEvent(t,{detail:n}))}}t.Events=Events;t.default=Events},4901:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(4846),n(9655);t.default=class SwiperHandler{constructor(e,t){return this.config=t,this.config.breakpoints&&(this.config=this.adjustConfig(t)),e instanceof jQuery&&(e=e[0]),e.closest(".elementor-widget-wrap")?.classList.add("e-swiper-container"),e.closest(".elementor-widget")?.classList.add("e-widget-swiper"),new Promise(t=>{"undefined"!=typeof Swiper?("function"==typeof Swiper&&void 0===window.Swiper&&(window.Swiper=Swiper),t(this.createSwiperInstance(e,this.config))):elementorFrontend.utils.assetsLoader.load("script","swiper").then(()=>t(this.createSwiperInstance(e,this.config)))})}createSwiperInstance(e,t){const n=window.Swiper;return n.prototype.adjustConfig=this.adjustConfig,new n(e,t)}adjustConfig(e){if(!e.handleElementorBreakpoints)return e;const t=elementorFrontend.config.responsive.activeBreakpoints,n=elementorFrontend.breakpoints.getBreakpointValues();return Object.keys(e.breakpoints).forEach(r=>{const o=parseInt(r);let s;if(o===t.mobile.value||o+1===t.mobile.value)s=0;else if(!t.widescreen||o!==t.widescreen.value&&o+1!==t.widescreen.value){const e=n.findIndex(e=>o===e||o+1===e);s=n[e-1]}else s=o;e.breakpoints[s]=e.breakpoints[r],e.breakpoints[r]={slidesPerView:e.slidesPerView,slidesPerGroup:e.slidesPerGroup?e.slidesPerGroup:1}}),e}}},4970:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class GlobalHandler extends elementorModules.frontend.handlers.Base{getWidgetType(){return"global"}animate(){const e=this.$element,t=this.getAnimation();if("none"===t)return void e.removeClass("elementor-invisible");const n=this.getElementSettings(),r=n._animation_delay||n.animation_delay||0;e.removeClass(t),this.currentAnimation&&e.removeClass(this.currentAnimation),this.currentAnimation=t,setTimeout(()=>{e.removeClass("elementor-invisible").addClass("animated "+t)},r)}getAnimation(){return this.getCurrentDeviceSetting("animation")||this.getCurrentDeviceSetting("_animation")}onInit(...e){if(super.onInit(...e),this.getAnimation()){const e=elementorModules.utils.Scroll.scrollObserver({callback:t=>{t.isInViewport&&(this.animate(),e.unobserve(this.$element[0]))}});e.observe(this.$element[0])}}onElementChange(e){/^_?animation/.test(e)&&this.animate()}}t.default=e=>{elementorFrontend.elementsHandler.addHandler(GlobalHandler,{$element:e})}},5073:(e,t,n)=>{var r=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(8427));class YoutubeLoader extends o.default{getApiURL(){return"https://www.youtube.com/iframe_api"}getURLRegex(){return/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user|shorts)\/))([^?&"'>]+)/}isApiLoaded(){return window.YT&&YT.loaded}getApiObject(){return YT}}t.default=YoutubeLoader},5115:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const matchUserAgent=e=>n.indexOf(e)>=0,n=navigator.userAgent,r=!!window.opr&&!!opr.addons||!!window.opera||matchUserAgent(" OPR/"),o=matchUserAgent("Firefox"),s=/^((?!chrome|android).)*safari/i.test(n)||/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&safari.pushNotification).toString(),i=/Trident|MSIE/.test(n)&&!!document.documentMode,a=!i&&!!window.StyleMedia||matchUserAgent("Edg"),l=!!window.chrome&&matchUserAgent("Chrome")&&!(a||r),d=matchUserAgent("Chrome")&&!!window.CSS,c=matchUserAgent("AppleWebKit")&&!d,u={isTouchDevice:"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,appleWebkit:c,blink:d,chrome:l,edge:a,firefox:o,ie:i,mac:matchUserAgent("Macintosh"),opera:r,safari:s,webkit:matchUserAgent("AppleWebKit")};t.default=u},5896:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(5724),n(4846),n(9655),n(4364);class Breakpoints extends elementorModules.Module{constructor(e){super(),this.responsiveConfig=e}getActiveBreakpointsList(e={}){e={largeToSmall:!1,withDesktop:!1,...e};const t=Object.keys(this.responsiveConfig.activeBreakpoints);if(e.withDesktop){const e=-1===t.indexOf("widescreen")?t.length:t.length-1;t.splice(e,0,"desktop")}return e.largeToSmall&&t.reverse(),t}getBreakpointValues(){const{activeBreakpoints:e}=this.responsiveConfig,t=[];return Object.values(e).forEach(e=>{t.push(e.value)}),t}getDesktopPreviousDeviceKey(){let e="";const{activeBreakpoints:t}=this.responsiveConfig,n=Object.keys(t),r=n.length;return e="min"===t[n[r-1]].direction?n[r-2]:n[r-1],e}getDesktopMinPoint(){const{activeBreakpoints:e}=this.responsiveConfig;return e[this.getDesktopPreviousDeviceKey()].value+1}getDeviceMinBreakpoint(e){if("desktop"===e)return this.getDesktopMinPoint();const{activeBreakpoints:t}=this.responsiveConfig,n=Object.keys(t);let r;if(n[0]===e)r=320;else if("widescreen"===e)r=t[e]?t[e].value:this.responsiveConfig.breakpoints.widescreen;else{const o=n.indexOf(e);r=t[n[o-1]].value+1}return r}getActiveMatchRegex(){return new RegExp(this.getActiveBreakpointsList().map(e=>"_"+e).join("|")+"$")}}t.default=Breakpoints},5956:(e,t,n)=>{n(5724);e.exports=function(){var e,t=Array.prototype.slice,n={actions:{},filters:{}};function _removeHook(e,t,r,o){var s,i,a;if(n[e][t])if(r)if(s=n[e][t],o)for(a=s.length;a--;)(i=s[a]).callback===r&&i.context===o&&s.splice(a,1);else for(a=s.length;a--;)s[a].callback===r&&s.splice(a,1);else n[e][t]=[]}function _addHook(e,t,r,o,s){var i={callback:r,priority:o,context:s},a=n[e][t];if(a){var l=!1;if(jQuery.each(a,function(){if(this.callback===r)return l=!0,!1}),l)return;a.push(i),a=function _hookInsertSort(e){for(var t,n,r,o=1,s=e.length;o<s;o++){for(t=e[o],n=o;(r=e[n-1])&&r.priority>t.priority;)e[n]=e[n-1],--n;e[n]=t}return e}(a)}else a=[i];n[e][t]=a}function _runHook(e,t,r){var o,s,i=n[e][t];if(!i)return"filters"===e&&r[0];if(s=i.length,"filters"===e)for(o=0;o<s;o++)r[0]=i[o].callback.apply(i[o].context,r);else for(o=0;o<s;o++)i[o].callback.apply(i[o].context,r);return"filters"!==e||r[0]}return e={removeFilter:function removeFilter(t,n){return"string"==typeof t&&_removeHook("filters",t,n),e},applyFilters:function applyFilters(){var n=t.call(arguments),r=n.shift();return"string"==typeof r?_runHook("filters",r,n):e},addFilter:function addFilter(t,n,r,o){return"string"==typeof t&&"function"==typeof n&&_addHook("filters",t,n,r=parseInt(r||10,10),o),e},removeAction:function removeAction(t,n){return"string"==typeof t&&_removeHook("actions",t,n),e},doAction:function doAction(){var n=t.call(arguments),r=n.shift();return"string"==typeof r&&_runHook("actions",r,n),e},addAction:function addAction(t,n,r,o){return"string"==typeof t&&"function"==typeof n&&_addHook("actions",t,n,r=parseInt(r||10,10),o),e}},e}},6261:(e,t,n)=>{var r=n(6145),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6409:(e,t,n)=>{var r=n(8612),o=n(5578),s=n(1409),i=n(7738),a=n(5835).f,l=n(5755),d=n(6021),c=n(2429),u=n(7969),h=n(1780),m=n(8223),f=n(382),g=n(9557),p="DOMException",v=s("Error"),y=s(p),b=function DOMException(){d(this,w);var e=arguments.length,t=u(e<1?void 0:arguments[0]),n=u(e<2?void 0:arguments[1],"Error"),r=new y(t,n),o=new v(t);return o.name=p,a(r,"stack",i(1,m(o.stack,1))),c(r,this,b),r},w=b.prototype=y.prototype,_="stack"in new v(p),E="stack"in new y(1,2),k=y&&f&&Object.getOwnPropertyDescriptor(o,p),A=!(!k||k.writable&&k.configurable),S=_&&!A&&!E;r({global:!0,constructor:!0,forced:g||S},{DOMException:S?b:y});var M=s(p),C=M.prototype;if(C.constructor!==M)for(var L in g||a(C,"constructor",i(1,M)),h)if(l(h,L)){var D=h[L],R=D.s;l(M,R)||a(M,R,i(6,D.c))}},7248:(e,t,n)=>{var r=n(6784);n(4846),n(9655);var o=r(n(4970)),s=r(n(3678)),i=r(n(2126)),a=r(n(8891));e.exports=function(e){const t={};this.elementsHandlers={"accordion.default":()=>n.e(131).then(n.bind(n,9675)),"alert.default":()=>n.e(707).then(n.bind(n,7243)),"counter.default":()=>n.e(457).then(n.bind(n,3905)),"progress.default":()=>n.e(234).then(n.bind(n,9754)),"tabs.default":()=>n.e(575).then(n.bind(n,3485)),"toggle.default":()=>n.e(775).then(n.bind(n,3049)),"video.default":()=>n.e(180).then(n.bind(n,3774)),"image-carousel.default":()=>n.e(177).then(n.bind(n,4315)),"text-editor.default":()=>n.e(212).then(n.bind(n,5362)),"wp-widget-media_audio.default":()=>n.e(211).then(n.bind(n,2793)),container:s.default,section:i.default,column:a.default},elementorFrontendConfig.experimentalFeatures["nested-elements"]&&(this.elementsHandlers["nested-tabs.default"]=()=>n.e(215).then(n.bind(n,4328))),elementorFrontendConfig.experimentalFeatures["nested-elements"]&&(this.elementsHandlers["nested-accordion.default"]=()=>n.e(915).then(n.bind(n,8216))),elementorFrontendConfig.experimentalFeatures.container&&(this.elementsHandlers["contact-buttons.default"]=()=>n.e(1).then(n.bind(n,6285)),this.elementsHandlers["floating-bars-var-1.default"]=()=>n.e(336).then(n.bind(n,5199)));const addElementsHandlers=()=>{e.each(this.elementsHandlers,(e,t)=>{const n=e.split(".");e=n[0];const r=n[1]||null;this.attachHandler(e,t,r)})},isClassHandler=e=>e.prototype?.getUniqueHandlerID,addHandlerWithHook=(e,t,n="default")=>{const r=e+(n=n?"."+n:"");elementorFrontend.hooks.addAction(`frontend/element_ready/${r}`,e=>{if(isClassHandler(t))this.addHandler(t,{$element:e,elementName:r},!0);else{const n=t();if(!n)return;n instanceof Promise?n.then(({default:t})=>{this.addHandler(t,{$element:e,elementName:r},!0)}):this.addHandler(n,{$element:e,elementName:r},!0)}})};this.addHandler=function(n,r){const o=r.$element.data("model-cid");let s;if(o){s=n.prototype.getConstructorID(),t[o]||(t[o]={});const e=t[o][s];e&&e.onDestroy()}const i=new n(r);elementorFrontend.hooks.doAction(`frontend/element_handler_ready/${r.elementName}`,r.$element,e),o&&(t[o][s]=i)},this.attachHandler=(e,t,n)=>{Array.isArray(t)||(t=[t]),t.forEach(t=>addHandlerWithHook(e,t,n))},this.getHandler=function(e){const t=this.elementsHandlers[e];return isClassHandler(t)?t:new Promise(e=>{t().then(({default:t})=>{e(t)})})},this.getHandlers=function(e){return elementorDevTools.deprecation.deprecated("getHandlers","3.1.0","elementorFrontend.elementsHandler.getHandler"),e?this.getHandler(e):this.elementsHandlers},this.runReadyTrigger=function(t){const n=!!t.closest('[data-delay-child-handlers="true"]')&&0!==t.closest('[data-delay-child-handlers="true"]').length;if(elementorFrontend.config.is_static||n)return;const r=jQuery(t),o=r.attr("data-element_type");if(o&&(elementorFrontend.hooks.doAction("frontend/element_ready/global",r,e),elementorFrontend.hooks.doAction(`frontend/element_ready/${o}`,r,e),"widget"===o)){const t=r.attr("data-widget_type");elementorFrontend.hooks.doAction(`frontend/element_ready/${t}`,r,e)}},this.init=()=>{elementorFrontend.hooks.addAction("frontend/element_ready/global",o.default),addElementsHandlers()}}},7603:(e,t,n)=>{var r=n(6784);n(4846),n(6211),n(9655),n(8309);var o=r(n(4047)),s=r(n(8767)),i=r(n(5115)),a=r(n(5073)),l=r(n(3126)),d=r(n(8427)),c=r(n(3582)),u=r(n(4901)),h=r(n(4252)),m=r(n(8422)),f=r(n(5896)),g=r(n(4799)),p=r(n(7842)),v=r(n(607)),y=r(n(9807)),b=n(7672);const w=n(5956),_=n(7248);class Frontend extends elementorModules.ViewModule{constructor(...e){super(...e),this.config=elementorFrontendConfig,this.config.legacyMode={get elementWrappers(){return elementorFrontend.isEditMode()&&window.top.elementorDevTools.deprecation.deprecated("elementorFrontend.config.legacyMode.elementWrappers","3.1.0"),!1}},this.populateActiveBreakpointsConfig()}get Module(){return this.isEditMode()&&parent.elementorDevTools.deprecation.deprecated("elementorFrontend.Module","2.5.0","elementorModules.frontend.handlers.Base"),elementorModules.frontend.handlers.Base}getDefaultSettings(){return{selectors:{elementor:".elementor",adminBar:"#wpadminbar"}}}getDefaultElements(){const e={window,$window:jQuery(window),$document:jQuery(document),$head:jQuery(document.head),$body:jQuery(document.body),$deviceMode:jQuery("<span>",{id:"elementor-device-mode",class:"elementor-screen-only"})};return e.$body.append(e.$deviceMode),e}bindEvents(){this.elements.$window.on("resize",()=>this.setDeviceModeData())}getElements(e){return this.getItems(this.elements,e)}getPageSettings(e){const t=this.isEditMode()?elementor.settings.page.model.attributes:this.config.settings.page;return this.getItems(t,e)}getGeneralSettings(e){return this.isEditMode()&&parent.elementorDevTools.deprecation.deprecated("getGeneralSettings()","3.0.0","getKitSettings() and remove the `elementor_` prefix"),this.getKitSettings(`elementor_${e}`)}getKitSettings(e){return this.getItems(this.config.kit,e)}getCurrentDeviceMode(){return getComputedStyle(this.elements.$deviceMode[0],":after").content.replace(/"/g,"")}getDeviceSetting(e,t,n){if("widescreen"===e)return this.getWidescreenSetting(t,n);const r=elementorFrontend.breakpoints.getActiveBreakpointsList({largeToSmall:!0,withDesktop:!0});let o=r.indexOf(e);for(;o>0;){const e=t[n+"_"+r[o]];if(e||0===e)return e;o--}return t[n]}getWidescreenSetting(e,t){const n=t+"_widescreen";let r;return r=e[n]?e[n]:e[t],r}getCurrentDeviceSetting(e,t){return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(),e,t)}isEditMode(){return this.config.environmentMode.edit}isWPPreviewMode(){return this.config.environmentMode.wpPreview}initDialogsManager(){let e;this.getDialogsManager=()=>(e||(e=new DialogsManager.Instance),e)}initOnReadyComponents(){this.utils={youtube:new a.default,vimeo:new l.default,baseVideoLoader:new d.default,get lightbox(){return h.default.getLightbox()},urlActions:new c.default,swiper:u.default,environment:i.default,assetsLoader:new m.default,escapeHTML:b.escapeHTML,events:g.default,controls:new v.default,anchor_scroll_margin:new y.default},this.modules={StretchElement:elementorModules.frontend.tools.StretchElement,Masonry:elementorModules.utils.Masonry},this.elementsHandler.init(),this.isEditMode()?elementor.once("document:loaded",()=>this.onDocumentLoaded()):this.onDocumentLoaded()}initOnReadyElements(){this.elements.$wpAdminBar=this.elements.$document.find(this.getSettings("selectors.adminBar"))}addUserAgentClasses(){for(const[e,t]of Object.entries(i.default))t&&this.elements.$body.addClass("e--ua-"+e)}setDeviceModeData(){this.elements.$body.attr("data-elementor-device-mode",this.getCurrentDeviceMode())}addListenerOnce(e,t,n,r){if(r||(r=this.elements.$window),this.isEditMode())if(this.removeListeners(e,t,r),r instanceof jQuery){const o=t+"."+e;r.on(o,n)}else r.on(t,n,e);else r.on(t,n)}removeListeners(e,t,n,r){if(r||(r=this.elements.$window),r instanceof jQuery){const o=t+"."+e;r.off(o,n)}else r.off(t,n,e)}debounce(e,t){let n;return function(){const r=this,o=arguments,s=!n;clearTimeout(n),n=setTimeout(()=>{n=null,e.apply(r,o)},t),s&&e.apply(r,o)}}muteMigrationTraces(){jQuery.migrateMute=!0,jQuery.migrateTrace=!1}initModules(){const e={shapes:p.default};elementorFrontend.trigger("elementor/modules/init:before"),elementorFrontend.trigger("elementor/modules/init/before"),Object.entries(e).forEach(([e,t])=>{this.modulesHandlers[e]=new t})}populateActiveBreakpointsConfig(){this.config.responsive.activeBreakpoints={},Object.entries(this.config.responsive.breakpoints).forEach(([e,t])=>{t.is_enabled&&(this.config.responsive.activeBreakpoints[e]=t)})}init(){this.hooks=new w,this.breakpoints=new f.default(this.config.responsive),this.storage=new s.default,this.elementsHandler=new _(jQuery),this.modulesHandlers={},this.addUserAgentClasses(),this.setDeviceModeData(),this.initDialogsManager(),this.isEditMode()&&this.muteMigrationTraces(),g.default.dispatch(this.elements.$window,"elementor/frontend/init"),this.initModules(),this.initOnReadyElements(),this.initOnReadyComponents()}onDocumentLoaded(){this.documentsManager=new o.default,this.trigger("components:init"),new h.default}}window.elementorFrontend=new Frontend,elementorFrontend.isEditMode()||jQuery(()=>elementorFrontend.init())},7672:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isScrollSnapActive=t.escapeHTML=void 0;t.escapeHTML=e=>{const t={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"};return e.replace(/[&<>'"]/g,e=>t[e]||e)};t.isScrollSnapActive=()=>"yes"===(elementorFrontend.isEditMode()?elementor.settings.page.model.attributes?.scroll_snap:elementorFrontend.config.settings.page?.scroll_snap)},7842:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("text-path",()=>Promise.all([n.e(786),n.e(30)]).then(n.bind(n,241)))}}t.default=_default},7969:(e,t,n)=>{var r=n(6261);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},8223:(e,t,n)=>{var r=n(4762),o=Error,s=r("".replace),i=String(new o("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(i);e.exports=function(e,t){if(l&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=s(e,a,"");return e}},8309:(e,t,n)=>{n.p=elementorFrontendConfig.urls.assets+"js/"},8422:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class AssetsLoader{getScriptElement(e){const t=document.createElement("script");return t.src=e,t}getStyleElement(e){const t=document.createElement("link");return t.rel="stylesheet",t.href=e,t}load(e,t){const n=AssetsLoader.assets[e][t];return n.loader||(n.loader=this.isAssetLoaded(n,e)?Promise.resolve(!0):this.loadAsset(n,e)),n.loader}isAssetLoaded(e,t){const n="script"===t?`script[src="${e.src}"]`:`link[href="${e.src}"]`;return!!document.querySelectorAll(n)?.length}loadAsset(e,t){return new Promise(n=>{const r="style"===t?this.getStyleElement(e.src):this.getScriptElement(e.src);r.onload=()=>n(!0),this.appendAsset(e,r)})}appendAsset(e,t){const n=document.querySelector(e.before);if(n)return void n.insertAdjacentElement("beforebegin",t);const r="head"===e.parent?e.parent:"body";document[r].appendChild(t)}}t.default=AssetsLoader;const n=elementorFrontendConfig.urls.assets,r=elementorFrontendConfig.environmentMode.isScriptDebug?"":".min",o=elementorFrontendConfig.version;AssetsLoader.assets={script:{dialog:{src:`${n}lib/dialog/dialog${r}.js?ver=4.9.3`},"share-link":{src:`${n}lib/share-link/share-link${r}.js?ver=${o}`},swiper:{src:`${n}lib/swiper/v8/swiper${r}.js?ver=8.4.5`}},style:{swiper:{src:`${n}lib/swiper/v8/css/swiper${r}.css?ver=8.4.5`,parent:"head"},"e-lightbox":{src:elementorFrontendConfig?.responsive?.hasCustomBreakpoints?`${elementorFrontendConfig.urls.uploadUrl}/elementor/css/custom-lightbox.min.css?ver=${o}`:`${n}css/conditionals/lightbox${r}.css?ver=${o}`},dialog:{src:`${n}css/conditionals/dialog${r}.css?ver=${o}`,parent:"head",before:"#elementor-frontend-css"}}}},8427:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class BaseLoader extends elementorModules.ViewModule{getDefaultSettings(){return{isInserted:!1,selectors:{firstScript:"script:first"}}}getDefaultElements(){return{$firstScript:jQuery(this.getSettings("selectors.firstScript"))}}insertAPI(){this.elements.$firstScript.before(jQuery("<script>",{src:this.getApiURL()})),this.setSettings("isInserted",!0)}getVideoIDFromURL(e){const t=e.match(this.getURLRegex());return t&&t[1]}onApiReady(e){this.getSettings("isInserted")||this.insertAPI(),this.isApiLoaded()?e(this.getApiObject()):setTimeout(()=>{this.onApiReady(e)},350)}getAutoplayURL(e){return e.replace("&autoplay=0","")+"&autoplay=1"}}t.default=BaseLoader},8767:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(4846),n(9655);class _default extends elementorModules.Module{get(e,t){let n;t=t||{};try{n=t.session?sessionStorage:localStorage}catch(t){return e?void 0:{}}let r=n.getItem("elementor");r=r?JSON.parse(r):{},r.__expiration||(r.__expiration={});const o=r.__expiration;let s=[];e?o[e]&&(s=[e]):s=Object.keys(o);let i=!1;return s.forEach(e=>{new Date(o[e])<new Date&&(delete r[e],delete o[e],i=!0)}),i&&this.save(r,t.session),e?r[e]:r}set(e,t,n){n=n||{};const r=this.get(null,n);if(r[e]=t,n.lifetimeInSeconds){const t=new Date;t.setTime(t.getTime()+1e3*n.lifetimeInSeconds),r.__expiration[e]=t.getTime()}this.save(r,n.session)}save(e,t){let n;try{n=t?sessionStorage:localStorage}catch(e){return}n.setItem("elementor",JSON.stringify(e))}}t.default=_default},8891:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[()=>n.e(557).then(n.bind(n,628))]},9807:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(5724),n(4846),n(7458),n(9655);class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{links:'.elementor-element a[href*="#"]',stickyElements:".elementor-element.elementor-sticky"}}}onInit(){this.observeStickyElements(()=>{this.initializeStickyAndAnchorTracking()})}observeStickyElements(e){new MutationObserver(t=>{for(const n of t)("childList"===n.type||"attributes"===n.type&&n.target.classList.contains("elementor-sticky"))&&e()}).observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class","style"]})}initializeStickyAndAnchorTracking(){const e=this.getAllAnchorLinks(),t=this.getAllStickyElements(),n=[];!t.length>0&&!e.length>0||(this.trackStickyElements(t,n),this.trackAnchorLinks(e,n),this.organizeStickyAndAnchors(n))}trackAnchorLinks(e,t){e.forEach(e=>{const n=this.getAnchorTarget(e),r=this.getScrollPosition(n);t.push({element:n,type:"anchor",scrollPosition:r})})}trackStickyElements(e,t){e.forEach(e=>{const n=this.getElementSettings(e);if(!n||!n.sticky_anchor_link_offset)return;const{sticky_anchor_link_offset:r}=n;if(0===r)return;const o=this.getScrollPosition(e);t.push({scrollMarginTop:r,type:"sticky",scrollPosition:o})})}organizeStickyAndAnchors(e){const t=this.filterAndSortElementsByType(e,"sticky"),n=this.filterAndSortElementsByType(e,"anchor");t.forEach((e,r)=>{this.defineCurrentStickyRange(e,r,t,n)})}defineCurrentStickyRange(e,t,n,r){const o=t+1<n.length?n[t+1].scrollPosition:1/0;e.anchor=r.filter(t=>{const n=t.scrollPosition>e.scrollPosition&&t.scrollPosition<o;return n&&(t.element.style.scrollMarginTop=`${e.scrollMarginTop}px`),n})}getScrollPosition(e){let t=0;for(;e;)t+=e.offsetTop,e=e.offsetParent;return t}getAllStickyElements(){const e=document.querySelectorAll(this.getSettings("selectors.stickyElements"));return Array.from(e).filter((e,t,n)=>t===n.findIndex(t=>t.getAttribute("data-id")===e.getAttribute("data-id")))}getAllAnchorLinks(){const e=document.querySelectorAll(this.getSettings("selectors.links"));return Array.from(e).filter((e,t,n)=>t===n.findIndex(t=>t.getAttribute("href")===e.getAttribute("href")))}filterAndSortElementsByType(e,t){return e.filter(e=>t===e.type).sort((e,t)=>e.scrollPosition-t.scrollPosition)}isValidSelector(e){return/^#[A-Za-z_][\w-]*$/.test(e)}getAnchorTarget(e){const t=e?.hash;return this.isValidSelector(t)?document.querySelector(t):null}getElementSettings(e){return JSON.parse(e.getAttribute("data-settings"))}}t.default=_default}},e=>{e.O(0,[941],()=>{return t=7603,e(e.s=t);var t});e.O()}]);
// source --> https://history.gospmr.org/wp-content/plugins/jnews-video/assets/js/supposition.js?ver=12.0.1 
!function(t){var n=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library;t.fn.supposition=function(){var o=t(window),i=function(t){return window["y"==t?"pageYOffset":"pageXOffset"]||document.documentElement&&document.documentElement["y"==t?"scrollTop":"scrollLeft"]||document.body["y"==t?"scrollTop":"scrollLeft"]},s=function(){$topNav=t("li",this);var n=parseInt($topNav.css("z-index"))+$topNav.length;$topNav.each((function(){t(this).css({zIndex:--n})}))},e=function(){this.css({marginTop:"",marginLeft:""}),this.removeClass("supposition-active")},a=function(){this.each((function(){var n=t(this);n.css("display","block");var s=n.width(),e=n.parents("ul").width(),a=o.width()+i("x"),c=n.offset().left+s;c>a&&(n.css("margin-left",(1==n.parents("ul").length?a-c:-(s+e))+"px"),n.addClass("supposition-active"));var l=o.height(),f=n.offset().top,r=n.height(),h=l+i("y");f+r>h&&(n.css("margin-top",h-(r+f)),n.addClass("supposition-active"))}))};return this.each((function(){var o=this;n&&n.requestAnimationFrame.call(n.win,(function(){var n=t(o),i=n.data("sf-options"),c=i.onInit,l=i.onBeforeShow,f=i.onHide;t.extend(n.data("sf-options"),{onInit:function(){s.call(this),c.call(this)},onBeforeShow:function(){a.call(this),l.call(this)},onHide:function(){e.call(this),f.call(this)}})}))}))}}(jQuery);
// source --> https://history.gospmr.org/wp-includes/js/jquery/ui/mouse.min.js?ver=1.13.3 
/*!
 * jQuery UI Mouse 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","../ie","../version","../widget"],e):e(jQuery)}(function(o){"use strict";var n=!1;return o(document).on("mouseup",function(){n=!1}),o.widget("ui.mouse",{version:"1.13.3",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===o.data(e.target,t.widgetName+".preventClickEvent"))return o.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){var t,i,s;if(!n)return this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),i=1===(this._mouseDownEvent=e).which,s=!("string"!=typeof(t=this).options.cancel||!e.target.nodeName)&&o(e.target).closest(this.options.cancel).length,i&&!s&&this._mouseCapture(e)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?e.preventDefault():(!0===o.data(e.target,this.widgetName+".preventClickEvent")&&o.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0)),!0},_mouseMove:function(e){if(this._mouseMoved){if(o.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&o.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})});
// source --> https://history.gospmr.org/wp-includes/js/jquery/ui/sortable.min.js?ver=1.13.3 
/*!
 * jQuery UI Sortable 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./mouse","../data","../ie","../scroll-parent","../version","../widget"],t):t(jQuery)}(function(u){"use strict";return u.widget("ui.sortable",u.ui.mouse,{version:"1.13.3",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return e<=t&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var t=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),u.each(this.items,function(){t._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,e){var i=null,s=!1,o=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(t),u(t.target).parents().each(function(){if(u.data(this,o.widgetName+"-item")===o)return i=u(this),!1}),!(i=u.data(t.target,o.widgetName+"-item")===o?u(t.target):i))||(this.options.handle&&!e&&(u(this.options.handle,i).find("*").addBack().each(function(){this===t.target&&(s=!0)}),!s)||(this.currentItem=i,this._removeCurrentsFromItems(),0)))},_mouseStart:function(t,e,i){var s,o,r=this.options;if((this.currentContainer=this).refreshPositions(),this.appendTo=u("parent"!==r.appendTo?r.appendTo:this.currentItem.parent()),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},u.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),r.cursorAt&&this._adjustOffsetFromHelper(r.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),u.extend(this.offset,{parent:this._getParentOffset()}),r.containment&&this._setContainment(),r.cursor&&"auto"!==r.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",r.cursor),this.storedStylesheet=u("<style>*{ cursor: "+r.cursor+" !important; }</style>").appendTo(o)),r.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",r.zIndex)),r.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",r.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(s=this.containers.length-1;0<=s;s--)this.containers[s]._trigger("activate",t,this._uiHash(this));return u.ui.ddmanager&&(u.ui.ddmanager.current=this),u.ui.ddmanager&&!r.dropBehaviour&&u.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(t),!0},_scroll:function(t){var e=this.options,i=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-e.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-this.document.scrollTop()<e.scrollSensitivity?i=this.document.scrollTop(this.document.scrollTop()-e.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<e.scrollSensitivity&&(i=this.document.scrollTop(this.document.scrollTop()+e.scrollSpeed)),t.pageX-this.document.scrollLeft()<e.scrollSensitivity?i=this.document.scrollLeft(this.document.scrollLeft()-e.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<e.scrollSensitivity&&(i=this.document.scrollLeft(this.document.scrollLeft()+e.scrollSpeed))),i},_mouseDrag:function(t){var e,i,s,o,r=this.options;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),r.scroll&&!1!==this._scroll(t)&&(this._refreshItemPositions(!0),u.ui.ddmanager)&&!r.dropBehaviour&&u.ui.ddmanager.prepareOffsets(this,t),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},e=this.items.length-1;0<=e;e--)if(s=(i=this.items[e]).item[0],(o=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(s===this.currentItem[0]||this.placeholder[1===o?"next":"prev"]()[0]===s||u.contains(this.placeholder[0],s)||"semi-dynamic"===this.options.type&&u.contains(this.element[0],s))){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(t,i),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),u.ui.ddmanager&&u.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){var i,s,o,r;if(t)return u.ui.ddmanager&&!this.options.dropBehaviour&&u.ui.ddmanager.drop(this,t),this.options.revert?(s=(i=this).placeholder.offset(),r={},(o=this.options.axis)&&"x"!==o||(r.left=s.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(r.top=s.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,u(this.helper).animate(r,parseInt(this.options.revert,10)||500,function(){i._clear(t)})):this._clear(t,e),!1},cancel:function(){if(this.dragging){this._mouseUp(new u.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;0<=t;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),u.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?u(this.domPosition.prev).after(this.currentItem):u(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},u(t).each(function(){var t=(u(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);t&&i.push((e.key||t[1]+"[]")+"="+(e.key&&e.expression?t[1]:t[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},e.each(function(){i.push(u(t.item||this).attr(t.attribute||"id")||"")}),i},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,o=s+this.helperProportions.height,r=t.left,n=r+t.width,h=t.top,a=h+t.height,l=this.offset.click.top,c=this.offset.click.left,l="x"===this.options.axis||h<s+l&&s+l<a,c="y"===this.options.axis||r<e+c&&e+c<n;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?l&&c:r<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<n&&h<s+this.helperProportions.height/2&&o-this.helperProportions.height/2<a},_intersectsWithPointer:function(t){var e="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),t="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!e||!t)&&(e=this.dragDirection.vertical,t=this.dragDirection.horizontal,this.floating?"right"===t||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),t=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),i=this.dragDirection.vertical,s=this.dragDirection.horizontal;return this.floating&&s?"right"===s&&t||"left"===s&&!t:i&&("down"===i&&e||"up"===i&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!=t&&(0<t?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!=t&&(0<t?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(t){var e,i,s,o,r=[],n=[],h=this._connectWith();if(h&&t)for(e=h.length-1;0<=e;e--)for(i=(s=u(h[e],this.document[0])).length-1;0<=i;i--)(o=u.data(s[i],this.widgetFullName))&&o!==this&&!o.options.disabled&&n.push(["function"==typeof o.options.items?o.options.items.call(o.element):u(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);function a(){r.push(this)}for(n.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):u(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),e=n.length-1;0<=e;e--)n[e][0].each(a);return u(r)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=u.grep(this.items,function(t){for(var e=0;e<i.length;e++)if(i[e]===t.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var e,i,s,o,r,n,h,a,l=this.items,c=[["function"==typeof this.options.items?this.options.items.call(this.element[0],t,{item:this.currentItem}):u(this.options.items,this.element),this]],p=this._connectWith();if(p&&this.ready)for(e=p.length-1;0<=e;e--)for(i=(s=u(p[e],this.document[0])).length-1;0<=i;i--)(o=u.data(s[i],this.widgetFullName))&&o!==this&&!o.options.disabled&&(c.push(["function"==typeof o.options.items?o.options.items.call(o.element[0],t,{item:this.currentItem}):u(o.options.items,o.element),o]),this.containers.push(o));for(e=c.length-1;0<=e;e--)for(r=c[e][1],a=(n=c[e][i=0]).length;i<a;i++)(h=u(n[i])).data(this.widgetName+"-item",r),l.push({item:h,instance:r,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(t){for(var e,i,s=this.items.length-1;0<=s;s--)e=this.items[s],this.currentContainer&&e.instance!==this.currentContainer&&e.item[0]!==this.currentItem[0]||(i=this.options.toleranceElement?u(this.options.toleranceElement,e.item):e.item,t||(e.width=i.outerWidth(),e.height=i.outerHeight()),i=i.offset(),e.left=i.left,e.top=i.top)},refreshPositions:function(t){var e,i;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(t),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;0<=e;e--)i=this.containers[e].element.offset(),this.containers[e].containerCache.left=i.left,this.containers[e].containerCache.top=i.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(i){var s,o,r=(i=i||this).options;r.placeholder&&r.placeholder.constructor!==String||(s=r.placeholder,o=i.currentItem[0].nodeName.toLowerCase(),r.placeholder={element:function(){var t=u("<"+o+">",i.document[0]);return i._addClass(t,"ui-sortable-placeholder",s||i.currentItem[0].className)._removeClass(t,"ui-sortable-helper"),"tbody"===o?i._createTrPlaceholder(i.currentItem.find("tr").eq(0),u("<tr>",i.document[0]).appendTo(t)):"tr"===o?i._createTrPlaceholder(i.currentItem,t):"img"===o&&t.attr("src",i.currentItem.attr("src")),s||t.css("visibility","hidden"),t},update:function(t,e){s&&!r.forcePlaceholderSize||(e.height()&&(!r.forcePlaceholderSize||"tbody"!==o&&"tr"!==o)||e.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),e.width())||e.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10))}}),i.placeholder=u(r.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),r.placeholder.update(i,i.placeholder)},_createTrPlaceholder:function(t,e){var i=this;t.children().each(function(){u("<td>&#160;</td>",i.document[0]).attr("colspan",u(this).attr("colspan")||1).appendTo(e)})},_contactContainers:function(t){for(var e,i,s,o,r,n,h,a,l,c=null,p=null,f=this.containers.length-1;0<=f;f--)u.contains(this.currentItem[0],this.containers[f].element[0])||(this._intersectsWith(this.containers[f].containerCache)?c&&u.contains(this.containers[f].element[0],c.element[0])||(c=this.containers[f],p=f):this.containers[f].containerCache.over&&(this.containers[f]._trigger("out",t,this._uiHash(this)),this.containers[f].containerCache.over=0));if(c)if(1===this.containers.length)this.containers[p].containerCache.over||(this.containers[p]._trigger("over",t,this._uiHash(this)),this.containers[p].containerCache.over=1);else{for(i=1e4,s=null,o=(a=c.floating||this._isFloating(this.currentItem))?"left":"top",r=a?"width":"height",l=a?"pageX":"pageY",e=this.items.length-1;0<=e;e--)u.contains(this.containers[p].element[0],this.items[e].item[0])&&this.items[e].item[0]!==this.currentItem[0]&&(n=this.items[e].item.offset()[o],h=!1,t[l]-n>this.items[e][r]/2&&(h=!0),Math.abs(t[l]-n)<i)&&(i=Math.abs(t[l]-n),s=this.items[e],this.direction=h?"up":"down");(s||this.options.dropOnEmpty)&&(this.currentContainer===this.containers[p]?this.currentContainer.containerCache.over||(this.containers[p]._trigger("over",t,this._uiHash()),this.currentContainer.containerCache.over=1):(s?this._rearrange(t,s,null,!0):this._rearrange(t,null,this.containers[p].element,!0),this._trigger("change",t,this._uiHash()),this.containers[p]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[p],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[p]._trigger("over",t,this._uiHash(this)),this.containers[p].containerCache.over=1))}},_createHelper:function(t){var e=this.options,t="function"==typeof e.helper?u(e.helper.apply(this.element[0],[t,this.currentItem])):"clone"===e.helper?this.currentItem.clone():this.currentItem;return t.parents("body").length||this.appendTo[0].appendChild(t[0]),t[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),t[0].style.width&&!e.forceHelperSize||t.width(this.currentItem.width()),t[0].style.height&&!e.forceHelperSize||t.height(this.currentItem.height()),t},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=Array.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&u.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&u.ui.ie?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var t;return"relative"===this.cssPosition?{top:(t=this.currentItem.position()).top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}:{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode),"document"!==i.containment&&"window"!==i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===i.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===i.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(t=u(i.containment)[0],i=u(i.containment).offset(),e="hidden"!==u(t).css("overflow"),this.containment=[i.left+(parseInt(u(t).css("borderLeftWidth"),10)||0)+(parseInt(u(t).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(u(t).css("borderTopWidth"),10)||0)+(parseInt(u(t).css("paddingTop"),10)||0)-this.margins.top,i.left+(e?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(u(t).css("borderLeftWidth"),10)||0)-(parseInt(u(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(e?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(u(t).css("borderTopWidth"),10)||0)-(parseInt(u(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,e){e=e||this.position;var t="absolute"===t?1:-1,i="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&u.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(i[0].tagName);return{top:e.top+this.offset.relative.top*t+this.offset.parent.top*t-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:i.scrollTop())*t,left:e.left+this.offset.relative.left*t+this.offset.parent.left*t-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:i.scrollLeft())*t}},_generatePosition:function(t){var e=this.options,i=t.pageX,s=t.pageY,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&u.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(o[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(s=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3])&&(s=this.containment[3]+this.offset.click.top),e.grid)&&(t=this.originalPageY+Math.round((s-this.originalPageY)/e.grid[1])*e.grid[1],s=!this.containment||t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-e.grid[1]:t+e.grid[1],t=this.originalPageX+Math.round((i-this.originalPageX)/e.grid[0])*e.grid[0],i=!this.containment||t-this.offset.click.left>=this.containment[0]&&t-this.offset.click.left<=this.containment[2]?t:t-this.offset.click.left>=this.containment[0]?t-e.grid[0]:t+e.grid[0]),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():r?0:o.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?0:o.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay(function(){o===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function o(e,i,s){return function(t){s._trigger(e,t,i._uiHash(i))}}for(this.fromOutside&&!e&&s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger("update",t,this._uiHash())}),this===this.currentContainer||e||(s.push(function(t){this._trigger("remove",t,this._uiHash())}),s.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer))),i=this.containers.length-1;0<=i;i--)e||s.push(o("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(o("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i<s.length;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===u.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(t){var e=t||this;return{helper:e.helper,placeholder:e.placeholder||u([]),position:e.position,originalPosition:e.originalPosition,offset:e.positionAbs,item:e.currentItem,sender:t?t.element:null}}})});
// source --> https://history.gospmr.org/wp-content/plugins/jnews-video/assets/js/plugin.js?ver=12.0.1 
!function(t){"use strict";var e=function(t,e){this.element=t,this.module=e};e.prototype.init=function(){return this.canUseWebp(),this.injectEvent(),this},e.prototype.canUseWebp=function(){this.webp=new Promise((function(t){var e=new Image;e.src="data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA",e.onload=e.onerror=function(){t(2===e.height)}}))},e.prototype.injectEvent=function(){this.metaOption=t(this.module.element).find(".jeg_meta_option"),this.videoPreview=t(this.module.element).find(".jeg_post_video_preview"),this.moreoption=t(this.module.element).find(".jeg_meta_option .jeg_moreoption"),this.postWrapper=t(this.module.element).find(".jeg_post"),this.metaOptionEvent(),this.videoPreviewEvent()},e.prototype.videoPreviewEvent=function(){this.webp.then(function(e){e&&this.videoPreview.each(function(e,a){var i=t(a).parents(".jeg_thumb"),n=null,o=null,s=new Image;i.on("mouseenter",function(){var e=t(i).find(".jeg_post_video_preview"),a=t(e).data("preview");s.onload=function(){t(i).addClass("video_previewer"),e.append(s),n=setTimeout((function(){t(i).removeClass("video_previewer")}),2800),clearTimeout(o)};var l=a.indexOf("?")>-1?"&jdate=":"?";s.src=a+l+(new Date).getMonth()+(new Date).getFullYear()}.bind(this)).on("mouseleave",function(){s.onload=function(){t(i).removeClass("video_previewer"),o=setTimeout((function(){t(i).find(".jeg_post_video_preview img").remove(),s.src=""}),300),clearTimeout(n)},t(i).removeClass("video_previewer"),o=setTimeout((function(){t(i).find(".jeg_post_video_preview img").remove(),s.src=""}),300),clearTimeout(n)}.bind(this))}.bind(this))}.bind(this))},e.prototype.metaOptionEvent=function(){this.moreoption.each((function(e,a){t(a).superfish({popUpSelector:"ul,.jeg_add_to_playlist",delay:250,speed:"fast",animation:{opacity:"show"}}).supposition()})),t(window).on("click",function(){t(this.metaOption).removeClass("loading").removeClass("active"),t(this.metaOption).parents(".jeg_postblock").removeClass("menu-active")}.bind(this)),this.metaOption.on("click",function(e){e.preventDefault(),e.stopPropagation();var a=e.currentTarget,i=t(a).data("id"),n=t(a).find(".jeg_moreoption");return!t(a).hasClass("loading")&&(t(a).hasClass("active")?(t(a).removeClass("active"),!1):(t(a).addClass("loading"),void t.ajax({url:jnews_ajax_url,type:"post",dataType:"json",data:{post_id:i,action:"get_video_menu"},success:function(e){0===e.data.response?s.login(e.data):(t(this.metaOption).removeClass("loading").removeClass("active"),t(this.metaOption).parents(".jeg_postblock").removeClass("menu-active"),t(n).html("").append(e.data),t(a).removeClass("loading").addClass("active").show(),t(a).parents(".jeg_postblock").addClass("menu-active"),t(a).find('[data-action="jeg_add_post"]').on("click",s.ajaxAddPost.bind(this)),t(a).find(".jeg_moreoption > li:last-child > a").on("click",(function(t){t.preventDefault(),t.stopPropagation()})),t(a).find(".jeg_add_to_playlist").on("click",'[data-action="jeg_add_post"]',s.ajaxAddPost.bind(this)),t(a).find(".jeg_popuplink").on("click",s.openPlaylistPopup.bind(this)))}.bind(this)})))}.bind(this))};var a=function(){t(".jnews-playlist-items").on("click",'[data-action="jeg_remove_post"]',function(e){e.preventDefault(),this.ajaxRemovePost(t(e.currentTarget))}.bind(this)),t(".jeg_playlist_load_more").on("click","a",function(e){e.preventDefault(),this.ajaxLoadMore(t(e.currentTarget))}.bind(this)),t("[id*='jeg_playlist'] > .jeg_popupform_playlist > form").off("submit").on("submit",function(e){e.preventDefault(),this.ajaxPlaylistDashboard(t(e.currentTarget))}.bind(this))};a.prototype.ajaxLoadMore=function(t){var e=t.parents().find('[class*="playlist-items"]'),a={last:e.find(".jnews-playlist-item").last().data("id"),playlist_id:e.data("playlist-id"),type:"load_more",action:"playlist_handler"};this.do_ajax(a,t)},a.prototype.ajaxRemovePost=function(t){var e=t.parents().find('[class*="playlist-items"]'),a={post_id:t.data("post-id"),playlist_id:e.data("playlist-id"),type:"remove_post",action:"playlist_handler"};this.do_ajax(a,t)},a.prototype.ajaxPlaylistDashboard=function(t){var e=t.find('input[name="jnews-playlist-nonce"]'),a=t.find('input[name="type"]'),i={nonce:e.val(),type:a.val(),action:"playlist_handler"};if("create_playlist"===a.val()){var n=t.find('input[name="post_id"]');i.post_id=n.val()}if("create_playlist"!==a.val()){var o=t.find('input[name="playlist_id"]');i.playlist_id=o.val()}if("edit_playlist"===a.val()){var s=t.find('textarea[name="content"]'),l=t.find('input[name="image[]"]');i.content=s.val(),i.image=l.val()}if("delete_playlist"!==a.val()){var r=t.find('input[name="title"]'),d=t.find('select[name="visibility"]');i.title=r.val(),i.visibility=d.find(":selected").val()}this.do_ajax(i,t)},a.prototype.do_ajax=function(e,a){switch(e.type){case"remove_post":var i=a.closest('[class*="playlist-item"]').addClass("playlist-item-removing");break;case"create_playlist":case"edit_playlist":case"delete_playlist":var o=t(a).find(".form-message");o.html(""),a.find('input[type="submit"]').val(a.find('input[type="submit"]').data("process")),a.find('input[type="submit"]').prop("disabled",!0);break;case"load_more":var s=t(a).addClass("active").data("loading");t(a).text(s)}t.ajax({url:jnews_ajax_url,type:"post",dataType:"json",data:e,success:function(s){switch(e.type){case"remove_post":1===s.response?t(".playlist-item-removing").remove():t(".playlist-item-removing").html(i).removeClass("playlist-item-removing"),n(s.message);break;case"create_playlist":a.find('input[type="submit"]').val(a.find('input[type="submit"]').data("string")),a.find('input[type="submit"]').prop("disabled",!1),1===s.response?(n(s.message),t(a).trigger("reset"),t.magnificPopup.close()):o.html(s.message);break;case"edit_playlist":a.find('input[type="submit"]').val(a.find('input[type="submit"]').data("string")),a.find('input[type="submit"]').prop("disabled",!1),1===s.response?(n(s.message),t.magnificPopup.close(),setTimeout(location.reload(),500)):o.html(s.message);break;case"delete_playlist":a.find('input[type="submit"]').val(a.find('input[type="submit"]').data("string")),a.find('input[type="submit"]').prop("disabled",!1),1===s.response?(t.magnificPopup.close(),n(s.message),setTimeout(location.href=s.redirect,500)):o.html(s.message);break;case"load_more":if(s.next){var l=t(a).removeClass("active").data("load");t(a).text(l)}else a.remove();t(".jnews-playlist-items").append(s.html)}}.bind(this)})};var i=function(t){var e=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library;if("function"==typeof jnews.tns&&t.length&&e.forEach(t,(function(a,i){var n=a.getElementsByClassName("jeg_category_list_wrapper");n.length&&e.forEach(n,(function(a,i){var n=a,o=n.getElementsByClassName("jeg_category_list");t.length&&e.forEach(o,(function(t,a){var i=function(t,a){var n={resize:function(){e.requestAnimationFrame.call(e.win,(function(o){568>e.getWidth(e.globalBody)&&((a=e.dataStorage.get(t,"tiny-slider")).destroy(),a=a.rebuild(),i(t,a)),e.removeEvents(e.win,n)}))}};e.addEvents(e.win,n),a.events.on("dragStart",(function(t){t.event.preventDefault(),t.event.stopPropagation()})),e.addClass(t,"jeg_tns_active"),e.dataStorage.put(t,"tiny-slider",a)},o=!1,s={controls:void 0!==t.dataset.nav&&t.dataset.nav,autoplay:void 0!==t.dataset.autoplay&&t.dataset.autoplay,items:void 0===t.dataset.items?3:t.dataset.items,autoplayTimeout:void 0===t.dataset.delay?3e3:t.dataset.delay,textDirection:"ltr",gutter:void 0===t.dataset.margin?20:parseInt(t.dataset.margin)};if("undefined"!=typeof jnewsoption&&(o=1==jnewsoption.rtl),"undefined"!=typeof jnewsgutenbergoption&&(o=1==jnewsgutenbergoption.rtl),s.autoWidth=!o,s.textDirection=o?"rtl":"ltr",e.hasClass(n,"jeg_col_12")&&(s.items=void 0===t.dataset.items?5:t.dataset.items),!e.hasClass(t,"jeg_tns_active")){s.items>t.children.length&&(s.items=t.children.length-1>1?t.children.length-1:1);var l=jnews.tns({container:t,textDirection:s.textDirection,controls:s.controls,gutter:s.gutter,controlsText:["",""],nav:!1,center:!0,loop:!0,mouseDrag:!0,items:s.items,autoplay:s.autoplay,autoplayTimeout:s.autoplayTimeout,autoWidth:s.autoWidth,responsive:{0:{items:1,autoWidth:!1},321:{items:1,gutter:s.gutter>15?15:s.gutter,autoWidth:!1},568:{items:s.items,gutter:s.gutter>15?15:s.gutter,autoWidth:s.autoWidth},1024:{items:s.items,autoWidth:s.autoWidth}},onInit:function(t){void 0!==t.nextButton&&(t.nextButton.setAttribute("aria-label","Next button"),e.addClass(t.nextButton,"tns-next")),void 0!==t.prevButton&&(t.prevButton.setAttribute("aria-label","Previous button"),e.addClass(t.prevButton,"tns-prev"))}});void 0!==l&&i(t,l)}}))}));var o=a.getElementsByClassName("jeg_playlist_wrapper");o.length&&e.forEach(o,(function(t,a){var i=t,n=i.getElementsByClassName("jeg_playlist");n.length&&e.forEach(n,(function(t,a){var n=!1,o={controls:void 0!==t.dataset.nav&&"true"===t.dataset.nav&&"true"===t.dataset.nav,autoplay:void 0!==t.dataset.autoplay&&"true"===t.dataset.autoplay&&"true"===t.dataset.autoplay,items:void 0===t.dataset.items?3:parseInt(t.dataset.items),autoplayTimeout:void 0===t.dataset.delay?3e3:parseInt(t.dataset.delay),textDirection:"ltr",gutter:void 0===t.dataset.margin?20:parseInt(t.dataset.margin)};if("undefined"!=typeof jnewsoption&&(n=1==jnewsoption.rtl),"undefined"!=typeof jnewsgutenbergoption&&(n=1==jnewsgutenbergoption.rtl),o.textDirection=n?"rtl":"ltr",e.hasClass(i,"jeg_col_12")&&(o.items=void 0===t.dataset.items?5:parseInt(t.dataset.items)),!e.hasClass(t,"jeg_tns_active")){o.items>t.children.length&&(o.items=t.children.length-1>1?t.children.length-1:1);var s=jnews.tns({container:t,textDirection:o.textDirection,controls:o.controls,gutter:o.gutter,controlsText:["",""],nav:!1,loop:!0,mouseDrag:!0,items:o.items,autoplay:o.autoplay,autoplayTimeout:o.autoplayTimeout,responsive:{0:{items:1},321:{items:1,gutter:o.gutter>15?15:o.gutter},568:{items:o.items,gutter:o.gutter>15?15:o.gutter},1024:{items:o.items}},onInit:function(t){void 0!==t.nextButton&&(t.nextButton.setAttribute("aria-label","Next button"),e.addClass(t.nextButton,"tns-next")),void 0!==t.prevButton&&(t.prevButton.setAttribute("aria-label","Previous button"),e.addClass(t.prevButton,"tns-prev"))}});void 0!==s&&(s.events.on("dragStart",(function(t){t.event.preventDefault(),t.event.stopPropagation()})),e.addClass(t,"jeg_tns_active"),e.dataStorage.put(t,"tiny-slider",s))}}))}))})),"object"==typeof jnews.video&&"function"==typeof jnews.video.carousel){var a=e.globalBody.getElementsByClassName("jeg_postblock_video_carousel");a.length&&e.forEach(a,(function(t,a){jnews.video.carousel({container:t,textDirection:1==jnewsoption.rtl?"rtl":"ltr",onInit:function(t){void 0!==t.nextButton&&(t.nextButton.setAttribute("aria-label","Next button"),e.addClass(t.nextButton,"tns-next")),void 0!==t.prevButton&&(t.prevButton.setAttribute("aria-label","Previous button"),e.addClass(t.prevButton,"tns-prev"))}})}))}},n=function(e){var a=t("#notification_action_renderer"),i=a.find("#paper_toast").outerHeight()+30;a.stop(!0,!0),a.finish(),a.removeAttr("style"),a.find("#paper_toast").removeAttr("style"),a.find("#paper_toast").css({opacity:1}),a.find("#paper_toast span#label").html(e),a.animate({bottom:i},1e3,function(){setTimeout(function(){a.animate({bottom:0},1e3,function(){a.find("#paper_toast span#label").html(" ")}.bind(this))}.bind(this),3e3)}.bind(this))},o=function(e,a){var i=t(window),n=t(e);i.on("click",(function(){n.removeClass("loading").removeClass("active")})),a&&e.find(".jeg_moreoption").each((function(e,a){t(a).superfish({popUpSelector:"ul,.jeg_add_to_playlist",delay:250,speed:"fast",animation:{opacity:"show"}}).supposition()})),e.on("click",(function(e){e.preventDefault(),e.stopPropagation();var n=e.currentTarget,o=t(n);if(o.hasClass("loading"))return!1;if(o.hasClass("active")){if(o.removeClass("active"),!a){var l=o.find(".jeg_sharelist");l.length>0&&l.removeClass("supposition-active")}return!1}if(o.addClass("loading"),a){var r=o.data("id"),d=o.find(".jeg_moreoption");t.ajax({url:jnews_ajax_url,type:"post",dataType:"json",data:{post_id:r,action:"get_video_menu"},success:function(e){0===e.data.response?s.login(e.data):(t(d).html("").append(e.data),o.removeClass("loading").addClass("active"),o.parents(".jeg_postblock").addClass("menu-active"),o.find('[data-action="jeg_add_post"]').on("click",s.ajaxAddPost),o.find(".jeg_moreoption > li:last-child > a").on("click",(function(t){t.preventDefault(),t.stopPropagation()})),o.find(".jeg_add_to_playlist").on("click",'[data-action="jeg_add_post"]',s.ajaxAddPost),o.find(".jeg_popuplink").on("click",s.openPlaylistPopup))}})}else o.removeClass("loading").addClass("active"),o.each((function(e,a){var n,o=t(a).find(".jeg_sharelist");if(o.length>0){var s=o.width(),l=(o.parents(".jeg_meta_share").width(),i.width()+(n="x",window["y"==n?"pageYOffset":"pageXOffset"]||document.documentElement&&document.documentElement["y"==n?"scrollTop":"scrollLeft"]||document.body["y"==n?"scrollTop":"scrollLeft"]));o.offset().left+s>l&&o.addClass("supposition-active")}})),o.find(".jeg_popuplink").on("click",s.openPlaylistPopup)}))},s={ajaxAddPost:function(e){e.preventDefault(),e.stopPropagation();var a=t(e.currentTarget),i=a.hasClass("active")?"exclude_post":"add_post",n={post_id:a.parents(".jeg_meta_option").data("id"),playlist_id:a.data("playlist-id"),type:i,action:"playlist_handler"};s.do_ajax(n,a)},do_ajax:function(e,a){switch(e.type){case"exclude_post":case"add_post":a.addClass("loading")}t.ajax({url:jnews_ajax_url,type:"post",dataType:"json",data:e,success:function(t){switch(e.type){case"exclude_post":a.removeClass("active").removeClass("loading"),n(t.message);break;case"add_post":a.addClass("active").removeClass("loading"),n(t.message)}}})},openPlaylistPopup:function(e){e.preventDefault(),e.stopPropagation();var a=t(t(e.currentTarget).attr("href")).find('input[name="post_id"]');t(a).length&&a.val(t(e.currentTarget).data("post-id")),t.magnificPopup.open({type:"inline",removalDelay:500,midClick:!0,mainClass:"mfp-zoom-out",items:{src:t(e.currentTarget).attr("href")}})},login:function(e){e&&t("#jeg_loginform form").find("h3").html(e.message);var a=window.jnews.loginregister;t.magnificPopup.open({type:"inline",removalDelay:500,midClick:!0,mainClass:"mfp-zoom-out",items:{src:"#jeg_loginform"},callbacks:{beforeOpen:function(){this.st.mainClass="mfp-zoom-out",t("body").removeClass("jeg_show_menu")},change:function(){var e=this.content.find(".g-recaptcha"),i=this.content.find("form").data("type"),n=e.data("sitekey");this.content.find(".form-message p").remove(),a.validateCaptcha=!1,1==jnewsoption.recaptcha&&e.length&&(e.hasClass("loaded")?grecaptcha.reset(a.captcha[i]):(a.captcha[i]=grecaptcha.render(e.get(0),{sitekey:n,callback:a.validateResponse.bind(a)}),t(e).addClass("loaded")))}}})}},l=function(e){this.container=e,this.drop=".jeg_action",this.dropExpanded=".jeg_action_expanded",this.primaryNav='.item-list-tabs[aria-label*="primary navigation"]',this.classesDropExpanded="jeg_action_expanded",this.container.find(this.primaryNav).okayNav({swipe_enabled:!1,threshold:80,toggle_icon_content:"<span></span><span></span><span></span>"}),this.container.on("click touchstart",function(e){var a=t(e.target).parents(this.dropExpanded);t(this.dropExpanded).not(a).removeClass(this.classesDropExpanded)}.bind(this)),this.container.find(this.drop).on("click",function(e){var a=t(e.currentTarget);a.is(this.dropExpanded)?t(e.target).hasClass("jeg_action_toggle")&&(a.removeClass(this.classesDropExpanded),e.preventDefault()):(a.addClass(this.classesDropExpanded),e.preventDefault())}.bind(this))};l.prototype.dropMenuMoveItem=function(){t(this.container).find(this.drop).each((function(){var e=t(this);e.find(".menu-item").each((function(a,i){var n;a<2&&(n=t(i).detach()).length&&(n.removeClass("menu-item").find("a"),n.insertBefore(e))})),e.find(".menu-item").length||e.remove()}))},t(".jeg_module_hook").on("jnews_module_init",(function(a,i){var n=new e(this,i).init();t(this).data("video",n)})).on("jnews_module_ajax",(function(){t(this).data("video").injectEvent()})),t((function(){new a,new i(t("body")),new l(t("#buddypress")).dropMenuMoveItem();var e=t(".single-playlist"),n=t(".single-format-video"),r=e.find(".jeg_meta_option"),d=e.find(".jeg_meta_share"),p=n.find(".jeg_meta_option"),c=n.find(".jeg_meta_share");o(r),o(d),o(p,!0),o(c),t(".jeg_login_required").on("click",(function(t){t.preventDefault(),s.login()})),t("body").on("click",".jeg_bp_action.follow, .jeg_bp_action.unfollow",(function(e){var a,i,n,o,s,l,r,d,p;return e.preventDefault(),a=t(this),o=(n=a).parents(".follow-wrapper"),s=n.attr("id"),l=n.attr("href"),r=o.find(".jnews-spinner"),d=n.parents(".jeg_meta_subscribe:not(.no-follow)").find(".jeg_subscribe_count"),p="",s=s.split("-"),i=s[0],s=s[1],l=(l=(l=l.split("?_wpnonce="))[1].split("&"))[0],t.ajax({url:ajaxurl,type:"post",data:{action:"bp_"+i,uid:s,_wpnonce:l},beforeSend:function(){r.length&&(n.css("display","none"),r.css("display","block"))},success:function(e){var a="object"==typeof e,o=e;if(console.log(a),a&&e.success&&e.data&&e.data.button&&(o=e.data.button),o.length){var s=n.attr("class");p=t(o),s=s.replace(i+" ",""),p.addClass(s)}}}).always((function(){d.length?t.ajax({url:ajaxurl,type:"post",data:{action:"jnews_get_subscribe_count",uid:s,_wpnonce:l},success:function(e){if(e.status){var a=t(e.content);d.replaceWith(a)}}}).always((function(){r.length&&(n.replaceWith(p),r.css("display","none"))})):r.length&&(n.replaceWith(p),n.css("display",""),r.css("display","none"))})),!1}))})),t(document).on("jnews_vc_trigger jnews_elementor_trigger",(function(e,a){new i(t(a))}))}(jQuery);
// source --> https://history.gospmr.org/wp-content/themes/jnews/assets/js/jquery.module.js?ver=1.0.0 
!function(e){"use strict";var a=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library,t=function(t,n){if(a){var o=this;o.element=e(t),o.options=n,o.xhr=null,o.xhr_cache=[],o.lock_action=!1,o.unique=o.element.data("unique"),o.data={filter:0,filter_type:"all",current_page:1,attribute:window[o.unique]||{}},o.ajax_mode=o.data.attribute.pagination_mode,o.header=o.element.find(".jeg_block_heading"),o.container=o.element.find(".jeg_block_container"),o.nav_block=o.element.find(".jeg_block_navigation"),o.ad_code=o.element.find(".jeg_ad_code").val(),o.nav_next=null,o.nav_prev=null,o.module_overlay=o.container.find(".module-overlay"),o.load_more_block=o.nav_block.find(".jeg_block_loadmore"),"nextprev"===o.ajax_mode&&(o.nav_next=o.nav_block.find(".next"),o.nav_prev=o.nav_block.find(".prev"),o.nav_next.on("click",o.click_next.bind(o)),o.nav_prev.on("click",o.click_prev.bind(o))),"loadmore"!==o.ajax_mode&&"scrollload"!==o.ajax_mode||(o.nav_next=o.load_more_block.find("a"),o.nav_next.on("click",o.load_more.bind(o))),"scrollload"===o.ajax_mode&&(o.load_limit=o.data.attribute.pagination_scroll_limit,o.load_scroll()),o.masonry_init(),o.init(),o.element.trigger("jnews_module_init",[o])}};t.DEFAULTS={},t.prototype.init=function(){var e=this;e.subcat=e.header.find(".jeg_subcat"),e.subcat.length&&e.subcat.okayNav({swipe_enabled:!1,threshold:80,toggle_icon_content:"<span></span><span></span><span></span>"}),e.assign_header()},t.prototype.load_scroll=function(){var e=this;e.nav_next.hasClass("disabled")||(e.load_limit>e.data.current_page||0==e.load_limit)&&e.nav_next.waypoint((function(){e.data.current_page=e.data.current_page+1,e.request_ajax("scroll"),this.destroy()}),{offset:"100%",context:window})},t.prototype.click_next=function(a){var t=this,n=t.nav_next;a.preventDefault(),e(n).hasClass("disabled")||t.lock_action||(t.data.current_page=t.data.current_page+1,t.request_ajax("next"))},t.prototype.click_prev=function(a){var t=this,n=t.nav_prev;a.preventDefault(),e(n).hasClass("disabled")||t.lock_action||(t.data.current_page=t.data.current_page-1,t.request_ajax("prev"))},t.prototype.load_more=function(a){var t=this,n=t.nav_next;a.preventDefault(),e(n).hasClass("disabled")||t.lock_action||(t.data.current_page=t.data.current_page+1,t.request_ajax("more"))},t.prototype.assign_header=function(){var a=this;e(a.header).on("click",".subclass-filter",e.proxy(a.subclass_click,a))},t.prototype.subclass_click=function(a){var t=this,n=a.target;a.preventDefault(),t.lock_action||(this.header.find(".subclass-filter").removeClass("current"),e(n).addClass("current"),t.data.filter=e(n).data("id"),t.data.filter_type=e(n).data("type"),t.data.current_page=1,t.request_ajax("subclass"))},t.prototype.request_ajax=function(a){var t=this;t.lock_action=!0;var n={action:jnewsoption.module_prefix+t.data.attribute.class,module:!0,data:t.data},o=t.cache_get(n);o?(t.before_ajax_request(a,!1),setTimeout((function(){t.load_ajax(a,n,o),t.element.trigger("jnews_module_ajax")}),100)):(t.before_ajax_request(a,!0),t.xhr=e.ajax({url:jnews_ajax_url,type:"post",dataType:"json",data:n,success:function(e){t.load_ajax(a,n,e),t.cache_save(n,e),t.element.trigger("jnews_module_ajax")}}))},t.prototype.cache_get=function(e){for(var a=this,t=JSON.stringify(e),n=0;n<a.xhr_cache.length;n++)if(a.xhr_cache[n].param==t)return a.cache_prepare(a.xhr_cache[n].result);return!1},t.prototype.cache_prepare=function(a){a.content="<div>"+a.content+"</div>";var t=e(a.content);return t.find("img").each((function(){var a=e(this).data("src");e(this).attr("src",a).removeClass("lazyload").addClass("lazyloaded")})),a.content=t.html(),a},t.prototype.cache_save=function(e,a){var t=JSON.stringify(e);this.xhr_cache.push({param:t,result:a})},t.prototype.load_ajax=function(e,a,t){var n=this;switch(n.lock_action=!1,n.ajax_mode){case"loadmore":n.load_ajax_load_more(t,e);break;case"scrollload":n.load_scroll_more(t,e);break;default:n.load_ajax_next_prev(t,e)}jnews.like&&jnews.like.init(),jnews.share&&jnews.share.init()},t.prototype.before_ajax_request=function(e,a){var t=this;t.element.removeClass("loaded next prev more scroll subclass").addClass("loading"),"next"!==e&&"prev"!==e&&"subclass"!==e||!a||t.module_overlay.show(),"more"!==e&&"scroll"!==e||t.load_more_block.find("a").text(t.load_more_block.find("a").data("loading")).addClass("active")},t.prototype.after_ajax_request=function(e){var a=this;a.element.removeClass("loading").addClass("loaded").addClass(e),"next"!==e&&"prev"!==e&&"subclass"!==e||a.module_overlay.hide(),"more"!==e&&"scroll"!==e||(a.load_more_block.find("a").text(a.load_more_block.find("a").data("load")).removeClass("active"),void 0!==a.load_more_block.find("a").data("icon")&&a.load_more_block.find("a").html(a.load_more_block.find("a").html()+' <i class="fa '+a.load_more_block.find("a").data("icon")+'"></i>'))},t.prototype.replace_content=function(a){this.container.children().each((function(){e(this).hasClass("module-overlay")||e(this).remove()})),this.container.prepend(a)},t.prototype.load_ajax_next_prev=function(a,t){var n=this,o=e(a.content);o.find(".jeg_ad_module").length&&n.ad_code&&o.find(".ads-wrapper").html(n.ad_code),n.replace_content(o),null!==n.nav_next&&(a.next?n.nav_next.removeClass("disabled"):n.nav_next.addClass("disabled")),null!==n.nav_prev&&(a.prev?n.nav_prev.removeClass("disabled"):n.nav_prev.addClass("disabled")),a.next||a.prev?null!==n.nav_prev&&n.nav_next.parent().removeClass("inactive"):null!==n.nav_next&&n.nav_next.parent().addClass("inactive"),n.after_ajax_request(t),n.masonry_init(),e(window).trigger("resize")},t.prototype.load_ajax_load_more=function(a,t){var n=this,o=e(a.content),r=0;o.each((function(){(e(this).hasClass("jeg_ad_module")&&n.ad_code&&e(this).find(".ads-wrapper").html(n.ad_code),e(this).hasClass("jeg_post"))?e(this).addClass("jeg_ajax_loaded anim_"+r):e(this).find(".jeg_post").each((function(){e(this).addClass("jeg_ajax_loaded anim_"+r),r++}));r++})),n.container.find(".jeg_post").removeClass("jeg_ajax_loaded"),n.container.find(".jeg_ad_module").removeClass("jeg_ajax_loaded"),1==n.data.current_page?n.replace_content(o):n.element.find(".jeg_load_more_flag").append(o),a.next?n.nav_next.removeClass("disabled"):n.nav_next.addClass("disabled"),n.after_ajax_request(t),n.masonry_load_more(o),e(window).trigger("resize")},t.prototype.load_scroll_more=function(a,t){var n=this,o=e(a.content),r=0;o.each((function(){(e(this).hasClass("jeg_ad_module")&&n.ad_code&&e(this).find(".ads-wrapper").html(n.ad_code),e(this).hasClass("jeg_post"))?e(this).addClass("jeg_ajax_loaded anim_"+r):e(this).find(".jeg_post").each((function(){e(this).addClass("jeg_ajax_loaded anim_"+r),r++}));r++})),n.container.find(".jeg_post").removeClass("jeg_ajax_loaded"),n.container.find(".jeg_ad_module").removeClass("jeg_ajax_loaded"),1==n.data.current_page?n.container.html("").html(o):n.element.find(".jeg_load_more_flag").append(o),a.next?n.nav_next.removeClass("disabled"):n.nav_next.addClass("disabled"),n.after_ajax_request(t),n.masonry_load_more(o),e(window).trigger("resize"),setTimeout((function(){n.load_scroll()}),500)},t.prototype.masonry_load_more=function(e){var a=this;a.container.find(".jeg_posts_masonry").length&&setTimeout((function(){a.masonry.isotope("appended",e)}),150)},t.prototype.masonry_init=function(){var a=this;a.container.find(".jeg_posts_masonry").length&&(setTimeout((function(){a.masonry=a.container.find(".jeg_posts_masonry .jeg_posts").isotope({itemSelector:".jeg_post",layoutMode:"masonry"}),a.masonry.imagesLoaded().progress((function(){a.masonry.isotope("layout")}))}),150),e(window).on("resize",(function(){setTimeout((function(){a.masonry.isotope("layout")}),1e3)})))};var n=e.fn.jmodule;e.fn.jmodule=function(a){return e(this).each((function(){var n=e(this),o=e.extend({},t.DEFAULTS,n.data(),"object"==typeof a&&a),r=n.data("jeg.module");r||n.data("jeg.module",r=new t(this,o))}))},e.fn.jmodule.Constructor=t,e.fn.jmodule.noConflict=function(){return e.fn.jmodule=n,this},e((function(){e(".jeg_module_hook").jmodule()}))}(jQuery);
// source --> https://history.gospmr.org/wp-content/plugins/wp-smush-pro/app/assets/js/smush-lazy-load.min.js?ver=3.23.4 
!function(){var e={5637:function(e,t,i){"use strict";i.r(t),i.d(t,{AutoResizing:function(){return y},LAZY_BEFORE_SIZES:function(){return l},SMUSH_BEFORE_SIZES:function(){return c}});var n=i(7857);function r(e){return r="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},r(e)}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,r,a,o,s=[],u=!0,l=!1;try{if(a=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;u=!1}else for(;!(u=(n=a.call(i)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){l=!0,r=e}finally{try{if(!u&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(l)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function u(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}var l="lazybeforesizes",c="smush:beforeSizes",d="data-original-sizes",f="data-srcset",v=["gif","jpg","jpeg","png","webp"],h="w",y=function(){return e=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.precision,n=void 0===i?0:i,r=t.skipAutoWidth,a=void 0!==r&&r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.precision=parseInt(n,10),this.precision=isNaN(this.precision)?0:this.precision,this.skipAutoWidth=a,this.initEventListeners()},t=[{key:"initEventListeners",value:function(){var e=this;document.addEventListener(l,function(t){var i;(0,n.G)(null===(i=t.detail)||void 0===i?void 0:i.instance)&&e.maybeAutoResize(t)})}},{key:"maybeAutoResize",value:function(e){var t,i,n,r=e.target,a=null===(t=e.detail)||void 0===t?void 0:t.width;if("IMG"===(null==r?void 0:r.nodeName)&&a)if(null===(i=e.detail)||void 0===i?void 0:i.dataAttr){if(this.isElementEligibleForResizing(r))if(this.shouldRevertToOriginalSizes(r,a))this.revertToOriginalSizesIfNeeded(r)&&e.preventDefault();else{var o=this.triggerEvent(r,c,{resizeWidth:a});if(o.defaultPrevented)this.revertToOriginalSizesIfNeeded(r)&&e.preventDefault();else{a=(null===(n=o.detail)||void 0===n?void 0:n.resizeWidth)||a;var s=this.getDataSrc(r);this.isFromSmushCDN(s)&&(this.resizeImageWithCDN(r,a),this.isChildOfPicture(r)&&this.resizeSourceElements(r.parentNode.querySelectorAll("source"),a))}}}else this.getOriginalSizesAttr(r)||e.preventDefault()}},{key:"shouldAutoResize",value:function(e,t){var i=e.parentNode;if(i&&this.isInlineElement(i)){if("PICTURE"===i.nodeName)return!1;var n=i.clientWidth,r=e.offsetWidth;if(t===n&&n===r)return!1}return!0}},{key:"isInlineElement",value:function(e){if(!e||1!==e.nodeType)return!1;var t=window.getComputedStyle(e).display;return"inline"===t||"inline-block"===t}},{key:"isChildOfPicture",value:function(e){var t;return e&&"PICTURE"===(null==e||null===(t=e.parentNode)||void 0===t?void 0:t.nodeName)}},{key:"resizeSourceElements",value:function(e,t){var i=this;e&&null!=e&&e.length&&e.forEach(function(e){return i.resizeSourceElement(e,t)})}},{key:"resizeSourceElement",value:function(e,t){var i=e.getAttribute(f);if(i){var n=this.parseSrcSet(i);if(n&&n.length)if(1===n.length&&""===n[0].unit)this.resizeNonResponsiveSource(e,n[0].src,t);else{var r=this.getBaseSourceSrcForResize(n,t);this.isFromSmushCDN(r)&&this.updateSrcsetForResize(e,i,r,t,n)}}}},{key:"resizeNonResponsiveSource",value:function(e,t,i){if(this.isFromSmushCDN(t)&&this.isSourceActive(e)){var n=this.getResizedCDNURL(t,i),r=this.getPixelRatio();if(r>1){var a=Math.ceil(i*r),o=this.getResizedCDNURL(t,a)+" "+a+h;n+=" ".concat(i).concat(h,", ").concat(o)}this.updateElementSrcset(e,null,n)}}},{key:"isSourceActive",value:function(e){var t,i=e.getAttribute("media");return!(i&&(null===(t=window)||void 0===t||null===(t=t.matchMedia(i))||void 0===t||!t.matches))}},{key:"getBaseSourceSrcForResize",value:function(e,t){var i=e[0];return h!==i.unit?null:!this.isThumbnail(i.src)||i.value>=t?i.src:null}},{key:"isElementEligibleForResizing",value:function(e){var t=this.getOriginalSizesAttr(e),i=this.getDataSrc(e),n=this.getDataSrcSet(e);return Boolean(t&&i&&n)}},{key:"shouldRevertToOriginalSizes",value:function(e,t){if("auto"===this.getElementWidth(e))return this.shouldSkipAutoWidth();var i=this.getOriginalSizesAttr(e),n=this.getMaxWidthFromSizes(i);return!(!(n&&t>n)||this.isChildOfPicture(e))||!this.shouldAutoResize(e,t)}},{key:"triggerEvent",value:function(e,t){var i=new CustomEvent(t,{detail:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},bubbles:!(arguments.length>3&&void 0!==arguments[3])||arguments[3],cancelable:!(arguments.length>4&&void 0!==arguments[4])||arguments[4]});return e.dispatchEvent(i),i}},{key:"shouldSkipAutoWidth",value:function(){return this.skipAutoWidth}},{key:"resizeImageWithCDN",value:function(e,t){var i=this.getDataSrcSet(e),n=this.getDataSrc(e);if(i&&n){var r=this.parseSrcSet(i),a=this.getBaseImageSrcForResize(n,r,t);this.updateSrcsetForResize(e,i,a,t,r)}}},{key:"updateSrcsetForResize",value:function(e,t,i,n,r){var a=this.updateSrcsetWithTargetWidth(t,i,n,r);a=this.updateSrcsetWithRetinaWidth(a,i,n,r),this.updateElementSrcset(e,t,a)}},{key:"getBaseImageSrcForResize",value:function(e,t,i){if(!this.isThumbnail(e))return e;var n=t.find(function(e){return e.value>=i});return n?n.src:e}},{key:"isThumbnail",value:function(e){return new RegExp("(-\\d+x\\d+)\\.(".concat(v.join("|"),")(?:\\?.+)?$"),"i").test(e)}},{key:"updateSrcsetWithTargetWidth",value:function(e,t,i,n){return this.findSimilarSource(n,i)?e:e+", "+this.getResizedCDNURL(t,i)+" "+i+h}},{key:"updateSrcsetWithRetinaWidth",value:function(e,t,i,n){var r=this.getPixelRatio();if(r<=1)return e;var a=Math.ceil(i*r);return this.findSimilarSource(n,r,"x")||this.findSimilarSource(n,a,h)?e:e+", "+this.getResizedCDNURL(t,a)+" "+a+h}},{key:"updateElementSrcset",value:function(e,t,i){i!==t&&e.setAttribute("data-srcset",i)}},{key:"getPixelRatio",value:function(){return window.devicePixelRatio||1}},{key:"findSimilarSource",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.precision;return e.find(function(e){return n===e.unit&&e.value>=t&&i.isFuzzyMatch(e.value,t,r)})}},{key:"getResizedCDNURL",value:function(e,t){var i=this.parseURL(e);if(i){var n=new URLSearchParams(i.search);n.set("size","".concat(t,"x0"));var r=i.origin+i.pathname;return"".concat(r,"?").concat(n.toString())}}},{key:"parseURL",value:function(e){try{return new URL(e)}catch(e){return null}}},{key:"parseSrcSet",value:function(e){var t=this.extractSourcesFromSrcSet(e);return this.sortSources(t)}},{key:"extractSourcesFromSrcSet",value:function(e){return e.split(",").map(function(e){var t=a(e.trim().split(/\s+/),2),i=t[0],n=t[1],r=0,o="";return n&&(n.endsWith(h)?(r=parseInt(n,10),o=h):n.endsWith("x")&&(r=parseFloat(n),o="x")),{markup:e,src:i,value:r,unit:o}})}},{key:"sortSources",value:function(e){return e.sort(function(e,t){return e.value===t.value?0:e.value>t.value?-1:1}),e}},{key:"revertToOriginalSizesIfNeeded",value:function(e){var t=this.getOriginalSizesAttr(e);return!!t&&(e.setAttribute("sizes",t),e.removeAttribute(d),!0)}},{key:"getElementWidth",value:function(e){var t,i=null===(t=e.style)||void 0===t?void 0:t.width;if(i&&"auto"===i.trim())return"auto";var n=window.getComputedStyle(e).width,r=parseInt(n,10);return isNaN(r)?n:r}},{key:"getMaxWidthFromSizes",value:function(e){var t=e.match(/\(max-width:\s*(\d+)px\)\s*100vw,\s*\1px/);return t?parseInt(t[1],10):0}},{key:"getOriginalSizesAttr",value:function(e){return e.getAttribute(d)}},{key:"getDataSrcSet",value:function(e){return e.getAttribute(f)}},{key:"getDataSrc",value:function(e){return e.getAttribute("data-src")}},{key:"isFromSmushCDN",value:function(e){return e&&e.includes("smushcdn.com")}},{key:"isFuzzyMatch",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.abs(e-t)<=i}}],t&&s(e.prototype,t),i&&s(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,i}();!function(e,t){if(null===(e=window.smushLazyLoadOptions)||void 0===e?void 0:e.autoResizingEnabled){var i=(null===(t=window.smushLazyLoadOptions)||void 0===t?void 0:t.autoResizeOptions)||{};i=Object.assign({precision:5,skipAutoWidth:!0},i),new y(i)}}()},7857:function(e,t,i){"use strict";i.d(t,{G:function(){return a}});var n=i(6879),r=i.n(n),a=function(e){return e===r()||JSON.stringify((null==e?void 0:e.cfg)||{})===JSON.stringify((null===r()||void 0===r()?void 0:r().cfg)||{})};t.A=r()},4885:function(e,t,i){"use strict";i.r(t);var n=i(7857);document.addEventListener("lazybeforeunveil",function(e){var t;(0,n.G)(null==e||null===(t=e.detail)||void 0===t?void 0:t.instance)&&function(e){var t=e.getAttribute("data-bg-image")||e.getAttribute("data-bg"),i=e.hasAttribute("data-bg-image")?"background-image":"background";if(t){var n,r=e.getAttribute("style")||"",a="".concat(i,": ").concat(t,";"),o=new RegExp("".concat(i,"\\s*:\\s*[^;]+;?"));n=o.test(r)?r.replace(o,a):r.length>0?r.replace(/;$/g,"")+";"+a:a,e.setAttribute("style",n.trim())}}(e.target)})},5651:function(e,t,i){"use strict";i.r(t);var n,r,a,o,s,u,l,c=i(7857);function d(e){return d="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},d(e)}function f(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}function v(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==d(t)?t:t+""}r="smush-lazyload-video",a="smush-lazyloaded-video",o="smush-lazyload-autoplay",s="ontouchstart"in window?"touchstart":"pointerdown",u=Number(null===(n=window)||void 0===n?void 0:n.smush_video_render_delay)||0,l=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldDelayVideoRenderingForMobile=this.supportsIntersectionObserver(),this.queuedVideoElements=[],this.isMobileOrSafari=null,this.init()},t=[{key:"init",value:function(){var e=this;document.addEventListener("lazybeforeunveil",function(t){return e.handleVideoLazyLoad(t)}),document.addEventListener(s,function(){return e.enableVideoRenderingForMobile()},{once:!0,passive:!0}),document.addEventListener("DOMContentLoaded",function(){u<=0?document.querySelector(".".concat(r,".").concat(o))&&e.enableVideoRenderingForMobile():setTimeout(function(){return e.enableVideoRenderingForMobile()},u)})}},{key:"handleVideoLazyLoad",value:function(e){var t,i=e.target;(0,c.G)(null==e||null===(t=e.detail)||void 0===t?void 0:t.instance)&&i.classList.contains(r)&&(this.handleButtonPlay(i),this.maybePrepareVideoForPlay(i))}},{key:"handleButtonPlay",value:function(e){var t=this,i=e.querySelector(".".concat("smush-play-btn"));if(i){var n=function(){return t.loadIframeVideoWithAutoPlay(e)};i.addEventListener("click",n),i.addEventListener("keydown",function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n())})}else{var r;this.loadIframeVideo(e),null===(r=window.console)||void 0===r||r.warning("Missing play button [.smush-play-btn] for video element:",e)}}},{key:"maybePrepareVideoForPlay",value:function(e){var t=e.classList.contains(o);this.shouldPrepareIframeForPlay()?this.maybePrepareVideoForMobileAndSafari(e,t):t&&this.loadIframeVideoWithAutoPlay(e)}},{key:"enableVideoRenderingForMobile",value:function(){this.shouldDelayVideoRenderingForMobile&&(this.shouldDelayVideoRenderingForMobile=!1,this.maybeObserveQueuedVideoElements())}},{key:"supportsIntersectionObserver",value:function(){return"IntersectionObserver"in window}},{key:"maybeObserveQueuedVideoElements",value:function(){this.queuedVideoElements.length&&this.observeQueuedVideoElements()}},{key:"observeQueuedVideoElements",value:function(){var e=this,t=new IntersectionObserver(function(i){i.forEach(function(i){if(i.isIntersecting){var n=i.target;e.loadIframeVideo(n),t.unobserve(n)}})},{rootMargin:"0px 0px 200px 0px",threshold:.1});this.queuedVideoElements.forEach(function(e){t.observe(e)})}},{key:"maybePrepareVideoForMobileAndSafari",value:function(e,t){this.shouldDelayVideoRenderingForMobile?this.queuedVideoElements.push(e):this.loadIframeVideo(e,t)}},{key:"shouldPrepareIframeForPlay",value:function(){return null===this.isMobileOrSafari&&(this.isMobileOrSafari=this.checkIfMobileOrSafari()),this.isMobileOrSafari}},{key:"checkIfMobileOrSafari",value:function(){var e=navigator.userAgent;return e.includes("Mobi")||e.includes("Safari")&&!e.includes("Chrome")}},{key:"loadIframeVideo",value:function(e){var t,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e.classList.contains(a)){e.classList.add(a,"loading");var n=e.querySelector("iframe");if(n){var r=null===(t=n.dataset)||void 0===t?void 0:t.src;if(r){if(i){var o=new URL(r);o.searchParams.set("autoplay","1"),o.searchParams.set("playsinline","1"),r=o.toString()}var s=n.getAttribute("allow")||"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture";s.includes("autoplay")||(s+="; autoplay"),n.setAttribute("allow",s),n.setAttribute("allowFullscreen","true"),n.setAttribute("src",r),e.classList.remove("loading")}else{var u;null===(u=window.console)||void 0===u||u.error("Missing data-src attribute for iframe:",n)}}else{var l;null===(l=window.console)||void 0===l||l.error("Missing iframe element in video wrapper:",e)}}}},{key:"loadIframeVideoWithAutoPlay",value:function(e){this.loadIframeVideo(e,!0)}}],t&&f(e.prototype,t),i&&f(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,i}(),new l},6879:function(e){!function(t){var i=function(e,t,i){"use strict";var n,r;if(function(){var t,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in r=e.lazySizesConfig||e.lazysizesConfig||{},i)t in r||(r[t]=i[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var a=t.documentElement,o=e.HTMLPictureElement,s="addEventListener",u="getAttribute",l=e[s].bind(e),c=e.setTimeout,d=e.requestAnimationFrame||c,f=e.requestIdleCallback,v=/^picture$/i,h=["load","error","lazyincluded","_lazyloaded"],y={},m=Array.prototype.forEach,g=function(e,t){return y[t]||(y[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),y[t].test(e[u]("class")||"")&&y[t]},p=function(e,t){g(e,t)||e.setAttribute("class",(e[u]("class")||"").trim()+" "+t)},b=function(e,t){var i;(i=g(e,t))&&e.setAttribute("class",(e[u]("class")||"").replace(i," "))},S=function(e,t,i){var n=i?s:"removeEventListener";i&&S(e,t),h.forEach(function(i){e[n](i,t)})},z=function(e,i,r,a,o){var s=t.createEvent("Event");return r||(r={}),r.instance=n,s.initEvent(i,!a,!o),s.detail=r,e.dispatchEvent(s),s},w=function(t,i){var n;!o&&(n=e.picturefill||r.pf)?(i&&i.src&&!t[u]("srcset")&&t.setAttribute("srcset",i.src),n({reevaluate:!0,elements:[t]})):i&&i.src&&(t.src=i.src)},E=function(e,t){return(getComputedStyle(e,null)||{})[t]},A=function(e,t,i){for(i=i||e.offsetWidth;i<r.minSize&&t&&!e._lazysizesWidth;)i=t.offsetWidth,t=t.parentNode;return i},k=(pe=[],be=[],Se=pe,ze=function(){var e=Se;for(Se=pe.length?be:pe,me=!0,ge=!1;e.length;)e.shift()();me=!1},we=function(e,i){me&&!i?e.apply(this,arguments):(Se.push(e),ge||(ge=!0,(t.hidden?c:d)(ze)))},we._lsFlush=ze,we),C=function(e,t){return t?function(){k(e)}:function(){var t=this,i=arguments;k(function(){e.apply(t,i)})}},R=function(e){var t,n=0,a=r.throttleDelay,o=r.ricTimeout,s=function(){t=!1,n=i.now(),e()},u=f&&o>49?function(){f(s,{timeout:o}),o!==r.ricTimeout&&(o=r.ricTimeout)}:C(function(){c(s)},!0);return function(e){var r;(e=!0===e)&&(o=33),t||(t=!0,(r=a-(i.now()-n))<0&&(r=0),e||r<9?u():c(u,r))}},M=function(e){var t,n,r=99,a=function(){t=null,e()},o=function(){var e=i.now()-n;e<r?c(o,r-e):(f||a)(a)};return function(){n=i.now(),t||(t=c(o,r))}},O=(Q=/^img$/i,Z=/^iframe$/i,J="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),Y=0,K=0,X=0,ee=-1,te=function(e){X--,(!e||X<0||!e.target)&&(X=0)},ie=function(e){return null==G&&(G="hidden"==E(t.body,"visibility")),G||!("hidden"==E(e.parentNode,"visibility")&&"hidden"==E(e,"visibility"))},ne=function(e,i){var n,r=e,o=ie(e);for(U-=i,H+=i,q-=i,$+=i;o&&(r=r.offsetParent)&&r!=t.body&&r!=a;)(o=(E(r,"opacity")||1)>0)&&"visible"!=E(r,"overflow")&&(n=r.getBoundingClientRect(),o=$>n.left&&q<n.right&&H>n.top-1&&U<n.bottom+1);return o},re=function(){var e,i,o,s,l,c,d,f,v,h,y,m,g=n.elements;if((T=r.loadMode)&&X<8&&(e=g.length)){for(i=0,ee++;i<e;i++)if(g[i]&&!g[i]._lazyRace)if(!J||n.prematureUnveil&&n.prematureUnveil(g[i]))fe(g[i]);else if((f=g[i][u]("data-expand"))&&(c=1*f)||(c=K),h||(h=!r.expand||r.expand<1?a.clientHeight>500&&a.clientWidth>500?500:370:r.expand,n._defEx=h,y=h*r.expFactor,m=r.hFac,G=null,K<y&&X<1&&ee>2&&T>2&&!t.hidden?(K=y,ee=0):K=T>1&&ee>1&&X<6?h:Y),v!==c&&(j=innerWidth+c*m,B=innerHeight+c,d=-1*c,v=c),o=g[i].getBoundingClientRect(),(H=o.bottom)>=d&&(U=o.top)<=B&&($=o.right)>=d*m&&(q=o.left)<=j&&(H||$||q||U)&&(r.loadHidden||ie(g[i]))&&(D&&X<3&&!f&&(T<3||ee<4)||ne(g[i],c))){if(fe(g[i]),l=!0,X>9)break}else!l&&D&&!s&&X<4&&ee<4&&T>2&&(x[0]||r.preloadAfterLoad)&&(x[0]||!f&&(H||$||q||U||"auto"!=g[i][u](r.sizesAttr)))&&(s=x[0]||g[i]);s&&!l&&fe(s)}},ae=R(re),oe=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(te(e),p(t,r.loadedClass),b(t,r.loadingClass),S(t,ue),z(t,"lazyloaded"))},se=C(oe),ue=function(e){se({target:e.target})},le=function(e,t){var i=e.getAttribute("data-load-mode")||r.iframeLoadMode;0==i?e.contentWindow.location.replace(t):1==i&&(e.src=t)},ce=function(e){var t,i=e[u](r.srcsetAttr);(t=r.customMedia[e[u]("data-media")||e[u]("media")])&&e.setAttribute("media",t),i&&e.setAttribute("srcset",i)},de=C(function(e,t,i,n,a){var o,s,l,d,f,h;(f=z(e,"lazybeforeunveil",t)).defaultPrevented||(n&&(i?p(e,r.autosizesClass):e.setAttribute("sizes",n)),s=e[u](r.srcsetAttr),o=e[u](r.srcAttr),a&&(d=(l=e.parentNode)&&v.test(l.nodeName||"")),h=t.firesLoad||"src"in e&&(s||o||d),f={target:e},p(e,r.loadingClass),h&&(clearTimeout(_),_=c(te,2500),S(e,ue,!0)),d&&m.call(l.getElementsByTagName("source"),ce),s?e.setAttribute("srcset",s):o&&!d&&(Z.test(e.nodeName)?le(e,o):e.src=o),a&&(s||d)&&w(e,{src:o})),e._lazyRace&&delete e._lazyRace,b(e,r.lazyClass),k(function(){var t=e.complete&&e.naturalWidth>1;h&&!t||(t&&p(e,r.fastLoadedClass),oe(f),e._lazyCache=!0,c(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&X--},!0)}),fe=function(e){if(!e._lazyRace){var t,i=Q.test(e.nodeName),n=i&&(e[u](r.sizesAttr)||e[u]("sizes")),a="auto"==n;(!a&&D||!i||!e[u]("src")&&!e.srcset||e.complete||g(e,r.errorClass)||!g(e,r.lazyClass))&&(t=z(e,"lazyunveilread").detail,a&&L.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,X++,de(e,t,a,n,i))}},ve=M(function(){r.loadMode=3,ae()}),he=function(){3==r.loadMode&&(r.loadMode=2),ve()},ye=function(){D||(i.now()-V<999?c(ye,999):(D=!0,r.loadMode=3,ae(),l("scroll",he,!0)))},{_:function(){V=i.now(),n.elements=t.getElementsByClassName(r.lazyClass),x=t.getElementsByClassName(r.lazyClass+" "+r.preloadClass),l("scroll",ae,!0),l("resize",ae,!0),l("pageshow",function(e){if(e.persisted){var i=t.querySelectorAll("."+r.loadingClass);i.length&&i.forEach&&d(function(){i.forEach(function(e){e.complete&&fe(e)})})}}),e.MutationObserver?new MutationObserver(ae).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a[s]("DOMNodeInserted",ae,!0),a[s]("DOMAttrModified",ae,!0),setInterval(ae,999)),l("hashchange",ae,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[s](e,ae,!0)}),/d$|^c/.test(t.readyState)?ye():(l("load",ye),t[s]("DOMContentLoaded",ae),c(ye,2e4)),n.elements.length?(re(),k._lsFlush()):ae()},checkElems:ae,unveil:fe,_aLSL:he}),L=(P=C(function(e,t,i,n){var r,a,o;if(e._lazysizesWidth=n,n+="px",e.setAttribute("sizes",n),v.test(t.nodeName||""))for(a=0,o=(r=t.getElementsByTagName("source")).length;a<o;a++)r[a].setAttribute("sizes",n);i.detail.dataAttr||w(e,i.detail)}),I=function(e,t,i){var n,r=e.parentNode;r&&(i=A(e,r,i),(n=z(e,"lazybeforesizes",{width:i,dataAttr:!!t})).defaultPrevented||(i=n.detail.width)&&i!==e._lazysizesWidth&&P(e,r,n,i))},W=M(function(){var e,t=F.length;if(t)for(e=0;e<t;e++)I(F[e])}),{_:function(){F=t.getElementsByClassName(r.autosizesClass),l("resize",W)},checkElems:W,updateElem:I}),N=function(){!N.i&&t.getElementsByClassName&&(N.i=!0,L._(),O._())};var F,P,I,W;var x,D,_,T,V,j,B,U,q,$,H,G,Q,Z,J,Y,K,X,ee,te,ie,ne,re,ae,oe,se,ue,le,ce,de,fe,ve,he,ye;var me,ge,pe,be,Se,ze,we;return c(function(){r.init&&N()}),n={cfg:r,autoSizer:L,loader:O,init:N,uP:w,aC:p,rC:b,hC:g,fire:z,gW:A,rAF:k}}(t,t.document,Date);t.lazySizes=i,e.exports&&(e.exports=i)}("undefined"!=typeof window?window:{})}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,i),a.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e=window.lazySizesConfig||null;e&&delete window.lazySizesConfig;var t=i(7857);i(4885),i(5651),i(5637),t.A.init(),e?window.lazySizesConfig=e:"lazySizesConfig"in window&&delete window.lazySizesConfig}()}();
//# sourceMappingURL=smush-lazy-load.min.js.map;
// source --> https://history.gospmr.org/wp-content/plugins/jnews-social-share/assets/js/plugin.js 
!function(e){"use strict";window.jnews.selectShare=window.jnews.selectShare||{},window.jnews.share=window.jnews.share||{},window.jnews.selectShare={init:function(t){let n=this;n.container=void 0===t?e("body"):t,n.menu=e("#selectShareContainer"),n.menuInner=n.menu.find(".selectShare-inner"),n.menuButton=n.menuInner.find("button"),n.selected_text="",this.setEvent()},setEvent:function(){let t=this;t.container.on("mousedown vmousedown",(function(e){t.handleMouseDown(e)})),t.container.on("mouseup vmouseup",(function(){t.handleSelection()})),document.addEventListener("selectionchange",(function(){t.hasGetSelection()}),!1),t.menuButton.on("click",(function(n){n.preventDefault(),t.buttonClick(e(this))}))},buttonClick:function(e){var t=e.attr("class").split(" ")[1].replace("jeg_btn-",""),n=e.attr("data-url").replace("[selected_text]",this.selected_text);jnews_select_share.is_customize_preview||window.open(n,t,"width=575,height=430,toolbar=false,menubar=false,location=false,status=false")},handleMouseDown:function(t){1!=e(t.target).parents(".content-inner").length&&1!=e(t.target).parents(".entry-header").length&&(window.getSelection().empty&&window.getSelection().empty(),window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges())},replaceData:function(){this.menuButton.each((function(){var t=e(this).attr("data-post-url")?e(this).attr("data-post-url"):null,n=e(this).attr("data-image-url")?e(this).attr("data-image-url"):null,a=(e(this).attr("data-title")&&e(this).attr("data-title"),e(this).attr("data-url"));a.indexOf("[image_url]")&&(e(this).attr("data-url",a.replace("[image_url]",n)),a=e(this).attr("data-url")),a.indexOf("[url]")&&(e(this).attr("data-url",a.replace("[url]",t)),a=e(this).attr("data-url"))}))},handleSelection:function(){let t=this;var n;if(window.getSelection?n=window.getSelection():document.selection&&(n=document.selection.createRange()),!(n.rangeCount<=0)){var a=n.getRangeAt(0);if(a&&n.toString()){if(t.selected_text=encodeURIComponent(n.toString()),t.replaceData(),1!=e(n.baseNode||n.anchorNode).parents(".content-inner").length)return;var i=a.getBoundingClientRect();if(i.left||i.top)return t.menuInner.css({left:i.left+i.width/2-t.menuInner.width()/2,top:i.top+window.pageYOffset-t.menuInner.height()-11,display:"block",opacity:0}).animate({opacity:1},100),void setTimeout((function(){t.menuInner.addClass("select_share_menu_animate")}),10)}t.menuInner.animate({opacity:0},(function(){t.menuInner.hide().removeClass("select_share_menu_animate")}))}},hasGetSelection:function(){let e=this;var t=window.getSelection().toString();""!=t&&(e.selected_text=t)}},window.jnews.share={init:function(t){void 0===t&&(t=e("body")),t.find(".jeg_sharelist a, .jeg_post_share a").off("click.share").on("click.share",(function(t){var n=e(this);if(n.hasClass("jeg_btn-email")||n.hasClass("jeg_btn-whatsapp")||n.hasClass("jeg_btn-line"))window.open(n.attr("href"));else{t.preventDefault();var a=n.attr("href");if(n.hasClass("jeg_btn-toggle"))e(this).parents(".jeg_share_button").toggleClass("show-secondary");else n.hasClass("jeg_btn-stumbleupon")?window.open(a,"","height=730,width=560"):n.hasClass("jeg_btn-qrcode")||n.hasClass("jeg_btn-wechat")?e.magnificPopup.open({items:[{src:a}],type:"image"}):window.open(a,"","height=570,width=750")}}))}},e(document).on("jnews-ajax-load",(function(e,t){jnews.share.init(t),jnews.selectShare.init(t)})),e((function(){jnews.share.init(),jnews.selectShare.init()}))}(jQuery);
// source --> https://history.gospmr.org/wp-content/plugins/elementor-pro/assets/lib/smartmenus/jquery.smartmenus.min.js?ver=1.2.1 
/*! SmartMenus jQuery Plugin - v1.2.1 - November 3, 2022
 * http://www.smartmenus.org/
 * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){function b(b){var i=".smartmenus_mouse";if(h||b)h&&b&&(a(document).off(i),h=!1);else{var j=!0,k=null,l={mousemove:function(b){var c={x:b.pageX,y:b.pageY,timeStamp:(new Date).getTime()};if(k){var d=Math.abs(k.x-c.x),g=Math.abs(k.y-c.y);if((d>0||g>0)&&d<=4&&g<=4&&c.timeStamp-k.timeStamp<=300&&(f=!0,j)){var h=a(b.target).closest("a");h.is("a")&&a.each(e,function(){if(a.contains(this.$root[0],h[0]))return this.itemEnter({currentTarget:h[0]}),!1}),j=!1}}k=c}};l[g?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(a){c(a.originalEvent)&&(f=!1)},a(document).on(d(l,i)),h=!0}}function c(a){return!/^(4|mouse)$/.test(a.pointerType)}function d(a,b){b||(b="");var c={};for(var d in a)c[d.split(" ").join(b+" ")+b]=a[d];return c}var e=[],f=!1,g="ontouchstart"in window,h=!1,i=window.requestAnimationFrame||function(a){return setTimeout(a,1e3/60)},j=window.cancelAnimationFrame||function(a){clearTimeout(a)},k=!!a.fn.animate;return a.SmartMenus=function(b,c){this.$root=a(b),this.opts=c,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in b.style||"webkitPerspective"in b.style,this.wasCollapsible=!1,this.init()},a.extend(a.SmartMenus,{hideAll:function(){a.each(e,function(){this.menuHideAll()})},destroy:function(){for(;e.length;)e[0].destroy();b(!0)},prototype:{init:function(c){var f=this;if(!c){e.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var g=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(d({"mouseover focusin":a.proxy(this.rootOver,this),"mouseout focusout":a.proxy(this.rootOut,this),keydown:a.proxy(this.rootKeyDown,this)},g)).on(d({mouseenter:a.proxy(this.itemEnter,this),mouseleave:a.proxy(this.itemLeave,this),mousedown:a.proxy(this.itemDown,this),focus:a.proxy(this.itemFocus,this),blur:a.proxy(this.itemBlur,this),click:a.proxy(this.itemClick,this)},g),"a"),g+=this.rootId,this.opts.hideOnClick&&a(document).on(d({touchstart:a.proxy(this.docTouchStart,this),touchmove:a.proxy(this.docTouchMove,this),touchend:a.proxy(this.docTouchEnd,this),click:a.proxy(this.docClick,this)},g)),a(window).on(d({"resize orientationchange":a.proxy(this.winResize,this)},g)),this.opts.subIndicators&&(this.$subArrow=a("<span/>").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),b()}if(this.$firstSub=this.$root.find("ul").each(function(){f.menuInit(a(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var h=/(index|default)\.[^#\?\/]*/i,i=/#.*/,j=window.location.href.replace(h,""),k=j.replace(i,"");this.$root.find("a:not(.mega-menu a)").each(function(){var b=this.href.replace(h,""),c=a(this);b!=j&&b!=k||(c.addClass("current"),f.opts.markCurrentTree&&c.parentsUntil("[data-smartmenus-id]","ul").each(function(){a(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(b){if(!b){var c=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(c),c+=this.rootId,a(document).off(c),a(window).off(c),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var d=this;this.$root.find("ul").each(function(){var b=a(this);b.dataSM("scroll-arrows")&&b.dataSM("scroll-arrows").remove(),b.dataSM("shown-before")&&((d.opts.subMenusMinWidth||d.opts.subMenusMaxWidth)&&b.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),b.dataSM("scroll-arrows")&&b.dataSM("scroll-arrows").remove(),b.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(b.attr("id")||"").indexOf(d.accessIdPrefix)&&b.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var b=a(this);0==b.attr("id").indexOf(d.accessIdPrefix)&&b.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),b||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),e.splice(a.inArray(this,e),1))},disable:function(b){if(!this.disabled){if(this.menuHideAll(),!b&&!this.opts.isPopup&&this.$root.is(":visible")){var c=this.$root.offset();this.$disableOverlay=a('<div class="sm-jquery-disable-overlay"/>').css({position:"absolute",top:c.top,left:c.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(b){return this.$touchScrollingSub?void(this.$touchScrollingSub=null):void((this.visibleSubMenus.length&&!a.contains(this.$root[0],b.target)||a(b.target).closest("a").length)&&this.menuHideAll())},docTouchEnd:function(b){if(this.lastTouch){if(this.visibleSubMenus.length&&(void 0===this.lastTouch.x2||this.lastTouch.x1==this.lastTouch.x2)&&(void 0===this.lastTouch.y2||this.lastTouch.y1==this.lastTouch.y2)&&(!this.lastTouch.target||!a.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var c=this;this.hideTimeout=setTimeout(function(){c.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(a){if(this.lastTouch){var b=a.originalEvent.touches[0];this.lastTouch.x2=b.pageX,this.lastTouch.y2=b.pageY}},docTouchStart:function(a){var b=a.originalEvent.touches[0];this.lastTouch={x1:b.pageX,y1:b.pageY,target:b.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(b){for(var c=a(b).closest("ul");c.dataSM("in-mega");)c=c.parent().closest("ul");return c[0]||null},getHeight:function(a){return this.getOffset(a,!0)},getOffset:function(a,b){var c;"none"==a.css("display")&&(c={position:a[0].style.position,visibility:a[0].style.visibility},a.css({position:"absolute",visibility:"hidden"}).show());var d=a[0].getBoundingClientRect&&a[0].getBoundingClientRect(),e=d&&(b?d.height||d.bottom-d.top:d.width||d.right-d.left);return e||0===e||(e=b?a[0].offsetHeight:a[0].offsetWidth),c&&a.hide().css(c),e},getStartZIndex:function(a){var b=parseInt(this[a?"$root":"$firstSub"].css("z-index"));return!a&&isNaN(b)&&(b=parseInt(this.$root.css("z-index"))),isNaN(b)?1:b},getTouchPoint:function(a){return a.touches&&a.touches[0]||a.changedTouches&&a.changedTouches[0]||a},getViewport:function(a){var b=a?"Height":"Width",c=document.documentElement["client"+b],d=window["inner"+b];return d&&(c=Math.min(c,d)),c},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(a){return this.getOffset(a)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(a){return this.handleEvents()&&!this.isLinkInMegaMenu(a)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var b="fixed"==this.$root.css("position");return b||this.$root.parentsUntil("body").each(function(){if("fixed"==a(this).css("position"))return b=!0,!1}),b},isLinkInMegaMenu:function(b){return a(this.getClosestMenu(b[0])).hasClass("mega-menu")},isTouchMode:function(){return!f||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(b,c){var d=b.closest("ul"),e=d.dataSM("level");if(e>1&&(!this.activatedItems[e-2]||this.activatedItems[e-2][0]!=d.dataSM("parent-a")[0])){var f=this;a(d.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(d).each(function(){f.itemActivate(a(this).dataSM("parent-a"))})}if(this.isCollapsible()&&!c||this.menuHideSubMenus(this.activatedItems[e-1]&&this.activatedItems[e-1][0]==b[0]?e:e-1),this.activatedItems[e-1]=b,this.$root.triggerHandler("activate.smapi",b[0])!==!1){var g=b.dataSM("sub");g&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(g)}},itemBlur:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&this.$root.triggerHandler("blur.smapi",c[0])},itemClick:function(b){var c=a(b.currentTarget);if(this.handleItemEvents(c)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==c.closest("ul")[0])return this.$touchScrollingSub=null,b.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",c[0])===!1)return!1;var d=c.dataSM("sub"),e=!!d&&2==d.dataSM("level");if(d){var f=a(b.target).is(".sub-arrow"),g=this.isCollapsible(),h=/toggle$/.test(this.opts.collapsibleBehavior),i=/link$/.test(this.opts.collapsibleBehavior),j=/^accordion/.test(this.opts.collapsibleBehavior);if(d.is(":visible")){if(!g&&this.opts.showOnClick&&e)return this.menuHide(d),this.clickActivated=!1,this.focusActivated=!1,!1;if(g&&(h||f))return this.itemActivate(c,j),this.menuHide(d),!1}else if((!i||!g||f)&&(!g&&this.opts.showOnClick&&e&&(this.clickActivated=!0),this.itemActivate(c,j),d.is(":visible")))return this.focusActivated=!0,!1}return!(!g&&this.opts.showOnClick&&e||c.hasClass("disabled")||this.$root.triggerHandler("select.smapi",c[0])===!1)&&void 0}},itemDown:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&c.dataSM("mousedown",!0)},itemEnter:function(b){var c=a(b.currentTarget);if(this.handleItemEvents(c)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var d=this;this.showTimeout=setTimeout(function(){d.itemActivate(c)},this.opts.showOnClick&&1==c.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",c[0])}},itemFocus:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&(!this.focusActivated||this.isTouchMode()&&c.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==c[0]||this.itemActivate(c,!0),this.$root.triggerHandler("focus.smapi",c[0]))},itemLeave:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&(this.isTouchMode()||(c[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),c.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",c[0]))},menuHide:function(b){if(this.$root.triggerHandler("beforehide.smapi",b[0])!==!1&&(k&&b.stop(!0,!0),"none"!=b.css("display"))){var c=function(){b.css("z-index","")};this.isCollapsible()?k&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,b,c):b.hide(this.opts.collapsibleHideDuration,c):k&&this.opts.hideFunction?this.opts.hideFunction.call(this,b,c):b.hide(this.opts.hideDuration,c),b.dataSM("scroll")&&(this.menuScrollStop(b),b.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),b.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),b.attr({"aria-expanded":"false","aria-hidden":"true"});var d=b.dataSM("level");this.activatedItems.splice(d-1,1),this.visibleSubMenus.splice(a.inArray(b,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",b[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var a=this.opts.isPopup?1:0,b=this.visibleSubMenus.length-1;b>=a;b--)this.menuHide(this.visibleSubMenus[b]);this.opts.isPopup&&(k&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(k&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(a){for(var b=this.activatedItems.length-1;b>=a;b--){var c=this.activatedItems[b].dataSM("sub");c&&this.menuHide(c)}},menuInit:function(a){if(!a.dataSM("in-mega")){a.hasClass("mega-menu")&&a.find("ul").dataSM("in-mega",!0);for(var b=2,c=a[0];(c=c.parentNode.parentNode)!=this.$root[0];)b++;var d=a.prevAll("a").eq(-1);d.length||(d=a.prevAll().find("a").eq(-1)),d.addClass("has-submenu").dataSM("sub",a),a.dataSM("parent-a",d).dataSM("level",b).parent().dataSM("sub",a);var e=d.attr("id")||this.accessIdPrefix+ ++this.idInc,f=a.attr("id")||this.accessIdPrefix+ ++this.idInc;d.attr({id:e,"aria-haspopup":"true","aria-controls":f,"aria-expanded":"false"}),a.attr({id:f,role:"group","aria-hidden":"true","aria-labelledby":e,"aria-expanded":"false"}),this.opts.subIndicators&&d[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(b){var c,e,f=b.dataSM("parent-a"),h=f.closest("li"),i=h.parent(),j=b.dataSM("level"),k=this.getWidth(b),l=this.getHeight(b),m=f.offset(),n=m.left,o=m.top,p=this.getWidth(f),q=this.getHeight(f),r=a(window),s=r.scrollLeft(),t=r.scrollTop(),u=this.getViewportWidth(),v=this.getViewportHeight(),w=i.parent().is("[data-sm-horizontal-sub]")||2==j&&!i.hasClass("sm-vertical"),x=this.opts.rightToLeftSubMenus&&!h.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&h.is("[data-sm-reverse]"),y=2==j?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,z=2==j?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(w?(c=x?p-k-y:y,e=this.opts.bottomToTopSubMenus?-l-z:q+z):(c=x?y-k:p-y,e=this.opts.bottomToTopSubMenus?q-z-l:z),this.opts.keepInViewport){var A=n+c,B=o+e;if(x&&A<s?c=w?s-A+c:p-y:!x&&A+k>s+u&&(c=w?s+u-k-A+c:y-k),w||(l<v&&B+l>t+v?e+=t+v-l-B:(l>=v||B<t)&&(e+=t-B)),w&&(B+l>t+v+.49||B<t)||!w&&l>v+.49){var C=this;b.dataSM("scroll-arrows")||b.dataSM("scroll-arrows",a([a('<span class="scroll-up"><span class="scroll-up-arrow"></span></span>')[0],a('<span class="scroll-down"><span class="scroll-down-arrow"></span></span>')[0]]).on({mouseenter:function(){b.dataSM("scroll").up=a(this).hasClass("scroll-up"),C.menuScroll(b)},mouseleave:function(a){C.menuScrollStop(b),C.menuScrollOut(b,a)},"mousewheel DOMMouseScroll":function(a){a.preventDefault()}}).insertAfter(b));var D=".smartmenus_scroll";if(b.dataSM("scroll",{y:this.cssTransforms3d?0:e-q,step:1,itemH:q,subH:l,arrowDownH:this.getHeight(b.dataSM("scroll-arrows").eq(1))}).on(d({mouseover:function(a){C.menuScrollOver(b,a)},mouseout:function(a){C.menuScrollOut(b,a)},"mousewheel DOMMouseScroll":function(a){C.menuScrollMousewheel(b,a)}},D)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:c+(parseInt(b.css("border-left-width"))||0),width:k-(parseInt(b.css("border-left-width"))||0)-(parseInt(b.css("border-right-width"))||0),zIndex:b.css("z-index")}).eq(w&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var E={};E[g?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(a){C.menuScrollTouch(b,a)},b.css({"touch-action":"none","-ms-touch-action":"none"}).on(d(E,D))}}}b.css({top:"auto",left:"0",marginLeft:c,marginTop:e-q})},menuScroll:function(a,b,c){var d,e=a.dataSM("scroll"),g=a.dataSM("scroll-arrows"),h=e.up?e.upEnd:e.downEnd;if(!b&&e.momentum){if(e.momentum*=.92,d=e.momentum,d<.5)return void this.menuScrollStop(a)}else d=c||(b||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(e.step));var j=a.dataSM("level");if(this.activatedItems[j-1]&&this.activatedItems[j-1].dataSM("sub")&&this.activatedItems[j-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(j-1),e.y=e.up&&h<=e.y||!e.up&&h>=e.y?e.y:Math.abs(h-e.y)>d?e.y+(e.up?d:-d):h,a.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+e.y+"px, 0)",transform:"translate3d(0, "+e.y+"px, 0)"}:{marginTop:e.y}),f&&(e.up&&e.y>e.downEnd||!e.up&&e.y<e.upEnd)&&g.eq(e.up?1:0).show(),e.y==h)f&&g.eq(e.up?0:1).hide(),this.menuScrollStop(a);else if(!b){this.opts.scrollAccelerate&&e.step<this.opts.scrollStep&&(e.step+=.2);var k=this;this.scrollTimeout=i(function(){k.menuScroll(a)})}},menuScrollMousewheel:function(a,b){if(this.getClosestMenu(b.target)==a[0]){b=b.originalEvent;var c=(b.wheelDelta||-b.detail)>0;a.dataSM("scroll-arrows").eq(c?0:1).is(":visible")&&(a.dataSM("scroll").up=c,this.menuScroll(a,!0))}b.preventDefault()},menuScrollOut:function(b,c){f&&(/^scroll-(up|down)/.test((c.relatedTarget||"").className)||(b[0]==c.relatedTarget||a.contains(b[0],c.relatedTarget))&&this.getClosestMenu(c.relatedTarget)==b[0]||b.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(b,c){if(f&&!/^scroll-(up|down)/.test(c.target.className)&&this.getClosestMenu(c.target)==b[0]){this.menuScrollRefreshData(b);var d=b.dataSM("scroll"),e=a(window).scrollTop()-b.dataSM("parent-a").offset().top-d.itemH;b.dataSM("scroll-arrows").eq(0).css("margin-top",e).end().eq(1).css("margin-top",e+this.getViewportHeight()-d.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(b){var c=b.dataSM("scroll"),d=a(window).scrollTop()-b.dataSM("parent-a").offset().top-c.itemH;this.cssTransforms3d&&(d=-(parseFloat(b.css("margin-top"))-d)),a.extend(c,{upEnd:d,downEnd:d+this.getViewportHeight()-c.subH})},menuScrollStop:function(a){if(this.scrollTimeout)return j(this.scrollTimeout),this.scrollTimeout=0,a.dataSM("scroll").step=1,!0},menuScrollTouch:function(b,d){if(d=d.originalEvent,c(d)){var e=this.getTouchPoint(d);if(this.getClosestMenu(e.target)==b[0]){var f=b.dataSM("scroll");if(/(start|down)$/i.test(d.type))this.menuScrollStop(b)?(d.preventDefault(),this.$touchScrollingSub=b):this.$touchScrollingSub=null,this.menuScrollRefreshData(b),a.extend(f,{touchStartY:e.pageY,touchStartTime:d.timeStamp});else if(/move$/i.test(d.type)){var g=void 0!==f.touchY?f.touchY:f.touchStartY;if(void 0!==g&&g!=e.pageY){this.$touchScrollingSub=b;var h=g<e.pageY;void 0!==f.up&&f.up!=h&&a.extend(f,{touchStartY:e.pageY,touchStartTime:d.timeStamp}),a.extend(f,{up:h,touchY:e.pageY}),this.menuScroll(b,!0,Math.abs(e.pageY-g))}d.preventDefault()}else void 0!==f.touchY&&((f.momentum=15*Math.pow(Math.abs(e.pageY-f.touchStartY)/(d.timeStamp-f.touchStartTime),2))&&(this.menuScrollStop(b),this.menuScroll(b),d.preventDefault()),delete f.touchY)}}},menuShow:function(a){if((a.dataSM("beforefirstshowfired")||(a.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",a[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",a[0])!==!1&&(a.dataSM("shown-before",!0),k&&a.stop(!0,!0),!a.is(":visible"))){var b=a.dataSM("parent-a"),c=this.isCollapsible();if((this.opts.keepHighlighted||c)&&b.addClass("highlighted"),c)a.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(a.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(a.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&a.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var d=this.getWidth(a);a.css("max-width",this.opts.subMenusMaxWidth),d>this.getWidth(a)&&a.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(a)}var e=function(){a.css("overflow","")};c?k&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,a,e):a.show(this.opts.collapsibleShowDuration,e):k&&this.opts.showFunction?this.opts.showFunction.call(this,a,e):a.show(this.opts.showDuration,e),b.attr("aria-expanded","true"),a.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(a),this.$root.triggerHandler("show.smapi",a[0])}},popupHide:function(a){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var b=this;this.hideTimeout=setTimeout(function(){b.menuHideAll()},a?1:this.opts.hideTimeout)},popupShow:function(a,b){if(!this.opts.isPopup)return void alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.');if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),k&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:a,top:b});var c=this,d=function(){c.$root.css("overflow","")};k&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,d):this.$root.show(this.opts.showDuration,d),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(b){if(this.handleEvents())switch(b.keyCode){case 27:var c=this.activatedItems[0];if(c){this.menuHideAll(),c[0].focus();var d=c.dataSM("sub");d&&this.menuHide(d)}break;case 32:var e=a(b.target);if(e.is("a")&&this.handleItemEvents(e)){var d=e.dataSM("sub");d&&!d.is(":visible")&&(this.itemClick({currentTarget:b.target}),b.preventDefault())}}},rootOut:function(a){if(this.handleEvents()&&!this.isTouchMode()&&a.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var b=this;this.hideTimeout=setTimeout(function(){b.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(a){this.handleEvents()&&!this.isTouchMode()&&a.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(a){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==a.type){var b=this.isCollapsible();this.wasCollapsible&&b||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=b}}else if(this.$disableOverlay){var c=this.$root.offset();this.$disableOverlay.css({top:c.top,left:c.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),a.fn.dataSM=function(a,b){return b?this.data(a+"_smartmenus",b):this.data(a+"_smartmenus")},a.fn.removeDataSM=function(a){return this.removeData(a+"_smartmenus")},a.fn.smartmenus=function(b){if("string"==typeof b){var c=arguments,d=b;return Array.prototype.shift.call(c),this.each(function(){var b=a(this).data("smartmenus");b&&b[d]&&b[d].apply(b,c)})}return this.each(function(){var c=a(this).data("sm-options")||null;c&&"object"!=typeof c&&(c=null,alert('ERROR\n\nSmartMenus jQuery init:\nThe value of the "data-sm-options" attribute must be valid JSON.')),c&&a.each(["showFunction","hideFunction","collapsibleShowFunction","collapsibleHideFunction"],function(){this in c&&delete c[this]}),new a.SmartMenus(this,a.extend({},a.fn.smartmenus.defaults,b,c))})},a.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(a,b){a.fadeOut(200,b)},collapsibleShowDuration:0,collapsibleShowFunction:function(a,b){a.slideDown(200,b)},collapsibleHideDuration:0,collapsibleHideFunction:function(a,b){a.slideUp(200,b)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},a});
// source --> https://history.gospmr.org/wp-content/plugins/elementor-pro/assets/js/webpack-pro.runtime.min.js?ver=4.0.1 
/*! elementor-pro - v4.0.0 - 01-04-2026 */
(()=>{"use strict";var e,r,a,n={},c={};function __webpack_require__(e){var r=c[e];if(void 0!==r)return r.exports;var a=c[e]={exports:{}};return n[e](a,a.exports,__webpack_require__),a.exports}__webpack_require__.m=n,e=[],__webpack_require__.O=(r,a,n,c)=>{if(!a){var b=1/0;for(o=0;o<e.length;o++){for(var[a,n,c]=e[o],i=!0,t=0;t<a.length;t++)(!1&c||b>=c)&&Object.keys(__webpack_require__.O).every(e=>__webpack_require__.O[e](a[t]))?a.splice(t--,1):(i=!1,c<b&&(b=c));if(i){e.splice(o--,1);var _=n();void 0!==_&&(r=_)}}return r}c=c||0;for(var o=e.length;o>0&&e[o-1][2]>c;o--)e[o]=e[o-1];e[o]=[a,n,c]},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((r,a)=>(__webpack_require__.f[a](e,r),r),[])),__webpack_require__.u=e=>635===e?"code-highlight.38ec4828db8d33cccbe9.bundle.min.js":519===e?"video-playlist.d48e1a11007fe8c248f8.bundle.min.js":375===e?"paypal-button.5c63e4c8f36fb06aff31.bundle.min.js":786===e?"bd4b7d0b3467c3b749da.bundle.min.js":857===e?"stripe-button.b7e32b5d713d60752c7e.bundle.min.js":581===e?"progress-tracker.7b160888e308c5f64701.bundle.min.js":961===e?"animated-headline.bc08854fb1e1a80434b2.bundle.min.js":692===e?"media-carousel.87c2cf115553a2c4f709.bundle.min.js":897===e?"carousel.e2af910b095554625156.bundle.min.js":416===e?"countdown.05b148ca20af32fc8e9f.bundle.min.js":292===e?"hotspot.737497535441dc0bc037.bundle.min.js":325===e?"form.cfd61a9174be80f835c6.bundle.min.js":543===e?"gallery.cca2358f59857ce6f62f.bundle.min.js":970===e?"lottie.55ad84218daed1323133.bundle.min.js":334===e?"nav-menu.3afa8f5eb1fef7c22561.bundle.min.js":887===e?"popup.61d4fcab8891b2e07802.bundle.min.js":535===e?"load-more.7c4417f8a727b79f546f.bundle.min.js":396===e?"posts.844727d8428792223d2f.bundle.min.js":726===e?"portfolio.3d0e387cc28c07bae511.bundle.min.js":316===e?"share-buttons.b99b5ff11c944a3a8ea9.bundle.min.js":829===e?"slides.8e9b74f1b31471377df8.bundle.min.js":158===e?"social.de5cec83bf689b2f1f01.bundle.min.js":404===e?"table-of-contents.485ffc086d8923139868.bundle.min.js":345===e?"archive-posts.0b71f7023819e3872142.bundle.min.js":798===e?"search-form.9abeafeecde90cf7e0f4.bundle.min.js":6===e?"woocommerce-menu-cart.33fbf47b819947e7a2a7.bundle.min.js":80===e?"woocommerce-purchase-summary.118e54b95a68f0ad8c09.bundle.min.js":354===e?"woocommerce-checkout-page.8391e03a51a57a42528a.bundle.min.js":4===e?"woocommerce-cart.9131ef5e40333f8066dd.bundle.min.js":662===e?"woocommerce-my-account.ab469f426496c628ac6c.bundle.min.js":621===e?"woocommerce-notices.181b8701c45ec5374829.bundle.min.js":787===e?"product-add-to-cart.a4f88a0c19e95b3912b6.bundle.min.js":993===e?"loop.1594a1df76e87a11eda2.bundle.min.js":932===e?"loop-carousel.881847b13e8fe1f8bfc2.bundle.min.js":550===e?"ajax-pagination.505018eb312c83998279.bundle.min.js":727===e?"mega-menu.857df1cf3198ae47b617.bundle.min.js":87===e?"mega-menu-stretch-content.7ed04741ba7d5a80c556.bundle.min.js":912===e?"menu-title-keyboard-handler.b3891112675eb0b0c4d5.bundle.min.js":33===e?"nested-carousel.659b0373371215e60dab.bundle.min.js":225===e?"taxonomy-filter.6526351a1205655def47.bundle.min.js":579===e?"off-canvas.82d118980fb5aa03c82b.bundle.min.js":1===e?"contact-buttons.e1605c5cfaccbff3c14b.bundle.min.js":61===e?"contact-buttons-var-10.11bf4233106e1245bd61.bundle.min.js":249===e?"floating-bars-var-2.5287acd8570f1ce2dde3.bundle.min.js":440===e?"floating-bars-var-3.e9e9c0ea3c6fb0e51c58.bundle.min.js":187===e?"search.f239247b514b4d0e8743.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},a="elementor-pro:",__webpack_require__.l=(e,n,c,b)=>{if(r[e])r[e].push(n);else{var i,t;if(void 0!==c)for(var _=document.getElementsByTagName("script"),o=0;o<_.length;o++){var u=_[o];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==a+c){i=u;break}}i||(t=!0,(i=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",a+c),i.src=e),r[e]=[n];var onScriptComplete=(a,n)=>{i.onerror=i.onload=null,clearTimeout(d);var c=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),c&&c.forEach(e=>e(n)),a)return a(n)},d=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=onScriptComplete.bind(null,i.onerror),i.onload=onScriptComplete.bind(null,i.onload),t&&document.head.appendChild(i)}},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var a=r.getElementsByTagName("script");if(a.length)for(var n=a.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=a[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={978:0};__webpack_require__.f.j=(r,a)=>{var n=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==n)if(n)a.push(n[2]);else if(978!=r){var c=new Promise((a,c)=>n=e[r]=[a,c]);a.push(n[2]=c);var b=__webpack_require__.p+__webpack_require__.u(r),i=new Error;__webpack_require__.l(b,a=>{if(__webpack_require__.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var c=a&&("load"===a.type?"missing":a.type),b=a&&a.target&&a.target.src;i.message="Loading chunk "+r+" failed.\n("+c+": "+b+")",i.name="ChunkLoadError",i.type=c,i.request=b,n[1](i)}},"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,a)=>{var n,c,[b,i,t]=a,_=0;if(b.some(r=>0!==e[r])){for(n in i)__webpack_require__.o(i,n)&&(__webpack_require__.m[n]=i[n]);if(t)var o=t(__webpack_require__)}for(r&&r(a);_<b.length;_++)c=b[_],__webpack_require__.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return __webpack_require__.O(o)},r=self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();
// source --> https://history.gospmr.org/wp-includes/js/dist/hooks.min.js?ver=dd5603f07f9220ed27f1 
/*! This file is auto-generated */
(()=>{var t={507:(t,e,r)=>{"use strict";r.d(e,{A:()=>A});var n=function(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var i=function(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var o=function(t,e){return function(r,o,s,c=10){const l=t[e];if(!i(r))return;if(!n(o))return;if("function"!=typeof s)return void console.error("The hook callback must be a function.");if("number"!=typeof c)return void console.error("If specified, the hook priority must be a number.");const a={callback:s,priority:c,namespace:o};if(l[r]){const t=l[r].handlers;let e;for(e=t.length;e>0&&!(c>=t[e-1].priority);e--);e===t.length?t[e]=a:t.splice(e,0,a),l.__current.forEach((t=>{t.name===r&&t.currentIndex>=e&&t.currentIndex++}))}else l[r]={handlers:[a],runs:0};"hookAdded"!==r&&t.doAction("hookAdded",r,o,s,c)}};var s=function(t,e,r=!1){return function(o,s){const c=t[e];if(!i(o))return;if(!r&&!n(s))return;if(!c[o])return 0;let l=0;if(r)l=c[o].handlers.length,c[o]={runs:c[o].runs,handlers:[]};else{const t=c[o].handlers;for(let e=t.length-1;e>=0;e--)t[e].namespace===s&&(t.splice(e,1),l++,c.__current.forEach((t=>{t.name===o&&t.currentIndex>=e&&t.currentIndex--})))}return"hookRemoved"!==o&&t.doAction("hookRemoved",o,s),l}};var c=function(t,e){return function(r,n){const i=t[e];return void 0!==n?r in i&&i[r].handlers.some((t=>t.namespace===n)):r in i}};var l=function(t,e,r,n){return function(i,...o){const s=t[e];s[i]||(s[i]={handlers:[],runs:0}),s[i].runs++;const c=s[i].handlers;if(!c||!c.length)return r?o[0]:void 0;const l={name:i,currentIndex:0};return(n?async function(){try{s.__current.add(l);let t=r?o[0]:void 0;for(;l.currentIndex<c.length;){const e=c[l.currentIndex];t=await e.callback.apply(null,o),r&&(o[0]=t),l.currentIndex++}return r?t:void 0}finally{s.__current.delete(l)}}:function(){try{s.__current.add(l);let t=r?o[0]:void 0;for(;l.currentIndex<c.length;){t=c[l.currentIndex].callback.apply(null,o),r&&(o[0]=t),l.currentIndex++}return r?t:void 0}finally{s.__current.delete(l)}})()}};var a=function(t,e){return function(){const r=t[e],n=Array.from(r.__current);return n.at(-1)?.name??null}};var d=function(t,e){return function(r){const n=t[e];return void 0===r?n.__current.size>0:Array.from(n.__current).some((t=>t.name===r))}};var u=function(t,e){return function(r){const n=t[e];if(i(r))return n[r]&&n[r].runs?n[r].runs:0}};class h{actions;filters;addAction;addFilter;removeAction;removeFilter;hasAction;hasFilter;removeAllActions;removeAllFilters;doAction;doActionAsync;applyFilters;applyFiltersAsync;currentAction;currentFilter;doingAction;doingFilter;didAction;didFilter;constructor(){this.actions=Object.create(null),this.actions.__current=new Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=o(this,"actions"),this.addFilter=o(this,"filters"),this.removeAction=s(this,"actions"),this.removeFilter=s(this,"filters"),this.hasAction=c(this,"actions"),this.hasFilter=c(this,"filters"),this.removeAllActions=s(this,"actions",!0),this.removeAllFilters=s(this,"filters",!0),this.doAction=l(this,"actions",!1,!1),this.doActionAsync=l(this,"actions",!1,!0),this.applyFilters=l(this,"filters",!0,!1),this.applyFiltersAsync=l(this,"filters",!0,!0),this.currentAction=a(this,"actions"),this.currentFilter=a(this,"filters"),this.doingAction=d(this,"actions"),this.doingFilter=d(this,"filters"),this.didAction=u(this,"actions"),this.didFilter=u(this,"filters")}}var A=function(){return new h}},8770:()=>{}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{actions:()=>x,addAction:()=>s,addFilter:()=>c,applyFilters:()=>m,applyFiltersAsync:()=>v,createHooks:()=>t.A,currentAction:()=>y,currentFilter:()=>F,defaultHooks:()=>o,didAction:()=>b,didFilter:()=>k,doAction:()=>f,doActionAsync:()=>p,doingAction:()=>_,doingFilter:()=>g,filters:()=>w,hasAction:()=>d,hasFilter:()=>u,removeAction:()=>l,removeAllActions:()=>h,removeAllFilters:()=>A,removeFilter:()=>a});var t=r(507),e=r(8770),i={};for(const t in e)["default","actions","addAction","addFilter","applyFilters","applyFiltersAsync","createHooks","currentAction","currentFilter","defaultHooks","didAction","didFilter","doAction","doActionAsync","doingAction","doingFilter","filters","hasAction","hasFilter","removeAction","removeAllActions","removeAllFilters","removeFilter"].indexOf(t)<0&&(i[t]=()=>e[t]);r.d(n,i);const o=(0,t.A)(),{addAction:s,addFilter:c,removeAction:l,removeFilter:a,hasAction:d,hasFilter:u,removeAllActions:h,removeAllFilters:A,doAction:f,doActionAsync:p,applyFilters:m,applyFiltersAsync:v,currentAction:y,currentFilter:F,doingAction:_,doingFilter:g,didAction:b,didFilter:k,actions:x,filters:w}=o})(),(window.wp=window.wp||{}).hooks=n})();
// source --> https://history.gospmr.org/wp-includes/js/dist/i18n.min.js?ver=c26c3dc7bed366793375 
/*! This file is auto-generated */
(()=>{"use strict";var t={d:(n,e)=>{for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},n={};t.r(n),t.d(n,{__:()=>F,_n:()=>L,_nx:()=>D,_x:()=>w,createI18n:()=>h,defaultI18n:()=>b,getLocaleData:()=>g,hasTranslation:()=>O,isRTL:()=>P,resetLocaleData:()=>x,setLocaleData:()=>v,sprintf:()=>l,subscribe:()=>m});var e,r,a,i,o=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function l(t,...n){return function(t,...n){var e=0;return Array.isArray(n[0])&&(n=n[0]),t.replace(o,(function(){var t,r,a,i,o;return t=arguments[3],r=arguments[5],"%"===(i=arguments[9])?"%":("*"===(a=arguments[7])&&(a=n[e],e++),void 0===r?(void 0===t&&(t=e+1),e++,o=n[t-1]):n[0]&&"object"==typeof n[0]&&n[0].hasOwnProperty(r)&&(o=n[0][r]),"f"===i?o=parseFloat(o)||0:"d"===i&&(o=parseInt(o)||0),void 0!==a&&("f"===i?o=o.toFixed(a):"s"===i&&(o=o.substr(0,a))),null!=o?o:"")}))}(t,...n)}e={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},r=["(","?"],a={")":["("],":":["?","?:"]},i=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var s={"!":function(t){return!t},"*":function(t,n){return t*n},"/":function(t,n){return t/n},"%":function(t,n){return t%n},"+":function(t,n){return t+n},"-":function(t,n){return t-n},"<":function(t,n){return t<n},"<=":function(t,n){return t<=n},">":function(t,n){return t>n},">=":function(t,n){return t>=n},"==":function(t,n){return t===n},"!=":function(t,n){return t!==n},"&&":function(t,n){return t&&n},"||":function(t,n){return t||n},"?:":function(t,n,e){if(t)throw n;return e}};function u(t){var n=function(t){for(var n,o,l,s,u=[],d=[];n=t.match(i);){for(o=n[0],(l=t.substr(0,n.index).trim())&&u.push(l);s=d.pop();){if(a[o]){if(a[o][0]===s){o=a[o][1]||o;break}}else if(r.indexOf(s)>=0||e[s]<e[o]){d.push(s);break}u.push(s)}a[o]||d.push(o),t=t.substr(n.index+o.length)}return(t=t.trim())&&u.push(t),u.concat(d.reverse())}(t);return function(t){return function(t,n){var e,r,a,i,o,l,u=[];for(e=0;e<t.length;e++){if(o=t[e],i=s[o]){for(r=i.length,a=Array(r);r--;)a[r]=u.pop();try{l=i.apply(null,a)}catch(t){return t}}else l=n.hasOwnProperty(o)?n[o]:+o;u.push(l)}return u[0]}(n,t)}}var d={contextDelimiter:"",onMissingKey:null};function c(t,n){var e;for(e in this.data=t,this.pluralForms={},this.options={},d)this.options[e]=void 0!==n&&e in n?n[e]:d[e]}c.prototype.getPluralForm=function(t,n){var e,r,a,i=this.pluralForms[t];return i||("function"!=typeof(a=(e=this.data[t][""])["Plural-Forms"]||e["plural-forms"]||e.plural_forms)&&(r=function(t){var n,e,r;for(n=t.split(";"),e=0;e<n.length;e++)if(0===(r=n[e].trim()).indexOf("plural="))return r.substr(7)}(e["Plural-Forms"]||e["plural-forms"]||e.plural_forms),a=function(t){var n=u(t);return function(t){return+n({n:t})}}(r)),i=this.pluralForms[t]=a),i(n)},c.prototype.dcnpgettext=function(t,n,e,r,a){var i,o,l;return i=void 0===a?0:this.getPluralForm(t,a),o=e,n&&(o=n+this.options.contextDelimiter+e),(l=this.data[t][o])&&l[i]?l[i]:(this.options.onMissingKey&&this.options.onMissingKey(e,t),0===i?e:r)};const p={plural_forms:t=>1===t?0:1},f=/^i18n\.(n?gettext|has_translation)(_|$)/,h=(t,n,e)=>{const r=new c({}),a=new Set,i=()=>{a.forEach((t=>t()))},o=(t,n="default")=>{r.data[n]={...r.data[n],...t},r.data[n][""]={...p,...r.data[n]?.[""]},delete r.pluralForms[n]},l=(t,n)=>{o(t,n),i()},s=(t="default",n,e,a,i)=>(r.data[t]||o(void 0,t),r.dcnpgettext(t,n,e,a,i)),u=t=>t||"default",d=(t,n,r)=>{let a=s(r,n,t);return e?(a=e.applyFilters("i18n.gettext_with_context",a,t,n,r),e.applyFilters("i18n.gettext_with_context_"+u(r),a,t,n,r)):a};if(t&&l(t,n),e){const t=t=>{f.test(t)&&i()};e.addAction("hookAdded","core/i18n",t),e.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:(t="default")=>r.data[t],setLocaleData:l,addLocaleData:(t,n="default")=>{r.data[n]={...r.data[n],...t,"":{...p,...r.data[n]?.[""],...t?.[""]}},delete r.pluralForms[n],i()},resetLocaleData:(t,n)=>{r.data={},r.pluralForms={},l(t,n)},subscribe:t=>(a.add(t),()=>a.delete(t)),__:(t,n)=>{let r=s(n,void 0,t);return e?(r=e.applyFilters("i18n.gettext",r,t,n),e.applyFilters("i18n.gettext_"+u(n),r,t,n)):r},_x:d,_n:(t,n,r,a)=>{let i=s(a,void 0,t,n,r);return e?(i=e.applyFilters("i18n.ngettext",i,t,n,r,a),e.applyFilters("i18n.ngettext_"+u(a),i,t,n,r,a)):i},_nx:(t,n,r,a,i)=>{let o=s(i,a,t,n,r);return e?(o=e.applyFilters("i18n.ngettext_with_context",o,t,n,r,a,i),e.applyFilters("i18n.ngettext_with_context_"+u(i),o,t,n,r,a,i)):o},isRTL:()=>"rtl"===d("ltr","text direction"),hasTranslation:(t,n,a)=>{const i=n?n+""+t:t;let o=!!r.data?.[a??"default"]?.[i];return e&&(o=e.applyFilters("i18n.has_translation",o,t,n,a),o=e.applyFilters("i18n.has_translation_"+u(a),o,t,n,a)),o}}},_=window.wp.hooks,y=h(void 0,void 0,_.defaultHooks);var b=y;const g=y.getLocaleData.bind(y),v=y.setLocaleData.bind(y),x=y.resetLocaleData.bind(y),m=y.subscribe.bind(y),F=y.__.bind(y),w=y._x.bind(y),L=y._n.bind(y),D=y._nx.bind(y),P=y.isRTL.bind(y),O=y.hasTranslation.bind(y);(window.wp=window.wp||{}).i18n=n})();