diff --git a/.gitignore b/.gitignore index faa33a3..24b9386 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ components/floating-action-button/snippets/floating-button.css -components/navbar/js/navbar.js \ No newline at end of file +components/navbar/js/navbar.js +archive/ +node_modules/ +package-lock.json \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 347e8f3..c208222 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,23 +4,9 @@ All notable changes to this project will be documented in this file. --- -## [1.3.2](https://github.com/digicorp/propeller/releases/tag/v1.3.2) (06/12/2019) -Released on Wednesday, June 12, 2019. All issues associated with this milestone can be found using this [filter](https://github.com/digicorp/propeller/issues). +## [1.3.3](https://github.com/digicorp/propeller/releases/tag/v1.3.3) (05/20/2021) +Released on Thursday, May 20, 2021. All issues associated with this milestone can be found using this [filter](https://github.com/digicorp/propeller/issues). -### Highlights -* Updated the link issue of "Visit Propeller" in README.md file -* Updated path of "Clone the repo" in README.md file -* Updated the url of "Propeller Guidelines" in README.md file -* Updated the package.json file for the SCSS compilations -* Added the SCSS compiler task with auto watch (grunt dev) in the Grunt file. -* Added the jQuery plugin - propellerkit(); to re-initialize the entire propellerkit. -* Solved the issue of "Uncaught RangeError: Maximum call stack size exceeded" in Javascript - - ### Added -###### JS -* Added the SCSS compiler task with auto watch (grunt dev) in the Grunt file. -* Added the jQuery plugin - propellerkit(); to re-initialize the entire propellerkit. - -### Fixed -###### JS -* Solved the issue of "Uncaught RangeError: Maximum call stack size exceeded" in Javascript \ No newline at end of file +* Updated the package.json file for the vulnerability issue. +* Updated the url of in component examples. +* Removed bootstrap css from dist folder. \ No newline at end of file diff --git a/README.md b/README.md index 6663eeb..d93ecee 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ There are different ways you can start using Propeller, -- [Download the latest release.](https://github.com/digicorp/propeller/archive/v1.3.2.zip) +- [Download the latest release.](https://github.com/digicorp/propeller/archive/refs/tags/v1.3.3.zip) - Clone the repo: `git clone https://github.com/propeller.git` - Install with Bower: `bower install propeller` - Install with npm: `npm install propellerkit` @@ -53,7 +53,7 @@ Using third party components: ## Propeller Guidelines -Follow our [Guidelines](http://propeller.in/get-started/) and get familiar with the basic setup and structure. +Follow our [Guidelines](https://opensource.propeller.in/get-started/) and get familiar with the basic setup and structure. ## What's included @@ -112,8 +112,8 @@ See [the Releases section of our GitHub project](https://github.com/digicorp/pro ## License -Propeller v1.3.2 (https://propeller.in) -© 2016-2019 [Digicorp Information Systems Pvt. Ltd.](https://www.digi-corp.com/) +Propeller v1.3.3 (https://propeller.in) +© 2016-2021 [Digicorp Information Systems Pvt. Ltd.](https://www.digi-corp.com/) Licensed under [MIT](https://github.com/digicorp/propeller/blob/master/LICENSE) diff --git a/assets/css/propeller-roboto.css b/assets/css/propeller-roboto.css index 0ee08cd..c1f9d0e 100644 --- a/assets/css/propeller-roboto.css +++ b/assets/css/propeller-roboto.css @@ -1,6 +1,6 @@ /*! - * Propeller v1.2.0 (http://propeller.in/) - * Copyright 2016-2018 Digicorp, Inc + * Propeller v1.3.3 (http://propeller.in/) + * Copyright 2016-2021 Digicorp, Inc * Licensed under MIT (http://propeller.in/LICENSE) */ diff --git a/assets/css/propeller.css b/assets/css/propeller.css index 9892c8e..52fd7ff 100644 --- a/assets/css/propeller.css +++ b/assets/css/propeller.css @@ -1,6 +1,6 @@ /*! - * Propeller v1.3.2 (http://propeller.in/) - * Copyright 2016-2019 Digicorp, Inc + * Propeller v1.3.3 (http://propeller.in/) + * Copyright 2016-2021 Digicorp, Inc * Licensed under MIT (http://propeller.in/LICENSE) */ @font-face { @@ -46,8 +46,8 @@ } /*! - * Propeller v1.3.2 (http://propeller.in): typography.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): typography.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ html { @@ -153,8 +153,8 @@ h5, .h5 { } /*! - * Propeller v1.3.2 (http://propeller.in/) - * Copyright 2016-2019 Digicorp, Inc + * Propeller v1.3.3 (http://propeller.in/) + * Copyright 2016-2021 Digicorp, Inc * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-z-depth { @@ -194,8 +194,8 @@ h5, .h5 { } /*! - * Propeller v1.3.2 (http://propeller.in): google-icons.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): google-icons.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .material-icons.pmd-xs, .material-icons.md-18 { @@ -231,8 +231,8 @@ h5, .h5 { } /*! - * Propeller v1.3.2 (http://propeller.in/): card.css - * Copyright 2016-2019 Digicorp, Inc + * Propeller v1.3.3 (http://propeller.in/): card.css + * Copyright 2016-2021 Digicorp, Inc * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-card { @@ -362,8 +362,8 @@ h2.pmd-card-title-text { } /*! - * Propeller v1.3.2 (http://propeller.in/): accordion.css - * Copyright 2016-2019 Digicorp, Inc + * Propeller v1.3.3 (http://propeller.in/): accordion.css + * Copyright 2016-2021 Digicorp, Inc * Licensed under MIT (http://propeller.in/LICENSE) */ .panel-group.pmd-accordion .panel { @@ -462,8 +462,8 @@ h2.pmd-card-title-text { } /*! - * Propeller v1.3.2 (http://propeller.in/): alert.css - * Copyright 2016-2019 Digicorp, Inc + * Propeller v1.3.3 (http://propeller.in/): alert.css + * Copyright 2016-2021 Digicorp, Inc * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-alert-container { @@ -642,8 +642,8 @@ h2.pmd-card-title-text { } /*! - * Propeller v1.3.2 (http://propeller.in/): badge.css - * Copyright 2016-2019 Digicorp, Inc + * Propeller v1.3.3 (http://propeller.in/): badge.css + * Copyright 2016-2021 Digicorp, Inc * Licensed under MIT (http://propeller.in/LICENSE) */ .badge { @@ -802,8 +802,8 @@ h2.pmd-card-title-text { } /*! - * Propeller v1.3.2 (http://propeller.in): button.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): button.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .btn { @@ -1560,8 +1560,8 @@ h2.pmd-card-title-text { } /*! - * Propeller v1.3.2 (http://propeller.in): modal.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): modal.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .modal-content { @@ -1679,8 +1679,8 @@ h2.pmd-card-title-text { } /*! - * Propeller v1.3.2 (http://propeller.in): dropdown.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): dropdown.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-dropdown .dropdown-menu { @@ -1889,8 +1889,8 @@ h2.pmd-card-title-text { } /*! - * Propeller v1.3.2 (http://propeller.in): textfield.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): textfield.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-textfield-focused { @@ -2149,8 +2149,8 @@ h2.pmd-card-title-text { } /*! - * Propeller v1.3.2 (http://propeller.in): checkbox.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): checkbox.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-checkbox-ripple-effect { @@ -2283,8 +2283,8 @@ fieldset[disabled] .checkbox label.pmd-checkbox { } /*! - * Propeller v1.3.2 (http://propeller.in): radio.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): radio.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-radio { @@ -2402,8 +2402,8 @@ fieldset[disabled] .radio label { } /*! - * Propeller v1.3.2 (http://propeller.in): toggle-switch.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): toggle-switch.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-switch { @@ -2486,8 +2486,8 @@ fieldset[disabled] .radio label { } /*! - * Propeller v1.3.2 (http://propeller.in): list.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): list.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-card-list { @@ -2588,8 +2588,8 @@ fieldset[disabled] .radio label { } /*! - * Propeller v1.3.2 (http://propeller.in): navbar.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): navbar.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ @media (min-width: 768px) { @@ -2896,8 +2896,8 @@ fieldset[disabled] .radio label { } /*! - * Propeller v1.3.2 (http://propeller.in): popover.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): popover.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .popover.default { @@ -3165,8 +3165,8 @@ fieldset[disabled] .radio label { } /*! - * Propeller v1.3.2 (http://propeller.in): progressbar.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): progressbar.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-progress { @@ -3181,8 +3181,8 @@ fieldset[disabled] .radio label { } /*! - * Propeller v1.3.2 (http://propeller.in): sidebar.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): sidebar.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .constructor, @@ -3477,8 +3477,8 @@ fieldset[disabled] .radio label { } /*! - * Propeller v1.3.2 (http://propeller.in): tab.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): tab.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-tabs { @@ -3607,8 +3607,8 @@ fieldset[disabled] .radio label { } /*! - * Propeller v1.3.2 (http://propeller.in): table.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): table.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .table { @@ -4155,8 +4155,8 @@ Ttable Reflow } /*! - * Propeller v1.3.2 (http://propeller.in): tooltip.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): tooltip.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-tooltip ~ .tooltip { @@ -4290,8 +4290,8 @@ Ttable Reflow } /*! - * Propeller v1.3.2 (http://propeller.in): floating-action-button.css - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): floating-action-button.css + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ .pmd-floating-action { diff --git a/assets/js/propeller.js b/assets/js/propeller.js index 6245a2f..3f14624 100644 --- a/assets/js/propeller.js +++ b/assets/js/propeller.js @@ -1,7 +1,7 @@ /*! - * Propeller v1.3.2 (http://propeller.in) - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in) + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ @@ -180,8 +180,8 @@ $.propellerkit = function() { /** * -------------------------------------------------------------------------- - * Propeller v1.3.2 (http://propeller.in): textfield.js - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): textfield.js + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) * -------------------------------------------------------------------------- */ @@ -293,8 +293,8 @@ var pmdTextfield = function ($) { /** * -------------------------------------------------------------------------- - * Propeller v1.3.2 (http://propeller.in): checkbox.js - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): checkbox.js + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) * -------------------------------------------------------------------------- */ @@ -413,8 +413,8 @@ var pmdCheckBox = function ($) { /** * -------------------------------------------------------------------------- - * Propeller v1.3.2 (http://propeller.in): radio.js - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): radio.js + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) * -------------------------------------------------------------------------- */ @@ -528,8 +528,8 @@ var pmdRadio = function ($) { /** * -------------------------------------------------------------------------- - * Propeller v1.3.2 (http://propeller.in): button.js - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): button.js + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) * -------------------------------------------------------------------------- */ @@ -635,8 +635,8 @@ var pmdButton = function ($) { /*! * -------------------------------------------------------------------------- - * Propeller v1.3.2 (http://propeller.in): dropdown.js - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): dropdown.js + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) * -------------------------------------------------------------------------- */ @@ -929,8 +929,8 @@ var pmdDropdown = function ($) { } (jQuery)(); /*! - * Propeller v1.3.2 (http://propeller.in): accordion.js - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): accordion.js + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) */ @@ -1068,8 +1068,8 @@ var pmdAccordion = function ($) { /*! * -------------------------------------------------------------------------- - * Propeller v1.3.2 (http://propeller.in): alert.js - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): alert.js + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) * -------------------------------------------------------------------------- */ @@ -1223,8 +1223,8 @@ var pmdAlert = function ($) { /** * -------------------------------------------------------------------------- - * Propeller v1.3.2 (http://propeller.in): popover.js - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): popover.js + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) * -------------------------------------------------------------------------- */ @@ -1347,8 +1347,8 @@ var pmdPopover = function ($) { /** * -------------------------------------------------------------------------- - * Propeller v1.3.2 (http://propeller.in): tab-scrollable.js - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): tab-scrollable.js + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) * -------------------------------------------------------------------------- */ @@ -1668,8 +1668,8 @@ var pmdTab = function ($) { /** * -------------------------------------------------------------------------- - * Propeller v1.3.2 (http://propeller.in): sidebar.js - * Copyright 2016-2019 Digicorp, Inc. + * Propeller v1.3.3 (http://propeller.in): sidebar.js + * Copyright 2016-2021 Digicorp, Inc. * Licensed under MIT (http://propeller.in/LICENSE) * -------------------------------------------------------------------------- */ diff --git a/assets/js/propeller.js.map b/assets/js/propeller.js.map index f7ef70a..42a337a 100644 --- a/assets/js/propeller.js.map +++ b/assets/js/propeller.js.map @@ -1 +1 @@ -{"version":3,"sources":["propeller.js"],"names":["_typeof","Symbol","iterator","obj","constructor","prototype","commons","attachParentSelector","parentSelector","defaultSelector","customSelector","length","$","hasClass","_inherits","SubClass","SuperClass","TypeError","propellerControlMapping","pmdCheckBox","pmdRadio","pmdTextfield","pmdDropdown","pmdAlert","pmdTab","pmdSidebar","pmdAccordion","pmdButton","observeDOM","MutationObserver","window","WebKitMutationObserver","eventListenerSupported","addEventListener","callback","obs","mutations","observer","addedNodes","removedNodes","observe","childList","subtree","attributes","characterData","document","ready","propellerkit","querySelector","processMutation","index","mutation","nodes","processNodes","processNode","node","containsPmdClassPrefix","attr","undefined","toLowerCase","pmdPopover","classes","split","forEach","clazz","childNodes","e","ele","i","hasOwnProperty","NAME","JQUERY_NO_CONFLICT","fn","ClassName","PMD_TEXTFIELD","FOCUS","FLOATING_COMPLETE","FLOATING_ACTIVE","Selector","PARENT_SELECTOR","INPUT","Template","LABEL","Event","FOCUSOUT","CHANGE","onFocus","$this","target","closest","addClass","onFocusOut","val","removeClass","onChange","remove","find","after","each","plugInFunction","selector","on","jQuery","ANIMATE","PMD_CHECKBOX","TEXTFIELD_FOCUS","RIPPLE","INK","CHECK_BOX_LABEL","SPAN_LINK","CLICK","MOUSE_DOWN","onMouseDown","rippler","append","ink","height","width","d","Math","max","outerWidth","outerHeight","css","x","pageX","offset","left","y","pageY","top","setTimeout","finalSelector","PMD_RADIO","PM_INI","RADIO_LABEL","PMD_RIPPLE_EFFECT","MOUSEDOWN","TOUCHSTART","SPAN","minimumSize","CENTER","PMD_SIDEBAR_DROPDOWN","RIGHT","BG_RIGHT","TOP_LEFT","BG_BOTTOM_LEFT","TOP_RIGHT","BG_BOTTOM_RIGHT","PMD_SIDEBAR","OPEN","DROPDOWN_MENU","BG","DROPDOWN_TOGGLE","PMD_DROPDOWN","CONTAINER","PMD_DROPDOWN_HOVER","DATA_TOGGLE_DROPDOWN","DROPDOWN_BACKDROP","SHOW_BS_DROPDOWN","HIDE_BS_DROPDOWN","showDropdown","that","dcdmc","dcdmbg","w","h","off","showBsDropdownDesktop","hassidebar","dropdowncenter","$dataSidebar","first","stop","slideDown","parents","removeAttr","closable","hideDropdown","hideBsDropdownDesktop","slideUp","onClickDropdown","dropdown","currentTarget","pmdsidebardropdown","options","pmddropdowntest","wrap","before","dataTrigger","prev","mainTimeout","hover","event","clearTimeout","parent","is","trigger","indexOf","subTimeout","show","$submenu","parseFloat","resize","IN","ACTIVE","DATA_TOGGLE_COLLAPSE","COLLAPSE_IN","PANEL","EXPANDALL","COLLAPSEALL","applyCollapse","objectID","expandable","expanded","current","collapse","expandAll","targetId","collapseAll","positionX","positionY","dataEffect","dataMessage","dataType","actionText","action","duration","actionCallback","PMD_ALERT","CLOSE","VISIBLE","TOGGLE","BODY","getNotificationValue","closeAlertNotification","unbind","currentPath","notification","boxLength","dataDuration","prepend","children","delay","eq","middle","POPOVER_HTML_DATA_TOGGLE","DATA_TOGGLE","POPOVER","SHOW_BS_POPOVER","HIDE_BS_POPOVER","placementFunction","pop","dom_el","range","curPlacement","scrolled","scrollTop","winWidth","winHeight","elWidth","elHeight","elTop","elLeft","curPosTop","curPosLeft","curPosRight","curPosBottom","popoverHtmlDataToggleOptions","html","content","currentID","currentHTML","placement","dataToggleOptions","popover","colorClass","PMD_TAB","NAV_JUSTIFIED","PREV_TAB","LAST_TAB","SCROLL","SCROLL_CONTAINER","ACTIVE_BAR","UL_NAV_TABS","LI","NAV_TAB","SCROLL_RIGHT","SCROLL_LEFT","UL_LI_ACTIVE","NAV","UL_LI","NAV_TABS_LI","ACTIVE_BAR_DIV","widthOfList","itemsWidth","itemWidth","getBoundingClientRect","appendulwidth","getLeftPosi","position","reAdjust","navScrolledRight","scrollLeft","navWrapWidth","navWidth","ammountRight","hide","navScrolledLeft","ammountLeft","activeTabCenter","$tabWidth","$middlePosition","$tabWrapperLeft","$sliderActive","$activeWidth","$tabHalfWidth","$tableftScroll","$tableftPosi","$tabCenterPosi","animate","sliderLoad","$slider","$isX","$navX","$wrapperLeft","$sliderLeft","$finalPossion","click","$thisWidth","$newLeft","onResizeWindow","data","param1","onPmdTabScrollRightClick","$tabSet","$wrapper","$tab","$thisWidht","$navCotainer","$wrapperRight","SuspectTabLeft","SuspectTabRight","finalTab","next","lastTabRight","NewScrollAmount","fadeOut","fadeIn","onPmdTabScrollLeftClick","$tabSetLeft","lastTableft","onUlLiClick","activeLeft","activeRight","$buttonWidth","cuttRight","cuttleft","setLeft","setRight","scroll","unwrap","isOpenWidth","SLIDE_PUSH","RIGHT_FIXED","LEFT_FIXED","OVERLAY_ACTIVE","BODY_OPEN","NAVBAR_SIDEBAR","LEFT","IS_SLIDEPUSH","OVERLAY","SIDEBAR","SIDEBAR_HEADER","TOPBAR_FIXED","SIDEBAR_DROPDOWN","TOGGLE_RIGHT","TOPBAR_TOGGLE","TOPBAR_CLOSE","NAVBAR_TOGGLE","onSidebarToggle","dataTarget","toggleClass","onNavBarToggle","onOverlayClick","stopPropagation","sideBarSelector","sideBarId","substr","dataPlacement","dataPosition","isopen","minsize","console","warn","value","test","l","elem","nodeType","className","classNames","n","splice","trim","join","call","arg"],"mappings":";AACA;;;;;;AAMA;;;;AAEA,IAAIA,UAAU,OAAOC,MAAP,KAAkB,UAAlB,IAAgC,SAAOA,OAAOC,QAAd,MAA2B,QAA3D,GAAsE,UAAUC,GAAV,EAAe;AAAE,kBAAcA,GAAd,0CAAcA,GAAd;AAAoB,CAA3G,GAA8G,UAAUA,GAAV,EAAe;AAAE,WAAOA,OAAO,OAAOF,MAAP,KAAkB,UAAzB,IAAuCE,IAAIC,WAAJ,KAAoBH,MAA3D,IAAqEE,QAAQF,OAAOI,SAApF,GAAgG,QAAhG,UAAkHF,GAAlH,0CAAkHA,GAAlH,CAAP;AAA+H,CAA5Q;;AAEA;AACA,IAAIG,UAAU,mBAAY;;AAEzB,aAASA,OAAT,GAAmB,CAAE;AACrBA,YAAQC,oBAAR,GAA+B,UAAUC,cAAV,EAA0BC,eAA1B,EAA2C;AACzE,YAAIC,iBAAiBD,eAArB;AACA,YAAID,kBAAkBA,mBAAmB,EAArC,IAA2CA,eAAeG,MAAf,GAAwB,CAAvE,EAA0E;AACzE,gBAAIH,mBAAmBC,eAAvB,EAAwC;AACvCC,iCAAiBD,eAAjB;AACA,aAFD,MAEO,IAAIG,EAAEJ,cAAF,EAAkBK,QAAlB,CAA2BJ,eAA3B,CAAJ,EAAiD;AACvDC,iCAAiBF,iBAAiB,EAA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C3BD,mDAAWE,MAAX,CAAkBD,CAAlB,EAAqB,CAArB;AACH;AACJ;AACDJ,qCAAKE,SAAL,GAAiB1S,OAAO8S,IAAP,CAAYH,WAAWI,IAAX,CAAgB,GAAhB,CAAZ,CAAjB;AACH;AACJ;AACJ,qBAdD,MAcO;AACHxT,oCAAYyT,IAAZ,CAAiB,IAAjB,EAAuBX,KAAvB;AACH;AACD,2BAAO,IAAP;AACH,iBAnBD;AAoBH,aArBD,EAqBGrS,OAAO9B,EAAP,CAAUqB,WArBb;AAsBH;AACD,eAAOpE,UAAP;AACH,KAzGa,EAAjB;;AA4GE;;;;;;AAMF,QAAI0E,iBAAiB,SAAjBA,cAAiB,CAAUoT,GAAV,EAAe;AACnC,YAAI,KAAKnT,QAAL,KAAkB,EAAtB,EAA0B;AACzBtB,qBAASC,eAAT,GAA2B,KAAKqB,QAAhC;AACA;AACD,YAAI3E,UAAJ,CAAe8X,GAAf;AACA,KALD;AAMA3Y,MAAE4D,EAAF,CAAKF,IAAL,IAAa6B,cAAb;AACA,WAAO1E,UAAP;AAEA,CA3PgB,CA2Pd6E,MA3Pc,GAAjB","file":"propeller.js","sourcesContent":["\r\n/*!\r\n * Propeller v1.3.2 (http://propeller.in)\r\n * Copyright 2016-2019 Digicorp, Inc.\r\n * Licensed under MIT (http://propeller.in/LICENSE)\r\n */\r\n\r\n\"use strict\";\r\n\r\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\r\n\r\n// Attach Parent Selector\r\nvar commons = function () {\r\n\t\r\n\tfunction commons() {}\r\n\tcommons.attachParentSelector = function (parentSelector, defaultSelector) {\r\n\t\tvar customSelector = defaultSelector;\r\n\t\tif (parentSelector && parentSelector !== '' && parentSelector.length > 0) {\r\n\t\t\tif (parentSelector === defaultSelector) {\r\n\t\t\t\tcustomSelector = defaultSelector;\r\n\t\t\t} else if ($(parentSelector).hasClass(defaultSelector)) {\r\n\t\t\t\tcustomSelector = parentSelector + \"\" + defaultSelector;\r\n\t\t\t} else {\r\n\t\t\t\tcustomSelector = parentSelector + \" \" + defaultSelector;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn customSelector;\r\n\t};\r\n\treturn commons;\r\n};\r\n\r\n// Inherit one class to another\r\nfunction _inherits(SubClass, SuperClass) {\r\n\tif (typeof SuperClass !== \"function\" && SuperClass !== null) {\r\n\t\tthrow new TypeError(\"Super expression must either be null or a function, not \" + typeof SuperClass);\r\n\t}\r\n\tSubClass.prototype = new SuperClass();\r\n}\r\n\r\n// Propeller components Mapping\r\nvar propellerControlMapping = {\r\n\t\"pmd-checkbox\": function () {\r\n\t\t$('.pmd-checkbox').pmdCheckBox();\r\n\t},\r\n\t\"pmd-radio\": function () {\r\n\t\t$('.pmd-radio').pmdRadio();\r\n\t},\r\n\t\"pmd-textfield\": function () {\r\n\t\t$('.pmd-textfield').pmdTextfield();\r\n\t},\r\n\t\"pmd-dropdown\": function () {\r\n\t\t$('.pmd-dropdown').pmdDropdown();\r\n\t},\r\n\t\"pmd-alert-toggle\": function () {\r\n\t\t$('.pmd-alert-toggle').pmdAlert();\r\n\t},\r\n\t\"pmd-tabs\": function () {\r\n\t\t$('.pmd-tabs').pmdTab();\r\n\t},\r\n\t\"pmd-sidebar\": function () {\r\n\t\t$().pmdSidebar();\r\n\t},\r\n\t\"pmd-accordion\": function () {\r\n\t\t$('.pmd-accordion').pmdAccordion();\r\n\t},\r\n\t\"pmd-ripple-effect\": function () {\r\n\t\t$('.pmd-ripple-effect').pmdButton();\r\n\t}\r\n};\r\n\r\n// DOM Observer\r\nvar observeDOM = (function () {\r\n\tvar MutationObserver = window.MutationObserver || window.WebKitMutationObserver,\r\n\t\teventListenerSupported = window.addEventListener;\r\n\treturn function (obj, callback) {\r\n\t\tif (MutationObserver) {\r\n\t\t\t// define a new observer\r\n\t\t\tvar obs = new MutationObserver(function (mutations, observer) {\r\n\t\t\t\tif (mutations[0].addedNodes.length || mutations[0].removedNodes.length) {\r\n\t\t\t\t\tcallback(mutations);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t// have the observer observe foo for changes in children\r\n\t\t\tobs.observe(obj, {\r\n\t\t\t\tchildList: true,\r\n\t\t\t\tsubtree: true,\r\n\t\t\t\tattributes: true,\r\n\t\t\t\tcharacterData: true\r\n\t\t\t});\r\n\t\t} else if (eventListenerSupported) {\r\n\t\t\tobj.addEventListener('DOMNodeInserted', callback, false);\r\n\t\t\tobj.addEventListener('DOMNodeRemoved', callback, false);\r\n\t\t}\r\n\t};\r\n})();\r\n\r\n$(document).ready(function () {\r\n\t$.propellerkit();\r\n});\r\n\r\n$.propellerkit = function() {\r\n\tobserveDOM(document.querySelector('body'), function (mutations) {\r\n\t\tprocessMutation(0);\r\n\t\tfunction processMutation(index) {\r\n\t\t\tif (index >= mutations.length) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tvar mutation = mutations[index];\r\n\t\t\tvar nodes = mutation.addedNodes;\r\n\t\t\tprocessNodes(nodes, function () {\r\n\t\t\t\tprocessMutation(index + 1);\r\n\t\t\t});\r\n\t\t}\r\n\t\t\r\n\t\tfunction processNodes(nodes, callback) {\r\n\t\t\tif (nodes.length === 0) {\r\n\t\t\t\tcallback();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tprocessNode(nodes, 0, function () {\r\n\t\t\t\tcallback();\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tfunction processNode(nodes, index, callback) {\r\n\t\t\tif (index >= nodes.length) {\r\n\t\t\t\tcallback();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tvar node = nodes[index];\r\n\t\t\tif (containsPmdClassPrefix(node)) {\r\n\t\t\t\tif ($(node).attr(\"data-toggle\") !== undefined && $(node).attr(\"data-toggle\").toLowerCase() === \"popover\") {\r\n\t\t\t\t\t$().pmdPopover();\r\n\t\t\t\t}\r\n\t\t\t\tvar classes = $(node).attr('class');\r\n\t\t\t\tif (classes === undefined) {\r\n\t\t\t\t\tcallback();\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tclasses = classes.split(' ');\r\n\t\t\t\tclasses.forEach(function (clazz) {\r\n\t\t\t\t\tif (propellerControlMapping[clazz]) {\r\n\t\t\t\t\t\tpropellerControlMapping[clazz]();\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t});\r\n\t\t\t\tprocessNode(nodes, index+1, function() {\r\n\t\t\t\t\tcallback();\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tvar childNodes = node.childNodes;\r\n\t\t\t\t\tprocessNodes(childNodes, function() {\r\n\t\t\t\t\t\tprocessNode(nodes, index+1, function() {\r\n\t\t\t\t\t\t\tcallback();\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t});\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tfunction containsPmdClassPrefix(ele) {\r\n\t\t\tif ($(ele).attr('class') === undefined) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\tvar classes = $(ele).attr('class').split(' ');\r\n\t\t\tfor (var i = 0; i < classes.length; i++) {\r\n\t\t\t\t\r\n\t\t\t\tif (propellerControlMapping.hasOwnProperty(classes[i])) {\r\n\t\t\t\t\treturn true;\t\r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}\r\n\t});\r\n};\r\n\n\r\n/**\r\n * --------------------------------------------------------------------------\r\n * Propeller v1.3.2 (http://propeller.in): textfield.js\r\n * Copyright 2016-2019 Digicorp, Inc.\r\n * Licensed under MIT (http://propeller.in/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nvar pmdTextfield = function ($) {\t\t\r\n\t\r\n\t\r\n /**\r\n\t* ------------------------------------------------------------------------\r\n\t* Variables\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\r\n\tvar NAME = 'pmdTextfield';\r\n\tvar JQUERY_NO_CONFLICT = $.fn[NAME];\r\n\r\n\tvar ClassName = {\r\n\t\tPMD_TEXTFIELD: 'pmd-textfield',\r\n\t\tFOCUS: 'pmd-textfield-focused',\r\n\t\tFLOATING_COMPLETE: 'pmd-textfield-floating-label-completed',\r\n\t\tFLOATING_ACTIVE: 'pmd-textfield-floating-label-active'\r\n\t};\r\n\r\n\tvar Selector = {\r\n\t\tPARENT_SELECTOR: '',\r\n\t\tPMD_TEXTFIELD: '.' + ClassName.PMD_TEXTFIELD,\r\n\t\tFOCUS: '.' + ClassName.FOCUS,\r\n\t\tINPUT: '.form-control'\r\n\t};\r\n\r\n\tvar Template = {\r\n\t\tLABEL: ''\r\n\t};\r\n\r\n\tvar Event = {\r\n\t\tFOCUS: 'focus',\r\n\t\tFOCUSOUT: 'focusout',\r\n\t\tCHANGE: 'change'\r\n\t};\t\r\n\r\n\t/**\r\n\t* ------------------------------------------------------------------------\r\n\t* Functions\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\r\n\tfunction onFocus(e) {\r\n\t\tvar $this = $(e.target);\r\n\t\t$this.closest(Selector.PMD_TEXTFIELD).addClass(ClassName.FLOATING_ACTIVE + \" \" + ClassName.FLOATING_COMPLETE);\r\n\t}\r\n\r\n\tfunction onFocusOut(e) {\r\n\t\tvar $this = $(e.target);\r\n\t\tif ($this.val() === \"\") {\r\n\t\t\t$this.closest(Selector.PMD_TEXTFIELD).removeClass(ClassName.FLOATING_COMPLETE);\r\n\t\t}\r\n\t\t$this.closest(Selector.PMD_TEXTFIELD).removeClass(ClassName.FLOATING_ACTIVE);\r\n\t}\r\n\r\n\tfunction onChange(e) {\r\n\t\tvar $this = $(e.target);\r\n\t\tif ($this.val() !== \"\") {\r\n\t\t\t$this.closest(Selector.PMD_TEXTFIELD).addClass(ClassName.FLOATING_COMPLETE);\r\n\t\t}\r\n\t}\r\n\r\n\t\r\n /**\r\n\t* ------------------------------------------------------------------------\r\n\t* Initialization\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\r\n\tvar pmdTextfield = function () {\r\n\t\t_inherits(pmdTextfield, commons);\r\n\t\tfunction pmdTextfield() {\r\n\t\t\t$(pmdTextfield.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.FOCUS)).remove();\r\n\t\t\t$(pmdTextfield.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.PMD_TEXTFIELD)).find(Selector.INPUT).after(Template.LABEL);\r\n\t\t\t$(pmdTextfield.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.PMD_TEXTFIELD)).find(Selector.INPUT).each(function () {\r\n\t\t\t\tif ($(this).val() !== \"\") {\r\n\t\t\t\t\t$(this).closest(Selector.PMD_TEXTFIELD).addClass(ClassName.FLOATING_COMPLETE);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn pmdTextfield;\r\n\t}();\r\n\r\n\t\r\n /**\r\n\t* ------------------------------------------------------------------------\r\n\t* jQuery\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\t\r\n\tvar plugInFunction = function () {\r\n\t\tif (this.selector !== \"\") {\r\n\t\t Selector.PARENT_SELECTOR = this.selector;\r\n\t\t}\r\n\t\tnew pmdTextfield();\r\n\t};\r\n\t$(document).on(Event.CHANGE, Selector.PMD_TEXTFIELD + \" \" + Selector.INPUT, onChange);\r\n\t$(document).on(Event.FOCUS, Selector.PMD_TEXTFIELD + \" \" + Selector.INPUT, onFocus);\r\n\t$(document).on(Event.FOCUSOUT, Selector.PMD_TEXTFIELD + \" \" + Selector.INPUT, onFocusOut);\r\n\t$.fn[NAME] = plugInFunction;\r\n\treturn pmdTextfield;\r\n \r\n} (jQuery)();\r\n\n\r\n/**\r\n * --------------------------------------------------------------------------\r\n * Propeller v1.3.2 (http://propeller.in): checkbox.js\r\n * Copyright 2016-2019 Digicorp, Inc.\r\n * Licensed under MIT (http://propeller.in/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nvar pmdCheckBox = function ($) {\r\n\t\r\n\t\r\n\t/**\r\n\t* ------------------------------------------------------------------------\r\n\t* Variables\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\r\n\tvar NAME = 'pmdCheckBox';\r\n\tvar JQUERY_NO_CONFLICT = $.fn[NAME];\r\n\r\n\tvar ClassName = {\r\n\t\tANIMATE: 'animate',\r\n\t\tPMD_CHECKBOX: 'pmd-checkbox',\r\n\t\tTEXTFIELD_FOCUS: 'pmd-textfield-focused'\r\n\t};\r\n\r\n\tvar Selector = {\r\n\t\tPARENT_SELECTOR: '',\r\n\t\tPMD_CHECKBOX: '.' + ClassName.PMD_CHECKBOX,\r\n\t\tINPUT: 'input:checkbox:not(.pm-ini)',\r\n\t\tRIPPLE: '.pmd-checkbox-ripple-effect',\r\n\t\tINK: '.ink'\r\n\t};\r\n\r\n\tvar Template = {\r\n\t\tCHECK_BOX_LABEL: ' ',\r\n\t\tSPAN_LINK: ''\r\n\t};\r\n\r\n\tvar Event = {\r\n\t\tCLICK: 'click',\r\n\t\tMOUSE_DOWN: 'mousedown'\r\n\t};\r\n\r\n\t\r\n\t/**\r\n\t* ------------------------------------------------------------------------\r\n\t* Functions\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\r\n\tfunction onMouseDown(e) {\r\n\t\tvar $this = $(e.target);\r\n\t\tvar rippler = $this;\r\n\t\t$(Selector.INK).remove();\r\n\t\t// create .ink element if it doesn't exist\r\n\t\tif (rippler.find(Selector.INK).length === 0) {\r\n\t\t\trippler.append(Template.SPAN_LINK);\r\n\t\t}\r\n\t\tvar ink = rippler.find(Selector.INK);\r\n\t\t// prevent quick double clicks\r\n\t\tink.removeClass(ClassName.ANIMATE);\r\n\t\t// set .ink diametr\r\n\t\tif (!ink.height() && !ink.width()) {\r\n\t\t\tvar d = Math.max(rippler.outerWidth(), rippler.outerHeight());\r\n\t\t\t\tink.css({\r\n\t\t\t\theight: 20,\r\n\t\t\t\twidth: 20\r\n\t\t\t});\r\n\t\t}\r\n\t\t// get click coordinates\r\n\t\tvar x = e.pageX - rippler.offset().left - ink.width() / 2;\r\n\t\tvar y = e.pageY - rippler.offset().top - ink.height() / 2;\r\n\t\t// set .ink position and add class .animate\r\n\t\tink.css({\r\n\t\t\ttop: y + 'px',\r\n\t\t\tleft: x + 'px'\r\n\t\t}).addClass(ClassName.ANIMATE);\r\n\t\tsetTimeout(function () {\r\n\t\t\tink.remove();\r\n\t\t}, 1500);\r\n\t}\r\n\r\n\t\r\n\t/**\r\n\t* ------------------------------------------------------------------------\r\n\t* Initialization\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\t\r\n\tvar pmdCheckBox = function () {\r\n\t\t_inherits(pmdCheckBox, commons);\r\n\t\tfunction pmdCheckBox() {\r\n\t\t\tvar finalSelector = pmdCheckBox.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.PMD_CHECKBOX);\r\n\t\t\t$(finalSelector).find(Selector.INPUT).after(Template.CHECK_BOX_LABEL);\r\n\t\t\t$(finalSelector).find(Selector.INPUT).addClass(\"pm-ini\");\r\n\t\t}\r\n\t\treturn pmdCheckBox;\r\n\t} ();\r\n\r\n\r\n\t/**\r\n\t* ------------------------------------------------------------------------\r\n\t* jQuery\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\t\r\n\tvar plugInFunction = function () {\r\n\t\tif (this.selector !== \"\") {\r\n\t\t Selector.PARENT_SELECTOR = this.selector;\r\n\t\t}\r\n\t\tnew pmdCheckBox();\r\n\t};\r\n\t$(document).on(Event.MOUSE_DOWN, Selector.RIPPLE, onMouseDown);\r\n\t$.fn[NAME] = plugInFunction;\r\n\treturn pmdCheckBox;\r\n\t\r\n} (jQuery)();\r\n\n\r\n/**\r\n * --------------------------------------------------------------------------\r\n * Propeller v1.3.2 (http://propeller.in): radio.js\r\n * Copyright 2016-2019 Digicorp, Inc.\r\n * Licensed under MIT (http://propeller.in/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nvar pmdRadio = function ($) {\r\n\t\r\n\t\r\n /**\r\n\t* ------------------------------------------------------------------------\r\n\t* Variables\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\r\n var NAME = 'pmdRadio';\r\n var JQUERY_NO_CONFLICT = $.fn[NAME];\r\n\r\n var ClassName = {\r\n ANIMATE: 'animate',\r\n PMD_RADIO: 'pmd-radio',\r\n PM_INI: \"pm-ini\"\r\n };\r\n\r\n var Selector = {\r\n PARENT_SELECTOR: '',\r\n\t\tPMD_RADIO: '.' + ClassName.PMD_RADIO ,\r\n INPUT: 'input:radio:not(.pm-ini)',\r\n RIPPLE: '.pmd-radio-ripple-effect',\r\n INK: '.ink'\r\n };\r\n\r\n var Template = {\r\n RADIO_LABEL: ' ',\r\n SPAN_LINK: ''\r\n };\r\n\r\n var Event = {\r\n MOUSE_DOWN: 'mousedown'\r\n };\r\n\r\n\r\n /**\r\n\t* ------------------------------------------------------------------------\r\n\t* Functions\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\t\r\n function onMouseDown(e) {\r\n var $this = $(e.target);\r\n var rippler = $this;\r\n $(Selector.INK).remove();\r\n // create .ink element if it doesn't exist\r\n if (rippler.find(Selector.INK).length === 0) {\r\n rippler.append('');\r\n }\r\n var ink = rippler.find(Selector.INK);\r\n // prevent quick double clicks\r\n ink.removeClass(ClassName.ANIMATE);\r\n // set .ink diametr\r\n if (!ink.height() && !ink.width()) {\r\n var d = Math.max(rippler.outerWidth(), rippler.outerHeight());\r\n ink.css({ height: 15, width: 15 });\r\n }\r\n // get click coordinates\r\n var x = e.pageX - rippler.offset().left - ink.width() / 2;\r\n var y = e.pageY - rippler.offset().top - ink.height() / 2;\r\n // set .ink position and add class .animate\r\n ink.css({\r\n top: y + 'px',\r\n left: x + 'px'\r\n }).addClass(ClassName.ANIMATE);\r\n setTimeout(function () {\r\n ink.remove();\r\n }, 1500);\r\n }\r\n\t\r\n /**\r\n\t* ------------------------------------------------------------------------\r\n\t* Initialization\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\t\r\n var pmdRadio = function () {\r\n _inherits(pmdRadio, commons);\r\n function pmdRadio() {\r\n var finalSelector = pmdRadio.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.PMD_RADIO);\r\n $(finalSelector).find(Selector.INPUT).after(Template.RADIO_LABEL);\r\n $(finalSelector).find(Selector.INPUT).addClass(ClassName.PM_INI);\r\n }\r\n return pmdRadio;\r\n } ();\r\n\r\n\r\n /**\r\n\t* ------------------------------------------------------------------------\r\n\t* jQuery\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\r\n var plugInFunction = function () {\r\n if (this.selector !== \"\") {\r\n Selector.PARENT_SELECTOR = this.selector;\r\n }\r\n new pmdRadio();\r\n };\r\n $(document).on(Event.MOUSE_DOWN, Selector.RIPPLE, onMouseDown);\r\n $.fn[NAME] = plugInFunction;\r\n return pmdRadio;\r\n\t\r\n} (jQuery)();\r\n\n\r\n/**\r\n * --------------------------------------------------------------------------\r\n * Propeller v1.3.2 (http://propeller.in): button.js\r\n * Copyright 2016-2019 Digicorp, Inc.\r\n * Licensed under MIT (http://propeller.in/LICENSE)\r\n * -------------------------------------------------------------------------- \r\n */\r\n\r\nvar pmdButton = function ($) {\r\n\t\r\n\t\r\n\t/**\r\n\t * ------------------------------------------------------------------------\r\n\t * Variables\r\n\t * ------------------------------------------------------------------------\r\n\t */\r\n\r\n var NAME = 'pmdButton';\r\n var JQUERY_NO_CONFLICT = $.fn[NAME];\r\n \r\n\tvar Selector = {\r\n PARENT_SELECTOR: '',\r\n PMD_RIPPLE_EFFECT: \".pmd-ripple-effect\",\r\n INK: '.ink'\r\n };\r\n \r\n\tvar ClassName = {\r\n ANIMATE: \"animate\"\r\n };\r\n \r\n\tvar Event = {\r\n MOUSEDOWN: 'mousedown',\r\n TOUCHSTART: 'touchstart',\r\n };\r\n \r\n\tvar Template = {\r\n SPAN: \"\"\r\n };\r\n\r\n\t\r\n\t/**\r\n\t * ------------------------------------------------------------------------\r\n\t * Functions\r\n\t * ------------------------------------------------------------------------\r\n\t */\r\n\r\n\tfunction onMouseDown(e) {\r\n\t\tvar rippler = $(e.target);\r\n\t\t$(Selector.INK).remove();\r\n\t\t// create .ink element if it doesn't exist\r\n\t\tif (rippler.find(Selector.INK).length === 0) {\r\n\t\t\trippler.append(Template.SPAN);\r\n\t\t}\r\n\t\tvar ink = rippler.find(Selector.INK);\r\n\t\t// prevent quick double clicks\r\n\t\tink.removeClass(ClassName.ANIMATE);\r\n\t\t// set .ink diametr\r\n\t\tif (!ink.height() && !ink.width()) {\r\n\t\t\tvar d = Math.max(rippler.outerWidth(), rippler.outerHeight());\r\n\t\t\tink.css({ height: d, width: d });\r\n\t\t}\r\n\t\t// get click coordinates\r\n\t\tvar x = e.pageX - rippler.offset().left - ink.width() / 2;\r\n\t\tvar y = e.pageY - rippler.offset().top - ink.height() / 2;\r\n\t\t// set .ink position and add class .animate\r\n\t\tink.css({\r\n\t\t\ttop: y + 'px',\r\n\t\t\tleft: x + 'px'\r\n\t\t}).addClass(ClassName.ANIMATE);\r\n\r\n\t\tsetTimeout(function () {\r\n\t\t\tink.remove();\r\n\t\t}, 1500);\r\n\t}\r\n\r\n\t\r\n\t/**\r\n\t* ------------------------------------------------------------------------\r\n\t* Initialization\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n var pmdButton = function () {\r\n\t\t_inherits(pmdButton, commons);\r\n function pmdButton() {\r\n\t\t\t$(pmdButton.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.PMD_RIPPLE_EFFECT)).on(Event.MOUSEDOWN+\" \"+Event.TOUCHSTART, onMouseDown);\r\n }\r\n return pmdButton;\r\n }();\r\n\r\n\t\r\n /**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n */\r\n\t\r\n var plugInFunction = function () {\r\n if (this.selector !== \"\") {\r\n\t\t\tSelector.PARENT_SELECTOR = this.selector;\r\n\t\t}\r\n\t\tnew pmdButton();\r\n };\r\n $.fn[NAME] = plugInFunction;\r\n return pmdButton;\r\n\r\n} (jQuery)();\n\r\n/*!\r\n * --------------------------------------------------------------------------\r\n * Propeller v1.3.2 (http://propeller.in): dropdown.js\r\n * Copyright 2016-2019 Digicorp, Inc.\r\n * Licensed under MIT (http://propeller.in/LICENSE)\r\n * -------------------------------------------------------------------------- \r\n */\r\n\r\nvar pmdDropdown = function ($) {\r\n\r\n\t\r\n /**\r\n\t* ------------------------------------------------------------------------\r\n\t* Variables\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\r\n var NAME = 'pmdDropdown';\r\n var JQUERY_NO_CONFLICT = $.fn[NAME];\r\n var minimumSize = 767;\r\n\t\r\n var ClassName = {\r\n CENTER: 'pmd-dropdown-menu-center',\r\n PMD_SIDEBAR_DROPDOWN: 'pmd-sidebar-dropdown',\r\n RIGHT: 'dropdown-menu-right',\r\n BG_RIGHT: 'pmd-dropdown-menu-bg-right',\r\n TOP_LEFT: 'pmd-dropdown-menu-top-left',\r\n BG_BOTTOM_LEFT: 'pmd-dropdown-menu-bg-bottom-left',\r\n TOP_RIGHT: 'pmd-dropdown-menu-top-right',\r\n BG_BOTTOM_RIGHT: 'pmd-dropdown-menu-bg-bottom-right',\r\n PMD_SIDEBAR: 'pmd-sidebar',\r\n OPEN: \"open\",\r\n PM_INI: \"pm-ini\"\r\n };\r\n\r\n var Selector = {\r\n PARENT_SELECTOR: '',\r\n DROPDOWN_MENU: '.dropdown-menu',\r\n RIGHT: '.' + ClassName.RIGHT,\r\n TOP_LEFT: '.' + ClassName.TOP_LEFT,\r\n TOP_RIGHT: '.' + ClassName.TOP_RIGHT,\r\n BG: '.pmd-dropdown-menu-bg',\r\n DROPDOWN_TOGGLE: '.dropdown-toggle',\r\n PMD_DROPDOWN: '.pmd-dropdown',\r\n PMD_SIDEBAR: '.' + ClassName.PMD_SIDEBAR,\r\n CONTAINER: '.pmd-dropdown-menu-container',\r\n PMD_DROPDOWN_HOVER: '.pmd-dropdown-hover',\r\n DATA_TOGGLE_DROPDOWN: '[data-toggle=\"dropdown\"]',\r\n\t\tDROPDOWN_BACKDROP: '.dropdown-backdrop'\r\n };\r\n\r\n var Template = {\r\n CONTAINER: \"
\",\r\n BG: ''\r\n };\r\n\r\n var Event = {\r\n CLICK: 'click',\r\n SHOW_BS_DROPDOWN: 'show.bs.dropdown',\r\n HIDE_BS_DROPDOWN: 'hide.bs.dropdown'\r\n };\r\n\r\n\t\r\n /**\r\n\t* ------------------------------------------------------------------------\r\n\t* Functions\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\t\r\n function showDropdown(that) {\r\n\t\tvar dcdmc = that.closest(Selector.CONTAINER);\r\n\t\tvar dcdmbg = dcdmc.find(Selector.BG);\r\n\t\tvar w = that.outerWidth();\r\n\t\tvar h = that.outerHeight();\r\n\t\tdcdmc.css({ 'width': w + 'px', 'height': h + 'px' });\r\n\t\tdcdmbg.css({ 'width': w + 'px', 'height': h + 'px' });\r\n\t\tsetTimeout(function () {\r\n\t\t\tthat.css(\"clip\", \"rect(0 \" + w + \"px \" + h + \"px 0)\");\r\n\t\t}, 10);\r\n if (that.hasClass(ClassName.RIGHT)) {\r\n\t\t\tdcdmbg.addClass(ClassName.BG_RIGHT);\r\n\t\t\tdcdmc.css({ \"right\": \"0\", \"left\": \"auto\" });\r\n } else if (that.hasClass(ClassName.TOP_LEFT)) {\r\n\t\t\tdcdmbg.addClass(ClassName.BG_BOTTOM_LEFT);\r\n } else if (that.hasClass(ClassName.TOP_RIGHT)) {\r\n\t\t\tdcdmbg.addClass(ClassName.BG_BOTTOM_RIGHT);\r\n\t\t\tdcdmc.css({ \"right\": \"0\", \"left\": \"auto\" });\r\n }\r\n\t\t$(Selector.DROPDOWN_BACKDROP).off().remove();\r\n }\r\n\r\n function showBsDropdownDesktop(e) {\r\n var hassidebar = $(e.target).closest(Selector.PMD_SIDEBAR).hasClass(ClassName.PMD_SIDEBAR);\r\n var dropdowncenter = $(e.target).find(Selector.DROPDOWN_MENU).hasClass(ClassName.CENTER);\r\n var that = $(e.target).find(Selector.DROPDOWN_MENU);\r\n var $dataSidebar = $(e.target).find(Selector.DROPDOWN_TOGGLE).attr(\"data-sidebar\");\r\n\t\tif ($(window).width() < minimumSize) {\r\n if ($dataSidebar == 'true') {\r\n\t\t\t\tthat.first().stop(true, true).slideDown(300);\r\n\t\t\t\t$(e.target).addClass(ClassName.PMD_SIDEBAR_DROPDOWN);\r\n\t\t\t} else {\r\n\t\t\t\tshowDropdown(that);\r\n\t\t\t}\r\n\t\t\t$(\".pmd-navbar\").addClass(\"minSizeClass\");\r\n\t\t} else {\r\n\t\t\tif (hassidebar) {\r\n\t\t\t\tthat.first().stop(true, true).slideDown();\r\n\t\t\t} else if (dropdowncenter) {\r\n\t\t\t\tif (!$(e.target).parents().hasClass(ClassName.PMD_SIDEBAR)) {\r\n\t\t\t\t\t$(Selector.DROPDOWN_MENU).removeAttr('style');\r\n\t\t\t\t}\r\n\t\t\t\tthat.first().stop(true, true).slideDown();\r\n\t\t\t} else {\r\n\t\t\t\tshowDropdown(that);\r\n\t\t\t}\r\n $(\".pmd-navbar\").removeClass(\"minSizeClass\");\r\n }\r\n e.target.closable = false;\r\n }\r\n\r\n function hideDropdown(that) {\r\n var dcdmc = that.closest(Selector.CONTAINER);\r\n var dcdmbg = dcdmc.find(Selector.BG);\r\n var w = that.outerWidth();\r\n var h = that.outerHeight();\r\n that.css(\"clip\", \"rect(0 0 0 0)\");\r\n dcdmc.removeAttr('style');\r\n dcdmbg.removeAttr('style');\r\n if (that.hasClass(ClassName.RIGHT)) {\r\n that.css(\"clip\", \"rect(0 \" + w + \"px 0 \" + w + \"px)\");\r\n } else if (that.hasClass(ClassName.TOP_LEFT)) {\r\n that.css(\"clip\", \"rect(\" + h + \"px 0 \" + h + \"px 0)\");\r\n } else if (that.hasClass(ClassName.TOP_RIGHT)) {\r\n that.css(\"clip\", \"rect(\" + h + \"px \" + w + \"px \" + h + \"px \" + w + \"px)\");\r\n }\r\n }\r\n\r\n function hideBsDropdownDesktop(e) {\r\n \tvar hassidebar = $(e.target).closest(Selector.PMD_SIDEBAR).hasClass(ClassName.PMD_SIDEBAR);\r\n\t\t\tvar dropdowncenter = $(e.target).find(Selector.DROPDOWN_MENU).hasClass(ClassName.CENTER);\r\n\t\t\tvar that = $(e.target).find(Selector.DROPDOWN_MENU);\r\n\t\t\tif ($(window).width() < minimumSize) {\r\n\t\t\t\tvar $dataSidebar = $(e.target).find(Selector.DROPDOWN_TOGGLE).attr(\"data-sidebar\");\r\n\t\t\t\tif ($dataSidebar == 'true') {\r\n\t\t\t\t\tthat.first().stop(true, true).slideUp(300);\r\n\t\t\t\t} else {\r\n\t\t\t\t\thideDropdown(that);\r\n\t\t\t\t}\r\n\t\t\t\t$(\".pmd-navbar\").addClass(\"minSizeClass\");\r\n\t\t\t} else {\r\n\t\t\t\tif ($(e.target).parents(\"aside\").hasClass(ClassName.PMD_SIDEBAR)) {\r\n\t\t\t\t\treturn e.target.closable;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (hassidebar) {\r\n\t\t\t\t\t\tthat.first().stop(true, true).slideUp(300);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (dropdowncenter) {\r\n\t\t\t\t\t\tif (!$(e.target).parents().hasClass(ClassName.PMD_SIDEBAR)) {\r\n\t\t\t\t\t\t\t$(Selector.DROPDOWN_MENU).removeAttr('style');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthat.first().stop(true, true).slideUp(300);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\thideDropdown(that);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t$(\".pmd-navbar\").removeClass(\"minSizeClass\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n }\r\n\r\n function onClickDropdown(e) {\r\n var dropdown = $(Selector.PMD_DROPDOWN);\r\n var hassidebar = $(e.currentTarget).closest(Selector.PMD_SIDEBAR).hasClass(ClassName.PMD_SIDEBAR);\r\n if (hassidebar && !$(e.currentTarget).hasClass(ClassName.OPEN)) {\r\n dropdown.removeClass(ClassName.OPEN);\r\n $(Selector.DROPDOWN_MENU).slideUp(300);\r\n } else if ($(e.currentTarget).parents(\"aside\").hasClass(ClassName.PMD_SIDEBAR)) {\r\n $(Selector.DROPDOWN_MENU).slideUp(300);\r\n }\r\n e.currentTarget.closable = true;\r\n }\r\n\r\n function pmdsidebardropdown() {\r\n var dropdown = $(Selector.PMD_DROPDOWN);\r\n var w = dropdown.find(Selector.DROPDOWN_MENU).outerWidth();\r\n var h = dropdown.find(Selector.DROPDOWN_MENU).outerHeight();\r\n dropdown.find(Selector.RIGHT).css(\"clip\", \"rect(0 \" + w + \"px 0 \" + w + \"px)\");\r\n dropdown.find(Selector.TOP_LEFT).css(\"clip\", \"rect(\" + h + \"px 0 \" + h + \"px 0)\");\r\n dropdown.find(Selector.TOP_RIGHT).css(\"clip\", \"rect(\" + h + \"px \" + w + \"px \" + h + \"px \" + w + \"px)\");\r\n dropdown.off(Event.SHOW_BS_DROPDOWN);\r\n dropdown.on(Event.SHOW_BS_DROPDOWN, showBsDropdownDesktop);\r\n // Add slideup animation to dropdown\r\n dropdown.off(Event.HIDE_BS_DROPDOWN);\r\n dropdown.on(Event.HIDE_BS_DROPDOWN, hideBsDropdownDesktop);\r\n if ($(window).width() > minimumSize) {\r\n dropdown.off(Event.CLICK);\r\n dropdown.on(Event.CLICK, onClickDropdown);\r\n\t\t} else {\r\n\t\t\tdropdown.find(Selector.DROPDOWN_MENU).removeAttr('style');\r\n\t\t}\r\n if ($(window).width() < minimumSize) {\r\n $(\".pmd-navbar\").addClass(\"minSizeClass\");\r\n } else {\r\n $(\".pmd-navbar\").removeClass(\"minSizeClass\");\r\n }\r\n }\r\n\r\n\t\r\n /**\r\n\t* ------------------------------------------------------------------------\r\n\t* Initialization\r\n\t* ------------------------------------------------------------------------\r\n\t*/\r\n\t\r\n var pmdDropdown = function () {\r\n _inherits(pmdDropdown, commons);\r\n function pmdDropdown(options) {\r\n\t\t\tvar pmddropdowntest = pmdDropdown.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.PMD_DROPDOWN);\r\n\t\t\tvar finalSelector = $(pmddropdowntest).find(Selector.DROPDOWN_MENU + \":not(.\" + ClassName.PM_INI + \")\");\r\n $(finalSelector).wrap(Template.CONTAINER);\r\n $(finalSelector).before(Template.BG);\r\n $(finalSelector).addClass(ClassName.PM_INI);\r\n\t\t\tvar dataTrigger = $(finalSelector).prev(\"button\").attr(\"data-trigger\");\r\n if (dataTrigger !== undefined && dataTrigger.toLowerCase() === \"hover\") {\r\n $(finalSelector).prev(\"button\").addClass(\"pmd-dropdown-hover\");\r\n }\r\n\t\t\t//Hover event fot mouse over\r\n var mainTimeout;\r\n $(Selector.PMD_DROPDOWN_HOVER).hover(function (event) {\r\n\t\t\t\tif('ontouchstart' in document) return $this;\r\n window.clearTimeout(mainTimeout);\r\n var parent = $(event.target).parent();\r\n var $this = $(this);\r\n if (parent.hasClass('open') && parent.is(event.target)) {\r\n // stop this event, stop executing any code\r\n // in this callback but continue to propagate\r\n return true;\r\n }\r\n $this.attr('aria-expanded', 'true');\r\n\t\t\t\t\tparent.addClass('open');\r\n\t\t\t\t\t$this.parent().trigger(Event.SHOW_BS_DROPDOWN);\r\n\t\t\t\t}, function (event) {\r\n var $this = $(this);\r\n mainTimeout = window.setTimeout(function () {\r\n var parent = $(event.target).parent();\r\n if (parent.attr(\"class\").split(\" \").indexOf(\"isOpenReq\") > -1) {\r\n return true;\r\n }\r\n $this.attr('aria-expanded', 'false');\r\n parent.removeClass('open');\r\n $this.parent().trigger(Event.HIDE_BS_DROPDOWN);\r\n }, 10);\r\n });\r\n $(Selector.PMD_DROPDOWN_HOVER).parent().find('.dropdown-menu').each(function () {\r\n\t\t\t var $this = $(this);\r\n var subTimeout;\r\n $this.hover(function () {\r\n window.clearTimeout(subTimeout);\r\n $this.parent().parent().addClass(\"isOpenReq\");\r\n $this.show();\r\n }, function () {\r\n var $submenu = $this;\r\n subTimeout = window.setTimeout(function () {\r\n $this.parent().parent().removeClass('open');\r\n $this.parent().parent().removeClass(\"isOpenReq\");\r\n $this.parent().parent().trigger(Event.HIDE_BS_DROPDOWN);\r\n }, 10);\r\n });\r\n });\r\n if (options !== undefined && options.minimumSize !== null) {\r\n minimumSize = parseFloat(options.minimumSize);\r\n }\r\n pmdsidebardropdown();\r\n }\r\n return pmdDropdown;\r\n } ();\r\n\r\n\t\r\n /**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n */\r\n\t\r\n var plugInFunction = function (options) {\r\n if (this.selector !== \"\") {\r\n Selector.PARENT_SELECTOR = this.selector;\r\n }\r\n new pmdDropdown(options);\r\n };\r\n $(window).resize(pmdsidebardropdown);\r\n $.fn[NAME] = plugInFunction;\r\n return pmdDropdown;\r\n\r\n} (jQuery)();\n\r\n/*!\r\n * Propeller v1.3.2 (http://propeller.in): accordion.js\r\n * Copyright 2016-2019 Digicorp, Inc.\r\n * Licensed under MIT (http://propeller.in/LICENSE)\r\n */\r\n\r\nvar pmdAccordion = function ($) {\r\n\r\n\t\r\n\t/**\r\n\t * ------------------------------------------------------------------------\r\n\t * Variables\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\n\tvar NAME = 'pmdAccordion';\r\n var JQUERY_NO_CONFLICT = $.fn[NAME];\r\n\r\n var ClassName = {\r\n IN: 'in',\r\n ACTIVE: 'active'\r\n };\r\n\r\n var Selector = {\r\n PARENT_SELECTOR:'',\r\n DATA_TOGGLE_COLLAPSE: 'a[data-toggle=\"collapse\"]',\r\n COLLAPSE_IN: '.collapse.in',\r\n ACTIVE: '.' + ClassName.ACTIVE,\r\n PANEL: '.panel',\r\n EXPANDALL: '#expandAll',\r\n COLLAPSEALL: '#collapseAll'\r\n };\r\n\r\n var Event = {\r\n CLICK: 'click'\r\n };\r\n\t\r\n\r\n\t/**\r\n * ------------------------------------------------------------------------\r\n * Functions\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\n\tfunction applyCollapse(e) {\r\n var $this = $(e.target);\r\n var objectID = $this.attr('href');\r\n var expandable = $this.attr('data-expandable');\r\n var expanded = $this.attr(\"aria-expanded\");\r\n var current = $this.closest('.pmd-accordion').attr(\"id\");\r\n if (expandable === 'true') {\r\n\t\t\tif (expanded === \"true\") {\r\n\t\t\t\t$this.parents(Selector.PANEL).removeClass(ClassName.ACTIVE);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t$this.parents(Selector.PANEL).addClass(ClassName.ACTIVE);\r\n }\r\n if ($(objectID).hasClass(ClassName.IN)) {\r\n\t\t\t\t$(objectID).collapse('hide');\r\n }\r\n else {\r\n \t$(objectID).collapse('show');\r\n }\r\n } else {\r\n if (expanded === \"true\") {\r\n $(\"#\" + current + \" \" + Selector.ACTIVE).removeClass(ClassName.ACTIVE);\r\n }\r\n else {\r\n $(\"#\" + current + \" \" + Selector.ACTIVE).removeClass(ClassName.ACTIVE);\r\n $this.parents(Selector.PANEL).addClass(ClassName.ACTIVE);\r\n }\r\n }\r\n }\r\n\r\n function expandAll(e) {\r\n var $this = $(e.target);\r\n var targetId = $this.attr(\"data-target\");\r\n $('#' + targetId + ' ' + Selector.DATA_TOGGLE_COLLAPSE).each(function (i,event) {\r\n var $this = $(event);\r\n var objectID = $this.attr('href');\r\n if ($(objectID).hasClass(ClassName.IN) === false) {\r\n $(objectID).collapse('show');\r\n $(objectID).parent().addClass(ClassName.ACTIVE);\r\n }\r\n });\r\n }\r\n\r\n function collapseAll(e) {\r\n var $this = $(e.target);\r\n var targetId = $this.attr(\"data-target\");\r\n $('#' + targetId + ' ' + Selector.DATA_TOGGLE_COLLAPSE).each(function (i,event) {\r\n var $this = $(event);\r\n var objectID = $this.attr('href');\r\n $(objectID).collapse('hide');\r\n $(objectID).parent().removeClass(ClassName.ACTIVE);\r\n });\r\n }\r\n\r\n\t\r\n\t/**\r\n\t * ------------------------------------------------------------------------\r\n\t * Initialization\r\n\t * ------------------------------------------------------------------------\r\n\t */\r\n\t\r\n var pmdAccordion = function () {\r\n _inherits(pmdAccordion, commons);\r\n function pmdAccordion() {\r\n $(pmdAccordion.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.COLLAPSE_IN)).parents(Selector.PANEL).addClass(ClassName.ACTIVE);\r\n $(pmdAccordion.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.DATA_TOGGLE_COLLAPSE)).off(Event.CLICK);\r\n $(pmdAccordion.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.DATA_TOGGLE_COLLAPSE)).on(Event.CLICK, applyCollapse);\r\n $(pmdAccordion.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.EXPANDALL)).off(Event.CLICK);\r\n $(pmdAccordion.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.EXPANDALL)).on(Event.CLICK, expandAll);\r\n $(pmdAccordion.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.COLLAPSEALL)).off(Event.CLICK);\r\n $(pmdAccordion.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.COLLAPSEALL)).on(Event.CLICK, collapseAll);\r\n }\r\n return pmdAccordion;\r\n } ();\r\n\r\n\r\n\t/**\r\n\t * ------------------------------------------------------------------------\r\n\t * jQuery\r\n\t * ------------------------------------------------------------------------\r\n\t */\r\n\r\n\tvar plugInFunction = function () {\r\n if (this.selector !== \"\") {\r\n Selector.PARENT_SELECTOR = this.selector;\r\n }\r\n new pmdAccordion();\r\n };\r\n $.fn[NAME] = plugInFunction;\r\n return pmdAccordion;\r\n\r\n} (jQuery)();\r\n\n\r\n/*!\r\n * --------------------------------------------------------------------------\r\n * Propeller v1.3.2 (http://propeller.in): alert.js\r\n * Copyright 2016-2019 Digicorp, Inc.\r\n * Licensed under MIT (http://propeller.in/LICENSE)\r\n * -------------------------------------------------------------------------- \r\n */\r\n\r\nvar pmdAlert = function ($) {\r\n\r\n\r\n /**\r\n * ------------------------------------------------------------------------\r\n * Variables\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\n var NAME = 'pmdAlert';\r\n var JQUERY_NO_CONFLICT = $.fn[NAME];\r\n var positionX = 'left';\r\n var positionY = 'top';\r\n var dataEffect = 'fadeInUp';\r\n var dataMessage = 'Alert Message';\r\n var dataType = 'information';\r\n var actionText = 'Ok';\r\n var action = 'false';\r\n var duration = 3000;\r\n var actionCallback = (function () { return; })();\r\n\r\n var ClassName = {\r\n CONTAINER: 'pmd-alert-container',\r\n PMD_ALERT: 'pmd-alert',\r\n CLOSE: 'pmd-alert-close',\r\n VISIBLE: 'visible'\r\n };\r\n\r\n var Selector = {\r\n PARENT_SELECTOR: '',\r\n TOGGLE: '.pmd-alert-toggle',\r\n BODY: 'body',\r\n CONTAINER: '.' + ClassName.CONTAINER,\r\n PMD_ALERT: '.' + ClassName.PMD_ALERT,\r\n CENTER: \".center\",\r\n CLOSE: '.' + ClassName.CLOSE\r\n };\r\n\r\n var Event = {\r\n CLICK: 'click'\r\n };\r\n\r\n\r\n /**\r\n * ------------------------------------------------------------------------\r\n * Functions\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\n function getNotificationValue() {\r\n if (action == \"true\") {\r\n if (actionText == null) {\r\n return \"