Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(F.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...g(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const i=z.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>a(t)));i.length&&b(i,e,t===Ti,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=qi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=z.find(Ni);for(const i of e){const e=qi.getInstance(i);if(!e||!1===e._config.autoClose)continue;const n=t.composedPath(),s=n.includes(e._menu);if(n.includes(e._element)||"inside"===e._config.autoClose&&!s||"outside"===e._config.autoClose&&s)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),i="Escape"===t.key,n=[Ei,Ti].includes(t.key);if(!n&&!i)return;if(e&&!i)return;t.preventDefault();const s=this.matches(Ii)?this:z.prev(this,Ii)[0]||z.next(this,Ii)[0]||z.findOne(Ii,t.delegateTarget.parentNode),o=qi.getOrCreateInstance(s);if(n)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),s.focus())}}N.on(document,Si,Ii,qi.dataApiKeydownHandler),N.on(document,Si,Pi,qi.dataApiKeydownHandler),N.on(document,Li,qi.clearMenus),N.on(document,Di,qi.clearMenus),N.on(document,Li,Ii,(function(t){t.preventDefault(),qi.getOrCreateInstance(this).toggle()})),m(qi);const Vi="backdrop",Ki="show",Qi=`mousedown.bs.${Vi}`,Xi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Yi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ui extends H{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Xi}static get DefaultType(){return Yi}static get NAME(){return Vi}show(t){if(!this._config.isVisible)return void g(t);this._append();const e=this._getElement();this._config.isAnimated&&d(e),e.classList.add(Ki),this._emulateAnimation((()=>{g(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(Ki),this._emulateAnimation((()=>{this.dispose(),g(t)}))):g(t)}dispose(){this._isAppended&&(N.off(this._element,Qi),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=r(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),N.on(t,Qi,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){_(t,this._getElement(),this._config.isAnimated)}}const Gi=".bs.focustrap",Ji=`focusin${Gi}`,Zi=`keydown.tab${Gi}`,tn="backward",en={autofocus:!0,trapElement:null},nn={autofocus:"boolean",trapElement:"element"};class sn extends H{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return en}static get DefaultType(){return nn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),N.off(document,Gi),N.on(document,Ji,(t=>this._handleFocusin(t))),N.on(document,Zi,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,Gi))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=z.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===tn?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?tn:"forward")}}const on=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",rn=".sticky-top",an="padding-right",ln="margin-right";class cn{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,an,(e=>e+t)),this._setElementAttributes(on,an,(e=>e+t)),this._setElementAttributes(rn,ln,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,an),this._resetElementAttributes(on,an),this._resetElementAttributes(rn,ln)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(s))}px`)}))}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&F.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=F.getDataAttribute(t,e);null!==i?(F.removeDataAttribute(t,e),t.style.setProperty(e,i)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(o(t))e(t);else for(const i of z.find(t,this._element))e(i)}}const hn=".bs.modal",dn=`hide${hn}`,un=`hidePrevented${hn}`,fn=`hidden${hn}`,pn=`show${hn}`,mn=`shown${hn}`,gn=`resize${hn}`,_n=`click.dismiss${hn}`,bn=`mousedown.dismiss${hn}`,vn=`keydown.dismiss${hn}`,yn=`click${hn}.data-api`,wn="modal-open",An="show",En="modal-static",Tn={backdrop:!0,focus:!0,keyboard:!0},Cn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class On extends W{constructor(t,e){super(t,e),this._dialog=z.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new cn,this._addEventListeners()}static get Default(){return Tn}static get DefaultType(){return Cn}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||N.trigger(this._element,pn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(wn),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(N.trigger(this._element,dn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(An),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){N.off(window,hn),N.off(this._dialog,hn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ui({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new sn({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=z.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),d(this._element),this._element.classList.add(An),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,mn,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){N.on(this._element,vn,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),N.on(window,gn,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),N.on(this._element,bn,(t=>{N.one(this._element,_n,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(wn),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,fn)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(N.trigger(this._element,un).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(En)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(En),this._queueCallback((()=>{this._element.classList.remove(En),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=p()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=p()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=On.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}N.on(document,yn,'[data-bs-toggle="modal"]',(function(t){const e=z.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),N.one(e,pn,(t=>{t.defaultPrevented||N.one(e,fn,(()=>{a(this)&&this.focus()}))}));const i=z.findOne(".modal.show");i&&On.getInstance(i).hide(),On.getOrCreateInstance(e).toggle(this)})),R(On),m(On);const xn=".bs.offcanvas",kn=".data-api",Ln=`load${xn}${kn}`,Sn="show",Dn="showing",$n="hiding",In=".offcanvas.show",Nn=`show${xn}`,Pn=`shown${xn}`,Mn=`hide${xn}`,jn=`hidePrevented${xn}`,Fn=`hidden${xn}`,Hn=`resize${xn}`,Wn=`click${xn}${kn}`,Bn=`keydown.dismiss${xn}`,zn={backdrop:!0,keyboard:!0,scroll:!1},Rn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class qn extends W{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return zn}static get DefaultType(){return Rn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||N.trigger(this._element,Nn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new cn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Dn),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Sn),this._element.classList.remove(Dn),N.trigger(this._element,Pn,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(N.trigger(this._element,Mn).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add($n),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Sn,$n),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new cn).reset(),N.trigger(this._element,Fn)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Ui({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():N.trigger(this._element,jn)}:null})}_initializeFocusTrap(){return new sn({trapElement:this._element})}_addEventListeners(){N.on(this._element,Bn,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():N.trigger(this._element,jn))}))}static jQueryInterface(t){return this.each((function(){const e=qn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}N.on(document,Wn,'[data-bs-toggle="offcanvas"]',(function(t){const e=z.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this))return;N.one(e,Fn,(()=>{a(this)&&this.focus()}));const i=z.findOne(In);i&&i!==e&&qn.getInstance(i).hide(),qn.getOrCreateInstance(e).toggle(this)})),N.on(window,Ln,(()=>{for(const t of z.find(In))qn.getOrCreateInstance(t).show()})),N.on(window,Hn,(()=>{for(const t of z.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&qn.getOrCreateInstance(t).hide()})),R(qn),m(qn);const Vn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Kn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Qn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Xn=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!Kn.has(i)||Boolean(Qn.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))},Yn={allowList:Vn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:""},Un={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Gn={entry:"(string|element|function|null)",selector:"(string|element)"};class Jn extends H{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Yn}static get DefaultType(){return Un}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content))this._setContent(t,i,e);const e=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&e.classList.add(...i.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},Gn)}_setContent(t,e,i){const n=z.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?o(e)?this._putElementInTemplate(r(e),n):this._config.html?n.innerHTML=this._maybeSanitize(e):n.textContent=e:n.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes),s=[].concat(e["*"]||[],e[i]||[]);for(const e of n)Xn(e,s)||t.removeAttribute(e.nodeName)}return n.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return g(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Zn=new Set(["sanitize","allowList","sanitizeFn"]),ts="fade",es="show",is=".modal",ns="hide.bs.modal",ss="hover",os="focus",rs={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},as={allowList:Vn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},ls={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class cs extends W{constructor(t,e){if(void 0===vi)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return as}static get DefaultType(){return ls}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),N.off(this._element.closest(is),ns,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=N.trigger(this._element,this.constructor.eventName("show")),e=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),N.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(es),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))N.on(t,"mouseover",h);this._queueCallback((()=>{N.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!N.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(es),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))N.off(t,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger[os]=!1,this._activeTrigger[ss]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),N.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(ts,es),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(ts),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Jn({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ts)}_isShown(){return this.tip&&this.tip.classList.contains(es)}_createPopper(t){const e=g(this._config.placement,[this,t,this._element]),i=rs[e.toUpperCase()];return bi(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return g(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...g(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)N.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===ss?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===ss?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");N.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?os:ss]=!0,e._enter()})),N.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?os:ss]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(is),ns,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=F.getDataAttributes(this._element);for(const t of Object.keys(e))Zn.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:r(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config))this.constructor.Default[e]!==i&&(t[e]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=cs.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}m(cs);const hs={...cs.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},ds={...cs.DefaultType,content:"(null|string|element|function)"};class us extends cs{static get Default(){return hs}static get DefaultType(){return ds}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=us.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}m(us);const fs=".bs.scrollspy",ps=`activate${fs}`,ms=`click${fs}`,gs=`load${fs}.data-api`,_s="active",bs="[href]",vs=".nav-link",ys=`${vs}, .nav-item > ${vs}, .list-group-item`,ws={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},As={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Es extends W{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ws}static get DefaultType(){return As}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=r(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(N.off(this._config.target,ms),N.on(this._config.target,ms,bs,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,n=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&t){if(i(o),!n)return}else s||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=z.find(bs,this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=z.findOne(decodeURI(e.hash),this._element);a(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(_s),this._activateParents(t),N.trigger(this._element,ps,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))z.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(_s);else for(const e of z.parents(t,".nav, .list-group"))for(const t of z.prev(e,ys))t.classList.add(_s)}_clearActiveClass(t){t.classList.remove(_s);const e=z.find(`${bs}.${_s}`,t);for(const t of e)t.classList.remove(_s)}static jQueryInterface(t){return this.each((function(){const e=Es.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}N.on(window,gs,(()=>{for(const t of z.find('[data-bs-spy="scroll"]'))Es.getOrCreateInstance(t)})),m(Es);const Ts=".bs.tab",Cs=`hide${Ts}`,Os=`hidden${Ts}`,xs=`show${Ts}`,ks=`shown${Ts}`,Ls=`click${Ts}`,Ss=`keydown${Ts}`,Ds=`load${Ts}`,$s="ArrowLeft",Is="ArrowRight",Ns="ArrowUp",Ps="ArrowDown",Ms="Home",js="End",Fs="active",Hs="fade",Ws="show",Bs=":not(.dropdown-toggle)",zs='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Rs=`.nav-link${Bs}, .list-group-item${Bs}, [role="tab"]${Bs}, ${zs}`,qs=`.${Fs}[data-bs-toggle="tab"], .${Fs}[data-bs-toggle="pill"], .${Fs}[data-bs-toggle="list"]`;class Vs extends W{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),N.on(this._element,Ss,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?N.trigger(e,Cs,{relatedTarget:t}):null;N.trigger(t,xs,{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(Fs),this._activate(z.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),N.trigger(t,ks,{relatedTarget:e})):t.classList.add(Ws)}),t,t.classList.contains(Hs)))}_deactivate(t,e){t&&(t.classList.remove(Fs),t.blur(),this._deactivate(z.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),N.trigger(t,Os,{relatedTarget:e})):t.classList.remove(Ws)}),t,t.classList.contains(Hs)))}_keydown(t){if(![$s,Is,Ns,Ps,Ms,js].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!l(t)));let i;if([Ms,js].includes(t.key))i=e[t.key===Ms?0:e.length-1];else{const n=[Is,Ps].includes(t.key);i=b(e,t.target,n,!0)}i&&(i.focus({preventScroll:!0}),Vs.getOrCreateInstance(i).show())}_getChildren(){return z.find(Rs,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=z.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const n=(t,n)=>{const s=z.findOne(t,i);s&&s.classList.toggle(n,e)};n(".dropdown-toggle",Fs),n(".dropdown-menu",Ws),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(Fs)}_getInnerElement(t){return t.matches(Rs)?t:z.findOne(Rs,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=Vs.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}N.on(document,Ls,zs,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||Vs.getOrCreateInstance(this).show()})),N.on(window,Ds,(()=>{for(const t of z.find(qs))Vs.getOrCreateInstance(t)})),m(Vs);const Ks=".bs.toast",Qs=`mouseover${Ks}`,Xs=`mouseout${Ks}`,Ys=`focusin${Ks}`,Us=`focusout${Ks}`,Gs=`hide${Ks}`,Js=`hidden${Ks}`,Zs=`show${Ks}`,to=`shown${Ks}`,eo="hide",io="show",no="showing",so={animation:"boolean",autohide:"boolean",delay:"number"},oo={animation:!0,autohide:!0,delay:5e3};class ro extends W{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return oo}static get DefaultType(){return so}static get NAME(){return"toast"}show(){N.trigger(this._element,Zs).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(eo),d(this._element),this._element.classList.add(io,no),this._queueCallback((()=>{this._element.classList.remove(no),N.trigger(this._element,to),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(N.trigger(this._element,Gs).defaultPrevented||(this._element.classList.add(no),this._queueCallback((()=>{this._element.classList.add(eo),this._element.classList.remove(no,io),N.trigger(this._element,Js)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(io),super.dispose()}isShown(){return this._element.classList.contains(io)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){N.on(this._element,Qs,(t=>this._onInteraction(t,!0))),N.on(this._element,Xs,(t=>this._onInteraction(t,!1))),N.on(this._element,Ys,(t=>this._onInteraction(t,!0))),N.on(this._element,Us,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=ro.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return R(ro),m(ro),{Alert:Q,Button:Y,Carousel:xt,Collapse:Bt,Dropdown:qi,Modal:On,Offcanvas:qn,Popover:us,ScrollSpy:Es,Tab:Vs,Toast:ro,Tooltip:cs}}));
+//# sourceMappingURL=bootstrap.bundle.min.js.map
\ No newline at end of file
diff --git a/deps/bootstrap-5.3.1/bootstrap.bundle.min.js.map b/deps/bootstrap-5.3.1/bootstrap.bundle.min.js.map
new file mode 100644
index 0000000..3863da8
--- /dev/null
+++ b/deps/bootstrap-5.3.1/bootstrap.bundle.min.js.map
@@ -0,0 +1 @@
+{"version":3,"names":["elementMap","Map","Data","set","element","key","instance","has","instanceMap","get","size","console","error","Array","from","keys","remove","delete","TRANSITION_END","parseSelector","selector","window","CSS","escape","replace","match","id","triggerTransitionEnd","dispatchEvent","Event","isElement","object","jquery","nodeType","getElement","length","document","querySelector","isVisible","getClientRects","elementIsVisible","getComputedStyle","getPropertyValue","closedDetails","closest","summary","parentNode","isDisabled","Node","ELEMENT_NODE","classList","contains","disabled","hasAttribute","getAttribute","findShadowRoot","documentElement","attachShadow","getRootNode","root","ShadowRoot","noop","reflow","offsetHeight","getjQuery","jQuery","body","DOMContentLoadedCallbacks","isRTL","dir","defineJQueryPlugin","plugin","callback","$","name","NAME","JQUERY_NO_CONFLICT","fn","jQueryInterface","Constructor","noConflict","readyState","addEventListener","push","execute","possibleCallback","args","defaultValue","executeAfterTransition","transitionElement","waitForTransition","emulatedDuration","transitionDuration","transitionDelay","floatTransitionDuration","Number","parseFloat","floatTransitionDelay","split","getTransitionDurationFromElement","called","handler","target","removeEventListener","setTimeout","getNextActiveElement","list","activeElement","shouldGetNext","isCycleAllowed","listLength","index","indexOf","Math","max","min","namespaceRegex","stripNameRegex","stripUidRegex","eventRegistry","uidEvent","customEvents","mouseenter","mouseleave","nativeEvents","Set","makeEventUid","uid","getElementEvents","findHandler","events","callable","delegationSelector","Object","values","find","event","normalizeParameters","originalTypeEvent","delegationFunction","isDelegated","typeEvent","getTypeEvent","addHandler","oneOff","wrapFunction","relatedTarget","delegateTarget","call","this","handlers","previousFunction","domElements","querySelectorAll","domElement","hydrateObj","EventHandler","off","type","apply","bootstrapDelegationHandler","bootstrapHandler","removeHandler","Boolean","removeNamespacedHandlers","namespace","storeElementEvent","handlerKey","entries","includes","on","one","inNamespace","isNamespace","startsWith","elementEvent","slice","keyHandlers","trigger","jQueryEvent","bubbles","nativeDispatch","defaultPrevented","isPropagationStopped","isImmediatePropagationStopped","isDefaultPrevented","evt","cancelable","preventDefault","obj","meta","value","_unused","defineProperty","configurable","normalizeData","toString","JSON","parse","decodeURIComponent","normalizeDataKey","chr","toLowerCase","Manipulator","setDataAttribute","setAttribute","removeDataAttribute","removeAttribute","getDataAttributes","attributes","bsKeys","dataset","filter","pureKey","charAt","getDataAttribute","Config","Default","DefaultType","Error","_getConfig","config","_mergeConfigObj","_configAfterMerge","_typeCheckConfig","jsonConfig","constructor","configTypes","property","expectedTypes","valueType","prototype","RegExp","test","TypeError","toUpperCase","BaseComponent","super","_element","_config","DATA_KEY","dispose","EVENT_KEY","propertyName","getOwnPropertyNames","_queueCallback","isAnimated","getInstance","getOrCreateInstance","VERSION","eventName","getSelector","hrefAttribute","trim","SelectorEngine","concat","Element","findOne","children","child","matches","parents","ancestor","prev","previous","previousElementSibling","next","nextElementSibling","focusableChildren","focusables","map","join","el","getSelectorFromElement","getElementFromSelector","getMultipleElementsFromSelector","enableDismissTrigger","component","method","clickEvent","tagName","EVENT_CLOSE","EVENT_CLOSED","Alert","close","_destroyElement","each","data","undefined","SELECTOR_DATA_TOGGLE","Button","toggle","button","EVENT_TOUCHSTART","EVENT_TOUCHMOVE","EVENT_TOUCHEND","EVENT_POINTERDOWN","EVENT_POINTERUP","endCallback","leftCallback","rightCallback","Swipe","isSupported","_deltaX","_supportPointerEvents","PointerEvent","_initEvents","_start","_eventIsPointerPenTouch","clientX","touches","_end","_handleSwipe","_move","absDeltaX","abs","direction","add","pointerType","navigator","maxTouchPoints","DATA_API_KEY","ORDER_NEXT","ORDER_PREV","DIRECTION_LEFT","DIRECTION_RIGHT","EVENT_SLIDE","EVENT_SLID","EVENT_KEYDOWN","EVENT_MOUSEENTER","EVENT_MOUSELEAVE","EVENT_DRAG_START","EVENT_LOAD_DATA_API","EVENT_CLICK_DATA_API","CLASS_NAME_CAROUSEL","CLASS_NAME_ACTIVE","SELECTOR_ACTIVE","SELECTOR_ITEM","SELECTOR_ACTIVE_ITEM","KEY_TO_DIRECTION","ArrowLeft","ArrowRight","interval","keyboard","pause","ride","touch","wrap","Carousel","_interval","_activeElement","_isSliding","touchTimeout","_swipeHelper","_indicatorsElement","_addEventListeners","cycle","_slide","nextWhenVisible","hidden","_clearInterval","_updateInterval","setInterval","_maybeEnableCycle","to","items","_getItems","activeIndex","_getItemIndex","_getActive","order","defaultInterval","_keydown","_addTouchEventListeners","img","swipeConfig","_directionToOrder","endCallBack","clearTimeout","_setActiveIndicatorElement","activeIndicator","newActiveIndicator","elementInterval","parseInt","isNext","nextElement","nextElementIndex","triggerEvent","_orderToDirection","isCycling","directionalClassName","orderClassName","completeCallBack","_isAnimated","clearInterval","carousel","slideIndex","carousels","EVENT_SHOW","EVENT_SHOWN","EVENT_HIDE","EVENT_HIDDEN","CLASS_NAME_SHOW","CLASS_NAME_COLLAPSE","CLASS_NAME_COLLAPSING","CLASS_NAME_DEEPER_CHILDREN","parent","Collapse","_isTransitioning","_triggerArray","toggleList","elem","filterElement","foundElement","_initializeChildren","_addAriaAndCollapsedClass","_isShown","hide","show","activeChildren","_getFirstLevelChildren","activeInstance","dimension","_getDimension","style","scrollSize","complete","getBoundingClientRect","selected","triggerArray","isOpen","top","bottom","right","left","auto","basePlacements","start","end","clippingParents","viewport","popper","reference","variationPlacements","reduce","acc","placement","placements","beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite","modifierPhases","getNodeName","nodeName","getWindow","node","ownerDocument","defaultView","isHTMLElement","HTMLElement","isShadowRoot","applyStyles$1","enabled","phase","_ref","state","elements","forEach","styles","assign","effect","_ref2","initialStyles","position","options","strategy","margin","arrow","hasOwnProperty","attribute","requires","getBasePlacement","round","getUAString","uaData","userAgentData","brands","isArray","item","brand","version","userAgent","isLayoutViewport","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","offsetWidth","width","height","visualViewport","addVisualOffsets","x","offsetLeft","y","offsetTop","getLayoutRect","rootNode","isSameNode","host","isTableElement","getDocumentElement","getParentNode","assignedSlot","getTrueOffsetParent","offsetParent","getOffsetParent","isFirefox","currentNode","css","transform","perspective","contain","willChange","getContainingBlock","getMainAxisFromPlacement","within","mathMax","mathMin","mergePaddingObject","paddingObject","expandToHashMap","hashMap","arrow$1","_state$modifiersData$","arrowElement","popperOffsets","modifiersData","basePlacement","axis","len","padding","rects","toPaddingObject","arrowRect","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","clientHeight","clientWidth","centerToReference","center","offset","axisProp","centerOffset","_options$element","requiresIfExists","getVariation","unsetSides","mapToStyles","_Object$assign2","popperRect","variation","offsets","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","_offsets$y","_ref3","hasX","hasY","sideX","sideY","win","heightProp","widthProp","_Object$assign","commonStyles","_ref4","dpr","devicePixelRatio","roundOffsetsByDPR","computeStyles$1","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","passive","eventListeners","_options$scroll","scroll","_options$resize","resize","scrollParents","scrollParent","update","hash","getOppositePlacement","matched","getOppositeVariationPlacement","getWindowScroll","scrollLeft","pageXOffset","scrollTop","pageYOffset","getWindowScrollBarX","isScrollParent","_getComputedStyle","overflow","overflowX","overflowY","getScrollParent","listScrollParents","_element$ownerDocumen","isBody","updatedList","rectToClientRect","rect","getClientRectFromMixedType","clippingParent","html","layoutViewport","getViewportRect","clientTop","clientLeft","getInnerBoundingClientRect","winScroll","scrollWidth","scrollHeight","getDocumentRect","computeOffsets","commonX","commonY","mainAxis","detectOverflow","_options","_options$placement","_options$strategy","_options$boundary","boundary","_options$rootBoundary","rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","mainClippingParents","clipperElement","getClippingParents","firstClippingParent","clippingRect","accRect","getClippingRect","contextElement","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","computeAutoPlacement","flipVariations","_options$allowedAutoP","allowedAutoPlacements","allPlacements","allowedPlacements","overflows","sort","a","b","flip$1","_skip","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","preferredPlacement","oppositePlacement","getExpandedFallbackPlacements","referenceRect","checksMap","makeFallbackChecks","firstFittingPlacement","i","_basePlacement","isStartVariation","isVertical","mainVariationSide","altVariationSide","checks","every","check","_loop","_i","fittingPlacement","reset","getSideOffsets","preventedOffsets","isAnySideFullyClipped","some","side","hide$1","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","offset$1","_options$offset","invertDistance","skidding","distance","distanceAndSkiddingToXY","_data$state$placement","popperOffsets$1","preventOverflow$1","_options$tether","tether","_options$tetherOffset","tetherOffset","isBasePlacement","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","offsetModifierValue","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_len","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","v","withinMaxClamp","getCompositeRect","elementOrVirtualElement","isOffsetParentAnElement","offsetParentIsScaled","isElementScaled","modifiers","visited","result","modifier","dep","depModifier","DEFAULT_OPTIONS","areValidElements","arguments","_key","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","pending","orderedModifiers","effectCleanupFns","isDestroyed","setOptions","setOptionsAction","cleanupModifierEffects","merged","orderModifiers","current","existing","m","_ref$options","cleanupFn","forceUpdate","_state$elements","_state$orderedModifie","_state$orderedModifie2","Promise","resolve","then","destroy","onFirstUpdate","createPopper","computeStyles","applyStyles","flip","ARROW_UP_KEY","ARROW_DOWN_KEY","EVENT_KEYDOWN_DATA_API","EVENT_KEYUP_DATA_API","SELECTOR_DATA_TOGGLE_SHOWN","SELECTOR_MENU","PLACEMENT_TOP","PLACEMENT_TOPEND","PLACEMENT_BOTTOM","PLACEMENT_BOTTOMEND","PLACEMENT_RIGHT","PLACEMENT_LEFT","autoClose","display","popperConfig","Dropdown","_popper","_parent","_menu","_inNavbar","_detectNavbar","_createPopper","focus","_completeHide","Popper","referenceElement","_getPopperConfig","_getPlacement","parentDropdown","isEnd","_getOffset","popperData","defaultBsPopperConfig","_selectMenuItem","clearMenus","openToggles","context","composedPath","isMenuTarget","dataApiKeydownHandler","isInput","isEscapeEvent","isUpOrDownEvent","getToggleButton","stopPropagation","EVENT_MOUSEDOWN","className","clickCallback","rootElement","Backdrop","_isAppended","_append","_getElement","_emulateAnimation","backdrop","createElement","append","EVENT_FOCUSIN","EVENT_KEYDOWN_TAB","TAB_NAV_BACKWARD","autofocus","trapElement","FocusTrap","_isActive","_lastTabNavDirection","activate","_handleFocusin","_handleKeydown","deactivate","shiftKey","SELECTOR_FIXED_CONTENT","SELECTOR_STICKY_CONTENT","PROPERTY_PADDING","PROPERTY_MARGIN","ScrollBarHelper","getWidth","documentWidth","innerWidth","_disableOverFlow","_setElementAttributes","calculatedValue","_resetElementAttributes","isOverflowing","_saveInitialAttribute","styleProperty","scrollbarWidth","_applyManipulationCallback","setProperty","actualValue","removeProperty","callBack","sel","EVENT_HIDE_PREVENTED","EVENT_RESIZE","EVENT_CLICK_DISMISS","EVENT_MOUSEDOWN_DISMISS","EVENT_KEYDOWN_DISMISS","CLASS_NAME_OPEN","CLASS_NAME_STATIC","Modal","_dialog","_backdrop","_initializeBackDrop","_focustrap","_initializeFocusTrap","_scrollBar","_adjustDialog","_showElement","_hideModal","handleUpdate","modalBody","transitionComplete","_triggerBackdropTransition","event2","_resetAdjustments","isModalOverflowing","initialOverflowY","isBodyOverflowing","paddingLeft","paddingRight","showEvent","alreadyOpen","CLASS_NAME_SHOWING","CLASS_NAME_HIDING","OPEN_SELECTOR","Offcanvas","blur","completeCallback","DefaultAllowlist","area","br","col","code","div","em","hr","h1","h2","h3","h4","h5","h6","li","ol","p","pre","s","small","span","sub","sup","strong","u","ul","uriAttributes","SAFE_URL_PATTERN","allowedAttribute","allowedAttributeList","attributeName","nodeValue","attributeRegex","regex","allowList","content","extraClass","sanitize","sanitizeFn","template","DefaultContentType","entry","TemplateFactory","getContent","_resolvePossibleFunction","hasContent","changeContent","_checkContent","toHtml","templateWrapper","innerHTML","_maybeSanitize","text","_setContent","arg","templateElement","_putElementInTemplate","textContent","unsafeHtml","sanitizeFunction","createdDocument","DOMParser","parseFromString","elementName","attributeList","allowedAttributes","sanitizeHtml","DISALLOWED_ATTRIBUTES","CLASS_NAME_FADE","SELECTOR_MODAL","EVENT_MODAL_HIDE","TRIGGER_HOVER","TRIGGER_FOCUS","AttachmentMap","AUTO","TOP","RIGHT","BOTTOM","LEFT","animation","container","customClass","delay","title","Tooltip","_isEnabled","_timeout","_isHovered","_activeTrigger","_templateFactory","_newContent","tip","_setListeners","_fixTitle","enable","disable","toggleEnabled","click","_leave","_enter","_hideModalHandler","_disposePopper","_isWithContent","isInTheDom","_getTipElement","_isWithActiveTrigger","_getTitle","_createTipElement","_getContentForTemplate","_getTemplateFactory","tipId","prefix","floor","random","getElementById","getUID","setContent","_initializeOnDelegatedTarget","_getDelegateConfig","attachment","triggers","eventIn","eventOut","_setTimeout","timeout","dataAttributes","dataAttribute","Popover","_getContent","EVENT_ACTIVATE","EVENT_CLICK","SELECTOR_TARGET_LINKS","SELECTOR_NAV_LINKS","SELECTOR_LINK_ITEMS","rootMargin","smoothScroll","threshold","ScrollSpy","_targetLinks","_observableSections","_rootElement","_activeTarget","_observer","_previousScrollData","visibleEntryTop","parentScrollTop","refresh","_initializeTargetsAndObservables","_maybeEnableSmoothScroll","disconnect","_getNewObserver","section","observe","observableSection","scrollTo","behavior","IntersectionObserver","_observerCallback","targetElement","_process","userScrollsDown","isIntersecting","_clearActiveClass","entryIsLowerThanPrevious","targetLinks","anchor","decodeURI","_activateParents","listGroup","activeNodes","spy","ARROW_LEFT_KEY","ARROW_RIGHT_KEY","HOME_KEY","END_KEY","NOT_SELECTOR_DROPDOWN_TOGGLE","SELECTOR_INNER_ELEM","SELECTOR_DATA_TOGGLE_ACTIVE","Tab","_setInitialAttributes","_getChildren","innerElem","_elemIsActive","active","_getActiveElem","hideEvent","_deactivate","_activate","relatedElem","_toggleDropDown","nextActiveElement","preventScroll","_setAttributeIfNotExists","_setInitialAttributesOnChild","_getInnerElement","isActive","outerElem","_getOuterElement","_setInitialAttributesOnTargetPanel","open","EVENT_MOUSEOVER","EVENT_MOUSEOUT","EVENT_FOCUSOUT","CLASS_NAME_HIDE","autohide","Toast","_hasMouseInteraction","_hasKeyboardInteraction","_clearTimeout","_maybeScheduleHide","isShown","_onInteraction","isInteracting"],"sources":["../../js/src/dom/data.js","../../js/src/util/index.js","../../js/src/dom/event-handler.js","../../js/src/dom/manipulator.js","../../js/src/util/config.js","../../js/src/base-component.js","../../js/src/dom/selector-engine.js","../../js/src/util/component-functions.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/util/swipe.js","../../js/src/carousel.js","../../js/src/collapse.js","../../node_modules/@popperjs/core/lib/enums.js","../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../../node_modules/@popperjs/core/lib/utils/math.js","../../node_modules/@popperjs/core/lib/utils/userAgent.js","../../node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","../../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../../node_modules/@popperjs/core/lib/dom-utils/contains.js","../../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../../node_modules/@popperjs/core/lib/utils/within.js","../../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../../node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../../node_modules/@popperjs/core/lib/modifiers/arrow.js","../../node_modules/@popperjs/core/lib/utils/getVariation.js","../../node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../../node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../../node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../../node_modules/@popperjs/core/lib/utils/computeOffsets.js","../../node_modules/@popperjs/core/lib/utils/detectOverflow.js","../../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../../node_modules/@popperjs/core/lib/modifiers/flip.js","../../node_modules/@popperjs/core/lib/modifiers/hide.js","../../node_modules/@popperjs/core/lib/modifiers/offset.js","../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../../node_modules/@popperjs/core/lib/utils/getAltAxis.js","../../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../../node_modules/@popperjs/core/lib/utils/orderModifiers.js","../../node_modules/@popperjs/core/lib/createPopper.js","../../node_modules/@popperjs/core/lib/utils/debounce.js","../../node_modules/@popperjs/core/lib/utils/mergeByName.js","../../node_modules/@popperjs/core/lib/popper-lite.js","../../node_modules/@popperjs/core/lib/popper.js","../../js/src/dropdown.js","../../js/src/util/backdrop.js","../../js/src/util/focustrap.js","../../js/src/util/scrollbar.js","../../js/src/modal.js","../../js/src/offcanvas.js","../../js/src/util/sanitizer.js","../../js/src/util/template-factory.js","../../js/src/tooltip.js","../../js/src/popover.js","../../js/src/scrollspy.js","../../js/src/tab.js","../../js/src/toast.js","../../js/index.umd.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * Bootstrap dom/data.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n/**\n * Constants\n */\n\nconst elementMap = new Map()\n\nexport default {\n set(element, key, instance) {\n if (!elementMap.has(element)) {\n elementMap.set(element, new Map())\n }\n\n const instanceMap = elementMap.get(element)\n\n // make it clear we only want one instance per element\n // can be removed later when multiple key/instances are fine to be used\n if (!instanceMap.has(key) && instanceMap.size !== 0) {\n // eslint-disable-next-line no-console\n console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(instanceMap.keys())[0]}.`)\n return\n }\n\n instanceMap.set(key, instance)\n },\n\n get(element, key) {\n if (elementMap.has(element)) {\n return elementMap.get(element).get(key) || null\n }\n\n return null\n },\n\n remove(element, key) {\n if (!elementMap.has(element)) {\n return\n }\n\n const instanceMap = elementMap.get(element)\n\n instanceMap.delete(key)\n\n // free up element references if there are no instances left for an element\n if (instanceMap.size === 0) {\n elementMap.delete(element)\n }\n }\n}\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/index.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nconst MAX_UID = 1_000_000\nconst MILLISECONDS_MULTIPLIER = 1000\nconst TRANSITION_END = 'transitionend'\n\n/**\n * Properly escape IDs selectors to handle weird IDs\n * @param {string} selector\n * @returns {string}\n */\nconst parseSelector = selector => {\n if (selector && window.CSS && window.CSS.escape) {\n // document.querySelector needs escaping to handle IDs (html5+) containing for instance /\n selector = selector.replace(/#([^\\s\"#']+)/g, (match, id) => `#${CSS.escape(id)}`)\n }\n\n return selector\n}\n\n// Shout-out Angus Croll (https://goo.gl/pxwQGp)\nconst toType = object => {\n if (object === null || object === undefined) {\n return `${object}`\n }\n\n return Object.prototype.toString.call(object).match(/\\s([a-z]+)/i)[1].toLowerCase()\n}\n\n/**\n * Public Util API\n */\n\nconst getUID = prefix => {\n do {\n prefix += Math.floor(Math.random() * MAX_UID)\n } while (document.getElementById(prefix))\n\n return prefix\n}\n\nconst getTransitionDurationFromElement = element => {\n if (!element) {\n return 0\n }\n\n // Get transition-duration of the element\n let { transitionDuration, transitionDelay } = window.getComputedStyle(element)\n\n const floatTransitionDuration = Number.parseFloat(transitionDuration)\n const floatTransitionDelay = Number.parseFloat(transitionDelay)\n\n // Return 0 if element or transition duration is not found\n if (!floatTransitionDuration && !floatTransitionDelay) {\n return 0\n }\n\n // If multiple durations are defined, take the first\n transitionDuration = transitionDuration.split(',')[0]\n transitionDelay = transitionDelay.split(',')[0]\n\n return (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER\n}\n\nconst triggerTransitionEnd = element => {\n element.dispatchEvent(new Event(TRANSITION_END))\n}\n\nconst isElement = object => {\n if (!object || typeof object !== 'object') {\n return false\n }\n\n if (typeof object.jquery !== 'undefined') {\n object = object[0]\n }\n\n return typeof object.nodeType !== 'undefined'\n}\n\nconst getElement = object => {\n // it's a jQuery object or a node element\n if (isElement(object)) {\n return object.jquery ? object[0] : object\n }\n\n if (typeof object === 'string' && object.length > 0) {\n return document.querySelector(parseSelector(object))\n }\n\n return null\n}\n\nconst isVisible = element => {\n if (!isElement(element) || element.getClientRects().length === 0) {\n return false\n }\n\n const elementIsVisible = getComputedStyle(element).getPropertyValue('visibility') === 'visible'\n // Handle `details` element as its content may falsie appear visible when it is closed\n const closedDetails = element.closest('details:not([open])')\n\n if (!closedDetails) {\n return elementIsVisible\n }\n\n if (closedDetails !== element) {\n const summary = element.closest('summary')\n if (summary && summary.parentNode !== closedDetails) {\n return false\n }\n\n if (summary === null) {\n return false\n }\n }\n\n return elementIsVisible\n}\n\nconst isDisabled = element => {\n if (!element || element.nodeType !== Node.ELEMENT_NODE) {\n return true\n }\n\n if (element.classList.contains('disabled')) {\n return true\n }\n\n if (typeof element.disabled !== 'undefined') {\n return element.disabled\n }\n\n return element.hasAttribute('disabled') && element.getAttribute('disabled') !== 'false'\n}\n\nconst findShadowRoot = element => {\n if (!document.documentElement.attachShadow) {\n return null\n }\n\n // Can find the shadow root otherwise it'll return the document\n if (typeof element.getRootNode === 'function') {\n const root = element.getRootNode()\n return root instanceof ShadowRoot ? root : null\n }\n\n if (element instanceof ShadowRoot) {\n return element\n }\n\n // when we don't find a shadow root\n if (!element.parentNode) {\n return null\n }\n\n return findShadowRoot(element.parentNode)\n}\n\nconst noop = () => {}\n\n/**\n * Trick to restart an element's animation\n *\n * @param {HTMLElement} element\n * @return void\n *\n * @see https://www.charistheo.io/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation\n */\nconst reflow = element => {\n element.offsetHeight // eslint-disable-line no-unused-expressions\n}\n\nconst getjQuery = () => {\n if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {\n return window.jQuery\n }\n\n return null\n}\n\nconst DOMContentLoadedCallbacks = []\n\nconst onDOMContentLoaded = callback => {\n if (document.readyState === 'loading') {\n // add listener on the first call when the document is in loading state\n if (!DOMContentLoadedCallbacks.length) {\n document.addEventListener('DOMContentLoaded', () => {\n for (const callback of DOMContentLoadedCallbacks) {\n callback()\n }\n })\n }\n\n DOMContentLoadedCallbacks.push(callback)\n } else {\n callback()\n }\n}\n\nconst isRTL = () => document.documentElement.dir === 'rtl'\n\nconst defineJQueryPlugin = plugin => {\n onDOMContentLoaded(() => {\n const $ = getjQuery()\n /* istanbul ignore if */\n if ($) {\n const name = plugin.NAME\n const JQUERY_NO_CONFLICT = $.fn[name]\n $.fn[name] = plugin.jQueryInterface\n $.fn[name].Constructor = plugin\n $.fn[name].noConflict = () => {\n $.fn[name] = JQUERY_NO_CONFLICT\n return plugin.jQueryInterface\n }\n }\n })\n}\n\nconst execute = (possibleCallback, args = [], defaultValue = possibleCallback) => {\n return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue\n}\n\nconst executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {\n if (!waitForTransition) {\n execute(callback)\n return\n }\n\n const durationPadding = 5\n const emulatedDuration = getTransitionDurationFromElement(transitionElement) + durationPadding\n\n let called = false\n\n const handler = ({ target }) => {\n if (target !== transitionElement) {\n return\n }\n\n called = true\n transitionElement.removeEventListener(TRANSITION_END, handler)\n execute(callback)\n }\n\n transitionElement.addEventListener(TRANSITION_END, handler)\n setTimeout(() => {\n if (!called) {\n triggerTransitionEnd(transitionElement)\n }\n }, emulatedDuration)\n}\n\n/**\n * Return the previous/next element of a list.\n *\n * @param {array} list The list of elements\n * @param activeElement The active element\n * @param shouldGetNext Choose to get next or previous element\n * @param isCycleAllowed\n * @return {Element|elem} The proper element\n */\nconst getNextActiveElement = (list, activeElement, shouldGetNext, isCycleAllowed) => {\n const listLength = list.length\n let index = list.indexOf(activeElement)\n\n // if the element does not exist in the list return an element\n // depending on the direction and if cycle is allowed\n if (index === -1) {\n return !shouldGetNext && isCycleAllowed ? list[listLength - 1] : list[0]\n }\n\n index += shouldGetNext ? 1 : -1\n\n if (isCycleAllowed) {\n index = (index + listLength) % listLength\n }\n\n return list[Math.max(0, Math.min(index, listLength - 1))]\n}\n\nexport {\n defineJQueryPlugin,\n execute,\n executeAfterTransition,\n findShadowRoot,\n getElement,\n getjQuery,\n getNextActiveElement,\n getTransitionDurationFromElement,\n getUID,\n isDisabled,\n isElement,\n isRTL,\n isVisible,\n noop,\n onDOMContentLoaded,\n parseSelector,\n reflow,\n triggerTransitionEnd,\n toType\n}\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap dom/event-handler.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport { getjQuery } from '../util/index.js'\n\n/**\n * Constants\n */\n\nconst namespaceRegex = /[^.]*(?=\\..*)\\.|.*/\nconst stripNameRegex = /\\..*/\nconst stripUidRegex = /::\\d+$/\nconst eventRegistry = {} // Events storage\nlet uidEvent = 1\nconst customEvents = {\n mouseenter: 'mouseover',\n mouseleave: 'mouseout'\n}\n\nconst nativeEvents = new Set([\n 'click',\n 'dblclick',\n 'mouseup',\n 'mousedown',\n 'contextmenu',\n 'mousewheel',\n 'DOMMouseScroll',\n 'mouseover',\n 'mouseout',\n 'mousemove',\n 'selectstart',\n 'selectend',\n 'keydown',\n 'keypress',\n 'keyup',\n 'orientationchange',\n 'touchstart',\n 'touchmove',\n 'touchend',\n 'touchcancel',\n 'pointerdown',\n 'pointermove',\n 'pointerup',\n 'pointerleave',\n 'pointercancel',\n 'gesturestart',\n 'gesturechange',\n 'gestureend',\n 'focus',\n 'blur',\n 'change',\n 'reset',\n 'select',\n 'submit',\n 'focusin',\n 'focusout',\n 'load',\n 'unload',\n 'beforeunload',\n 'resize',\n 'move',\n 'DOMContentLoaded',\n 'readystatechange',\n 'error',\n 'abort',\n 'scroll'\n])\n\n/**\n * Private methods\n */\n\nfunction makeEventUid(element, uid) {\n return (uid && `${uid}::${uidEvent++}`) || element.uidEvent || uidEvent++\n}\n\nfunction getElementEvents(element) {\n const uid = makeEventUid(element)\n\n element.uidEvent = uid\n eventRegistry[uid] = eventRegistry[uid] || {}\n\n return eventRegistry[uid]\n}\n\nfunction bootstrapHandler(element, fn) {\n return function handler(event) {\n hydrateObj(event, { delegateTarget: element })\n\n if (handler.oneOff) {\n EventHandler.off(element, event.type, fn)\n }\n\n return fn.apply(element, [event])\n }\n}\n\nfunction bootstrapDelegationHandler(element, selector, fn) {\n return function handler(event) {\n const domElements = element.querySelectorAll(selector)\n\n for (let { target } = event; target && target !== this; target = target.parentNode) {\n for (const domElement of domElements) {\n if (domElement !== target) {\n continue\n }\n\n hydrateObj(event, { delegateTarget: target })\n\n if (handler.oneOff) {\n EventHandler.off(element, event.type, selector, fn)\n }\n\n return fn.apply(target, [event])\n }\n }\n }\n}\n\nfunction findHandler(events, callable, delegationSelector = null) {\n return Object.values(events)\n .find(event => event.callable === callable && event.delegationSelector === delegationSelector)\n}\n\nfunction normalizeParameters(originalTypeEvent, handler, delegationFunction) {\n const isDelegated = typeof handler === 'string'\n // TODO: tooltip passes `false` instead of selector, so we need to check\n const callable = isDelegated ? delegationFunction : (handler || delegationFunction)\n let typeEvent = getTypeEvent(originalTypeEvent)\n\n if (!nativeEvents.has(typeEvent)) {\n typeEvent = originalTypeEvent\n }\n\n return [isDelegated, callable, typeEvent]\n}\n\nfunction addHandler(element, originalTypeEvent, handler, delegationFunction, oneOff) {\n if (typeof originalTypeEvent !== 'string' || !element) {\n return\n }\n\n let [isDelegated, callable, typeEvent] = normalizeParameters(originalTypeEvent, handler, delegationFunction)\n\n // in case of mouseenter or mouseleave wrap the handler within a function that checks for its DOM position\n // this prevents the handler from being dispatched the same way as mouseover or mouseout does\n if (originalTypeEvent in customEvents) {\n const wrapFunction = fn => {\n return function (event) {\n if (!event.relatedTarget || (event.relatedTarget !== event.delegateTarget && !event.delegateTarget.contains(event.relatedTarget))) {\n return fn.call(this, event)\n }\n }\n }\n\n callable = wrapFunction(callable)\n }\n\n const events = getElementEvents(element)\n const handlers = events[typeEvent] || (events[typeEvent] = {})\n const previousFunction = findHandler(handlers, callable, isDelegated ? handler : null)\n\n if (previousFunction) {\n previousFunction.oneOff = previousFunction.oneOff && oneOff\n\n return\n }\n\n const uid = makeEventUid(callable, originalTypeEvent.replace(namespaceRegex, ''))\n const fn = isDelegated ?\n bootstrapDelegationHandler(element, handler, callable) :\n bootstrapHandler(element, callable)\n\n fn.delegationSelector = isDelegated ? handler : null\n fn.callable = callable\n fn.oneOff = oneOff\n fn.uidEvent = uid\n handlers[uid] = fn\n\n element.addEventListener(typeEvent, fn, isDelegated)\n}\n\nfunction removeHandler(element, events, typeEvent, handler, delegationSelector) {\n const fn = findHandler(events[typeEvent], handler, delegationSelector)\n\n if (!fn) {\n return\n }\n\n element.removeEventListener(typeEvent, fn, Boolean(delegationSelector))\n delete events[typeEvent][fn.uidEvent]\n}\n\nfunction removeNamespacedHandlers(element, events, typeEvent, namespace) {\n const storeElementEvent = events[typeEvent] || {}\n\n for (const [handlerKey, event] of Object.entries(storeElementEvent)) {\n if (handlerKey.includes(namespace)) {\n removeHandler(element, events, typeEvent, event.callable, event.delegationSelector)\n }\n }\n}\n\nfunction getTypeEvent(event) {\n // allow to get the native events from namespaced events ('click.bs.button' --> 'click')\n event = event.replace(stripNameRegex, '')\n return customEvents[event] || event\n}\n\nconst EventHandler = {\n on(element, event, handler, delegationFunction) {\n addHandler(element, event, handler, delegationFunction, false)\n },\n\n one(element, event, handler, delegationFunction) {\n addHandler(element, event, handler, delegationFunction, true)\n },\n\n off(element, originalTypeEvent, handler, delegationFunction) {\n if (typeof originalTypeEvent !== 'string' || !element) {\n return\n }\n\n const [isDelegated, callable, typeEvent] = normalizeParameters(originalTypeEvent, handler, delegationFunction)\n const inNamespace = typeEvent !== originalTypeEvent\n const events = getElementEvents(element)\n const storeElementEvent = events[typeEvent] || {}\n const isNamespace = originalTypeEvent.startsWith('.')\n\n if (typeof callable !== 'undefined') {\n // Simplest case: handler is passed, remove that listener ONLY.\n if (!Object.keys(storeElementEvent).length) {\n return\n }\n\n removeHandler(element, events, typeEvent, callable, isDelegated ? handler : null)\n return\n }\n\n if (isNamespace) {\n for (const elementEvent of Object.keys(events)) {\n removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1))\n }\n }\n\n for (const [keyHandlers, event] of Object.entries(storeElementEvent)) {\n const handlerKey = keyHandlers.replace(stripUidRegex, '')\n\n if (!inNamespace || originalTypeEvent.includes(handlerKey)) {\n removeHandler(element, events, typeEvent, event.callable, event.delegationSelector)\n }\n }\n },\n\n trigger(element, event, args) {\n if (typeof event !== 'string' || !element) {\n return null\n }\n\n const $ = getjQuery()\n const typeEvent = getTypeEvent(event)\n const inNamespace = event !== typeEvent\n\n let jQueryEvent = null\n let bubbles = true\n let nativeDispatch = true\n let defaultPrevented = false\n\n if (inNamespace && $) {\n jQueryEvent = $.Event(event, args)\n\n $(element).trigger(jQueryEvent)\n bubbles = !jQueryEvent.isPropagationStopped()\n nativeDispatch = !jQueryEvent.isImmediatePropagationStopped()\n defaultPrevented = jQueryEvent.isDefaultPrevented()\n }\n\n const evt = hydrateObj(new Event(event, { bubbles, cancelable: true }), args)\n\n if (defaultPrevented) {\n evt.preventDefault()\n }\n\n if (nativeDispatch) {\n element.dispatchEvent(evt)\n }\n\n if (evt.defaultPrevented && jQueryEvent) {\n jQueryEvent.preventDefault()\n }\n\n return evt\n }\n}\n\nfunction hydrateObj(obj, meta = {}) {\n for (const [key, value] of Object.entries(meta)) {\n try {\n obj[key] = value\n } catch {\n Object.defineProperty(obj, key, {\n configurable: true,\n get() {\n return value\n }\n })\n }\n }\n\n return obj\n}\n\nexport default EventHandler\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap dom/manipulator.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nfunction normalizeData(value) {\n if (value === 'true') {\n return true\n }\n\n if (value === 'false') {\n return false\n }\n\n if (value === Number(value).toString()) {\n return Number(value)\n }\n\n if (value === '' || value === 'null') {\n return null\n }\n\n if (typeof value !== 'string') {\n return value\n }\n\n try {\n return JSON.parse(decodeURIComponent(value))\n } catch {\n return value\n }\n}\n\nfunction normalizeDataKey(key) {\n return key.replace(/[A-Z]/g, chr => `-${chr.toLowerCase()}`)\n}\n\nconst Manipulator = {\n setDataAttribute(element, key, value) {\n element.setAttribute(`data-bs-${normalizeDataKey(key)}`, value)\n },\n\n removeDataAttribute(element, key) {\n element.removeAttribute(`data-bs-${normalizeDataKey(key)}`)\n },\n\n getDataAttributes(element) {\n if (!element) {\n return {}\n }\n\n const attributes = {}\n const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'))\n\n for (const key of bsKeys) {\n let pureKey = key.replace(/^bs/, '')\n pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length)\n attributes[pureKey] = normalizeData(element.dataset[key])\n }\n\n return attributes\n },\n\n getDataAttribute(element, key) {\n return normalizeData(element.getAttribute(`data-bs-${normalizeDataKey(key)}`))\n }\n}\n\nexport default Manipulator\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/config.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport Manipulator from '../dom/manipulator.js'\nimport { isElement, toType } from './index.js'\n\n/**\n * Class definition\n */\n\nclass Config {\n // Getters\n static get Default() {\n return {}\n }\n\n static get DefaultType() {\n return {}\n }\n\n static get NAME() {\n throw new Error('You have to implement the static method \"NAME\", for each component!')\n }\n\n _getConfig(config) {\n config = this._mergeConfigObj(config)\n config = this._configAfterMerge(config)\n this._typeCheckConfig(config)\n return config\n }\n\n _configAfterMerge(config) {\n return config\n }\n\n _mergeConfigObj(config, element) {\n const jsonConfig = isElement(element) ? Manipulator.getDataAttribute(element, 'config') : {} // try to parse\n\n return {\n ...this.constructor.Default,\n ...(typeof jsonConfig === 'object' ? jsonConfig : {}),\n ...(isElement(element) ? Manipulator.getDataAttributes(element) : {}),\n ...(typeof config === 'object' ? config : {})\n }\n }\n\n _typeCheckConfig(config, configTypes = this.constructor.DefaultType) {\n for (const [property, expectedTypes] of Object.entries(configTypes)) {\n const value = config[property]\n const valueType = isElement(value) ? 'element' : toType(value)\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new TypeError(\n `${this.constructor.NAME.toUpperCase()}: Option \"${property}\" provided type \"${valueType}\" but expected type \"${expectedTypes}\".`\n )\n }\n }\n }\n}\n\nexport default Config\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap base-component.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport Data from './dom/data.js'\nimport EventHandler from './dom/event-handler.js'\nimport Config from './util/config.js'\nimport { executeAfterTransition, getElement } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst VERSION = '5.3.1'\n\n/**\n * Class definition\n */\n\nclass BaseComponent extends Config {\n constructor(element, config) {\n super()\n\n element = getElement(element)\n if (!element) {\n return\n }\n\n this._element = element\n this._config = this._getConfig(config)\n\n Data.set(this._element, this.constructor.DATA_KEY, this)\n }\n\n // Public\n dispose() {\n Data.remove(this._element, this.constructor.DATA_KEY)\n EventHandler.off(this._element, this.constructor.EVENT_KEY)\n\n for (const propertyName of Object.getOwnPropertyNames(this)) {\n this[propertyName] = null\n }\n }\n\n _queueCallback(callback, element, isAnimated = true) {\n executeAfterTransition(callback, element, isAnimated)\n }\n\n _getConfig(config) {\n config = this._mergeConfigObj(config, this._element)\n config = this._configAfterMerge(config)\n this._typeCheckConfig(config)\n return config\n }\n\n // Static\n static getInstance(element) {\n return Data.get(getElement(element), this.DATA_KEY)\n }\n\n static getOrCreateInstance(element, config = {}) {\n return this.getInstance(element) || new this(element, typeof config === 'object' ? config : null)\n }\n\n static get VERSION() {\n return VERSION\n }\n\n static get DATA_KEY() {\n return `bs.${this.NAME}`\n }\n\n static get EVENT_KEY() {\n return `.${this.DATA_KEY}`\n }\n\n static eventName(name) {\n return `${name}${this.EVENT_KEY}`\n }\n}\n\nexport default BaseComponent\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap dom/selector-engine.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport { isDisabled, isVisible, parseSelector } from '../util/index.js'\n\nconst getSelector = element => {\n let selector = element.getAttribute('data-bs-target')\n\n if (!selector || selector === '#') {\n let hrefAttribute = element.getAttribute('href')\n\n // The only valid content that could double as a selector are IDs or classes,\n // so everything starting with `#` or `.`. If a \"real\" URL is used as the selector,\n // `document.querySelector` will rightfully complain it is invalid.\n // See https://github.com/twbs/bootstrap/issues/32273\n if (!hrefAttribute || (!hrefAttribute.includes('#') && !hrefAttribute.startsWith('.'))) {\n return null\n }\n\n // Just in case some CMS puts out a full URL with the anchor appended\n if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {\n hrefAttribute = `#${hrefAttribute.split('#')[1]}`\n }\n\n selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null\n }\n\n return parseSelector(selector)\n}\n\nconst SelectorEngine = {\n find(selector, element = document.documentElement) {\n return [].concat(...Element.prototype.querySelectorAll.call(element, selector))\n },\n\n findOne(selector, element = document.documentElement) {\n return Element.prototype.querySelector.call(element, selector)\n },\n\n children(element, selector) {\n return [].concat(...element.children).filter(child => child.matches(selector))\n },\n\n parents(element, selector) {\n const parents = []\n let ancestor = element.parentNode.closest(selector)\n\n while (ancestor) {\n parents.push(ancestor)\n ancestor = ancestor.parentNode.closest(selector)\n }\n\n return parents\n },\n\n prev(element, selector) {\n let previous = element.previousElementSibling\n\n while (previous) {\n if (previous.matches(selector)) {\n return [previous]\n }\n\n previous = previous.previousElementSibling\n }\n\n return []\n },\n // TODO: this is now unused; remove later along with prev()\n next(element, selector) {\n let next = element.nextElementSibling\n\n while (next) {\n if (next.matches(selector)) {\n return [next]\n }\n\n next = next.nextElementSibling\n }\n\n return []\n },\n\n focusableChildren(element) {\n const focusables = [\n 'a',\n 'button',\n 'input',\n 'textarea',\n 'select',\n 'details',\n '[tabindex]',\n '[contenteditable=\"true\"]'\n ].map(selector => `${selector}:not([tabindex^=\"-\"])`).join(',')\n\n return this.find(focusables, element).filter(el => !isDisabled(el) && isVisible(el))\n },\n\n getSelectorFromElement(element) {\n const selector = getSelector(element)\n\n if (selector) {\n return SelectorEngine.findOne(selector) ? selector : null\n }\n\n return null\n },\n\n getElementFromSelector(element) {\n const selector = getSelector(element)\n\n return selector ? SelectorEngine.findOne(selector) : null\n },\n\n getMultipleElementsFromSelector(element) {\n const selector = getSelector(element)\n\n return selector ? SelectorEngine.find(selector) : []\n }\n}\n\nexport default SelectorEngine\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/component-functions.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport EventHandler from '../dom/event-handler.js'\nimport SelectorEngine from '../dom/selector-engine.js'\nimport { isDisabled } from './index.js'\n\nconst enableDismissTrigger = (component, method = 'hide') => {\n const clickEvent = `click.dismiss${component.EVENT_KEY}`\n const name = component.NAME\n\n EventHandler.on(document, clickEvent, `[data-bs-dismiss=\"${name}\"]`, function (event) {\n if (['A', 'AREA'].includes(this.tagName)) {\n event.preventDefault()\n }\n\n if (isDisabled(this)) {\n return\n }\n\n const target = SelectorEngine.getElementFromSelector(this) || this.closest(`.${name}`)\n const instance = component.getOrCreateInstance(target)\n\n // Method argument is left, for Alert and only, as it doesn't implement the 'hide' method\n instance[method]()\n })\n}\n\nexport {\n enableDismissTrigger\n}\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap alert.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport { enableDismissTrigger } from './util/component-functions.js'\nimport { defineJQueryPlugin } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'alert'\nconst DATA_KEY = 'bs.alert'\nconst EVENT_KEY = `.${DATA_KEY}`\n\nconst EVENT_CLOSE = `close${EVENT_KEY}`\nconst EVENT_CLOSED = `closed${EVENT_KEY}`\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\n\n/**\n * Class definition\n */\n\nclass Alert extends BaseComponent {\n // Getters\n static get NAME() {\n return NAME\n }\n\n // Public\n close() {\n const closeEvent = EventHandler.trigger(this._element, EVENT_CLOSE)\n\n if (closeEvent.defaultPrevented) {\n return\n }\n\n this._element.classList.remove(CLASS_NAME_SHOW)\n\n const isAnimated = this._element.classList.contains(CLASS_NAME_FADE)\n this._queueCallback(() => this._destroyElement(), this._element, isAnimated)\n }\n\n // Private\n _destroyElement() {\n this._element.remove()\n EventHandler.trigger(this._element, EVENT_CLOSED)\n this.dispose()\n }\n\n // Static\n static jQueryInterface(config) {\n return this.each(function () {\n const data = Alert.getOrCreateInstance(this)\n\n if (typeof config !== 'string') {\n return\n }\n\n if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config](this)\n })\n }\n}\n\n/**\n * Data API implementation\n */\n\nenableDismissTrigger(Alert, 'close')\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Alert)\n\nexport default Alert\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap button.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport { defineJQueryPlugin } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'button'\nconst DATA_KEY = 'bs.button'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\n\nconst CLASS_NAME_ACTIVE = 'active'\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"button\"]'\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\n/**\n * Class definition\n */\n\nclass Button extends BaseComponent {\n // Getters\n static get NAME() {\n return NAME\n }\n\n // Public\n toggle() {\n // Toggle class and sync the `aria-pressed` attribute with the return value of the `.toggle()` method\n this._element.setAttribute('aria-pressed', this._element.classList.toggle(CLASS_NAME_ACTIVE))\n }\n\n // Static\n static jQueryInterface(config) {\n return this.each(function () {\n const data = Button.getOrCreateInstance(this)\n\n if (config === 'toggle') {\n data[config]()\n }\n })\n }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, event => {\n event.preventDefault()\n\n const button = event.target.closest(SELECTOR_DATA_TOGGLE)\n const data = Button.getOrCreateInstance(button)\n\n data.toggle()\n})\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Button)\n\nexport default Button\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/swipe.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport EventHandler from '../dom/event-handler.js'\nimport Config from './config.js'\nimport { execute } from './index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'swipe'\nconst EVENT_KEY = '.bs.swipe'\nconst EVENT_TOUCHSTART = `touchstart${EVENT_KEY}`\nconst EVENT_TOUCHMOVE = `touchmove${EVENT_KEY}`\nconst EVENT_TOUCHEND = `touchend${EVENT_KEY}`\nconst EVENT_POINTERDOWN = `pointerdown${EVENT_KEY}`\nconst EVENT_POINTERUP = `pointerup${EVENT_KEY}`\nconst POINTER_TYPE_TOUCH = 'touch'\nconst POINTER_TYPE_PEN = 'pen'\nconst CLASS_NAME_POINTER_EVENT = 'pointer-event'\nconst SWIPE_THRESHOLD = 40\n\nconst Default = {\n endCallback: null,\n leftCallback: null,\n rightCallback: null\n}\n\nconst DefaultType = {\n endCallback: '(function|null)',\n leftCallback: '(function|null)',\n rightCallback: '(function|null)'\n}\n\n/**\n * Class definition\n */\n\nclass Swipe extends Config {\n constructor(element, config) {\n super()\n this._element = element\n\n if (!element || !Swipe.isSupported()) {\n return\n }\n\n this._config = this._getConfig(config)\n this._deltaX = 0\n this._supportPointerEvents = Boolean(window.PointerEvent)\n this._initEvents()\n }\n\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Public\n dispose() {\n EventHandler.off(this._element, EVENT_KEY)\n }\n\n // Private\n _start(event) {\n if (!this._supportPointerEvents) {\n this._deltaX = event.touches[0].clientX\n\n return\n }\n\n if (this._eventIsPointerPenTouch(event)) {\n this._deltaX = event.clientX\n }\n }\n\n _end(event) {\n if (this._eventIsPointerPenTouch(event)) {\n this._deltaX = event.clientX - this._deltaX\n }\n\n this._handleSwipe()\n execute(this._config.endCallback)\n }\n\n _move(event) {\n this._deltaX = event.touches && event.touches.length > 1 ?\n 0 :\n event.touches[0].clientX - this._deltaX\n }\n\n _handleSwipe() {\n const absDeltaX = Math.abs(this._deltaX)\n\n if (absDeltaX <= SWIPE_THRESHOLD) {\n return\n }\n\n const direction = absDeltaX / this._deltaX\n\n this._deltaX = 0\n\n if (!direction) {\n return\n }\n\n execute(direction > 0 ? this._config.rightCallback : this._config.leftCallback)\n }\n\n _initEvents() {\n if (this._supportPointerEvents) {\n EventHandler.on(this._element, EVENT_POINTERDOWN, event => this._start(event))\n EventHandler.on(this._element, EVENT_POINTERUP, event => this._end(event))\n\n this._element.classList.add(CLASS_NAME_POINTER_EVENT)\n } else {\n EventHandler.on(this._element, EVENT_TOUCHSTART, event => this._start(event))\n EventHandler.on(this._element, EVENT_TOUCHMOVE, event => this._move(event))\n EventHandler.on(this._element, EVENT_TOUCHEND, event => this._end(event))\n }\n }\n\n _eventIsPointerPenTouch(event) {\n return this._supportPointerEvents && (event.pointerType === POINTER_TYPE_PEN || event.pointerType === POINTER_TYPE_TOUCH)\n }\n\n // Static\n static isSupported() {\n return 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0\n }\n}\n\nexport default Swipe\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap carousel.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport Manipulator from './dom/manipulator.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport {\n defineJQueryPlugin,\n getNextActiveElement,\n isRTL,\n isVisible,\n reflow,\n triggerTransitionEnd\n} from './util/index.js'\nimport Swipe from './util/swipe.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'carousel'\nconst DATA_KEY = 'bs.carousel'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\n\nconst ARROW_LEFT_KEY = 'ArrowLeft'\nconst ARROW_RIGHT_KEY = 'ArrowRight'\nconst TOUCHEVENT_COMPAT_WAIT = 500 // Time for mouse compat events to fire after touch\n\nconst ORDER_NEXT = 'next'\nconst ORDER_PREV = 'prev'\nconst DIRECTION_LEFT = 'left'\nconst DIRECTION_RIGHT = 'right'\n\nconst EVENT_SLIDE = `slide${EVENT_KEY}`\nconst EVENT_SLID = `slid${EVENT_KEY}`\nconst EVENT_KEYDOWN = `keydown${EVENT_KEY}`\nconst EVENT_MOUSEENTER = `mouseenter${EVENT_KEY}`\nconst EVENT_MOUSELEAVE = `mouseleave${EVENT_KEY}`\nconst EVENT_DRAG_START = `dragstart${EVENT_KEY}`\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst CLASS_NAME_CAROUSEL = 'carousel'\nconst CLASS_NAME_ACTIVE = 'active'\nconst CLASS_NAME_SLIDE = 'slide'\nconst CLASS_NAME_END = 'carousel-item-end'\nconst CLASS_NAME_START = 'carousel-item-start'\nconst CLASS_NAME_NEXT = 'carousel-item-next'\nconst CLASS_NAME_PREV = 'carousel-item-prev'\n\nconst SELECTOR_ACTIVE = '.active'\nconst SELECTOR_ITEM = '.carousel-item'\nconst SELECTOR_ACTIVE_ITEM = SELECTOR_ACTIVE + SELECTOR_ITEM\nconst SELECTOR_ITEM_IMG = '.carousel-item img'\nconst SELECTOR_INDICATORS = '.carousel-indicators'\nconst SELECTOR_DATA_SLIDE = '[data-bs-slide], [data-bs-slide-to]'\nconst SELECTOR_DATA_RIDE = '[data-bs-ride=\"carousel\"]'\n\nconst KEY_TO_DIRECTION = {\n [ARROW_LEFT_KEY]: DIRECTION_RIGHT,\n [ARROW_RIGHT_KEY]: DIRECTION_LEFT\n}\n\nconst Default = {\n interval: 5000,\n keyboard: true,\n pause: 'hover',\n ride: false,\n touch: true,\n wrap: true\n}\n\nconst DefaultType = {\n interval: '(number|boolean)', // TODO:v6 remove boolean support\n keyboard: 'boolean',\n pause: '(string|boolean)',\n ride: '(boolean|string)',\n touch: 'boolean',\n wrap: 'boolean'\n}\n\n/**\n * Class definition\n */\n\nclass Carousel extends BaseComponent {\n constructor(element, config) {\n super(element, config)\n\n this._interval = null\n this._activeElement = null\n this._isSliding = false\n this.touchTimeout = null\n this._swipeHelper = null\n\n this._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, this._element)\n this._addEventListeners()\n\n if (this._config.ride === CLASS_NAME_CAROUSEL) {\n this.cycle()\n }\n }\n\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Public\n next() {\n this._slide(ORDER_NEXT)\n }\n\n nextWhenVisible() {\n // FIXME TODO use `document.visibilityState`\n // Don't call next when the page isn't visible\n // or the carousel or its parent isn't visible\n if (!document.hidden && isVisible(this._element)) {\n this.next()\n }\n }\n\n prev() {\n this._slide(ORDER_PREV)\n }\n\n pause() {\n if (this._isSliding) {\n triggerTransitionEnd(this._element)\n }\n\n this._clearInterval()\n }\n\n cycle() {\n this._clearInterval()\n this._updateInterval()\n\n this._interval = setInterval(() => this.nextWhenVisible(), this._config.interval)\n }\n\n _maybeEnableCycle() {\n if (!this._config.ride) {\n return\n }\n\n if (this._isSliding) {\n EventHandler.one(this._element, EVENT_SLID, () => this.cycle())\n return\n }\n\n this.cycle()\n }\n\n to(index) {\n const items = this._getItems()\n if (index > items.length - 1 || index < 0) {\n return\n }\n\n if (this._isSliding) {\n EventHandler.one(this._element, EVENT_SLID, () => this.to(index))\n return\n }\n\n const activeIndex = this._getItemIndex(this._getActive())\n if (activeIndex === index) {\n return\n }\n\n const order = index > activeIndex ? ORDER_NEXT : ORDER_PREV\n\n this._slide(order, items[index])\n }\n\n dispose() {\n if (this._swipeHelper) {\n this._swipeHelper.dispose()\n }\n\n super.dispose()\n }\n\n // Private\n _configAfterMerge(config) {\n config.defaultInterval = config.interval\n return config\n }\n\n _addEventListeners() {\n if (this._config.keyboard) {\n EventHandler.on(this._element, EVENT_KEYDOWN, event => this._keydown(event))\n }\n\n if (this._config.pause === 'hover') {\n EventHandler.on(this._element, EVENT_MOUSEENTER, () => this.pause())\n EventHandler.on(this._element, EVENT_MOUSELEAVE, () => this._maybeEnableCycle())\n }\n\n if (this._config.touch && Swipe.isSupported()) {\n this._addTouchEventListeners()\n }\n }\n\n _addTouchEventListeners() {\n for (const img of SelectorEngine.find(SELECTOR_ITEM_IMG, this._element)) {\n EventHandler.on(img, EVENT_DRAG_START, event => event.preventDefault())\n }\n\n const endCallBack = () => {\n if (this._config.pause !== 'hover') {\n return\n }\n\n // If it's a touch-enabled device, mouseenter/leave are fired as\n // part of the mouse compatibility events on first tap - the carousel\n // would stop cycling until user tapped out of it;\n // here, we listen for touchend, explicitly pause the carousel\n // (as if it's the second time we tap on it, mouseenter compat event\n // is NOT fired) and after a timeout (to allow for mouse compatibility\n // events to fire) we explicitly restart cycling\n\n this.pause()\n if (this.touchTimeout) {\n clearTimeout(this.touchTimeout)\n }\n\n this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), TOUCHEVENT_COMPAT_WAIT + this._config.interval)\n }\n\n const swipeConfig = {\n leftCallback: () => this._slide(this._directionToOrder(DIRECTION_LEFT)),\n rightCallback: () => this._slide(this._directionToOrder(DIRECTION_RIGHT)),\n endCallback: endCallBack\n }\n\n this._swipeHelper = new Swipe(this._element, swipeConfig)\n }\n\n _keydown(event) {\n if (/input|textarea/i.test(event.target.tagName)) {\n return\n }\n\n const direction = KEY_TO_DIRECTION[event.key]\n if (direction) {\n event.preventDefault()\n this._slide(this._directionToOrder(direction))\n }\n }\n\n _getItemIndex(element) {\n return this._getItems().indexOf(element)\n }\n\n _setActiveIndicatorElement(index) {\n if (!this._indicatorsElement) {\n return\n }\n\n const activeIndicator = SelectorEngine.findOne(SELECTOR_ACTIVE, this._indicatorsElement)\n\n activeIndicator.classList.remove(CLASS_NAME_ACTIVE)\n activeIndicator.removeAttribute('aria-current')\n\n const newActiveIndicator = SelectorEngine.findOne(`[data-bs-slide-to=\"${index}\"]`, this._indicatorsElement)\n\n if (newActiveIndicator) {\n newActiveIndicator.classList.add(CLASS_NAME_ACTIVE)\n newActiveIndicator.setAttribute('aria-current', 'true')\n }\n }\n\n _updateInterval() {\n const element = this._activeElement || this._getActive()\n\n if (!element) {\n return\n }\n\n const elementInterval = Number.parseInt(element.getAttribute('data-bs-interval'), 10)\n\n this._config.interval = elementInterval || this._config.defaultInterval\n }\n\n _slide(order, element = null) {\n if (this._isSliding) {\n return\n }\n\n const activeElement = this._getActive()\n const isNext = order === ORDER_NEXT\n const nextElement = element || getNextActiveElement(this._getItems(), activeElement, isNext, this._config.wrap)\n\n if (nextElement === activeElement) {\n return\n }\n\n const nextElementIndex = this._getItemIndex(nextElement)\n\n const triggerEvent = eventName => {\n return EventHandler.trigger(this._element, eventName, {\n relatedTarget: nextElement,\n direction: this._orderToDirection(order),\n from: this._getItemIndex(activeElement),\n to: nextElementIndex\n })\n }\n\n const slideEvent = triggerEvent(EVENT_SLIDE)\n\n if (slideEvent.defaultPrevented) {\n return\n }\n\n if (!activeElement || !nextElement) {\n // Some weirdness is happening, so we bail\n // TODO: change tests that use empty divs to avoid this check\n return\n }\n\n const isCycling = Boolean(this._interval)\n this.pause()\n\n this._isSliding = true\n\n this._setActiveIndicatorElement(nextElementIndex)\n this._activeElement = nextElement\n\n const directionalClassName = isNext ? CLASS_NAME_START : CLASS_NAME_END\n const orderClassName = isNext ? CLASS_NAME_NEXT : CLASS_NAME_PREV\n\n nextElement.classList.add(orderClassName)\n\n reflow(nextElement)\n\n activeElement.classList.add(directionalClassName)\n nextElement.classList.add(directionalClassName)\n\n const completeCallBack = () => {\n nextElement.classList.remove(directionalClassName, orderClassName)\n nextElement.classList.add(CLASS_NAME_ACTIVE)\n\n activeElement.classList.remove(CLASS_NAME_ACTIVE, orderClassName, directionalClassName)\n\n this._isSliding = false\n\n triggerEvent(EVENT_SLID)\n }\n\n this._queueCallback(completeCallBack, activeElement, this._isAnimated())\n\n if (isCycling) {\n this.cycle()\n }\n }\n\n _isAnimated() {\n return this._element.classList.contains(CLASS_NAME_SLIDE)\n }\n\n _getActive() {\n return SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element)\n }\n\n _getItems() {\n return SelectorEngine.find(SELECTOR_ITEM, this._element)\n }\n\n _clearInterval() {\n if (this._interval) {\n clearInterval(this._interval)\n this._interval = null\n }\n }\n\n _directionToOrder(direction) {\n if (isRTL()) {\n return direction === DIRECTION_LEFT ? ORDER_PREV : ORDER_NEXT\n }\n\n return direction === DIRECTION_LEFT ? ORDER_NEXT : ORDER_PREV\n }\n\n _orderToDirection(order) {\n if (isRTL()) {\n return order === ORDER_PREV ? DIRECTION_LEFT : DIRECTION_RIGHT\n }\n\n return order === ORDER_PREV ? DIRECTION_RIGHT : DIRECTION_LEFT\n }\n\n // Static\n static jQueryInterface(config) {\n return this.each(function () {\n const data = Carousel.getOrCreateInstance(this, config)\n\n if (typeof config === 'number') {\n data.to(config)\n return\n }\n\n if (typeof config === 'string') {\n if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config]()\n }\n })\n }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_SLIDE, function (event) {\n const target = SelectorEngine.getElementFromSelector(this)\n\n if (!target || !target.classList.contains(CLASS_NAME_CAROUSEL)) {\n return\n }\n\n event.preventDefault()\n\n const carousel = Carousel.getOrCreateInstance(target)\n const slideIndex = this.getAttribute('data-bs-slide-to')\n\n if (slideIndex) {\n carousel.to(slideIndex)\n carousel._maybeEnableCycle()\n return\n }\n\n if (Manipulator.getDataAttribute(this, 'slide') === 'next') {\n carousel.next()\n carousel._maybeEnableCycle()\n return\n }\n\n carousel.prev()\n carousel._maybeEnableCycle()\n})\n\nEventHandler.on(window, EVENT_LOAD_DATA_API, () => {\n const carousels = SelectorEngine.find(SELECTOR_DATA_RIDE)\n\n for (const carousel of carousels) {\n Carousel.getOrCreateInstance(carousel)\n }\n})\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Carousel)\n\nexport default Carousel\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap collapse.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport {\n defineJQueryPlugin,\n getElement,\n reflow\n} from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'collapse'\nconst DATA_KEY = 'bs.collapse'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\n\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_COLLAPSE = 'collapse'\nconst CLASS_NAME_COLLAPSING = 'collapsing'\nconst CLASS_NAME_COLLAPSED = 'collapsed'\nconst CLASS_NAME_DEEPER_CHILDREN = `:scope .${CLASS_NAME_COLLAPSE} .${CLASS_NAME_COLLAPSE}`\nconst CLASS_NAME_HORIZONTAL = 'collapse-horizontal'\n\nconst WIDTH = 'width'\nconst HEIGHT = 'height'\n\nconst SELECTOR_ACTIVES = '.collapse.show, .collapse.collapsing'\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"collapse\"]'\n\nconst Default = {\n parent: null,\n toggle: true\n}\n\nconst DefaultType = {\n parent: '(null|element)',\n toggle: 'boolean'\n}\n\n/**\n * Class definition\n */\n\nclass Collapse extends BaseComponent {\n constructor(element, config) {\n super(element, config)\n\n this._isTransitioning = false\n this._triggerArray = []\n\n const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE)\n\n for (const elem of toggleList) {\n const selector = SelectorEngine.getSelectorFromElement(elem)\n const filterElement = SelectorEngine.find(selector)\n .filter(foundElement => foundElement === this._element)\n\n if (selector !== null && filterElement.length) {\n this._triggerArray.push(elem)\n }\n }\n\n this._initializeChildren()\n\n if (!this._config.parent) {\n this._addAriaAndCollapsedClass(this._triggerArray, this._isShown())\n }\n\n if (this._config.toggle) {\n this.toggle()\n }\n }\n\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Public\n toggle() {\n if (this._isShown()) {\n this.hide()\n } else {\n this.show()\n }\n }\n\n show() {\n if (this._isTransitioning || this._isShown()) {\n return\n }\n\n let activeChildren = []\n\n // find active children\n if (this._config.parent) {\n activeChildren = this._getFirstLevelChildren(SELECTOR_ACTIVES)\n .filter(element => element !== this._element)\n .map(element => Collapse.getOrCreateInstance(element, { toggle: false }))\n }\n\n if (activeChildren.length && activeChildren[0]._isTransitioning) {\n return\n }\n\n const startEvent = EventHandler.trigger(this._element, EVENT_SHOW)\n if (startEvent.defaultPrevented) {\n return\n }\n\n for (const activeInstance of activeChildren) {\n activeInstance.hide()\n }\n\n const dimension = this._getDimension()\n\n this._element.classList.remove(CLASS_NAME_COLLAPSE)\n this._element.classList.add(CLASS_NAME_COLLAPSING)\n\n this._element.style[dimension] = 0\n\n this._addAriaAndCollapsedClass(this._triggerArray, true)\n this._isTransitioning = true\n\n const complete = () => {\n this._isTransitioning = false\n\n this._element.classList.remove(CLASS_NAME_COLLAPSING)\n this._element.classList.add(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW)\n\n this._element.style[dimension] = ''\n\n EventHandler.trigger(this._element, EVENT_SHOWN)\n }\n\n const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1)\n const scrollSize = `scroll${capitalizedDimension}`\n\n this._queueCallback(complete, this._element, true)\n this._element.style[dimension] = `${this._element[scrollSize]}px`\n }\n\n hide() {\n if (this._isTransitioning || !this._isShown()) {\n return\n }\n\n const startEvent = EventHandler.trigger(this._element, EVENT_HIDE)\n if (startEvent.defaultPrevented) {\n return\n }\n\n const dimension = this._getDimension()\n\n this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px`\n\n reflow(this._element)\n\n this._element.classList.add(CLASS_NAME_COLLAPSING)\n this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW)\n\n for (const trigger of this._triggerArray) {\n const element = SelectorEngine.getElementFromSelector(trigger)\n\n if (element && !this._isShown(element)) {\n this._addAriaAndCollapsedClass([trigger], false)\n }\n }\n\n this._isTransitioning = true\n\n const complete = () => {\n this._isTransitioning = false\n this._element.classList.remove(CLASS_NAME_COLLAPSING)\n this._element.classList.add(CLASS_NAME_COLLAPSE)\n EventHandler.trigger(this._element, EVENT_HIDDEN)\n }\n\n this._element.style[dimension] = ''\n\n this._queueCallback(complete, this._element, true)\n }\n\n _isShown(element = this._element) {\n return element.classList.contains(CLASS_NAME_SHOW)\n }\n\n // Private\n _configAfterMerge(config) {\n config.toggle = Boolean(config.toggle) // Coerce string values\n config.parent = getElement(config.parent)\n return config\n }\n\n _getDimension() {\n return this._element.classList.contains(CLASS_NAME_HORIZONTAL) ? WIDTH : HEIGHT\n }\n\n _initializeChildren() {\n if (!this._config.parent) {\n return\n }\n\n const children = this._getFirstLevelChildren(SELECTOR_DATA_TOGGLE)\n\n for (const element of children) {\n const selected = SelectorEngine.getElementFromSelector(element)\n\n if (selected) {\n this._addAriaAndCollapsedClass([element], this._isShown(selected))\n }\n }\n }\n\n _getFirstLevelChildren(selector) {\n const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent)\n // remove children if greater depth\n return SelectorEngine.find(selector, this._config.parent).filter(element => !children.includes(element))\n }\n\n _addAriaAndCollapsedClass(triggerArray, isOpen) {\n if (!triggerArray.length) {\n return\n }\n\n for (const element of triggerArray) {\n element.classList.toggle(CLASS_NAME_COLLAPSED, !isOpen)\n element.setAttribute('aria-expanded', isOpen)\n }\n }\n\n // Static\n static jQueryInterface(config) {\n const _config = {}\n if (typeof config === 'string' && /show|hide/.test(config)) {\n _config.toggle = false\n }\n\n return this.each(function () {\n const data = Collapse.getOrCreateInstance(this, _config)\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config]()\n }\n })\n }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n // preventDefault only for elements (which change the URL) not inside the collapsible element\n if (event.target.tagName === 'A' || (event.delegateTarget && event.delegateTarget.tagName === 'A')) {\n event.preventDefault()\n }\n\n for (const element of SelectorEngine.getMultipleElementsFromSelector(this)) {\n Collapse.getOrCreateInstance(element, { toggle: false }).toggle()\n }\n})\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Collapse)\n\nexport default Collapse\n","export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","export default function getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}","export default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}","import getWindow from \"./getWindow.js\";\n\nfunction isElement(node) {\n var OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\nfunction isHTMLElement(node) {\n var OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n\n var OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n return placement.split('-')[0];\n}","export var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","export default function getUAString() {\n var uaData = navigator.userAgentData;\n\n if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {\n return uaData.brands.map(function (item) {\n return item.brand + \"/\" + item.version;\n }).join(' ');\n }\n\n return navigator.userAgent;\n}","import getUAString from \"../utils/userAgent.js\";\nexport default function isLayoutViewport() {\n return !/^((?!chrome|android).)*safari/i.test(getUAString());\n}","import { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport { round } from \"../utils/math.js\";\nimport getWindow from \"./getWindow.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getBoundingClientRect(element, includeScale, isFixedStrategy) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n\n var clientRect = element.getBoundingClientRect();\n var scaleX = 1;\n var scaleY = 1;\n\n if (includeScale && isHTMLElement(element)) {\n scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n }\n\n var _ref = isElement(element) ? getWindow(element) : window,\n visualViewport = _ref.visualViewport;\n\n var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;\n var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;\n var width = clientRect.width / scaleX;\n var height = clientRect.height / scaleY;\n return {\n width: width,\n height: height,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x,\n x: x,\n y: y\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\"; // Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\n\nexport default function getLayoutRect(element) {\n var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) <= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) <= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: width,\n height: height\n };\n}","import { isShadowRoot } from \"./instanceOf.js\";\nexport default function contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","import { isElement } from \"./instanceOf.js\";\nexport default function getDocumentElement(element) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n element.document) || window.document).documentElement;\n}","import getNodeName from \"./getNodeName.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport { isShadowRoot } from \"./instanceOf.js\";\nexport default function getParentNode(element) {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || ( // DOM Element detected\n isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n\n );\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement, isShadowRoot } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getUAString from \"../utils/userAgent.js\";\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var isFirefox = /firefox/i.test(getUAString());\n var isIE = /Trident/i.test(getUAString());\n\n if (isIE && isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n var elementCss = getComputedStyle(element);\n\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n var currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nexport default function getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}","export default function getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport function within(min, value, max) {\n return mathMax(min, mathMin(value, max));\n}\nexport function withinMaxClamp(min, value, max) {\n var v = within(min, value, max);\n return v > max ? max : v;\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","export default function expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","import { top, left, right, bottom, end } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref, win) {\n var x = _ref.x,\n y = _ref.y;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n variation = _ref2.variation,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets,\n isFixed = _ref2.isFixed;\n var _offsets$x = offsets.x,\n x = _offsets$x === void 0 ? 0 : _offsets$x,\n _offsets$y = offsets.y,\n y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref3.x;\n y = _ref3.y;\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top || (placement === left || placement === right) && variation === end) {\n sideY = bottom;\n var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left || (placement === top || placement === bottom) && variation === end) {\n sideX = right;\n var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n x: x,\n y: y\n }, getWindow(popper)) : {\n x: x,\n y: y\n };\n\n x = _ref4.x;\n y = _ref4.y;\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref5) {\n var state = _ref5.state,\n options = _ref5.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration,\n isFixed: state.options.strategy === 'fixed'\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};","import getWindow from \"../dom-utils/getWindow.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = getWindow(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n var win = getWindow(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on \n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","import getParentNode from \"./getParentNode.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) && isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getWindow from \"./getWindow.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nexport default function listScrollParents(element, list) {\n var _element$ownerDocumen;\n\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = getScrollParent(element);\n var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n var win = getWindow(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}","export default function rectToClientRect(rect) {\n return Object.assign({}, rect, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport contains from \"./contains.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\nimport { max, min } from \"../utils/math.js\";\n\nfunction getInnerBoundingClientRect(element, strategy) {\n var rect = getBoundingClientRect(element, false, strategy === 'fixed');\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent, strategy) {\n return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = listScrollParents(getParentNode(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary, strategy) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent, strategy));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}","import getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getViewportRect(element, strategy) {\n var win = getWindow(element);\n var html = getDocumentElement(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0;\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n var layoutViewport = isLayoutViewport();\n\n if (layoutViewport || !layoutViewport && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + getWindowScrollBarX(element),\n y: y\n };\n}","import getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nimport { max } from \"../utils/math.js\"; // Gets the entire size of the scrollable document area, even extending outside\n// of the `` and `` rect bounds if horizontally scrollable\n\nexport default function getDocumentRect(element) {\n var _element$ownerDocumen;\n\n var html = getDocumentElement(element);\n var winScroll = getWindowScroll(element);\n var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n var y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? getBasePlacement(placement) : null;\n var variation = placement ? getVariation(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n\n case end:\n offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}","import getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport default function detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$strategy = _options.strategy,\n strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n var altContext = elementContext === popper ? reference : popper;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);\n var referenceClientRect = getBoundingClientRect(state.elements.reference);\n var popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === popper && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport { within, withinMaxClamp } from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\nimport { min as mathMin, max as mathMax } from \"../utils/math.js\";\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = detectOverflow(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = getBasePlacement(state.placement);\n var variation = getVariation(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = getMainAxisFromPlacement(basePlacement);\n var altAxis = getAltAxis(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n placement: state.placement\n })) : tetherOffset;\n var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {\n mainAxis: tetherOffsetValue,\n altAxis: tetherOffsetValue\n } : Object.assign({\n mainAxis: 0,\n altAxis: 0\n }, tetherOffsetValue);\n var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n var _offsetModifierState$;\n\n var mainSide = mainAxis === 'y' ? top : left;\n var altSide = mainAxis === 'y' ? bottom : right;\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = offset + overflow[mainSide];\n var max = offset - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === start ? referenceRect[len] : popperRect[len];\n var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;\n var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;\n var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = offset + maxOffset - offsetModifierValue;\n var preventedOffset = within(tether ? mathMin(min, tetherMin) : min, offset, tether ? mathMax(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _offsetModifierState$2;\n\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _len = altAxis === 'y' ? 'height' : 'width';\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;\n\n var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;\n\n var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;\n\n var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n};","export default function getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport { round } from \"../utils/math.js\";\n\nfunction isElementScaled(element) {\n var rect = element.getBoundingClientRect();\n var scaleX = round(rect.width) / element.offsetWidth || 1;\n var scaleY = round(rect.height) / element.offsetHeight || 1;\n return scaleX !== 1 || scaleY !== 1;\n} // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nexport default function orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return modifierPhases.reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nexport function popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(setOptionsAction) {\n var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;\n cleanupModifierEffects();\n state.options = Object.assign({}, defaultOptions, state.options, options);\n state.scrollParents = {\n reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n popper: listScrollParents(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n });\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n popper: getLayoutRect(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref) {\n var name = _ref.name,\n _ref$options = _ref.options,\n options = _ref$options === void 0 ? {} : _ref$options,\n effect = _ref.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nexport var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\nexport { detectOverflow };","export default function debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}","export default function mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign({}, existing, current, {\n options: Object.assign({}, existing.options, current.options),\n data: Object.assign({}, existing.data, current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","/**\n * --------------------------------------------------------------------------\n * Bootstrap dropdown.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport * as Popper from '@popperjs/core'\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport Manipulator from './dom/manipulator.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport {\n defineJQueryPlugin,\n execute,\n getElement,\n getNextActiveElement,\n isDisabled,\n isElement,\n isRTL,\n isVisible,\n noop\n} from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'dropdown'\nconst DATA_KEY = 'bs.dropdown'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\n\nconst ESCAPE_KEY = 'Escape'\nconst TAB_KEY = 'Tab'\nconst ARROW_UP_KEY = 'ArrowUp'\nconst ARROW_DOWN_KEY = 'ArrowDown'\nconst RIGHT_MOUSE_BUTTON = 2 // MouseEvent.button value for the secondary button, usually the right button\n\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_KEYDOWN_DATA_API = `keydown${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_KEYUP_DATA_API = `keyup${EVENT_KEY}${DATA_API_KEY}`\n\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_DROPUP = 'dropup'\nconst CLASS_NAME_DROPEND = 'dropend'\nconst CLASS_NAME_DROPSTART = 'dropstart'\nconst CLASS_NAME_DROPUP_CENTER = 'dropup-center'\nconst CLASS_NAME_DROPDOWN_CENTER = 'dropdown-center'\n\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"dropdown\"]:not(.disabled):not(:disabled)'\nconst SELECTOR_DATA_TOGGLE_SHOWN = `${SELECTOR_DATA_TOGGLE}.${CLASS_NAME_SHOW}`\nconst SELECTOR_MENU = '.dropdown-menu'\nconst SELECTOR_NAVBAR = '.navbar'\nconst SELECTOR_NAVBAR_NAV = '.navbar-nav'\nconst SELECTOR_VISIBLE_ITEMS = '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)'\n\nconst PLACEMENT_TOP = isRTL() ? 'top-end' : 'top-start'\nconst PLACEMENT_TOPEND = isRTL() ? 'top-start' : 'top-end'\nconst PLACEMENT_BOTTOM = isRTL() ? 'bottom-end' : 'bottom-start'\nconst PLACEMENT_BOTTOMEND = isRTL() ? 'bottom-start' : 'bottom-end'\nconst PLACEMENT_RIGHT = isRTL() ? 'left-start' : 'right-start'\nconst PLACEMENT_LEFT = isRTL() ? 'right-start' : 'left-start'\nconst PLACEMENT_TOPCENTER = 'top'\nconst PLACEMENT_BOTTOMCENTER = 'bottom'\n\nconst Default = {\n autoClose: true,\n boundary: 'clippingParents',\n display: 'dynamic',\n offset: [0, 2],\n popperConfig: null,\n reference: 'toggle'\n}\n\nconst DefaultType = {\n autoClose: '(boolean|string)',\n boundary: '(string|element)',\n display: 'string',\n offset: '(array|string|function)',\n popperConfig: '(null|object|function)',\n reference: '(string|element|object)'\n}\n\n/**\n * Class definition\n */\n\nclass Dropdown extends BaseComponent {\n constructor(element, config) {\n super(element, config)\n\n this._popper = null\n this._parent = this._element.parentNode // dropdown wrapper\n // TODO: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/\n this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] ||\n SelectorEngine.prev(this._element, SELECTOR_MENU)[0] ||\n SelectorEngine.findOne(SELECTOR_MENU, this._parent)\n this._inNavbar = this._detectNavbar()\n }\n\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Public\n toggle() {\n return this._isShown() ? this.hide() : this.show()\n }\n\n show() {\n if (isDisabled(this._element) || this._isShown()) {\n return\n }\n\n const relatedTarget = {\n relatedTarget: this._element\n }\n\n const showEvent = EventHandler.trigger(this._element, EVENT_SHOW, relatedTarget)\n\n if (showEvent.defaultPrevented) {\n return\n }\n\n this._createPopper()\n\n // If this is a touch-enabled device we add extra\n // empty mouseover listeners to the body's immediate children;\n // only needed because of broken event delegation on iOS\n // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n if ('ontouchstart' in document.documentElement && !this._parent.closest(SELECTOR_NAVBAR_NAV)) {\n for (const element of [].concat(...document.body.children)) {\n EventHandler.on(element, 'mouseover', noop)\n }\n }\n\n this._element.focus()\n this._element.setAttribute('aria-expanded', true)\n\n this._menu.classList.add(CLASS_NAME_SHOW)\n this._element.classList.add(CLASS_NAME_SHOW)\n EventHandler.trigger(this._element, EVENT_SHOWN, relatedTarget)\n }\n\n hide() {\n if (isDisabled(this._element) || !this._isShown()) {\n return\n }\n\n const relatedTarget = {\n relatedTarget: this._element\n }\n\n this._completeHide(relatedTarget)\n }\n\n dispose() {\n if (this._popper) {\n this._popper.destroy()\n }\n\n super.dispose()\n }\n\n update() {\n this._inNavbar = this._detectNavbar()\n if (this._popper) {\n this._popper.update()\n }\n }\n\n // Private\n _completeHide(relatedTarget) {\n const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE, relatedTarget)\n if (hideEvent.defaultPrevented) {\n return\n }\n\n // If this is a touch-enabled device we remove the extra\n // empty mouseover listeners we added for iOS support\n if ('ontouchstart' in document.documentElement) {\n for (const element of [].concat(...document.body.children)) {\n EventHandler.off(element, 'mouseover', noop)\n }\n }\n\n if (this._popper) {\n this._popper.destroy()\n }\n\n this._menu.classList.remove(CLASS_NAME_SHOW)\n this._element.classList.remove(CLASS_NAME_SHOW)\n this._element.setAttribute('aria-expanded', 'false')\n Manipulator.removeDataAttribute(this._menu, 'popper')\n EventHandler.trigger(this._element, EVENT_HIDDEN, relatedTarget)\n }\n\n _getConfig(config) {\n config = super._getConfig(config)\n\n if (typeof config.reference === 'object' && !isElement(config.reference) &&\n typeof config.reference.getBoundingClientRect !== 'function'\n ) {\n // Popper virtual elements require a getBoundingClientRect method\n throw new TypeError(`${NAME.toUpperCase()}: Option \"reference\" provided type \"object\" without a required \"getBoundingClientRect\" method.`)\n }\n\n return config\n }\n\n _createPopper() {\n if (typeof Popper === 'undefined') {\n throw new TypeError('Bootstrap\\'s dropdowns require Popper (https://popper.js.org)')\n }\n\n let referenceElement = this._element\n\n if (this._config.reference === 'parent') {\n referenceElement = this._parent\n } else if (isElement(this._config.reference)) {\n referenceElement = getElement(this._config.reference)\n } else if (typeof this._config.reference === 'object') {\n referenceElement = this._config.reference\n }\n\n const popperConfig = this._getPopperConfig()\n this._popper = Popper.createPopper(referenceElement, this._menu, popperConfig)\n }\n\n _isShown() {\n return this._menu.classList.contains(CLASS_NAME_SHOW)\n }\n\n _getPlacement() {\n const parentDropdown = this._parent\n\n if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {\n return PLACEMENT_RIGHT\n }\n\n if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {\n return PLACEMENT_LEFT\n }\n\n if (parentDropdown.classList.contains(CLASS_NAME_DROPUP_CENTER)) {\n return PLACEMENT_TOPCENTER\n }\n\n if (parentDropdown.classList.contains(CLASS_NAME_DROPDOWN_CENTER)) {\n return PLACEMENT_BOTTOMCENTER\n }\n\n // We need to trim the value because custom properties can also include spaces\n const isEnd = getComputedStyle(this._menu).getPropertyValue('--bs-position').trim() === 'end'\n\n if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {\n return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP\n }\n\n return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM\n }\n\n _detectNavbar() {\n return this._element.closest(SELECTOR_NAVBAR) !== null\n }\n\n _getOffset() {\n const { offset } = this._config\n\n if (typeof offset === 'string') {\n return offset.split(',').map(value => Number.parseInt(value, 10))\n }\n\n if (typeof offset === 'function') {\n return popperData => offset(popperData, this._element)\n }\n\n return offset\n }\n\n _getPopperConfig() {\n const defaultBsPopperConfig = {\n placement: this._getPlacement(),\n modifiers: [{\n name: 'preventOverflow',\n options: {\n boundary: this._config.boundary\n }\n },\n {\n name: 'offset',\n options: {\n offset: this._getOffset()\n }\n }]\n }\n\n // Disable Popper if we have a static display or Dropdown is in Navbar\n if (this._inNavbar || this._config.display === 'static') {\n Manipulator.setDataAttribute(this._menu, 'popper', 'static') // TODO: v6 remove\n defaultBsPopperConfig.modifiers = [{\n name: 'applyStyles',\n enabled: false\n }]\n }\n\n return {\n ...defaultBsPopperConfig,\n ...execute(this._config.popperConfig, [defaultBsPopperConfig])\n }\n }\n\n _selectMenuItem({ key, target }) {\n const items = SelectorEngine.find(SELECTOR_VISIBLE_ITEMS, this._menu).filter(element => isVisible(element))\n\n if (!items.length) {\n return\n }\n\n // if target isn't included in items (e.g. when expanding the dropdown)\n // allow cycling to get the last item in case key equals ARROW_UP_KEY\n getNextActiveElement(items, target, key === ARROW_DOWN_KEY, !items.includes(target)).focus()\n }\n\n // Static\n static jQueryInterface(config) {\n return this.each(function () {\n const data = Dropdown.getOrCreateInstance(this, config)\n\n if (typeof config !== 'string') {\n return\n }\n\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config]()\n })\n }\n\n static clearMenus(event) {\n if (event.button === RIGHT_MOUSE_BUTTON || (event.type === 'keyup' && event.key !== TAB_KEY)) {\n return\n }\n\n const openToggles = SelectorEngine.find(SELECTOR_DATA_TOGGLE_SHOWN)\n\n for (const toggle of openToggles) {\n const context = Dropdown.getInstance(toggle)\n if (!context || context._config.autoClose === false) {\n continue\n }\n\n const composedPath = event.composedPath()\n const isMenuTarget = composedPath.includes(context._menu)\n if (\n composedPath.includes(context._element) ||\n (context._config.autoClose === 'inside' && !isMenuTarget) ||\n (context._config.autoClose === 'outside' && isMenuTarget)\n ) {\n continue\n }\n\n // Tab navigation through the dropdown menu or events from contained inputs shouldn't close the menu\n if (context._menu.contains(event.target) && ((event.type === 'keyup' && event.key === TAB_KEY) || /input|select|option|textarea|form/i.test(event.target.tagName))) {\n continue\n }\n\n const relatedTarget = { relatedTarget: context._element }\n\n if (event.type === 'click') {\n relatedTarget.clickEvent = event\n }\n\n context._completeHide(relatedTarget)\n }\n }\n\n static dataApiKeydownHandler(event) {\n // If not an UP | DOWN | ESCAPE key => not a dropdown command\n // If input/textarea && if key is other than ESCAPE => not a dropdown command\n\n const isInput = /input|textarea/i.test(event.target.tagName)\n const isEscapeEvent = event.key === ESCAPE_KEY\n const isUpOrDownEvent = [ARROW_UP_KEY, ARROW_DOWN_KEY].includes(event.key)\n\n if (!isUpOrDownEvent && !isEscapeEvent) {\n return\n }\n\n if (isInput && !isEscapeEvent) {\n return\n }\n\n event.preventDefault()\n\n // TODO: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/\n const getToggleButton = this.matches(SELECTOR_DATA_TOGGLE) ?\n this :\n (SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE)[0] ||\n SelectorEngine.next(this, SELECTOR_DATA_TOGGLE)[0] ||\n SelectorEngine.findOne(SELECTOR_DATA_TOGGLE, event.delegateTarget.parentNode))\n\n const instance = Dropdown.getOrCreateInstance(getToggleButton)\n\n if (isUpOrDownEvent) {\n event.stopPropagation()\n instance.show()\n instance._selectMenuItem(event)\n return\n }\n\n if (instance._isShown()) { // else is escape and we check if it is shown\n event.stopPropagation()\n instance.hide()\n getToggleButton.focus()\n }\n }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE, Dropdown.dataApiKeydownHandler)\nEventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown.dataApiKeydownHandler)\nEventHandler.on(document, EVENT_CLICK_DATA_API, Dropdown.clearMenus)\nEventHandler.on(document, EVENT_KEYUP_DATA_API, Dropdown.clearMenus)\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n event.preventDefault()\n Dropdown.getOrCreateInstance(this).toggle()\n})\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Dropdown)\n\nexport default Dropdown\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/backdrop.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport EventHandler from '../dom/event-handler.js'\nimport Config from './config.js'\nimport { execute, executeAfterTransition, getElement, reflow } from './index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'backdrop'\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\nconst EVENT_MOUSEDOWN = `mousedown.bs.${NAME}`\n\nconst Default = {\n className: 'modal-backdrop',\n clickCallback: null,\n isAnimated: false,\n isVisible: true, // if false, we use the backdrop helper without adding any element to the dom\n rootElement: 'body' // give the choice to place backdrop under different elements\n}\n\nconst DefaultType = {\n className: 'string',\n clickCallback: '(function|null)',\n isAnimated: 'boolean',\n isVisible: 'boolean',\n rootElement: '(element|string)'\n}\n\n/**\n * Class definition\n */\n\nclass Backdrop extends Config {\n constructor(config) {\n super()\n this._config = this._getConfig(config)\n this._isAppended = false\n this._element = null\n }\n\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Public\n show(callback) {\n if (!this._config.isVisible) {\n execute(callback)\n return\n }\n\n this._append()\n\n const element = this._getElement()\n if (this._config.isAnimated) {\n reflow(element)\n }\n\n element.classList.add(CLASS_NAME_SHOW)\n\n this._emulateAnimation(() => {\n execute(callback)\n })\n }\n\n hide(callback) {\n if (!this._config.isVisible) {\n execute(callback)\n return\n }\n\n this._getElement().classList.remove(CLASS_NAME_SHOW)\n\n this._emulateAnimation(() => {\n this.dispose()\n execute(callback)\n })\n }\n\n dispose() {\n if (!this._isAppended) {\n return\n }\n\n EventHandler.off(this._element, EVENT_MOUSEDOWN)\n\n this._element.remove()\n this._isAppended = false\n }\n\n // Private\n _getElement() {\n if (!this._element) {\n const backdrop = document.createElement('div')\n backdrop.className = this._config.className\n if (this._config.isAnimated) {\n backdrop.classList.add(CLASS_NAME_FADE)\n }\n\n this._element = backdrop\n }\n\n return this._element\n }\n\n _configAfterMerge(config) {\n // use getElement() with the default \"body\" to get a fresh Element on each instantiation\n config.rootElement = getElement(config.rootElement)\n return config\n }\n\n _append() {\n if (this._isAppended) {\n return\n }\n\n const element = this._getElement()\n this._config.rootElement.append(element)\n\n EventHandler.on(element, EVENT_MOUSEDOWN, () => {\n execute(this._config.clickCallback)\n })\n\n this._isAppended = true\n }\n\n _emulateAnimation(callback) {\n executeAfterTransition(callback, this._getElement(), this._config.isAnimated)\n }\n}\n\nexport default Backdrop\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/focustrap.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport EventHandler from '../dom/event-handler.js'\nimport SelectorEngine from '../dom/selector-engine.js'\nimport Config from './config.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'focustrap'\nconst DATA_KEY = 'bs.focustrap'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst EVENT_FOCUSIN = `focusin${EVENT_KEY}`\nconst EVENT_KEYDOWN_TAB = `keydown.tab${EVENT_KEY}`\n\nconst TAB_KEY = 'Tab'\nconst TAB_NAV_FORWARD = 'forward'\nconst TAB_NAV_BACKWARD = 'backward'\n\nconst Default = {\n autofocus: true,\n trapElement: null // The element to trap focus inside of\n}\n\nconst DefaultType = {\n autofocus: 'boolean',\n trapElement: 'element'\n}\n\n/**\n * Class definition\n */\n\nclass FocusTrap extends Config {\n constructor(config) {\n super()\n this._config = this._getConfig(config)\n this._isActive = false\n this._lastTabNavDirection = null\n }\n\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Public\n activate() {\n if (this._isActive) {\n return\n }\n\n if (this._config.autofocus) {\n this._config.trapElement.focus()\n }\n\n EventHandler.off(document, EVENT_KEY) // guard against infinite focus loop\n EventHandler.on(document, EVENT_FOCUSIN, event => this._handleFocusin(event))\n EventHandler.on(document, EVENT_KEYDOWN_TAB, event => this._handleKeydown(event))\n\n this._isActive = true\n }\n\n deactivate() {\n if (!this._isActive) {\n return\n }\n\n this._isActive = false\n EventHandler.off(document, EVENT_KEY)\n }\n\n // Private\n _handleFocusin(event) {\n const { trapElement } = this._config\n\n if (event.target === document || event.target === trapElement || trapElement.contains(event.target)) {\n return\n }\n\n const elements = SelectorEngine.focusableChildren(trapElement)\n\n if (elements.length === 0) {\n trapElement.focus()\n } else if (this._lastTabNavDirection === TAB_NAV_BACKWARD) {\n elements[elements.length - 1].focus()\n } else {\n elements[0].focus()\n }\n }\n\n _handleKeydown(event) {\n if (event.key !== TAB_KEY) {\n return\n }\n\n this._lastTabNavDirection = event.shiftKey ? TAB_NAV_BACKWARD : TAB_NAV_FORWARD\n }\n}\n\nexport default FocusTrap\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/scrollBar.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport Manipulator from '../dom/manipulator.js'\nimport SelectorEngine from '../dom/selector-engine.js'\nimport { isElement } from './index.js'\n\n/**\n * Constants\n */\n\nconst SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top'\nconst SELECTOR_STICKY_CONTENT = '.sticky-top'\nconst PROPERTY_PADDING = 'padding-right'\nconst PROPERTY_MARGIN = 'margin-right'\n\n/**\n * Class definition\n */\n\nclass ScrollBarHelper {\n constructor() {\n this._element = document.body\n }\n\n // Public\n getWidth() {\n // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes\n const documentWidth = document.documentElement.clientWidth\n return Math.abs(window.innerWidth - documentWidth)\n }\n\n hide() {\n const width = this.getWidth()\n this._disableOverFlow()\n // give padding to element to balance the hidden scrollbar width\n this._setElementAttributes(this._element, PROPERTY_PADDING, calculatedValue => calculatedValue + width)\n // trick: We adjust positive paddingRight and negative marginRight to sticky-top elements to keep showing fullwidth\n this._setElementAttributes(SELECTOR_FIXED_CONTENT, PROPERTY_PADDING, calculatedValue => calculatedValue + width)\n this._setElementAttributes(SELECTOR_STICKY_CONTENT, PROPERTY_MARGIN, calculatedValue => calculatedValue - width)\n }\n\n reset() {\n this._resetElementAttributes(this._element, 'overflow')\n this._resetElementAttributes(this._element, PROPERTY_PADDING)\n this._resetElementAttributes(SELECTOR_FIXED_CONTENT, PROPERTY_PADDING)\n this._resetElementAttributes(SELECTOR_STICKY_CONTENT, PROPERTY_MARGIN)\n }\n\n isOverflowing() {\n return this.getWidth() > 0\n }\n\n // Private\n _disableOverFlow() {\n this._saveInitialAttribute(this._element, 'overflow')\n this._element.style.overflow = 'hidden'\n }\n\n _setElementAttributes(selector, styleProperty, callback) {\n const scrollbarWidth = this.getWidth()\n const manipulationCallBack = element => {\n if (element !== this._element && window.innerWidth > element.clientWidth + scrollbarWidth) {\n return\n }\n\n this._saveInitialAttribute(element, styleProperty)\n const calculatedValue = window.getComputedStyle(element).getPropertyValue(styleProperty)\n element.style.setProperty(styleProperty, `${callback(Number.parseFloat(calculatedValue))}px`)\n }\n\n this._applyManipulationCallback(selector, manipulationCallBack)\n }\n\n _saveInitialAttribute(element, styleProperty) {\n const actualValue = element.style.getPropertyValue(styleProperty)\n if (actualValue) {\n Manipulator.setDataAttribute(element, styleProperty, actualValue)\n }\n }\n\n _resetElementAttributes(selector, styleProperty) {\n const manipulationCallBack = element => {\n const value = Manipulator.getDataAttribute(element, styleProperty)\n // We only want to remove the property if the value is `null`; the value can also be zero\n if (value === null) {\n element.style.removeProperty(styleProperty)\n return\n }\n\n Manipulator.removeDataAttribute(element, styleProperty)\n element.style.setProperty(styleProperty, value)\n }\n\n this._applyManipulationCallback(selector, manipulationCallBack)\n }\n\n _applyManipulationCallback(selector, callBack) {\n if (isElement(selector)) {\n callBack(selector)\n return\n }\n\n for (const sel of SelectorEngine.find(selector, this._element)) {\n callBack(sel)\n }\n }\n}\n\nexport default ScrollBarHelper\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap modal.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport Backdrop from './util/backdrop.js'\nimport { enableDismissTrigger } from './util/component-functions.js'\nimport FocusTrap from './util/focustrap.js'\nimport { defineJQueryPlugin, isRTL, isVisible, reflow } from './util/index.js'\nimport ScrollBarHelper from './util/scrollbar.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'modal'\nconst DATA_KEY = 'bs.modal'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst ESCAPE_KEY = 'Escape'\n\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_RESIZE = `resize${EVENT_KEY}`\nconst EVENT_CLICK_DISMISS = `click.dismiss${EVENT_KEY}`\nconst EVENT_MOUSEDOWN_DISMISS = `mousedown.dismiss${EVENT_KEY}`\nconst EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst CLASS_NAME_OPEN = 'modal-open'\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_STATIC = 'modal-static'\n\nconst OPEN_SELECTOR = '.modal.show'\nconst SELECTOR_DIALOG = '.modal-dialog'\nconst SELECTOR_MODAL_BODY = '.modal-body'\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"modal\"]'\n\nconst Default = {\n backdrop: true,\n focus: true,\n keyboard: true\n}\n\nconst DefaultType = {\n backdrop: '(boolean|string)',\n focus: 'boolean',\n keyboard: 'boolean'\n}\n\n/**\n * Class definition\n */\n\nclass Modal extends BaseComponent {\n constructor(element, config) {\n super(element, config)\n\n this._dialog = SelectorEngine.findOne(SELECTOR_DIALOG, this._element)\n this._backdrop = this._initializeBackDrop()\n this._focustrap = this._initializeFocusTrap()\n this._isShown = false\n this._isTransitioning = false\n this._scrollBar = new ScrollBarHelper()\n\n this._addEventListeners()\n }\n\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Public\n toggle(relatedTarget) {\n return this._isShown ? this.hide() : this.show(relatedTarget)\n }\n\n show(relatedTarget) {\n if (this._isShown || this._isTransitioning) {\n return\n }\n\n const showEvent = EventHandler.trigger(this._element, EVENT_SHOW, {\n relatedTarget\n })\n\n if (showEvent.defaultPrevented) {\n return\n }\n\n this._isShown = true\n this._isTransitioning = true\n\n this._scrollBar.hide()\n\n document.body.classList.add(CLASS_NAME_OPEN)\n\n this._adjustDialog()\n\n this._backdrop.show(() => this._showElement(relatedTarget))\n }\n\n hide() {\n if (!this._isShown || this._isTransitioning) {\n return\n }\n\n const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE)\n\n if (hideEvent.defaultPrevented) {\n return\n }\n\n this._isShown = false\n this._isTransitioning = true\n this._focustrap.deactivate()\n\n this._element.classList.remove(CLASS_NAME_SHOW)\n\n this._queueCallback(() => this._hideModal(), this._element, this._isAnimated())\n }\n\n dispose() {\n EventHandler.off(window, EVENT_KEY)\n EventHandler.off(this._dialog, EVENT_KEY)\n\n this._backdrop.dispose()\n this._focustrap.deactivate()\n\n super.dispose()\n }\n\n handleUpdate() {\n this._adjustDialog()\n }\n\n // Private\n _initializeBackDrop() {\n return new Backdrop({\n isVisible: Boolean(this._config.backdrop), // 'static' option will be translated to true, and booleans will keep their value,\n isAnimated: this._isAnimated()\n })\n }\n\n _initializeFocusTrap() {\n return new FocusTrap({\n trapElement: this._element\n })\n }\n\n _showElement(relatedTarget) {\n // try to append dynamic modal\n if (!document.body.contains(this._element)) {\n document.body.append(this._element)\n }\n\n this._element.style.display = 'block'\n this._element.removeAttribute('aria-hidden')\n this._element.setAttribute('aria-modal', true)\n this._element.setAttribute('role', 'dialog')\n this._element.scrollTop = 0\n\n const modalBody = SelectorEngine.findOne(SELECTOR_MODAL_BODY, this._dialog)\n if (modalBody) {\n modalBody.scrollTop = 0\n }\n\n reflow(this._element)\n\n this._element.classList.add(CLASS_NAME_SHOW)\n\n const transitionComplete = () => {\n if (this._config.focus) {\n this._focustrap.activate()\n }\n\n this._isTransitioning = false\n EventHandler.trigger(this._element, EVENT_SHOWN, {\n relatedTarget\n })\n }\n\n this._queueCallback(transitionComplete, this._dialog, this._isAnimated())\n }\n\n _addEventListeners() {\n EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, event => {\n if (event.key !== ESCAPE_KEY) {\n return\n }\n\n if (this._config.keyboard) {\n this.hide()\n return\n }\n\n this._triggerBackdropTransition()\n })\n\n EventHandler.on(window, EVENT_RESIZE, () => {\n if (this._isShown && !this._isTransitioning) {\n this._adjustDialog()\n }\n })\n\n EventHandler.on(this._element, EVENT_MOUSEDOWN_DISMISS, event => {\n // a bad trick to segregate clicks that may start inside dialog but end outside, and avoid listen to scrollbar clicks\n EventHandler.one(this._element, EVENT_CLICK_DISMISS, event2 => {\n if (this._element !== event.target || this._element !== event2.target) {\n return\n }\n\n if (this._config.backdrop === 'static') {\n this._triggerBackdropTransition()\n return\n }\n\n if (this._config.backdrop) {\n this.hide()\n }\n })\n })\n }\n\n _hideModal() {\n this._element.style.display = 'none'\n this._element.setAttribute('aria-hidden', true)\n this._element.removeAttribute('aria-modal')\n this._element.removeAttribute('role')\n this._isTransitioning = false\n\n this._backdrop.hide(() => {\n document.body.classList.remove(CLASS_NAME_OPEN)\n this._resetAdjustments()\n this._scrollBar.reset()\n EventHandler.trigger(this._element, EVENT_HIDDEN)\n })\n }\n\n _isAnimated() {\n return this._element.classList.contains(CLASS_NAME_FADE)\n }\n\n _triggerBackdropTransition() {\n const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED)\n if (hideEvent.defaultPrevented) {\n return\n }\n\n const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight\n const initialOverflowY = this._element.style.overflowY\n // return if the following background transition hasn't yet completed\n if (initialOverflowY === 'hidden' || this._element.classList.contains(CLASS_NAME_STATIC)) {\n return\n }\n\n if (!isModalOverflowing) {\n this._element.style.overflowY = 'hidden'\n }\n\n this._element.classList.add(CLASS_NAME_STATIC)\n this._queueCallback(() => {\n this._element.classList.remove(CLASS_NAME_STATIC)\n this._queueCallback(() => {\n this._element.style.overflowY = initialOverflowY\n }, this._dialog)\n }, this._dialog)\n\n this._element.focus()\n }\n\n /**\n * The following methods are used to handle overflowing modals\n */\n\n _adjustDialog() {\n const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight\n const scrollbarWidth = this._scrollBar.getWidth()\n const isBodyOverflowing = scrollbarWidth > 0\n\n if (isBodyOverflowing && !isModalOverflowing) {\n const property = isRTL() ? 'paddingLeft' : 'paddingRight'\n this._element.style[property] = `${scrollbarWidth}px`\n }\n\n if (!isBodyOverflowing && isModalOverflowing) {\n const property = isRTL() ? 'paddingRight' : 'paddingLeft'\n this._element.style[property] = `${scrollbarWidth}px`\n }\n }\n\n _resetAdjustments() {\n this._element.style.paddingLeft = ''\n this._element.style.paddingRight = ''\n }\n\n // Static\n static jQueryInterface(config, relatedTarget) {\n return this.each(function () {\n const data = Modal.getOrCreateInstance(this, config)\n\n if (typeof config !== 'string') {\n return\n }\n\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config](relatedTarget)\n })\n }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n const target = SelectorEngine.getElementFromSelector(this)\n\n if (['A', 'AREA'].includes(this.tagName)) {\n event.preventDefault()\n }\n\n EventHandler.one(target, EVENT_SHOW, showEvent => {\n if (showEvent.defaultPrevented) {\n // only register focus restorer if modal will actually get shown\n return\n }\n\n EventHandler.one(target, EVENT_HIDDEN, () => {\n if (isVisible(this)) {\n this.focus()\n }\n })\n })\n\n // avoid conflict when clicking modal toggler while another one is open\n const alreadyOpen = SelectorEngine.findOne(OPEN_SELECTOR)\n if (alreadyOpen) {\n Modal.getInstance(alreadyOpen).hide()\n }\n\n const data = Modal.getOrCreateInstance(target)\n\n data.toggle(this)\n})\n\nenableDismissTrigger(Modal)\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Modal)\n\nexport default Modal\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap offcanvas.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport Backdrop from './util/backdrop.js'\nimport { enableDismissTrigger } from './util/component-functions.js'\nimport FocusTrap from './util/focustrap.js'\nimport {\n defineJQueryPlugin,\n isDisabled,\n isVisible\n} from './util/index.js'\nimport ScrollBarHelper from './util/scrollbar.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'offcanvas'\nconst DATA_KEY = 'bs.offcanvas'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`\nconst ESCAPE_KEY = 'Escape'\n\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_SHOWING = 'showing'\nconst CLASS_NAME_HIDING = 'hiding'\nconst CLASS_NAME_BACKDROP = 'offcanvas-backdrop'\nconst OPEN_SELECTOR = '.offcanvas.show'\n\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_RESIZE = `resize${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY}`\n\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"offcanvas\"]'\n\nconst Default = {\n backdrop: true,\n keyboard: true,\n scroll: false\n}\n\nconst DefaultType = {\n backdrop: '(boolean|string)',\n keyboard: 'boolean',\n scroll: 'boolean'\n}\n\n/**\n * Class definition\n */\n\nclass Offcanvas extends BaseComponent {\n constructor(element, config) {\n super(element, config)\n\n this._isShown = false\n this._backdrop = this._initializeBackDrop()\n this._focustrap = this._initializeFocusTrap()\n this._addEventListeners()\n }\n\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Public\n toggle(relatedTarget) {\n return this._isShown ? this.hide() : this.show(relatedTarget)\n }\n\n show(relatedTarget) {\n if (this._isShown) {\n return\n }\n\n const showEvent = EventHandler.trigger(this._element, EVENT_SHOW, { relatedTarget })\n\n if (showEvent.defaultPrevented) {\n return\n }\n\n this._isShown = true\n this._backdrop.show()\n\n if (!this._config.scroll) {\n new ScrollBarHelper().hide()\n }\n\n this._element.setAttribute('aria-modal', true)\n this._element.setAttribute('role', 'dialog')\n this._element.classList.add(CLASS_NAME_SHOWING)\n\n const completeCallBack = () => {\n if (!this._config.scroll || this._config.backdrop) {\n this._focustrap.activate()\n }\n\n this._element.classList.add(CLASS_NAME_SHOW)\n this._element.classList.remove(CLASS_NAME_SHOWING)\n EventHandler.trigger(this._element, EVENT_SHOWN, { relatedTarget })\n }\n\n this._queueCallback(completeCallBack, this._element, true)\n }\n\n hide() {\n if (!this._isShown) {\n return\n }\n\n const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE)\n\n if (hideEvent.defaultPrevented) {\n return\n }\n\n this._focustrap.deactivate()\n this._element.blur()\n this._isShown = false\n this._element.classList.add(CLASS_NAME_HIDING)\n this._backdrop.hide()\n\n const completeCallback = () => {\n this._element.classList.remove(CLASS_NAME_SHOW, CLASS_NAME_HIDING)\n this._element.removeAttribute('aria-modal')\n this._element.removeAttribute('role')\n\n if (!this._config.scroll) {\n new ScrollBarHelper().reset()\n }\n\n EventHandler.trigger(this._element, EVENT_HIDDEN)\n }\n\n this._queueCallback(completeCallback, this._element, true)\n }\n\n dispose() {\n this._backdrop.dispose()\n this._focustrap.deactivate()\n super.dispose()\n }\n\n // Private\n _initializeBackDrop() {\n const clickCallback = () => {\n if (this._config.backdrop === 'static') {\n EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED)\n return\n }\n\n this.hide()\n }\n\n // 'static' option will be translated to true, and booleans will keep their value\n const isVisible = Boolean(this._config.backdrop)\n\n return new Backdrop({\n className: CLASS_NAME_BACKDROP,\n isVisible,\n isAnimated: true,\n rootElement: this._element.parentNode,\n clickCallback: isVisible ? clickCallback : null\n })\n }\n\n _initializeFocusTrap() {\n return new FocusTrap({\n trapElement: this._element\n })\n }\n\n _addEventListeners() {\n EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, event => {\n if (event.key !== ESCAPE_KEY) {\n return\n }\n\n if (this._config.keyboard) {\n this.hide()\n return\n }\n\n EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED)\n })\n }\n\n // Static\n static jQueryInterface(config) {\n return this.each(function () {\n const data = Offcanvas.getOrCreateInstance(this, config)\n\n if (typeof config !== 'string') {\n return\n }\n\n if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config](this)\n })\n }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n const target = SelectorEngine.getElementFromSelector(this)\n\n if (['A', 'AREA'].includes(this.tagName)) {\n event.preventDefault()\n }\n\n if (isDisabled(this)) {\n return\n }\n\n EventHandler.one(target, EVENT_HIDDEN, () => {\n // focus on trigger when it is closed\n if (isVisible(this)) {\n this.focus()\n }\n })\n\n // avoid conflict when clicking a toggler of an offcanvas, while another is open\n const alreadyOpen = SelectorEngine.findOne(OPEN_SELECTOR)\n if (alreadyOpen && alreadyOpen !== target) {\n Offcanvas.getInstance(alreadyOpen).hide()\n }\n\n const data = Offcanvas.getOrCreateInstance(target)\n data.toggle(this)\n})\n\nEventHandler.on(window, EVENT_LOAD_DATA_API, () => {\n for (const selector of SelectorEngine.find(OPEN_SELECTOR)) {\n Offcanvas.getOrCreateInstance(selector).show()\n }\n})\n\nEventHandler.on(window, EVENT_RESIZE, () => {\n for (const element of SelectorEngine.find('[aria-modal][class*=show][class*=offcanvas-]')) {\n if (getComputedStyle(element).position !== 'fixed') {\n Offcanvas.getOrCreateInstance(element).hide()\n }\n }\n})\n\nenableDismissTrigger(Offcanvas)\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Offcanvas)\n\nexport default Offcanvas\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/sanitizer.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n// js-docs-start allow-list\nconst ARIA_ATTRIBUTE_PATTERN = /^aria-[\\w-]*$/i\n\nexport const DefaultAllowlist = {\n // Global attributes allowed on any supplied element below.\n '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN],\n a: ['target', 'href', 'title', 'rel'],\n area: [],\n b: [],\n br: [],\n col: [],\n code: [],\n div: [],\n em: [],\n hr: [],\n h1: [],\n h2: [],\n h3: [],\n h4: [],\n h5: [],\n h6: [],\n i: [],\n img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],\n li: [],\n ol: [],\n p: [],\n pre: [],\n s: [],\n small: [],\n span: [],\n sub: [],\n sup: [],\n strong: [],\n u: [],\n ul: []\n}\n// js-docs-end allow-list\n\nconst uriAttributes = new Set([\n 'background',\n 'cite',\n 'href',\n 'itemtype',\n 'longdesc',\n 'poster',\n 'src',\n 'xlink:href'\n])\n\n/**\n * A pattern that recognizes URLs that are safe wrt. XSS in URL navigation\n * contexts.\n *\n * Shout-out to Angular https://github.com/angular/angular/blob/15.2.8/packages/core/src/sanitization/url_sanitizer.ts#L38\n */\n// eslint-disable-next-line unicorn/better-regex\nconst SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i\n\nconst allowedAttribute = (attribute, allowedAttributeList) => {\n const attributeName = attribute.nodeName.toLowerCase()\n\n if (allowedAttributeList.includes(attributeName)) {\n if (uriAttributes.has(attributeName)) {\n return Boolean(SAFE_URL_PATTERN.test(attribute.nodeValue))\n }\n\n return true\n }\n\n // Check if a regular expression validates the attribute.\n return allowedAttributeList.filter(attributeRegex => attributeRegex instanceof RegExp)\n .some(regex => regex.test(attributeName))\n}\n\nexport function sanitizeHtml(unsafeHtml, allowList, sanitizeFunction) {\n if (!unsafeHtml.length) {\n return unsafeHtml\n }\n\n if (sanitizeFunction && typeof sanitizeFunction === 'function') {\n return sanitizeFunction(unsafeHtml)\n }\n\n const domParser = new window.DOMParser()\n const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html')\n const elements = [].concat(...createdDocument.body.querySelectorAll('*'))\n\n for (const element of elements) {\n const elementName = element.nodeName.toLowerCase()\n\n if (!Object.keys(allowList).includes(elementName)) {\n element.remove()\n continue\n }\n\n const attributeList = [].concat(...element.attributes)\n const allowedAttributes = [].concat(allowList['*'] || [], allowList[elementName] || [])\n\n for (const attribute of attributeList) {\n if (!allowedAttribute(attribute, allowedAttributes)) {\n element.removeAttribute(attribute.nodeName)\n }\n }\n }\n\n return createdDocument.body.innerHTML\n}\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/template-factory.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport SelectorEngine from '../dom/selector-engine.js'\nimport Config from './config.js'\nimport { DefaultAllowlist, sanitizeHtml } from './sanitizer.js'\nimport { execute, getElement, isElement } from './index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'TemplateFactory'\n\nconst Default = {\n allowList: DefaultAllowlist,\n content: {}, // { selector : text , selector2 : text2 , }\n extraClass: '',\n html: false,\n sanitize: true,\n sanitizeFn: null,\n template: ''\n}\n\nconst DefaultType = {\n allowList: 'object',\n content: 'object',\n extraClass: '(string|function)',\n html: 'boolean',\n sanitize: 'boolean',\n sanitizeFn: '(null|function)',\n template: 'string'\n}\n\nconst DefaultContentType = {\n entry: '(string|element|function|null)',\n selector: '(string|element)'\n}\n\n/**\n * Class definition\n */\n\nclass TemplateFactory extends Config {\n constructor(config) {\n super()\n this._config = this._getConfig(config)\n }\n\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Public\n getContent() {\n return Object.values(this._config.content)\n .map(config => this._resolvePossibleFunction(config))\n .filter(Boolean)\n }\n\n hasContent() {\n return this.getContent().length > 0\n }\n\n changeContent(content) {\n this._checkContent(content)\n this._config.content = { ...this._config.content, ...content }\n return this\n }\n\n toHtml() {\n const templateWrapper = document.createElement('div')\n templateWrapper.innerHTML = this._maybeSanitize(this._config.template)\n\n for (const [selector, text] of Object.entries(this._config.content)) {\n this._setContent(templateWrapper, text, selector)\n }\n\n const template = templateWrapper.children[0]\n const extraClass = this._resolvePossibleFunction(this._config.extraClass)\n\n if (extraClass) {\n template.classList.add(...extraClass.split(' '))\n }\n\n return template\n }\n\n // Private\n _typeCheckConfig(config) {\n super._typeCheckConfig(config)\n this._checkContent(config.content)\n }\n\n _checkContent(arg) {\n for (const [selector, content] of Object.entries(arg)) {\n super._typeCheckConfig({ selector, entry: content }, DefaultContentType)\n }\n }\n\n _setContent(template, content, selector) {\n const templateElement = SelectorEngine.findOne(selector, template)\n\n if (!templateElement) {\n return\n }\n\n content = this._resolvePossibleFunction(content)\n\n if (!content) {\n templateElement.remove()\n return\n }\n\n if (isElement(content)) {\n this._putElementInTemplate(getElement(content), templateElement)\n return\n }\n\n if (this._config.html) {\n templateElement.innerHTML = this._maybeSanitize(content)\n return\n }\n\n templateElement.textContent = content\n }\n\n _maybeSanitize(arg) {\n return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg\n }\n\n _resolvePossibleFunction(arg) {\n return execute(arg, [this])\n }\n\n _putElementInTemplate(element, templateElement) {\n if (this._config.html) {\n templateElement.innerHTML = ''\n templateElement.append(element)\n return\n }\n\n templateElement.textContent = element.textContent\n }\n}\n\nexport default TemplateFactory\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap tooltip.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport * as Popper from '@popperjs/core'\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport Manipulator from './dom/manipulator.js'\nimport { defineJQueryPlugin, execute, findShadowRoot, getElement, getUID, isRTL, noop } from './util/index.js'\nimport { DefaultAllowlist } from './util/sanitizer.js'\nimport TemplateFactory from './util/template-factory.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'tooltip'\nconst DISALLOWED_ATTRIBUTES = new Set(['sanitize', 'allowList', 'sanitizeFn'])\n\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_MODAL = 'modal'\nconst CLASS_NAME_SHOW = 'show'\n\nconst SELECTOR_TOOLTIP_INNER = '.tooltip-inner'\nconst SELECTOR_MODAL = `.${CLASS_NAME_MODAL}`\n\nconst EVENT_MODAL_HIDE = 'hide.bs.modal'\n\nconst TRIGGER_HOVER = 'hover'\nconst TRIGGER_FOCUS = 'focus'\nconst TRIGGER_CLICK = 'click'\nconst TRIGGER_MANUAL = 'manual'\n\nconst EVENT_HIDE = 'hide'\nconst EVENT_HIDDEN = 'hidden'\nconst EVENT_SHOW = 'show'\nconst EVENT_SHOWN = 'shown'\nconst EVENT_INSERTED = 'inserted'\nconst EVENT_CLICK = 'click'\nconst EVENT_FOCUSIN = 'focusin'\nconst EVENT_FOCUSOUT = 'focusout'\nconst EVENT_MOUSEENTER = 'mouseenter'\nconst EVENT_MOUSELEAVE = 'mouseleave'\n\nconst AttachmentMap = {\n AUTO: 'auto',\n TOP: 'top',\n RIGHT: isRTL() ? 'left' : 'right',\n BOTTOM: 'bottom',\n LEFT: isRTL() ? 'right' : 'left'\n}\n\nconst Default = {\n allowList: DefaultAllowlist,\n animation: true,\n boundary: 'clippingParents',\n container: false,\n customClass: '',\n delay: 0,\n fallbackPlacements: ['top', 'right', 'bottom', 'left'],\n html: false,\n offset: [0, 6],\n placement: 'top',\n popperConfig: null,\n sanitize: true,\n sanitizeFn: null,\n selector: false,\n template: '',\n title: '',\n trigger: 'hover focus'\n}\n\nconst DefaultType = {\n allowList: 'object',\n animation: 'boolean',\n boundary: '(string|element)',\n container: '(string|element|boolean)',\n customClass: '(string|function)',\n delay: '(number|object)',\n fallbackPlacements: 'array',\n html: 'boolean',\n offset: '(array|string|function)',\n placement: '(string|function)',\n popperConfig: '(null|object|function)',\n sanitize: 'boolean',\n sanitizeFn: '(null|function)',\n selector: '(string|boolean)',\n template: 'string',\n title: '(string|element|function)',\n trigger: 'string'\n}\n\n/**\n * Class definition\n */\n\nclass Tooltip extends BaseComponent {\n constructor(element, config) {\n if (typeof Popper === 'undefined') {\n throw new TypeError('Bootstrap\\'s tooltips require Popper (https://popper.js.org)')\n }\n\n super(element, config)\n\n // Private\n this._isEnabled = true\n this._timeout = 0\n this._isHovered = null\n this._activeTrigger = {}\n this._popper = null\n this._templateFactory = null\n this._newContent = null\n\n // Protected\n this.tip = null\n\n this._setListeners()\n\n if (!this._config.selector) {\n this._fixTitle()\n }\n }\n\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Public\n enable() {\n this._isEnabled = true\n }\n\n disable() {\n this._isEnabled = false\n }\n\n toggleEnabled() {\n this._isEnabled = !this._isEnabled\n }\n\n toggle() {\n if (!this._isEnabled) {\n return\n }\n\n this._activeTrigger.click = !this._activeTrigger.click\n if (this._isShown()) {\n this._leave()\n return\n }\n\n this._enter()\n }\n\n dispose() {\n clearTimeout(this._timeout)\n\n EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler)\n\n if (this._element.getAttribute('data-bs-original-title')) {\n this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'))\n }\n\n this._disposePopper()\n super.dispose()\n }\n\n show() {\n if (this._element.style.display === 'none') {\n throw new Error('Please use show on visible elements')\n }\n\n if (!(this._isWithContent() && this._isEnabled)) {\n return\n }\n\n const showEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOW))\n const shadowRoot = findShadowRoot(this._element)\n const isInTheDom = (shadowRoot || this._element.ownerDocument.documentElement).contains(this._element)\n\n if (showEvent.defaultPrevented || !isInTheDom) {\n return\n }\n\n // TODO: v6 remove this or make it optional\n this._disposePopper()\n\n const tip = this._getTipElement()\n\n this._element.setAttribute('aria-describedby', tip.getAttribute('id'))\n\n const { container } = this._config\n\n if (!this._element.ownerDocument.documentElement.contains(this.tip)) {\n container.append(tip)\n EventHandler.trigger(this._element, this.constructor.eventName(EVENT_INSERTED))\n }\n\n this._popper = this._createPopper(tip)\n\n tip.classList.add(CLASS_NAME_SHOW)\n\n // If this is a touch-enabled device we add extra\n // empty mouseover listeners to the body's immediate children;\n // only needed because of broken event delegation on iOS\n // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n if ('ontouchstart' in document.documentElement) {\n for (const element of [].concat(...document.body.children)) {\n EventHandler.on(element, 'mouseover', noop)\n }\n }\n\n const complete = () => {\n EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOWN))\n\n if (this._isHovered === false) {\n this._leave()\n }\n\n this._isHovered = false\n }\n\n this._queueCallback(complete, this.tip, this._isAnimated())\n }\n\n hide() {\n if (!this._isShown()) {\n return\n }\n\n const hideEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDE))\n if (hideEvent.defaultPrevented) {\n return\n }\n\n const tip = this._getTipElement()\n tip.classList.remove(CLASS_NAME_SHOW)\n\n // If this is a touch-enabled device we remove the extra\n // empty mouseover listeners we added for iOS support\n if ('ontouchstart' in document.documentElement) {\n for (const element of [].concat(...document.body.children)) {\n EventHandler.off(element, 'mouseover', noop)\n }\n }\n\n this._activeTrigger[TRIGGER_CLICK] = false\n this._activeTrigger[TRIGGER_FOCUS] = false\n this._activeTrigger[TRIGGER_HOVER] = false\n this._isHovered = null // it is a trick to support manual triggering\n\n const complete = () => {\n if (this._isWithActiveTrigger()) {\n return\n }\n\n if (!this._isHovered) {\n this._disposePopper()\n }\n\n this._element.removeAttribute('aria-describedby')\n EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDDEN))\n }\n\n this._queueCallback(complete, this.tip, this._isAnimated())\n }\n\n update() {\n if (this._popper) {\n this._popper.update()\n }\n }\n\n // Protected\n _isWithContent() {\n return Boolean(this._getTitle())\n }\n\n _getTipElement() {\n if (!this.tip) {\n this.tip = this._createTipElement(this._newContent || this._getContentForTemplate())\n }\n\n return this.tip\n }\n\n _createTipElement(content) {\n const tip = this._getTemplateFactory(content).toHtml()\n\n // TODO: remove this check in v6\n if (!tip) {\n return null\n }\n\n tip.classList.remove(CLASS_NAME_FADE, CLASS_NAME_SHOW)\n // TODO: v6 the following can be achieved with CSS only\n tip.classList.add(`bs-${this.constructor.NAME}-auto`)\n\n const tipId = getUID(this.constructor.NAME).toString()\n\n tip.setAttribute('id', tipId)\n\n if (this._isAnimated()) {\n tip.classList.add(CLASS_NAME_FADE)\n }\n\n return tip\n }\n\n setContent(content) {\n this._newContent = content\n if (this._isShown()) {\n this._disposePopper()\n this.show()\n }\n }\n\n _getTemplateFactory(content) {\n if (this._templateFactory) {\n this._templateFactory.changeContent(content)\n } else {\n this._templateFactory = new TemplateFactory({\n ...this._config,\n // the `content` var has to be after `this._config`\n // to override config.content in case of popover\n content,\n extraClass: this._resolvePossibleFunction(this._config.customClass)\n })\n }\n\n return this._templateFactory\n }\n\n _getContentForTemplate() {\n return {\n [SELECTOR_TOOLTIP_INNER]: this._getTitle()\n }\n }\n\n _getTitle() {\n return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute('data-bs-original-title')\n }\n\n // Private\n _initializeOnDelegatedTarget(event) {\n return this.constructor.getOrCreateInstance(event.delegateTarget, this._getDelegateConfig())\n }\n\n _isAnimated() {\n return this._config.animation || (this.tip && this.tip.classList.contains(CLASS_NAME_FADE))\n }\n\n _isShown() {\n return this.tip && this.tip.classList.contains(CLASS_NAME_SHOW)\n }\n\n _createPopper(tip) {\n const placement = execute(this._config.placement, [this, tip, this._element])\n const attachment = AttachmentMap[placement.toUpperCase()]\n return Popper.createPopper(this._element, tip, this._getPopperConfig(attachment))\n }\n\n _getOffset() {\n const { offset } = this._config\n\n if (typeof offset === 'string') {\n return offset.split(',').map(value => Number.parseInt(value, 10))\n }\n\n if (typeof offset === 'function') {\n return popperData => offset(popperData, this._element)\n }\n\n return offset\n }\n\n _resolvePossibleFunction(arg) {\n return execute(arg, [this._element])\n }\n\n _getPopperConfig(attachment) {\n const defaultBsPopperConfig = {\n placement: attachment,\n modifiers: [\n {\n name: 'flip',\n options: {\n fallbackPlacements: this._config.fallbackPlacements\n }\n },\n {\n name: 'offset',\n options: {\n offset: this._getOffset()\n }\n },\n {\n name: 'preventOverflow',\n options: {\n boundary: this._config.boundary\n }\n },\n {\n name: 'arrow',\n options: {\n element: `.${this.constructor.NAME}-arrow`\n }\n },\n {\n name: 'preSetPlacement',\n enabled: true,\n phase: 'beforeMain',\n fn: data => {\n // Pre-set Popper's placement attribute in order to read the arrow sizes properly.\n // Otherwise, Popper mixes up the width and height dimensions since the initial arrow style is for top placement\n this._getTipElement().setAttribute('data-popper-placement', data.state.placement)\n }\n }\n ]\n }\n\n return {\n ...defaultBsPopperConfig,\n ...execute(this._config.popperConfig, [defaultBsPopperConfig])\n }\n }\n\n _setListeners() {\n const triggers = this._config.trigger.split(' ')\n\n for (const trigger of triggers) {\n if (trigger === 'click') {\n EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK), this._config.selector, event => {\n const context = this._initializeOnDelegatedTarget(event)\n context.toggle()\n })\n } else if (trigger !== TRIGGER_MANUAL) {\n const eventIn = trigger === TRIGGER_HOVER ?\n this.constructor.eventName(EVENT_MOUSEENTER) :\n this.constructor.eventName(EVENT_FOCUSIN)\n const eventOut = trigger === TRIGGER_HOVER ?\n this.constructor.eventName(EVENT_MOUSELEAVE) :\n this.constructor.eventName(EVENT_FOCUSOUT)\n\n EventHandler.on(this._element, eventIn, this._config.selector, event => {\n const context = this._initializeOnDelegatedTarget(event)\n context._activeTrigger[event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER] = true\n context._enter()\n })\n EventHandler.on(this._element, eventOut, this._config.selector, event => {\n const context = this._initializeOnDelegatedTarget(event)\n context._activeTrigger[event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER] =\n context._element.contains(event.relatedTarget)\n\n context._leave()\n })\n }\n }\n\n this._hideModalHandler = () => {\n if (this._element) {\n this.hide()\n }\n }\n\n EventHandler.on(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler)\n }\n\n _fixTitle() {\n const title = this._element.getAttribute('title')\n\n if (!title) {\n return\n }\n\n if (!this._element.getAttribute('aria-label') && !this._element.textContent.trim()) {\n this._element.setAttribute('aria-label', title)\n }\n\n this._element.setAttribute('data-bs-original-title', title) // DO NOT USE IT. Is only for backwards compatibility\n this._element.removeAttribute('title')\n }\n\n _enter() {\n if (this._isShown() || this._isHovered) {\n this._isHovered = true\n return\n }\n\n this._isHovered = true\n\n this._setTimeout(() => {\n if (this._isHovered) {\n this.show()\n }\n }, this._config.delay.show)\n }\n\n _leave() {\n if (this._isWithActiveTrigger()) {\n return\n }\n\n this._isHovered = false\n\n this._setTimeout(() => {\n if (!this._isHovered) {\n this.hide()\n }\n }, this._config.delay.hide)\n }\n\n _setTimeout(handler, timeout) {\n clearTimeout(this._timeout)\n this._timeout = setTimeout(handler, timeout)\n }\n\n _isWithActiveTrigger() {\n return Object.values(this._activeTrigger).includes(true)\n }\n\n _getConfig(config) {\n const dataAttributes = Manipulator.getDataAttributes(this._element)\n\n for (const dataAttribute of Object.keys(dataAttributes)) {\n if (DISALLOWED_ATTRIBUTES.has(dataAttribute)) {\n delete dataAttributes[dataAttribute]\n }\n }\n\n config = {\n ...dataAttributes,\n ...(typeof config === 'object' && config ? config : {})\n }\n config = this._mergeConfigObj(config)\n config = this._configAfterMerge(config)\n this._typeCheckConfig(config)\n return config\n }\n\n _configAfterMerge(config) {\n config.container = config.container === false ? document.body : getElement(config.container)\n\n if (typeof config.delay === 'number') {\n config.delay = {\n show: config.delay,\n hide: config.delay\n }\n }\n\n if (typeof config.title === 'number') {\n config.title = config.title.toString()\n }\n\n if (typeof config.content === 'number') {\n config.content = config.content.toString()\n }\n\n return config\n }\n\n _getDelegateConfig() {\n const config = {}\n\n for (const [key, value] of Object.entries(this._config)) {\n if (this.constructor.Default[key] !== value) {\n config[key] = value\n }\n }\n\n config.selector = false\n config.trigger = 'manual'\n\n // In the future can be replaced with:\n // const keysWithDifferentValues = Object.entries(this._config).filter(entry => this.constructor.Default[entry[0]] !== this._config[entry[0]])\n // `Object.fromEntries(keysWithDifferentValues)`\n return config\n }\n\n _disposePopper() {\n if (this._popper) {\n this._popper.destroy()\n this._popper = null\n }\n\n if (this.tip) {\n this.tip.remove()\n this.tip = null\n }\n }\n\n // Static\n static jQueryInterface(config) {\n return this.each(function () {\n const data = Tooltip.getOrCreateInstance(this, config)\n\n if (typeof config !== 'string') {\n return\n }\n\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config]()\n })\n }\n}\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Tooltip)\n\nexport default Tooltip\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap popover.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport Tooltip from './tooltip.js'\nimport { defineJQueryPlugin } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'popover'\n\nconst SELECTOR_TITLE = '.popover-header'\nconst SELECTOR_CONTENT = '.popover-body'\n\nconst Default = {\n ...Tooltip.Default,\n content: '',\n offset: [0, 8],\n placement: 'right',\n template: '' +\n '
' +\n '' +\n '
' +\n '
',\n trigger: 'click'\n}\n\nconst DefaultType = {\n ...Tooltip.DefaultType,\n content: '(null|string|element|function)'\n}\n\n/**\n * Class definition\n */\n\nclass Popover extends Tooltip {\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Overrides\n _isWithContent() {\n return this._getTitle() || this._getContent()\n }\n\n // Private\n _getContentForTemplate() {\n return {\n [SELECTOR_TITLE]: this._getTitle(),\n [SELECTOR_CONTENT]: this._getContent()\n }\n }\n\n _getContent() {\n return this._resolvePossibleFunction(this._config.content)\n }\n\n // Static\n static jQueryInterface(config) {\n return this.each(function () {\n const data = Popover.getOrCreateInstance(this, config)\n\n if (typeof config !== 'string') {\n return\n }\n\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config]()\n })\n }\n}\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Popover)\n\nexport default Popover\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap scrollspy.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport { defineJQueryPlugin, getElement, isDisabled, isVisible } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'scrollspy'\nconst DATA_KEY = 'bs.scrollspy'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\n\nconst EVENT_ACTIVATE = `activate${EVENT_KEY}`\nconst EVENT_CLICK = `click${EVENT_KEY}`\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`\n\nconst CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item'\nconst CLASS_NAME_ACTIVE = 'active'\n\nconst SELECTOR_DATA_SPY = '[data-bs-spy=\"scroll\"]'\nconst SELECTOR_TARGET_LINKS = '[href]'\nconst SELECTOR_NAV_LIST_GROUP = '.nav, .list-group'\nconst SELECTOR_NAV_LINKS = '.nav-link'\nconst SELECTOR_NAV_ITEMS = '.nav-item'\nconst SELECTOR_LIST_ITEMS = '.list-group-item'\nconst SELECTOR_LINK_ITEMS = `${SELECTOR_NAV_LINKS}, ${SELECTOR_NAV_ITEMS} > ${SELECTOR_NAV_LINKS}, ${SELECTOR_LIST_ITEMS}`\nconst SELECTOR_DROPDOWN = '.dropdown'\nconst SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle'\n\nconst Default = {\n offset: null, // TODO: v6 @deprecated, keep it for backwards compatibility reasons\n rootMargin: '0px 0px -25%',\n smoothScroll: false,\n target: null,\n threshold: [0.1, 0.5, 1]\n}\n\nconst DefaultType = {\n offset: '(number|null)', // TODO v6 @deprecated, keep it for backwards compatibility reasons\n rootMargin: 'string',\n smoothScroll: 'boolean',\n target: 'element',\n threshold: 'array'\n}\n\n/**\n * Class definition\n */\n\nclass ScrollSpy extends BaseComponent {\n constructor(element, config) {\n super(element, config)\n\n // this._element is the observablesContainer and config.target the menu links wrapper\n this._targetLinks = new Map()\n this._observableSections = new Map()\n this._rootElement = getComputedStyle(this._element).overflowY === 'visible' ? null : this._element\n this._activeTarget = null\n this._observer = null\n this._previousScrollData = {\n visibleEntryTop: 0,\n parentScrollTop: 0\n }\n this.refresh() // initialize\n }\n\n // Getters\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get NAME() {\n return NAME\n }\n\n // Public\n refresh() {\n this._initializeTargetsAndObservables()\n this._maybeEnableSmoothScroll()\n\n if (this._observer) {\n this._observer.disconnect()\n } else {\n this._observer = this._getNewObserver()\n }\n\n for (const section of this._observableSections.values()) {\n this._observer.observe(section)\n }\n }\n\n dispose() {\n this._observer.disconnect()\n super.dispose()\n }\n\n // Private\n _configAfterMerge(config) {\n // TODO: on v6 target should be given explicitly & remove the {target: 'ss-target'} case\n config.target = getElement(config.target) || document.body\n\n // TODO: v6 Only for backwards compatibility reasons. Use rootMargin only\n config.rootMargin = config.offset ? `${config.offset}px 0px -30%` : config.rootMargin\n\n if (typeof config.threshold === 'string') {\n config.threshold = config.threshold.split(',').map(value => Number.parseFloat(value))\n }\n\n return config\n }\n\n _maybeEnableSmoothScroll() {\n if (!this._config.smoothScroll) {\n return\n }\n\n // unregister any previous listeners\n EventHandler.off(this._config.target, EVENT_CLICK)\n\n EventHandler.on(this._config.target, EVENT_CLICK, SELECTOR_TARGET_LINKS, event => {\n const observableSection = this._observableSections.get(event.target.hash)\n if (observableSection) {\n event.preventDefault()\n const root = this._rootElement || window\n const height = observableSection.offsetTop - this._element.offsetTop\n if (root.scrollTo) {\n root.scrollTo({ top: height, behavior: 'smooth' })\n return\n }\n\n // Chrome 60 doesn't support `scrollTo`\n root.scrollTop = height\n }\n })\n }\n\n _getNewObserver() {\n const options = {\n root: this._rootElement,\n threshold: this._config.threshold,\n rootMargin: this._config.rootMargin\n }\n\n return new IntersectionObserver(entries => this._observerCallback(entries), options)\n }\n\n // The logic of selection\n _observerCallback(entries) {\n const targetElement = entry => this._targetLinks.get(`#${entry.target.id}`)\n const activate = entry => {\n this._previousScrollData.visibleEntryTop = entry.target.offsetTop\n this._process(targetElement(entry))\n }\n\n const parentScrollTop = (this._rootElement || document.documentElement).scrollTop\n const userScrollsDown = parentScrollTop >= this._previousScrollData.parentScrollTop\n this._previousScrollData.parentScrollTop = parentScrollTop\n\n for (const entry of entries) {\n if (!entry.isIntersecting) {\n this._activeTarget = null\n this._clearActiveClass(targetElement(entry))\n\n continue\n }\n\n const entryIsLowerThanPrevious = entry.target.offsetTop >= this._previousScrollData.visibleEntryTop\n // if we are scrolling down, pick the bigger offsetTop\n if (userScrollsDown && entryIsLowerThanPrevious) {\n activate(entry)\n // if parent isn't scrolled, let's keep the first visible item, breaking the iteration\n if (!parentScrollTop) {\n return\n }\n\n continue\n }\n\n // if we are scrolling up, pick the smallest offsetTop\n if (!userScrollsDown && !entryIsLowerThanPrevious) {\n activate(entry)\n }\n }\n }\n\n _initializeTargetsAndObservables() {\n this._targetLinks = new Map()\n this._observableSections = new Map()\n\n const targetLinks = SelectorEngine.find(SELECTOR_TARGET_LINKS, this._config.target)\n\n for (const anchor of targetLinks) {\n // ensure that the anchor has an id and is not disabled\n if (!anchor.hash || isDisabled(anchor)) {\n continue\n }\n\n const observableSection = SelectorEngine.findOne(decodeURI(anchor.hash), this._element)\n\n // ensure that the observableSection exists & is visible\n if (isVisible(observableSection)) {\n this._targetLinks.set(decodeURI(anchor.hash), anchor)\n this._observableSections.set(anchor.hash, observableSection)\n }\n }\n }\n\n _process(target) {\n if (this._activeTarget === target) {\n return\n }\n\n this._clearActiveClass(this._config.target)\n this._activeTarget = target\n target.classList.add(CLASS_NAME_ACTIVE)\n this._activateParents(target)\n\n EventHandler.trigger(this._element, EVENT_ACTIVATE, { relatedTarget: target })\n }\n\n _activateParents(target) {\n // Activate dropdown parents\n if (target.classList.contains(CLASS_NAME_DROPDOWN_ITEM)) {\n SelectorEngine.findOne(SELECTOR_DROPDOWN_TOGGLE, target.closest(SELECTOR_DROPDOWN))\n .classList.add(CLASS_NAME_ACTIVE)\n return\n }\n\n for (const listGroup of SelectorEngine.parents(target, SELECTOR_NAV_LIST_GROUP)) {\n // Set triggered links parents as active\n // With both and
), including RegARIMA modelling (rjd3x13::regarima()
) and X-11 decomposition (rjd3x13::x11()
).
The specification can be created with the functions rjd3x13::regarima_spec()
, rjd3x13::x11_spec()
or rjd3x13::x13_spec()
and can be modified with the function:
-for the pre-processing: rjd3toolkit::set_arima()
, rjd3toolkit::set_automodel()
, rjd3toolkit::set_basic()
, rjd3toolkit::set_easter()
, rjd3toolkit::set_estimate()
, rjd3toolkit::set_outlier()
, rjd3toolkit::set_tradingdays()
, rjd3toolkit::set_transform()
, rjd3toolkit::add_outlier()
, rjd3toolkit::remove_outlier()
, rjd3toolkit::add_ramp()
, rjd3toolkit::remove_ramp()
, rjd3toolkit::add_usrdefvar()
;
+for the pre-processing: rjd3toolkit::set_arima()
, rjd3toolkit::set_automodel()
, rjd3toolkit::set_basic()
, rjd3toolkit::set_easter()
, rjd3toolkit::set_estimate()
, rjd3toolkit::set_outlier()
, rjd3toolkit::set_tradingdays()
, rjd3toolkit::set_transform()
, rjd3toolkit::add_outlier()
, rjd3toolkit::remove_outlier()
, rjd3toolkit::add_ramp()
, rjd3toolkit::remove_ramp()
, rjd3toolkit::add_usrdefvar()
;
for the decomposition: rjd3x13::set_x11()
;
-for the benchmarking: rjd3toolkit::set_benchmarking()
.
+for the benchmarking: rjd3toolkit::set_benchmarking()
.
diff --git a/search.json b/search.json
index 4cdd320..60e8ee5 100644
--- a/search.json
+++ b/search.json
@@ -1 +1 @@
-[{"path":"https://rjdemetra.github.io/rjd3x13/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Jean Palate. Author, maintainer. Alain Quartier-la-Tente. Author.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Palate J, Quartier-la-Tente (2023). rjd3x13: Seasonal Adjustment X-13 'JDemetra+ 3.0'. https://github.com/rjdemetra/rjd3x13, https://rjdemetra.github.io/rjd3x13/.","code":"@Manual{, title = {rjd3x13: Seasonal Adjustment with X-13 and 'JDemetra+ 3.0'}, author = {Jean Palate and Alain Quartier-la-Tente}, year = {2023}, note = {https://github.com/rjdemetra/rjd3x13, https://rjdemetra.github.io/rjd3x13/}, }"},{"path":"https://rjdemetra.github.io/rjd3x13/index.html","id":"rjd3x13","dir":"","previous_headings":"","what":"Seasonal Adjustment with X-13 and JDemetra+ 3.0","title":"Seasonal Adjustment with X-13 and JDemetra+ 3.0","text":"rjd3x13 offers full acces options outputs X-13 (rjd3x13::x13()), including RegARIMA modelling (rjd3x13::regarima()) X-11 decomposition (rjd3x13::x11()). specification can created functions rjd3x13::regarima_spec(), rjd3x13::x11_spec() rjd3x13::x13_spec() can modified function: pre-processing: rjd3toolkit::set_arima(), rjd3toolkit::set_automodel(), rjd3toolkit::set_basic(), rjd3toolkit::set_easter(), rjd3toolkit::set_estimate(), rjd3toolkit::set_outlier(), rjd3toolkit::set_tradingdays(), rjd3toolkit::set_transform(), rjd3toolkit::add_outlier(), rjd3toolkit::remove_outlier(), rjd3toolkit::add_ramp(), rjd3toolkit::remove_ramp(), rjd3toolkit::add_usrdefvar(); decomposition: rjd3x13::set_x11(); benchmarking: rjd3toolkit::set_benchmarking().","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Seasonal Adjustment with X-13 and JDemetra+ 3.0","text":"get current stable version (latest release): get current development version GitHub:","code":"# install.packages(\"remotes\") remotes::install_github(\"rjdemetra/rjd3x13@*release\") # install.packages(\"remotes\") remotes::install_github(\"rjdemetra/rjd3x13\")"},{"path":"https://rjdemetra.github.io/rjd3x13/index.html","id":"usage","dir":"","previous_headings":"","what":"Usage","title":"Seasonal Adjustment with X-13 and JDemetra+ 3.0","text":"","code":"library(\"rjd3x13\") y <- rjd3toolkit::ABS$X0.2.09.10.M x13_model <- x13(y) summary(x13_model$result$preprocessing) # Summary of regarima model #> Log-transformation: yes #> SARIMA model: (2,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat Pr(>|t|) #> phi(1) 0.34740 0.06502 5.343 1.53e-07 *** #> phi(2) 0.21733 0.06000 3.622 0.000329 *** #> theta(1) -0.69937 0.05115 -13.672 < 2e-16 *** #> btheta(1) -0.48038 0.06993 -6.869 2.45e-11 *** #> --- #> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 #> #> Regression model: #> Estimate Std. Error T-stat Pr(>|t|) #> td 0.0023233 0.0006844 3.395 0.000755 *** #> easter 0.0520113 0.0084894 6.127 2.13e-09 *** #> TC (2000-06-01) 0.1590340 0.0288578 5.511 6.37e-08 *** #> AO (2000-07-01) -0.2900774 0.0400551 -7.242 2.25e-12 *** #> --- #> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 #> Number of observations: 425 , Number of effective observations: 412 , Number of parameters: 9 #> Loglikelihood: 746.7517, Adjusted loglikelihood: -2120.875 #> Standard error of the regression (ML estimate): 0.03927991 #> AIC: 4259.75 , AICc: 4260.198 , BIC: 4295.939 plot(x13_model) # Plot of the final decomposition"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/deprecated-rjd3x13.html","id":null,"dir":"Reference","previous_headings":"","what":"Deprecated functions — deprecated-rjd3x13","title":"Deprecated functions — deprecated-rjd3x13","text":"Deprecated functions","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/deprecated-rjd3x13.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Deprecated functions — deprecated-rjd3x13","text":"","code":"spec_x13(name = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\")) spec_regarima(name = c(\"rg4\", \"rg0\", \"rg1\", \"rg2c\", \"rg3\", \"rg5c\")) spec_x11() fast_x13( ts, spec = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\"), context = NULL, userdefined = NULL ) fast_regarima( ts, spec = c(\"rg4\", \"rg0\", \"rg1\", \"rg2c\", \"rg3\", \"rg5c\"), context = NULL, userdefined = NULL )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/deprecated-rjd3x13.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Deprecated functions — deprecated-rjd3x13","text":"ts, spec, context, userdefined, name Parameters.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/jd3_utilities.html","id":null,"dir":"Reference","previous_headings":"","what":"Java Utility Functions — jd3_utilities","title":"Java Utility Functions — jd3_utilities","text":"functions used JDemetra+ 3.0 packages easily interact R Java objects.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/jd3_utilities.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Java Utility Functions — jd3_utilities","text":"","code":".x13_rslts(jrslts) .jd2r_spec_x11(jspec) .r2jd_spec_x11(spec) .r2jd_spec_x13(spec) .jd2r_spec_x13(jspec)"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/jd3_utilities.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Java Utility Functions — jd3_utilities","text":"spec, jspec, jrslts parameters.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":null,"dir":"Reference","previous_headings":"","what":"Refresh a specification with constraints — refresh","title":"Refresh a specification with constraints — refresh","text":"Function allowing create new specification updating specification used previous estimation. selected parameters kept fixed (previous estimation results) others freed re-estimation domain constraints. See details examples.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Refresh a specification with constraints — refresh","text":"","code":"regarima_refresh( spec, refspec = NULL, policy = c(\"FreeParameters\", \"Complete\", \"Outliers_StochasticComponent\", \"Outliers\", \"FixedParameters\", \"FixedAutoRegressiveParameters\", \"Fixed\", \"Current\"), period = 0, start = NULL, end = NULL ) x13_refresh( spec, refspec = NULL, policy = c(\"FreeParameters\", \"Complete\", \"Outliers_StochasticComponent\", \"Outliers\", \"FixedParameters\", \"FixedAutoRegressiveParameters\", \"Fixed\", \"Current\"), period = 0, start = NULL, end = NULL )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Refresh a specification with constraints — refresh","text":"spec current specification refreshed (\"result_spec\"). refspec reference specification used define domain considered re-estimation (\"domain_spec\"). default \"RG5c\" \"RSA5\" specification. policy refresh policy apply (see details). period, start, end specify span outliers re-identified (.e.: re-detected) policy = \"Outliers\" policy = \"Outliers_StochasticComponent\". Span definition: period: numeric, number observations year (12, 4...). start end: first last date outliers re-identfied, defined arrays two elements: year first period (example, period = 12, c(1980, 1) January 1980). specified, outliers re-identified whole series.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Refresh a specification with constraints — refresh","text":"new specification, object class \"JD3_X13_SPEC\" \"JD3_REGARIMA_SPEC\".","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Refresh a specification with constraints — refresh","text":"selection constraints kept fixed re-estimated called revision policy. User-defined parameters always copied new refreshed specifications. X-13 reg-arima part can refreshed. X-11 decomposition completely re-run, keeping user-defined parameters original specification. Available refresh policies : Current: applying current pre-adjustment reg-arima model adding new raw data points Additive Outliers (defined new intervention variables) Fixed: applying current pre-adjustment reg-arima model replacing forecasts new raw data points. FixedParameters: pre-adjustment reg-arima model partially modified: regression coefficients re-estimated regression variables, Arima orders coefficients unchanged. FixedAutoRegressiveParameters: FixedParameters Arima Moving Average coefficients (MA) also re-estimated, Auto-regressive (AR) coefficients kept fixed. FreeParameters: regression Arima model coefficients re-estimated, regression variables Arima orders kept fixed. Outliers: regression variables Arima orders kept fixed, outliers re-detected defined span, thus regression Arima model coefficients re-estimated Outliers_StochasticComponent: \"Outliers\" Arima model orders (p,d,q)(P,D,Q) can also re-identified.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Refresh a specification with constraints — refresh","text":"information revision policies JDemetra+ online documentation: https://jdemetra-new-documentation.netlify.app/t-rev-policies-production","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Refresh a specification with constraints — refresh","text":"","code":"y<- rjd3toolkit::ABS$X0.2.08.10.M # raw series for first estimation y_raw <-window(y,end = 2009) # raw series for second (refreshed) estimation y_new <-window(y,end = 2010) # specification for first estimation spec_x13_1<-x13_spec(\"rsa5c\") # first estimation sa_x13<- x13(y_raw, spec_x13_1) # refreshing the specification current_result_spec <- sa_x13$result_spec current_domain_spec <- sa_x13$estimation_spec spec_x13_ref <- x13_refresh(current_result_spec, # point spec to be refreshed current_domain_spec, #domain spec (set of constraints) policy = \"Fixed\") # 2nd estimation with refreshed specification sa_x13_ref <- x13(y_new, spec_x13_ref)"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima.html","id":null,"dir":"Reference","previous_headings":"","what":"RegARIMA model, pre-adjustment in X13 — regarima","title":"RegARIMA model, pre-adjustment in X13 — regarima","text":"RegARIMA model, pre-adjustment X13","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"RegARIMA model, pre-adjustment in X13 — regarima","text":"","code":"regarima( ts, spec = c(\"rg4\", \"rg0\", \"rg1\", \"rg2c\", \"rg3\", \"rg5c\"), context = NULL, userdefined = NULL ) regarima_fast( ts, spec = c(\"rg4\", \"rg0\", \"rg1\", \"rg2c\", \"rg3\", \"rg5c\"), context = NULL, userdefined = NULL )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"RegARIMA model, pre-adjustment in X13 — regarima","text":"ts univariate time series. spec model specification. Can either name predefined specification user-defined specification. context list external regressors (calendar ) used estimation userdefined vector containing additional output variables (see x13_dictionary()).","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"RegARIMA model, pre-adjustment in X13 — regarima","text":"regarima() function returns list results (\"JD3_REGARIMA_RSLTS\" object), estimation specification result specification, regarima_fast() faster function returns results.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"RegARIMA model, pre-adjustment in X13 — regarima","text":"","code":"y = rjd3toolkit::ABS$X0.2.09.10.M sp = regarima_spec(\"rg5c\") sp = rjd3toolkit::add_outlier(sp, type = c(\"AO\"), c(\"2015-01-01\", \"2010-01-01\")) regarima_fast(y, spec = sp) #> Log-transformation: yes #> SARIMA model: (0,1,1) (1,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> theta(1) -0.81606 0.06959 -11.73 #> bphi(1) -0.43734 0.02661 -16.44 #> btheta(1) -0.82509 0.04481 -18.41 #> #> Regression model: #> Estimate Std. Error T-stat #> monday -0.008747 0.003287 -2.661 #> tuesday 0.004488 0.003314 1.354 #> wednesday -0.001471 0.003294 -0.447 #> thursday 0.013886 0.003325 4.176 #> friday -0.001944 0.003325 -0.585 #> saturday 0.015368 0.003304 4.651 #> easter 0.051130 0.006621 7.723 #> AO (2010-01-01) 0.035349 0.028796 1.228 #> AO (2015-01-01) -0.020385 0.028885 -0.706 #> TC (2000-06-01) 0.162169 0.026510 6.117 #> AO (2000-07-01) -0.306536 0.032095 -9.551 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 15 #> #> Loglikelihood: 795.8429 #> Adjusted loglikelihood: -2071.784 #> #> Standard error of the regression (ML estimate): 0.03478056 #> AIC: 4173.568 #> AICC: 4174.78 #> BIC: 4233.883 #> sp = rjd3toolkit::set_transform( rjd3toolkit::set_tradingdays( rjd3toolkit::set_easter(sp, enabled = FALSE), option = \"workingdays\" ), fun = \"None\" ) regarima_fast(y, spec = sp) #> Log-transformation: no #> SARIMA model: (3,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.16557 0.06461 2.563 #> phi(2) 0.08780 0.06435 1.364 #> phi(3) -0.11287 0.06047 -1.867 #> theta(1) -0.86076 0.03927 -21.918 #> btheta(1) -0.22918 0.05193 -4.413 #> #> Regression model: #> Estimate Std. Error T-stat #> td 1.0015 0.8098 1.237 #> lp 29.6392 11.5469 2.567 #> AO (2010-01-01) 37.0476 34.4300 1.076 #> AO (2015-01-01) 27.9946 35.0234 0.799 #> AO (2000-06-01) 199.7536 34.5756 5.777 #> AO (2000-07-01) -194.6887 34.6240 -5.623 #> LS (2005-04-01) -82.3062 17.4210 -4.725 #> LS (2015-07-01) 81.3334 18.0924 4.495 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 14 #> #> Loglikelihood: -2159.902 #> Standard error of the regression (ML estimate): 45.632 #> AIC: 4347.804 #> AICC: 4348.862 #> BIC: 4404.099 #> sp = rjd3toolkit::set_outlier(sp, outliers.type = c(\"AO\")) regarima_fast(y, spec = sp) #> Log-transformation: no #> SARIMA model: (3,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.11808 0.09633 1.226 #> phi(2) 0.03364 0.09199 0.366 #> phi(3) -0.15061 0.08002 -1.882 #> theta(1) -0.83611 0.07714 -10.838 #> btheta(1) -0.24114 0.05412 -4.456 #> #> Regression model: #> Estimate Std. Error T-stat #> td 1.0012 0.8028 1.247 #> lp 30.8981 11.7820 2.622 #> AO (2010-01-01) 37.2796 35.1800 1.060 #> AO (2015-01-01) 6.5622 35.1307 0.187 #> AO (2000-06-01) 194.6157 35.1753 5.533 #> AO (2000-07-01) -201.1923 35.2286 -5.711 #> AO (2005-04-01) -150.2768 35.1047 -4.281 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 13 #> #> Loglikelihood: -2169.985 #> Standard error of the regression (ML estimate): 46.77874 #> AIC: 4365.971 #> AICC: 4366.885 #> BIC: 4418.244 #>"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima_outliers.html","id":null,"dir":"Reference","previous_headings":"","what":"Outlier Detection with a RegARIMA Model — regarima_outliers","title":"Outlier Detection with a RegARIMA Model — regarima_outliers","text":"Outlier Detection RegARIMA Model","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima_outliers.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Outlier Detection with a RegARIMA Model — regarima_outliers","text":"","code":"regarima_outliers( y, order = c(0L, 1L, 1L), seasonal = c(0L, 1L, 1L), mean = F, X = NULL, X.td = NULL, ao = T, ls = T, tc = F, so = F, cv = 0, clean = F )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima_outliers.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Outlier Detection with a RegARIMA Model — regarima_outliers","text":"y dependent variable (ts object). order, seasonal orders ARIMA model. mean Boolean include mean. X user defined regressors (calendar). X.td calendar regressors. ao, ls, , tc Boolean indicate type outliers detected. cv numeric. entered critical value outlier detection procedure. equal 0 critical value outlier detection procedure automatically determined number observations. clean Clean missing values beginning/end series. Regression variables automatically resized, need .","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima_outliers.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Outlier Detection with a RegARIMA Model — regarima_outliers","text":"\"JD3_REGARIMA_OUTLIERS\" object, containing input variables results","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima_outliers.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Outlier Detection with a RegARIMA Model — regarima_outliers","text":"","code":"regarima_outliers(rjd3toolkit::ABS$X0.2.09.10.M) #> $model #> $model$y #> Jan Feb Mar Apr May Jun Jul Aug Sep Oct #> 1982 460.1 502.6 443.8 459.1 438.4 465.1 452.7 #> 1983 379.2 378.0 472.1 503.4 510.6 462.4 468.3 458.2 482.7 485.3 #> 1984 414.7 414.5 484.7 487.3 597.9 500.4 543.4 503.4 522.8 556.6 #> 1985 516.3 452.5 525.8 587.7 700.3 561.8 602.8 582.5 563.1 637.1 #> 1986 570.5 478.2 547.4 594.3 751.6 553.4 663.2 581.1 661.9 665.6 #> 1987 613.9 513.2 599.9 674.1 714.0 670.5 720.9 601.6 672.3 709.1 #> 1988 631.0 551.1 678.1 715.7 740.8 722.0 683.5 650.9 723.3 729.6 #> 1989 631.5 552.0 719.0 697.6 764.8 786.3 715.1 723.8 757.9 751.7 #> 1990 678.2 586.2 726.8 744.1 815.5 832.4 710.3 759.4 741.1 786.6 #> 1991 694.0 604.7 719.2 748.2 828.2 746.9 794.5 770.4 741.5 858.6 #> 1992 740.0 665.9 701.5 831.4 878.6 826.0 788.2 723.6 819.8 902.5 #> 1993 762.1 643.0 754.1 840.7 906.6 887.1 771.5 728.7 844.7 886.9 #> 1994 745.7 664.4 821.5 831.7 908.0 912.6 782.9 798.8 887.0 934.6 #> 1995 752.4 682.5 811.2 906.0 927.2 906.8 880.6 873.9 856.8 920.6 #> 1996 833.1 737.1 812.0 895.2 962.8 908.6 908.0 888.9 833.7 933.7 #> 1997 840.9 727.4 857.9 849.0 994.8 830.2 971.1 836.0 939.1 976.9 #> 1998 917.3 716.2 822.9 970.1 970.2 849.4 1042.3 869.9 939.4 1021.3 #> 1999 942.0 738.4 903.2 953.2 1011.2 894.4 1054.5 899.5 1002.3 1043.7 #> 2000 924.9 798.2 901.9 1024.7 1052.3 1165.5 859.3 1009.2 1054.6 1070.4 #> 2001 971.9 814.6 1017.5 1039.2 1123.5 1024.9 1100.8 963.0 1012.9 1132.0 #> 2002 1027.9 841.4 1043.9 1075.3 1190.9 1143.0 1075.7 1065.9 1060.1 1211.4 #> 2003 1099.3 900.5 1092.7 1222.4 1237.1 1237.9 1182.0 1101.2 1198.2 1316.1 #> 2004 1182.9 989.8 1131.4 1277.1 1280.3 1384.1 1305.9 1166.8 1317.9 1358.3 #> 2005 1246.3 1037.3 1300.8 1153.7 1264.2 1454.2 1290.1 1210.7 1277.8 1314.4 #> 2006 1193.7 1037.7 1204.5 1348.6 1267.6 1429.0 1412.0 1239.2 1219.1 1344.6 #> 2007 1267.3 1047.0 1331.6 1302.6 1365.1 1491.5 1462.3 1315.5 1353.3 1440.6 #> 2008 1397.8 1140.5 1351.7 1396.6 1421.1 1401.6 1582.3 1268.4 1383.3 1452.4 #> 2009 1451.0 1056.6 1386.9 1509.1 1519.4 1500.5 1570.7 1341.5 1399.9 1534.3 #> 2010 1469.1 1111.9 1379.9 1389.7 1427.2 1551.4 1581.0 1324.0 1422.0 1464.9 #> 2011 1412.6 1117.5 1321.6 1472.6 1408.9 1471.9 1532.5 1293.5 1345.7 1404.7 #> 2012 1362.4 1131.7 1349.2 1391.2 1456.9 1616.4 1423.4 1359.0 1367.8 1442.6 #> 2013 1397.4 1113.6 1397.3 1339.1 1441.9 1537.4 1390.6 1337.2 1359.4 1463.3 #> 2014 1451.0 1064.9 1293.2 1442.9 1411.8 1461.6 1501.6 1254.2 1356.4 1478.7 #> 2015 1471.2 1053.8 1367.2 1442.2 1428.7 1480.9 1540.9 1331.9 1400.1 1566.3 #> 2016 1519.2 1155.8 1451.5 1451.0 1449.7 1596.1 1468.3 1293.9 1393.5 1497.4 #> 2017 1428.5 1092.4 1370.3 1522.6 1452.4 1557.2 1445.5 1303.1 #> Nov Dec #> 1982 522.9 889.3 #> 1983 568.7 963.7 #> 1984 623.2 1039.4 #> 1985 697.1 1187.5 #> 1986 700.9 1367.9 #> 1987 743.2 1460.1 #> 1988 870.3 1570.0 #> 1989 923.8 1569.4 #> 1990 931.5 1563.1 #> 1991 944.7 1600.3 #> 1992 968.6 1650.9 #> 1993 970.0 1710.5 #> 1994 1000.4 1817.5 #> 1995 1067.4 1857.2 #> 1996 1081.6 1837.6 #> 1997 1111.3 1879.1 #> 1998 1137.7 1975.7 #> 1999 1207.2 2069.6 #> 2000 1232.5 2177.5 #> 2001 1344.8 2269.5 #> 2002 1495.1 2338.6 #> 2003 1528.2 2424.2 #> 2004 1536.7 2500.8 #> 2005 1540.4 2536.0 #> 2006 1623.3 2611.1 #> 2007 1687.9 2747.0 #> 2008 1675.9 2886.1 #> 2009 1736.6 2795.1 #> 2010 1705.5 2752.4 #> 2011 1660.0 2730.5 #> 2012 1672.9 2753.3 #> 2013 1668.9 2725.5 #> 2014 1687.7 2756.9 #> 2015 1730.5 2913.6 #> 2016 1684.3 2850.4 #> 2017 #> #> $model$variables #> [1] \"AO.220\" \"AO.219\" \"AO.277\" \"LS.400\" \"LS.280\" #> #> $model$X #> [,1] [,2] [,3] [,4] [,5] #> [1,] 0 0 0 -1 -1 #> [2,] 0 0 0 -1 -1 #> [3,] 0 0 0 -1 -1 #> [4,] 0 0 0 -1 -1 #> [5,] 0 0 0 -1 -1 #> [6,] 0 0 0 -1 -1 #> [7,] 0 0 0 -1 -1 #> [8,] 0 0 0 -1 -1 #> [9,] 0 0 0 -1 -1 #> [10,] 0 0 0 -1 -1 #> [11,] 0 0 0 -1 -1 #> [12,] 0 0 0 -1 -1 #> [13,] 0 0 0 -1 -1 #> [14,] 0 0 0 -1 -1 #> [15,] 0 0 0 -1 -1 #> [16,] 0 0 0 -1 -1 #> [17,] 0 0 0 -1 -1 #> [18,] 0 0 0 -1 -1 #> [19,] 0 0 0 -1 -1 #> [20,] 0 0 0 -1 -1 #> [21,] 0 0 0 -1 -1 #> [22,] 0 0 0 -1 -1 #> [23,] 0 0 0 -1 -1 #> [24,] 0 0 0 -1 -1 #> [25,] 0 0 0 -1 -1 #> [26,] 0 0 0 -1 -1 #> [27,] 0 0 0 -1 -1 #> [28,] 0 0 0 -1 -1 #> [29,] 0 0 0 -1 -1 #> [30,] 0 0 0 -1 -1 #> [31,] 0 0 0 -1 -1 #> [32,] 0 0 0 -1 -1 #> [33,] 0 0 0 -1 -1 #> [34,] 0 0 0 -1 -1 #> [35,] 0 0 0 -1 -1 #> [36,] 0 0 0 -1 -1 #> [37,] 0 0 0 -1 -1 #> [38,] 0 0 0 -1 -1 #> [39,] 0 0 0 -1 -1 #> [40,] 0 0 0 -1 -1 #> [41,] 0 0 0 -1 -1 #> [42,] 0 0 0 -1 -1 #> [43,] 0 0 0 -1 -1 #> [44,] 0 0 0 -1 -1 #> [45,] 0 0 0 -1 -1 #> [46,] 0 0 0 -1 -1 #> [47,] 0 0 0 -1 -1 #> [48,] 0 0 0 -1 -1 #> [49,] 0 0 0 -1 -1 #> [50,] 0 0 0 -1 -1 #> [51,] 0 0 0 -1 -1 #> [52,] 0 0 0 -1 -1 #> [53,] 0 0 0 -1 -1 #> [54,] 0 0 0 -1 -1 #> [55,] 0 0 0 -1 -1 #> [56,] 0 0 0 -1 -1 #> [57,] 0 0 0 -1 -1 #> [58,] 0 0 0 -1 -1 #> [59,] 0 0 0 -1 -1 #> [60,] 0 0 0 -1 -1 #> [61,] 0 0 0 -1 -1 #> [62,] 0 0 0 -1 -1 #> [63,] 0 0 0 -1 -1 #> [64,] 0 0 0 -1 -1 #> [65,] 0 0 0 -1 -1 #> [66,] 0 0 0 -1 -1 #> [67,] 0 0 0 -1 -1 #> [68,] 0 0 0 -1 -1 #> [69,] 0 0 0 -1 -1 #> [70,] 0 0 0 -1 -1 #> [71,] 0 0 0 -1 -1 #> [72,] 0 0 0 -1 -1 #> [73,] 0 0 0 -1 -1 #> [74,] 0 0 0 -1 -1 #> [75,] 0 0 0 -1 -1 #> [76,] 0 0 0 -1 -1 #> [77,] 0 0 0 -1 -1 #> [78,] 0 0 0 -1 -1 #> [79,] 0 0 0 -1 -1 #> [80,] 0 0 0 -1 -1 #> [81,] 0 0 0 -1 -1 #> [82,] 0 0 0 -1 -1 #> [83,] 0 0 0 -1 -1 #> [84,] 0 0 0 -1 -1 #> [85,] 0 0 0 -1 -1 #> [86,] 0 0 0 -1 -1 #> [87,] 0 0 0 -1 -1 #> [88,] 0 0 0 -1 -1 #> [89,] 0 0 0 -1 -1 #> [90,] 0 0 0 -1 -1 #> [91,] 0 0 0 -1 -1 #> [92,] 0 0 0 -1 -1 #> [93,] 0 0 0 -1 -1 #> [94,] 0 0 0 -1 -1 #> [95,] 0 0 0 -1 -1 #> [96,] 0 0 0 -1 -1 #> [97,] 0 0 0 -1 -1 #> [98,] 0 0 0 -1 -1 #> [99,] 0 0 0 -1 -1 #> [100,] 0 0 0 -1 -1 #> [101,] 0 0 0 -1 -1 #> [102,] 0 0 0 -1 -1 #> [103,] 0 0 0 -1 -1 #> [104,] 0 0 0 -1 -1 #> [105,] 0 0 0 -1 -1 #> [106,] 0 0 0 -1 -1 #> [107,] 0 0 0 -1 -1 #> [108,] 0 0 0 -1 -1 #> [109,] 0 0 0 -1 -1 #> [110,] 0 0 0 -1 -1 #> [111,] 0 0 0 -1 -1 #> [112,] 0 0 0 -1 -1 #> [113,] 0 0 0 -1 -1 #> [114,] 0 0 0 -1 -1 #> [115,] 0 0 0 -1 -1 #> [116,] 0 0 0 -1 -1 #> [117,] 0 0 0 -1 -1 #> [118,] 0 0 0 -1 -1 #> [119,] 0 0 0 -1 -1 #> [120,] 0 0 0 -1 -1 #> [121,] 0 0 0 -1 -1 #> [122,] 0 0 0 -1 -1 #> [123,] 0 0 0 -1 -1 #> [124,] 0 0 0 -1 -1 #> [125,] 0 0 0 -1 -1 #> [126,] 0 0 0 -1 -1 #> [127,] 0 0 0 -1 -1 #> [128,] 0 0 0 -1 -1 #> [129,] 0 0 0 -1 -1 #> [130,] 0 0 0 -1 -1 #> [131,] 0 0 0 -1 -1 #> [132,] 0 0 0 -1 -1 #> [133,] 0 0 0 -1 -1 #> [134,] 0 0 0 -1 -1 #> [135,] 0 0 0 -1 -1 #> [136,] 0 0 0 -1 -1 #> [137,] 0 0 0 -1 -1 #> [138,] 0 0 0 -1 -1 #> [139,] 0 0 0 -1 -1 #> [140,] 0 0 0 -1 -1 #> [141,] 0 0 0 -1 -1 #> [142,] 0 0 0 -1 -1 #> [143,] 0 0 0 -1 -1 #> [144,] 0 0 0 -1 -1 #> [145,] 0 0 0 -1 -1 #> [146,] 0 0 0 -1 -1 #> [147,] 0 0 0 -1 -1 #> [148,] 0 0 0 -1 -1 #> [149,] 0 0 0 -1 -1 #> [150,] 0 0 0 -1 -1 #> [151,] 0 0 0 -1 -1 #> [152,] 0 0 0 -1 -1 #> [153,] 0 0 0 -1 -1 #> [154,] 0 0 0 -1 -1 #> [155,] 0 0 0 -1 -1 #> [156,] 0 0 0 -1 -1 #> [157,] 0 0 0 -1 -1 #> [158,] 0 0 0 -1 -1 #> [159,] 0 0 0 -1 -1 #> [160,] 0 0 0 -1 -1 #> [161,] 0 0 0 -1 -1 #> [162,] 0 0 0 -1 -1 #> [163,] 0 0 0 -1 -1 #> [164,] 0 0 0 -1 -1 #> [165,] 0 0 0 -1 -1 #> [166,] 0 0 0 -1 -1 #> [167,] 0 0 0 -1 -1 #> [168,] 0 0 0 -1 -1 #> [169,] 0 0 0 -1 -1 #> [170,] 0 0 0 -1 -1 #> [171,] 0 0 0 -1 -1 #> [172,] 0 0 0 -1 -1 #> [173,] 0 0 0 -1 -1 #> [174,] 0 0 0 -1 -1 #> [175,] 0 0 0 -1 -1 #> [176,] 0 0 0 -1 -1 #> [177,] 0 0 0 -1 -1 #> [178,] 0 0 0 -1 -1 #> [179,] 0 0 0 -1 -1 #> [180,] 0 0 0 -1 -1 #> [181,] 0 0 0 -1 -1 #> [182,] 0 0 0 -1 -1 #> [183,] 0 0 0 -1 -1 #> [184,] 0 0 0 -1 -1 #> [185,] 0 0 0 -1 -1 #> [186,] 0 0 0 -1 -1 #> [187,] 0 0 0 -1 -1 #> [188,] 0 0 0 -1 -1 #> [189,] 0 0 0 -1 -1 #> [190,] 0 0 0 -1 -1 #> [191,] 0 0 0 -1 -1 #> [192,] 0 0 0 -1 -1 #> [193,] 0 0 0 -1 -1 #> [194,] 0 0 0 -1 -1 #> [195,] 0 0 0 -1 -1 #> [196,] 0 0 0 -1 -1 #> [197,] 0 0 0 -1 -1 #> [198,] 0 0 0 -1 -1 #> [199,] 0 0 0 -1 -1 #> [200,] 0 0 0 -1 -1 #> [201,] 0 0 0 -1 -1 #> [202,] 0 0 0 -1 -1 #> [203,] 0 0 0 -1 -1 #> [204,] 0 0 0 -1 -1 #> [205,] 0 0 0 -1 -1 #> [206,] 0 0 0 -1 -1 #> [207,] 0 0 0 -1 -1 #> [208,] 0 0 0 -1 -1 #> [209,] 0 0 0 -1 -1 #> [210,] 0 0 0 -1 -1 #> [211,] 0 0 0 -1 -1 #> [212,] 0 0 0 -1 -1 #> [213,] 0 0 0 -1 -1 #> [214,] 0 0 0 -1 -1 #> [215,] 0 0 0 -1 -1 #> [216,] 0 0 0 -1 -1 #> [217,] 0 0 0 -1 -1 #> [218,] 0 0 0 -1 -1 #> [219,] 0 1 0 -1 -1 #> [220,] 1 0 0 -1 -1 #> [221,] 0 0 0 -1 -1 #> [222,] 0 0 0 -1 -1 #> [223,] 0 0 0 -1 -1 #> [224,] 0 0 0 -1 -1 #> [225,] 0 0 0 -1 -1 #> [226,] 0 0 0 -1 -1 #> [227,] 0 0 0 -1 -1 #> [228,] 0 0 0 -1 -1 #> [229,] 0 0 0 -1 -1 #> [230,] 0 0 0 -1 -1 #> [231,] 0 0 0 -1 -1 #> [232,] 0 0 0 -1 -1 #> [233,] 0 0 0 -1 -1 #> [234,] 0 0 0 -1 -1 #> [235,] 0 0 0 -1 -1 #> [236,] 0 0 0 -1 -1 #> [237,] 0 0 0 -1 -1 #> [238,] 0 0 0 -1 -1 #> [239,] 0 0 0 -1 -1 #> [240,] 0 0 0 -1 -1 #> [241,] 0 0 0 -1 -1 #> [242,] 0 0 0 -1 -1 #> [243,] 0 0 0 -1 -1 #> [244,] 0 0 0 -1 -1 #> [245,] 0 0 0 -1 -1 #> [246,] 0 0 0 -1 -1 #> [247,] 0 0 0 -1 -1 #> [248,] 0 0 0 -1 -1 #> [249,] 0 0 0 -1 -1 #> [250,] 0 0 0 -1 -1 #> [251,] 0 0 0 -1 -1 #> [252,] 0 0 0 -1 -1 #> [253,] 0 0 0 -1 -1 #> [254,] 0 0 0 -1 -1 #> [255,] 0 0 0 -1 -1 #> [256,] 0 0 0 -1 -1 #> [257,] 0 0 0 -1 -1 #> [258,] 0 0 0 -1 -1 #> [259,] 0 0 0 -1 -1 #> [260,] 0 0 0 -1 -1 #> [261,] 0 0 0 -1 -1 #> [262,] 0 0 0 -1 -1 #> [263,] 0 0 0 -1 -1 #> [264,] 0 0 0 -1 -1 #> [265,] 0 0 0 -1 -1 #> [266,] 0 0 0 -1 -1 #> [267,] 0 0 0 -1 -1 #> [268,] 0 0 0 -1 -1 #> [269,] 0 0 0 -1 -1 #> [270,] 0 0 0 -1 -1 #> [271,] 0 0 0 -1 -1 #> [272,] 0 0 0 -1 -1 #> [273,] 0 0 0 -1 -1 #> [274,] 0 0 0 -1 -1 #> [275,] 0 0 0 -1 -1 #> [276,] 0 0 0 -1 -1 #> [277,] 0 0 1 -1 -1 #> [278,] 0 0 0 -1 -1 #> [279,] 0 0 0 -1 -1 #> [280,] 0 0 0 -1 0 #> [281,] 0 0 0 -1 0 #> [282,] 0 0 0 -1 0 #> [283,] 0 0 0 -1 0 #> [284,] 0 0 0 -1 0 #> [285,] 0 0 0 -1 0 #> [286,] 0 0 0 -1 0 #> [287,] 0 0 0 -1 0 #> [288,] 0 0 0 -1 0 #> [289,] 0 0 0 -1 0 #> [290,] 0 0 0 -1 0 #> [291,] 0 0 0 -1 0 #> [292,] 0 0 0 -1 0 #> [293,] 0 0 0 -1 0 #> [294,] 0 0 0 -1 0 #> [295,] 0 0 0 -1 0 #> [296,] 0 0 0 -1 0 #> [297,] 0 0 0 -1 0 #> [298,] 0 0 0 -1 0 #> [299,] 0 0 0 -1 0 #> [300,] 0 0 0 -1 0 #> [301,] 0 0 0 -1 0 #> [302,] 0 0 0 -1 0 #> [303,] 0 0 0 -1 0 #> [304,] 0 0 0 -1 0 #> [305,] 0 0 0 -1 0 #> [306,] 0 0 0 -1 0 #> [307,] 0 0 0 -1 0 #> [308,] 0 0 0 -1 0 #> [309,] 0 0 0 -1 0 #> [310,] 0 0 0 -1 0 #> [311,] 0 0 0 -1 0 #> [312,] 0 0 0 -1 0 #> [313,] 0 0 0 -1 0 #> [314,] 0 0 0 -1 0 #> [315,] 0 0 0 -1 0 #> [316,] 0 0 0 -1 0 #> [317,] 0 0 0 -1 0 #> [318,] 0 0 0 -1 0 #> [319,] 0 0 0 -1 0 #> [320,] 0 0 0 -1 0 #> [321,] 0 0 0 -1 0 #> [322,] 0 0 0 -1 0 #> [323,] 0 0 0 -1 0 #> [324,] 0 0 0 -1 0 #> [325,] 0 0 0 -1 0 #> [326,] 0 0 0 -1 0 #> [327,] 0 0 0 -1 0 #> [328,] 0 0 0 -1 0 #> [329,] 0 0 0 -1 0 #> [330,] 0 0 0 -1 0 #> [331,] 0 0 0 -1 0 #> [332,] 0 0 0 -1 0 #> [333,] 0 0 0 -1 0 #> [334,] 0 0 0 -1 0 #> [335,] 0 0 0 -1 0 #> [336,] 0 0 0 -1 0 #> [337,] 0 0 0 -1 0 #> [338,] 0 0 0 -1 0 #> [339,] 0 0 0 -1 0 #> [340,] 0 0 0 -1 0 #> [341,] 0 0 0 -1 0 #> [342,] 0 0 0 -1 0 #> [343,] 0 0 0 -1 0 #> [344,] 0 0 0 -1 0 #> [345,] 0 0 0 -1 0 #> [346,] 0 0 0 -1 0 #> [347,] 0 0 0 -1 0 #> [348,] 0 0 0 -1 0 #> [349,] 0 0 0 -1 0 #> [350,] 0 0 0 -1 0 #> [351,] 0 0 0 -1 0 #> [352,] 0 0 0 -1 0 #> [353,] 0 0 0 -1 0 #> [354,] 0 0 0 -1 0 #> [355,] 0 0 0 -1 0 #> [356,] 0 0 0 -1 0 #> [357,] 0 0 0 -1 0 #> [358,] 0 0 0 -1 0 #> [359,] 0 0 0 -1 0 #> [360,] 0 0 0 -1 0 #> [361,] 0 0 0 -1 0 #> [362,] 0 0 0 -1 0 #> [363,] 0 0 0 -1 0 #> [364,] 0 0 0 -1 0 #> [365,] 0 0 0 -1 0 #> [366,] 0 0 0 -1 0 #> [367,] 0 0 0 -1 0 #> [368,] 0 0 0 -1 0 #> [369,] 0 0 0 -1 0 #> [370,] 0 0 0 -1 0 #> [371,] 0 0 0 -1 0 #> [372,] 0 0 0 -1 0 #> [373,] 0 0 0 -1 0 #> [374,] 0 0 0 -1 0 #> [375,] 0 0 0 -1 0 #> [376,] 0 0 0 -1 0 #> [377,] 0 0 0 -1 0 #> [378,] 0 0 0 -1 0 #> [379,] 0 0 0 -1 0 #> [380,] 0 0 0 -1 0 #> [381,] 0 0 0 -1 0 #> [382,] 0 0 0 -1 0 #> [383,] 0 0 0 -1 0 #> [384,] 0 0 0 -1 0 #> [385,] 0 0 0 -1 0 #> [386,] 0 0 0 -1 0 #> [387,] 0 0 0 -1 0 #> [388,] 0 0 0 -1 0 #> [389,] 0 0 0 -1 0 #> [390,] 0 0 0 -1 0 #> [391,] 0 0 0 -1 0 #> [392,] 0 0 0 -1 0 #> [393,] 0 0 0 -1 0 #> [394,] 0 0 0 -1 0 #> [395,] 0 0 0 -1 0 #> [396,] 0 0 0 -1 0 #> [397,] 0 0 0 -1 0 #> [398,] 0 0 0 -1 0 #> [399,] 0 0 0 -1 0 #> [400,] 0 0 0 0 0 #> [401,] 0 0 0 0 0 #> [402,] 0 0 0 0 0 #> [403,] 0 0 0 0 0 #> [404,] 0 0 0 0 0 #> [405,] 0 0 0 0 0 #> [406,] 0 0 0 0 0 #> [407,] 0 0 0 0 0 #> [408,] 0 0 0 0 0 #> [409,] 0 0 0 0 0 #> [410,] 0 0 0 0 0 #> [411,] 0 0 0 0 0 #> [412,] 0 0 0 0 0 #> [413,] 0 0 0 0 0 #> [414,] 0 0 0 0 0 #> [415,] 0 0 0 0 0 #> [416,] 0 0 0 0 0 #> [417,] 0 0 0 0 0 #> [418,] 0 0 0 0 0 #> [419,] 0 0 0 0 0 #> [420,] 0 0 0 0 0 #> [421,] 0 0 0 0 0 #> [422,] 0 0 0 0 0 #> [423,] 0 0 0 0 0 #> [424,] 0 0 0 0 0 #> [425,] 0 0 0 0 0 #> #> $model$b #> [1] -210.91745 199.66569 -192.39785 84.32270 -77.78577 #> #> $model$bcov #> [,1] [,2] [,3] [,4] [,5] #> [1,] 1.258544e+03 5.076022e+01 -8.906666e-01 -1.197400e-05 -0.827996523 #> [2,] 5.076022e+01 1.258545e+03 -9.422003e-01 -1.454505e-05 -1.048251277 #> [3,] -8.906666e-01 -9.422003e-01 1.322416e+03 5.431398e-04 155.010519468 #> [4,] -1.197400e-05 -1.454505e-05 5.431398e-04 3.654102e+02 0.004446791 #> [5,] -8.279965e-01 -1.048251e+00 1.550105e+02 4.446791e-03 364.501084888 #> #> $model$linearized #> [1] 466.6369 509.1369 450.3369 465.6369 444.9369 471.6369 459.2369 #> [8] 529.4369 895.8369 385.7369 384.5369 478.6369 509.9369 517.1369 #> [15] 468.9369 474.8369 464.7369 489.2369 491.8369 575.2369 970.2369 #> [22] 421.2369 421.0369 491.2369 493.8369 604.4369 506.9369 549.9369 #> [29] 509.9369 529.3369 563.1369 629.7369 1045.9369 522.8369 459.0369 #> [36] 532.3369 594.2369 706.8369 568.3369 609.3369 589.0369 569.6369 #> [43] 643.6369 703.6369 1194.0369 577.0369 484.7369 553.9369 600.8369 #> [50] 758.1369 559.9369 669.7369 587.6369 668.4369 672.1369 707.4369 #> [57] 1374.4369 620.4369 519.7369 606.4369 680.6369 720.5369 677.0369 #> [64] 727.4369 608.1369 678.8369 715.6369 749.7369 1466.6369 637.5369 #> [71] 557.6369 684.6369 722.2369 747.3369 728.5369 690.0369 657.4369 #> [78] 729.8369 736.1369 876.8369 1576.5369 638.0369 558.5369 725.5369 #> [85] 704.1369 771.3369 792.8369 721.6369 730.3369 764.4369 758.2369 #> [92] 930.3369 1575.9369 684.7369 592.7369 733.3369 750.6369 822.0369 #> [99] 838.9369 716.8369 765.9369 747.6369 793.1369 938.0369 1569.6369 #> [106] 700.5369 611.2369 725.7369 754.7369 834.7369 753.4369 801.0369 #> [113] 776.9369 748.0369 865.1369 951.2369 1606.8369 746.5369 672.4369 #> [120] 708.0369 837.9369 885.1369 832.5369 794.7369 730.1369 826.3369 #> [127] 909.0369 975.1369 1657.4369 768.6369 649.5369 760.6369 847.2369 #> [134] 913.1369 893.6369 778.0369 735.2369 851.2369 893.4369 976.5369 #> [141] 1717.0369 752.2369 670.9369 828.0369 838.2369 914.5369 919.1369 #> [148] 789.4369 805.3369 893.5369 941.1369 1006.9369 1824.0369 758.9369 #> [155] 689.0369 817.7369 912.5369 933.7369 913.3369 887.1369 880.4369 #> [162] 863.3369 927.1369 1073.9369 1863.7369 839.6369 743.6369 818.5369 #> [169] 901.7369 969.3369 915.1369 914.5369 895.4369 840.2369 940.2369 #> [176] 1088.1369 1844.1369 847.4369 733.9369 864.4369 855.5369 1001.3369 #> [183] 836.7369 977.6369 842.5369 945.6369 983.4369 1117.8369 1885.6369 #> [190] 923.8369 722.7369 829.4369 976.6369 976.7369 855.9369 1048.8369 #> [197] 876.4369 945.9369 1027.8369 1144.2369 1982.2369 948.5369 744.9369 #> [204] 909.7369 959.7369 1017.7369 900.9369 1061.0369 906.0369 1008.8369 #> [211] 1050.2369 1213.7369 2076.1369 931.4369 804.7369 908.4369 1031.2369 #> [218] 1058.8369 972.3712 1076.7544 1015.7369 1061.1369 1076.9369 1239.0369 #> [225] 2184.0369 978.4369 821.1369 1024.0369 1045.7369 1130.0369 1031.4369 #> [232] 1107.3369 969.5369 1019.4369 1138.5369 1351.3369 2276.0369 1034.4369 #> [239] 847.9369 1050.4369 1081.8369 1197.4369 1149.5369 1082.2369 1072.4369 #> [246] 1066.6369 1217.9369 1501.6369 2345.1369 1105.8369 907.0369 1099.2369 #> [253] 1228.9369 1243.6369 1244.4369 1188.5369 1107.7369 1204.7369 1322.6369 #> [260] 1534.7369 2430.7369 1189.4369 996.3369 1137.9369 1283.6369 1286.8369 #> [267] 1390.6369 1312.4369 1173.3369 1324.4369 1364.8369 1543.2369 2507.3369 #> [274] 1252.8369 1043.8369 1307.3369 1352.6348 1270.7369 1460.7369 1374.4227 #> [281] 1295.0227 1362.1227 1398.7227 1624.7227 2620.3227 1278.0227 1122.0227 #> [288] 1288.8227 1432.9227 1351.9227 1513.3227 1496.3227 1323.5227 1303.4227 #> [295] 1428.9227 1707.6227 2695.4227 1351.6227 1131.3227 1415.9227 1386.9227 #> [302] 1449.4227 1575.8227 1546.6227 1399.8227 1437.6227 1524.9227 1772.2227 #> [309] 2831.3227 1482.1227 1224.8227 1436.0227 1480.9227 1505.4227 1485.9227 #> [316] 1666.6227 1352.7227 1467.6227 1536.7227 1760.2227 2970.4227 1535.3227 #> [323] 1140.9227 1471.2227 1593.4227 1603.7227 1584.8227 1655.0227 1425.8227 #> [330] 1484.2227 1618.6227 1820.9227 2879.4227 1553.4227 1196.2227 1464.2227 #> [337] 1474.0227 1511.5227 1635.7227 1665.3227 1408.3227 1506.3227 1549.2227 #> [344] 1789.8227 2836.7227 1496.9227 1201.8227 1405.9227 1556.9227 1493.2227 #> [351] 1556.2227 1616.8227 1377.8227 1430.0227 1489.0227 1744.3227 2814.8227 #> [358] 1446.7227 1216.0227 1433.5227 1475.5227 1541.2227 1700.7227 1507.7227 #> [365] 1443.3227 1452.1227 1526.9227 1757.2227 2837.6227 1481.7227 1197.9227 #> [372] 1481.6227 1423.4227 1526.2227 1621.7227 1474.9227 1421.5227 1443.7227 #> [379] 1547.6227 1753.2227 2809.8227 1535.3227 1149.2227 1377.5227 1527.2227 #> [386] 1496.1227 1545.9227 1585.9227 1338.5227 1440.7227 1563.0227 1772.0227 #> [393] 2841.2227 1555.5227 1138.1227 1451.5227 1526.5227 1513.0227 1565.2227 #> [400] 1540.9000 1331.9000 1400.1000 1566.3000 1730.5000 2913.6000 1519.2000 #> [407] 1155.8000 1451.5000 1451.0000 1449.7000 1596.1000 1468.3000 1293.9000 #> [414] 1393.5000 1497.4000 1684.3000 2850.4000 1428.5000 1092.4000 1370.3000 #> [421] 1522.6000 1452.4000 1557.2000 1445.5000 1303.1000 #> #> #> $likelihood #> $likelihood$initial #> $likelihood$initial$ll #> [1] -2218.964 #> #> $likelihood$initial$ssq #> [1] 1139531 #> #> $likelihood$initial$nobs #> [1] 425 #> #> $likelihood$initial$neffective #> [1] -1 #> #> $likelihood$initial$nparams #> [1] 3 #> #> $likelihood$initial$df #> [1] 409 #> #> $likelihood$initial$aic #> [1] 4443.928 #> #> $likelihood$initial$aicc #> [1] 4443.987 #> #> $likelihood$initial$bic #> [1] 4455.991 #> #> $likelihood$initial$bic2 #> [1] 10.81551 #> #> $likelihood$initial$bicc #> [1] 7.954332 #> #> $likelihood$initial$hannanquinn #> [1] 4448.7 #> #> #> $likelihood$final #> $likelihood$final$ll #> [1] -2167.948 #> #> $likelihood$final$ssq #> [1] 892303.8 #> #> $likelihood$final$nobs #> [1] 425 #> #> $likelihood$final$neffective #> [1] -1 #> #> $likelihood$final$nparams #> [1] 6 #> #> $likelihood$final$df #> [1] 406 #> #> $likelihood$final$aic #> [1] 4347.896 #> #> $likelihood$final$aicc #> [1] 4348.104 #> #> $likelihood$final$bic #> [1] 4372.023 #> #> $likelihood$final$bic2 #> [1] 10.61171 #> #> $likelihood$final$bicc #> [1] 7.753609 #> #> $likelihood$final$hannanquinn #> [1] 4357.439 #> #> #> #> attr(,\"class\") #> [1] \"JD3_REGARIMA_OUTLIERS\""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":null,"dir":"Reference","previous_headings":"","what":"Display a list of all the available output objects — userdefined_variables_x13","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"Function generating comprehensive list available output variables (series, parameters, diagnostics) estimation process x13(), regarima() x11() functions. items available default estimation output remainder can added using userdefined parameter. User-defined objects can retrieved list lists generated estimation process","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"","code":"userdefined_variables_x13(x = c(\"X-13\", \"RegArima\", \"X-11\"))"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"x character indicate estimation function output items list displayed.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"vector containing names available output objects (series, diagnostics, parameters)","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"information examples related 'JDemetra+' features online documentation: https://jdemetra-new-documentation.netlify.app/","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"","code":"userdefined_variables_x13(\"x13\") #> [1] \"adjust\" #> [2] \"arima.bd\" #> [3] \"arima.bp\" #> [4] \"arima.bphi(*)\" #> [5] \"arima.bq\" #> [6] \"arima.btheta(*)\" #> [7] \"arima.d\" #> [8] \"arima.p\" #> [9] \"arima.phi(*)\" #> [10] \"arima.q\" #> [11] \"arima.theta(*)\" #> [12] \"benchmarking.original\" #> [13] \"benchmarking.result\" #> [14] \"benchmarking.target\" #> [15] \"cal\" #> [16] \"cal_b\" #> [17] \"cal_b(?)\" #> [18] \"cal_f\" #> [19] \"cal_f(?)\" #> [20] \"decomposition.b1\" #> [21] \"decomposition.b10\" #> [22] \"decomposition.b11\" #> [23] \"decomposition.b13\" #> [24] \"decomposition.b17\" #> [25] \"decomposition.b2\" #> [26] \"decomposition.b20\" #> [27] \"decomposition.b3\" #> [28] \"decomposition.b4\" #> [29] \"decomposition.b5\" #> [30] \"decomposition.b6\" #> [31] \"decomposition.b7\" #> [32] \"decomposition.b8\" #> [33] \"decomposition.b9\" #> [34] \"decomposition.c1\" #> [35] \"decomposition.c10\" #> [36] \"decomposition.c11\" #> [37] \"decomposition.c13\" #> [38] \"decomposition.c17\" #> [39] \"decomposition.c2\" #> [40] \"decomposition.c20\" #> [41] \"decomposition.c4\" #> [42] \"decomposition.c5\" #> [43] \"decomposition.c6\" #> [44] \"decomposition.c7\" #> [45] \"decomposition.c9\" #> [46] \"decomposition.d1\" #> [47] \"decomposition.d10\" #> [48] \"decomposition.d11\" #> [49] \"decomposition.d12\" #> [50] \"decomposition.d13\" #> [51] \"decomposition.d2\" #> [52] \"decomposition.d4\" #> [53] \"decomposition.d5\" #> [54] \"decomposition.d6\" #> [55] \"decomposition.d7\" #> [56] \"decomposition.d8\" #> [57] \"decomposition.d9\" #> [58] \"decomposition.d9-global-msr\" #> [59] \"decomposition.d9-msr\" #> [60] \"decomposition.d9-msr-table\" #> [61] \"decomposition.i_cmp\" #> [62] \"decomposition.s_cmp\" #> [63] \"decomposition.s_cmp_b\" #> [64] \"decomposition.s_cmp_f\" #> [65] \"decomposition.sa_cmp\" #> [66] \"decomposition.sa_cmp_b\" #> [67] \"decomposition.sa_cmp_f\" #> [68] \"decomposition.seasonal-filters\" #> [69] \"decomposition.si_cmp\" #> [70] \"decomposition.t_cmp\" #> [71] \"decomposition.t_cmp_b\" #> [72] \"decomposition.t_cmp_f\" #> [73] \"decomposition.trend-filter\" #> [74] \"decomposition.x11-all\" #> [75] \"decomposition.y_cmp\" #> [76] \"decomposition.y_cmp_b\" #> [77] \"decomposition.y_cmp_f\" #> [78] \"det\" #> [79] \"det_b(?)\" #> [80] \"det_f(?)\" #> [81] \"det_i\" #> [82] \"det_i_b(?)\" #> [83] \"det_i_f(?)\" #> [84] \"det_s\" #> [85] \"det_s_b(?)\" #> [86] \"det_s_f(?)\" #> [87] \"det_t\" #> [88] \"det_t_b(?)\" #> [89] \"det_t_f(?)\" #> [90] \"diagnostics.fcast-insample-mean\" #> [91] \"diagnostics.fcast-outsample-mean\" #> [92] \"diagnostics.fcast-outsample-variance\" #> [93] \"diagnostics.seas-i-combined\" #> [94] \"diagnostics.seas-i-combined3\" #> [95] \"diagnostics.seas-i-evolutive\" #> [96] \"diagnostics.seas-i-f\" #> [97] \"diagnostics.seas-i-friedman\" #> [98] \"diagnostics.seas-i-kw\" #> [99] \"diagnostics.seas-i-periodogram\" #> [100] \"diagnostics.seas-i-qs\" #> [101] \"diagnostics.seas-i-spectralpeaks\" #> [102] \"diagnostics.seas-i-stable\" #> [103] \"diagnostics.seas-lin-combined\" #> [104] \"diagnostics.seas-lin-evolutive\" #> [105] \"diagnostics.seas-lin-f\" #> [106] \"diagnostics.seas-lin-friedman\" #> [107] \"diagnostics.seas-lin-kw\" #> [108] \"diagnostics.seas-lin-periodogram\" #> [109] \"diagnostics.seas-lin-qs\" #> [110] \"diagnostics.seas-lin-spectralpeaks\" #> [111] \"diagnostics.seas-lin-stable\" #> [112] \"diagnostics.seas-res-combined\" #> [113] \"diagnostics.seas-res-combined3\" #> [114] \"diagnostics.seas-res-evolutive\" #> [115] \"diagnostics.seas-res-f\" #> [116] \"diagnostics.seas-res-friedman\" #> [117] \"diagnostics.seas-res-kw\" #> [118] \"diagnostics.seas-res-periodogram\" #> [119] \"diagnostics.seas-res-qs\" #> [120] \"diagnostics.seas-res-spectralpeaks\" #> [121] \"diagnostics.seas-res-stable\" #> [122] \"diagnostics.seas-sa-ac1\" #> [123] \"diagnostics.seas-sa-combined\" #> [124] \"diagnostics.seas-sa-combined3\" #> [125] \"diagnostics.seas-sa-evolutive\" #> [126] \"diagnostics.seas-sa-f\" #> [127] \"diagnostics.seas-sa-friedman\" #> [128] \"diagnostics.seas-sa-kw\" #> [129] \"diagnostics.seas-sa-periodogram\" #> [130] \"diagnostics.seas-sa-qs\" #> [131] \"diagnostics.seas-sa-spectralpeaks\" #> [132] \"diagnostics.seas-sa-stable\" #> [133] \"diagnostics.seas-si-combined\" #> [134] \"diagnostics.seas-si-combined3\" #> [135] \"diagnostics.seas-si-evolutive\" #> [136] \"diagnostics.seas-si-stable\" #> [137] \"diagnostics.td-i-all\" #> [138] \"diagnostics.td-i-last\" #> [139] \"diagnostics.td-res-all\" #> [140] \"diagnostics.td-res-last\" #> [141] \"diagnostics.td-sa-all\" #> [142] \"diagnostics.td-sa-last\" #> [143] \"ee\" #> [144] \"ee_b(?)\" #> [145] \"ee_f(?)\" #> [146] \"finals.d11\" #> [147] \"finals.d11a\" #> [148] \"finals.d11b\" #> [149] \"finals.d12\" #> [150] \"finals.d12a\" #> [151] \"finals.d12b\" #> [152] \"finals.d13\" #> [153] \"finals.d16\" #> [154] \"finals.d16a\" #> [155] \"finals.d16b\" #> [156] \"finals.d18\" #> [157] \"finals.d18a\" #> [158] \"finals.d18b\" #> [159] \"finals.e1\" #> [160] \"finals.e11\" #> [161] \"finals.e2\" #> [162] \"finals.e3\" #> [163] \"i\" #> [164] \"l\" #> [165] \"likelihood.adjustedll\" #> [166] \"likelihood.aic\" #> [167] \"likelihood.aicc\" #> [168] \"likelihood.bic\" #> [169] \"likelihood.bic2\" #> [170] \"likelihood.bicc\" #> [171] \"likelihood.df\" #> [172] \"likelihood.hannanquinn\" #> [173] \"likelihood.ll\" #> [174] \"likelihood.neffectiveobs\" #> [175] \"likelihood.nobs\" #> [176] \"likelihood.nparams\" #> [177] \"likelihood.ssqerr\" #> [178] \"log\" #> [179] \"m-statistics.m1\" #> [180] \"m-statistics.m10\" #> [181] \"m-statistics.m11\" #> [182] \"m-statistics.m2\" #> [183] \"m-statistics.m3\" #> [184] \"m-statistics.m4\" #> [185] \"m-statistics.m5\" #> [186] \"m-statistics.m6\" #> [187] \"m-statistics.m7\" #> [188] \"m-statistics.m8\" #> [189] \"m-statistics.m9\" #> [190] \"m-statistics.q\" #> [191] \"m-statistics.q-m2\" #> [192] \"mhe\" #> [193] \"mhe_b(?)\" #> [194] \"mhe_f(?)\" #> [195] \"omhe\" #> [196] \"omhe_b(?)\" #> [197] \"omhe_f(?)\" #> [198] \"out\" #> [199] \"out_b(?)\" #> [200] \"out_f(?)\" #> [201] \"out_i\" #> [202] \"out_i_b(?)\" #> [203] \"out_i_f(?)\" #> [204] \"out_s\" #> [205] \"out_s_b(?)\" #> [206] \"out_s_f(?)\" #> [207] \"out_t\" #> [208] \"out_t_b(?)\" #> [209] \"out_t_f(?)\" #> [210] \"period\" #> [211] \"preadjustment.a1\" #> [212] \"preadjustment.a1a\" #> [213] \"preadjustment.a1b\" #> [214] \"preadjustment.a6\" #> [215] \"preadjustment.a7\" #> [216] \"preadjustment.a8\" #> [217] \"preadjustment.a8i\" #> [218] \"preadjustment.a8s\" #> [219] \"preadjustment.a8t\" #> [220] \"preadjustment.a9\" #> [221] \"preadjustment.a9sa\" #> [222] \"preadjustment.a9ser\" #> [223] \"preadjustment.a9u\" #> [224] \"reg_i\" #> [225] \"reg_i_b(?)\" #> [226] \"reg_i_f(?)\" #> [227] \"reg_s\" #> [228] \"reg_s_b(?)\" #> [229] \"reg_s_f(?)\" #> [230] \"reg_sa\" #> [231] \"reg_sa_b(?)\" #> [232] \"reg_sa_f(?)\" #> [233] \"reg_t\" #> [234] \"reg_t_b(?)\" #> [235] \"reg_t_f(?)\" #> [236] \"reg_u\" #> [237] \"reg_u_b(?)\" #> [238] \"reg_u_f(?)\" #> [239] \"reg_y\" #> [240] \"reg_y_b(?)\" #> [241] \"reg_y_f(?)\" #> [242] \"regression.description\" #> [243] \"regression.details.coefficients\" #> [244] \"regression.details.covar\" #> [245] \"regression.details.covar-ml\" #> [246] \"regression.easter\" #> [247] \"regression.espan.end\" #> [248] \"regression.espan.missing\" #> [249] \"regression.espan.n\" #> [250] \"regression.espan.start\" #> [251] \"regression.leaster\" #> [252] \"regression.lp\" #> [253] \"regression.mean\" #> [254] \"regression.missing(*)\" #> [255] \"regression.ml.parameters\" #> [256] \"regression.ml.pcorr\" #> [257] \"regression.ml.pcovar\" #> [258] \"regression.ml.pcovar-ml\" #> [259] \"regression.ml.pscore\" #> [260] \"regression.mu\" #> [261] \"regression.nao\" #> [262] \"regression.nlp\" #> [263] \"regression.nls\" #> [264] \"regression.nmh\" #> [265] \"regression.nout\" #> [266] \"regression.nso\" #> [267] \"regression.ntc\" #> [268] \"regression.ntd\" #> [269] \"regression.nusers\" #> [270] \"regression.out(*)\" #> [271] \"regression.outlier(*)\" #> [272] \"regression.td(*)\" #> [273] \"regression.type\" #> [274] \"regression.user(*)\" #> [275] \"residuals.bp\" #> [276] \"residuals.bp2\" #> [277] \"residuals.doornikhansen\" #> [278] \"residuals.kurtosis\" #> [279] \"residuals.lb\" #> [280] \"residuals.lb2\" #> [281] \"residuals.lruns\" #> [282] \"residuals.ludruns\" #> [283] \"residuals.mean\" #> [284] \"residuals.nruns\" #> [285] \"residuals.nudruns\" #> [286] \"residuals.res\" #> [287] \"residuals.seasbp\" #> [288] \"residuals.seaslb\" #> [289] \"residuals.ser\" #> [290] \"residuals.skewness\" #> [291] \"residuals.tsres\" #> [292] \"residuals.type\" #> [293] \"s\" #> [294] \"s_b\" #> [295] \"s_f\" #> [296] \"sa\" #> [297] \"sa_b\" #> [298] \"sa_f\" #> [299] \"span.end\" #> [300] \"span.missing\" #> [301] \"span.n\" #> [302] \"span.start\" #> [303] \"t\" #> [304] \"t_b\" #> [305] \"t_f\" #> [306] \"tde\" #> [307] \"tde_b(?)\" #> [308] \"tde_f(?)\" #> [309] \"variancedecomposition.cycle\" #> [310] \"variancedecomposition.irregular\" #> [311] \"variancedecomposition.others\" #> [312] \"variancedecomposition.seasonality\" #> [313] \"variancedecomposition.tdh\" #> [314] \"variancedecomposition.total\" #> [315] \"y\" #> [316] \"y_b\" #> [317] \"y_b(?)\" #> [318] \"y_eb(?)\" #> [319] \"y_ef(?)\" #> [320] \"y_f\" #> [321] \"y_f(?)\" #> [322] \"yc\" #> [323] \"ycal\" #> [324] \"ycal_f(?)\" userdefined_variables_x13(\"regarima\") #> [1] \"adjust\" \"arima.bd\" #> [3] \"arima.bp\" \"arima.bphi(*)\" #> [5] \"arima.bq\" \"arima.btheta(*)\" #> [7] \"arima.d\" \"arima.p\" #> [9] \"arima.phi(*)\" \"arima.q\" #> [11] \"arima.theta(*)\" \"cal\" #> [13] \"cal_b(?)\" \"cal_f(?)\" #> [15] \"det\" \"det_b(?)\" #> [17] \"det_f(?)\" \"det_i\" #> [19] \"det_i_b(?)\" \"det_i_f(?)\" #> [21] \"det_s\" \"det_s_b(?)\" #> [23] \"det_s_f(?)\" \"det_t\" #> [25] \"det_t_b(?)\" \"det_t_f(?)\" #> [27] \"ee\" \"ee_b(?)\" #> [29] \"ee_f(?)\" \"l\" #> [31] \"likelihood.adjustedll\" \"likelihood.aic\" #> [33] \"likelihood.aicc\" \"likelihood.bic\" #> [35] \"likelihood.bic2\" \"likelihood.bicc\" #> [37] \"likelihood.df\" \"likelihood.hannanquinn\" #> [39] \"likelihood.ll\" \"likelihood.neffectiveobs\" #> [41] \"likelihood.nobs\" \"likelihood.nparams\" #> [43] \"likelihood.ssqerr\" \"log\" #> [45] \"mhe\" \"mhe_b(?)\" #> [47] \"mhe_f(?)\" \"omhe\" #> [49] \"omhe_b(?)\" \"omhe_f(?)\" #> [51] \"out\" \"out_b(?)\" #> [53] \"out_f(?)\" \"out_i\" #> [55] \"out_i_b(?)\" \"out_i_f(?)\" #> [57] \"out_s\" \"out_s_b(?)\" #> [59] \"out_s_f(?)\" \"out_t\" #> [61] \"out_t_b(?)\" \"out_t_f(?)\" #> [63] \"period\" \"reg_i\" #> [65] \"reg_i_b(?)\" \"reg_i_f(?)\" #> [67] \"reg_s\" \"reg_s_b(?)\" #> [69] \"reg_s_f(?)\" \"reg_sa\" #> [71] \"reg_sa_b(?)\" \"reg_sa_f(?)\" #> [73] \"reg_t\" \"reg_t_b(?)\" #> [75] \"reg_t_f(?)\" \"reg_u\" #> [77] \"reg_u_b(?)\" \"reg_u_f(?)\" #> [79] \"reg_y\" \"reg_y_b(?)\" #> [81] \"reg_y_f(?)\" \"regression.description\" #> [83] \"regression.details.coefficients\" \"regression.details.covar\" #> [85] \"regression.details.covar-ml\" \"regression.easter\" #> [87] \"regression.espan.end\" \"regression.espan.missing\" #> [89] \"regression.espan.n\" \"regression.espan.start\" #> [91] \"regression.leaster\" \"regression.lp\" #> [93] \"regression.mean\" \"regression.missing(*)\" #> [95] \"regression.ml.parameters\" \"regression.ml.pcorr\" #> [97] \"regression.ml.pcovar\" \"regression.ml.pcovar-ml\" #> [99] \"regression.ml.pscore\" \"regression.mu\" #> [101] \"regression.nao\" \"regression.nlp\" #> [103] \"regression.nls\" \"regression.nmh\" #> [105] \"regression.nout\" \"regression.nso\" #> [107] \"regression.ntc\" \"regression.ntd\" #> [109] \"regression.nusers\" \"regression.out(*)\" #> [111] \"regression.outlier(*)\" \"regression.td(*)\" #> [113] \"regression.type\" \"regression.user(*)\" #> [115] \"residuals.bp\" \"residuals.bp2\" #> [117] \"residuals.doornikhansen\" \"residuals.kurtosis\" #> [119] \"residuals.lb\" \"residuals.lb2\" #> [121] \"residuals.lruns\" \"residuals.ludruns\" #> [123] \"residuals.mean\" \"residuals.nruns\" #> [125] \"residuals.nudruns\" \"residuals.res\" #> [127] \"residuals.seasbp\" \"residuals.seaslb\" #> [129] \"residuals.ser\" \"residuals.skewness\" #> [131] \"residuals.tsres\" \"residuals.type\" #> [133] \"span.end\" \"span.missing\" #> [135] \"span.n\" \"span.start\" #> [137] \"tde\" \"tde_b(?)\" #> [139] \"tde_f(?)\" \"y\" #> [141] \"y_b(?)\" \"y_eb(?)\" #> [143] \"y_ef(?)\" \"y_f(?)\" #> [145] \"yc\" \"ycal\" #> [147] \"ycal_f(?)\" userdefined_variables_x13(\"x11\") #> [1] \"b1\" \"b10\" \"b11\" \"b13\" #> [5] \"b17\" \"b2\" \"b20\" \"b3\" #> [9] \"b4\" \"b5\" \"b6\" \"b7\" #> [13] \"b8\" \"b9\" \"c1\" \"c10\" #> [17] \"c11\" \"c13\" \"c17\" \"c2\" #> [21] \"c20\" \"c4\" \"c5\" \"c6\" #> [25] \"c7\" \"c9\" \"d1\" \"d10\" #> [29] \"d11\" \"d12\" \"d13\" \"d2\" #> [33] \"d4\" \"d5\" \"d6\" \"d7\" #> [37] \"d8\" \"d9\" \"d9-global-msr\" \"d9-msr\" #> [41] \"d9-msr-table\" \"seasonal-filters\" \"trend-filter\" \"x11-all\""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11.html","id":null,"dir":"Reference","previous_headings":"","what":"X-11 Decomposition Algorithm — x11","title":"X-11 Decomposition Algorithm — x11","text":"X-11 Decomposition Algorithm","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"X-11 Decomposition Algorithm — x11","text":"","code":"x11(ts, spec = x11_spec(), userdefined = NULL)"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"X-11 Decomposition Algorithm — x11","text":"ts univariate time series. spec specification. userdefined vector containing additional output variables (see x13_dictionary()).","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"X-11 Decomposition Algorithm — x11","text":"","code":"y <- rjd3toolkit::ABS$X0.2.09.10.M x11_spec <- x11_spec() x11(y, x11_spec) #> Last values #> d1 d2 d4 d5 d6 d7 d8 d9 #> Mar 2017 1370.300 NA NA 0.8961795 1529.046 1549.437 0.8843860 NaN #> Apr 2017 1508.745 NA NA 0.9370285 1610.138 1551.362 0.9814599 0.9725289 #> May 2017 1452.400 NA NA 0.9240579 1571.763 1552.613 0.9354553 NaN #> Jun 2017 1557.200 NA NA 0.9906046 1571.969 1554.256 1.0018939 NaN #> Jul 2017 1451.753 NA NA 0.9669725 1501.339 1554.036 0.9301585 0.9341824 #> Aug 2017 1303.100 NA NA 0.8370380 1556.799 1554.112 0.8384851 NaN #> d10 d11 d12 d13 #> Mar 2017 0.8911974 1537.594 1549.121 0.9925591 #> Apr 2017 0.9472835 1607.333 1550.650 1.0365542 #> May 2017 0.9277056 1565.583 1551.579 1.0090258 #> Jun 2017 0.9945226 1565.776 1552.914 1.0082826 #> Jul 2017 0.9598855 1505.909 1552.756 0.9698294 #> Aug 2017 0.8381839 1554.671 1552.438 1.0014382 x11_spec <- set_x11(x11_spec, henderson.filter = 13) x11(y, x11_spec) #> Last values #> d1 d2 d4 d5 d6 d7 d8 d9 #> Mar 2017 1370.300 NA NA 0.8957968 1529.700 1556.611 0.8803097 NaN #> Apr 2017 1521.625 NA NA 0.9391175 1620.271 1562.636 0.9743791 0.9737554 #> May 2017 1452.400 NA NA 0.9239661 1571.919 1563.794 0.9287669 NaN #> Jun 2017 1557.200 NA NA 0.9916495 1570.313 1560.504 0.9978827 NaN #> Jul 2017 1453.790 NA NA 0.9669146 1503.535 1555.034 0.9295618 0.9348928 #> Aug 2017 1303.100 NA NA 0.8369658 1556.933 1547.539 0.8420469 NaN #> d10 d11 d12 d13 #> Mar 2017 0.8899565 1539.738 1556.256 0.9893865 #> Apr 2017 0.9498667 1602.962 1560.758 1.0270404 #> May 2017 0.9267578 1567.184 1560.959 1.0039883 #> Jun 2017 0.9952607 1564.615 1557.551 1.0045354 #> Jul 2017 0.9607704 1504.522 1552.689 0.9689783 #> Aug 2017 0.8393622 1552.488 1545.113 1.0047731"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11_spec.html","id":null,"dir":"Reference","previous_headings":"","what":"Set X-11 Specification — set_x11","title":"Set X-11 Specification — set_x11","text":"Set X-11 Specification","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11_spec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set X-11 Specification — set_x11","text":"","code":"set_x11( x, mode = c(NA, \"Undefined\", \"Additive\", \"Multiplicative\", \"LogAdditive\", \"PseudoAdditive\"), seasonal.comp = NA, seasonal.filter = NA, henderson.filter = NA, lsigma = NA, usigma = NA, fcasts = NA, bcasts = NA, calendar.sigma = c(NA, \"None\", \"Signif\", \"All\", \"Select\"), sigma.vector = NA, exclude.forecast = NA, bias = c(NA, \"LEGACY\") )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11_spec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set X-11 Specification — set_x11","text":"x specification modified, object class \"JD3_X11_SPEC\", default X11 spec can obtained 'x=x11_spec()' mode character: decomposition mode. Determines mode seasonal adjustment decomposition performed: \"Undefined\" - assumption concerning relationship time series components made; \"Additive\" - assumes additive relationship; \"Multiplicative\" - assumes multiplicative relationship; \"LogAdditive\" - performs additive decomposition logarithms series adjusted; \"PseudoAdditive\" - assumes pseudo-additive relationship. changed program, needed. seasonal.comp logical: TRUE, program computes seasonal component. Otherwise, seasonal component estimated values set 0 (additive decomposition) 1 (multiplicative decomposition). seasonal.filter vector character(s) specifying seasonal moving average (.e. seasonal filter) used estimate seasonal factors entire series. vector can length: 1 - seasonal filter used periods (e.g.: seasonal.filter = \"Msr\" seasonal.filter = \"S3X3\" ); different value quarter (length 4) month (length 12) - (e.g. quarterly series: seasonal.filter = c(\"S3X3\", \"Msr\", \"S3X3\", \"Msr\")). Possible filters : \"Msr\", \"Stable\", \"X11Default\", \"S3X1\", \"S3X3\", \"S3X5\", \"S3X9\", \"S3X15\". \"Msr\" - program chooses final seasonal filter automatically. henderson.filter numeric: length Henderson filter (odd number 3 101). henderson.filter = 0 automatic selection Henderson filter's length trend estimation enabled. lsigma numeric: lower sigma boundary detection extreme values, > 0.5, default=1.5. usigma numeric: upper sigma boundary detection extreme values, > lsigma, default=2.5. bcasts, fcasts numeric: number backasts (bcasts) forecasts (fcasts) generated RegARIMA model periods (positive values) years (negative values).Default values: fcasts=-1 bcasts=0. calendar.sigma character specify standard errors used extreme values detection adjustment computed: 5 year spans irregulars (\"None\", default value); separately calendar period (\"\"); separately period Cochran's hypothesis test determines irregular component heteroskedastic calendar month/quarter (\"Signif\"); separately two complementary sets calendar months/quarters specified x11.sigmaVector parameter (\"Select\", see parameter sigma.vector). sigma.vector vector specify one two groups periods standard errors used extreme values detection adjustment computed separately. used calendar.sigma = \"Select\". Possible values : 1 2. exclude.forecast Boolean exclude forecasts backcasts. TRUE, RegARIMA model forecasts backcasts used detection extreme values seasonal adjustment routines.Default= FALSE. bias TODO.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11_spec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set X-11 Specification — set_x11","text":"\"JD3_X11_SPEC\" object, containing parameters.","code":""},{"path":[]},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11_spec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Set X-11 Specification — set_x11","text":"","code":"init_spec <- x11_spec() new_spec <- set_x11(init_spec, mode = \"LogAdditive\", seasonal.comp = 1, seasonal.filter = \"S3X9\", henderson.filter = 7, lsigma = 1.7, usigma = 2.7, fcasts = -1, bcasts = -1, calendar.sigma =\"All\", sigma.vector = NA, exclude.forecast = FALSE, bias = \"LEGACY\")"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13.html","id":null,"dir":"Reference","previous_headings":"","what":"Seasonal Adjustment with X13-ARIMA — x13","title":"Seasonal Adjustment with X13-ARIMA — x13","text":"Seasonal Adjustment X13-ARIMA","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Seasonal Adjustment with X13-ARIMA — x13","text":"","code":"x13( ts, spec = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\"), context = NULL, userdefined = NULL ) x13_fast( ts, spec = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\"), context = NULL, userdefined = NULL ) jx13( ts, spec = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\"), context = NULL, userdefined = NULL )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Seasonal Adjustment with X13-ARIMA — x13","text":"ts univariate time series. spec model specification. Can either name predefined specification user-defined specification. context list external regressors (calendar ) used estimation userdefined vector containing additional output variables (see x13_dictionary()).","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Seasonal Adjustment with X13-ARIMA — x13","text":"x13() function returns list results, estimation specification result specification, x13_fast() faster function returns results. jx13() functions returns results java object allow customize outputs packages (use rjd3toolkit::dictionary() get list variables rjd3toolkit::result() get specific variable). estimation functions x13() x13_fast() can directly use specification name (string). want customize specification create specification object first.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Seasonal Adjustment with X13-ARIMA — x13","text":"","code":"y = rjd3toolkit::ABS$X0.2.09.10.M x13_fast(y,\"rsa3\") #> RegARIMA #> Log-transformation: yes #> SARIMA model: (2,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.38042 0.06517 5.838 #> phi(2) 0.21398 0.06040 3.543 #> theta(1) -0.70246 0.05146 -13.650 #> btheta(1) -0.56259 0.06648 -8.462 #> #> Regression model: #> Estimate Std. Error T-stat #> TC (2000-06-01) 0.15476 0.03158 4.900 #> AO (2000-07-01) -0.29505 0.04425 -6.668 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 7 #> #> Loglikelihood: 720.2196 #> Adjusted loglikelihood: -2147.407 #> #> Standard error of the regression (ML estimate): 0.04181753 #> AIC: 4308.814 #> AICC: 4309.092 #> BIC: 4336.962 #> #> #> Decomposition #> Monitoring and Quality Assessment Statistics: #> M stats #> m1 0.095 #> m2 0.097 #> m3 2.384 #> m4 0.403 #> m5 1.940 #> m6 0.179 #> m7 0.053 #> m8 0.176 #> m9 0.047 #> m10 0.157 #> m11 0.154 #> q 0.560 #> qm2 0.617 #> #> Final filters: #> Seasonal filter: #> Trend filter: 23 terms Henderson moving average #> #> Diagnostics #> Relative contribution of the components to the stationary #> portion of the variance in the original series, #> after the removal of the long term trend (in %) #> #> Component #> cycle 13.259 #> seasonal 86.854 #> irregular 0.970 #> calendar 0.000 #> others 0.299 #> total 101.383 #> #> Residual seasonality tests #> P.value #> seas.ftest.i 0.994 #> seas.ftest.sa 0.999 #> seas.qstest.i 0.045 #> seas.qstest.sa 0.035 #> td.ftest.i 0.000 #> td.ftest.sa 0.000 #> #> #> Final #> Last values #> series sa trend seas irr #> Sep 2016 1393.5 1558.700 1547.466 0.8940140 1.0072601 #> Oct 2016 1497.4 1539.619 1543.359 0.9725785 0.9975766 #> Nov 2016 1684.3 1540.423 1541.287 1.0934011 0.9994390 #> Dec 2016 2850.4 1561.106 1541.060 1.8258848 1.0130078 #> Jan 2017 1428.5 1513.071 1542.061 0.9441065 0.9812005 #> Feb 2017 1092.4 1538.709 1543.697 0.7099456 0.9967689 #> Mar 2017 1370.3 1532.681 1545.484 0.8940545 0.9917157 #> Apr 2017 1522.6 1609.073 1547.232 0.9462594 1.0399684 #> May 2017 1452.4 1563.830 1548.782 0.9287456 1.0097158 #> Jun 2017 1557.2 1561.361 1549.791 0.9973351 1.0074658 #> Jul 2017 1445.5 1519.197 1550.206 0.9514898 0.9799965 #> Aug 2017 1303.1 1554.064 1550.306 0.8385112 1.0024242 x13(y,\"rsa5c\") #> RegARIMA #> Log-transformation: yes #> SARIMA model: (0,1,1) (1,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> theta(1) -0.81551 0.06932 -11.76 #> bphi(1) -0.43410 0.02650 -16.38 #> btheta(1) -0.82463 0.04458 -18.50 #> #> Regression model: #> Estimate Std. Error T-stat #> monday -0.009156 0.003278 -2.793 #> tuesday 0.004523 0.003316 1.364 #> wednesday -0.001181 0.003285 -0.360 #> thursday 0.013349 0.003304 4.040 #> friday -0.001501 0.003313 -0.453 #> saturday 0.014993 0.003293 4.553 #> easter 0.051061 0.006629 7.703 #> TC (2000-06-01) 0.162337 0.026546 6.115 #> AO (2000-07-01) -0.306371 0.032121 -9.538 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 13 #> #> Loglikelihood: 794.8103 #> Adjusted loglikelihood: -2072.816 #> #> Standard error of the regression (ML estimate): 0.03486636 #> AIC: 4171.633 #> AICC: 4172.548 #> BIC: 4223.906 #> #> #> Decomposition #> Monitoring and Quality Assessment Statistics: #> M stats #> m1 0.054 #> m2 0.049 #> m3 1.765 #> m4 0.089 #> m5 1.416 #> m6 0.012 #> m7 0.052 #> m8 0.160 #> m9 0.050 #> m10 0.124 #> m11 0.122 #> q 0.385 #> qm2 0.427 #> #> Final filters: #> Seasonal filter: #> Trend filter: 23 terms Henderson moving average #> #> Diagnostics #> Relative contribution of the components to the stationary #> portion of the variance in the original series, #> after the removal of the long term trend (in %) #> #> Component #> cycle 13.437 #> seasonal 86.536 #> irregular 0.489 #> calendar 0.599 #> others 0.323 #> total 101.383 #> #> Residual seasonality tests #> P.value #> seas.ftest.i 0.977 #> seas.ftest.sa 0.986 #> seas.qstest.i 0.010 #> seas.qstest.sa 0.004 #> td.ftest.i 0.993 #> td.ftest.sa 0.996 #> #> #> Final #> Last values #> series sa trend seas irr #> Sep 2016 1393.5 1544.956 1548.898 0.9019675 0.9974547 #> Oct 2016 1497.4 1569.404 1547.139 0.9541202 1.0143910 #> Nov 2016 1684.3 1523.294 1546.637 1.1056957 0.9849077 #> Dec 2016 2850.4 1536.881 1546.937 1.8546651 0.9934994 #> Jan 2017 1428.5 1547.497 1547.656 0.9231038 0.9998970 #> Feb 2017 1092.4 1545.588 1548.350 0.7067860 0.9982164 #> Mar 2017 1370.3 1556.927 1548.747 0.8801312 1.0052818 #> Apr 2017 1522.6 1587.924 1548.518 0.9588622 1.0254473 #> May 2017 1452.4 1555.232 1547.335 0.9338798 1.0051038 #> Jun 2017 1557.2 1539.880 1545.271 1.0112477 0.9965115 #> Jul 2017 1445.5 1532.110 1542.807 0.9434701 0.9930664 #> Aug 2017 1303.1 1524.546 1540.399 0.8547462 0.9897086 regarima_fast(y,\"rg0\") #> Log-transformation: no #> SARIMA model: (0,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> theta(1) -0.87640 0.02290 -38.275 #> btheta(1) -0.38755 0.05071 -7.642 #> #> No regression variables #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 3 #> #> Loglikelihood: -2218.964 #> Standard error of the regression (ML estimate): 52.59136 #> AIC: 4443.928 #> AICC: 4443.987 #> BIC: 4455.991 #> regarima(y,\"rg3\") #> Log-transformation: yes #> SARIMA model: (2,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.38042 0.06517 5.838 #> phi(2) 0.21398 0.06040 3.543 #> theta(1) -0.70246 0.05146 -13.650 #> btheta(1) -0.56259 0.06648 -8.462 #> #> Regression model: #> Estimate Std. Error T-stat #> TC (2000-06-01) 0.15476 0.03158 4.900 #> AO (2000-07-01) -0.29505 0.04425 -6.668 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 7 #> #> Loglikelihood: 720.2196 #> Adjusted loglikelihood: -2147.407 #> #> Standard error of the regression (ML estimate): 0.04181753 #> AIC: 4308.814 #> AICC: 4309.092 #> BIC: 4336.962 #> sp = x13_spec(\"rsa5c\") sp = rjd3toolkit::add_outlier(sp, type = c(\"AO\"), c(\"2015-01-01\", \"2010-01-01\")) sp = rjd3toolkit::set_transform( rjd3toolkit::set_tradingdays( rjd3toolkit::set_easter(sp, enabled = FALSE), option = \"workingdays\" ), fun = \"None\" ) x13(y,spec=sp) #> RegARIMA #> Log-transformation: no #> SARIMA model: (3,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.16557 0.06461 2.563 #> phi(2) 0.08780 0.06435 1.364 #> phi(3) -0.11287 0.06047 -1.867 #> theta(1) -0.86076 0.03927 -21.918 #> btheta(1) -0.22918 0.05193 -4.413 #> #> Regression model: #> Estimate Std. Error T-stat #> td 1.0015 0.8098 1.237 #> lp 29.6392 11.5469 2.567 #> AO (2010-01-01) 37.0476 34.4300 1.076 #> AO (2015-01-01) 27.9946 35.0234 0.799 #> AO (2000-06-01) 199.7536 34.5756 5.777 #> AO (2000-07-01) -194.6887 34.6240 -5.623 #> LS (2005-04-01) -82.3062 17.4210 -4.725 #> LS (2015-07-01) 81.3334 18.0924 4.495 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 14 #> #> Loglikelihood: -2159.902 #> Standard error of the regression (ML estimate): 45.632 #> AIC: 4347.804 #> AICC: 4348.862 #> BIC: 4404.099 #> #> #> Decomposition #> Monitoring and Quality Assessment Statistics: #> M stats #> m1 0.043 #> m2 0.033 #> m3 1.909 #> m4 0.447 #> m5 1.607 #> m6 0.399 #> m7 0.167 #> m8 0.298 #> m9 0.145 #> m10 0.308 #> m11 0.293 #> q 0.552 #> qm2 0.624 #> #> Final filters: #> Seasonal filter: #> Trend filter: 23 terms Henderson moving average #> #> Diagnostics #> Relative contribution of the components to the stationary #> portion of the variance in the original series, #> after the removal of the long term trend (in %) #> #> Component #> cycle 6.178 #> seasonal 94.402 #> irregular 0.325 #> calendar 0.020 #> others 1.504 #> total 102.429 #> #> Residual seasonality tests #> P.value #> seas.ftest.i 0.902 #> seas.ftest.sa 0.996 #> seas.qstest.i 0.038 #> seas.qstest.sa 0.138 #> td.ftest.i 0.000 #> td.ftest.sa 0.000 #> #> #> Final #> Last values #> series sa trend seas irr #> Sep 2016 1393.5 1567.439 1554.386 -173.938673 13.052790 #> Oct 2016 1497.4 1547.052 1551.116 -49.651713 -4.064205 #> Nov 2016 1684.3 1544.888 1549.070 139.411575 -4.182012 #> Dec 2016 2850.4 1560.255 1548.078 1290.145096 12.177219 #> Jan 2017 1428.5 1529.584 1547.770 -101.084412 -18.185622 #> Feb 2017 1092.4 1552.751 1547.915 -460.350943 4.835817 #> Mar 2017 1370.3 1532.112 1548.227 -161.812246 -16.114386 #> Apr 2017 1522.6 1571.429 1548.386 -48.829077 23.042779 #> May 2017 1452.4 1554.351 1548.282 -101.951014 6.069336 #> Jun 2017 1557.2 1548.139 1547.682 9.061423 0.456243 #> Jul 2017 1445.5 1540.321 1546.422 -94.820887 -6.101117 #> Aug 2017 1303.1 1554.506 1544.648 -251.405622 9.857735 sp = set_x11(sp, henderson.filter = 13) x13_fast(y, spec = sp) #> RegARIMA #> Log-transformation: no #> SARIMA model: (3,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.16557 0.06461 2.563 #> phi(2) 0.08780 0.06435 1.364 #> phi(3) -0.11287 0.06047 -1.867 #> theta(1) -0.86076 0.03927 -21.918 #> btheta(1) -0.22918 0.05193 -4.413 #> #> Regression model: #> Estimate Std. Error T-stat #> td 1.0015 0.8098 1.237 #> lp 29.6392 11.5469 2.567 #> AO (2010-01-01) 37.0476 34.4300 1.076 #> AO (2015-01-01) 27.9946 35.0234 0.799 #> AO (2000-06-01) 199.7536 34.5756 5.777 #> AO (2000-07-01) -194.6887 34.6240 -5.623 #> LS (2005-04-01) -82.3062 17.4210 -4.725 #> LS (2015-07-01) 81.3334 18.0924 4.495 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 14 #> #> Loglikelihood: -2159.902 #> Standard error of the regression (ML estimate): 45.632 #> AIC: 4347.804 #> AICC: 4348.862 #> BIC: 4404.099 #> #> #> Decomposition #> Monitoring and Quality Assessment Statistics: #> M stats #> m1 0.036 #> m2 0.029 #> m3 1.786 #> m4 0.537 #> m5 1.528 #> m6 0.449 #> m7 0.167 #> m8 0.290 #> m9 0.144 #> m10 0.297 #> m11 0.285 #> q 0.533 #> qm2 0.604 #> #> Final filters: #> Seasonal filter: #> Trend filter: 13 terms Henderson moving average #> #> Diagnostics #> Relative contribution of the components to the stationary #> portion of the variance in the original series, #> after the removal of the long term trend (in %) #> #> Component #> cycle 6.227 #> seasonal 94.535 #> irregular 0.290 #> calendar 0.020 #> others 1.506 #> total 102.578 #> #> Residual seasonality tests #> P.value #> seas.ftest.i 0.924 #> seas.ftest.sa 0.997 #> seas.qstest.i 0.018 #> seas.qstest.sa 0.117 #> td.ftest.i 0.000 #> td.ftest.sa 0.000 #> #> #> Final #> Last values #> series sa trend seas irr #> Sep 2016 1393.5 1567.255 1554.069 -173.754955 13.186079 #> Oct 2016 1497.4 1547.824 1551.331 -50.424459 -3.506850 #> Nov 2016 1684.3 1546.128 1548.057 138.172189 -1.929197 #> Dec 2016 2850.4 1557.769 1545.941 1292.630528 11.828053 #> Jan 2017 1428.5 1530.142 1545.777 -101.642006 -15.634829 #> Feb 2017 1092.4 1552.860 1546.573 -460.459760 6.287131 #> Mar 2017 1370.3 1532.029 1548.853 -161.728778 -16.824581 #> Apr 2017 1522.6 1571.073 1551.472 -48.473184 19.601512 #> May 2017 1452.4 1554.849 1552.698 -102.448692 2.151163 #> Jun 2017 1557.2 1550.052 1552.154 7.148413 -2.102681 #> Jul 2017 1445.5 1541.002 1549.653 -95.502435 -8.650144 #> Aug 2017 1303.1 1554.802 1545.625 -251.702019 9.176569"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_dictionary.html","id":null,"dir":"Reference","previous_headings":"","what":"X-13 Dictionary — x13_dictionary","title":"X-13 Dictionary — x13_dictionary","text":"X-13 Dictionary","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_dictionary.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"X-13 Dictionary — x13_dictionary","text":"","code":"x13_dictionary()"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_dictionary.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"X-13 Dictionary — x13_dictionary","text":"vector containing names available output objects (series, diagnostics, parameters).","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_revisions.html","id":null,"dir":"Reference","previous_headings":"","what":"Revisions History — x13_revisions","title":"Revisions History — x13_revisions","text":"Compute revisions history","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_revisions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Revisions History — x13_revisions","text":"","code":"x13_revisions( ts, spec, data_ids = NULL, ts_ids = NULL, cmp_ids = NULL, context = NULL )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_revisions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Revisions History — x13_revisions","text":"ts time series used estimation. spec specification used. data_ids list list specify statistics export. sub-list must contain two elements: start (first date compute history, format \"YYYY-MM-DD\") id (name statistics, see x13_dictionary()). See example. ts_ids list list specify specific date component whose history studied. sub-list must contain three elements: start (first date compute history, format \"YYYY-MM-DD\"), period (date studied) id (name component, see x13_dictionary()). See example. cmp_ids list list specify component whose history studied. sub-list must contain three elements: start (first date compute history, format \"YYYY-MM-DD\"), end (last date compute history, format \"YYYY-MM-DD\") id (name component, see x13_dictionary()). many series periods start end exported. See example. context context specification.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_revisions.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Revisions History — x13_revisions","text":"","code":"s <- rjd3toolkit::ABS$X0.2.09.10.M sa_mod <- x13(s) data_ids <- list( # Get the coefficient of the trading-day coefficient from 2005-jan list(start = \"2005-01-01\", id = \"regression.td(1)\"), # Get the ljung-box statistics on residuals from 2010-jan list(start = \"2010-01-01\", id = \"residuals.lb\")) ts_ids <- list( # Get the SA component estimates of 2010-jan from 2010-jan list(period = \"2010-01-01\", start = \"2010-01-01\", id = \"sa\"), # Get the irregular component estimates of 2010-jan from 2015-jan list(period = \"2010-01-01\", start = \"2015-01-01\", id = \"i\")) cmp_ids <- list( # Get the SA component estimates (full time series) 2010-jan to 2020-jan list(start = \"2010-01-01\", end = \"2020-01-01\", id = \"sa\"), # Get the trend component estimates (full time series) 2010-jan to 2020-jan list(start = \"2010-01-01\", end = \"2020-01-01\", id = \"t\")) rh <- x13_revisions(s, sa_mod$result_spec, data_ids, ts_ids, cmp_ids)"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":null,"dir":"Reference","previous_headings":"","what":"RegARIMA/X-13 Default Specifications — x13_spec","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"Set functions create default specification objects associated X-13ARIMA seasonal adjustment method.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"","code":"regarima_spec(name = c(\"rg4\", \"rg0\", \"rg1\", \"rg2c\", \"rg3\", \"rg5c\")) x13_spec(name = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\")) x11_spec()"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"name name predefined specification.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"object class \"JD3_X13_SPEC\" (x13_spec()), \"JD3_REGARIMA_SPEC\" (regarima_spec()) \"JD3_X11_SPEC\" (x11_spec()).","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"Specification setting sheer X-11 decomposition method (without reg-arima pre-adjustment) supported x11_spec() function appear among possible X13-Arima default specifications Specification setting can restricted reg-arima part regarima_spec() function, without argument regarima_spec() yields RG5c specification setting complete X13-Arima spec, x13_spec() without argument yields RSA5c specification available predefined 'JDemetra+' model specifications described table : #' @seealso set pre-processing parameters: rjd3toolkit::set_arima(), rjd3toolkit::set_automodel(), rjd3toolkit::set_basic(), rjd3toolkit::set_easter(), rjd3toolkit::set_estimate(), rjd3toolkit::set_outlier(), rjd3toolkit::set_tradingdays(), rjd3toolkit::set_transform(), rjd3toolkit::add_outlier(), rjd3toolkit::remove_outlier(), rjd3toolkit::add_ramp(), rjd3toolkit::remove_ramp(), rjd3toolkit::add_usrdefvar(). set decomposition parameters: set_x11(). set benchmarking parameters: rjd3toolkit::set_benchmarking().","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"","code":"init_spec <- x11_spec() init_spec <- regarima_spec(\"rg4\") init_spec <- x13_spec(\"rsa5c\")"}]
+[{"path":"https://rjdemetra.github.io/rjd3x13/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Jean Palate. Author, maintainer. Alain Quartier-la-Tente. Author.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Palate J, Quartier-la-Tente (2023). rjd3x13: Seasonal Adjustment X-13 'JDemetra+ 3.0'. R package version 3.1.1, https://rjdemetra.github.io/rjd3x13/, https://github.com/rjdemetra/rjd3x13.","code":"@Manual{, title = {rjd3x13: Seasonal Adjustment with X-13 and 'JDemetra+ 3.0'}, author = {Jean Palate and Alain Quartier-la-Tente}, year = {2023}, note = {R package version 3.1.1, https://rjdemetra.github.io/rjd3x13/}, url = {https://github.com/rjdemetra/rjd3x13}, }"},{"path":"https://rjdemetra.github.io/rjd3x13/index.html","id":"rjd3x13","dir":"","previous_headings":"","what":"Seasonal Adjustment with X-13 and JDemetra+ 3.0","title":"Seasonal Adjustment with X-13 and JDemetra+ 3.0","text":"rjd3x13 offers full acces options outputs X-13 (rjd3x13::x13()), including RegARIMA modelling (rjd3x13::regarima()) X-11 decomposition (rjd3x13::x11()). specification can created functions rjd3x13::regarima_spec(), rjd3x13::x11_spec() rjd3x13::x13_spec() can modified function: pre-processing: rjd3toolkit::set_arima(), rjd3toolkit::set_automodel(), rjd3toolkit::set_basic(), rjd3toolkit::set_easter(), rjd3toolkit::set_estimate(), rjd3toolkit::set_outlier(), rjd3toolkit::set_tradingdays(), rjd3toolkit::set_transform(), rjd3toolkit::add_outlier(), rjd3toolkit::remove_outlier(), rjd3toolkit::add_ramp(), rjd3toolkit::remove_ramp(), rjd3toolkit::add_usrdefvar(); decomposition: rjd3x13::set_x11(); benchmarking: rjd3toolkit::set_benchmarking().","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Seasonal Adjustment with X-13 and JDemetra+ 3.0","text":"get current stable version (latest release): get current development version GitHub:","code":"# install.packages(\"remotes\") remotes::install_github(\"rjdemetra/rjd3x13@*release\") # install.packages(\"remotes\") remotes::install_github(\"rjdemetra/rjd3x13\")"},{"path":"https://rjdemetra.github.io/rjd3x13/index.html","id":"usage","dir":"","previous_headings":"","what":"Usage","title":"Seasonal Adjustment with X-13 and JDemetra+ 3.0","text":"","code":"library(\"rjd3x13\") y <- rjd3toolkit::ABS$X0.2.09.10.M x13_model <- x13(y) summary(x13_model$result$preprocessing) # Summary of regarima model #> Log-transformation: yes #> SARIMA model: (2,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat Pr(>|t|) #> phi(1) 0.34740 0.06502 5.343 1.53e-07 *** #> phi(2) 0.21733 0.06000 3.622 0.000329 *** #> theta(1) -0.69937 0.05115 -13.672 < 2e-16 *** #> btheta(1) -0.48038 0.06993 -6.869 2.45e-11 *** #> --- #> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 #> #> Regression model: #> Estimate Std. Error T-stat Pr(>|t|) #> td 0.0023233 0.0006844 3.395 0.000755 *** #> easter 0.0520113 0.0084894 6.127 2.13e-09 *** #> TC (2000-06-01) 0.1590340 0.0288578 5.511 6.37e-08 *** #> AO (2000-07-01) -0.2900774 0.0400551 -7.242 2.25e-12 *** #> --- #> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 #> Number of observations: 425 , Number of effective observations: 412 , Number of parameters: 9 #> Loglikelihood: 746.7517, Adjusted loglikelihood: -2120.875 #> Standard error of the regression (ML estimate): 0.03927991 #> AIC: 4259.75 , AICc: 4260.198 , BIC: 4295.939 plot(x13_model) # Plot of the final decomposition"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/deprecated-rjd3x13.html","id":null,"dir":"Reference","previous_headings":"","what":"Deprecated functions — deprecated-rjd3x13","title":"Deprecated functions — deprecated-rjd3x13","text":"Deprecated functions","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/deprecated-rjd3x13.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Deprecated functions — deprecated-rjd3x13","text":"","code":"spec_x13(name = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\")) spec_regarima(name = c(\"rg4\", \"rg0\", \"rg1\", \"rg2c\", \"rg3\", \"rg5c\")) spec_x11() fast_x13( ts, spec = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\"), context = NULL, userdefined = NULL ) fast_regarima( ts, spec = c(\"rg4\", \"rg0\", \"rg1\", \"rg2c\", \"rg3\", \"rg5c\"), context = NULL, userdefined = NULL )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/deprecated-rjd3x13.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Deprecated functions — deprecated-rjd3x13","text":"ts, spec, context, userdefined, name Parameters.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/jd3_utilities.html","id":null,"dir":"Reference","previous_headings":"","what":"Java Utility Functions — jd3_utilities","title":"Java Utility Functions — jd3_utilities","text":"functions used JDemetra+ 3.0 packages easily interact R Java objects.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/jd3_utilities.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Java Utility Functions — jd3_utilities","text":"","code":".x13_rslts(jrslts) .jd2r_spec_x11(jspec) .r2jd_spec_x11(spec) .r2jd_spec_x13(spec) .jd2r_spec_x13(jspec)"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/jd3_utilities.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Java Utility Functions — jd3_utilities","text":"spec, jspec, jrslts parameters.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":null,"dir":"Reference","previous_headings":"","what":"Refresh a specification with constraints — refresh","title":"Refresh a specification with constraints — refresh","text":"Function allowing create new specification updating specification used previous estimation. selected parameters kept fixed (previous estimation results) others freed re-estimation domain constraints. See details examples.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Refresh a specification with constraints — refresh","text":"","code":"regarima_refresh( spec, refspec = NULL, policy = c(\"FreeParameters\", \"Complete\", \"Outliers_StochasticComponent\", \"Outliers\", \"FixedParameters\", \"FixedAutoRegressiveParameters\", \"Fixed\", \"Current\"), period = 0, start = NULL, end = NULL ) x13_refresh( spec, refspec = NULL, policy = c(\"FreeParameters\", \"Complete\", \"Outliers_StochasticComponent\", \"Outliers\", \"FixedParameters\", \"FixedAutoRegressiveParameters\", \"Fixed\", \"Current\"), period = 0, start = NULL, end = NULL )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Refresh a specification with constraints — refresh","text":"spec current specification refreshed (\"result_spec\"). refspec reference specification used define domain considered re-estimation (\"domain_spec\"). default \"RG5c\" \"RSA5\" specification. policy refresh policy apply (see details). period, start, end specify span outliers re-identified (.e.: re-detected) policy = \"Outliers\" policy = \"Outliers_StochasticComponent\". Span definition: period: numeric, number observations year (12, 4...). start end: first last date outliers re-identfied, defined arrays two elements: year first period (example, period = 12, c(1980, 1) January 1980). specified, outliers re-identified whole series.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Refresh a specification with constraints — refresh","text":"new specification, object class \"JD3_X13_SPEC\" \"JD3_REGARIMA_SPEC\".","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Refresh a specification with constraints — refresh","text":"selection constraints kept fixed re-estimated called revision policy. User-defined parameters always copied new refreshed specifications. X-13 reg-arima part can refreshed. X-11 decomposition completely re-run, keeping user-defined parameters original specification. Available refresh policies : Current: applying current pre-adjustment reg-arima model adding new raw data points Additive Outliers (defined new intervention variables) Fixed: applying current pre-adjustment reg-arima model replacing forecasts new raw data points. FixedParameters: pre-adjustment reg-arima model partially modified: regression coefficients re-estimated regression variables, Arima orders coefficients unchanged. FixedAutoRegressiveParameters: FixedParameters Arima Moving Average coefficients (MA) also re-estimated, Auto-regressive (AR) coefficients kept fixed. FreeParameters: regression Arima model coefficients re-estimated, regression variables Arima orders kept fixed. Outliers: regression variables Arima orders kept fixed, outliers re-detected defined span, thus regression Arima model coefficients re-estimated Outliers_StochasticComponent: \"Outliers\" Arima model orders (p,d,q)(P,D,Q) can also re-identified.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Refresh a specification with constraints — refresh","text":"information revision policies JDemetra+ online documentation: https://jdemetra-new-documentation.netlify.app/t-rev-policies-production","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/refresh.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Refresh a specification with constraints — refresh","text":"","code":"y<- rjd3toolkit::ABS$X0.2.08.10.M # raw series for first estimation y_raw <-window(y,end = 2009) # raw series for second (refreshed) estimation y_new <-window(y,end = 2010) # specification for first estimation spec_x13_1<-x13_spec(\"rsa5c\") # first estimation sa_x13<- x13(y_raw, spec_x13_1) # refreshing the specification current_result_spec <- sa_x13$result_spec current_domain_spec <- sa_x13$estimation_spec spec_x13_ref <- x13_refresh(current_result_spec, # point spec to be refreshed current_domain_spec, #domain spec (set of constraints) policy = \"Fixed\") # 2nd estimation with refreshed specification sa_x13_ref <- x13(y_new, spec_x13_ref)"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima.html","id":null,"dir":"Reference","previous_headings":"","what":"RegARIMA model, pre-adjustment in X13 — regarima","title":"RegARIMA model, pre-adjustment in X13 — regarima","text":"RegARIMA model, pre-adjustment X13","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"RegARIMA model, pre-adjustment in X13 — regarima","text":"","code":"regarima( ts, spec = c(\"rg4\", \"rg0\", \"rg1\", \"rg2c\", \"rg3\", \"rg5c\"), context = NULL, userdefined = NULL ) regarima_fast( ts, spec = c(\"rg4\", \"rg0\", \"rg1\", \"rg2c\", \"rg3\", \"rg5c\"), context = NULL, userdefined = NULL )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"RegARIMA model, pre-adjustment in X13 — regarima","text":"ts univariate time series. spec model specification. Can either name predefined specification user-defined specification. context list external regressors (calendar ) used estimation userdefined vector containing additional output variables (see x13_dictionary()).","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"RegARIMA model, pre-adjustment in X13 — regarima","text":"regarima() function returns list results (\"JD3_REGARIMA_RSLTS\" object), estimation specification result specification, regarima_fast() faster function returns results.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"RegARIMA model, pre-adjustment in X13 — regarima","text":"","code":"y = rjd3toolkit::ABS$X0.2.09.10.M sp = regarima_spec(\"rg5c\") sp = rjd3toolkit::add_outlier(sp, type = c(\"AO\"), c(\"2015-01-01\", \"2010-01-01\")) regarima_fast(y, spec = sp) #> Log-transformation: yes #> SARIMA model: (0,1,1) (1,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> theta(1) -0.81606 0.06959 -11.73 #> bphi(1) -0.43734 0.02661 -16.44 #> btheta(1) -0.82509 0.04481 -18.41 #> #> Regression model: #> Estimate Std. Error T-stat #> monday -0.008747 0.003287 -2.661 #> tuesday 0.004488 0.003314 1.354 #> wednesday -0.001471 0.003294 -0.447 #> thursday 0.013886 0.003325 4.176 #> friday -0.001944 0.003325 -0.585 #> saturday 0.015368 0.003304 4.651 #> easter 0.051130 0.006621 7.723 #> AO (2010-01-01) 0.035349 0.028796 1.228 #> AO (2015-01-01) -0.020385 0.028885 -0.706 #> TC (2000-06-01) 0.162169 0.026510 6.117 #> AO (2000-07-01) -0.306536 0.032095 -9.551 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 15 #> #> Loglikelihood: 795.8429 #> Adjusted loglikelihood: -2071.784 #> #> Standard error of the regression (ML estimate): 0.03478056 #> AIC: 4173.568 #> AICC: 4174.78 #> BIC: 4233.883 #> sp = rjd3toolkit::set_transform( rjd3toolkit::set_tradingdays( rjd3toolkit::set_easter(sp, enabled = FALSE), option = \"workingdays\" ), fun = \"None\" ) regarima_fast(y, spec = sp) #> Log-transformation: no #> SARIMA model: (3,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.16557 0.06461 2.563 #> phi(2) 0.08780 0.06435 1.364 #> phi(3) -0.11287 0.06047 -1.867 #> theta(1) -0.86076 0.03927 -21.918 #> btheta(1) -0.22918 0.05193 -4.413 #> #> Regression model: #> Estimate Std. Error T-stat #> td 1.0015 0.8098 1.237 #> lp 29.6392 11.5469 2.567 #> AO (2010-01-01) 37.0476 34.4300 1.076 #> AO (2015-01-01) 27.9946 35.0234 0.799 #> AO (2000-06-01) 199.7536 34.5756 5.777 #> AO (2000-07-01) -194.6887 34.6240 -5.623 #> LS (2005-04-01) -82.3062 17.4210 -4.725 #> LS (2015-07-01) 81.3334 18.0924 4.495 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 14 #> #> Loglikelihood: -2159.902 #> Standard error of the regression (ML estimate): 45.632 #> AIC: 4347.804 #> AICC: 4348.862 #> BIC: 4404.099 #> sp = rjd3toolkit::set_outlier(sp, outliers.type = c(\"AO\")) regarima_fast(y, spec = sp) #> Log-transformation: no #> SARIMA model: (3,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.11808 0.09633 1.226 #> phi(2) 0.03364 0.09199 0.366 #> phi(3) -0.15061 0.08002 -1.882 #> theta(1) -0.83611 0.07714 -10.838 #> btheta(1) -0.24114 0.05412 -4.456 #> #> Regression model: #> Estimate Std. Error T-stat #> td 1.0012 0.8028 1.247 #> lp 30.8981 11.7820 2.622 #> AO (2010-01-01) 37.2796 35.1800 1.060 #> AO (2015-01-01) 6.5622 35.1307 0.187 #> AO (2000-06-01) 194.6157 35.1753 5.533 #> AO (2000-07-01) -201.1923 35.2286 -5.711 #> AO (2005-04-01) -150.2768 35.1047 -4.281 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 13 #> #> Loglikelihood: -2169.985 #> Standard error of the regression (ML estimate): 46.77874 #> AIC: 4365.971 #> AICC: 4366.885 #> BIC: 4418.244 #>"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima_outliers.html","id":null,"dir":"Reference","previous_headings":"","what":"Outlier Detection with a RegARIMA Model — regarima_outliers","title":"Outlier Detection with a RegARIMA Model — regarima_outliers","text":"Outlier Detection RegARIMA Model","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima_outliers.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Outlier Detection with a RegARIMA Model — regarima_outliers","text":"","code":"regarima_outliers( y, order = c(0L, 1L, 1L), seasonal = c(0L, 1L, 1L), mean = F, X = NULL, X.td = NULL, ao = T, ls = T, tc = F, so = F, cv = 0, clean = F )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima_outliers.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Outlier Detection with a RegARIMA Model — regarima_outliers","text":"y dependent variable (ts object). order, seasonal orders ARIMA model. mean Boolean include mean. X user defined regressors (calendar). X.td calendar regressors. ao, ls, , tc Boolean indicate type outliers detected. cv numeric. entered critical value outlier detection procedure. equal 0 critical value outlier detection procedure automatically determined number observations. clean Clean missing values beginning/end series. Regression variables automatically resized, need .","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima_outliers.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Outlier Detection with a RegARIMA Model — regarima_outliers","text":"\"JD3_REGARIMA_OUTLIERS\" object, containing input variables results","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/regarima_outliers.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Outlier Detection with a RegARIMA Model — regarima_outliers","text":"","code":"regarima_outliers(rjd3toolkit::ABS$X0.2.09.10.M) #> $model #> $model$y #> Jan Feb Mar Apr May Jun Jul Aug Sep Oct #> 1982 460.1 502.6 443.8 459.1 438.4 465.1 452.7 #> 1983 379.2 378.0 472.1 503.4 510.6 462.4 468.3 458.2 482.7 485.3 #> 1984 414.7 414.5 484.7 487.3 597.9 500.4 543.4 503.4 522.8 556.6 #> 1985 516.3 452.5 525.8 587.7 700.3 561.8 602.8 582.5 563.1 637.1 #> 1986 570.5 478.2 547.4 594.3 751.6 553.4 663.2 581.1 661.9 665.6 #> 1987 613.9 513.2 599.9 674.1 714.0 670.5 720.9 601.6 672.3 709.1 #> 1988 631.0 551.1 678.1 715.7 740.8 722.0 683.5 650.9 723.3 729.6 #> 1989 631.5 552.0 719.0 697.6 764.8 786.3 715.1 723.8 757.9 751.7 #> 1990 678.2 586.2 726.8 744.1 815.5 832.4 710.3 759.4 741.1 786.6 #> 1991 694.0 604.7 719.2 748.2 828.2 746.9 794.5 770.4 741.5 858.6 #> 1992 740.0 665.9 701.5 831.4 878.6 826.0 788.2 723.6 819.8 902.5 #> 1993 762.1 643.0 754.1 840.7 906.6 887.1 771.5 728.7 844.7 886.9 #> 1994 745.7 664.4 821.5 831.7 908.0 912.6 782.9 798.8 887.0 934.6 #> 1995 752.4 682.5 811.2 906.0 927.2 906.8 880.6 873.9 856.8 920.6 #> 1996 833.1 737.1 812.0 895.2 962.8 908.6 908.0 888.9 833.7 933.7 #> 1997 840.9 727.4 857.9 849.0 994.8 830.2 971.1 836.0 939.1 976.9 #> 1998 917.3 716.2 822.9 970.1 970.2 849.4 1042.3 869.9 939.4 1021.3 #> 1999 942.0 738.4 903.2 953.2 1011.2 894.4 1054.5 899.5 1002.3 1043.7 #> 2000 924.9 798.2 901.9 1024.7 1052.3 1165.5 859.3 1009.2 1054.6 1070.4 #> 2001 971.9 814.6 1017.5 1039.2 1123.5 1024.9 1100.8 963.0 1012.9 1132.0 #> 2002 1027.9 841.4 1043.9 1075.3 1190.9 1143.0 1075.7 1065.9 1060.1 1211.4 #> 2003 1099.3 900.5 1092.7 1222.4 1237.1 1237.9 1182.0 1101.2 1198.2 1316.1 #> 2004 1182.9 989.8 1131.4 1277.1 1280.3 1384.1 1305.9 1166.8 1317.9 1358.3 #> 2005 1246.3 1037.3 1300.8 1153.7 1264.2 1454.2 1290.1 1210.7 1277.8 1314.4 #> 2006 1193.7 1037.7 1204.5 1348.6 1267.6 1429.0 1412.0 1239.2 1219.1 1344.6 #> 2007 1267.3 1047.0 1331.6 1302.6 1365.1 1491.5 1462.3 1315.5 1353.3 1440.6 #> 2008 1397.8 1140.5 1351.7 1396.6 1421.1 1401.6 1582.3 1268.4 1383.3 1452.4 #> 2009 1451.0 1056.6 1386.9 1509.1 1519.4 1500.5 1570.7 1341.5 1399.9 1534.3 #> 2010 1469.1 1111.9 1379.9 1389.7 1427.2 1551.4 1581.0 1324.0 1422.0 1464.9 #> 2011 1412.6 1117.5 1321.6 1472.6 1408.9 1471.9 1532.5 1293.5 1345.7 1404.7 #> 2012 1362.4 1131.7 1349.2 1391.2 1456.9 1616.4 1423.4 1359.0 1367.8 1442.6 #> 2013 1397.4 1113.6 1397.3 1339.1 1441.9 1537.4 1390.6 1337.2 1359.4 1463.3 #> 2014 1451.0 1064.9 1293.2 1442.9 1411.8 1461.6 1501.6 1254.2 1356.4 1478.7 #> 2015 1471.2 1053.8 1367.2 1442.2 1428.7 1480.9 1540.9 1331.9 1400.1 1566.3 #> 2016 1519.2 1155.8 1451.5 1451.0 1449.7 1596.1 1468.3 1293.9 1393.5 1497.4 #> 2017 1428.5 1092.4 1370.3 1522.6 1452.4 1557.2 1445.5 1303.1 #> Nov Dec #> 1982 522.9 889.3 #> 1983 568.7 963.7 #> 1984 623.2 1039.4 #> 1985 697.1 1187.5 #> 1986 700.9 1367.9 #> 1987 743.2 1460.1 #> 1988 870.3 1570.0 #> 1989 923.8 1569.4 #> 1990 931.5 1563.1 #> 1991 944.7 1600.3 #> 1992 968.6 1650.9 #> 1993 970.0 1710.5 #> 1994 1000.4 1817.5 #> 1995 1067.4 1857.2 #> 1996 1081.6 1837.6 #> 1997 1111.3 1879.1 #> 1998 1137.7 1975.7 #> 1999 1207.2 2069.6 #> 2000 1232.5 2177.5 #> 2001 1344.8 2269.5 #> 2002 1495.1 2338.6 #> 2003 1528.2 2424.2 #> 2004 1536.7 2500.8 #> 2005 1540.4 2536.0 #> 2006 1623.3 2611.1 #> 2007 1687.9 2747.0 #> 2008 1675.9 2886.1 #> 2009 1736.6 2795.1 #> 2010 1705.5 2752.4 #> 2011 1660.0 2730.5 #> 2012 1672.9 2753.3 #> 2013 1668.9 2725.5 #> 2014 1687.7 2756.9 #> 2015 1730.5 2913.6 #> 2016 1684.3 2850.4 #> 2017 #> #> $model$variables #> [1] \"AO.220\" \"AO.219\" \"AO.277\" \"LS.400\" \"LS.280\" #> #> $model$X #> [,1] [,2] [,3] [,4] [,5] #> [1,] 0 0 0 -1 -1 #> [2,] 0 0 0 -1 -1 #> [3,] 0 0 0 -1 -1 #> [4,] 0 0 0 -1 -1 #> [5,] 0 0 0 -1 -1 #> [6,] 0 0 0 -1 -1 #> [7,] 0 0 0 -1 -1 #> [8,] 0 0 0 -1 -1 #> [9,] 0 0 0 -1 -1 #> [10,] 0 0 0 -1 -1 #> [11,] 0 0 0 -1 -1 #> [12,] 0 0 0 -1 -1 #> [13,] 0 0 0 -1 -1 #> [14,] 0 0 0 -1 -1 #> [15,] 0 0 0 -1 -1 #> [16,] 0 0 0 -1 -1 #> [17,] 0 0 0 -1 -1 #> [18,] 0 0 0 -1 -1 #> [19,] 0 0 0 -1 -1 #> [20,] 0 0 0 -1 -1 #> [21,] 0 0 0 -1 -1 #> [22,] 0 0 0 -1 -1 #> [23,] 0 0 0 -1 -1 #> [24,] 0 0 0 -1 -1 #> [25,] 0 0 0 -1 -1 #> [26,] 0 0 0 -1 -1 #> [27,] 0 0 0 -1 -1 #> [28,] 0 0 0 -1 -1 #> [29,] 0 0 0 -1 -1 #> [30,] 0 0 0 -1 -1 #> [31,] 0 0 0 -1 -1 #> [32,] 0 0 0 -1 -1 #> [33,] 0 0 0 -1 -1 #> [34,] 0 0 0 -1 -1 #> [35,] 0 0 0 -1 -1 #> [36,] 0 0 0 -1 -1 #> [37,] 0 0 0 -1 -1 #> [38,] 0 0 0 -1 -1 #> [39,] 0 0 0 -1 -1 #> [40,] 0 0 0 -1 -1 #> [41,] 0 0 0 -1 -1 #> [42,] 0 0 0 -1 -1 #> [43,] 0 0 0 -1 -1 #> [44,] 0 0 0 -1 -1 #> [45,] 0 0 0 -1 -1 #> [46,] 0 0 0 -1 -1 #> [47,] 0 0 0 -1 -1 #> [48,] 0 0 0 -1 -1 #> [49,] 0 0 0 -1 -1 #> [50,] 0 0 0 -1 -1 #> [51,] 0 0 0 -1 -1 #> [52,] 0 0 0 -1 -1 #> [53,] 0 0 0 -1 -1 #> [54,] 0 0 0 -1 -1 #> [55,] 0 0 0 -1 -1 #> [56,] 0 0 0 -1 -1 #> [57,] 0 0 0 -1 -1 #> [58,] 0 0 0 -1 -1 #> [59,] 0 0 0 -1 -1 #> [60,] 0 0 0 -1 -1 #> [61,] 0 0 0 -1 -1 #> [62,] 0 0 0 -1 -1 #> [63,] 0 0 0 -1 -1 #> [64,] 0 0 0 -1 -1 #> [65,] 0 0 0 -1 -1 #> [66,] 0 0 0 -1 -1 #> [67,] 0 0 0 -1 -1 #> [68,] 0 0 0 -1 -1 #> [69,] 0 0 0 -1 -1 #> [70,] 0 0 0 -1 -1 #> [71,] 0 0 0 -1 -1 #> [72,] 0 0 0 -1 -1 #> [73,] 0 0 0 -1 -1 #> [74,] 0 0 0 -1 -1 #> [75,] 0 0 0 -1 -1 #> [76,] 0 0 0 -1 -1 #> [77,] 0 0 0 -1 -1 #> [78,] 0 0 0 -1 -1 #> [79,] 0 0 0 -1 -1 #> [80,] 0 0 0 -1 -1 #> [81,] 0 0 0 -1 -1 #> [82,] 0 0 0 -1 -1 #> [83,] 0 0 0 -1 -1 #> [84,] 0 0 0 -1 -1 #> [85,] 0 0 0 -1 -1 #> [86,] 0 0 0 -1 -1 #> [87,] 0 0 0 -1 -1 #> [88,] 0 0 0 -1 -1 #> [89,] 0 0 0 -1 -1 #> [90,] 0 0 0 -1 -1 #> [91,] 0 0 0 -1 -1 #> [92,] 0 0 0 -1 -1 #> [93,] 0 0 0 -1 -1 #> [94,] 0 0 0 -1 -1 #> [95,] 0 0 0 -1 -1 #> [96,] 0 0 0 -1 -1 #> [97,] 0 0 0 -1 -1 #> [98,] 0 0 0 -1 -1 #> [99,] 0 0 0 -1 -1 #> [100,] 0 0 0 -1 -1 #> [101,] 0 0 0 -1 -1 #> [102,] 0 0 0 -1 -1 #> [103,] 0 0 0 -1 -1 #> [104,] 0 0 0 -1 -1 #> [105,] 0 0 0 -1 -1 #> [106,] 0 0 0 -1 -1 #> [107,] 0 0 0 -1 -1 #> [108,] 0 0 0 -1 -1 #> [109,] 0 0 0 -1 -1 #> [110,] 0 0 0 -1 -1 #> [111,] 0 0 0 -1 -1 #> [112,] 0 0 0 -1 -1 #> [113,] 0 0 0 -1 -1 #> [114,] 0 0 0 -1 -1 #> [115,] 0 0 0 -1 -1 #> [116,] 0 0 0 -1 -1 #> [117,] 0 0 0 -1 -1 #> [118,] 0 0 0 -1 -1 #> [119,] 0 0 0 -1 -1 #> [120,] 0 0 0 -1 -1 #> [121,] 0 0 0 -1 -1 #> [122,] 0 0 0 -1 -1 #> [123,] 0 0 0 -1 -1 #> [124,] 0 0 0 -1 -1 #> [125,] 0 0 0 -1 -1 #> [126,] 0 0 0 -1 -1 #> [127,] 0 0 0 -1 -1 #> [128,] 0 0 0 -1 -1 #> [129,] 0 0 0 -1 -1 #> [130,] 0 0 0 -1 -1 #> [131,] 0 0 0 -1 -1 #> [132,] 0 0 0 -1 -1 #> [133,] 0 0 0 -1 -1 #> [134,] 0 0 0 -1 -1 #> [135,] 0 0 0 -1 -1 #> [136,] 0 0 0 -1 -1 #> [137,] 0 0 0 -1 -1 #> [138,] 0 0 0 -1 -1 #> [139,] 0 0 0 -1 -1 #> [140,] 0 0 0 -1 -1 #> [141,] 0 0 0 -1 -1 #> [142,] 0 0 0 -1 -1 #> [143,] 0 0 0 -1 -1 #> [144,] 0 0 0 -1 -1 #> [145,] 0 0 0 -1 -1 #> [146,] 0 0 0 -1 -1 #> [147,] 0 0 0 -1 -1 #> [148,] 0 0 0 -1 -1 #> [149,] 0 0 0 -1 -1 #> [150,] 0 0 0 -1 -1 #> [151,] 0 0 0 -1 -1 #> [152,] 0 0 0 -1 -1 #> [153,] 0 0 0 -1 -1 #> [154,] 0 0 0 -1 -1 #> [155,] 0 0 0 -1 -1 #> [156,] 0 0 0 -1 -1 #> [157,] 0 0 0 -1 -1 #> [158,] 0 0 0 -1 -1 #> [159,] 0 0 0 -1 -1 #> [160,] 0 0 0 -1 -1 #> [161,] 0 0 0 -1 -1 #> [162,] 0 0 0 -1 -1 #> [163,] 0 0 0 -1 -1 #> [164,] 0 0 0 -1 -1 #> [165,] 0 0 0 -1 -1 #> [166,] 0 0 0 -1 -1 #> [167,] 0 0 0 -1 -1 #> [168,] 0 0 0 -1 -1 #> [169,] 0 0 0 -1 -1 #> [170,] 0 0 0 -1 -1 #> [171,] 0 0 0 -1 -1 #> [172,] 0 0 0 -1 -1 #> [173,] 0 0 0 -1 -1 #> [174,] 0 0 0 -1 -1 #> [175,] 0 0 0 -1 -1 #> [176,] 0 0 0 -1 -1 #> [177,] 0 0 0 -1 -1 #> [178,] 0 0 0 -1 -1 #> [179,] 0 0 0 -1 -1 #> [180,] 0 0 0 -1 -1 #> [181,] 0 0 0 -1 -1 #> [182,] 0 0 0 -1 -1 #> [183,] 0 0 0 -1 -1 #> [184,] 0 0 0 -1 -1 #> [185,] 0 0 0 -1 -1 #> [186,] 0 0 0 -1 -1 #> [187,] 0 0 0 -1 -1 #> [188,] 0 0 0 -1 -1 #> [189,] 0 0 0 -1 -1 #> [190,] 0 0 0 -1 -1 #> [191,] 0 0 0 -1 -1 #> [192,] 0 0 0 -1 -1 #> [193,] 0 0 0 -1 -1 #> [194,] 0 0 0 -1 -1 #> [195,] 0 0 0 -1 -1 #> [196,] 0 0 0 -1 -1 #> [197,] 0 0 0 -1 -1 #> [198,] 0 0 0 -1 -1 #> [199,] 0 0 0 -1 -1 #> [200,] 0 0 0 -1 -1 #> [201,] 0 0 0 -1 -1 #> [202,] 0 0 0 -1 -1 #> [203,] 0 0 0 -1 -1 #> [204,] 0 0 0 -1 -1 #> [205,] 0 0 0 -1 -1 #> [206,] 0 0 0 -1 -1 #> [207,] 0 0 0 -1 -1 #> [208,] 0 0 0 -1 -1 #> [209,] 0 0 0 -1 -1 #> [210,] 0 0 0 -1 -1 #> [211,] 0 0 0 -1 -1 #> [212,] 0 0 0 -1 -1 #> [213,] 0 0 0 -1 -1 #> [214,] 0 0 0 -1 -1 #> [215,] 0 0 0 -1 -1 #> [216,] 0 0 0 -1 -1 #> [217,] 0 0 0 -1 -1 #> [218,] 0 0 0 -1 -1 #> [219,] 0 1 0 -1 -1 #> [220,] 1 0 0 -1 -1 #> [221,] 0 0 0 -1 -1 #> [222,] 0 0 0 -1 -1 #> [223,] 0 0 0 -1 -1 #> [224,] 0 0 0 -1 -1 #> [225,] 0 0 0 -1 -1 #> [226,] 0 0 0 -1 -1 #> [227,] 0 0 0 -1 -1 #> [228,] 0 0 0 -1 -1 #> [229,] 0 0 0 -1 -1 #> [230,] 0 0 0 -1 -1 #> [231,] 0 0 0 -1 -1 #> [232,] 0 0 0 -1 -1 #> [233,] 0 0 0 -1 -1 #> [234,] 0 0 0 -1 -1 #> [235,] 0 0 0 -1 -1 #> [236,] 0 0 0 -1 -1 #> [237,] 0 0 0 -1 -1 #> [238,] 0 0 0 -1 -1 #> [239,] 0 0 0 -1 -1 #> [240,] 0 0 0 -1 -1 #> [241,] 0 0 0 -1 -1 #> [242,] 0 0 0 -1 -1 #> [243,] 0 0 0 -1 -1 #> [244,] 0 0 0 -1 -1 #> [245,] 0 0 0 -1 -1 #> [246,] 0 0 0 -1 -1 #> [247,] 0 0 0 -1 -1 #> [248,] 0 0 0 -1 -1 #> [249,] 0 0 0 -1 -1 #> [250,] 0 0 0 -1 -1 #> [251,] 0 0 0 -1 -1 #> [252,] 0 0 0 -1 -1 #> [253,] 0 0 0 -1 -1 #> [254,] 0 0 0 -1 -1 #> [255,] 0 0 0 -1 -1 #> [256,] 0 0 0 -1 -1 #> [257,] 0 0 0 -1 -1 #> [258,] 0 0 0 -1 -1 #> [259,] 0 0 0 -1 -1 #> [260,] 0 0 0 -1 -1 #> [261,] 0 0 0 -1 -1 #> [262,] 0 0 0 -1 -1 #> [263,] 0 0 0 -1 -1 #> [264,] 0 0 0 -1 -1 #> [265,] 0 0 0 -1 -1 #> [266,] 0 0 0 -1 -1 #> [267,] 0 0 0 -1 -1 #> [268,] 0 0 0 -1 -1 #> [269,] 0 0 0 -1 -1 #> [270,] 0 0 0 -1 -1 #> [271,] 0 0 0 -1 -1 #> [272,] 0 0 0 -1 -1 #> [273,] 0 0 0 -1 -1 #> [274,] 0 0 0 -1 -1 #> [275,] 0 0 0 -1 -1 #> [276,] 0 0 0 -1 -1 #> [277,] 0 0 1 -1 -1 #> [278,] 0 0 0 -1 -1 #> [279,] 0 0 0 -1 -1 #> [280,] 0 0 0 -1 0 #> [281,] 0 0 0 -1 0 #> [282,] 0 0 0 -1 0 #> [283,] 0 0 0 -1 0 #> [284,] 0 0 0 -1 0 #> [285,] 0 0 0 -1 0 #> [286,] 0 0 0 -1 0 #> [287,] 0 0 0 -1 0 #> [288,] 0 0 0 -1 0 #> [289,] 0 0 0 -1 0 #> [290,] 0 0 0 -1 0 #> [291,] 0 0 0 -1 0 #> [292,] 0 0 0 -1 0 #> [293,] 0 0 0 -1 0 #> [294,] 0 0 0 -1 0 #> [295,] 0 0 0 -1 0 #> [296,] 0 0 0 -1 0 #> [297,] 0 0 0 -1 0 #> [298,] 0 0 0 -1 0 #> [299,] 0 0 0 -1 0 #> [300,] 0 0 0 -1 0 #> [301,] 0 0 0 -1 0 #> [302,] 0 0 0 -1 0 #> [303,] 0 0 0 -1 0 #> [304,] 0 0 0 -1 0 #> [305,] 0 0 0 -1 0 #> [306,] 0 0 0 -1 0 #> [307,] 0 0 0 -1 0 #> [308,] 0 0 0 -1 0 #> [309,] 0 0 0 -1 0 #> [310,] 0 0 0 -1 0 #> [311,] 0 0 0 -1 0 #> [312,] 0 0 0 -1 0 #> [313,] 0 0 0 -1 0 #> [314,] 0 0 0 -1 0 #> [315,] 0 0 0 -1 0 #> [316,] 0 0 0 -1 0 #> [317,] 0 0 0 -1 0 #> [318,] 0 0 0 -1 0 #> [319,] 0 0 0 -1 0 #> [320,] 0 0 0 -1 0 #> [321,] 0 0 0 -1 0 #> [322,] 0 0 0 -1 0 #> [323,] 0 0 0 -1 0 #> [324,] 0 0 0 -1 0 #> [325,] 0 0 0 -1 0 #> [326,] 0 0 0 -1 0 #> [327,] 0 0 0 -1 0 #> [328,] 0 0 0 -1 0 #> [329,] 0 0 0 -1 0 #> [330,] 0 0 0 -1 0 #> [331,] 0 0 0 -1 0 #> [332,] 0 0 0 -1 0 #> [333,] 0 0 0 -1 0 #> [334,] 0 0 0 -1 0 #> [335,] 0 0 0 -1 0 #> [336,] 0 0 0 -1 0 #> [337,] 0 0 0 -1 0 #> [338,] 0 0 0 -1 0 #> [339,] 0 0 0 -1 0 #> [340,] 0 0 0 -1 0 #> [341,] 0 0 0 -1 0 #> [342,] 0 0 0 -1 0 #> [343,] 0 0 0 -1 0 #> [344,] 0 0 0 -1 0 #> [345,] 0 0 0 -1 0 #> [346,] 0 0 0 -1 0 #> [347,] 0 0 0 -1 0 #> [348,] 0 0 0 -1 0 #> [349,] 0 0 0 -1 0 #> [350,] 0 0 0 -1 0 #> [351,] 0 0 0 -1 0 #> [352,] 0 0 0 -1 0 #> [353,] 0 0 0 -1 0 #> [354,] 0 0 0 -1 0 #> [355,] 0 0 0 -1 0 #> [356,] 0 0 0 -1 0 #> [357,] 0 0 0 -1 0 #> [358,] 0 0 0 -1 0 #> [359,] 0 0 0 -1 0 #> [360,] 0 0 0 -1 0 #> [361,] 0 0 0 -1 0 #> [362,] 0 0 0 -1 0 #> [363,] 0 0 0 -1 0 #> [364,] 0 0 0 -1 0 #> [365,] 0 0 0 -1 0 #> [366,] 0 0 0 -1 0 #> [367,] 0 0 0 -1 0 #> [368,] 0 0 0 -1 0 #> [369,] 0 0 0 -1 0 #> [370,] 0 0 0 -1 0 #> [371,] 0 0 0 -1 0 #> [372,] 0 0 0 -1 0 #> [373,] 0 0 0 -1 0 #> [374,] 0 0 0 -1 0 #> [375,] 0 0 0 -1 0 #> [376,] 0 0 0 -1 0 #> [377,] 0 0 0 -1 0 #> [378,] 0 0 0 -1 0 #> [379,] 0 0 0 -1 0 #> [380,] 0 0 0 -1 0 #> [381,] 0 0 0 -1 0 #> [382,] 0 0 0 -1 0 #> [383,] 0 0 0 -1 0 #> [384,] 0 0 0 -1 0 #> [385,] 0 0 0 -1 0 #> [386,] 0 0 0 -1 0 #> [387,] 0 0 0 -1 0 #> [388,] 0 0 0 -1 0 #> [389,] 0 0 0 -1 0 #> [390,] 0 0 0 -1 0 #> [391,] 0 0 0 -1 0 #> [392,] 0 0 0 -1 0 #> [393,] 0 0 0 -1 0 #> [394,] 0 0 0 -1 0 #> [395,] 0 0 0 -1 0 #> [396,] 0 0 0 -1 0 #> [397,] 0 0 0 -1 0 #> [398,] 0 0 0 -1 0 #> [399,] 0 0 0 -1 0 #> [400,] 0 0 0 0 0 #> [401,] 0 0 0 0 0 #> [402,] 0 0 0 0 0 #> [403,] 0 0 0 0 0 #> [404,] 0 0 0 0 0 #> [405,] 0 0 0 0 0 #> [406,] 0 0 0 0 0 #> [407,] 0 0 0 0 0 #> [408,] 0 0 0 0 0 #> [409,] 0 0 0 0 0 #> [410,] 0 0 0 0 0 #> [411,] 0 0 0 0 0 #> [412,] 0 0 0 0 0 #> [413,] 0 0 0 0 0 #> [414,] 0 0 0 0 0 #> [415,] 0 0 0 0 0 #> [416,] 0 0 0 0 0 #> [417,] 0 0 0 0 0 #> [418,] 0 0 0 0 0 #> [419,] 0 0 0 0 0 #> [420,] 0 0 0 0 0 #> [421,] 0 0 0 0 0 #> [422,] 0 0 0 0 0 #> [423,] 0 0 0 0 0 #> [424,] 0 0 0 0 0 #> [425,] 0 0 0 0 0 #> #> $model$b #> [1] -210.91745 199.66569 -192.39785 84.32270 -77.78577 #> #> $model$bcov #> [,1] [,2] [,3] [,4] [,5] #> [1,] 1.258544e+03 5.076022e+01 -8.906666e-01 -1.197400e-05 -0.827996523 #> [2,] 5.076022e+01 1.258545e+03 -9.422003e-01 -1.454505e-05 -1.048251277 #> [3,] -8.906666e-01 -9.422003e-01 1.322416e+03 5.431398e-04 155.010519468 #> [4,] -1.197400e-05 -1.454505e-05 5.431398e-04 3.654102e+02 0.004446791 #> [5,] -8.279965e-01 -1.048251e+00 1.550105e+02 4.446791e-03 364.501084888 #> #> $model$linearized #> [1] 466.6369 509.1369 450.3369 465.6369 444.9369 471.6369 459.2369 #> [8] 529.4369 895.8369 385.7369 384.5369 478.6369 509.9369 517.1369 #> [15] 468.9369 474.8369 464.7369 489.2369 491.8369 575.2369 970.2369 #> [22] 421.2369 421.0369 491.2369 493.8369 604.4369 506.9369 549.9369 #> [29] 509.9369 529.3369 563.1369 629.7369 1045.9369 522.8369 459.0369 #> [36] 532.3369 594.2369 706.8369 568.3369 609.3369 589.0369 569.6369 #> [43] 643.6369 703.6369 1194.0369 577.0369 484.7369 553.9369 600.8369 #> [50] 758.1369 559.9369 669.7369 587.6369 668.4369 672.1369 707.4369 #> [57] 1374.4369 620.4369 519.7369 606.4369 680.6369 720.5369 677.0369 #> [64] 727.4369 608.1369 678.8369 715.6369 749.7369 1466.6369 637.5369 #> [71] 557.6369 684.6369 722.2369 747.3369 728.5369 690.0369 657.4369 #> [78] 729.8369 736.1369 876.8369 1576.5369 638.0369 558.5369 725.5369 #> [85] 704.1369 771.3369 792.8369 721.6369 730.3369 764.4369 758.2369 #> [92] 930.3369 1575.9369 684.7369 592.7369 733.3369 750.6369 822.0369 #> [99] 838.9369 716.8369 765.9369 747.6369 793.1369 938.0369 1569.6369 #> [106] 700.5369 611.2369 725.7369 754.7369 834.7369 753.4369 801.0369 #> [113] 776.9369 748.0369 865.1369 951.2369 1606.8369 746.5369 672.4369 #> [120] 708.0369 837.9369 885.1369 832.5369 794.7369 730.1369 826.3369 #> [127] 909.0369 975.1369 1657.4369 768.6369 649.5369 760.6369 847.2369 #> [134] 913.1369 893.6369 778.0369 735.2369 851.2369 893.4369 976.5369 #> [141] 1717.0369 752.2369 670.9369 828.0369 838.2369 914.5369 919.1369 #> [148] 789.4369 805.3369 893.5369 941.1369 1006.9369 1824.0369 758.9369 #> [155] 689.0369 817.7369 912.5369 933.7369 913.3369 887.1369 880.4369 #> [162] 863.3369 927.1369 1073.9369 1863.7369 839.6369 743.6369 818.5369 #> [169] 901.7369 969.3369 915.1369 914.5369 895.4369 840.2369 940.2369 #> [176] 1088.1369 1844.1369 847.4369 733.9369 864.4369 855.5369 1001.3369 #> [183] 836.7369 977.6369 842.5369 945.6369 983.4369 1117.8369 1885.6369 #> [190] 923.8369 722.7369 829.4369 976.6369 976.7369 855.9369 1048.8369 #> [197] 876.4369 945.9369 1027.8369 1144.2369 1982.2369 948.5369 744.9369 #> [204] 909.7369 959.7369 1017.7369 900.9369 1061.0369 906.0369 1008.8369 #> [211] 1050.2369 1213.7369 2076.1369 931.4369 804.7369 908.4369 1031.2369 #> [218] 1058.8369 972.3712 1076.7544 1015.7369 1061.1369 1076.9369 1239.0369 #> [225] 2184.0369 978.4369 821.1369 1024.0369 1045.7369 1130.0369 1031.4369 #> [232] 1107.3369 969.5369 1019.4369 1138.5369 1351.3369 2276.0369 1034.4369 #> [239] 847.9369 1050.4369 1081.8369 1197.4369 1149.5369 1082.2369 1072.4369 #> [246] 1066.6369 1217.9369 1501.6369 2345.1369 1105.8369 907.0369 1099.2369 #> [253] 1228.9369 1243.6369 1244.4369 1188.5369 1107.7369 1204.7369 1322.6369 #> [260] 1534.7369 2430.7369 1189.4369 996.3369 1137.9369 1283.6369 1286.8369 #> [267] 1390.6369 1312.4369 1173.3369 1324.4369 1364.8369 1543.2369 2507.3369 #> [274] 1252.8369 1043.8369 1307.3369 1352.6348 1270.7369 1460.7369 1374.4227 #> [281] 1295.0227 1362.1227 1398.7227 1624.7227 2620.3227 1278.0227 1122.0227 #> [288] 1288.8227 1432.9227 1351.9227 1513.3227 1496.3227 1323.5227 1303.4227 #> [295] 1428.9227 1707.6227 2695.4227 1351.6227 1131.3227 1415.9227 1386.9227 #> [302] 1449.4227 1575.8227 1546.6227 1399.8227 1437.6227 1524.9227 1772.2227 #> [309] 2831.3227 1482.1227 1224.8227 1436.0227 1480.9227 1505.4227 1485.9227 #> [316] 1666.6227 1352.7227 1467.6227 1536.7227 1760.2227 2970.4227 1535.3227 #> [323] 1140.9227 1471.2227 1593.4227 1603.7227 1584.8227 1655.0227 1425.8227 #> [330] 1484.2227 1618.6227 1820.9227 2879.4227 1553.4227 1196.2227 1464.2227 #> [337] 1474.0227 1511.5227 1635.7227 1665.3227 1408.3227 1506.3227 1549.2227 #> [344] 1789.8227 2836.7227 1496.9227 1201.8227 1405.9227 1556.9227 1493.2227 #> [351] 1556.2227 1616.8227 1377.8227 1430.0227 1489.0227 1744.3227 2814.8227 #> [358] 1446.7227 1216.0227 1433.5227 1475.5227 1541.2227 1700.7227 1507.7227 #> [365] 1443.3227 1452.1227 1526.9227 1757.2227 2837.6227 1481.7227 1197.9227 #> [372] 1481.6227 1423.4227 1526.2227 1621.7227 1474.9227 1421.5227 1443.7227 #> [379] 1547.6227 1753.2227 2809.8227 1535.3227 1149.2227 1377.5227 1527.2227 #> [386] 1496.1227 1545.9227 1585.9227 1338.5227 1440.7227 1563.0227 1772.0227 #> [393] 2841.2227 1555.5227 1138.1227 1451.5227 1526.5227 1513.0227 1565.2227 #> [400] 1540.9000 1331.9000 1400.1000 1566.3000 1730.5000 2913.6000 1519.2000 #> [407] 1155.8000 1451.5000 1451.0000 1449.7000 1596.1000 1468.3000 1293.9000 #> [414] 1393.5000 1497.4000 1684.3000 2850.4000 1428.5000 1092.4000 1370.3000 #> [421] 1522.6000 1452.4000 1557.2000 1445.5000 1303.1000 #> #> #> $likelihood #> $likelihood$initial #> $likelihood$initial$ll #> [1] -2218.964 #> #> $likelihood$initial$ssq #> [1] 1139531 #> #> $likelihood$initial$nobs #> [1] 425 #> #> $likelihood$initial$neffective #> [1] -1 #> #> $likelihood$initial$nparams #> [1] 3 #> #> $likelihood$initial$df #> [1] 409 #> #> $likelihood$initial$aic #> [1] 4443.928 #> #> $likelihood$initial$aicc #> [1] 4443.987 #> #> $likelihood$initial$bic #> [1] 4455.991 #> #> $likelihood$initial$bic2 #> [1] 10.81551 #> #> $likelihood$initial$bicc #> [1] 7.954332 #> #> $likelihood$initial$hannanquinn #> [1] 4448.7 #> #> #> $likelihood$final #> $likelihood$final$ll #> [1] -2167.948 #> #> $likelihood$final$ssq #> [1] 892303.8 #> #> $likelihood$final$nobs #> [1] 425 #> #> $likelihood$final$neffective #> [1] -1 #> #> $likelihood$final$nparams #> [1] 6 #> #> $likelihood$final$df #> [1] 406 #> #> $likelihood$final$aic #> [1] 4347.896 #> #> $likelihood$final$aicc #> [1] 4348.104 #> #> $likelihood$final$bic #> [1] 4372.023 #> #> $likelihood$final$bic2 #> [1] 10.61171 #> #> $likelihood$final$bicc #> [1] 7.753609 #> #> $likelihood$final$hannanquinn #> [1] 4357.439 #> #> #> #> attr(,\"class\") #> [1] \"JD3_REGARIMA_OUTLIERS\""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":null,"dir":"Reference","previous_headings":"","what":"Display a list of all the available output objects — userdefined_variables_x13","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"Function generating comprehensive list available output variables (series, parameters, diagnostics) estimation process x13(), regarima() x11() functions. items available default estimation output remainder can added using userdefined parameter. User-defined objects can retrieved list lists generated estimation process","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"","code":"userdefined_variables_x13(x = c(\"X-13\", \"RegArima\", \"X-11\"))"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"x character indicate estimation function output items list displayed.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"vector containing names available output objects (series, diagnostics, parameters)","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"information examples related 'JDemetra+' features online documentation: https://jdemetra-new-documentation.netlify.app/","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/userdefined_variables_x13.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Display a list of all the available output objects — userdefined_variables_x13","text":"","code":"userdefined_variables_x13(\"x13\") #> [1] \"adjust\" #> [2] \"arima.bd\" #> [3] \"arima.bp\" #> [4] \"arima.bphi(*)\" #> [5] \"arima.bq\" #> [6] \"arima.btheta(*)\" #> [7] \"arima.d\" #> [8] \"arima.p\" #> [9] \"arima.phi(*)\" #> [10] \"arima.q\" #> [11] \"arima.theta(*)\" #> [12] \"benchmarking.original\" #> [13] \"benchmarking.result\" #> [14] \"benchmarking.target\" #> [15] \"cal\" #> [16] \"cal_b\" #> [17] \"cal_b(?)\" #> [18] \"cal_f\" #> [19] \"cal_f(?)\" #> [20] \"decomposition.b1\" #> [21] \"decomposition.b10\" #> [22] \"decomposition.b11\" #> [23] \"decomposition.b13\" #> [24] \"decomposition.b17\" #> [25] \"decomposition.b2\" #> [26] \"decomposition.b20\" #> [27] \"decomposition.b3\" #> [28] \"decomposition.b4\" #> [29] \"decomposition.b5\" #> [30] \"decomposition.b6\" #> [31] \"decomposition.b7\" #> [32] \"decomposition.b8\" #> [33] \"decomposition.b9\" #> [34] \"decomposition.c1\" #> [35] \"decomposition.c10\" #> [36] \"decomposition.c11\" #> [37] \"decomposition.c13\" #> [38] \"decomposition.c17\" #> [39] \"decomposition.c2\" #> [40] \"decomposition.c20\" #> [41] \"decomposition.c4\" #> [42] \"decomposition.c5\" #> [43] \"decomposition.c6\" #> [44] \"decomposition.c7\" #> [45] \"decomposition.c9\" #> [46] \"decomposition.d1\" #> [47] \"decomposition.d10\" #> [48] \"decomposition.d11\" #> [49] \"decomposition.d12\" #> [50] \"decomposition.d13\" #> [51] \"decomposition.d2\" #> [52] \"decomposition.d4\" #> [53] \"decomposition.d5\" #> [54] \"decomposition.d6\" #> [55] \"decomposition.d7\" #> [56] \"decomposition.d8\" #> [57] \"decomposition.d9\" #> [58] \"decomposition.d9-global-msr\" #> [59] \"decomposition.d9-msr\" #> [60] \"decomposition.d9-msr-table\" #> [61] \"decomposition.i_cmp\" #> [62] \"decomposition.s_cmp\" #> [63] \"decomposition.s_cmp_b\" #> [64] \"decomposition.s_cmp_f\" #> [65] \"decomposition.sa_cmp\" #> [66] \"decomposition.sa_cmp_b\" #> [67] \"decomposition.sa_cmp_f\" #> [68] \"decomposition.seasonal-filters\" #> [69] \"decomposition.si_cmp\" #> [70] \"decomposition.t_cmp\" #> [71] \"decomposition.t_cmp_b\" #> [72] \"decomposition.t_cmp_f\" #> [73] \"decomposition.trend-filter\" #> [74] \"decomposition.x11-all\" #> [75] \"decomposition.y_cmp\" #> [76] \"decomposition.y_cmp_b\" #> [77] \"decomposition.y_cmp_f\" #> [78] \"det\" #> [79] \"det_b(?)\" #> [80] \"det_f(?)\" #> [81] \"det_i\" #> [82] \"det_i_b(?)\" #> [83] \"det_i_f(?)\" #> [84] \"det_s\" #> [85] \"det_s_b(?)\" #> [86] \"det_s_f(?)\" #> [87] \"det_t\" #> [88] \"det_t_b(?)\" #> [89] \"det_t_f(?)\" #> [90] \"diagnostics.fcast-insample-mean\" #> [91] \"diagnostics.fcast-outsample-mean\" #> [92] \"diagnostics.fcast-outsample-variance\" #> [93] \"diagnostics.seas-i-combined\" #> [94] \"diagnostics.seas-i-combined3\" #> [95] \"diagnostics.seas-i-evolutive\" #> [96] \"diagnostics.seas-i-f\" #> [97] \"diagnostics.seas-i-friedman\" #> [98] \"diagnostics.seas-i-kw\" #> [99] \"diagnostics.seas-i-periodogram\" #> [100] \"diagnostics.seas-i-qs\" #> [101] \"diagnostics.seas-i-spectralpeaks\" #> [102] \"diagnostics.seas-i-stable\" #> [103] \"diagnostics.seas-lin-combined\" #> [104] \"diagnostics.seas-lin-evolutive\" #> [105] \"diagnostics.seas-lin-f\" #> [106] \"diagnostics.seas-lin-friedman\" #> [107] \"diagnostics.seas-lin-kw\" #> [108] \"diagnostics.seas-lin-periodogram\" #> [109] \"diagnostics.seas-lin-qs\" #> [110] \"diagnostics.seas-lin-spectralpeaks\" #> [111] \"diagnostics.seas-lin-stable\" #> [112] \"diagnostics.seas-res-combined\" #> [113] \"diagnostics.seas-res-combined3\" #> [114] \"diagnostics.seas-res-evolutive\" #> [115] \"diagnostics.seas-res-f\" #> [116] \"diagnostics.seas-res-friedman\" #> [117] \"diagnostics.seas-res-kw\" #> [118] \"diagnostics.seas-res-periodogram\" #> [119] \"diagnostics.seas-res-qs\" #> [120] \"diagnostics.seas-res-spectralpeaks\" #> [121] \"diagnostics.seas-res-stable\" #> [122] \"diagnostics.seas-sa-ac1\" #> [123] \"diagnostics.seas-sa-combined\" #> [124] \"diagnostics.seas-sa-combined3\" #> [125] \"diagnostics.seas-sa-evolutive\" #> [126] \"diagnostics.seas-sa-f\" #> [127] \"diagnostics.seas-sa-friedman\" #> [128] \"diagnostics.seas-sa-kw\" #> [129] \"diagnostics.seas-sa-periodogram\" #> [130] \"diagnostics.seas-sa-qs\" #> [131] \"diagnostics.seas-sa-spectralpeaks\" #> [132] \"diagnostics.seas-sa-stable\" #> [133] \"diagnostics.seas-si-combined\" #> [134] \"diagnostics.seas-si-combined3\" #> [135] \"diagnostics.seas-si-evolutive\" #> [136] \"diagnostics.seas-si-stable\" #> [137] \"diagnostics.td-i-all\" #> [138] \"diagnostics.td-i-last\" #> [139] \"diagnostics.td-res-all\" #> [140] \"diagnostics.td-res-last\" #> [141] \"diagnostics.td-sa-all\" #> [142] \"diagnostics.td-sa-last\" #> [143] \"ee\" #> [144] \"ee_b(?)\" #> [145] \"ee_f(?)\" #> [146] \"finals.d11\" #> [147] \"finals.d11a\" #> [148] \"finals.d11b\" #> [149] \"finals.d12\" #> [150] \"finals.d12a\" #> [151] \"finals.d12b\" #> [152] \"finals.d13\" #> [153] \"finals.d16\" #> [154] \"finals.d16a\" #> [155] \"finals.d16b\" #> [156] \"finals.d18\" #> [157] \"finals.d18a\" #> [158] \"finals.d18b\" #> [159] \"finals.e1\" #> [160] \"finals.e11\" #> [161] \"finals.e2\" #> [162] \"finals.e3\" #> [163] \"i\" #> [164] \"l\" #> [165] \"likelihood.adjustedll\" #> [166] \"likelihood.aic\" #> [167] \"likelihood.aicc\" #> [168] \"likelihood.bic\" #> [169] \"likelihood.bic2\" #> [170] \"likelihood.bicc\" #> [171] \"likelihood.df\" #> [172] \"likelihood.hannanquinn\" #> [173] \"likelihood.ll\" #> [174] \"likelihood.neffectiveobs\" #> [175] \"likelihood.nobs\" #> [176] \"likelihood.nparams\" #> [177] \"likelihood.ssqerr\" #> [178] \"log\" #> [179] \"m-statistics.m1\" #> [180] \"m-statistics.m10\" #> [181] \"m-statistics.m11\" #> [182] \"m-statistics.m2\" #> [183] \"m-statistics.m3\" #> [184] \"m-statistics.m4\" #> [185] \"m-statistics.m5\" #> [186] \"m-statistics.m6\" #> [187] \"m-statistics.m7\" #> [188] \"m-statistics.m8\" #> [189] \"m-statistics.m9\" #> [190] \"m-statistics.q\" #> [191] \"m-statistics.q-m2\" #> [192] \"mhe\" #> [193] \"mhe_b(?)\" #> [194] \"mhe_f(?)\" #> [195] \"omhe\" #> [196] \"omhe_b(?)\" #> [197] \"omhe_f(?)\" #> [198] \"out\" #> [199] \"out_b(?)\" #> [200] \"out_f(?)\" #> [201] \"out_i\" #> [202] \"out_i_b(?)\" #> [203] \"out_i_f(?)\" #> [204] \"out_s\" #> [205] \"out_s_b(?)\" #> [206] \"out_s_f(?)\" #> [207] \"out_t\" #> [208] \"out_t_b(?)\" #> [209] \"out_t_f(?)\" #> [210] \"period\" #> [211] \"preadjustment.a1\" #> [212] \"preadjustment.a1a\" #> [213] \"preadjustment.a1b\" #> [214] \"preadjustment.a6\" #> [215] \"preadjustment.a7\" #> [216] \"preadjustment.a8\" #> [217] \"preadjustment.a8i\" #> [218] \"preadjustment.a8s\" #> [219] \"preadjustment.a8t\" #> [220] \"preadjustment.a9\" #> [221] \"preadjustment.a9sa\" #> [222] \"preadjustment.a9ser\" #> [223] \"preadjustment.a9u\" #> [224] \"reg_i\" #> [225] \"reg_i_b(?)\" #> [226] \"reg_i_f(?)\" #> [227] \"reg_s\" #> [228] \"reg_s_b(?)\" #> [229] \"reg_s_f(?)\" #> [230] \"reg_sa\" #> [231] \"reg_sa_b(?)\" #> [232] \"reg_sa_f(?)\" #> [233] \"reg_t\" #> [234] \"reg_t_b(?)\" #> [235] \"reg_t_f(?)\" #> [236] \"reg_u\" #> [237] \"reg_u_b(?)\" #> [238] \"reg_u_f(?)\" #> [239] \"reg_y\" #> [240] \"reg_y_b(?)\" #> [241] \"reg_y_f(?)\" #> [242] \"regression.description\" #> [243] \"regression.details.coefficients\" #> [244] \"regression.details.covar\" #> [245] \"regression.details.covar-ml\" #> [246] \"regression.easter\" #> [247] \"regression.espan.end\" #> [248] \"regression.espan.missing\" #> [249] \"regression.espan.n\" #> [250] \"regression.espan.start\" #> [251] \"regression.leaster\" #> [252] \"regression.lp\" #> [253] \"regression.mean\" #> [254] \"regression.missing(*)\" #> [255] \"regression.ml.parameters\" #> [256] \"regression.ml.pcorr\" #> [257] \"regression.ml.pcovar\" #> [258] \"regression.ml.pcovar-ml\" #> [259] \"regression.ml.pscore\" #> [260] \"regression.mu\" #> [261] \"regression.nao\" #> [262] \"regression.nlp\" #> [263] \"regression.nls\" #> [264] \"regression.nmh\" #> [265] \"regression.nout\" #> [266] \"regression.nso\" #> [267] \"regression.ntc\" #> [268] \"regression.ntd\" #> [269] \"regression.nusers\" #> [270] \"regression.out(*)\" #> [271] \"regression.outlier(*)\" #> [272] \"regression.td(*)\" #> [273] \"regression.type\" #> [274] \"regression.user(*)\" #> [275] \"residuals.bp\" #> [276] \"residuals.bp2\" #> [277] \"residuals.doornikhansen\" #> [278] \"residuals.kurtosis\" #> [279] \"residuals.lb\" #> [280] \"residuals.lb2\" #> [281] \"residuals.lruns\" #> [282] \"residuals.ludruns\" #> [283] \"residuals.mean\" #> [284] \"residuals.nruns\" #> [285] \"residuals.nudruns\" #> [286] \"residuals.res\" #> [287] \"residuals.seasbp\" #> [288] \"residuals.seaslb\" #> [289] \"residuals.ser\" #> [290] \"residuals.skewness\" #> [291] \"residuals.tsres\" #> [292] \"residuals.type\" #> [293] \"s\" #> [294] \"s_b\" #> [295] \"s_f\" #> [296] \"sa\" #> [297] \"sa_b\" #> [298] \"sa_f\" #> [299] \"span.end\" #> [300] \"span.missing\" #> [301] \"span.n\" #> [302] \"span.start\" #> [303] \"t\" #> [304] \"t_b\" #> [305] \"t_f\" #> [306] \"tde\" #> [307] \"tde_b(?)\" #> [308] \"tde_f(?)\" #> [309] \"variancedecomposition.cycle\" #> [310] \"variancedecomposition.irregular\" #> [311] \"variancedecomposition.others\" #> [312] \"variancedecomposition.seasonality\" #> [313] \"variancedecomposition.tdh\" #> [314] \"variancedecomposition.total\" #> [315] \"y\" #> [316] \"y_b\" #> [317] \"y_b(?)\" #> [318] \"y_eb(?)\" #> [319] \"y_ef(?)\" #> [320] \"y_f\" #> [321] \"y_f(?)\" #> [322] \"yc\" #> [323] \"ycal\" #> [324] \"ycal_f(?)\" userdefined_variables_x13(\"regarima\") #> [1] \"adjust\" \"arima.bd\" #> [3] \"arima.bp\" \"arima.bphi(*)\" #> [5] \"arima.bq\" \"arima.btheta(*)\" #> [7] \"arima.d\" \"arima.p\" #> [9] \"arima.phi(*)\" \"arima.q\" #> [11] \"arima.theta(*)\" \"cal\" #> [13] \"cal_b(?)\" \"cal_f(?)\" #> [15] \"det\" \"det_b(?)\" #> [17] \"det_f(?)\" \"det_i\" #> [19] \"det_i_b(?)\" \"det_i_f(?)\" #> [21] \"det_s\" \"det_s_b(?)\" #> [23] \"det_s_f(?)\" \"det_t\" #> [25] \"det_t_b(?)\" \"det_t_f(?)\" #> [27] \"ee\" \"ee_b(?)\" #> [29] \"ee_f(?)\" \"l\" #> [31] \"likelihood.adjustedll\" \"likelihood.aic\" #> [33] \"likelihood.aicc\" \"likelihood.bic\" #> [35] \"likelihood.bic2\" \"likelihood.bicc\" #> [37] \"likelihood.df\" \"likelihood.hannanquinn\" #> [39] \"likelihood.ll\" \"likelihood.neffectiveobs\" #> [41] \"likelihood.nobs\" \"likelihood.nparams\" #> [43] \"likelihood.ssqerr\" \"log\" #> [45] \"mhe\" \"mhe_b(?)\" #> [47] \"mhe_f(?)\" \"omhe\" #> [49] \"omhe_b(?)\" \"omhe_f(?)\" #> [51] \"out\" \"out_b(?)\" #> [53] \"out_f(?)\" \"out_i\" #> [55] \"out_i_b(?)\" \"out_i_f(?)\" #> [57] \"out_s\" \"out_s_b(?)\" #> [59] \"out_s_f(?)\" \"out_t\" #> [61] \"out_t_b(?)\" \"out_t_f(?)\" #> [63] \"period\" \"reg_i\" #> [65] \"reg_i_b(?)\" \"reg_i_f(?)\" #> [67] \"reg_s\" \"reg_s_b(?)\" #> [69] \"reg_s_f(?)\" \"reg_sa\" #> [71] \"reg_sa_b(?)\" \"reg_sa_f(?)\" #> [73] \"reg_t\" \"reg_t_b(?)\" #> [75] \"reg_t_f(?)\" \"reg_u\" #> [77] \"reg_u_b(?)\" \"reg_u_f(?)\" #> [79] \"reg_y\" \"reg_y_b(?)\" #> [81] \"reg_y_f(?)\" \"regression.description\" #> [83] \"regression.details.coefficients\" \"regression.details.covar\" #> [85] \"regression.details.covar-ml\" \"regression.easter\" #> [87] \"regression.espan.end\" \"regression.espan.missing\" #> [89] \"regression.espan.n\" \"regression.espan.start\" #> [91] \"regression.leaster\" \"regression.lp\" #> [93] \"regression.mean\" \"regression.missing(*)\" #> [95] \"regression.ml.parameters\" \"regression.ml.pcorr\" #> [97] \"regression.ml.pcovar\" \"regression.ml.pcovar-ml\" #> [99] \"regression.ml.pscore\" \"regression.mu\" #> [101] \"regression.nao\" \"regression.nlp\" #> [103] \"regression.nls\" \"regression.nmh\" #> [105] \"regression.nout\" \"regression.nso\" #> [107] \"regression.ntc\" \"regression.ntd\" #> [109] \"regression.nusers\" \"regression.out(*)\" #> [111] \"regression.outlier(*)\" \"regression.td(*)\" #> [113] \"regression.type\" \"regression.user(*)\" #> [115] \"residuals.bp\" \"residuals.bp2\" #> [117] \"residuals.doornikhansen\" \"residuals.kurtosis\" #> [119] \"residuals.lb\" \"residuals.lb2\" #> [121] \"residuals.lruns\" \"residuals.ludruns\" #> [123] \"residuals.mean\" \"residuals.nruns\" #> [125] \"residuals.nudruns\" \"residuals.res\" #> [127] \"residuals.seasbp\" \"residuals.seaslb\" #> [129] \"residuals.ser\" \"residuals.skewness\" #> [131] \"residuals.tsres\" \"residuals.type\" #> [133] \"span.end\" \"span.missing\" #> [135] \"span.n\" \"span.start\" #> [137] \"tde\" \"tde_b(?)\" #> [139] \"tde_f(?)\" \"y\" #> [141] \"y_b(?)\" \"y_eb(?)\" #> [143] \"y_ef(?)\" \"y_f(?)\" #> [145] \"yc\" \"ycal\" #> [147] \"ycal_f(?)\" userdefined_variables_x13(\"x11\") #> [1] \"b1\" \"b10\" \"b11\" \"b13\" #> [5] \"b17\" \"b2\" \"b20\" \"b3\" #> [9] \"b4\" \"b5\" \"b6\" \"b7\" #> [13] \"b8\" \"b9\" \"c1\" \"c10\" #> [17] \"c11\" \"c13\" \"c17\" \"c2\" #> [21] \"c20\" \"c4\" \"c5\" \"c6\" #> [25] \"c7\" \"c9\" \"d1\" \"d10\" #> [29] \"d11\" \"d12\" \"d13\" \"d2\" #> [33] \"d4\" \"d5\" \"d6\" \"d7\" #> [37] \"d8\" \"d9\" \"d9-global-msr\" \"d9-msr\" #> [41] \"d9-msr-table\" \"seasonal-filters\" \"trend-filter\" \"x11-all\""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11.html","id":null,"dir":"Reference","previous_headings":"","what":"X-11 Decomposition Algorithm — x11","title":"X-11 Decomposition Algorithm — x11","text":"X-11 Decomposition Algorithm","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"X-11 Decomposition Algorithm — x11","text":"","code":"x11(ts, spec = x11_spec(), userdefined = NULL)"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"X-11 Decomposition Algorithm — x11","text":"ts univariate time series. spec specification. userdefined vector containing additional output variables (see x13_dictionary()).","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"X-11 Decomposition Algorithm — x11","text":"","code":"y <- rjd3toolkit::ABS$X0.2.09.10.M x11_spec <- x11_spec() x11(y, x11_spec) #> Last values #> d1 d2 d4 d5 d6 d7 d8 d9 #> Mar 2017 1370.300 NA NA 0.8961795 1529.046 1549.437 0.8843860 NaN #> Apr 2017 1508.745 NA NA 0.9370285 1610.138 1551.362 0.9814599 0.9725289 #> May 2017 1452.400 NA NA 0.9240579 1571.763 1552.613 0.9354553 NaN #> Jun 2017 1557.200 NA NA 0.9906046 1571.969 1554.256 1.0018939 NaN #> Jul 2017 1451.753 NA NA 0.9669725 1501.339 1554.036 0.9301585 0.9341824 #> Aug 2017 1303.100 NA NA 0.8370380 1556.799 1554.112 0.8384851 NaN #> d10 d11 d12 d13 #> Mar 2017 0.8911974 1537.594 1549.121 0.9925591 #> Apr 2017 0.9472835 1607.333 1550.650 1.0365542 #> May 2017 0.9277056 1565.583 1551.579 1.0090258 #> Jun 2017 0.9945226 1565.776 1552.914 1.0082826 #> Jul 2017 0.9598855 1505.909 1552.756 0.9698294 #> Aug 2017 0.8381839 1554.671 1552.438 1.0014382 x11_spec <- set_x11(x11_spec, henderson.filter = 13) x11(y, x11_spec) #> Last values #> d1 d2 d4 d5 d6 d7 d8 d9 #> Mar 2017 1370.300 NA NA 0.8957968 1529.700 1556.611 0.8803097 NaN #> Apr 2017 1521.625 NA NA 0.9391175 1620.271 1562.636 0.9743791 0.9737554 #> May 2017 1452.400 NA NA 0.9239661 1571.919 1563.794 0.9287669 NaN #> Jun 2017 1557.200 NA NA 0.9916495 1570.313 1560.504 0.9978827 NaN #> Jul 2017 1453.790 NA NA 0.9669146 1503.535 1555.034 0.9295618 0.9348928 #> Aug 2017 1303.100 NA NA 0.8369658 1556.933 1547.539 0.8420469 NaN #> d10 d11 d12 d13 #> Mar 2017 0.8899565 1539.738 1556.256 0.9893865 #> Apr 2017 0.9498667 1602.962 1560.758 1.0270404 #> May 2017 0.9267578 1567.184 1560.959 1.0039883 #> Jun 2017 0.9952607 1564.615 1557.551 1.0045354 #> Jul 2017 0.9607704 1504.522 1552.689 0.9689783 #> Aug 2017 0.8393622 1552.488 1545.113 1.0047731"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11_spec.html","id":null,"dir":"Reference","previous_headings":"","what":"Set X-11 Specification — set_x11","title":"Set X-11 Specification — set_x11","text":"Set X-11 Specification","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11_spec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set X-11 Specification — set_x11","text":"","code":"set_x11( x, mode = c(NA, \"Undefined\", \"Additive\", \"Multiplicative\", \"LogAdditive\", \"PseudoAdditive\"), seasonal.comp = NA, seasonal.filter = NA, henderson.filter = NA, lsigma = NA, usigma = NA, fcasts = NA, bcasts = NA, calendar.sigma = c(NA, \"None\", \"Signif\", \"All\", \"Select\"), sigma.vector = NA, exclude.forecast = NA, bias = c(NA, \"LEGACY\") )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11_spec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set X-11 Specification — set_x11","text":"x specification modified, object class \"JD3_X11_SPEC\", default X11 spec can obtained 'x=x11_spec()' mode character: decomposition mode. Determines mode seasonal adjustment decomposition performed: \"Undefined\" - assumption concerning relationship time series components made; \"Additive\" - assumes additive relationship; \"Multiplicative\" - assumes multiplicative relationship; \"LogAdditive\" - performs additive decomposition logarithms series adjusted; \"PseudoAdditive\" - assumes pseudo-additive relationship. changed program, needed. seasonal.comp logical: TRUE, program computes seasonal component. Otherwise, seasonal component estimated values set 0 (additive decomposition) 1 (multiplicative decomposition). seasonal.filter vector character(s) specifying seasonal moving average (.e. seasonal filter) used estimate seasonal factors entire series. vector can length: 1 - seasonal filter used periods (e.g.: seasonal.filter = \"Msr\" seasonal.filter = \"S3X3\" ); different value quarter (length 4) month (length 12) - (e.g. quarterly series: seasonal.filter = c(\"S3X3\", \"Msr\", \"S3X3\", \"Msr\")). Possible filters : \"Msr\", \"Stable\", \"X11Default\", \"S3X1\", \"S3X3\", \"S3X5\", \"S3X9\", \"S3X15\". \"Msr\" - program chooses final seasonal filter automatically. henderson.filter numeric: length Henderson filter (odd number 3 101). henderson.filter = 0 automatic selection Henderson filter's length trend estimation enabled. lsigma numeric: lower sigma boundary detection extreme values, > 0.5, default=1.5. usigma numeric: upper sigma boundary detection extreme values, > lsigma, default=2.5. bcasts, fcasts numeric: number backasts (bcasts) forecasts (fcasts) generated RegARIMA model periods (positive values) years (negative values).Default values: fcasts=-1 bcasts=0. calendar.sigma character specify standard errors used extreme values detection adjustment computed: 5 year spans irregulars (\"None\", default value); separately calendar period (\"\"); separately period Cochran's hypothesis test determines irregular component heteroskedastic calendar month/quarter (\"Signif\"); separately two complementary sets calendar months/quarters specified x11.sigmaVector parameter (\"Select\", see parameter sigma.vector). sigma.vector vector specify one two groups periods standard errors used extreme values detection adjustment computed separately. used calendar.sigma = \"Select\". Possible values : 1 2. exclude.forecast Boolean exclude forecasts backcasts. TRUE, RegARIMA model forecasts backcasts used detection extreme values seasonal adjustment routines.Default= FALSE. bias TODO.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11_spec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set X-11 Specification — set_x11","text":"\"JD3_X11_SPEC\" object, containing parameters.","code":""},{"path":[]},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x11_spec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Set X-11 Specification — set_x11","text":"","code":"init_spec <- x11_spec() new_spec <- set_x11(init_spec, mode = \"LogAdditive\", seasonal.comp = 1, seasonal.filter = \"S3X9\", henderson.filter = 7, lsigma = 1.7, usigma = 2.7, fcasts = -1, bcasts = -1, calendar.sigma =\"All\", sigma.vector = NA, exclude.forecast = FALSE, bias = \"LEGACY\")"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13.html","id":null,"dir":"Reference","previous_headings":"","what":"Seasonal Adjustment with X13-ARIMA — x13","title":"Seasonal Adjustment with X13-ARIMA — x13","text":"Seasonal Adjustment X13-ARIMA","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Seasonal Adjustment with X13-ARIMA — x13","text":"","code":"x13( ts, spec = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\"), context = NULL, userdefined = NULL ) x13_fast( ts, spec = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\"), context = NULL, userdefined = NULL ) jx13( ts, spec = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\"), context = NULL, userdefined = NULL )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Seasonal Adjustment with X13-ARIMA — x13","text":"ts univariate time series. spec model specification. Can either name predefined specification user-defined specification. context list external regressors (calendar ) used estimation userdefined vector containing additional output variables (see x13_dictionary()).","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Seasonal Adjustment with X13-ARIMA — x13","text":"x13() function returns list results, estimation specification result specification, x13_fast() faster function returns results. jx13() functions returns results java object allow customize outputs packages (use rjd3toolkit::dictionary() get list variables rjd3toolkit::result() get specific variable). estimation functions x13() x13_fast() can directly use specification name (string). want customize specification create specification object first.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Seasonal Adjustment with X13-ARIMA — x13","text":"","code":"y = rjd3toolkit::ABS$X0.2.09.10.M x13_fast(y,\"rsa3\") #> RegARIMA #> Log-transformation: yes #> SARIMA model: (2,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.38042 0.06517 5.838 #> phi(2) 0.21398 0.06040 3.543 #> theta(1) -0.70246 0.05146 -13.650 #> btheta(1) -0.56259 0.06648 -8.462 #> #> Regression model: #> Estimate Std. Error T-stat #> TC (2000-06-01) 0.15476 0.03158 4.900 #> AO (2000-07-01) -0.29505 0.04425 -6.668 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 7 #> #> Loglikelihood: 720.2196 #> Adjusted loglikelihood: -2147.407 #> #> Standard error of the regression (ML estimate): 0.04181753 #> AIC: 4308.814 #> AICC: 4309.092 #> BIC: 4336.962 #> #> #> Decomposition #> Monitoring and Quality Assessment Statistics: #> M stats #> m1 0.095 #> m2 0.097 #> m3 2.384 #> m4 0.403 #> m5 1.940 #> m6 0.179 #> m7 0.053 #> m8 0.176 #> m9 0.047 #> m10 0.157 #> m11 0.154 #> q 0.560 #> qm2 0.617 #> #> Final filters: #> Seasonal filter: #> Trend filter: 23 terms Henderson moving average #> #> Diagnostics #> Relative contribution of the components to the stationary #> portion of the variance in the original series, #> after the removal of the long term trend (in %) #> #> Component #> cycle 13.259 #> seasonal 86.854 #> irregular 0.970 #> calendar 0.000 #> others 0.299 #> total 101.383 #> #> Residual seasonality tests #> P.value #> seas.ftest.i 0.994 #> seas.ftest.sa 0.999 #> seas.qstest.i 0.045 #> seas.qstest.sa 0.035 #> td.ftest.i 0.000 #> td.ftest.sa 0.000 #> #> #> Final #> Last values #> series sa trend seas irr #> Sep 2016 1393.5 1558.700 1547.466 0.8940140 1.0072601 #> Oct 2016 1497.4 1539.619 1543.359 0.9725785 0.9975766 #> Nov 2016 1684.3 1540.423 1541.287 1.0934011 0.9994390 #> Dec 2016 2850.4 1561.106 1541.060 1.8258848 1.0130078 #> Jan 2017 1428.5 1513.071 1542.061 0.9441065 0.9812005 #> Feb 2017 1092.4 1538.709 1543.697 0.7099456 0.9967689 #> Mar 2017 1370.3 1532.681 1545.484 0.8940545 0.9917157 #> Apr 2017 1522.6 1609.073 1547.232 0.9462594 1.0399684 #> May 2017 1452.4 1563.830 1548.782 0.9287456 1.0097158 #> Jun 2017 1557.2 1561.361 1549.791 0.9973351 1.0074658 #> Jul 2017 1445.5 1519.197 1550.206 0.9514898 0.9799965 #> Aug 2017 1303.1 1554.064 1550.306 0.8385112 1.0024242 x13(y,\"rsa5c\") #> RegARIMA #> Log-transformation: yes #> SARIMA model: (0,1,1) (1,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> theta(1) -0.81551 0.06932 -11.76 #> bphi(1) -0.43410 0.02650 -16.38 #> btheta(1) -0.82463 0.04458 -18.50 #> #> Regression model: #> Estimate Std. Error T-stat #> monday -0.009156 0.003278 -2.793 #> tuesday 0.004523 0.003316 1.364 #> wednesday -0.001181 0.003285 -0.360 #> thursday 0.013349 0.003304 4.040 #> friday -0.001501 0.003313 -0.453 #> saturday 0.014993 0.003293 4.553 #> easter 0.051061 0.006629 7.703 #> TC (2000-06-01) 0.162337 0.026546 6.115 #> AO (2000-07-01) -0.306371 0.032121 -9.538 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 13 #> #> Loglikelihood: 794.8103 #> Adjusted loglikelihood: -2072.816 #> #> Standard error of the regression (ML estimate): 0.03486636 #> AIC: 4171.633 #> AICC: 4172.548 #> BIC: 4223.906 #> #> #> Decomposition #> Monitoring and Quality Assessment Statistics: #> M stats #> m1 0.054 #> m2 0.049 #> m3 1.765 #> m4 0.089 #> m5 1.416 #> m6 0.012 #> m7 0.052 #> m8 0.160 #> m9 0.050 #> m10 0.124 #> m11 0.122 #> q 0.385 #> qm2 0.427 #> #> Final filters: #> Seasonal filter: #> Trend filter: 23 terms Henderson moving average #> #> Diagnostics #> Relative contribution of the components to the stationary #> portion of the variance in the original series, #> after the removal of the long term trend (in %) #> #> Component #> cycle 13.437 #> seasonal 86.536 #> irregular 0.489 #> calendar 0.599 #> others 0.323 #> total 101.383 #> #> Residual seasonality tests #> P.value #> seas.ftest.i 0.977 #> seas.ftest.sa 0.986 #> seas.qstest.i 0.010 #> seas.qstest.sa 0.004 #> td.ftest.i 0.993 #> td.ftest.sa 0.996 #> #> #> Final #> Last values #> series sa trend seas irr #> Sep 2016 1393.5 1544.956 1548.898 0.9019675 0.9974547 #> Oct 2016 1497.4 1569.404 1547.139 0.9541202 1.0143910 #> Nov 2016 1684.3 1523.294 1546.637 1.1056957 0.9849077 #> Dec 2016 2850.4 1536.881 1546.937 1.8546651 0.9934994 #> Jan 2017 1428.5 1547.497 1547.656 0.9231038 0.9998970 #> Feb 2017 1092.4 1545.588 1548.350 0.7067860 0.9982164 #> Mar 2017 1370.3 1556.927 1548.747 0.8801312 1.0052818 #> Apr 2017 1522.6 1587.924 1548.518 0.9588622 1.0254473 #> May 2017 1452.4 1555.232 1547.335 0.9338798 1.0051038 #> Jun 2017 1557.2 1539.880 1545.271 1.0112477 0.9965115 #> Jul 2017 1445.5 1532.110 1542.807 0.9434701 0.9930664 #> Aug 2017 1303.1 1524.546 1540.399 0.8547462 0.9897086 regarima_fast(y,\"rg0\") #> Log-transformation: no #> SARIMA model: (0,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> theta(1) -0.87640 0.02290 -38.275 #> btheta(1) -0.38755 0.05071 -7.642 #> #> No regression variables #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 3 #> #> Loglikelihood: -2218.964 #> Standard error of the regression (ML estimate): 52.59136 #> AIC: 4443.928 #> AICC: 4443.987 #> BIC: 4455.991 #> regarima(y,\"rg3\") #> Log-transformation: yes #> SARIMA model: (2,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.38042 0.06517 5.838 #> phi(2) 0.21398 0.06040 3.543 #> theta(1) -0.70246 0.05146 -13.650 #> btheta(1) -0.56259 0.06648 -8.462 #> #> Regression model: #> Estimate Std. Error T-stat #> TC (2000-06-01) 0.15476 0.03158 4.900 #> AO (2000-07-01) -0.29505 0.04425 -6.668 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 7 #> #> Loglikelihood: 720.2196 #> Adjusted loglikelihood: -2147.407 #> #> Standard error of the regression (ML estimate): 0.04181753 #> AIC: 4308.814 #> AICC: 4309.092 #> BIC: 4336.962 #> sp = x13_spec(\"rsa5c\") sp = rjd3toolkit::add_outlier(sp, type = c(\"AO\"), c(\"2015-01-01\", \"2010-01-01\")) sp = rjd3toolkit::set_transform( rjd3toolkit::set_tradingdays( rjd3toolkit::set_easter(sp, enabled = FALSE), option = \"workingdays\" ), fun = \"None\" ) x13(y,spec=sp) #> RegARIMA #> Log-transformation: no #> SARIMA model: (3,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.16557 0.06461 2.563 #> phi(2) 0.08780 0.06435 1.364 #> phi(3) -0.11287 0.06047 -1.867 #> theta(1) -0.86076 0.03927 -21.918 #> btheta(1) -0.22918 0.05193 -4.413 #> #> Regression model: #> Estimate Std. Error T-stat #> td 1.0015 0.8098 1.237 #> lp 29.6392 11.5469 2.567 #> AO (2010-01-01) 37.0476 34.4300 1.076 #> AO (2015-01-01) 27.9946 35.0234 0.799 #> AO (2000-06-01) 199.7536 34.5756 5.777 #> AO (2000-07-01) -194.6887 34.6240 -5.623 #> LS (2005-04-01) -82.3062 17.4210 -4.725 #> LS (2015-07-01) 81.3334 18.0924 4.495 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 14 #> #> Loglikelihood: -2159.902 #> Standard error of the regression (ML estimate): 45.632 #> AIC: 4347.804 #> AICC: 4348.862 #> BIC: 4404.099 #> #> #> Decomposition #> Monitoring and Quality Assessment Statistics: #> M stats #> m1 0.043 #> m2 0.033 #> m3 1.909 #> m4 0.447 #> m5 1.607 #> m6 0.399 #> m7 0.167 #> m8 0.298 #> m9 0.145 #> m10 0.308 #> m11 0.293 #> q 0.552 #> qm2 0.624 #> #> Final filters: #> Seasonal filter: #> Trend filter: 23 terms Henderson moving average #> #> Diagnostics #> Relative contribution of the components to the stationary #> portion of the variance in the original series, #> after the removal of the long term trend (in %) #> #> Component #> cycle 6.178 #> seasonal 94.402 #> irregular 0.325 #> calendar 0.020 #> others 1.504 #> total 102.429 #> #> Residual seasonality tests #> P.value #> seas.ftest.i 0.902 #> seas.ftest.sa 0.996 #> seas.qstest.i 0.038 #> seas.qstest.sa 0.138 #> td.ftest.i 0.000 #> td.ftest.sa 0.000 #> #> #> Final #> Last values #> series sa trend seas irr #> Sep 2016 1393.5 1567.439 1554.386 -173.938673 13.052790 #> Oct 2016 1497.4 1547.052 1551.116 -49.651713 -4.064205 #> Nov 2016 1684.3 1544.888 1549.070 139.411575 -4.182012 #> Dec 2016 2850.4 1560.255 1548.078 1290.145096 12.177219 #> Jan 2017 1428.5 1529.584 1547.770 -101.084412 -18.185622 #> Feb 2017 1092.4 1552.751 1547.915 -460.350943 4.835817 #> Mar 2017 1370.3 1532.112 1548.227 -161.812246 -16.114386 #> Apr 2017 1522.6 1571.429 1548.386 -48.829077 23.042779 #> May 2017 1452.4 1554.351 1548.282 -101.951014 6.069336 #> Jun 2017 1557.2 1548.139 1547.682 9.061423 0.456243 #> Jul 2017 1445.5 1540.321 1546.422 -94.820887 -6.101117 #> Aug 2017 1303.1 1554.506 1544.648 -251.405622 9.857735 sp = set_x11(sp, henderson.filter = 13) x13_fast(y, spec = sp) #> RegARIMA #> Log-transformation: no #> SARIMA model: (3,1,1) (0,1,1) #> #> Coefficients #> Estimate Std. Error T-stat #> phi(1) 0.16557 0.06461 2.563 #> phi(2) 0.08780 0.06435 1.364 #> phi(3) -0.11287 0.06047 -1.867 #> theta(1) -0.86076 0.03927 -21.918 #> btheta(1) -0.22918 0.05193 -4.413 #> #> Regression model: #> Estimate Std. Error T-stat #> td 1.0015 0.8098 1.237 #> lp 29.6392 11.5469 2.567 #> AO (2010-01-01) 37.0476 34.4300 1.076 #> AO (2015-01-01) 27.9946 35.0234 0.799 #> AO (2000-06-01) 199.7536 34.5756 5.777 #> AO (2000-07-01) -194.6887 34.6240 -5.623 #> LS (2005-04-01) -82.3062 17.4210 -4.725 #> LS (2015-07-01) 81.3334 18.0924 4.495 #> Number of observations: 425 #> Number of effective observations: 412 #> Number of parameters: 14 #> #> Loglikelihood: -2159.902 #> Standard error of the regression (ML estimate): 45.632 #> AIC: 4347.804 #> AICC: 4348.862 #> BIC: 4404.099 #> #> #> Decomposition #> Monitoring and Quality Assessment Statistics: #> M stats #> m1 0.036 #> m2 0.029 #> m3 1.786 #> m4 0.537 #> m5 1.528 #> m6 0.449 #> m7 0.167 #> m8 0.290 #> m9 0.144 #> m10 0.297 #> m11 0.285 #> q 0.533 #> qm2 0.604 #> #> Final filters: #> Seasonal filter: #> Trend filter: 13 terms Henderson moving average #> #> Diagnostics #> Relative contribution of the components to the stationary #> portion of the variance in the original series, #> after the removal of the long term trend (in %) #> #> Component #> cycle 6.227 #> seasonal 94.535 #> irregular 0.290 #> calendar 0.020 #> others 1.506 #> total 102.578 #> #> Residual seasonality tests #> P.value #> seas.ftest.i 0.924 #> seas.ftest.sa 0.997 #> seas.qstest.i 0.018 #> seas.qstest.sa 0.117 #> td.ftest.i 0.000 #> td.ftest.sa 0.000 #> #> #> Final #> Last values #> series sa trend seas irr #> Sep 2016 1393.5 1567.255 1554.069 -173.754955 13.186079 #> Oct 2016 1497.4 1547.824 1551.331 -50.424459 -3.506850 #> Nov 2016 1684.3 1546.128 1548.057 138.172189 -1.929197 #> Dec 2016 2850.4 1557.769 1545.941 1292.630528 11.828053 #> Jan 2017 1428.5 1530.142 1545.777 -101.642006 -15.634829 #> Feb 2017 1092.4 1552.860 1546.573 -460.459760 6.287131 #> Mar 2017 1370.3 1532.029 1548.853 -161.728778 -16.824581 #> Apr 2017 1522.6 1571.073 1551.472 -48.473184 19.601512 #> May 2017 1452.4 1554.849 1552.698 -102.448692 2.151163 #> Jun 2017 1557.2 1550.052 1552.154 7.148413 -2.102681 #> Jul 2017 1445.5 1541.002 1549.653 -95.502435 -8.650144 #> Aug 2017 1303.1 1554.802 1545.625 -251.702019 9.176569"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_dictionary.html","id":null,"dir":"Reference","previous_headings":"","what":"X-13 Dictionary — x13_dictionary","title":"X-13 Dictionary — x13_dictionary","text":"X-13 Dictionary","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_dictionary.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"X-13 Dictionary — x13_dictionary","text":"","code":"x13_dictionary()"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_dictionary.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"X-13 Dictionary — x13_dictionary","text":"vector containing names available output objects (series, diagnostics, parameters).","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_revisions.html","id":null,"dir":"Reference","previous_headings":"","what":"Revisions History — x13_revisions","title":"Revisions History — x13_revisions","text":"Compute revisions history","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_revisions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Revisions History — x13_revisions","text":"","code":"x13_revisions( ts, spec, data_ids = NULL, ts_ids = NULL, cmp_ids = NULL, context = NULL )"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_revisions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Revisions History — x13_revisions","text":"ts time series used estimation. spec specification used. data_ids list list specify statistics export. sub-list must contain two elements: start (first date compute history, format \"YYYY-MM-DD\") id (name statistics, see x13_dictionary()). See example. ts_ids list list specify specific date component whose history studied. sub-list must contain three elements: start (first date compute history, format \"YYYY-MM-DD\"), period (date studied) id (name component, see x13_dictionary()). See example. cmp_ids list list specify component whose history studied. sub-list must contain three elements: start (first date compute history, format \"YYYY-MM-DD\"), end (last date compute history, format \"YYYY-MM-DD\") id (name component, see x13_dictionary()). many series periods start end exported. See example. context context specification.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_revisions.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Revisions History — x13_revisions","text":"","code":"s <- rjd3toolkit::ABS$X0.2.09.10.M sa_mod <- x13(s) data_ids <- list( # Get the coefficient of the trading-day coefficient from 2005-jan list(start = \"2005-01-01\", id = \"regression.td(1)\"), # Get the ljung-box statistics on residuals from 2010-jan list(start = \"2010-01-01\", id = \"residuals.lb\")) ts_ids <- list( # Get the SA component estimates of 2010-jan from 2010-jan list(period = \"2010-01-01\", start = \"2010-01-01\", id = \"sa\"), # Get the irregular component estimates of 2010-jan from 2015-jan list(period = \"2010-01-01\", start = \"2015-01-01\", id = \"i\")) cmp_ids <- list( # Get the SA component estimates (full time series) 2010-jan to 2020-jan list(start = \"2010-01-01\", end = \"2020-01-01\", id = \"sa\"), # Get the trend component estimates (full time series) 2010-jan to 2020-jan list(start = \"2010-01-01\", end = \"2020-01-01\", id = \"t\")) rh <- x13_revisions(s, sa_mod$result_spec, data_ids, ts_ids, cmp_ids)"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":null,"dir":"Reference","previous_headings":"","what":"RegARIMA/X-13 Default Specifications — x13_spec","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"Set functions create default specification objects associated X-13ARIMA seasonal adjustment method.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"","code":"regarima_spec(name = c(\"rg4\", \"rg0\", \"rg1\", \"rg2c\", \"rg3\", \"rg5c\")) x13_spec(name = c(\"rsa4\", \"rsa0\", \"rsa1\", \"rsa2c\", \"rsa3\", \"rsa5c\")) x11_spec()"},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"name name predefined specification.","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"object class \"JD3_X13_SPEC\" (x13_spec()), \"JD3_REGARIMA_SPEC\" (regarima_spec()) \"JD3_X11_SPEC\" (x11_spec()).","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"Specification setting sheer X-11 decomposition method (without reg-arima pre-adjustment) supported x11_spec() function appear among possible X13-Arima default specifications Specification setting can restricted reg-arima part regarima_spec() function, without argument regarima_spec() yields RG5c specification setting complete X13-Arima spec, x13_spec() without argument yields RSA5c specification available predefined 'JDemetra+' model specifications described table : #' @seealso set pre-processing parameters: rjd3toolkit::set_arima(), rjd3toolkit::set_automodel(), rjd3toolkit::set_basic(), rjd3toolkit::set_easter(), rjd3toolkit::set_estimate(), rjd3toolkit::set_outlier(), rjd3toolkit::set_tradingdays(), rjd3toolkit::set_transform(), rjd3toolkit::add_outlier(), rjd3toolkit::remove_outlier(), rjd3toolkit::add_ramp(), rjd3toolkit::remove_ramp(), rjd3toolkit::add_usrdefvar(). set decomposition parameters: set_x11(). set benchmarking parameters: rjd3toolkit::set_benchmarking().","code":""},{"path":"https://rjdemetra.github.io/rjd3x13/reference/x13_spec.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"RegARIMA/X-13 Default Specifications — x13_spec","text":"","code":"init_spec <- x11_spec() init_spec <- regarima_spec(\"rg4\") init_spec <- x13_spec(\"rsa5c\")"}]