j1-template 2022.0.1 → 2022.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/ads/ad.html +14 -14
  3. data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
  4. data/_includes/themes/j1/modules/navigator/generator.html +3 -3
  5. data/_includes/themes/j1/modules/search/docsearch.html +1 -1
  6. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +2 -2
  7. data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
  8. data/assets/data/authclient.html +11 -11
  9. data/assets/data/cookieconsent.html +8 -8
  10. data/assets/data/gallery_customizer.html +4 -4
  11. data/assets/data/menu.html +13 -13
  12. data/assets/data/mmenu.html +2 -2
  13. data/assets/data/quicklinks.html +2 -2
  14. data/assets/data/rtext_resizer.html +1 -1
  15. data/assets/data/themes.bootswatch.json +2 -2
  16. data/assets/data/themes.json +4 -4
  17. data/assets/data/translator.html +8 -8
  18. data/assets/themes/j1/adapter/js/clipboard.js +1 -1
  19. data/assets/themes/j1/adapter/js/j1.js +6 -6
  20. data/assets/themes/j1/adapter/js/navigator.js +3 -3
  21. data/assets/themes/j1/adapter/js/themer.js +13 -4
  22. data/assets/themes/j1/core/css/themes/{uno-dark → unodark}/bootstrap.css +0 -0
  23. data/assets/themes/j1/core/css/themes/{uno-dark → unodark}/bootstrap.min.css +0 -0
  24. data/assets/themes/j1/core/css/themes/{uno-light → unolight}/bootstrap.css +326 -18
  25. data/assets/themes/j1/core/css/themes/{uno-light → unolight}/bootstrap.min.css +1 -1
  26. data/assets/themes/j1/modules/bmd/js/bmd.js +3 -3
  27. data/assets/themes/j1/modules/bmd/js/bmd.min.js +1 -1
  28. data/assets/themes/j1/modules/materialize/js/autocomplete.js +1 -1
  29. data/assets/themes/j1/modules/materialize/js/bin/materialize.js +4 -4
  30. data/assets/themes/j1/modules/materialize/js/bin/materialize.min.js +1 -1
  31. data/assets/themes/j1/modules/materialize/js/global.js +1 -1
  32. data/assets/themes/j1/modules/materialize/js/select.js +1 -1
  33. data/assets/themes/j1/modules/materialize/js/tapTarget.cash.js +1 -1
  34. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +2 -2
  35. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
  36. data/lib/j1/version.rb +1 -1
  37. data/lib/starter_web/Gemfile +1 -1
  38. data/lib/starter_web/_config.yml +1 -1
  39. data/lib/starter_web/_data/_defaults/j1_config.yml +1 -1
  40. data/lib/starter_web/_data/_defaults/resources.yml +1 -1
  41. data/lib/starter_web/_data/blocks/banner.yml +5 -5
  42. data/lib/starter_web/_data/blocks/defaults/banner.yml +5 -5
  43. data/lib/starter_web/_data/blocks/defaults/panel.yml +3 -3
  44. data/lib/starter_web/_data/j1_config.yml +2 -2
  45. data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
  46. data/lib/starter_web/_data/resources.yml +1 -1
  47. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  48. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  49. data/lib/starter_web/assets/images/pages/roundtrip/500_themes/themes-menu-1280x800.jpg +0 -0
  50. data/lib/starter_web/package.json +1 -1
  51. data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +1 -1
  52. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +3 -3
  53. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +1 -1
  54. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +1 -1
  55. data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +1 -1
  56. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +1 -1
  57. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +1 -1
  58. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +1 -1
  59. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +1 -1
  60. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +1 -1
  61. data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +22 -22
  62. data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +3 -3
  63. data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +3 -3
  64. data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +4 -4
  65. data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +3 -3
  66. data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +2 -2
  67. data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +1 -1
  68. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +3 -3
  69. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +4 -5
  70. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  71. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +2 -2
  72. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_info.asciidoc +3 -3
  73. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +1 -1
  74. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +1 -1
  75. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_central_success.asciidoc +1 -1
  76. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_left_info.asciidoc +1 -1
  77. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_right_success.asciidoc +1 -1
  78. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_info.asciidoc +1 -1
  79. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_left_info.asciidoc +1 -1
  80. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_right_success.asciidoc +1 -1
  81. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +51 -51
  82. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +4 -4
  83. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +3 -4
  84. data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +55 -0
  85. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +51 -3
  86. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +163 -73
  87. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  88. data/lib/starter_web/utilsrv/package.json +1 -1
  89. metadata +7 -6
@@ -1462,12 +1462,12 @@
1462
1462
  _inheritsLoose(Drawer, _BaseLayout);
1463
1463
 
1464
1464
  // $element is expected to be the trigger
1465
- // i.e. <button class="btn bmd-btn-icon" for="search" data-toggle="drawer" data-target="#my-side-nav-drawer" aria-expanded="false" aria-controls="my-side-nav-drawer">
1465
+ // i.e. <button class="btn bmd-btn-icon" for="search" data-bs-toggle="drawer" data-bs-target="#my-side-nav-drawer" aria-expanded="false" aria-controls="my-side-nav-drawer">
1466
1466
  function Drawer($element, config) {
1467
1467
  var _this;
1468
1468
 
1469
1469
  _this = _BaseLayout.call(this, $element, $.extend(true, {}, Default, config)) || this;
1470
- _this.$toggles = $("[data-toggle=\"drawer\"][href=\"#" + _this.$element[0].id + "\"], [data-toggle=\"drawer\"][data-target=\"#" + _this.$element[0].id + "\"]");
1470
+ _this.$toggles = $("[data-bs-toggle=\"drawer\"][href=\"#" + _this.$element[0].id + "\"], [data-bs-toggle=\"drawer\"][data-bs-target=\"#" + _this.$element[0].id + "\"]");
1471
1471
 
1472
1472
  _this._addAria(); // click or escape on the backdrop closes the drawer
1473
1473
 
@@ -2114,7 +2114,7 @@
2114
2114
  // selector: "label.checkbox-inline > input[type=checkbox]"
2115
2115
  // },
2116
2116
  // collapseInline: {
2117
- // selector: '.bmd-collapse-inline [data-toggle="collapse"]'
2117
+ // selector: '.bmd-collapse-inline [data-bs-toggle="collapse"]'
2118
2118
  // },
2119
2119
  drawer: {
2120
2120
  selector: ".bmd-layout-drawer"
@@ -17,4 +17,4 @@
17
17
  # See: https://github.com/mdbootstrap/bootstrap-material-design/blob/4.1.3/LICENSE.md
18
18
  # -----------------------------------------------------------------------------
19
19
  */
20
- (function(a){typeof define==="function"&&define.amd?define(a):a()}((function(){function j(s,r){s.prototype=Object.create(r.prototype);s.prototype.constructor=s;s.__proto__=r}var n=function(){var v=false;var x="";var w={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};function s(){if(window.QUnit){return false}var D=document.createElement("bmd");for(var C in w){if(D.style[C]!==undefined){return w[C]}}return false}function B(){v=s();for(var C in w){x+=" "+w[C]}}var z={transitionEndSupported:function t(){return v},transitionEndSelector:function A(){return x},isChar:function y(C){if(typeof C.which==="undefined"){return true}else{if(typeof C.which==="number"&&C.which>0){return !C.ctrlKey&&!C.metaKey&&!C.altKey&&C.which!==8&&C.which!==9&&C.which!==13&&C.which!==16&&C.which!==17&&C.which!==20&&C.which!==27}}return false},assert:function r(C,E,D){if(E){if(!C===undefined){C.css("border","1px solid red")}console.error(D,C);throw D}},describe:function u(C){if(C===undefined){return"undefined"}else{if(C.length===0){return"(no matching elements)"}}return C[0].outerHTML.split(">")[0]+">"}};B();return z}(jQuery);var i=function(v){var u={BMD_FORM_GROUP:"bmd-form-group",IS_FILLED:"is-filled",IS_FOCUSED:"is-focused"};var s={BMD_FORM_GROUP:"."+u.BMD_FORM_GROUP};var r={};var t=function(){function A(E,F,H){if(H===void 0){H={}}this.$element=E;this.config=v.extend(true,{},r,F);for(var G in H){this[G]=H[G]}}var x=A.prototype;x.dispose=function D(E){this.$element.data(E,null);this.$element=null;this.config=null};x.addFormGroupFocus=function z(){if(!this.$element.prop("disabled")){this.$bmdFormGroup.addClass(u.IS_FOCUSED)}};x.removeFormGroupFocus=function C(){this.$bmdFormGroup.removeClass(u.IS_FOCUSED)};x.removeIsFilled=function y(){this.$bmdFormGroup.removeClass(u.IS_FILLED)};x.addIsFilled=function w(){this.$bmdFormGroup.addClass(u.IS_FILLED)};x.findMdbFormGroup=function B(E){if(E===void 0){E=true}var F=this.$element.closest(s.BMD_FORM_GROUP);if(F.length===0&&E){v.error("Failed to find "+s.BMD_FORM_GROUP+" for "+n.describe(this.$element))}return F};return A}();return t}(jQuery);var d=function(v){var u={FORM_GROUP:"form-group",BMD_FORM_GROUP:"bmd-form-group",BMD_LABEL:"bmd-label",BMD_LABEL_STATIC:"bmd-label-static",BMD_LABEL_PLACEHOLDER:"bmd-label-placeholder",BMD_LABEL_FLOATING:"bmd-label-floating",HAS_DANGER:"has-danger",IS_FILLED:"is-filled",IS_FOCUSED:"is-focused",INPUT_GROUP:"input-group"};var s={FORM_GROUP:"."+u.FORM_GROUP,BMD_FORM_GROUP:"."+u.BMD_FORM_GROUP,BMD_LABEL_WILDCARD:"label[class^='"+u.BMD_LABEL+"'], label[class*=' "+u.BMD_LABEL+"']"};var r={validate:false,formGroup:{required:false},bmdFormGroup:{template:"<span class='"+u.BMD_FORM_GROUP+"'></span>",create:true,required:true},label:{required:false,selectors:[".form-control-label","> label"],className:u.BMD_LABEL_STATIC},requiredClasses:[],invalidComponentMatches:[],convertInputSizeVariations:true};var t={"form-control-lg":"bmd-form-group-lg","form-control-sm":"bmd-form-group-sm"};var w=function(B){j(I,B);function I(P,Q,R){var S;if(R===void 0){R={}}S=B.call(this,P,v.extend(true,{},r,Q),R)||this;S._rejectInvalidComponentMatches();S.rejectWithoutRequiredStructure();S._rejectWithoutRequiredClasses();S.$formGroup=S.findFormGroup(S.config.formGroup.required);S.$bmdFormGroup=S.resolveMdbFormGroup();S.$bmdLabel=S.resolveMdbLabel();S.resolveMdbFormGroupSizing();S.addFocusListener();S.addChangeListener();if(S.$element.val()!=""){S.addIsFilled()}return S}var C=I.prototype;C.dispose=function M(P){B.prototype.dispose.call(this,P);this.$bmdFormGroup=null;this.$formGroup=null};C.rejectWithoutRequiredStructure=function D(){};C.addFocusListener=function y(){var P=this;this.$element.on("focus",function(){P.addFormGroupFocus()}).on("blur",function(){P.removeFormGroupFocus()})};C.addChangeListener=function N(){var P=this;this.$element.on("keydown paste",function(Q){if(n.isChar(Q)){P.addIsFilled()}}).on("keyup change",function(){if(P.isEmpty()){P.removeIsFilled()}else{P.addIsFilled()}if(P.config.validate){var Q=typeof P.$element[0].checkValidity==="undefined"||P.$element[0].checkValidity();if(Q){P.removeHasDanger()}else{P.addHasDanger()}}})};C.addHasDanger=function K(){this.$bmdFormGroup.addClass(u.HAS_DANGER)};C.removeHasDanger=function A(){this.$bmdFormGroup.removeClass(u.HAS_DANGER)};C.isEmpty=function F(){return this.$element.val()===null||this.$element.val()===undefined||this.$element.val()===""};C.resolveMdbFormGroup=function H(){var P=this.findMdbFormGroup(false);if(P===undefined||P.length===0){if(this.config.bmdFormGroup.create&&(this.$formGroup===undefined||this.$formGroup.length===0)){if(this.outerElement().parent().hasClass(u.INPUT_GROUP)){this.outerElement().parent().wrap(this.config.bmdFormGroup.template)}else{this.outerElement().wrap(this.config.bmdFormGroup.template)}}else{this.$formGroup.addClass(u.BMD_FORM_GROUP)}P=this.findMdbFormGroup(this.config.bmdFormGroup.required)}return P};C.outerElement=function z(){return this.$element};C.resolveMdbLabel=function O(){var P=this.$bmdFormGroup.find(s.BMD_LABEL_WILDCARD);if(P===undefined||P.length===0){P=this.findMdbLabel(this.config.label.required);if(P===undefined||P.length===0){}else{P.addClass(this.config.label.className)}}return P};C.findMdbLabel=function L(S){if(S===void 0){S=true}var R=null;for(var T=this.config.label.selectors,Q=Array.isArray(T),V=0,T=Q?T:T[Symbol.iterator]();;){var U;if(Q){if(V>=T.length){break}U=T[V++]}else{V=T.next();if(V.done){break}U=V.value}var P=U;if(v.isFunction(P)){R=P(this)}else{R=this.$bmdFormGroup.find(P)}if(R!==undefined&&R.length>0){break}}if(R.length===0&&S){v.error("Failed to find "+s.BMD_LABEL_WILDCARD+" within form-group for "+n.describe(this.$element))}return R};C.findFormGroup=function E(Q){if(Q===void 0){Q=true}var P=this.$element.closest(s.FORM_GROUP);if(P.length===0&&Q){v.error("Failed to find "+s.FORM_GROUP+" for "+n.describe(this.$element))}return P};C.resolveMdbFormGroupSizing=function J(){if(!this.config.convertInputSizeVariations){return}for(var P in t){if(this.$element.hasClass(P)){this.$bmdFormGroup.addClass(t[P])}}};C._rejectInvalidComponentMatches=function G(){for(var R=this.config.invalidComponentMatches,Q=Array.isArray(R),T=0,R=Q?R:R[Symbol.iterator]();;){var S;if(Q){if(T>=R.length){break}S=R[T++]}else{T=R.next();if(T.done){break}S=T.value}var P=S;P.rejectMatch(this.constructor.name,this.$element)}};C._rejectWithoutRequiredClasses=function x(){for(var Z=this.config.requiredClasses,T=Array.isArray(Z),X=0,Z=T?Z:Z[Symbol.iterator]();;){var Q;if(T){if(X>=Z.length){break}Q=Z[X++]}else{X=Z.next();if(X.done){break}Q=X.value}var W=Q;if(W.indexOf("||")!==-1){var U=W.split("||");for(var Y=U,S=Array.isArray(Y),V=0,Y=S?Y:Y[Symbol.iterator]();;){var P;if(S){if(V>=Y.length){break}P=Y[V++]}else{V=Y.next();if(V.done){break}P=V.value}var R=P;if(this.$element.hasClass(R)){break}}}else{if(this.$element.hasClass(W)){}}}};return I}(i);return w}(jQuery);var h=function(u){var s={label:{required:false}};var r={LABEL:"label"};var t=function(C){j(y,C);function y(D,E,F){var G;G=C.call(this,D,u.extend(true,{},s,E),F)||this;G.decorateMarkup();return G}var x=y.prototype;x.decorateMarkup=function A(){var D=u(this.config.template);this.$element.after(D);if(this.config.ripples!==false){D.bmdRipples()}};x.outerElement=function z(){return this.$element.parent().closest("."+this.outerClass)};x.rejectWithoutRequiredStructure=function w(){n.assert(this.$element,!this.$element.parent().prop("tagName")==="label",this.constructor.name+"'s "+n.describe(this.$element)+" parent element should be <label>.");n.assert(this.$element,!this.outerElement().hasClass(this.outerClass),this.constructor.name+"'s "+n.describe(this.$element)+" outer element should have class "+this.outerClass+".")};x.addFocusListener=function B(){var D=this;this.$element.closest(r.LABEL).hover(function(){D.addFormGroupFocus()},function(){D.removeFormGroupFocus()})};x.addChangeListener=function v(){var D=this;this.$element.change(function(){D.$element.blur()})};return y}(d);return t}(jQuery);var g=function(u){var w="checkbox";var t="bmd."+w;var s="bmd"+(w.charAt(0).toUpperCase()+w.slice(1));var x=u.fn[s];var r={template:"<span class='checkbox-decorator'><span class='check'></span></span>"};var v=function(A){j(D,A);function D(F,G,H){if(H===void 0){H={inputType:w,outerClass:w}}return A.call(this,F,u.extend(true,r,G),H)||this}var y=D.prototype;y.dispose=function C(F){if(F===void 0){F=t}A.prototype.dispose.call(this,F)};D.matches=function B(F){if(F.attr("type")==="checkbox"){return true}return false};D.rejectMatch=function E(G,F){n.assert(this.$element,this.matches(F),G+" component element "+n.describe(F)+" is invalid for type='checkbox'.")};D._jQueryInterface=function z(F){return this.each(function(){var G=u(this);var H=G.data(t);if(!H){H=new D(G,F);G.data(t,H)}})};return D}(h);u.fn[s]=v._jQueryInterface;u.fn[s].Constructor=v;u.fn[s].noConflict=function(){u.fn[s]=x;return v._jQueryInterface};return v}(jQuery);var q=function(u){var v="radio";var t="bmd."+v;var s="bmd"+(v.charAt(0).toUpperCase()+v.slice(1));var x=u.fn[s];var r={template:"<span class='bmd-radio'></span>"};var w=function(A){j(E,A);function E(F,G,H){if(H===void 0){H={inputType:v,outerClass:v}}return A.call(this,F,u.extend(true,r,G),H)||this}var y=E.prototype;y.dispose=function C(F){if(F===void 0){F=t}A.prototype.dispose.call(this,F)};E.matches=function B(F){if(F.attr("type")==="radio"){return true}return false};E.rejectMatch=function D(G,F){n.assert(this.$element,this.matches(F),G+" component element "+n.describe(F)+" is invalid for type='radio'.")};E._jQueryInterface=function z(F){return this.each(function(){var G=u(this);var H=G.data(t);if(!H){H=new E(G,F);G.data(t,H)}})};return E}(h);u.fn[s]=w._jQueryInterface;u.fn[s].Constructor=w;u.fn[s].noConflict=function(){u.fn[s]=x;return w._jQueryInterface};return w}(jQuery);var o=function(t){var r={requiredClasses:["form-control"]};var s=function(v){j(u,v);function u(w,x){var y;y=v.call(this,w,t.extend(true,r,x))||this;if(y.isEmpty()){y.removeIsFilled()}return y}return u}(d);return s}(jQuery);var b=function(u){var v="select";var t="bmd."+v;var s="bmd"+(v.charAt(0).toUpperCase()+v.slice(1));var w=u.fn[s];var r={requiredClasses:["form-control||custom-select"]};var x=function(D){j(E,D);function E(F,G){var H;H=D.call(this,F,u.extend(true,r,G))||this;H.addIsFilled();return H}var y=E.prototype;y.dispose=function B(){D.prototype.dispose.call(this,t)};E.matches=function A(F){if(F.prop("tagName")==="select"){return true}return false};E.rejectMatch=function C(G,F){n.assert(this.$element,this.matches(F),G+" component element "+n.describe(F)+" is invalid for <select>.")};E._jQueryInterface=function z(F){return this.each(function(){var G=u(this);var H=G.data(t);if(!H){H=new E(G,F);G.data(t,H)}})};return E}(o);u.fn[s]=x._jQueryInterface;u.fn[s].Constructor=x;u.fn[s].noConflict=function(){u.fn[s]=w;return x._jQueryInterface};return x}(jQuery);var a=function(v){var w="switch";var u="bmd."+w;var t="bmd"+(w.charAt(0).toUpperCase()+w.slice(1));var x=v.fn[t];var r={template:"<span class='bmd-switch-track'></span>"};var s=function(C){j(z,C);function z(D,E,F){if(F===void 0){F={inputType:"checkbox",outerClass:"switch"}}return C.call(this,D,v.extend(true,{},r,E),F)||this}var y=z.prototype;y.dispose=function B(){C.prototype.dispose.call(this,u)};z._jQueryInterface=function A(D){return this.each(function(){var E=v(this);var F=E.data(u);if(!F){F=new z(E,D);E.data(u,F)}})};return z}(g);v.fn[t]=s._jQueryInterface;v.fn[t].Constructor=s;v.fn[t].noConflict=function(){v.fn[t]=x;return s._jQueryInterface};return s}(jQuery);var f=function(v){var w="text";var u="bmd."+w;var s="bmd"+(w.charAt(0).toUpperCase()+w.slice(1));var x=v.fn[s];var r={};var t=function(E){j(A,E);function A(F,G){return E.call(this,F,v.extend(true,r,G))||this}var y=A.prototype;y.dispose=function C(F){if(F===void 0){F=u}E.prototype.dispose.call(this,F)};A.matches=function B(F){if(F.attr("type")==="text"){return true}return false};A.rejectMatch=function D(G,F){n.assert(this.$element,this.matches(F),G+" component element "+n.describe(F)+" is invalid for type='text'.")};A._jQueryInterface=function z(F){return this.each(function(){var G=v(this);var H=G.data(u);if(!H){H=new A(G,F);G.data(u,H)}})};return A}(o);v.fn[s]=t._jQueryInterface;v.fn[s].Constructor=t;v.fn[s].noConflict=function(){v.fn[s]=x;return t._jQueryInterface};return t}(jQuery);var k=function(v){var w="textarea";var u="bmd."+w;var t="bmd"+(w.charAt(0).toUpperCase()+w.slice(1));var x=v.fn[t];var r={};var s=function(E){j(z,E);function z(F,G){return E.call(this,F,v.extend(true,r,G))||this}var y=z.prototype;y.dispose=function C(){E.prototype.dispose.call(this,u)};z.matches=function B(F){if(F.prop("tagName")==="textarea"){return true}return false};z.rejectMatch=function D(G,F){n.assert(this.$element,this.matches(F),G+" component element "+n.describe(F)+" is invalid for <textarea>.")};z._jQueryInterface=function A(F){return this.each(function(){var G=v(this);var H=G.data(u);if(!H){H=new z(G,F);G.data(u,H)}})};return z}(o);v.fn[t]=s._jQueryInterface;v.fn[t].Constructor=s;v.fn[t].noConflict=function(){v.fn[t]=x;return s._jQueryInterface};return s}(jQuery);var p=function(v){var u={CANVAS:"bmd-layout-canvas",CONTAINER:"bmd-layout-container",BACKDROP:"bmd-layout-backdrop"};var s={CANVAS:"."+u.CANVAS,CONTAINER:"."+u.CONTAINER,BACKDROP:"."+u.BACKDROP};var r={canvas:{create:true,required:true,template:'<div class="'+u.CANVAS+'"></div>'},backdrop:{create:true,required:true,template:'<div class="'+u.BACKDROP+'"></div>'}};var t=function(x){j(D,x);function D(F,G,H){var I;if(H===void 0){H={}}I=x.call(this,F,v.extend(true,{},r,G),H)||this;I.$container=I.findContainer(true);I.$backdrop=I.resolveBackdrop();I.resolveCanvas();return I}var A=D.prototype;A.dispose=function C(F){x.prototype.dispose.call(this,F);this.$container=null;this.$backdrop=null};A.resolveCanvas=function E(){var F=this.findCanvas(false);if(F===undefined||F.length===0){if(this.config.canvas.create){this.$container.wrap(this.config.canvas.template)}F=this.findCanvas(this.config.canvas.required)}return F};A.findCanvas=function w(G,H){if(G===void 0){G=true}if(H===void 0){H=this.$container}var F=H.closest(s.CANVAS);if(F.length===0&&G){v.error("Failed to find "+s.CANVAS+" for "+n.describe(H))}return F};A.resolveBackdrop=function B(){var F=this.findBackdrop(false);if(F===undefined||F.length===0){if(this.config.backdrop.create){this.$container.append(this.config.backdrop.template)}F=this.findBackdrop(this.config.backdrop.required)}return F};A.findBackdrop=function y(G,H){if(G===void 0){G=true}if(H===void 0){H=this.$container}var F=H.find("> "+s.BACKDROP);if(F.length===0&&G){v.error("Failed to find "+s.BACKDROP+" for "+n.describe(H))}return F};A.findContainer=function z(G,H){if(G===void 0){G=true}if(H===void 0){H=this.$element}var F=H.closest(s.CONTAINER);if(F.length===0&&G){v.error("Failed to find "+s.CONTAINER+" for "+n.describe(H))}return F};return D}(i);return t}(jQuery);var e=function(t){var z="drawer";var x="bmd."+z;var y="bmd"+(z.charAt(0).toUpperCase()+z.slice(1));var r=t.fn[y];var v={ESCAPE:27};var w={IN:"in",DRAWER_IN:"bmd-drawer-in",DRAWER_OUT:"bmd-drawer-out",DRAWER:"bmd-layout-drawer",CONTAINER:"bmd-layout-container"};var u={focusSelector:"a, button, input"};var s=function(J){j(B,J);function B(L,M){var N;N=J.call(this,L,t.extend(true,{},u,M))||this;N.$toggles=t('[data-toggle="drawer"][href="#'+N.$element[0].id+'"], [data-toggle="drawer"][data-target="#'+N.$element[0].id+'"]');N._addAria();N.$backdrop.keydown(function(O){if(O.which===v.ESCAPE){N.hide()}}).click(function(){N.hide()});N.$element.keydown(function(O){if(O.which===v.ESCAPE){N.hide()}});N.$toggles.click(function(){N.toggle()});return N}var H=B.prototype;H.dispose=function K(){J.prototype.dispose.call(this,x);this.$toggles=null};H.toggle=function D(){if(this._isOpen()){this.hide()}else{this.show()}};H.show=function I(){if(this._isForcedClosed()||this._isOpen()){return}t(".bmd-layout-drawer").hide();this.$element.show();this.$toggles.attr("aria-expanded",true);this.$element.attr("aria-expanded",true);this.$element.attr("aria-hidden",false);var L=this.$element.find(this.config.focusSelector);if(L.length>0){L.first().focus()}this.$container.addClass(w.DRAWER_IN);this.$backdrop.addClass(w.IN)};H.hide=function F(){if(!this._isOpen()){return}this.$toggles.attr("aria-expanded",false);this.$element.attr("aria-expanded",false);this.$element.attr("aria-hidden",true);this.$container.removeClass(w.DRAWER_IN);this.$backdrop.removeClass(w.IN)};H._isOpen=function E(){return this.$container.hasClass(w.DRAWER_IN)};H._isForcedClosed=function A(){return this.$container.hasClass(w.DRAWER_OUT)};H._addAria=function G(){var L=this._isOpen();this.$element.attr("aria-expanded",L);this.$element.attr("aria-hidden",L);if(this.$toggles.length){this.$toggles.attr("aria-expanded",L)}};B._jQueryInterface=function C(L){return this.each(function(){var M=t(this);var N=M.data(x);if(!N){N=new B(M,L);M.data(x,N)}})};return B}(p);t.fn[y]=s._jQueryInterface;t.fn[y].Constructor=s;t.fn[y].noConflict=function(){t.fn[y]=r;return s._jQueryInterface};return s}(jQuery);var c=function(u){var z="ripples";var x="bmd."+z;var y="bmd"+(z.charAt(0).toUpperCase()+z.slice(1));var r=u.fn[y];var w={CONTAINER:"ripple-container",DECORATOR:"ripple-decorator"};var s={CONTAINER:"."+w.CONTAINER,DECORATOR:"."+w.DECORATOR};var v={container:{template:"<div class='"+w.CONTAINER+"'></div>"},decorator:{template:"<div class='"+w.DECORATOR+"'></div>"},trigger:{start:"mousedown touchstart",end:"mouseup mouseleave touchend"},touchUserAgentRegex:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i,duration:500};var t=function(){function C(P,Q){var R=this;this.$element=P;this.config=u.extend(true,{},v,Q);this.$element.on(this.config.trigger.start,function(S){R._onStartRipple(S)})}var K=C.prototype;K.dispose=function M(){this.$element.data(x,null);this.$element=null;this.$container=null;this.$decorator=null;this.config=null};K._onStartRipple=function G(Q){var P=this;if(this._isTouch()&&Q.type==="mousedown"){return}this._findOrCreateContainer();var R=this._getRelY(Q);var S=this._getRelX(Q);if(!R&&!S){return}this.$decorator.css({left:S,top:R,"background-color":this._getRipplesColor()});this._forceStyleApplication();this.rippleOn();setTimeout(function(){P.rippleEnd()},this.config.duration);this.$element.on(this.config.trigger.end,function(){if(P.$decorator){P.$decorator.data("mousedown","off");if(P.$decorator.data("animating")==="off"){P.rippleOut()}}})};K._findOrCreateContainer=function B(){if(!this.$container||!this.$container.length>0){this.$element.append(this.config.container.template);this.$container=this.$element.find(s.CONTAINER)}this.$container.append(this.config.decorator.template);this.$decorator=this.$container.find(s.DECORATOR)};K._forceStyleApplication=function A(){return window.getComputedStyle(this.$decorator[0]).opacity};K._getRelX=function O(Q){var R=this.$container.offset();var P=null;if(!this._isTouch()){P=Q.pageX-R.left}else{Q=Q.originalEvent;if(Q.touches.length===1){P=Q.touches[0].pageX-R.left}else{P=false}}return P};K._getRelY=function N(R){var Q=this.$container.offset();var P=null;if(!this._isTouch()){P=R.pageY-Q.top}else{R=R.originalEvent;if(R.touches.length===1){P=R.touches[0].pageY-Q.top}else{P=false}}return P};K._getRipplesColor=function L(){var P=this.$element.data("ripple-color")?this.$element.data("ripple-color"):window.getComputedStyle(this.$element[0]).color;return P};K._isTouch=function I(){return this.config.touchUserAgentRegex.test(navigator.userAgent)};K.rippleEnd=function E(){if(this.$decorator){this.$decorator.data("animating","off");if(this.$decorator.data("mousedown")==="off"){this.rippleOut(this.$decorator)}}};K.rippleOut=function F(){var P=this;this.$decorator.off();if(n.transitionEndSupported()){this.$decorator.addClass("ripple-out")}else{this.$decorator.animate({opacity:0},100,function(){P.$decorator.trigger("transitionend")})}this.$decorator.on(n.transitionEndSelector(),function(){if(P.$decorator){P.$decorator.remove();P.$decorator=null}})};K.rippleOn=function J(){var Q=this;var P=this._getNewSize();if(n.transitionEndSupported()){this.$decorator.css({"-ms-transform":"scale("+P+")","-moz-transform":"scale("+P+")","-webkit-transform":"scale("+P+")",transform:"scale("+P+")"}).addClass("ripple-on").data("animating","on").data("mousedown","on")}else{this.$decorator.animate({width:Math.max(this.$element.outerWidth(),this.$element.outerHeight())*2,height:Math.max(this.$element.outerWidth(),this.$element.outerHeight())*2,"margin-left":Math.max(this.$element.outerWidth(),this.$element.outerHeight())*-1,"margin-top":Math.max(this.$element.outerWidth(),this.$element.outerHeight())*-1,opacity:0.2},this.config.duration,function(){Q.$decorator.trigger("transitionend")})}};K._getNewSize=function H(){return Math.max(this.$element.outerWidth(),this.$element.outerHeight())/this.$decorator.outerWidth()*2.5};C._jQueryInterface=function D(P){return this.each(function(){var Q=u(this);var R=Q.data(x);if(!R){R=new C(Q,P);Q.data(x,R)}})};return C}();u.fn[y]=t._jQueryInterface;u.fn[y].Constructor=t;u.fn[y].noConflict=function(){u.fn[y]=r;return t._jQueryInterface};return t}(jQuery);var m=function(v){var x="autofill";var u="bmd."+x;var t="bmd"+(x.charAt(0).toUpperCase()+x.slice(1));var y=v.fn[t];var s="bmd.last_value";var r={};var w=function(B){j(G,B);function G(H,I){var J;J=B.call(this,H,v.extend(true,{},r,I))||this;J._watchLoading();J._attachEventHandlers();return J}var A=G.prototype;A.dispose=function F(){B.prototype.dispose.call(this,u)};A._watchLoading=function E(){var H=this;setTimeout(function(){clearInterval(H._onLoading)},10000)};A._onLoading=function z(){setInterval(function(){v("input[type!=checkbox]").each(function(J,K){var I=v(K);var H=I.data(s);if(H===undefined){H=I.attr("value")}if(H===undefined){H=""}var L=I.val();if(L!==H){I.trigger("change")}I.data(s,L)})},100)};A._attachEventHandlers=function D(){var H=null;v(document).on("focus","input",function(J){var I=v(J.currentTarget).closest("form").find("input").not("[type=file], [type=date]");H=setInterval(function(){I.each(function(M,N){var L=v(N);var K=L.data(s);if(K===undefined){K=L.attr("value")}if(K===undefined){K=""}var O=L.val();if(O!==K){L.trigger("change")}L.data(s,O)})},100)}).on("blur",".form-group input",function(){clearInterval(H)})};G._jQueryInterface=function C(H){return this.each(function(){var I=v(this);var J=I.data(u);if(!J){J=new G(I,H);I.data(u,J)}})};return G}(i);v.fn[t]=w._jQueryInterface;v.fn[t].Constructor=w;v.fn[t].noConflict=function(){v.fn[t]=y;return w._jQueryInterface};return w}(jQuery);var l=function(u){var w="bmd";var t="bmd."+w;var s=w;var x=u.fn[s];var r={global:{validate:false,label:{className:"bmd-label-static"}},checkbox:{selector:".checkbox > label > input[type=checkbox]"},drawer:{selector:".bmd-layout-drawer"},radio:{selector:".radio > label > input[type=radio]"},ripples:{selector:[".btn:not(.btn-link):not(.ripple-none)",".card-image:not(.ripple-none)",".navbar a:not(.ripple-none)",".dropdown-menu a:not(.ripple-none)",".nav-tabs a:not(.ripple-none)",".pagination li:not(.active):not(.disabled) a:not(.ripple-none)",".ripple"]},select:{selector:["select"]},"switch":{selector:".switch > label > input[type=checkbox]"},text:{selector:["input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=button]):not([type=submit]):not([type=reset])"]},textarea:{selector:["textarea"]},arrive:true,instantiation:["ripples","checkbox","drawer","radio","switch","text","textarea","select","autofill"]};var v=function(){function B(M,E){var I=this;this.$element=M;this.config=u.extend(true,{},r,E);var F=u(document);var D=function D(){if(K){if(G>=J.length){return"break"}H=J[G++]}else{G=J.next();if(G.done){return"break"}H=G.value}var Q=H;var P=I.config[Q];if(P){var N=I._resolveSelector(P);P=u.extend(true,{},I.config.global,P);var O=""+(Q.charAt(0).toUpperCase()+Q.slice(1));var S="bmd"+O;try{u(N)[S](P);if(document.arrive&&I.config.arrive){F.arrive(N,function(){u(this)[S](P)})}}catch(T){var R="Failed to instantiate component: $('"+N+"')["+S+"]("+P+")";console.error(R,T,"\nSelected elements: ",u(N));throw T}}};for(var J=this.config.instantiation,K=Array.isArray(J),G=0,J=K?J:J[Symbol.iterator]();;){var H;var L=D();if(L==="break"){break}}}var y=B.prototype;y.dispose=function A(){this.$element.data(t,null);this.$element=null;this.config=null};y._resolveSelector=function C(E){var D=E.selector;if(Array.isArray(D)){D=D.join(", ")}return D};B._jQueryInterface=function z(D){return this.each(function(){var E=u(this);var F=E.data(t);if(!F){F=new B(E,D);E.data(t,F)}})};return B}();u.fn[s]=v._jQueryInterface;u.fn[s].Constructor=v;u.fn[s].noConflict=function(){u.fn[s]=x;return v._jQueryInterface};return v}(jQuery)})));
20
+ (function(a){typeof define==="function"&&define.amd?define(a):a()}((function(){function j(s,r){s.prototype=Object.create(r.prototype);s.prototype.constructor=s;s.__proto__=r}var n=function(){var v=false;var x="";var w={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};function s(){if(window.QUnit){return false}var D=document.createElement("bmd");for(var C in w){if(D.style[C]!==undefined){return w[C]}}return false}function B(){v=s();for(var C in w){x+=" "+w[C]}}var z={transitionEndSupported:function t(){return v},transitionEndSelector:function A(){return x},isChar:function y(C){if(typeof C.which==="undefined"){return true}else{if(typeof C.which==="number"&&C.which>0){return !C.ctrlKey&&!C.metaKey&&!C.altKey&&C.which!==8&&C.which!==9&&C.which!==13&&C.which!==16&&C.which!==17&&C.which!==20&&C.which!==27}}return false},assert:function r(C,E,D){if(E){if(!C===undefined){C.css("border","1px solid red")}console.error(D,C);throw D}},describe:function u(C){if(C===undefined){return"undefined"}else{if(C.length===0){return"(no matching elements)"}}return C[0].outerHTML.split(">")[0]+">"}};B();return z}(jQuery);var i=function(v){var u={BMD_FORM_GROUP:"bmd-form-group",IS_FILLED:"is-filled",IS_FOCUSED:"is-focused"};var s={BMD_FORM_GROUP:"."+u.BMD_FORM_GROUP};var r={};var t=function(){function A(E,F,H){if(H===void 0){H={}}this.$element=E;this.config=v.extend(true,{},r,F);for(var G in H){this[G]=H[G]}}var x=A.prototype;x.dispose=function D(E){this.$element.data(E,null);this.$element=null;this.config=null};x.addFormGroupFocus=function z(){if(!this.$element.prop("disabled")){this.$bmdFormGroup.addClass(u.IS_FOCUSED)}};x.removeFormGroupFocus=function C(){this.$bmdFormGroup.removeClass(u.IS_FOCUSED)};x.removeIsFilled=function y(){this.$bmdFormGroup.removeClass(u.IS_FILLED)};x.addIsFilled=function w(){this.$bmdFormGroup.addClass(u.IS_FILLED)};x.findMdbFormGroup=function B(E){if(E===void 0){E=true}var F=this.$element.closest(s.BMD_FORM_GROUP);if(F.length===0&&E){v.error("Failed to find "+s.BMD_FORM_GROUP+" for "+n.describe(this.$element))}return F};return A}();return t}(jQuery);var d=function(v){var u={FORM_GROUP:"form-group",BMD_FORM_GROUP:"bmd-form-group",BMD_LABEL:"bmd-label",BMD_LABEL_STATIC:"bmd-label-static",BMD_LABEL_PLACEHOLDER:"bmd-label-placeholder",BMD_LABEL_FLOATING:"bmd-label-floating",HAS_DANGER:"has-danger",IS_FILLED:"is-filled",IS_FOCUSED:"is-focused",INPUT_GROUP:"input-group"};var s={FORM_GROUP:"."+u.FORM_GROUP,BMD_FORM_GROUP:"."+u.BMD_FORM_GROUP,BMD_LABEL_WILDCARD:"label[class^='"+u.BMD_LABEL+"'], label[class*=' "+u.BMD_LABEL+"']"};var r={validate:false,formGroup:{required:false},bmdFormGroup:{template:"<span class='"+u.BMD_FORM_GROUP+"'></span>",create:true,required:true},label:{required:false,selectors:[".form-control-label","> label"],className:u.BMD_LABEL_STATIC},requiredClasses:[],invalidComponentMatches:[],convertInputSizeVariations:true};var t={"form-control-lg":"bmd-form-group-lg","form-control-sm":"bmd-form-group-sm"};var w=function(B){j(I,B);function I(P,Q,R){var S;if(R===void 0){R={}}S=B.call(this,P,v.extend(true,{},r,Q),R)||this;S._rejectInvalidComponentMatches();S.rejectWithoutRequiredStructure();S._rejectWithoutRequiredClasses();S.$formGroup=S.findFormGroup(S.config.formGroup.required);S.$bmdFormGroup=S.resolveMdbFormGroup();S.$bmdLabel=S.resolveMdbLabel();S.resolveMdbFormGroupSizing();S.addFocusListener();S.addChangeListener();if(S.$element.val()!=""){S.addIsFilled()}return S}var C=I.prototype;C.dispose=function M(P){B.prototype.dispose.call(this,P);this.$bmdFormGroup=null;this.$formGroup=null};C.rejectWithoutRequiredStructure=function D(){};C.addFocusListener=function y(){var P=this;this.$element.on("focus",function(){P.addFormGroupFocus()}).on("blur",function(){P.removeFormGroupFocus()})};C.addChangeListener=function N(){var P=this;this.$element.on("keydown paste",function(Q){if(n.isChar(Q)){P.addIsFilled()}}).on("keyup change",function(){if(P.isEmpty()){P.removeIsFilled()}else{P.addIsFilled()}if(P.config.validate){var Q=typeof P.$element[0].checkValidity==="undefined"||P.$element[0].checkValidity();if(Q){P.removeHasDanger()}else{P.addHasDanger()}}})};C.addHasDanger=function K(){this.$bmdFormGroup.addClass(u.HAS_DANGER)};C.removeHasDanger=function A(){this.$bmdFormGroup.removeClass(u.HAS_DANGER)};C.isEmpty=function F(){return this.$element.val()===null||this.$element.val()===undefined||this.$element.val()===""};C.resolveMdbFormGroup=function H(){var P=this.findMdbFormGroup(false);if(P===undefined||P.length===0){if(this.config.bmdFormGroup.create&&(this.$formGroup===undefined||this.$formGroup.length===0)){if(this.outerElement().parent().hasClass(u.INPUT_GROUP)){this.outerElement().parent().wrap(this.config.bmdFormGroup.template)}else{this.outerElement().wrap(this.config.bmdFormGroup.template)}}else{this.$formGroup.addClass(u.BMD_FORM_GROUP)}P=this.findMdbFormGroup(this.config.bmdFormGroup.required)}return P};C.outerElement=function z(){return this.$element};C.resolveMdbLabel=function O(){var P=this.$bmdFormGroup.find(s.BMD_LABEL_WILDCARD);if(P===undefined||P.length===0){P=this.findMdbLabel(this.config.label.required);if(P===undefined||P.length===0){}else{P.addClass(this.config.label.className)}}return P};C.findMdbLabel=function L(S){if(S===void 0){S=true}var R=null;for(var T=this.config.label.selectors,Q=Array.isArray(T),V=0,T=Q?T:T[Symbol.iterator]();;){var U;if(Q){if(V>=T.length){break}U=T[V++]}else{V=T.next();if(V.done){break}U=V.value}var P=U;if(v.isFunction(P)){R=P(this)}else{R=this.$bmdFormGroup.find(P)}if(R!==undefined&&R.length>0){break}}if(R.length===0&&S){v.error("Failed to find "+s.BMD_LABEL_WILDCARD+" within form-group for "+n.describe(this.$element))}return R};C.findFormGroup=function E(Q){if(Q===void 0){Q=true}var P=this.$element.closest(s.FORM_GROUP);if(P.length===0&&Q){v.error("Failed to find "+s.FORM_GROUP+" for "+n.describe(this.$element))}return P};C.resolveMdbFormGroupSizing=function J(){if(!this.config.convertInputSizeVariations){return}for(var P in t){if(this.$element.hasClass(P)){this.$bmdFormGroup.addClass(t[P])}}};C._rejectInvalidComponentMatches=function G(){for(var R=this.config.invalidComponentMatches,Q=Array.isArray(R),T=0,R=Q?R:R[Symbol.iterator]();;){var S;if(Q){if(T>=R.length){break}S=R[T++]}else{T=R.next();if(T.done){break}S=T.value}var P=S;P.rejectMatch(this.constructor.name,this.$element)}};C._rejectWithoutRequiredClasses=function x(){for(var Z=this.config.requiredClasses,T=Array.isArray(Z),X=0,Z=T?Z:Z[Symbol.iterator]();;){var Q;if(T){if(X>=Z.length){break}Q=Z[X++]}else{X=Z.next();if(X.done){break}Q=X.value}var W=Q;if(W.indexOf("||")!==-1){var U=W.split("||");for(var Y=U,S=Array.isArray(Y),V=0,Y=S?Y:Y[Symbol.iterator]();;){var P;if(S){if(V>=Y.length){break}P=Y[V++]}else{V=Y.next();if(V.done){break}P=V.value}var R=P;if(this.$element.hasClass(R)){break}}}else{if(this.$element.hasClass(W)){}}}};return I}(i);return w}(jQuery);var h=function(u){var s={label:{required:false}};var r={LABEL:"label"};var t=function(C){j(y,C);function y(D,E,F){var G;G=C.call(this,D,u.extend(true,{},s,E),F)||this;G.decorateMarkup();return G}var x=y.prototype;x.decorateMarkup=function A(){var D=u(this.config.template);this.$element.after(D);if(this.config.ripples!==false){D.bmdRipples()}};x.outerElement=function z(){return this.$element.parent().closest("."+this.outerClass)};x.rejectWithoutRequiredStructure=function w(){n.assert(this.$element,!this.$element.parent().prop("tagName")==="label",this.constructor.name+"'s "+n.describe(this.$element)+" parent element should be <label>.");n.assert(this.$element,!this.outerElement().hasClass(this.outerClass),this.constructor.name+"'s "+n.describe(this.$element)+" outer element should have class "+this.outerClass+".")};x.addFocusListener=function B(){var D=this;this.$element.closest(r.LABEL).hover(function(){D.addFormGroupFocus()},function(){D.removeFormGroupFocus()})};x.addChangeListener=function v(){var D=this;this.$element.change(function(){D.$element.blur()})};return y}(d);return t}(jQuery);var g=function(u){var w="checkbox";var t="bmd."+w;var s="bmd"+(w.charAt(0).toUpperCase()+w.slice(1));var x=u.fn[s];var r={template:"<span class='checkbox-decorator'><span class='check'></span></span>"};var v=function(A){j(D,A);function D(F,G,H){if(H===void 0){H={inputType:w,outerClass:w}}return A.call(this,F,u.extend(true,r,G),H)||this}var y=D.prototype;y.dispose=function C(F){if(F===void 0){F=t}A.prototype.dispose.call(this,F)};D.matches=function B(F){if(F.attr("type")==="checkbox"){return true}return false};D.rejectMatch=function E(G,F){n.assert(this.$element,this.matches(F),G+" component element "+n.describe(F)+" is invalid for type='checkbox'.")};D._jQueryInterface=function z(F){return this.each(function(){var G=u(this);var H=G.data(t);if(!H){H=new D(G,F);G.data(t,H)}})};return D}(h);u.fn[s]=v._jQueryInterface;u.fn[s].Constructor=v;u.fn[s].noConflict=function(){u.fn[s]=x;return v._jQueryInterface};return v}(jQuery);var q=function(u){var v="radio";var t="bmd."+v;var s="bmd"+(v.charAt(0).toUpperCase()+v.slice(1));var x=u.fn[s];var r={template:"<span class='bmd-radio'></span>"};var w=function(A){j(E,A);function E(F,G,H){if(H===void 0){H={inputType:v,outerClass:v}}return A.call(this,F,u.extend(true,r,G),H)||this}var y=E.prototype;y.dispose=function C(F){if(F===void 0){F=t}A.prototype.dispose.call(this,F)};E.matches=function B(F){if(F.attr("type")==="radio"){return true}return false};E.rejectMatch=function D(G,F){n.assert(this.$element,this.matches(F),G+" component element "+n.describe(F)+" is invalid for type='radio'.")};E._jQueryInterface=function z(F){return this.each(function(){var G=u(this);var H=G.data(t);if(!H){H=new E(G,F);G.data(t,H)}})};return E}(h);u.fn[s]=w._jQueryInterface;u.fn[s].Constructor=w;u.fn[s].noConflict=function(){u.fn[s]=x;return w._jQueryInterface};return w}(jQuery);var o=function(t){var r={requiredClasses:["form-control"]};var s=function(v){j(u,v);function u(w,x){var y;y=v.call(this,w,t.extend(true,r,x))||this;if(y.isEmpty()){y.removeIsFilled()}return y}return u}(d);return s}(jQuery);var b=function(u){var v="select";var t="bmd."+v;var s="bmd"+(v.charAt(0).toUpperCase()+v.slice(1));var w=u.fn[s];var r={requiredClasses:["form-control||custom-select"]};var x=function(D){j(E,D);function E(F,G){var H;H=D.call(this,F,u.extend(true,r,G))||this;H.addIsFilled();return H}var y=E.prototype;y.dispose=function B(){D.prototype.dispose.call(this,t)};E.matches=function A(F){if(F.prop("tagName")==="select"){return true}return false};E.rejectMatch=function C(G,F){n.assert(this.$element,this.matches(F),G+" component element "+n.describe(F)+" is invalid for <select>.")};E._jQueryInterface=function z(F){return this.each(function(){var G=u(this);var H=G.data(t);if(!H){H=new E(G,F);G.data(t,H)}})};return E}(o);u.fn[s]=x._jQueryInterface;u.fn[s].Constructor=x;u.fn[s].noConflict=function(){u.fn[s]=w;return x._jQueryInterface};return x}(jQuery);var a=function(v){var w="switch";var u="bmd."+w;var t="bmd"+(w.charAt(0).toUpperCase()+w.slice(1));var x=v.fn[t];var r={template:"<span class='bmd-switch-track'></span>"};var s=function(C){j(z,C);function z(D,E,F){if(F===void 0){F={inputType:"checkbox",outerClass:"switch"}}return C.call(this,D,v.extend(true,{},r,E),F)||this}var y=z.prototype;y.dispose=function B(){C.prototype.dispose.call(this,u)};z._jQueryInterface=function A(D){return this.each(function(){var E=v(this);var F=E.data(u);if(!F){F=new z(E,D);E.data(u,F)}})};return z}(g);v.fn[t]=s._jQueryInterface;v.fn[t].Constructor=s;v.fn[t].noConflict=function(){v.fn[t]=x;return s._jQueryInterface};return s}(jQuery);var f=function(v){var w="text";var u="bmd."+w;var s="bmd"+(w.charAt(0).toUpperCase()+w.slice(1));var x=v.fn[s];var r={};var t=function(E){j(A,E);function A(F,G){return E.call(this,F,v.extend(true,r,G))||this}var y=A.prototype;y.dispose=function C(F){if(F===void 0){F=u}E.prototype.dispose.call(this,F)};A.matches=function B(F){if(F.attr("type")==="text"){return true}return false};A.rejectMatch=function D(G,F){n.assert(this.$element,this.matches(F),G+" component element "+n.describe(F)+" is invalid for type='text'.")};A._jQueryInterface=function z(F){return this.each(function(){var G=v(this);var H=G.data(u);if(!H){H=new A(G,F);G.data(u,H)}})};return A}(o);v.fn[s]=t._jQueryInterface;v.fn[s].Constructor=t;v.fn[s].noConflict=function(){v.fn[s]=x;return t._jQueryInterface};return t}(jQuery);var k=function(v){var w="textarea";var u="bmd."+w;var t="bmd"+(w.charAt(0).toUpperCase()+w.slice(1));var x=v.fn[t];var r={};var s=function(E){j(z,E);function z(F,G){return E.call(this,F,v.extend(true,r,G))||this}var y=z.prototype;y.dispose=function C(){E.prototype.dispose.call(this,u)};z.matches=function B(F){if(F.prop("tagName")==="textarea"){return true}return false};z.rejectMatch=function D(G,F){n.assert(this.$element,this.matches(F),G+" component element "+n.describe(F)+" is invalid for <textarea>.")};z._jQueryInterface=function A(F){return this.each(function(){var G=v(this);var H=G.data(u);if(!H){H=new z(G,F);G.data(u,H)}})};return z}(o);v.fn[t]=s._jQueryInterface;v.fn[t].Constructor=s;v.fn[t].noConflict=function(){v.fn[t]=x;return s._jQueryInterface};return s}(jQuery);var p=function(v){var u={CANVAS:"bmd-layout-canvas",CONTAINER:"bmd-layout-container",BACKDROP:"bmd-layout-backdrop"};var s={CANVAS:"."+u.CANVAS,CONTAINER:"."+u.CONTAINER,BACKDROP:"."+u.BACKDROP};var r={canvas:{create:true,required:true,template:'<div class="'+u.CANVAS+'"></div>'},backdrop:{create:true,required:true,template:'<div class="'+u.BACKDROP+'"></div>'}};var t=function(x){j(D,x);function D(F,G,H){var I;if(H===void 0){H={}}I=x.call(this,F,v.extend(true,{},r,G),H)||this;I.$container=I.findContainer(true);I.$backdrop=I.resolveBackdrop();I.resolveCanvas();return I}var A=D.prototype;A.dispose=function C(F){x.prototype.dispose.call(this,F);this.$container=null;this.$backdrop=null};A.resolveCanvas=function E(){var F=this.findCanvas(false);if(F===undefined||F.length===0){if(this.config.canvas.create){this.$container.wrap(this.config.canvas.template)}F=this.findCanvas(this.config.canvas.required)}return F};A.findCanvas=function w(G,H){if(G===void 0){G=true}if(H===void 0){H=this.$container}var F=H.closest(s.CANVAS);if(F.length===0&&G){v.error("Failed to find "+s.CANVAS+" for "+n.describe(H))}return F};A.resolveBackdrop=function B(){var F=this.findBackdrop(false);if(F===undefined||F.length===0){if(this.config.backdrop.create){this.$container.append(this.config.backdrop.template)}F=this.findBackdrop(this.config.backdrop.required)}return F};A.findBackdrop=function y(G,H){if(G===void 0){G=true}if(H===void 0){H=this.$container}var F=H.find("> "+s.BACKDROP);if(F.length===0&&G){v.error("Failed to find "+s.BACKDROP+" for "+n.describe(H))}return F};A.findContainer=function z(G,H){if(G===void 0){G=true}if(H===void 0){H=this.$element}var F=H.closest(s.CONTAINER);if(F.length===0&&G){v.error("Failed to find "+s.CONTAINER+" for "+n.describe(H))}return F};return D}(i);return t}(jQuery);var e=function(t){var z="drawer";var x="bmd."+z;var y="bmd"+(z.charAt(0).toUpperCase()+z.slice(1));var r=t.fn[y];var v={ESCAPE:27};var w={IN:"in",DRAWER_IN:"bmd-drawer-in",DRAWER_OUT:"bmd-drawer-out",DRAWER:"bmd-layout-drawer",CONTAINER:"bmd-layout-container"};var u={focusSelector:"a, button, input"};var s=function(J){j(B,J);function B(L,M){var N;N=J.call(this,L,t.extend(true,{},u,M))||this;N.$toggles=t('[data-bs-toggle="drawer"][href="#'+N.$element[0].id+'"], [data-bs-toggle="drawer"][data-bs-target="#'+N.$element[0].id+'"]');N._addAria();N.$backdrop.keydown(function(O){if(O.which===v.ESCAPE){N.hide()}}).click(function(){N.hide()});N.$element.keydown(function(O){if(O.which===v.ESCAPE){N.hide()}});N.$toggles.click(function(){N.toggle()});return N}var H=B.prototype;H.dispose=function K(){J.prototype.dispose.call(this,x);this.$toggles=null};H.toggle=function D(){if(this._isOpen()){this.hide()}else{this.show()}};H.show=function I(){if(this._isForcedClosed()||this._isOpen()){return}t(".bmd-layout-drawer").hide();this.$element.show();this.$toggles.attr("aria-expanded",true);this.$element.attr("aria-expanded",true);this.$element.attr("aria-hidden",false);var L=this.$element.find(this.config.focusSelector);if(L.length>0){L.first().focus()}this.$container.addClass(w.DRAWER_IN);this.$backdrop.addClass(w.IN)};H.hide=function F(){if(!this._isOpen()){return}this.$toggles.attr("aria-expanded",false);this.$element.attr("aria-expanded",false);this.$element.attr("aria-hidden",true);this.$container.removeClass(w.DRAWER_IN);this.$backdrop.removeClass(w.IN)};H._isOpen=function E(){return this.$container.hasClass(w.DRAWER_IN)};H._isForcedClosed=function A(){return this.$container.hasClass(w.DRAWER_OUT)};H._addAria=function G(){var L=this._isOpen();this.$element.attr("aria-expanded",L);this.$element.attr("aria-hidden",L);if(this.$toggles.length){this.$toggles.attr("aria-expanded",L)}};B._jQueryInterface=function C(L){return this.each(function(){var M=t(this);var N=M.data(x);if(!N){N=new B(M,L);M.data(x,N)}})};return B}(p);t.fn[y]=s._jQueryInterface;t.fn[y].Constructor=s;t.fn[y].noConflict=function(){t.fn[y]=r;return s._jQueryInterface};return s}(jQuery);var c=function(u){var z="ripples";var x="bmd."+z;var y="bmd"+(z.charAt(0).toUpperCase()+z.slice(1));var r=u.fn[y];var w={CONTAINER:"ripple-container",DECORATOR:"ripple-decorator"};var s={CONTAINER:"."+w.CONTAINER,DECORATOR:"."+w.DECORATOR};var v={container:{template:"<div class='"+w.CONTAINER+"'></div>"},decorator:{template:"<div class='"+w.DECORATOR+"'></div>"},trigger:{start:"mousedown touchstart",end:"mouseup mouseleave touchend"},touchUserAgentRegex:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i,duration:500};var t=function(){function C(P,Q){var R=this;this.$element=P;this.config=u.extend(true,{},v,Q);this.$element.on(this.config.trigger.start,function(S){R._onStartRipple(S)})}var K=C.prototype;K.dispose=function M(){this.$element.data(x,null);this.$element=null;this.$container=null;this.$decorator=null;this.config=null};K._onStartRipple=function G(Q){var P=this;if(this._isTouch()&&Q.type==="mousedown"){return}this._findOrCreateContainer();var R=this._getRelY(Q);var S=this._getRelX(Q);if(!R&&!S){return}this.$decorator.css({left:S,top:R,"background-color":this._getRipplesColor()});this._forceStyleApplication();this.rippleOn();setTimeout(function(){P.rippleEnd()},this.config.duration);this.$element.on(this.config.trigger.end,function(){if(P.$decorator){P.$decorator.data("mousedown","off");if(P.$decorator.data("animating")==="off"){P.rippleOut()}}})};K._findOrCreateContainer=function B(){if(!this.$container||!this.$container.length>0){this.$element.append(this.config.container.template);this.$container=this.$element.find(s.CONTAINER)}this.$container.append(this.config.decorator.template);this.$decorator=this.$container.find(s.DECORATOR)};K._forceStyleApplication=function A(){return window.getComputedStyle(this.$decorator[0]).opacity};K._getRelX=function O(Q){var R=this.$container.offset();var P=null;if(!this._isTouch()){P=Q.pageX-R.left}else{Q=Q.originalEvent;if(Q.touches.length===1){P=Q.touches[0].pageX-R.left}else{P=false}}return P};K._getRelY=function N(R){var Q=this.$container.offset();var P=null;if(!this._isTouch()){P=R.pageY-Q.top}else{R=R.originalEvent;if(R.touches.length===1){P=R.touches[0].pageY-Q.top}else{P=false}}return P};K._getRipplesColor=function L(){var P=this.$element.data("ripple-color")?this.$element.data("ripple-color"):window.getComputedStyle(this.$element[0]).color;return P};K._isTouch=function I(){return this.config.touchUserAgentRegex.test(navigator.userAgent)};K.rippleEnd=function E(){if(this.$decorator){this.$decorator.data("animating","off");if(this.$decorator.data("mousedown")==="off"){this.rippleOut(this.$decorator)}}};K.rippleOut=function F(){var P=this;this.$decorator.off();if(n.transitionEndSupported()){this.$decorator.addClass("ripple-out")}else{this.$decorator.animate({opacity:0},100,function(){P.$decorator.trigger("transitionend")})}this.$decorator.on(n.transitionEndSelector(),function(){if(P.$decorator){P.$decorator.remove();P.$decorator=null}})};K.rippleOn=function J(){var Q=this;var P=this._getNewSize();if(n.transitionEndSupported()){this.$decorator.css({"-ms-transform":"scale("+P+")","-moz-transform":"scale("+P+")","-webkit-transform":"scale("+P+")",transform:"scale("+P+")"}).addClass("ripple-on").data("animating","on").data("mousedown","on")}else{this.$decorator.animate({width:Math.max(this.$element.outerWidth(),this.$element.outerHeight())*2,height:Math.max(this.$element.outerWidth(),this.$element.outerHeight())*2,"margin-left":Math.max(this.$element.outerWidth(),this.$element.outerHeight())*-1,"margin-top":Math.max(this.$element.outerWidth(),this.$element.outerHeight())*-1,opacity:0.2},this.config.duration,function(){Q.$decorator.trigger("transitionend")})}};K._getNewSize=function H(){return Math.max(this.$element.outerWidth(),this.$element.outerHeight())/this.$decorator.outerWidth()*2.5};C._jQueryInterface=function D(P){return this.each(function(){var Q=u(this);var R=Q.data(x);if(!R){R=new C(Q,P);Q.data(x,R)}})};return C}();u.fn[y]=t._jQueryInterface;u.fn[y].Constructor=t;u.fn[y].noConflict=function(){u.fn[y]=r;return t._jQueryInterface};return t}(jQuery);var m=function(v){var x="autofill";var u="bmd."+x;var t="bmd"+(x.charAt(0).toUpperCase()+x.slice(1));var y=v.fn[t];var s="bmd.last_value";var r={};var w=function(B){j(G,B);function G(H,I){var J;J=B.call(this,H,v.extend(true,{},r,I))||this;J._watchLoading();J._attachEventHandlers();return J}var A=G.prototype;A.dispose=function F(){B.prototype.dispose.call(this,u)};A._watchLoading=function E(){var H=this;setTimeout(function(){clearInterval(H._onLoading)},10000)};A._onLoading=function z(){setInterval(function(){v("input[type!=checkbox]").each(function(J,K){var I=v(K);var H=I.data(s);if(H===undefined){H=I.attr("value")}if(H===undefined){H=""}var L=I.val();if(L!==H){I.trigger("change")}I.data(s,L)})},100)};A._attachEventHandlers=function D(){var H=null;v(document).on("focus","input",function(J){var I=v(J.currentTarget).closest("form").find("input").not("[type=file], [type=date]");H=setInterval(function(){I.each(function(M,N){var L=v(N);var K=L.data(s);if(K===undefined){K=L.attr("value")}if(K===undefined){K=""}var O=L.val();if(O!==K){L.trigger("change")}L.data(s,O)})},100)}).on("blur",".form-group input",function(){clearInterval(H)})};G._jQueryInterface=function C(H){return this.each(function(){var I=v(this);var J=I.data(u);if(!J){J=new G(I,H);I.data(u,J)}})};return G}(i);v.fn[t]=w._jQueryInterface;v.fn[t].Constructor=w;v.fn[t].noConflict=function(){v.fn[t]=y;return w._jQueryInterface};return w}(jQuery);var l=function(u){var w="bmd";var t="bmd."+w;var s=w;var x=u.fn[s];var r={global:{validate:false,label:{className:"bmd-label-static"}},checkbox:{selector:".checkbox > label > input[type=checkbox]"},drawer:{selector:".bmd-layout-drawer"},radio:{selector:".radio > label > input[type=radio]"},ripples:{selector:[".btn:not(.btn-link):not(.ripple-none)",".card-image:not(.ripple-none)",".navbar a:not(.ripple-none)",".dropdown-menu a:not(.ripple-none)",".nav-tabs a:not(.ripple-none)",".pagination li:not(.active):not(.disabled) a:not(.ripple-none)",".ripple"]},select:{selector:["select"]},"switch":{selector:".switch > label > input[type=checkbox]"},text:{selector:["input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=button]):not([type=submit]):not([type=reset])"]},textarea:{selector:["textarea"]},arrive:true,instantiation:["ripples","checkbox","drawer","radio","switch","text","textarea","select","autofill"]};var v=function(){function B(M,E){var I=this;this.$element=M;this.config=u.extend(true,{},r,E);var F=u(document);var D=function D(){if(K){if(G>=J.length){return"break"}H=J[G++]}else{G=J.next();if(G.done){return"break"}H=G.value}var Q=H;var P=I.config[Q];if(P){var N=I._resolveSelector(P);P=u.extend(true,{},I.config.global,P);var O=""+(Q.charAt(0).toUpperCase()+Q.slice(1));var S="bmd"+O;try{u(N)[S](P);if(document.arrive&&I.config.arrive){F.arrive(N,function(){u(this)[S](P)})}}catch(T){var R="Failed to instantiate component: $('"+N+"')["+S+"]("+P+")";console.error(R,T,"\nSelected elements: ",u(N));throw T}}};for(var J=this.config.instantiation,K=Array.isArray(J),G=0,J=K?J:J[Symbol.iterator]();;){var H;var L=D();if(L==="break"){break}}}var y=B.prototype;y.dispose=function A(){this.$element.data(t,null);this.$element=null;this.config=null};y._resolveSelector=function C(E){var D=E.selector;if(Array.isArray(D)){D=D.join(", ")}return D};B._jQueryInterface=function z(D){return this.each(function(){var E=u(this);var F=E.data(t);if(!F){F=new B(E,D);E.data(t,F)}})};return B}();u.fn[s]=v._jQueryInterface;u.fn[s].Constructor=v;u.fn[s].noConflict=function(){u.fn[s]=x;return v._jQueryInterface};return v}(jQuery)})));
@@ -150,7 +150,7 @@
150
150
  this.container.id = `autocomplete-options-${M.guid()}`;
151
151
  $(this.container).addClass('autocomplete-content dropdown-content');
152
152
  this.$inputField.append(this.container);
153
- this.el.setAttribute('data-target', this.container.id);
153
+ this.el.setAttribute('data-bs-target', this.container.id);
154
154
 
155
155
  this.dropdown = M.Dropdown.init(this.el, {
156
156
  autoFocus: false,
@@ -1369,7 +1369,7 @@ M.getOverflowParent = function (element) {
1369
1369
  * @returns {string}
1370
1370
  */
1371
1371
  M.getIdFromTrigger = function (trigger) {
1372
- var id = trigger.getAttribute('data-target');
1372
+ var id = trigger.getAttribute('data-bs-target');
1373
1373
  if (!id) {
1374
1374
  id = trigger.getAttribute('href');
1375
1375
  if (id) {
@@ -6556,7 +6556,7 @@ $jscomp.polyfill = function (e, r, p, m) {
6556
6556
  this.container.id = "autocomplete-options-" + M.guid();
6557
6557
  $(this.container).addClass('autocomplete-content dropdown-content');
6558
6558
  this.$inputField.append(this.container);
6559
- this.el.setAttribute('data-target', this.container.id);
6559
+ this.el.setAttribute('data-bs-target', this.container.id);
6560
6560
 
6561
6561
  this.dropdown = M.Dropdown.init(this.el, {
6562
6562
  autoFocus: false,
@@ -11282,7 +11282,7 @@ $jscomp.polyfill = function (e, r, p, m) {
11282
11282
  _this67.isOpen = false;
11283
11283
 
11284
11284
  // setup
11285
- _this67.$origin = $('#' + _this67.$el.attr('data-target'));
11285
+ _this67.$origin = $('#' + _this67.$el.attr('data-bs-target'));
11286
11286
  _this67._setup();
11287
11287
 
11288
11288
  _this67._calculatePositioning();
@@ -11818,7 +11818,7 @@ $jscomp.polyfill = function (e, r, p, m) {
11818
11818
  $(this.input).addClass('select-dropdown dropdown-trigger');
11819
11819
  this.input.setAttribute('type', 'text');
11820
11820
  this.input.setAttribute('readonly', 'true');
11821
- this.input.setAttribute('data-target', this.dropdownOptions.id);
11821
+ this.input.setAttribute('data-bs-target', this.dropdownOptions.id);
11822
11822
  if (this.el.disabled) {
11823
11823
  $(this.input).prop('disabled', 'true');
11824
11824
  }