Version Description
Download this release
Release Info
Developer | bdthemes |
Plugin | Element Pack Elementor Addons (Header Footer, Free Elementor Template Library, Grid, Carousel, Table, Parallax Animation, Register Form, Twitter Grid) |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.2.0
- assets/css/admin.css +0 -1
- assets/css/admin.rtl.css +0 -1
- assets/css/bdt-uikit.css +0 -1
- assets/css/bdt-uikit.rtl.css +0 -1
- assets/css/element-pack-editor.css +0 -1
- assets/css/element-pack-editor.rtl.css +0 -1
- assets/css/element-pack-preview.css +0 -1
- assets/css/element-pack-preview.rtl.css +0 -1
- assets/css/element-pack-site.css +0 -1
- assets/css/element-pack-site.rtl.css +0 -1
- assets/css/ep-custom-gallery.css +0 -1
- assets/css/ep-custom-gallery.rtl.css +0 -1
- assets/css/ep-flip-box.css +0 -1
- assets/css/ep-flip-box.rtl.css +0 -1
- assets/css/ep-trailer-box.css +0 -1
- assets/css/ep-trailer-box.rtl.css +0 -1
- assets/images/gallery/item-1.png +0 -0
- assets/images/gallery/item-1.svg +0 -15
- assets/images/gallery/item-2.png +0 -0
- assets/images/gallery/item-2.svg +0 -15
- assets/images/gallery/item-3.png +0 -0
- assets/images/gallery/item-3.svg +0 -15
- assets/images/gallery/item-4.png +0 -0
- assets/images/gallery/item-4.svg +0 -15
- assets/images/gallery/item-5.png +0 -0
- assets/images/gallery/item-5.svg +0 -15
- assets/images/gallery/item-6.png +0 -0
- assets/images/gallery/item-6.svg +0 -15
- assets/images/gallery/item-7.png +0 -0
- assets/images/gallery/item-7.svg +0 -15
- assets/images/gallery/item-8.png +0 -0
- assets/images/gallery/item-8.svg +0 -15
- assets/images/loading-white.svg +0 -1
- assets/images/loading.svg +0 -1
- assets/images/no-image.jpg +0 -0
- assets/images/panel-slider.svg +0 -55
- assets/images/styles/index.html +0 -1
- assets/js/bdt-uikit-icons.js +0 -167
- assets/js/bdt-uikit-icons.min.js +0 -3
- assets/js/bdt-uikit.js +0 -12193
- assets/js/bdt-uikit.min.js +0 -3
- assets/js/element-pack-site.js +0 -186
- assets/js/element-pack-site.min.js +0 -1
- assets/js/widgets/ep-contact-form.js +0 -27
- assets/js/widgets/ep-contact-form.min.js +0 -1
- includes/admin-settings.php +0 -237
- includes/admin.php +0 -39
- includes/class-settings-api.php +0 -812
- includes/helper.php +0 -1504
- includes/modules-manager.php +0 -110
- includes/utils.php +0 -32
- loader.php +0 -363
- readme.txt +0 -141
assets/css/admin.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.elementor_page_element_pack_options table.form-table tr th,.elementor_page_element_pack_options table.form-table tr td{padding-top:10px;padding-bottom:10px}.elementor_page_element_pack_options tr[class$="subheading"] td{padding:25px 0 10px 0}.elementor_page_element_pack_options tr[class$="subheading"] label{font-size:18px}.elementor_page_element_pack_options tr[class$="subheading"] h3{display:inline-block;margin-right:15px}.elementor_page_element_pack_options tr[class$="subheading"] .description{display:inline-block}.elementor_page_element_pack_options tr[class$="subheading"] hr{margin-top:0}#element_pack_active_modules tr,#element_pack_third_party_widget tr{width:25%;display:inline-block;border:1px solid rgba(0,0,0,0.1);box-sizing:border-box;padding:0 20px;margin-bottom:5px;background-color:rgba(255,255,255,0.5);transition:all 300ms ease}#element_pack_active_modules tr.bdt-wo-select-all-widget,#element_pack_third_party_widget tr.bdt-wo-select-all-widget{border-color:#00c0ff;box-shadow:inset 0 0 0 3px rgba(0,208,255,0.17)}#element_pack_active_modules tr.bdt-wo-select-all-widget:hover,#element_pack_third_party_widget tr.bdt-wo-select-all-widget:hover{box-shadow:inset 0 0 0 4px rgba(0,208,255,0.18)}#element_pack_active_modules tr:hover,#element_pack_third_party_widget tr:hover{border-color:#00c0ff;background-color:#fff}#element_pack_active_modules th,#element_pack_third_party_widget th{width:100%;display:table-cell;padding:15px 8px 15px 0}#element_pack_active_modules td,#element_pack_third_party_widget td{display:table-cell;padding:8px}#element_pack_active_modules .checkbox,#element_pack_third_party_widget .checkbox{margin-top:5px}@media (min-width:480px){#element_pack_active_modules tr,#element_pack_third_party_widget tr{width:49%;margin-left:5px}#element_pack_active_modules .form-table,#element_pack_third_party_widget .form-table{margin-left:-5px}}@media (min-width:768px){#element_pack_active_modules tr,#element_pack_third_party_widget tr{width:24%}}@media (min-width:1350px){#element_pack_active_modules tr,#element_pack_third_party_widget tr{width:16%}}.element-pack-3pp-install,.element-pack-3pp-active,.element-pack-3pp-download{text-decoration:none;color:#00c0ff;border:1px solid #ddd;padding:5px;line-height:normal;border-radius:2px}.element-pack-footer-info{background:#fff;padding:10px 25px;border-radius:3px;box-shadow:0 2px 6px 0 rgba(0,0,0,0.03);margin-top:30px}.element_pack_video_wrapper{position:relative;padding-bottom:26.8%;padding-top:25px;height:0;max-width:854px;max-height:480px}.element_pack_video_wrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}#element_pack_video_tutorial table tr th{display:none}#element_pack_api_settings p.description{font-size:12px !important;color:#999}#element_pack_api_settings p.description a{color:#888}div#element_pack_system_requirement{padding:30px;background-color:#fff}div#element_pack_system_requirement .check-system-status{margin:0;padding:0;font-size:14px}div#element_pack_system_requirement .check-system-status .label1{width:200px}div#element_pack_system_requirement .check-system-status span{display:inline-block}div#element_pack_system_requirement .check-system-status .valid,div#element_pack_system_requirement .check-system-status .invalid{font-size:15px;width:20px;height:18px;margin-left:10px;margin-right:15px;vertical-align:middle;border-radius:2px}div#element_pack_system_requirement .check-system-status .invalid{background:red;color:#fff}div#element_pack_system_requirement .check-system-status .valid{background:#8fcc77;color:#fff}div#element_pack_system_requirement .check-system-status i::before{font-size:15px;line-height:20px}.bdt-admin-alert{background-color:#fff3da;border-radius:2px;padding:10px 20px;box-sizing:border-box;margin-top:30px}.element-pack-license-container{margin-top:20px;padding:35px;background:#fff;border-radius:4px}.element-pack-license-container .bdt-ep-license-field{display:block;margin-bottom:15px}.element-pack-license-container .bdt-ep-license-field input{font-size:200%;padding:8px 10px 10px}.element-pack-license-container .bdt-ep-license-field label{display:block;margin-bottom:5px}.element-pack-license-container .bdt-ep-license-active-btn{margin-top:25px}.element-pack-license-container .element-pack-license-info li{list-style:none;padding:0}.element-pack-license-container .license-info-title{width:150px;display:inline-block;position:relative;padding-right:5px}.element-pack-license-container .license-info-title:after{content:':';position:absolute;right:2px}.element-pack-license-container .license-valid,.element-pack-license-container .license-invalid{padding:0 5px 2px;color:#fff;background-color:#8fcc77;border-radius:3px}.element-pack-license-container .license-invalid{background-color:#f44336}.element-pack-license-container .license-key{font-weight:700;opacity:.8}
|
|
assets/css/admin.rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.elementor_page_element_pack_options table.form-table tr th,.elementor_page_element_pack_options table.form-table tr td{padding-top:10px;padding-bottom:10px}.elementor_page_element_pack_options tr[class$="subheading"] td{padding:25px 0 10px 0}.elementor_page_element_pack_options tr[class$="subheading"] label{font-size:18px}.elementor_page_element_pack_options tr[class$="subheading"] h3{display:inline-block;margin-left:15px}.elementor_page_element_pack_options tr[class$="subheading"] .description{display:inline-block}.elementor_page_element_pack_options tr[class$="subheading"] hr{margin-top:0}#element_pack_active_modules tr,#element_pack_third_party_widget tr{width:25%;display:inline-block;border:1px solid rgba(0,0,0,0.1);box-sizing:border-box;padding:0 20px;margin-bottom:5px;background-color:rgba(255,255,255,0.5);transition:all 300ms ease}#element_pack_active_modules tr.bdt-wo-select-all-widget,#element_pack_third_party_widget tr.bdt-wo-select-all-widget{border-color:#00c0ff;box-shadow:inset 0 0 0 3px rgba(0,208,255,0.17)}#element_pack_active_modules tr.bdt-wo-select-all-widget:hover,#element_pack_third_party_widget tr.bdt-wo-select-all-widget:hover{box-shadow:inset 0 0 0 4px rgba(0,208,255,0.18)}#element_pack_active_modules tr:hover,#element_pack_third_party_widget tr:hover{border-color:#00c0ff;background-color:#fff}#element_pack_active_modules th,#element_pack_third_party_widget th{width:100%;display:table-cell;padding:15px 0 15px 8px}#element_pack_active_modules td,#element_pack_third_party_widget td{display:table-cell;padding:8px}#element_pack_active_modules .checkbox,#element_pack_third_party_widget .checkbox{margin-top:5px}@media (min-width:480px){#element_pack_active_modules tr,#element_pack_third_party_widget tr{width:49%;margin-right:5px}#element_pack_active_modules .form-table,#element_pack_third_party_widget .form-table{margin-right:-5px}}@media (min-width:768px){#element_pack_active_modules tr,#element_pack_third_party_widget tr{width:24%}}@media (min-width:1350px){#element_pack_active_modules tr,#element_pack_third_party_widget tr{width:16%}}.element-pack-3pp-install,.element-pack-3pp-active,.element-pack-3pp-download{text-decoration:none;color:#00c0ff;border:1px solid #ddd;padding:5px;line-height:normal;border-radius:2px}.element-pack-footer-info{background:#fff;padding:10px 25px;border-radius:3px;box-shadow:0 2px 6px 0 rgba(0,0,0,0.03);margin-top:30px}.element_pack_video_wrapper{position:relative;padding-bottom:26.8%;padding-top:25px;height:0;max-width:854px;max-height:480px}.element_pack_video_wrapper iframe{position:absolute;top:0;right:0;width:100%;height:100%}#element_pack_video_tutorial table tr th{display:none}#element_pack_api_settings p.description{font-size:12px !important;color:#999}#element_pack_api_settings p.description a{color:#888}div#element_pack_system_requirement{padding:30px;background-color:#fff}div#element_pack_system_requirement .check-system-status{margin:0;padding:0;font-size:14px}div#element_pack_system_requirement .check-system-status .label1{width:200px}div#element_pack_system_requirement .check-system-status span{display:inline-block}div#element_pack_system_requirement .check-system-status .valid,div#element_pack_system_requirement .check-system-status .invalid{font-size:15px;width:20px;height:18px;margin-right:10px;margin-left:15px;vertical-align:middle;border-radius:2px}div#element_pack_system_requirement .check-system-status .invalid{background:red;color:#fff}div#element_pack_system_requirement .check-system-status .valid{background:#8fcc77;color:#fff}div#element_pack_system_requirement .check-system-status i::before{font-size:15px;line-height:20px}.bdt-admin-alert{background-color:#fff3da;border-radius:2px;padding:10px 20px;box-sizing:border-box;margin-top:30px}.element-pack-license-container{margin-top:20px;padding:35px;background:#fff;border-radius:4px}.element-pack-license-container .bdt-ep-license-field{display:block;margin-bottom:15px}.element-pack-license-container .bdt-ep-license-field input{font-size:200%;padding:8px 10px 10px}.element-pack-license-container .bdt-ep-license-field label{display:block;margin-bottom:5px}.element-pack-license-container .bdt-ep-license-active-btn{margin-top:25px}.element-pack-license-container .element-pack-license-info li{list-style:none;padding:0}.element-pack-license-container .license-info-title{width:150px;display:inline-block;position:relative;padding-left:5px}.element-pack-license-container .license-info-title:after{content:':';position:absolute;left:2px}.element-pack-license-container .license-valid,.element-pack-license-container .license-invalid{padding:0 5px 2px;color:#fff;background-color:#8fcc77;border-radius:3px}.element-pack-license-container .license-invalid{background-color:#f44336}.element-pack-license-container .license-key{font-weight:700;opacity:.8}
|
|
assets/css/bdt-uikit.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.bdt-breakpoint-s::before{content:'640px'}.bdt-breakpoint-m::before{content:'960px'}.bdt-breakpoint-l::before{content:'1200px'}.bdt-breakpoint-xl::before{content:'1600px'}:root{--bdt-breakpoint-s:640px;--bdt-breakpoint-m:960px;--bdt-breakpoint-l:1200px;--bdt-breakpoint-xl:1600px}a.bdt-link-muted,.bdt-link-muted a{color:#999}a.bdt-link-muted:hover,.bdt-link-muted a:hover,.bdt-link-toggle:hover .bdt-link-muted,.bdt-link-toggle:focus .bdt-link-muted{color:#666}a.bdt-link-text,.bdt-link-text a{color:inherit}a.bdt-link-text:hover,.bdt-link-text a:hover,.bdt-link-toggle:hover .bdt-link-text,.bdt-link-toggle:focus .bdt-link-text{color:#999}a.bdt-link-heading,.bdt-link-heading a{color:inherit}a.bdt-link-heading:hover,.bdt-link-heading a:hover,.bdt-link-toggle:hover .bdt-link-heading,.bdt-link-toggle:focus .bdt-link-heading{color:#1e87f0;text-decoration:none}a.bdt-link-reset,.bdt-link-reset a{color:inherit !important;text-decoration:none !important}.bdt-link-toggle{color:inherit !important;text-decoration:none !important}.bdt-link-toggle:focus{outline:none}[class*='bdt-divider']{border:none;margin-bottom:20px}*+[class*='bdt-divider']{margin-top:20px}.bdt-divider-icon{position:relative;height:20px;background-image:url("../../images/backgrounds/divider-icon.svg");background-repeat:no-repeat;background-position:50% 50%}.bdt-divider-icon::before,.bdt-divider-icon::after{content:"";position:absolute;top:50%;max-width:calc(50% - (50px / 2));border-bottom:1px solid #e5e5e5}.bdt-divider-icon::before{right:calc(50% + (50px / 2));width:100%}.bdt-divider-icon::after{left:calc(50% + (50px / 2));width:100%}.bdt-divider-small{line-height:0}.bdt-divider-small::after{content:"";display:inline-block;width:100px;max-width:100%;border-top:1px solid #e5e5e5;vertical-align:top}.bdt-divider-vertical{width:1px;height:100px;margin-left:auto;margin-right:auto;border-left:1px solid #e5e5e5}.bdt-list{padding:0;list-style:none}.bdt-list>li::before,.bdt-list>li::after{content:"";display:table}.bdt-list>li::after{clear:both}.bdt-list>li>:last-child{margin-bottom:0}.bdt-list ul{margin:0;padding-left:30px;list-style:none}.bdt-list>li:nth-child(n+2),.bdt-list>li>ul{margin-top:10px}.bdt-list-divider>li:nth-child(n+2){margin-top:10px;padding-top:10px;border-top:1px solid #e5e5e5}.bdt-list-striped>li{padding:10px 10px}.bdt-list-striped>li:nth-of-type(odd){background:#f8f8f8}.bdt-list-striped>li:nth-child(n+2){margin-top:0}.bdt-list-bullet>li{position:relative;padding-left:calc(1.5em + 10px)}.bdt-list-bullet>li::before{content:"";position:absolute;top:0;left:0;width:1.5em;height:1.5em;background-image:url("../../images/backgrounds/list-bullet.svg");background-repeat:no-repeat;background-position:50% 50%;display:block}.bdt-list-large>li:nth-child(n+2),.bdt-list-large>li>ul{margin-top:20px}.bdt-list-large.bdt-list-divider>li:nth-child(n+2){margin-top:20px;padding-top:20px}.bdt-list-large.bdt-list-striped>li{padding:20px 10px}.bdt-list-large.bdt-list-striped>li:nth-child(n+2){margin-top:0}.bdt-description-list>dt{color:#333}.bdt-description-list>dt:nth-child(n+2){margin-top:20px}.bdt-description-list-divider>dt:nth-child(n+2){margin-top:20px;padding-top:20px;border-top:1px solid #e5e5e5}.bdt-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:20px}*+.bdt-table{margin-top:20px}.bdt-table th{padding:16px 12px;text-align:left;vertical-align:bottom;font-size:16px;font-weight:bold;color:#666}.bdt-table td{padding:16px 12px;vertical-align:top}.bdt-table td>:last-child{margin-bottom:0}.bdt-table tfoot{font-size:.875rem}.bdt-table caption{font-size:.875rem;text-align:left;color:#999}.bdt-table-middle,.bdt-table-middle td{vertical-align:middle !important}.bdt-table-divider>tr:not(:first-child),.bdt-table-divider>:not(:first-child)>tr,.bdt-table-divider>:first-child>tr:not(:first-child){border-top:1px solid #e5e5e5}.bdt-table-striped>tr:nth-of-type(odd),.bdt-table-striped tbody tr:nth-of-type(odd){background:#f8f8f8}.bdt-table-hover>tr:hover,.bdt-table-hover tbody tr:hover{background:#ffd}.bdt-table>tr.bdt-active,.bdt-table tbody tr.bdt-active{background:#ffd}.bdt-table-small th,.bdt-table-small td{padding:10px 12px}.bdt-table-large th,.bdt-table-large td{padding:22px 12px}.bdt-table-justify th:first-child,.bdt-table-justify td:first-child{padding-left:0}.bdt-table-justify th:last-child,.bdt-table-justify td:last-child{padding-right:0}.bdt-table-shrink{width:1px}.bdt-table-expand{min-width:150px}.bdt-table-link{padding:0 !important}.bdt-table-link>a{display:block;padding:16px 12px}.bdt-table-small .bdt-table-link>a{padding:10px 12px}@media (max-width:959px){.bdt-table-responsive,.bdt-table-responsive tbody,.bdt-table-responsive th,.bdt-table-responsive td,.bdt-table-responsive tr{display:block}.bdt-table-responsive thead{display:none}.bdt-table-responsive th,.bdt-table-responsive td{width:auto !important;max-width:none !important;min-width:0 !important;overflow:visible !important;white-space:normal !important}.bdt-table-responsive th:not(:first-child):not(.bdt-table-link),.bdt-table-responsive td:not(:first-child):not(.bdt-table-link),.bdt-table-responsive .bdt-table-link:not(:first-child)>a{padding-top:5px !important}.bdt-table-responsive th:not(:last-child):not(.bdt-table-link),.bdt-table-responsive td:not(:last-child):not(.bdt-table-link),.bdt-table-responsive .bdt-table-link:not(:last-child)>a{padding-bottom:5px !important}.bdt-table-justify.bdt-table-responsive th,.bdt-table-justify.bdt-table-responsive td{padding-left:0;padding-right:0}}.bdt-icon{margin:0;border:none;border-radius:0;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background-color:transparent;display:inline-block;fill:currentcolor;line-height:0}button.bdt-icon:not(:disabled){cursor:pointer}.bdt-icon::-moz-focus-inner{border:0;padding:0}.bdt-icon:not(.bdt-preserve) [fill*='#']:not(.bdt-preserve){fill:currentcolor}.bdt-icon:not(.bdt-preserve) [stroke*='#']:not(.bdt-preserve){stroke:currentcolor}.bdt-icon>*{transform:translate(0, 0)}.bdt-icon-image{width:20px;height:20px;background-position:50% 50%;background-repeat:no-repeat;background-size:contain;vertical-align:middle}.bdt-icon-link{color:#999}.bdt-icon-link:hover,.bdt-icon-link:focus{color:#666;outline:none}.bdt-icon-link:active,.bdt-active>.bdt-icon-link{color:#595959}.bdt-icon-button{box-sizing:border-box;width:36px;height:36px;border-radius:500px;background:#f8f8f8;color:#999;vertical-align:middle;display:inline-flex;justify-content:center;align-items:center}.bdt-icon-button:hover,.bdt-icon-button:focus{background-color:#ebebeb;color:#666;outline:none}.bdt-icon-button:active,.bdt-active>.bdt-icon-button{background-color:#dfdfdf;color:#666}.bdt-range{box-sizing:border-box;margin:0;vertical-align:middle;max-width:100%;width:100%;-webkit-appearance:none;background:transparent;padding:0}.bdt-range:focus{outline:none}.bdt-range::-moz-focus-outer{border:none}.bdt-range::-ms-track{height:15px;background:transparent;border-color:transparent;color:transparent}.bdt-range:not(:disabled)::-webkit-slider-thumb{cursor:pointer}.bdt-range:not(:disabled)::-moz-range-thumb{cursor:pointer}.bdt-range:not(:disabled)::-ms-thumb{cursor:pointer}.bdt-range::-webkit-slider-thumb{-webkit-appearance:none;margin-top:-7px;height:15px;width:15px;border-radius:500px;background:#666}.bdt-range::-moz-range-thumb{border:none;height:15px;width:15px;border-radius:500px;background:#666}.bdt-range::-ms-thumb{margin-top:0}.bdt-range::-ms-thumb{border:none;height:15px;width:15px;border-radius:500px;background:#666}.bdt-range::-ms-tooltip{display:none}.bdt-range::-webkit-slider-runnable-track{height:3px;background:#ebebeb}.bdt-range:focus::-webkit-slider-runnable-track,.bdt-range:active::-webkit-slider-runnable-track{background:#d2d2d2}.bdt-range::-moz-range-track{height:3px;background:#ebebeb}.bdt-range:focus::-moz-range-track{background:#d2d2d2}.bdt-range::-ms-fill-lower,.bdt-range::-ms-fill-upper{height:3px;background:#ebebeb}.bdt-range:focus::-ms-fill-lower,.bdt-range:focus::-ms-fill-upper{background:#d2d2d2}.bdt-input,.bdt-select,.bdt-textarea,.bdt-radio,.bdt-checkbox{box-sizing:border-box;margin:0;border-radius:0;font:inherit}.bdt-input{overflow:visible}.bdt-select{text-transform:none}.bdt-select optgroup{font:inherit;font-weight:bold}.bdt-textarea{overflow:auto}.bdt-input[type="search"]::-webkit-search-cancel-button,.bdt-input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}.bdt-input[type="number"]::-webkit-inner-spin-button,.bdt-input[type="number"]::-webkit-outer-spin-button{height:auto}.bdt-input::-moz-placeholder,.bdt-textarea::-moz-placeholder{opacity:1}.bdt-radio:not(:disabled),.bdt-checkbox:not(:disabled){cursor:pointer}.bdt-fieldset{border:none;margin:0;padding:0}.bdt-input,.bdt-textarea{-webkit-appearance:none}.bdt-input,.bdt-select,.bdt-textarea{max-width:100%;width:100%;border:0 none;padding:0 10px;background:#f8f8f8;color:#666}.bdt-input,.bdt-select:not([multiple]):not([size]){height:40px;vertical-align:middle;display:inline-block}.bdt-input:not(input),.bdt-select:not(select){line-height:40px}.bdt-select[multiple],.bdt-select[size],.bdt-textarea{padding-top:4px;padding-bottom:4px;vertical-align:top}.bdt-input:focus,.bdt-select:focus,.bdt-textarea:focus{outline:none;background-color:#f8f8f8;color:#666}.bdt-input:disabled,.bdt-select:disabled,.bdt-textarea:disabled{background-color:#f8f8f8;color:#999}.bdt-input::-ms-input-placeholder{color:#999 !important}.bdt-input::placeholder{color:#999}.bdt-textarea::-ms-input-placeholder{color:#999 !important}.bdt-textarea::placeholder{color:#999}.bdt-form-small{font-size:.875rem}.bdt-form-small:not(textarea):not([multiple]):not([size]){height:30px;padding-left:8px;padding-right:8px}.bdt-form-small:not(select):not(input):not(textarea){line-height:30px}.bdt-form-large{font-size:1.25rem}.bdt-form-large:not(textarea):not([multiple]):not([size]){height:55px;padding-left:12px;padding-right:12px}.bdt-form-large:not(select):not(input):not(textarea){line-height:55px}.bdt-form-danger,.bdt-form-danger:focus{color:#f0506e}.bdt-form-success,.bdt-form-success:focus{color:#32d296}.bdt-form-blank{background:none}input.bdt-form-width-xsmall{width:50px}select.bdt-form-width-xsmall{width:75px}.bdt-form-width-small{width:130px}.bdt-form-width-medium{width:200px}.bdt-form-width-large{width:500px}.bdt-select:not([multiple]):not([size]){-webkit-appearance:none;-moz-appearance:none;padding-right:20px;background-image:url("../../images/backgrounds/form-select.svg");background-repeat:no-repeat;background-position:100% 50%}.bdt-select:not([multiple]):not([size])::-ms-expand{display:none}.bdt-select:not([multiple]):not([size]) option{color:#444}.bdt-select:not([multiple]):not([size]):disabled{background-image:url("../../images/backgrounds/form-select.svg")}.bdt-input[list]{padding-right:20px;background-repeat:no-repeat;background-position:100% 50%}.bdt-input[list]:hover,.bdt-input[list]:focus{background-image:url("../../images/backgrounds/form-datalist.svg")}.bdt-input[list]::-webkit-calendar-picker-indicator{display:none}.bdt-radio,.bdt-checkbox{display:inline-block;height:16px;width:16px;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;-moz-appearance:none;background-color:#ebebeb;background-repeat:no-repeat;background-position:50% 50%}.bdt-radio{border-radius:50%}.bdt-radio:focus,.bdt-checkbox:focus{outline:none}.bdt-radio:checked,.bdt-checkbox:checked,.bdt-checkbox:indeterminate{background-color:#1e87f0}.bdt-radio:checked:focus,.bdt-checkbox:checked:focus,.bdt-checkbox:indeterminate:focus{background-color:#0e6dcd}.bdt-radio:checked{background-image:url("../../images/backgrounds/form-radio.svg")}.bdt-checkbox:checked{background-image:url("../../images/backgrounds/form-checkbox.svg")}.bdt-checkbox:indeterminate{background-image:url("../../images/backgrounds/form-checkbox-indeterminate.svg")}.bdt-radio:disabled,.bdt-checkbox:disabled{background-color:#f8f8f8}.bdt-radio:disabled:checked{background-image:url("../../images/backgrounds/form-radio.svg")}.bdt-checkbox:disabled:checked{background-image:url("../../images/backgrounds/form-checkbox.svg")}.bdt-checkbox:disabled:indeterminate{background-image:url("../../images/backgrounds/form-checkbox-indeterminate.svg")}.bdt-legend{width:100%;color:inherit;padding:0;font-size:1.5rem;line-height:1.4}.bdt-form-custom{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.bdt-form-custom select,.bdt-form-custom input[type="file"]{position:absolute;top:0;z-index:1;width:100%;height:100%;left:0;-webkit-appearance:none;opacity:0;cursor:pointer}.bdt-form-custom input[type="file"]{font-size:500px;overflow:hidden}.bdt-form-stacked .bdt-form-label{display:block;margin-bottom:10px}@media (max-width:959px){.bdt-form-horizontal .bdt-form-label{display:block;margin-bottom:10px}}@media (min-width:960px){.bdt-form-horizontal .bdt-form-label{width:200px;margin-top:7px;float:left}.bdt-form-horizontal .bdt-form-controls{margin-left:215px}.bdt-form-horizontal .bdt-form-controls-text{padding-top:7px}}.bdt-form-icon{position:absolute;top:0;bottom:0;left:0;width:40px;display:inline-flex;justify-content:center;align-items:center;color:#999}.bdt-form-icon:hover{color:#666}.bdt-form-icon:not(a):not(button):not(input){pointer-events:none}.bdt-form-icon:not(.bdt-form-icon-flip)~.bdt-input{padding-left:40px !important}.bdt-form-icon-flip{right:0;left:auto}.bdt-form-icon-flip~.bdt-input{padding-right:40px !important}.bdt-button{margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;display:inline-block;box-sizing:border-box;padding:0 30px;vertical-align:middle;font-size:16px;line-height:40px;text-align:center;text-decoration:none}.bdt-button:not(:disabled){cursor:pointer}.bdt-button::-moz-focus-inner{border:0;padding:0}.bdt-button:hover{text-decoration:none}.bdt-button:focus{outline:none}.bdt-button-default{background-color:#f8f8f8;color:#333}.bdt-button-default:hover,.bdt-button-default:focus{background-color:#ebebeb;color:#333}.bdt-button-default:active,.bdt-button-default.bdt-active{background-color:#dfdfdf;color:#333}.bdt-button-primary{background-color:#1e87f0;color:#fff}.bdt-button-primary:hover,.bdt-button-primary:focus{background-color:#0f7ae5;color:#fff}.bdt-button-primary:active,.bdt-button-primary.bdt-active{background-color:#0e6dcd;color:#fff}.bdt-button-secondary{background-color:#222;color:#fff}.bdt-button-secondary:hover,.bdt-button-secondary:focus{background-color:#151515;color:#fff}.bdt-button-secondary:active,.bdt-button-secondary.bdt-active{background-color:#080808;color:#fff}.bdt-button-danger{background-color:#f0506e;color:#fff}.bdt-button-danger:hover,.bdt-button-danger:focus{background-color:#ee395b;color:#fff}.bdt-button-danger:active,.bdt-button-danger.bdt-active{background-color:#ec2147;color:#fff}.bdt-button-default:disabled,.bdt-button-primary:disabled,.bdt-button-secondary:disabled,.bdt-button-danger:disabled{background-color:#f8f8f8;color:#999}.bdt-button-small{padding:0 15px;line-height:30px;font-size:.875rem}.bdt-button-large{padding:0 40px;line-height:55px;font-size:1.25rem}.bdt-button-text{padding:0;line-height:1.5;background:none;color:#999}.bdt-button-text:hover,.bdt-button-text:focus{color:#666}.bdt-button-text:disabled{color:#999}.bdt-button-link{padding:0;line-height:1.5;background:none;color:#1e87f0}.bdt-button-link:hover,.bdt-button-link:focus{color:#0f6ecd;text-decoration:underline}.bdt-button-link:disabled{color:#999;text-decoration:none}.bdt-button-group{display:inline-flex;vertical-align:middle;position:relative}.bdt-section{box-sizing:border-box;padding-top:40px;padding-bottom:40px}@media (min-width:960px){.bdt-section{padding-top:70px;padding-bottom:70px}}.bdt-section::before,.bdt-section::after{content:"";display:table}.bdt-section::after{clear:both}.bdt-section>:last-child{margin-bottom:0}.bdt-section-xsmall{padding-top:20px;padding-bottom:20px}.bdt-section-small{padding-top:40px;padding-bottom:40px}.bdt-section-large{padding-top:70px;padding-bottom:70px}@media (min-width:960px){.bdt-section-large{padding-top:140px;padding-bottom:140px}}.bdt-section-xlarge{padding-top:140px;padding-bottom:140px}@media (min-width:960px){.bdt-section-xlarge{padding-top:210px;padding-bottom:210px}}.bdt-section-default{background:#fff}.bdt-section-muted{background:#f8f8f8}.bdt-section-primary{background:#1e87f0}.bdt-section-secondary{background:#222}.bdt-container{box-sizing:content-box;max-width:1200px;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px}@media (min-width:640px){.bdt-container{padding-left:30px;padding-right:30px}}@media (min-width:960px){.bdt-container{padding-left:40px;padding-right:40px}}.bdt-container::before,.bdt-container::after{content:"";display:table}.bdt-container::after{clear:both}.bdt-container>:last-child{margin-bottom:0}.bdt-container .bdt-container{padding-left:0;padding-right:0}.bdt-container-xsmall{max-width:750px}.bdt-container-small{max-width:900px}.bdt-container-large{max-width:1600px}.bdt-container-expand{max-width:none}.bdt-container-expand-left{margin-left:0}.bdt-container-expand-right{margin-right:0}@media (min-width:640px){.bdt-container-expand-left.bdt-container-xsmall,.bdt-container-expand-right.bdt-container-xsmall{max-width:calc(50% + (750px / 2) - 30px)}.bdt-container-expand-left.bdt-container-small,.bdt-container-expand-right.bdt-container-small{max-width:calc(50% + (900px / 2) - 30px)}}@media (min-width:960px){.bdt-container-expand-left,.bdt-container-expand-right{max-width:calc(50% + (1200px / 2) - 40px)}.bdt-container-expand-left.bdt-container-xsmall,.bdt-container-expand-right.bdt-container-xsmall{max-width:calc(50% + (750px / 2) - 40px)}.bdt-container-expand-left.bdt-container-small,.bdt-container-expand-right.bdt-container-small{max-width:calc(50% + (900px / 2) - 40px)}.bdt-container-expand-left.bdt-container-large,.bdt-container-expand-right.bdt-container-large{max-width:calc(50% + (1600px / 2) - 40px)}}.bdt-container-item-padding-remove-left,.bdt-container-item-padding-remove-right{width:calc(100% + 15px)}.bdt-container-item-padding-remove-left{margin-left:-15px}.bdt-container-item-padding-remove-right{margin-right:-15px}@media (min-width:640px){.bdt-container-item-padding-remove-left,.bdt-container-item-padding-remove-right{width:calc(100% + 30px)}.bdt-container-item-padding-remove-left{margin-left:-30px}.bdt-container-item-padding-remove-right{margin-right:-30px}}@media (min-width:960px){.bdt-container-item-padding-remove-left,.bdt-container-item-padding-remove-right{width:calc(100% + 40px)}.bdt-container-item-padding-remove-left{margin-left:-40px}.bdt-container-item-padding-remove-right{margin-right:-40px}}.bdt-grid{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.bdt-grid>*{margin:0}.bdt-grid>*>:last-child{margin-bottom:0}.bdt-grid{margin-left:-30px}.bdt-grid>*{padding-left:30px}.bdt-grid+.bdt-grid,.bdt-grid>.bdt-grid-margin,*+.bdt-grid-margin{margin-top:30px}@media (min-width:1200px){.bdt-grid{margin-left:-40px}.bdt-grid>*{padding-left:40px}.bdt-grid+.bdt-grid,.bdt-grid>.bdt-grid-margin,*+.bdt-grid-margin{margin-top:40px}}.bdt-grid-small,.bdt-grid-column-small{margin-left:-15px}.bdt-grid-small>*,.bdt-grid-column-small>*{padding-left:15px}.bdt-grid+.bdt-grid-small,.bdt-grid+.bdt-grid-row-small,.bdt-grid-small>.bdt-grid-margin,.bdt-grid-row-small>.bdt-grid-margin,*+.bdt-grid-margin-small{margin-top:15px}.bdt-grid-medium,.bdt-grid-column-medium{margin-left:-30px}.bdt-grid-medium>*,.bdt-grid-column-medium>*{padding-left:30px}.bdt-grid+.bdt-grid-medium,.bdt-grid+.bdt-grid-row-medium,.bdt-grid-medium>.bdt-grid-margin,.bdt-grid-row-medium>.bdt-grid-margin,*+.bdt-grid-margin-medium{margin-top:30px}.bdt-grid-large,.bdt-grid-column-large{margin-left:-40px}.bdt-grid-large>*,.bdt-grid-column-large>*{padding-left:40px}.bdt-grid+.bdt-grid-large,.bdt-grid+.bdt-grid-row-large,.bdt-grid-large>.bdt-grid-margin,.bdt-grid-row-large>.bdt-grid-margin,*+.bdt-grid-margin-large{margin-top:40px}@media (min-width:1200px){.bdt-grid-large,.bdt-grid-column-large{margin-left:-70px}.bdt-grid-large>*,.bdt-grid-column-large>*{padding-left:70px}.bdt-grid+.bdt-grid-large,.bdt-grid+.bdt-grid-row-large,.bdt-grid-large>.bdt-grid-margin,.bdt-grid-row-large>.bdt-grid-margin,*+.bdt-grid-margin-large{margin-top:70px}}.bdt-grid-collapse,.bdt-grid-column-collapse{margin-left:0}.bdt-grid-collapse>*,.bdt-grid-column-collapse>*{padding-left:0}.bdt-grid+.bdt-grid-collapse,.bdt-grid+.bdt-grid-row-collapse,.bdt-grid-collapse>.bdt-grid-margin,.bdt-grid-row-collapse>.bdt-grid-margin{margin-top:0}.bdt-grid-divider>*{position:relative}.bdt-grid-divider>:not(.bdt-first-column)::before{content:"";position:absolute;top:0;bottom:0;border-left:1px solid #e5e5e5}.bdt-grid-divider.bdt-grid-stack>.bdt-grid-margin::before{content:"";position:absolute;left:0;right:0;border-top:1px solid #e5e5e5}.bdt-grid-divider{margin-left:-60px}.bdt-grid-divider>*{padding-left:60px}.bdt-grid-divider>:not(.bdt-first-column)::before{left:30px}.bdt-grid-divider.bdt-grid-stack>.bdt-grid-margin{margin-top:60px}.bdt-grid-divider.bdt-grid-stack>.bdt-grid-margin::before{top:-30px;left:60px}@media (min-width:1200px){.bdt-grid-divider{margin-left:-80px}.bdt-grid-divider>*{padding-left:80px}.bdt-grid-divider>:not(.bdt-first-column)::before{left:40px}.bdt-grid-divider.bdt-grid-stack>.bdt-grid-margin{margin-top:80px}.bdt-grid-divider.bdt-grid-stack>.bdt-grid-margin::before{top:-40px;left:80px}}.bdt-grid-divider.bdt-grid-small,.bdt-grid-divider.bdt-grid-column-small{margin-left:-30px}.bdt-grid-divider.bdt-grid-small>*,.bdt-grid-divider.bdt-grid-column-small>*{padding-left:30px}.bdt-grid-divider.bdt-grid-small>:not(.bdt-first-column)::before,.bdt-grid-divider.bdt-grid-column-small>:not(.bdt-first-column)::before{left:15px}.bdt-grid-divider.bdt-grid-small.bdt-grid-stack>.bdt-grid-margin,.bdt-grid-divider.bdt-grid-row-small.bdt-grid-stack>.bdt-grid-margin{margin-top:30px}.bdt-grid-divider.bdt-grid-small.bdt-grid-stack>.bdt-grid-margin::before{top:-15px;left:30px}.bdt-grid-divider.bdt-grid-row-small.bdt-grid-stack>.bdt-grid-margin::before{top:-15px}.bdt-grid-divider.bdt-grid-column-small.bdt-grid-stack>.bdt-grid-margin::before{left:30px}.bdt-grid-divider.bdt-grid-medium,.bdt-grid-divider.bdt-grid-column-medium{margin-left:-60px}.bdt-grid-divider.bdt-grid-medium>*,.bdt-grid-divider.bdt-grid-column-medium>*{padding-left:60px}.bdt-grid-divider.bdt-grid-medium>:not(.bdt-first-column)::before,.bdt-grid-divider.bdt-grid-column-medium>:not(.bdt-first-column)::before{left:30px}.bdt-grid-divider.bdt-grid-medium.bdt-grid-stack>.bdt-grid-margin,.bdt-grid-divider.bdt-grid-row-medium.bdt-grid-stack>.bdt-grid-margin{margin-top:60px}.bdt-grid-divider.bdt-grid-medium.bdt-grid-stack>.bdt-grid-margin::before{top:-30px;left:60px}.bdt-grid-divider.bdt-grid-row-medium.bdt-grid-stack>.bdt-grid-margin::before{top:-30px}.bdt-grid-divider.bdt-grid-column-medium.bdt-grid-stack>.bdt-grid-margin::before{left:60px}.bdt-grid-divider.bdt-grid-large,.bdt-grid-divider.bdt-grid-column-large{margin-left:-80px}.bdt-grid-divider.bdt-grid-large>*,.bdt-grid-divider.bdt-grid-column-large>*{padding-left:80px}.bdt-grid-divider.bdt-grid-large>:not(.bdt-first-column)::before,.bdt-grid-divider.bdt-grid-column-large>:not(.bdt-first-column)::before{left:40px}.bdt-grid-divider.bdt-grid-large.bdt-grid-stack>.bdt-grid-margin,.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack>.bdt-grid-margin{margin-top:80px}.bdt-grid-divider.bdt-grid-large.bdt-grid-stack>.bdt-grid-margin::before{top:-40px;left:80px}.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack>.bdt-grid-margin::before{top:-40px}.bdt-grid-divider.bdt-grid-column-large.bdt-grid-stack>.bdt-grid-margin::before{left:80px}@media (min-width:1200px){.bdt-grid-divider.bdt-grid-large,.bdt-grid-divider.bdt-grid-column-large{margin-left:-140px}.bdt-grid-divider.bdt-grid-large>*,.bdt-grid-divider.bdt-grid-column-large>*{padding-left:140px}.bdt-grid-divider.bdt-grid-large>:not(.bdt-first-column)::before,.bdt-grid-divider.bdt-grid-column-large>:not(.bdt-first-column)::before{left:70px}.bdt-grid-divider.bdt-grid-large.bdt-grid-stack>.bdt-grid-margin,.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack>.bdt-grid-margin{margin-top:140px}.bdt-grid-divider.bdt-grid-large.bdt-grid-stack>.bdt-grid-margin::before{top:-70px;left:140px}.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack>.bdt-grid-margin::before{top:-70px}.bdt-grid-divider.bdt-grid-column-large.bdt-grid-stack>.bdt-grid-margin::before{left:140px}}.bdt-grid-match>*,.bdt-grid-item-match{display:flex;flex-wrap:wrap}.bdt-grid-match>*>:not([class*='bdt-width']),.bdt-grid-item-match>:not([class*='bdt-width']){box-sizing:border-box;width:100%;flex:auto}.bdt-tile{position:relative;box-sizing:border-box;padding-left:15px;padding-right:15px;padding-top:40px;padding-bottom:40px}@media (min-width:640px){.bdt-tile{padding-left:30px;padding-right:30px}}@media (min-width:960px){.bdt-tile{padding-left:40px;padding-right:40px;padding-top:70px;padding-bottom:70px}}.bdt-tile::before,.bdt-tile::after{content:"";display:table}.bdt-tile::after{clear:both}.bdt-tile>:last-child{margin-bottom:0}.bdt-tile-xsmall{padding-top:20px;padding-bottom:20px}.bdt-tile-small{padding-top:40px;padding-bottom:40px}.bdt-tile-large{padding-top:70px;padding-bottom:70px}@media (min-width:960px){.bdt-tile-large{padding-top:140px;padding-bottom:140px}}.bdt-tile-xlarge{padding-top:140px;padding-bottom:140px}@media (min-width:960px){.bdt-tile-xlarge{padding-top:210px;padding-bottom:210px}}.bdt-tile-default{background:#fff}.bdt-tile-muted{background:#f8f8f8}.bdt-tile-primary{background:#1e87f0}.bdt-tile-secondary{background:#222}.bdt-card{position:relative;box-sizing:border-box}.bdt-card-body{padding:30px 30px}.bdt-card-header{padding:15px 30px}.bdt-card-footer{padding:15px 30px}@media (min-width:1200px){.bdt-card-body{padding:40px 40px}.bdt-card-header{padding:20px 40px}.bdt-card-footer{padding:20px 40px}}.bdt-card-body::before,.bdt-card-body::after,.bdt-card-header::before,.bdt-card-header::after,.bdt-card-footer::before,.bdt-card-footer::after{content:"";display:table}.bdt-card-body::after,.bdt-card-header::after,.bdt-card-footer::after{clear:both}.bdt-card-body>:last-child,.bdt-card-header>:last-child,.bdt-card-footer>:last-child{margin-bottom:0}.bdt-card-title{font-size:1.5rem;line-height:1.4}.bdt-card-badge{position:absolute;top:30px;right:30px;z-index:1}.bdt-card-badge:first-child+*{margin-top:0}.bdt-card-hover:not(.bdt-card-default):not(.bdt-card-primary):not(.bdt-card-secondary):hover{background:#f8f8f8}.bdt-card-default{background:#f8f8f8;color:#666}.bdt-card-default .bdt-card-title{color:#333}.bdt-card-default.bdt-card-hover:hover{background-color:#ebebeb}.bdt-card-primary{background:#1e87f0;color:#fff}.bdt-card-primary .bdt-card-title{color:#fff}.bdt-card-primary.bdt-card-hover:hover{background-color:#0f7ae5}.bdt-card-secondary{background:#222;color:#fff}.bdt-card-secondary .bdt-card-title{color:#fff}.bdt-card-secondary.bdt-card-hover:hover{background-color:#151515}.bdt-card-small.bdt-card-body,.bdt-card-small .bdt-card-body{padding:20px 20px}.bdt-card-small .bdt-card-header{padding:13px 20px}.bdt-card-small .bdt-card-footer{padding:13px 20px}@media (min-width:1200px){.bdt-card-large.bdt-card-body,.bdt-card-large .bdt-card-body{padding:70px 70px}.bdt-card-large .bdt-card-header{padding:35px 70px}.bdt-card-large .bdt-card-footer{padding:35px 70px}}.bdt-close{color:#999}.bdt-close:hover,.bdt-close:focus{color:#666;outline:none}.bdt-spinner>*{animation:bdt-spinner-rotate 1.4s linear infinite}@keyframes bdt-spinner-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(270deg)}}.bdt-spinner>*>*{stroke-dasharray:88px;stroke-dashoffset:0;transform-origin:center;animation:bdt-spinner-dash 1.4s ease-in-out infinite;stroke-width:1;stroke-linecap:round}@keyframes bdt-spinner-dash{0%{stroke-dashoffset:88px}50%{stroke-dashoffset:22px;transform:rotate(135deg)}100%{stroke-dashoffset:88px;transform:rotate(450deg)}}.bdt-totop{padding:5px;color:#999}.bdt-totop:hover,.bdt-totop:focus{color:#666;outline:none}.bdt-totop:active{color:#333}.bdt-marker{padding:5px;background:#222;color:#fff}.bdt-marker:hover,.bdt-marker:focus{color:#fff;outline:none}.bdt-alert{position:relative;margin-bottom:20px;padding:15px 29px 15px 15px;background:#f8f8f8;color:#666}*+.bdt-alert{margin-top:20px}.bdt-alert>:last-child{margin-bottom:0}.bdt-alert-close{position:absolute;top:20px;right:15px}.bdt-alert-close:first-child+*{margin-top:0}.bdt-alert-primary{background:#d8eafc;color:#1e87f0}.bdt-alert-success{background:#edfbf6;color:#32d296}.bdt-alert-warning{background:#fff6ee;color:#faa05a}.bdt-alert-danger{background:#fef4f6;color:#f0506e}.bdt-badge{box-sizing:border-box;min-width:22px;height:22px;padding:0 5px;border-radius:500px;vertical-align:middle;background:#1e87f0;color:#fff;font-size:.875rem;display:inline-flex;justify-content:center;align-items:center}.bdt-badge:hover,.bdt-badge:focus{color:#fff;text-decoration:none;outline:none}.bdt-label{display:inline-block;padding:0 10px;background:#1e87f0;line-height:1.5;font-size:.875rem;color:#fff;vertical-align:middle;white-space:nowrap}.bdt-label-success{background-color:#32d296;color:#fff}.bdt-label-warning{background-color:#faa05a;color:#fff}.bdt-label-danger{background-color:#f0506e;color:#fff}.bdt-overlay{padding:30px 30px}.bdt-overlay>:last-child{margin-bottom:0}.bdt-overlay-default{background:rgba(255,255,255,0.8)}.bdt-overlay-primary{background:rgba(34,34,34,0.8)}.bdt-article::before,.bdt-article::after{content:"";display:table}.bdt-article::after{clear:both}.bdt-article>:last-child{margin-bottom:0}.bdt-article+.bdt-article{margin-top:70px}.bdt-article-title{font-size:2.23125rem;line-height:1.2}@media (min-width:960px){.bdt-article-title{font-size:2.625rem}}.bdt-article-meta{font-size:.875rem;line-height:1.4;color:#999}.bdt-comment-body{overflow-wrap:break-word;word-wrap:break-word}.bdt-comment-header{margin-bottom:20px}.bdt-comment-body::before,.bdt-comment-body::after,.bdt-comment-header::before,.bdt-comment-header::after{content:"";display:table}.bdt-comment-body::after,.bdt-comment-header::after{clear:both}.bdt-comment-body>:last-child,.bdt-comment-header>:last-child{margin-bottom:0}.bdt-comment-title{font-size:1.25rem;line-height:1.4}.bdt-comment-meta{font-size:.875rem;line-height:1.4;color:#999}.bdt-comment-list{padding:0;list-style:none}.bdt-comment-list>:nth-child(n+2){margin-top:70px}.bdt-comment-list .bdt-comment~ul{margin:70px 0 0 0;padding-left:30px;list-style:none}@media (min-width:960px){.bdt-comment-list .bdt-comment~ul{padding-left:100px}}.bdt-comment-list .bdt-comment~ul>:nth-child(n+2){margin-top:70px}.bdt-search{display:inline-block;position:relative;max-width:100%;margin:0}.bdt-search-input::-webkit-search-cancel-button,.bdt-search-input::-webkit-search-decoration{-webkit-appearance:none}.bdt-search-input::-moz-placeholder{opacity:1}.bdt-search-input{box-sizing:border-box;margin:0;border-radius:0;font:inherit;overflow:visible;-webkit-appearance:none;vertical-align:middle;width:100%;border:none;color:#666}.bdt-search-input:focus{outline:none}.bdt-search-input:-ms-input-placeholder{color:#999 !important}.bdt-search-input::placeholder{color:#999}.bdt-search-icon:focus{outline:none}.bdt-search .bdt-search-icon{position:absolute;top:0;bottom:0;left:0;display:inline-flex;justify-content:center;align-items:center;color:#999}.bdt-search .bdt-search-icon:hover{color:#999}.bdt-search .bdt-search-icon:not(a):not(button):not(input){pointer-events:none}.bdt-search .bdt-search-icon-flip{right:0;left:auto}.bdt-search-default{width:180px}.bdt-search-default .bdt-search-input{height:40px;padding-left:6px;padding-right:6px;background:#f8f8f8}.bdt-search-default .bdt-search-input:focus{background-color:#f8f8f8}.bdt-search-default .bdt-search-icon{width:40px}.bdt-search-default .bdt-search-icon:not(.bdt-search-icon-flip)~.bdt-search-input{padding-left:40px}.bdt-search-default .bdt-search-icon-flip~.bdt-search-input{padding-right:40px}.bdt-search-navbar{width:400px}.bdt-search-navbar .bdt-search-input{height:40px;background:transparent;font-size:1.5rem}.bdt-search-navbar .bdt-search-icon{width:40px}.bdt-search-navbar .bdt-search-icon:not(.bdt-search-icon-flip)~.bdt-search-input{padding-left:40px}.bdt-search-navbar .bdt-search-icon-flip~.bdt-search-input{padding-right:40px}.bdt-search-large{width:500px}.bdt-search-large .bdt-search-input{height:80px;background:transparent;font-size:2.625rem}.bdt-search-large .bdt-search-icon{width:80px}.bdt-search-large .bdt-search-icon:not(.bdt-search-icon-flip)~.bdt-search-input{padding-left:80px}.bdt-search-large .bdt-search-icon-flip~.bdt-search-input{padding-right:80px}.bdt-search-toggle{color:#999}.bdt-search-toggle:hover,.bdt-search-toggle:focus{color:#666}.bdt-nav,.bdt-nav ul{margin:0;padding:0;list-style:none}.bdt-nav li>a{display:block;text-decoration:none}.bdt-nav li>a:focus{outline:none}.bdt-nav>li>a{padding:5px 0}ul.bdt-nav-sub{padding:5px 0 5px 15px}.bdt-nav-sub ul{padding-left:15px}.bdt-nav-sub a{padding:2px 0}.bdt-nav-parent-icon>.bdt-parent>a::after{content:"";width:1.5em;height:1.5em;float:right;background-image:url("../../images/backgrounds/nav-parent-close.svg");background-repeat:no-repeat;background-position:50% 50%}.bdt-nav-parent-icon>.bdt-parent.bdt-open>a::after{background-image:url("../../images/backgrounds/nav-parent-open.svg")}.bdt-nav-header{padding:5px 0;text-transform:uppercase;font-size:.875rem}.bdt-nav-header:not(:first-child){margin-top:20px}.bdt-nav-divider{margin:5px 0}.bdt-nav-default>li>a{color:#999}.bdt-nav-default>li>a:hover,.bdt-nav-default>li>a:focus{color:#666}.bdt-nav-default>li.bdt-active>a{color:#333}.bdt-nav-default .bdt-nav-header{color:#333}.bdt-nav-default .bdt-nav-divider{border-top:1px solid #e5e5e5}.bdt-nav-default .bdt-nav-sub a{color:#999}.bdt-nav-default .bdt-nav-sub a:hover,.bdt-nav-default .bdt-nav-sub a:focus{color:#666}.bdt-nav-default .bdt-nav-sub li.bdt-active>a{color:#333}.bdt-nav-primary>li>a{font-size:1.5rem;line-height:1.5;color:#999}.bdt-nav-primary>li>a:hover,.bdt-nav-primary>li>a:focus{color:#666}.bdt-nav-primary>li.bdt-active>a{color:#333}.bdt-nav-primary .bdt-nav-header{color:#333}.bdt-nav-primary .bdt-nav-divider{border-top:1px solid #e5e5e5}.bdt-nav-primary .bdt-nav-sub a{color:#999}.bdt-nav-primary .bdt-nav-sub a:hover,.bdt-nav-primary .bdt-nav-sub a:focus{color:#666}.bdt-nav-primary .bdt-nav-sub li.bdt-active>a{color:#333}.bdt-nav-center{text-align:center}.bdt-nav-center .bdt-nav-sub,.bdt-nav-center .bdt-nav-sub ul{padding-left:0}.bdt-nav-center.bdt-nav-parent-icon>.bdt-parent>a::after{position:absolute}.bdt-navbar{display:flex;position:relative}.bdt-navbar-container:not(.bdt-navbar-transparent){background:#f8f8f8}.bdt-navbar-container>::before,.bdt-navbar-container>::after{display:none !important}.bdt-navbar-left,.bdt-navbar-right,.bdt-navbar-center,.bdt-navbar-center-left>*,.bdt-navbar-center-right>*{display:flex;align-items:center}.bdt-navbar-right{margin-left:auto}.bdt-navbar-center:only-child{margin-left:auto;margin-right:auto;position:relative}.bdt-navbar-center:not(:only-child){position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:max-content;box-sizing:border-box;z-index:990}.bdt-navbar-center-left,.bdt-navbar-center-right{position:absolute;top:0}.bdt-navbar-center-left{right:100%}.bdt-navbar-center-right{left:100%}[class*='bdt-navbar-center-']{width:max-content;box-sizing:border-box}.bdt-navbar-nav{display:flex;margin:0;padding:0;list-style:none}.bdt-navbar-left,.bdt-navbar-right,.bdt-navbar-center:only-child{flex-wrap:wrap}.bdt-navbar-nav>li>a,.bdt-navbar-item,.bdt-navbar-toggle{display:flex;justify-content:center;align-items:center;box-sizing:border-box;min-height:80px;padding:0 15px;font-size:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";text-decoration:none}.bdt-navbar-nav>li>a{color:#999}.bdt-navbar-nav>li:hover>a,.bdt-navbar-nav>li>a:focus,.bdt-navbar-nav>li>a.bdt-open{color:#666;outline:none}.bdt-navbar-nav>li>a:active{color:#333}.bdt-navbar-nav>li.bdt-active>a{color:#333}.bdt-navbar-item{color:#666}.bdt-navbar-toggle{color:#999}.bdt-navbar-toggle:hover,.bdt-navbar-toggle:focus,.bdt-navbar-toggle.bdt-open{color:#666;outline:none;text-decoration:none}.bdt-navbar-subtitle{font-size:.875rem}.bdt-navbar-dropdown{display:none;position:absolute;z-index:1020;box-sizing:border-box;width:200px;padding:15px;background:#f8f8f8;color:#666}.bdt-navbar-dropdown.bdt-open{display:block}[class*='bdt-navbar-dropdown-top']{margin-top:0}[class*='bdt-navbar-dropdown-bottom']{margin-top:0}[class*='bdt-navbar-dropdown-left']{margin-left:0}[class*='bdt-navbar-dropdown-right']{margin-left:0}.bdt-navbar-dropdown-grid{margin-left:-30px}.bdt-navbar-dropdown-grid>*{padding-left:30px}.bdt-navbar-dropdown-grid>.bdt-grid-margin{margin-top:30px}.bdt-navbar-dropdown-stack .bdt-navbar-dropdown-grid>*{width:100% !important}.bdt-navbar-dropdown-width-2:not(.bdt-navbar-dropdown-stack){width:400px}.bdt-navbar-dropdown-width-3:not(.bdt-navbar-dropdown-stack){width:600px}.bdt-navbar-dropdown-width-4:not(.bdt-navbar-dropdown-stack){width:800px}.bdt-navbar-dropdown-width-5:not(.bdt-navbar-dropdown-stack){width:1000px}.bdt-navbar-dropdown-dropbar{margin-top:0;margin-bottom:0}.bdt-navbar-dropdown-nav>li>a{color:#999}.bdt-navbar-dropdown-nav>li>a:hover,.bdt-navbar-dropdown-nav>li>a:focus{color:#666}.bdt-navbar-dropdown-nav>li.bdt-active>a{color:#333}.bdt-navbar-dropdown-nav .bdt-nav-header{color:#333}.bdt-navbar-dropdown-nav .bdt-nav-divider{border-top:1px solid #e5e5e5}.bdt-navbar-dropdown-nav .bdt-nav-sub a{color:#999}.bdt-navbar-dropdown-nav .bdt-nav-sub a:hover,.bdt-navbar-dropdown-nav .bdt-nav-sub a:focus{color:#666}.bdt-navbar-dropdown-nav .bdt-nav-sub li.bdt-active>a{color:#333}.bdt-navbar-dropbar{background:#f8f8f8}.bdt-navbar-dropbar-slide{position:absolute;z-index:980;left:0;right:0}.bdt-subnav{display:flex;flex-wrap:wrap;margin-left:-20px;padding:0;list-style:none}.bdt-subnav>*{flex:none;padding-left:20px;position:relative}.bdt-subnav>*>:first-child{display:block;color:#999}.bdt-subnav>*>a:hover,.bdt-subnav>*>a:focus{color:#666;text-decoration:none;outline:none}.bdt-subnav>.bdt-active>a{color:#333}.bdt-subnav-divider>*{display:flex;align-items:center}.bdt-subnav-divider>:nth-child(n+2):not(.bdt-first-column)::before{content:"";height:1.5em;margin-left:0;margin-right:20px;border-left:1px solid #e5e5e5}.bdt-subnav-pill>*>:first-child{padding:5px 10px;background:transparent;color:#999}.bdt-subnav-pill>*>a:hover,.bdt-subnav-pill>*>a:focus{background-color:#f8f8f8;color:#666}.bdt-subnav-pill>*>a:active{background-color:#f8f8f8;color:#666}.bdt-subnav-pill>.bdt-active>a{background-color:#1e87f0;color:#fff}.bdt-subnav>.bdt-disabled>a{color:#999}.bdt-breadcrumb{display:flex;flex-wrap:wrap;padding:0;list-style:none}.bdt-breadcrumb>*{flex:none}.bdt-breadcrumb>*>*{display:inline-block;font-size:.875rem;color:#999}.bdt-breadcrumb>*>:hover,.bdt-breadcrumb>*>:focus{color:#666;text-decoration:none}.bdt-breadcrumb>:last-child>*{color:#666}.bdt-breadcrumb>:nth-child(n+2):not(.bdt-first-column)::before{content:"/";display:inline-block;margin:0 20px;color:#999}.bdt-pagination{display:flex;flex-wrap:wrap;margin-left:-20px;padding:0;list-style:none}.bdt-pagination>*{flex:none;padding-left:20px;position:relative}.bdt-pagination>*>*{display:block;color:#999}.bdt-pagination>*>:hover,.bdt-pagination>*>:focus{color:#666;text-decoration:none}.bdt-pagination>.bdt-active>*{color:#666}.bdt-pagination>.bdt-disabled>*{color:#999}.bdt-tab{display:flex;flex-wrap:wrap;margin-left:-20px;padding:0;list-style:none}.bdt-tab>*{flex:none;padding-left:20px;position:relative}.bdt-tab>*>a{display:block;text-align:center;padding:5px 10px;color:#999}.bdt-tab>*>a:hover,.bdt-tab>*>a:focus{color:#666;text-decoration:none}.bdt-tab>.bdt-active>a{color:#333}.bdt-tab>.bdt-disabled>a{color:#999}.bdt-tab-left,.bdt-tab-right{flex-direction:column;margin-left:0}.bdt-tab-left>*,.bdt-tab-right>*{padding-left:0}.bdt-tab-left>*>a{text-align:left}.bdt-tab-right>*>a{text-align:left}.bdt-slidenav{padding:5px 10px;color:rgba(102,102,102,0.5)}.bdt-slidenav:hover,.bdt-slidenav:focus{color:rgba(102,102,102,0.9);outline:none}.bdt-slidenav:active{color:rgba(102,102,102,0.5)}.bdt-slidenav-large{padding:10px 10px}.bdt-slidenav-container{display:flex}.bdt-dotnav{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none;margin-left:-12px}.bdt-dotnav>*{flex:none;padding-left:12px}.bdt-dotnav>*>*{display:block;box-sizing:border-box;width:10px;height:10px;border-radius:50%;background:rgba(102,102,102,0.2);text-indent:100%;overflow:hidden;white-space:nowrap}.bdt-dotnav>*>:hover,.bdt-dotnav>*>:focus{background-color:rgba(102,102,102,0.6);outline:none}.bdt-dotnav>*>:active{background-color:rgba(102,102,102,0.2)}.bdt-dotnav>.bdt-active>*{background-color:rgba(102,102,102,0.6)}.bdt-dotnav-vertical{flex-direction:column;margin-left:0;margin-top:-12px}.bdt-dotnav-vertical>*{padding-left:0;padding-top:12px}.bdt-thumbnav{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none;margin-left:-15px}.bdt-thumbnav>*{padding-left:15px}.bdt-thumbnav>*>*{display:inline-block}.bdt-thumbnav>*>:hover,.bdt-thumbnav>*>:focus{outline:none}.bdt-thumbnav-vertical{flex-direction:column;margin-left:0;margin-top:-15px}.bdt-thumbnav-vertical>*{padding-left:0;padding-top:15px}.bdt-accordion{padding:0;list-style:none}.bdt-accordion>:nth-child(n+2){margin-top:20px}.bdt-accordion-title{display:block;font-size:1.25rem;line-height:1.4;color:#333}.bdt-accordion-title:hover,.bdt-accordion-title:focus{color:#666;text-decoration:none;outline:none}.bdt-accordion-content{margin-top:20px}.bdt-accordion-content::before,.bdt-accordion-content::after{content:"";display:table}.bdt-accordion-content::after{clear:both}.bdt-accordion-content>:last-child{margin-bottom:0}.bdt-drop{display:none;position:absolute;z-index:1020;box-sizing:border-box;width:300px}.bdt-drop.bdt-open{display:block}[class*='bdt-drop-top']{margin-top:-20px}[class*='bdt-drop-bottom']{margin-top:20px}[class*='bdt-drop-left']{margin-left:-20px}[class*='bdt-drop-right']{margin-left:20px}.bdt-drop-stack .bdt-drop-grid>*{width:100% !important}.bdt-dropdown{display:none;position:absolute;z-index:1020;box-sizing:border-box;min-width:200px;padding:15px;background:#f8f8f8;color:#666}.bdt-dropdown.bdt-open{display:block}.bdt-dropdown-nav{white-space:nowrap}.bdt-dropdown-nav>li>a{color:#999}.bdt-dropdown-nav>li>a:hover,.bdt-dropdown-nav>li>a:focus,.bdt-dropdown-nav>li.bdt-active>a{color:#666}.bdt-dropdown-nav .bdt-nav-header{color:#333}.bdt-dropdown-nav .bdt-nav-divider{border-top:1px solid #e5e5e5}.bdt-dropdown-nav .bdt-nav-sub a{color:#999}.bdt-dropdown-nav .bdt-nav-sub a:hover,.bdt-dropdown-nav .bdt-nav-sub a:focus,.bdt-dropdown-nav .bdt-nav-sub li.bdt-active>a{color:#666}[class*='bdt-dropdown-top']{margin-top:-10px}[class*='bdt-dropdown-bottom']{margin-top:10px}[class*='bdt-dropdown-left']{margin-left:-10px}[class*='bdt-dropdown-right']{margin-left:10px}.bdt-dropdown-stack .bdt-dropdown-grid>*{width:100% !important}.bdt-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:15px 15px;background:rgba(0,0,0,0.6);opacity:0;transition:opacity .15s linear}@media (min-width:640px){.bdt-modal{padding:50px 30px}}@media (min-width:960px){.bdt-modal{padding-left:40px;padding-right:40px}}.bdt-modal.bdt-open{opacity:1}.bdt-modal-page{overflow:hidden}.bdt-modal-dialog{position:relative;box-sizing:border-box;margin:0 auto;width:600px;max-width:calc(100% - 0.01px) !important;background:#fff;opacity:0;transform:translateY(-100px);transition:.3s linear;transition-property:opacity,transform}.bdt-open>.bdt-modal-dialog{opacity:1;transform:translateY(0)}.bdt-modal-container .bdt-modal-dialog{width:1200px}.bdt-modal-full{padding:0;background:none}.bdt-modal-full .bdt-modal-dialog{margin:0;width:100%;max-width:100%;transform:translateY(0)}.bdt-modal-body{padding:30px 30px}.bdt-modal-header{padding:15px 30px;background:#f8f8f8}.bdt-modal-footer{padding:15px 30px;background:#f8f8f8}.bdt-modal-body::before,.bdt-modal-body::after,.bdt-modal-header::before,.bdt-modal-header::after,.bdt-modal-footer::before,.bdt-modal-footer::after{content:"";display:table}.bdt-modal-body::after,.bdt-modal-header::after,.bdt-modal-footer::after{clear:both}.bdt-modal-body>:last-child,.bdt-modal-header>:last-child,.bdt-modal-footer>:last-child{margin-bottom:0}.bdt-modal-title{font-size:2rem;line-height:1.3}[class*='bdt-modal-close-']{position:absolute;z-index:1010;top:10px;right:10px;padding:5px}[class*='bdt-modal-close-']:first-child+*{margin-top:0}.bdt-modal-close-outside{top:0;right:-5px;transform:translate(0, -100%);color:#fff}.bdt-modal-close-outside:hover{color:#fff}@media (min-width:960px){.bdt-modal-close-outside{right:0;transform:translate(100%, -100%)}}.bdt-lightbox{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;background:#000;opacity:0;transition:opacity .15s linear}.bdt-lightbox.bdt-open{display:block;opacity:1}.bdt-lightbox-page{overflow:hidden}.bdt-lightbox-items>*{position:absolute;top:0;right:0;bottom:0;left:0;display:none;justify-content:center;align-items:center;color:rgba(255,255,255,0.7);will-change:transform,opacity}.bdt-lightbox-items>*>*{max-width:100vw;max-height:100vh}.bdt-lightbox-items>:focus{outline:none}.bdt-lightbox-items>*>:not(iframe){width:auto;height:auto}.bdt-lightbox-items>.bdt-active{display:flex}.bdt-lightbox-toolbar{padding:10px 10px;background:rgba(0,0,0,0.3);color:rgba(255,255,255,0.7)}.bdt-lightbox-toolbar>*{color:rgba(255,255,255,0.7)}.bdt-lightbox-toolbar-icon{padding:5px;color:rgba(255,255,255,0.7)}.bdt-lightbox-toolbar-icon:hover{color:#fff}.bdt-lightbox-button{box-sizing:border-box;width:50px;height:50px;background:rgba(0,0,0,0.3);color:rgba(255,255,255,0.7);display:inline-flex;justify-content:center;align-items:center}.bdt-lightbox-button:hover{color:#fff}.bdt-lightbox-iframe{width:80%;height:80%}.bdt-slideshow{-webkit-tap-highlight-color:transparent}.bdt-slideshow-items{position:relative;z-index:0;margin:0;padding:0;list-style:none;overflow:hidden;-webkit-touch-callout:none}.bdt-slideshow-items>*{position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden;will-change:transform,opacity;touch-action:pan-y}.bdt-slideshow-items>:focus{outline:none}.bdt-slideshow-items>:not(.bdt-active){display:none}.bdt-slider{-webkit-tap-highlight-color:transparent}.bdt-slider-container{overflow:hidden}.bdt-slider-items{will-change:transform;position:relative}.bdt-slider-items:not(.bdt-grid){display:flex;margin:0;padding:0;list-style:none;-webkit-touch-callout:none}.bdt-slider-items.bdt-grid{flex-wrap:nowrap}.bdt-slider-items>*{flex:none;position:relative;touch-action:pan-y}.bdt-slider-items>:focus{outline:none}.bdt-sticky-fixed{z-index:980;box-sizing:border-box;margin:0 !important;-webkit-backface-visibility:hidden;backface-visibility:hidden}.bdt-sticky[class*='bdt-animation-']{animation-duration:.2s}.bdt-sticky.bdt-animation-reverse{animation-duration:.2s}.bdt-offcanvas{display:none;position:fixed;top:0;bottom:0;left:0;z-index:1000}.bdt-offcanvas-flip .bdt-offcanvas{right:0;left:auto}.bdt-offcanvas-bar{position:absolute;top:0;bottom:0;left:-270px;box-sizing:border-box;width:270px;padding:20px 20px;background:#222;overflow-y:auto;-webkit-overflow-scrolling:touch}@media (min-width:960px){.bdt-offcanvas-bar{left:-350px;width:350px;padding:40px 40px}}.bdt-offcanvas-flip .bdt-offcanvas-bar{left:auto;right:-270px}@media (min-width:960px){.bdt-offcanvas-flip .bdt-offcanvas-bar{right:-350px}}.bdt-open>.bdt-offcanvas-bar{left:0}.bdt-offcanvas-flip .bdt-open>.bdt-offcanvas-bar{left:auto;right:0}.bdt-offcanvas-bar-animation{transition:left .3s ease-out}.bdt-offcanvas-flip .bdt-offcanvas-bar-animation{transition-property:right}.bdt-offcanvas-reveal{position:absolute;top:0;bottom:0;left:0;width:0;overflow:hidden;transition:width .3s ease-out}.bdt-offcanvas-reveal .bdt-offcanvas-bar{left:0}.bdt-offcanvas-flip .bdt-offcanvas-reveal .bdt-offcanvas-bar{left:auto;right:0}.bdt-open>.bdt-offcanvas-reveal{width:270px}@media (min-width:960px){.bdt-open>.bdt-offcanvas-reveal{width:350px}}.bdt-offcanvas-flip .bdt-offcanvas-reveal{right:0;left:auto}.bdt-offcanvas-close{position:absolute;z-index:1000;top:20px;right:20px;padding:5px}.bdt-offcanvas-overlay{width:100vw;touch-action:none}.bdt-offcanvas-overlay::before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,0.1);opacity:0;transition:opacity .15s linear}.bdt-offcanvas-overlay.bdt-open::before{opacity:1}.bdt-offcanvas-page,.bdt-offcanvas-container{overflow-x:hidden}.bdt-offcanvas-container{position:relative;left:0;transition:left .3s ease-out;box-sizing:border-box;width:100%}:not(.bdt-offcanvas-flip).bdt-offcanvas-container-animation{left:270px}.bdt-offcanvas-flip.bdt-offcanvas-container-animation{left:-270px}@media (min-width:960px){:not(.bdt-offcanvas-flip).bdt-offcanvas-container-animation{left:350px}.bdt-offcanvas-flip.bdt-offcanvas-container-animation{left:-350px}}.bdt-switcher{margin:0;padding:0;list-style:none}.bdt-switcher>:not(.bdt-active){display:none}.bdt-switcher>*>:last-child{margin-bottom:0}.bdt-leader{overflow:hidden}.bdt-leader-fill::after{display:inline-block;margin-left:15px;width:0;content:attr(data-fill);white-space:nowrap}.bdt-leader-fill.bdt-leader-hide::after{display:none}.bdt-leader-fill-content::before{content:'.'}:root{--bdt-leader-fill-content:.}.bdt-iconnav{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none;margin-left:-10px}.bdt-iconnav>*{padding-left:10px}.bdt-iconnav>*>a{display:block;color:#999}.bdt-iconnav>*>a:hover,.bdt-iconnav>*>a:focus{color:#666;outline:none}.bdt-iconnav>.bdt-active>a{color:#666}.bdt-iconnav-vertical{flex-direction:column;margin-left:0;margin-top:-10px}.bdt-iconnav-vertical>*{padding-left:0;padding-top:10px}.bdt-notification{position:fixed;top:10px;left:10px;z-index:1040;box-sizing:border-box;width:350px}.bdt-notification-top-right,.bdt-notification-bottom-right{left:auto;right:10px}.bdt-notification-top-center,.bdt-notification-bottom-center{left:50%;margin-left:-175px}.bdt-notification-bottom-left,.bdt-notification-bottom-right,.bdt-notification-bottom-center{top:auto;bottom:10px}@media (max-width:639px){.bdt-notification{left:10px;right:10px;width:auto;margin:0}}.bdt-notification-message{position:relative;padding:15px;background:#f8f8f8;color:#666;font-size:1.25rem;line-height:1.4;cursor:pointer}*+.bdt-notification-message{margin-top:10px}.bdt-notification-close{display:none;position:absolute;top:20px;right:15px}.bdt-notification-message:hover .bdt-notification-close{display:block}.bdt-notification-message-primary{color:#1e87f0}.bdt-notification-message-success{color:#32d296}.bdt-notification-message-warning{color:#faa05a}.bdt-notification-message-danger{color:#f0506e}.bdt-tooltip{display:none;position:absolute;z-index:1030;box-sizing:border-box;max-width:200px;padding:3px 6px;background:#666;border-radius:2px;color:#fff;font-size:12px}.bdt-tooltip.bdt-active{display:block}[class*='bdt-tooltip-top']{margin-top:-10px}[class*='bdt-tooltip-bottom']{margin-top:10px}[class*='bdt-tooltip-left']{margin-left:-10px}[class*='bdt-tooltip-right']{margin-left:10px}.bdt-placeholder{margin-bottom:20px;padding:30px 30px;background:#f8f8f8}*+.bdt-placeholder{margin-top:20px}.bdt-placeholder>:last-child{margin-bottom:0}.bdt-progress{vertical-align:baseline;-webkit-appearance:none;-moz-appearance:none;display:block;width:100%;border:0;background-color:#f8f8f8;margin-bottom:20px;height:15px}*+.bdt-progress{margin-top:20px}.bdt-progress:indeterminate{color:transparent}.bdt-progress::-webkit-progress-bar{background-color:#f8f8f8}.bdt-progress:indeterminate::-moz-progress-bar{width:0}.bdt-progress::-webkit-progress-value{background-color:#1e87f0;transition:width .6s ease}.bdt-progress::-moz-progress-bar{background-color:#1e87f0}.bdt-progress::-ms-fill{background-color:#1e87f0;transition:width .6s ease;border:0}.bdt-sortable{position:relative}.bdt-sortable svg{pointer-events:none}.bdt-sortable>:last-child{margin-bottom:0}.bdt-sortable-drag{position:absolute !important;z-index:1050 !important;pointer-events:none}.bdt-sortable-placeholder{opacity:0;pointer-events:none}.bdt-sortable-empty{min-height:50px}.bdt-sortable-handle:hover{cursor:move}.bdt-countdown-number,.bdt-countdown-separator{line-height:.8}.bdt-countdown-number{font-size:2rem}@media (min-width:640px){.bdt-countdown-number{font-size:4rem}}@media (min-width:960px){.bdt-countdown-number{font-size:6rem}}.bdt-countdown-separator{font-size:1rem}@media (min-width:640px){.bdt-countdown-separator{font-size:2rem}}@media (min-width:960px){.bdt-countdown-separator{font-size:3rem}}[class*='bdt-animation-']{animation-duration:.5s;animation-timing-function:ease-out;animation-fill-mode:both}.bdt-animation-fade{animation-name:bdt-fade;animation-duration:.8s;animation-timing-function:linear}.bdt-animation-scale-up{animation-name:bdt-fade-scale-02}.bdt-animation-scale-down{animation-name:bdt-fade-scale-18}.bdt-animation-slide-top{animation-name:bdt-fade-top}.bdt-animation-slide-bottom{animation-name:bdt-fade-bottom}.bdt-animation-slide-left{animation-name:bdt-fade-left}.bdt-animation-slide-right{animation-name:bdt-fade-right}.bdt-animation-slide-top-small{animation-name:bdt-fade-top-small}.bdt-animation-slide-bottom-small{animation-name:bdt-fade-bottom-small}.bdt-animation-slide-left-small{animation-name:bdt-fade-left-small}.bdt-animation-slide-right-small{animation-name:bdt-fade-right-small}.bdt-animation-slide-top-medium{animation-name:bdt-fade-top-medium}.bdt-animation-slide-bottom-medium{animation-name:bdt-fade-bottom-medium}.bdt-animation-slide-left-medium{animation-name:bdt-fade-left-medium}.bdt-animation-slide-right-medium{animation-name:bdt-fade-right-medium}.bdt-animation-kenburns{animation-name:bdt-scale-kenburns;animation-duration:15s}.bdt-animation-shake{animation-name:bdt-shake}.bdt-animation-stroke{animation-name:bdt-stroke;stroke-dasharray:var(--bdt-animation-stroke);animation-duration:2s}.bdt-animation-reverse{animation-direction:reverse;animation-timing-function:ease-in}.bdt-animation-fast{animation-duration:.1s}.bdt-animation-toggle:not(:hover):not(:focus) [class*='bdt-animation-']{animation-name:none}.bdt-animation-toggle{-webkit-tap-highlight-color:transparent}.bdt-animation-toggle:focus{outline:none}@keyframes bdt-fade{0%{opacity:0}100%{opacity:1}}@keyframes bdt-fade-top{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-bottom{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-left{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-right{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-top-small{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-bottom-small{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-left-small{0%{opacity:0;transform:translateX(-10px)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-right-small{0%{opacity:0;transform:translateX(10px)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-top-medium{0%{opacity:0;transform:translateY(-50px)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-bottom-medium{0%{opacity:0;transform:translateY(50px)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-left-medium{0%{opacity:0;transform:translateX(-50px)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-right-medium{0%{opacity:0;transform:translateX(50px)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@keyframes bdt-fade-scale-18{0%{opacity:0;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@keyframes bdt-scale-kenburns{0%{transform:scale(1)}100%{transform:scale(1.2)}}@keyframes bdt-shake{0%,100%{transform:translateX(0)}10%{transform:translateX(-9px)}20%{transform:translateX(8px)}30%{transform:translateX(-7px)}40%{transform:translateX(6px)}50%{transform:translateX(-5px)}60%{transform:translateX(4px)}70%{transform:translateX(-3px)}80%{transform:translateX(2px)}90%{transform:translateX(-1px)}}@keyframes bdt-stroke{0%{stroke-dashoffset:var(--bdt-animation-stroke)}100%{stroke-dashoffset:0}}[class*='bdt-child-width']>*{box-sizing:border-box;width:100%}.bdt-child-width-1-2>*{width:50%}.bdt-child-width-1-3>*{width:calc(100% * 1 / 3.001)}.bdt-child-width-1-4>*{width:25%}.bdt-child-width-1-5>*{width:20%}.bdt-child-width-1-6>*{width:calc(100% * 1 / 6.001)}.bdt-child-width-auto>*{width:auto}.bdt-child-width-expand>:not([class*='bdt-width']){flex:1;min-width:1px}@media (min-width:640px){.bdt-child-width-1-1\@s>*{width:100%}.bdt-child-width-1-2\@s>*{width:50%}.bdt-child-width-1-3\@s>*{width:calc(100% * 1 / 3.001)}.bdt-child-width-1-4\@s>*{width:25%}.bdt-child-width-1-5\@s>*{width:20%}.bdt-child-width-1-6\@s>*{width:calc(100% * 1 / 6.001)}.bdt-child-width-auto\@s>*{width:auto}.bdt-child-width-expand\@s>:not([class*='bdt-width']){flex:1;min-width:1px}}@media (min-width:960px){.bdt-child-width-1-1\@m>*{width:100%}.bdt-child-width-1-2\@m>*{width:50%}.bdt-child-width-1-3\@m>*{width:calc(100% * 1 / 3.001)}.bdt-child-width-1-4\@m>*{width:25%}.bdt-child-width-1-5\@m>*{width:20%}.bdt-child-width-1-6\@m>*{width:calc(100% * 1 / 6.001)}.bdt-child-width-auto\@m>*{width:auto}.bdt-child-width-expand\@m>:not([class*='bdt-width']){flex:1;min-width:1px}}@media (min-width:1200px){.bdt-child-width-1-1\@l>*{width:100%}.bdt-child-width-1-2\@l>*{width:50%}.bdt-child-width-1-3\@l>*{width:calc(100% * 1 / 3.001)}.bdt-child-width-1-4\@l>*{width:25%}.bdt-child-width-1-5\@l>*{width:20%}.bdt-child-width-1-6\@l>*{width:calc(100% * 1 / 6.001)}.bdt-child-width-auto\@l>*{width:auto}.bdt-child-width-expand\@l>:not([class*='bdt-width']){flex:1;min-width:1px}}@media (min-width:1600px){.bdt-child-width-1-1\@xl>*{width:100%}.bdt-child-width-1-2\@xl>*{width:50%}.bdt-child-width-1-3\@xl>*{width:calc(100% * 1 / 3.001)}.bdt-child-width-1-4\@xl>*{width:25%}.bdt-child-width-1-5\@xl>*{width:20%}.bdt-child-width-1-6\@xl>*{width:calc(100% * 1 / 6.001)}.bdt-child-width-auto\@xl>*{width:auto}.bdt-child-width-expand\@xl>:not([class*='bdt-width']){flex:1;min-width:1px}}[class*='bdt-width']{box-sizing:border-box;width:100%;max-width:100%}.bdt-width-1-2{width:50%}.bdt-width-1-3{width:calc(100% * 1 / 3.001)}.bdt-width-2-3{width:calc(100% * 2 / 3.001)}.bdt-width-1-4{width:25%}.bdt-width-3-4{width:75%}.bdt-width-1-5{width:20%}.bdt-width-2-5{width:40%}.bdt-width-3-5{width:60%}.bdt-width-4-5{width:80%}.bdt-width-1-6{width:calc(100% * 1 / 6.001)}.bdt-width-5-6{width:calc(100% * 5 / 6.001)}.bdt-width-small{width:150px}.bdt-width-medium{width:300px}.bdt-width-large{width:450px}.bdt-width-xlarge{width:600px}.bdt-width-xxlarge{width:750px}.bdt-width-auto{width:auto}.bdt-width-expand{flex:1;min-width:1px}@media (min-width:640px){.bdt-width-1-1\@s{width:100%}.bdt-width-1-2\@s{width:50%}.bdt-width-1-3\@s{width:calc(100% * 1 / 3.001)}.bdt-width-2-3\@s{width:calc(100% * 2 / 3.001)}.bdt-width-1-4\@s{width:25%}.bdt-width-3-4\@s{width:75%}.bdt-width-1-5\@s{width:20%}.bdt-width-2-5\@s{width:40%}.bdt-width-3-5\@s{width:60%}.bdt-width-4-5\@s{width:80%}.bdt-width-1-6\@s{width:calc(100% * 1 / 6.001)}.bdt-width-5-6\@s{width:calc(100% * 5 / 6.001)}.bdt-width-small\@s{width:150px}.bdt-width-medium\@s{width:300px}.bdt-width-large\@s{width:450px}.bdt-width-xlarge\@s{width:600px}.bdt-width-xxlarge\@s{width:750px}.bdt-width-auto\@s{width:auto}.bdt-width-expand\@s{flex:1;min-width:1px}}@media (min-width:960px){.bdt-width-1-1\@m{width:100%}.bdt-width-1-2\@m{width:50%}.bdt-width-1-3\@m{width:calc(100% * 1 / 3.001)}.bdt-width-2-3\@m{width:calc(100% * 2 / 3.001)}.bdt-width-1-4\@m{width:25%}.bdt-width-3-4\@m{width:75%}.bdt-width-1-5\@m{width:20%}.bdt-width-2-5\@m{width:40%}.bdt-width-3-5\@m{width:60%}.bdt-width-4-5\@m{width:80%}.bdt-width-1-6\@m{width:calc(100% * 1 / 6.001)}.bdt-width-5-6\@m{width:calc(100% * 5 / 6.001)}.bdt-width-small\@m{width:150px}.bdt-width-medium\@m{width:300px}.bdt-width-large\@m{width:450px}.bdt-width-xlarge\@m{width:600px}.bdt-width-xxlarge\@m{width:750px}.bdt-width-auto\@m{width:auto}.bdt-width-expand\@m{flex:1;min-width:1px}}@media (min-width:1200px){.bdt-width-1-1\@l{width:100%}.bdt-width-1-2\@l{width:50%}.bdt-width-1-3\@l{width:calc(100% * 1 / 3.001)}.bdt-width-2-3\@l{width:calc(100% * 2 / 3.001)}.bdt-width-1-4\@l{width:25%}.bdt-width-3-4\@l{width:75%}.bdt-width-1-5\@l{width:20%}.bdt-width-2-5\@l{width:40%}.bdt-width-3-5\@l{width:60%}.bdt-width-4-5\@l{width:80%}.bdt-width-1-6\@l{width:calc(100% * 1 / 6.001)}.bdt-width-5-6\@l{width:calc(100% * 5 / 6.001)}.bdt-width-small\@l{width:150px}.bdt-width-medium\@l{width:300px}.bdt-width-large\@l{width:450px}.bdt-width-xlarge\@l{width:600px}.bdt-width-xxlarge\@l{width:750px}.bdt-width-auto\@l{width:auto}.bdt-width-expand\@l{flex:1;min-width:1px}}@media (min-width:1600px){.bdt-width-1-1\@xl{width:100%}.bdt-width-1-2\@xl{width:50%}.bdt-width-1-3\@xl{width:calc(100% * 1 / 3.001)}.bdt-width-2-3\@xl{width:calc(100% * 2 / 3.001)}.bdt-width-1-4\@xl{width:25%}.bdt-width-3-4\@xl{width:75%}.bdt-width-1-5\@xl{width:20%}.bdt-width-2-5\@xl{width:40%}.bdt-width-3-5\@xl{width:60%}.bdt-width-4-5\@xl{width:80%}.bdt-width-1-6\@xl{width:calc(100% * 1 / 6.001)}.bdt-width-5-6\@xl{width:calc(100% * 5 / 6.001)}.bdt-width-small\@xl{width:150px}.bdt-width-medium\@xl{width:300px}.bdt-width-large\@xl{width:450px}.bdt-width-xlarge\@xl{width:600px}.bdt-width-xxlarge\@xl{width:750px}.bdt-width-auto\@xl{width:auto}.bdt-width-expand\@xl{flex:1;min-width:1px}}[class*='bdt-height']{box-sizing:border-box}.bdt-height-1-1{height:100%}.bdt-height-viewport{min-height:100vh}.bdt-height-small{height:150px}.bdt-height-medium{height:300px}.bdt-height-large{height:450px}.bdt-height-max-small{max-height:150px}.bdt-height-max-medium{max-height:300px}.bdt-height-max-large{max-height:450px}.bdt-text-lead{font-size:1.5rem;line-height:1.5;color:#333}.bdt-text-meta{font-size:.875rem;line-height:1.4;color:#999}.bdt-text-small{font-size:.875rem;line-height:1.5}.bdt-text-large{font-size:1.5rem;line-height:1.5}.bdt-text-light{font-weight:300}.bdt-text-normal{font-weight:400}.bdt-text-bold{font-weight:700}.bdt-text-lighter{font-weight:lighter}.bdt-text-bolder{font-weight:bolder}.bdt-text-italic{font-style:italic}.bdt-text-capitalize{text-transform:capitalize !important}.bdt-text-uppercase{text-transform:uppercase !important}.bdt-text-lowercase{text-transform:lowercase !important}.bdt-text-muted{color:#999 !important}.bdt-text-emphasis{color:#333 !important}.bdt-text-primary{color:#1e87f0 !important}.bdt-text-secondary{color:#222 !important}.bdt-text-success{color:#32d296 !important}.bdt-text-warning{color:#faa05a !important}.bdt-text-danger{color:#f0506e !important}.bdt-text-background{-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:inline-block;color:#1e87f0 !important}@supports (-webkit-background-clip: text){.bdt-text-background{background-color:#1e87f0}}.bdt-text-left{text-align:left !important}.bdt-text-right{text-align:right !important}.bdt-text-center{text-align:center !important}.bdt-text-justify{text-align:justify !important}@media (min-width:640px){.bdt-text-left\@s{text-align:left !important}.bdt-text-right\@s{text-align:right !important}.bdt-text-center\@s{text-align:center !important}}@media (min-width:960px){.bdt-text-left\@m{text-align:left !important}.bdt-text-right\@m{text-align:right !important}.bdt-text-center\@m{text-align:center !important}}@media (min-width:1200px){.bdt-text-left\@l{text-align:left !important}.bdt-text-right\@l{text-align:right !important}.bdt-text-center\@l{text-align:center !important}}@media (min-width:1600px){.bdt-text-left\@xl{text-align:left !important}.bdt-text-right\@xl{text-align:right !important}.bdt-text-center\@xl{text-align:center !important}}.bdt-text-top{vertical-align:top !important}.bdt-text-middle{vertical-align:middle !important}.bdt-text-bottom{vertical-align:bottom !important}.bdt-text-baseline{vertical-align:baseline !important}.bdt-text-nowrap{white-space:nowrap}.bdt-text-truncate{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th.bdt-text-truncate,td.bdt-text-truncate{max-width:0}.bdt-text-break{overflow-wrap:break-word;word-wrap:break-word}th.bdt-text-break,td.bdt-text-break{word-break:break-all}[class*='bdt-column-']{column-gap:30px}@media (min-width:1200px){[class*='bdt-column-']{column-gap:40px}}[class*='bdt-column-'] img{transform:translate3d(0, 0, 0)}.bdt-column-divider{column-rule:1px solid #e5e5e5;column-gap:60px}@media (min-width:1200px){.bdt-column-divider{column-gap:80px}}.bdt-column-1-2{column-count:2}.bdt-column-1-3{column-count:3}.bdt-column-1-4{column-count:4}.bdt-column-1-5{column-count:5}.bdt-column-1-6{column-count:6}@media (min-width:640px){.bdt-column-1-2\@s{column-count:2}.bdt-column-1-3\@s{column-count:3}.bdt-column-1-4\@s{column-count:4}.bdt-column-1-5\@s{column-count:5}.bdt-column-1-6\@s{column-count:6}}@media (min-width:960px){.bdt-column-1-2\@m{column-count:2}.bdt-column-1-3\@m{column-count:3}.bdt-column-1-4\@m{column-count:4}.bdt-column-1-5\@m{column-count:5}.bdt-column-1-6\@m{column-count:6}}@media (min-width:1200px){.bdt-column-1-2\@l{column-count:2}.bdt-column-1-3\@l{column-count:3}.bdt-column-1-4\@l{column-count:4}.bdt-column-1-5\@l{column-count:5}.bdt-column-1-6\@l{column-count:6}}@media (min-width:1600px){.bdt-column-1-2\@xl{column-count:2}.bdt-column-1-3\@xl{column-count:3}.bdt-column-1-4\@xl{column-count:4}.bdt-column-1-5\@xl{column-count:5}.bdt-column-1-6\@xl{column-count:6}}.bdt-column-span{column-span:all}.bdt-cover{max-width:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}iframe.bdt-cover{pointer-events:none}.bdt-cover-container{overflow:hidden;position:relative}.bdt-background-default{background-color:#fff}.bdt-background-muted{background-color:#f8f8f8}.bdt-background-primary{background-color:#1e87f0}.bdt-background-secondary{background-color:#222}.bdt-background-cover,.bdt-background-contain{background-position:50% 50%;background-repeat:no-repeat}.bdt-background-cover{background-size:cover}.bdt-background-contain{background-size:contain}.bdt-background-top-left{background-position:0 0}.bdt-background-top-center{background-position:50% 0}.bdt-background-top-right{background-position:100% 0}.bdt-background-center-left{background-position:0 50%}.bdt-background-center-center{background-position:50% 50%}.bdt-background-center-right{background-position:100% 50%}.bdt-background-bottom-left{background-position:0 100%}.bdt-background-bottom-center{background-position:50% 100%}.bdt-background-bottom-right{background-position:100% 100%}.bdt-background-norepeat{background-repeat:no-repeat}.bdt-background-fixed{background-attachment:fixed;backface-visibility:hidden}@media (pointer:coarse){.bdt-background-fixed{background-attachment:scroll}}@media (max-width:639px){.bdt-background-image\@s{background-image:none !important}}@media (max-width:959px){.bdt-background-image\@m{background-image:none !important}}@media (max-width:1199px){.bdt-background-image\@l{background-image:none !important}}@media (max-width:1599px){.bdt-background-image\@xl{background-image:none !important}}.bdt-background-blend-multiply{background-blend-mode:multiply}.bdt-background-blend-screen{background-blend-mode:screen}.bdt-background-blend-overlay{background-blend-mode:overlay}.bdt-background-blend-darken{background-blend-mode:darken}.bdt-background-blend-lighten{background-blend-mode:lighten}.bdt-background-blend-color-dodge{background-blend-mode:color-dodge}.bdt-background-blend-color-burn{background-blend-mode:color-burn}.bdt-background-blend-hard-light{background-blend-mode:hard-light}.bdt-background-blend-soft-light{background-blend-mode:soft-light}.bdt-background-blend-difference{background-blend-mode:difference}.bdt-background-blend-exclusion{background-blend-mode:exclusion}.bdt-background-blend-hue{background-blend-mode:hue}.bdt-background-blend-saturation{background-blend-mode:saturation}.bdt-background-blend-color{background-blend-mode:color}.bdt-background-blend-luminosity{background-blend-mode:luminosity}[class*='bdt-align']{display:block;margin-bottom:30px}*+[class*='bdt-align']{margin-top:30px}.bdt-align-center{margin-left:auto;margin-right:auto}.bdt-align-left{margin-top:0;margin-right:30px;float:left}.bdt-align-right{margin-top:0;margin-left:30px;float:right}@media (min-width:640px){.bdt-align-left\@s{margin-top:0;margin-right:30px;float:left}.bdt-align-right\@s{margin-top:0;margin-left:30px;float:right}}@media (min-width:960px){.bdt-align-left\@m{margin-top:0;margin-right:30px;float:left}.bdt-align-right\@m{margin-top:0;margin-left:30px;float:right}}@media (min-width:1200px){.bdt-align-left\@l{margin-top:0;float:left}.bdt-align-right\@l{margin-top:0;float:right}.bdt-align-left,.bdt-align-left\@s,.bdt-align-left\@m,.bdt-align-left\@l{margin-right:40px}.bdt-align-right,.bdt-align-right\@s,.bdt-align-right\@m,.bdt-align-right\@l{margin-left:40px}}@media (min-width:1600px){.bdt-align-left\@xl{margin-top:0;margin-right:40px;float:left}.bdt-align-right\@xl{margin-top:0;margin-left:40px;float:right}}.bdt-svg,.bdt-svg:not(.bdt-preserve) [fill*='#']:not(.bdt-preserve){fill:currentcolor}.bdt-svg:not(.bdt-preserve) [stroke*='#']:not(.bdt-preserve){stroke:currentcolor}.bdt-svg{transform:translate(0, 0)}.bdt-panel{position:relative;box-sizing:border-box}.bdt-panel::before,.bdt-panel::after{content:"";display:table}.bdt-panel::after{clear:both}.bdt-panel>:last-child{margin-bottom:0}.bdt-panel-scrollable{height:170px;padding:10px;border:1px solid #e5e5e5;overflow:auto;-webkit-overflow-scrolling:touch;resize:both}.bdt-clearfix::before{content:"";display:table-cell}.bdt-clearfix::after{content:"";display:table;clear:both}.bdt-float-left{float:left}.bdt-float-right{float:right}[class*='bdt-float-']{max-width:100%}.bdt-overflow-hidden{overflow:hidden}.bdt-overflow-auto{overflow:auto;-webkit-overflow-scrolling:touch}.bdt-overflow-auto>:last-child{margin-bottom:0}.bdt-resize{resize:both}.bdt-resize-vertical{resize:vertical}.bdt-display-block{display:block !important}.bdt-display-inline{display:inline !important}.bdt-display-inline-block{display:inline-block !important}[class*='bdt-inline']{display:inline-block;position:relative;max-width:100%;vertical-align:middle;-webkit-backface-visibility:hidden}.bdt-inline-clip{overflow:hidden}.bdt-preserve-width,.bdt-preserve-width canvas,.bdt-preserve-width img,.bdt-preserve-width svg,.bdt-preserve-width video{max-width:none}.bdt-responsive-width,.bdt-responsive-height{box-sizing:border-box}.bdt-responsive-width{max-width:100% !important;height:auto}.bdt-responsive-height{max-height:100%;width:auto;max-width:none}.bdt-border-circle{border-radius:50%}.bdt-border-pill{border-radius:500px}.bdt-border-rounded{border-radius:5px}.bdt-inline-clip[class*='bdt-border-']{-webkit-transform:translateZ(0)}.bdt-box-shadow-small{box-shadow:0 2px 8px rgba(0,0,0,0.08)}.bdt-box-shadow-medium{box-shadow:0 5px 15px rgba(0,0,0,0.08)}.bdt-box-shadow-large{box-shadow:0 14px 25px rgba(0,0,0,0.16)}.bdt-box-shadow-xlarge{box-shadow:0 28px 50px rgba(0,0,0,0.16)}[class*='bdt-box-shadow-hover']{transition:box-shadow .1s ease-in-out}.bdt-box-shadow-hover-small:hover{box-shadow:0 2px 8px rgba(0,0,0,0.08)}.bdt-box-shadow-hover-medium:hover{box-shadow:0 5px 15px rgba(0,0,0,0.08)}.bdt-box-shadow-hover-large:hover{box-shadow:0 14px 25px rgba(0,0,0,0.16)}.bdt-box-shadow-hover-xlarge:hover{box-shadow:0 28px 50px rgba(0,0,0,0.16)}@supports (filter: blur(0)){.bdt-box-shadow-bottom{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.bdt-box-shadow-bottom::before{content:'';position:absolute;bottom:-30px;left:0;right:0;height:30px;border-radius:100%;background:#444;filter:blur(20px)}.bdt-box-shadow-bottom>*{position:relative}}.bdt-dropcap::first-letter,.bdt-dropcap>p:first-of-type::first-letter{display:block;margin-right:10px;float:left;font-size:4.5em;line-height:1}@-moz-document url-prefix(){.bdt-dropcap::first-letter,.bdt-dropcap>p:first-of-type::first-letter{margin-top:1.1%}}@supports (-ms-ime-align: auto){.bdt-dropcap>p:first-of-type::first-letter{font-size:1em}}.bdt-logo{font-size:1.5rem;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";color:#666;text-decoration:none}.bdt-logo:hover,.bdt-logo:focus{color:#666;outline:none;text-decoration:none}.bdt-logo-inverse{display:none}.bdt-disabled{pointer-events:none}.bdt-drag,.bdt-drag *{cursor:move}.bdt-drag iframe{pointer-events:none}.bdt-dragover{box-shadow:0 0 20px rgba(100,100,100,0.3)}.bdt-blend-multiply{mix-blend-mode:multiply}.bdt-blend-screen{mix-blend-mode:screen}.bdt-blend-overlay{mix-blend-mode:overlay}.bdt-blend-darken{mix-blend-mode:darken}.bdt-blend-lighten{mix-blend-mode:lighten}.bdt-blend-color-dodge{mix-blend-mode:color-dodge}.bdt-blend-color-burn{mix-blend-mode:color-burn}.bdt-blend-hard-light{mix-blend-mode:hard-light}.bdt-blend-soft-light{mix-blend-mode:soft-light}.bdt-blend-difference{mix-blend-mode:difference}.bdt-blend-exclusion{mix-blend-mode:exclusion}.bdt-blend-hue{mix-blend-mode:hue}.bdt-blend-saturation{mix-blend-mode:saturation}.bdt-blend-color{mix-blend-mode:color}.bdt-blend-luminosity{mix-blend-mode:luminosity}.bdt-transform-center{transform:translate(-50%, -50%)}.bdt-transform-origin-top-left{transform-origin:0 0}.bdt-transform-origin-top-center{transform-origin:50% 0}.bdt-transform-origin-top-right{transform-origin:100% 0}.bdt-transform-origin-center-left{transform-origin:0 50%}.bdt-transform-origin-center-right{transform-origin:100% 50%}.bdt-transform-origin-bottom-left{transform-origin:0 100%}.bdt-transform-origin-bottom-center{transform-origin:50% 100%}.bdt-transform-origin-bottom-right{transform-origin:100% 100%}.bdt-flex{display:flex}.bdt-flex-inline{display:inline-flex}.bdt-flex::before,.bdt-flex::after,.bdt-flex-inline::before,.bdt-flex-inline::after{display:none}.bdt-flex-left{justify-content:flex-start}.bdt-flex-center{justify-content:center}.bdt-flex-right{justify-content:flex-end}.bdt-flex-between{justify-content:space-between}.bdt-flex-around{justify-content:space-around}@media (min-width:640px){.bdt-flex-left\@s{justify-content:flex-start}.bdt-flex-center\@s{justify-content:center}.bdt-flex-right\@s{justify-content:flex-end}.bdt-flex-between\@s{justify-content:space-between}.bdt-flex-around\@s{justify-content:space-around}}@media (min-width:960px){.bdt-flex-left\@m{justify-content:flex-start}.bdt-flex-center\@m{justify-content:center}.bdt-flex-right\@m{justify-content:flex-end}.bdt-flex-between\@m{justify-content:space-between}.bdt-flex-around\@m{justify-content:space-around}}@media (min-width:1200px){.bdt-flex-left\@l{justify-content:flex-start}.bdt-flex-center\@l{justify-content:center}.bdt-flex-right\@l{justify-content:flex-end}.bdt-flex-between\@l{justify-content:space-between}.bdt-flex-around\@l{justify-content:space-around}}@media (min-width:1600px){.bdt-flex-left\@xl{justify-content:flex-start}.bdt-flex-center\@xl{justify-content:center}.bdt-flex-right\@xl{justify-content:flex-end}.bdt-flex-between\@xl{justify-content:space-between}.bdt-flex-around\@xl{justify-content:space-around}}.bdt-flex-stretch{align-items:stretch}.bdt-flex-top{align-items:flex-start}.bdt-flex-middle{align-items:center}.bdt-flex-bottom{align-items:flex-end}.bdt-flex-row{flex-direction:row}.bdt-flex-row-reverse{flex-direction:row-reverse}.bdt-flex-column{flex-direction:column}.bdt-flex-column-reverse{flex-direction:column-reverse}.bdt-flex-nowrap{flex-wrap:nowrap}.bdt-flex-wrap{flex-wrap:wrap}.bdt-flex-wrap-reverse{flex-wrap:wrap-reverse}.bdt-flex-wrap-stretch{align-content:stretch}.bdt-flex-wrap-top{align-content:flex-start}.bdt-flex-wrap-middle{align-content:center}.bdt-flex-wrap-bottom{align-content:flex-end}.bdt-flex-wrap-between{align-content:space-between}.bdt-flex-wrap-around{align-content:space-around}.bdt-flex-first{order:-1}.bdt-flex-last{order:99}@media (min-width:640px){.bdt-flex-first\@s{order:-1}.bdt-flex-last\@s{order:99}}@media (min-width:960px){.bdt-flex-first\@m{order:-1}.bdt-flex-last\@m{order:99}}@media (min-width:1200px){.bdt-flex-first\@l{order:-1}.bdt-flex-last\@l{order:99}}@media (min-width:1600px){.bdt-flex-first\@xl{order:-1}.bdt-flex-last\@xl{order:99}}.bdt-flex-none{flex:none}.bdt-flex-auto{flex:auto}.bdt-flex-1{flex:1}.bdt-margin{margin-bottom:20px}*+.bdt-margin{margin-top:20px !important}.bdt-margin-top{margin-top:20px !important}.bdt-margin-bottom{margin-bottom:20px !important}.bdt-margin-left{margin-left:20px !important}.bdt-margin-right{margin-right:20px !important}.bdt-margin-small{margin-bottom:10px}*+.bdt-margin-small{margin-top:10px !important}.bdt-margin-small-top{margin-top:10px !important}.bdt-margin-small-bottom{margin-bottom:10px !important}.bdt-margin-small-left{margin-left:10px !important}.bdt-margin-small-right{margin-right:10px !important}.bdt-margin-medium{margin-bottom:40px}*+.bdt-margin-medium{margin-top:40px !important}.bdt-margin-medium-top{margin-top:40px !important}.bdt-margin-medium-bottom{margin-bottom:40px !important}.bdt-margin-medium-left{margin-left:40px !important}.bdt-margin-medium-right{margin-right:40px !important}.bdt-margin-large{margin-bottom:40px}*+.bdt-margin-large{margin-top:40px !important}.bdt-margin-large-top{margin-top:40px !important}.bdt-margin-large-bottom{margin-bottom:40px !important}.bdt-margin-large-left{margin-left:40px !important}.bdt-margin-large-right{margin-right:40px !important}@media (min-width:1200px){.bdt-margin-large{margin-bottom:70px}*+.bdt-margin-large{margin-top:70px !important}.bdt-margin-large-top{margin-top:70px !important}.bdt-margin-large-bottom{margin-bottom:70px !important}.bdt-margin-large-left{margin-left:70px !important}.bdt-margin-large-right{margin-right:70px !important}}.bdt-margin-xlarge{margin-bottom:70px}*+.bdt-margin-xlarge{margin-top:70px !important}.bdt-margin-xlarge-top{margin-top:70px !important}.bdt-margin-xlarge-bottom{margin-bottom:70px !important}.bdt-margin-xlarge-left{margin-left:70px !important}.bdt-margin-xlarge-right{margin-right:70px !important}@media (min-width:1200px){.bdt-margin-xlarge{margin-bottom:140px}*+.bdt-margin-xlarge{margin-top:140px !important}.bdt-margin-xlarge-top{margin-top:140px !important}.bdt-margin-xlarge-bottom{margin-bottom:140px !important}.bdt-margin-xlarge-left{margin-left:140px !important}.bdt-margin-xlarge-right{margin-right:140px !important}}.bdt-margin-auto{margin-left:auto !important;margin-right:auto !important}.bdt-margin-auto-top{margin-top:auto !important}.bdt-margin-auto-bottom{margin-bottom:auto !important}.bdt-margin-auto-left{margin-left:auto !important}.bdt-margin-auto-right{margin-right:auto !important}.bdt-margin-auto-vertical{margin-top:auto !important;margin-bottom:auto !important}@media (min-width:640px){.bdt-margin-auto\@s{margin-left:auto !important;margin-right:auto !important}.bdt-margin-auto-left\@s{margin-left:auto !important}.bdt-margin-auto-right\@s{margin-right:auto !important}}@media (min-width:960px){.bdt-margin-auto\@m{margin-left:auto !important;margin-right:auto !important}.bdt-margin-auto-left\@m{margin-left:auto !important}.bdt-margin-auto-right\@m{margin-right:auto !important}}@media (min-width:1200px){.bdt-margin-auto\@l{margin-left:auto !important;margin-right:auto !important}.bdt-margin-auto-left\@l{margin-left:auto !important}.bdt-margin-auto-right\@l{margin-right:auto !important}}@media (min-width:1600px){.bdt-margin-auto\@xl{margin-left:auto !important;margin-right:auto !important}.bdt-margin-auto-left\@xl{margin-left:auto !important}.bdt-margin-auto-right\@xl{margin-right:auto !important}}.bdt-margin-remove{margin:0 !important}.bdt-margin-remove-top{margin-top:0 !important}.bdt-margin-remove-bottom{margin-bottom:0 !important}.bdt-margin-remove-left{margin-left:0 !important}.bdt-margin-remove-right{margin-right:0 !important}.bdt-margin-remove-vertical{margin-top:0 !important;margin-bottom:0 !important}.bdt-margin-remove-adjacent+*,.bdt-margin-remove-first-child>:first-child{margin-top:0 !important}.bdt-margin-remove-last-child>:last-child{margin-bottom:0 !important}@media (min-width:640px){.bdt-margin-remove-left\@s{margin-left:0 !important}.bdt-margin-remove-right\@s{margin-right:0 !important}}@media (min-width:960px){.bdt-margin-remove-left\@m{margin-left:0 !important}.bdt-margin-remove-right\@m{margin-right:0 !important}}@media (min-width:1200px){.bdt-margin-remove-left\@l{margin-left:0 !important}.bdt-margin-remove-right\@l{margin-right:0 !important}}@media (min-width:1600px){.bdt-margin-remove-left\@xl{margin-left:0 !important}.bdt-margin-remove-right\@xl{margin-right:0 !important}}.bdt-padding{padding:30px}@media (min-width:1200px){.bdt-padding{padding:40px}}.bdt-padding-small{padding:15px}.bdt-padding-large{padding:30px}@media (min-width:1200px){.bdt-padding-large{padding:70px}}.bdt-padding-remove{padding:0 !important}.bdt-padding-remove-top{padding-top:0 !important}.bdt-padding-remove-bottom{padding-bottom:0 !important}.bdt-padding-remove-left{padding-left:0 !important}.bdt-padding-remove-right{padding-right:0 !important}.bdt-padding-remove-vertical{padding-top:0 !important;padding-bottom:0 !important}.bdt-padding-remove-horizontal{padding-left:0 !important;padding-right:0 !important}[class*='bdt-position-top'],[class*='bdt-position-bottom'],[class*='bdt-position-left'],[class*='bdt-position-right'],[class*='bdt-position-center']{position:absolute !important}.bdt-position-top{top:0;left:0;right:0}.bdt-position-bottom{bottom:0;left:0;right:0}.bdt-position-left{top:0;bottom:0;left:0}.bdt-position-right{top:0;bottom:0;right:0}.bdt-position-top-left{top:0;left:0}.bdt-position-top-right{top:0;right:0}.bdt-position-bottom-left{bottom:0;left:0}.bdt-position-bottom-right{bottom:0;right:0}.bdt-position-center{top:50%;left:50%;transform:translate(-50%, -50%);width:max-content;max-width:100%;box-sizing:border-box}[class*='bdt-position-center-left'],[class*='bdt-position-center-right']{top:50%;transform:translateY(-50%)}.bdt-position-center-left{left:0}.bdt-position-center-right{right:0}.bdt-position-center-left-out{right:100%;width:max-content}.bdt-position-center-right-out{left:100%;width:max-content}.bdt-position-top-center,.bdt-position-bottom-center{left:50%;transform:translateX(-50%);width:max-content;max-width:100%;box-sizing:border-box}.bdt-position-top-center{top:0}.bdt-position-bottom-center{bottom:0}.bdt-position-cover{position:absolute;top:0;bottom:0;left:0;right:0}.bdt-position-relative{position:relative !important}.bdt-position-absolute{position:absolute !important}.bdt-position-fixed{position:fixed !important}.bdt-position-z-index{z-index:1}.bdt-position-small{max-width:calc(100% - (15px * 2));margin:15px}.bdt-position-small.bdt-position-center{transform:translate(-50%, -50%) translate(-15px, -15px)}.bdt-position-small[class*='bdt-position-center-left'],.bdt-position-small[class*='bdt-position-center-right']{transform:translateY(-50%) translateY(-15px)}.bdt-position-small.bdt-position-top-center,.bdt-position-small.bdt-position-bottom-center{transform:translateX(-50%) translateX(-15px)}.bdt-position-medium{max-width:calc(100% - (30px * 2));margin:30px}.bdt-position-medium.bdt-position-center{transform:translate(-50%, -50%) translate(-30px, -30px)}.bdt-position-medium[class*='bdt-position-center-left'],.bdt-position-medium[class*='bdt-position-center-right']{transform:translateY(-50%) translateY(-30px)}.bdt-position-medium.bdt-position-top-center,.bdt-position-medium.bdt-position-bottom-center{transform:translateX(-50%) translateX(-30px)}.bdt-position-large{max-width:calc(100% - (30px * 2));margin:30px}.bdt-position-large.bdt-position-center{transform:translate(-50%, -50%) translate(-30px, -30px)}.bdt-position-large[class*='bdt-position-center-left'],.bdt-position-large[class*='bdt-position-center-right']{transform:translateY(-50%) translateY(-30px)}.bdt-position-large.bdt-position-top-center,.bdt-position-large.bdt-position-bottom-center{transform:translateX(-50%) translateX(-30px)}@media (min-width:1200px){.bdt-position-large{max-width:calc(100% - (50px * 2));margin:50px}.bdt-position-large.bdt-position-center{transform:translate(-50%, -50%) translate(-50px, -50px)}.bdt-position-large[class*='bdt-position-center-left'],.bdt-position-large[class*='bdt-position-center-right']{transform:translateY(-50%) translateY(-50px)}.bdt-position-large.bdt-position-top-center,.bdt-position-large.bdt-position-bottom-center{transform:translateX(-50%) translateX(-50px)}}.bdt-transition-toggle{-webkit-tap-highlight-color:transparent}.bdt-transition-toggle:focus{outline:none}.bdt-transition-fade,[class*='bdt-transition-scale'],[class*='bdt-transition-slide']{transition:.3s ease-out;transition-property:opacity,transform,filter;opacity:0}.bdt-transition-toggle:hover .bdt-transition-fade,.bdt-transition-toggle:focus .bdt-transition-fade,.bdt-transition-active.bdt-active .bdt-transition-fade{opacity:1}.bdt-transition-scale-up{transform:scale(1, 1)}.bdt-transition-scale-down{transform:scale(1.1, 1.1)}.bdt-transition-toggle:hover .bdt-transition-scale-up,.bdt-transition-toggle:focus .bdt-transition-scale-up,.bdt-transition-active.bdt-active .bdt-transition-scale-up{opacity:1;transform:scale(1.1, 1.1)}.bdt-transition-toggle:hover .bdt-transition-scale-down,.bdt-transition-toggle:focus .bdt-transition-scale-down,.bdt-transition-active.bdt-active .bdt-transition-scale-down{opacity:1;transform:scale(1, 1)}.bdt-transition-slide-top{transform:translateY(-100%)}.bdt-transition-slide-bottom{transform:translateY(100%)}.bdt-transition-slide-left{transform:translateX(-100%)}.bdt-transition-slide-right{transform:translateX(100%)}.bdt-transition-slide-top-small{transform:translateY(-10px)}.bdt-transition-slide-bottom-small{transform:translateY(10px)}.bdt-transition-slide-left-small{transform:translateX(-10px)}.bdt-transition-slide-right-small{transform:translateX(10px)}.bdt-transition-slide-top-medium{transform:translateY(-50px)}.bdt-transition-slide-bottom-medium{transform:translateY(50px)}.bdt-transition-slide-left-medium{transform:translateX(-50px)}.bdt-transition-slide-right-medium{transform:translateX(50px)}.bdt-transition-toggle:hover [class*='bdt-transition-slide'],.bdt-transition-toggle:focus [class*='bdt-transition-slide'],.bdt-transition-active.bdt-active [class*='bdt-transition-slide']{opacity:1;transform:translate(0, 0)}.bdt-transition-opaque{opacity:1}.bdt-transition-slow{transition-duration:.7s}[hidden],.bdt-hidden{display:none !important}@media (min-width:640px){.bdt-hidden\@s{display:none !important}}@media (min-width:960px){.bdt-hidden\@m{display:none !important}}@media (min-width:1200px){.bdt-hidden\@l{display:none !important}}@media (min-width:1600px){.bdt-hidden\@xl{display:none !important}}@media (max-width:639px){.bdt-visible\@s{display:none !important}}@media (max-width:959px){.bdt-visible\@m{display:none !important}}@media (max-width:1199px){.bdt-visible\@l{display:none !important}}@media (max-width:1599px){.bdt-visible\@xl{display:none !important}}.bdt-invisible{visibility:hidden !important}.bdt-visible-toggle:not(:hover):not(:focus) .bdt-hidden-hover:not(:focus-within){position:absolute !important;width:0 !important;height:0 !important;padding:0 !important;margin:0 !important;overflow:hidden !important}.bdt-visible-toggle:not(:hover):not(:focus) .bdt-invisible-hover:not(:focus-within){opacity:0 !important}.bdt-visible-toggle{-webkit-tap-highlight-color:transparent}.bdt-visible-toggle:focus{outline:none}@media (pointer:coarse){.bdt-hidden-touch{display:none !important}}.bdt-hidden-notouch{display:none !important}@media (pointer:coarse){.bdt-hidden-notouch{display:block !important}}@media print{*,*::before,*::after{background:transparent !important;color:black !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}
|
|
assets/css/bdt-uikit.rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.bdt-breakpoint-s::before{content:'640px'}.bdt-breakpoint-m::before{content:'960px'}.bdt-breakpoint-l::before{content:'1200px'}.bdt-breakpoint-xl::before{content:'1600px'}:root{--bdt-breakpoint-s:640px;--bdt-breakpoint-m:960px;--bdt-breakpoint-l:1200px;--bdt-breakpoint-xl:1600px}a.bdt-link-muted,.bdt-link-muted a{color:#999}a.bdt-link-muted:hover,.bdt-link-muted a:hover,.bdt-link-toggle:hover .bdt-link-muted,.bdt-link-toggle:focus .bdt-link-muted{color:#666}a.bdt-link-text,.bdt-link-text a{color:inherit}a.bdt-link-text:hover,.bdt-link-text a:hover,.bdt-link-toggle:hover .bdt-link-text,.bdt-link-toggle:focus .bdt-link-text{color:#999}a.bdt-link-heading,.bdt-link-heading a{color:inherit}a.bdt-link-heading:hover,.bdt-link-heading a:hover,.bdt-link-toggle:hover .bdt-link-heading,.bdt-link-toggle:focus .bdt-link-heading{color:#1e87f0;text-decoration:none}a.bdt-link-reset,.bdt-link-reset a{color:inherit !important;text-decoration:none !important}.bdt-link-toggle{color:inherit !important;text-decoration:none !important}.bdt-link-toggle:focus{outline:none}[class*='bdt-divider']{border:none;margin-bottom:20px}*+[class*='bdt-divider']{margin-top:20px}.bdt-divider-icon{position:relative;height:20px;background-image:url("../../images/backgrounds/divider-icon.svg");background-repeat:no-repeat;background-position:50% 50%}.bdt-divider-icon::before,.bdt-divider-icon::after{content:"";position:absolute;top:50%;max-width:calc(50% - (50px / 2));border-bottom:1px solid #e5e5e5}.bdt-divider-icon::before{left:calc(50% + (50px / 2));width:100%}.bdt-divider-icon::after{right:calc(50% + (50px / 2));width:100%}.bdt-divider-small{line-height:0}.bdt-divider-small::after{content:"";display:inline-block;width:100px;max-width:100%;border-top:1px solid #e5e5e5;vertical-align:top}.bdt-divider-vertical{width:1px;height:100px;margin-right:auto;margin-left:auto;border-right:1px solid #e5e5e5}.bdt-list{padding:0;list-style:none}.bdt-list>li::before,.bdt-list>li::after{content:"";display:table}.bdt-list>li::after{clear:both}.bdt-list>li>:last-child{margin-bottom:0}.bdt-list ul{margin:0;padding-right:30px;list-style:none}.bdt-list>li:nth-child(n+2),.bdt-list>li>ul{margin-top:10px}.bdt-list-divider>li:nth-child(n+2){margin-top:10px;padding-top:10px;border-top:1px solid #e5e5e5}.bdt-list-striped>li{padding:10px 10px}.bdt-list-striped>li:nth-of-type(odd){background:#f8f8f8}.bdt-list-striped>li:nth-child(n+2){margin-top:0}.bdt-list-bullet>li{position:relative;padding-right:calc(1.5em + 10px)}.bdt-list-bullet>li::before{content:"";position:absolute;top:0;right:0;width:1.5em;height:1.5em;background-image:url("../../images/backgrounds/list-bullet.svg");background-repeat:no-repeat;background-position:50% 50%;display:block}.bdt-list-large>li:nth-child(n+2),.bdt-list-large>li>ul{margin-top:20px}.bdt-list-large.bdt-list-divider>li:nth-child(n+2){margin-top:20px;padding-top:20px}.bdt-list-large.bdt-list-striped>li{padding:20px 10px}.bdt-list-large.bdt-list-striped>li:nth-child(n+2){margin-top:0}.bdt-description-list>dt{color:#333}.bdt-description-list>dt:nth-child(n+2){margin-top:20px}.bdt-description-list-divider>dt:nth-child(n+2){margin-top:20px;padding-top:20px;border-top:1px solid #e5e5e5}.bdt-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:20px}*+.bdt-table{margin-top:20px}.bdt-table th{padding:16px 12px;text-align:right;vertical-align:bottom;font-size:16px;font-weight:bold;color:#666}.bdt-table td{padding:16px 12px;vertical-align:top}.bdt-table td>:last-child{margin-bottom:0}.bdt-table tfoot{font-size:.875rem}.bdt-table caption{font-size:.875rem;text-align:right;color:#999}.bdt-table-middle,.bdt-table-middle td{vertical-align:middle !important}.bdt-table-divider>tr:not(:first-child),.bdt-table-divider>:not(:first-child)>tr,.bdt-table-divider>:first-child>tr:not(:first-child){border-top:1px solid #e5e5e5}.bdt-table-striped>tr:nth-of-type(odd),.bdt-table-striped tbody tr:nth-of-type(odd){background:#f8f8f8}.bdt-table-hover>tr:hover,.bdt-table-hover tbody tr:hover{background:#ffd}.bdt-table>tr.bdt-active,.bdt-table tbody tr.bdt-active{background:#ffd}.bdt-table-small th,.bdt-table-small td{padding:10px 12px}.bdt-table-large th,.bdt-table-large td{padding:22px 12px}.bdt-table-justify th:first-child,.bdt-table-justify td:first-child{padding-right:0}.bdt-table-justify th:last-child,.bdt-table-justify td:last-child{padding-left:0}.bdt-table-shrink{width:1px}.bdt-table-expand{min-width:150px}.bdt-table-link{padding:0 !important}.bdt-table-link>a{display:block;padding:16px 12px}.bdt-table-small .bdt-table-link>a{padding:10px 12px}@media (max-width:959px){.bdt-table-responsive,.bdt-table-responsive tbody,.bdt-table-responsive th,.bdt-table-responsive td,.bdt-table-responsive tr{display:block}.bdt-table-responsive thead{display:none}.bdt-table-responsive th,.bdt-table-responsive td{width:auto !important;max-width:none !important;min-width:0 !important;overflow:visible !important;white-space:normal !important}.bdt-table-responsive th:not(:first-child):not(.bdt-table-link),.bdt-table-responsive td:not(:first-child):not(.bdt-table-link),.bdt-table-responsive .bdt-table-link:not(:first-child)>a{padding-top:5px !important}.bdt-table-responsive th:not(:last-child):not(.bdt-table-link),.bdt-table-responsive td:not(:last-child):not(.bdt-table-link),.bdt-table-responsive .bdt-table-link:not(:last-child)>a{padding-bottom:5px !important}.bdt-table-justify.bdt-table-responsive th,.bdt-table-justify.bdt-table-responsive td{padding-right:0;padding-left:0}}.bdt-icon{margin:0;border:none;border-radius:0;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background-color:transparent;display:inline-block;fill:currentcolor;line-height:0}button.bdt-icon:not(:disabled){cursor:pointer}.bdt-icon::-moz-focus-inner{border:0;padding:0}.bdt-icon:not(.bdt-preserve) [fill*='#']:not(.bdt-preserve){fill:currentcolor}.bdt-icon:not(.bdt-preserve) [stroke*='#']:not(.bdt-preserve){stroke:currentcolor}.bdt-icon>*{transform:translate(0, 0)}.bdt-icon-image{width:20px;height:20px;background-position:50% 50%;background-repeat:no-repeat;background-size:contain;vertical-align:middle}.bdt-icon-link{color:#999}.bdt-icon-link:hover,.bdt-icon-link:focus{color:#666;outline:none}.bdt-icon-link:active,.bdt-active>.bdt-icon-link{color:#595959}.bdt-icon-button{box-sizing:border-box;width:36px;height:36px;border-radius:500px;background:#f8f8f8;color:#999;vertical-align:middle;display:inline-flex;justify-content:center;align-items:center}.bdt-icon-button:hover,.bdt-icon-button:focus{background-color:#ebebeb;color:#666;outline:none}.bdt-icon-button:active,.bdt-active>.bdt-icon-button{background-color:#dfdfdf;color:#666}.bdt-range{box-sizing:border-box;margin:0;vertical-align:middle;max-width:100%;width:100%;-webkit-appearance:none;background:transparent;padding:0}.bdt-range:focus{outline:none}.bdt-range::-moz-focus-outer{border:none}.bdt-range::-ms-track{height:15px;background:transparent;border-color:transparent;color:transparent}.bdt-range:not(:disabled)::-webkit-slider-thumb{cursor:pointer}.bdt-range:not(:disabled)::-moz-range-thumb{cursor:pointer}.bdt-range:not(:disabled)::-ms-thumb{cursor:pointer}.bdt-range::-webkit-slider-thumb{-webkit-appearance:none;margin-top:-7px;height:15px;width:15px;border-radius:500px;background:#666}.bdt-range::-moz-range-thumb{border:none;height:15px;width:15px;border-radius:500px;background:#666}.bdt-range::-ms-thumb{margin-top:0}.bdt-range::-ms-thumb{border:none;height:15px;width:15px;border-radius:500px;background:#666}.bdt-range::-ms-tooltip{display:none}.bdt-range::-webkit-slider-runnable-track{height:3px;background:#ebebeb}.bdt-range:focus::-webkit-slider-runnable-track,.bdt-range:active::-webkit-slider-runnable-track{background:#d2d2d2}.bdt-range::-moz-range-track{height:3px;background:#ebebeb}.bdt-range:focus::-moz-range-track{background:#d2d2d2}.bdt-range::-ms-fill-lower,.bdt-range::-ms-fill-upper{height:3px;background:#ebebeb}.bdt-range:focus::-ms-fill-lower,.bdt-range:focus::-ms-fill-upper{background:#d2d2d2}.bdt-input,.bdt-select,.bdt-textarea,.bdt-radio,.bdt-checkbox{box-sizing:border-box;margin:0;border-radius:0;font:inherit}.bdt-input{overflow:visible}.bdt-select{text-transform:none}.bdt-select optgroup{font:inherit;font-weight:bold}.bdt-textarea{overflow:auto}.bdt-input[type="search"]::-webkit-search-cancel-button,.bdt-input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}.bdt-input[type="number"]::-webkit-inner-spin-button,.bdt-input[type="number"]::-webkit-outer-spin-button{height:auto}.bdt-input::-moz-placeholder,.bdt-textarea::-moz-placeholder{opacity:1}.bdt-radio:not(:disabled),.bdt-checkbox:not(:disabled){cursor:pointer}.bdt-fieldset{border:none;margin:0;padding:0}.bdt-input,.bdt-textarea{-webkit-appearance:none}.bdt-input,.bdt-select,.bdt-textarea{max-width:100%;width:100%;border:0 none;padding:0 10px;background:#f8f8f8;color:#666}.bdt-input,.bdt-select:not([multiple]):not([size]){height:40px;vertical-align:middle;display:inline-block}.bdt-input:not(input),.bdt-select:not(select){line-height:40px}.bdt-select[multiple],.bdt-select[size],.bdt-textarea{padding-top:4px;padding-bottom:4px;vertical-align:top}.bdt-input:focus,.bdt-select:focus,.bdt-textarea:focus{outline:none;background-color:#f8f8f8;color:#666}.bdt-input:disabled,.bdt-select:disabled,.bdt-textarea:disabled{background-color:#f8f8f8;color:#999}.bdt-input::-ms-input-placeholder{color:#999 !important}.bdt-input::placeholder{color:#999}.bdt-textarea::-ms-input-placeholder{color:#999 !important}.bdt-textarea::placeholder{color:#999}.bdt-form-small{font-size:.875rem}.bdt-form-small:not(textarea):not([multiple]):not([size]){height:30px;padding-right:8px;padding-left:8px}.bdt-form-small:not(select):not(input):not(textarea){line-height:30px}.bdt-form-large{font-size:1.25rem}.bdt-form-large:not(textarea):not([multiple]):not([size]){height:55px;padding-right:12px;padding-left:12px}.bdt-form-large:not(select):not(input):not(textarea){line-height:55px}.bdt-form-danger,.bdt-form-danger:focus{color:#f0506e}.bdt-form-success,.bdt-form-success:focus{color:#32d296}.bdt-form-blank{background:none}input.bdt-form-width-xsmall{width:50px}select.bdt-form-width-xsmall{width:75px}.bdt-form-width-small{width:130px}.bdt-form-width-medium{width:200px}.bdt-form-width-large{width:500px}.bdt-select:not([multiple]):not([size]){-webkit-appearance:none;-moz-appearance:none;padding-left:20px;background-image:url("../../images/backgrounds/form-select.svg");background-repeat:no-repeat;background-position:0% 50%}.bdt-select:not([multiple]):not([size])::-ms-expand{display:none}.bdt-select:not([multiple]):not([size]) option{color:#444}.bdt-select:not([multiple]):not([size]):disabled{background-image:url("../../images/backgrounds/form-select.svg")}.bdt-input[list]{padding-left:20px;background-repeat:no-repeat;background-position:0% 50%}.bdt-input[list]:hover,.bdt-input[list]:focus{background-image:url("../../images/backgrounds/form-datalist.svg")}.bdt-input[list]::-webkit-calendar-picker-indicator{display:none}.bdt-radio,.bdt-checkbox{display:inline-block;height:16px;width:16px;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;-moz-appearance:none;background-color:#ebebeb;background-repeat:no-repeat;background-position:50% 50%}.bdt-radio{border-radius:50%}.bdt-radio:focus,.bdt-checkbox:focus{outline:none}.bdt-radio:checked,.bdt-checkbox:checked,.bdt-checkbox:indeterminate{background-color:#1e87f0}.bdt-radio:checked:focus,.bdt-checkbox:checked:focus,.bdt-checkbox:indeterminate:focus{background-color:#0e6dcd}.bdt-radio:checked{background-image:url("../../images/backgrounds/form-radio.svg")}.bdt-checkbox:checked{background-image:url("../../images/backgrounds/form-checkbox.svg")}.bdt-checkbox:indeterminate{background-image:url("../../images/backgrounds/form-checkbox-indeterminate.svg")}.bdt-radio:disabled,.bdt-checkbox:disabled{background-color:#f8f8f8}.bdt-radio:disabled:checked{background-image:url("../../images/backgrounds/form-radio.svg")}.bdt-checkbox:disabled:checked{background-image:url("../../images/backgrounds/form-checkbox.svg")}.bdt-checkbox:disabled:indeterminate{background-image:url("../../images/backgrounds/form-checkbox-indeterminate.svg")}.bdt-legend{width:100%;color:inherit;padding:0;font-size:1.5rem;line-height:1.4}.bdt-form-custom{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.bdt-form-custom select,.bdt-form-custom input[type="file"]{position:absolute;top:0;z-index:1;width:100%;height:100%;right:0;-webkit-appearance:none;opacity:0;cursor:pointer}.bdt-form-custom input[type="file"]{font-size:500px;overflow:hidden}.bdt-form-stacked .bdt-form-label{display:block;margin-bottom:10px}@media (max-width:959px){.bdt-form-horizontal .bdt-form-label{display:block;margin-bottom:10px}}@media (min-width:960px){.bdt-form-horizontal .bdt-form-label{width:200px;margin-top:7px;float:right}.bdt-form-horizontal .bdt-form-controls{margin-right:215px}.bdt-form-horizontal .bdt-form-controls-text{padding-top:7px}}.bdt-form-icon{position:absolute;top:0;bottom:0;right:0;width:40px;display:inline-flex;justify-content:center;align-items:center;color:#999}.bdt-form-icon:hover{color:#666}.bdt-form-icon:not(a):not(button):not(input){pointer-events:none}.bdt-form-icon:not(.bdt-form-icon-flip)~.bdt-input{padding-right:40px !important}.bdt-form-icon-flip{left:0;right:auto}.bdt-form-icon-flip~.bdt-input{padding-left:40px !important}.bdt-button{margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;display:inline-block;box-sizing:border-box;padding:0 30px;vertical-align:middle;font-size:16px;line-height:40px;text-align:center;text-decoration:none}.bdt-button:not(:disabled){cursor:pointer}.bdt-button::-moz-focus-inner{border:0;padding:0}.bdt-button:hover{text-decoration:none}.bdt-button:focus{outline:none}.bdt-button-default{background-color:#f8f8f8;color:#333}.bdt-button-default:hover,.bdt-button-default:focus{background-color:#ebebeb;color:#333}.bdt-button-default:active,.bdt-button-default.bdt-active{background-color:#dfdfdf;color:#333}.bdt-button-primary{background-color:#1e87f0;color:#fff}.bdt-button-primary:hover,.bdt-button-primary:focus{background-color:#0f7ae5;color:#fff}.bdt-button-primary:active,.bdt-button-primary.bdt-active{background-color:#0e6dcd;color:#fff}.bdt-button-secondary{background-color:#222;color:#fff}.bdt-button-secondary:hover,.bdt-button-secondary:focus{background-color:#151515;color:#fff}.bdt-button-secondary:active,.bdt-button-secondary.bdt-active{background-color:#080808;color:#fff}.bdt-button-danger{background-color:#f0506e;color:#fff}.bdt-button-danger:hover,.bdt-button-danger:focus{background-color:#ee395b;color:#fff}.bdt-button-danger:active,.bdt-button-danger.bdt-active{background-color:#ec2147;color:#fff}.bdt-button-default:disabled,.bdt-button-primary:disabled,.bdt-button-secondary:disabled,.bdt-button-danger:disabled{background-color:#f8f8f8;color:#999}.bdt-button-small{padding:0 15px;line-height:30px;font-size:.875rem}.bdt-button-large{padding:0 40px;line-height:55px;font-size:1.25rem}.bdt-button-text{padding:0;line-height:1.5;background:none;color:#999}.bdt-button-text:hover,.bdt-button-text:focus{color:#666}.bdt-button-text:disabled{color:#999}.bdt-button-link{padding:0;line-height:1.5;background:none;color:#1e87f0}.bdt-button-link:hover,.bdt-button-link:focus{color:#0f6ecd;text-decoration:underline}.bdt-button-link:disabled{color:#999;text-decoration:none}.bdt-button-group{display:inline-flex;vertical-align:middle;position:relative}.bdt-section{box-sizing:border-box;padding-top:40px;padding-bottom:40px}@media (min-width:960px){.bdt-section{padding-top:70px;padding-bottom:70px}}.bdt-section::before,.bdt-section::after{content:"";display:table}.bdt-section::after{clear:both}.bdt-section>:last-child{margin-bottom:0}.bdt-section-xsmall{padding-top:20px;padding-bottom:20px}.bdt-section-small{padding-top:40px;padding-bottom:40px}.bdt-section-large{padding-top:70px;padding-bottom:70px}@media (min-width:960px){.bdt-section-large{padding-top:140px;padding-bottom:140px}}.bdt-section-xlarge{padding-top:140px;padding-bottom:140px}@media (min-width:960px){.bdt-section-xlarge{padding-top:210px;padding-bottom:210px}}.bdt-section-default{background:#fff}.bdt-section-muted{background:#f8f8f8}.bdt-section-primary{background:#1e87f0}.bdt-section-secondary{background:#222}.bdt-container{box-sizing:content-box;max-width:1200px;margin-right:auto;margin-left:auto;padding-right:15px;padding-left:15px}@media (min-width:640px){.bdt-container{padding-right:30px;padding-left:30px}}@media (min-width:960px){.bdt-container{padding-right:40px;padding-left:40px}}.bdt-container::before,.bdt-container::after{content:"";display:table}.bdt-container::after{clear:both}.bdt-container>:last-child{margin-bottom:0}.bdt-container .bdt-container{padding-right:0;padding-left:0}.bdt-container-xsmall{max-width:750px}.bdt-container-small{max-width:900px}.bdt-container-large{max-width:1600px}.bdt-container-expand{max-width:none}.bdt-container-expand-left{margin-right:0}.bdt-container-expand-right{margin-left:0}@media (min-width:640px){.bdt-container-expand-left.bdt-container-xsmall,.bdt-container-expand-right.bdt-container-xsmall{max-width:calc(50% + (750px / 2) - 30px)}.bdt-container-expand-left.bdt-container-small,.bdt-container-expand-right.bdt-container-small{max-width:calc(50% + (900px / 2) - 30px)}}@media (min-width:960px){.bdt-container-expand-left,.bdt-container-expand-right{max-width:calc(50% + (1200px / 2) - 40px)}.bdt-container-expand-left.bdt-container-xsmall,.bdt-container-expand-right.bdt-container-xsmall{max-width:calc(50% + (750px / 2) - 40px)}.bdt-container-expand-left.bdt-container-small,.bdt-container-expand-right.bdt-container-small{max-width:calc(50% + (900px / 2) - 40px)}.bdt-container-expand-left.bdt-container-large,.bdt-container-expand-right.bdt-container-large{max-width:calc(50% + (1600px / 2) - 40px)}}.bdt-container-item-padding-remove-left,.bdt-container-item-padding-remove-right{width:calc(100% + 15px)}.bdt-container-item-padding-remove-left{margin-right:-15px}.bdt-container-item-padding-remove-right{margin-left:-15px}@media (min-width:640px){.bdt-container-item-padding-remove-left,.bdt-container-item-padding-remove-right{width:calc(100% + 30px)}.bdt-container-item-padding-remove-left{margin-right:-30px}.bdt-container-item-padding-remove-right{margin-left:-30px}}@media (min-width:960px){.bdt-container-item-padding-remove-left,.bdt-container-item-padding-remove-right{width:calc(100% + 40px)}.bdt-container-item-padding-remove-left{margin-right:-40px}.bdt-container-item-padding-remove-right{margin-left:-40px}}.bdt-grid{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.bdt-grid>*{margin:0}.bdt-grid>*>:last-child{margin-bottom:0}.bdt-grid{margin-right:-30px}.bdt-grid>*{padding-right:30px}.bdt-grid+.bdt-grid,.bdt-grid>.bdt-grid-margin,*+.bdt-grid-margin{margin-top:30px}@media (min-width:1200px){.bdt-grid{margin-right:-40px}.bdt-grid>*{padding-right:40px}.bdt-grid+.bdt-grid,.bdt-grid>.bdt-grid-margin,*+.bdt-grid-margin{margin-top:40px}}.bdt-grid-small,.bdt-grid-column-small{margin-right:-15px}.bdt-grid-small>*,.bdt-grid-column-small>*{padding-right:15px}.bdt-grid+.bdt-grid-small,.bdt-grid+.bdt-grid-row-small,.bdt-grid-small>.bdt-grid-margin,.bdt-grid-row-small>.bdt-grid-margin,*+.bdt-grid-margin-small{margin-top:15px}.bdt-grid-medium,.bdt-grid-column-medium{margin-right:-30px}.bdt-grid-medium>*,.bdt-grid-column-medium>*{padding-right:30px}.bdt-grid+.bdt-grid-medium,.bdt-grid+.bdt-grid-row-medium,.bdt-grid-medium>.bdt-grid-margin,.bdt-grid-row-medium>.bdt-grid-margin,*+.bdt-grid-margin-medium{margin-top:30px}.bdt-grid-large,.bdt-grid-column-large{margin-right:-40px}.bdt-grid-large>*,.bdt-grid-column-large>*{padding-right:40px}.bdt-grid+.bdt-grid-large,.bdt-grid+.bdt-grid-row-large,.bdt-grid-large>.bdt-grid-margin,.bdt-grid-row-large>.bdt-grid-margin,*+.bdt-grid-margin-large{margin-top:40px}@media (min-width:1200px){.bdt-grid-large,.bdt-grid-column-large{margin-right:-70px}.bdt-grid-large>*,.bdt-grid-column-large>*{padding-right:70px}.bdt-grid+.bdt-grid-large,.bdt-grid+.bdt-grid-row-large,.bdt-grid-large>.bdt-grid-margin,.bdt-grid-row-large>.bdt-grid-margin,*+.bdt-grid-margin-large{margin-top:70px}}.bdt-grid-collapse,.bdt-grid-column-collapse{margin-right:0}.bdt-grid-collapse>*,.bdt-grid-column-collapse>*{padding-right:0}.bdt-grid+.bdt-grid-collapse,.bdt-grid+.bdt-grid-row-collapse,.bdt-grid-collapse>.bdt-grid-margin,.bdt-grid-row-collapse>.bdt-grid-margin{margin-top:0}.bdt-grid-divider>*{position:relative}.bdt-grid-divider>:not(.bdt-first-column)::before{content:"";position:absolute;top:0;bottom:0;border-right:1px solid #e5e5e5}.bdt-grid-divider.bdt-grid-stack>.bdt-grid-margin::before{content:"";position:absolute;right:0;left:0;border-top:1px solid #e5e5e5}.bdt-grid-divider{margin-right:-60px}.bdt-grid-divider>*{padding-right:60px}.bdt-grid-divider>:not(.bdt-first-column)::before{right:30px}.bdt-grid-divider.bdt-grid-stack>.bdt-grid-margin{margin-top:60px}.bdt-grid-divider.bdt-grid-stack>.bdt-grid-margin::before{top:-30px;right:60px}@media (min-width:1200px){.bdt-grid-divider{margin-right:-80px}.bdt-grid-divider>*{padding-right:80px}.bdt-grid-divider>:not(.bdt-first-column)::before{right:40px}.bdt-grid-divider.bdt-grid-stack>.bdt-grid-margin{margin-top:80px}.bdt-grid-divider.bdt-grid-stack>.bdt-grid-margin::before{top:-40px;right:80px}}.bdt-grid-divider.bdt-grid-small,.bdt-grid-divider.bdt-grid-column-small{margin-right:-30px}.bdt-grid-divider.bdt-grid-small>*,.bdt-grid-divider.bdt-grid-column-small>*{padding-right:30px}.bdt-grid-divider.bdt-grid-small>:not(.bdt-first-column)::before,.bdt-grid-divider.bdt-grid-column-small>:not(.bdt-first-column)::before{right:15px}.bdt-grid-divider.bdt-grid-small.bdt-grid-stack>.bdt-grid-margin,.bdt-grid-divider.bdt-grid-row-small.bdt-grid-stack>.bdt-grid-margin{margin-top:30px}.bdt-grid-divider.bdt-grid-small.bdt-grid-stack>.bdt-grid-margin::before{top:-15px;right:30px}.bdt-grid-divider.bdt-grid-row-small.bdt-grid-stack>.bdt-grid-margin::before{top:-15px}.bdt-grid-divider.bdt-grid-column-small.bdt-grid-stack>.bdt-grid-margin::before{right:30px}.bdt-grid-divider.bdt-grid-medium,.bdt-grid-divider.bdt-grid-column-medium{margin-right:-60px}.bdt-grid-divider.bdt-grid-medium>*,.bdt-grid-divider.bdt-grid-column-medium>*{padding-right:60px}.bdt-grid-divider.bdt-grid-medium>:not(.bdt-first-column)::before,.bdt-grid-divider.bdt-grid-column-medium>:not(.bdt-first-column)::before{right:30px}.bdt-grid-divider.bdt-grid-medium.bdt-grid-stack>.bdt-grid-margin,.bdt-grid-divider.bdt-grid-row-medium.bdt-grid-stack>.bdt-grid-margin{margin-top:60px}.bdt-grid-divider.bdt-grid-medium.bdt-grid-stack>.bdt-grid-margin::before{top:-30px;right:60px}.bdt-grid-divider.bdt-grid-row-medium.bdt-grid-stack>.bdt-grid-margin::before{top:-30px}.bdt-grid-divider.bdt-grid-column-medium.bdt-grid-stack>.bdt-grid-margin::before{right:60px}.bdt-grid-divider.bdt-grid-large,.bdt-grid-divider.bdt-grid-column-large{margin-right:-80px}.bdt-grid-divider.bdt-grid-large>*,.bdt-grid-divider.bdt-grid-column-large>*{padding-right:80px}.bdt-grid-divider.bdt-grid-large>:not(.bdt-first-column)::before,.bdt-grid-divider.bdt-grid-column-large>:not(.bdt-first-column)::before{right:40px}.bdt-grid-divider.bdt-grid-large.bdt-grid-stack>.bdt-grid-margin,.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack>.bdt-grid-margin{margin-top:80px}.bdt-grid-divider.bdt-grid-large.bdt-grid-stack>.bdt-grid-margin::before{top:-40px;right:80px}.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack>.bdt-grid-margin::before{top:-40px}.bdt-grid-divider.bdt-grid-column-large.bdt-grid-stack>.bdt-grid-margin::before{right:80px}@media (min-width:1200px){.bdt-grid-divider.bdt-grid-large,.bdt-grid-divider.bdt-grid-column-large{margin-right:-140px}.bdt-grid-divider.bdt-grid-large>*,.bdt-grid-divider.bdt-grid-column-large>*{padding-right:140px}.bdt-grid-divider.bdt-grid-large>:not(.bdt-first-column)::before,.bdt-grid-divider.bdt-grid-column-large>:not(.bdt-first-column)::before{right:70px}.bdt-grid-divider.bdt-grid-large.bdt-grid-stack>.bdt-grid-margin,.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack>.bdt-grid-margin{margin-top:140px}.bdt-grid-divider.bdt-grid-large.bdt-grid-stack>.bdt-grid-margin::before{top:-70px;right:140px}.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack>.bdt-grid-margin::before{top:-70px}.bdt-grid-divider.bdt-grid-column-large.bdt-grid-stack>.bdt-grid-margin::before{right:140px}}.bdt-grid-match>*,.bdt-grid-item-match{display:flex;flex-wrap:wrap}.bdt-grid-match>*>:not([class*='bdt-width']),.bdt-grid-item-match>:not([class*='bdt-width']){box-sizing:border-box;width:100%;flex:auto}.bdt-tile{position:relative;box-sizing:border-box;padding-right:15px;padding-left:15px;padding-top:40px;padding-bottom:40px}@media (min-width:640px){.bdt-tile{padding-right:30px;padding-left:30px}}@media (min-width:960px){.bdt-tile{padding-right:40px;padding-left:40px;padding-top:70px;padding-bottom:70px}}.bdt-tile::before,.bdt-tile::after{content:"";display:table}.bdt-tile::after{clear:both}.bdt-tile>:last-child{margin-bottom:0}.bdt-tile-xsmall{padding-top:20px;padding-bottom:20px}.bdt-tile-small{padding-top:40px;padding-bottom:40px}.bdt-tile-large{padding-top:70px;padding-bottom:70px}@media (min-width:960px){.bdt-tile-large{padding-top:140px;padding-bottom:140px}}.bdt-tile-xlarge{padding-top:140px;padding-bottom:140px}@media (min-width:960px){.bdt-tile-xlarge{padding-top:210px;padding-bottom:210px}}.bdt-tile-default{background:#fff}.bdt-tile-muted{background:#f8f8f8}.bdt-tile-primary{background:#1e87f0}.bdt-tile-secondary{background:#222}.bdt-card{position:relative;box-sizing:border-box}.bdt-card-body{padding:30px 30px}.bdt-card-header{padding:15px 30px}.bdt-card-footer{padding:15px 30px}@media (min-width:1200px){.bdt-card-body{padding:40px 40px}.bdt-card-header{padding:20px 40px}.bdt-card-footer{padding:20px 40px}}.bdt-card-body::before,.bdt-card-body::after,.bdt-card-header::before,.bdt-card-header::after,.bdt-card-footer::before,.bdt-card-footer::after{content:"";display:table}.bdt-card-body::after,.bdt-card-header::after,.bdt-card-footer::after{clear:both}.bdt-card-body>:last-child,.bdt-card-header>:last-child,.bdt-card-footer>:last-child{margin-bottom:0}.bdt-card-title{font-size:1.5rem;line-height:1.4}.bdt-card-badge{position:absolute;top:30px;left:30px;z-index:1}.bdt-card-badge:first-child+*{margin-top:0}.bdt-card-hover:not(.bdt-card-default):not(.bdt-card-primary):not(.bdt-card-secondary):hover{background:#f8f8f8}.bdt-card-default{background:#f8f8f8;color:#666}.bdt-card-default .bdt-card-title{color:#333}.bdt-card-default.bdt-card-hover:hover{background-color:#ebebeb}.bdt-card-primary{background:#1e87f0;color:#fff}.bdt-card-primary .bdt-card-title{color:#fff}.bdt-card-primary.bdt-card-hover:hover{background-color:#0f7ae5}.bdt-card-secondary{background:#222;color:#fff}.bdt-card-secondary .bdt-card-title{color:#fff}.bdt-card-secondary.bdt-card-hover:hover{background-color:#151515}.bdt-card-small.bdt-card-body,.bdt-card-small .bdt-card-body{padding:20px 20px}.bdt-card-small .bdt-card-header{padding:13px 20px}.bdt-card-small .bdt-card-footer{padding:13px 20px}@media (min-width:1200px){.bdt-card-large.bdt-card-body,.bdt-card-large .bdt-card-body{padding:70px 70px}.bdt-card-large .bdt-card-header{padding:35px 70px}.bdt-card-large .bdt-card-footer{padding:35px 70px}}.bdt-close{color:#999}.bdt-close:hover,.bdt-close:focus{color:#666;outline:none}.bdt-spinner>*{animation:bdt-spinner-rotate 1.4s linear infinite}@keyframes bdt-spinner-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(-270deg)}}.bdt-spinner>*>*{stroke-dasharray:88px;stroke-dashoffset:0;transform-origin:center;animation:bdt-spinner-dash 1.4s ease-in-out infinite;stroke-width:1;stroke-linecap:round}@keyframes bdt-spinner-dash{0%{stroke-dashoffset:88px}50%{stroke-dashoffset:22px;transform:rotate(-135deg)}100%{stroke-dashoffset:88px;transform:rotate(-450deg)}}.bdt-totop{padding:5px;color:#999}.bdt-totop:hover,.bdt-totop:focus{color:#666;outline:none}.bdt-totop:active{color:#333}.bdt-marker{padding:5px;background:#222;color:#fff}.bdt-marker:hover,.bdt-marker:focus{color:#fff;outline:none}.bdt-alert{position:relative;margin-bottom:20px;padding:15px 15px 15px 29px;background:#f8f8f8;color:#666}*+.bdt-alert{margin-top:20px}.bdt-alert>:last-child{margin-bottom:0}.bdt-alert-close{position:absolute;top:20px;left:15px}.bdt-alert-close:first-child+*{margin-top:0}.bdt-alert-primary{background:#d8eafc;color:#1e87f0}.bdt-alert-success{background:#edfbf6;color:#32d296}.bdt-alert-warning{background:#fff6ee;color:#faa05a}.bdt-alert-danger{background:#fef4f6;color:#f0506e}.bdt-badge{box-sizing:border-box;min-width:22px;height:22px;padding:0 5px;border-radius:500px;vertical-align:middle;background:#1e87f0;color:#fff;font-size:.875rem;display:inline-flex;justify-content:center;align-items:center}.bdt-badge:hover,.bdt-badge:focus{color:#fff;text-decoration:none;outline:none}.bdt-label{display:inline-block;padding:0 10px;background:#1e87f0;line-height:1.5;font-size:.875rem;color:#fff;vertical-align:middle;white-space:nowrap}.bdt-label-success{background-color:#32d296;color:#fff}.bdt-label-warning{background-color:#faa05a;color:#fff}.bdt-label-danger{background-color:#f0506e;color:#fff}.bdt-overlay{padding:30px 30px}.bdt-overlay>:last-child{margin-bottom:0}.bdt-overlay-default{background:rgba(255,255,255,0.8)}.bdt-overlay-primary{background:rgba(34,34,34,0.8)}.bdt-article::before,.bdt-article::after{content:"";display:table}.bdt-article::after{clear:both}.bdt-article>:last-child{margin-bottom:0}.bdt-article+.bdt-article{margin-top:70px}.bdt-article-title{font-size:2.23125rem;line-height:1.2}@media (min-width:960px){.bdt-article-title{font-size:2.625rem}}.bdt-article-meta{font-size:.875rem;line-height:1.4;color:#999}.bdt-comment-body{overflow-wrap:break-word;word-wrap:break-word}.bdt-comment-header{margin-bottom:20px}.bdt-comment-body::before,.bdt-comment-body::after,.bdt-comment-header::before,.bdt-comment-header::after{content:"";display:table}.bdt-comment-body::after,.bdt-comment-header::after{clear:both}.bdt-comment-body>:last-child,.bdt-comment-header>:last-child{margin-bottom:0}.bdt-comment-title{font-size:1.25rem;line-height:1.4}.bdt-comment-meta{font-size:.875rem;line-height:1.4;color:#999}.bdt-comment-list{padding:0;list-style:none}.bdt-comment-list>:nth-child(n+2){margin-top:70px}.bdt-comment-list .bdt-comment~ul{margin:70px 0 0 0;padding-right:30px;list-style:none}@media (min-width:960px){.bdt-comment-list .bdt-comment~ul{padding-right:100px}}.bdt-comment-list .bdt-comment~ul>:nth-child(n+2){margin-top:70px}.bdt-search{display:inline-block;position:relative;max-width:100%;margin:0}.bdt-search-input::-webkit-search-cancel-button,.bdt-search-input::-webkit-search-decoration{-webkit-appearance:none}.bdt-search-input::-moz-placeholder{opacity:1}.bdt-search-input{box-sizing:border-box;margin:0;border-radius:0;font:inherit;overflow:visible;-webkit-appearance:none;vertical-align:middle;width:100%;border:none;color:#666}.bdt-search-input:focus{outline:none}.bdt-search-input:-ms-input-placeholder{color:#999 !important}.bdt-search-input::placeholder{color:#999}.bdt-search-icon:focus{outline:none}.bdt-search .bdt-search-icon{position:absolute;top:0;bottom:0;right:0;display:inline-flex;justify-content:center;align-items:center;color:#999}.bdt-search .bdt-search-icon:hover{color:#999}.bdt-search .bdt-search-icon:not(a):not(button):not(input){pointer-events:none}.bdt-search .bdt-search-icon-flip{left:0;right:auto}.bdt-search-default{width:180px}.bdt-search-default .bdt-search-input{height:40px;padding-right:6px;padding-left:6px;background:#f8f8f8}.bdt-search-default .bdt-search-input:focus{background-color:#f8f8f8}.bdt-search-default .bdt-search-icon{width:40px}.bdt-search-default .bdt-search-icon:not(.bdt-search-icon-flip)~.bdt-search-input{padding-right:40px}.bdt-search-default .bdt-search-icon-flip~.bdt-search-input{padding-left:40px}.bdt-search-navbar{width:400px}.bdt-search-navbar .bdt-search-input{height:40px;background:transparent;font-size:1.5rem}.bdt-search-navbar .bdt-search-icon{width:40px}.bdt-search-navbar .bdt-search-icon:not(.bdt-search-icon-flip)~.bdt-search-input{padding-right:40px}.bdt-search-navbar .bdt-search-icon-flip~.bdt-search-input{padding-left:40px}.bdt-search-large{width:500px}.bdt-search-large .bdt-search-input{height:80px;background:transparent;font-size:2.625rem}.bdt-search-large .bdt-search-icon{width:80px}.bdt-search-large .bdt-search-icon:not(.bdt-search-icon-flip)~.bdt-search-input{padding-right:80px}.bdt-search-large .bdt-search-icon-flip~.bdt-search-input{padding-left:80px}.bdt-search-toggle{color:#999}.bdt-search-toggle:hover,.bdt-search-toggle:focus{color:#666}.bdt-nav,.bdt-nav ul{margin:0;padding:0;list-style:none}.bdt-nav li>a{display:block;text-decoration:none}.bdt-nav li>a:focus{outline:none}.bdt-nav>li>a{padding:5px 0}ul.bdt-nav-sub{padding:5px 15px 5px 0}.bdt-nav-sub ul{padding-right:15px}.bdt-nav-sub a{padding:2px 0}.bdt-nav-parent-icon>.bdt-parent>a::after{content:"";width:1.5em;height:1.5em;float:left;background-image:url("../../images/backgrounds/nav-parent-close.svg");background-repeat:no-repeat;background-position:50% 50%}.bdt-nav-parent-icon>.bdt-parent.bdt-open>a::after{background-image:url("../../images/backgrounds/nav-parent-open.svg")}.bdt-nav-header{padding:5px 0;text-transform:uppercase;font-size:.875rem}.bdt-nav-header:not(:first-child){margin-top:20px}.bdt-nav-divider{margin:5px 0}.bdt-nav-default>li>a{color:#999}.bdt-nav-default>li>a:hover,.bdt-nav-default>li>a:focus{color:#666}.bdt-nav-default>li.bdt-active>a{color:#333}.bdt-nav-default .bdt-nav-header{color:#333}.bdt-nav-default .bdt-nav-divider{border-top:1px solid #e5e5e5}.bdt-nav-default .bdt-nav-sub a{color:#999}.bdt-nav-default .bdt-nav-sub a:hover,.bdt-nav-default .bdt-nav-sub a:focus{color:#666}.bdt-nav-default .bdt-nav-sub li.bdt-active>a{color:#333}.bdt-nav-primary>li>a{font-size:1.5rem;line-height:1.5;color:#999}.bdt-nav-primary>li>a:hover,.bdt-nav-primary>li>a:focus{color:#666}.bdt-nav-primary>li.bdt-active>a{color:#333}.bdt-nav-primary .bdt-nav-header{color:#333}.bdt-nav-primary .bdt-nav-divider{border-top:1px solid #e5e5e5}.bdt-nav-primary .bdt-nav-sub a{color:#999}.bdt-nav-primary .bdt-nav-sub a:hover,.bdt-nav-primary .bdt-nav-sub a:focus{color:#666}.bdt-nav-primary .bdt-nav-sub li.bdt-active>a{color:#333}.bdt-nav-center{text-align:center}.bdt-nav-center .bdt-nav-sub,.bdt-nav-center .bdt-nav-sub ul{padding-right:0}.bdt-nav-center.bdt-nav-parent-icon>.bdt-parent>a::after{position:absolute}.bdt-navbar{display:flex;position:relative}.bdt-navbar-container:not(.bdt-navbar-transparent){background:#f8f8f8}.bdt-navbar-container>::before,.bdt-navbar-container>::after{display:none !important}.bdt-navbar-left,.bdt-navbar-right,.bdt-navbar-center,.bdt-navbar-center-left>*,.bdt-navbar-center-right>*{display:flex;align-items:center}.bdt-navbar-right{margin-right:auto}.bdt-navbar-center:only-child{margin-right:auto;margin-left:auto;position:relative}.bdt-navbar-center:not(:only-child){position:absolute;top:50%;right:50%;transform:translate(50%, -50%);width:max-content;box-sizing:border-box;z-index:990}.bdt-navbar-center-left,.bdt-navbar-center-right{position:absolute;top:0}.bdt-navbar-center-left{left:100%}.bdt-navbar-center-right{right:100%}[class*='bdt-navbar-center-']{width:max-content;box-sizing:border-box}.bdt-navbar-nav{display:flex;margin:0;padding:0;list-style:none}.bdt-navbar-left,.bdt-navbar-right,.bdt-navbar-center:only-child{flex-wrap:wrap}.bdt-navbar-nav>li>a,.bdt-navbar-item,.bdt-navbar-toggle{display:flex;justify-content:center;align-items:center;box-sizing:border-box;min-height:80px;padding:0 15px;font-size:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";text-decoration:none}.bdt-navbar-nav>li>a{color:#999}.bdt-navbar-nav>li:hover>a,.bdt-navbar-nav>li>a:focus,.bdt-navbar-nav>li>a.bdt-open{color:#666;outline:none}.bdt-navbar-nav>li>a:active{color:#333}.bdt-navbar-nav>li.bdt-active>a{color:#333}.bdt-navbar-item{color:#666}.bdt-navbar-toggle{color:#999}.bdt-navbar-toggle:hover,.bdt-navbar-toggle:focus,.bdt-navbar-toggle.bdt-open{color:#666;outline:none;text-decoration:none}.bdt-navbar-subtitle{font-size:.875rem}.bdt-navbar-dropdown{display:none;position:absolute;z-index:1020;box-sizing:border-box;width:200px;padding:15px;background:#f8f8f8;color:#666}.bdt-navbar-dropdown.bdt-open{display:block}[class*='bdt-navbar-dropdown-top']{margin-top:0}[class*='bdt-navbar-dropdown-bottom']{margin-top:0}[class*='bdt-navbar-dropdown-left']{margin-right:0}[class*='bdt-navbar-dropdown-right']{margin-right:0}.bdt-navbar-dropdown-grid{margin-right:-30px}.bdt-navbar-dropdown-grid>*{padding-right:30px}.bdt-navbar-dropdown-grid>.bdt-grid-margin{margin-top:30px}.bdt-navbar-dropdown-stack .bdt-navbar-dropdown-grid>*{width:100% !important}.bdt-navbar-dropdown-width-2:not(.bdt-navbar-dropdown-stack){width:400px}.bdt-navbar-dropdown-width-3:not(.bdt-navbar-dropdown-stack){width:600px}.bdt-navbar-dropdown-width-4:not(.bdt-navbar-dropdown-stack){width:800px}.bdt-navbar-dropdown-width-5:not(.bdt-navbar-dropdown-stack){width:1000px}.bdt-navbar-dropdown-dropbar{margin-top:0;margin-bottom:0}.bdt-navbar-dropdown-nav>li>a{color:#999}.bdt-navbar-dropdown-nav>li>a:hover,.bdt-navbar-dropdown-nav>li>a:focus{color:#666}.bdt-navbar-dropdown-nav>li.bdt-active>a{color:#333}.bdt-navbar-dropdown-nav .bdt-nav-header{color:#333}.bdt-navbar-dropdown-nav .bdt-nav-divider{border-top:1px solid #e5e5e5}.bdt-navbar-dropdown-nav .bdt-nav-sub a{color:#999}.bdt-navbar-dropdown-nav .bdt-nav-sub a:hover,.bdt-navbar-dropdown-nav .bdt-nav-sub a:focus{color:#666}.bdt-navbar-dropdown-nav .bdt-nav-sub li.bdt-active>a{color:#333}.bdt-navbar-dropbar{background:#f8f8f8}.bdt-navbar-dropbar-slide{position:absolute;z-index:980;right:0;left:0}.bdt-subnav{display:flex;flex-wrap:wrap;margin-right:-20px;padding:0;list-style:none}.bdt-subnav>*{flex:none;padding-right:20px;position:relative}.bdt-subnav>*>:first-child{display:block;color:#999}.bdt-subnav>*>a:hover,.bdt-subnav>*>a:focus{color:#666;text-decoration:none;outline:none}.bdt-subnav>.bdt-active>a{color:#333}.bdt-subnav-divider>*{display:flex;align-items:center}.bdt-subnav-divider>:nth-child(n+2):not(.bdt-first-column)::before{content:"";height:1.5em;margin-right:0;margin-left:20px;border-right:1px solid #e5e5e5}.bdt-subnav-pill>*>:first-child{padding:5px 10px;background:transparent;color:#999}.bdt-subnav-pill>*>a:hover,.bdt-subnav-pill>*>a:focus{background-color:#f8f8f8;color:#666}.bdt-subnav-pill>*>a:active{background-color:#f8f8f8;color:#666}.bdt-subnav-pill>.bdt-active>a{background-color:#1e87f0;color:#fff}.bdt-subnav>.bdt-disabled>a{color:#999}.bdt-breadcrumb{display:flex;flex-wrap:wrap;padding:0;list-style:none}.bdt-breadcrumb>*{flex:none}.bdt-breadcrumb>*>*{display:inline-block;font-size:.875rem;color:#999}.bdt-breadcrumb>*>:hover,.bdt-breadcrumb>*>:focus{color:#666;text-decoration:none}.bdt-breadcrumb>:last-child>*{color:#666}.bdt-breadcrumb>:nth-child(n+2):not(.bdt-first-column)::before{content:"/";display:inline-block;margin:0 20px;color:#999}.bdt-pagination{display:flex;flex-wrap:wrap;margin-right:-20px;padding:0;list-style:none}.bdt-pagination>*{flex:none;padding-right:20px;position:relative}.bdt-pagination>*>*{display:block;color:#999}.bdt-pagination>*>:hover,.bdt-pagination>*>:focus{color:#666;text-decoration:none}.bdt-pagination>.bdt-active>*{color:#666}.bdt-pagination>.bdt-disabled>*{color:#999}.bdt-tab{display:flex;flex-wrap:wrap;margin-right:-20px;padding:0;list-style:none}.bdt-tab>*{flex:none;padding-right:20px;position:relative}.bdt-tab>*>a{display:block;text-align:center;padding:5px 10px;color:#999}.bdt-tab>*>a:hover,.bdt-tab>*>a:focus{color:#666;text-decoration:none}.bdt-tab>.bdt-active>a{color:#333}.bdt-tab>.bdt-disabled>a{color:#999}.bdt-tab-left,.bdt-tab-right{flex-direction:column;margin-right:0}.bdt-tab-left>*,.bdt-tab-right>*{padding-right:0}.bdt-tab-left>*>a{text-align:right}.bdt-tab-right>*>a{text-align:right}.bdt-slidenav{padding:5px 10px;color:rgba(102,102,102,0.5)}.bdt-slidenav:hover,.bdt-slidenav:focus{color:rgba(102,102,102,0.9);outline:none}.bdt-slidenav:active{color:rgba(102,102,102,0.5)}.bdt-slidenav-large{padding:10px 10px}.bdt-slidenav-container{display:flex}.bdt-dotnav{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none;margin-right:-12px}.bdt-dotnav>*{flex:none;padding-right:12px}.bdt-dotnav>*>*{display:block;box-sizing:border-box;width:10px;height:10px;border-radius:50%;background:rgba(102,102,102,0.2);text-indent:100%;overflow:hidden;white-space:nowrap}.bdt-dotnav>*>:hover,.bdt-dotnav>*>:focus{background-color:rgba(102,102,102,0.6);outline:none}.bdt-dotnav>*>:active{background-color:rgba(102,102,102,0.2)}.bdt-dotnav>.bdt-active>*{background-color:rgba(102,102,102,0.6)}.bdt-dotnav-vertical{flex-direction:column;margin-right:0;margin-top:-12px}.bdt-dotnav-vertical>*{padding-right:0;padding-top:12px}.bdt-thumbnav{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none;margin-right:-15px}.bdt-thumbnav>*{padding-right:15px}.bdt-thumbnav>*>*{display:inline-block}.bdt-thumbnav>*>:hover,.bdt-thumbnav>*>:focus{outline:none}.bdt-thumbnav-vertical{flex-direction:column;margin-right:0;margin-top:-15px}.bdt-thumbnav-vertical>*{padding-right:0;padding-top:15px}.bdt-accordion{padding:0;list-style:none}.bdt-accordion>:nth-child(n+2){margin-top:20px}.bdt-accordion-title{display:block;font-size:1.25rem;line-height:1.4;color:#333}.bdt-accordion-title:hover,.bdt-accordion-title:focus{color:#666;text-decoration:none;outline:none}.bdt-accordion-content{margin-top:20px}.bdt-accordion-content::before,.bdt-accordion-content::after{content:"";display:table}.bdt-accordion-content::after{clear:both}.bdt-accordion-content>:last-child{margin-bottom:0}.bdt-drop{display:none;position:absolute;z-index:1020;box-sizing:border-box;width:300px}.bdt-drop.bdt-open{display:block}[class*='bdt-drop-top']{margin-top:-20px}[class*='bdt-drop-bottom']{margin-top:20px}[class*='bdt-drop-left']{margin-right:-20px}[class*='bdt-drop-right']{margin-right:20px}.bdt-drop-stack .bdt-drop-grid>*{width:100% !important}.bdt-dropdown{display:none;position:absolute;z-index:1020;box-sizing:border-box;min-width:200px;padding:15px;background:#f8f8f8;color:#666}.bdt-dropdown.bdt-open{display:block}.bdt-dropdown-nav{white-space:nowrap}.bdt-dropdown-nav>li>a{color:#999}.bdt-dropdown-nav>li>a:hover,.bdt-dropdown-nav>li>a:focus,.bdt-dropdown-nav>li.bdt-active>a{color:#666}.bdt-dropdown-nav .bdt-nav-header{color:#333}.bdt-dropdown-nav .bdt-nav-divider{border-top:1px solid #e5e5e5}.bdt-dropdown-nav .bdt-nav-sub a{color:#999}.bdt-dropdown-nav .bdt-nav-sub a:hover,.bdt-dropdown-nav .bdt-nav-sub a:focus,.bdt-dropdown-nav .bdt-nav-sub li.bdt-active>a{color:#666}[class*='bdt-dropdown-top']{margin-top:-10px}[class*='bdt-dropdown-bottom']{margin-top:10px}[class*='bdt-dropdown-left']{margin-right:-10px}[class*='bdt-dropdown-right']{margin-right:10px}.bdt-dropdown-stack .bdt-dropdown-grid>*{width:100% !important}.bdt-modal{display:none;position:fixed;top:0;left:0;bottom:0;right:0;z-index:1010;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:15px 15px;background:rgba(0,0,0,0.6);opacity:0;transition:opacity .15s linear}@media (min-width:640px){.bdt-modal{padding:50px 30px}}@media (min-width:960px){.bdt-modal{padding-right:40px;padding-left:40px}}.bdt-modal.bdt-open{opacity:1}.bdt-modal-page{overflow:hidden}.bdt-modal-dialog{position:relative;box-sizing:border-box;margin:0 auto;width:600px;max-width:calc(100% - 0.01px) !important;background:#fff;opacity:0;transform:translateY(-100px);transition:.3s linear;transition-property:opacity,transform}.bdt-open>.bdt-modal-dialog{opacity:1;transform:translateY(0)}.bdt-modal-container .bdt-modal-dialog{width:1200px}.bdt-modal-full{padding:0;background:none}.bdt-modal-full .bdt-modal-dialog{margin:0;width:100%;max-width:100%;transform:translateY(0)}.bdt-modal-body{padding:30px 30px}.bdt-modal-header{padding:15px 30px;background:#f8f8f8}.bdt-modal-footer{padding:15px 30px;background:#f8f8f8}.bdt-modal-body::before,.bdt-modal-body::after,.bdt-modal-header::before,.bdt-modal-header::after,.bdt-modal-footer::before,.bdt-modal-footer::after{content:"";display:table}.bdt-modal-body::after,.bdt-modal-header::after,.bdt-modal-footer::after{clear:both}.bdt-modal-body>:last-child,.bdt-modal-header>:last-child,.bdt-modal-footer>:last-child{margin-bottom:0}.bdt-modal-title{font-size:2rem;line-height:1.3}[class*='bdt-modal-close-']{position:absolute;z-index:1010;top:10px;left:10px;padding:5px}[class*='bdt-modal-close-']:first-child+*{margin-top:0}.bdt-modal-close-outside{top:0;left:-5px;transform:translate(0, -100%);color:#fff}.bdt-modal-close-outside:hover{color:#fff}@media (min-width:960px){.bdt-modal-close-outside{left:0;transform:translate(-100%, -100%)}}.bdt-lightbox{display:none;position:fixed;top:0;left:0;bottom:0;right:0;z-index:1010;background:#000;opacity:0;transition:opacity .15s linear}.bdt-lightbox.bdt-open{display:block;opacity:1}.bdt-lightbox-page{overflow:hidden}.bdt-lightbox-items>*{position:absolute;top:0;left:0;bottom:0;right:0;display:none;justify-content:center;align-items:center;color:rgba(255,255,255,0.7);will-change:transform,opacity}.bdt-lightbox-items>*>*{max-width:100vw;max-height:100vh}.bdt-lightbox-items>:focus{outline:none}.bdt-lightbox-items>*>:not(iframe){width:auto;height:auto}.bdt-lightbox-items>.bdt-active{display:flex}.bdt-lightbox-toolbar{padding:10px 10px;background:rgba(0,0,0,0.3);color:rgba(255,255,255,0.7)}.bdt-lightbox-toolbar>*{color:rgba(255,255,255,0.7)}.bdt-lightbox-toolbar-icon{padding:5px;color:rgba(255,255,255,0.7)}.bdt-lightbox-toolbar-icon:hover{color:#fff}.bdt-lightbox-button{box-sizing:border-box;width:50px;height:50px;background:rgba(0,0,0,0.3);color:rgba(255,255,255,0.7);display:inline-flex;justify-content:center;align-items:center}.bdt-lightbox-button:hover{color:#fff}.bdt-lightbox-iframe{width:80%;height:80%}.bdt-slideshow{-webkit-tap-highlight-color:transparent}.bdt-slideshow-items{position:relative;z-index:0;margin:0;padding:0;list-style:none;overflow:hidden;-webkit-touch-callout:none}.bdt-slideshow-items>*{position:absolute;top:0;right:0;left:0;bottom:0;overflow:hidden;will-change:transform,opacity;touch-action:pan-y}.bdt-slideshow-items>:focus{outline:none}.bdt-slideshow-items>:not(.bdt-active){display:none}.bdt-slider{-webkit-tap-highlight-color:transparent}.bdt-slider-container{overflow:hidden}.bdt-slider-items{will-change:transform;position:relative}.bdt-slider-items:not(.bdt-grid){display:flex;margin:0;padding:0;list-style:none;-webkit-touch-callout:none}.bdt-slider-items.bdt-grid{flex-wrap:nowrap}.bdt-slider-items>*{flex:none;position:relative;touch-action:pan-y}.bdt-slider-items>:focus{outline:none}.bdt-sticky-fixed{z-index:980;box-sizing:border-box;margin:0 !important;-webkit-backface-visibility:hidden;backface-visibility:hidden}.bdt-sticky[class*='bdt-animation-']{animation-duration:.2s}.bdt-sticky.bdt-animation-reverse{animation-duration:.2s}.bdt-offcanvas{display:none;position:fixed;top:0;bottom:0;right:0;z-index:1000}.bdt-offcanvas-flip .bdt-offcanvas{left:0;right:auto}.bdt-offcanvas-bar{position:absolute;top:0;bottom:0;right:-270px;box-sizing:border-box;width:270px;padding:20px 20px;background:#222;overflow-y:auto;-webkit-overflow-scrolling:touch}@media (min-width:960px){.bdt-offcanvas-bar{right:-350px;width:350px;padding:40px 40px}}.bdt-offcanvas-flip .bdt-offcanvas-bar{right:auto;left:-270px}@media (min-width:960px){.bdt-offcanvas-flip .bdt-offcanvas-bar{left:-350px}}.bdt-open>.bdt-offcanvas-bar{right:0}.bdt-offcanvas-flip .bdt-open>.bdt-offcanvas-bar{right:auto;left:0}.bdt-offcanvas-bar-animation{transition:right .3s ease-out}.bdt-offcanvas-flip .bdt-offcanvas-bar-animation{transition-property:left}.bdt-offcanvas-reveal{position:absolute;top:0;bottom:0;right:0;width:0;overflow:hidden;transition:width .3s ease-out}.bdt-offcanvas-reveal .bdt-offcanvas-bar{right:0}.bdt-offcanvas-flip .bdt-offcanvas-reveal .bdt-offcanvas-bar{right:auto;left:0}.bdt-open>.bdt-offcanvas-reveal{width:270px}@media (min-width:960px){.bdt-open>.bdt-offcanvas-reveal{width:350px}}.bdt-offcanvas-flip .bdt-offcanvas-reveal{left:0;right:auto}.bdt-offcanvas-close{position:absolute;z-index:1000;top:20px;left:20px;padding:5px}.bdt-offcanvas-overlay{width:100vw;touch-action:none}.bdt-offcanvas-overlay::before{content:"";position:absolute;top:0;bottom:0;right:0;left:0;background:rgba(0,0,0,0.1);opacity:0;transition:opacity .15s linear}.bdt-offcanvas-overlay.bdt-open::before{opacity:1}.bdt-offcanvas-page,.bdt-offcanvas-container{overflow-x:hidden}.bdt-offcanvas-container{position:relative;right:0;transition:right .3s ease-out;box-sizing:border-box;width:100%}:not(.bdt-offcanvas-flip).bdt-offcanvas-container-animation{right:270px}.bdt-offcanvas-flip.bdt-offcanvas-container-animation{right:-270px}@media (min-width:960px){:not(.bdt-offcanvas-flip).bdt-offcanvas-container-animation{right:350px}.bdt-offcanvas-flip.bdt-offcanvas-container-animation{right:-350px}}.bdt-switcher{margin:0;padding:0;list-style:none}.bdt-switcher>:not(.bdt-active){display:none}.bdt-switcher>*>:last-child{margin-bottom:0}.bdt-leader{overflow:hidden}.bdt-leader-fill::after{display:inline-block;margin-right:15px;width:0;content:attr(data-fill);white-space:nowrap}.bdt-leader-fill.bdt-leader-hide::after{display:none}.bdt-leader-fill-content::before{content:'.'}:root{--bdt-leader-fill-content:.}.bdt-iconnav{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none;margin-right:-10px}.bdt-iconnav>*{padding-right:10px}.bdt-iconnav>*>a{display:block;color:#999}.bdt-iconnav>*>a:hover,.bdt-iconnav>*>a:focus{color:#666;outline:none}.bdt-iconnav>.bdt-active>a{color:#666}.bdt-iconnav-vertical{flex-direction:column;margin-right:0;margin-top:-10px}.bdt-iconnav-vertical>*{padding-right:0;padding-top:10px}.bdt-notification{position:fixed;top:10px;right:10px;z-index:1040;box-sizing:border-box;width:350px}.bdt-notification-top-right,.bdt-notification-bottom-right{right:auto;left:10px}.bdt-notification-top-center,.bdt-notification-bottom-center{right:50%;margin-right:-175px}.bdt-notification-bottom-left,.bdt-notification-bottom-right,.bdt-notification-bottom-center{top:auto;bottom:10px}@media (max-width:639px){.bdt-notification{right:10px;left:10px;width:auto;margin:0}}.bdt-notification-message{position:relative;padding:15px;background:#f8f8f8;color:#666;font-size:1.25rem;line-height:1.4;cursor:pointer}*+.bdt-notification-message{margin-top:10px}.bdt-notification-close{display:none;position:absolute;top:20px;left:15px}.bdt-notification-message:hover .bdt-notification-close{display:block}.bdt-notification-message-primary{color:#1e87f0}.bdt-notification-message-success{color:#32d296}.bdt-notification-message-warning{color:#faa05a}.bdt-notification-message-danger{color:#f0506e}.bdt-tooltip{display:none;position:absolute;z-index:1030;box-sizing:border-box;max-width:200px;padding:3px 6px;background:#666;border-radius:2px;color:#fff;font-size:12px}.bdt-tooltip.bdt-active{display:block}[class*='bdt-tooltip-top']{margin-top:-10px}[class*='bdt-tooltip-bottom']{margin-top:10px}[class*='bdt-tooltip-left']{margin-right:-10px}[class*='bdt-tooltip-right']{margin-right:10px}.bdt-placeholder{margin-bottom:20px;padding:30px 30px;background:#f8f8f8}*+.bdt-placeholder{margin-top:20px}.bdt-placeholder>:last-child{margin-bottom:0}.bdt-progress{vertical-align:baseline;-webkit-appearance:none;-moz-appearance:none;display:block;width:100%;border:0;background-color:#f8f8f8;margin-bottom:20px;height:15px}*+.bdt-progress{margin-top:20px}.bdt-progress:indeterminate{color:transparent}.bdt-progress::-webkit-progress-bar{background-color:#f8f8f8}.bdt-progress:indeterminate::-moz-progress-bar{width:0}.bdt-progress::-webkit-progress-value{background-color:#1e87f0;transition:width .6s ease}.bdt-progress::-moz-progress-bar{background-color:#1e87f0}.bdt-progress::-ms-fill{background-color:#1e87f0;transition:width .6s ease;border:0}.bdt-sortable{position:relative}.bdt-sortable svg{pointer-events:none}.bdt-sortable>:last-child{margin-bottom:0}.bdt-sortable-drag{position:absolute !important;z-index:1050 !important;pointer-events:none}.bdt-sortable-placeholder{opacity:0;pointer-events:none}.bdt-sortable-empty{min-height:50px}.bdt-sortable-handle:hover{cursor:move}.bdt-countdown-number,.bdt-countdown-separator{line-height:.8}.bdt-countdown-number{font-size:2rem}@media (min-width:640px){.bdt-countdown-number{font-size:4rem}}@media (min-width:960px){.bdt-countdown-number{font-size:6rem}}.bdt-countdown-separator{font-size:1rem}@media (min-width:640px){.bdt-countdown-separator{font-size:2rem}}@media (min-width:960px){.bdt-countdown-separator{font-size:3rem}}[class*='bdt-animation-']{animation-duration:.5s;animation-timing-function:ease-out;animation-fill-mode:both}.bdt-animation-fade{animation-name:bdt-fade;animation-duration:.8s;animation-timing-function:linear}.bdt-animation-scale-up{animation-name:bdt-fade-scale-02}.bdt-animation-scale-down{animation-name:bdt-fade-scale-18}.bdt-animation-slide-top{animation-name:bdt-fade-top}.bdt-animation-slide-bottom{animation-name:bdt-fade-bottom}.bdt-animation-slide-left{animation-name:bdt-fade-left}.bdt-animation-slide-right{animation-name:bdt-fade-right}.bdt-animation-slide-top-small{animation-name:bdt-fade-top-small}.bdt-animation-slide-bottom-small{animation-name:bdt-fade-bottom-small}.bdt-animation-slide-left-small{animation-name:bdt-fade-left-small}.bdt-animation-slide-right-small{animation-name:bdt-fade-right-small}.bdt-animation-slide-top-medium{animation-name:bdt-fade-top-medium}.bdt-animation-slide-bottom-medium{animation-name:bdt-fade-bottom-medium}.bdt-animation-slide-left-medium{animation-name:bdt-fade-left-medium}.bdt-animation-slide-right-medium{animation-name:bdt-fade-right-medium}.bdt-animation-kenburns{animation-name:bdt-scale-kenburns;animation-duration:15s}.bdt-animation-shake{animation-name:bdt-shake}.bdt-animation-stroke{animation-name:bdt-stroke;stroke-dasharray:var(--bdt-animation-stroke);animation-duration:2s}.bdt-animation-reverse{animation-direction:reverse;animation-timing-function:ease-in}.bdt-animation-fast{animation-duration:.1s}.bdt-animation-toggle:not(:hover):not(:focus) [class*='bdt-animation-']{animation-name:none}.bdt-animation-toggle{-webkit-tap-highlight-color:transparent}.bdt-animation-toggle:focus{outline:none}@keyframes bdt-fade{0%{opacity:0}100%{opacity:1}}@keyframes bdt-fade-top{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-bottom{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-left{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-right{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-top-small{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-bottom-small{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-left-small{0%{opacity:0;transform:translateX(10px)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-right-small{0%{opacity:0;transform:translateX(-10px)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-top-medium{0%{opacity:0;transform:translateY(-50px)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-bottom-medium{0%{opacity:0;transform:translateY(50px)}100%{opacity:1;transform:translateY(0)}}@keyframes bdt-fade-left-medium{0%{opacity:0;transform:translateX(50px)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-right-medium{0%{opacity:0;transform:translateX(-50px)}100%{opacity:1;transform:translateX(0)}}@keyframes bdt-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@keyframes bdt-fade-scale-18{0%{opacity:0;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@keyframes bdt-scale-kenburns{0%{transform:scale(1)}100%{transform:scale(1.2)}}@keyframes bdt-shake{0%,100%{transform:translateX(0)}10%{transform:translateX(9px)}20%{transform:translateX(-8px)}30%{transform:translateX(7px)}40%{transform:translateX(-6px)}50%{transform:translateX(5px)}60%{transform:translateX(-4px)}70%{transform:translateX(3px)}80%{transform:translateX(-2px)}90%{transform:translateX(1px)}}@keyframes bdt-stroke{0%{stroke-dashoffset:var(--bdt-animation-stroke)}100%{stroke-dashoffset:0}}[class*='bdt-child-width']>*{box-sizing:border-box;width:100%}.bdt-child-width-1-2>*{width:50%}.bdt-child-width-1-3>*{width:calc(100% * 1 / 3.001)}.bdt-child-width-1-4>*{width:25%}.bdt-child-width-1-5>*{width:20%}.bdt-child-width-1-6>*{width:calc(100% * 1 / 6.001)}.bdt-child-width-auto>*{width:auto}.bdt-child-width-expand>:not([class*='bdt-width']){flex:1;min-width:1px}@media (min-width:640px){.bdt-child-width-1-1\@s>*{width:100%}.bdt-child-width-1-2\@s>*{width:50%}.bdt-child-width-1-3\@s>*{width:calc(100% * 1 / 3.001)}.bdt-child-width-1-4\@s>*{width:25%}.bdt-child-width-1-5\@s>*{width:20%}.bdt-child-width-1-6\@s>*{width:calc(100% * 1 / 6.001)}.bdt-child-width-auto\@s>*{width:auto}.bdt-child-width-expand\@s>:not([class*='bdt-width']){flex:1;min-width:1px}}@media (min-width:960px){.bdt-child-width-1-1\@m>*{width:100%}.bdt-child-width-1-2\@m>*{width:50%}.bdt-child-width-1-3\@m>*{width:calc(100% * 1 / 3.001)}.bdt-child-width-1-4\@m>*{width:25%}.bdt-child-width-1-5\@m>*{width:20%}.bdt-child-width-1-6\@m>*{width:calc(100% * 1 / 6.001)}.bdt-child-width-auto\@m>*{width:auto}.bdt-child-width-expand\@m>:not([class*='bdt-width']){flex:1;min-width:1px}}@media (min-width:1200px){.bdt-child-width-1-1\@l>*{width:100%}.bdt-child-width-1-2\@l>*{width:50%}.bdt-child-width-1-3\@l>*{width:calc(100% * 1 / 3.001)}.bdt-child-width-1-4\@l>*{width:25%}.bdt-child-width-1-5\@l>*{width:20%}.bdt-child-width-1-6\@l>*{width:calc(100% * 1 / 6.001)}.bdt-child-width-auto\@l>*{width:auto}.bdt-child-width-expand\@l>:not([class*='bdt-width']){flex:1;min-width:1px}}@media (min-width:1600px){.bdt-child-width-1-1\@xl>*{width:100%}.bdt-child-width-1-2\@xl>*{width:50%}.bdt-child-width-1-3\@xl>*{width:calc(100% * 1 / 3.001)}.bdt-child-width-1-4\@xl>*{width:25%}.bdt-child-width-1-5\@xl>*{width:20%}.bdt-child-width-1-6\@xl>*{width:calc(100% * 1 / 6.001)}.bdt-child-width-auto\@xl>*{width:auto}.bdt-child-width-expand\@xl>:not([class*='bdt-width']){flex:1;min-width:1px}}[class*='bdt-width']{box-sizing:border-box;width:100%;max-width:100%}.bdt-width-1-2{width:50%}.bdt-width-1-3{width:calc(100% * 1 / 3.001)}.bdt-width-2-3{width:calc(100% * 2 / 3.001)}.bdt-width-1-4{width:25%}.bdt-width-3-4{width:75%}.bdt-width-1-5{width:20%}.bdt-width-2-5{width:40%}.bdt-width-3-5{width:60%}.bdt-width-4-5{width:80%}.bdt-width-1-6{width:calc(100% * 1 / 6.001)}.bdt-width-5-6{width:calc(100% * 5 / 6.001)}.bdt-width-small{width:150px}.bdt-width-medium{width:300px}.bdt-width-large{width:450px}.bdt-width-xlarge{width:600px}.bdt-width-xxlarge{width:750px}.bdt-width-auto{width:auto}.bdt-width-expand{flex:1;min-width:1px}@media (min-width:640px){.bdt-width-1-1\@s{width:100%}.bdt-width-1-2\@s{width:50%}.bdt-width-1-3\@s{width:calc(100% * 1 / 3.001)}.bdt-width-2-3\@s{width:calc(100% * 2 / 3.001)}.bdt-width-1-4\@s{width:25%}.bdt-width-3-4\@s{width:75%}.bdt-width-1-5\@s{width:20%}.bdt-width-2-5\@s{width:40%}.bdt-width-3-5\@s{width:60%}.bdt-width-4-5\@s{width:80%}.bdt-width-1-6\@s{width:calc(100% * 1 / 6.001)}.bdt-width-5-6\@s{width:calc(100% * 5 / 6.001)}.bdt-width-small\@s{width:150px}.bdt-width-medium\@s{width:300px}.bdt-width-large\@s{width:450px}.bdt-width-xlarge\@s{width:600px}.bdt-width-xxlarge\@s{width:750px}.bdt-width-auto\@s{width:auto}.bdt-width-expand\@s{flex:1;min-width:1px}}@media (min-width:960px){.bdt-width-1-1\@m{width:100%}.bdt-width-1-2\@m{width:50%}.bdt-width-1-3\@m{width:calc(100% * 1 / 3.001)}.bdt-width-2-3\@m{width:calc(100% * 2 / 3.001)}.bdt-width-1-4\@m{width:25%}.bdt-width-3-4\@m{width:75%}.bdt-width-1-5\@m{width:20%}.bdt-width-2-5\@m{width:40%}.bdt-width-3-5\@m{width:60%}.bdt-width-4-5\@m{width:80%}.bdt-width-1-6\@m{width:calc(100% * 1 / 6.001)}.bdt-width-5-6\@m{width:calc(100% * 5 / 6.001)}.bdt-width-small\@m{width:150px}.bdt-width-medium\@m{width:300px}.bdt-width-large\@m{width:450px}.bdt-width-xlarge\@m{width:600px}.bdt-width-xxlarge\@m{width:750px}.bdt-width-auto\@m{width:auto}.bdt-width-expand\@m{flex:1;min-width:1px}}@media (min-width:1200px){.bdt-width-1-1\@l{width:100%}.bdt-width-1-2\@l{width:50%}.bdt-width-1-3\@l{width:calc(100% * 1 / 3.001)}.bdt-width-2-3\@l{width:calc(100% * 2 / 3.001)}.bdt-width-1-4\@l{width:25%}.bdt-width-3-4\@l{width:75%}.bdt-width-1-5\@l{width:20%}.bdt-width-2-5\@l{width:40%}.bdt-width-3-5\@l{width:60%}.bdt-width-4-5\@l{width:80%}.bdt-width-1-6\@l{width:calc(100% * 1 / 6.001)}.bdt-width-5-6\@l{width:calc(100% * 5 / 6.001)}.bdt-width-small\@l{width:150px}.bdt-width-medium\@l{width:300px}.bdt-width-large\@l{width:450px}.bdt-width-xlarge\@l{width:600px}.bdt-width-xxlarge\@l{width:750px}.bdt-width-auto\@l{width:auto}.bdt-width-expand\@l{flex:1;min-width:1px}}@media (min-width:1600px){.bdt-width-1-1\@xl{width:100%}.bdt-width-1-2\@xl{width:50%}.bdt-width-1-3\@xl{width:calc(100% * 1 / 3.001)}.bdt-width-2-3\@xl{width:calc(100% * 2 / 3.001)}.bdt-width-1-4\@xl{width:25%}.bdt-width-3-4\@xl{width:75%}.bdt-width-1-5\@xl{width:20%}.bdt-width-2-5\@xl{width:40%}.bdt-width-3-5\@xl{width:60%}.bdt-width-4-5\@xl{width:80%}.bdt-width-1-6\@xl{width:calc(100% * 1 / 6.001)}.bdt-width-5-6\@xl{width:calc(100% * 5 / 6.001)}.bdt-width-small\@xl{width:150px}.bdt-width-medium\@xl{width:300px}.bdt-width-large\@xl{width:450px}.bdt-width-xlarge\@xl{width:600px}.bdt-width-xxlarge\@xl{width:750px}.bdt-width-auto\@xl{width:auto}.bdt-width-expand\@xl{flex:1;min-width:1px}}[class*='bdt-height']{box-sizing:border-box}.bdt-height-1-1{height:100%}.bdt-height-viewport{min-height:100vh}.bdt-height-small{height:150px}.bdt-height-medium{height:300px}.bdt-height-large{height:450px}.bdt-height-max-small{max-height:150px}.bdt-height-max-medium{max-height:300px}.bdt-height-max-large{max-height:450px}.bdt-text-lead{font-size:1.5rem;line-height:1.5;color:#333}.bdt-text-meta{font-size:.875rem;line-height:1.4;color:#999}.bdt-text-small{font-size:.875rem;line-height:1.5}.bdt-text-large{font-size:1.5rem;line-height:1.5}.bdt-text-light{font-weight:300}.bdt-text-normal{font-weight:400}.bdt-text-bold{font-weight:700}.bdt-text-lighter{font-weight:lighter}.bdt-text-bolder{font-weight:bolder}.bdt-text-italic{font-style:italic}.bdt-text-capitalize{text-transform:capitalize !important}.bdt-text-uppercase{text-transform:uppercase !important}.bdt-text-lowercase{text-transform:lowercase !important}.bdt-text-muted{color:#999 !important}.bdt-text-emphasis{color:#333 !important}.bdt-text-primary{color:#1e87f0 !important}.bdt-text-secondary{color:#222 !important}.bdt-text-success{color:#32d296 !important}.bdt-text-warning{color:#faa05a !important}.bdt-text-danger{color:#f0506e !important}.bdt-text-background{-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:inline-block;color:#1e87f0 !important}@supports (-webkit-background-clip: text){.bdt-text-background{background-color:#1e87f0}}.bdt-text-left{text-align:right !important}.bdt-text-right{text-align:left !important}.bdt-text-center{text-align:center !important}.bdt-text-justify{text-align:justify !important}@media (min-width:640px){.bdt-text-left\@s{text-align:right !important}.bdt-text-right\@s{text-align:left !important}.bdt-text-center\@s{text-align:center !important}}@media (min-width:960px){.bdt-text-left\@m{text-align:right !important}.bdt-text-right\@m{text-align:left !important}.bdt-text-center\@m{text-align:center !important}}@media (min-width:1200px){.bdt-text-left\@l{text-align:right !important}.bdt-text-right\@l{text-align:left !important}.bdt-text-center\@l{text-align:center !important}}@media (min-width:1600px){.bdt-text-left\@xl{text-align:right !important}.bdt-text-right\@xl{text-align:left !important}.bdt-text-center\@xl{text-align:center !important}}.bdt-text-top{vertical-align:top !important}.bdt-text-middle{vertical-align:middle !important}.bdt-text-bottom{vertical-align:bottom !important}.bdt-text-baseline{vertical-align:baseline !important}.bdt-text-nowrap{white-space:nowrap}.bdt-text-truncate{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th.bdt-text-truncate,td.bdt-text-truncate{max-width:0}.bdt-text-break{overflow-wrap:break-word;word-wrap:break-word}th.bdt-text-break,td.bdt-text-break{word-break:break-all}[class*='bdt-column-']{column-gap:30px}@media (min-width:1200px){[class*='bdt-column-']{column-gap:40px}}[class*='bdt-column-'] img{transform:translate3d(0, 0, 0)}.bdt-column-divider{column-rule:1px solid #e5e5e5;column-gap:60px}@media (min-width:1200px){.bdt-column-divider{column-gap:80px}}.bdt-column-1-2{column-count:2}.bdt-column-1-3{column-count:3}.bdt-column-1-4{column-count:4}.bdt-column-1-5{column-count:5}.bdt-column-1-6{column-count:6}@media (min-width:640px){.bdt-column-1-2\@s{column-count:2}.bdt-column-1-3\@s{column-count:3}.bdt-column-1-4\@s{column-count:4}.bdt-column-1-5\@s{column-count:5}.bdt-column-1-6\@s{column-count:6}}@media (min-width:960px){.bdt-column-1-2\@m{column-count:2}.bdt-column-1-3\@m{column-count:3}.bdt-column-1-4\@m{column-count:4}.bdt-column-1-5\@m{column-count:5}.bdt-column-1-6\@m{column-count:6}}@media (min-width:1200px){.bdt-column-1-2\@l{column-count:2}.bdt-column-1-3\@l{column-count:3}.bdt-column-1-4\@l{column-count:4}.bdt-column-1-5\@l{column-count:5}.bdt-column-1-6\@l{column-count:6}}@media (min-width:1600px){.bdt-column-1-2\@xl{column-count:2}.bdt-column-1-3\@xl{column-count:3}.bdt-column-1-4\@xl{column-count:4}.bdt-column-1-5\@xl{column-count:5}.bdt-column-1-6\@xl{column-count:6}}.bdt-column-span{column-span:all}.bdt-cover{max-width:none;position:absolute;right:50%;top:50%;transform:translate(50%, -50%)}iframe.bdt-cover{pointer-events:none}.bdt-cover-container{overflow:hidden;position:relative}.bdt-background-default{background-color:#fff}.bdt-background-muted{background-color:#f8f8f8}.bdt-background-primary{background-color:#1e87f0}.bdt-background-secondary{background-color:#222}.bdt-background-cover,.bdt-background-contain{background-position:50% 50%;background-repeat:no-repeat}.bdt-background-cover{background-size:cover}.bdt-background-contain{background-size:contain}.bdt-background-top-left{background-position:100% 0}.bdt-background-top-center{background-position:50% 0}.bdt-background-top-right{background-position:0% 0}.bdt-background-center-left{background-position:100% 50%}.bdt-background-center-center{background-position:50% 50%}.bdt-background-center-right{background-position:0% 50%}.bdt-background-bottom-left{background-position:100% 100%}.bdt-background-bottom-center{background-position:50% 100%}.bdt-background-bottom-right{background-position:0% 100%}.bdt-background-norepeat{background-repeat:no-repeat}.bdt-background-fixed{background-attachment:fixed;backface-visibility:hidden}@media (pointer:coarse){.bdt-background-fixed{background-attachment:scroll}}@media (max-width:639px){.bdt-background-image\@s{background-image:none !important}}@media (max-width:959px){.bdt-background-image\@m{background-image:none !important}}@media (max-width:1199px){.bdt-background-image\@l{background-image:none !important}}@media (max-width:1599px){.bdt-background-image\@xl{background-image:none !important}}.bdt-background-blend-multiply{background-blend-mode:multiply}.bdt-background-blend-screen{background-blend-mode:screen}.bdt-background-blend-overlay{background-blend-mode:overlay}.bdt-background-blend-darken{background-blend-mode:darken}.bdt-background-blend-lighten{background-blend-mode:lighten}.bdt-background-blend-color-dodge{background-blend-mode:color-dodge}.bdt-background-blend-color-burn{background-blend-mode:color-burn}.bdt-background-blend-hard-light{background-blend-mode:hard-light}.bdt-background-blend-soft-light{background-blend-mode:soft-light}.bdt-background-blend-difference{background-blend-mode:difference}.bdt-background-blend-exclusion{background-blend-mode:exclusion}.bdt-background-blend-hue{background-blend-mode:hue}.bdt-background-blend-saturation{background-blend-mode:saturation}.bdt-background-blend-color{background-blend-mode:color}.bdt-background-blend-luminosity{background-blend-mode:luminosity}[class*='bdt-align']{display:block;margin-bottom:30px}*+[class*='bdt-align']{margin-top:30px}.bdt-align-center{margin-right:auto;margin-left:auto}.bdt-align-left{margin-top:0;margin-left:30px;float:right}.bdt-align-right{margin-top:0;margin-right:30px;float:left}@media (min-width:640px){.bdt-align-left\@s{margin-top:0;margin-left:30px;float:right}.bdt-align-right\@s{margin-top:0;margin-right:30px;float:left}}@media (min-width:960px){.bdt-align-left\@m{margin-top:0;margin-left:30px;float:right}.bdt-align-right\@m{margin-top:0;margin-right:30px;float:left}}@media (min-width:1200px){.bdt-align-left\@l{margin-top:0;float:right}.bdt-align-right\@l{margin-top:0;float:left}.bdt-align-left,.bdt-align-left\@s,.bdt-align-left\@m,.bdt-align-left\@l{margin-left:40px}.bdt-align-right,.bdt-align-right\@s,.bdt-align-right\@m,.bdt-align-right\@l{margin-right:40px}}@media (min-width:1600px){.bdt-align-left\@xl{margin-top:0;margin-left:40px;float:right}.bdt-align-right\@xl{margin-top:0;margin-right:40px;float:left}}.bdt-svg,.bdt-svg:not(.bdt-preserve) [fill*='#']:not(.bdt-preserve){fill:currentcolor}.bdt-svg:not(.bdt-preserve) [stroke*='#']:not(.bdt-preserve){stroke:currentcolor}.bdt-svg{transform:translate(0, 0)}.bdt-panel{position:relative;box-sizing:border-box}.bdt-panel::before,.bdt-panel::after{content:"";display:table}.bdt-panel::after{clear:both}.bdt-panel>:last-child{margin-bottom:0}.bdt-panel-scrollable{height:170px;padding:10px;border:1px solid #e5e5e5;overflow:auto;-webkit-overflow-scrolling:touch;resize:both}.bdt-clearfix::before{content:"";display:table-cell}.bdt-clearfix::after{content:"";display:table;clear:both}.bdt-float-left{float:right}.bdt-float-right{float:left}[class*='bdt-float-']{max-width:100%}.bdt-overflow-hidden{overflow:hidden}.bdt-overflow-auto{overflow:auto;-webkit-overflow-scrolling:touch}.bdt-overflow-auto>:last-child{margin-bottom:0}.bdt-resize{resize:both}.bdt-resize-vertical{resize:vertical}.bdt-display-block{display:block !important}.bdt-display-inline{display:inline !important}.bdt-display-inline-block{display:inline-block !important}[class*='bdt-inline']{display:inline-block;position:relative;max-width:100%;vertical-align:middle;-webkit-backface-visibility:hidden}.bdt-inline-clip{overflow:hidden}.bdt-preserve-width,.bdt-preserve-width canvas,.bdt-preserve-width img,.bdt-preserve-width svg,.bdt-preserve-width video{max-width:none}.bdt-responsive-width,.bdt-responsive-height{box-sizing:border-box}.bdt-responsive-width{max-width:100% !important;height:auto}.bdt-responsive-height{max-height:100%;width:auto;max-width:none}.bdt-border-circle{border-radius:50%}.bdt-border-pill{border-radius:500px}.bdt-border-rounded{border-radius:5px}.bdt-inline-clip[class*='bdt-border-']{-webkit-transform:translateZ(0)}.bdt-box-shadow-small{box-shadow:0 2px 8px rgba(0,0,0,0.08)}.bdt-box-shadow-medium{box-shadow:0 5px 15px rgba(0,0,0,0.08)}.bdt-box-shadow-large{box-shadow:0 14px 25px rgba(0,0,0,0.16)}.bdt-box-shadow-xlarge{box-shadow:0 28px 50px rgba(0,0,0,0.16)}[class*='bdt-box-shadow-hover']{transition:box-shadow .1s ease-in-out}.bdt-box-shadow-hover-small:hover{box-shadow:0 2px 8px rgba(0,0,0,0.08)}.bdt-box-shadow-hover-medium:hover{box-shadow:0 5px 15px rgba(0,0,0,0.08)}.bdt-box-shadow-hover-large:hover{box-shadow:0 14px 25px rgba(0,0,0,0.16)}.bdt-box-shadow-hover-xlarge:hover{box-shadow:0 28px 50px rgba(0,0,0,0.16)}@supports (filter: blur(0)){.bdt-box-shadow-bottom{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.bdt-box-shadow-bottom::before{content:'';position:absolute;bottom:-30px;right:0;left:0;height:30px;border-radius:100%;background:#444;filter:blur(20px)}.bdt-box-shadow-bottom>*{position:relative}}.bdt-dropcap::first-letter,.bdt-dropcap>p:first-of-type::first-letter{display:block;margin-left:10px;float:right;font-size:4.5em;line-height:1}@-moz-document url-prefix(){.bdt-dropcap::first-letter,.bdt-dropcap>p:first-of-type::first-letter{margin-top:1.1%}}@supports (-ms-ime-align: auto){.bdt-dropcap>p:first-of-type::first-letter{font-size:1em}}.bdt-logo{font-size:1.5rem;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";color:#666;text-decoration:none}.bdt-logo:hover,.bdt-logo:focus{color:#666;outline:none;text-decoration:none}.bdt-logo-inverse{display:none}.bdt-disabled{pointer-events:none}.bdt-drag,.bdt-drag *{cursor:move}.bdt-drag iframe{pointer-events:none}.bdt-dragover{box-shadow:0 0 20px rgba(100,100,100,0.3)}.bdt-blend-multiply{mix-blend-mode:multiply}.bdt-blend-screen{mix-blend-mode:screen}.bdt-blend-overlay{mix-blend-mode:overlay}.bdt-blend-darken{mix-blend-mode:darken}.bdt-blend-lighten{mix-blend-mode:lighten}.bdt-blend-color-dodge{mix-blend-mode:color-dodge}.bdt-blend-color-burn{mix-blend-mode:color-burn}.bdt-blend-hard-light{mix-blend-mode:hard-light}.bdt-blend-soft-light{mix-blend-mode:soft-light}.bdt-blend-difference{mix-blend-mode:difference}.bdt-blend-exclusion{mix-blend-mode:exclusion}.bdt-blend-hue{mix-blend-mode:hue}.bdt-blend-saturation{mix-blend-mode:saturation}.bdt-blend-color{mix-blend-mode:color}.bdt-blend-luminosity{mix-blend-mode:luminosity}.bdt-transform-center{transform:translate(50%, -50%)}.bdt-transform-origin-top-left{transform-origin:100% 0}.bdt-transform-origin-top-center{transform-origin:50% 0}.bdt-transform-origin-top-right{transform-origin:0% 0}.bdt-transform-origin-center-left{transform-origin:100% 50%}.bdt-transform-origin-center-right{transform-origin:0% 50%}.bdt-transform-origin-bottom-left{transform-origin:100% 100%}.bdt-transform-origin-bottom-center{transform-origin:50% 100%}.bdt-transform-origin-bottom-right{transform-origin:0% 100%}.bdt-flex{display:flex}.bdt-flex-inline{display:inline-flex}.bdt-flex::before,.bdt-flex::after,.bdt-flex-inline::before,.bdt-flex-inline::after{display:none}.bdt-flex-left{justify-content:flex-start}.bdt-flex-center{justify-content:center}.bdt-flex-right{justify-content:flex-end}.bdt-flex-between{justify-content:space-between}.bdt-flex-around{justify-content:space-around}@media (min-width:640px){.bdt-flex-left\@s{justify-content:flex-start}.bdt-flex-center\@s{justify-content:center}.bdt-flex-right\@s{justify-content:flex-end}.bdt-flex-between\@s{justify-content:space-between}.bdt-flex-around\@s{justify-content:space-around}}@media (min-width:960px){.bdt-flex-left\@m{justify-content:flex-start}.bdt-flex-center\@m{justify-content:center}.bdt-flex-right\@m{justify-content:flex-end}.bdt-flex-between\@m{justify-content:space-between}.bdt-flex-around\@m{justify-content:space-around}}@media (min-width:1200px){.bdt-flex-left\@l{justify-content:flex-start}.bdt-flex-center\@l{justify-content:center}.bdt-flex-right\@l{justify-content:flex-end}.bdt-flex-between\@l{justify-content:space-between}.bdt-flex-around\@l{justify-content:space-around}}@media (min-width:1600px){.bdt-flex-left\@xl{justify-content:flex-start}.bdt-flex-center\@xl{justify-content:center}.bdt-flex-right\@xl{justify-content:flex-end}.bdt-flex-between\@xl{justify-content:space-between}.bdt-flex-around\@xl{justify-content:space-around}}.bdt-flex-stretch{align-items:stretch}.bdt-flex-top{align-items:flex-start}.bdt-flex-middle{align-items:center}.bdt-flex-bottom{align-items:flex-end}.bdt-flex-row{flex-direction:row}.bdt-flex-row-reverse{flex-direction:row-reverse}.bdt-flex-column{flex-direction:column}.bdt-flex-column-reverse{flex-direction:column-reverse}.bdt-flex-nowrap{flex-wrap:nowrap}.bdt-flex-wrap{flex-wrap:wrap}.bdt-flex-wrap-reverse{flex-wrap:wrap-reverse}.bdt-flex-wrap-stretch{align-content:stretch}.bdt-flex-wrap-top{align-content:flex-start}.bdt-flex-wrap-middle{align-content:center}.bdt-flex-wrap-bottom{align-content:flex-end}.bdt-flex-wrap-between{align-content:space-between}.bdt-flex-wrap-around{align-content:space-around}.bdt-flex-first{order:-1}.bdt-flex-last{order:99}@media (min-width:640px){.bdt-flex-first\@s{order:-1}.bdt-flex-last\@s{order:99}}@media (min-width:960px){.bdt-flex-first\@m{order:-1}.bdt-flex-last\@m{order:99}}@media (min-width:1200px){.bdt-flex-first\@l{order:-1}.bdt-flex-last\@l{order:99}}@media (min-width:1600px){.bdt-flex-first\@xl{order:-1}.bdt-flex-last\@xl{order:99}}.bdt-flex-none{flex:none}.bdt-flex-auto{flex:auto}.bdt-flex-1{flex:1}.bdt-margin{margin-bottom:20px}*+.bdt-margin{margin-top:20px !important}.bdt-margin-top{margin-top:20px !important}.bdt-margin-bottom{margin-bottom:20px !important}.bdt-margin-left{margin-right:20px !important}.bdt-margin-right{margin-left:20px !important}.bdt-margin-small{margin-bottom:10px}*+.bdt-margin-small{margin-top:10px !important}.bdt-margin-small-top{margin-top:10px !important}.bdt-margin-small-bottom{margin-bottom:10px !important}.bdt-margin-small-left{margin-right:10px !important}.bdt-margin-small-right{margin-left:10px !important}.bdt-margin-medium{margin-bottom:40px}*+.bdt-margin-medium{margin-top:40px !important}.bdt-margin-medium-top{margin-top:40px !important}.bdt-margin-medium-bottom{margin-bottom:40px !important}.bdt-margin-medium-left{margin-right:40px !important}.bdt-margin-medium-right{margin-left:40px !important}.bdt-margin-large{margin-bottom:40px}*+.bdt-margin-large{margin-top:40px !important}.bdt-margin-large-top{margin-top:40px !important}.bdt-margin-large-bottom{margin-bottom:40px !important}.bdt-margin-large-left{margin-right:40px !important}.bdt-margin-large-right{margin-left:40px !important}@media (min-width:1200px){.bdt-margin-large{margin-bottom:70px}*+.bdt-margin-large{margin-top:70px !important}.bdt-margin-large-top{margin-top:70px !important}.bdt-margin-large-bottom{margin-bottom:70px !important}.bdt-margin-large-left{margin-right:70px !important}.bdt-margin-large-right{margin-left:70px !important}}.bdt-margin-xlarge{margin-bottom:70px}*+.bdt-margin-xlarge{margin-top:70px !important}.bdt-margin-xlarge-top{margin-top:70px !important}.bdt-margin-xlarge-bottom{margin-bottom:70px !important}.bdt-margin-xlarge-left{margin-right:70px !important}.bdt-margin-xlarge-right{margin-left:70px !important}@media (min-width:1200px){.bdt-margin-xlarge{margin-bottom:140px}*+.bdt-margin-xlarge{margin-top:140px !important}.bdt-margin-xlarge-top{margin-top:140px !important}.bdt-margin-xlarge-bottom{margin-bottom:140px !important}.bdt-margin-xlarge-left{margin-right:140px !important}.bdt-margin-xlarge-right{margin-left:140px !important}}.bdt-margin-auto{margin-right:auto !important;margin-left:auto !important}.bdt-margin-auto-top{margin-top:auto !important}.bdt-margin-auto-bottom{margin-bottom:auto !important}.bdt-margin-auto-left{margin-right:auto !important}.bdt-margin-auto-right{margin-left:auto !important}.bdt-margin-auto-vertical{margin-top:auto !important;margin-bottom:auto !important}@media (min-width:640px){.bdt-margin-auto\@s{margin-right:auto !important;margin-left:auto !important}.bdt-margin-auto-left\@s{margin-right:auto !important}.bdt-margin-auto-right\@s{margin-left:auto !important}}@media (min-width:960px){.bdt-margin-auto\@m{margin-right:auto !important;margin-left:auto !important}.bdt-margin-auto-left\@m{margin-right:auto !important}.bdt-margin-auto-right\@m{margin-left:auto !important}}@media (min-width:1200px){.bdt-margin-auto\@l{margin-right:auto !important;margin-left:auto !important}.bdt-margin-auto-left\@l{margin-right:auto !important}.bdt-margin-auto-right\@l{margin-left:auto !important}}@media (min-width:1600px){.bdt-margin-auto\@xl{margin-right:auto !important;margin-left:auto !important}.bdt-margin-auto-left\@xl{margin-right:auto !important}.bdt-margin-auto-right\@xl{margin-left:auto !important}}.bdt-margin-remove{margin:0 !important}.bdt-margin-remove-top{margin-top:0 !important}.bdt-margin-remove-bottom{margin-bottom:0 !important}.bdt-margin-remove-left{margin-right:0 !important}.bdt-margin-remove-right{margin-left:0 !important}.bdt-margin-remove-vertical{margin-top:0 !important;margin-bottom:0 !important}.bdt-margin-remove-adjacent+*,.bdt-margin-remove-first-child>:first-child{margin-top:0 !important}.bdt-margin-remove-last-child>:last-child{margin-bottom:0 !important}@media (min-width:640px){.bdt-margin-remove-left\@s{margin-right:0 !important}.bdt-margin-remove-right\@s{margin-left:0 !important}}@media (min-width:960px){.bdt-margin-remove-left\@m{margin-right:0 !important}.bdt-margin-remove-right\@m{margin-left:0 !important}}@media (min-width:1200px){.bdt-margin-remove-left\@l{margin-right:0 !important}.bdt-margin-remove-right\@l{margin-left:0 !important}}@media (min-width:1600px){.bdt-margin-remove-left\@xl{margin-right:0 !important}.bdt-margin-remove-right\@xl{margin-left:0 !important}}.bdt-padding{padding:30px}@media (min-width:1200px){.bdt-padding{padding:40px}}.bdt-padding-small{padding:15px}.bdt-padding-large{padding:30px}@media (min-width:1200px){.bdt-padding-large{padding:70px}}.bdt-padding-remove{padding:0 !important}.bdt-padding-remove-top{padding-top:0 !important}.bdt-padding-remove-bottom{padding-bottom:0 !important}.bdt-padding-remove-left{padding-right:0 !important}.bdt-padding-remove-right{padding-left:0 !important}.bdt-padding-remove-vertical{padding-top:0 !important;padding-bottom:0 !important}.bdt-padding-remove-horizontal{padding-right:0 !important;padding-left:0 !important}[class*='bdt-position-top'],[class*='bdt-position-bottom'],[class*='bdt-position-left'],[class*='bdt-position-right'],[class*='bdt-position-center']{position:absolute !important}.bdt-position-top{top:0;right:0;left:0}.bdt-position-bottom{bottom:0;right:0;left:0}.bdt-position-left{top:0;bottom:0;right:0}.bdt-position-right{top:0;bottom:0;left:0}.bdt-position-top-left{top:0;right:0}.bdt-position-top-right{top:0;left:0}.bdt-position-bottom-left{bottom:0;right:0}.bdt-position-bottom-right{bottom:0;left:0}.bdt-position-center{top:50%;right:50%;transform:translate(50%, -50%);width:max-content;max-width:100%;box-sizing:border-box}[class*='bdt-position-center-left'],[class*='bdt-position-center-right']{top:50%;transform:translateY(-50%)}.bdt-position-center-left{right:0}.bdt-position-center-right{left:0}.bdt-position-center-left-out{left:100%;width:max-content}.bdt-position-center-right-out{right:100%;width:max-content}.bdt-position-top-center,.bdt-position-bottom-center{right:50%;transform:translateX(50%);width:max-content;max-width:100%;box-sizing:border-box}.bdt-position-top-center{top:0}.bdt-position-bottom-center{bottom:0}.bdt-position-cover{position:absolute;top:0;bottom:0;right:0;left:0}.bdt-position-relative{position:relative !important}.bdt-position-absolute{position:absolute !important}.bdt-position-fixed{position:fixed !important}.bdt-position-z-index{z-index:1}.bdt-position-small{max-width:calc(100% - (15px * 2));margin:15px}.bdt-position-small.bdt-position-center{transform:translate(50%, -50%) translate(15px, -15px)}.bdt-position-small[class*='bdt-position-center-left'],.bdt-position-small[class*='bdt-position-center-right']{transform:translateY(-50%) translateY(-15px)}.bdt-position-small.bdt-position-top-center,.bdt-position-small.bdt-position-bottom-center{transform:translateX(50%) translateX(15px)}.bdt-position-medium{max-width:calc(100% - (30px * 2));margin:30px}.bdt-position-medium.bdt-position-center{transform:translate(50%, -50%) translate(30px, -30px)}.bdt-position-medium[class*='bdt-position-center-left'],.bdt-position-medium[class*='bdt-position-center-right']{transform:translateY(-50%) translateY(-30px)}.bdt-position-medium.bdt-position-top-center,.bdt-position-medium.bdt-position-bottom-center{transform:translateX(50%) translateX(30px)}.bdt-position-large{max-width:calc(100% - (30px * 2));margin:30px}.bdt-position-large.bdt-position-center{transform:translate(50%, -50%) translate(30px, -30px)}.bdt-position-large[class*='bdt-position-center-left'],.bdt-position-large[class*='bdt-position-center-right']{transform:translateY(-50%) translateY(-30px)}.bdt-position-large.bdt-position-top-center,.bdt-position-large.bdt-position-bottom-center{transform:translateX(50%) translateX(30px)}@media (min-width:1200px){.bdt-position-large{max-width:calc(100% - (50px * 2));margin:50px}.bdt-position-large.bdt-position-center{transform:translate(50%, -50%) translate(50px, -50px)}.bdt-position-large[class*='bdt-position-center-left'],.bdt-position-large[class*='bdt-position-center-right']{transform:translateY(-50%) translateY(-50px)}.bdt-position-large.bdt-position-top-center,.bdt-position-large.bdt-position-bottom-center{transform:translateX(50%) translateX(50px)}}.bdt-transition-toggle{-webkit-tap-highlight-color:transparent}.bdt-transition-toggle:focus{outline:none}.bdt-transition-fade,[class*='bdt-transition-scale'],[class*='bdt-transition-slide']{transition:.3s ease-out;transition-property:opacity,transform,filter;opacity:0}.bdt-transition-toggle:hover .bdt-transition-fade,.bdt-transition-toggle:focus .bdt-transition-fade,.bdt-transition-active.bdt-active .bdt-transition-fade{opacity:1}.bdt-transition-scale-up{transform:scale(1, 1)}.bdt-transition-scale-down{transform:scale(1.1, 1.1)}.bdt-transition-toggle:hover .bdt-transition-scale-up,.bdt-transition-toggle:focus .bdt-transition-scale-up,.bdt-transition-active.bdt-active .bdt-transition-scale-up{opacity:1;transform:scale(1.1, 1.1)}.bdt-transition-toggle:hover .bdt-transition-scale-down,.bdt-transition-toggle:focus .bdt-transition-scale-down,.bdt-transition-active.bdt-active .bdt-transition-scale-down{opacity:1;transform:scale(1, 1)}.bdt-transition-slide-top{transform:translateY(-100%)}.bdt-transition-slide-bottom{transform:translateY(100%)}.bdt-transition-slide-left{transform:translateX(100%)}.bdt-transition-slide-right{transform:translateX(-100%)}.bdt-transition-slide-top-small{transform:translateY(-10px)}.bdt-transition-slide-bottom-small{transform:translateY(10px)}.bdt-transition-slide-left-small{transform:translateX(10px)}.bdt-transition-slide-right-small{transform:translateX(-10px)}.bdt-transition-slide-top-medium{transform:translateY(-50px)}.bdt-transition-slide-bottom-medium{transform:translateY(50px)}.bdt-transition-slide-left-medium{transform:translateX(50px)}.bdt-transition-slide-right-medium{transform:translateX(-50px)}.bdt-transition-toggle:hover [class*='bdt-transition-slide'],.bdt-transition-toggle:focus [class*='bdt-transition-slide'],.bdt-transition-active.bdt-active [class*='bdt-transition-slide']{opacity:1;transform:translate(0, 0)}.bdt-transition-opaque{opacity:1}.bdt-transition-slow{transition-duration:.7s}[hidden],.bdt-hidden{display:none !important}@media (min-width:640px){.bdt-hidden\@s{display:none !important}}@media (min-width:960px){.bdt-hidden\@m{display:none !important}}@media (min-width:1200px){.bdt-hidden\@l{display:none !important}}@media (min-width:1600px){.bdt-hidden\@xl{display:none !important}}@media (max-width:639px){.bdt-visible\@s{display:none !important}}@media (max-width:959px){.bdt-visible\@m{display:none !important}}@media (max-width:1199px){.bdt-visible\@l{display:none !important}}@media (max-width:1599px){.bdt-visible\@xl{display:none !important}}.bdt-invisible{visibility:hidden !important}.bdt-visible-toggle:not(:hover):not(:focus) .bdt-hidden-hover:not(:focus-within){position:absolute !important;width:0 !important;height:0 !important;padding:0 !important;margin:0 !important;overflow:hidden !important}.bdt-visible-toggle:not(:hover):not(:focus) .bdt-invisible-hover:not(:focus-within){opacity:0 !important}.bdt-visible-toggle{-webkit-tap-highlight-color:transparent}.bdt-visible-toggle:focus{outline:none}@media (pointer:coarse){.bdt-hidden-touch{display:none !important}}.bdt-hidden-notouch{display:none !important}@media (pointer:coarse){.bdt-hidden-notouch{display:block !important}}@media print{*,*::before,*::after{background:transparent !important;color:black !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}
|
|
assets/css/element-pack-editor.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
#elementor-panel-category-element-pack .elementor-element:hover .icon,#elementor-panel-category-element-pack .elementor-element:hover .title{color:#14ABF4}.elementor-element .icon{position:relative}.elementor-element .icon i[class^="bdt-wi-"]:after{content:'EP';position:absolute;right:5px;top:5px;font-size:10px;opacity:.4}#elementor-panel #elementor-panel-header-title span.bdt-widget-badge:after,#elementor-panel .elementor-control-title span.bdt-widget-badge:after,#elementor-panel .elementor-section-title span.bdt-widget-badge:after{content:'EP';background-color:#fff;color:#d30c5c;font-size:10px;font-weight:700;border-radius:30px;padding:2px 3px;margin-right:4px;vertical-align:middle}#elementor-panel .elementor-control-title span.bdt-widget-badge:after,#elementor-panel .elementor-section-title span.bdt-widget-badge:after{background-color:#e0e6ec;color:#50565d}.tm-header-wrapper{pointer-events:none}@font-face{font-family:'element-pack-widgets-icon';src:url('../fonts/element-pack-widgets-icon.ttf?6ne4z9') format('truetype'),url('../fonts/element-pack-widgets-icon.woff?6ne4z9') format('woff'),url('../fonts/element-pack-widgets-icon.svg?6ne4z9#element-pack-widgets-icon') format('svg');font-weight:normal;font-style:normal}[class^="bdt-wi-"],[class*=" bdt-wi-"]{font-family:'element-pack-widgets-icon' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bdt-wi-element-parallax:before{content:"\e900"}.bdt-wi-parallax-background:before{content:"\e901"}.bdt-wi-parallax-section:before{content:"\e902"}.bdt-wi-schedule-content:before{content:"\e903"}.bdt-wi-scroll-navigation:before{content:"\e904"}.bdt-wi-section-particles:before{content:"\e905"}.bdt-wi-sticky-section:before{content:"\e906"}.bdt-wi-widget-tooltip:before{content:"\e907"}.bdt-wi-cryptocurrency-card:before{content:"\e96a"}.bdt-wi-cryptocurrency-table:before{content:"\e96b"}.bdt-wi-social-review:before{content:"\e96c"}.bdt-wi-qr-code:before{content:"\e93d"}.bdt-wi-360-product-viewer:before{content:"\e908"}.bdt-wi-accordion:before{content:"\e909"}.bdt-wi-advanced-button:before{content:"\e90a"}.bdt-wi-advanced-google-map:before{content:"\e90b"}.bdt-wi-advanced-heading:before{content:"\e90c"}.bdt-wi-advanced-icon-box:before{content:"\e90d"}.bdt-wi-advanced-image-gallery:before{content:"\e90e"}.bdt-wi-animated-heading:before{content:"\e90f"}.bdt-wi-audio-player:before{content:"\e910"}.bdt-wi-business-hours:before{content:"\e911"}.bdt-wi-call-out:before{content:"\e912"}.bdt-wi-carousel:before{content:"\e913"}.bdt-wi-chart:before{content:"\e914"}.bdt-wi-circle-menu:before{content:"\e915"}.bdt-wi-comment:before{content:"\e916"}.bdt-wi-cookie-consent:before{content:"\e917"}.bdt-wi-countdown:before{content:"\e918"}.bdt-wi-custom-carousel:before{content:"\e919"}.bdt-wi-custom-gallery:before{content:"\e91a"}.bdt-wi-device-slider:before{content:"\e91b"}.bdt-wi-document-viewer:before{content:"\e91c"}.bdt-wi-dropbar:before{content:"\e91d"}.bdt-wi-dual-button:before{content:"\e91e"}.bdt-wi-faq:before{content:"\e91f"}.bdt-wi-flip-box:before{content:"\e920"}.bdt-wi-help-desk:before{content:"\e921"}.bdt-wi-icon-nav:before{content:"\e922"}.bdt-wi-iframe:before{content:"\e923"}.bdt-wi-instagram:before{content:"\e924"}.bdt-wi-image-compare:before{content:"\e925"}.bdt-wi-image-magnifier:before{content:"\e926"}.bdt-wi-lightbox:before{content:"\e927"}.bdt-wi-mailchimp:before{content:"\e928"}.bdt-wi-marker:before{content:"\e929"}.bdt-wi-member:before{content:"\e92a"}.bdt-wi-modal:before{content:"\e92b"}.bdt-wi-navbar:before{content:"\e92c"}.bdt-wi-news-ticker:before{content:"\e92d"}.bdt-wi-offcanvas:before{content:"\e92e"}.bdt-wi-open-street-map:before{content:"\e92f"}.bdt-wi-panel-slider:before{content:"\e930"}.bdt-wi-post-block:before{content:"\e931"}.bdt-wi-post-block-modern:before{content:"\e932"}.bdt-wi-post-card:before{content:"\e933"}.bdt-wi-post-gallery:before{content:"\e934"}.bdt-wi-post-grid:before{content:"\e935"}.bdt-wi-post-grid-tab:before{content:"\e936"}.bdt-wi-post-list:before{content:"\e937"}.bdt-wi-post-slider:before{content:"\e938"}.bdt-wi-pricing-list:before{content:"\e939"}.bdt-wi-pricing-table:before{content:"\e93a"}.bdt-wi-progress-pie:before{content:"\e93b"}.bdt-wi-protected-content:before{content:"\e93c"}.bdt-wi-scroll-button:before{content:"\e93e"}.bdt-wi-scroll-image:before{content:"\e93f"}.bdt-wi-search:before{content:"\e940"}.bdt-wi-simple-contact-form:before{content:"\e941"}.bdt-wi-single-post:before{content:"\e942"}.bdt-wi-slider:before{content:"\e943"}.bdt-wi-slideshow:before{content:"\e944"}.bdt-wi-social-share:before{content:"\e945"}.bdt-wi-switcher:before{content:"\e946"}.bdt-wi-table:before{content:"\e947"}.bdt-wi-table-of-content:before{content:"\e948"}.bdt-wi-tabs:before{content:"\e949"}.bdt-wi-testimonial-carousel:before{content:"\e94a"}.bdt-wi-testimonial-grid:before{content:"\e94b"}.bdt-wi-testimonial-slider:before{content:"\e94c"}.bdt-wi-thumb-gallery:before{content:"\e94d"}.bdt-wi-timeline:before{content:"\e94e"}.bdt-wi-toggle:before{content:"\e94f"}.bdt-wi-trailer-box:before{content:"\e950"}.bdt-wi-twitter-carousel:before{content:"\e951"}.bdt-wi-twitter-slider:before{content:"\e952"}.bdt-wi-user-login:before{content:"\e953"}.bdt-wi-user-register:before{content:"\e954"}.bdt-wi-video-gallery:before{content:"\e955"}.bdt-wi-video-player:before{content:"\e956"}.bdt-wi-weather:before{content:"\e957"}.bdt-wi-bbpress:before{content:"\e958"}.bdt-wi-book-calendar:before{content:"\e959"}.bdt-wi-buddypress:before{content:"\e95a"}.bdt-wi-caldera-forms:before{content:"\e95b"}.bdt-wi-contact-form-7:before{content:"\e95c"}.bdt-wi-download-monitor:before{content:"\e95d"}.bdt-wi-easy-digital-downloads:before{content:"\e95e"}.bdt-wi-event-calendar:before{content:"\e95f"}.bdt-wi-gravity-forms:before{content:"\e960"}.bdt-wi-instagram-feed:before{content:"\e961"}.bdt-wi-layer-slider:before{content:"\e962"}.bdt-wi-mailchimp-for-wordpress:before{content:"\e963"}.bdt-wi-ninja-forms:before{content:"\e964"}.bdt-wi-quform:before{content:"\e965"}.bdt-wi-revolution-slider:before{content:"\e966"}.bdt-wi-Table-press:before{content:"\e967"}.bdt-wi-woocommerce:before{content:"\e968"}.bdt-wi-wp-form:before{content:"\e969"}
|
|
assets/css/element-pack-editor.rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
#elementor-panel-category-element-pack .elementor-element:hover .icon,#elementor-panel-category-element-pack .elementor-element:hover .title{color:#14ABF4}.elementor-element .icon{position:relative}.elementor-element .icon i[class^="bdt-wi-"]:after{content:'EP';position:absolute;left:5px;top:5px;font-size:10px;opacity:.4}#elementor-panel #elementor-panel-header-title span.bdt-widget-badge:after,#elementor-panel .elementor-control-title span.bdt-widget-badge:after,#elementor-panel .elementor-section-title span.bdt-widget-badge:after{content:'EP';background-color:#fff;color:#d30c5c;font-size:10px;font-weight:700;border-radius:30px;padding:2px 3px;margin-left:4px;vertical-align:middle}#elementor-panel .elementor-control-title span.bdt-widget-badge:after,#elementor-panel .elementor-section-title span.bdt-widget-badge:after{background-color:#e0e6ec;color:#50565d}.tm-header-wrapper{pointer-events:none}@font-face{font-family:'element-pack-widgets-icon';src:url('../fonts/element-pack-widgets-icon.ttf?6ne4z9') format('truetype'),url('../fonts/element-pack-widgets-icon.woff?6ne4z9') format('woff'),url('../fonts/element-pack-widgets-icon.svg?6ne4z9#element-pack-widgets-icon') format('svg');font-weight:normal;font-style:normal}[class^="bdt-wi-"],[class*=" bdt-wi-"]{font-family:'element-pack-widgets-icon' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bdt-wi-element-parallax:before{content:"\e900"}.bdt-wi-parallax-background:before{content:"\e901"}.bdt-wi-parallax-section:before{content:"\e902"}.bdt-wi-schedule-content:before{content:"\e903"}.bdt-wi-scroll-navigation:before{content:"\e904"}.bdt-wi-section-particles:before{content:"\e905"}.bdt-wi-sticky-section:before{content:"\e906"}.bdt-wi-widget-tooltip:before{content:"\e907"}.bdt-wi-cryptocurrency-card:before{content:"\e96a"}.bdt-wi-cryptocurrency-table:before{content:"\e96b"}.bdt-wi-social-review:before{content:"\e96c"}.bdt-wi-qr-code:before{content:"\e93d"}.bdt-wi-360-product-viewer:before{content:"\e908"}.bdt-wi-accordion:before{content:"\e909"}.bdt-wi-advanced-button:before{content:"\e90a"}.bdt-wi-advanced-google-map:before{content:"\e90b"}.bdt-wi-advanced-heading:before{content:"\e90c"}.bdt-wi-advanced-icon-box:before{content:"\e90d"}.bdt-wi-advanced-image-gallery:before{content:"\e90e"}.bdt-wi-animated-heading:before{content:"\e90f"}.bdt-wi-audio-player:before{content:"\e910"}.bdt-wi-business-hours:before{content:"\e911"}.bdt-wi-call-out:before{content:"\e912"}.bdt-wi-carousel:before{content:"\e913"}.bdt-wi-chart:before{content:"\e914"}.bdt-wi-circle-menu:before{content:"\e915"}.bdt-wi-comment:before{content:"\e916"}.bdt-wi-cookie-consent:before{content:"\e917"}.bdt-wi-countdown:before{content:"\e918"}.bdt-wi-custom-carousel:before{content:"\e919"}.bdt-wi-custom-gallery:before{content:"\e91a"}.bdt-wi-device-slider:before{content:"\e91b"}.bdt-wi-document-viewer:before{content:"\e91c"}.bdt-wi-dropbar:before{content:"\e91d"}.bdt-wi-dual-button:before{content:"\e91e"}.bdt-wi-faq:before{content:"\e91f"}.bdt-wi-flip-box:before{content:"\e920"}.bdt-wi-help-desk:before{content:"\e921"}.bdt-wi-icon-nav:before{content:"\e922"}.bdt-wi-iframe:before{content:"\e923"}.bdt-wi-instagram:before{content:"\e924"}.bdt-wi-image-compare:before{content:"\e925"}.bdt-wi-image-magnifier:before{content:"\e926"}.bdt-wi-lightbox:before{content:"\e927"}.bdt-wi-mailchimp:before{content:"\e928"}.bdt-wi-marker:before{content:"\e929"}.bdt-wi-member:before{content:"\e92a"}.bdt-wi-modal:before{content:"\e92b"}.bdt-wi-navbar:before{content:"\e92c"}.bdt-wi-news-ticker:before{content:"\e92d"}.bdt-wi-offcanvas:before{content:"\e92e"}.bdt-wi-open-street-map:before{content:"\e92f"}.bdt-wi-panel-slider:before{content:"\e930"}.bdt-wi-post-block:before{content:"\e931"}.bdt-wi-post-block-modern:before{content:"\e932"}.bdt-wi-post-card:before{content:"\e933"}.bdt-wi-post-gallery:before{content:"\e934"}.bdt-wi-post-grid:before{content:"\e935"}.bdt-wi-post-grid-tab:before{content:"\e936"}.bdt-wi-post-list:before{content:"\e937"}.bdt-wi-post-slider:before{content:"\e938"}.bdt-wi-pricing-list:before{content:"\e939"}.bdt-wi-pricing-table:before{content:"\e93a"}.bdt-wi-progress-pie:before{content:"\e93b"}.bdt-wi-protected-content:before{content:"\e93c"}.bdt-wi-scroll-button:before{content:"\e93e"}.bdt-wi-scroll-image:before{content:"\e93f"}.bdt-wi-search:before{content:"\e940"}.bdt-wi-simple-contact-form:before{content:"\e941"}.bdt-wi-single-post:before{content:"\e942"}.bdt-wi-slider:before{content:"\e943"}.bdt-wi-slideshow:before{content:"\e944"}.bdt-wi-social-share:before{content:"\e945"}.bdt-wi-switcher:before{content:"\e946"}.bdt-wi-table:before{content:"\e947"}.bdt-wi-table-of-content:before{content:"\e948"}.bdt-wi-tabs:before{content:"\e949"}.bdt-wi-testimonial-carousel:before{content:"\e94a"}.bdt-wi-testimonial-grid:before{content:"\e94b"}.bdt-wi-testimonial-slider:before{content:"\e94c"}.bdt-wi-thumb-gallery:before{content:"\e94d"}.bdt-wi-timeline:before{content:"\e94e"}.bdt-wi-toggle:before{content:"\e94f"}.bdt-wi-trailer-box:before{content:"\e950"}.bdt-wi-twitter-carousel:before{content:"\e951"}.bdt-wi-twitter-slider:before{content:"\e952"}.bdt-wi-user-login:before{content:"\e953"}.bdt-wi-user-register:before{content:"\e954"}.bdt-wi-video-gallery:before{content:"\e955"}.bdt-wi-video-player:before{content:"\e956"}.bdt-wi-weather:before{content:"\e957"}.bdt-wi-bbpress:before{content:"\e958"}.bdt-wi-book-calendar:before{content:"\e959"}.bdt-wi-buddypress:before{content:"\e95a"}.bdt-wi-caldera-forms:before{content:"\e95b"}.bdt-wi-contact-form-7:before{content:"\e95c"}.bdt-wi-download-monitor:before{content:"\e95d"}.bdt-wi-easy-digital-downloads:before{content:"\e95e"}.bdt-wi-event-calendar:before{content:"\e95f"}.bdt-wi-gravity-forms:before{content:"\e960"}.bdt-wi-instagram-feed:before{content:"\e961"}.bdt-wi-layer-slider:before{content:"\e962"}.bdt-wi-mailchimp-for-wordpress:before{content:"\e963"}.bdt-wi-ninja-forms:before{content:"\e964"}.bdt-wi-quform:before{content:"\e965"}.bdt-wi-revolution-slider:before{content:"\e966"}.bdt-wi-Table-press:before{content:"\e967"}.bdt-wi-woocommerce:before{content:"\e968"}.bdt-wi-wp-form:before{content:"\e969"}
|
|
assets/css/element-pack-preview.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.elementor-editor-active .quform-edit-form,.elementor-editor-preview .quform-edit-form,.elementor-editor-active .tablepress>caption,.elementor-editor-preview .tablepress>caption{display:none}.elementor-editor-active .swiper-pagination,.elementor-editor-preview .swiper-pagination{z-index:0}.elementor-editor-active .tm-header-wrapper{z-index:0}.elementor-editor-active .bdt-elementor-template-edit-link{position:absolute;top:5px;right:5px;display:inline-block;padding:5px 8px;background-color:#10bcf2;color:#fff;border-radius:2px;font-size:14px;line-height:1;text-align:center}.elementor-editor-active .bdt-elementor-template-edit-link:not(:hover){background-image:linear-gradient(to top, #41c9f4, #71d7f7)}.gform_wrapper ul.gform_fields{margin:0;list-style-type:none;display:block}.gform_wrapper form li,.gform_wrapper li{margin-left:0;list-style:none;overflow:visible;margin-top:16px}.gform_wrapper .gform_footer{padding:16px 0 10px;margin:16px 0 0}#elementor-panel-category-element-pack .elementor-element:hover .icon,#elementor-panel-category-element-pack .elementor-element:hover .title{color:#14ABF4}.elementor-widget-bdt-instagram,.elementor-widget-bdt-advanced-image-gallery{min-height:1px}.zm-viewer{z-index:0 !important}
|
|
assets/css/element-pack-preview.rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.elementor-editor-active .quform-edit-form,.elementor-editor-preview .quform-edit-form,.elementor-editor-active .tablepress>caption,.elementor-editor-preview .tablepress>caption{display:none}.elementor-editor-active .swiper-pagination,.elementor-editor-preview .swiper-pagination{z-index:0}.elementor-editor-active .tm-header-wrapper{z-index:0}.elementor-editor-active .bdt-elementor-template-edit-link{position:absolute;top:5px;left:5px;display:inline-block;padding:5px 8px;background-color:#10bcf2;color:#fff;border-radius:2px;font-size:14px;line-height:1;text-align:center}.elementor-editor-active .bdt-elementor-template-edit-link:not(:hover){background-image:linear-gradient(to top, #41c9f4, #71d7f7)}.gform_wrapper ul.gform_fields{margin:0;list-style-type:none;display:block}.gform_wrapper form li,.gform_wrapper li{margin-right:0;list-style:none;overflow:visible;margin-top:16px}.gform_wrapper .gform_footer{padding:16px 0 10px;margin:16px 0 0}#elementor-panel-category-element-pack .elementor-element:hover .icon,#elementor-panel-category-element-pack .elementor-element:hover .title{color:#14ABF4}.elementor-widget-bdt-instagram,.elementor-widget-bdt-advanced-image-gallery{min-height:1px}.zm-viewer{z-index:0 !important}
|
|
assets/css/element-pack-site.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.hook-modal-dialog{border-radius:3px}.hook-modal-title{font-weight:400}.bdt-cover{max-width:none !important}.bdt-drop .bdt-card p:empty{display:none}.bdt-drop .bdt-card p:not(:first-child){margin-top:15px;margin-bottom:0}.elementor-align-justify .bdt-button{width:100%}.bdt-notification .bdt-spinner{vertical-align:middle}.bdt-notification .bdt-spinner svg{width:20px;height:auto}.bdt-notification .bdt-icon{margin-right:10px;vertical-align:middle;line-height:normal}.bdt-notification .bdt-close{top:50%;transform:translateY(-50%)}.bdt-notification .bdt-notification-message{padding:20px 40px 20px 20px;background:#ffffff;font-size:1rem;box-shadow:0 5px 20px rgba(0,0,0,0.1);border-radius:3px}.bdt-slideshow .bdt-slideshow-items{padding:0;margin:0}.bdt-slideshow .bdt-slideshow-items[bdt-height-viewport] .bdt-slideshow-item img{width:auto !important;height:auto}.bdt-modal-full{background-color:#fff}.hook-button{border-radius:3px}.hook-form{border-radius:3px}.bdt-sticky-wrapper{width:100%}.bdt-heading-title:before,.bdt-heading-tag:before,.bdt-slide-title:before{content:none}.bdt-tippy-tooltip{outline:none}@media (max-width:1200px){.bdt-user-login a.elementor-button .elementor-button-icon,.bdt-user-register a.elementor-button .elementor-button-icon{margin-left:0 !important;margin-right:0 !important}}.bdt-particle-container{position:absolute;width:100%;height:100%;top:0;left:0}.bdt-particle-container canvas{display:block;vertical-align:bottom}.bdt-particle-container .particles-js-canvas-el{position:absolute;top:0;transform:scale(1);opacity:1;animation:appear 1.4s 1;animation-fill-mode:forwards}@-webkit-keyframes appear{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes appear{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}.elementor-control.elementor-control-type-heading{margin-top:-1px}.elementor-lightbox .dialog-close-button .eicon-close{transition:transform .3s}.elementor-lightbox .dialog-close-button:hover .eicon-close{transform:rotate(90deg)}.elementor-lightbox .elementor-swiper-button-next .eicon-chevron-right,.elementor-lightbox .elementor-swiper-button-prev .eicon-chevron-left{transition:transform .3s}.elementor-lightbox .elementor-swiper-button-prev:hover .eicon-chevron-left{transform:scale(1.2)}.elementor-lightbox .elementor-swiper-button-next:hover .eicon-chevron-right{transform:scale(1.2)}.bdt-dots-container .swiper-pagination,.bdt-arrows-dots-container .swiper-pagination{position:relative}.bdt-dots-container .swiper-pagination .swiper-pagination-bullet,.bdt-arrows-dots-container .swiper-pagination .swiper-pagination-bullet{width:10px;height:10px}.bdt-dots-container .swiper-pagination .swiper-pagination-bullet+.swiper-pagination-bullet,.bdt-arrows-dots-container .swiper-pagination .swiper-pagination-bullet+.swiper-pagination-bullet{margin-left:5px}.bdt-dots-container .swiper-pagination.swiper-pagination-fraction,.bdt-arrows-dots-container .swiper-pagination.swiper-pagination-fraction{bottom:auto}[class*='bdt-arrows-align-top'] .bdt-arrows-container{transform:translateY(-40px)}[class*='bdt-arrows-align-bottom'] .bdt-arrows-container{transform:translateY(40px)}[class*='bdt-dots-align-top'] .bdt-dots-container{transform:translateY(-30px)}[class*='bdt-dots-align-bottom'] .bdt-dots-container{transform:translateY(30px)}[class*='bdt-arrows-dots-align-top'] .bdt-arrows-dots-container{transform:translateY(-40px)}[class*='bdt-arrows-dots-align-bottom'] .bdt-arrows-dots-container{transform:translateY(40px)}.bdt-arrows-align-center .bdt-position-center,.bdt-arrows-dots-align-center .bdt-position-center{width:100%}.bdt-arrows-align-center .bdt-navigation-prev,.bdt-arrows-dots-align-center .bdt-navigation-prev{left:0;position:absolute;transform:translateY(-50%)}.bdt-arrows-align-center .bdt-navigation-next,.bdt-arrows-dots-align-center .bdt-navigation-next{right:0;position:absolute;transform:translateY(-50%)}.bdt-arrows-dots-align-center .bdt-dots-container .swiper-pagination,.bdt-arrows-dots-align-center .bdt-arrows-dots-container .swiper-pagination{position:absolute;width:100%}.bdt-navigation-type-progress .swiper-pagination-progress{transform:translateY(15px);height:5px;width:100%}.elementor-section.bdt-sticky{transition:background-color 250ms ease-out,padding 300ms ease-out}.bdt-motion-effect-yes{transition:transform 300ms ease-out}.bdt-element-align-wrapper{flex-wrap:wrap;display:flex;position:relative}.bdt-element-align-center .bdt-element-align-wrapper{justify-content:center}.bdt-element-align-stretch .bdt-element-align-wrapper .bdt-element{flex-basis:100%}.bdt-element-align-start .bdt-element-align-wrapper{justify-content:flex-start}.bdt-element-align-end .bdt-element-align-wrapper{justify-content:flex-end}@media screen and (max-width:1024px){.bdt-element-align-tablet-center .bdt-element-align-wrapper{justify-content:center}.bdt-element-align-tablet-stretch .bdt-element-align-wrapper .bdt-element{flex-basis:100%}.bdt-element-align-tablet-start .bdt-element-align-wrapper{justify-content:flex-start}.bdt-element-align-tablet-end .bdt-element-align-wrapper{justify-content:flex-end}}@media screen and (max-width:767px){.bdt-element-align-mobile-center .bdt-element-align-wrapper{justify-content:center}.bdt-element-align-mobile-stretch .bdt-element-align-wrapper .bdt-element{flex-basis:100%}.bdt-element-align-mobile-start .bdt-element-align-wrapper{justify-content:flex-start}.bdt-element-align-mobile-end .bdt-element-align-wrapper{justify-content:flex-end}}.bdt-carousel .swiper-container,.bdt-wc-carousel .swiper-container,.bdt-testimonial-carousel .swiper-container,.bdt-event-carousel-skin-fable .swiper-container,.bdt-event-carousel .swiper-container{padding:10px;margin:0 -10px}.bdt-carousel .swiper-container:not(.swiper-container-horizontal),.bdt-wc-carousel .swiper-container:not(.swiper-container-horizontal),.bdt-testimonial-carousel .swiper-container:not(.swiper-container-horizontal),.bdt-event-carousel-skin-fable .swiper-container:not(.swiper-container-horizontal),.bdt-event-carousel .swiper-container:not(.swiper-container-horizontal){opacity:0}.bdt-carousel .swiper-container:not(.swiper-container-horizontal) .bdt-event-item,.bdt-wc-carousel .swiper-container:not(.swiper-container-horizontal) .bdt-event-item,.bdt-testimonial-carousel .swiper-container:not(.swiper-container-horizontal) .bdt-event-item,.bdt-event-carousel-skin-fable .swiper-container:not(.swiper-container-horizontal) .bdt-event-item,.bdt-event-carousel .swiper-container:not(.swiper-container-horizontal) .bdt-event-item{max-width:350px}.bdt-carousel .swiper-container.swiper-container-horizontal,.bdt-wc-carousel .swiper-container.swiper-container-horizontal,.bdt-testimonial-carousel .swiper-container.swiper-container-horizontal,.bdt-event-carousel-skin-fable .swiper-container.swiper-container-horizontal,.bdt-event-carousel .swiper-container.swiper-container-horizontal{opacity:1;transition:opacity 400ms ease-out}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-container-horizontal .swiper-pagination-bullets,.swiper-container-horizontal+.swiper-pagination-bullets{bottom:-50px;width:100%}.swiper-pagination-fraction .swiper-pagination-bullet,.swiper-pagination-custom .swiper-pagination-bullet,.swiper-container-horizontal .swiper-pagination-bullets .swiper-pagination-bullet,.swiper-container-horizontal+.swiper-pagination-bullets .swiper-pagination-bullet{width:10px;height:10px;margin:0 5px}.bdt-pagination-dot-dot{display:flex;align-items:center;justify-content:center}.bdt-pagination-dot-dot span{line-height:1px;height:13px;color:#bbb !important}.elementor-widget-container .bdt-subnav{margin-bottom:10px;margin-top:0;color:#999}.elementor-widget-container .bdt-subnav *{font-size:13px;font-weight:400}.elementor-widget-container .bdt-subnav span{color:inherit}.elementor-widget-container .bdt-subnav span span{display:inline-block}.elementor-widget-container .bdt-subnav span a{display:inline-block;transition:color .5s cubic-bezier(.4, .7, .04, .88)}.elementor-widget-container .bdt-subnav span a:hover{color:#666}.elementor-widget-container .bdt-subnav span a+a{margin-right:5px;color:#999}.elementor-widget-container .bdt-subnav span:after{content:'';height:4px;width:4px;border-radius:50%;background:#adb5bd;margin-right:-10px;margin-left:10px;display:inline-block;line-height:4px;vertical-align:middle}.elementor-widget-container .bdt-subnav span:last-child::after{content:none}.bdt-button-icon-align-left{float:left}.bdt-button-icon-align-right{float:right}.bdt-flex-align-left{order:-1}.bdt-flex-align-right{order:99}.bdt-ep-grid{display:flex;flex-wrap:wrap}.bdt-ep-grid .bdt-ep-grid-item{word-break:break-word}.bdt-ep-grid-1 .bdt-ep-grid-item{width:100%}.bdt-ep-grid-2 .bdt-ep-grid-item{width:50%}.bdt-ep-grid-3 .bdt-ep-grid-item{width:33.33333%}.bdt-ep-grid-4 .bdt-ep-grid-item{width:25%}.bdt-ep-grid-5 .bdt-ep-grid-item{width:20%}.bdt-ep-grid-6 .bdt-ep-grid-item{width:16.66667%}.bdt-ep-grid-7 .bdt-ep-grid-item{width:14.28571%}.bdt-ep-grid-8 .bdt-ep-grid-item{width:12.5%}.bdt-ep-grid-9 .bdt-ep-grid-item{width:11.11111%}.bdt-ep-grid-10 .bdt-ep-grid-item{width:10%}.bdt-ep-grid-11 .bdt-ep-grid-item{width:9.09091%}.bdt-ep-grid-12 .bdt-ep-grid-item{width:8.33333%}@media (max-width:1024px){.bdt-ep-grid-tablet-1 .bdt-ep-grid-item{width:100%}.bdt-ep-grid-tablet-2 .bdt-ep-grid-item{width:50%}.bdt-ep-grid-tablet-3 .bdt-ep-grid-item{width:33.33333%}.bdt-ep-grid-tablet-4 .bdt-ep-grid-item{width:25%}.bdt-ep-grid-tablet-5 .bdt-ep-grid-item{width:20%}.bdt-ep-grid-tablet-6 .bdt-ep-grid-item{width:16.66667%}.bdt-ep-grid-tablet-7 .bdt-ep-grid-item{width:14.28571%}.bdt-ep-grid-tablet-8 .bdt-ep-grid-item{width:12.5%}.bdt-ep-grid-tablet-9 .bdt-ep-grid-item{width:11.11111%}.bdt-ep-grid-tablet-10 .bdt-ep-grid-item{width:10%}.bdt-ep-grid-tablet-11 .bdt-ep-grid-item{width:9.09091%}.bdt-ep-grid-tablet-12 .bdt-ep-grid-item{width:8.33333%}}@media (max-width:767px){.bdt-ep-grid-mobile-1 .bdt-ep-grid-item{width:100%}.bdt-ep-grid-mobile-2 .bdt-ep-grid-item{width:50%}.bdt-ep-grid-mobile-3 .bdt-ep-grid-item{width:33.33333%}.bdt-ep-grid-mobile-4 .bdt-ep-grid-item{width:25%}.bdt-ep-grid-mobile-5 .bdt-ep-grid-item{width:20%}.bdt-ep-grid-mobile-6 .bdt-ep-grid-item{width:16.66667%}.bdt-ep-grid-mobile-7 .bdt-ep-grid-item{width:14.28571%}.bdt-ep-grid-mobile-8 .bdt-ep-grid-item{width:12.5%}.bdt-ep-grid-mobile-9 .bdt-ep-grid-item{width:11.11111%}.bdt-ep-grid-mobile-10 .bdt-ep-grid-item{width:10%}.bdt-ep-grid-mobile-11 .bdt-ep-grid-item{width:9.09091%}.bdt-ep-grid-mobile-12 .bdt-ep-grid-item{width:8.33333%}}.bdt-masonry-grid .bdt-gallery-item{float:left;height:auto}.bdt-masonry-grid .bdt-gallery-item .bdt-gallery-thumbnail img{height:auto}.swiper-container .elementor-lightbox-content-source{display:none}.swiper-slide{border-style:solid;border-width:0;overflow:hidden}.swiper-container-horizontal+.swiper-pagination-progressbar,.swiper-container-vertical+.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px}.swiper-pagination-progressbar{background:rgba(0,0,0,0.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.bdt-animated-slow>span{animation-duration:2s}.bdt-animated-fast>span{animation-duration:.75s}.bdt-scrollnav-fixed-yes .elementor-widget-container{margin:0 !important;padding:0 !important;border:none !important}.bdt-scrollnav-fixed-yes .bdt-scrollnav{position:fixed !important}.bdt-scrollnav-fixed-yes .bdt-scrollnav [class*="bdt-navbar"]{margin:30px}.bdt-comment-container .fb_iframe_widget,.bdt-comment-container .fb_iframe_widget span,.bdt-comment-container .fb_iframe_widget iframe{width:100% !important}.bdt-ep-grid-filters-wrapper{margin-bottom:30px}.bdt-ep-grid-filters-wrapper ul li{cursor:pointer;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters{padding:0;margin:0}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters .bdt-ep-grid-filter{display:inline-block;font-weight:700;border-bottom:2px solid transparent}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters .bdt-ep-grid-filter.bdt-active{border-bottom-color:#444}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters .bdt-ep-grid-filter:not(:first-child){margin-left:calc(15px)}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters .bdt-ep-grid-filter:not(:last-child){margin-right:calc(15px)}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters .bdt-ep-grid-filter .bdt-dropdown ul li.bdt-ep-grid-filter{margin:0}@media (min-width:1024px){.bdt-ep-grid-filter-container{transition:height .5s ease-out}}.bdt-document-viewer iframe{border:none}iframe[data-src]:not(.lazy-loaded),.bdt-lazy-loading{background:rgba(152,152,152,0.07);background-image:url('../images/loading.svg');background-repeat:no-repeat;background-position:center}.bdt-dummy-loader{height:250px;background:rgba(152,152,152,0.05);background-repeat:no-repeat;background-position:center;animation-name:dummy-loader-animation;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:ease-in}@keyframes dummy-loader-animation{0%{background:rgba(152,152,152,0.05)}50%{background:rgba(152,152,152,0.2)}100%{background:rgba(152,152,152,0.05)}}.bdt-modal-link{cursor:pointer}.bdt-modal-link *{cursor:pointer}.bdt-ep-shadow-mode-yes .elementor-widget-container:before,.bdt-ep-shadow-mode-yes .elementor-widget-container:after{content:'';position:absolute;width:20%;height:100%;top:0;z-index:2;pointer-events:none}.bdt-ep-shadow-mode-yes .elementor-widget-container:before{left:0;background:linear-gradient(to right, #fff 5%, rgba(255,255,255,0) 100%);left:-10px}.bdt-ep-shadow-mode-yes .elementor-widget-container:after{right:0;background:linear-gradient(to right, rgba(255,255,255,0) 0, #fff 95%);right:-10px}@media (max-width:767px){.bdt-ep-shadow-mode-yes .elementor-widget-container:before,.bdt-ep-shadow-mode-yes .elementor-widget-container:after{content:none}}@keyframes totopscroller{0%{transform:translateY(0)}100%{transform:translateY(-20px)}}.bdt-ep-scroll-to-section{margin-bottom:50px;z-index:2}.bdt-ep-scroll-to-section a{animation:totopscroller 1.5s linear infinite alternate;padding:12px 8px;background:rgba(0,0,0,0) none repeat scroll 0 0;border:2px solid #fff;border-radius:5000px;color:#eee;display:inline-block;font-size:18px;font-weight:600;overflow:hidden;transition:all .3s ease 0s}.bdt-ep-scroll-to-section a:hover{background:#fff;color:#282828;border:2px solid #fff}@keyframes attentionAnimation{0%{left:0}1%{left:-3px}2%{left:5px}3%{left:-8px}4%{left:8px}5%{left:-5px}6%{left:3px}7%{left:0}}.bdt-ep-attention-button{animation-name:attentionAnimation;animation-duration:5s;animation-iteration-count:infinite;animation-timing-function:ease-in;position:relative}.elementor-widget-wrap [data-tilt]{transition:box-shadow 400ms cubic-bezier(.25, .9, .58, 1)}.elementor-widget-wrap [data-tilt]:hover{box-shadow:0 20px 50px -10px rgba(0,0,0,0.45),0 50px 90px 0 rgba(51,51,51,0.15)}.bdt-post-grid-tab dl{opacity:0;transition:opacity 450ms cubic-bezier(.3, .91, .58, 1)}.bdt-post-grid-tab .gridtab[class*="gridtab--"]{opacity:1}.bdt-hide-recaptcha-badge-yes .grecaptcha-badge{display:none}.elementor-widget-container .bdt-rating .bdt-rating-item{font-size:14px;margin-right:2px}.elementor-button svg{width:1.2em}.bdt-pagination li:hover a,.bdt-pagination li.bdt-active a{color:#fff;background:#3FB8FD}.bdt-pagination li a{font-size:12px;padding:5px 25px;background:#ffffff;color:#3FB8FD;border-radius:25px;box-shadow:0 5px 10px 0 rgba(0,0,0,0.1)}
|
|
assets/css/element-pack-site.rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.hook-modal-dialog{border-radius:3px}.hook-modal-title{font-weight:400}.bdt-cover{max-width:none !important}.bdt-drop .bdt-card p:empty{display:none}.bdt-drop .bdt-card p:not(:first-child){margin-top:15px;margin-bottom:0}.elementor-align-justify .bdt-button{width:100%}.bdt-notification .bdt-spinner{vertical-align:middle}.bdt-notification .bdt-spinner svg{width:20px;height:auto}.bdt-notification .bdt-icon{margin-left:10px;vertical-align:middle;line-height:normal}.bdt-notification .bdt-close{top:50%;transform:translateY(-50%)}.bdt-notification .bdt-notification-message{padding:20px 20px 20px 40px;background:#ffffff;font-size:1rem;box-shadow:0 5px 20px rgba(0,0,0,0.1);border-radius:3px}.bdt-slideshow .bdt-slideshow-items{padding:0;margin:0}.bdt-slideshow .bdt-slideshow-items[bdt-height-viewport] .bdt-slideshow-item img{width:auto !important;height:auto}.bdt-modal-full{background-color:#fff}.hook-button{border-radius:3px}.hook-form{border-radius:3px}.bdt-sticky-wrapper{width:100%}.bdt-heading-title:before,.bdt-heading-tag:before,.bdt-slide-title:before{content:none}.bdt-tippy-tooltip{outline:none}@media (max-width:1200px){.bdt-user-login a.elementor-button .elementor-button-icon,.bdt-user-register a.elementor-button .elementor-button-icon{margin-right:0 !important;margin-left:0 !important}}.bdt-particle-container{position:absolute;width:100%;height:100%;top:0;right:0}.bdt-particle-container canvas{display:block;vertical-align:bottom}.bdt-particle-container .particles-js-canvas-el{position:absolute;top:0;transform:scale(1);opacity:1;animation:appear 1.4s 1;animation-fill-mode:forwards}@-webkit-keyframes appear{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes appear{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}.elementor-control.elementor-control-type-heading{margin-top:-1px}.elementor-lightbox .dialog-close-button .eicon-close{transition:transform .3s}.elementor-lightbox .dialog-close-button:hover .eicon-close{transform:rotate(-90deg)}.elementor-lightbox .elementor-swiper-button-next .eicon-chevron-right,.elementor-lightbox .elementor-swiper-button-prev .eicon-chevron-left{transition:transform .3s}.elementor-lightbox .elementor-swiper-button-prev:hover .eicon-chevron-left{transform:scale(1.2)}.elementor-lightbox .elementor-swiper-button-next:hover .eicon-chevron-right{transform:scale(1.2)}.bdt-dots-container .swiper-pagination,.bdt-arrows-dots-container .swiper-pagination{position:relative}.bdt-dots-container .swiper-pagination .swiper-pagination-bullet,.bdt-arrows-dots-container .swiper-pagination .swiper-pagination-bullet{width:10px;height:10px}.bdt-dots-container .swiper-pagination .swiper-pagination-bullet+.swiper-pagination-bullet,.bdt-arrows-dots-container .swiper-pagination .swiper-pagination-bullet+.swiper-pagination-bullet{margin-right:5px}.bdt-dots-container .swiper-pagination.swiper-pagination-fraction,.bdt-arrows-dots-container .swiper-pagination.swiper-pagination-fraction{bottom:auto}[class*='bdt-arrows-align-top'] .bdt-arrows-container{transform:translateY(-40px)}[class*='bdt-arrows-align-bottom'] .bdt-arrows-container{transform:translateY(40px)}[class*='bdt-dots-align-top'] .bdt-dots-container{transform:translateY(-30px)}[class*='bdt-dots-align-bottom'] .bdt-dots-container{transform:translateY(30px)}[class*='bdt-arrows-dots-align-top'] .bdt-arrows-dots-container{transform:translateY(-40px)}[class*='bdt-arrows-dots-align-bottom'] .bdt-arrows-dots-container{transform:translateY(40px)}.bdt-arrows-align-center .bdt-position-center,.bdt-arrows-dots-align-center .bdt-position-center{width:100%}.bdt-arrows-align-center .bdt-navigation-prev,.bdt-arrows-dots-align-center .bdt-navigation-prev{right:0;position:absolute;transform:translateY(-50%)}.bdt-arrows-align-center .bdt-navigation-next,.bdt-arrows-dots-align-center .bdt-navigation-next{left:0;position:absolute;transform:translateY(-50%)}.bdt-arrows-dots-align-center .bdt-dots-container .swiper-pagination,.bdt-arrows-dots-align-center .bdt-arrows-dots-container .swiper-pagination{position:absolute;width:100%}.bdt-navigation-type-progress .swiper-pagination-progress{transform:translateY(15px);height:5px;width:100%}.elementor-section.bdt-sticky{transition:background-color 250ms ease-out,padding 300ms ease-out}.bdt-motion-effect-yes{transition:transform 300ms ease-out}.bdt-element-align-wrapper{flex-wrap:wrap;display:flex;position:relative}.bdt-element-align-center .bdt-element-align-wrapper{justify-content:center}.bdt-element-align-stretch .bdt-element-align-wrapper .bdt-element{flex-basis:100%}.bdt-element-align-start .bdt-element-align-wrapper{justify-content:flex-start}.bdt-element-align-end .bdt-element-align-wrapper{justify-content:flex-end}@media screen and (max-width:1024px){.bdt-element-align-tablet-center .bdt-element-align-wrapper{justify-content:center}.bdt-element-align-tablet-stretch .bdt-element-align-wrapper .bdt-element{flex-basis:100%}.bdt-element-align-tablet-start .bdt-element-align-wrapper{justify-content:flex-start}.bdt-element-align-tablet-end .bdt-element-align-wrapper{justify-content:flex-end}}@media screen and (max-width:767px){.bdt-element-align-mobile-center .bdt-element-align-wrapper{justify-content:center}.bdt-element-align-mobile-stretch .bdt-element-align-wrapper .bdt-element{flex-basis:100%}.bdt-element-align-mobile-start .bdt-element-align-wrapper{justify-content:flex-start}.bdt-element-align-mobile-end .bdt-element-align-wrapper{justify-content:flex-end}}.bdt-carousel .swiper-container,.bdt-wc-carousel .swiper-container,.bdt-testimonial-carousel .swiper-container,.bdt-event-carousel-skin-fable .swiper-container,.bdt-event-carousel .swiper-container{padding:10px;margin:0 -10px}.bdt-carousel .swiper-container:not(.swiper-container-horizontal),.bdt-wc-carousel .swiper-container:not(.swiper-container-horizontal),.bdt-testimonial-carousel .swiper-container:not(.swiper-container-horizontal),.bdt-event-carousel-skin-fable .swiper-container:not(.swiper-container-horizontal),.bdt-event-carousel .swiper-container:not(.swiper-container-horizontal){opacity:0}.bdt-carousel .swiper-container:not(.swiper-container-horizontal) .bdt-event-item,.bdt-wc-carousel .swiper-container:not(.swiper-container-horizontal) .bdt-event-item,.bdt-testimonial-carousel .swiper-container:not(.swiper-container-horizontal) .bdt-event-item,.bdt-event-carousel-skin-fable .swiper-container:not(.swiper-container-horizontal) .bdt-event-item,.bdt-event-carousel .swiper-container:not(.swiper-container-horizontal) .bdt-event-item{max-width:350px}.bdt-carousel .swiper-container.swiper-container-horizontal,.bdt-wc-carousel .swiper-container.swiper-container-horizontal,.bdt-testimonial-carousel .swiper-container.swiper-container-horizontal,.bdt-event-carousel-skin-fable .swiper-container.swiper-container-horizontal,.bdt-event-carousel .swiper-container.swiper-container-horizontal{opacity:1;transition:opacity 400ms ease-out}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-container-horizontal .swiper-pagination-bullets,.swiper-container-horizontal+.swiper-pagination-bullets{bottom:-50px;width:100%}.swiper-pagination-fraction .swiper-pagination-bullet,.swiper-pagination-custom .swiper-pagination-bullet,.swiper-container-horizontal .swiper-pagination-bullets .swiper-pagination-bullet,.swiper-container-horizontal+.swiper-pagination-bullets .swiper-pagination-bullet{width:10px;height:10px;margin:0 5px}.bdt-pagination-dot-dot{display:flex;align-items:center;justify-content:center}.bdt-pagination-dot-dot span{line-height:1px;height:13px;color:#bbb !important}.elementor-widget-container .bdt-subnav{margin-bottom:10px;margin-top:0;color:#999}.elementor-widget-container .bdt-subnav *{font-size:13px;font-weight:400}.elementor-widget-container .bdt-subnav span{color:inherit}.elementor-widget-container .bdt-subnav span span{display:inline-block}.elementor-widget-container .bdt-subnav span a{display:inline-block;transition:color .5s cubic-bezier(.4, .7, .04, .88)}.elementor-widget-container .bdt-subnav span a:hover{color:#666}.elementor-widget-container .bdt-subnav span a+a{margin-left:5px;color:#999}.elementor-widget-container .bdt-subnav span:after{content:'';height:4px;width:4px;border-radius:50%;background:#adb5bd;margin-left:-10px;margin-right:10px;display:inline-block;line-height:4px;vertical-align:middle}.elementor-widget-container .bdt-subnav span:last-child::after{content:none}.bdt-button-icon-align-left{float:right}.bdt-button-icon-align-right{float:left}.bdt-flex-align-left{order:-1}.bdt-flex-align-right{order:99}.bdt-ep-grid{display:flex;flex-wrap:wrap}.bdt-ep-grid .bdt-ep-grid-item{word-break:break-word}.bdt-ep-grid-1 .bdt-ep-grid-item{width:100%}.bdt-ep-grid-2 .bdt-ep-grid-item{width:50%}.bdt-ep-grid-3 .bdt-ep-grid-item{width:33.33333%}.bdt-ep-grid-4 .bdt-ep-grid-item{width:25%}.bdt-ep-grid-5 .bdt-ep-grid-item{width:20%}.bdt-ep-grid-6 .bdt-ep-grid-item{width:16.66667%}.bdt-ep-grid-7 .bdt-ep-grid-item{width:14.28571%}.bdt-ep-grid-8 .bdt-ep-grid-item{width:12.5%}.bdt-ep-grid-9 .bdt-ep-grid-item{width:11.11111%}.bdt-ep-grid-10 .bdt-ep-grid-item{width:10%}.bdt-ep-grid-11 .bdt-ep-grid-item{width:9.09091%}.bdt-ep-grid-12 .bdt-ep-grid-item{width:8.33333%}@media (max-width:1024px){.bdt-ep-grid-tablet-1 .bdt-ep-grid-item{width:100%}.bdt-ep-grid-tablet-2 .bdt-ep-grid-item{width:50%}.bdt-ep-grid-tablet-3 .bdt-ep-grid-item{width:33.33333%}.bdt-ep-grid-tablet-4 .bdt-ep-grid-item{width:25%}.bdt-ep-grid-tablet-5 .bdt-ep-grid-item{width:20%}.bdt-ep-grid-tablet-6 .bdt-ep-grid-item{width:16.66667%}.bdt-ep-grid-tablet-7 .bdt-ep-grid-item{width:14.28571%}.bdt-ep-grid-tablet-8 .bdt-ep-grid-item{width:12.5%}.bdt-ep-grid-tablet-9 .bdt-ep-grid-item{width:11.11111%}.bdt-ep-grid-tablet-10 .bdt-ep-grid-item{width:10%}.bdt-ep-grid-tablet-11 .bdt-ep-grid-item{width:9.09091%}.bdt-ep-grid-tablet-12 .bdt-ep-grid-item{width:8.33333%}}@media (max-width:767px){.bdt-ep-grid-mobile-1 .bdt-ep-grid-item{width:100%}.bdt-ep-grid-mobile-2 .bdt-ep-grid-item{width:50%}.bdt-ep-grid-mobile-3 .bdt-ep-grid-item{width:33.33333%}.bdt-ep-grid-mobile-4 .bdt-ep-grid-item{width:25%}.bdt-ep-grid-mobile-5 .bdt-ep-grid-item{width:20%}.bdt-ep-grid-mobile-6 .bdt-ep-grid-item{width:16.66667%}.bdt-ep-grid-mobile-7 .bdt-ep-grid-item{width:14.28571%}.bdt-ep-grid-mobile-8 .bdt-ep-grid-item{width:12.5%}.bdt-ep-grid-mobile-9 .bdt-ep-grid-item{width:11.11111%}.bdt-ep-grid-mobile-10 .bdt-ep-grid-item{width:10%}.bdt-ep-grid-mobile-11 .bdt-ep-grid-item{width:9.09091%}.bdt-ep-grid-mobile-12 .bdt-ep-grid-item{width:8.33333%}}.bdt-masonry-grid .bdt-gallery-item{float:right;height:auto}.bdt-masonry-grid .bdt-gallery-item .bdt-gallery-thumbnail img{height:auto}.swiper-container .elementor-lightbox-content-source{display:none}.swiper-slide{border-style:solid;border-width:0;overflow:hidden}.swiper-container-horizontal+.swiper-pagination-progressbar,.swiper-container-vertical+.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px}.swiper-pagination-progressbar{background:rgba(0,0,0,0.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;right:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:right top}.bdt-animated-slow>span{animation-duration:2s}.bdt-animated-fast>span{animation-duration:.75s}.bdt-scrollnav-fixed-yes .elementor-widget-container{margin:0 !important;padding:0 !important;border:none !important}.bdt-scrollnav-fixed-yes .bdt-scrollnav{position:fixed !important}.bdt-scrollnav-fixed-yes .bdt-scrollnav [class*="bdt-navbar"]{margin:30px}.bdt-comment-container .fb_iframe_widget,.bdt-comment-container .fb_iframe_widget span,.bdt-comment-container .fb_iframe_widget iframe{width:100% !important}.bdt-ep-grid-filters-wrapper{margin-bottom:30px}.bdt-ep-grid-filters-wrapper ul li{cursor:pointer;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters{padding:0;margin:0}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters .bdt-ep-grid-filter{display:inline-block;font-weight:700;border-bottom:2px solid transparent}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters .bdt-ep-grid-filter.bdt-active{border-bottom-color:#444}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters .bdt-ep-grid-filter:not(:first-child){margin-right:calc(15px)}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters .bdt-ep-grid-filter:not(:last-child){margin-left:calc(15px)}.bdt-ep-grid-filters-wrapper .bdt-ep-grid-filters .bdt-ep-grid-filter .bdt-dropdown ul li.bdt-ep-grid-filter{margin:0}@media (min-width:1024px){.bdt-ep-grid-filter-container{transition:height .5s ease-out}}.bdt-document-viewer iframe{border:none}iframe[data-src]:not(.lazy-loaded),.bdt-lazy-loading{background:rgba(152,152,152,0.07);background-image:url('../images/loading.svg');background-repeat:no-repeat;background-position:center}.bdt-dummy-loader{height:250px;background:rgba(152,152,152,0.05);background-repeat:no-repeat;background-position:center;animation-name:dummy-loader-animation;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:ease-in}@keyframes dummy-loader-animation{0%{background:rgba(152,152,152,0.05)}50%{background:rgba(152,152,152,0.2)}100%{background:rgba(152,152,152,0.05)}}.bdt-modal-link{cursor:pointer}.bdt-modal-link *{cursor:pointer}.bdt-ep-shadow-mode-yes .elementor-widget-container:before,.bdt-ep-shadow-mode-yes .elementor-widget-container:after{content:'';position:absolute;width:20%;height:100%;top:0;z-index:2;pointer-events:none}.bdt-ep-shadow-mode-yes .elementor-widget-container:before{right:0;background:linear-gradient(to left, #fff 5%, rgba(255,255,255,0) 100%);right:-10px}.bdt-ep-shadow-mode-yes .elementor-widget-container:after{left:0;background:linear-gradient(to left, rgba(255,255,255,0) 0, #fff 95%);left:-10px}@media (max-width:767px){.bdt-ep-shadow-mode-yes .elementor-widget-container:before,.bdt-ep-shadow-mode-yes .elementor-widget-container:after{content:none}}.bdt-navbar-nav>li>a{transition:.1s ease-in-out;transition-property:color,background-color;position:relative}.bdt-navbar-style-1 .bdt-navbar-nav>li>a:before{content:'';display:block;position:absolute;height:2px;background-color:transparent;transition:.1s cubic-bezier(0, .75, .43, 1);transition-property:background-color,opacity,transform;top:0;right:0;left:0;margin:0 15px;opacity:1;transform:scale3d(0, 1, 1)}.bdt-navbar-style-1 .bdt-navbar-nav>li.bdt-active>a:before{transform:scale3d(1, 1, 1);opacity:1;background-color:#3FB8FD}.bdt-navbar-style-1 .bdt-navbar-nav>li:hover>a:before{transform:scale3d(1, 1, 1);opacity:1;background-color:#3FB8FD}.bdt-navbar-style-2 .bdt-navbar-nav>li>a:after{content:'';display:block;position:absolute;height:2px;background-color:transparent;transition:.1s cubic-bezier(0, .75, .43, 1);transition-property:background-color,opacity,transform;bottom:0;right:0;left:0;margin:0 15px;opacity:1;transform:scale3d(0, 1, 1)}.bdt-navbar-style-2 .bdt-navbar-nav>li.bdt-active>a:after{transform:scale3d(1, 1, 1);opacity:1;background-color:#3FB8FD}.bdt-navbar-style-2 .bdt-navbar-nav>li:hover>a:after{transform:scale3d(1, 1, 1);opacity:1;background-color:#3FB8FD}.bdt-navbar-style-3 .bdt-navbar-nav>li>a:after{content:'';display:block;position:absolute;height:8px;background-color:transparent;transition:.25s cubic-bezier(0, .75, .43, 1);transition-property:background-color,opacity,transform;right:0;left:0;margin:0 10px;opacity:1;transform:scale3d(0, 1, 1);z-index:-1;transform-origin:right}.bdt-navbar-style-3 .bdt-navbar-nav>li.bdt-active>a:after{transform:scale3d(1, 1, 1);opacity:1}.bdt-navbar-style-3 .bdt-navbar-nav>li:hover>a:after{transform:scale3d(1, 1, 1);opacity:1;background-color:#3FB8FD}.elementor-widget-bdt-easy-digital-download .edd_downloads_list .edd_download{margin:0;padding:0}@keyframes totopscroller{0%{transform:translateY(0)}100%{transform:translateY(-20px)}}.bdt-ep-scroll-to-section{margin-bottom:50px;z-index:2}.bdt-ep-scroll-to-section a{animation:totopscroller 1.5s linear infinite alternate;padding:12px 8px;background:rgba(0,0,0,0) none repeat scroll 100% 0;border:2px solid #fff;border-radius:5000px;color:#eee;display:inline-block;font-size:18px;font-weight:600;overflow:hidden;transition:all .3s ease 0s}.bdt-ep-scroll-to-section a:hover{background:#fff;color:#282828;border:2px solid #fff}@keyframes attentionAnimation{0%{right:0}1%{right:-3px}2%{right:5px}3%{right:-8px}4%{right:8px}5%{right:-5px}6%{right:3px}7%{right:0}}.bdt-ep-attention-button{animation-name:attentionAnimation;animation-duration:5s;animation-iteration-count:infinite;animation-timing-function:ease-in;position:relative}.elementor-widget-wrap [data-tilt]{transition:box-shadow 400ms cubic-bezier(.25, .9, .58, 1)}.elementor-widget-wrap [data-tilt]:hover{box-shadow:0 20px 50px -10px rgba(0,0,0,0.45),0 50px 90px 0 rgba(51,51,51,0.15)}.bdt-post-grid-tab dl{opacity:0;transition:opacity 450ms cubic-bezier(.3, .91, .58, 1)}.bdt-post-grid-tab .gridtab[class*="gridtab--"]{opacity:1}.bdt-hide-recaptcha-badge-yes .grecaptcha-badge{display:none}.elementor-widget-container .bdt-rating .bdt-rating-item{font-size:14px;margin-left:2px}.elementor-button svg{width:1.2em}.bdt-pagination li:hover a,.bdt-pagination li.bdt-active a{color:#fff;background:#3FB8FD}.bdt-pagination li a{font-size:12px;padding:5px 25px;background:#ffffff;color:#3FB8FD;border-radius:25px;box-shadow:0 5px 10px 0 rgba(0,0,0,0.1)}
|
|
assets/css/ep-custom-gallery.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.bdt-custom-gallery.bdt-custom-gallery-skin-fedara .bdt-custom-gallery-skin-fedara-desc{position:relative;background:#fff}.bdt-custom-gallery.bdt-custom-gallery-skin-fedara .bdt-custom-gallery-skin-fedara-desc:after{content:'';position:absolute;top:0;height:20px;width:20px;background:inherit;transform:translate(-50%, -50%) rotate(45deg)}.bdt-custom-gallery-skin-fedara-style-right .bdt-custom-gallery-skin-fedara-desc:after{right:8px}.bdt-custom-gallery-skin-fedara-style-left .bdt-custom-gallery-skin-fedara-desc:after{left:30px}.bdt-custom-gallery-skin-fedara-style-center .bdt-custom-gallery-skin-fedara-desc:after{left:50%}.bdt-custom-gallery.bdt-custom-gallery-skin-abetis .bdt-custom-gallery-skin-abetis-desc{display:-ms-flexbox;display:flex;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:stretch;align-items:stretch;text-align:center}.bdt-custom-gallery{-ms-flex-pack:flex-start;justify-content:flex-start;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.bdt-custom-gallery .bdt-overlay{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:stretch;align-items:stretch;text-align:center}.bdt-custom-gallery .bdt-gallery-item{position:relative;-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start;transition-property:transform,opacity;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-o-transform-style:preserve-3d;transform-style:preserve-3d;margin:0;text-align:center}.bdt-custom-gallery .bdt-gallery-item:hover{z-index:5}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-item-title{margin-top:0;margin-bottom:5px}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-item-text p:last-child{margin-bottom:0}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-item-tags{line-height:1}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-thumbnail{overflow:hidden}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-thumbnail img{width:100%;object-fit:cover;vertical-align:middle}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-thumbnail[onclick]{cursor:pointer}.bdt-custom-gallery .bdt-gallery-item .bdt-custom-gallery-content-inner{transform:translateZ(20px)}.bdt-custom-gallery .bdt-gallery-item-link{position:relative;display:block;width:100%;overflow:hidden}.bdt-custom-gallery .bdt-gallery-item-link{margin-left:5px;margin-right:5px;padding:7px;transition:all .25s ease-in-out;line-height:18px;margin-bottom:15px}.bdt-custom-gallery .bdt-gallery-item-link:hover{background-color:transparent}.bdt-custom-gallery .bdt-gallery-item-link:hover span{color:rgba(0,0,0,0.5)}.bdt-custom-gallery .bdt-gallery-item-link.icon-type-text{border:2px solid #444}.bdt-custom-gallery .bdt-gallery-item-link span.bdt-text{padding:0 15px;color:#444;font-size:12px;font-weight:700}.bdt-custom-gallery .bdt-custom-gallery-inner{position:relative;overflow:hidden}@media (max-width:767px){.elementor-widget-bdt-custom-gallery .elementor-widget-container{overflow:hidden}}
|
|
assets/css/ep-custom-gallery.rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.bdt-custom-gallery.bdt-custom-gallery-skin-fedara .bdt-custom-gallery-skin-fedara-desc{position:relative;background:#fff}.bdt-custom-gallery.bdt-custom-gallery-skin-fedara .bdt-custom-gallery-skin-fedara-desc:after{content:'';position:absolute;top:0;height:20px;width:20px;background:inherit;transform:translate(50%, -50%) rotate(-45deg)}.bdt-custom-gallery-skin-fedara-style-right .bdt-custom-gallery-skin-fedara-desc:after{left:8px}.bdt-custom-gallery-skin-fedara-style-left .bdt-custom-gallery-skin-fedara-desc:after{right:30px}.bdt-custom-gallery-skin-fedara-style-center .bdt-custom-gallery-skin-fedara-desc:after{right:50%}.bdt-custom-gallery.bdt-custom-gallery-skin-abetis .bdt-custom-gallery-skin-abetis-desc{display:-ms-flexbox;display:flex;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:stretch;align-items:stretch;text-align:center}.bdt-custom-gallery{-ms-flex-pack:flex-start;justify-content:flex-start;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.bdt-custom-gallery .bdt-overlay{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:stretch;align-items:stretch;text-align:center}.bdt-custom-gallery .bdt-gallery-item{position:relative;-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start;transition-property:transform,opacity;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-o-transform-style:preserve-3d;transform-style:preserve-3d;margin:0;text-align:center}.bdt-custom-gallery .bdt-gallery-item:hover{z-index:5}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-item-title{margin-top:0;margin-bottom:5px}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-item-text p:last-child{margin-bottom:0}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-item-tags{line-height:1}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-thumbnail{overflow:hidden}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-thumbnail img{width:100%;object-fit:cover;vertical-align:middle}.bdt-custom-gallery .bdt-gallery-item .bdt-gallery-thumbnail[onclick]{cursor:pointer}.bdt-custom-gallery .bdt-gallery-item .bdt-custom-gallery-content-inner{transform:translateZ(20px)}.bdt-custom-gallery .bdt-gallery-item-link{position:relative;display:block;width:100%;overflow:hidden}.bdt-custom-gallery .bdt-gallery-item-link{margin-right:5px;margin-left:5px;padding:7px;transition:all .25s ease-in-out;line-height:18px;margin-bottom:15px}.bdt-custom-gallery .bdt-gallery-item-link:hover{background-color:transparent}.bdt-custom-gallery .bdt-gallery-item-link:hover span{color:rgba(0,0,0,0.5)}.bdt-custom-gallery .bdt-gallery-item-link.icon-type-text{border:2px solid #444}.bdt-custom-gallery .bdt-gallery-item-link span.bdt-text{padding:0 15px;color:#444;font-size:12px;font-weight:700}.bdt-custom-gallery .bdt-custom-gallery-inner{position:relative;overflow:hidden}@media (max-width:767px){.elementor-widget-bdt-custom-gallery .elementor-widget-container{overflow:hidden}}
|
|
assets/css/ep-flip-box.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.bdt-flip-box{height:280px;position:relative;perspective:1000px;transform-style:preserve-3d}.bdt-flip-box .elementor-icon{color:#fff}.bdt-flip-box .elementor-view-framed .elementor-icon{color:#fff;border-color:#fff}.bdt-flip-box .elementor-view-stacked .elementor-icon{color:#fff;background-color:rgba(0,0,0,0.5)}.bdt-flip-box .elementor-icon-wrapper{margin-bottom:20px}.bdt-flip-box-front{background-color:#1e87f0}.bdt-flip-box-back{background-color:#b7b4b4;display:block}.bdt-flip-box-layer{position:absolute;width:100%;height:100%;transition:all .6s ease-in-out}.bdt-flip-box-layer-overlay{display:flex;width:100%;height:100%;flex-direction:column;justify-content:center;align-items:stretch;text-align:center;padding:35px}.bdt-flip-box-layer-title{font-size:21px;line-height:1;font-weight:600;color:#fff}.bdt-flip-box-layer-title:not(:last-child){margin:0 0 20px 0;padding:0}.bdt-flip-box-layer-desc{font-size:14px;color:#e5e5e5}.bdt-flip-box-layer-desc:not(:last-child){margin:0 0 20px 0;padding:0}.bdt-flip-box-image{margin:0 0 20px 0;display:inline-block;width:100%}.bdt-flip-box-image img{width:50%}.bdt-flip-box-3d-yes .bdt-flip-box-layer-inner{transform:translateZ(90px) scale(.91)}.bdt-flip-box-3d-yes .bdt-flip-box-layer-overlay{transform-style:preserve-3d;transform:translateZ(.1px)}.bdt-flip-box-effect-flip .bdt-flip-box{perspective:1000px;transform-style:preserve-3d}.bdt-flip-box-effect-flip .bdt-flip-box:hover .bdt-flip-box-back{transform:none}.bdt-flip-box-effect-flip .bdt-flip-box-layer{transform-style:preserve-3d;backface-visibility:hidden}.bdt-flip-box-effect-flip .bdt-flip-box-front{transform:none;z-index:1}.bdt-flip-box-effect-flip.bdt-flip-box-direction-right .bdt-flip-box-back{transform:rotateX(0) rotateY(-180deg)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-right .bdt-flip-box:hover .bdt-flip-box-front{transform:rotateX(0) rotateY(180deg)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-left .bdt-flip-box-back{transform:rotateX(0) rotateY(180deg)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-left .bdt-flip-box:hover .bdt-flip-box-front{transform:rotateX(0) rotateY(-180deg)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-up .bdt-flip-box-back{transform:rotateX(-180deg) rotateY(0)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-up .bdt-flip-box:hover .bdt-flip-box-front{transform:rotateX(180deg) rotateY(0)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-down .bdt-flip-box-back{transform:rotateX(180deg) rotateY(0)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-down .bdt-flip-box:hover .bdt-flip-box-front{transform:rotateX(-180deg) rotateY(0)}.bdt-flip-box-effect-push .bdt-flip-box-front{transform:none}.bdt-flip-box-effect-push .bdt-flip-box{overflow:hidden}.bdt-flip-box-effect-push .bdt-flip-box:hover .bdt-flip-box-back{transform:none}.bdt-flip-box-effect-push.bdt-flip-box-direction-right .bdt-flip-box:hover .bdt-flip-box-front{transform:translateX(100%) translateY(0)}.bdt-flip-box-effect-push.bdt-flip-box-direction-right .bdt-flip-box-back{transform:translateX(-100%) translateY(0)}.bdt-flip-box-effect-push.bdt-flip-box-direction-left .bdt-flip-box:hover .bdt-flip-box-front{transform:translateX(-100%) translateY(0)}.bdt-flip-box-effect-push.bdt-flip-box-direction-left .bdt-flip-box-back{transform:translateX(100%) translateY(0)}.bdt-flip-box-effect-push.bdt-flip-box-direction-up .bdt-flip-box:hover .bdt-flip-box-front{transform:translateX(0) translateY(-100%)}.bdt-flip-box-effect-push.bdt-flip-box-direction-up .bdt-flip-box-back{transform:translateX(0) translateY(100%)}.bdt-flip-box-effect-push.bdt-flip-box-direction-down .bdt-flip-box:hover .bdt-flip-box-front{transform:translateX(0) translateY(100%)}.bdt-flip-box-effect-push.bdt-flip-box-direction-down .bdt-flip-box-back{transform:translateX(0) translateY(-100%)}.bdt-flip-box-effect-slide .bdt-flip-box{overflow:hidden}.bdt-flip-box-effect-slide .bdt-flip-box:hover .bdt-flip-box-back{transform:none}.bdt-flip-box-effect-slide.bdt-flip-box-direction-right .bdt-flip-box-back{transform:translateX(-100%) translateY(0)}.bdt-flip-box-effect-slide.bdt-flip-box-direction-left .bdt-flip-box-back{transform:translateX(100%) translateY(0)}.bdt-flip-box-effect-slide.bdt-flip-box-direction-up .bdt-flip-box-back{transform:translateX(0) translateY(100%)}.bdt-flip-box-effect-slide.bdt-flip-box-direction-down .bdt-flip-box-back{transform:translateX(0) translateY(-100%)}.bdt-flip-box-effect-zoom-out .bdt-flip-box .bdt-flip-box-front{transition:transform .7s,opacity .35s,width .1ms;opacity:1;transform:scale(1);z-index:1;width:100%}.bdt-flip-box-effect-zoom-out .bdt-flip-box:hover .bdt-flip-box-front{width:0;opacity:0;transform:scale(.7);transition:transform .8s,opacity .7s .1s,width .1ms .7s}.bdt-flip-box-effect-zoom-in .bdt-flip-box .bdt-flip-box-back{transition:transform .7s,opacity .5s .2s;opacity:0;transform:scale(.7)}.bdt-flip-box-effect-zoom-in .bdt-flip-box:hover .bdt-flip-box-back{transition:transform .7s,opacity .5s;opacity:1;transform:scale(1)}.bdt-flip-box-effect-fade .bdt-flip-box .bdt-flip-box-back{opacity:0}.bdt-flip-box-effect-fade .bdt-flip-box:hover .bdt-flip-box-back{opacity:1}.elementor-widget-bdt-flip-box.bdt-flip-box-flipped .elementor-widget-container .bdt-flip-box-front{display:none}.elementor-widget-bdt-flip-box.bdt-flip-box-flipped .elementor-widget-container .bdt-flip-box-back{transform:none;opacity:1}@media (max-device-width:1024px){.bdt-flip-box{cursor:pointer}}
|
|
assets/css/ep-flip-box.rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.bdt-flip-box{height:280px;position:relative;perspective:1000px;transform-style:preserve-3d}.bdt-flip-box .elementor-icon{color:#fff}.bdt-flip-box .elementor-view-framed .elementor-icon{color:#fff;border-color:#fff}.bdt-flip-box .elementor-view-stacked .elementor-icon{color:#fff;background-color:rgba(0,0,0,0.5)}.bdt-flip-box .elementor-icon-wrapper{margin-bottom:20px}.bdt-flip-box-front{background-color:#1e87f0}.bdt-flip-box-back{background-color:#b7b4b4;display:block}.bdt-flip-box-layer{position:absolute;width:100%;height:100%;transition:all .6s ease-in-out}.bdt-flip-box-layer-overlay{display:flex;width:100%;height:100%;flex-direction:column;justify-content:center;align-items:stretch;text-align:center;padding:35px}.bdt-flip-box-layer-title{font-size:21px;line-height:1;font-weight:600;color:#fff}.bdt-flip-box-layer-title:not(:last-child){margin:0 0 20px 0;padding:0}.bdt-flip-box-layer-desc{font-size:14px;color:#e5e5e5}.bdt-flip-box-layer-desc:not(:last-child){margin:0 0 20px 0;padding:0}.bdt-flip-box-image{margin:0 0 20px 0;display:inline-block;width:100%}.bdt-flip-box-image img{width:50%}.bdt-flip-box-3d-yes .bdt-flip-box-layer-inner{transform:translateZ(90px) scale(.91)}.bdt-flip-box-3d-yes .bdt-flip-box-layer-overlay{transform-style:preserve-3d;transform:translateZ(.1px)}.bdt-flip-box-effect-flip .bdt-flip-box{perspective:1000px;transform-style:preserve-3d}.bdt-flip-box-effect-flip .bdt-flip-box:hover .bdt-flip-box-back{transform:none}.bdt-flip-box-effect-flip .bdt-flip-box-layer{transform-style:preserve-3d;backface-visibility:hidden}.bdt-flip-box-effect-flip .bdt-flip-box-front{transform:none;z-index:1}.bdt-flip-box-effect-flip.bdt-flip-box-direction-right .bdt-flip-box-back{transform:rotateX(0) rotateY(-180deg)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-right .bdt-flip-box:hover .bdt-flip-box-front{transform:rotateX(0) rotateY(180deg)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-left .bdt-flip-box-back{transform:rotateX(0) rotateY(180deg)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-left .bdt-flip-box:hover .bdt-flip-box-front{transform:rotateX(0) rotateY(-180deg)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-up .bdt-flip-box-back{transform:rotateX(-180deg) rotateY(0)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-up .bdt-flip-box:hover .bdt-flip-box-front{transform:rotateX(180deg) rotateY(0)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-down .bdt-flip-box-back{transform:rotateX(180deg) rotateY(0)}.bdt-flip-box-effect-flip.bdt-flip-box-direction-down .bdt-flip-box:hover .bdt-flip-box-front{transform:rotateX(-180deg) rotateY(0)}.bdt-flip-box-effect-push .bdt-flip-box-front{transform:none}.bdt-flip-box-effect-push .bdt-flip-box{overflow:hidden}.bdt-flip-box-effect-push .bdt-flip-box:hover .bdt-flip-box-back{transform:none}.bdt-flip-box-effect-push.bdt-flip-box-direction-right .bdt-flip-box:hover .bdt-flip-box-front{transform:translateX(-100%) translateY(0)}.bdt-flip-box-effect-push.bdt-flip-box-direction-right .bdt-flip-box-back{transform:translateX(100%) translateY(0)}.bdt-flip-box-effect-push.bdt-flip-box-direction-left .bdt-flip-box:hover .bdt-flip-box-front{transform:translateX(100%) translateY(0)}.bdt-flip-box-effect-push.bdt-flip-box-direction-left .bdt-flip-box-back{transform:translateX(-100%) translateY(0)}.bdt-flip-box-effect-push.bdt-flip-box-direction-up .bdt-flip-box:hover .bdt-flip-box-front{transform:translateX(0) translateY(-100%)}.bdt-flip-box-effect-push.bdt-flip-box-direction-up .bdt-flip-box-back{transform:translateX(0) translateY(100%)}.bdt-flip-box-effect-push.bdt-flip-box-direction-down .bdt-flip-box:hover .bdt-flip-box-front{transform:translateX(0) translateY(100%)}.bdt-flip-box-effect-push.bdt-flip-box-direction-down .bdt-flip-box-back{transform:translateX(0) translateY(-100%)}.bdt-flip-box-effect-slide .bdt-flip-box{overflow:hidden}.bdt-flip-box-effect-slide .bdt-flip-box:hover .bdt-flip-box-back{transform:none}.bdt-flip-box-effect-slide.bdt-flip-box-direction-right .bdt-flip-box-back{transform:translateX(100%) translateY(0)}.bdt-flip-box-effect-slide.bdt-flip-box-direction-left .bdt-flip-box-back{transform:translateX(-100%) translateY(0)}.bdt-flip-box-effect-slide.bdt-flip-box-direction-up .bdt-flip-box-back{transform:translateX(0) translateY(100%)}.bdt-flip-box-effect-slide.bdt-flip-box-direction-down .bdt-flip-box-back{transform:translateX(0) translateY(-100%)}.bdt-flip-box-effect-zoom-out .bdt-flip-box .bdt-flip-box-front{transition:transform .7s,opacity .35s,width .1ms;opacity:1;transform:scale(1);z-index:1;width:100%}.bdt-flip-box-effect-zoom-out .bdt-flip-box:hover .bdt-flip-box-front{width:0;opacity:0;transform:scale(.7);transition:transform .8s,opacity .7s .1s,width .1ms .7s}.bdt-flip-box-effect-zoom-in .bdt-flip-box .bdt-flip-box-back{transition:transform .7s,opacity .5s .2s;opacity:0;transform:scale(.7)}.bdt-flip-box-effect-zoom-in .bdt-flip-box:hover .bdt-flip-box-back{transition:transform .7s,opacity .5s;opacity:1;transform:scale(1)}.bdt-flip-box-effect-fade .bdt-flip-box .bdt-flip-box-back{opacity:0}.bdt-flip-box-effect-fade .bdt-flip-box:hover .bdt-flip-box-back{opacity:1}.elementor-widget-bdt-flip-box.bdt-flip-box-flipped .elementor-widget-container .bdt-flip-box-front{display:none}.elementor-widget-bdt-flip-box.bdt-flip-box-flipped .elementor-widget-container .bdt-flip-box-back{transform:none;opacity:1}@media (max-device-width:1024px){.bdt-flip-box{cursor:pointer}}
|
|
assets/css/ep-trailer-box.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.elementor-widget-bdt-trailer-box .elementor-widget-container{overflow:hidden;position:relative}.bdt-trailer-box img{width:100%}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-title{margin-bottom:10px;margin-top:0}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-pre-title,.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-title,.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-text,.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-button{text-decoration:none;color:inherit}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-pre-title{margin-bottom:0;margin-top:0}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-text{transition-delay:50ms;margin-top:10px}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-button{transition-delay:100ms;display:inline-block}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-button .bdt-trailer-box-button-icon-left{float:left}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-button .bdt-trailer-box-button-icon-right{float:right}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-button svg{width:1em}[class*='bdt-item-transition-']{overflow:hidden}[class*='bdt-item-transition-'] .elementor-widget-container{transition:.3s ease-out !important;transition-property:transform !important}[class*='bdt-item-transition-'].bdt-item-transition-content .bdt-trailer-box-desc-inner{transition:all .25s cubic-bezier(.13, .51, .58, 1);transform:translateY(10px)}[class*='bdt-item-transition-'].bdt-item-transition-content:hover .bdt-trailer-box-desc-inner{transform:translateY(0)}[class*='bdt-item-transition-'].bdt-item-transition-scale-up .elementor-widget-container{transform:scale3d(1, 1, 1)}[class*='bdt-item-transition-'].bdt-item-transition-scale-up:hover .elementor-widget-container{transform:scale3d(1.1, 1.1, 1)}[class*='bdt-item-transition-'].bdt-item-transition-scale-down .elementor-widget-container{transform:scale3d(1.1, 1.1, 1)}[class*='bdt-item-transition-'].bdt-item-transition-scale-down:hover .elementor-widget-container{transform:scale3d(1, 1, 1)}
|
|
assets/css/ep-trailer-box.rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.elementor-widget-bdt-trailer-box .elementor-widget-container{overflow:hidden;position:relative}.bdt-trailer-box img{width:100%}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-title{margin-bottom:10px;margin-top:0}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-pre-title,.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-title,.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-text,.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-button{text-decoration:none;color:inherit}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-pre-title{margin-bottom:0;margin-top:0}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-text{transition-delay:50ms;margin-top:10px}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-button{transition-delay:100ms;display:inline-block}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-button .bdt-trailer-box-button-icon-left{float:right}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-button .bdt-trailer-box-button-icon-right{float:left}.bdt-trailer-box .bdt-trailer-box-desc-inner .bdt-trailer-box-button svg{width:1em}[class*='bdt-item-transition-']{overflow:hidden}[class*='bdt-item-transition-'] .elementor-widget-container{transition:.3s ease-out !important;transition-property:transform !important}[class*='bdt-item-transition-'].bdt-item-transition-content .bdt-trailer-box-desc-inner{transition:all .25s cubic-bezier(.13, .51, .58, 1);transform:translateY(10px)}[class*='bdt-item-transition-'].bdt-item-transition-content:hover .bdt-trailer-box-desc-inner{transform:translateY(0)}[class*='bdt-item-transition-'].bdt-item-transition-scale-up .elementor-widget-container{transform:scale3d(1, 1, 1)}[class*='bdt-item-transition-'].bdt-item-transition-scale-up:hover .elementor-widget-container{transform:scale3d(1.1, 1.1, 1)}[class*='bdt-item-transition-'].bdt-item-transition-scale-down .elementor-widget-container{transform:scale3d(1.1, 1.1, 1)}[class*='bdt-item-transition-'].bdt-item-transition-scale-down:hover .elementor-widget-container{transform:scale3d(1, 1, 1)}
|
|
assets/images/gallery/item-1.png
DELETED
Binary file
|
assets/images/gallery/item-1.svg
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="utf-8"?>
|
2 |
-
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 1280 800" style="enable-background:new 0 0 1280 800;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#E3F3F7;}
|
7 |
-
.st1{fill:#41BFDD;}
|
8 |
-
.st2{fill:#F1F2F2;}
|
9 |
-
</style>
|
10 |
-
<path class="st0" d="M1279.54,535.54c0,0,0,0-208.1-195.8s-331.9-182.63-473.27,43.02s-174.73,223.9-338.05,93.07S0,545.2,0,545.2
|
11 |
-
V800h1280V0L1279.54,535.54z"/>
|
12 |
-
<path class="st1" d="M260.12,475.83c163.32,130.83,196.68,132.59,338.05-93.07s265.17-238.83,473.27-43.02s208.1,195.8,208.1,195.8
|
13 |
-
L1280,0H0v545.2C0,545.2,96.8,345,260.12,475.83z"/>
|
14 |
-
<circle class="st2" cx="399.29" cy="303.29" r="83.85"/>
|
15 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/images/gallery/item-2.png
DELETED
Binary file
|
assets/images/gallery/item-2.svg
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="utf-8"?>
|
2 |
-
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
width="1280px" height="800px" viewBox="0 0 1280 800" style="enable-background:new 0 0 1280 800;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#E2EDF6;}
|
7 |
-
.st1{fill:#1D78AA;}
|
8 |
-
.st2{fill:#F1F2F2;}
|
9 |
-
</style>
|
10 |
-
<path class="st0" d="M1279.54,535.54c0,0,0,0-208.1-195.8s-331.9-182.63-473.27,43.02s-174.73,223.9-338.05,93.07S0,545.2,0,545.2
|
11 |
-
V800h1280V0L1279.54,535.54z"/>
|
12 |
-
<path class="st1" d="M260.12,475.83c163.32,130.83,196.68,132.59,338.05-93.07s265.17-238.83,473.27-43.02s208.1,195.8,208.1,195.8
|
13 |
-
L1280,0H0v545.2C0,545.2,96.8,345,260.12,475.83z"/>
|
14 |
-
<circle class="st2" cx="399.29" cy="303.29" r="83.85"/>
|
15 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/images/gallery/item-3.png
DELETED
Binary file
|
assets/images/gallery/item-3.svg
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="utf-8"?>
|
2 |
-
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 1280 800" style="enable-background:new 0 0 1280 800;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#F1F9FA;}
|
7 |
-
.st1{fill:#BCE3E3;}
|
8 |
-
.st2{fill:#F1F2F2;}
|
9 |
-
</style>
|
10 |
-
<path class="st0" d="M1279.54,535.54c0,0,0,0-208.1-195.8s-331.9-182.63-473.27,43.02s-174.73,223.9-338.05,93.07S0,545.2,0,545.2
|
11 |
-
V800h1280V0L1279.54,535.54z"/>
|
12 |
-
<path class="st1" d="M260.12,475.83c163.32,130.83,196.68,132.59,338.05-93.07s265.17-238.83,473.27-43.02s208.1,195.8,208.1,195.8
|
13 |
-
L1280,0H0v545.2C0,545.2,96.8,345,260.12,475.83z"/>
|
14 |
-
<circle class="st2" cx="399.29" cy="303.29" r="83.85"/>
|
15 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/images/gallery/item-4.png
DELETED
Binary file
|
assets/images/gallery/item-4.svg
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="utf-8"?>
|
2 |
-
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 1280 800" style="enable-background:new 0 0 1280 800;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#FDE8F1;}
|
7 |
-
.st1{fill:#F068A7;}
|
8 |
-
.st2{fill:#F1F2F2;}
|
9 |
-
</style>
|
10 |
-
<path class="st0" d="M1279.54,535.54c0,0,0,0-208.1-195.8s-331.9-182.63-473.27,43.02s-174.73,223.9-338.05,93.07S0,545.2,0,545.2
|
11 |
-
V800h1280V0L1279.54,535.54z"/>
|
12 |
-
<path class="st1" d="M260.12,475.83c163.32,130.83,196.68,132.59,338.05-93.07s265.17-238.83,473.27-43.02s208.1,195.8,208.1,195.8
|
13 |
-
L1280,0H0v545.2C0,545.2,96.8,345,260.12,475.83z"/>
|
14 |
-
<circle class="st2" cx="399.29" cy="303.29" r="83.85"/>
|
15 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/images/gallery/item-5.png
DELETED
Binary file
|
assets/images/gallery/item-5.svg
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="utf-8"?>
|
2 |
-
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 1280 800" style="enable-background:new 0 0 1280 800;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#FEE7E2;}
|
7 |
-
.st1{fill:#F36E48;}
|
8 |
-
.st2{fill:#F1F2F2;}
|
9 |
-
</style>
|
10 |
-
<path class="st0" d="M1279.54,535.54c0,0,0,0-208.1-195.8s-331.9-182.63-473.27,43.02s-174.73,223.9-338.05,93.07S0,545.2,0,545.2
|
11 |
-
V800h1280V0L1279.54,535.54z"/>
|
12 |
-
<path class="st1" d="M260.12,475.83c163.32,130.83,196.68,132.59,338.05-93.07s265.17-238.83,473.27-43.02s208.1,195.8,208.1,195.8
|
13 |
-
L1280,0H0v545.2C0,545.2,96.8,345,260.12,475.83z"/>
|
14 |
-
<circle class="st2" cx="399.29" cy="303.29" r="83.85"/>
|
15 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/images/gallery/item-6.png
DELETED
Binary file
|
assets/images/gallery/item-6.svg
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="utf-8"?>
|
2 |
-
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 1280 800" style="enable-background:new 0 0 1280 800;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#F9FBEE;}
|
7 |
-
.st1{fill:#A7C955;}
|
8 |
-
.st2{fill:#F1F2F2;}
|
9 |
-
</style>
|
10 |
-
<path class="st0" d="M1279.54,535.54c0,0,0,0-208.1-195.8s-331.9-182.63-473.27,43.02s-174.73,223.9-338.05,93.07S0,545.2,0,545.2
|
11 |
-
V800h1280V0L1279.54,535.54z"/>
|
12 |
-
<path class="st1" d="M260.12,475.83c163.32,130.83,196.68,132.59,338.05-93.07s265.17-238.83,473.27-43.02s208.1,195.8,208.1,195.8
|
13 |
-
L1280,0H0v545.2C0,545.2,96.8,345,260.12,475.83z"/>
|
14 |
-
<circle class="st2" cx="399.29" cy="303.29" r="83.85"/>
|
15 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/images/gallery/item-7.png
DELETED
Binary file
|
assets/images/gallery/item-7.svg
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="utf-8"?>
|
2 |
-
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
width="1280px" height="800px" viewBox="0 0 1280 800" style="enable-background:new 0 0 1280 800;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#F5EEF6;}
|
7 |
-
.st1{fill:#A280BA;}
|
8 |
-
.st2{fill:#F1F2F2;}
|
9 |
-
</style>
|
10 |
-
<path class="st0" d="M1279.54,535.54c0,0,0,0-208.1-195.8s-331.9-182.63-473.27,43.02s-174.73,223.9-338.05,93.07S0,545.2,0,545.2
|
11 |
-
V800h1280V0L1279.54,535.54z"/>
|
12 |
-
<path class="st1" d="M260.12,475.83c163.32,130.83,196.68,132.59,338.05-93.07s265.17-238.83,473.27-43.02s208.1,195.8,208.1,195.8
|
13 |
-
L1280,0H0v545.2C0,545.2,96.8,345,260.12,475.83z"/>
|
14 |
-
<circle class="st2" cx="399.29" cy="303.29" r="83.85"/>
|
15 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/images/gallery/item-8.png
DELETED
Binary file
|
assets/images/gallery/item-8.svg
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="utf-8"?>
|
2 |
-
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
width="1280px" height="800px" viewBox="0 0 1280 800" style="enable-background:new 0 0 1280 800;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#FFF6E4;}
|
7 |
-
.st1{fill:#F9C846;}
|
8 |
-
.st2{fill:#F1F2F2;}
|
9 |
-
</style>
|
10 |
-
<path class="st0" d="M1279.54,535.54c0,0,0,0-208.1-195.8s-331.9-182.63-473.27,43.02s-174.73,223.9-338.05,93.07S0,545.2,0,545.2
|
11 |
-
V800h1280V0L1279.54,535.54z"/>
|
12 |
-
<path class="st1" d="M260.12,475.83c163.32,130.83,196.68,132.59,338.05-93.07s265.17-238.83,473.27-43.02s208.1,195.8,208.1,195.8
|
13 |
-
L1280,0H0v545.2C0,545.2,96.8,345,260.12,475.83z"/>
|
14 |
-
<circle class="st2" cx="399.29" cy="303.29" r="83.85"/>
|
15 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/images/loading-white.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg width="48px" height="48px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-dual-ring" style="background: none;"><circle cx="50" cy="50" ng-attr-r="{{config.radius}}" ng-attr-stroke-width="{{config.width}}" ng-attr-stroke="{{config.stroke}}" ng-attr-stroke-dasharray="{{config.dasharray}}" fill="none" stroke-linecap="round" r="40" stroke-width="8" stroke="#ffffff" stroke-dasharray="62.83185307179586 62.83185307179586" transform="rotate(77.6945 50 50)"><animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="1s" begin="0s" repeatCount="indefinite"></animateTransform></circle></svg>
|
|
assets/images/loading.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg width="48px" height="48px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-dual-ring" style="background: none;"><circle cx="50" cy="50" ng-attr-r="{{config.radius}}" ng-attr-stroke-width="{{config.width}}" ng-attr-stroke="{{config.stroke}}" ng-attr-stroke-dasharray="{{config.dasharray}}" fill="none" stroke-linecap="round" r="40" stroke-width="8" stroke="rgba(58.885080645161295%,58.885080645161295%,58.885080645161295%,0.588)" stroke-dasharray="62.83185307179586 62.83185307179586" transform="rotate(161.878 50 50)"><animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="1s" begin="0s" repeatCount="indefinite"></animateTransform></circle></svg>
|
|
assets/images/no-image.jpg
DELETED
Binary file
|
assets/images/panel-slider.svg
DELETED
@@ -1,55 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="utf-8"?>
|
2 |
-
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 300 500" style="enable-background:new 0 0 300 500;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#5590CC;}
|
7 |
-
.st1{opacity:0.6;}
|
8 |
-
.st2{fill:#FFFFFF;}
|
9 |
-
.st3{opacity:0.4;}
|
10 |
-
</style>
|
11 |
-
<rect x="0.1" y="1" class="st0" width="300.3" height="500"/>
|
12 |
-
<g class="st1">
|
13 |
-
<g>
|
14 |
-
<g>
|
15 |
-
<path class="st2" d="M229.4,188.6H71.1c-4.8,0-8.7,3.9-8.7,8.7v117.1c0,4.8,3.9,8.7,8.7,8.7h158.3c4.8,0,8.7-3.9,8.7-8.7V197.3
|
16 |
-
C238.1,192.5,234.2,188.6,229.4,188.6z M231.6,314.4c0,1.2-1,2.2-2.2,2.2H71.1c-1.2,0-2.2-1-2.2-2.2V197.3c0-1.2,1-2.2,2.2-2.2
|
17 |
-
h158.3c1.2,0,2.2,1,2.2,2.2L231.6,314.4L231.6,314.4z"/>
|
18 |
-
</g>
|
19 |
-
</g>
|
20 |
-
<g>
|
21 |
-
<g>
|
22 |
-
<path class="st2" d="M212.4,299.3l-47.7-58.5c-0.6-0.8-1.5-1.2-2.5-1.2c-1,0-1.9,0.4-2.5,1.2l-30.1,36.1l-12.7-14.5
|
23 |
-
c-0.6-0.7-1.5-1.1-2.5-1.1s-1.9,0.4-2.5,1.2l-30.4,36.9c-1.1,1.4-0.9,3.4,0.4,4.6c1.4,1.1,3.4,0.9,4.6-0.4l27.9-33.9l12.7,14.5
|
24 |
-
c0.6,0.7,1.5,1.1,2.5,1.1c1,0,1.9-0.4,2.5-1.2l30-36l45.2,55.5c1.1,1.4,3.2,1.6,4.6,0.5C213.3,302.8,213.5,300.7,212.4,299.3z"/>
|
25 |
-
</g>
|
26 |
-
</g>
|
27 |
-
<g>
|
28 |
-
<g>
|
29 |
-
<path class="st2" d="M199,210.3c-8.4,0-15.2,6.8-15.2,15.2c0,8.4,6.8,15.2,15.2,15.2c8.4,0,15.2-6.8,15.2-15.2
|
30 |
-
C214.2,217.1,207.4,210.3,199,210.3z M199,234.2c-4.8,0-8.7-3.9-8.7-8.7c0-4.8,3.9-8.7,8.7-8.7c4.8,0,8.7,3.9,8.7,8.7
|
31 |
-
C207.7,230.3,203.8,234.2,199,234.2z"/>
|
32 |
-
</g>
|
33 |
-
</g>
|
34 |
-
</g>
|
35 |
-
<g class="st3">
|
36 |
-
<path class="st2" d="M73,134.7h-7v4.7h8.2v2.9H62.4v-17.6h11.8v2.9H66v4.2h7V134.7z"/>
|
37 |
-
<path class="st2" d="M80,139.5h7.7v2.9H76.4v-17.6H80V139.5z"/>
|
38 |
-
<path class="st2" d="M100.4,134.7h-7v4.7h8.2v2.9H89.8v-17.6h11.8v2.9h-8.2v4.2h7V134.7z"/>
|
39 |
-
<path class="st2" d="M108.4,124.8l4.5,12.8l4.5-12.8h4.8v17.6h-3.6v-4.8l0.4-8.3l-4.8,13.1h-2.5l-4.7-13.1l0.4,8.3v4.8h-3.6v-17.6
|
40 |
-
H108.4z"/>
|
41 |
-
<path class="st2" d="M136,134.7h-7v4.7h8.2v2.9h-11.8v-17.6h11.8v2.9H129v4.2h7V134.7z"/>
|
42 |
-
<path class="st2" d="M153.7,142.4H150l-7.1-11.6v11.6h-3.6v-17.6h3.6l7.1,11.6v-11.6h3.6V142.4z"/>
|
43 |
-
<path class="st2" d="M169.8,127.7h-5.4v14.7h-3.6v-14.7h-5.3v-2.9h14.3V127.7z"/>
|
44 |
-
<path class="st2" d="M180.9,136.2v6.2h-3.6v-17.6h6.9c1.3,0,2.5,0.2,3.5,0.7c1,0.5,1.8,1.2,2.3,2.1c0.5,0.9,0.8,1.9,0.8,3
|
45 |
-
c0,1.7-0.6,3.1-1.8,4.1s-2.8,1.5-4.9,1.5H180.9z M180.9,133.2h3.2c1,0,1.7-0.2,2.2-0.7c0.5-0.5,0.8-1.1,0.8-1.9
|
46 |
-
c0-0.9-0.3-1.6-0.8-2.1c-0.5-0.5-1.2-0.8-2.1-0.8h-3.3V133.2z"/>
|
47 |
-
<path class="st2" d="M201,138.7h-6.4l-1.2,3.6h-3.9l6.6-17.6h3.4l6.6,17.6h-3.9L201,138.7z M195.7,135.8h4.4l-2.2-6.6L195.7,135.8z
|
48 |
-
"/>
|
49 |
-
<path class="st2" d="M221.3,136.5c-0.1,1.9-0.8,3.4-2.1,4.5c-1.3,1.1-2.9,1.6-5,1.6c-2.3,0-4-0.8-5.3-2.3s-1.9-3.6-1.9-6.3V133
|
50 |
-
c0-1.7,0.3-3.2,0.9-4.5c0.6-1.3,1.4-2.3,2.6-3c1.1-0.7,2.4-1,3.9-1c2,0,3.7,0.5,4.9,1.6c1.2,1.1,2,2.6,2.2,4.6h-3.6
|
51 |
-
c-0.1-1.1-0.4-2-0.9-2.5c-0.5-0.5-1.4-0.8-2.5-0.8c-1.2,0-2.1,0.4-2.7,1.3c-0.6,0.9-0.9,2.2-0.9,4v1.3c0,1.9,0.3,3.3,0.9,4.2
|
52 |
-
s1.5,1.3,2.7,1.3c1.1,0,2-0.3,2.5-0.8c0.6-0.5,0.9-1.3,0.9-2.4H221.3z"/>
|
53 |
-
<path class="st2" d="M229.2,135.3l-1.9,2v5h-3.6v-17.6h3.6v8l1.6-2.2l4.5-5.8h4.5l-6.3,7.8l6.4,9.8h-4.3L229.2,135.3z"/>
|
54 |
-
</g>
|
55 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/images/styles/index.html
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<html><body></body></html>
|
|
assets/js/bdt-uikit-icons.js
DELETED
@@ -1,167 +0,0 @@
|
|
1 |
-
/*! bdtUIkit 3.2.0 | http://www.getuikit.com | (c) 2014 - 2019 YOOtheme | MIT License */
|
2 |
-
|
3 |
-
(function (global, factory) {
|
4 |
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
5 |
-
typeof define === 'function' && define.amd ? define('uikiticons', factory) :
|
6 |
-
(global = global || self, global.bdtUIkitIcons = factory());
|
7 |
-
}(this, function () { 'use strict';
|
8 |
-
|
9 |
-
function plugin(bdtUIkit) {
|
10 |
-
|
11 |
-
if (plugin.installed) {
|
12 |
-
return;
|
13 |
-
}
|
14 |
-
|
15 |
-
bdtUIkit.icon.add({
|
16 |
-
"500px": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.624,11.866c-0.141,0.132,0.479,0.658,0.662,0.418c0.051-0.046,0.607-0.61,0.662-0.664c0,0,0.738,0.719,0.814,0.719 c0.1,0,0.207-0.055,0.322-0.17c0.27-0.269,0.135-0.416,0.066-0.495l-0.631-0.616l0.658-0.668c0.146-0.156,0.021-0.314-0.1-0.449 c-0.182-0.18-0.359-0.226-0.471-0.125l-0.656,0.654l-0.654-0.654c-0.033-0.034-0.08-0.045-0.124-0.045 c-0.079,0-0.191,0.068-0.307,0.181c-0.202,0.202-0.247,0.351-0.133,0.462l0.665,0.665L9.624,11.866z\"/><path d=\"M11.066,2.884c-1.061,0-2.185,0.248-3.011,0.604c-0.087,0.034-0.141,0.106-0.15,0.205C7.893,3.784,7.919,3.909,7.982,4.066 c0.05,0.136,0.187,0.474,0.452,0.372c0.844-0.326,1.779-0.507,2.633-0.507c0.963,0,1.9,0.191,2.781,0.564 c0.695,0.292,1.357,0.719,2.078,1.34c0.051,0.044,0.105,0.068,0.164,0.068c0.143,0,0.273-0.137,0.389-0.271 c0.191-0.214,0.324-0.395,0.135-0.575c-0.686-0.654-1.436-1.138-2.363-1.533C13.24,3.097,12.168,2.884,11.066,2.884z\"/><path d=\"M16.43,15.747c-0.092-0.028-0.242,0.05-0.309,0.119l0,0c-0.652,0.652-1.42,1.169-2.268,1.521 c-0.877,0.371-1.814,0.551-2.779,0.551c-0.961,0-1.896-0.189-2.775-0.564c-0.848-0.36-1.612-0.879-2.268-1.53 c-0.682-0.688-1.196-1.455-1.529-2.268c-0.325-0.799-0.471-1.643-0.471-1.643c-0.045-0.24-0.258-0.249-0.567-0.203 c-0.128,0.021-0.519,0.079-0.483,0.36v0.01c0.105,0.644,0.289,1.284,0.545,1.895c0.417,0.969,1.002,1.849,1.756,2.604 c0.757,0.754,1.636,1.34,2.604,1.757C8.901,18.785,9.97,19,11.088,19c1.104,0,2.186-0.215,3.188-0.645 c1.838-0.896,2.604-1.757,2.604-1.757c0.182-0.204,0.227-0.317-0.1-0.643C16.779,15.956,16.525,15.774,16.43,15.747z\"/><path d=\"M5.633,13.287c0.293,0.71,0.723,1.341,1.262,1.882c0.54,0.54,1.172,0.971,1.882,1.264c0.731,0.303,1.509,0.461,2.298,0.461 c0.801,0,1.578-0.158,2.297-0.461c0.711-0.293,1.344-0.724,1.883-1.264c0.543-0.541,0.971-1.172,1.264-1.882 c0.314-0.721,0.463-1.5,0.463-2.298c0-0.79-0.148-1.569-0.463-2.289c-0.293-0.699-0.721-1.329-1.264-1.881 c-0.539-0.541-1.172-0.959-1.867-1.263c-0.721-0.303-1.5-0.461-2.299-0.461c-0.802,0-1.613,0.159-2.322,0.461 c-0.577,0.25-1.544,0.867-2.119,1.454v0.012V2.108h8.16C15.1,2.104,15.1,1.69,15.1,1.552C15.1,1.417,15.1,1,14.809,1H5.915 C5.676,1,5.527,1.192,5.527,1.384v6.84c0,0.214,0.273,0.372,0.529,0.428c0.5,0.105,0.614-0.056,0.737-0.224l0,0 c0.18-0.273,0.776-0.884,0.787-0.894c0.901-0.905,2.117-1.408,3.416-1.408c1.285,0,2.5,0.501,3.412,1.408 c0.914,0.914,1.408,2.122,1.408,3.405c0,1.288-0.508,2.496-1.408,3.405c-0.9,0.896-2.152,1.406-3.438,1.406 c-0.877,0-1.711-0.229-2.433-0.671v-4.158c0-0.553,0.237-1.151,0.643-1.614c0.462-0.519,1.094-0.799,1.782-0.799 c0.664,0,1.293,0.253,1.758,0.715c0.459,0.459,0.709,1.071,0.709,1.723c0,1.385-1.094,2.468-2.488,2.468 c-0.273,0-0.769-0.121-0.781-0.125c-0.281-0.087-0.405,0.306-0.438,0.436c-0.159,0.496,0.079,0.585,0.123,0.607 c0.452,0.137,0.743,0.157,1.129,0.157c1.973,0,3.572-1.6,3.572-3.57c0-1.964-1.6-3.552-3.572-3.552c-0.97,0-1.872,0.36-2.546,1.038 c-0.656,0.631-1.027,1.487-1.027,2.322v3.438v-0.011c-0.372-0.42-0.732-1.041-0.981-1.682c-0.102-0.248-0.315-0.202-0.607-0.113 c-0.135,0.035-0.519,0.157-0.44,0.439C5.372,12.799,5.577,13.164,5.633,13.287z\"/></svg>",
|
17 |
-
"album": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"5\" y=\"2\" width=\"10\" height=\"1\"/><rect x=\"3\" y=\"4\" width=\"14\" height=\"1\"/><rect fill=\"none\" stroke=\"#000\" x=\"1.5\" y=\"6.5\" width=\"17\" height=\"11\"/></svg>",
|
18 |
-
"arrow-down": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"10.5,16.08 5.63,10.66 6.37,10 10.5,14.58 14.63,10 15.37,10.66\"/><line fill=\"none\" stroke=\"#000\" x1=\"10.5\" y1=\"4\" x2=\"10.5\" y2=\"15\"/></svg>",
|
19 |
-
"arrow-left": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"10 14 5 9.5 10 5\"/><line fill=\"none\" stroke=\"#000\" x1=\"16\" y1=\"9.5\" x2=\"5\" y2=\"9.52\"/></svg>",
|
20 |
-
"arrow-right": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"10 5 15 9.5 10 14\"/><line fill=\"none\" stroke=\"#000\" x1=\"4\" y1=\"9.5\" x2=\"15\" y2=\"9.5\"/></svg>",
|
21 |
-
"arrow-up": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"10.5,4 15.37,9.4 14.63,10.08 10.5,5.49 6.37,10.08 5.63,9.4\"/><line fill=\"none\" stroke=\"#000\" x1=\"10.5\" y1=\"16\" x2=\"10.5\" y2=\"5\"/></svg>",
|
22 |
-
"ban": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"4\" y1=\"3.5\" x2=\"16\" y2=\"16.5\"/></svg>",
|
23 |
-
"behance": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.5,10.6c-0.4-0.5-0.9-0.9-1.6-1.1c1.7-1,2.2-3.2,0.7-4.7C7.8,4,6.3,4,5.2,4C3.5,4,1.7,4,0,4v12c1.7,0,3.4,0,5.2,0 c1,0,2.1,0,3.1-0.5C10.2,14.6,10.5,12.3,9.5,10.6L9.5,10.6z M5.6,6.1c1.8,0,1.8,2.7-0.1,2.7c-1,0-2,0-2.9,0V6.1H5.6z M2.6,13.8v-3.1 c1.1,0,2.1,0,3.2,0c2.1,0,2.1,3.2,0.1,3.2L2.6,13.8z\"/><path d=\"M19.9,10.9C19.7,9.2,18.7,7.6,17,7c-4.2-1.3-7.3,3.4-5.3,7.1c0.9,1.7,2.8,2.3,4.7,2.1c1.7-0.2,2.9-1.3,3.4-2.9h-2.2 c-0.4,1.3-2.4,1.5-3.5,0.6c-0.4-0.4-0.6-1.1-0.6-1.7H20C20,11.7,19.9,10.9,19.9,10.9z M13.5,10.6c0-1.6,2.3-2.7,3.5-1.4 c0.4,0.4,0.5,0.9,0.6,1.4H13.5L13.5,10.6z\"/><rect x=\"13\" y=\"4\" width=\"5\" height=\"1.4\"/></svg>",
|
24 |
-
"bell": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M17,15.5 L3,15.5 C2.99,14.61 3.79,13.34 4.1,12.51 C4.58,11.3 4.72,10.35 5.19,7.01 C5.54,4.53 5.89,3.2 7.28,2.16 C8.13,1.56 9.37,1.5 9.81,1.5 L9.96,1.5 C9.96,1.5 11.62,1.41 12.67,2.17 C14.08,3.2 14.42,4.54 14.77,7.02 C15.26,10.35 15.4,11.31 15.87,12.52 C16.2,13.34 17.01,14.61 17,15.5 L17,15.5 Z\"/><path fill=\"none\" stroke=\"#000\" d=\"M12.39,16 C12.39,17.37 11.35,18.43 9.91,18.43 C8.48,18.43 7.42,17.37 7.42,16\"/></svg>",
|
25 |
-
"bold": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5,15.3 C5.66,15.3 5.9,15 5.9,14.53 L5.9,5.5 C5.9,4.92 5.56,4.7 5,4.7 L5,4 L8.95,4 C12.6,4 13.7,5.37 13.7,6.9 C13.7,7.87 13.14,9.17 10.86,9.59 L10.86,9.7 C13.25,9.86 14.29,11.28 14.3,12.54 C14.3,14.47 12.94,16 9,16 L5,16 L5,15.3 Z M9,9.3 C11.19,9.3 11.8,8.5 11.85,7 C11.85,5.65 11.3,4.8 9,4.8 L7.67,4.8 L7.67,9.3 L9,9.3 Z M9.185,15.22 C11.97,15 12.39,14 12.4,12.58 C12.4,11.15 11.39,10 9,10 L7.67,10 L7.67,15 L9.18,15 Z\"/></svg>",
|
26 |
-
"bolt": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.74,20 L7.73,12 L3,12 L15.43,1 L12.32,9 L17.02,9 L4.74,20 L4.74,20 L4.74,20 Z M9.18,11 L7.1,16.39 L14.47,10 L10.86,10 L12.99,4.67 L5.61,11 L9.18,11 L9.18,11 L9.18,11 Z\"/></svg>",
|
27 |
-
"bookmark": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"5.5 1.5 15.5 1.5 15.5 17.5 10.5 12.5 5.5 17.5\"/></svg>",
|
28 |
-
"calendar": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 2,3 2,17 18,17 18,3 2,3 Z M 17,16 3,16 3,8 17,8 17,16 Z M 17,7 3,7 3,4 17,4 17,7 Z\"/><rect width=\"1\" height=\"3\" x=\"6\" y=\"2\"/><rect width=\"1\" height=\"3\" x=\"13\" y=\"2\"/></svg>",
|
29 |
-
"camera": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10.8\" r=\"3.8\"/><path fill=\"none\" stroke=\"#000\" d=\"M1,4.5 C0.7,4.5 0.5,4.7 0.5,5 L0.5,17 C0.5,17.3 0.7,17.5 1,17.5 L19,17.5 C19.3,17.5 19.5,17.3 19.5,17 L19.5,5 C19.5,4.7 19.3,4.5 19,4.5 L13.5,4.5 L13.5,2.9 C13.5,2.6 13.3,2.5 13,2.5 L7,2.5 C6.7,2.5 6.5,2.6 6.5,2.9 L6.5,4.5 L1,4.5 L1,4.5 Z\"/></svg>",
|
30 |
-
"cart": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"7.3\" cy=\"17.3\" r=\"1.4\"/><circle cx=\"13.3\" cy=\"17.3\" r=\"1.4\"/><polyline fill=\"none\" stroke=\"#000\" points=\"0 2 3.2 4 5.3 12.5 16 12.5 18 6.5 8 6.5\"/></svg>",
|
31 |
-
"check": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"4,10 8,15 17,4\"/></svg>",
|
32 |
-
"chevron-double-left": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"10 14 6 10 10 6\"/><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"14 14 10 10 14 6\"/></svg>",
|
33 |
-
"chevron-double-right": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"10 6 14 10 10 14\"/><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"6 6 10 10 6 14\"/></svg>",
|
34 |
-
"chevron-down": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"16 7 10 13 4 7\"/></svg>",
|
35 |
-
"chevron-left": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"13 16 7 10 13 4\"/></svg>",
|
36 |
-
"chevron-right": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"7 4 13 10 7 16\"/></svg>",
|
37 |
-
"chevron-up": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"4 13 10 7 16 13\"/></svg>",
|
38 |
-
"clock": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/><rect x=\"9\" y=\"4\" width=\"1\" height=\"7\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M13.018,14.197 L9.445,10.625\"/></svg>",
|
39 |
-
"close": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.06\" d=\"M16,16 L4,4\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.06\" d=\"M16,4 L4,16\"/></svg>",
|
40 |
-
"cloud-download": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M6.5,14.61 L3.75,14.61 C1.96,14.61 0.5,13.17 0.5,11.39 C0.5,9.76 1.72,8.41 3.3,8.2 C3.38,5.31 5.75,3 8.68,3 C11.19,3 13.31,4.71 13.89,7.02 C14.39,6.8 14.93,6.68 15.5,6.68 C17.71,6.68 19.5,8.45 19.5,10.64 C19.5,12.83 17.71,14.6 15.5,14.6 L12.5,14.6\"/><polyline fill=\"none\" stroke=\"#000\" points=\"11.75 16 9.5 18.25 7.25 16\"/><path fill=\"none\" stroke=\"#000\" d=\"M9.5,18 L9.5,9.5\"/></svg>",
|
41 |
-
"cloud-upload": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M6.5,14.61 L3.75,14.61 C1.96,14.61 0.5,13.17 0.5,11.39 C0.5,9.76 1.72,8.41 3.31,8.2 C3.38,5.31 5.75,3 8.68,3 C11.19,3 13.31,4.71 13.89,7.02 C14.39,6.8 14.93,6.68 15.5,6.68 C17.71,6.68 19.5,8.45 19.5,10.64 C19.5,12.83 17.71,14.6 15.5,14.6 L12.5,14.6\"/><polyline fill=\"none\" stroke=\"#000\" points=\"7.25 11.75 9.5 9.5 11.75 11.75\"/><path fill=\"none\" stroke=\"#000\" d=\"M9.5,18 L9.5,9.5\"/></svg>",
|
42 |
-
"code": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" points=\"13,4 19,10 13,16\"/><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" points=\"7,4 1,10 7,16\"/></svg>",
|
43 |
-
"cog": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" cx=\"9.997\" cy=\"10\" r=\"3.31\"/><path fill=\"none\" stroke=\"#000\" d=\"M18.488,12.285 L16.205,16.237 C15.322,15.496 14.185,15.281 13.303,15.791 C12.428,16.289 12.047,17.373 12.246,18.5 L7.735,18.5 C7.938,17.374 7.553,16.299 6.684,15.791 C5.801,15.27 4.655,15.492 3.773,16.237 L1.5,12.285 C2.573,11.871 3.317,10.999 3.317,9.991 C3.305,8.98 2.573,8.121 1.5,7.716 L3.765,3.784 C4.645,4.516 5.794,4.738 6.687,4.232 C7.555,3.722 7.939,2.637 7.735,1.5 L12.263,1.5 C12.072,2.637 12.441,3.71 13.314,4.22 C14.206,4.73 15.343,4.516 16.225,3.794 L18.487,7.714 C17.404,8.117 16.661,8.988 16.67,10.009 C16.672,11.018 17.415,11.88 18.488,12.285 L18.488,12.285 Z\"/></svg>",
|
44 |
-
"comment": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6,18.71 L6,14 L1,14 L1,1 L19,1 L19,14 L10.71,14 L6,18.71 L6,18.71 Z M2,13 L7,13 L7,16.29 L10.29,13 L18,13 L18,2 L2,2 L2,13 L2,13 Z\"/></svg>",
|
45 |
-
"commenting": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"1.5,1.5 18.5,1.5 18.5,13.5 10.5,13.5 6.5,17.5 6.5,13.5 1.5,13.5\"/><circle cx=\"10\" cy=\"8\" r=\"1\"/><circle cx=\"6\" cy=\"8\" r=\"1\"/><circle cx=\"14\" cy=\"8\" r=\"1\"/></svg>",
|
46 |
-
"comments": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"2 0.5 19.5 0.5 19.5 13\"/><path d=\"M5,19.71 L5,15 L0,15 L0,2 L18,2 L18,15 L9.71,15 L5,19.71 L5,19.71 L5,19.71 Z M1,14 L6,14 L6,17.29 L9.29,14 L17,14 L17,3 L1,3 L1,14 L1,14 L1,14 Z\"/></svg>",
|
47 |
-
"copy": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" x=\"3.5\" y=\"2.5\" width=\"12\" height=\"16\"/><polyline fill=\"none\" stroke=\"#000\" points=\"5 0.5 17.5 0.5 17.5 17\"/></svg>",
|
48 |
-
"credit-card": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" x=\"1.5\" y=\"4.5\" width=\"17\" height=\"12\"/><rect x=\"1\" y=\"7\" width=\"18\" height=\"3\"/></svg>",
|
49 |
-
"database": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><ellipse fill=\"none\" stroke=\"#000\" cx=\"10\" cy=\"4.64\" rx=\"7.5\" ry=\"3.14\"/><path fill=\"none\" stroke=\"#000\" d=\"M17.5,8.11 C17.5,9.85 14.14,11.25 10,11.25 C5.86,11.25 2.5,9.84 2.5,8.11\"/><path fill=\"none\" stroke=\"#000\" d=\"M17.5,11.25 C17.5,12.99 14.14,14.39 10,14.39 C5.86,14.39 2.5,12.98 2.5,11.25\"/><path fill=\"none\" stroke=\"#000\" d=\"M17.49,4.64 L17.5,14.36 C17.5,16.1 14.14,17.5 10,17.5 C5.86,17.5 2.5,16.09 2.5,14.36 L2.5,4.64\"/></svg>",
|
50 |
-
"desktop": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"8\" y=\"15\" width=\"1\" height=\"2\"/><rect x=\"11\" y=\"15\" width=\"1\" height=\"2\"/><rect x=\"5\" y=\"16\" width=\"10\" height=\"1\"/><rect fill=\"none\" stroke=\"#000\" x=\"1.5\" y=\"3.5\" width=\"17\" height=\"11\"/></svg>",
|
51 |
-
"download": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"14,10 9.5,14.5 5,10\"/><rect x=\"3\" y=\"17\" width=\"13\" height=\"1\"/><line fill=\"none\" stroke=\"#000\" x1=\"9.5\" y1=\"13.91\" x2=\"9.5\" y2=\"3\"/></svg>",
|
52 |
-
"dribbble": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" d=\"M1.3,8.9c0,0,5,0.1,8.6-1c1.4-0.4,2.6-0.9,4-1.9 c1.4-1.1,2.5-2.5,2.5-2.5\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" d=\"M3.9,16.6c0,0,1.7-2.8,3.5-4.2 c1.8-1.3,4-2,5.7-2.2C16,10,19,10.6,19,10.6\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" d=\"M6.9,1.6c0,0,3.3,4.6,4.2,6.8 c0.4,0.9,1.3,3.1,1.9,5.2c0.6,2,0.9,4.4,0.9,4.4\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" cx=\"10\" cy=\"10\" r=\"9\"/></svg>",
|
53 |
-
"etsy": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><path d=\"M8,4.26C8,4.07,8,4,8.31,4h4.46c.79,0,1.22.67,1.53,1.91l.25,1h.76c.14-2.82.26-4,.26-4S13.65,3,12.52,3H6.81L3.75,2.92v.84l1,.2c.73.11.9.27,1,1,0,0,.06,2,.06,5.17s-.06,5.14-.06,5.14c0,.59-.23.81-1,.94l-1,.2v.84l3.06-.1h5.11c1.15,0,3.82.1,3.82.1,0-.7.45-3.88.51-4.22h-.73l-.76,1.69a2.25,2.25,0,0,1-2.45,1.47H9.4c-1,0-1.44-.4-1.44-1.24V10.44s2.16,0,2.86.06c.55,0,.85.19,1.06,1l.23,1H13L12.9,9.94,13,7.41h-.85l-.28,1.13c-.16.74-.28.84-1,1-1,.1-2.89.09-2.89.09Z\"/></svg>",
|
54 |
-
"expand": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"13 2 18 2 18 7 17 7 17 3 13 3\"/><polygon points=\"2 13 3 13 3 17 7 17 7 18 2 18\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M11,9 L17,3\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M3,17 L9,11\"/></svg>",
|
55 |
-
"facebook": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11,10h2.6l0.4-3H11V5.3c0-0.9,0.2-1.5,1.5-1.5H14V1.1c-0.3,0-1-0.1-2.1-0.1C9.6,1,8,2.4,8,5v2H5.5v3H8v8h3V10z\"/></svg>",
|
56 |
-
"file-edit": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M18.65,1.68 C18.41,1.45 18.109,1.33 17.81,1.33 C17.499,1.33 17.209,1.45 16.98,1.68 L8.92,9.76 L8,12.33 L10.55,11.41 L18.651,3.34 C19.12,2.87 19.12,2.15 18.65,1.68 L18.65,1.68 L18.65,1.68 Z\"/><polyline fill=\"none\" stroke=\"#000\" points=\"16.5 8.482 16.5 18.5 3.5 18.5 3.5 1.5 14.211 1.5\"/></svg>",
|
57 |
-
"file-pdf": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" width=\"13\" height=\"17\" x=\"3.5\" y=\"1.5\"/><path d=\"M14.65 11.67c-.48.3-1.37-.19-1.79-.37a4.65 4.65 0 0 1 1.49.06c.35.1.36.28.3.31zm-6.3.06l.43-.79a14.7 14.7 0 0 0 .75-1.64 5.48 5.48 0 0 0 1.25 1.55l.2.15a16.36 16.36 0 0 0-2.63.73zM9.5 5.32c.2 0 .32.5.32.97a1.99 1.99 0 0 1-.23 1.04 5.05 5.05 0 0 1-.17-1.3s0-.71.08-.71zm-3.9 9a4.35 4.35 0 0 1 1.21-1.46l.24-.22a4.35 4.35 0 0 1-1.46 1.68zm9.23-3.3a2.05 2.05 0 0 0-1.32-.3 11.07 11.07 0 0 0-1.58.11 4.09 4.09 0 0 1-.74-.5 5.39 5.39 0 0 1-1.32-2.06 10.37 10.37 0 0 0 .28-2.62 1.83 1.83 0 0 0-.07-.25.57.57 0 0 0-.52-.4H9.4a.59.59 0 0 0-.6.38 6.95 6.95 0 0 0 .37 3.14c-.26.63-1 2.12-1 2.12-.3.58-.57 1.08-.82 1.5l-.8.44A3.11 3.11 0 0 0 5 14.16a.39.39 0 0 0 .15.42l.24.13c1.15.56 2.28-1.74 2.66-2.42a23.1 23.1 0 0 1 3.59-.85 4.56 4.56 0 0 0 2.91.8.5.5 0 0 0 .3-.21 1.1 1.1 0 0 0 .12-.75.84.84 0 0 0-.14-.25z\"/></svg>",
|
58 |
-
"file-text": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" width=\"13\" height=\"17\" x=\"3.5\" y=\"1.5\"/><line fill=\"none\" stroke=\"#000\" x1=\"6\" x2=\"12\" y1=\"12.5\" y2=\"12.5\"/><line fill=\"none\" stroke=\"#000\" x1=\"6\" x2=\"14\" y1=\"8.5\" y2=\"8.5\"/><line fill=\"none\" stroke=\"#000\" x1=\"6\" x2=\"14\" y1=\"6.5\" y2=\"6.5\"/><line fill=\"none\" stroke=\"#000\" x1=\"6\" x2=\"14\" y1=\"10.5\" y2=\"10.5\"/></svg>",
|
59 |
-
"file": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" x=\"3.5\" y=\"1.5\" width=\"13\" height=\"17\"/></svg>",
|
60 |
-
"flickr": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"5.5\" cy=\"9.5\" r=\"3.5\"/><circle cx=\"14.5\" cy=\"9.5\" r=\"3.5\"/></svg>",
|
61 |
-
"folder": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"9.5 5.5 8.5 3.5 1.5 3.5 1.5 16.5 18.5 16.5 18.5 5.5\"/></svg>",
|
62 |
-
"forward": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.47,13.11 C4.02,10.02 6.27,7.85 9.04,6.61 C9.48,6.41 10.27,6.13 11,5.91 L11,2 L18.89,9 L11,16 L11,12.13 C9.25,12.47 7.58,13.19 6.02,14.25 C3.03,16.28 1.63,18.54 1.63,18.54 C1.63,18.54 1.38,15.28 2.47,13.11 L2.47,13.11 Z M5.3,13.53 C6.92,12.4 9.04,11.4 12,10.92 L12,13.63 L17.36,9 L12,4.25 L12,6.8 C11.71,6.86 10.86,7.02 9.67,7.49 C6.79,8.65 4.58,10.96 3.49,13.08 C3.18,13.7 2.68,14.87 2.49,16 C3.28,15.05 4.4,14.15 5.3,13.53 L5.3,13.53 Z\"/></svg>",
|
63 |
-
"foursquare": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.23,2 C15.96,2 16.4,2.41 16.5,2.86 C16.57,3.15 16.56,3.44 16.51,3.73 C16.46,4.04 14.86,11.72 14.75,12.03 C14.56,12.56 14.16,12.82 13.61,12.83 C13.03,12.84 11.09,12.51 10.69,13 C10.38,13.38 7.79,16.39 6.81,17.53 C6.61,17.76 6.4,17.96 6.08,17.99 C5.68,18.04 5.29,17.87 5.17,17.45 C5.12,17.28 5.1,17.09 5.1,16.91 C5.1,12.4 4.86,7.81 5.11,3.31 C5.17,2.5 5.81,2.12 6.53,2 L15.23,2 L15.23,2 Z M9.76,11.42 C9.94,11.19 10.17,11.1 10.45,11.1 L12.86,11.1 C13.12,11.1 13.31,10.94 13.36,10.69 C13.37,10.64 13.62,9.41 13.74,8.83 C13.81,8.52 13.53,8.28 13.27,8.28 C12.35,8.29 11.42,8.28 10.5,8.28 C9.84,8.28 9.83,7.69 9.82,7.21 C9.8,6.85 10.13,6.55 10.5,6.55 C11.59,6.56 12.67,6.55 13.76,6.55 C14.03,6.55 14.23,6.4 14.28,6.14 C14.34,5.87 14.67,4.29 14.67,4.29 C14.67,4.29 14.82,3.74 14.19,3.74 L7.34,3.74 C7,3.75 6.84,4.02 6.84,4.33 C6.84,7.58 6.85,14.95 6.85,14.99 C6.87,15 8.89,12.51 9.76,11.42 L9.76,11.42 Z\"/></svg>",
|
64 |
-
"future": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline points=\"19 2 18 2 18 6 14 6 14 7 19 7 19 2\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M18,6.548 C16.709,3.29 13.354,1 9.6,1 C4.6,1 0.6,5 0.6,10 C0.6,15 4.6,19 9.6,19 C14.6,19 18.6,15 18.6,10\"/><rect x=\"9\" y=\"4\" width=\"1\" height=\"7\"/><path d=\"M13.018,14.197 L9.445,10.625\" fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\"/></svg>",
|
65 |
-
"git-branch": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"7\" cy=\"3\" r=\"2\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"14\" cy=\"6\" r=\"2\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"7\" cy=\"17\" r=\"2\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"2\" d=\"M14,8 C14,10.41 12.43,10.87 10.56,11.25 C9.09,11.54 7,12.06 7,15 L7,5\"/></svg>",
|
66 |
-
"git-fork": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"5.79\" cy=\"2.79\" r=\"1.79\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"14.19\" cy=\"2.79\" r=\"1.79\"/><ellipse fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"10.03\" cy=\"16.79\" rx=\"1.79\" ry=\"1.79\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"2\" d=\"M5.79,4.57 L5.79,6.56 C5.79,9.19 10.03,10.22 10.03,13.31 C10.03,14.86 10.04,14.55 10.04,14.55 C10.04,14.37 10.04,14.86 10.04,13.31 C10.04,10.22 14.2,9.19 14.2,6.56 L14.2,4.57\"/></svg>",
|
67 |
-
"github-alt": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10,0.5 C4.75,0.5 0.5,4.76 0.5,10.01 C0.5,15.26 4.75,19.51 10,19.51 C15.24,19.51 19.5,15.26 19.5,10.01 C19.5,4.76 15.25,0.5 10,0.5 L10,0.5 Z M12.81,17.69 C12.81,17.69 12.81,17.7 12.79,17.69 C12.47,17.75 12.35,17.59 12.35,17.36 L12.35,16.17 C12.35,15.45 12.09,14.92 11.58,14.56 C12.2,14.51 12.77,14.39 13.26,14.21 C13.87,13.98 14.36,13.69 14.74,13.29 C15.42,12.59 15.76,11.55 15.76,10.17 C15.76,9.25 15.45,8.46 14.83,7.8 C15.1,7.08 15.07,6.29 14.75,5.44 L14.51,5.42 C14.34,5.4 14.06,5.46 13.67,5.61 C13.25,5.78 12.79,6.03 12.31,6.35 C11.55,6.16 10.81,6.05 10.09,6.05 C9.36,6.05 8.61,6.15 7.88,6.35 C7.28,5.96 6.75,5.68 6.26,5.54 C6.07,5.47 5.9,5.44 5.78,5.44 L5.42,5.44 C5.06,6.29 5.04,7.08 5.32,7.8 C4.7,8.46 4.4,9.25 4.4,10.17 C4.4,11.94 4.96,13.16 6.08,13.84 C6.53,14.13 7.05,14.32 7.69,14.43 C8.03,14.5 8.32,14.54 8.55,14.55 C8.07,14.89 7.82,15.42 7.82,16.16 L7.82,17.51 C7.8,17.69 7.7,17.8 7.51,17.8 C4.21,16.74 1.82,13.65 1.82,10.01 C1.82,5.5 5.49,1.83 10,1.83 C14.5,1.83 18.17,5.5 18.17,10.01 C18.18,13.53 15.94,16.54 12.81,17.69 L12.81,17.69 Z\"/></svg>",
|
68 |
-
"github": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10,1 C5.03,1 1,5.03 1,10 C1,13.98 3.58,17.35 7.16,18.54 C7.61,18.62 7.77,18.34 7.77,18.11 C7.77,17.9 7.76,17.33 7.76,16.58 C5.26,17.12 4.73,15.37 4.73,15.37 C4.32,14.33 3.73,14.05 3.73,14.05 C2.91,13.5 3.79,13.5 3.79,13.5 C4.69,13.56 5.17,14.43 5.17,14.43 C5.97,15.8 7.28,15.41 7.79,15.18 C7.87,14.6 8.1,14.2 8.36,13.98 C6.36,13.75 4.26,12.98 4.26,9.53 C4.26,8.55 4.61,7.74 5.19,7.11 C5.1,6.88 4.79,5.97 5.28,4.73 C5.28,4.73 6.04,4.49 7.75,5.65 C8.47,5.45 9.24,5.35 10,5.35 C10.76,5.35 11.53,5.45 12.25,5.65 C13.97,4.48 14.72,4.73 14.72,4.73 C15.21,5.97 14.9,6.88 14.81,7.11 C15.39,7.74 15.73,8.54 15.73,9.53 C15.73,12.99 13.63,13.75 11.62,13.97 C11.94,14.25 12.23,14.8 12.23,15.64 C12.23,16.84 12.22,17.81 12.22,18.11 C12.22,18.35 12.38,18.63 12.84,18.54 C16.42,17.35 19,13.98 19,10 C19,5.03 14.97,1 10,1 L10,1 Z\"/></svg>",
|
69 |
-
"gitter": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"3.5\" y=\"1\" width=\"1.531\" height=\"11.471\"/><rect x=\"7.324\" y=\"4.059\" width=\"1.529\" height=\"15.294\"/><rect x=\"11.148\" y=\"4.059\" width=\"1.527\" height=\"15.294\"/><rect x=\"14.971\" y=\"4.059\" width=\"1.529\" height=\"8.412\"/></svg>",
|
70 |
-
"google-plus": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.9,9c0,2.7-0.6,5-3.2,6.3c-3.7,1.8-8.1,0.2-9.4-3.6C-1.1,7.6,1.9,3.3,6.1,3c1.7-0.1,3.2,0.3,4.6,1.3 c0.1,0.1,0.3,0.2,0.4,0.4c-0.5,0.5-1.2,1-1.7,1.6c-1-0.8-2.1-1.1-3.5-0.9C5,5.6,4.2,6,3.6,6.7c-1.3,1.3-1.5,3.4-0.5,5 c1,1.7,2.6,2.3,4.6,1.9c1.4-0.3,2.4-1.2,2.6-2.6H6.9V9H12.9z\"/><polygon points=\"20,9 20,11 18,11 18,13 16,13 16,11 14,11 14,9 16,9 16,7 18,7 18,9\"/></svg>",
|
71 |
-
"google": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.86,9.09 C18.46,12.12 17.14,16.05 13.81,17.56 C9.45,19.53 4.13,17.68 2.47,12.87 C0.68,7.68 4.22,2.42 9.5,2.03 C11.57,1.88 13.42,2.37 15.05,3.65 C15.22,3.78 15.37,3.93 15.61,4.14 C14.9,4.81 14.23,5.45 13.5,6.14 C12.27,5.08 10.84,4.72 9.28,4.98 C8.12,5.17 7.16,5.76 6.37,6.63 C4.88,8.27 4.62,10.86 5.76,12.82 C6.95,14.87 9.17,15.8 11.57,15.25 C13.27,14.87 14.76,13.33 14.89,11.75 L10.51,11.75 L10.51,9.09 L17.86,9.09 L17.86,9.09 Z\"/></svg>",
|
72 |
-
"grid": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"2\" y=\"2\" width=\"3\" height=\"3\"/><rect x=\"8\" y=\"2\" width=\"3\" height=\"3\"/><rect x=\"14\" y=\"2\" width=\"3\" height=\"3\"/><rect x=\"2\" y=\"8\" width=\"3\" height=\"3\"/><rect x=\"8\" y=\"8\" width=\"3\" height=\"3\"/><rect x=\"14\" y=\"8\" width=\"3\" height=\"3\"/><rect x=\"2\" y=\"14\" width=\"3\" height=\"3\"/><rect x=\"8\" y=\"14\" width=\"3\" height=\"3\"/><rect x=\"14\" y=\"14\" width=\"3\" height=\"3\"/></svg>",
|
73 |
-
"happy": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"13\" cy=\"7\" r=\"1\"/><circle cx=\"7\" cy=\"7\" r=\"1\"/><circle fill=\"none\" stroke=\"#000\" cx=\"10\" cy=\"10\" r=\"8.5\"/><path fill=\"none\" stroke=\"#000\" d=\"M14.6,11.4 C13.9,13.3 12.1,14.5 10,14.5 C7.9,14.5 6.1,13.3 5.4,11.4\"/></svg>",
|
74 |
-
"hashtag": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.431,8 L15.661,7 L12.911,7 L13.831,3 L12.901,3 L11.98,7 L9.29,7 L10.21,3 L9.281,3 L8.361,7 L5.23,7 L5,8 L8.13,8 L7.21,12 L4.23,12 L4,13 L6.98,13 L6.061,17 L6.991,17 L7.911,13 L10.601,13 L9.681,17 L10.611,17 L11.531,13 L14.431,13 L14.661,12 L11.76,12 L12.681,8 L15.431,8 Z M10.831,12 L8.141,12 L9.061,8 L11.75,8 L10.831,12 Z\"/></svg>",
|
75 |
-
"heart": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" d=\"M10,4 C10,4 8.1,2 5.74,2 C3.38,2 1,3.55 1,6.73 C1,8.84 2.67,10.44 2.67,10.44 L10,18 L17.33,10.44 C17.33,10.44 19,8.84 19,6.73 C19,3.55 16.62,2 14.26,2 C11.9,2 10,4 10,4 L10,4 Z\"/></svg>",
|
76 |
-
"history": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"#000\" points=\"1 2 2 2 2 6 6 6 6 7 1 7 1 2\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M2.1,6.548 C3.391,3.29 6.746,1 10.5,1 C15.5,1 19.5,5 19.5,10 C19.5,15 15.5,19 10.5,19 C5.5,19 1.5,15 1.5,10\"/><rect x=\"9\" y=\"4\" width=\"1\" height=\"7\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M13.018,14.197 L9.445,10.625\"/></svg>",
|
77 |
-
"home": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"18.65 11.35 10 2.71 1.35 11.35 0.65 10.65 10 1.29 19.35 10.65\"/><polygon points=\"15 4 18 4 18 7 17 7 17 5 15 5\"/><polygon points=\"3 11 4 11 4 18 7 18 7 12 12 12 12 18 16 18 16 11 17 11 17 19 11 19 11 13 8 13 8 19 3 19\"/></svg>",
|
78 |
-
"image": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"16.1\" cy=\"6.1\" r=\"1.1\"/><rect fill=\"none\" stroke=\"#000\" x=\".5\" y=\"2.5\" width=\"19\" height=\"15\"/><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" points=\"4,13 8,9 13,14\"/><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" points=\"11,12 12.5,10.5 16,14\"/></svg>",
|
79 |
-
"info": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.13,11.59 C11.97,12.84 10.35,14.12 9.1,14.16 C6.17,14.2 9.89,9.46 8.74,8.37 C9.3,8.16 10.62,7.83 10.62,8.81 C10.62,9.63 10.12,10.55 9.88,11.32 C8.66,15.16 12.13,11.15 12.14,11.18 C12.16,11.21 12.16,11.35 12.13,11.59 C12.08,11.95 12.16,11.35 12.13,11.59 L12.13,11.59 Z M11.56,5.67 C11.56,6.67 9.36,7.15 9.36,6.03 C9.36,5 11.56,4.54 11.56,5.67 L11.56,5.67 Z\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/></svg>",
|
80 |
-
"instagram": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M13.55,1H6.46C3.45,1,1,3.44,1,6.44v7.12c0,3,2.45,5.44,5.46,5.44h7.08c3.02,0,5.46-2.44,5.46-5.44V6.44 C19.01,3.44,16.56,1,13.55,1z M17.5,14c0,1.93-1.57,3.5-3.5,3.5H6c-1.93,0-3.5-1.57-3.5-3.5V6c0-1.93,1.57-3.5,3.5-3.5h8 c1.93,0,3.5,1.57,3.5,3.5V14z\"/><circle cx=\"14.87\" cy=\"5.26\" r=\"1.09\"/><path d=\"M10.03,5.45c-2.55,0-4.63,2.06-4.63,4.6c0,2.55,2.07,4.61,4.63,4.61c2.56,0,4.63-2.061,4.63-4.61 C14.65,7.51,12.58,5.45,10.03,5.45L10.03,5.45L10.03,5.45z M10.08,13c-1.66,0-3-1.34-3-2.99c0-1.65,1.34-2.99,3-2.99s3,1.34,3,2.99 C13.08,11.66,11.74,13,10.08,13L10.08,13L10.08,13z\"/></svg>",
|
81 |
-
"italic": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.63,5.48 L10.15,14.52 C10,15.08 10.37,15.25 11.92,15.3 L11.72,16 L6,16 L6.2,15.31 C7.78,15.26 8.19,15.09 8.34,14.53 L10.82,5.49 C10.97,4.92 10.63,4.76 9.09,4.71 L9.28,4 L15,4 L14.81,4.69 C13.23,4.75 12.78,4.91 12.63,5.48 L12.63,5.48 Z\"/></svg>",
|
82 |
-
"joomla": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.8,13.4l1.7-1.7L5.9,8c-0.6-0.5-0.6-1.5,0-2c0.6-0.6,1.4-0.6,2,0l1.7-1.7c-1-1-2.3-1.3-3.6-1C5.8,2.2,4.8,1.4,3.7,1.4 c-1.3,0-2.3,1-2.3,2.3c0,1.1,0.8,2,1.8,2.3c-0.4,1.3-0.1,2.8,1,3.8L7.8,13.4L7.8,13.4z\"/><path d=\"M10.2,4.3c1-1,2.5-1.4,3.8-1c0.2-1.1,1.1-2,2.3-2c1.3,0,2.3,1,2.3,2.3c0,1.2-0.9,2.2-2,2.3c0.4,1.3,0,2.8-1,3.8L13.9,8 c0.6-0.5,0.6-1.5,0-2c-0.5-0.6-1.5-0.6-2,0L8.2,9.7L6.5,8\"/><path d=\"M14.1,16.8c-1.3,0.4-2.8,0.1-3.8-1l1.7-1.7c0.6,0.6,1.5,0.6,2,0c0.5-0.6,0.6-1.5,0-2l-3.7-3.7L12,6.7l3.7,3.7 c1,1,1.3,2.4,1,3.6c1.1,0.2,2,1.1,2,2.3c0,1.3-1,2.3-2.3,2.3C15.2,18.6,14.3,17.8,14.1,16.8\"/><path d=\"M13.2,12.2l-3.7,3.7c-1,1-2.4,1.3-3.6,1c-0.2,1-1.2,1.8-2.2,1.8c-1.3,0-2.3-1-2.3-2.3c0-1.1,0.8-2,1.8-2.3 c-0.3-1.3,0-2.7,1-3.7l1.7,1.7c-0.6,0.6-0.6,1.5,0,2c0.6,0.6,1.4,0.6,2,0l3.7-3.7\"/></svg>",
|
83 |
-
"laptop": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect y=\"16\" width=\"20\" height=\"1\"/><rect fill=\"none\" stroke=\"#000\" x=\"2.5\" y=\"4.5\" width=\"15\" height=\"10\"/></svg>",
|
84 |
-
"lifesaver": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10,0.5 C4.76,0.5 0.5,4.76 0.5,10 C0.5,15.24 4.76,19.5 10,19.5 C15.24,19.5 19.5,15.24 19.5,10 C19.5,4.76 15.24,0.5 10,0.5 L10,0.5 Z M10,1.5 C11.49,1.5 12.89,1.88 14.11,2.56 L11.85,4.82 C11.27,4.61 10.65,4.5 10,4.5 C9.21,4.5 8.47,4.67 7.79,4.96 L5.58,2.75 C6.87,1.95 8.38,1.5 10,1.5 L10,1.5 Z M4.96,7.8 C4.67,8.48 4.5,9.21 4.5,10 C4.5,10.65 4.61,11.27 4.83,11.85 L2.56,14.11 C1.88,12.89 1.5,11.49 1.5,10 C1.5,8.38 1.95,6.87 2.75,5.58 L4.96,7.79 L4.96,7.8 L4.96,7.8 Z M10,18.5 C8.25,18.5 6.62,17.97 5.27,17.06 L7.46,14.87 C8.22,15.27 9.08,15.5 10,15.5 C10.79,15.5 11.53,15.33 12.21,15.04 L14.42,17.25 C13.13,18.05 11.62,18.5 10,18.5 L10,18.5 Z M10,14.5 C7.52,14.5 5.5,12.48 5.5,10 C5.5,7.52 7.52,5.5 10,5.5 C12.48,5.5 14.5,7.52 14.5,10 C14.5,12.48 12.48,14.5 10,14.5 L10,14.5 Z M15.04,12.21 C15.33,11.53 15.5,10.79 15.5,10 C15.5,9.08 15.27,8.22 14.87,7.46 L17.06,5.27 C17.97,6.62 18.5,8.25 18.5,10 C18.5,11.62 18.05,13.13 17.25,14.42 L15.04,12.21 L15.04,12.21 Z\"/></svg>",
|
85 |
-
"link": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M7.925,11.875 L11.925,7.975\"/></svg>",
|
86 |
-
"linkedin": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.77,17.89 L5.77,7.17 L2.21,7.17 L2.21,17.89 L5.77,17.89 L5.77,17.89 Z M3.99,5.71 C5.23,5.71 6.01,4.89 6.01,3.86 C5.99,2.8 5.24,2 4.02,2 C2.8,2 2,2.8 2,3.85 C2,4.88 2.77,5.7 3.97,5.7 L3.99,5.7 L3.99,5.71 L3.99,5.71 Z\"/><path d=\"M7.75,17.89 L11.31,17.89 L11.31,11.9 C11.31,11.58 11.33,11.26 11.43,11.03 C11.69,10.39 12.27,9.73 13.26,9.73 C14.55,9.73 15.06,10.71 15.06,12.15 L15.06,17.89 L18.62,17.89 L18.62,11.74 C18.62,8.45 16.86,6.92 14.52,6.92 C12.6,6.92 11.75,7.99 11.28,8.73 L11.3,8.73 L11.3,7.17 L7.75,7.17 C7.79,8.17 7.75,17.89 7.75,17.89 L7.75,17.89 L7.75,17.89 Z\"/></svg>",
|
87 |
-
"list": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"6\" y=\"4\" width=\"12\" height=\"1\"/><rect x=\"6\" y=\"9\" width=\"12\" height=\"1\"/><rect x=\"6\" y=\"14\" width=\"12\" height=\"1\"/><rect x=\"2\" y=\"4\" width=\"2\" height=\"1\"/><rect x=\"2\" y=\"9\" width=\"2\" height=\"1\"/><rect x=\"2\" y=\"14\" width=\"2\" height=\"1\"/></svg>",
|
88 |
-
"location": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" d=\"M10,0.5 C6.41,0.5 3.5,3.39 3.5,6.98 C3.5,11.83 10,19 10,19 C10,19 16.5,11.83 16.5,6.98 C16.5,3.39 13.59,0.5 10,0.5 L10,0.5 Z\"/><circle fill=\"none\" stroke=\"#000\" cx=\"10\" cy=\"6.8\" r=\"2.3\"/></svg>",
|
89 |
-
"lock": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" height=\"10\" width=\"13\" y=\"8.5\" x=\"3.5\"/><path fill=\"none\" stroke=\"#000\" d=\"M6.5,8 L6.5,4.88 C6.5,3.01 8.07,1.5 10,1.5 C11.93,1.5 13.5,3.01 13.5,4.88 L13.5,8\"/></svg>",
|
90 |
-
"mail": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"1.4,6.5 10,11 18.6,6.5\"/><path d=\"M 1,4 1,16 19,16 19,4 1,4 Z M 18,15 2,15 2,5 18,5 18,15 Z\"/></svg>",
|
91 |
-
"menu": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"2\" y=\"4\" width=\"16\" height=\"1\"/><rect x=\"2\" y=\"9\" width=\"16\" height=\"1\"/><rect x=\"2\" y=\"14\" width=\"16\" height=\"1\"/></svg>",
|
92 |
-
"microphone": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><line fill=\"none\" stroke=\"#000\" x1=\"10\" x2=\"10\" y1=\"16.44\" y2=\"18.5\"/><line fill=\"none\" stroke=\"#000\" x1=\"7\" x2=\"13\" y1=\"18.5\" y2=\"18.5\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M13.5 4.89v5.87a3.5 3.5 0 0 1-7 0V4.89a3.5 3.5 0 0 1 7 0z\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M15.5 10.36V11a5.5 5.5 0 0 1-11 0v-.6\"/></svg>",
|
93 |
-
"minus-circle": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"9.5\" cy=\"9.5\" r=\"9\"/><line fill=\"none\" stroke=\"#000\" x1=\"5\" y1=\"9.5\" x2=\"14\" y2=\"9.5\"/></svg>",
|
94 |
-
"minus": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect height=\"1\" width=\"18\" y=\"9\" x=\"1\"/></svg>",
|
95 |
-
"more-vertical": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"10\" cy=\"3\" r=\"2\"/><circle cx=\"10\" cy=\"10\" r=\"2\"/><circle cx=\"10\" cy=\"17\" r=\"2\"/></svg>",
|
96 |
-
"more": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"3\" cy=\"10\" r=\"2\"/><circle cx=\"10\" cy=\"10\" r=\"2\"/><circle cx=\"17\" cy=\"10\" r=\"2\"/></svg>",
|
97 |
-
"move": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"4,5 1,5 1,9 2,9 2,6 4,6\"/><polygon points=\"1,16 2,16 2,18 4,18 4,19 1,19\"/><polygon points=\"14,16 14,19 11,19 11,18 13,18 13,16\"/><rect fill=\"none\" stroke=\"#000\" x=\"5.5\" y=\"1.5\" width=\"13\" height=\"13\"/><rect x=\"1\" y=\"11\" width=\"1\" height=\"3\"/><rect x=\"6\" y=\"18\" width=\"3\" height=\"1\"/></svg>",
|
98 |
-
"nut": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"2.5,5.7 10,1.3 17.5,5.7 17.5,14.3 10,18.7 2.5,14.3\"/><circle fill=\"none\" stroke=\"#000\" cx=\"10\" cy=\"10\" r=\"3.5\"/></svg>",
|
99 |
-
"pagekit": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"3,1 17,1 17,16 10,16 10,13 14,13 14,4 6,4 6,16 10,16 10,19 3,19\"/></svg>",
|
100 |
-
"paint-bucket": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10.21,1 L0,11.21 L8.1,19.31 L18.31,9.1 L10.21,1 L10.21,1 Z M16.89,9.1 L15,11 L1.7,11 L10.21,2.42 L16.89,9.1 Z\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M6.42,2.33 L11.7,7.61\"/><path d=\"M18.49,12 C18.49,12 20,14.06 20,15.36 C20,16.28 19.24,17 18.49,17 L18.49,17 C17.74,17 17,16.28 17,15.36 C17,14.06 18.49,12 18.49,12 L18.49,12 Z\"/></svg>",
|
101 |
-
"pencil": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M17.25,6.01 L7.12,16.1 L3.82,17.2 L5.02,13.9 L15.12,3.88 C15.71,3.29 16.66,3.29 17.25,3.88 C17.83,4.47 17.83,5.42 17.25,6.01 L17.25,6.01 Z\"/><path fill=\"none\" stroke=\"#000\" d=\"M15.98,7.268 L13.851,5.148\"/></svg>",
|
102 |
-
"phone-landscape": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M17,5.5 C17.8,5.5 18.5,6.2 18.5,7 L18.5,14 C18.5,14.8 17.8,15.5 17,15.5 L3,15.5 C2.2,15.5 1.5,14.8 1.5,14 L1.5,7 C1.5,6.2 2.2,5.5 3,5.5 L17,5.5 L17,5.5 L17,5.5 Z\"/><circle cx=\"3.8\" cy=\"10.5\" r=\".8\"/></svg>",
|
103 |
-
"phone": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M15.5,17 C15.5,17.8 14.8,18.5 14,18.5 L7,18.5 C6.2,18.5 5.5,17.8 5.5,17 L5.5,3 C5.5,2.2 6.2,1.5 7,1.5 L14,1.5 C14.8,1.5 15.5,2.2 15.5,3 L15.5,17 L15.5,17 L15.5,17 Z\"/><circle cx=\"10.5\" cy=\"16.5\" r=\".8\"/></svg>",
|
104 |
-
"pinterest": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10.21,1 C5.5,1 3,4.16 3,7.61 C3,9.21 3.85,11.2 5.22,11.84 C5.43,11.94 5.54,11.89 5.58,11.69 C5.62,11.54 5.8,10.8 5.88,10.45 C5.91,10.34 5.89,10.24 5.8,10.14 C5.36,9.59 5,8.58 5,7.65 C5,5.24 6.82,2.91 9.93,2.91 C12.61,2.91 14.49,4.74 14.49,7.35 C14.49,10.3 13,12.35 11.06,12.35 C9.99,12.35 9.19,11.47 9.44,10.38 C9.75,9.08 10.35,7.68 10.35,6.75 C10.35,5.91 9.9,5.21 8.97,5.21 C7.87,5.21 6.99,6.34 6.99,7.86 C6.99,8.83 7.32,9.48 7.32,9.48 C7.32,9.48 6.24,14.06 6.04,14.91 C5.7,16.35 6.08,18.7 6.12,18.9 C6.14,19.01 6.26,19.05 6.33,18.95 C6.44,18.81 7.74,16.85 8.11,15.44 C8.24,14.93 8.79,12.84 8.79,12.84 C9.15,13.52 10.19,14.09 11.29,14.09 C14.58,14.09 16.96,11.06 16.96,7.3 C16.94,3.7 14,1 10.21,1\"/></svg>",
|
105 |
-
"play-circle": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"8.5 7 13.5 10 8.5 13\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/></svg>",
|
106 |
-
"play": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"6.5,5 14.5,10 6.5,15\"/></svg>",
|
107 |
-
"plus-circle": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"9.5\" cy=\"9.5\" r=\"9\"/><line fill=\"none\" stroke=\"#000\" x1=\"9.5\" y1=\"5\" x2=\"9.5\" y2=\"14\"/><line fill=\"none\" stroke=\"#000\" x1=\"5\" y1=\"9.5\" x2=\"14\" y2=\"9.5\"/></svg>",
|
108 |
-
"plus": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"9\" y=\"1\" width=\"1\" height=\"17\"/><rect x=\"1\" y=\"9\" width=\"17\" height=\"1\"/></svg>",
|
109 |
-
"print": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"4.5 13.5 1.5 13.5 1.5 6.5 18.5 6.5 18.5 13.5 15.5 13.5\"/><polyline fill=\"none\" stroke=\"#000\" points=\"15.5 6.5 15.5 2.5 4.5 2.5 4.5 6.5\"/><rect fill=\"none\" stroke=\"#000\" width=\"11\" height=\"6\" x=\"4.5\" y=\"11.5\"/><rect width=\"8\" height=\"1\" x=\"6\" y=\"13\"/><rect width=\"8\" height=\"1\" x=\"6\" y=\"15\"/></svg>",
|
110 |
-
"pull": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"6.85,8 9.5,10.6 12.15,8 12.85,8.7 9.5,12 6.15,8.7\"/><line fill=\"none\" stroke=\"#000\" x1=\"9.5\" y1=\"11\" x2=\"9.5\" y2=\"2\"/><polyline fill=\"none\" stroke=\"#000\" points=\"6,5.5 3.5,5.5 3.5,18.5 15.5,18.5 15.5,5.5 13,5.5\"/></svg>",
|
111 |
-
"push": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"12.15,4 9.5,1.4 6.85,4 6.15,3.3 9.5,0 12.85,3.3\"/><line fill=\"none\" stroke=\"#000\" x1=\"9.5\" y1=\"10\" x2=\"9.5\" y2=\"1\"/><polyline fill=\"none\" stroke=\"#000\" points=\"6 5.5 3.5 5.5 3.5 18.5 15.5 18.5 15.5 5.5 13 5.5\"/></svg>",
|
112 |
-
"question": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/><circle cx=\"10.44\" cy=\"14.42\" r=\"1.05\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" d=\"M8.17,7.79 C8.17,4.75 12.72,4.73 12.72,7.72 C12.72,8.67 11.81,9.15 11.23,9.75 C10.75,10.24 10.51,10.73 10.45,11.4 C10.44,11.53 10.43,11.64 10.43,11.75\"/></svg>",
|
113 |
-
"quote-right": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.27,7.79 C17.27,9.45 16.97,10.43 15.99,12.02 C14.98,13.64 13,15.23 11.56,15.97 L11.1,15.08 C12.34,14.2 13.14,13.51 14.02,11.82 C14.27,11.34 14.41,10.92 14.49,10.54 C14.3,10.58 14.09,10.6 13.88,10.6 C12.06,10.6 10.59,9.12 10.59,7.3 C10.59,5.48 12.06,4 13.88,4 C15.39,4 16.67,5.02 17.05,6.42 C17.19,6.82 17.27,7.27 17.27,7.79 L17.27,7.79 Z\"/><path d=\"M8.68,7.79 C8.68,9.45 8.38,10.43 7.4,12.02 C6.39,13.64 4.41,15.23 2.97,15.97 L2.51,15.08 C3.75,14.2 4.55,13.51 5.43,11.82 C5.68,11.34 5.82,10.92 5.9,10.54 C5.71,10.58 5.5,10.6 5.29,10.6 C3.47,10.6 2,9.12 2,7.3 C2,5.48 3.47,4 5.29,4 C6.8,4 8.08,5.02 8.46,6.42 C8.6,6.82 8.68,7.27 8.68,7.79 L8.68,7.79 Z\"/></svg>",
|
114 |
-
"receiver": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" d=\"M6.189,13.611C8.134,15.525 11.097,18.239 13.867,18.257C16.47,18.275 18.2,16.241 18.2,16.241L14.509,12.551L11.539,13.639L6.189,8.29L7.313,5.355L3.76,1.8C3.76,1.8 1.732,3.537 1.7,6.092C1.667,8.809 4.347,11.738 6.189,13.611\"/></svg>",
|
115 |
-
"reddit": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19 9.05a2.56 2.56 0 0 0-2.56-2.56 2.59 2.59 0 0 0-1.88.82 10.63 10.63 0 0 0-4.14-1v-.08c.58-1.62 1.58-3.89 2.7-4.1.38-.08.77.12 1.19.57a1.15 1.15 0 0 0-.06.37 1.48 1.48 0 1 0 1.51-1.45 1.43 1.43 0 0 0-.76.19A2.29 2.29 0 0 0 12.91 1c-2.11.43-3.39 4.38-3.63 5.19 0 0 0 .11-.06.11a10.65 10.65 0 0 0-3.75 1A2.56 2.56 0 0 0 1 9.05a2.42 2.42 0 0 0 .72 1.76A5.18 5.18 0 0 0 1.24 13c0 3.66 3.92 6.64 8.73 6.64s8.74-3 8.74-6.64a5.23 5.23 0 0 0-.46-2.13A2.58 2.58 0 0 0 19 9.05zm-16.88 0a1.44 1.44 0 0 1 2.27-1.19 7.68 7.68 0 0 0-2.07 1.91 1.33 1.33 0 0 1-.2-.72zM10 18.4c-4.17 0-7.55-2.4-7.55-5.4S5.83 7.53 10 7.53 17.5 10 17.5 13s-3.38 5.4-7.5 5.4zm7.69-8.61a7.62 7.62 0 0 0-2.09-1.91 1.41 1.41 0 0 1 .84-.28 1.47 1.47 0 0 1 1.44 1.45 1.34 1.34 0 0 1-.21.72z\"/><path d=\"M6.69 12.58a1.39 1.39 0 1 1 1.39-1.39 1.38 1.38 0 0 1-1.38 1.39z\"/><path d=\"M14.26 11.2a1.39 1.39 0 1 1-1.39-1.39 1.39 1.39 0 0 1 1.39 1.39z\"/><path d=\"M13.09 14.88a.54.54 0 0 1-.09.77 5.3 5.3 0 0 1-3.26 1.19 5.61 5.61 0 0 1-3.4-1.22.55.55 0 1 1 .73-.83 4.09 4.09 0 0 0 5.25 0 .56.56 0 0 1 .77.09z\"/></svg>",
|
116 |
-
"refresh": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M17.08,11.15 C17.09,11.31 17.1,11.47 17.1,11.64 C17.1,15.53 13.94,18.69 10.05,18.69 C6.16,18.68 3,15.53 3,11.63 C3,7.74 6.16,4.58 10.05,4.58 C10.9,4.58 11.71,4.73 12.46,5\"/><polyline fill=\"none\" stroke=\"#000\" points=\"9.9 2 12.79 4.89 9.79 7.9\"/></svg>",
|
117 |
-
"reply": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.7,13.11 C16.12,10.02 13.84,7.85 11.02,6.61 C10.57,6.41 9.75,6.13 9,5.91 L9,2 L1,9 L9,16 L9,12.13 C10.78,12.47 12.5,13.19 14.09,14.25 C17.13,16.28 18.56,18.54 18.56,18.54 C18.56,18.54 18.81,15.28 17.7,13.11 L17.7,13.11 Z M14.82,13.53 C13.17,12.4 11.01,11.4 8,10.92 L8,13.63 L2.55,9 L8,4.25 L8,6.8 C8.3,6.86 9.16,7.02 10.37,7.49 C13.3,8.65 15.54,10.96 16.65,13.08 C16.97,13.7 17.48,14.86 17.68,16 C16.87,15.05 15.73,14.15 14.82,13.53 L14.82,13.53 Z\"/></svg>",
|
118 |
-
"rss": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"3.12\" cy=\"16.8\" r=\"1.85\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M1.5,8.2 C1.78,8.18 2.06,8.16 2.35,8.16 C7.57,8.16 11.81,12.37 11.81,17.57 C11.81,17.89 11.79,18.19 11.76,18.5\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M1.5,2.52 C1.78,2.51 2.06,2.5 2.35,2.5 C10.72,2.5 17.5,9.24 17.5,17.57 C17.5,17.89 17.49,18.19 17.47,18.5\"/></svg>",
|
119 |
-
"search": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"9\" cy=\"9\" r=\"7\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M14,14 L18,18 L14,14 Z\"/></svg>",
|
120 |
-
"server": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"3\" y=\"3\" width=\"1\" height=\"2\"/><rect x=\"5\" y=\"3\" width=\"1\" height=\"2\"/><rect x=\"7\" y=\"3\" width=\"1\" height=\"2\"/><rect x=\"16\" y=\"3\" width=\"1\" height=\"1\"/><rect x=\"16\" y=\"10\" width=\"1\" height=\"1\"/><circle fill=\"none\" stroke=\"#000\" cx=\"9.9\" cy=\"17.4\" r=\"1.4\"/><rect x=\"3\" y=\"10\" width=\"1\" height=\"2\"/><rect x=\"5\" y=\"10\" width=\"1\" height=\"2\"/><rect x=\"9.5\" y=\"14\" width=\"1\" height=\"2\"/><rect x=\"3\" y=\"17\" width=\"6\" height=\"1\"/><rect x=\"11\" y=\"17\" width=\"6\" height=\"1\"/><rect fill=\"none\" stroke=\"#000\" x=\"1.5\" y=\"1.5\" width=\"17\" height=\"5\"/><rect fill=\"none\" stroke=\"#000\" x=\"1.5\" y=\"8.5\" width=\"17\" height=\"5\"/></svg>",
|
121 |
-
"settings": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><ellipse fill=\"none\" stroke=\"#000\" cx=\"6.11\" cy=\"3.55\" rx=\"2.11\" ry=\"2.15\"/><ellipse fill=\"none\" stroke=\"#000\" cx=\"6.11\" cy=\"15.55\" rx=\"2.11\" ry=\"2.15\"/><circle fill=\"none\" stroke=\"#000\" cx=\"13.15\" cy=\"9.55\" r=\"2.15\"/><rect x=\"1\" y=\"3\" width=\"3\" height=\"1\"/><rect x=\"10\" y=\"3\" width=\"8\" height=\"1\"/><rect x=\"1\" y=\"9\" width=\"8\" height=\"1\"/><rect x=\"15\" y=\"9\" width=\"3\" height=\"1\"/><rect x=\"1\" y=\"15\" width=\"3\" height=\"1\"/><rect x=\"10\" y=\"15\" width=\"8\" height=\"1\"/></svg>",
|
122 |
-
"shrink": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"11 4 12 4 12 8 16 8 16 9 11 9\"/><polygon points=\"4 11 9 11 9 16 8 16 8 12 4 12\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M12,8 L18,2\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M2,18 L8,12\"/></svg>",
|
123 |
-
"sign-in": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"7 2 17 2 17 17 7 17 7 16 16 16 16 3 7 3\"/><polygon points=\"9.1 13.4 8.5 12.8 11.28 10 4 10 4 9 11.28 9 8.5 6.2 9.1 5.62 13 9.5\"/></svg>",
|
124 |
-
"sign-out": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"13.1 13.4 12.5 12.8 15.28 10 8 10 8 9 15.28 9 12.5 6.2 13.1 5.62 17 9.5\"/><polygon points=\"13 2 3 2 3 17 13 17 13 16 4 16 4 3 13 3\"/></svg>",
|
125 |
-
"social": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"13.4\" y1=\"14\" x2=\"6.3\" y2=\"10.7\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"13.5\" y1=\"5.5\" x2=\"6.5\" y2=\"8.8\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"15.5\" cy=\"4.6\" r=\"2.3\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"15.5\" cy=\"14.8\" r=\"2.3\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"4.5\" cy=\"9.8\" r=\"2.3\"/></svg>",
|
126 |
-
"soundcloud": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.2,9.4c-0.4,0-0.8,0.1-1.101,0.2c-0.199-2.5-2.399-4.5-5-4.5c-0.6,0-1.2,0.1-1.7,0.3C9.2,5.5,9.1,5.6,9.1,5.6V15h8 c1.601,0,2.801-1.2,2.801-2.8C20,10.7,18.7,9.4,17.2,9.4L17.2,9.4z\"/><rect x=\"6\" y=\"6.5\" width=\"1.5\" height=\"8.5\"/><rect x=\"3\" y=\"8\" width=\"1.5\" height=\"7\"/><rect y=\"10\" width=\"1.5\" height=\"5\"/></svg>",
|
127 |
-
"star": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" points=\"10 2 12.63 7.27 18.5 8.12 14.25 12.22 15.25 18 10 15.27 4.75 18 5.75 12.22 1.5 8.12 7.37 7.27\"/></svg>",
|
128 |
-
"strikethrough": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6,13.02 L6.65,13.02 C7.64,15.16 8.86,16.12 10.41,16.12 C12.22,16.12 12.92,14.93 12.92,13.89 C12.92,12.55 11.99,12.03 9.74,11.23 C8.05,10.64 6.23,10.11 6.23,7.83 C6.23,5.5 8.09,4.09 10.4,4.09 C11.44,4.09 12.13,4.31 12.72,4.54 L13.33,4 L13.81,4 L13.81,7.59 L13.16,7.59 C12.55,5.88 11.52,4.89 10.07,4.89 C8.84,4.89 7.89,5.69 7.89,7.03 C7.89,8.29 8.89,8.78 10.88,9.45 C12.57,10.03 14.38,10.6 14.38,12.91 C14.38,14.75 13.27,16.93 10.18,16.93 C9.18,16.93 8.17,16.69 7.46,16.39 L6.52,17 L6,17 L6,13.02 L6,13.02 Z\"/><rect x=\"3\" y=\"10\" width=\"15\" height=\"1\"/></svg>",
|
129 |
-
"table": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"1\" y=\"3\" width=\"18\" height=\"1\"/><rect x=\"1\" y=\"7\" width=\"18\" height=\"1\"/><rect x=\"1\" y=\"11\" width=\"18\" height=\"1\"/><rect x=\"1\" y=\"15\" width=\"18\" height=\"1\"/></svg>",
|
130 |
-
"tablet-landscape": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M1.5,5 C1.5,4.2 2.2,3.5 3,3.5 L17,3.5 C17.8,3.5 18.5,4.2 18.5,5 L18.5,16 C18.5,16.8 17.8,17.5 17,17.5 L3,17.5 C2.2,17.5 1.5,16.8 1.5,16 L1.5,5 L1.5,5 L1.5,5 Z\"/><circle cx=\"3.7\" cy=\"10.5\" r=\".8\"/></svg>",
|
131 |
-
"tablet": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M5,18.5 C4.2,18.5 3.5,17.8 3.5,17 L3.5,3 C3.5,2.2 4.2,1.5 5,1.5 L16,1.5 C16.8,1.5 17.5,2.2 17.5,3 L17.5,17 C17.5,17.8 16.8,18.5 16,18.5 L5,18.5 L5,18.5 L5,18.5 Z\"/><circle cx=\"10.5\" cy=\"16.3\" r=\".8\"/></svg>",
|
132 |
-
"tag": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M17.5,3.71 L17.5,7.72 C17.5,7.96 17.4,8.2 17.21,8.39 L8.39,17.2 C7.99,17.6 7.33,17.6 6.93,17.2 L2.8,13.07 C2.4,12.67 2.4,12.01 2.8,11.61 L11.61,2.8 C11.81,2.6 12.08,2.5 12.34,2.5 L16.19,2.5 C16.52,2.5 16.86,2.63 17.11,2.88 C17.35,3.11 17.48,3.4 17.5,3.71 L17.5,3.71 Z\"/><circle cx=\"14\" cy=\"6\" r=\"1\"/></svg>",
|
133 |
-
"thumbnails": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" x=\"3.5\" y=\"3.5\" width=\"5\" height=\"5\"/><rect fill=\"none\" stroke=\"#000\" x=\"11.5\" y=\"3.5\" width=\"5\" height=\"5\"/><rect fill=\"none\" stroke=\"#000\" x=\"11.5\" y=\"11.5\" width=\"5\" height=\"5\"/><rect fill=\"none\" stroke=\"#000\" x=\"3.5\" y=\"11.5\" width=\"5\" height=\"5\"/></svg>",
|
134 |
-
"trash": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"6.5 3 6.5 1.5 13.5 1.5 13.5 3\"/><polyline fill=\"none\" stroke=\"#000\" points=\"4.5 4 4.5 18.5 15.5 18.5 15.5 4\"/><rect x=\"8\" y=\"7\" width=\"1\" height=\"9\"/><rect x=\"11\" y=\"7\" width=\"1\" height=\"9\"/><rect x=\"2\" y=\"3\" width=\"16\" height=\"1\"/></svg>",
|
135 |
-
"triangle-down": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"5 7 15 7 10 12\"/></svg>",
|
136 |
-
"triangle-left": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"12 5 7 10 12 15\"/></svg>",
|
137 |
-
"triangle-right": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"8 5 13 10 8 15\"/></svg>",
|
138 |
-
"triangle-up": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"5 13 10 8 15 13\"/></svg>",
|
139 |
-
"tripadvisor": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19.021,7.866C19.256,6.862,20,5.854,20,5.854h-3.346C14.781,4.641,12.504,4,9.98,4C7.363,4,4.999,4.651,3.135,5.876H0\tc0,0,0.738,0.987,0.976,1.988c-0.611,0.837-0.973,1.852-0.973,2.964c0,2.763,2.249,5.009,5.011,5.009\tc1.576,0,2.976-0.737,3.901-1.879l1.063,1.599l1.075-1.615c0.475,0.611,1.1,1.111,1.838,1.451c1.213,0.547,2.574,0.612,3.825,0.15\tc2.589-0.963,3.913-3.852,2.964-6.439c-0.175-0.463-0.4-0.876-0.675-1.238H19.021z M16.38,14.594\tc-1.002,0.371-2.088,0.328-3.06-0.119c-0.688-0.317-1.252-0.817-1.657-1.438c-0.164-0.25-0.313-0.52-0.417-0.811\tc-0.124-0.328-0.186-0.668-0.217-1.014c-0.063-0.689,0.037-1.396,0.339-2.043c0.448-0.971,1.251-1.71,2.25-2.079\tc2.075-0.765,4.375,0.3,5.14,2.366c0.762,2.066-0.301,4.37-2.363,5.134L16.38,14.594L16.38,14.594z M8.322,13.066\tc-0.72,1.059-1.935,1.76-3.309,1.76c-2.207,0-4.001-1.797-4.001-3.996c0-2.203,1.795-4.002,4.001-4.002\tc2.204,0,3.999,1.8,3.999,4.002c0,0.137-0.024,0.261-0.04,0.396c-0.067,0.678-0.284,1.313-0.648,1.853v-0.013H8.322z M2.472,10.775\tc0,1.367,1.112,2.479,2.476,2.479c1.363,0,2.472-1.11,2.472-2.479c0-1.359-1.11-2.468-2.472-2.468\tC3.584,8.306,2.473,9.416,2.472,10.775L2.472,10.775z M12.514,10.775c0,1.367,1.104,2.479,2.471,2.479\tc1.363,0,2.474-1.108,2.474-2.479c0-1.359-1.11-2.468-2.474-2.468c-1.364,0-2.477,1.109-2.477,2.468H12.514z M3.324,10.775\tc0-0.893,0.726-1.618,1.614-1.618c0.889,0,1.625,0.727,1.625,1.618c0,0.898-0.725,1.627-1.625,1.627\tc-0.901,0-1.625-0.729-1.625-1.627H3.324z M13.354,10.775c0-0.893,0.726-1.618,1.627-1.618c0.886,0,1.61,0.727,1.61,1.618\tc0,0.898-0.726,1.627-1.626,1.627s-1.625-0.729-1.625-1.627H13.354z M9.977,4.875c1.798,0,3.425,0.324,4.849,0.968\tc-0.535,0.015-1.061,0.108-1.586,0.3c-1.264,0.463-2.264,1.388-2.815,2.604c-0.262,0.551-0.398,1.133-0.448,1.72\tC9.79,7.905,7.677,5.873,5.076,5.82C6.501,5.208,8.153,4.875,9.94,4.875H9.977z\"/></svg>",
|
140 |
-
"tumblr": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6.885,8.598c0,0,0,3.393,0,4.996c0,0.282,0,0.66,0.094,0.942c0.377,1.509,1.131,2.545,2.545,3.11 c1.319,0.472,2.356,0.472,3.676,0c0.565-0.188,1.132-0.659,1.132-0.659l-0.849-2.263c0,0-1.036,0.378-1.603,0.283 c-0.565-0.094-1.226-0.66-1.226-1.508c0-1.603,0-4.902,0-4.902h2.828V5.771h-2.828V2H8.205c0,0-0.094,0.66-0.188,0.942 C7.828,3.791,7.262,4.733,6.603,5.394C5.848,6.147,5,6.43,5,6.43v2.168H6.885z\"/></svg>",
|
141 |
-
"tv": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"7\" y=\"16\" width=\"6\" height=\"1\"/><rect fill=\"none\" stroke=\"#000\" x=\".5\" y=\"3.5\" width=\"19\" height=\"11\"/></svg>",
|
142 |
-
"twitter": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19,4.74 C18.339,5.029 17.626,5.229 16.881,5.32 C17.644,4.86 18.227,4.139 18.503,3.28 C17.79,3.7 17.001,4.009 16.159,4.17 C15.485,3.45 14.526,3 13.464,3 C11.423,3 9.771,4.66 9.771,6.7 C9.771,6.99 9.804,7.269 9.868,7.539 C6.795,7.38 4.076,5.919 2.254,3.679 C1.936,4.219 1.754,4.86 1.754,5.539 C1.754,6.82 2.405,7.95 3.397,8.61 C2.79,8.589 2.22,8.429 1.723,8.149 L1.723,8.189 C1.723,9.978 2.997,11.478 4.686,11.82 C4.376,11.899 4.049,11.939 3.713,11.939 C3.475,11.939 3.245,11.919 3.018,11.88 C3.49,13.349 4.852,14.419 6.469,14.449 C5.205,15.429 3.612,16.019 1.882,16.019 C1.583,16.019 1.29,16.009 1,15.969 C2.635,17.019 4.576,17.629 6.662,17.629 C13.454,17.629 17.17,12 17.17,7.129 C17.17,6.969 17.166,6.809 17.157,6.649 C17.879,6.129 18.504,5.478 19,4.74\"/></svg>",
|
143 |
-
"uikit": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"14.4,3.1 11.3,5.1 15,7.3 15,12.9 10,15.7 5,12.9 5,8.5 2,6.8 2,14.8 9.9,19.5 18,14.8 18,5.3\"/><polygon points=\"9.8,4.2 6.7,2.4 9.8,0.4 12.9,2.3\"/></svg>",
|
144 |
-
"unlock": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" x=\"3.5\" y=\"8.5\" width=\"13\" height=\"10\"/><path fill=\"none\" stroke=\"#000\" d=\"M6.5,8.5 L6.5,4.9 C6.5,3 8.1,1.5 10,1.5 C11.9,1.5 13.5,3 13.5,4.9\"/></svg>",
|
145 |
-
"upload": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"5 8 9.5 3.5 14 8\"/><rect x=\"3\" y=\"17\" width=\"13\" height=\"1\"/><line fill=\"none\" stroke=\"#000\" x1=\"9.5\" y1=\"15\" x2=\"9.5\" y2=\"4\"/></svg>",
|
146 |
-
"user": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"9.9\" cy=\"6.4\" r=\"4.4\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M1.5,19 C2.3,14.5 5.8,11.2 10,11.2 C14.2,11.2 17.7,14.6 18.5,19.2\"/></svg>",
|
147 |
-
"users": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"7.7\" cy=\"8.6\" r=\"3.5\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1\"/></svg>",
|
148 |
-
"video-camera": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"17.5 6.9 17.5 13.1 13.5 10.4 13.5 14.5 2.5 14.5 2.5 5.5 13.5 5.5 13.5 9.6 17.5 6.9\"/></svg>",
|
149 |
-
"vimeo": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.065,7.59C1.84,7.367,1.654,7.082,1.468,6.838c-0.332-0.42-0.137-0.411,0.274-0.772c1.026-0.91,2.004-1.896,3.127-2.688 c1.017-0.713,2.365-1.173,3.286-0.039c0.849,1.045,0.869,2.629,1.084,3.891c0.215,1.309,0.421,2.648,0.88,3.901 c0.127,0.352,0.37,1.018,0.81,1.074c0.567,0.078,1.145-0.917,1.408-1.289c0.684-0.987,1.611-2.317,1.494-3.587 c-0.115-1.349-1.572-1.095-2.482-0.773c0.146-1.514,1.555-3.216,2.912-3.792c1.439-0.597,3.579-0.587,4.302,1.036 c0.772,1.759,0.078,3.802-0.763,5.396c-0.918,1.731-2.1,3.333-3.363,4.829c-1.114,1.329-2.432,2.787-4.093,3.422 c-1.897,0.723-3.021-0.686-3.667-2.318c-0.705-1.777-1.056-3.771-1.565-5.621C4.898,8.726,4.644,7.836,4.136,7.191 C3.473,6.358,2.72,7.141,2.065,7.59C1.977,7.502,2.115,7.551,2.065,7.59L2.065,7.59z\"/></svg>",
|
150 |
-
"warning": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"10\" cy=\"14\" r=\"1\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/><path d=\"M10.97,7.72 C10.85,9.54 10.56,11.29 10.56,11.29 C10.51,11.87 10.27,12 9.99,12 C9.69,12 9.49,11.87 9.43,11.29 C9.43,11.29 9.16,9.54 9.03,7.72 C8.96,6.54 9.03,6 9.03,6 C9.03,5.45 9.46,5.02 9.99,5 C10.53,5.01 10.97,5.44 10.97,6 C10.97,6 11.04,6.54 10.97,7.72 L10.97,7.72 Z\"/></svg>",
|
151 |
-
"whatsapp": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M16.7,3.3c-1.8-1.8-4.1-2.8-6.7-2.8c-5.2,0-9.4,4.2-9.4,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3c1.4,0.8,2.9,1.2,4.5,1.2 l0,0l0,0c5.2,0,9.4-4.2,9.4-9.4C19.5,7.4,18.5,5,16.7,3.3 M10.1,17.7L10.1,17.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2l-3,0.8l0.8-2.9 l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.8-7.8c2.1,0,4.1,0.8,5.5,2.3c1.5,1.5,2.3,3.4,2.3,5.5 C17.9,14.2,14.4,17.7,10.1,17.7 M14.4,11.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.8,0.9 c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5C8,8.8,8.1,8.7,8.2,8.5 c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4C8.4,7.6,7.9,6.5,7.7,6C7.5,5.5,7.3,5.6,7.2,5.6c-0.1,0-0.3,0-0.4,0 c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.5c0.6,0.2,1,0.4,1.3,0.5 c0.6,0.2,1.1,0.2,1.5,0.1c0.5-0.1,1.4-0.6,1.6-1.1c0.2-0.5,0.2-1,0.1-1.1C14.8,12.1,14.6,12,14.4,11.9\"/></svg>",
|
152 |
-
"wordpress": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10,0.5c-5.2,0-9.5,4.3-9.5,9.5s4.3,9.5,9.5,9.5c5.2,0,9.5-4.3,9.5-9.5S15.2,0.5,10,0.5L10,0.5L10,0.5z M15.6,3.9h-0.1 c-0.8,0-1.4,0.7-1.4,1.5c0,0.7,0.4,1.3,0.8,1.9c0.3,0.6,0.7,1.3,0.7,2.3c0,0.7-0.3,1.5-0.6,2.7L14.1,15l-3-8.9 c0.5,0,0.9-0.1,0.9-0.1C12.5,6,12.5,5.3,12,5.4c0,0-1.3,0.1-2.2,0.1C9,5.5,7.7,5.4,7.7,5.4C7.2,5.3,7.2,6,7.6,6c0,0,0.4,0.1,0.9,0.1 l1.3,3.5L8,15L5,6.1C5.5,6.1,5.9,6,5.9,6C6.4,6,6.3,5.3,5.9,5.4c0,0-1.3,0.1-2.2,0.1c-0.2,0-0.3,0-0.5,0c1.5-2.2,4-3.7,6.9-3.7 C12.2,1.7,14.1,2.6,15.6,3.9L15.6,3.9L15.6,3.9z M2.5,6.6l3.9,10.8c-2.7-1.3-4.6-4.2-4.6-7.4C1.8,8.8,2,7.6,2.5,6.6L2.5,6.6L2.5,6.6 z M10.2,10.7l2.5,6.9c0,0,0,0.1,0.1,0.1C11.9,18,11,18.2,10,18.2c-0.8,0-1.6-0.1-2.3-0.3L10.2,10.7L10.2,10.7L10.2,10.7z M14.2,17.1 l2.5-7.3c0.5-1.2,0.6-2.1,0.6-2.9c0-0.3,0-0.6-0.1-0.8c0.6,1.2,1,2.5,1,4C18.3,13,16.6,15.7,14.2,17.1L14.2,17.1L14.2,17.1z\"/></svg>",
|
153 |
-
"world": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M1,10.5 L19,10.5\"/><path fill=\"none\" stroke=\"#000\" d=\"M2.35,15.5 L17.65,15.5\"/><path fill=\"none\" stroke=\"#000\" d=\"M2.35,5.5 L17.523,5.5\"/><path fill=\"none\" stroke=\"#000\" d=\"M10,19.46 L9.98,19.46 C7.31,17.33 5.61,14.141 5.61,10.58 C5.61,7.02 7.33,3.83 10,1.7 C10.01,1.7 9.99,1.7 10,1.7 L10,1.7 C12.67,3.83 14.4,7.02 14.4,10.58 C14.4,14.141 12.67,17.33 10,19.46 L10,19.46 L10,19.46 L10,19.46 Z\"/><circle fill=\"none\" stroke=\"#000\" cx=\"10\" cy=\"10.5\" r=\"9\"/></svg>",
|
154 |
-
"xing": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.4,4.56 C4.24,4.56 4.11,4.61 4.05,4.72 C3.98,4.83 3.99,4.97 4.07,5.12 L5.82,8.16 L5.82,8.17 L3.06,13.04 C2.99,13.18 2.99,13.33 3.06,13.44 C3.12,13.55 3.24,13.62 3.4,13.62 L6,13.62 C6.39,13.62 6.57,13.36 6.71,13.12 C6.71,13.12 9.41,8.35 9.51,8.16 C9.49,8.14 7.72,5.04 7.72,5.04 C7.58,4.81 7.39,4.56 6.99,4.56 L4.4,4.56 L4.4,4.56 Z\"/><path d=\"M15.3,1 C14.91,1 14.74,1.25 14.6,1.5 C14.6,1.5 9.01,11.42 8.82,11.74 C8.83,11.76 12.51,18.51 12.51,18.51 C12.64,18.74 12.84,19 13.23,19 L15.82,19 C15.98,19 16.1,18.94 16.16,18.83 C16.23,18.72 16.23,18.57 16.16,18.43 L12.5,11.74 L12.5,11.72 L18.25,1.56 C18.32,1.42 18.32,1.27 18.25,1.16 C18.21,1.06 18.08,1 17.93,1 L15.3,1 L15.3,1 Z\"/></svg>",
|
155 |
-
"yelp": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.175,14.971c-0.112,0.77-1.686,2.767-2.406,3.054c-0.246,0.1-0.487,0.076-0.675-0.069\tc-0.122-0.096-2.446-3.859-2.446-3.859c-0.194-0.293-0.157-0.682,0.083-0.978c0.234-0.284,0.581-0.393,0.881-0.276\tc0.016,0.01,4.21,1.394,4.332,1.482c0.178,0.148,0.263,0.379,0.225,0.646L17.175,14.971L17.175,14.971z M11.464,10.789\tc-0.203-0.307-0.199-0.666,0.009-0.916c0,0,2.625-3.574,2.745-3.657c0.203-0.135,0.452-0.141,0.69-0.025\tc0.691,0.335,2.085,2.405,2.167,3.199v0.027c0.024,0.271-0.082,0.491-0.273,0.623c-0.132,0.083-4.43,1.155-4.43,1.155\tc-0.322,0.096-0.68-0.06-0.882-0.381L11.464,10.789z M9.475,9.563C9.32,9.609,8.848,9.757,8.269,8.817c0,0-3.916-6.16-4.007-6.351\tc-0.057-0.212,0.011-0.455,0.202-0.65C5.047,1.211,8.21,0.327,9.037,0.529c0.27,0.069,0.457,0.238,0.522,0.479\tc0.047,0.266,0.433,5.982,0.488,7.264C10.098,9.368,9.629,9.517,9.475,9.563z M9.927,19.066c-0.083,0.225-0.273,0.373-0.54,0.421\tc-0.762,0.13-3.15-0.751-3.647-1.342c-0.096-0.131-0.155-0.262-0.167-0.394c-0.011-0.095,0-0.189,0.036-0.272\tc0.061-0.155,2.917-3.538,2.917-3.538c0.214-0.272,0.595-0.355,0.952-0.213c0.345,0.13,0.56,0.428,0.536,0.749\tC10.014,14.479,9.977,18.923,9.927,19.066z M3.495,13.912c-0.235-0.009-0.444-0.148-0.568-0.382c-0.089-0.17-0.151-0.453-0.19-0.794\tC2.63,11.701,2.761,10.144,3.07,9.648c0.145-0.226,0.357-0.345,0.592-0.336c0.154,0,4.255,1.667,4.255,1.667\tc0.321,0.118,0.521,0.453,0.5,0.833c-0.023,0.37-0.236,0.655-0.551,0.738L3.495,13.912z\"/></svg>",
|
156 |
-
"youtube": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15,4.1c1,0.1,2.3,0,3,0.8c0.8,0.8,0.9,2.1,0.9,3.1C19,9.2,19,10.9,19,12c-0.1,1.1,0,2.4-0.5,3.4c-0.5,1.1-1.4,1.5-2.5,1.6 c-1.2,0.1-8.6,0.1-11,0c-1.1-0.1-2.4-0.1-3.2-1c-0.7-0.8-0.7-2-0.8-3C1,11.8,1,10.1,1,8.9c0-1.1,0-2.4,0.5-3.4C2,4.5,3,4.3,4.1,4.2 C5.3,4.1,12.6,4,15,4.1z M8,7.5v6l5.5-3L8,7.5z\"/></svg>"
|
157 |
-
});
|
158 |
-
|
159 |
-
}
|
160 |
-
|
161 |
-
if (typeof window !== 'undefined' && window.bdtUIkit) {
|
162 |
-
window.bdtUIkit.use(plugin);
|
163 |
-
}
|
164 |
-
|
165 |
-
return plugin;
|
166 |
-
|
167 |
-
}));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/bdt-uikit-icons.min.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! bdtUIkit 3.2.0 | http://www.getuikit.com | (c) 2014 - 2019 YOOtheme | MIT License */
|
2 |
-
|
3 |
-
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define("uikiticons",i):(t=t||self).bdtUIkitIcons=i()}(this,function(){"use strict";function i(t){i.installed||t.icon.add({"500px":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.624,11.866c-0.141,0.132,0.479,0.658,0.662,0.418c0.051-0.046,0.607-0.61,0.662-0.664c0,0,0.738,0.719,0.814,0.719 c0.1,0,0.207-0.055,0.322-0.17c0.27-0.269,0.135-0.416,0.066-0.495l-0.631-0.616l0.658-0.668c0.146-0.156,0.021-0.314-0.1-0.449 c-0.182-0.18-0.359-0.226-0.471-0.125l-0.656,0.654l-0.654-0.654c-0.033-0.034-0.08-0.045-0.124-0.045 c-0.079,0-0.191,0.068-0.307,0.181c-0.202,0.202-0.247,0.351-0.133,0.462l0.665,0.665L9.624,11.866z"/><path d="M11.066,2.884c-1.061,0-2.185,0.248-3.011,0.604c-0.087,0.034-0.141,0.106-0.15,0.205C7.893,3.784,7.919,3.909,7.982,4.066 c0.05,0.136,0.187,0.474,0.452,0.372c0.844-0.326,1.779-0.507,2.633-0.507c0.963,0,1.9,0.191,2.781,0.564 c0.695,0.292,1.357,0.719,2.078,1.34c0.051,0.044,0.105,0.068,0.164,0.068c0.143,0,0.273-0.137,0.389-0.271 c0.191-0.214,0.324-0.395,0.135-0.575c-0.686-0.654-1.436-1.138-2.363-1.533C13.24,3.097,12.168,2.884,11.066,2.884z"/><path d="M16.43,15.747c-0.092-0.028-0.242,0.05-0.309,0.119l0,0c-0.652,0.652-1.42,1.169-2.268,1.521 c-0.877,0.371-1.814,0.551-2.779,0.551c-0.961,0-1.896-0.189-2.775-0.564c-0.848-0.36-1.612-0.879-2.268-1.53 c-0.682-0.688-1.196-1.455-1.529-2.268c-0.325-0.799-0.471-1.643-0.471-1.643c-0.045-0.24-0.258-0.249-0.567-0.203 c-0.128,0.021-0.519,0.079-0.483,0.36v0.01c0.105,0.644,0.289,1.284,0.545,1.895c0.417,0.969,1.002,1.849,1.756,2.604 c0.757,0.754,1.636,1.34,2.604,1.757C8.901,18.785,9.97,19,11.088,19c1.104,0,2.186-0.215,3.188-0.645 c1.838-0.896,2.604-1.757,2.604-1.757c0.182-0.204,0.227-0.317-0.1-0.643C16.779,15.956,16.525,15.774,16.43,15.747z"/><path d="M5.633,13.287c0.293,0.71,0.723,1.341,1.262,1.882c0.54,0.54,1.172,0.971,1.882,1.264c0.731,0.303,1.509,0.461,2.298,0.461 c0.801,0,1.578-0.158,2.297-0.461c0.711-0.293,1.344-0.724,1.883-1.264c0.543-0.541,0.971-1.172,1.264-1.882 c0.314-0.721,0.463-1.5,0.463-2.298c0-0.79-0.148-1.569-0.463-2.289c-0.293-0.699-0.721-1.329-1.264-1.881 c-0.539-0.541-1.172-0.959-1.867-1.263c-0.721-0.303-1.5-0.461-2.299-0.461c-0.802,0-1.613,0.159-2.322,0.461 c-0.577,0.25-1.544,0.867-2.119,1.454v0.012V2.108h8.16C15.1,2.104,15.1,1.69,15.1,1.552C15.1,1.417,15.1,1,14.809,1H5.915 C5.676,1,5.527,1.192,5.527,1.384v6.84c0,0.214,0.273,0.372,0.529,0.428c0.5,0.105,0.614-0.056,0.737-0.224l0,0 c0.18-0.273,0.776-0.884,0.787-0.894c0.901-0.905,2.117-1.408,3.416-1.408c1.285,0,2.5,0.501,3.412,1.408 c0.914,0.914,1.408,2.122,1.408,3.405c0,1.288-0.508,2.496-1.408,3.405c-0.9,0.896-2.152,1.406-3.438,1.406 c-0.877,0-1.711-0.229-2.433-0.671v-4.158c0-0.553,0.237-1.151,0.643-1.614c0.462-0.519,1.094-0.799,1.782-0.799 c0.664,0,1.293,0.253,1.758,0.715c0.459,0.459,0.709,1.071,0.709,1.723c0,1.385-1.094,2.468-2.488,2.468 c-0.273,0-0.769-0.121-0.781-0.125c-0.281-0.087-0.405,0.306-0.438,0.436c-0.159,0.496,0.079,0.585,0.123,0.607 c0.452,0.137,0.743,0.157,1.129,0.157c1.973,0,3.572-1.6,3.572-3.57c0-1.964-1.6-3.552-3.572-3.552c-0.97,0-1.872,0.36-2.546,1.038 c-0.656,0.631-1.027,1.487-1.027,2.322v3.438v-0.011c-0.372-0.42-0.732-1.041-0.981-1.682c-0.102-0.248-0.315-0.202-0.607-0.113 c-0.135,0.035-0.519,0.157-0.44,0.439C5.372,12.799,5.577,13.164,5.633,13.287z"/></svg>',album:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="5" y="2" width="10" height="1"/><rect x="3" y="4" width="14" height="1"/><rect fill="none" stroke="#000" x="1.5" y="6.5" width="17" height="11"/></svg>',"arrow-down":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="10.5,16.08 5.63,10.66 6.37,10 10.5,14.58 14.63,10 15.37,10.66"/><line fill="none" stroke="#000" x1="10.5" y1="4" x2="10.5" y2="15"/></svg>',"arrow-left":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" points="10 14 5 9.5 10 5"/><line fill="none" stroke="#000" x1="16" y1="9.5" x2="5" y2="9.52"/></svg>',"arrow-right":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" points="10 5 15 9.5 10 14"/><line fill="none" stroke="#000" x1="4" y1="9.5" x2="15" y2="9.5"/></svg>',"arrow-up":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="10.5,4 15.37,9.4 14.63,10.08 10.5,5.49 6.37,10.08 5.63,9.4"/><line fill="none" stroke="#000" x1="10.5" y1="16" x2="10.5" y2="5"/></svg>',ban:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/><line fill="none" stroke="#000" stroke-width="1.1" x1="4" y1="3.5" x2="16" y2="16.5"/></svg>',behance:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.5,10.6c-0.4-0.5-0.9-0.9-1.6-1.1c1.7-1,2.2-3.2,0.7-4.7C7.8,4,6.3,4,5.2,4C3.5,4,1.7,4,0,4v12c1.7,0,3.4,0,5.2,0 c1,0,2.1,0,3.1-0.5C10.2,14.6,10.5,12.3,9.5,10.6L9.5,10.6z M5.6,6.1c1.8,0,1.8,2.7-0.1,2.7c-1,0-2,0-2.9,0V6.1H5.6z M2.6,13.8v-3.1 c1.1,0,2.1,0,3.2,0c2.1,0,2.1,3.2,0.1,3.2L2.6,13.8z"/><path d="M19.9,10.9C19.7,9.2,18.7,7.6,17,7c-4.2-1.3-7.3,3.4-5.3,7.1c0.9,1.7,2.8,2.3,4.7,2.1c1.7-0.2,2.9-1.3,3.4-2.9h-2.2 c-0.4,1.3-2.4,1.5-3.5,0.6c-0.4-0.4-0.6-1.1-0.6-1.7H20C20,11.7,19.9,10.9,19.9,10.9z M13.5,10.6c0-1.6,2.3-2.7,3.5-1.4 c0.4,0.4,0.5,0.9,0.6,1.4H13.5L13.5,10.6z"/><rect x="13" y="4" width="5" height="1.4"/></svg>',bell:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-width="1.1" d="M17,15.5 L3,15.5 C2.99,14.61 3.79,13.34 4.1,12.51 C4.58,11.3 4.72,10.35 5.19,7.01 C5.54,4.53 5.89,3.2 7.28,2.16 C8.13,1.56 9.37,1.5 9.81,1.5 L9.96,1.5 C9.96,1.5 11.62,1.41 12.67,2.17 C14.08,3.2 14.42,4.54 14.77,7.02 C15.26,10.35 15.4,11.31 15.87,12.52 C16.2,13.34 17.01,14.61 17,15.5 L17,15.5 Z"/><path fill="none" stroke="#000" d="M12.39,16 C12.39,17.37 11.35,18.43 9.91,18.43 C8.48,18.43 7.42,17.37 7.42,16"/></svg>',bold:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5,15.3 C5.66,15.3 5.9,15 5.9,14.53 L5.9,5.5 C5.9,4.92 5.56,4.7 5,4.7 L5,4 L8.95,4 C12.6,4 13.7,5.37 13.7,6.9 C13.7,7.87 13.14,9.17 10.86,9.59 L10.86,9.7 C13.25,9.86 14.29,11.28 14.3,12.54 C14.3,14.47 12.94,16 9,16 L5,16 L5,15.3 Z M9,9.3 C11.19,9.3 11.8,8.5 11.85,7 C11.85,5.65 11.3,4.8 9,4.8 L7.67,4.8 L7.67,9.3 L9,9.3 Z M9.185,15.22 C11.97,15 12.39,14 12.4,12.58 C12.4,11.15 11.39,10 9,10 L7.67,10 L7.67,15 L9.18,15 Z"/></svg>',bolt:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.74,20 L7.73,12 L3,12 L15.43,1 L12.32,9 L17.02,9 L4.74,20 L4.74,20 L4.74,20 Z M9.18,11 L7.1,16.39 L14.47,10 L10.86,10 L12.99,4.67 L5.61,11 L9.18,11 L9.18,11 L9.18,11 Z"/></svg>',bookmark:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon fill="none" stroke="#000" points="5.5 1.5 15.5 1.5 15.5 17.5 10.5 12.5 5.5 17.5"/></svg>',calendar:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M 2,3 2,17 18,17 18,3 2,3 Z M 17,16 3,16 3,8 17,8 17,16 Z M 17,7 3,7 3,4 17,4 17,7 Z"/><rect width="1" height="3" x="6" y="2"/><rect width="1" height="3" x="13" y="2"/></svg>',camera:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10.8" r="3.8"/><path fill="none" stroke="#000" d="M1,4.5 C0.7,4.5 0.5,4.7 0.5,5 L0.5,17 C0.5,17.3 0.7,17.5 1,17.5 L19,17.5 C19.3,17.5 19.5,17.3 19.5,17 L19.5,5 C19.5,4.7 19.3,4.5 19,4.5 L13.5,4.5 L13.5,2.9 C13.5,2.6 13.3,2.5 13,2.5 L7,2.5 C6.7,2.5 6.5,2.6 6.5,2.9 L6.5,4.5 L1,4.5 L1,4.5 Z"/></svg>',cart:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="7.3" cy="17.3" r="1.4"/><circle cx="13.3" cy="17.3" r="1.4"/><polyline fill="none" stroke="#000" points="0 2 3.2 4 5.3 12.5 16 12.5 18 6.5 8 6.5"/></svg>',check:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.1" points="4,10 8,15 17,4"/></svg>',"chevron-double-left":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.03" points="10 14 6 10 10 6"/><polyline fill="none" stroke="#000" stroke-width="1.03" points="14 14 10 10 14 6"/></svg>',"chevron-double-right":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.03" points="10 6 14 10 10 14"/><polyline fill="none" stroke="#000" stroke-width="1.03" points="6 6 10 10 6 14"/></svg>',"chevron-down":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.03" points="16 7 10 13 4 7"/></svg>',"chevron-left":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.03" points="13 16 7 10 13 4"/></svg>',"chevron-right":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.03" points="7 4 13 10 7 16"/></svg>',"chevron-up":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.03" points="4 13 10 7 16 13"/></svg>',clock:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/><rect x="9" y="4" width="1" height="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M13.018,14.197 L9.445,10.625"/></svg>',close:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-width="1.06" d="M16,16 L4,4"/><path fill="none" stroke="#000" stroke-width="1.06" d="M16,4 L4,16"/></svg>',"cloud-download":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-width="1.1" d="M6.5,14.61 L3.75,14.61 C1.96,14.61 0.5,13.17 0.5,11.39 C0.5,9.76 1.72,8.41 3.3,8.2 C3.38,5.31 5.75,3 8.68,3 C11.19,3 13.31,4.71 13.89,7.02 C14.39,6.8 14.93,6.68 15.5,6.68 C17.71,6.68 19.5,8.45 19.5,10.64 C19.5,12.83 17.71,14.6 15.5,14.6 L12.5,14.6"/><polyline fill="none" stroke="#000" points="11.75 16 9.5 18.25 7.25 16"/><path fill="none" stroke="#000" d="M9.5,18 L9.5,9.5"/></svg>',"cloud-upload":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-width="1.1" d="M6.5,14.61 L3.75,14.61 C1.96,14.61 0.5,13.17 0.5,11.39 C0.5,9.76 1.72,8.41 3.31,8.2 C3.38,5.31 5.75,3 8.68,3 C11.19,3 13.31,4.71 13.89,7.02 C14.39,6.8 14.93,6.68 15.5,6.68 C17.71,6.68 19.5,8.45 19.5,10.64 C19.5,12.83 17.71,14.6 15.5,14.6 L12.5,14.6"/><polyline fill="none" stroke="#000" points="7.25 11.75 9.5 9.5 11.75 11.75"/><path fill="none" stroke="#000" d="M9.5,18 L9.5,9.5"/></svg>',code:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.01" points="13,4 19,10 13,16"/><polyline fill="none" stroke="#000" stroke-width="1.01" points="7,4 1,10 7,16"/></svg>',cog:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" cx="9.997" cy="10" r="3.31"/><path fill="none" stroke="#000" d="M18.488,12.285 L16.205,16.237 C15.322,15.496 14.185,15.281 13.303,15.791 C12.428,16.289 12.047,17.373 12.246,18.5 L7.735,18.5 C7.938,17.374 7.553,16.299 6.684,15.791 C5.801,15.27 4.655,15.492 3.773,16.237 L1.5,12.285 C2.573,11.871 3.317,10.999 3.317,9.991 C3.305,8.98 2.573,8.121 1.5,7.716 L3.765,3.784 C4.645,4.516 5.794,4.738 6.687,4.232 C7.555,3.722 7.939,2.637 7.735,1.5 L12.263,1.5 C12.072,2.637 12.441,3.71 13.314,4.22 C14.206,4.73 15.343,4.516 16.225,3.794 L18.487,7.714 C17.404,8.117 16.661,8.988 16.67,10.009 C16.672,11.018 17.415,11.88 18.488,12.285 L18.488,12.285 Z"/></svg>',comment:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6,18.71 L6,14 L1,14 L1,1 L19,1 L19,14 L10.71,14 L6,18.71 L6,18.71 Z M2,13 L7,13 L7,16.29 L10.29,13 L18,13 L18,2 L2,2 L2,13 L2,13 Z"/></svg>',commenting:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon fill="none" stroke="#000" points="1.5,1.5 18.5,1.5 18.5,13.5 10.5,13.5 6.5,17.5 6.5,13.5 1.5,13.5"/><circle cx="10" cy="8" r="1"/><circle cx="6" cy="8" r="1"/><circle cx="14" cy="8" r="1"/></svg>',comments:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" points="2 0.5 19.5 0.5 19.5 13"/><path d="M5,19.71 L5,15 L0,15 L0,2 L18,2 L18,15 L9.71,15 L5,19.71 L5,19.71 L5,19.71 Z M1,14 L6,14 L6,17.29 L9.29,14 L17,14 L17,3 L1,3 L1,14 L1,14 L1,14 Z"/></svg>',copy:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect fill="none" stroke="#000" x="3.5" y="2.5" width="12" height="16"/><polyline fill="none" stroke="#000" points="5 0.5 17.5 0.5 17.5 17"/></svg>',"credit-card":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect fill="none" stroke="#000" x="1.5" y="4.5" width="17" height="12"/><rect x="1" y="7" width="18" height="3"/></svg>',database:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><ellipse fill="none" stroke="#000" cx="10" cy="4.64" rx="7.5" ry="3.14"/><path fill="none" stroke="#000" d="M17.5,8.11 C17.5,9.85 14.14,11.25 10,11.25 C5.86,11.25 2.5,9.84 2.5,8.11"/><path fill="none" stroke="#000" d="M17.5,11.25 C17.5,12.99 14.14,14.39 10,14.39 C5.86,14.39 2.5,12.98 2.5,11.25"/><path fill="none" stroke="#000" d="M17.49,4.64 L17.5,14.36 C17.5,16.1 14.14,17.5 10,17.5 C5.86,17.5 2.5,16.09 2.5,14.36 L2.5,4.64"/></svg>',desktop:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="8" y="15" width="1" height="2"/><rect x="11" y="15" width="1" height="2"/><rect x="5" y="16" width="10" height="1"/><rect fill="none" stroke="#000" x="1.5" y="3.5" width="17" height="11"/></svg>',download:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" points="14,10 9.5,14.5 5,10"/><rect x="3" y="17" width="13" height="1"/><line fill="none" stroke="#000" x1="9.5" y1="13.91" x2="9.5" y2="3"/></svg>',dribbble:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-width="1.4" d="M1.3,8.9c0,0,5,0.1,8.6-1c1.4-0.4,2.6-0.9,4-1.9 c1.4-1.1,2.5-2.5,2.5-2.5"/><path fill="none" stroke="#000" stroke-width="1.4" d="M3.9,16.6c0,0,1.7-2.8,3.5-4.2 c1.8-1.3,4-2,5.7-2.2C16,10,19,10.6,19,10.6"/><path fill="none" stroke="#000" stroke-width="1.4" d="M6.9,1.6c0,0,3.3,4.6,4.2,6.8 c0.4,0.9,1.3,3.1,1.9,5.2c0.6,2,0.9,4.4,0.9,4.4"/><circle fill="none" stroke="#000" stroke-width="1.4" cx="10" cy="10" r="9"/></svg>',etsy:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M8,4.26C8,4.07,8,4,8.31,4h4.46c.79,0,1.22.67,1.53,1.91l.25,1h.76c.14-2.82.26-4,.26-4S13.65,3,12.52,3H6.81L3.75,2.92v.84l1,.2c.73.11.9.27,1,1,0,0,.06,2,.06,5.17s-.06,5.14-.06,5.14c0,.59-.23.81-1,.94l-1,.2v.84l3.06-.1h5.11c1.15,0,3.82.1,3.82.1,0-.7.45-3.88.51-4.22h-.73l-.76,1.69a2.25,2.25,0,0,1-2.45,1.47H9.4c-1,0-1.44-.4-1.44-1.24V10.44s2.16,0,2.86.06c.55,0,.85.19,1.06,1l.23,1H13L12.9,9.94,13,7.41h-.85l-.28,1.13c-.16.74-.28.84-1,1-1,.1-2.89.09-2.89.09Z"/></svg>',expand:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="13 2 18 2 18 7 17 7 17 3 13 3"/><polygon points="2 13 3 13 3 17 7 17 7 18 2 18"/><path fill="none" stroke="#000" stroke-width="1.1" d="M11,9 L17,3"/><path fill="none" stroke="#000" stroke-width="1.1" d="M3,17 L9,11"/></svg>',facebook:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11,10h2.6l0.4-3H11V5.3c0-0.9,0.2-1.5,1.5-1.5H14V1.1c-0.3,0-1-0.1-2.1-0.1C9.6,1,8,2.4,8,5v2H5.5v3H8v8h3V10z"/></svg>',"file-edit":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" d="M18.65,1.68 C18.41,1.45 18.109,1.33 17.81,1.33 C17.499,1.33 17.209,1.45 16.98,1.68 L8.92,9.76 L8,12.33 L10.55,11.41 L18.651,3.34 C19.12,2.87 19.12,2.15 18.65,1.68 L18.65,1.68 L18.65,1.68 Z"/><polyline fill="none" stroke="#000" points="16.5 8.482 16.5 18.5 3.5 18.5 3.5 1.5 14.211 1.5"/></svg>',"file-pdf":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect fill="none" stroke="#000" width="13" height="17" x="3.5" y="1.5"/><path d="M14.65 11.67c-.48.3-1.37-.19-1.79-.37a4.65 4.65 0 0 1 1.49.06c.35.1.36.28.3.31zm-6.3.06l.43-.79a14.7 14.7 0 0 0 .75-1.64 5.48 5.48 0 0 0 1.25 1.55l.2.15a16.36 16.36 0 0 0-2.63.73zM9.5 5.32c.2 0 .32.5.32.97a1.99 1.99 0 0 1-.23 1.04 5.05 5.05 0 0 1-.17-1.3s0-.71.08-.71zm-3.9 9a4.35 4.35 0 0 1 1.21-1.46l.24-.22a4.35 4.35 0 0 1-1.46 1.68zm9.23-3.3a2.05 2.05 0 0 0-1.32-.3 11.07 11.07 0 0 0-1.58.11 4.09 4.09 0 0 1-.74-.5 5.39 5.39 0 0 1-1.32-2.06 10.37 10.37 0 0 0 .28-2.62 1.83 1.83 0 0 0-.07-.25.57.57 0 0 0-.52-.4H9.4a.59.59 0 0 0-.6.38 6.95 6.95 0 0 0 .37 3.14c-.26.63-1 2.12-1 2.12-.3.58-.57 1.08-.82 1.5l-.8.44A3.11 3.11 0 0 0 5 14.16a.39.39 0 0 0 .15.42l.24.13c1.15.56 2.28-1.74 2.66-2.42a23.1 23.1 0 0 1 3.59-.85 4.56 4.56 0 0 0 2.91.8.5.5 0 0 0 .3-.21 1.1 1.1 0 0 0 .12-.75.84.84 0 0 0-.14-.25z"/></svg>',"file-text":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect fill="none" stroke="#000" width="13" height="17" x="3.5" y="1.5"/><line fill="none" stroke="#000" x1="6" x2="12" y1="12.5" y2="12.5"/><line fill="none" stroke="#000" x1="6" x2="14" y1="8.5" y2="8.5"/><line fill="none" stroke="#000" x1="6" x2="14" y1="6.5" y2="6.5"/><line fill="none" stroke="#000" x1="6" x2="14" y1="10.5" y2="10.5"/></svg>',file:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect fill="none" stroke="#000" x="3.5" y="1.5" width="13" height="17"/></svg>',flickr:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="5.5" cy="9.5" r="3.5"/><circle cx="14.5" cy="9.5" r="3.5"/></svg>',folder:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon fill="none" stroke="#000" points="9.5 5.5 8.5 3.5 1.5 3.5 1.5 16.5 18.5 16.5 18.5 5.5"/></svg>',forward:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.47,13.11 C4.02,10.02 6.27,7.85 9.04,6.61 C9.48,6.41 10.27,6.13 11,5.91 L11,2 L18.89,9 L11,16 L11,12.13 C9.25,12.47 7.58,13.19 6.02,14.25 C3.03,16.28 1.63,18.54 1.63,18.54 C1.63,18.54 1.38,15.28 2.47,13.11 L2.47,13.11 Z M5.3,13.53 C6.92,12.4 9.04,11.4 12,10.92 L12,13.63 L17.36,9 L12,4.25 L12,6.8 C11.71,6.86 10.86,7.02 9.67,7.49 C6.79,8.65 4.58,10.96 3.49,13.08 C3.18,13.7 2.68,14.87 2.49,16 C3.28,15.05 4.4,14.15 5.3,13.53 L5.3,13.53 Z"/></svg>',foursquare:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.23,2 C15.96,2 16.4,2.41 16.5,2.86 C16.57,3.15 16.56,3.44 16.51,3.73 C16.46,4.04 14.86,11.72 14.75,12.03 C14.56,12.56 14.16,12.82 13.61,12.83 C13.03,12.84 11.09,12.51 10.69,13 C10.38,13.38 7.79,16.39 6.81,17.53 C6.61,17.76 6.4,17.96 6.08,17.99 C5.68,18.04 5.29,17.87 5.17,17.45 C5.12,17.28 5.1,17.09 5.1,16.91 C5.1,12.4 4.86,7.81 5.11,3.31 C5.17,2.5 5.81,2.12 6.53,2 L15.23,2 L15.23,2 Z M9.76,11.42 C9.94,11.19 10.17,11.1 10.45,11.1 L12.86,11.1 C13.12,11.1 13.31,10.94 13.36,10.69 C13.37,10.64 13.62,9.41 13.74,8.83 C13.81,8.52 13.53,8.28 13.27,8.28 C12.35,8.29 11.42,8.28 10.5,8.28 C9.84,8.28 9.83,7.69 9.82,7.21 C9.8,6.85 10.13,6.55 10.5,6.55 C11.59,6.56 12.67,6.55 13.76,6.55 C14.03,6.55 14.23,6.4 14.28,6.14 C14.34,5.87 14.67,4.29 14.67,4.29 C14.67,4.29 14.82,3.74 14.19,3.74 L7.34,3.74 C7,3.75 6.84,4.02 6.84,4.33 C6.84,7.58 6.85,14.95 6.85,14.99 C6.87,15 8.89,12.51 9.76,11.42 L9.76,11.42 Z"/></svg>',future:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline points="19 2 18 2 18 6 14 6 14 7 19 7 19 2"/><path fill="none" stroke="#000" stroke-width="1.1" d="M18,6.548 C16.709,3.29 13.354,1 9.6,1 C4.6,1 0.6,5 0.6,10 C0.6,15 4.6,19 9.6,19 C14.6,19 18.6,15 18.6,10"/><rect x="9" y="4" width="1" height="7"/><path d="M13.018,14.197 L9.445,10.625" fill="none" stroke="#000" stroke-width="1.1"/></svg>',"git-branch":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.2" cx="7" cy="3" r="2"/><circle fill="none" stroke="#000" stroke-width="1.2" cx="14" cy="6" r="2"/><circle fill="none" stroke="#000" stroke-width="1.2" cx="7" cy="17" r="2"/><path fill="none" stroke="#000" stroke-width="2" d="M14,8 C14,10.41 12.43,10.87 10.56,11.25 C9.09,11.54 7,12.06 7,15 L7,5"/></svg>',"git-fork":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.2" cx="5.79" cy="2.79" r="1.79"/><circle fill="none" stroke="#000" stroke-width="1.2" cx="14.19" cy="2.79" r="1.79"/><ellipse fill="none" stroke="#000" stroke-width="1.2" cx="10.03" cy="16.79" rx="1.79" ry="1.79"/><path fill="none" stroke="#000" stroke-width="2" d="M5.79,4.57 L5.79,6.56 C5.79,9.19 10.03,10.22 10.03,13.31 C10.03,14.86 10.04,14.55 10.04,14.55 C10.04,14.37 10.04,14.86 10.04,13.31 C10.04,10.22 14.2,9.19 14.2,6.56 L14.2,4.57"/></svg>',"github-alt":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10,0.5 C4.75,0.5 0.5,4.76 0.5,10.01 C0.5,15.26 4.75,19.51 10,19.51 C15.24,19.51 19.5,15.26 19.5,10.01 C19.5,4.76 15.25,0.5 10,0.5 L10,0.5 Z M12.81,17.69 C12.81,17.69 12.81,17.7 12.79,17.69 C12.47,17.75 12.35,17.59 12.35,17.36 L12.35,16.17 C12.35,15.45 12.09,14.92 11.58,14.56 C12.2,14.51 12.77,14.39 13.26,14.21 C13.87,13.98 14.36,13.69 14.74,13.29 C15.42,12.59 15.76,11.55 15.76,10.17 C15.76,9.25 15.45,8.46 14.83,7.8 C15.1,7.08 15.07,6.29 14.75,5.44 L14.51,5.42 C14.34,5.4 14.06,5.46 13.67,5.61 C13.25,5.78 12.79,6.03 12.31,6.35 C11.55,6.16 10.81,6.05 10.09,6.05 C9.36,6.05 8.61,6.15 7.88,6.35 C7.28,5.96 6.75,5.68 6.26,5.54 C6.07,5.47 5.9,5.44 5.78,5.44 L5.42,5.44 C5.06,6.29 5.04,7.08 5.32,7.8 C4.7,8.46 4.4,9.25 4.4,10.17 C4.4,11.94 4.96,13.16 6.08,13.84 C6.53,14.13 7.05,14.32 7.69,14.43 C8.03,14.5 8.32,14.54 8.55,14.55 C8.07,14.89 7.82,15.42 7.82,16.16 L7.82,17.51 C7.8,17.69 7.7,17.8 7.51,17.8 C4.21,16.74 1.82,13.65 1.82,10.01 C1.82,5.5 5.49,1.83 10,1.83 C14.5,1.83 18.17,5.5 18.17,10.01 C18.18,13.53 15.94,16.54 12.81,17.69 L12.81,17.69 Z"/></svg>',github:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10,1 C5.03,1 1,5.03 1,10 C1,13.98 3.58,17.35 7.16,18.54 C7.61,18.62 7.77,18.34 7.77,18.11 C7.77,17.9 7.76,17.33 7.76,16.58 C5.26,17.12 4.73,15.37 4.73,15.37 C4.32,14.33 3.73,14.05 3.73,14.05 C2.91,13.5 3.79,13.5 3.79,13.5 C4.69,13.56 5.17,14.43 5.17,14.43 C5.97,15.8 7.28,15.41 7.79,15.18 C7.87,14.6 8.1,14.2 8.36,13.98 C6.36,13.75 4.26,12.98 4.26,9.53 C4.26,8.55 4.61,7.74 5.19,7.11 C5.1,6.88 4.79,5.97 5.28,4.73 C5.28,4.73 6.04,4.49 7.75,5.65 C8.47,5.45 9.24,5.35 10,5.35 C10.76,5.35 11.53,5.45 12.25,5.65 C13.97,4.48 14.72,4.73 14.72,4.73 C15.21,5.97 14.9,6.88 14.81,7.11 C15.39,7.74 15.73,8.54 15.73,9.53 C15.73,12.99 13.63,13.75 11.62,13.97 C11.94,14.25 12.23,14.8 12.23,15.64 C12.23,16.84 12.22,17.81 12.22,18.11 C12.22,18.35 12.38,18.63 12.84,18.54 C16.42,17.35 19,13.98 19,10 C19,5.03 14.97,1 10,1 L10,1 Z"/></svg>',gitter:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="3.5" y="1" width="1.531" height="11.471"/><rect x="7.324" y="4.059" width="1.529" height="15.294"/><rect x="11.148" y="4.059" width="1.527" height="15.294"/><rect x="14.971" y="4.059" width="1.529" height="8.412"/></svg>',"google-plus":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.9,9c0,2.7-0.6,5-3.2,6.3c-3.7,1.8-8.1,0.2-9.4-3.6C-1.1,7.6,1.9,3.3,6.1,3c1.7-0.1,3.2,0.3,4.6,1.3 c0.1,0.1,0.3,0.2,0.4,0.4c-0.5,0.5-1.2,1-1.7,1.6c-1-0.8-2.1-1.1-3.5-0.9C5,5.6,4.2,6,3.6,6.7c-1.3,1.3-1.5,3.4-0.5,5 c1,1.7,2.6,2.3,4.6,1.9c1.4-0.3,2.4-1.2,2.6-2.6H6.9V9H12.9z"/><polygon points="20,9 20,11 18,11 18,13 16,13 16,11 14,11 14,9 16,9 16,7 18,7 18,9"/></svg>',google:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.86,9.09 C18.46,12.12 17.14,16.05 13.81,17.56 C9.45,19.53 4.13,17.68 2.47,12.87 C0.68,7.68 4.22,2.42 9.5,2.03 C11.57,1.88 13.42,2.37 15.05,3.65 C15.22,3.78 15.37,3.93 15.61,4.14 C14.9,4.81 14.23,5.45 13.5,6.14 C12.27,5.08 10.84,4.72 9.28,4.98 C8.12,5.17 7.16,5.76 6.37,6.63 C4.88,8.27 4.62,10.86 5.76,12.82 C6.95,14.87 9.17,15.8 11.57,15.25 C13.27,14.87 14.76,13.33 14.89,11.75 L10.51,11.75 L10.51,9.09 L17.86,9.09 L17.86,9.09 Z"/></svg>',grid:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="2" width="3" height="3"/><rect x="8" y="2" width="3" height="3"/><rect x="14" y="2" width="3" height="3"/><rect x="2" y="8" width="3" height="3"/><rect x="8" y="8" width="3" height="3"/><rect x="14" y="8" width="3" height="3"/><rect x="2" y="14" width="3" height="3"/><rect x="8" y="14" width="3" height="3"/><rect x="14" y="14" width="3" height="3"/></svg>',happy:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="13" cy="7" r="1"/><circle cx="7" cy="7" r="1"/><circle fill="none" stroke="#000" cx="10" cy="10" r="8.5"/><path fill="none" stroke="#000" d="M14.6,11.4 C13.9,13.3 12.1,14.5 10,14.5 C7.9,14.5 6.1,13.3 5.4,11.4"/></svg>',hashtag:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.431,8 L15.661,7 L12.911,7 L13.831,3 L12.901,3 L11.98,7 L9.29,7 L10.21,3 L9.281,3 L8.361,7 L5.23,7 L5,8 L8.13,8 L7.21,12 L4.23,12 L4,13 L6.98,13 L6.061,17 L6.991,17 L7.911,13 L10.601,13 L9.681,17 L10.611,17 L11.531,13 L14.431,13 L14.661,12 L11.76,12 L12.681,8 L15.431,8 Z M10.831,12 L8.141,12 L9.061,8 L11.75,8 L10.831,12 Z"/></svg>',heart:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-width="1.03" d="M10,4 C10,4 8.1,2 5.74,2 C3.38,2 1,3.55 1,6.73 C1,8.84 2.67,10.44 2.67,10.44 L10,18 L17.33,10.44 C17.33,10.44 19,8.84 19,6.73 C19,3.55 16.62,2 14.26,2 C11.9,2 10,4 10,4 L10,4 Z"/></svg>',history:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="#000" points="1 2 2 2 2 6 6 6 6 7 1 7 1 2"/><path fill="none" stroke="#000" stroke-width="1.1" d="M2.1,6.548 C3.391,3.29 6.746,1 10.5,1 C15.5,1 19.5,5 19.5,10 C19.5,15 15.5,19 10.5,19 C5.5,19 1.5,15 1.5,10"/><rect x="9" y="4" width="1" height="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M13.018,14.197 L9.445,10.625"/></svg>',home:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="18.65 11.35 10 2.71 1.35 11.35 0.65 10.65 10 1.29 19.35 10.65"/><polygon points="15 4 18 4 18 7 17 7 17 5 15 5"/><polygon points="3 11 4 11 4 18 7 18 7 12 12 12 12 18 16 18 16 11 17 11 17 19 11 19 11 13 8 13 8 19 3 19"/></svg>',image:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="16.1" cy="6.1" r="1.1"/><rect fill="none" stroke="#000" x=".5" y="2.5" width="19" height="15"/><polyline fill="none" stroke="#000" stroke-width="1.01" points="4,13 8,9 13,14"/><polyline fill="none" stroke="#000" stroke-width="1.01" points="11,12 12.5,10.5 16,14"/></svg>',info:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.13,11.59 C11.97,12.84 10.35,14.12 9.1,14.16 C6.17,14.2 9.89,9.46 8.74,8.37 C9.3,8.16 10.62,7.83 10.62,8.81 C10.62,9.63 10.12,10.55 9.88,11.32 C8.66,15.16 12.13,11.15 12.14,11.18 C12.16,11.21 12.16,11.35 12.13,11.59 C12.08,11.95 12.16,11.35 12.13,11.59 L12.13,11.59 Z M11.56,5.67 C11.56,6.67 9.36,7.15 9.36,6.03 C9.36,5 11.56,4.54 11.56,5.67 L11.56,5.67 Z"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/></svg>',instagram:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13.55,1H6.46C3.45,1,1,3.44,1,6.44v7.12c0,3,2.45,5.44,5.46,5.44h7.08c3.02,0,5.46-2.44,5.46-5.44V6.44 C19.01,3.44,16.56,1,13.55,1z M17.5,14c0,1.93-1.57,3.5-3.5,3.5H6c-1.93,0-3.5-1.57-3.5-3.5V6c0-1.93,1.57-3.5,3.5-3.5h8 c1.93,0,3.5,1.57,3.5,3.5V14z"/><circle cx="14.87" cy="5.26" r="1.09"/><path d="M10.03,5.45c-2.55,0-4.63,2.06-4.63,4.6c0,2.55,2.07,4.61,4.63,4.61c2.56,0,4.63-2.061,4.63-4.61 C14.65,7.51,12.58,5.45,10.03,5.45L10.03,5.45L10.03,5.45z M10.08,13c-1.66,0-3-1.34-3-2.99c0-1.65,1.34-2.99,3-2.99s3,1.34,3,2.99 C13.08,11.66,11.74,13,10.08,13L10.08,13L10.08,13z"/></svg>',italic:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.63,5.48 L10.15,14.52 C10,15.08 10.37,15.25 11.92,15.3 L11.72,16 L6,16 L6.2,15.31 C7.78,15.26 8.19,15.09 8.34,14.53 L10.82,5.49 C10.97,4.92 10.63,4.76 9.09,4.71 L9.28,4 L15,4 L14.81,4.69 C13.23,4.75 12.78,4.91 12.63,5.48 L12.63,5.48 Z"/></svg>',joomla:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7.8,13.4l1.7-1.7L5.9,8c-0.6-0.5-0.6-1.5,0-2c0.6-0.6,1.4-0.6,2,0l1.7-1.7c-1-1-2.3-1.3-3.6-1C5.8,2.2,4.8,1.4,3.7,1.4 c-1.3,0-2.3,1-2.3,2.3c0,1.1,0.8,2,1.8,2.3c-0.4,1.3-0.1,2.8,1,3.8L7.8,13.4L7.8,13.4z"/><path d="M10.2,4.3c1-1,2.5-1.4,3.8-1c0.2-1.1,1.1-2,2.3-2c1.3,0,2.3,1,2.3,2.3c0,1.2-0.9,2.2-2,2.3c0.4,1.3,0,2.8-1,3.8L13.9,8 c0.6-0.5,0.6-1.5,0-2c-0.5-0.6-1.5-0.6-2,0L8.2,9.7L6.5,8"/><path d="M14.1,16.8c-1.3,0.4-2.8,0.1-3.8-1l1.7-1.7c0.6,0.6,1.5,0.6,2,0c0.5-0.6,0.6-1.5,0-2l-3.7-3.7L12,6.7l3.7,3.7 c1,1,1.3,2.4,1,3.6c1.1,0.2,2,1.1,2,2.3c0,1.3-1,2.3-2.3,2.3C15.2,18.6,14.3,17.8,14.1,16.8"/><path d="M13.2,12.2l-3.7,3.7c-1,1-2.4,1.3-3.6,1c-0.2,1-1.2,1.8-2.2,1.8c-1.3,0-2.3-1-2.3-2.3c0-1.1,0.8-2,1.8-2.3 c-0.3-1.3,0-2.7,1-3.7l1.7,1.7c-0.6,0.6-0.6,1.5,0,2c0.6,0.6,1.4,0.6,2,0l3.7-3.7"/></svg>',laptop:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect y="16" width="20" height="1"/><rect fill="none" stroke="#000" x="2.5" y="4.5" width="15" height="10"/></svg>',lifesaver:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10,0.5 C4.76,0.5 0.5,4.76 0.5,10 C0.5,15.24 4.76,19.5 10,19.5 C15.24,19.5 19.5,15.24 19.5,10 C19.5,4.76 15.24,0.5 10,0.5 L10,0.5 Z M10,1.5 C11.49,1.5 12.89,1.88 14.11,2.56 L11.85,4.82 C11.27,4.61 10.65,4.5 10,4.5 C9.21,4.5 8.47,4.67 7.79,4.96 L5.58,2.75 C6.87,1.95 8.38,1.5 10,1.5 L10,1.5 Z M4.96,7.8 C4.67,8.48 4.5,9.21 4.5,10 C4.5,10.65 4.61,11.27 4.83,11.85 L2.56,14.11 C1.88,12.89 1.5,11.49 1.5,10 C1.5,8.38 1.95,6.87 2.75,5.58 L4.96,7.79 L4.96,7.8 L4.96,7.8 Z M10,18.5 C8.25,18.5 6.62,17.97 5.27,17.06 L7.46,14.87 C8.22,15.27 9.08,15.5 10,15.5 C10.79,15.5 11.53,15.33 12.21,15.04 L14.42,17.25 C13.13,18.05 11.62,18.5 10,18.5 L10,18.5 Z M10,14.5 C7.52,14.5 5.5,12.48 5.5,10 C5.5,7.52 7.52,5.5 10,5.5 C12.48,5.5 14.5,7.52 14.5,10 C14.5,12.48 12.48,14.5 10,14.5 L10,14.5 Z M15.04,12.21 C15.33,11.53 15.5,10.79 15.5,10 C15.5,9.08 15.27,8.22 14.87,7.46 L17.06,5.27 C17.97,6.62 18.5,8.25 18.5,10 C18.5,11.62 18.05,13.13 17.25,14.42 L15.04,12.21 L15.04,12.21 Z"/></svg>',link:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-width="1.1" d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375"/><path fill="none" stroke="#000" stroke-width="1.1" d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375"/><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"/></svg>',linkedin:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.77,17.89 L5.77,7.17 L2.21,7.17 L2.21,17.89 L5.77,17.89 L5.77,17.89 Z M3.99,5.71 C5.23,5.71 6.01,4.89 6.01,3.86 C5.99,2.8 5.24,2 4.02,2 C2.8,2 2,2.8 2,3.85 C2,4.88 2.77,5.7 3.97,5.7 L3.99,5.7 L3.99,5.71 L3.99,5.71 Z"/><path d="M7.75,17.89 L11.31,17.89 L11.31,11.9 C11.31,11.58 11.33,11.26 11.43,11.03 C11.69,10.39 12.27,9.73 13.26,9.73 C14.55,9.73 15.06,10.71 15.06,12.15 L15.06,17.89 L18.62,17.89 L18.62,11.74 C18.62,8.45 16.86,6.92 14.52,6.92 C12.6,6.92 11.75,7.99 11.28,8.73 L11.3,8.73 L11.3,7.17 L7.75,7.17 C7.79,8.17 7.75,17.89 7.75,17.89 L7.75,17.89 L7.75,17.89 Z"/></svg>',list:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="6" y="4" width="12" height="1"/><rect x="6" y="9" width="12" height="1"/><rect x="6" y="14" width="12" height="1"/><rect x="2" y="4" width="2" height="1"/><rect x="2" y="9" width="2" height="1"/><rect x="2" y="14" width="2" height="1"/></svg>',location:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-width="1.01" d="M10,0.5 C6.41,0.5 3.5,3.39 3.5,6.98 C3.5,11.83 10,19 10,19 C10,19 16.5,11.83 16.5,6.98 C16.5,3.39 13.59,0.5 10,0.5 L10,0.5 Z"/><circle fill="none" stroke="#000" cx="10" cy="6.8" r="2.3"/></svg>',lock:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect fill="none" stroke="#000" height="10" width="13" y="8.5" x="3.5"/><path fill="none" stroke="#000" d="M6.5,8 L6.5,4.88 C6.5,3.01 8.07,1.5 10,1.5 C11.93,1.5 13.5,3.01 13.5,4.88 L13.5,8"/></svg>',mail:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" points="1.4,6.5 10,11 18.6,6.5"/><path d="M 1,4 1,16 19,16 19,4 1,4 Z M 18,15 2,15 2,5 18,5 18,15 Z"/></svg>',menu:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="4" width="16" height="1"/><rect x="2" y="9" width="16" height="1"/><rect x="2" y="14" width="16" height="1"/></svg>',microphone:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" x1="10" x2="10" y1="16.44" y2="18.5"/><line fill="none" stroke="#000" x1="7" x2="13" y1="18.5" y2="18.5"/><path fill="none" stroke="#000" stroke-width="1.1" d="M13.5 4.89v5.87a3.5 3.5 0 0 1-7 0V4.89a3.5 3.5 0 0 1 7 0z"/><path fill="none" stroke="#000" stroke-width="1.1" d="M15.5 10.36V11a5.5 5.5 0 0 1-11 0v-.6"/></svg>',"minus-circle":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9.5" cy="9.5" r="9"/><line fill="none" stroke="#000" x1="5" y1="9.5" x2="14" y2="9.5"/></svg>',minus:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect height="1" width="18" y="9" x="1"/></svg>',"more-vertical":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="3" r="2"/><circle cx="10" cy="10" r="2"/><circle cx="10" cy="17" r="2"/></svg>',more:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="3" cy="10" r="2"/><circle cx="10" cy="10" r="2"/><circle cx="17" cy="10" r="2"/></svg>',move:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="4,5 1,5 1,9 2,9 2,6 4,6"/><polygon points="1,16 2,16 2,18 4,18 4,19 1,19"/><polygon points="14,16 14,19 11,19 11,18 13,18 13,16"/><rect fill="none" stroke="#000" x="5.5" y="1.5" width="13" height="13"/><rect x="1" y="11" width="1" height="3"/><rect x="6" y="18" width="3" height="1"/></svg>',nut:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon fill="none" stroke="#000" points="2.5,5.7 10,1.3 17.5,5.7 17.5,14.3 10,18.7 2.5,14.3"/><circle fill="none" stroke="#000" cx="10" cy="10" r="3.5"/></svg>',pagekit:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="3,1 17,1 17,16 10,16 10,13 14,13 14,4 6,4 6,16 10,16 10,19 3,19"/></svg>',"paint-bucket":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.21,1 L0,11.21 L8.1,19.31 L18.31,9.1 L10.21,1 L10.21,1 Z M16.89,9.1 L15,11 L1.7,11 L10.21,2.42 L16.89,9.1 Z"/><path fill="none" stroke="#000" stroke-width="1.1" d="M6.42,2.33 L11.7,7.61"/><path d="M18.49,12 C18.49,12 20,14.06 20,15.36 C20,16.28 19.24,17 18.49,17 L18.49,17 C17.74,17 17,16.28 17,15.36 C17,14.06 18.49,12 18.49,12 L18.49,12 Z"/></svg>',pencil:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" d="M17.25,6.01 L7.12,16.1 L3.82,17.2 L5.02,13.9 L15.12,3.88 C15.71,3.29 16.66,3.29 17.25,3.88 C17.83,4.47 17.83,5.42 17.25,6.01 L17.25,6.01 Z"/><path fill="none" stroke="#000" d="M15.98,7.268 L13.851,5.148"/></svg>',"phone-landscape":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" d="M17,5.5 C17.8,5.5 18.5,6.2 18.5,7 L18.5,14 C18.5,14.8 17.8,15.5 17,15.5 L3,15.5 C2.2,15.5 1.5,14.8 1.5,14 L1.5,7 C1.5,6.2 2.2,5.5 3,5.5 L17,5.5 L17,5.5 L17,5.5 Z"/><circle cx="3.8" cy="10.5" r=".8"/></svg>',phone:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" d="M15.5,17 C15.5,17.8 14.8,18.5 14,18.5 L7,18.5 C6.2,18.5 5.5,17.8 5.5,17 L5.5,3 C5.5,2.2 6.2,1.5 7,1.5 L14,1.5 C14.8,1.5 15.5,2.2 15.5,3 L15.5,17 L15.5,17 L15.5,17 Z"/><circle cx="10.5" cy="16.5" r=".8"/></svg>',pinterest:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.21,1 C5.5,1 3,4.16 3,7.61 C3,9.21 3.85,11.2 5.22,11.84 C5.43,11.94 5.54,11.89 5.58,11.69 C5.62,11.54 5.8,10.8 5.88,10.45 C5.91,10.34 5.89,10.24 5.8,10.14 C5.36,9.59 5,8.58 5,7.65 C5,5.24 6.82,2.91 9.93,2.91 C12.61,2.91 14.49,4.74 14.49,7.35 C14.49,10.3 13,12.35 11.06,12.35 C9.99,12.35 9.19,11.47 9.44,10.38 C9.75,9.08 10.35,7.68 10.35,6.75 C10.35,5.91 9.9,5.21 8.97,5.21 C7.87,5.21 6.99,6.34 6.99,7.86 C6.99,8.83 7.32,9.48 7.32,9.48 C7.32,9.48 6.24,14.06 6.04,14.91 C5.7,16.35 6.08,18.7 6.12,18.9 C6.14,19.01 6.26,19.05 6.33,18.95 C6.44,18.81 7.74,16.85 8.11,15.44 C8.24,14.93 8.79,12.84 8.79,12.84 C9.15,13.52 10.19,14.09 11.29,14.09 C14.58,14.09 16.96,11.06 16.96,7.3 C16.94,3.7 14,1 10.21,1"/></svg>',"play-circle":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon fill="none" stroke="#000" stroke-width="1.1" points="8.5 7 13.5 10 8.5 13"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/></svg>',play:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon fill="none" stroke="#000" points="6.5,5 14.5,10 6.5,15"/></svg>',"plus-circle":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9.5" cy="9.5" r="9"/><line fill="none" stroke="#000" x1="9.5" y1="5" x2="9.5" y2="14"/><line fill="none" stroke="#000" x1="5" y1="9.5" x2="14" y2="9.5"/></svg>',plus:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="1" width="1" height="17"/><rect x="1" y="9" width="17" height="1"/></svg>',print:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" points="4.5 13.5 1.5 13.5 1.5 6.5 18.5 6.5 18.5 13.5 15.5 13.5"/><polyline fill="none" stroke="#000" points="15.5 6.5 15.5 2.5 4.5 2.5 4.5 6.5"/><rect fill="none" stroke="#000" width="11" height="6" x="4.5" y="11.5"/><rect width="8" height="1" x="6" y="13"/><rect width="8" height="1" x="6" y="15"/></svg>',pull:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="6.85,8 9.5,10.6 12.15,8 12.85,8.7 9.5,12 6.15,8.7"/><line fill="none" stroke="#000" x1="9.5" y1="11" x2="9.5" y2="2"/><polyline fill="none" stroke="#000" points="6,5.5 3.5,5.5 3.5,18.5 15.5,18.5 15.5,5.5 13,5.5"/></svg>',push:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="12.15,4 9.5,1.4 6.85,4 6.15,3.3 9.5,0 12.85,3.3"/><line fill="none" stroke="#000" x1="9.5" y1="10" x2="9.5" y2="1"/><polyline fill="none" stroke="#000" points="6 5.5 3.5 5.5 3.5 18.5 15.5 18.5 15.5 5.5 13 5.5"/></svg>',question:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/><circle cx="10.44" cy="14.42" r="1.05"/><path fill="none" stroke="#000" stroke-width="1.2" d="M8.17,7.79 C8.17,4.75 12.72,4.73 12.72,7.72 C12.72,8.67 11.81,9.15 11.23,9.75 C10.75,10.24 10.51,10.73 10.45,11.4 C10.44,11.53 10.43,11.64 10.43,11.75"/></svg>',"quote-right":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.27,7.79 C17.27,9.45 16.97,10.43 15.99,12.02 C14.98,13.64 13,15.23 11.56,15.97 L11.1,15.08 C12.34,14.2 13.14,13.51 14.02,11.82 C14.27,11.34 14.41,10.92 14.49,10.54 C14.3,10.58 14.09,10.6 13.88,10.6 C12.06,10.6 10.59,9.12 10.59,7.3 C10.59,5.48 12.06,4 13.88,4 C15.39,4 16.67,5.02 17.05,6.42 C17.19,6.82 17.27,7.27 17.27,7.79 L17.27,7.79 Z"/><path d="M8.68,7.79 C8.68,9.45 8.38,10.43 7.4,12.02 C6.39,13.64 4.41,15.23 2.97,15.97 L2.51,15.08 C3.75,14.2 4.55,13.51 5.43,11.82 C5.68,11.34 5.82,10.92 5.9,10.54 C5.71,10.58 5.5,10.6 5.29,10.6 C3.47,10.6 2,9.12 2,7.3 C2,5.48 3.47,4 5.29,4 C6.8,4 8.08,5.02 8.46,6.42 C8.6,6.82 8.68,7.27 8.68,7.79 L8.68,7.79 Z"/></svg>',receiver:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-width="1.01" d="M6.189,13.611C8.134,15.525 11.097,18.239 13.867,18.257C16.47,18.275 18.2,16.241 18.2,16.241L14.509,12.551L11.539,13.639L6.189,8.29L7.313,5.355L3.76,1.8C3.76,1.8 1.732,3.537 1.7,6.092C1.667,8.809 4.347,11.738 6.189,13.611"/></svg>',reddit:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 9.05a2.56 2.56 0 0 0-2.56-2.56 2.59 2.59 0 0 0-1.88.82 10.63 10.63 0 0 0-4.14-1v-.08c.58-1.62 1.58-3.89 2.7-4.1.38-.08.77.12 1.19.57a1.15 1.15 0 0 0-.06.37 1.48 1.48 0 1 0 1.51-1.45 1.43 1.43 0 0 0-.76.19A2.29 2.29 0 0 0 12.91 1c-2.11.43-3.39 4.38-3.63 5.19 0 0 0 .11-.06.11a10.65 10.65 0 0 0-3.75 1A2.56 2.56 0 0 0 1 9.05a2.42 2.42 0 0 0 .72 1.76A5.18 5.18 0 0 0 1.24 13c0 3.66 3.92 6.64 8.73 6.64s8.74-3 8.74-6.64a5.23 5.23 0 0 0-.46-2.13A2.58 2.58 0 0 0 19 9.05zm-16.88 0a1.44 1.44 0 0 1 2.27-1.19 7.68 7.68 0 0 0-2.07 1.91 1.33 1.33 0 0 1-.2-.72zM10 18.4c-4.17 0-7.55-2.4-7.55-5.4S5.83 7.53 10 7.53 17.5 10 17.5 13s-3.38 5.4-7.5 5.4zm7.69-8.61a7.62 7.62 0 0 0-2.09-1.91 1.41 1.41 0 0 1 .84-.28 1.47 1.47 0 0 1 1.44 1.45 1.34 1.34 0 0 1-.21.72z"/><path d="M6.69 12.58a1.39 1.39 0 1 1 1.39-1.39 1.38 1.38 0 0 1-1.38 1.39z"/><path d="M14.26 11.2a1.39 1.39 0 1 1-1.39-1.39 1.39 1.39 0 0 1 1.39 1.39z"/><path d="M13.09 14.88a.54.54 0 0 1-.09.77 5.3 5.3 0 0 1-3.26 1.19 5.61 5.61 0 0 1-3.4-1.22.55.55 0 1 1 .73-.83 4.09 4.09 0 0 0 5.25 0 .56.56 0 0 1 .77.09z"/></svg>',refresh:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-width="1.1" d="M17.08,11.15 C17.09,11.31 17.1,11.47 17.1,11.64 C17.1,15.53 13.94,18.69 10.05,18.69 C6.16,18.68 3,15.53 3,11.63 C3,7.74 6.16,4.58 10.05,4.58 C10.9,4.58 11.71,4.73 12.46,5"/><polyline fill="none" stroke="#000" points="9.9 2 12.79 4.89 9.79 7.9"/></svg>',reply:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.7,13.11 C16.12,10.02 13.84,7.85 11.02,6.61 C10.57,6.41 9.75,6.13 9,5.91 L9,2 L1,9 L9,16 L9,12.13 C10.78,12.47 12.5,13.19 14.09,14.25 C17.13,16.28 18.56,18.54 18.56,18.54 C18.56,18.54 18.81,15.28 17.7,13.11 L17.7,13.11 Z M14.82,13.53 C13.17,12.4 11.01,11.4 8,10.92 L8,13.63 L2.55,9 L8,4.25 L8,6.8 C8.3,6.86 9.16,7.02 10.37,7.49 C13.3,8.65 15.54,10.96 16.65,13.08 C16.97,13.7 17.48,14.86 17.68,16 C16.87,15.05 15.73,14.15 14.82,13.53 L14.82,13.53 Z"/></svg>',rss:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="3.12" cy="16.8" r="1.85"/><path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,8.2 C1.78,8.18 2.06,8.16 2.35,8.16 C7.57,8.16 11.81,12.37 11.81,17.57 C11.81,17.89 11.79,18.19 11.76,18.5"/><path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,2.52 C1.78,2.51 2.06,2.5 2.35,2.5 C10.72,2.5 17.5,9.24 17.5,17.57 C17.5,17.89 17.49,18.19 17.47,18.5"/></svg>',search:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',server:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="1" height="2"/><rect x="5" y="3" width="1" height="2"/><rect x="7" y="3" width="1" height="2"/><rect x="16" y="3" width="1" height="1"/><rect x="16" y="10" width="1" height="1"/><circle fill="none" stroke="#000" cx="9.9" cy="17.4" r="1.4"/><rect x="3" y="10" width="1" height="2"/><rect x="5" y="10" width="1" height="2"/><rect x="9.5" y="14" width="1" height="2"/><rect x="3" y="17" width="6" height="1"/><rect x="11" y="17" width="6" height="1"/><rect fill="none" stroke="#000" x="1.5" y="1.5" width="17" height="5"/><rect fill="none" stroke="#000" x="1.5" y="8.5" width="17" height="5"/></svg>',settings:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><ellipse fill="none" stroke="#000" cx="6.11" cy="3.55" rx="2.11" ry="2.15"/><ellipse fill="none" stroke="#000" cx="6.11" cy="15.55" rx="2.11" ry="2.15"/><circle fill="none" stroke="#000" cx="13.15" cy="9.55" r="2.15"/><rect x="1" y="3" width="3" height="1"/><rect x="10" y="3" width="8" height="1"/><rect x="1" y="9" width="8" height="1"/><rect x="15" y="9" width="3" height="1"/><rect x="1" y="15" width="3" height="1"/><rect x="10" y="15" width="8" height="1"/></svg>',shrink:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="11 4 12 4 12 8 16 8 16 9 11 9"/><polygon points="4 11 9 11 9 16 8 16 8 12 4 12"/><path fill="none" stroke="#000" stroke-width="1.1" d="M12,8 L18,2"/><path fill="none" stroke="#000" stroke-width="1.1" d="M2,18 L8,12"/></svg>',"sign-in":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="7 2 17 2 17 17 7 17 7 16 16 16 16 3 7 3"/><polygon points="9.1 13.4 8.5 12.8 11.28 10 4 10 4 9 11.28 9 8.5 6.2 9.1 5.62 13 9.5"/></svg>',"sign-out":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="13.1 13.4 12.5 12.8 15.28 10 8 10 8 9 15.28 9 12.5 6.2 13.1 5.62 17 9.5"/><polygon points="13 2 3 2 3 17 13 17 13 16 4 16 4 3 13 3"/></svg>',social:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.1" x1="13.4" y1="14" x2="6.3" y2="10.7"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13.5" y1="5.5" x2="6.5" y2="8.8"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="15.5" cy="4.6" r="2.3"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="15.5" cy="14.8" r="2.3"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="4.5" cy="9.8" r="2.3"/></svg>',soundcloud:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.2,9.4c-0.4,0-0.8,0.1-1.101,0.2c-0.199-2.5-2.399-4.5-5-4.5c-0.6,0-1.2,0.1-1.7,0.3C9.2,5.5,9.1,5.6,9.1,5.6V15h8 c1.601,0,2.801-1.2,2.801-2.8C20,10.7,18.7,9.4,17.2,9.4L17.2,9.4z"/><rect x="6" y="6.5" width="1.5" height="8.5"/><rect x="3" y="8" width="1.5" height="7"/><rect y="10" width="1.5" height="5"/></svg>',star:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon fill="none" stroke="#000" stroke-width="1.01" points="10 2 12.63 7.27 18.5 8.12 14.25 12.22 15.25 18 10 15.27 4.75 18 5.75 12.22 1.5 8.12 7.37 7.27"/></svg>',strikethrough:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6,13.02 L6.65,13.02 C7.64,15.16 8.86,16.12 10.41,16.12 C12.22,16.12 12.92,14.93 12.92,13.89 C12.92,12.55 11.99,12.03 9.74,11.23 C8.05,10.64 6.23,10.11 6.23,7.83 C6.23,5.5 8.09,4.09 10.4,4.09 C11.44,4.09 12.13,4.31 12.72,4.54 L13.33,4 L13.81,4 L13.81,7.59 L13.16,7.59 C12.55,5.88 11.52,4.89 10.07,4.89 C8.84,4.89 7.89,5.69 7.89,7.03 C7.89,8.29 8.89,8.78 10.88,9.45 C12.57,10.03 14.38,10.6 14.38,12.91 C14.38,14.75 13.27,16.93 10.18,16.93 C9.18,16.93 8.17,16.69 7.46,16.39 L6.52,17 L6,17 L6,13.02 L6,13.02 Z"/><rect x="3" y="10" width="15" height="1"/></svg>',table:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="1" y="3" width="18" height="1"/><rect x="1" y="7" width="18" height="1"/><rect x="1" y="11" width="18" height="1"/><rect x="1" y="15" width="18" height="1"/></svg>',"tablet-landscape":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" d="M1.5,5 C1.5,4.2 2.2,3.5 3,3.5 L17,3.5 C17.8,3.5 18.5,4.2 18.5,5 L18.5,16 C18.5,16.8 17.8,17.5 17,17.5 L3,17.5 C2.2,17.5 1.5,16.8 1.5,16 L1.5,5 L1.5,5 L1.5,5 Z"/><circle cx="3.7" cy="10.5" r=".8"/></svg>',tablet:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" d="M5,18.5 C4.2,18.5 3.5,17.8 3.5,17 L3.5,3 C3.5,2.2 4.2,1.5 5,1.5 L16,1.5 C16.8,1.5 17.5,2.2 17.5,3 L17.5,17 C17.5,17.8 16.8,18.5 16,18.5 L5,18.5 L5,18.5 L5,18.5 Z"/><circle cx="10.5" cy="16.3" r=".8"/></svg>',tag:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" stroke-width="1.1" d="M17.5,3.71 L17.5,7.72 C17.5,7.96 17.4,8.2 17.21,8.39 L8.39,17.2 C7.99,17.6 7.33,17.6 6.93,17.2 L2.8,13.07 C2.4,12.67 2.4,12.01 2.8,11.61 L11.61,2.8 C11.81,2.6 12.08,2.5 12.34,2.5 L16.19,2.5 C16.52,2.5 16.86,2.63 17.11,2.88 C17.35,3.11 17.48,3.4 17.5,3.71 L17.5,3.71 Z"/><circle cx="14" cy="6" r="1"/></svg>',thumbnails:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect fill="none" stroke="#000" x="3.5" y="3.5" width="5" height="5"/><rect fill="none" stroke="#000" x="11.5" y="3.5" width="5" height="5"/><rect fill="none" stroke="#000" x="11.5" y="11.5" width="5" height="5"/><rect fill="none" stroke="#000" x="3.5" y="11.5" width="5" height="5"/></svg>',trash:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" points="6.5 3 6.5 1.5 13.5 1.5 13.5 3"/><polyline fill="none" stroke="#000" points="4.5 4 4.5 18.5 15.5 18.5 15.5 4"/><rect x="8" y="7" width="1" height="9"/><rect x="11" y="7" width="1" height="9"/><rect x="2" y="3" width="16" height="1"/></svg>',"triangle-down":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="5 7 15 7 10 12"/></svg>',"triangle-left":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="12 5 7 10 12 15"/></svg>',"triangle-right":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="8 5 13 10 8 15"/></svg>',"triangle-up":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="5 13 10 8 15 13"/></svg>',tripadvisor:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19.021,7.866C19.256,6.862,20,5.854,20,5.854h-3.346C14.781,4.641,12.504,4,9.98,4C7.363,4,4.999,4.651,3.135,5.876H0\tc0,0,0.738,0.987,0.976,1.988c-0.611,0.837-0.973,1.852-0.973,2.964c0,2.763,2.249,5.009,5.011,5.009\tc1.576,0,2.976-0.737,3.901-1.879l1.063,1.599l1.075-1.615c0.475,0.611,1.1,1.111,1.838,1.451c1.213,0.547,2.574,0.612,3.825,0.15\tc2.589-0.963,3.913-3.852,2.964-6.439c-0.175-0.463-0.4-0.876-0.675-1.238H19.021z M16.38,14.594\tc-1.002,0.371-2.088,0.328-3.06-0.119c-0.688-0.317-1.252-0.817-1.657-1.438c-0.164-0.25-0.313-0.52-0.417-0.811\tc-0.124-0.328-0.186-0.668-0.217-1.014c-0.063-0.689,0.037-1.396,0.339-2.043c0.448-0.971,1.251-1.71,2.25-2.079\tc2.075-0.765,4.375,0.3,5.14,2.366c0.762,2.066-0.301,4.37-2.363,5.134L16.38,14.594L16.38,14.594z M8.322,13.066\tc-0.72,1.059-1.935,1.76-3.309,1.76c-2.207,0-4.001-1.797-4.001-3.996c0-2.203,1.795-4.002,4.001-4.002\tc2.204,0,3.999,1.8,3.999,4.002c0,0.137-0.024,0.261-0.04,0.396c-0.067,0.678-0.284,1.313-0.648,1.853v-0.013H8.322z M2.472,10.775\tc0,1.367,1.112,2.479,2.476,2.479c1.363,0,2.472-1.11,2.472-2.479c0-1.359-1.11-2.468-2.472-2.468\tC3.584,8.306,2.473,9.416,2.472,10.775L2.472,10.775z M12.514,10.775c0,1.367,1.104,2.479,2.471,2.479\tc1.363,0,2.474-1.108,2.474-2.479c0-1.359-1.11-2.468-2.474-2.468c-1.364,0-2.477,1.109-2.477,2.468H12.514z M3.324,10.775\tc0-0.893,0.726-1.618,1.614-1.618c0.889,0,1.625,0.727,1.625,1.618c0,0.898-0.725,1.627-1.625,1.627\tc-0.901,0-1.625-0.729-1.625-1.627H3.324z M13.354,10.775c0-0.893,0.726-1.618,1.627-1.618c0.886,0,1.61,0.727,1.61,1.618\tc0,0.898-0.726,1.627-1.626,1.627s-1.625-0.729-1.625-1.627H13.354z M9.977,4.875c1.798,0,3.425,0.324,4.849,0.968\tc-0.535,0.015-1.061,0.108-1.586,0.3c-1.264,0.463-2.264,1.388-2.815,2.604c-0.262,0.551-0.398,1.133-0.448,1.72\tC9.79,7.905,7.677,5.873,5.076,5.82C6.501,5.208,8.153,4.875,9.94,4.875H9.977z"/></svg>',tumblr:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.885,8.598c0,0,0,3.393,0,4.996c0,0.282,0,0.66,0.094,0.942c0.377,1.509,1.131,2.545,2.545,3.11 c1.319,0.472,2.356,0.472,3.676,0c0.565-0.188,1.132-0.659,1.132-0.659l-0.849-2.263c0,0-1.036,0.378-1.603,0.283 c-0.565-0.094-1.226-0.66-1.226-1.508c0-1.603,0-4.902,0-4.902h2.828V5.771h-2.828V2H8.205c0,0-0.094,0.66-0.188,0.942 C7.828,3.791,7.262,4.733,6.603,5.394C5.848,6.147,5,6.43,5,6.43v2.168H6.885z"/></svg>',tv:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="7" y="16" width="6" height="1"/><rect fill="none" stroke="#000" x=".5" y="3.5" width="19" height="11"/></svg>',twitter:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19,4.74 C18.339,5.029 17.626,5.229 16.881,5.32 C17.644,4.86 18.227,4.139 18.503,3.28 C17.79,3.7 17.001,4.009 16.159,4.17 C15.485,3.45 14.526,3 13.464,3 C11.423,3 9.771,4.66 9.771,6.7 C9.771,6.99 9.804,7.269 9.868,7.539 C6.795,7.38 4.076,5.919 2.254,3.679 C1.936,4.219 1.754,4.86 1.754,5.539 C1.754,6.82 2.405,7.95 3.397,8.61 C2.79,8.589 2.22,8.429 1.723,8.149 L1.723,8.189 C1.723,9.978 2.997,11.478 4.686,11.82 C4.376,11.899 4.049,11.939 3.713,11.939 C3.475,11.939 3.245,11.919 3.018,11.88 C3.49,13.349 4.852,14.419 6.469,14.449 C5.205,15.429 3.612,16.019 1.882,16.019 C1.583,16.019 1.29,16.009 1,15.969 C2.635,17.019 4.576,17.629 6.662,17.629 C13.454,17.629 17.17,12 17.17,7.129 C17.17,6.969 17.166,6.809 17.157,6.649 C17.879,6.129 18.504,5.478 19,4.74"/></svg>',uikit:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="14.4,3.1 11.3,5.1 15,7.3 15,12.9 10,15.7 5,12.9 5,8.5 2,6.8 2,14.8 9.9,19.5 18,14.8 18,5.3"/><polygon points="9.8,4.2 6.7,2.4 9.8,0.4 12.9,2.3"/></svg>',unlock:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect fill="none" stroke="#000" x="3.5" y="8.5" width="13" height="10"/><path fill="none" stroke="#000" d="M6.5,8.5 L6.5,4.9 C6.5,3 8.1,1.5 10,1.5 C11.9,1.5 13.5,3 13.5,4.9"/></svg>',upload:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" points="5 8 9.5 3.5 14 8"/><rect x="3" y="17" width="13" height="1"/><line fill="none" stroke="#000" x1="9.5" y1="15" x2="9.5" y2="4"/></svg>',user:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9.9" cy="6.4" r="4.4"/><path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,19 C2.3,14.5 5.8,11.2 10,11.2 C14.2,11.2 17.7,14.6 18.5,19.2"/></svg>',users:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="7.7" cy="8.6" r="3.5"/><path fill="none" stroke="#000" stroke-width="1.1" d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3"/><path fill="none" stroke="#000" stroke-width="1.1" d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"/></svg>',"video-camera":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon fill="none" stroke="#000" points="17.5 6.9 17.5 13.1 13.5 10.4 13.5 14.5 2.5 14.5 2.5 5.5 13.5 5.5 13.5 9.6 17.5 6.9"/></svg>',vimeo:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.065,7.59C1.84,7.367,1.654,7.082,1.468,6.838c-0.332-0.42-0.137-0.411,0.274-0.772c1.026-0.91,2.004-1.896,3.127-2.688 c1.017-0.713,2.365-1.173,3.286-0.039c0.849,1.045,0.869,2.629,1.084,3.891c0.215,1.309,0.421,2.648,0.88,3.901 c0.127,0.352,0.37,1.018,0.81,1.074c0.567,0.078,1.145-0.917,1.408-1.289c0.684-0.987,1.611-2.317,1.494-3.587 c-0.115-1.349-1.572-1.095-2.482-0.773c0.146-1.514,1.555-3.216,2.912-3.792c1.439-0.597,3.579-0.587,4.302,1.036 c0.772,1.759,0.078,3.802-0.763,5.396c-0.918,1.731-2.1,3.333-3.363,4.829c-1.114,1.329-2.432,2.787-4.093,3.422 c-1.897,0.723-3.021-0.686-3.667-2.318c-0.705-1.777-1.056-3.771-1.565-5.621C4.898,8.726,4.644,7.836,4.136,7.191 C3.473,6.358,2.72,7.141,2.065,7.59C1.977,7.502,2.115,7.551,2.065,7.59L2.065,7.59z"/></svg>',warning:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="14" r="1"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/><path d="M10.97,7.72 C10.85,9.54 10.56,11.29 10.56,11.29 C10.51,11.87 10.27,12 9.99,12 C9.69,12 9.49,11.87 9.43,11.29 C9.43,11.29 9.16,9.54 9.03,7.72 C8.96,6.54 9.03,6 9.03,6 C9.03,5.45 9.46,5.02 9.99,5 C10.53,5.01 10.97,5.44 10.97,6 C10.97,6 11.04,6.54 10.97,7.72 L10.97,7.72 Z"/></svg>',whatsapp:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.7,3.3c-1.8-1.8-4.1-2.8-6.7-2.8c-5.2,0-9.4,4.2-9.4,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3c1.4,0.8,2.9,1.2,4.5,1.2 l0,0l0,0c5.2,0,9.4-4.2,9.4-9.4C19.5,7.4,18.5,5,16.7,3.3 M10.1,17.7L10.1,17.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2l-3,0.8l0.8-2.9 l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.8-7.8c2.1,0,4.1,0.8,5.5,2.3c1.5,1.5,2.3,3.4,2.3,5.5 C17.9,14.2,14.4,17.7,10.1,17.7 M14.4,11.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.8,0.9 c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5C8,8.8,8.1,8.7,8.2,8.5 c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4C8.4,7.6,7.9,6.5,7.7,6C7.5,5.5,7.3,5.6,7.2,5.6c-0.1,0-0.3,0-0.4,0 c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.5c0.6,0.2,1,0.4,1.3,0.5 c0.6,0.2,1.1,0.2,1.5,0.1c0.5-0.1,1.4-0.6,1.6-1.1c0.2-0.5,0.2-1,0.1-1.1C14.8,12.1,14.6,12,14.4,11.9"/></svg>',wordpress:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10,0.5c-5.2,0-9.5,4.3-9.5,9.5s4.3,9.5,9.5,9.5c5.2,0,9.5-4.3,9.5-9.5S15.2,0.5,10,0.5L10,0.5L10,0.5z M15.6,3.9h-0.1 c-0.8,0-1.4,0.7-1.4,1.5c0,0.7,0.4,1.3,0.8,1.9c0.3,0.6,0.7,1.3,0.7,2.3c0,0.7-0.3,1.5-0.6,2.7L14.1,15l-3-8.9 c0.5,0,0.9-0.1,0.9-0.1C12.5,6,12.5,5.3,12,5.4c0,0-1.3,0.1-2.2,0.1C9,5.5,7.7,5.4,7.7,5.4C7.2,5.3,7.2,6,7.6,6c0,0,0.4,0.1,0.9,0.1 l1.3,3.5L8,15L5,6.1C5.5,6.1,5.9,6,5.9,6C6.4,6,6.3,5.3,5.9,5.4c0,0-1.3,0.1-2.2,0.1c-0.2,0-0.3,0-0.5,0c1.5-2.2,4-3.7,6.9-3.7 C12.2,1.7,14.1,2.6,15.6,3.9L15.6,3.9L15.6,3.9z M2.5,6.6l3.9,10.8c-2.7-1.3-4.6-4.2-4.6-7.4C1.8,8.8,2,7.6,2.5,6.6L2.5,6.6L2.5,6.6 z M10.2,10.7l2.5,6.9c0,0,0,0.1,0.1,0.1C11.9,18,11,18.2,10,18.2c-0.8,0-1.6-0.1-2.3-0.3L10.2,10.7L10.2,10.7L10.2,10.7z M14.2,17.1 l2.5-7.3c0.5-1.2,0.6-2.1,0.6-2.9c0-0.3,0-0.6-0.1-0.8c0.6,1.2,1,2.5,1,4C18.3,13,16.6,15.7,14.2,17.1L14.2,17.1L14.2,17.1z"/></svg>',world:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" d="M1,10.5 L19,10.5"/><path fill="none" stroke="#000" d="M2.35,15.5 L17.65,15.5"/><path fill="none" stroke="#000" d="M2.35,5.5 L17.523,5.5"/><path fill="none" stroke="#000" d="M10,19.46 L9.98,19.46 C7.31,17.33 5.61,14.141 5.61,10.58 C5.61,7.02 7.33,3.83 10,1.7 C10.01,1.7 9.99,1.7 10,1.7 L10,1.7 C12.67,3.83 14.4,7.02 14.4,10.58 C14.4,14.141 12.67,17.33 10,19.46 L10,19.46 L10,19.46 L10,19.46 Z"/><circle fill="none" stroke="#000" cx="10" cy="10.5" r="9"/></svg>',xing:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.4,4.56 C4.24,4.56 4.11,4.61 4.05,4.72 C3.98,4.83 3.99,4.97 4.07,5.12 L5.82,8.16 L5.82,8.17 L3.06,13.04 C2.99,13.18 2.99,13.33 3.06,13.44 C3.12,13.55 3.24,13.62 3.4,13.62 L6,13.62 C6.39,13.62 6.57,13.36 6.71,13.12 C6.71,13.12 9.41,8.35 9.51,8.16 C9.49,8.14 7.72,5.04 7.72,5.04 C7.58,4.81 7.39,4.56 6.99,4.56 L4.4,4.56 L4.4,4.56 Z"/><path d="M15.3,1 C14.91,1 14.74,1.25 14.6,1.5 C14.6,1.5 9.01,11.42 8.82,11.74 C8.83,11.76 12.51,18.51 12.51,18.51 C12.64,18.74 12.84,19 13.23,19 L15.82,19 C15.98,19 16.1,18.94 16.16,18.83 C16.23,18.72 16.23,18.57 16.16,18.43 L12.5,11.74 L12.5,11.72 L18.25,1.56 C18.32,1.42 18.32,1.27 18.25,1.16 C18.21,1.06 18.08,1 17.93,1 L15.3,1 L15.3,1 Z"/></svg>',yelp:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.175,14.971c-0.112,0.77-1.686,2.767-2.406,3.054c-0.246,0.1-0.487,0.076-0.675-0.069\tc-0.122-0.096-2.446-3.859-2.446-3.859c-0.194-0.293-0.157-0.682,0.083-0.978c0.234-0.284,0.581-0.393,0.881-0.276\tc0.016,0.01,4.21,1.394,4.332,1.482c0.178,0.148,0.263,0.379,0.225,0.646L17.175,14.971L17.175,14.971z M11.464,10.789\tc-0.203-0.307-0.199-0.666,0.009-0.916c0,0,2.625-3.574,2.745-3.657c0.203-0.135,0.452-0.141,0.69-0.025\tc0.691,0.335,2.085,2.405,2.167,3.199v0.027c0.024,0.271-0.082,0.491-0.273,0.623c-0.132,0.083-4.43,1.155-4.43,1.155\tc-0.322,0.096-0.68-0.06-0.882-0.381L11.464,10.789z M9.475,9.563C9.32,9.609,8.848,9.757,8.269,8.817c0,0-3.916-6.16-4.007-6.351\tc-0.057-0.212,0.011-0.455,0.202-0.65C5.047,1.211,8.21,0.327,9.037,0.529c0.27,0.069,0.457,0.238,0.522,0.479\tc0.047,0.266,0.433,5.982,0.488,7.264C10.098,9.368,9.629,9.517,9.475,9.563z M9.927,19.066c-0.083,0.225-0.273,0.373-0.54,0.421\tc-0.762,0.13-3.15-0.751-3.647-1.342c-0.096-0.131-0.155-0.262-0.167-0.394c-0.011-0.095,0-0.189,0.036-0.272\tc0.061-0.155,2.917-3.538,2.917-3.538c0.214-0.272,0.595-0.355,0.952-0.213c0.345,0.13,0.56,0.428,0.536,0.749\tC10.014,14.479,9.977,18.923,9.927,19.066z M3.495,13.912c-0.235-0.009-0.444-0.148-0.568-0.382c-0.089-0.17-0.151-0.453-0.19-0.794\tC2.63,11.701,2.761,10.144,3.07,9.648c0.145-0.226,0.357-0.345,0.592-0.336c0.154,0,4.255,1.667,4.255,1.667\tc0.321,0.118,0.521,0.453,0.5,0.833c-0.023,0.37-0.236,0.655-0.551,0.738L3.495,13.912z"/></svg>',youtube:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15,4.1c1,0.1,2.3,0,3,0.8c0.8,0.8,0.9,2.1,0.9,3.1C19,9.2,19,10.9,19,12c-0.1,1.1,0,2.4-0.5,3.4c-0.5,1.1-1.4,1.5-2.5,1.6 c-1.2,0.1-8.6,0.1-11,0c-1.1-0.1-2.4-0.1-3.2-1c-0.7-0.8-0.7-2-0.8-3C1,11.8,1,10.1,1,8.9c0-1.1,0-2.4,0.5-3.4C2,4.5,3,4.3,4.1,4.2 C5.3,4.1,12.6,4,15,4.1z M8,7.5v6l5.5-3L8,7.5z"/></svg>'})}return"undefined"!=typeof window&&window.bdtUIkit&&window.bdtUIkit.use(i),i});
|
|
|
|
|
|
assets/js/bdt-uikit.js
DELETED
@@ -1,12193 +0,0 @@
|
|
1 |
-
/*! bdtUIkit 3.2.0 | http://www.getuikit.com | (c) 2014 - 2019 YOOtheme | MIT License */
|
2 |
-
|
3 |
-
(function (global, factory) {
|
4 |
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
5 |
-
typeof define === 'function' && define.amd ? define('uikit', factory) :
|
6 |
-
(global = global || self, global.bdtUIkit = factory());
|
7 |
-
}(this, function () { 'use strict';
|
8 |
-
|
9 |
-
var objPrototype = Object.prototype;
|
10 |
-
var hasOwnProperty = objPrototype.hasOwnProperty;
|
11 |
-
|
12 |
-
function hasOwn(obj, key) {
|
13 |
-
return hasOwnProperty.call(obj, key);
|
14 |
-
}
|
15 |
-
|
16 |
-
var hyphenateCache = {};
|
17 |
-
var hyphenateRe = /([a-z\d])([A-Z])/g;
|
18 |
-
|
19 |
-
function hyphenate(str) {
|
20 |
-
|
21 |
-
if (!(str in hyphenateCache)) {
|
22 |
-
hyphenateCache[str] = str
|
23 |
-
.replace(hyphenateRe, '$1-$2')
|
24 |
-
.toLowerCase();
|
25 |
-
}
|
26 |
-
|
27 |
-
return hyphenateCache[str];
|
28 |
-
}
|
29 |
-
|
30 |
-
var camelizeRe = /-(\w)/g;
|
31 |
-
|
32 |
-
function camelize(str) {
|
33 |
-
return str.replace(camelizeRe, toUpper);
|
34 |
-
}
|
35 |
-
|
36 |
-
function toUpper(_, c) {
|
37 |
-
return c ? c.toUpperCase() : '';
|
38 |
-
}
|
39 |
-
|
40 |
-
function ucfirst(str) {
|
41 |
-
return str.length ? toUpper(null, str.charAt(0)) + str.slice(1) : '';
|
42 |
-
}
|
43 |
-
|
44 |
-
var strPrototype = String.prototype;
|
45 |
-
var startsWithFn = strPrototype.startsWith || function (search) { return this.lastIndexOf(search, 0) === 0; };
|
46 |
-
|
47 |
-
function startsWith(str, search) {
|
48 |
-
return startsWithFn.call(str, search);
|
49 |
-
}
|
50 |
-
|
51 |
-
var endsWithFn = strPrototype.endsWith || function (search) { return this.substr(-search.length) === search; };
|
52 |
-
|
53 |
-
function endsWith(str, search) {
|
54 |
-
return endsWithFn.call(str, search);
|
55 |
-
}
|
56 |
-
|
57 |
-
var arrPrototype = Array.prototype;
|
58 |
-
|
59 |
-
var includesFn = function (search, i) { return ~this.indexOf(search, i); };
|
60 |
-
var includesStr = strPrototype.includes || includesFn;
|
61 |
-
var includesArray = arrPrototype.includes || includesFn;
|
62 |
-
|
63 |
-
function includes(obj, search) {
|
64 |
-
return obj && (isString(obj) ? includesStr : includesArray).call(obj, search);
|
65 |
-
}
|
66 |
-
|
67 |
-
var findIndexFn = arrPrototype.findIndex || function (predicate) {
|
68 |
-
var arguments$1 = arguments;
|
69 |
-
|
70 |
-
for (var i = 0; i < this.length; i++) {
|
71 |
-
if (predicate.call(arguments$1[1], this[i], i, this)) {
|
72 |
-
return i;
|
73 |
-
}
|
74 |
-
}
|
75 |
-
return -1;
|
76 |
-
};
|
77 |
-
|
78 |
-
function findIndex(array, predicate) {
|
79 |
-
return findIndexFn.call(array, predicate);
|
80 |
-
}
|
81 |
-
|
82 |
-
var isArray = Array.isArray;
|
83 |
-
|
84 |
-
function isFunction(obj) {
|
85 |
-
return typeof obj === 'function';
|
86 |
-
}
|
87 |
-
|
88 |
-
function isObject(obj) {
|
89 |
-
return obj !== null && typeof obj === 'object';
|
90 |
-
}
|
91 |
-
|
92 |
-
function isPlainObject(obj) {
|
93 |
-
return isObject(obj) && Object.getPrototypeOf(obj) === objPrototype;
|
94 |
-
}
|
95 |
-
|
96 |
-
function isWindow(obj) {
|
97 |
-
return isObject(obj) && obj === obj.window;
|
98 |
-
}
|
99 |
-
|
100 |
-
function isDocument(obj) {
|
101 |
-
return isObject(obj) && obj.nodeType === 9;
|
102 |
-
}
|
103 |
-
|
104 |
-
function isJQuery(obj) {
|
105 |
-
return isObject(obj) && !!obj.jquery;
|
106 |
-
}
|
107 |
-
|
108 |
-
function isNode(obj) {
|
109 |
-
return obj instanceof Node || isObject(obj) && obj.nodeType >= 1;
|
110 |
-
}
|
111 |
-
|
112 |
-
var toString = objPrototype.toString;
|
113 |
-
function isNodeCollection(obj) {
|
114 |
-
return toString.call(obj).match(/^\[object (NodeList|HTMLCollection)\]$/);
|
115 |
-
}
|
116 |
-
|
117 |
-
function isBoolean(value) {
|
118 |
-
return typeof value === 'boolean';
|
119 |
-
}
|
120 |
-
|
121 |
-
function isString(value) {
|
122 |
-
return typeof value === 'string';
|
123 |
-
}
|
124 |
-
|
125 |
-
function isNumber(value) {
|
126 |
-
return typeof value === 'number';
|
127 |
-
}
|
128 |
-
|
129 |
-
function isNumeric(value) {
|
130 |
-
return isNumber(value) || isString(value) && !isNaN(value - parseFloat(value));
|
131 |
-
}
|
132 |
-
|
133 |
-
function isEmpty(obj) {
|
134 |
-
return !(isArray(obj)
|
135 |
-
? obj.length
|
136 |
-
: isObject(obj)
|
137 |
-
? Object.keys(obj).length
|
138 |
-
: false
|
139 |
-
);
|
140 |
-
}
|
141 |
-
|
142 |
-
function isUndefined(value) {
|
143 |
-
return value === void 0;
|
144 |
-
}
|
145 |
-
|
146 |
-
function toBoolean(value) {
|
147 |
-
return isBoolean(value)
|
148 |
-
? value
|
149 |
-
: value === 'true' || value === '1' || value === ''
|
150 |
-
? true
|
151 |
-
: value === 'false' || value === '0'
|
152 |
-
? false
|
153 |
-
: value;
|
154 |
-
}
|
155 |
-
|
156 |
-
function toNumber(value) {
|
157 |
-
var number = Number(value);
|
158 |
-
return !isNaN(number) ? number : false;
|
159 |
-
}
|
160 |
-
|
161 |
-
function toFloat(value) {
|
162 |
-
return parseFloat(value) || 0;
|
163 |
-
}
|
164 |
-
|
165 |
-
function toNode(element) {
|
166 |
-
return isNode(element) || isWindow(element) || isDocument(element)
|
167 |
-
? element
|
168 |
-
: isNodeCollection(element) || isJQuery(element)
|
169 |
-
? element[0]
|
170 |
-
: isArray(element)
|
171 |
-
? toNode(element[0])
|
172 |
-
: null;
|
173 |
-
}
|
174 |
-
|
175 |
-
function toNodes(element) {
|
176 |
-
return isNode(element)
|
177 |
-
? [element]
|
178 |
-
: isNodeCollection(element)
|
179 |
-
? arrPrototype.slice.call(element)
|
180 |
-
: isArray(element)
|
181 |
-
? element.map(toNode).filter(Boolean)
|
182 |
-
: isJQuery(element)
|
183 |
-
? element.toArray()
|
184 |
-
: [];
|
185 |
-
}
|
186 |
-
|
187 |
-
function toList(value) {
|
188 |
-
return isArray(value)
|
189 |
-
? value
|
190 |
-
: isString(value)
|
191 |
-
? value.split(/,(?![^(]*\))/).map(function (value) { return isNumeric(value)
|
192 |
-
? toNumber(value)
|
193 |
-
: toBoolean(value.trim()); })
|
194 |
-
: [value];
|
195 |
-
}
|
196 |
-
|
197 |
-
function toMs(time) {
|
198 |
-
return !time
|
199 |
-
? 0
|
200 |
-
: endsWith(time, 'ms')
|
201 |
-
? toFloat(time)
|
202 |
-
: toFloat(time) * 1000;
|
203 |
-
}
|
204 |
-
|
205 |
-
function isEqual(value, other) {
|
206 |
-
return value === other
|
207 |
-
|| isObject(value)
|
208 |
-
&& isObject(other)
|
209 |
-
&& Object.keys(value).length === Object.keys(other).length
|
210 |
-
&& each(value, function (val, key) { return val === other[key]; });
|
211 |
-
}
|
212 |
-
|
213 |
-
function swap(value, a, b) {
|
214 |
-
return value.replace(new RegExp((a + "|" + b), 'mg'), function (match) {
|
215 |
-
return match === a ? b : a;
|
216 |
-
});
|
217 |
-
}
|
218 |
-
|
219 |
-
var assign = Object.assign || function (target) {
|
220 |
-
var args = [], len = arguments.length - 1;
|
221 |
-
while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
|
222 |
-
|
223 |
-
target = Object(target);
|
224 |
-
for (var i = 0; i < args.length; i++) {
|
225 |
-
var source = args[i];
|
226 |
-
if (source !== null) {
|
227 |
-
for (var key in source) {
|
228 |
-
if (hasOwn(source, key)) {
|
229 |
-
target[key] = source[key];
|
230 |
-
}
|
231 |
-
}
|
232 |
-
}
|
233 |
-
}
|
234 |
-
return target;
|
235 |
-
};
|
236 |
-
|
237 |
-
function last(array) {
|
238 |
-
return array[array.length - 1];
|
239 |
-
}
|
240 |
-
|
241 |
-
function each(obj, cb) {
|
242 |
-
for (var key in obj) {
|
243 |
-
if (false === cb(obj[key], key)) {
|
244 |
-
return false;
|
245 |
-
}
|
246 |
-
}
|
247 |
-
return true;
|
248 |
-
}
|
249 |
-
|
250 |
-
function sortBy(array, prop) {
|
251 |
-
return array.sort(function (ref, ref$1) {
|
252 |
-
var propA = ref[prop]; if ( propA === void 0 ) propA = 0;
|
253 |
-
var propB = ref$1[prop]; if ( propB === void 0 ) propB = 0;
|
254 |
-
|
255 |
-
return propA > propB
|
256 |
-
? 1
|
257 |
-
: propB > propA
|
258 |
-
? -1
|
259 |
-
: 0;
|
260 |
-
}
|
261 |
-
);
|
262 |
-
}
|
263 |
-
|
264 |
-
function uniqueBy(array, prop) {
|
265 |
-
var seen = new Set();
|
266 |
-
return array.filter(function (ref) {
|
267 |
-
var check = ref[prop];
|
268 |
-
|
269 |
-
return seen.has(check)
|
270 |
-
? false
|
271 |
-
: seen.add(check) || true;
|
272 |
-
} // IE 11 does not return the Set object
|
273 |
-
);
|
274 |
-
}
|
275 |
-
|
276 |
-
function clamp(number, min, max) {
|
277 |
-
if ( min === void 0 ) min = 0;
|
278 |
-
if ( max === void 0 ) max = 1;
|
279 |
-
|
280 |
-
return Math.min(Math.max(toNumber(number) || 0, min), max);
|
281 |
-
}
|
282 |
-
|
283 |
-
function noop() {}
|
284 |
-
|
285 |
-
function intersectRect(r1, r2) {
|
286 |
-
return r1.left < r2.right &&
|
287 |
-
r1.right > r2.left &&
|
288 |
-
r1.top < r2.bottom &&
|
289 |
-
r1.bottom > r2.top;
|
290 |
-
}
|
291 |
-
|
292 |
-
function pointInRect(point, rect) {
|
293 |
-
return point.x <= rect.right &&
|
294 |
-
point.x >= rect.left &&
|
295 |
-
point.y <= rect.bottom &&
|
296 |
-
point.y >= rect.top;
|
297 |
-
}
|
298 |
-
|
299 |
-
var Dimensions = {
|
300 |
-
|
301 |
-
ratio: function(dimensions, prop, value) {
|
302 |
-
var obj;
|
303 |
-
|
304 |
-
|
305 |
-
var aProp = prop === 'width' ? 'height' : 'width';
|
306 |
-
|
307 |
-
return ( obj = {}, obj[aProp] = dimensions[prop] ? Math.round(value * dimensions[aProp] / dimensions[prop]) : dimensions[aProp], obj[prop] = value, obj );
|
308 |
-
},
|
309 |
-
|
310 |
-
contain: function(dimensions, maxDimensions) {
|
311 |
-
var this$1 = this;
|
312 |
-
|
313 |
-
dimensions = assign({}, dimensions);
|
314 |
-
|
315 |
-
each(dimensions, function (_, prop) { return dimensions = dimensions[prop] > maxDimensions[prop]
|
316 |
-
? this$1.ratio(dimensions, prop, maxDimensions[prop])
|
317 |
-
: dimensions; }
|
318 |
-
);
|
319 |
-
|
320 |
-
return dimensions;
|
321 |
-
},
|
322 |
-
|
323 |
-
cover: function(dimensions, maxDimensions) {
|
324 |
-
var this$1 = this;
|
325 |
-
|
326 |
-
dimensions = this.contain(dimensions, maxDimensions);
|
327 |
-
|
328 |
-
each(dimensions, function (_, prop) { return dimensions = dimensions[prop] < maxDimensions[prop]
|
329 |
-
? this$1.ratio(dimensions, prop, maxDimensions[prop])
|
330 |
-
: dimensions; }
|
331 |
-
);
|
332 |
-
|
333 |
-
return dimensions;
|
334 |
-
}
|
335 |
-
|
336 |
-
};
|
337 |
-
|
338 |
-
function attr(element, name, value) {
|
339 |
-
|
340 |
-
if (isObject(name)) {
|
341 |
-
for (var key in name) {
|
342 |
-
attr(element, key, name[key]);
|
343 |
-
}
|
344 |
-
return;
|
345 |
-
}
|
346 |
-
|
347 |
-
if (isUndefined(value)) {
|
348 |
-
element = toNode(element);
|
349 |
-
return element && element.getAttribute(name);
|
350 |
-
} else {
|
351 |
-
toNodes(element).forEach(function (element) {
|
352 |
-
|
353 |
-
if (isFunction(value)) {
|
354 |
-
value = value.call(element, attr(element, name));
|
355 |
-
}
|
356 |
-
|
357 |
-
if (value === null) {
|
358 |
-
removeAttr(element, name);
|
359 |
-
} else {
|
360 |
-
element.setAttribute(name, value);
|
361 |
-
}
|
362 |
-
});
|
363 |
-
}
|
364 |
-
|
365 |
-
}
|
366 |
-
|
367 |
-
function hasAttr(element, name) {
|
368 |
-
return toNodes(element).some(function (element) { return element.hasAttribute(name); });
|
369 |
-
}
|
370 |
-
|
371 |
-
function removeAttr(element, name) {
|
372 |
-
element = toNodes(element);
|
373 |
-
name.split(' ').forEach(function (name) { return element.forEach(function (element) { return element.hasAttribute(name) && element.removeAttribute(name); }
|
374 |
-
); }
|
375 |
-
);
|
376 |
-
}
|
377 |
-
|
378 |
-
function data(element, attribute) {
|
379 |
-
for (var i = 0, attrs = [attribute, ("data-" + attribute)]; i < attrs.length; i++) {
|
380 |
-
if (hasAttr(element, attrs[i])) {
|
381 |
-
return attr(element, attrs[i]);
|
382 |
-
}
|
383 |
-
}
|
384 |
-
}
|
385 |
-
|
386 |
-
/* global DocumentTouch */
|
387 |
-
|
388 |
-
var isIE = /msie|trident/i.test(window.navigator.userAgent);
|
389 |
-
var isRtl = attr(document.documentElement, 'dir') === 'rtl';
|
390 |
-
|
391 |
-
var hasTouchEvents = 'ontouchstart' in window;
|
392 |
-
var hasPointerEvents = window.PointerEvent;
|
393 |
-
var hasTouch = hasTouchEvents
|
394 |
-
|| window.DocumentTouch && document instanceof DocumentTouch
|
395 |
-
|| navigator.maxTouchPoints; // IE >=11
|
396 |
-
|
397 |
-
var pointerDown = hasPointerEvents ? 'pointerdown' : hasTouchEvents ? 'touchstart' : 'mousedown';
|
398 |
-
var pointerMove = hasPointerEvents ? 'pointermove' : hasTouchEvents ? 'touchmove' : 'mousemove';
|
399 |
-
var pointerUp = hasPointerEvents ? 'pointerup' : hasTouchEvents ? 'touchend' : 'mouseup';
|
400 |
-
var pointerEnter = hasPointerEvents ? 'pointerenter' : hasTouchEvents ? '' : 'mouseenter';
|
401 |
-
var pointerLeave = hasPointerEvents ? 'pointerleave' : hasTouchEvents ? '' : 'mouseleave';
|
402 |
-
var pointerCancel = hasPointerEvents ? 'pointercancel' : 'touchcancel';
|
403 |
-
|
404 |
-
function query(selector, context) {
|
405 |
-
return toNode(selector) || find(selector, getContext(selector, context));
|
406 |
-
}
|
407 |
-
|
408 |
-
function queryAll(selector, context) {
|
409 |
-
var nodes = toNodes(selector);
|
410 |
-
return nodes.length && nodes || findAll(selector, getContext(selector, context));
|
411 |
-
}
|
412 |
-
|
413 |
-
function getContext(selector, context) {
|
414 |
-
if ( context === void 0 ) context = document;
|
415 |
-
|
416 |
-
return isContextSelector(selector) || isDocument(context)
|
417 |
-
? context
|
418 |
-
: context.ownerDocument;
|
419 |
-
}
|
420 |
-
|
421 |
-
function find(selector, context) {
|
422 |
-
return toNode(_query(selector, context, 'querySelector'));
|
423 |
-
}
|
424 |
-
|
425 |
-
function findAll(selector, context) {
|
426 |
-
return toNodes(_query(selector, context, 'querySelectorAll'));
|
427 |
-
}
|
428 |
-
|
429 |
-
function _query(selector, context, queryFn) {
|
430 |
-
if ( context === void 0 ) context = document;
|
431 |
-
|
432 |
-
|
433 |
-
if (!selector || !isString(selector)) {
|
434 |
-
return null;
|
435 |
-
}
|
436 |
-
|
437 |
-
selector = selector.replace(contextSanitizeRe, '$1 *');
|
438 |
-
|
439 |
-
var removes;
|
440 |
-
|
441 |
-
if (isContextSelector(selector)) {
|
442 |
-
|
443 |
-
removes = [];
|
444 |
-
|
445 |
-
selector = splitSelector(selector).map(function (selector, i) {
|
446 |
-
|
447 |
-
var ctx = context;
|
448 |
-
|
449 |
-
if (selector[0] === '!') {
|
450 |
-
|
451 |
-
var selectors = selector.substr(1).trim().split(' ');
|
452 |
-
ctx = closest(context.parentNode, selectors[0]);
|
453 |
-
selector = selectors.slice(1).join(' ').trim();
|
454 |
-
|
455 |
-
}
|
456 |
-
|
457 |
-
if (selector[0] === '-') {
|
458 |
-
|
459 |
-
var selectors$1 = selector.substr(1).trim().split(' ');
|
460 |
-
var prev = (ctx || context).previousElementSibling;
|
461 |
-
ctx = matches(prev, selector.substr(1)) ? prev : null;
|
462 |
-
selector = selectors$1.slice(1).join(' ');
|
463 |
-
|
464 |
-
}
|
465 |
-
|
466 |
-
if (!ctx) {
|
467 |
-
return null;
|
468 |
-
}
|
469 |
-
|
470 |
-
if (!ctx.id) {
|
471 |
-
ctx.id = "bdt-" + (Date.now()) + i;
|
472 |
-
removes.push(function () { return removeAttr(ctx, 'id'); });
|
473 |
-
}
|
474 |
-
|
475 |
-
return ("#" + (escape(ctx.id)) + " " + selector);
|
476 |
-
|
477 |
-
}).filter(Boolean).join(',');
|
478 |
-
|
479 |
-
context = document;
|
480 |
-
|
481 |
-
}
|
482 |
-
|
483 |
-
try {
|
484 |
-
|
485 |
-
return context[queryFn](selector);
|
486 |
-
|
487 |
-
} catch (e) {
|
488 |
-
|
489 |
-
return null;
|
490 |
-
|
491 |
-
} finally {
|
492 |
-
|
493 |
-
removes && removes.forEach(function (remove) { return remove(); });
|
494 |
-
|
495 |
-
}
|
496 |
-
|
497 |
-
}
|
498 |
-
|
499 |
-
var contextSelectorRe = /(^|[^\\],)\s*[!>+~-]/;
|
500 |
-
var contextSanitizeRe = /([!>+~-])(?=\s+[!>+~-]|\s*$)/g;
|
501 |
-
|
502 |
-
function isContextSelector(selector) {
|
503 |
-
return isString(selector) && selector.match(contextSelectorRe);
|
504 |
-
}
|
505 |
-
|
506 |
-
var selectorRe = /.*?[^\\](?:,|$)/g;
|
507 |
-
|
508 |
-
function splitSelector(selector) {
|
509 |
-
return selector.match(selectorRe).map(function (selector) { return selector.replace(/,$/, '').trim(); });
|
510 |
-
}
|
511 |
-
|
512 |
-
var elProto = Element.prototype;
|
513 |
-
var matchesFn = elProto.matches || elProto.webkitMatchesSelector || elProto.msMatchesSelector;
|
514 |
-
|
515 |
-
function matches(element, selector) {
|
516 |
-
return toNodes(element).some(function (element) { return matchesFn.call(element, selector); });
|
517 |
-
}
|
518 |
-
|
519 |
-
var closestFn = elProto.closest || function (selector) {
|
520 |
-
var ancestor = this;
|
521 |
-
|
522 |
-
do {
|
523 |
-
|
524 |
-
if (matches(ancestor, selector)) {
|
525 |
-
return ancestor;
|
526 |
-
}
|
527 |
-
|
528 |
-
ancestor = ancestor.parentNode;
|
529 |
-
|
530 |
-
} while (ancestor && ancestor.nodeType === 1);
|
531 |
-
};
|
532 |
-
|
533 |
-
function closest(element, selector) {
|
534 |
-
|
535 |
-
if (startsWith(selector, '>')) {
|
536 |
-
selector = selector.slice(1);
|
537 |
-
}
|
538 |
-
|
539 |
-
return isNode(element)
|
540 |
-
? closestFn.call(element, selector)
|
541 |
-
: toNodes(element).map(function (element) { return closest(element, selector); }).filter(Boolean);
|
542 |
-
}
|
543 |
-
|
544 |
-
function parents(element, selector) {
|
545 |
-
var elements = [];
|
546 |
-
element = toNode(element);
|
547 |
-
|
548 |
-
while ((element = element.parentNode) && element.nodeType === 1) {
|
549 |
-
if (matches(element, selector)) {
|
550 |
-
elements.push(element);
|
551 |
-
}
|
552 |
-
}
|
553 |
-
|
554 |
-
return elements;
|
555 |
-
}
|
556 |
-
|
557 |
-
var escapeFn = window.CSS && CSS.escape || function (css) { return css.replace(/([^\x7f-\uFFFF\w-])/g, function (match) { return ("\\" + match); }); };
|
558 |
-
function escape(css) {
|
559 |
-
return isString(css) ? escapeFn.call(null, css) : '';
|
560 |
-
}
|
561 |
-
|
562 |
-
var voidElements = {
|
563 |
-
area: true,
|
564 |
-
base: true,
|
565 |
-
br: true,
|
566 |
-
col: true,
|
567 |
-
embed: true,
|
568 |
-
hr: true,
|
569 |
-
img: true,
|
570 |
-
input: true,
|
571 |
-
keygen: true,
|
572 |
-
link: true,
|
573 |
-
menuitem: true,
|
574 |
-
meta: true,
|
575 |
-
param: true,
|
576 |
-
source: true,
|
577 |
-
track: true,
|
578 |
-
wbr: true
|
579 |
-
};
|
580 |
-
function isVoidElement(element) {
|
581 |
-
return toNodes(element).some(function (element) { return voidElements[element.tagName.toLowerCase()]; });
|
582 |
-
}
|
583 |
-
|
584 |
-
function isVisible(element) {
|
585 |
-
return toNodes(element).some(function (element) { return element.offsetWidth || element.offsetHeight || element.getClientRects().length; });
|
586 |
-
}
|
587 |
-
|
588 |
-
var selInput = 'input,select,textarea,button';
|
589 |
-
function isInput(element) {
|
590 |
-
return toNodes(element).some(function (element) { return matches(element, selInput); });
|
591 |
-
}
|
592 |
-
|
593 |
-
function filter(element, selector) {
|
594 |
-
return toNodes(element).filter(function (element) { return matches(element, selector); });
|
595 |
-
}
|
596 |
-
|
597 |
-
function within(element, selector) {
|
598 |
-
return !isString(selector)
|
599 |
-
? element === selector || (isDocument(selector)
|
600 |
-
? selector.documentElement
|
601 |
-
: toNode(selector)).contains(toNode(element)) // IE 11 document does not implement contains
|
602 |
-
: matches(element, selector) || closest(element, selector);
|
603 |
-
}
|
604 |
-
|
605 |
-
function on() {
|
606 |
-
var args = [], len = arguments.length;
|
607 |
-
while ( len-- ) args[ len ] = arguments[ len ];
|
608 |
-
|
609 |
-
|
610 |
-
var ref = getArgs(args);
|
611 |
-
var targets = ref[0];
|
612 |
-
var type = ref[1];
|
613 |
-
var selector = ref[2];
|
614 |
-
var listener = ref[3];
|
615 |
-
var useCapture = ref[4];
|
616 |
-
|
617 |
-
targets = toEventTargets(targets);
|
618 |
-
|
619 |
-
if (listener.length > 1) {
|
620 |
-
listener = detail(listener);
|
621 |
-
}
|
622 |
-
|
623 |
-
if (selector) {
|
624 |
-
listener = delegate(targets, selector, listener);
|
625 |
-
}
|
626 |
-
|
627 |
-
if (useCapture && useCapture.self) {
|
628 |
-
listener = selfFilter(listener);
|
629 |
-
}
|
630 |
-
|
631 |
-
useCapture = useCaptureFilter(useCapture);
|
632 |
-
|
633 |
-
type.split(' ').forEach(function (type) { return targets.forEach(function (target) { return target.addEventListener(type, listener, useCapture); }
|
634 |
-
); }
|
635 |
-
);
|
636 |
-
return function () { return off(targets, type, listener, useCapture); };
|
637 |
-
}
|
638 |
-
|
639 |
-
function off(targets, type, listener, useCapture) {
|
640 |
-
if ( useCapture === void 0 ) useCapture = false;
|
641 |
-
|
642 |
-
useCapture = useCaptureFilter(useCapture);
|
643 |
-
targets = toEventTargets(targets);
|
644 |
-
type.split(' ').forEach(function (type) { return targets.forEach(function (target) { return target.removeEventListener(type, listener, useCapture); }
|
645 |
-
); }
|
646 |
-
);
|
647 |
-
}
|
648 |
-
|
649 |
-
function once() {
|
650 |
-
var args = [], len = arguments.length;
|
651 |
-
while ( len-- ) args[ len ] = arguments[ len ];
|
652 |
-
|
653 |
-
|
654 |
-
var ref = getArgs(args);
|
655 |
-
var element = ref[0];
|
656 |
-
var type = ref[1];
|
657 |
-
var selector = ref[2];
|
658 |
-
var listener = ref[3];
|
659 |
-
var useCapture = ref[4];
|
660 |
-
var condition = ref[5];
|
661 |
-
var off = on(element, type, selector, function (e) {
|
662 |
-
var result = !condition || condition(e);
|
663 |
-
if (result) {
|
664 |
-
off();
|
665 |
-
listener(e, result);
|
666 |
-
}
|
667 |
-
}, useCapture);
|
668 |
-
|
669 |
-
return off;
|
670 |
-
}
|
671 |
-
|
672 |
-
function trigger(targets, event, detail) {
|
673 |
-
return toEventTargets(targets).reduce(function (notCanceled, target) { return notCanceled && target.dispatchEvent(createEvent(event, true, true, detail)); }
|
674 |
-
, true);
|
675 |
-
}
|
676 |
-
|
677 |
-
function createEvent(e, bubbles, cancelable, detail) {
|
678 |
-
if ( bubbles === void 0 ) bubbles = true;
|
679 |
-
if ( cancelable === void 0 ) cancelable = false;
|
680 |
-
|
681 |
-
if (isString(e)) {
|
682 |
-
var event = document.createEvent('CustomEvent'); // IE 11
|
683 |
-
event.initCustomEvent(e, bubbles, cancelable, detail);
|
684 |
-
e = event;
|
685 |
-
}
|
686 |
-
|
687 |
-
return e;
|
688 |
-
}
|
689 |
-
|
690 |
-
function getArgs(args) {
|
691 |
-
if (isFunction(args[2])) {
|
692 |
-
args.splice(2, 0, false);
|
693 |
-
}
|
694 |
-
return args;
|
695 |
-
}
|
696 |
-
|
697 |
-
function delegate(delegates, selector, listener) {
|
698 |
-
var this$1 = this;
|
699 |
-
|
700 |
-
return function (e) {
|
701 |
-
|
702 |
-
delegates.forEach(function (delegate) {
|
703 |
-
|
704 |
-
var current = selector[0] === '>'
|
705 |
-
? findAll(selector, delegate).reverse().filter(function (element) { return within(e.target, element); })[0]
|
706 |
-
: closest(e.target, selector);
|
707 |
-
|
708 |
-
if (current) {
|
709 |
-
e.delegate = delegate;
|
710 |
-
e.current = current;
|
711 |
-
|
712 |
-
listener.call(this$1, e);
|
713 |
-
}
|
714 |
-
|
715 |
-
});
|
716 |
-
|
717 |
-
};
|
718 |
-
}
|
719 |
-
|
720 |
-
function detail(listener) {
|
721 |
-
return function (e) { return isArray(e.detail) ? listener.apply(void 0, [e].concat(e.detail)) : listener(e); };
|
722 |
-
}
|
723 |
-
|
724 |
-
function selfFilter(listener) {
|
725 |
-
return function (e) {
|
726 |
-
if (e.target === e.currentTarget || e.target === e.current) {
|
727 |
-
return listener.call(null, e);
|
728 |
-
}
|
729 |
-
};
|
730 |
-
}
|
731 |
-
|
732 |
-
function useCaptureFilter(options) {
|
733 |
-
return options && isIE && !isBoolean(options)
|
734 |
-
? !!options.capture
|
735 |
-
: options;
|
736 |
-
}
|
737 |
-
|
738 |
-
function isEventTarget(target) {
|
739 |
-
return target && 'addEventListener' in target;
|
740 |
-
}
|
741 |
-
|
742 |
-
function toEventTarget(target) {
|
743 |
-
return isEventTarget(target) ? target : toNode(target);
|
744 |
-
}
|
745 |
-
|
746 |
-
function toEventTargets(target) {
|
747 |
-
return isArray(target)
|
748 |
-
? target.map(toEventTarget).filter(Boolean)
|
749 |
-
: isString(target)
|
750 |
-
? findAll(target)
|
751 |
-
: isEventTarget(target)
|
752 |
-
? [target]
|
753 |
-
: toNodes(target);
|
754 |
-
}
|
755 |
-
|
756 |
-
function isTouch(e) {
|
757 |
-
return e.pointerType === 'touch' || !!e.touches;
|
758 |
-
}
|
759 |
-
|
760 |
-
function getEventPos(e, prop) {
|
761 |
-
if ( prop === void 0 ) prop = 'client';
|
762 |
-
|
763 |
-
var touches = e.touches;
|
764 |
-
var changedTouches = e.changedTouches;
|
765 |
-
var ref = touches && touches[0] || changedTouches && changedTouches[0] || e;
|
766 |
-
var x = ref[(prop + "X")];
|
767 |
-
var y = ref[(prop + "Y")];
|
768 |
-
|
769 |
-
return {x: x, y: y};
|
770 |
-
}
|
771 |
-
|
772 |
-
/* global setImmediate */
|
773 |
-
|
774 |
-
var Promise = 'Promise' in window ? window.Promise : PromiseFn;
|
775 |
-
|
776 |
-
var Deferred = function() {
|
777 |
-
var this$1 = this;
|
778 |
-
|
779 |
-
this.promise = new Promise(function (resolve, reject) {
|
780 |
-
this$1.reject = reject;
|
781 |
-
this$1.resolve = resolve;
|
782 |
-
});
|
783 |
-
};
|
784 |
-
|
785 |
-
/**
|
786 |
-
* Promises/A+ polyfill v1.1.4 (https://github.com/bramstein/promis)
|
787 |
-
*/
|
788 |
-
|
789 |
-
var RESOLVED = 0;
|
790 |
-
var REJECTED = 1;
|
791 |
-
var PENDING = 2;
|
792 |
-
|
793 |
-
var async = 'setImmediate' in window ? setImmediate : setTimeout;
|
794 |
-
|
795 |
-
function PromiseFn(executor) {
|
796 |
-
|
797 |
-
this.state = PENDING;
|
798 |
-
this.value = undefined;
|
799 |
-
this.deferred = [];
|
800 |
-
|
801 |
-
var promise = this;
|
802 |
-
|
803 |
-
try {
|
804 |
-
executor(
|
805 |
-
function (x) {
|
806 |
-
promise.resolve(x);
|
807 |
-
},
|
808 |
-
function (r) {
|
809 |
-
promise.reject(r);
|
810 |
-
}
|
811 |
-
);
|
812 |
-
} catch (e) {
|
813 |
-
promise.reject(e);
|
814 |
-
}
|
815 |
-
}
|
816 |
-
|
817 |
-
PromiseFn.reject = function (r) {
|
818 |
-
return new PromiseFn(function (resolve, reject) {
|
819 |
-
reject(r);
|
820 |
-
});
|
821 |
-
};
|
822 |
-
|
823 |
-
PromiseFn.resolve = function (x) {
|
824 |
-
return new PromiseFn(function (resolve, reject) {
|
825 |
-
resolve(x);
|
826 |
-
});
|
827 |
-
};
|
828 |
-
|
829 |
-
PromiseFn.all = function all(iterable) {
|
830 |
-
return new PromiseFn(function (resolve, reject) {
|
831 |
-
var result = [];
|
832 |
-
var count = 0;
|
833 |
-
|
834 |
-
if (iterable.length === 0) {
|
835 |
-
resolve(result);
|
836 |
-
}
|
837 |
-
|
838 |
-
function resolver(i) {
|
839 |
-
return function (x) {
|
840 |
-
result[i] = x;
|
841 |
-
count += 1;
|
842 |
-
|
843 |
-
if (count === iterable.length) {
|
844 |
-
resolve(result);
|
845 |
-
}
|
846 |
-
};
|
847 |
-
}
|
848 |
-
|
849 |
-
for (var i = 0; i < iterable.length; i += 1) {
|
850 |
-
PromiseFn.resolve(iterable[i]).then(resolver(i), reject);
|
851 |
-
}
|
852 |
-
});
|
853 |
-
};
|
854 |
-
|
855 |
-
PromiseFn.race = function race(iterable) {
|
856 |
-
return new PromiseFn(function (resolve, reject) {
|
857 |
-
for (var i = 0; i < iterable.length; i += 1) {
|
858 |
-
PromiseFn.resolve(iterable[i]).then(resolve, reject);
|
859 |
-
}
|
860 |
-
});
|
861 |
-
};
|
862 |
-
|
863 |
-
var p = PromiseFn.prototype;
|
864 |
-
|
865 |
-
p.resolve = function resolve(x) {
|
866 |
-
var promise = this;
|
867 |
-
|
868 |
-
if (promise.state === PENDING) {
|
869 |
-
if (x === promise) {
|
870 |
-
throw new TypeError('Promise settled with itself.');
|
871 |
-
}
|
872 |
-
|
873 |
-
var called = false;
|
874 |
-
|
875 |
-
try {
|
876 |
-
var then = x && x.then;
|
877 |
-
|
878 |
-
if (x !== null && isObject(x) && isFunction(then)) {
|
879 |
-
then.call(
|
880 |
-
x,
|
881 |
-
function (x) {
|
882 |
-
if (!called) {
|
883 |
-
promise.resolve(x);
|
884 |
-
}
|
885 |
-
called = true;
|
886 |
-
},
|
887 |
-
function (r) {
|
888 |
-
if (!called) {
|
889 |
-
promise.reject(r);
|
890 |
-
}
|
891 |
-
called = true;
|
892 |
-
}
|
893 |
-
);
|
894 |
-
return;
|
895 |
-
}
|
896 |
-
} catch (e) {
|
897 |
-
if (!called) {
|
898 |
-
promise.reject(e);
|
899 |
-
}
|
900 |
-
return;
|
901 |
-
}
|
902 |
-
|
903 |
-
promise.state = RESOLVED;
|
904 |
-
promise.value = x;
|
905 |
-
promise.notify();
|
906 |
-
}
|
907 |
-
};
|
908 |
-
|
909 |
-
p.reject = function reject(reason) {
|
910 |
-
var promise = this;
|
911 |
-
|
912 |
-
if (promise.state === PENDING) {
|
913 |
-
if (reason === promise) {
|
914 |
-
throw new TypeError('Promise settled with itself.');
|
915 |
-
}
|
916 |
-
|
917 |
-
promise.state = REJECTED;
|
918 |
-
promise.value = reason;
|
919 |
-
promise.notify();
|
920 |
-
}
|
921 |
-
};
|
922 |
-
|
923 |
-
p.notify = function notify() {
|
924 |
-
var this$1 = this;
|
925 |
-
|
926 |
-
async(function () {
|
927 |
-
if (this$1.state !== PENDING) {
|
928 |
-
while (this$1.deferred.length) {
|
929 |
-
var ref = this$1.deferred.shift();
|
930 |
-
var onResolved = ref[0];
|
931 |
-
var onRejected = ref[1];
|
932 |
-
var resolve = ref[2];
|
933 |
-
var reject = ref[3];
|
934 |
-
|
935 |
-
try {
|
936 |
-
if (this$1.state === RESOLVED) {
|
937 |
-
if (isFunction(onResolved)) {
|
938 |
-
resolve(onResolved.call(undefined, this$1.value));
|
939 |
-
} else {
|
940 |
-
resolve(this$1.value);
|
941 |
-
}
|
942 |
-
} else if (this$1.state === REJECTED) {
|
943 |
-
if (isFunction(onRejected)) {
|
944 |
-
resolve(onRejected.call(undefined, this$1.value));
|
945 |
-
} else {
|
946 |
-
reject(this$1.value);
|
947 |
-
}
|
948 |
-
}
|
949 |
-
} catch (e) {
|
950 |
-
reject(e);
|
951 |
-
}
|
952 |
-
}
|
953 |
-
}
|
954 |
-
});
|
955 |
-
};
|
956 |
-
|
957 |
-
p.then = function then(onResolved, onRejected) {
|
958 |
-
var this$1 = this;
|
959 |
-
|
960 |
-
return new PromiseFn(function (resolve, reject) {
|
961 |
-
this$1.deferred.push([onResolved, onRejected, resolve, reject]);
|
962 |
-
this$1.notify();
|
963 |
-
});
|
964 |
-
};
|
965 |
-
|
966 |
-
p.catch = function (onRejected) {
|
967 |
-
return this.then(undefined, onRejected);
|
968 |
-
};
|
969 |
-
|
970 |
-
function ajax(url, options) {
|
971 |
-
return new Promise(function (resolve, reject) {
|
972 |
-
|
973 |
-
var env = assign({
|
974 |
-
data: null,
|
975 |
-
method: 'GET',
|
976 |
-
headers: {},
|
977 |
-
xhr: new XMLHttpRequest(),
|
978 |
-
beforeSend: noop,
|
979 |
-
responseType: ''
|
980 |
-
}, options);
|
981 |
-
|
982 |
-
env.beforeSend(env);
|
983 |
-
|
984 |
-
var xhr = env.xhr;
|
985 |
-
|
986 |
-
for (var prop in env) {
|
987 |
-
if (prop in xhr) {
|
988 |
-
try {
|
989 |
-
|
990 |
-
xhr[prop] = env[prop];
|
991 |
-
|
992 |
-
} catch (e) {}
|
993 |
-
}
|
994 |
-
}
|
995 |
-
|
996 |
-
xhr.open(env.method.toUpperCase(), url);
|
997 |
-
|
998 |
-
for (var header in env.headers) {
|
999 |
-
xhr.setRequestHeader(header, env.headers[header]);
|
1000 |
-
}
|
1001 |
-
|
1002 |
-
on(xhr, 'load', function () {
|
1003 |
-
|
1004 |
-
if (xhr.status === 0 || xhr.status >= 200 && xhr.status < 300 || xhr.status === 304) {
|
1005 |
-
resolve(xhr);
|
1006 |
-
} else {
|
1007 |
-
reject(assign(Error(xhr.statusText), {
|
1008 |
-
xhr: xhr,
|
1009 |
-
status: xhr.status
|
1010 |
-
}));
|
1011 |
-
}
|
1012 |
-
|
1013 |
-
});
|
1014 |
-
|
1015 |
-
on(xhr, 'error', function () { return reject(assign(Error('Network Error'), {xhr: xhr})); });
|
1016 |
-
on(xhr, 'timeout', function () { return reject(assign(Error('Network Timeout'), {xhr: xhr})); });
|
1017 |
-
|
1018 |
-
xhr.send(env.data);
|
1019 |
-
});
|
1020 |
-
}
|
1021 |
-
|
1022 |
-
function getImage(src, srcset, sizes) {
|
1023 |
-
|
1024 |
-
return new Promise(function (resolve, reject) {
|
1025 |
-
var img = new Image();
|
1026 |
-
|
1027 |
-
img.onerror = reject;
|
1028 |
-
img.onload = function () { return resolve(img); };
|
1029 |
-
|
1030 |
-
sizes && (img.sizes = sizes);
|
1031 |
-
srcset && (img.srcset = srcset);
|
1032 |
-
img.src = src;
|
1033 |
-
});
|
1034 |
-
|
1035 |
-
}
|
1036 |
-
|
1037 |
-
function ready(fn) {
|
1038 |
-
|
1039 |
-
if (document.readyState !== 'loading') {
|
1040 |
-
fn();
|
1041 |
-
return;
|
1042 |
-
}
|
1043 |
-
|
1044 |
-
var unbind = on(document, 'DOMContentLoaded', function () {
|
1045 |
-
unbind();
|
1046 |
-
fn();
|
1047 |
-
});
|
1048 |
-
}
|
1049 |
-
|
1050 |
-
function index(element, ref) {
|
1051 |
-
return ref
|
1052 |
-
? toNodes(element).indexOf(toNode(ref))
|
1053 |
-
: toNodes((element = toNode(element)) && element.parentNode.children).indexOf(element);
|
1054 |
-
}
|
1055 |
-
|
1056 |
-
function getIndex(i, elements, current, finite) {
|
1057 |
-
if ( current === void 0 ) current = 0;
|
1058 |
-
if ( finite === void 0 ) finite = false;
|
1059 |
-
|
1060 |
-
|
1061 |
-
elements = toNodes(elements);
|
1062 |
-
|
1063 |
-
var length = elements.length;
|
1064 |
-
|
1065 |
-
i = isNumeric(i)
|
1066 |
-
? toNumber(i)
|
1067 |
-
: i === 'next'
|
1068 |
-
? current + 1
|
1069 |
-
: i === 'previous'
|
1070 |
-
? current - 1
|
1071 |
-
: index(elements, i);
|
1072 |
-
|
1073 |
-
if (finite) {
|
1074 |
-
return clamp(i, 0, length - 1);
|
1075 |
-
}
|
1076 |
-
|
1077 |
-
i %= length;
|
1078 |
-
|
1079 |
-
return i < 0 ? i + length : i;
|
1080 |
-
}
|
1081 |
-
|
1082 |
-
function empty(element) {
|
1083 |
-
element = $(element);
|
1084 |
-
element.innerHTML = '';
|
1085 |
-
return element;
|
1086 |
-
}
|
1087 |
-
|
1088 |
-
function html(parent, html) {
|
1089 |
-
parent = $(parent);
|
1090 |
-
return isUndefined(html)
|
1091 |
-
? parent.innerHTML
|
1092 |
-
: append(parent.hasChildNodes() ? empty(parent) : parent, html);
|
1093 |
-
}
|
1094 |
-
|
1095 |
-
function prepend(parent, element) {
|
1096 |
-
|
1097 |
-
parent = $(parent);
|
1098 |
-
|
1099 |
-
if (!parent.hasChildNodes()) {
|
1100 |
-
return append(parent, element);
|
1101 |
-
} else {
|
1102 |
-
return insertNodes(element, function (element) { return parent.insertBefore(element, parent.firstChild); });
|
1103 |
-
}
|
1104 |
-
}
|
1105 |
-
|
1106 |
-
function append(parent, element) {
|
1107 |
-
parent = $(parent);
|
1108 |
-
return insertNodes(element, function (element) { return parent.appendChild(element); });
|
1109 |
-
}
|
1110 |
-
|
1111 |
-
function before(ref, element) {
|
1112 |
-
ref = $(ref);
|
1113 |
-
return insertNodes(element, function (element) { return ref.parentNode.insertBefore(element, ref); });
|
1114 |
-
}
|
1115 |
-
|
1116 |
-
function after(ref, element) {
|
1117 |
-
ref = $(ref);
|
1118 |
-
return insertNodes(element, function (element) { return ref.nextSibling
|
1119 |
-
? before(ref.nextSibling, element)
|
1120 |
-
: append(ref.parentNode, element); }
|
1121 |
-
);
|
1122 |
-
}
|
1123 |
-
|
1124 |
-
function insertNodes(element, fn) {
|
1125 |
-
element = isString(element) ? fragment(element) : element;
|
1126 |
-
return element
|
1127 |
-
? 'length' in element
|
1128 |
-
? toNodes(element).map(fn)
|
1129 |
-
: fn(element)
|
1130 |
-
: null;
|
1131 |
-
}
|
1132 |
-
|
1133 |
-
function remove(element) {
|
1134 |
-
toNodes(element).map(function (element) { return element.parentNode && element.parentNode.removeChild(element); });
|
1135 |
-
}
|
1136 |
-
|
1137 |
-
function wrapAll(element, structure) {
|
1138 |
-
|
1139 |
-
structure = toNode(before(element, structure));
|
1140 |
-
|
1141 |
-
while (structure.firstChild) {
|
1142 |
-
structure = structure.firstChild;
|
1143 |
-
}
|
1144 |
-
|
1145 |
-
append(structure, element);
|
1146 |
-
|
1147 |
-
return structure;
|
1148 |
-
}
|
1149 |
-
|
1150 |
-
function wrapInner(element, structure) {
|
1151 |
-
return toNodes(toNodes(element).map(function (element) { return element.hasChildNodes ? wrapAll(toNodes(element.childNodes), structure) : append(element, structure); }
|
1152 |
-
));
|
1153 |
-
}
|
1154 |
-
|
1155 |
-
function unwrap(element) {
|
1156 |
-
toNodes(element)
|
1157 |
-
.map(function (element) { return element.parentNode; })
|
1158 |
-
.filter(function (value, index, self) { return self.indexOf(value) === index; })
|
1159 |
-
.forEach(function (parent) {
|
1160 |
-
before(parent, parent.childNodes);
|
1161 |
-
remove(parent);
|
1162 |
-
});
|
1163 |
-
}
|
1164 |
-
|
1165 |
-
var fragmentRe = /^\s*<(\w+|!)[^>]*>/;
|
1166 |
-
var singleTagRe = /^<(\w+)\s*\/?>(?:<\/\1>)?$/;
|
1167 |
-
|
1168 |
-
function fragment(html) {
|
1169 |
-
|
1170 |
-
var matches = singleTagRe.exec(html);
|
1171 |
-
if (matches) {
|
1172 |
-
return document.createElement(matches[1]);
|
1173 |
-
}
|
1174 |
-
|
1175 |
-
var container = document.createElement('div');
|
1176 |
-
if (fragmentRe.test(html)) {
|
1177 |
-
container.insertAdjacentHTML('beforeend', html.trim());
|
1178 |
-
} else {
|
1179 |
-
container.textContent = html;
|
1180 |
-
}
|
1181 |
-
|
1182 |
-
return container.childNodes.length > 1 ? toNodes(container.childNodes) : container.firstChild;
|
1183 |
-
|
1184 |
-
}
|
1185 |
-
|
1186 |
-
function apply(node, fn) {
|
1187 |
-
|
1188 |
-
if (!node || node.nodeType !== 1) {
|
1189 |
-
return;
|
1190 |
-
}
|
1191 |
-
|
1192 |
-
fn(node);
|
1193 |
-
node = node.firstElementChild;
|
1194 |
-
while (node) {
|
1195 |
-
apply(node, fn);
|
1196 |
-
node = node.nextElementSibling;
|
1197 |
-
}
|
1198 |
-
}
|
1199 |
-
|
1200 |
-
function $(selector, context) {
|
1201 |
-
return !isString(selector)
|
1202 |
-
? toNode(selector)
|
1203 |
-
: isHtml(selector)
|
1204 |
-
? toNode(fragment(selector))
|
1205 |
-
: find(selector, context);
|
1206 |
-
}
|
1207 |
-
|
1208 |
-
function $$(selector, context) {
|
1209 |
-
return !isString(selector)
|
1210 |
-
? toNodes(selector)
|
1211 |
-
: isHtml(selector)
|
1212 |
-
? toNodes(fragment(selector))
|
1213 |
-
: findAll(selector, context);
|
1214 |
-
}
|
1215 |
-
|
1216 |
-
function isHtml(str) {
|
1217 |
-
return str[0] === '<' || str.match(/^\s*</);
|
1218 |
-
}
|
1219 |
-
|
1220 |
-
function addClass(element) {
|
1221 |
-
var args = [], len = arguments.length - 1;
|
1222 |
-
while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
|
1223 |
-
|
1224 |
-
apply$1(element, args, 'add');
|
1225 |
-
}
|
1226 |
-
|
1227 |
-
function removeClass(element) {
|
1228 |
-
var args = [], len = arguments.length - 1;
|
1229 |
-
while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
|
1230 |
-
|
1231 |
-
apply$1(element, args, 'remove');
|
1232 |
-
}
|
1233 |
-
|
1234 |
-
function removeClasses(element, cls) {
|
1235 |
-
attr(element, 'class', function (value) { return (value || '').replace(new RegExp(("\\b" + cls + "\\b"), 'g'), ''); });
|
1236 |
-
}
|
1237 |
-
|
1238 |
-
function replaceClass(element) {
|
1239 |
-
var args = [], len = arguments.length - 1;
|
1240 |
-
while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
|
1241 |
-
|
1242 |
-
args[0] && removeClass(element, args[0]);
|
1243 |
-
args[1] && addClass(element, args[1]);
|
1244 |
-
}
|
1245 |
-
|
1246 |
-
function hasClass(element, cls) {
|
1247 |
-
return cls && toNodes(element).some(function (element) { return element.classList.contains(cls.split(' ')[0]); });
|
1248 |
-
}
|
1249 |
-
|
1250 |
-
function toggleClass(element) {
|
1251 |
-
var args = [], len = arguments.length - 1;
|
1252 |
-
while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
|
1253 |
-
|
1254 |
-
|
1255 |
-
if (!args.length) {
|
1256 |
-
return;
|
1257 |
-
}
|
1258 |
-
|
1259 |
-
args = getArgs$1(args);
|
1260 |
-
|
1261 |
-
var force = !isString(last(args)) ? args.pop() : []; // in iOS 9.3 force === undefined evaluates to false
|
1262 |
-
|
1263 |
-
args = args.filter(Boolean);
|
1264 |
-
|
1265 |
-
toNodes(element).forEach(function (ref) {
|
1266 |
-
var classList = ref.classList;
|
1267 |
-
|
1268 |
-
for (var i = 0; i < args.length; i++) {
|
1269 |
-
supports.Force
|
1270 |
-
? classList.toggle.apply(classList, [args[i]].concat(force))
|
1271 |
-
: (classList[(!isUndefined(force) ? force : !classList.contains(args[i])) ? 'add' : 'remove'](args[i]));
|
1272 |
-
}
|
1273 |
-
});
|
1274 |
-
|
1275 |
-
}
|
1276 |
-
|
1277 |
-
function apply$1(element, args, fn) {
|
1278 |
-
args = getArgs$1(args).filter(Boolean);
|
1279 |
-
|
1280 |
-
args.length && toNodes(element).forEach(function (ref) {
|
1281 |
-
var classList = ref.classList;
|
1282 |
-
|
1283 |
-
supports.Multiple
|
1284 |
-
? classList[fn].apply(classList, args)
|
1285 |
-
: args.forEach(function (cls) { return classList[fn](cls); });
|
1286 |
-
});
|
1287 |
-
}
|
1288 |
-
|
1289 |
-
function getArgs$1(args) {
|
1290 |
-
return args.reduce(function (args, arg) { return args.concat.call(args, isString(arg) && includes(arg, ' ') ? arg.trim().split(' ') : arg); }
|
1291 |
-
, []);
|
1292 |
-
}
|
1293 |
-
|
1294 |
-
// IE 11
|
1295 |
-
var supports = {
|
1296 |
-
|
1297 |
-
get Multiple() {
|
1298 |
-
return this.get('_multiple');
|
1299 |
-
},
|
1300 |
-
|
1301 |
-
get Force() {
|
1302 |
-
return this.get('_force');
|
1303 |
-
},
|
1304 |
-
|
1305 |
-
get: function(key) {
|
1306 |
-
|
1307 |
-
if (!hasOwn(this, key)) {
|
1308 |
-
var ref = document.createElement('_');
|
1309 |
-
var classList = ref.classList;
|
1310 |
-
classList.add('a', 'b');
|
1311 |
-
classList.toggle('c', false);
|
1312 |
-
this._multiple = classList.contains('b');
|
1313 |
-
this._force = !classList.contains('c');
|
1314 |
-
}
|
1315 |
-
|
1316 |
-
return this[key];
|
1317 |
-
}
|
1318 |
-
|
1319 |
-
};
|
1320 |
-
|
1321 |
-
var cssNumber = {
|
1322 |
-
'animation-iteration-count': true,
|
1323 |
-
'column-count': true,
|
1324 |
-
'fill-opacity': true,
|
1325 |
-
'flex-grow': true,
|
1326 |
-
'flex-shrink': true,
|
1327 |
-
'font-weight': true,
|
1328 |
-
'line-height': true,
|
1329 |
-
'opacity': true,
|
1330 |
-
'order': true,
|
1331 |
-
'orphans': true,
|
1332 |
-
'stroke-dasharray': true,
|
1333 |
-
'stroke-dashoffset': true,
|
1334 |
-
'widows': true,
|
1335 |
-
'z-index': true,
|
1336 |
-
'zoom': true
|
1337 |
-
};
|
1338 |
-
|
1339 |
-
function css(element, property, value) {
|
1340 |
-
|
1341 |
-
return toNodes(element).map(function (element) {
|
1342 |
-
|
1343 |
-
if (isString(property)) {
|
1344 |
-
|
1345 |
-
property = propName(property);
|
1346 |
-
|
1347 |
-
if (isUndefined(value)) {
|
1348 |
-
return getStyle(element, property);
|
1349 |
-
} else if (!value && !isNumber(value)) {
|
1350 |
-
element.style.removeProperty(property);
|
1351 |
-
} else {
|
1352 |
-
element.style[property] = isNumeric(value) && !cssNumber[property] ? (value + "px") : value;
|
1353 |
-
}
|
1354 |
-
|
1355 |
-
} else if (isArray(property)) {
|
1356 |
-
|
1357 |
-
var styles = getStyles(element);
|
1358 |
-
|
1359 |
-
return property.reduce(function (props, property) {
|
1360 |
-
props[property] = styles[propName(property)];
|
1361 |
-
return props;
|
1362 |
-
}, {});
|
1363 |
-
|
1364 |
-
} else if (isObject(property)) {
|
1365 |
-
each(property, function (value, property) { return css(element, property, value); });
|
1366 |
-
}
|
1367 |
-
|
1368 |
-
return element;
|
1369 |
-
|
1370 |
-
})[0];
|
1371 |
-
|
1372 |
-
}
|
1373 |
-
|
1374 |
-
function getStyles(element, pseudoElt) {
|
1375 |
-
element = toNode(element);
|
1376 |
-
return element.ownerDocument.defaultView.getComputedStyle(element, pseudoElt);
|
1377 |
-
}
|
1378 |
-
|
1379 |
-
function getStyle(element, property, pseudoElt) {
|
1380 |
-
return getStyles(element, pseudoElt)[property];
|
1381 |
-
}
|
1382 |
-
|
1383 |
-
var vars = {};
|
1384 |
-
|
1385 |
-
function getCssVar(name) {
|
1386 |
-
|
1387 |
-
var docEl = document.documentElement;
|
1388 |
-
|
1389 |
-
if (!isIE) {
|
1390 |
-
return getStyles(docEl).getPropertyValue(("--bdt-" + name));
|
1391 |
-
}
|
1392 |
-
|
1393 |
-
if (!(name in vars)) {
|
1394 |
-
|
1395 |
-
/* usage in css: .bdt-name:before { content:"xyz" } */
|
1396 |
-
|
1397 |
-
var element = append(docEl, document.createElement('div'));
|
1398 |
-
|
1399 |
-
addClass(element, ("bdt-" + name));
|
1400 |
-
|
1401 |
-
vars[name] = getStyle(element, 'content', ':before').replace(/^["'](.*)["']$/, '$1');
|
1402 |
-
|
1403 |
-
remove(element);
|
1404 |
-
|
1405 |
-
}
|
1406 |
-
|
1407 |
-
return vars[name];
|
1408 |
-
|
1409 |
-
}
|
1410 |
-
|
1411 |
-
var cssProps = {};
|
1412 |
-
|
1413 |
-
function propName(name) {
|
1414 |
-
|
1415 |
-
var ret = cssProps[name];
|
1416 |
-
if (!ret) {
|
1417 |
-
ret = cssProps[name] = vendorPropName(name) || name;
|
1418 |
-
}
|
1419 |
-
return ret;
|
1420 |
-
}
|
1421 |
-
|
1422 |
-
var cssPrefixes = ['webkit', 'moz', 'ms'];
|
1423 |
-
|
1424 |
-
function vendorPropName(name) {
|
1425 |
-
|
1426 |
-
name = hyphenate(name);
|
1427 |
-
|
1428 |
-
var ref = document.documentElement;
|
1429 |
-
var style = ref.style;
|
1430 |
-
|
1431 |
-
if (name in style) {
|
1432 |
-
return name;
|
1433 |
-
}
|
1434 |
-
|
1435 |
-
var i = cssPrefixes.length, prefixedName;
|
1436 |
-
|
1437 |
-
while (i--) {
|
1438 |
-
prefixedName = "-" + (cssPrefixes[i]) + "-" + name;
|
1439 |
-
if (prefixedName in style) {
|
1440 |
-
return prefixedName;
|
1441 |
-
}
|
1442 |
-
}
|
1443 |
-
}
|
1444 |
-
|
1445 |
-
function transition(element, props, duration, timing) {
|
1446 |
-
if ( duration === void 0 ) duration = 400;
|
1447 |
-
if ( timing === void 0 ) timing = 'linear';
|
1448 |
-
|
1449 |
-
|
1450 |
-
return Promise.all(toNodes(element).map(function (element) { return new Promise(function (resolve, reject) {
|
1451 |
-
|
1452 |
-
for (var name in props) {
|
1453 |
-
var value = css(element, name);
|
1454 |
-
if (value === '') {
|
1455 |
-
css(element, name, value);
|
1456 |
-
}
|
1457 |
-
}
|
1458 |
-
|
1459 |
-
var timer = setTimeout(function () { return trigger(element, 'transitionend'); }, duration);
|
1460 |
-
|
1461 |
-
once(element, 'transitionend transitioncanceled', function (ref) {
|
1462 |
-
var type = ref.type;
|
1463 |
-
|
1464 |
-
clearTimeout(timer);
|
1465 |
-
removeClass(element, 'bdt-transition');
|
1466 |
-
css(element, {
|
1467 |
-
'transition-property': '',
|
1468 |
-
'transition-duration': '',
|
1469 |
-
'transition-timing-function': ''
|
1470 |
-
});
|
1471 |
-
type === 'transitioncanceled' ? reject() : resolve();
|
1472 |
-
}, {self: true});
|
1473 |
-
|
1474 |
-
addClass(element, 'bdt-transition');
|
1475 |
-
css(element, assign({
|
1476 |
-
'transition-property': Object.keys(props).map(propName).join(','),
|
1477 |
-
'transition-duration': (duration + "ms"),
|
1478 |
-
'transition-timing-function': timing
|
1479 |
-
}, props));
|
1480 |
-
|
1481 |
-
}); }
|
1482 |
-
));
|
1483 |
-
|
1484 |
-
}
|
1485 |
-
|
1486 |
-
var Transition = {
|
1487 |
-
|
1488 |
-
start: transition,
|
1489 |
-
|
1490 |
-
stop: function(element) {
|
1491 |
-
trigger(element, 'transitionend');
|
1492 |
-
return Promise.resolve();
|
1493 |
-
},
|
1494 |
-
|
1495 |
-
cancel: function(element) {
|
1496 |
-
trigger(element, 'transitioncanceled');
|
1497 |
-
},
|
1498 |
-
|
1499 |
-
inProgress: function(element) {
|
1500 |
-
return hasClass(element, 'bdt-transition');
|
1501 |
-
}
|
1502 |
-
|
1503 |
-
};
|
1504 |
-
|
1505 |
-
var animationPrefix = 'bdt-animation-';
|
1506 |
-
var clsCancelAnimation = 'bdt-cancel-animation';
|
1507 |
-
|
1508 |
-
function animate(element, animation, duration, origin, out) {
|
1509 |
-
var arguments$1 = arguments;
|
1510 |
-
if ( duration === void 0 ) duration = 200;
|
1511 |
-
|
1512 |
-
|
1513 |
-
return Promise.all(toNodes(element).map(function (element) { return new Promise(function (resolve, reject) {
|
1514 |
-
|
1515 |
-
if (hasClass(element, clsCancelAnimation)) {
|
1516 |
-
requestAnimationFrame(function () { return Promise.resolve().then(function () { return animate.apply(void 0, arguments$1).then(resolve, reject); }
|
1517 |
-
); }
|
1518 |
-
);
|
1519 |
-
return;
|
1520 |
-
}
|
1521 |
-
|
1522 |
-
var cls = animation + " " + animationPrefix + (out ? 'leave' : 'enter');
|
1523 |
-
|
1524 |
-
if (startsWith(animation, animationPrefix)) {
|
1525 |
-
|
1526 |
-
if (origin) {
|
1527 |
-
cls += " bdt-transform-origin-" + origin;
|
1528 |
-
}
|
1529 |
-
|
1530 |
-
if (out) {
|
1531 |
-
cls += " " + animationPrefix + "reverse";
|
1532 |
-
}
|
1533 |
-
|
1534 |
-
}
|
1535 |
-
|
1536 |
-
reset();
|
1537 |
-
|
1538 |
-
once(element, 'animationend animationcancel', function (ref) {
|
1539 |
-
var type = ref.type;
|
1540 |
-
|
1541 |
-
|
1542 |
-
var hasReset = false;
|
1543 |
-
|
1544 |
-
if (type === 'animationcancel') {
|
1545 |
-
reject();
|
1546 |
-
reset();
|
1547 |
-
} else {
|
1548 |
-
resolve();
|
1549 |
-
Promise.resolve().then(function () {
|
1550 |
-
hasReset = true;
|
1551 |
-
reset();
|
1552 |
-
});
|
1553 |
-
}
|
1554 |
-
|
1555 |
-
requestAnimationFrame(function () {
|
1556 |
-
if (!hasReset) {
|
1557 |
-
addClass(element, clsCancelAnimation);
|
1558 |
-
|
1559 |
-
requestAnimationFrame(function () { return removeClass(element, clsCancelAnimation); });
|
1560 |
-
}
|
1561 |
-
});
|
1562 |
-
|
1563 |
-
}, {self: true});
|
1564 |
-
|
1565 |
-
css(element, 'animationDuration', (duration + "ms"));
|
1566 |
-
addClass(element, cls);
|
1567 |
-
|
1568 |
-
function reset() {
|
1569 |
-
css(element, 'animationDuration', '');
|
1570 |
-
removeClasses(element, (animationPrefix + "\\S*"));
|
1571 |
-
}
|
1572 |
-
|
1573 |
-
}); }
|
1574 |
-
));
|
1575 |
-
|
1576 |
-
}
|
1577 |
-
|
1578 |
-
var inProgress = new RegExp((animationPrefix + "(enter|leave)"));
|
1579 |
-
var Animation = {
|
1580 |
-
|
1581 |
-
in: function(element, animation, duration, origin) {
|
1582 |
-
return animate(element, animation, duration, origin, false);
|
1583 |
-
},
|
1584 |
-
|
1585 |
-
out: function(element, animation, duration, origin) {
|
1586 |
-
return animate(element, animation, duration, origin, true);
|
1587 |
-
},
|
1588 |
-
|
1589 |
-
inProgress: function(element) {
|
1590 |
-
return inProgress.test(attr(element, 'class'));
|
1591 |
-
},
|
1592 |
-
|
1593 |
-
cancel: function(element) {
|
1594 |
-
trigger(element, 'animationcancel');
|
1595 |
-
}
|
1596 |
-
|
1597 |
-
};
|
1598 |
-
|
1599 |
-
var dirs = {
|
1600 |
-
width: ['x', 'left', 'right'],
|
1601 |
-
height: ['y', 'top', 'bottom']
|
1602 |
-
};
|
1603 |
-
|
1604 |
-
function positionAt(element, target, elAttach, targetAttach, elOffset, targetOffset, flip, boundary) {
|
1605 |
-
|
1606 |
-
elAttach = getPos(elAttach);
|
1607 |
-
targetAttach = getPos(targetAttach);
|
1608 |
-
|
1609 |
-
var flipped = {element: elAttach, target: targetAttach};
|
1610 |
-
|
1611 |
-
if (!element || !target) {
|
1612 |
-
return flipped;
|
1613 |
-
}
|
1614 |
-
|
1615 |
-
var dim = getDimensions(element);
|
1616 |
-
var targetDim = getDimensions(target);
|
1617 |
-
var position = targetDim;
|
1618 |
-
|
1619 |
-
moveTo(position, elAttach, dim, -1);
|
1620 |
-
moveTo(position, targetAttach, targetDim, 1);
|
1621 |
-
|
1622 |
-
elOffset = getOffsets(elOffset, dim.width, dim.height);
|
1623 |
-
targetOffset = getOffsets(targetOffset, targetDim.width, targetDim.height);
|
1624 |
-
|
1625 |
-
elOffset['x'] += targetOffset['x'];
|
1626 |
-
elOffset['y'] += targetOffset['y'];
|
1627 |
-
|
1628 |
-
position.left += elOffset['x'];
|
1629 |
-
position.top += elOffset['y'];
|
1630 |
-
|
1631 |
-
if (flip) {
|
1632 |
-
|
1633 |
-
var boundaries = [getDimensions(getWindow(element))];
|
1634 |
-
|
1635 |
-
if (boundary) {
|
1636 |
-
boundaries.unshift(getDimensions(boundary));
|
1637 |
-
}
|
1638 |
-
|
1639 |
-
each(dirs, function (ref, prop) {
|
1640 |
-
var dir = ref[0];
|
1641 |
-
var align = ref[1];
|
1642 |
-
var alignFlip = ref[2];
|
1643 |
-
|
1644 |
-
|
1645 |
-
if (!(flip === true || includes(flip, dir))) {
|
1646 |
-
return;
|
1647 |
-
}
|
1648 |
-
|
1649 |
-
boundaries.some(function (boundary) {
|
1650 |
-
|
1651 |
-
var elemOffset = elAttach[dir] === align
|
1652 |
-
? -dim[prop]
|
1653 |
-
: elAttach[dir] === alignFlip
|
1654 |
-
? dim[prop]
|
1655 |
-
: 0;
|
1656 |
-
|
1657 |
-
var targetOffset = targetAttach[dir] === align
|
1658 |
-
? targetDim[prop]
|
1659 |
-
: targetAttach[dir] === alignFlip
|
1660 |
-
? -targetDim[prop]
|
1661 |
-
: 0;
|
1662 |
-
|
1663 |
-
if (position[align] < boundary[align] || position[align] + dim[prop] > boundary[alignFlip]) {
|
1664 |
-
|
1665 |
-
var centerOffset = dim[prop] / 2;
|
1666 |
-
var centerTargetOffset = targetAttach[dir] === 'center' ? -targetDim[prop] / 2 : 0;
|
1667 |
-
|
1668 |
-
return elAttach[dir] === 'center' && (
|
1669 |
-
apply(centerOffset, centerTargetOffset)
|
1670 |
-
|| apply(-centerOffset, -centerTargetOffset)
|
1671 |
-
) || apply(elemOffset, targetOffset);
|
1672 |
-
|
1673 |
-
}
|
1674 |
-
|
1675 |
-
function apply(elemOffset, targetOffset) {
|
1676 |
-
|
1677 |
-
var newVal = position[align] + elemOffset + targetOffset - elOffset[dir] * 2;
|
1678 |
-
|
1679 |
-
if (newVal >= boundary[align] && newVal + dim[prop] <= boundary[alignFlip]) {
|
1680 |
-
position[align] = newVal;
|
1681 |
-
|
1682 |
-
['element', 'target'].forEach(function (el) {
|
1683 |
-
flipped[el][dir] = !elemOffset
|
1684 |
-
? flipped[el][dir]
|
1685 |
-
: flipped[el][dir] === dirs[prop][1]
|
1686 |
-
? dirs[prop][2]
|
1687 |
-
: dirs[prop][1];
|
1688 |
-
});
|
1689 |
-
|
1690 |
-
return true;
|
1691 |
-
}
|
1692 |
-
|
1693 |
-
}
|
1694 |
-
|
1695 |
-
});
|
1696 |
-
|
1697 |
-
});
|
1698 |
-
}
|
1699 |
-
|
1700 |
-
offset(element, position);
|
1701 |
-
|
1702 |
-
return flipped;
|
1703 |
-
}
|
1704 |
-
|
1705 |
-
function offset(element, coordinates) {
|
1706 |
-
|
1707 |
-
element = toNode(element);
|
1708 |
-
|
1709 |
-
if (coordinates) {
|
1710 |
-
|
1711 |
-
var currentOffset = offset(element);
|
1712 |
-
var pos = css(element, 'position');
|
1713 |
-
|
1714 |
-
['left', 'top'].forEach(function (prop) {
|
1715 |
-
if (prop in coordinates) {
|
1716 |
-
var value = css(element, prop);
|
1717 |
-
css(element, prop, coordinates[prop] - currentOffset[prop]
|
1718 |
-
+ toFloat(pos === 'absolute' && value === 'auto'
|
1719 |
-
? position(element)[prop]
|
1720 |
-
: value)
|
1721 |
-
);
|
1722 |
-
}
|
1723 |
-
});
|
1724 |
-
|
1725 |
-
return;
|
1726 |
-
}
|
1727 |
-
|
1728 |
-
return getDimensions(element);
|
1729 |
-
}
|
1730 |
-
|
1731 |
-
function getDimensions(element) {
|
1732 |
-
|
1733 |
-
element = toNode(element);
|
1734 |
-
|
1735 |
-
if (!element) {
|
1736 |
-
return {};
|
1737 |
-
}
|
1738 |
-
|
1739 |
-
var ref = getWindow(element);
|
1740 |
-
var top = ref.pageYOffset;
|
1741 |
-
var left = ref.pageXOffset;
|
1742 |
-
|
1743 |
-
if (isWindow(element)) {
|
1744 |
-
|
1745 |
-
var height = element.innerHeight;
|
1746 |
-
var width = element.innerWidth;
|
1747 |
-
|
1748 |
-
return {
|
1749 |
-
top: top,
|
1750 |
-
left: left,
|
1751 |
-
height: height,
|
1752 |
-
width: width,
|
1753 |
-
bottom: top + height,
|
1754 |
-
right: left + width
|
1755 |
-
};
|
1756 |
-
}
|
1757 |
-
|
1758 |
-
var style, hidden;
|
1759 |
-
|
1760 |
-
if (!isVisible(element) && css(element, 'display') === 'none') {
|
1761 |
-
|
1762 |
-
style = attr(element, 'style');
|
1763 |
-
hidden = attr(element, 'hidden');
|
1764 |
-
|
1765 |
-
attr(element, {
|
1766 |
-
style: ((style || '') + ";display:block !important;"),
|
1767 |
-
hidden: null
|
1768 |
-
});
|
1769 |
-
}
|
1770 |
-
|
1771 |
-
var rect = element.getBoundingClientRect();
|
1772 |
-
|
1773 |
-
if (!isUndefined(style)) {
|
1774 |
-
attr(element, {style: style, hidden: hidden});
|
1775 |
-
}
|
1776 |
-
|
1777 |
-
return {
|
1778 |
-
height: rect.height,
|
1779 |
-
width: rect.width,
|
1780 |
-
top: rect.top + top,
|
1781 |
-
left: rect.left + left,
|
1782 |
-
bottom: rect.bottom + top,
|
1783 |
-
right: rect.right + left
|
1784 |
-
};
|
1785 |
-
}
|
1786 |
-
|
1787 |
-
function position(element) {
|
1788 |
-
element = toNode(element);
|
1789 |
-
|
1790 |
-
var parent = element.offsetParent || getDocEl(element);
|
1791 |
-
var parentOffset = offset(parent);
|
1792 |
-
var ref = ['top', 'left'].reduce(function (props, prop) {
|
1793 |
-
var propName = ucfirst(prop);
|
1794 |
-
props[prop] -= parentOffset[prop]
|
1795 |
-
+ toFloat(css(element, ("margin" + propName)))
|
1796 |
-
+ toFloat(css(parent, ("border" + propName + "Width")));
|
1797 |
-
return props;
|
1798 |
-
}, offset(element));
|
1799 |
-
var top = ref.top;
|
1800 |
-
var left = ref.left;
|
1801 |
-
|
1802 |
-
return {top: top, left: left};
|
1803 |
-
}
|
1804 |
-
|
1805 |
-
var height = dimension('height');
|
1806 |
-
var width = dimension('width');
|
1807 |
-
|
1808 |
-
function dimension(prop) {
|
1809 |
-
var propName = ucfirst(prop);
|
1810 |
-
return function (element, value) {
|
1811 |
-
|
1812 |
-
element = toNode(element);
|
1813 |
-
|
1814 |
-
if (isUndefined(value)) {
|
1815 |
-
|
1816 |
-
if (isWindow(element)) {
|
1817 |
-
return element[("inner" + propName)];
|
1818 |
-
}
|
1819 |
-
|
1820 |
-
if (isDocument(element)) {
|
1821 |
-
var doc = element.documentElement;
|
1822 |
-
return Math.max(doc[("offset" + propName)], doc[("scroll" + propName)]);
|
1823 |
-
}
|
1824 |
-
|
1825 |
-
value = css(element, prop);
|
1826 |
-
value = value === 'auto' ? element[("offset" + propName)] : toFloat(value) || 0;
|
1827 |
-
|
1828 |
-
return value - boxModelAdjust(prop, element);
|
1829 |
-
|
1830 |
-
} else {
|
1831 |
-
|
1832 |
-
css(element, prop, !value && value !== 0
|
1833 |
-
? ''
|
1834 |
-
: +value + boxModelAdjust(prop, element) + 'px'
|
1835 |
-
);
|
1836 |
-
|
1837 |
-
}
|
1838 |
-
|
1839 |
-
};
|
1840 |
-
}
|
1841 |
-
|
1842 |
-
function boxModelAdjust(prop, element, sizing) {
|
1843 |
-
if ( sizing === void 0 ) sizing = 'border-box';
|
1844 |
-
|
1845 |
-
return css(element, 'boxSizing') === sizing
|
1846 |
-
? dirs[prop].slice(1).map(ucfirst).reduce(function (value, prop) { return value
|
1847 |
-
+ toFloat(css(element, ("padding" + prop)))
|
1848 |
-
+ toFloat(css(element, ("border" + prop + "Width"))); }
|
1849 |
-
, 0)
|
1850 |
-
: 0;
|
1851 |
-
}
|
1852 |
-
|
1853 |
-
function moveTo(position, attach, dim, factor) {
|
1854 |
-
each(dirs, function (ref, prop) {
|
1855 |
-
var dir = ref[0];
|
1856 |
-
var align = ref[1];
|
1857 |
-
var alignFlip = ref[2];
|
1858 |
-
|
1859 |
-
if (attach[dir] === alignFlip) {
|
1860 |
-
position[align] += dim[prop] * factor;
|
1861 |
-
} else if (attach[dir] === 'center') {
|
1862 |
-
position[align] += dim[prop] * factor / 2;
|
1863 |
-
}
|
1864 |
-
});
|
1865 |
-
}
|
1866 |
-
|
1867 |
-
function getPos(pos) {
|
1868 |
-
|
1869 |
-
var x = /left|center|right/;
|
1870 |
-
var y = /top|center|bottom/;
|
1871 |
-
|
1872 |
-
pos = (pos || '').split(' ');
|
1873 |
-
|
1874 |
-
if (pos.length === 1) {
|
1875 |
-
pos = x.test(pos[0])
|
1876 |
-
? pos.concat(['center'])
|
1877 |
-
: y.test(pos[0])
|
1878 |
-
? ['center'].concat(pos)
|
1879 |
-
: ['center', 'center'];
|
1880 |
-
}
|
1881 |
-
|
1882 |
-
return {
|
1883 |
-
x: x.test(pos[0]) ? pos[0] : 'center',
|
1884 |
-
y: y.test(pos[1]) ? pos[1] : 'center'
|
1885 |
-
};
|
1886 |
-
}
|
1887 |
-
|
1888 |
-
function getOffsets(offsets, width, height) {
|
1889 |
-
|
1890 |
-
var ref = (offsets || '').split(' ');
|
1891 |
-
var x = ref[0];
|
1892 |
-
var y = ref[1];
|
1893 |
-
|
1894 |
-
return {
|
1895 |
-
x: x ? toFloat(x) * (endsWith(x, '%') ? width / 100 : 1) : 0,
|
1896 |
-
y: y ? toFloat(y) * (endsWith(y, '%') ? height / 100 : 1) : 0
|
1897 |
-
};
|
1898 |
-
}
|
1899 |
-
|
1900 |
-
function flipPosition(pos) {
|
1901 |
-
switch (pos) {
|
1902 |
-
case 'left':
|
1903 |
-
return 'right';
|
1904 |
-
case 'right':
|
1905 |
-
return 'left';
|
1906 |
-
case 'top':
|
1907 |
-
return 'bottom';
|
1908 |
-
case 'bottom':
|
1909 |
-
return 'top';
|
1910 |
-
default:
|
1911 |
-
return pos;
|
1912 |
-
}
|
1913 |
-
}
|
1914 |
-
|
1915 |
-
function isInView(element, topOffset, leftOffset) {
|
1916 |
-
if ( topOffset === void 0 ) topOffset = 0;
|
1917 |
-
if ( leftOffset === void 0 ) leftOffset = 0;
|
1918 |
-
|
1919 |
-
|
1920 |
-
if (!isVisible(element)) {
|
1921 |
-
return false;
|
1922 |
-
}
|
1923 |
-
|
1924 |
-
element = toNode(element);
|
1925 |
-
|
1926 |
-
var win = getWindow(element);
|
1927 |
-
var client = element.getBoundingClientRect();
|
1928 |
-
var bounding = {
|
1929 |
-
top: -topOffset,
|
1930 |
-
left: -leftOffset,
|
1931 |
-
bottom: topOffset + height(win),
|
1932 |
-
right: leftOffset + width(win)
|
1933 |
-
};
|
1934 |
-
|
1935 |
-
return intersectRect(client, bounding) || pointInRect({x: client.left, y: client.top}, bounding);
|
1936 |
-
|
1937 |
-
}
|
1938 |
-
|
1939 |
-
function scrolledOver(element, heightOffset) {
|
1940 |
-
if ( heightOffset === void 0 ) heightOffset = 0;
|
1941 |
-
|
1942 |
-
|
1943 |
-
if (!isVisible(element)) {
|
1944 |
-
return 0;
|
1945 |
-
}
|
1946 |
-
|
1947 |
-
element = toNode(element);
|
1948 |
-
|
1949 |
-
var win = getWindow(element);
|
1950 |
-
var doc = getDocument(element);
|
1951 |
-
var elHeight = element.offsetHeight + heightOffset;
|
1952 |
-
var ref = offsetPosition(element);
|
1953 |
-
var top = ref[0];
|
1954 |
-
var vp = height(win);
|
1955 |
-
var vh = vp + Math.min(0, top - vp);
|
1956 |
-
var diff = Math.max(0, vp - (height(doc) + heightOffset - (top + elHeight)));
|
1957 |
-
|
1958 |
-
return clamp(((vh + win.pageYOffset - top) / ((vh + (elHeight - (diff < vp ? diff : 0))) / 100)) / 100);
|
1959 |
-
}
|
1960 |
-
|
1961 |
-
function scrollTop(element, top) {
|
1962 |
-
element = toNode(element);
|
1963 |
-
|
1964 |
-
if (isWindow(element) || isDocument(element)) {
|
1965 |
-
var ref = getWindow(element);
|
1966 |
-
var scrollTo = ref.scrollTo;
|
1967 |
-
var pageXOffset = ref.pageXOffset;
|
1968 |
-
scrollTo(pageXOffset, top);
|
1969 |
-
} else {
|
1970 |
-
element.scrollTop = top;
|
1971 |
-
}
|
1972 |
-
}
|
1973 |
-
|
1974 |
-
function offsetPosition(element) {
|
1975 |
-
var offset = [0, 0];
|
1976 |
-
|
1977 |
-
do {
|
1978 |
-
|
1979 |
-
offset[0] += element.offsetTop;
|
1980 |
-
offset[1] += element.offsetLeft;
|
1981 |
-
|
1982 |
-
if (css(element, 'position') === 'fixed') {
|
1983 |
-
var win = getWindow(element);
|
1984 |
-
offset[0] += win.pageYOffset;
|
1985 |
-
offset[1] += win.pageXOffset;
|
1986 |
-
return offset;
|
1987 |
-
}
|
1988 |
-
|
1989 |
-
} while ((element = element.offsetParent));
|
1990 |
-
|
1991 |
-
return offset;
|
1992 |
-
}
|
1993 |
-
|
1994 |
-
function toPx(value, property, element) {
|
1995 |
-
if ( property === void 0 ) property = 'width';
|
1996 |
-
if ( element === void 0 ) element = window;
|
1997 |
-
|
1998 |
-
return isNumeric(value)
|
1999 |
-
? +value
|
2000 |
-
: endsWith(value, 'vh')
|
2001 |
-
? percent(height(getWindow(element)), value)
|
2002 |
-
: endsWith(value, 'vw')
|
2003 |
-
? percent(width(getWindow(element)), value)
|
2004 |
-
: endsWith(value, '%')
|
2005 |
-
? percent(getDimensions(element)[property], value)
|
2006 |
-
: toFloat(value);
|
2007 |
-
}
|
2008 |
-
|
2009 |
-
function percent(base, value) {
|
2010 |
-
return base * toFloat(value) / 100;
|
2011 |
-
}
|
2012 |
-
|
2013 |
-
function getWindow(element) {
|
2014 |
-
return isWindow(element) ? element : getDocument(element).defaultView;
|
2015 |
-
}
|
2016 |
-
|
2017 |
-
function getDocument(element) {
|
2018 |
-
return toNode(element).ownerDocument;
|
2019 |
-
}
|
2020 |
-
|
2021 |
-
function getDocEl(element) {
|
2022 |
-
return getDocument(element).documentElement;
|
2023 |
-
}
|
2024 |
-
|
2025 |
-
/*
|
2026 |
-
Based on:
|
2027 |
-
Copyright (c) 2016 Wilson Page wilsonpage@me.com
|
2028 |
-
https://github.com/wilsonpage/fastdom
|
2029 |
-
*/
|
2030 |
-
|
2031 |
-
var fastdom = {
|
2032 |
-
|
2033 |
-
reads: [],
|
2034 |
-
writes: [],
|
2035 |
-
|
2036 |
-
read: function(task) {
|
2037 |
-
this.reads.push(task);
|
2038 |
-
scheduleFlush();
|
2039 |
-
return task;
|
2040 |
-
},
|
2041 |
-
|
2042 |
-
write: function(task) {
|
2043 |
-
this.writes.push(task);
|
2044 |
-
scheduleFlush();
|
2045 |
-
return task;
|
2046 |
-
},
|
2047 |
-
|
2048 |
-
clear: function(task) {
|
2049 |
-
return remove$1(this.reads, task) || remove$1(this.writes, task);
|
2050 |
-
},
|
2051 |
-
|
2052 |
-
flush: flush
|
2053 |
-
|
2054 |
-
};
|
2055 |
-
|
2056 |
-
function flush() {
|
2057 |
-
runTasks(fastdom.reads);
|
2058 |
-
runTasks(fastdom.writes.splice(0, fastdom.writes.length));
|
2059 |
-
|
2060 |
-
fastdom.scheduled = false;
|
2061 |
-
|
2062 |
-
if (fastdom.reads.length || fastdom.writes.length) {
|
2063 |
-
scheduleFlush(true);
|
2064 |
-
}
|
2065 |
-
}
|
2066 |
-
|
2067 |
-
function scheduleFlush(microtask) {
|
2068 |
-
if ( microtask === void 0 ) microtask = false;
|
2069 |
-
|
2070 |
-
if (!fastdom.scheduled) {
|
2071 |
-
fastdom.scheduled = true;
|
2072 |
-
if (microtask) {
|
2073 |
-
Promise.resolve().then(flush);
|
2074 |
-
} else {
|
2075 |
-
requestAnimationFrame(flush);
|
2076 |
-
}
|
2077 |
-
}
|
2078 |
-
}
|
2079 |
-
|
2080 |
-
function runTasks(tasks) {
|
2081 |
-
var task;
|
2082 |
-
while ((task = tasks.shift())) {
|
2083 |
-
task();
|
2084 |
-
}
|
2085 |
-
}
|
2086 |
-
|
2087 |
-
function remove$1(array, item) {
|
2088 |
-
var index = array.indexOf(item);
|
2089 |
-
return !!~index && !!array.splice(index, 1);
|
2090 |
-
}
|
2091 |
-
|
2092 |
-
function MouseTracker() {}
|
2093 |
-
|
2094 |
-
MouseTracker.prototype = {
|
2095 |
-
|
2096 |
-
positions: [],
|
2097 |
-
position: null,
|
2098 |
-
|
2099 |
-
init: function() {
|
2100 |
-
var this$1 = this;
|
2101 |
-
|
2102 |
-
|
2103 |
-
this.positions = [];
|
2104 |
-
this.position = null;
|
2105 |
-
|
2106 |
-
var ticking = false;
|
2107 |
-
this.unbind = on(document, 'mousemove', function (e) {
|
2108 |
-
|
2109 |
-
if (ticking) {
|
2110 |
-
return;
|
2111 |
-
}
|
2112 |
-
|
2113 |
-
setTimeout(function () {
|
2114 |
-
|
2115 |
-
var time = Date.now();
|
2116 |
-
var ref = this$1.positions;
|
2117 |
-
var length = ref.length;
|
2118 |
-
|
2119 |
-
if (length && (time - this$1.positions[length - 1].time > 100)) {
|
2120 |
-
this$1.positions.splice(0, length);
|
2121 |
-
}
|
2122 |
-
|
2123 |
-
this$1.positions.push({time: time, x: e.pageX, y: e.pageY});
|
2124 |
-
|
2125 |
-
if (this$1.positions.length > 5) {
|
2126 |
-
this$1.positions.shift();
|
2127 |
-
}
|
2128 |
-
|
2129 |
-
ticking = false;
|
2130 |
-
}, 5);
|
2131 |
-
|
2132 |
-
ticking = true;
|
2133 |
-
});
|
2134 |
-
|
2135 |
-
},
|
2136 |
-
|
2137 |
-
cancel: function() {
|
2138 |
-
if (this.unbind) {
|
2139 |
-
this.unbind();
|
2140 |
-
}
|
2141 |
-
},
|
2142 |
-
|
2143 |
-
movesTo: function(target) {
|
2144 |
-
|
2145 |
-
if (this.positions.length < 2) {
|
2146 |
-
return false;
|
2147 |
-
}
|
2148 |
-
|
2149 |
-
var p = offset(target);
|
2150 |
-
var position = last(this.positions);
|
2151 |
-
var ref = this.positions;
|
2152 |
-
var prevPos = ref[0];
|
2153 |
-
|
2154 |
-
if (p.left <= position.x && position.x <= p.right && p.top <= position.y && position.y <= p.bottom) {
|
2155 |
-
return false;
|
2156 |
-
}
|
2157 |
-
|
2158 |
-
var points = [
|
2159 |
-
[{x: p.left, y: p.top}, {x: p.right, y: p.bottom}],
|
2160 |
-
[{x: p.right, y: p.top}, {x: p.left, y: p.bottom}]
|
2161 |
-
];
|
2162 |
-
|
2163 |
-
if (p.right <= position.x) ; else if (p.left >= position.x) {
|
2164 |
-
points[0].reverse();
|
2165 |
-
points[1].reverse();
|
2166 |
-
} else if (p.bottom <= position.y) {
|
2167 |
-
points[0].reverse();
|
2168 |
-
} else if (p.top >= position.y) {
|
2169 |
-
points[1].reverse();
|
2170 |
-
}
|
2171 |
-
|
2172 |
-
return !!points.reduce(function (result, point) {
|
2173 |
-
return result + (slope(prevPos, point[0]) < slope(position, point[0]) && slope(prevPos, point[1]) > slope(position, point[1]));
|
2174 |
-
}, 0);
|
2175 |
-
}
|
2176 |
-
|
2177 |
-
};
|
2178 |
-
|
2179 |
-
function slope(a, b) {
|
2180 |
-
return (b.y - a.y) / (b.x - a.x);
|
2181 |
-
}
|
2182 |
-
|
2183 |
-
var strats = {};
|
2184 |
-
|
2185 |
-
strats.events =
|
2186 |
-
strats.created =
|
2187 |
-
strats.beforeConnect =
|
2188 |
-
strats.connected =
|
2189 |
-
strats.beforeDisconnect =
|
2190 |
-
strats.disconnected =
|
2191 |
-
strats.destroy = concatStrat;
|
2192 |
-
|
2193 |
-
// args strategy
|
2194 |
-
strats.args = function (parentVal, childVal) {
|
2195 |
-
return childVal !== false && concatStrat(childVal || parentVal);
|
2196 |
-
};
|
2197 |
-
|
2198 |
-
// update strategy
|
2199 |
-
strats.update = function (parentVal, childVal) {
|
2200 |
-
return sortBy(concatStrat(parentVal, isFunction(childVal) ? {read: childVal} : childVal), 'order');
|
2201 |
-
};
|
2202 |
-
|
2203 |
-
// property strategy
|
2204 |
-
strats.props = function (parentVal, childVal) {
|
2205 |
-
|
2206 |
-
if (isArray(childVal)) {
|
2207 |
-
childVal = childVal.reduce(function (value, key) {
|
2208 |
-
value[key] = String;
|
2209 |
-
return value;
|
2210 |
-
}, {});
|
2211 |
-
}
|
2212 |
-
|
2213 |
-
return strats.methods(parentVal, childVal);
|
2214 |
-
};
|
2215 |
-
|
2216 |
-
// extend strategy
|
2217 |
-
strats.computed =
|
2218 |
-
strats.methods = function (parentVal, childVal) {
|
2219 |
-
return childVal
|
2220 |
-
? parentVal
|
2221 |
-
? assign({}, parentVal, childVal)
|
2222 |
-
: childVal
|
2223 |
-
: parentVal;
|
2224 |
-
};
|
2225 |
-
|
2226 |
-
// data strategy
|
2227 |
-
strats.data = function (parentVal, childVal, vm) {
|
2228 |
-
|
2229 |
-
if (!vm) {
|
2230 |
-
|
2231 |
-
if (!childVal) {
|
2232 |
-
return parentVal;
|
2233 |
-
}
|
2234 |
-
|
2235 |
-
if (!parentVal) {
|
2236 |
-
return childVal;
|
2237 |
-
}
|
2238 |
-
|
2239 |
-
return function (vm) {
|
2240 |
-
return mergeFnData(parentVal, childVal, vm);
|
2241 |
-
};
|
2242 |
-
|
2243 |
-
}
|
2244 |
-
|
2245 |
-
return mergeFnData(parentVal, childVal, vm);
|
2246 |
-
};
|
2247 |
-
|
2248 |
-
function mergeFnData(parentVal, childVal, vm) {
|
2249 |
-
return strats.computed(
|
2250 |
-
isFunction(parentVal)
|
2251 |
-
? parentVal.call(vm, vm)
|
2252 |
-
: parentVal,
|
2253 |
-
isFunction(childVal)
|
2254 |
-
? childVal.call(vm, vm)
|
2255 |
-
: childVal
|
2256 |
-
);
|
2257 |
-
}
|
2258 |
-
|
2259 |
-
// concat strategy
|
2260 |
-
function concatStrat(parentVal, childVal) {
|
2261 |
-
|
2262 |
-
parentVal = parentVal && !isArray(parentVal) ? [parentVal] : parentVal;
|
2263 |
-
|
2264 |
-
return childVal
|
2265 |
-
? parentVal
|
2266 |
-
? parentVal.concat(childVal)
|
2267 |
-
: isArray(childVal)
|
2268 |
-
? childVal
|
2269 |
-
: [childVal]
|
2270 |
-
: parentVal;
|
2271 |
-
}
|
2272 |
-
|
2273 |
-
// default strategy
|
2274 |
-
function defaultStrat(parentVal, childVal) {
|
2275 |
-
return isUndefined(childVal) ? parentVal : childVal;
|
2276 |
-
}
|
2277 |
-
|
2278 |
-
function mergeOptions(parent, child, vm) {
|
2279 |
-
|
2280 |
-
var options = {};
|
2281 |
-
|
2282 |
-
if (isFunction(child)) {
|
2283 |
-
child = child.options;
|
2284 |
-
}
|
2285 |
-
|
2286 |
-
if (child.extends) {
|
2287 |
-
parent = mergeOptions(parent, child.extends, vm);
|
2288 |
-
}
|
2289 |
-
|
2290 |
-
if (child.mixins) {
|
2291 |
-
for (var i = 0, l = child.mixins.length; i < l; i++) {
|
2292 |
-
parent = mergeOptions(parent, child.mixins[i], vm);
|
2293 |
-
}
|
2294 |
-
}
|
2295 |
-
|
2296 |
-
for (var key in parent) {
|
2297 |
-
mergeKey(key);
|
2298 |
-
}
|
2299 |
-
|
2300 |
-
for (var key$1 in child) {
|
2301 |
-
if (!hasOwn(parent, key$1)) {
|
2302 |
-
mergeKey(key$1);
|
2303 |
-
}
|
2304 |
-
}
|
2305 |
-
|
2306 |
-
function mergeKey(key) {
|
2307 |
-
options[key] = (strats[key] || defaultStrat)(parent[key], child[key], vm);
|
2308 |
-
}
|
2309 |
-
|
2310 |
-
return options;
|
2311 |
-
}
|
2312 |
-
|
2313 |
-
function parseOptions(options, args) {
|
2314 |
-
var obj;
|
2315 |
-
|
2316 |
-
if ( args === void 0 ) args = [];
|
2317 |
-
|
2318 |
-
try {
|
2319 |
-
|
2320 |
-
return !options
|
2321 |
-
? {}
|
2322 |
-
: startsWith(options, '{')
|
2323 |
-
? JSON.parse(options)
|
2324 |
-
: args.length && !includes(options, ':')
|
2325 |
-
? (( obj = {}, obj[args[0]] = options, obj ))
|
2326 |
-
: options.split(';').reduce(function (options, option) {
|
2327 |
-
var ref = option.split(/:(.*)/);
|
2328 |
-
var key = ref[0];
|
2329 |
-
var value = ref[1];
|
2330 |
-
if (key && !isUndefined(value)) {
|
2331 |
-
options[key.trim()] = value.trim();
|
2332 |
-
}
|
2333 |
-
return options;
|
2334 |
-
}, {});
|
2335 |
-
|
2336 |
-
} catch (e) {
|
2337 |
-
return {};
|
2338 |
-
}
|
2339 |
-
|
2340 |
-
}
|
2341 |
-
|
2342 |
-
var id = 0;
|
2343 |
-
|
2344 |
-
var Player = function(el) {
|
2345 |
-
this.id = ++id;
|
2346 |
-
this.el = toNode(el);
|
2347 |
-
};
|
2348 |
-
|
2349 |
-
Player.prototype.isVideo = function () {
|
2350 |
-
return this.isYoutube() || this.isVimeo() || this.isHTML5();
|
2351 |
-
};
|
2352 |
-
|
2353 |
-
Player.prototype.isHTML5 = function () {
|
2354 |
-
return this.el.tagName === 'VIDEO';
|
2355 |
-
};
|
2356 |
-
|
2357 |
-
Player.prototype.isIFrame = function () {
|
2358 |
-
return this.el.tagName === 'IFRAME';
|
2359 |
-
};
|
2360 |
-
|
2361 |
-
Player.prototype.isYoutube = function () {
|
2362 |
-
return this.isIFrame() && !!this.el.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/);
|
2363 |
-
};
|
2364 |
-
|
2365 |
-
Player.prototype.isVimeo = function () {
|
2366 |
-
return this.isIFrame() && !!this.el.src.match(/vimeo\.com\/video\/.*/);
|
2367 |
-
};
|
2368 |
-
|
2369 |
-
Player.prototype.enableApi = function () {
|
2370 |
-
var this$1 = this;
|
2371 |
-
|
2372 |
-
|
2373 |
-
if (this.ready) {
|
2374 |
-
return this.ready;
|
2375 |
-
}
|
2376 |
-
|
2377 |
-
var youtube = this.isYoutube();
|
2378 |
-
var vimeo = this.isVimeo();
|
2379 |
-
|
2380 |
-
var poller;
|
2381 |
-
|
2382 |
-
if (youtube || vimeo) {
|
2383 |
-
|
2384 |
-
return this.ready = new Promise(function (resolve) {
|
2385 |
-
|
2386 |
-
once(this$1.el, 'load', function () {
|
2387 |
-
if (youtube) {
|
2388 |
-
var listener = function () { return post(this$1.el, {event: 'listening', id: this$1.id}); };
|
2389 |
-
poller = setInterval(listener, 100);
|
2390 |
-
listener();
|
2391 |
-
}
|
2392 |
-
});
|
2393 |
-
|
2394 |
-
listen(function (data) { return youtube && data.id === this$1.id && data.event === 'onReady' || vimeo && Number(data.player_id) === this$1.id; })
|
2395 |
-
.then(function () {
|
2396 |
-
resolve();
|
2397 |
-
poller && clearInterval(poller);
|
2398 |
-
});
|
2399 |
-
|
2400 |
-
attr(this$1.el, 'src', ("" + (this$1.el.src) + (includes(this$1.el.src, '?') ? '&' : '?') + (youtube ? 'enablejsapi=1' : ("api=1&player_id=" + (this$1.id)))));
|
2401 |
-
|
2402 |
-
});
|
2403 |
-
|
2404 |
-
}
|
2405 |
-
|
2406 |
-
return Promise.resolve();
|
2407 |
-
|
2408 |
-
};
|
2409 |
-
|
2410 |
-
Player.prototype.play = function () {
|
2411 |
-
var this$1 = this;
|
2412 |
-
|
2413 |
-
|
2414 |
-
if (!this.isVideo()) {
|
2415 |
-
return;
|
2416 |
-
}
|
2417 |
-
|
2418 |
-
if (this.isIFrame()) {
|
2419 |
-
this.enableApi().then(function () { return post(this$1.el, {func: 'playVideo', method: 'play'}); });
|
2420 |
-
} else if (this.isHTML5()) {
|
2421 |
-
try {
|
2422 |
-
var promise = this.el.play();
|
2423 |
-
|
2424 |
-
if (promise) {
|
2425 |
-
promise.catch(noop);
|
2426 |
-
}
|
2427 |
-
} catch (e) {}
|
2428 |
-
}
|
2429 |
-
};
|
2430 |
-
|
2431 |
-
Player.prototype.pause = function () {
|
2432 |
-
var this$1 = this;
|
2433 |
-
|
2434 |
-
|
2435 |
-
if (!this.isVideo()) {
|
2436 |
-
return;
|
2437 |
-
}
|
2438 |
-
|
2439 |
-
if (this.isIFrame()) {
|
2440 |
-
this.enableApi().then(function () { return post(this$1.el, {func: 'pauseVideo', method: 'pause'}); });
|
2441 |
-
} else if (this.isHTML5()) {
|
2442 |
-
this.el.pause();
|
2443 |
-
}
|
2444 |
-
};
|
2445 |
-
|
2446 |
-
Player.prototype.mute = function () {
|
2447 |
-
var this$1 = this;
|
2448 |
-
|
2449 |
-
|
2450 |
-
if (!this.isVideo()) {
|
2451 |
-
return;
|
2452 |
-
}
|
2453 |
-
|
2454 |
-
if (this.isIFrame()) {
|
2455 |
-
this.enableApi().then(function () { return post(this$1.el, {func: 'mute', method: 'setVolume', value: 0}); });
|
2456 |
-
} else if (this.isHTML5()) {
|
2457 |
-
this.el.muted = true;
|
2458 |
-
attr(this.el, 'muted', '');
|
2459 |
-
}
|
2460 |
-
|
2461 |
-
};
|
2462 |
-
|
2463 |
-
function post(el, cmd) {
|
2464 |
-
try {
|
2465 |
-
el.contentWindow.postMessage(JSON.stringify(assign({event: 'command'}, cmd)), '*');
|
2466 |
-
} catch (e) {}
|
2467 |
-
}
|
2468 |
-
|
2469 |
-
function listen(cb) {
|
2470 |
-
|
2471 |
-
return new Promise(function (resolve) {
|
2472 |
-
|
2473 |
-
once(window, 'message', function (_, data) { return resolve(data); }, false, function (ref) {
|
2474 |
-
var data = ref.data;
|
2475 |
-
|
2476 |
-
|
2477 |
-
if (!data || !isString(data)) {
|
2478 |
-
return;
|
2479 |
-
}
|
2480 |
-
|
2481 |
-
try {
|
2482 |
-
data = JSON.parse(data);
|
2483 |
-
} catch (e) {
|
2484 |
-
return;
|
2485 |
-
}
|
2486 |
-
|
2487 |
-
return data && cb(data);
|
2488 |
-
|
2489 |
-
});
|
2490 |
-
|
2491 |
-
});
|
2492 |
-
|
2493 |
-
}
|
2494 |
-
|
2495 |
-
var IntersectionObserver = 'IntersectionObserver' in window
|
2496 |
-
? window.IntersectionObserver
|
2497 |
-
: /*@__PURE__*/(function () {
|
2498 |
-
function IntersectionObserverClass(callback, ref) {
|
2499 |
-
var this$1 = this;
|
2500 |
-
if ( ref === void 0 ) ref = {};
|
2501 |
-
var rootMargin = ref.rootMargin; if ( rootMargin === void 0 ) rootMargin = '0 0';
|
2502 |
-
|
2503 |
-
|
2504 |
-
this.targets = [];
|
2505 |
-
|
2506 |
-
var ref$1 = (rootMargin || '0 0').split(' ').map(toFloat);
|
2507 |
-
var offsetTop = ref$1[0];
|
2508 |
-
var offsetLeft = ref$1[1];
|
2509 |
-
|
2510 |
-
this.offsetTop = offsetTop;
|
2511 |
-
this.offsetLeft = offsetLeft;
|
2512 |
-
|
2513 |
-
var pending;
|
2514 |
-
this.apply = function () {
|
2515 |
-
|
2516 |
-
if (pending) {
|
2517 |
-
return;
|
2518 |
-
}
|
2519 |
-
|
2520 |
-
pending = requestAnimationFrame(function () { return setTimeout(function () {
|
2521 |
-
var records = this$1.takeRecords();
|
2522 |
-
|
2523 |
-
if (records.length) {
|
2524 |
-
callback(records, this$1);
|
2525 |
-
}
|
2526 |
-
|
2527 |
-
pending = false;
|
2528 |
-
}); });
|
2529 |
-
|
2530 |
-
};
|
2531 |
-
|
2532 |
-
this.off = on(window, 'scroll resize load', this.apply, {passive: true, capture: true});
|
2533 |
-
|
2534 |
-
}
|
2535 |
-
|
2536 |
-
IntersectionObserverClass.prototype.takeRecords = function () {
|
2537 |
-
var this$1 = this;
|
2538 |
-
|
2539 |
-
return this.targets.filter(function (entry) {
|
2540 |
-
|
2541 |
-
var inView = isInView(entry.target, this$1.offsetTop, this$1.offsetLeft);
|
2542 |
-
|
2543 |
-
if (entry.isIntersecting === null || inView ^ entry.isIntersecting) {
|
2544 |
-
entry.isIntersecting = inView;
|
2545 |
-
return true;
|
2546 |
-
}
|
2547 |
-
|
2548 |
-
});
|
2549 |
-
};
|
2550 |
-
|
2551 |
-
IntersectionObserverClass.prototype.observe = function (target) {
|
2552 |
-
this.targets.push({
|
2553 |
-
target: target,
|
2554 |
-
isIntersecting: null
|
2555 |
-
});
|
2556 |
-
this.apply();
|
2557 |
-
};
|
2558 |
-
|
2559 |
-
IntersectionObserverClass.prototype.disconnect = function () {
|
2560 |
-
this.targets = [];
|
2561 |
-
this.off();
|
2562 |
-
};
|
2563 |
-
|
2564 |
-
return IntersectionObserverClass;
|
2565 |
-
}());
|
2566 |
-
|
2567 |
-
|
2568 |
-
|
2569 |
-
var util = /*#__PURE__*/Object.freeze({
|
2570 |
-
ajax: ajax,
|
2571 |
-
getImage: getImage,
|
2572 |
-
transition: transition,
|
2573 |
-
Transition: Transition,
|
2574 |
-
animate: animate,
|
2575 |
-
Animation: Animation,
|
2576 |
-
attr: attr,
|
2577 |
-
hasAttr: hasAttr,
|
2578 |
-
removeAttr: removeAttr,
|
2579 |
-
data: data,
|
2580 |
-
addClass: addClass,
|
2581 |
-
removeClass: removeClass,
|
2582 |
-
removeClasses: removeClasses,
|
2583 |
-
replaceClass: replaceClass,
|
2584 |
-
hasClass: hasClass,
|
2585 |
-
toggleClass: toggleClass,
|
2586 |
-
positionAt: positionAt,
|
2587 |
-
offset: offset,
|
2588 |
-
position: position,
|
2589 |
-
height: height,
|
2590 |
-
width: width,
|
2591 |
-
boxModelAdjust: boxModelAdjust,
|
2592 |
-
flipPosition: flipPosition,
|
2593 |
-
isInView: isInView,
|
2594 |
-
scrolledOver: scrolledOver,
|
2595 |
-
scrollTop: scrollTop,
|
2596 |
-
offsetPosition: offsetPosition,
|
2597 |
-
toPx: toPx,
|
2598 |
-
ready: ready,
|
2599 |
-
index: index,
|
2600 |
-
getIndex: getIndex,
|
2601 |
-
empty: empty,
|
2602 |
-
html: html,
|
2603 |
-
prepend: prepend,
|
2604 |
-
append: append,
|
2605 |
-
before: before,
|
2606 |
-
after: after,
|
2607 |
-
remove: remove,
|
2608 |
-
wrapAll: wrapAll,
|
2609 |
-
wrapInner: wrapInner,
|
2610 |
-
unwrap: unwrap,
|
2611 |
-
fragment: fragment,
|
2612 |
-
apply: apply,
|
2613 |
-
$: $,
|
2614 |
-
$$: $$,
|
2615 |
-
isIE: isIE,
|
2616 |
-
isRtl: isRtl,
|
2617 |
-
hasTouch: hasTouch,
|
2618 |
-
pointerDown: pointerDown,
|
2619 |
-
pointerMove: pointerMove,
|
2620 |
-
pointerUp: pointerUp,
|
2621 |
-
pointerEnter: pointerEnter,
|
2622 |
-
pointerLeave: pointerLeave,
|
2623 |
-
pointerCancel: pointerCancel,
|
2624 |
-
on: on,
|
2625 |
-
off: off,
|
2626 |
-
once: once,
|
2627 |
-
trigger: trigger,
|
2628 |
-
createEvent: createEvent,
|
2629 |
-
toEventTargets: toEventTargets,
|
2630 |
-
isTouch: isTouch,
|
2631 |
-
getEventPos: getEventPos,
|
2632 |
-
fastdom: fastdom,
|
2633 |
-
isVoidElement: isVoidElement,
|
2634 |
-
isVisible: isVisible,
|
2635 |
-
selInput: selInput,
|
2636 |
-
isInput: isInput,
|
2637 |
-
filter: filter,
|
2638 |
-
within: within,
|
2639 |
-
hasOwn: hasOwn,
|
2640 |
-
hyphenate: hyphenate,
|
2641 |
-
camelize: camelize,
|
2642 |
-
ucfirst: ucfirst,
|
2643 |
-
startsWith: startsWith,
|
2644 |
-
endsWith: endsWith,
|
2645 |
-
includes: includes,
|
2646 |
-
findIndex: findIndex,
|
2647 |
-
isArray: isArray,
|
2648 |
-
isFunction: isFunction,
|
2649 |
-
isObject: isObject,
|
2650 |
-
isPlainObject: isPlainObject,
|
2651 |
-
isWindow: isWindow,
|
2652 |
-
isDocument: isDocument,
|
2653 |
-
isJQuery: isJQuery,
|
2654 |
-
isNode: isNode,
|
2655 |
-
isNodeCollection: isNodeCollection,
|
2656 |
-
isBoolean: isBoolean,
|
2657 |
-
isString: isString,
|
2658 |
-
isNumber: isNumber,
|
2659 |
-
isNumeric: isNumeric,
|
2660 |
-
isEmpty: isEmpty,
|
2661 |
-
isUndefined: isUndefined,
|
2662 |
-
toBoolean: toBoolean,
|
2663 |
-
toNumber: toNumber,
|
2664 |
-
toFloat: toFloat,
|
2665 |
-
toNode: toNode,
|
2666 |
-
toNodes: toNodes,
|
2667 |
-
toList: toList,
|
2668 |
-
toMs: toMs,
|
2669 |
-
isEqual: isEqual,
|
2670 |
-
swap: swap,
|
2671 |
-
assign: assign,
|
2672 |
-
last: last,
|
2673 |
-
each: each,
|
2674 |
-
sortBy: sortBy,
|
2675 |
-
uniqueBy: uniqueBy,
|
2676 |
-
clamp: clamp,
|
2677 |
-
noop: noop,
|
2678 |
-
intersectRect: intersectRect,
|
2679 |
-
pointInRect: pointInRect,
|
2680 |
-
Dimensions: Dimensions,
|
2681 |
-
MouseTracker: MouseTracker,
|
2682 |
-
mergeOptions: mergeOptions,
|
2683 |
-
parseOptions: parseOptions,
|
2684 |
-
Player: Player,
|
2685 |
-
Promise: Promise,
|
2686 |
-
Deferred: Deferred,
|
2687 |
-
IntersectionObserver: IntersectionObserver,
|
2688 |
-
query: query,
|
2689 |
-
queryAll: queryAll,
|
2690 |
-
find: find,
|
2691 |
-
findAll: findAll,
|
2692 |
-
matches: matches,
|
2693 |
-
closest: closest,
|
2694 |
-
parents: parents,
|
2695 |
-
escape: escape,
|
2696 |
-
css: css,
|
2697 |
-
getStyles: getStyles,
|
2698 |
-
getStyle: getStyle,
|
2699 |
-
getCssVar: getCssVar,
|
2700 |
-
propName: propName
|
2701 |
-
});
|
2702 |
-
|
2703 |
-
function componentAPI (bdtUIkit) {
|
2704 |
-
|
2705 |
-
var DATA = bdtUIkit.data;
|
2706 |
-
|
2707 |
-
var components = {};
|
2708 |
-
|
2709 |
-
bdtUIkit.component = function (name, options) {
|
2710 |
-
|
2711 |
-
if (!options) {
|
2712 |
-
|
2713 |
-
if (isPlainObject(components[name])) {
|
2714 |
-
components[name] = bdtUIkit.extend(components[name]);
|
2715 |
-
}
|
2716 |
-
|
2717 |
-
return components[name];
|
2718 |
-
|
2719 |
-
}
|
2720 |
-
|
2721 |
-
bdtUIkit[name] = function (element, data) {
|
2722 |
-
var i = arguments.length, argsArray = Array(i);
|
2723 |
-
while ( i-- ) argsArray[i] = arguments[i];
|
2724 |
-
|
2725 |
-
|
2726 |
-
var component = bdtUIkit.component(name);
|
2727 |
-
|
2728 |
-
if (isPlainObject(element)) {
|
2729 |
-
return new component({data: element});
|
2730 |
-
}
|
2731 |
-
|
2732 |
-
if (component.options.functional) {
|
2733 |
-
return new component({data: [].concat( argsArray )});
|
2734 |
-
}
|
2735 |
-
|
2736 |
-
return element && element.nodeType ? init(element) : $$(element).map(init)[0];
|
2737 |
-
|
2738 |
-
function init(element) {
|
2739 |
-
|
2740 |
-
var instance = bdtUIkit.getComponent(element, name);
|
2741 |
-
|
2742 |
-
if (instance) {
|
2743 |
-
if (!data) {
|
2744 |
-
return instance;
|
2745 |
-
} else {
|
2746 |
-
instance.$destroy();
|
2747 |
-
}
|
2748 |
-
}
|
2749 |
-
|
2750 |
-
return new component({el: element, data: data});
|
2751 |
-
|
2752 |
-
}
|
2753 |
-
|
2754 |
-
};
|
2755 |
-
|
2756 |
-
var opt = isPlainObject(options) ? assign({}, options) : options.options;
|
2757 |
-
|
2758 |
-
opt.name = name;
|
2759 |
-
|
2760 |
-
if (opt.install) {
|
2761 |
-
opt.install(bdtUIkit, opt, name);
|
2762 |
-
}
|
2763 |
-
|
2764 |
-
if (bdtUIkit._initialized && !opt.functional) {
|
2765 |
-
var id = hyphenate(name);
|
2766 |
-
fastdom.read(function () { return bdtUIkit[name](("[bdt-" + id + "],[data-bdt-" + id + "]")); });
|
2767 |
-
}
|
2768 |
-
|
2769 |
-
return components[name] = isPlainObject(options) ? opt : options;
|
2770 |
-
};
|
2771 |
-
|
2772 |
-
bdtUIkit.getComponents = function (element) { return element && element[DATA] || {}; };
|
2773 |
-
bdtUIkit.getComponent = function (element, name) { return bdtUIkit.getComponents(element)[name]; };
|
2774 |
-
|
2775 |
-
bdtUIkit.connect = function (node) {
|
2776 |
-
|
2777 |
-
if (node[DATA]) {
|
2778 |
-
for (var name in node[DATA]) {
|
2779 |
-
node[DATA][name]._callConnected();
|
2780 |
-
}
|
2781 |
-
}
|
2782 |
-
|
2783 |
-
for (var i = 0; i < node.attributes.length; i++) {
|
2784 |
-
|
2785 |
-
var name$1 = getComponentName(node.attributes[i].name);
|
2786 |
-
|
2787 |
-
if (name$1 && name$1 in components) {
|
2788 |
-
bdtUIkit[name$1](node);
|
2789 |
-
}
|
2790 |
-
|
2791 |
-
}
|
2792 |
-
|
2793 |
-
};
|
2794 |
-
|
2795 |
-
bdtUIkit.disconnect = function (node) {
|
2796 |
-
for (var name in node[DATA]) {
|
2797 |
-
node[DATA][name]._callDisconnected();
|
2798 |
-
}
|
2799 |
-
};
|
2800 |
-
|
2801 |
-
}
|
2802 |
-
|
2803 |
-
function getComponentName(attribute) {
|
2804 |
-
return startsWith(attribute, 'bdt-') || startsWith(attribute, 'data-bdt-')
|
2805 |
-
? camelize(attribute.replace('data-bdt-', '').replace('bdt-', ''))
|
2806 |
-
: false;
|
2807 |
-
}
|
2808 |
-
|
2809 |
-
function boot (bdtUIkit) {
|
2810 |
-
|
2811 |
-
var connect = bdtUIkit.connect;
|
2812 |
-
var disconnect = bdtUIkit.disconnect;
|
2813 |
-
|
2814 |
-
if (!('MutationObserver' in window)) {
|
2815 |
-
return;
|
2816 |
-
}
|
2817 |
-
|
2818 |
-
if (document.body) {
|
2819 |
-
|
2820 |
-
fastdom.read(init);
|
2821 |
-
|
2822 |
-
} else {
|
2823 |
-
|
2824 |
-
(new MutationObserver(function () {
|
2825 |
-
|
2826 |
-
if (document.body) {
|
2827 |
-
this.disconnect();
|
2828 |
-
init();
|
2829 |
-
}
|
2830 |
-
|
2831 |
-
})).observe(document, {childList: true, subtree: true});
|
2832 |
-
|
2833 |
-
}
|
2834 |
-
|
2835 |
-
function init() {
|
2836 |
-
|
2837 |
-
apply(document.body, connect);
|
2838 |
-
|
2839 |
-
// Safari renders prior to first animation frame
|
2840 |
-
fastdom.flush();
|
2841 |
-
|
2842 |
-
(new MutationObserver(function (mutations) { return mutations.forEach(applyMutation); })).observe(document, {
|
2843 |
-
childList: true,
|
2844 |
-
subtree: true,
|
2845 |
-
characterData: true,
|
2846 |
-
attributes: true
|
2847 |
-
});
|
2848 |
-
|
2849 |
-
bdtUIkit._initialized = true;
|
2850 |
-
}
|
2851 |
-
|
2852 |
-
function applyMutation(mutation) {
|
2853 |
-
|
2854 |
-
var target = mutation.target;
|
2855 |
-
var type = mutation.type;
|
2856 |
-
|
2857 |
-
var update = type !== 'attributes'
|
2858 |
-
? applyChildList(mutation)
|
2859 |
-
: applyAttribute(mutation);
|
2860 |
-
|
2861 |
-
update && bdtUIkit.update(target);
|
2862 |
-
|
2863 |
-
}
|
2864 |
-
|
2865 |
-
function applyAttribute(ref) {
|
2866 |
-
var target = ref.target;
|
2867 |
-
var attributeName = ref.attributeName;
|
2868 |
-
|
2869 |
-
|
2870 |
-
if (attributeName === 'href') {
|
2871 |
-
return true;
|
2872 |
-
}
|
2873 |
-
|
2874 |
-
var name = getComponentName(attributeName);
|
2875 |
-
|
2876 |
-
if (!name || !(name in bdtUIkit)) {
|
2877 |
-
return;
|
2878 |
-
}
|
2879 |
-
|
2880 |
-
if (hasAttr(target, attributeName)) {
|
2881 |
-
bdtUIkit[name](target);
|
2882 |
-
return true;
|
2883 |
-
}
|
2884 |
-
|
2885 |
-
var component = bdtUIkit.getComponent(target, name);
|
2886 |
-
|
2887 |
-
if (component) {
|
2888 |
-
component.$destroy();
|
2889 |
-
return true;
|
2890 |
-
}
|
2891 |
-
|
2892 |
-
}
|
2893 |
-
|
2894 |
-
function applyChildList(ref) {
|
2895 |
-
var addedNodes = ref.addedNodes;
|
2896 |
-
var removedNodes = ref.removedNodes;
|
2897 |
-
|
2898 |
-
|
2899 |
-
for (var i = 0; i < addedNodes.length; i++) {
|
2900 |
-
apply(addedNodes[i], connect);
|
2901 |
-
}
|
2902 |
-
|
2903 |
-
for (var i$1 = 0; i$1 < removedNodes.length; i$1++) {
|
2904 |
-
apply(removedNodes[i$1], disconnect);
|
2905 |
-
}
|
2906 |
-
|
2907 |
-
return true;
|
2908 |
-
}
|
2909 |
-
|
2910 |
-
function apply(node, fn) {
|
2911 |
-
|
2912 |
-
if (node.nodeType !== 1 || hasAttr(node, 'bdt-no-boot')) {
|
2913 |
-
return;
|
2914 |
-
}
|
2915 |
-
|
2916 |
-
fn(node);
|
2917 |
-
node = node.firstElementChild;
|
2918 |
-
while (node) {
|
2919 |
-
var next = node.nextElementSibling;
|
2920 |
-
apply(node, fn);
|
2921 |
-
node = next;
|
2922 |
-
}
|
2923 |
-
}
|
2924 |
-
|
2925 |
-
}
|
2926 |
-
|
2927 |
-
function globalAPI (bdtUIkit) {
|
2928 |
-
|
2929 |
-
var DATA = bdtUIkit.data;
|
2930 |
-
|
2931 |
-
bdtUIkit.use = function (plugin) {
|
2932 |
-
|
2933 |
-
if (plugin.installed) {
|
2934 |
-
return;
|
2935 |
-
}
|
2936 |
-
|
2937 |
-
plugin.call(null, this);
|
2938 |
-
plugin.installed = true;
|
2939 |
-
|
2940 |
-
return this;
|
2941 |
-
};
|
2942 |
-
|
2943 |
-
bdtUIkit.mixin = function (mixin, component) {
|
2944 |
-
component = (isString(component) ? bdtUIkit.component(component) : component) || this;
|
2945 |
-
component.options = mergeOptions(component.options, mixin);
|
2946 |
-
};
|
2947 |
-
|
2948 |
-
bdtUIkit.extend = function (options) {
|
2949 |
-
|
2950 |
-
options = options || {};
|
2951 |
-
|
2952 |
-
var Super = this;
|
2953 |
-
var Sub = function bdtUIkitComponent(options) {
|
2954 |
-
this._init(options);
|
2955 |
-
};
|
2956 |
-
|
2957 |
-
Sub.prototype = Object.create(Super.prototype);
|
2958 |
-
Sub.prototype.constructor = Sub;
|
2959 |
-
Sub.options = mergeOptions(Super.options, options);
|
2960 |
-
|
2961 |
-
Sub.super = Super;
|
2962 |
-
Sub.extend = Super.extend;
|
2963 |
-
|
2964 |
-
return Sub;
|
2965 |
-
};
|
2966 |
-
|
2967 |
-
bdtUIkit.update = function (element, e) {
|
2968 |
-
|
2969 |
-
element = element ? toNode(element) : document.body;
|
2970 |
-
|
2971 |
-
path(element, function (element) { return update(element[DATA], e); });
|
2972 |
-
apply(element, function (element) { return update(element[DATA], e); });
|
2973 |
-
|
2974 |
-
};
|
2975 |
-
|
2976 |
-
var container;
|
2977 |
-
Object.defineProperty(bdtUIkit, 'container', {
|
2978 |
-
|
2979 |
-
get: function() {
|
2980 |
-
return container || document.body;
|
2981 |
-
},
|
2982 |
-
|
2983 |
-
set: function(element) {
|
2984 |
-
container = $(element);
|
2985 |
-
}
|
2986 |
-
|
2987 |
-
});
|
2988 |
-
|
2989 |
-
function update(data, e) {
|
2990 |
-
|
2991 |
-
if (!data) {
|
2992 |
-
return;
|
2993 |
-
}
|
2994 |
-
|
2995 |
-
for (var name in data) {
|
2996 |
-
if (data[name]._connected) {
|
2997 |
-
data[name]._callUpdate(e);
|
2998 |
-
}
|
2999 |
-
}
|
3000 |
-
|
3001 |
-
}
|
3002 |
-
|
3003 |
-
function path(node, fn) {
|
3004 |
-
if (node && node !== document.body && node.parentNode) {
|
3005 |
-
path(node.parentNode, fn);
|
3006 |
-
fn(node.parentNode);
|
3007 |
-
}
|
3008 |
-
}
|
3009 |
-
|
3010 |
-
}
|
3011 |
-
|
3012 |
-
function hooksAPI (bdtUIkit) {
|
3013 |
-
|
3014 |
-
bdtUIkit.prototype._callHook = function (hook) {
|
3015 |
-
var this$1 = this;
|
3016 |
-
|
3017 |
-
|
3018 |
-
var handlers = this.$options[hook];
|
3019 |
-
|
3020 |
-
if (handlers) {
|
3021 |
-
handlers.forEach(function (handler) { return handler.call(this$1); });
|
3022 |
-
}
|
3023 |
-
};
|
3024 |
-
|
3025 |
-
bdtUIkit.prototype._callConnected = function () {
|
3026 |
-
|
3027 |
-
if (this._connected) {
|
3028 |
-
return;
|
3029 |
-
}
|
3030 |
-
|
3031 |
-
this._data = {};
|
3032 |
-
this._computeds = {};
|
3033 |
-
this._initProps();
|
3034 |
-
|
3035 |
-
this._callHook('beforeConnect');
|
3036 |
-
this._connected = true;
|
3037 |
-
|
3038 |
-
this._initEvents();
|
3039 |
-
this._initObserver();
|
3040 |
-
|
3041 |
-
this._callHook('connected');
|
3042 |
-
this._callUpdate();
|
3043 |
-
};
|
3044 |
-
|
3045 |
-
bdtUIkit.prototype._callDisconnected = function () {
|
3046 |
-
|
3047 |
-
if (!this._connected) {
|
3048 |
-
return;
|
3049 |
-
}
|
3050 |
-
|
3051 |
-
this._callHook('beforeDisconnect');
|
3052 |
-
|
3053 |
-
if (this._observer) {
|
3054 |
-
this._observer.disconnect();
|
3055 |
-
this._observer = null;
|
3056 |
-
}
|
3057 |
-
|
3058 |
-
this._unbindEvents();
|
3059 |
-
this._callHook('disconnected');
|
3060 |
-
|
3061 |
-
this._connected = false;
|
3062 |
-
|
3063 |
-
};
|
3064 |
-
|
3065 |
-
bdtUIkit.prototype._callUpdate = function (e) {
|
3066 |
-
var this$1 = this;
|
3067 |
-
if ( e === void 0 ) e = 'update';
|
3068 |
-
|
3069 |
-
|
3070 |
-
var type = e.type || e;
|
3071 |
-
|
3072 |
-
if (includes(['update', 'resize'], type)) {
|
3073 |
-
this._callWatches();
|
3074 |
-
}
|
3075 |
-
|
3076 |
-
var updates = this.$options.update;
|
3077 |
-
var ref = this._frames;
|
3078 |
-
var reads = ref.reads;
|
3079 |
-
var writes = ref.writes;
|
3080 |
-
|
3081 |
-
if (!updates) {
|
3082 |
-
return;
|
3083 |
-
}
|
3084 |
-
|
3085 |
-
updates.forEach(function (ref, i) {
|
3086 |
-
var read = ref.read;
|
3087 |
-
var write = ref.write;
|
3088 |
-
var events = ref.events;
|
3089 |
-
|
3090 |
-
|
3091 |
-
if (type !== 'update' && !includes(events, type)) {
|
3092 |
-
return;
|
3093 |
-
}
|
3094 |
-
|
3095 |
-
if (read && !includes(fastdom.reads, reads[i])) {
|
3096 |
-
reads[i] = fastdom.read(function () {
|
3097 |
-
|
3098 |
-
var result = this$1._connected && read.call(this$1, this$1._data, type);
|
3099 |
-
|
3100 |
-
if (result === false && write) {
|
3101 |
-
fastdom.clear(writes[i]);
|
3102 |
-
} else if (isPlainObject(result)) {
|
3103 |
-
assign(this$1._data, result);
|
3104 |
-
}
|
3105 |
-
});
|
3106 |
-
}
|
3107 |
-
|
3108 |
-
if (write && !includes(fastdom.writes, writes[i])) {
|
3109 |
-
writes[i] = fastdom.write(function () { return this$1._connected && write.call(this$1, this$1._data, type); });
|
3110 |
-
}
|
3111 |
-
|
3112 |
-
});
|
3113 |
-
|
3114 |
-
};
|
3115 |
-
|
3116 |
-
}
|
3117 |
-
|
3118 |
-
function stateAPI (bdtUIkit) {
|
3119 |
-
|
3120 |
-
var uid = 0;
|
3121 |
-
|
3122 |
-
bdtUIkit.prototype._init = function (options) {
|
3123 |
-
|
3124 |
-
options = options || {};
|
3125 |
-
options.data = normalizeData(options, this.constructor.options);
|
3126 |
-
|
3127 |
-
this.$options = mergeOptions(this.constructor.options, options, this);
|
3128 |
-
this.$el = null;
|
3129 |
-
this.$props = {};
|
3130 |
-
|
3131 |
-
this._frames = {reads: {}, writes: {}};
|
3132 |
-
this._events = [];
|
3133 |
-
|
3134 |
-
this._uid = uid++;
|
3135 |
-
this._initData();
|
3136 |
-
this._initMethods();
|
3137 |
-
this._initComputeds();
|
3138 |
-
this._callHook('created');
|
3139 |
-
|
3140 |
-
if (options.el) {
|
3141 |
-
this.$mount(options.el);
|
3142 |
-
}
|
3143 |
-
};
|
3144 |
-
|
3145 |
-
bdtUIkit.prototype._initData = function () {
|
3146 |
-
|
3147 |
-
var ref = this.$options;
|
3148 |
-
var data = ref.data; if ( data === void 0 ) data = {};
|
3149 |
-
|
3150 |
-
for (var key in data) {
|
3151 |
-
this.$props[key] = this[key] = data[key];
|
3152 |
-
}
|
3153 |
-
};
|
3154 |
-
|
3155 |
-
bdtUIkit.prototype._initMethods = function () {
|
3156 |
-
|
3157 |
-
var ref = this.$options;
|
3158 |
-
var methods = ref.methods;
|
3159 |
-
|
3160 |
-
if (methods) {
|
3161 |
-
for (var key in methods) {
|
3162 |
-
this[key] = methods[key].bind(this);
|
3163 |
-
}
|
3164 |
-
}
|
3165 |
-
};
|
3166 |
-
|
3167 |
-
bdtUIkit.prototype._initComputeds = function () {
|
3168 |
-
|
3169 |
-
var ref = this.$options;
|
3170 |
-
var computed = ref.computed;
|
3171 |
-
|
3172 |
-
this._computeds = {};
|
3173 |
-
|
3174 |
-
if (computed) {
|
3175 |
-
for (var key in computed) {
|
3176 |
-
registerComputed(this, key, computed[key]);
|
3177 |
-
}
|
3178 |
-
}
|
3179 |
-
};
|
3180 |
-
|
3181 |
-
bdtUIkit.prototype._callWatches = function () {
|
3182 |
-
|
3183 |
-
var ref = this;
|
3184 |
-
var computed = ref.$options.computed;
|
3185 |
-
var _computeds = ref._computeds;
|
3186 |
-
|
3187 |
-
for (var key in _computeds) {
|
3188 |
-
|
3189 |
-
var value = _computeds[key];
|
3190 |
-
delete _computeds[key];
|
3191 |
-
|
3192 |
-
if (computed[key].watch && !isEqual(value, this[key])) {
|
3193 |
-
computed[key].watch.call(this, this[key], value);
|
3194 |
-
}
|
3195 |
-
|
3196 |
-
}
|
3197 |
-
|
3198 |
-
};
|
3199 |
-
|
3200 |
-
bdtUIkit.prototype._initProps = function (props) {
|
3201 |
-
|
3202 |
-
var key;
|
3203 |
-
|
3204 |
-
props = props || getProps(this.$options, this.$name);
|
3205 |
-
|
3206 |
-
for (key in props) {
|
3207 |
-
if (!isUndefined(props[key])) {
|
3208 |
-
this.$props[key] = props[key];
|
3209 |
-
}
|
3210 |
-
}
|
3211 |
-
|
3212 |
-
var exclude = [this.$options.computed, this.$options.methods];
|
3213 |
-
for (key in this.$props) {
|
3214 |
-
if (key in props && notIn(exclude, key)) {
|
3215 |
-
this[key] = this.$props[key];
|
3216 |
-
}
|
3217 |
-
}
|
3218 |
-
};
|
3219 |
-
|
3220 |
-
bdtUIkit.prototype._initEvents = function () {
|
3221 |
-
var this$1 = this;
|
3222 |
-
|
3223 |
-
|
3224 |
-
var ref = this.$options;
|
3225 |
-
var events = ref.events;
|
3226 |
-
|
3227 |
-
if (events) {
|
3228 |
-
|
3229 |
-
events.forEach(function (event) {
|
3230 |
-
|
3231 |
-
if (!hasOwn(event, 'handler')) {
|
3232 |
-
for (var key in event) {
|
3233 |
-
registerEvent(this$1, event[key], key);
|
3234 |
-
}
|
3235 |
-
} else {
|
3236 |
-
registerEvent(this$1, event);
|
3237 |
-
}
|
3238 |
-
|
3239 |
-
});
|
3240 |
-
}
|
3241 |
-
};
|
3242 |
-
|
3243 |
-
bdtUIkit.prototype._unbindEvents = function () {
|
3244 |
-
this._events.forEach(function (unbind) { return unbind(); });
|
3245 |
-
this._events = [];
|
3246 |
-
};
|
3247 |
-
|
3248 |
-
bdtUIkit.prototype._initObserver = function () {
|
3249 |
-
var this$1 = this;
|
3250 |
-
|
3251 |
-
|
3252 |
-
var ref = this.$options;
|
3253 |
-
var attrs = ref.attrs;
|
3254 |
-
var props = ref.props;
|
3255 |
-
var el = ref.el;
|
3256 |
-
if (this._observer || !props || attrs === false) {
|
3257 |
-
return;
|
3258 |
-
}
|
3259 |
-
|
3260 |
-
attrs = isArray(attrs) ? attrs : Object.keys(props);
|
3261 |
-
|
3262 |
-
this._observer = new MutationObserver(function () {
|
3263 |
-
|
3264 |
-
var data = getProps(this$1.$options, this$1.$name);
|
3265 |
-
if (attrs.some(function (key) { return !isUndefined(data[key]) && data[key] !== this$1.$props[key]; })) {
|
3266 |
-
this$1.$reset();
|
3267 |
-
}
|
3268 |
-
|
3269 |
-
});
|
3270 |
-
|
3271 |
-
var filter = attrs.map(function (key) { return hyphenate(key); }).concat(this.$name);
|
3272 |
-
|
3273 |
-
this._observer.observe(el, {
|
3274 |
-
attributes: true,
|
3275 |
-
attributeFilter: filter.concat(filter.map(function (key) { return ("data-" + key); }))
|
3276 |
-
});
|
3277 |
-
};
|
3278 |
-
|
3279 |
-
function getProps(opts, name) {
|
3280 |
-
|
3281 |
-
var data$1 = {};
|
3282 |
-
var args = opts.args; if ( args === void 0 ) args = [];
|
3283 |
-
var props = opts.props; if ( props === void 0 ) props = {};
|
3284 |
-
var el = opts.el;
|
3285 |
-
|
3286 |
-
if (!props) {
|
3287 |
-
return data$1;
|
3288 |
-
}
|
3289 |
-
|
3290 |
-
for (var key in props) {
|
3291 |
-
var prop = hyphenate(key);
|
3292 |
-
var value = data(el, prop);
|
3293 |
-
|
3294 |
-
if (!isUndefined(value)) {
|
3295 |
-
|
3296 |
-
value = props[key] === Boolean && value === ''
|
3297 |
-
? true
|
3298 |
-
: coerce(props[key], value);
|
3299 |
-
|
3300 |
-
if (prop === 'target' && (!value || startsWith(value, '_'))) {
|
3301 |
-
continue;
|
3302 |
-
}
|
3303 |
-
|
3304 |
-
data$1[key] = value;
|
3305 |
-
}
|
3306 |
-
}
|
3307 |
-
|
3308 |
-
var options = parseOptions(data(el, name), args);
|
3309 |
-
|
3310 |
-
for (var key$1 in options) {
|
3311 |
-
var prop$1 = camelize(key$1);
|
3312 |
-
if (props[prop$1] !== undefined) {
|
3313 |
-
data$1[prop$1] = coerce(props[prop$1], options[key$1]);
|
3314 |
-
}
|
3315 |
-
}
|
3316 |
-
|
3317 |
-
return data$1;
|
3318 |
-
}
|
3319 |
-
|
3320 |
-
function registerComputed(component, key, cb) {
|
3321 |
-
Object.defineProperty(component, key, {
|
3322 |
-
|
3323 |
-
enumerable: true,
|
3324 |
-
|
3325 |
-
get: function() {
|
3326 |
-
|
3327 |
-
var _computeds = component._computeds;
|
3328 |
-
var $props = component.$props;
|
3329 |
-
var $el = component.$el;
|
3330 |
-
|
3331 |
-
if (!hasOwn(_computeds, key)) {
|
3332 |
-
_computeds[key] = (cb.get || cb).call(component, $props, $el);
|
3333 |
-
}
|
3334 |
-
|
3335 |
-
return _computeds[key];
|
3336 |
-
},
|
3337 |
-
|
3338 |
-
set: function(value) {
|
3339 |
-
|
3340 |
-
var _computeds = component._computeds;
|
3341 |
-
|
3342 |
-
_computeds[key] = cb.set ? cb.set.call(component, value) : value;
|
3343 |
-
|
3344 |
-
if (isUndefined(_computeds[key])) {
|
3345 |
-
delete _computeds[key];
|
3346 |
-
}
|
3347 |
-
}
|
3348 |
-
|
3349 |
-
});
|
3350 |
-
}
|
3351 |
-
|
3352 |
-
function registerEvent(component, event, key) {
|
3353 |
-
|
3354 |
-
if (!isPlainObject(event)) {
|
3355 |
-
event = ({name: key, handler: event});
|
3356 |
-
}
|
3357 |
-
|
3358 |
-
var name = event.name;
|
3359 |
-
var el = event.el;
|
3360 |
-
var handler = event.handler;
|
3361 |
-
var capture = event.capture;
|
3362 |
-
var passive = event.passive;
|
3363 |
-
var delegate = event.delegate;
|
3364 |
-
var filter = event.filter;
|
3365 |
-
var self = event.self;
|
3366 |
-
el = isFunction(el)
|
3367 |
-
? el.call(component)
|
3368 |
-
: el || component.$el;
|
3369 |
-
|
3370 |
-
if (isArray(el)) {
|
3371 |
-
el.forEach(function (el) { return registerEvent(component, assign({}, event, {el: el}), key); });
|
3372 |
-
return;
|
3373 |
-
}
|
3374 |
-
|
3375 |
-
if (!el || filter && !filter.call(component)) {
|
3376 |
-
return;
|
3377 |
-
}
|
3378 |
-
|
3379 |
-
component._events.push(
|
3380 |
-
on(
|
3381 |
-
el,
|
3382 |
-
name,
|
3383 |
-
!delegate
|
3384 |
-
? null
|
3385 |
-
: isString(delegate)
|
3386 |
-
? delegate
|
3387 |
-
: delegate.call(component),
|
3388 |
-
isString(handler) ? component[handler] : handler.bind(component),
|
3389 |
-
{passive: passive, capture: capture, self: self}
|
3390 |
-
)
|
3391 |
-
);
|
3392 |
-
|
3393 |
-
}
|
3394 |
-
|
3395 |
-
function notIn(options, key) {
|
3396 |
-
return options.every(function (arr) { return !arr || !hasOwn(arr, key); });
|
3397 |
-
}
|
3398 |
-
|
3399 |
-
function coerce(type, value) {
|
3400 |
-
|
3401 |
-
if (type === Boolean) {
|
3402 |
-
return toBoolean(value);
|
3403 |
-
} else if (type === Number) {
|
3404 |
-
return toNumber(value);
|
3405 |
-
} else if (type === 'list') {
|
3406 |
-
return toList(value);
|
3407 |
-
}
|
3408 |
-
|
3409 |
-
return type ? type(value) : value;
|
3410 |
-
}
|
3411 |
-
|
3412 |
-
function normalizeData(ref, ref$1) {
|
3413 |
-
var data = ref.data;
|
3414 |
-
var el = ref.el;
|
3415 |
-
var args = ref$1.args;
|
3416 |
-
var props = ref$1.props; if ( props === void 0 ) props = {};
|
3417 |
-
|
3418 |
-
data = isArray(data)
|
3419 |
-
? !isEmpty(args)
|
3420 |
-
? data.slice(0, args.length).reduce(function (data, value, index) {
|
3421 |
-
if (isPlainObject(value)) {
|
3422 |
-
assign(data, value);
|
3423 |
-
} else {
|
3424 |
-
data[args[index]] = value;
|
3425 |
-
}
|
3426 |
-
return data;
|
3427 |
-
}, {})
|
3428 |
-
: undefined
|
3429 |
-
: data;
|
3430 |
-
|
3431 |
-
if (data) {
|
3432 |
-
for (var key in data) {
|
3433 |
-
if (isUndefined(data[key])) {
|
3434 |
-
delete data[key];
|
3435 |
-
} else {
|
3436 |
-
data[key] = props[key] ? coerce(props[key], data[key]) : data[key];
|
3437 |
-
}
|
3438 |
-
}
|
3439 |
-
}
|
3440 |
-
|
3441 |
-
return data;
|
3442 |
-
}
|
3443 |
-
}
|
3444 |
-
|
3445 |
-
function instanceAPI (bdtUIkit) {
|
3446 |
-
|
3447 |
-
var DATA = bdtUIkit.data;
|
3448 |
-
|
3449 |
-
bdtUIkit.prototype.$mount = function (el) {
|
3450 |
-
|
3451 |
-
var ref = this.$options;
|
3452 |
-
var name = ref.name;
|
3453 |
-
|
3454 |
-
if (!el[DATA]) {
|
3455 |
-
el[DATA] = {};
|
3456 |
-
}
|
3457 |
-
|
3458 |
-
if (el[DATA][name]) {
|
3459 |
-
return;
|
3460 |
-
}
|
3461 |
-
|
3462 |
-
el[DATA][name] = this;
|
3463 |
-
|
3464 |
-
this.$el = this.$options.el = this.$options.el || el;
|
3465 |
-
|
3466 |
-
if (within(el, document)) {
|
3467 |
-
this._callConnected();
|
3468 |
-
}
|
3469 |
-
};
|
3470 |
-
|
3471 |
-
bdtUIkit.prototype.$emit = function (e) {
|
3472 |
-
this._callUpdate(e);
|
3473 |
-
};
|
3474 |
-
|
3475 |
-
bdtUIkit.prototype.$reset = function () {
|
3476 |
-
this._callDisconnected();
|
3477 |
-
this._callConnected();
|
3478 |
-
};
|
3479 |
-
|
3480 |
-
bdtUIkit.prototype.$destroy = function (removeEl) {
|
3481 |
-
if ( removeEl === void 0 ) removeEl = false;
|
3482 |
-
|
3483 |
-
|
3484 |
-
var ref = this.$options;
|
3485 |
-
var el = ref.el;
|
3486 |
-
var name = ref.name;
|
3487 |
-
|
3488 |
-
if (el) {
|
3489 |
-
this._callDisconnected();
|
3490 |
-
}
|
3491 |
-
|
3492 |
-
this._callHook('destroy');
|
3493 |
-
|
3494 |
-
if (!el || !el[DATA]) {
|
3495 |
-
return;
|
3496 |
-
}
|
3497 |
-
|
3498 |
-
delete el[DATA][name];
|
3499 |
-
|
3500 |
-
if (!isEmpty(el[DATA])) {
|
3501 |
-
delete el[DATA];
|
3502 |
-
}
|
3503 |
-
|
3504 |
-
if (removeEl) {
|
3505 |
-
remove(this.$el);
|
3506 |
-
}
|
3507 |
-
};
|
3508 |
-
|
3509 |
-
bdtUIkit.prototype.$create = function (component, element, data) {
|
3510 |
-
return bdtUIkit[component](element, data);
|
3511 |
-
};
|
3512 |
-
|
3513 |
-
bdtUIkit.prototype.$update = bdtUIkit.update;
|
3514 |
-
bdtUIkit.prototype.$getComponent = bdtUIkit.getComponent;
|
3515 |
-
|
3516 |
-
var names = {};
|
3517 |
-
Object.defineProperties(bdtUIkit.prototype, {
|
3518 |
-
|
3519 |
-
$container: Object.getOwnPropertyDescriptor(bdtUIkit, 'container'),
|
3520 |
-
|
3521 |
-
$name: {
|
3522 |
-
|
3523 |
-
get: function() {
|
3524 |
-
var ref = this.$options;
|
3525 |
-
var name = ref.name;
|
3526 |
-
|
3527 |
-
if (!names[name]) {
|
3528 |
-
names[name] = bdtUIkit.prefix + hyphenate(name);
|
3529 |
-
}
|
3530 |
-
|
3531 |
-
return names[name];
|
3532 |
-
}
|
3533 |
-
|
3534 |
-
}
|
3535 |
-
|
3536 |
-
});
|
3537 |
-
|
3538 |
-
}
|
3539 |
-
|
3540 |
-
var bdtUIkit = function (options) {
|
3541 |
-
this._init(options);
|
3542 |
-
};
|
3543 |
-
|
3544 |
-
bdtUIkit.util = util;
|
3545 |
-
bdtUIkit.data = '__uikit__';
|
3546 |
-
bdtUIkit.prefix = 'bdt-';
|
3547 |
-
bdtUIkit.options = {};
|
3548 |
-
|
3549 |
-
globalAPI(bdtUIkit);
|
3550 |
-
hooksAPI(bdtUIkit);
|
3551 |
-
stateAPI(bdtUIkit);
|
3552 |
-
componentAPI(bdtUIkit);
|
3553 |
-
instanceAPI(bdtUIkit);
|
3554 |
-
|
3555 |
-
var Class = {
|
3556 |
-
|
3557 |
-
connected: function() {
|
3558 |
-
!hasClass(this.$el, this.$name) && addClass(this.$el, this.$name);
|
3559 |
-
}
|
3560 |
-
|
3561 |
-
};
|
3562 |
-
|
3563 |
-
var Togglable = {
|
3564 |
-
|
3565 |
-
props: {
|
3566 |
-
cls: Boolean,
|
3567 |
-
animation: 'list',
|
3568 |
-
duration: Number,
|
3569 |
-
origin: String,
|
3570 |
-
transition: String,
|
3571 |
-
queued: Boolean
|
3572 |
-
},
|
3573 |
-
|
3574 |
-
data: {
|
3575 |
-
cls: false,
|
3576 |
-
animation: [false],
|
3577 |
-
duration: 200,
|
3578 |
-
origin: false,
|
3579 |
-
transition: 'linear',
|
3580 |
-
queued: false,
|
3581 |
-
|
3582 |
-
initProps: {
|
3583 |
-
overflow: '',
|
3584 |
-
height: '',
|
3585 |
-
paddingTop: '',
|
3586 |
-
paddingBottom: '',
|
3587 |
-
marginTop: '',
|
3588 |
-
marginBottom: ''
|
3589 |
-
},
|
3590 |
-
|
3591 |
-
hideProps: {
|
3592 |
-
overflow: 'hidden',
|
3593 |
-
height: 0,
|
3594 |
-
paddingTop: 0,
|
3595 |
-
paddingBottom: 0,
|
3596 |
-
marginTop: 0,
|
3597 |
-
marginBottom: 0
|
3598 |
-
}
|
3599 |
-
|
3600 |
-
},
|
3601 |
-
|
3602 |
-
computed: {
|
3603 |
-
|
3604 |
-
hasAnimation: function(ref) {
|
3605 |
-
var animation = ref.animation;
|
3606 |
-
|
3607 |
-
return !!animation[0];
|
3608 |
-
},
|
3609 |
-
|
3610 |
-
hasTransition: function(ref) {
|
3611 |
-
var animation = ref.animation;
|
3612 |
-
|
3613 |
-
return this.hasAnimation && animation[0] === true;
|
3614 |
-
}
|
3615 |
-
|
3616 |
-
},
|
3617 |
-
|
3618 |
-
methods: {
|
3619 |
-
|
3620 |
-
toggleElement: function(targets, show, animate) {
|
3621 |
-
var this$1 = this;
|
3622 |
-
|
3623 |
-
return new Promise(function (resolve) {
|
3624 |
-
|
3625 |
-
targets = toNodes(targets);
|
3626 |
-
|
3627 |
-
var all = function (targets) { return Promise.all(targets.map(function (el) { return this$1._toggleElement(el, show, animate); })); };
|
3628 |
-
var toggled = targets.filter(function (el) { return this$1.isToggled(el); });
|
3629 |
-
var untoggled = targets.filter(function (el) { return !includes(toggled, el); });
|
3630 |
-
|
3631 |
-
var p;
|
3632 |
-
|
3633 |
-
if (!this$1.queued || !isUndefined(animate) || !isUndefined(show) || !this$1.hasAnimation || targets.length < 2) {
|
3634 |
-
|
3635 |
-
p = all(untoggled.concat(toggled));
|
3636 |
-
|
3637 |
-
} else {
|
3638 |
-
|
3639 |
-
var body = document.body;
|
3640 |
-
var scroll = body.scrollTop;
|
3641 |
-
var el = toggled[0];
|
3642 |
-
var inProgress = Animation.inProgress(el) && hasClass(el, 'bdt-animation-leave')
|
3643 |
-
|| Transition.inProgress(el) && el.style.height === '0px';
|
3644 |
-
|
3645 |
-
p = all(toggled);
|
3646 |
-
|
3647 |
-
if (!inProgress) {
|
3648 |
-
p = p.then(function () {
|
3649 |
-
var p = all(untoggled);
|
3650 |
-
body.scrollTop = scroll;
|
3651 |
-
return p;
|
3652 |
-
});
|
3653 |
-
}
|
3654 |
-
|
3655 |
-
}
|
3656 |
-
|
3657 |
-
p.then(resolve, noop);
|
3658 |
-
|
3659 |
-
});
|
3660 |
-
},
|
3661 |
-
|
3662 |
-
toggleNow: function(targets, show) {
|
3663 |
-
var this$1 = this;
|
3664 |
-
|
3665 |
-
return new Promise(function (resolve) { return Promise.all(toNodes(targets).map(function (el) { return this$1._toggleElement(el, show, false); })).then(resolve, noop); });
|
3666 |
-
},
|
3667 |
-
|
3668 |
-
isToggled: function(el) {
|
3669 |
-
var nodes = toNodes(el || this.$el);
|
3670 |
-
return this.cls
|
3671 |
-
? hasClass(nodes, this.cls.split(' ')[0])
|
3672 |
-
: !hasAttr(nodes, 'hidden');
|
3673 |
-
},
|
3674 |
-
|
3675 |
-
updateAria: function(el) {
|
3676 |
-
if (this.cls === false) {
|
3677 |
-
attr(el, 'aria-hidden', !this.isToggled(el));
|
3678 |
-
}
|
3679 |
-
},
|
3680 |
-
|
3681 |
-
_toggleElement: function(el, show, animate) {
|
3682 |
-
var this$1 = this;
|
3683 |
-
|
3684 |
-
|
3685 |
-
show = isBoolean(show)
|
3686 |
-
? show
|
3687 |
-
: Animation.inProgress(el)
|
3688 |
-
? hasClass(el, 'bdt-animation-leave')
|
3689 |
-
: Transition.inProgress(el)
|
3690 |
-
? el.style.height === '0px'
|
3691 |
-
: !this.isToggled(el);
|
3692 |
-
|
3693 |
-
if (!trigger(el, ("before" + (show ? 'show' : 'hide')), [this])) {
|
3694 |
-
return Promise.reject();
|
3695 |
-
}
|
3696 |
-
|
3697 |
-
var promise = (
|
3698 |
-
isFunction(animate)
|
3699 |
-
? animate
|
3700 |
-
: animate === false || !this.hasAnimation
|
3701 |
-
? this._toggle
|
3702 |
-
: this.hasTransition
|
3703 |
-
? toggleHeight(this)
|
3704 |
-
: toggleAnimation(this)
|
3705 |
-
)(el, show);
|
3706 |
-
|
3707 |
-
trigger(el, show ? 'show' : 'hide', [this]);
|
3708 |
-
|
3709 |
-
var final = function () {
|
3710 |
-
trigger(el, show ? 'shown' : 'hidden', [this$1]);
|
3711 |
-
this$1.$update(el);
|
3712 |
-
};
|
3713 |
-
|
3714 |
-
return promise ? promise.then(final) : Promise.resolve(final());
|
3715 |
-
},
|
3716 |
-
|
3717 |
-
_toggle: function(el, toggled) {
|
3718 |
-
|
3719 |
-
if (!el) {
|
3720 |
-
return;
|
3721 |
-
}
|
3722 |
-
|
3723 |
-
toggled = Boolean(toggled);
|
3724 |
-
|
3725 |
-
var changed;
|
3726 |
-
if (this.cls) {
|
3727 |
-
changed = includes(this.cls, ' ') || toggled !== hasClass(el, this.cls);
|
3728 |
-
changed && toggleClass(el, this.cls, includes(this.cls, ' ') ? undefined : toggled);
|
3729 |
-
} else {
|
3730 |
-
changed = toggled === hasAttr(el, 'hidden');
|
3731 |
-
changed && attr(el, 'hidden', !toggled ? '' : null);
|
3732 |
-
}
|
3733 |
-
|
3734 |
-
$$('[autofocus]', el).some(function (el) { return isVisible(el) ? el.focus() || true : el.blur(); });
|
3735 |
-
|
3736 |
-
this.updateAria(el);
|
3737 |
-
changed && this.$update(el);
|
3738 |
-
}
|
3739 |
-
|
3740 |
-
}
|
3741 |
-
|
3742 |
-
};
|
3743 |
-
|
3744 |
-
function toggleHeight(ref) {
|
3745 |
-
var isToggled = ref.isToggled;
|
3746 |
-
var duration = ref.duration;
|
3747 |
-
var initProps = ref.initProps;
|
3748 |
-
var hideProps = ref.hideProps;
|
3749 |
-
var transition = ref.transition;
|
3750 |
-
var _toggle = ref._toggle;
|
3751 |
-
|
3752 |
-
return function (el, show) {
|
3753 |
-
|
3754 |
-
var inProgress = Transition.inProgress(el);
|
3755 |
-
var inner = el.hasChildNodes ? toFloat(css(el.firstElementChild, 'marginTop')) + toFloat(css(el.lastElementChild, 'marginBottom')) : 0;
|
3756 |
-
var currentHeight = isVisible(el) ? height(el) + (inProgress ? 0 : inner) : 0;
|
3757 |
-
|
3758 |
-
Transition.cancel(el);
|
3759 |
-
|
3760 |
-
if (!isToggled(el)) {
|
3761 |
-
_toggle(el, true);
|
3762 |
-
}
|
3763 |
-
|
3764 |
-
height(el, '');
|
3765 |
-
|
3766 |
-
// Update child components first
|
3767 |
-
fastdom.flush();
|
3768 |
-
|
3769 |
-
var endHeight = height(el) + (inProgress ? 0 : inner);
|
3770 |
-
height(el, currentHeight);
|
3771 |
-
|
3772 |
-
return (show
|
3773 |
-
? Transition.start(el, assign({}, initProps, {overflow: 'hidden', height: endHeight}), Math.round(duration * (1 - currentHeight / endHeight)), transition)
|
3774 |
-
: Transition.start(el, hideProps, Math.round(duration * (currentHeight / endHeight)), transition).then(function () { return _toggle(el, false); })
|
3775 |
-
).then(function () { return css(el, initProps); });
|
3776 |
-
|
3777 |
-
};
|
3778 |
-
}
|
3779 |
-
|
3780 |
-
function toggleAnimation(ref) {
|
3781 |
-
var animation = ref.animation;
|
3782 |
-
var duration = ref.duration;
|
3783 |
-
var origin = ref.origin;
|
3784 |
-
var _toggle = ref._toggle;
|
3785 |
-
|
3786 |
-
return function (el, show) {
|
3787 |
-
|
3788 |
-
Animation.cancel(el);
|
3789 |
-
|
3790 |
-
if (show) {
|
3791 |
-
_toggle(el, true);
|
3792 |
-
return Animation.in(el, animation[0], duration, origin);
|
3793 |
-
}
|
3794 |
-
|
3795 |
-
return Animation.out(el, animation[1] || animation[0], duration, origin).then(function () { return _toggle(el, false); });
|
3796 |
-
};
|
3797 |
-
}
|
3798 |
-
|
3799 |
-
var Accordion = {
|
3800 |
-
|
3801 |
-
mixins: [Class, Togglable],
|
3802 |
-
|
3803 |
-
props: {
|
3804 |
-
targets: String,
|
3805 |
-
active: null,
|
3806 |
-
collapsible: Boolean,
|
3807 |
-
multiple: Boolean,
|
3808 |
-
toggle: String,
|
3809 |
-
content: String,
|
3810 |
-
transition: String
|
3811 |
-
},
|
3812 |
-
|
3813 |
-
data: {
|
3814 |
-
targets: '> *',
|
3815 |
-
active: false,
|
3816 |
-
animation: [true],
|
3817 |
-
collapsible: true,
|
3818 |
-
multiple: false,
|
3819 |
-
clsOpen: 'bdt-open',
|
3820 |
-
toggle: '> .bdt-accordion-title',
|
3821 |
-
content: '> .bdt-accordion-content',
|
3822 |
-
transition: 'ease'
|
3823 |
-
},
|
3824 |
-
|
3825 |
-
computed: {
|
3826 |
-
|
3827 |
-
items: function(ref, $el) {
|
3828 |
-
var targets = ref.targets;
|
3829 |
-
|
3830 |
-
return $$(targets, $el);
|
3831 |
-
}
|
3832 |
-
|
3833 |
-
},
|
3834 |
-
|
3835 |
-
events: [
|
3836 |
-
|
3837 |
-
{
|
3838 |
-
|
3839 |
-
name: 'click',
|
3840 |
-
|
3841 |
-
delegate: function() {
|
3842 |
-
return ((this.targets) + " " + (this.$props.toggle));
|
3843 |
-
},
|
3844 |
-
|
3845 |
-
handler: function(e) {
|
3846 |
-
e.preventDefault();
|
3847 |
-
this.toggle(index($$(((this.targets) + " " + (this.$props.toggle)), this.$el), e.current));
|
3848 |
-
}
|
3849 |
-
|
3850 |
-
}
|
3851 |
-
|
3852 |
-
],
|
3853 |
-
|
3854 |
-
connected: function() {
|
3855 |
-
|
3856 |
-
if (this.active === false) {
|
3857 |
-
return;
|
3858 |
-
}
|
3859 |
-
|
3860 |
-
var active = this.items[Number(this.active)];
|
3861 |
-
if (active && !hasClass(active, this.clsOpen)) {
|
3862 |
-
this.toggle(active, false);
|
3863 |
-
}
|
3864 |
-
},
|
3865 |
-
|
3866 |
-
update: function() {
|
3867 |
-
var this$1 = this;
|
3868 |
-
|
3869 |
-
|
3870 |
-
this.items.forEach(function (el) { return this$1._toggle($(this$1.content, el), hasClass(el, this$1.clsOpen)); });
|
3871 |
-
|
3872 |
-
var active = !this.collapsible && !hasClass(this.items, this.clsOpen) && this.items[0];
|
3873 |
-
if (active) {
|
3874 |
-
this.toggle(active, false);
|
3875 |
-
}
|
3876 |
-
},
|
3877 |
-
|
3878 |
-
methods: {
|
3879 |
-
|
3880 |
-
toggle: function(item, animate) {
|
3881 |
-
var this$1 = this;
|
3882 |
-
|
3883 |
-
|
3884 |
-
var index = getIndex(item, this.items);
|
3885 |
-
var active = filter(this.items, ("." + (this.clsOpen)));
|
3886 |
-
|
3887 |
-
item = this.items[index];
|
3888 |
-
|
3889 |
-
item && [item]
|
3890 |
-
.concat(!this.multiple && !includes(active, item) && active || [])
|
3891 |
-
.forEach(function (el) {
|
3892 |
-
|
3893 |
-
var isItem = el === item;
|
3894 |
-
var state = isItem && !hasClass(el, this$1.clsOpen);
|
3895 |
-
|
3896 |
-
if (!state && isItem && !this$1.collapsible && active.length < 2) {
|
3897 |
-
return;
|
3898 |
-
}
|
3899 |
-
|
3900 |
-
toggleClass(el, this$1.clsOpen, state);
|
3901 |
-
|
3902 |
-
var content = el._wrapper ? el._wrapper.firstElementChild : $(this$1.content, el);
|
3903 |
-
|
3904 |
-
if (!el._wrapper) {
|
3905 |
-
el._wrapper = wrapAll(content, '<div>');
|
3906 |
-
attr(el._wrapper, 'hidden', state ? '' : null);
|
3907 |
-
}
|
3908 |
-
|
3909 |
-
this$1._toggle(content, true);
|
3910 |
-
this$1.toggleElement(el._wrapper, state, animate).then(function () {
|
3911 |
-
|
3912 |
-
if (hasClass(el, this$1.clsOpen) !== state) {
|
3913 |
-
return;
|
3914 |
-
}
|
3915 |
-
|
3916 |
-
if (!state) {
|
3917 |
-
this$1._toggle(content, false);
|
3918 |
-
}
|
3919 |
-
|
3920 |
-
el._wrapper = null;
|
3921 |
-
unwrap(content);
|
3922 |
-
|
3923 |
-
});
|
3924 |
-
|
3925 |
-
});
|
3926 |
-
}
|
3927 |
-
|
3928 |
-
}
|
3929 |
-
|
3930 |
-
};
|
3931 |
-
|
3932 |
-
var Alert = {
|
3933 |
-
|
3934 |
-
mixins: [Class, Togglable],
|
3935 |
-
|
3936 |
-
args: 'animation',
|
3937 |
-
|
3938 |
-
props: {
|
3939 |
-
close: String
|
3940 |
-
},
|
3941 |
-
|
3942 |
-
data: {
|
3943 |
-
animation: [true],
|
3944 |
-
selClose: '.bdt-alert-close',
|
3945 |
-
duration: 150,
|
3946 |
-
hideProps: assign({opacity: 0}, Togglable.data.hideProps)
|
3947 |
-
},
|
3948 |
-
|
3949 |
-
events: [
|
3950 |
-
|
3951 |
-
{
|
3952 |
-
|
3953 |
-
name: 'click',
|
3954 |
-
|
3955 |
-
delegate: function() {
|
3956 |
-
return this.selClose;
|
3957 |
-
},
|
3958 |
-
|
3959 |
-
handler: function(e) {
|
3960 |
-
e.preventDefault();
|
3961 |
-
this.close();
|
3962 |
-
}
|
3963 |
-
|
3964 |
-
}
|
3965 |
-
|
3966 |
-
],
|
3967 |
-
|
3968 |
-
methods: {
|
3969 |
-
|
3970 |
-
close: function() {
|
3971 |
-
var this$1 = this;
|
3972 |
-
|
3973 |
-
this.toggleElement(this.$el).then(function () { return this$1.$destroy(true); });
|
3974 |
-
}
|
3975 |
-
|
3976 |
-
}
|
3977 |
-
|
3978 |
-
};
|
3979 |
-
|
3980 |
-
function Core (bdtUIkit) {
|
3981 |
-
|
3982 |
-
ready(function () {
|
3983 |
-
|
3984 |
-
bdtUIkit.update();
|
3985 |
-
on(window, 'load resize', function () { return bdtUIkit.update(null, 'resize'); });
|
3986 |
-
on(document, 'loadedmetadata load', function (ref) {
|
3987 |
-
var target = ref.target;
|
3988 |
-
|
3989 |
-
return bdtUIkit.update(target, 'resize');
|
3990 |
-
}, true);
|
3991 |
-
|
3992 |
-
// throttle `scroll` event (Safari triggers multiple `scroll` events per frame)
|
3993 |
-
var pending;
|
3994 |
-
on(window, 'scroll', function (e) {
|
3995 |
-
|
3996 |
-
if (pending) {
|
3997 |
-
return;
|
3998 |
-
}
|
3999 |
-
pending = true;
|
4000 |
-
fastdom.write(function () { return pending = false; });
|
4001 |
-
|
4002 |
-
var target = e.target;
|
4003 |
-
bdtUIkit.update(target.nodeType !== 1 ? document.body : target, e.type);
|
4004 |
-
|
4005 |
-
}, {passive: true, capture: true});
|
4006 |
-
|
4007 |
-
var started = 0;
|
4008 |
-
on(document, 'animationstart', function (ref) {
|
4009 |
-
var target = ref.target;
|
4010 |
-
|
4011 |
-
if ((css(target, 'animationName') || '').match(/^bdt-.*(left|right)/)) {
|
4012 |
-
|
4013 |
-
started++;
|
4014 |
-
css(document.body, 'overflowX', 'hidden');
|
4015 |
-
setTimeout(function () {
|
4016 |
-
if (!--started) {
|
4017 |
-
css(document.body, 'overflowX', '');
|
4018 |
-
}
|
4019 |
-
}, toMs(css(target, 'animationDuration')) + 100);
|
4020 |
-
}
|
4021 |
-
}, true);
|
4022 |
-
|
4023 |
-
var off;
|
4024 |
-
on(document, pointerDown, function (e) {
|
4025 |
-
|
4026 |
-
off && off();
|
4027 |
-
|
4028 |
-
if (!isTouch(e)) {
|
4029 |
-
return;
|
4030 |
-
}
|
4031 |
-
|
4032 |
-
// Handle Swipe Gesture
|
4033 |
-
var pos = getEventPos(e);
|
4034 |
-
var target = 'tagName' in e.target ? e.target : e.target.parentNode;
|
4035 |
-
off = once(document, (pointerUp + " " + pointerCancel), function (e) {
|
4036 |
-
|
4037 |
-
var ref = getEventPos(e);
|
4038 |
-
var x = ref.x;
|
4039 |
-
var y = ref.y;
|
4040 |
-
|
4041 |
-
// swipe
|
4042 |
-
if (target && x && Math.abs(pos.x - x) > 100 || y && Math.abs(pos.y - y) > 100) {
|
4043 |
-
|
4044 |
-
setTimeout(function () {
|
4045 |
-
trigger(target, 'swipe');
|
4046 |
-
trigger(target, ("swipe" + (swipeDirection(pos.x, pos.y, x, y))));
|
4047 |
-
});
|
4048 |
-
|
4049 |
-
}
|
4050 |
-
|
4051 |
-
});
|
4052 |
-
|
4053 |
-
// Force click event anywhere on iOS < 13
|
4054 |
-
if (pointerDown === 'touchstart') {
|
4055 |
-
css(document.body, 'cursor', 'pointer');
|
4056 |
-
once(document, (pointerUp + " " + pointerCancel), function () { return setTimeout(function () { return css(document.body, 'cursor', ''); }
|
4057 |
-
, 50); }
|
4058 |
-
);
|
4059 |
-
}
|
4060 |
-
|
4061 |
-
}, {passive: true});
|
4062 |
-
|
4063 |
-
});
|
4064 |
-
|
4065 |
-
}
|
4066 |
-
|
4067 |
-
function swipeDirection(x1, y1, x2, y2) {
|
4068 |
-
return Math.abs(x1 - x2) >= Math.abs(y1 - y2)
|
4069 |
-
? x1 - x2 > 0
|
4070 |
-
? 'Left'
|
4071 |
-
: 'Right'
|
4072 |
-
: y1 - y2 > 0
|
4073 |
-
? 'Up'
|
4074 |
-
: 'Down';
|
4075 |
-
}
|
4076 |
-
|
4077 |
-
var Video = {
|
4078 |
-
|
4079 |
-
args: 'autoplay',
|
4080 |
-
|
4081 |
-
props: {
|
4082 |
-
automute: Boolean,
|
4083 |
-
autoplay: Boolean
|
4084 |
-
},
|
4085 |
-
|
4086 |
-
data: {
|
4087 |
-
automute: false,
|
4088 |
-
autoplay: true
|
4089 |
-
},
|
4090 |
-
|
4091 |
-
computed: {
|
4092 |
-
|
4093 |
-
inView: function(ref) {
|
4094 |
-
var autoplay = ref.autoplay;
|
4095 |
-
|
4096 |
-
return autoplay === 'inview';
|
4097 |
-
}
|
4098 |
-
|
4099 |
-
},
|
4100 |
-
|
4101 |
-
connected: function() {
|
4102 |
-
|
4103 |
-
if (this.inView && !hasAttr(this.$el, 'preload')) {
|
4104 |
-
this.$el.preload = 'none';
|
4105 |
-
}
|
4106 |
-
|
4107 |
-
this.player = new Player(this.$el);
|
4108 |
-
|
4109 |
-
if (this.automute) {
|
4110 |
-
this.player.mute();
|
4111 |
-
}
|
4112 |
-
|
4113 |
-
},
|
4114 |
-
|
4115 |
-
update: {
|
4116 |
-
|
4117 |
-
read: function() {
|
4118 |
-
|
4119 |
-
return !this.player
|
4120 |
-
? false
|
4121 |
-
: {
|
4122 |
-
visible: isVisible(this.$el) && css(this.$el, 'visibility') !== 'hidden',
|
4123 |
-
inView: this.inView && isInView(this.$el)
|
4124 |
-
};
|
4125 |
-
},
|
4126 |
-
|
4127 |
-
write: function(ref) {
|
4128 |
-
var visible = ref.visible;
|
4129 |
-
var inView = ref.inView;
|
4130 |
-
|
4131 |
-
|
4132 |
-
if (!visible || this.inView && !inView) {
|
4133 |
-
this.player.pause();
|
4134 |
-
} else if (this.autoplay === true || this.inView && inView) {
|
4135 |
-
this.player.play();
|
4136 |
-
}
|
4137 |
-
|
4138 |
-
},
|
4139 |
-
|
4140 |
-
events: ['resize', 'scroll']
|
4141 |
-
|
4142 |
-
}
|
4143 |
-
|
4144 |
-
};
|
4145 |
-
|
4146 |
-
var Cover = {
|
4147 |
-
|
4148 |
-
mixins: [Class, Video],
|
4149 |
-
|
4150 |
-
props: {
|
4151 |
-
width: Number,
|
4152 |
-
height: Number
|
4153 |
-
},
|
4154 |
-
|
4155 |
-
data: {
|
4156 |
-
automute: true
|
4157 |
-
},
|
4158 |
-
|
4159 |
-
update: {
|
4160 |
-
|
4161 |
-
read: function() {
|
4162 |
-
|
4163 |
-
var el = this.$el;
|
4164 |
-
var ref = el.parentNode;
|
4165 |
-
var height = ref.offsetHeight;
|
4166 |
-
var width = ref.offsetWidth;
|
4167 |
-
var dim = Dimensions.cover(
|
4168 |
-
{
|
4169 |
-
width: this.width || el.naturalWidth || el.videoWidth || el.clientWidth,
|
4170 |
-
height: this.height || el.naturalHeight || el.videoHeight || el.clientHeight
|
4171 |
-
},
|
4172 |
-
{
|
4173 |
-
width: width + (width % 2 ? 1 : 0),
|
4174 |
-
height: height + (height % 2 ? 1 : 0)
|
4175 |
-
}
|
4176 |
-
);
|
4177 |
-
|
4178 |
-
if (!dim.width || !dim.height) {
|
4179 |
-
return false;
|
4180 |
-
}
|
4181 |
-
|
4182 |
-
return dim;
|
4183 |
-
},
|
4184 |
-
|
4185 |
-
write: function(ref) {
|
4186 |
-
var height = ref.height;
|
4187 |
-
var width = ref.width;
|
4188 |
-
|
4189 |
-
css(this.$el, {height: height, width: width});
|
4190 |
-
},
|
4191 |
-
|
4192 |
-
events: ['resize']
|
4193 |
-
|
4194 |
-
}
|
4195 |
-
|
4196 |
-
};
|
4197 |
-
|
4198 |
-
var Position = {
|
4199 |
-
|
4200 |
-
props: {
|
4201 |
-
pos: String,
|
4202 |
-
offset: null,
|
4203 |
-
flip: Boolean,
|
4204 |
-
clsPos: String
|
4205 |
-
},
|
4206 |
-
|
4207 |
-
data: {
|
4208 |
-
pos: ("bottom-" + (!isRtl ? 'left' : 'right')),
|
4209 |
-
flip: true,
|
4210 |
-
offset: false,
|
4211 |
-
clsPos: ''
|
4212 |
-
},
|
4213 |
-
|
4214 |
-
computed: {
|
4215 |
-
|
4216 |
-
pos: function(ref) {
|
4217 |
-
var pos = ref.pos;
|
4218 |
-
|
4219 |
-
return (pos + (!includes(pos, '-') ? '-center' : '')).split('-');
|
4220 |
-
},
|
4221 |
-
|
4222 |
-
dir: function() {
|
4223 |
-
return this.pos[0];
|
4224 |
-
},
|
4225 |
-
|
4226 |
-
align: function() {
|
4227 |
-
return this.pos[1];
|
4228 |
-
}
|
4229 |
-
|
4230 |
-
},
|
4231 |
-
|
4232 |
-
methods: {
|
4233 |
-
|
4234 |
-
positionAt: function(element, target, boundary) {
|
4235 |
-
|
4236 |
-
removeClasses(element, ((this.clsPos) + "-(top|bottom|left|right)(-[a-z]+)?"));
|
4237 |
-
css(element, {top: '', left: ''});
|
4238 |
-
|
4239 |
-
var node;
|
4240 |
-
var ref = this;
|
4241 |
-
var offset$1 = ref.offset;
|
4242 |
-
var axis = this.getAxis();
|
4243 |
-
|
4244 |
-
if (!isNumeric(offset$1)) {
|
4245 |
-
node = $(offset$1);
|
4246 |
-
offset$1 = node
|
4247 |
-
? offset(node)[axis === 'x' ? 'left' : 'top'] - offset(target)[axis === 'x' ? 'right' : 'bottom']
|
4248 |
-
: 0;
|
4249 |
-
}
|
4250 |
-
|
4251 |
-
var ref$1 = positionAt(
|
4252 |
-
element,
|
4253 |
-
target,
|
4254 |
-
axis === 'x' ? ((flipPosition(this.dir)) + " " + (this.align)) : ((this.align) + " " + (flipPosition(this.dir))),
|
4255 |
-
axis === 'x' ? ((this.dir) + " " + (this.align)) : ((this.align) + " " + (this.dir)),
|
4256 |
-
axis === 'x' ? ("" + (this.dir === 'left' ? -offset$1 : offset$1)) : (" " + (this.dir === 'top' ? -offset$1 : offset$1)),
|
4257 |
-
null,
|
4258 |
-
this.flip,
|
4259 |
-
boundary
|
4260 |
-
).target;
|
4261 |
-
var x = ref$1.x;
|
4262 |
-
var y = ref$1.y;
|
4263 |
-
|
4264 |
-
this.dir = axis === 'x' ? x : y;
|
4265 |
-
this.align = axis === 'x' ? y : x;
|
4266 |
-
|
4267 |
-
toggleClass(element, ((this.clsPos) + "-" + (this.dir) + "-" + (this.align)), this.offset === false);
|
4268 |
-
|
4269 |
-
},
|
4270 |
-
|
4271 |
-
getAxis: function() {
|
4272 |
-
return this.dir === 'top' || this.dir === 'bottom' ? 'y' : 'x';
|
4273 |
-
}
|
4274 |
-
|
4275 |
-
}
|
4276 |
-
|
4277 |
-
};
|
4278 |
-
|
4279 |
-
var active;
|
4280 |
-
|
4281 |
-
var Drop = {
|
4282 |
-
|
4283 |
-
mixins: [Position, Togglable],
|
4284 |
-
|
4285 |
-
args: 'pos',
|
4286 |
-
|
4287 |
-
props: {
|
4288 |
-
mode: 'list',
|
4289 |
-
toggle: Boolean,
|
4290 |
-
boundary: Boolean,
|
4291 |
-
boundaryAlign: Boolean,
|
4292 |
-
delayShow: Number,
|
4293 |
-
delayHide: Number,
|
4294 |
-
clsDrop: String
|
4295 |
-
},
|
4296 |
-
|
4297 |
-
data: {
|
4298 |
-
mode: ['click', 'hover'],
|
4299 |
-
toggle: '- *',
|
4300 |
-
boundary: window,
|
4301 |
-
boundaryAlign: false,
|
4302 |
-
delayShow: 0,
|
4303 |
-
delayHide: 800,
|
4304 |
-
clsDrop: false,
|
4305 |
-
hoverIdle: 200,
|
4306 |
-
animation: ['bdt-animation-fade'],
|
4307 |
-
cls: 'bdt-open'
|
4308 |
-
},
|
4309 |
-
|
4310 |
-
computed: {
|
4311 |
-
|
4312 |
-
boundary: function(ref, $el) {
|
4313 |
-
var boundary = ref.boundary;
|
4314 |
-
|
4315 |
-
return query(boundary, $el);
|
4316 |
-
},
|
4317 |
-
|
4318 |
-
clsDrop: function(ref) {
|
4319 |
-
var clsDrop = ref.clsDrop;
|
4320 |
-
|
4321 |
-
return clsDrop || ("bdt-" + (this.$options.name));
|
4322 |
-
},
|
4323 |
-
|
4324 |
-
clsPos: function() {
|
4325 |
-
return this.clsDrop;
|
4326 |
-
}
|
4327 |
-
|
4328 |
-
},
|
4329 |
-
|
4330 |
-
created: function() {
|
4331 |
-
this.tracker = new MouseTracker();
|
4332 |
-
},
|
4333 |
-
|
4334 |
-
connected: function() {
|
4335 |
-
|
4336 |
-
addClass(this.$el, this.clsDrop);
|
4337 |
-
|
4338 |
-
var ref = this.$props;
|
4339 |
-
var toggle = ref.toggle;
|
4340 |
-
this.toggle = toggle && this.$create('toggle', query(toggle, this.$el), {
|
4341 |
-
target: this.$el,
|
4342 |
-
mode: this.mode
|
4343 |
-
});
|
4344 |
-
|
4345 |
-
!this.toggle && trigger(this.$el, 'updatearia');
|
4346 |
-
|
4347 |
-
},
|
4348 |
-
|
4349 |
-
events: [
|
4350 |
-
|
4351 |
-
|
4352 |
-
{
|
4353 |
-
|
4354 |
-
name: 'click',
|
4355 |
-
|
4356 |
-
delegate: function() {
|
4357 |
-
return ("." + (this.clsDrop) + "-close");
|
4358 |
-
},
|
4359 |
-
|
4360 |
-
handler: function(e) {
|
4361 |
-
e.preventDefault();
|
4362 |
-
this.hide(false);
|
4363 |
-
}
|
4364 |
-
|
4365 |
-
},
|
4366 |
-
|
4367 |
-
{
|
4368 |
-
|
4369 |
-
name: 'click',
|
4370 |
-
|
4371 |
-
delegate: function() {
|
4372 |
-
return 'a[href^="#"]';
|
4373 |
-
},
|
4374 |
-
|
4375 |
-
handler: function(ref) {
|
4376 |
-
var defaultPrevented = ref.defaultPrevented;
|
4377 |
-
var hash = ref.current.hash;
|
4378 |
-
|
4379 |
-
if (!defaultPrevented && hash && !within(hash, this.$el)) {
|
4380 |
-
this.hide(false);
|
4381 |
-
}
|
4382 |
-
}
|
4383 |
-
|
4384 |
-
},
|
4385 |
-
|
4386 |
-
{
|
4387 |
-
|
4388 |
-
name: 'beforescroll',
|
4389 |
-
|
4390 |
-
handler: function() {
|
4391 |
-
this.hide(false);
|
4392 |
-
}
|
4393 |
-
|
4394 |
-
},
|
4395 |
-
|
4396 |
-
{
|
4397 |
-
|
4398 |
-
name: 'toggle',
|
4399 |
-
|
4400 |
-
self: true,
|
4401 |
-
|
4402 |
-
handler: function(e, toggle) {
|
4403 |
-
|
4404 |
-
e.preventDefault();
|
4405 |
-
|
4406 |
-
if (this.isToggled()) {
|
4407 |
-
this.hide(false);
|
4408 |
-
} else {
|
4409 |
-
this.show(toggle, false);
|
4410 |
-
}
|
4411 |
-
}
|
4412 |
-
|
4413 |
-
},
|
4414 |
-
|
4415 |
-
{
|
4416 |
-
|
4417 |
-
name: pointerEnter,
|
4418 |
-
|
4419 |
-
filter: function() {
|
4420 |
-
return includes(this.mode, 'hover');
|
4421 |
-
},
|
4422 |
-
|
4423 |
-
handler: function(e) {
|
4424 |
-
|
4425 |
-
if (isTouch(e)) {
|
4426 |
-
return;
|
4427 |
-
}
|
4428 |
-
|
4429 |
-
if (active
|
4430 |
-
&& active !== this
|
4431 |
-
&& active.toggle
|
4432 |
-
&& includes(active.toggle.mode, 'hover')
|
4433 |
-
&& !within(e.target, active.toggle.$el)
|
4434 |
-
&& !pointInRect({x: e.pageX, y: e.pageY}, offset(active.$el))
|
4435 |
-
) {
|
4436 |
-
active.hide(false);
|
4437 |
-
}
|
4438 |
-
|
4439 |
-
e.preventDefault();
|
4440 |
-
this.show(this.toggle);
|
4441 |
-
}
|
4442 |
-
|
4443 |
-
},
|
4444 |
-
|
4445 |
-
{
|
4446 |
-
|
4447 |
-
name: 'toggleshow',
|
4448 |
-
|
4449 |
-
handler: function(e, toggle) {
|
4450 |
-
|
4451 |
-
if (toggle && !includes(toggle.target, this.$el)) {
|
4452 |
-
return;
|
4453 |
-
}
|
4454 |
-
|
4455 |
-
e.preventDefault();
|
4456 |
-
this.show(toggle || this.toggle);
|
4457 |
-
}
|
4458 |
-
|
4459 |
-
},
|
4460 |
-
|
4461 |
-
{
|
4462 |
-
|
4463 |
-
name: ("togglehide " + pointerLeave),
|
4464 |
-
|
4465 |
-
handler: function(e, toggle) {
|
4466 |
-
|
4467 |
-
if (isTouch(e) || toggle && !includes(toggle.target, this.$el)) {
|
4468 |
-
return;
|
4469 |
-
}
|
4470 |
-
|
4471 |
-
e.preventDefault();
|
4472 |
-
|
4473 |
-
if (this.toggle && includes(this.toggle.mode, 'hover')) {
|
4474 |
-
this.hide();
|
4475 |
-
}
|
4476 |
-
}
|
4477 |
-
|
4478 |
-
},
|
4479 |
-
|
4480 |
-
{
|
4481 |
-
|
4482 |
-
name: 'beforeshow',
|
4483 |
-
|
4484 |
-
self: true,
|
4485 |
-
|
4486 |
-
handler: function() {
|
4487 |
-
this.clearTimers();
|
4488 |
-
Animation.cancel(this.$el);
|
4489 |
-
this.position();
|
4490 |
-
}
|
4491 |
-
|
4492 |
-
},
|
4493 |
-
|
4494 |
-
{
|
4495 |
-
|
4496 |
-
name: 'show',
|
4497 |
-
|
4498 |
-
self: true,
|
4499 |
-
|
4500 |
-
handler: function() {
|
4501 |
-
var this$1 = this;
|
4502 |
-
|
4503 |
-
this.tracker.init();
|
4504 |
-
trigger(this.$el, 'updatearia');
|
4505 |
-
|
4506 |
-
// If triggered from an click event handler, delay adding the click handler
|
4507 |
-
var off = delayOn(document, 'click', function (ref) {
|
4508 |
-
var defaultPrevented = ref.defaultPrevented;
|
4509 |
-
var target = ref.target;
|
4510 |
-
|
4511 |
-
if (!defaultPrevented && !within(target, this$1.$el) && !(this$1.toggle && within(target, this$1.toggle.$el))) {
|
4512 |
-
this$1.hide(false);
|
4513 |
-
}
|
4514 |
-
});
|
4515 |
-
|
4516 |
-
once(this.$el, 'hide', off, {self: true});
|
4517 |
-
}
|
4518 |
-
|
4519 |
-
},
|
4520 |
-
|
4521 |
-
{
|
4522 |
-
|
4523 |
-
name: 'beforehide',
|
4524 |
-
|
4525 |
-
self: true,
|
4526 |
-
|
4527 |
-
handler: function() {
|
4528 |
-
this.clearTimers();
|
4529 |
-
}
|
4530 |
-
|
4531 |
-
},
|
4532 |
-
|
4533 |
-
{
|
4534 |
-
|
4535 |
-
name: 'hide',
|
4536 |
-
|
4537 |
-
handler: function(ref) {
|
4538 |
-
var target = ref.target;
|
4539 |
-
|
4540 |
-
|
4541 |
-
if (this.$el !== target) {
|
4542 |
-
active = active === null && within(target, this.$el) && this.isToggled() ? this : active;
|
4543 |
-
return;
|
4544 |
-
}
|
4545 |
-
|
4546 |
-
active = this.isActive() ? null : active;
|
4547 |
-
trigger(this.$el, 'updatearia');
|
4548 |
-
this.tracker.cancel();
|
4549 |
-
}
|
4550 |
-
|
4551 |
-
},
|
4552 |
-
|
4553 |
-
{
|
4554 |
-
|
4555 |
-
name: 'updatearia',
|
4556 |
-
|
4557 |
-
self: true,
|
4558 |
-
|
4559 |
-
handler: function(e, toggle) {
|
4560 |
-
|
4561 |
-
e.preventDefault();
|
4562 |
-
|
4563 |
-
this.updateAria(this.$el);
|
4564 |
-
|
4565 |
-
if (toggle || this.toggle) {
|
4566 |
-
attr((toggle || this.toggle).$el, 'aria-expanded', this.isToggled());
|
4567 |
-
toggleClass(this.toggle.$el, this.cls, this.isToggled());
|
4568 |
-
}
|
4569 |
-
}
|
4570 |
-
}
|
4571 |
-
|
4572 |
-
],
|
4573 |
-
|
4574 |
-
update: {
|
4575 |
-
|
4576 |
-
write: function() {
|
4577 |
-
|
4578 |
-
if (this.isToggled() && !Animation.inProgress(this.$el)) {
|
4579 |
-
this.position();
|
4580 |
-
}
|
4581 |
-
|
4582 |
-
},
|
4583 |
-
|
4584 |
-
events: ['resize']
|
4585 |
-
|
4586 |
-
},
|
4587 |
-
|
4588 |
-
methods: {
|
4589 |
-
|
4590 |
-
show: function(toggle, delay) {
|
4591 |
-
var this$1 = this;
|
4592 |
-
if ( delay === void 0 ) delay = true;
|
4593 |
-
|
4594 |
-
|
4595 |
-
var show = function () { return !this$1.isToggled() && this$1.toggleElement(this$1.$el, true); };
|
4596 |
-
var tryShow = function () {
|
4597 |
-
|
4598 |
-
this$1.toggle = toggle || this$1.toggle;
|
4599 |
-
|
4600 |
-
this$1.clearTimers();
|
4601 |
-
|
4602 |
-
if (this$1.isActive()) {
|
4603 |
-
return;
|
4604 |
-
} else if (delay && active && active !== this$1 && active.isDelaying) {
|
4605 |
-
this$1.showTimer = setTimeout(this$1.show, 10);
|
4606 |
-
return;
|
4607 |
-
} else if (this$1.isParentOf(active)) {
|
4608 |
-
|
4609 |
-
if (active.hideTimer) {
|
4610 |
-
active.hide(false);
|
4611 |
-
} else {
|
4612 |
-
return;
|
4613 |
-
}
|
4614 |
-
|
4615 |
-
} else if (this$1.isChildOf(active)) {
|
4616 |
-
|
4617 |
-
active.clearTimers();
|
4618 |
-
|
4619 |
-
} else if (active && !this$1.isChildOf(active) && !this$1.isParentOf(active)) {
|
4620 |
-
|
4621 |
-
var prev;
|
4622 |
-
while (active && active !== prev && !this$1.isChildOf(active)) {
|
4623 |
-
prev = active;
|
4624 |
-
active.hide(false);
|
4625 |
-
}
|
4626 |
-
|
4627 |
-
}
|
4628 |
-
|
4629 |
-
if (delay && this$1.delayShow) {
|
4630 |
-
this$1.showTimer = setTimeout(show, this$1.delayShow);
|
4631 |
-
} else {
|
4632 |
-
show();
|
4633 |
-
}
|
4634 |
-
|
4635 |
-
active = this$1;
|
4636 |
-
};
|
4637 |
-
|
4638 |
-
if (toggle && this.toggle && toggle.$el !== this.toggle.$el) {
|
4639 |
-
|
4640 |
-
once(this.$el, 'hide', tryShow);
|
4641 |
-
this.hide(false);
|
4642 |
-
|
4643 |
-
} else {
|
4644 |
-
tryShow();
|
4645 |
-
}
|
4646 |
-
},
|
4647 |
-
|
4648 |
-
hide: function(delay) {
|
4649 |
-
var this$1 = this;
|
4650 |
-
if ( delay === void 0 ) delay = true;
|
4651 |
-
|
4652 |
-
|
4653 |
-
var hide = function () { return this$1.toggleNow(this$1.$el, false); };
|
4654 |
-
|
4655 |
-
this.clearTimers();
|
4656 |
-
|
4657 |
-
this.isDelaying = this.tracker.movesTo(this.$el);
|
4658 |
-
|
4659 |
-
if (delay && this.isDelaying) {
|
4660 |
-
this.hideTimer = setTimeout(this.hide, this.hoverIdle);
|
4661 |
-
} else if (delay && this.delayHide) {
|
4662 |
-
this.hideTimer = setTimeout(hide, this.delayHide);
|
4663 |
-
} else {
|
4664 |
-
hide();
|
4665 |
-
}
|
4666 |
-
},
|
4667 |
-
|
4668 |
-
clearTimers: function() {
|
4669 |
-
clearTimeout(this.showTimer);
|
4670 |
-
clearTimeout(this.hideTimer);
|
4671 |
-
this.showTimer = null;
|
4672 |
-
this.hideTimer = null;
|
4673 |
-
this.isDelaying = false;
|
4674 |
-
},
|
4675 |
-
|
4676 |
-
isActive: function() {
|
4677 |
-
return active === this;
|
4678 |
-
},
|
4679 |
-
|
4680 |
-
isChildOf: function(drop) {
|
4681 |
-
return drop && drop !== this && within(this.$el, drop.$el);
|
4682 |
-
},
|
4683 |
-
|
4684 |
-
isParentOf: function(drop) {
|
4685 |
-
return drop && drop !== this && within(drop.$el, this.$el);
|
4686 |
-
},
|
4687 |
-
|
4688 |
-
position: function() {
|
4689 |
-
|
4690 |
-
removeClasses(this.$el, ((this.clsDrop) + "-(stack|boundary)"));
|
4691 |
-
css(this.$el, {top: '', left: '', display: 'block'});
|
4692 |
-
toggleClass(this.$el, ((this.clsDrop) + "-boundary"), this.boundaryAlign);
|
4693 |
-
|
4694 |
-
var boundary = offset(this.boundary);
|
4695 |
-
var alignTo = this.boundaryAlign ? boundary : offset(this.toggle.$el);
|
4696 |
-
|
4697 |
-
if (this.align === 'justify') {
|
4698 |
-
var prop = this.getAxis() === 'y' ? 'width' : 'height';
|
4699 |
-
css(this.$el, prop, alignTo[prop]);
|
4700 |
-
} else if (this.$el.offsetWidth > Math.max(boundary.right - alignTo.left, alignTo.right - boundary.left)) {
|
4701 |
-
addClass(this.$el, ((this.clsDrop) + "-stack"));
|
4702 |
-
}
|
4703 |
-
|
4704 |
-
this.positionAt(this.$el, this.boundaryAlign ? this.boundary : this.toggle.$el, this.boundary);
|
4705 |
-
|
4706 |
-
css(this.$el, 'display', '');
|
4707 |
-
|
4708 |
-
}
|
4709 |
-
|
4710 |
-
}
|
4711 |
-
|
4712 |
-
};
|
4713 |
-
|
4714 |
-
function delayOn(el, type, fn) {
|
4715 |
-
var off = once(el, type, function () { return off = on(el, type, fn); }
|
4716 |
-
, true);
|
4717 |
-
return function () { return off(); };
|
4718 |
-
}
|
4719 |
-
|
4720 |
-
var Dropdown = {
|
4721 |
-
|
4722 |
-
extends: Drop
|
4723 |
-
|
4724 |
-
};
|
4725 |
-
|
4726 |
-
var FormCustom = {
|
4727 |
-
|
4728 |
-
mixins: [Class],
|
4729 |
-
|
4730 |
-
args: 'target',
|
4731 |
-
|
4732 |
-
props: {
|
4733 |
-
target: Boolean
|
4734 |
-
},
|
4735 |
-
|
4736 |
-
data: {
|
4737 |
-
target: false
|
4738 |
-
},
|
4739 |
-
|
4740 |
-
computed: {
|
4741 |
-
|
4742 |
-
input: function(_, $el) {
|
4743 |
-
return $(selInput, $el);
|
4744 |
-
},
|
4745 |
-
|
4746 |
-
state: function() {
|
4747 |
-
return this.input.nextElementSibling;
|
4748 |
-
},
|
4749 |
-
|
4750 |
-
target: function(ref, $el) {
|
4751 |
-
var target = ref.target;
|
4752 |
-
|
4753 |
-
return target && (target === true
|
4754 |
-
&& this.input.parentNode === $el
|
4755 |
-
&& this.input.nextElementSibling
|
4756 |
-
|| query(target, $el));
|
4757 |
-
}
|
4758 |
-
|
4759 |
-
},
|
4760 |
-
|
4761 |
-
update: function() {
|
4762 |
-
|
4763 |
-
var ref = this;
|
4764 |
-
var target = ref.target;
|
4765 |
-
var input = ref.input;
|
4766 |
-
|
4767 |
-
if (!target) {
|
4768 |
-
return;
|
4769 |
-
}
|
4770 |
-
|
4771 |
-
var option;
|
4772 |
-
var prop = isInput(target) ? 'value' : 'textContent';
|
4773 |
-
var prev = target[prop];
|
4774 |
-
var value = input.files && input.files[0]
|
4775 |
-
? input.files[0].name
|
4776 |
-
: matches(input, 'select') && (option = $$('option', input).filter(function (el) { return el.selected; })[0]) // eslint-disable-line prefer-destructuring
|
4777 |
-
? option.textContent
|
4778 |
-
: input.value;
|
4779 |
-
|
4780 |
-
if (prev !== value) {
|
4781 |
-
target[prop] = value;
|
4782 |
-
}
|
4783 |
-
|
4784 |
-
},
|
4785 |
-
|
4786 |
-
events: [
|
4787 |
-
|
4788 |
-
{
|
4789 |
-
name: 'change',
|
4790 |
-
|
4791 |
-
handler: function() {
|
4792 |
-
this.$emit();
|
4793 |
-
}
|
4794 |
-
},
|
4795 |
-
|
4796 |
-
{
|
4797 |
-
name: 'reset',
|
4798 |
-
|
4799 |
-
el: function() {
|
4800 |
-
return closest(this.$el, 'form');
|
4801 |
-
},
|
4802 |
-
|
4803 |
-
handler: function() {
|
4804 |
-
this.$emit();
|
4805 |
-
}
|
4806 |
-
}
|
4807 |
-
|
4808 |
-
]
|
4809 |
-
|
4810 |
-
};
|
4811 |
-
|
4812 |
-
// Deprecated
|
4813 |
-
var Gif = {
|
4814 |
-
|
4815 |
-
update: {
|
4816 |
-
|
4817 |
-
read: function(data) {
|
4818 |
-
|
4819 |
-
var inview = isInView(this.$el);
|
4820 |
-
|
4821 |
-
if (!inview || data.isInView === inview) {
|
4822 |
-
return false;
|
4823 |
-
}
|
4824 |
-
|
4825 |
-
data.isInView = inview;
|
4826 |
-
},
|
4827 |
-
|
4828 |
-
write: function() {
|
4829 |
-
this.$el.src = this.$el.src;
|
4830 |
-
},
|
4831 |
-
|
4832 |
-
events: ['scroll', 'resize']
|
4833 |
-
}
|
4834 |
-
|
4835 |
-
};
|
4836 |
-
|
4837 |
-
var Margin = {
|
4838 |
-
|
4839 |
-
props: {
|
4840 |
-
margin: String,
|
4841 |
-
firstColumn: Boolean
|
4842 |
-
},
|
4843 |
-
|
4844 |
-
data: {
|
4845 |
-
margin: 'bdt-margin-small-top',
|
4846 |
-
firstColumn: 'bdt-first-column'
|
4847 |
-
},
|
4848 |
-
|
4849 |
-
update: {
|
4850 |
-
|
4851 |
-
read: function(data) {
|
4852 |
-
|
4853 |
-
var items = this.$el.children;
|
4854 |
-
var rows = [[]];
|
4855 |
-
|
4856 |
-
if (!items.length || !isVisible(this.$el)) {
|
4857 |
-
return data.rows = rows;
|
4858 |
-
}
|
4859 |
-
|
4860 |
-
data.rows = getRows(items);
|
4861 |
-
data.stacks = !data.rows.some(function (row) { return row.length > 1; });
|
4862 |
-
|
4863 |
-
},
|
4864 |
-
|
4865 |
-
write: function(ref) {
|
4866 |
-
var this$1 = this;
|
4867 |
-
var rows = ref.rows;
|
4868 |
-
|
4869 |
-
|
4870 |
-
rows.forEach(function (row, i) { return row.forEach(function (el, j) {
|
4871 |
-
toggleClass(el, this$1.margin, i !== 0);
|
4872 |
-
toggleClass(el, this$1.firstColumn, j === 0);
|
4873 |
-
}); }
|
4874 |
-
);
|
4875 |
-
|
4876 |
-
},
|
4877 |
-
|
4878 |
-
events: ['resize']
|
4879 |
-
|
4880 |
-
}
|
4881 |
-
|
4882 |
-
};
|
4883 |
-
|
4884 |
-
function getRows(items) {
|
4885 |
-
var rows = [[]];
|
4886 |
-
|
4887 |
-
for (var i = 0; i < items.length; i++) {
|
4888 |
-
|
4889 |
-
var el = items[i];
|
4890 |
-
var dim = getOffset(el);
|
4891 |
-
|
4892 |
-
if (!dim.height) {
|
4893 |
-
continue;
|
4894 |
-
}
|
4895 |
-
|
4896 |
-
for (var j = rows.length - 1; j >= 0; j--) {
|
4897 |
-
|
4898 |
-
var row = rows[j];
|
4899 |
-
|
4900 |
-
if (!row[0]) {
|
4901 |
-
row.push(el);
|
4902 |
-
break;
|
4903 |
-
}
|
4904 |
-
|
4905 |
-
var leftDim = (void 0);
|
4906 |
-
if (row[0].offsetParent === el.offsetParent) {
|
4907 |
-
leftDim = getOffset(row[0]);
|
4908 |
-
} else {
|
4909 |
-
dim = getOffset(el, true);
|
4910 |
-
leftDim = getOffset(row[0], true);
|
4911 |
-
}
|
4912 |
-
|
4913 |
-
if (dim.top >= leftDim.bottom - 1 && dim.top !== leftDim.top) {
|
4914 |
-
rows.push([el]);
|
4915 |
-
break;
|
4916 |
-
}
|
4917 |
-
|
4918 |
-
if (dim.bottom > leftDim.top) {
|
4919 |
-
|
4920 |
-
if (dim.left < leftDim.left && !isRtl) {
|
4921 |
-
row.unshift(el);
|
4922 |
-
break;
|
4923 |
-
}
|
4924 |
-
|
4925 |
-
row.push(el);
|
4926 |
-
break;
|
4927 |
-
}
|
4928 |
-
|
4929 |
-
if (j === 0) {
|
4930 |
-
rows.unshift([el]);
|
4931 |
-
break;
|
4932 |
-
}
|
4933 |
-
|
4934 |
-
}
|
4935 |
-
|
4936 |
-
}
|
4937 |
-
|
4938 |
-
return rows;
|
4939 |
-
|
4940 |
-
}
|
4941 |
-
|
4942 |
-
function getOffset(element, offset) {
|
4943 |
-
var assign;
|
4944 |
-
|
4945 |
-
if ( offset === void 0 ) offset = false;
|
4946 |
-
|
4947 |
-
var offsetTop = element.offsetTop;
|
4948 |
-
var offsetLeft = element.offsetLeft;
|
4949 |
-
var offsetHeight = element.offsetHeight;
|
4950 |
-
|
4951 |
-
if (offset) {
|
4952 |
-
(assign = offsetPosition(element), offsetTop = assign[0], offsetLeft = assign[1]);
|
4953 |
-
}
|
4954 |
-
|
4955 |
-
return {
|
4956 |
-
top: offsetTop,
|
4957 |
-
left: offsetLeft,
|
4958 |
-
height: offsetHeight,
|
4959 |
-
bottom: offsetTop + offsetHeight
|
4960 |
-
};
|
4961 |
-
}
|
4962 |
-
|
4963 |
-
var Grid = {
|
4964 |
-
|
4965 |
-
extends: Margin,
|
4966 |
-
|
4967 |
-
mixins: [Class],
|
4968 |
-
|
4969 |
-
name: 'grid',
|
4970 |
-
|
4971 |
-
props: {
|
4972 |
-
masonry: Boolean,
|
4973 |
-
parallax: Number
|
4974 |
-
},
|
4975 |
-
|
4976 |
-
data: {
|
4977 |
-
margin: 'bdt-grid-margin',
|
4978 |
-
clsStack: 'bdt-grid-stack',
|
4979 |
-
masonry: false,
|
4980 |
-
parallax: 0
|
4981 |
-
},
|
4982 |
-
|
4983 |
-
computed: {
|
4984 |
-
|
4985 |
-
length: function(_, $el) {
|
4986 |
-
return $el.children.length;
|
4987 |
-
},
|
4988 |
-
|
4989 |
-
parallax: function(ref) {
|
4990 |
-
var parallax = ref.parallax;
|
4991 |
-
|
4992 |
-
return parallax && this.length ? Math.abs(parallax) : '';
|
4993 |
-
}
|
4994 |
-
|
4995 |
-
},
|
4996 |
-
|
4997 |
-
connected: function() {
|
4998 |
-
this.masonry && addClass(this.$el, 'bdt-flex-top bdt-flex-wrap-top');
|
4999 |
-
},
|
5000 |
-
|
5001 |
-
update: [
|
5002 |
-
|
5003 |
-
{
|
5004 |
-
|
5005 |
-
read: function(ref) {
|
5006 |
-
var rows = ref.rows;
|
5007 |
-
|
5008 |
-
|
5009 |
-
if (this.masonry || this.parallax) {
|
5010 |
-
rows = rows.map(function (elements) { return sortBy(elements, 'offsetLeft'); });
|
5011 |
-
|
5012 |
-
if (isRtl) {
|
5013 |
-
rows.map(function (row) { return row.reverse(); });
|
5014 |
-
}
|
5015 |
-
|
5016 |
-
}
|
5017 |
-
|
5018 |
-
var transitionInProgress = rows.some(function (elements) { return elements.some(Transition.inProgress); });
|
5019 |
-
var translates = false;
|
5020 |
-
var elHeight = '';
|
5021 |
-
|
5022 |
-
if (this.masonry && this.length) {
|
5023 |
-
|
5024 |
-
var height = 0;
|
5025 |
-
|
5026 |
-
translates = rows.reduce(function (translates, row, i) {
|
5027 |
-
|
5028 |
-
translates[i] = row.map(function (_, j) { return i === 0 ? 0 : toFloat(translates[i - 1][j]) + (height - toFloat(rows[i - 1][j] && rows[i - 1][j].offsetHeight)); });
|
5029 |
-
height = row.reduce(function (height, el) { return Math.max(height, el.offsetHeight); }, 0);
|
5030 |
-
|
5031 |
-
return translates;
|
5032 |
-
|
5033 |
-
}, []);
|
5034 |
-
|
5035 |
-
elHeight = maxColumnHeight(rows) + getMarginTop(this.$el, this.margin) * (rows.length - 1);
|
5036 |
-
|
5037 |
-
}
|
5038 |
-
|
5039 |
-
var padding = this.parallax && getPaddingBottom(this.parallax, rows, translates);
|
5040 |
-
|
5041 |
-
return {padding: padding, rows: rows, translates: translates, height: !transitionInProgress ? elHeight : false};
|
5042 |
-
|
5043 |
-
},
|
5044 |
-
|
5045 |
-
write: function(ref) {
|
5046 |
-
var stacks = ref.stacks;
|
5047 |
-
var height = ref.height;
|
5048 |
-
var padding = ref.padding;
|
5049 |
-
|
5050 |
-
|
5051 |
-
toggleClass(this.$el, this.clsStack, stacks);
|
5052 |
-
|
5053 |
-
css(this.$el, 'paddingBottom', padding);
|
5054 |
-
height !== false && css(this.$el, 'height', height);
|
5055 |
-
|
5056 |
-
},
|
5057 |
-
|
5058 |
-
events: ['resize']
|
5059 |
-
|
5060 |
-
},
|
5061 |
-
|
5062 |
-
{
|
5063 |
-
|
5064 |
-
read: function(ref) {
|
5065 |
-
var height$1 = ref.height;
|
5066 |
-
|
5067 |
-
return {
|
5068 |
-
scrolled: this.parallax
|
5069 |
-
? scrolledOver(this.$el, height$1 ? height$1 - height(this.$el) : 0) * this.parallax
|
5070 |
-
: false
|
5071 |
-
};
|
5072 |
-
},
|
5073 |
-
|
5074 |
-
write: function(ref) {
|
5075 |
-
var rows = ref.rows;
|
5076 |
-
var scrolled = ref.scrolled;
|
5077 |
-
var translates = ref.translates;
|
5078 |
-
|
5079 |
-
|
5080 |
-
if (scrolled === false && !translates) {
|
5081 |
-
return;
|
5082 |
-
}
|
5083 |
-
|
5084 |
-
rows.forEach(function (row, i) { return row.forEach(function (el, j) { return css(el, 'transform', !scrolled && !translates ? '' : ("translateY(" + ((translates && -translates[i][j]) + (scrolled ? j % 2 ? scrolled : scrolled / 8 : 0)) + "px)")); }
|
5085 |
-
); }
|
5086 |
-
);
|
5087 |
-
|
5088 |
-
},
|
5089 |
-
|
5090 |
-
events: ['scroll', 'resize']
|
5091 |
-
|
5092 |
-
}
|
5093 |
-
|
5094 |
-
]
|
5095 |
-
|
5096 |
-
};
|
5097 |
-
|
5098 |
-
function getPaddingBottom(distance, rows, translates) {
|
5099 |
-
var column = 0;
|
5100 |
-
var max = 0;
|
5101 |
-
var maxScrolled = 0;
|
5102 |
-
for (var i = rows.length - 1; i >= 0; i--) {
|
5103 |
-
for (var j = column; j < rows[i].length; j++) {
|
5104 |
-
var el = rows[i][j];
|
5105 |
-
var bottom = el.offsetTop + height(el) + (translates && -translates[i][j]);
|
5106 |
-
max = Math.max(max, bottom);
|
5107 |
-
maxScrolled = Math.max(maxScrolled, bottom + (j % 2 ? distance : distance / 8));
|
5108 |
-
column++;
|
5109 |
-
}
|
5110 |
-
}
|
5111 |
-
return maxScrolled - max;
|
5112 |
-
}
|
5113 |
-
|
5114 |
-
function getMarginTop(root, cls) {
|
5115 |
-
|
5116 |
-
var nodes = toNodes(root.children);
|
5117 |
-
var ref = nodes.filter(function (el) { return hasClass(el, cls); });
|
5118 |
-
var node = ref[0];
|
5119 |
-
|
5120 |
-
return toFloat(node
|
5121 |
-
? css(node, 'marginTop')
|
5122 |
-
: css(nodes[0], 'paddingLeft'));
|
5123 |
-
}
|
5124 |
-
|
5125 |
-
function maxColumnHeight(rows) {
|
5126 |
-
return Math.max.apply(Math, rows.reduce(function (sum, row) {
|
5127 |
-
row.forEach(function (el, i) { return sum[i] = (sum[i] || 0) + el.offsetHeight; });
|
5128 |
-
return sum;
|
5129 |
-
}, []));
|
5130 |
-
}
|
5131 |
-
|
5132 |
-
// IE 11 fix (min-height on a flex container won't apply to its flex items)
|
5133 |
-
var FlexBug = isIE ? {
|
5134 |
-
|
5135 |
-
props: {
|
5136 |
-
selMinHeight: String
|
5137 |
-
},
|
5138 |
-
|
5139 |
-
data: {
|
5140 |
-
selMinHeight: false,
|
5141 |
-
forceHeight: false
|
5142 |
-
},
|
5143 |
-
|
5144 |
-
computed: {
|
5145 |
-
|
5146 |
-
elements: function(ref, $el) {
|
5147 |
-
var selMinHeight = ref.selMinHeight;
|
5148 |
-
|
5149 |
-
return selMinHeight ? $$(selMinHeight, $el) : [$el];
|
5150 |
-
}
|
5151 |
-
|
5152 |
-
},
|
5153 |
-
|
5154 |
-
update: [
|
5155 |
-
|
5156 |
-
{
|
5157 |
-
|
5158 |
-
read: function() {
|
5159 |
-
css(this.elements, 'height', '');
|
5160 |
-
},
|
5161 |
-
|
5162 |
-
order: -5,
|
5163 |
-
|
5164 |
-
events: ['resize']
|
5165 |
-
|
5166 |
-
},
|
5167 |
-
|
5168 |
-
{
|
5169 |
-
|
5170 |
-
write: function() {
|
5171 |
-
var this$1 = this;
|
5172 |
-
|
5173 |
-
this.elements.forEach(function (el) {
|
5174 |
-
var height = toFloat(css(el, 'minHeight'));
|
5175 |
-
if (height && (this$1.forceHeight || Math.round(height + boxModelAdjust('height', el, 'content-box')) >= el.offsetHeight)) {
|
5176 |
-
css(el, 'height', height);
|
5177 |
-
}
|
5178 |
-
});
|
5179 |
-
},
|
5180 |
-
|
5181 |
-
order: 5,
|
5182 |
-
|
5183 |
-
events: ['resize']
|
5184 |
-
|
5185 |
-
}
|
5186 |
-
|
5187 |
-
]
|
5188 |
-
|
5189 |
-
} : {};
|
5190 |
-
|
5191 |
-
var HeightMatch = {
|
5192 |
-
|
5193 |
-
mixins: [FlexBug],
|
5194 |
-
|
5195 |
-
args: 'target',
|
5196 |
-
|
5197 |
-
props: {
|
5198 |
-
target: String,
|
5199 |
-
row: Boolean
|
5200 |
-
},
|
5201 |
-
|
5202 |
-
data: {
|
5203 |
-
target: '> *',
|
5204 |
-
row: true,
|
5205 |
-
forceHeight: true
|
5206 |
-
},
|
5207 |
-
|
5208 |
-
computed: {
|
5209 |
-
|
5210 |
-
elements: function(ref, $el) {
|
5211 |
-
var target = ref.target;
|
5212 |
-
|
5213 |
-
return $$(target, $el);
|
5214 |
-
}
|
5215 |
-
|
5216 |
-
},
|
5217 |
-
|
5218 |
-
update: {
|
5219 |
-
|
5220 |
-
read: function() {
|
5221 |
-
return {
|
5222 |
-
rows: (this.row ? getRows(this.elements) : [this.elements]).map(match)
|
5223 |
-
};
|
5224 |
-
},
|
5225 |
-
|
5226 |
-
write: function(ref) {
|
5227 |
-
var rows = ref.rows;
|
5228 |
-
|
5229 |
-
rows.forEach(function (ref) {
|
5230 |
-
var heights = ref.heights;
|
5231 |
-
var elements = ref.elements;
|
5232 |
-
|
5233 |
-
return elements.forEach(function (el, i) { return css(el, 'minHeight', heights[i]); }
|
5234 |
-
);
|
5235 |
-
}
|
5236 |
-
);
|
5237 |
-
},
|
5238 |
-
|
5239 |
-
events: ['resize']
|
5240 |
-
|
5241 |
-
}
|
5242 |
-
|
5243 |
-
};
|
5244 |
-
|
5245 |
-
function match(elements) {
|
5246 |
-
var assign;
|
5247 |
-
|
5248 |
-
|
5249 |
-
if (elements.length < 2) {
|
5250 |
-
return {heights: [''], elements: elements};
|
5251 |
-
}
|
5252 |
-
|
5253 |
-
var ref = getHeights(elements);
|
5254 |
-
var heights = ref.heights;
|
5255 |
-
var max = ref.max;
|
5256 |
-
var hasMinHeight = elements.some(function (el) { return el.style.minHeight; });
|
5257 |
-
var hasShrunk = elements.some(function (el, i) { return !el.style.minHeight && heights[i] < max; });
|
5258 |
-
|
5259 |
-
if (hasMinHeight && hasShrunk) {
|
5260 |
-
css(elements, 'minHeight', '');
|
5261 |
-
((assign = getHeights(elements), heights = assign.heights, max = assign.max));
|
5262 |
-
}
|
5263 |
-
|
5264 |
-
heights = elements.map(function (el, i) { return heights[i] === max && toFloat(el.style.minHeight).toFixed(2) !== max.toFixed(2) ? '' : max; }
|
5265 |
-
);
|
5266 |
-
|
5267 |
-
return {heights: heights, elements: elements};
|
5268 |
-
}
|
5269 |
-
|
5270 |
-
function getHeights(elements) {
|
5271 |
-
var heights = elements.map(function (el) { return offset(el).height - boxModelAdjust('height', el, 'content-box'); });
|
5272 |
-
var max = Math.max.apply(null, heights);
|
5273 |
-
|
5274 |
-
return {heights: heights, max: max};
|
5275 |
-
}
|
5276 |
-
|
5277 |
-
var HeightViewport = {
|
5278 |
-
|
5279 |
-
mixins: [FlexBug],
|
5280 |
-
|
5281 |
-
props: {
|
5282 |
-
expand: Boolean,
|
5283 |
-
offsetTop: Boolean,
|
5284 |
-
offsetBottom: Boolean,
|
5285 |
-
minHeight: Number
|
5286 |
-
},
|
5287 |
-
|
5288 |
-
data: {
|
5289 |
-
expand: false,
|
5290 |
-
offsetTop: false,
|
5291 |
-
offsetBottom: false,
|
5292 |
-
minHeight: 0
|
5293 |
-
},
|
5294 |
-
|
5295 |
-
update: {
|
5296 |
-
|
5297 |
-
read: function(ref) {
|
5298 |
-
var prev = ref.minHeight;
|
5299 |
-
|
5300 |
-
|
5301 |
-
if (!isVisible(this.$el)) {
|
5302 |
-
return false;
|
5303 |
-
}
|
5304 |
-
|
5305 |
-
var minHeight = '';
|
5306 |
-
var box = boxModelAdjust('height', this.$el, 'content-box');
|
5307 |
-
|
5308 |
-
if (this.expand) {
|
5309 |
-
|
5310 |
-
this.$el.dataset.heightExpand = '';
|
5311 |
-
|
5312 |
-
if ($('[data-height-expand]') !== this.$el) {
|
5313 |
-
return false;
|
5314 |
-
}
|
5315 |
-
|
5316 |
-
minHeight = height(window) - (offsetHeight(document.documentElement) - offsetHeight(this.$el)) - box || '';
|
5317 |
-
|
5318 |
-
} else {
|
5319 |
-
|
5320 |
-
// on mobile devices (iOS and Android) window.innerHeight !== 100vh
|
5321 |
-
minHeight = 'calc(100vh';
|
5322 |
-
|
5323 |
-
if (this.offsetTop) {
|
5324 |
-
|
5325 |
-
var ref$1 = offset(this.$el);
|
5326 |
-
var top = ref$1.top;
|
5327 |
-
minHeight += top > 0 && top < height(window) / 2 ? (" - " + top + "px") : '';
|
5328 |
-
|
5329 |
-
}
|
5330 |
-
|
5331 |
-
if (this.offsetBottom === true) {
|
5332 |
-
|
5333 |
-
minHeight += " - " + (offsetHeight(this.$el.nextElementSibling)) + "px";
|
5334 |
-
|
5335 |
-
} else if (isNumeric(this.offsetBottom)) {
|
5336 |
-
|
5337 |
-
minHeight += " - " + (this.offsetBottom) + "vh";
|
5338 |
-
|
5339 |
-
} else if (this.offsetBottom && endsWith(this.offsetBottom, 'px')) {
|
5340 |
-
|
5341 |
-
minHeight += " - " + (toFloat(this.offsetBottom)) + "px";
|
5342 |
-
|
5343 |
-
} else if (isString(this.offsetBottom)) {
|
5344 |
-
|
5345 |
-
minHeight += " - " + (offsetHeight(query(this.offsetBottom, this.$el))) + "px";
|
5346 |
-
|
5347 |
-
}
|
5348 |
-
|
5349 |
-
minHeight += (box ? (" - " + box + "px") : '') + ")";
|
5350 |
-
|
5351 |
-
}
|
5352 |
-
|
5353 |
-
return {minHeight: minHeight, prev: prev};
|
5354 |
-
},
|
5355 |
-
|
5356 |
-
write: function(ref) {
|
5357 |
-
var minHeight = ref.minHeight;
|
5358 |
-
var prev = ref.prev;
|
5359 |
-
|
5360 |
-
|
5361 |
-
css(this.$el, {minHeight: minHeight});
|
5362 |
-
|
5363 |
-
if (minHeight !== prev) {
|
5364 |
-
this.$update(this.$el, 'resize');
|
5365 |
-
}
|
5366 |
-
|
5367 |
-
if (this.minHeight && toFloat(css(this.$el, 'minHeight')) < this.minHeight) {
|
5368 |
-
css(this.$el, 'minHeight', this.minHeight);
|
5369 |
-
}
|
5370 |
-
|
5371 |
-
},
|
5372 |
-
|
5373 |
-
events: ['resize']
|
5374 |
-
|
5375 |
-
}
|
5376 |
-
|
5377 |
-
};
|
5378 |
-
|
5379 |
-
function offsetHeight(el) {
|
5380 |
-
return el && offset(el).height || 0;
|
5381 |
-
}
|
5382 |
-
|
5383 |
-
var Svg = {
|
5384 |
-
|
5385 |
-
args: 'src',
|
5386 |
-
|
5387 |
-
props: {
|
5388 |
-
id: Boolean,
|
5389 |
-
icon: String,
|
5390 |
-
src: String,
|
5391 |
-
style: String,
|
5392 |
-
width: Number,
|
5393 |
-
height: Number,
|
5394 |
-
ratio: Number,
|
5395 |
-
class: String,
|
5396 |
-
strokeAnimation: Boolean,
|
5397 |
-
focusable: Boolean, // IE 11
|
5398 |
-
attributes: 'list'
|
5399 |
-
},
|
5400 |
-
|
5401 |
-
data: {
|
5402 |
-
ratio: 1,
|
5403 |
-
include: ['style', 'class', 'focusable'],
|
5404 |
-
class: '',
|
5405 |
-
strokeAnimation: false
|
5406 |
-
},
|
5407 |
-
|
5408 |
-
beforeConnect: function() {
|
5409 |
-
var this$1 = this;
|
5410 |
-
var assign;
|
5411 |
-
|
5412 |
-
|
5413 |
-
this.class += ' bdt-svg';
|
5414 |
-
|
5415 |
-
if (!this.icon && includes(this.src, '#')) {
|
5416 |
-
|
5417 |
-
var parts = this.src.split('#');
|
5418 |
-
|
5419 |
-
if (parts.length > 1) {
|
5420 |
-
(assign = parts, this.src = assign[0], this.icon = assign[1]);
|
5421 |
-
}
|
5422 |
-
}
|
5423 |
-
|
5424 |
-
this.svg = this.getSvg().then(function (el) {
|
5425 |
-
this$1.applyAttributes(el);
|
5426 |
-
return this$1.svgEl = insertSVG(el, this$1.$el);
|
5427 |
-
}, noop);
|
5428 |
-
|
5429 |
-
},
|
5430 |
-
|
5431 |
-
disconnected: function() {
|
5432 |
-
var this$1 = this;
|
5433 |
-
|
5434 |
-
|
5435 |
-
if (isVoidElement(this.$el)) {
|
5436 |
-
attr(this.$el, 'hidden', null);
|
5437 |
-
}
|
5438 |
-
|
5439 |
-
if (this.svg) {
|
5440 |
-
this.svg.then(function (svg) { return (!this$1._connected || svg !== this$1.svgEl) && remove(svg); }, noop);
|
5441 |
-
}
|
5442 |
-
|
5443 |
-
this.svg = this.svgEl = null;
|
5444 |
-
|
5445 |
-
},
|
5446 |
-
|
5447 |
-
update: {
|
5448 |
-
|
5449 |
-
read: function() {
|
5450 |
-
return !!(this.strokeAnimation && this.svgEl && isVisible(this.svgEl));
|
5451 |
-
},
|
5452 |
-
|
5453 |
-
write: function() {
|
5454 |
-
applyAnimation(this.svgEl);
|
5455 |
-
},
|
5456 |
-
|
5457 |
-
type: ['resize']
|
5458 |
-
|
5459 |
-
},
|
5460 |
-
|
5461 |
-
methods: {
|
5462 |
-
|
5463 |
-
getSvg: function() {
|
5464 |
-
var this$1 = this;
|
5465 |
-
|
5466 |
-
return loadSVG(this.src).then(function (svg) { return parseSVG(svg, this$1.icon) || Promise.reject('SVG not found.'); }
|
5467 |
-
);
|
5468 |
-
},
|
5469 |
-
|
5470 |
-
applyAttributes: function(el) {
|
5471 |
-
var this$1 = this;
|
5472 |
-
|
5473 |
-
|
5474 |
-
for (var prop in this.$options.props) {
|
5475 |
-
if (this[prop] && includes(this.include, prop)) {
|
5476 |
-
attr(el, prop, this[prop]);
|
5477 |
-
}
|
5478 |
-
}
|
5479 |
-
|
5480 |
-
for (var attribute in this.attributes) {
|
5481 |
-
var ref = this.attributes[attribute].split(':', 2);
|
5482 |
-
var prop$1 = ref[0];
|
5483 |
-
var value = ref[1];
|
5484 |
-
attr(el, prop$1, value);
|
5485 |
-
}
|
5486 |
-
|
5487 |
-
if (!this.id) {
|
5488 |
-
removeAttr(el, 'id');
|
5489 |
-
}
|
5490 |
-
|
5491 |
-
var props = ['width', 'height'];
|
5492 |
-
var dimensions = [this.width, this.height];
|
5493 |
-
|
5494 |
-
if (!dimensions.some(function (val) { return val; })) {
|
5495 |
-
dimensions = props.map(function (prop) { return attr(el, prop); });
|
5496 |
-
}
|
5497 |
-
|
5498 |
-
var viewBox = attr(el, 'viewBox');
|
5499 |
-
if (viewBox && !dimensions.some(function (val) { return val; })) {
|
5500 |
-
dimensions = viewBox.split(' ').slice(2);
|
5501 |
-
}
|
5502 |
-
|
5503 |
-
dimensions.forEach(function (val, i) {
|
5504 |
-
val = (val | 0) * this$1.ratio;
|
5505 |
-
val && attr(el, props[i], val);
|
5506 |
-
|
5507 |
-
if (val && !dimensions[i ^ 1]) {
|
5508 |
-
removeAttr(el, props[i ^ 1]);
|
5509 |
-
}
|
5510 |
-
});
|
5511 |
-
|
5512 |
-
attr(el, 'data-svg', this.icon || this.src);
|
5513 |
-
|
5514 |
-
}
|
5515 |
-
|
5516 |
-
}
|
5517 |
-
|
5518 |
-
};
|
5519 |
-
|
5520 |
-
var svgs = {};
|
5521 |
-
|
5522 |
-
function loadSVG(src) {
|
5523 |
-
|
5524 |
-
if (svgs[src]) {
|
5525 |
-
return svgs[src];
|
5526 |
-
}
|
5527 |
-
|
5528 |
-
return svgs[src] = new Promise(function (resolve, reject) {
|
5529 |
-
|
5530 |
-
if (!src) {
|
5531 |
-
reject();
|
5532 |
-
return;
|
5533 |
-
}
|
5534 |
-
|
5535 |
-
if (startsWith(src, 'data:')) {
|
5536 |
-
resolve(decodeURIComponent(src.split(',')[1]));
|
5537 |
-
} else {
|
5538 |
-
|
5539 |
-
ajax(src).then(
|
5540 |
-
function (xhr) { return resolve(xhr.response); },
|
5541 |
-
function () { return reject('SVG not found.'); }
|
5542 |
-
);
|
5543 |
-
|
5544 |
-
}
|
5545 |
-
|
5546 |
-
});
|
5547 |
-
}
|
5548 |
-
|
5549 |
-
function parseSVG(svg, icon) {
|
5550 |
-
|
5551 |
-
if (icon && includes(svg, '<symbol')) {
|
5552 |
-
svg = parseSymbols(svg, icon) || svg;
|
5553 |
-
}
|
5554 |
-
|
5555 |
-
svg = $(svg.substr(svg.indexOf('<svg')));
|
5556 |
-
return svg && svg.hasChildNodes() && svg;
|
5557 |
-
}
|
5558 |
-
|
5559 |
-
var symbolRe = /<symbol(.*?id=(['"])(.*?)\2[^]*?<\/)symbol>/g;
|
5560 |
-
var symbols = {};
|
5561 |
-
|
5562 |
-
function parseSymbols(svg, icon) {
|
5563 |
-
|
5564 |
-
if (!symbols[svg]) {
|
5565 |
-
|
5566 |
-
symbols[svg] = {};
|
5567 |
-
|
5568 |
-
var match;
|
5569 |
-
while ((match = symbolRe.exec(svg))) {
|
5570 |
-
symbols[svg][match[3]] = "<svg xmlns=\"http://www.w3.org/2000/svg\"" + (match[1]) + "svg>";
|
5571 |
-
}
|
5572 |
-
|
5573 |
-
symbolRe.lastIndex = 0;
|
5574 |
-
|
5575 |
-
}
|
5576 |
-
|
5577 |
-
return symbols[svg][icon];
|
5578 |
-
}
|
5579 |
-
|
5580 |
-
function applyAnimation(el) {
|
5581 |
-
|
5582 |
-
var length = getMaxPathLength(el);
|
5583 |
-
|
5584 |
-
if (length) {
|
5585 |
-
el.style.setProperty('--bdt-animation-stroke', length);
|
5586 |
-
}
|
5587 |
-
|
5588 |
-
}
|
5589 |
-
|
5590 |
-
function getMaxPathLength(el) {
|
5591 |
-
return Math.ceil(Math.max.apply(Math, $$('[stroke]', el).map(function (stroke) { return stroke.getTotalLength && stroke.getTotalLength() || 0; }
|
5592 |
-
).concat([0])));
|
5593 |
-
}
|
5594 |
-
|
5595 |
-
function insertSVG(el, root) {
|
5596 |
-
if (isVoidElement(root) || root.tagName === 'CANVAS') {
|
5597 |
-
|
5598 |
-
attr(root, 'hidden', true);
|
5599 |
-
|
5600 |
-
var next = root.nextElementSibling;
|
5601 |
-
return equals(el, next)
|
5602 |
-
? next
|
5603 |
-
: after(root, el);
|
5604 |
-
|
5605 |
-
} else {
|
5606 |
-
|
5607 |
-
var last = root.lastElementChild;
|
5608 |
-
return equals(el, last)
|
5609 |
-
? last
|
5610 |
-
: append(root, el);
|
5611 |
-
|
5612 |
-
}
|
5613 |
-
}
|
5614 |
-
|
5615 |
-
function equals(el, other) {
|
5616 |
-
return attr(el, 'data-svg') === attr(other, 'data-svg');
|
5617 |
-
}
|
5618 |
-
|
5619 |
-
var closeIcon = "<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" xmlns=\"http://www.w3.org/2000/svg\"><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"1\" y1=\"1\" x2=\"13\" y2=\"13\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"13\" y1=\"1\" x2=\"1\" y2=\"13\"/></svg>";
|
5620 |
-
|
5621 |
-
var closeLarge = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" x1=\"1\" y1=\"1\" x2=\"19\" y2=\"19\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" x1=\"19\" y1=\"1\" x2=\"1\" y2=\"19\"/></svg>";
|
5622 |
-
|
5623 |
-
var marker = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"9\" y=\"4\" width=\"1\" height=\"11\"/><rect x=\"4\" y=\"9\" width=\"11\" height=\"1\"/></svg>";
|
5624 |
-
|
5625 |
-
var navbarToggleIcon = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect y=\"9\" width=\"20\" height=\"2\"/><rect y=\"3\" width=\"20\" height=\"2\"/><rect y=\"15\" width=\"20\" height=\"2\"/></svg>";
|
5626 |
-
|
5627 |
-
var overlayIcon = "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"19\" y=\"0\" width=\"1\" height=\"40\"/><rect x=\"0\" y=\"19\" width=\"40\" height=\"1\"/></svg>";
|
5628 |
-
|
5629 |
-
var paginationNext = "<svg width=\"7\" height=\"12\" viewBox=\"0 0 7 12\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" points=\"1 1 6 6 1 11\"/></svg>";
|
5630 |
-
|
5631 |
-
var paginationPrevious = "<svg width=\"7\" height=\"12\" viewBox=\"0 0 7 12\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" points=\"6 1 1 6 6 11\"/></svg>";
|
5632 |
-
|
5633 |
-
var searchIcon = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"9\" cy=\"9\" r=\"7\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M14,14 L18,18 L14,14 Z\"/></svg>";
|
5634 |
-
|
5635 |
-
var searchLarge = "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.8\" cx=\"17.5\" cy=\"17.5\" r=\"16.5\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.8\" x1=\"38\" y1=\"39\" x2=\"29\" y2=\"30\"/></svg>";
|
5636 |
-
|
5637 |
-
var searchNavbar = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10.5\" cy=\"10.5\" r=\"9.5\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"23\" y1=\"23\" x2=\"17\" y2=\"17\"/></svg>";
|
5638 |
-
|
5639 |
-
var slidenavNext = "<svg width=\"14px\" height=\"24px\" viewBox=\"0 0 14 24\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" points=\"1.225,23 12.775,12 1.225,1 \"/></svg>";
|
5640 |
-
|
5641 |
-
var slidenavNextLarge = "<svg width=\"25px\" height=\"40px\" viewBox=\"0 0 25 40\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"2\" points=\"4.002,38.547 22.527,20.024 4,1.5 \"/></svg>";
|
5642 |
-
|
5643 |
-
var slidenavPrevious = "<svg width=\"14px\" height=\"24px\" viewBox=\"0 0 14 24\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" points=\"12.775,1 1.225,12 12.775,23 \"/></svg>";
|
5644 |
-
|
5645 |
-
var slidenavPreviousLarge = "<svg width=\"25px\" height=\"40px\" viewBox=\"0 0 25 40\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"2\" points=\"20.527,1.5 2,20.024 20.525,38.547 \"/></svg>";
|
5646 |
-
|
5647 |
-
var spinner = "<svg width=\"30\" height=\"30\" viewBox=\"0 0 30 30\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" cx=\"15\" cy=\"15\" r=\"14\"/></svg>";
|
5648 |
-
|
5649 |
-
var totop = "<svg width=\"18\" height=\"10\" viewBox=\"0 0 18 10\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" points=\"1 9 9 1 17 9 \"/></svg>";
|
5650 |
-
|
5651 |
-
var parsed = {};
|
5652 |
-
var icons = {
|
5653 |
-
spinner: spinner,
|
5654 |
-
totop: totop,
|
5655 |
-
marker: marker,
|
5656 |
-
'close-icon': closeIcon,
|
5657 |
-
'close-large': closeLarge,
|
5658 |
-
'navbar-toggle-icon': navbarToggleIcon,
|
5659 |
-
'overlay-icon': overlayIcon,
|
5660 |
-
'pagination-next': paginationNext,
|
5661 |
-
'pagination-previous': paginationPrevious,
|
5662 |
-
'search-icon': searchIcon,
|
5663 |
-
'search-large': searchLarge,
|
5664 |
-
'search-navbar': searchNavbar,
|
5665 |
-
'slidenav-next': slidenavNext,
|
5666 |
-
'slidenav-next-large': slidenavNextLarge,
|
5667 |
-
'slidenav-previous': slidenavPrevious,
|
5668 |
-
'slidenav-previous-large': slidenavPreviousLarge
|
5669 |
-
};
|
5670 |
-
|
5671 |
-
var Icon = {
|
5672 |
-
|
5673 |
-
install: install,
|
5674 |
-
|
5675 |
-
extends: Svg,
|
5676 |
-
|
5677 |
-
args: 'icon',
|
5678 |
-
|
5679 |
-
props: ['icon'],
|
5680 |
-
|
5681 |
-
data: {
|
5682 |
-
include: ['focusable']
|
5683 |
-
},
|
5684 |
-
|
5685 |
-
isIcon: true,
|
5686 |
-
|
5687 |
-
beforeConnect: function() {
|
5688 |
-
addClass(this.$el, 'bdt-icon');
|
5689 |
-
},
|
5690 |
-
|
5691 |
-
methods: {
|
5692 |
-
|
5693 |
-
getSvg: function() {
|
5694 |
-
|
5695 |
-
var icon = getIcon(applyRtl(this.icon));
|
5696 |
-
|
5697 |
-
if (!icon) {
|
5698 |
-
return Promise.reject('Icon not found.');
|
5699 |
-
}
|
5700 |
-
|
5701 |
-
return Promise.resolve(icon);
|
5702 |
-
}
|
5703 |
-
|
5704 |
-
}
|
5705 |
-
|
5706 |
-
};
|
5707 |
-
|
5708 |
-
var IconComponent = {
|
5709 |
-
|
5710 |
-
args: false,
|
5711 |
-
|
5712 |
-
extends: Icon,
|
5713 |
-
|
5714 |
-
data: function (vm) { return ({
|
5715 |
-
icon: hyphenate(vm.constructor.options.name)
|
5716 |
-
}); },
|
5717 |
-
|
5718 |
-
beforeConnect: function() {
|
5719 |
-
addClass(this.$el, this.$name);
|
5720 |
-
}
|
5721 |
-
|
5722 |
-
};
|
5723 |
-
|
5724 |
-
var Slidenav = {
|
5725 |
-
|
5726 |
-
extends: IconComponent,
|
5727 |
-
|
5728 |
-
beforeConnect: function() {
|
5729 |
-
addClass(this.$el, 'bdt-slidenav');
|
5730 |
-
},
|
5731 |
-
|
5732 |
-
computed: {
|
5733 |
-
|
5734 |
-
icon: function(ref, $el) {
|
5735 |
-
var icon = ref.icon;
|
5736 |
-
|
5737 |
-
return hasClass($el, 'bdt-slidenav-large')
|
5738 |
-
? (icon + "-large")
|
5739 |
-
: icon;
|
5740 |
-
}
|
5741 |
-
|
5742 |
-
}
|
5743 |
-
|
5744 |
-
};
|
5745 |
-
|
5746 |
-
var Search = {
|
5747 |
-
|
5748 |
-
extends: IconComponent,
|
5749 |
-
|
5750 |
-
computed: {
|
5751 |
-
|
5752 |
-
icon: function(ref, $el) {
|
5753 |
-
var icon = ref.icon;
|
5754 |
-
|
5755 |
-
return hasClass($el, 'bdt-search-icon') && parents($el, '.bdt-search-large').length
|
5756 |
-
? 'search-large'
|
5757 |
-
: parents($el, '.bdt-search-navbar').length
|
5758 |
-
? 'search-navbar'
|
5759 |
-
: icon;
|
5760 |
-
}
|
5761 |
-
|
5762 |
-
}
|
5763 |
-
|
5764 |
-
};
|
5765 |
-
|
5766 |
-
var Close = {
|
5767 |
-
|
5768 |
-
extends: IconComponent,
|
5769 |
-
|
5770 |
-
computed: {
|
5771 |
-
|
5772 |
-
icon: function() {
|
5773 |
-
return ("close-" + (hasClass(this.$el, 'bdt-close-large') ? 'large' : 'icon'));
|
5774 |
-
}
|
5775 |
-
|
5776 |
-
}
|
5777 |
-
|
5778 |
-
};
|
5779 |
-
|
5780 |
-
var Spinner = {
|
5781 |
-
|
5782 |
-
extends: IconComponent,
|
5783 |
-
|
5784 |
-
connected: function() {
|
5785 |
-
var this$1 = this;
|
5786 |
-
|
5787 |
-
this.svg.then(function (svg) { return this$1.ratio !== 1 && css($('circle', svg), 'strokeWidth', 1 / this$1.ratio); }, noop);
|
5788 |
-
}
|
5789 |
-
|
5790 |
-
};
|
5791 |
-
|
5792 |
-
function install(bdtUIkit) {
|
5793 |
-
bdtUIkit.icon.add = function (name, svg) {
|
5794 |
-
var obj;
|
5795 |
-
|
5796 |
-
|
5797 |
-
var added = isString(name) ? (( obj = {}, obj[name] = svg, obj )) : name;
|
5798 |
-
each(added, function (svg, name) {
|
5799 |
-
icons[name] = svg;
|
5800 |
-
delete parsed[name];
|
5801 |
-
});
|
5802 |
-
|
5803 |
-
if (bdtUIkit._initialized) {
|
5804 |
-
apply(document.body, function (el) { return each(bdtUIkit.getComponents(el), function (cmp) {
|
5805 |
-
cmp.$options.isIcon && cmp.icon in added && cmp.$reset();
|
5806 |
-
}); }
|
5807 |
-
);
|
5808 |
-
}
|
5809 |
-
};
|
5810 |
-
}
|
5811 |
-
|
5812 |
-
function getIcon(icon) {
|
5813 |
-
|
5814 |
-
if (!icons[icon]) {
|
5815 |
-
return null;
|
5816 |
-
}
|
5817 |
-
|
5818 |
-
if (!parsed[icon]) {
|
5819 |
-
parsed[icon] = $(icons[icon].trim());
|
5820 |
-
}
|
5821 |
-
|
5822 |
-
return parsed[icon].cloneNode(true);
|
5823 |
-
}
|
5824 |
-
|
5825 |
-
function applyRtl(icon) {
|
5826 |
-
return isRtl ? swap(swap(icon, 'left', 'right'), 'previous', 'next') : icon;
|
5827 |
-
}
|
5828 |
-
|
5829 |
-
var Img = {
|
5830 |
-
|
5831 |
-
args: 'dataSrc',
|
5832 |
-
|
5833 |
-
props: {
|
5834 |
-
dataSrc: String,
|
5835 |
-
dataSrcset: Boolean,
|
5836 |
-
sizes: String,
|
5837 |
-
width: Number,
|
5838 |
-
height: Number,
|
5839 |
-
offsetTop: String,
|
5840 |
-
offsetLeft: String,
|
5841 |
-
target: String
|
5842 |
-
},
|
5843 |
-
|
5844 |
-
data: {
|
5845 |
-
dataSrc: '',
|
5846 |
-
dataSrcset: false,
|
5847 |
-
sizes: false,
|
5848 |
-
width: false,
|
5849 |
-
height: false,
|
5850 |
-
offsetTop: '50vh',
|
5851 |
-
offsetLeft: 0,
|
5852 |
-
target: false
|
5853 |
-
},
|
5854 |
-
|
5855 |
-
computed: {
|
5856 |
-
|
5857 |
-
cacheKey: function(ref) {
|
5858 |
-
var dataSrc = ref.dataSrc;
|
5859 |
-
|
5860 |
-
return ((this.$name) + "." + dataSrc);
|
5861 |
-
},
|
5862 |
-
|
5863 |
-
width: function(ref) {
|
5864 |
-
var width = ref.width;
|
5865 |
-
var dataWidth = ref.dataWidth;
|
5866 |
-
|
5867 |
-
return width || dataWidth;
|
5868 |
-
},
|
5869 |
-
|
5870 |
-
height: function(ref) {
|
5871 |
-
var height = ref.height;
|
5872 |
-
var dataHeight = ref.dataHeight;
|
5873 |
-
|
5874 |
-
return height || dataHeight;
|
5875 |
-
},
|
5876 |
-
|
5877 |
-
sizes: function(ref) {
|
5878 |
-
var sizes = ref.sizes;
|
5879 |
-
var dataSizes = ref.dataSizes;
|
5880 |
-
|
5881 |
-
return sizes || dataSizes;
|
5882 |
-
},
|
5883 |
-
|
5884 |
-
isImg: function(_, $el) {
|
5885 |
-
return isImg($el);
|
5886 |
-
},
|
5887 |
-
|
5888 |
-
target: {
|
5889 |
-
|
5890 |
-
get: function(ref) {
|
5891 |
-
var target = ref.target;
|
5892 |
-
|
5893 |
-
return [this.$el].concat(queryAll(target, this.$el));
|
5894 |
-
},
|
5895 |
-
|
5896 |
-
watch: function() {
|
5897 |
-
this.observe();
|
5898 |
-
}
|
5899 |
-
|
5900 |
-
},
|
5901 |
-
|
5902 |
-
offsetTop: function(ref) {
|
5903 |
-
var offsetTop = ref.offsetTop;
|
5904 |
-
|
5905 |
-
return toPx(offsetTop, 'height');
|
5906 |
-
},
|
5907 |
-
|
5908 |
-
offsetLeft: function(ref) {
|
5909 |
-
var offsetLeft = ref.offsetLeft;
|
5910 |
-
|
5911 |
-
return toPx(offsetLeft, 'width');
|
5912 |
-
}
|
5913 |
-
|
5914 |
-
},
|
5915 |
-
|
5916 |
-
connected: function() {
|
5917 |
-
|
5918 |
-
if (storage[this.cacheKey]) {
|
5919 |
-
setSrcAttrs(this.$el, storage[this.cacheKey] || this.dataSrc, this.dataSrcset, this.sizes);
|
5920 |
-
} else if (this.isImg && this.width && this.height) {
|
5921 |
-
setSrcAttrs(this.$el, getPlaceholderImage(this.width, this.height, this.sizes));
|
5922 |
-
}
|
5923 |
-
|
5924 |
-
this.observer = new IntersectionObserver(this.load, {
|
5925 |
-
rootMargin: ((this.offsetTop) + "px " + (this.offsetLeft) + "px")
|
5926 |
-
});
|
5927 |
-
|
5928 |
-
requestAnimationFrame(this.observe);
|
5929 |
-
|
5930 |
-
},
|
5931 |
-
|
5932 |
-
disconnected: function() {
|
5933 |
-
this.observer.disconnect();
|
5934 |
-
},
|
5935 |
-
|
5936 |
-
update: {
|
5937 |
-
|
5938 |
-
read: function(ref) {
|
5939 |
-
var this$1 = this;
|
5940 |
-
var image = ref.image;
|
5941 |
-
|
5942 |
-
|
5943 |
-
if (!image && document.readyState === 'complete') {
|
5944 |
-
this.load(this.observer.takeRecords());
|
5945 |
-
}
|
5946 |
-
|
5947 |
-
if (this.isImg) {
|
5948 |
-
return false;
|
5949 |
-
}
|
5950 |
-
|
5951 |
-
image && image.then(function (img) { return img && img.currentSrc !== '' && setSrcAttrs(this$1.$el, currentSrc(img)); });
|
5952 |
-
|
5953 |
-
},
|
5954 |
-
|
5955 |
-
write: function(data) {
|
5956 |
-
|
5957 |
-
if (this.dataSrcset && window.devicePixelRatio !== 1) {
|
5958 |
-
|
5959 |
-
var bgSize = css(this.$el, 'backgroundSize');
|
5960 |
-
if (bgSize.match(/^(auto\s?)+$/) || toFloat(bgSize) === data.bgSize) {
|
5961 |
-
data.bgSize = getSourceSize(this.dataSrcset, this.sizes);
|
5962 |
-
css(this.$el, 'backgroundSize', ((data.bgSize) + "px"));
|
5963 |
-
}
|
5964 |
-
|
5965 |
-
}
|
5966 |
-
|
5967 |
-
},
|
5968 |
-
|
5969 |
-
events: ['resize']
|
5970 |
-
|
5971 |
-
},
|
5972 |
-
|
5973 |
-
methods: {
|
5974 |
-
|
5975 |
-
load: function(entries) {
|
5976 |
-
var this$1 = this;
|
5977 |
-
|
5978 |
-
|
5979 |
-
// Old chromium based browsers (UC Browser) did not implement `isIntersecting`
|
5980 |
-
if (!entries.some(function (entry) { return isUndefined(entry.isIntersecting) || entry.isIntersecting; })) {
|
5981 |
-
return;
|
5982 |
-
}
|
5983 |
-
|
5984 |
-
this._data.image = getImage(this.dataSrc, this.dataSrcset, this.sizes).then(function (img) {
|
5985 |
-
|
5986 |
-
setSrcAttrs(this$1.$el, currentSrc(img), img.srcset, img.sizes);
|
5987 |
-
storage[this$1.cacheKey] = currentSrc(img);
|
5988 |
-
return img;
|
5989 |
-
|
5990 |
-
}, noop);
|
5991 |
-
|
5992 |
-
this.observer.disconnect();
|
5993 |
-
},
|
5994 |
-
|
5995 |
-
observe: function() {
|
5996 |
-
var this$1 = this;
|
5997 |
-
|
5998 |
-
if (!this._data.image && this._connected) {
|
5999 |
-
this.target.forEach(function (el) { return this$1.observer.observe(el); });
|
6000 |
-
}
|
6001 |
-
}
|
6002 |
-
|
6003 |
-
}
|
6004 |
-
|
6005 |
-
};
|
6006 |
-
|
6007 |
-
function setSrcAttrs(el, src, srcset, sizes) {
|
6008 |
-
|
6009 |
-
if (isImg(el)) {
|
6010 |
-
sizes && (el.sizes = sizes);
|
6011 |
-
srcset && (el.srcset = srcset);
|
6012 |
-
src && (el.src = src);
|
6013 |
-
} else if (src) {
|
6014 |
-
|
6015 |
-
var change = !includes(el.style.backgroundImage, src);
|
6016 |
-
if (change) {
|
6017 |
-
css(el, 'backgroundImage', ("url(" + (escape(src)) + ")"));
|
6018 |
-
trigger(el, createEvent('load', false));
|
6019 |
-
}
|
6020 |
-
|
6021 |
-
}
|
6022 |
-
|
6023 |
-
}
|
6024 |
-
|
6025 |
-
function getPlaceholderImage(width, height, sizes) {
|
6026 |
-
var assign;
|
6027 |
-
|
6028 |
-
|
6029 |
-
if (sizes) {
|
6030 |
-
((assign = Dimensions.ratio({width: width, height: height}, 'width', toPx(sizesToPixel(sizes))), width = assign.width, height = assign.height));
|
6031 |
-
}
|
6032 |
-
|
6033 |
-
return ("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"" + width + "\" height=\"" + height + "\"></svg>");
|
6034 |
-
}
|
6035 |
-
|
6036 |
-
var sizesRe = /\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;
|
6037 |
-
function sizesToPixel(sizes) {
|
6038 |
-
var matches;
|
6039 |
-
|
6040 |
-
sizesRe.lastIndex = 0;
|
6041 |
-
|
6042 |
-
while ((matches = sizesRe.exec(sizes))) {
|
6043 |
-
if (!matches[1] || window.matchMedia(matches[1]).matches) {
|
6044 |
-
matches = evaluateSize(matches[2]);
|
6045 |
-
break;
|
6046 |
-
}
|
6047 |
-
}
|
6048 |
-
|
6049 |
-
return matches || '100vw';
|
6050 |
-
}
|
6051 |
-
|
6052 |
-
var sizeRe = /\d+(?:\w+|%)/g;
|
6053 |
-
var additionRe = /[+-]?(\d+)/g;
|
6054 |
-
function evaluateSize(size) {
|
6055 |
-
return startsWith(size, 'calc')
|
6056 |
-
? size
|
6057 |
-
.substring(5, size.length - 1)
|
6058 |
-
.replace(sizeRe, function (size) { return toPx(size); })
|
6059 |
-
.replace(/ /g, '')
|
6060 |
-
.match(additionRe)
|
6061 |
-
.reduce(function (a, b) { return a + +b; }, 0)
|
6062 |
-
: size;
|
6063 |
-
}
|
6064 |
-
|
6065 |
-
var srcSetRe = /\s+\d+w\s*(?:,|$)/g;
|
6066 |
-
function getSourceSize(srcset, sizes) {
|
6067 |
-
var srcSize = toPx(sizesToPixel(sizes));
|
6068 |
-
var descriptors = (srcset.match(srcSetRe) || []).map(toFloat).sort(function (a, b) { return a - b; });
|
6069 |
-
|
6070 |
-
return descriptors.filter(function (size) { return size >= srcSize; })[0] || descriptors.pop() || '';
|
6071 |
-
}
|
6072 |
-
|
6073 |
-
function isImg(el) {
|
6074 |
-
return el.tagName === 'IMG';
|
6075 |
-
}
|
6076 |
-
|
6077 |
-
function currentSrc(el) {
|
6078 |
-
return el.currentSrc || el.src;
|
6079 |
-
}
|
6080 |
-
|
6081 |
-
var key = '__test__';
|
6082 |
-
var storage;
|
6083 |
-
|
6084 |
-
// workaround for Safari's private browsing mode and accessing sessionStorage in Blink
|
6085 |
-
try {
|
6086 |
-
storage = window.sessionStorage || {};
|
6087 |
-
storage[key] = 1;
|
6088 |
-
delete storage[key];
|
6089 |
-
} catch (e) {
|
6090 |
-
storage = {};
|
6091 |
-
}
|
6092 |
-
|
6093 |
-
var Media = {
|
6094 |
-
|
6095 |
-
props: {
|
6096 |
-
media: Boolean
|
6097 |
-
},
|
6098 |
-
|
6099 |
-
data: {
|
6100 |
-
media: false
|
6101 |
-
},
|
6102 |
-
|
6103 |
-
computed: {
|
6104 |
-
|
6105 |
-
matchMedia: function() {
|
6106 |
-
var media = toMedia(this.media);
|
6107 |
-
return !media || window.matchMedia(media).matches;
|
6108 |
-
}
|
6109 |
-
|
6110 |
-
}
|
6111 |
-
|
6112 |
-
};
|
6113 |
-
|
6114 |
-
function toMedia(value) {
|
6115 |
-
|
6116 |
-
if (isString(value)) {
|
6117 |
-
if (value[0] === '@') {
|
6118 |
-
var name = "breakpoint-" + (value.substr(1));
|
6119 |
-
value = toFloat(getCssVar(name));
|
6120 |
-
} else if (isNaN(value)) {
|
6121 |
-
return value;
|
6122 |
-
}
|
6123 |
-
}
|
6124 |
-
|
6125 |
-
return value && !isNaN(value) ? ("(min-width: " + value + "px)") : false;
|
6126 |
-
}
|
6127 |
-
|
6128 |
-
var Leader = {
|
6129 |
-
|
6130 |
-
mixins: [Class, Media],
|
6131 |
-
|
6132 |
-
props: {
|
6133 |
-
fill: String
|
6134 |
-
},
|
6135 |
-
|
6136 |
-
data: {
|
6137 |
-
fill: '',
|
6138 |
-
clsWrapper: 'bdt-leader-fill',
|
6139 |
-
clsHide: 'bdt-leader-hide',
|
6140 |
-
attrFill: 'data-fill'
|
6141 |
-
},
|
6142 |
-
|
6143 |
-
computed: {
|
6144 |
-
|
6145 |
-
fill: function(ref) {
|
6146 |
-
var fill = ref.fill;
|
6147 |
-
|
6148 |
-
return fill || getCssVar('leader-fill-content');
|
6149 |
-
}
|
6150 |
-
|
6151 |
-
},
|
6152 |
-
|
6153 |
-
connected: function() {
|
6154 |
-
var assign;
|
6155 |
-
|
6156 |
-
(assign = wrapInner(this.$el, ("<span class=\"" + (this.clsWrapper) + "\">")), this.wrapper = assign[0]);
|
6157 |
-
},
|
6158 |
-
|
6159 |
-
disconnected: function() {
|
6160 |
-
unwrap(this.wrapper.childNodes);
|
6161 |
-
},
|
6162 |
-
|
6163 |
-
update: {
|
6164 |
-
|
6165 |
-
read: function(ref) {
|
6166 |
-
var changed = ref.changed;
|
6167 |
-
var width = ref.width;
|
6168 |
-
|
6169 |
-
|
6170 |
-
var prev = width;
|
6171 |
-
|
6172 |
-
width = Math.floor(this.$el.offsetWidth / 2);
|
6173 |
-
|
6174 |
-
return {
|
6175 |
-
width: width,
|
6176 |
-
fill: this.fill,
|
6177 |
-
changed: changed || prev !== width,
|
6178 |
-
hide: !this.matchMedia
|
6179 |
-
};
|
6180 |
-
},
|
6181 |
-
|
6182 |
-
write: function(data) {
|
6183 |
-
|
6184 |
-
toggleClass(this.wrapper, this.clsHide, data.hide);
|
6185 |
-
|
6186 |
-
if (data.changed) {
|
6187 |
-
data.changed = false;
|
6188 |
-
attr(this.wrapper, this.attrFill, new Array(data.width).join(data.fill));
|
6189 |
-
}
|
6190 |
-
|
6191 |
-
},
|
6192 |
-
|
6193 |
-
events: ['resize']
|
6194 |
-
|
6195 |
-
}
|
6196 |
-
|
6197 |
-
};
|
6198 |
-
|
6199 |
-
var Container = {
|
6200 |
-
|
6201 |
-
props: {
|
6202 |
-
container: Boolean
|
6203 |
-
},
|
6204 |
-
|
6205 |
-
data: {
|
6206 |
-
container: true
|
6207 |
-
},
|
6208 |
-
|
6209 |
-
computed: {
|
6210 |
-
|
6211 |
-
container: function(ref) {
|
6212 |
-
var container = ref.container;
|
6213 |
-
|
6214 |
-
return container === true && this.$container || container && $(container);
|
6215 |
-
}
|
6216 |
-
|
6217 |
-
}
|
6218 |
-
|
6219 |
-
};
|
6220 |
-
|
6221 |
-
var active$1 = [];
|
6222 |
-
|
6223 |
-
var Modal = {
|
6224 |
-
|
6225 |
-
mixins: [Class, Container, Togglable],
|
6226 |
-
|
6227 |
-
props: {
|
6228 |
-
selPanel: String,
|
6229 |
-
selClose: String,
|
6230 |
-
escClose: Boolean,
|
6231 |
-
bgClose: Boolean,
|
6232 |
-
stack: Boolean
|
6233 |
-
},
|
6234 |
-
|
6235 |
-
data: {
|
6236 |
-
cls: 'bdt-open',
|
6237 |
-
escClose: true,
|
6238 |
-
bgClose: true,
|
6239 |
-
overlay: true,
|
6240 |
-
stack: false
|
6241 |
-
},
|
6242 |
-
|
6243 |
-
computed: {
|
6244 |
-
|
6245 |
-
panel: function(ref, $el) {
|
6246 |
-
var selPanel = ref.selPanel;
|
6247 |
-
|
6248 |
-
return $(selPanel, $el);
|
6249 |
-
},
|
6250 |
-
|
6251 |
-
transitionElement: function() {
|
6252 |
-
return this.panel;
|
6253 |
-
},
|
6254 |
-
|
6255 |
-
bgClose: function(ref) {
|
6256 |
-
var bgClose = ref.bgClose;
|
6257 |
-
|
6258 |
-
return bgClose && this.panel;
|
6259 |
-
}
|
6260 |
-
|
6261 |
-
},
|
6262 |
-
|
6263 |
-
beforeDisconnect: function() {
|
6264 |
-
if (this.isToggled()) {
|
6265 |
-
this.toggleNow(this.$el, false);
|
6266 |
-
}
|
6267 |
-
},
|
6268 |
-
|
6269 |
-
events: [
|
6270 |
-
|
6271 |
-
{
|
6272 |
-
|
6273 |
-
name: 'click',
|
6274 |
-
|
6275 |
-
delegate: function() {
|
6276 |
-
return this.selClose;
|
6277 |
-
},
|
6278 |
-
|
6279 |
-
handler: function(e) {
|
6280 |
-
e.preventDefault();
|
6281 |
-
this.hide();
|
6282 |
-
}
|
6283 |
-
|
6284 |
-
},
|
6285 |
-
|
6286 |
-
{
|
6287 |
-
|
6288 |
-
name: 'toggle',
|
6289 |
-
|
6290 |
-
self: true,
|
6291 |
-
|
6292 |
-
handler: function(e) {
|
6293 |
-
|
6294 |
-
if (e.defaultPrevented) {
|
6295 |
-
return;
|
6296 |
-
}
|
6297 |
-
|
6298 |
-
e.preventDefault();
|
6299 |
-
this.toggle();
|
6300 |
-
}
|
6301 |
-
|
6302 |
-
},
|
6303 |
-
|
6304 |
-
{
|
6305 |
-
name: 'beforeshow',
|
6306 |
-
|
6307 |
-
self: true,
|
6308 |
-
|
6309 |
-
handler: function(e) {
|
6310 |
-
|
6311 |
-
if (includes(active$1, this)) {
|
6312 |
-
return false;
|
6313 |
-
}
|
6314 |
-
|
6315 |
-
if (!this.stack && active$1.length) {
|
6316 |
-
Promise.all(active$1.map(function (modal) { return modal.hide(); })).then(this.show);
|
6317 |
-
e.preventDefault();
|
6318 |
-
} else {
|
6319 |
-
active$1.push(this);
|
6320 |
-
}
|
6321 |
-
}
|
6322 |
-
|
6323 |
-
},
|
6324 |
-
|
6325 |
-
{
|
6326 |
-
|
6327 |
-
name: 'show',
|
6328 |
-
|
6329 |
-
self: true,
|
6330 |
-
|
6331 |
-
handler: function() {
|
6332 |
-
var this$1 = this;
|
6333 |
-
|
6334 |
-
|
6335 |
-
if (width(window) - width(document) && this.overlay) {
|
6336 |
-
css(document.body, 'overflowY', 'scroll');
|
6337 |
-
}
|
6338 |
-
|
6339 |
-
addClass(document.documentElement, this.clsPage);
|
6340 |
-
|
6341 |
-
if (this.bgClose) {
|
6342 |
-
once(this.$el, 'hide', delayOn(document, 'click', function (ref) {
|
6343 |
-
var defaultPrevented = ref.defaultPrevented;
|
6344 |
-
var target = ref.target;
|
6345 |
-
|
6346 |
-
var current = last(active$1);
|
6347 |
-
if (!defaultPrevented
|
6348 |
-
&& current === this$1
|
6349 |
-
&& (!current.overlay || within(target, current.$el))
|
6350 |
-
&& !within(target, current.panel)
|
6351 |
-
) {
|
6352 |
-
current.hide();
|
6353 |
-
}
|
6354 |
-
}), {self: true});
|
6355 |
-
}
|
6356 |
-
|
6357 |
-
if (this.escClose) {
|
6358 |
-
once(this.$el, 'hide', on(document, 'keydown', function (e) {
|
6359 |
-
var current = last(active$1);
|
6360 |
-
if (e.keyCode === 27 && current === this$1) {
|
6361 |
-
e.preventDefault();
|
6362 |
-
current.hide();
|
6363 |
-
}
|
6364 |
-
}), {self: true});
|
6365 |
-
}
|
6366 |
-
}
|
6367 |
-
|
6368 |
-
},
|
6369 |
-
|
6370 |
-
{
|
6371 |
-
|
6372 |
-
name: 'hidden',
|
6373 |
-
|
6374 |
-
self: true,
|
6375 |
-
|
6376 |
-
handler: function() {
|
6377 |
-
var this$1 = this;
|
6378 |
-
|
6379 |
-
|
6380 |
-
active$1.splice(active$1.indexOf(this), 1);
|
6381 |
-
|
6382 |
-
if (!active$1.length) {
|
6383 |
-
css(document.body, 'overflowY', '');
|
6384 |
-
}
|
6385 |
-
|
6386 |
-
if (!active$1.some(function (modal) { return modal.clsPage === this$1.clsPage; })) {
|
6387 |
-
removeClass(document.documentElement, this.clsPage);
|
6388 |
-
}
|
6389 |
-
|
6390 |
-
}
|
6391 |
-
|
6392 |
-
}
|
6393 |
-
|
6394 |
-
],
|
6395 |
-
|
6396 |
-
methods: {
|
6397 |
-
|
6398 |
-
toggle: function() {
|
6399 |
-
return this.isToggled() ? this.hide() : this.show();
|
6400 |
-
},
|
6401 |
-
|
6402 |
-
show: function() {
|
6403 |
-
var this$1 = this;
|
6404 |
-
|
6405 |
-
|
6406 |
-
if (this.container && this.$el.parentNode !== this.container) {
|
6407 |
-
append(this.container, this.$el);
|
6408 |
-
return new Promise(function (resolve) { return requestAnimationFrame(function () { return this$1.show().then(resolve); }
|
6409 |
-
); }
|
6410 |
-
);
|
6411 |
-
}
|
6412 |
-
|
6413 |
-
return this.toggleElement(this.$el, true, animate$1(this));
|
6414 |
-
},
|
6415 |
-
|
6416 |
-
hide: function() {
|
6417 |
-
return this.toggleElement(this.$el, false, animate$1(this));
|
6418 |
-
}
|
6419 |
-
|
6420 |
-
}
|
6421 |
-
|
6422 |
-
};
|
6423 |
-
|
6424 |
-
function animate$1(ref) {
|
6425 |
-
var transitionElement = ref.transitionElement;
|
6426 |
-
var _toggle = ref._toggle;
|
6427 |
-
|
6428 |
-
return function (el, show) { return new Promise(function (resolve, reject) { return once(el, 'show hide', function () {
|
6429 |
-
el._reject && el._reject();
|
6430 |
-
el._reject = reject;
|
6431 |
-
|
6432 |
-
_toggle(el, show);
|
6433 |
-
|
6434 |
-
var off = once(transitionElement, 'transitionstart', function () {
|
6435 |
-
once(transitionElement, 'transitionend transitioncancel', resolve, {self: true});
|
6436 |
-
clearTimeout(timer);
|
6437 |
-
}, {self: true});
|
6438 |
-
|
6439 |
-
var timer = setTimeout(function () {
|
6440 |
-
off();
|
6441 |
-
resolve();
|
6442 |
-
}, toMs(css(transitionElement, 'transitionDuration')));
|
6443 |
-
|
6444 |
-
}); }
|
6445 |
-
); };
|
6446 |
-
}
|
6447 |
-
|
6448 |
-
var Modal$1 = {
|
6449 |
-
|
6450 |
-
install: install$1,
|
6451 |
-
|
6452 |
-
mixins: [Modal],
|
6453 |
-
|
6454 |
-
data: {
|
6455 |
-
clsPage: 'bdt-modal-page',
|
6456 |
-
selPanel: '.bdt-modal-dialog',
|
6457 |
-
selClose: '.bdt-modal-close, .bdt-modal-close-default, .bdt-modal-close-outside, .bdt-modal-close-full'
|
6458 |
-
},
|
6459 |
-
|
6460 |
-
events: [
|
6461 |
-
|
6462 |
-
{
|
6463 |
-
name: 'show',
|
6464 |
-
|
6465 |
-
self: true,
|
6466 |
-
|
6467 |
-
handler: function() {
|
6468 |
-
|
6469 |
-
if (hasClass(this.panel, 'bdt-margin-auto-vertical')) {
|
6470 |
-
addClass(this.$el, 'bdt-flex');
|
6471 |
-
} else {
|
6472 |
-
css(this.$el, 'display', 'block');
|
6473 |
-
}
|
6474 |
-
|
6475 |
-
height(this.$el); // force reflow
|
6476 |
-
}
|
6477 |
-
},
|
6478 |
-
|
6479 |
-
{
|
6480 |
-
name: 'hidden',
|
6481 |
-
|
6482 |
-
self: true,
|
6483 |
-
|
6484 |
-
handler: function() {
|
6485 |
-
|
6486 |
-
css(this.$el, 'display', '');
|
6487 |
-
removeClass(this.$el, 'bdt-flex');
|
6488 |
-
|
6489 |
-
}
|
6490 |
-
}
|
6491 |
-
|
6492 |
-
]
|
6493 |
-
|
6494 |
-
};
|
6495 |
-
|
6496 |
-
function install$1(bdtUIkit) {
|
6497 |
-
|
6498 |
-
bdtUIkit.modal.dialog = function (content, options) {
|
6499 |
-
|
6500 |
-
var dialog = bdtUIkit.modal((" <div class=\"bdt-modal\"> <div class=\"bdt-modal-dialog\">" + content + "</div> </div> "), options);
|
6501 |
-
|
6502 |
-
dialog.show();
|
6503 |
-
|
6504 |
-
on(dialog.$el, 'hidden', function () { return Promise.resolve(function () { return dialog.$destroy(true); }); }, {self: true});
|
6505 |
-
|
6506 |
-
return dialog;
|
6507 |
-
};
|
6508 |
-
|
6509 |
-
bdtUIkit.modal.alert = function (message, options) {
|
6510 |
-
|
6511 |
-
options = assign({bgClose: false, escClose: false, labels: bdtUIkit.modal.labels}, options);
|
6512 |
-
|
6513 |
-
return new Promise(
|
6514 |
-
function (resolve) { return on(bdtUIkit.modal.dialog((" <div class=\"bdt-modal-body\">" + (isString(message) ? message : html(message)) + "</div> <div class=\"bdt-modal-footer bdt-text-right\"> <button class=\"bdt-button bdt-button-primary bdt-modal-close\" autofocus>" + (options.labels.ok) + "</button> </div> "), options).$el, 'hide', resolve); }
|
6515 |
-
);
|
6516 |
-
};
|
6517 |
-
|
6518 |
-
bdtUIkit.modal.confirm = function (message, options) {
|
6519 |
-
|
6520 |
-
options = assign({bgClose: false, escClose: true, labels: bdtUIkit.modal.labels}, options);
|
6521 |
-
|
6522 |
-
return new Promise(function (resolve, reject) {
|
6523 |
-
|
6524 |
-
var confirm = bdtUIkit.modal.dialog((" <form> <div class=\"bdt-modal-body\">" + (isString(message) ? message : html(message)) + "</div> <div class=\"bdt-modal-footer bdt-text-right\"> <button class=\"bdt-button bdt-button-default bdt-modal-close\" type=\"button\">" + (options.labels.cancel) + "</button> <button class=\"bdt-button bdt-button-primary\" autofocus>" + (options.labels.ok) + "</button> </div> </form> "), options);
|
6525 |
-
|
6526 |
-
var resolved = false;
|
6527 |
-
|
6528 |
-
on(confirm.$el, 'submit', 'form', function (e) {
|
6529 |
-
e.preventDefault();
|
6530 |
-
resolve();
|
6531 |
-
resolved = true;
|
6532 |
-
confirm.hide();
|
6533 |
-
});
|
6534 |
-
on(confirm.$el, 'hide', function () {
|
6535 |
-
if (!resolved) {
|
6536 |
-
reject();
|
6537 |
-
}
|
6538 |
-
});
|
6539 |
-
|
6540 |
-
});
|
6541 |
-
};
|
6542 |
-
|
6543 |
-
bdtUIkit.modal.prompt = function (message, value, options) {
|
6544 |
-
|
6545 |
-
options = assign({bgClose: false, escClose: true, labels: bdtUIkit.modal.labels}, options);
|
6546 |
-
|
6547 |
-
return new Promise(function (resolve) {
|
6548 |
-
|
6549 |
-
var prompt = bdtUIkit.modal.dialog((" <form class=\"bdt-form-stacked\"> <div class=\"bdt-modal-body\"> <label>" + (isString(message) ? message : html(message)) + "</label> <input class=\"bdt-input\" autofocus> </div> <div class=\"bdt-modal-footer bdt-text-right\"> <button class=\"bdt-button bdt-button-default bdt-modal-close\" type=\"button\">" + (options.labels.cancel) + "</button> <button class=\"bdt-button bdt-button-primary\">" + (options.labels.ok) + "</button> </div> </form> "), options),
|
6550 |
-
input = $('input', prompt.$el);
|
6551 |
-
|
6552 |
-
input.value = value;
|
6553 |
-
|
6554 |
-
var resolved = false;
|
6555 |
-
|
6556 |
-
on(prompt.$el, 'submit', 'form', function (e) {
|
6557 |
-
e.preventDefault();
|
6558 |
-
resolve(input.value);
|
6559 |
-
resolved = true;
|
6560 |
-
prompt.hide();
|
6561 |
-
});
|
6562 |
-
on(prompt.$el, 'hide', function () {
|
6563 |
-
if (!resolved) {
|
6564 |
-
resolve(null);
|
6565 |
-
}
|
6566 |
-
});
|
6567 |
-
|
6568 |
-
});
|
6569 |
-
};
|
6570 |
-
|
6571 |
-
bdtUIkit.modal.labels = {
|
6572 |
-
ok: 'Ok',
|
6573 |
-
cancel: 'Cancel'
|
6574 |
-
};
|
6575 |
-
|
6576 |
-
}
|
6577 |
-
|
6578 |
-
var Nav = {
|
6579 |
-
|
6580 |
-
extends: Accordion,
|
6581 |
-
|
6582 |
-
data: {
|
6583 |
-
targets: '> .bdt-parent',
|
6584 |
-
toggle: '> a',
|
6585 |
-
content: '> ul'
|
6586 |
-
}
|
6587 |
-
|
6588 |
-
};
|
6589 |
-
|
6590 |
-
var Navbar = {
|
6591 |
-
|
6592 |
-
mixins: [Class, FlexBug],
|
6593 |
-
|
6594 |
-
props: {
|
6595 |
-
dropdown: String,
|
6596 |
-
mode: 'list',
|
6597 |
-
align: String,
|
6598 |
-
offset: Number,
|
6599 |
-
boundary: Boolean,
|
6600 |
-
boundaryAlign: Boolean,
|
6601 |
-
clsDrop: String,
|
6602 |
-
delayShow: Number,
|
6603 |
-
delayHide: Number,
|
6604 |
-
dropbar: Boolean,
|
6605 |
-
dropbarMode: String,
|
6606 |
-
dropbarAnchor: Boolean,
|
6607 |
-
duration: Number
|
6608 |
-
},
|
6609 |
-
|
6610 |
-
data: {
|
6611 |
-
dropdown: '.bdt-navbar-nav > li',
|
6612 |
-
align: !isRtl ? 'left' : 'right',
|
6613 |
-
clsDrop: 'bdt-navbar-dropdown',
|
6614 |
-
mode: undefined,
|
6615 |
-
offset: undefined,
|
6616 |
-
delayShow: undefined,
|
6617 |
-
delayHide: undefined,
|
6618 |
-
boundaryAlign: undefined,
|
6619 |
-
flip: 'x',
|
6620 |
-
boundary: true,
|
6621 |
-
dropbar: false,
|
6622 |
-
dropbarMode: 'slide',
|
6623 |
-
dropbarAnchor: false,
|
6624 |
-
duration: 200,
|
6625 |
-
forceHeight: true,
|
6626 |
-
selMinHeight: '.bdt-navbar-nav > li > a, .bdt-navbar-item, .bdt-navbar-toggle'
|
6627 |
-
},
|
6628 |
-
|
6629 |
-
computed: {
|
6630 |
-
|
6631 |
-
boundary: function(ref, $el) {
|
6632 |
-
var boundary = ref.boundary;
|
6633 |
-
var boundaryAlign = ref.boundaryAlign;
|
6634 |
-
|
6635 |
-
return (boundary === true || boundaryAlign) ? $el : boundary;
|
6636 |
-
},
|
6637 |
-
|
6638 |
-
dropbarAnchor: function(ref, $el) {
|
6639 |
-
var dropbarAnchor = ref.dropbarAnchor;
|
6640 |
-
|
6641 |
-
return query(dropbarAnchor, $el);
|
6642 |
-
},
|
6643 |
-
|
6644 |
-
pos: function(ref) {
|
6645 |
-
var align = ref.align;
|
6646 |
-
|
6647 |
-
return ("bottom-" + align);
|
6648 |
-
},
|
6649 |
-
|
6650 |
-
dropdowns: function(ref, $el) {
|
6651 |
-
var dropdown = ref.dropdown;
|
6652 |
-
var clsDrop = ref.clsDrop;
|
6653 |
-
|
6654 |
-
return $$((dropdown + " ." + clsDrop), $el);
|
6655 |
-
}
|
6656 |
-
|
6657 |
-
},
|
6658 |
-
|
6659 |
-
beforeConnect: function() {
|
6660 |
-
|
6661 |
-
var ref = this.$props;
|
6662 |
-
var dropbar = ref.dropbar;
|
6663 |
-
|
6664 |
-
this.dropbar = dropbar && (query(dropbar, this.$el) || $('+ .bdt-navbar-dropbar', this.$el) || $('<div></div>'));
|
6665 |
-
|
6666 |
-
if (this.dropbar) {
|
6667 |
-
|
6668 |
-
addClass(this.dropbar, 'bdt-navbar-dropbar');
|
6669 |
-
|
6670 |
-
if (this.dropbarMode === 'slide') {
|
6671 |
-
addClass(this.dropbar, 'bdt-navbar-dropbar-slide');
|
6672 |
-
}
|
6673 |
-
}
|
6674 |
-
|
6675 |
-
},
|
6676 |
-
|
6677 |
-
disconnected: function() {
|
6678 |
-
this.dropbar && remove(this.dropbar);
|
6679 |
-
},
|
6680 |
-
|
6681 |
-
update: function() {
|
6682 |
-
var this$1 = this;
|
6683 |
-
|
6684 |
-
|
6685 |
-
this.$create(
|
6686 |
-
'drop',
|
6687 |
-
this.dropdowns.filter(function (el) { return !this$1.getDropdown(el); }),
|
6688 |
-
assign({}, this.$props, {boundary: this.boundary, pos: this.pos, offset: this.dropbar || this.offset})
|
6689 |
-
);
|
6690 |
-
|
6691 |
-
},
|
6692 |
-
|
6693 |
-
events: [
|
6694 |
-
|
6695 |
-
{
|
6696 |
-
name: 'mouseover',
|
6697 |
-
|
6698 |
-
delegate: function() {
|
6699 |
-
return this.dropdown;
|
6700 |
-
},
|
6701 |
-
|
6702 |
-
handler: function(ref) {
|
6703 |
-
var current = ref.current;
|
6704 |
-
|
6705 |
-
var active = this.getActive();
|
6706 |
-
if (active && active.toggle && !within(active.toggle.$el, current) && !active.tracker.movesTo(active.$el)) {
|
6707 |
-
active.hide(false);
|
6708 |
-
}
|
6709 |
-
}
|
6710 |
-
|
6711 |
-
},
|
6712 |
-
|
6713 |
-
{
|
6714 |
-
name: 'mouseleave',
|
6715 |
-
|
6716 |
-
el: function() {
|
6717 |
-
return this.dropbar;
|
6718 |
-
},
|
6719 |
-
|
6720 |
-
handler: function() {
|
6721 |
-
var active = this.getActive();
|
6722 |
-
|
6723 |
-
if (active && !this.dropdowns.some(function (el) { return matches(el, ':hover'); })) {
|
6724 |
-
active.hide();
|
6725 |
-
}
|
6726 |
-
}
|
6727 |
-
},
|
6728 |
-
|
6729 |
-
{
|
6730 |
-
name: 'beforeshow',
|
6731 |
-
|
6732 |
-
capture: true,
|
6733 |
-
|
6734 |
-
filter: function() {
|
6735 |
-
return this.dropbar;
|
6736 |
-
},
|
6737 |
-
|
6738 |
-
handler: function() {
|
6739 |
-
|
6740 |
-
if (!this.dropbar.parentNode) {
|
6741 |
-
after(this.dropbarAnchor || this.$el, this.dropbar);
|
6742 |
-
}
|
6743 |
-
|
6744 |
-
}
|
6745 |
-
},
|
6746 |
-
|
6747 |
-
{
|
6748 |
-
name: 'show',
|
6749 |
-
|
6750 |
-
capture: true,
|
6751 |
-
|
6752 |
-
filter: function() {
|
6753 |
-
return this.dropbar;
|
6754 |
-
},
|
6755 |
-
|
6756 |
-
handler: function(_, drop) {
|
6757 |
-
|
6758 |
-
var $el = drop.$el;
|
6759 |
-
var dir = drop.dir;
|
6760 |
-
|
6761 |
-
this.clsDrop && addClass($el, ((this.clsDrop) + "-dropbar"));
|
6762 |
-
|
6763 |
-
if (dir === 'bottom') {
|
6764 |
-
this.transitionTo($el.offsetHeight + toFloat(css($el, 'marginTop')) + toFloat(css($el, 'marginBottom')), $el);
|
6765 |
-
}
|
6766 |
-
}
|
6767 |
-
},
|
6768 |
-
|
6769 |
-
{
|
6770 |
-
name: 'beforehide',
|
6771 |
-
|
6772 |
-
filter: function() {
|
6773 |
-
return this.dropbar;
|
6774 |
-
},
|
6775 |
-
|
6776 |
-
handler: function(e, ref) {
|
6777 |
-
var $el = ref.$el;
|
6778 |
-
|
6779 |
-
|
6780 |
-
var active = this.getActive();
|
6781 |
-
|
6782 |
-
if (matches(this.dropbar, ':hover') && active && active.$el === $el) {
|
6783 |
-
e.preventDefault();
|
6784 |
-
}
|
6785 |
-
}
|
6786 |
-
},
|
6787 |
-
|
6788 |
-
{
|
6789 |
-
name: 'hide',
|
6790 |
-
|
6791 |
-
filter: function() {
|
6792 |
-
return this.dropbar;
|
6793 |
-
},
|
6794 |
-
|
6795 |
-
handler: function(_, ref) {
|
6796 |
-
var $el = ref.$el;
|
6797 |
-
|
6798 |
-
|
6799 |
-
var active = this.getActive();
|
6800 |
-
|
6801 |
-
if (!active || active && active.$el === $el) {
|
6802 |
-
this.transitionTo(0);
|
6803 |
-
}
|
6804 |
-
}
|
6805 |
-
}
|
6806 |
-
|
6807 |
-
],
|
6808 |
-
|
6809 |
-
methods: {
|
6810 |
-
|
6811 |
-
getActive: function() {
|
6812 |
-
var ref = this.dropdowns.map(this.getDropdown).filter(function (drop) { return drop && drop.isActive(); });
|
6813 |
-
var active = ref[0];
|
6814 |
-
return active && includes(active.mode, 'hover') && within(active.toggle.$el, this.$el) && active;
|
6815 |
-
},
|
6816 |
-
|
6817 |
-
transitionTo: function(newHeight, el) {
|
6818 |
-
var this$1 = this;
|
6819 |
-
|
6820 |
-
|
6821 |
-
var ref = this;
|
6822 |
-
var dropbar = ref.dropbar;
|
6823 |
-
var oldHeight = isVisible(dropbar) ? height(dropbar) : 0;
|
6824 |
-
|
6825 |
-
el = oldHeight < newHeight && el;
|
6826 |
-
|
6827 |
-
css(el, 'clip', ("rect(0," + (el.offsetWidth) + "px," + oldHeight + "px,0)"));
|
6828 |
-
|
6829 |
-
height(dropbar, oldHeight);
|
6830 |
-
|
6831 |
-
Transition.cancel([el, dropbar]);
|
6832 |
-
return Promise.all([
|
6833 |
-
Transition.start(dropbar, {height: newHeight}, this.duration),
|
6834 |
-
Transition.start(el, {clip: ("rect(0," + (el.offsetWidth) + "px," + newHeight + "px,0)")}, this.duration)
|
6835 |
-
])
|
6836 |
-
.catch(noop)
|
6837 |
-
.then(function () {
|
6838 |
-
css(el, {clip: ''});
|
6839 |
-
this$1.$update(dropbar);
|
6840 |
-
});
|
6841 |
-
},
|
6842 |
-
|
6843 |
-
getDropdown: function(el) {
|
6844 |
-
return this.$getComponent(el, 'drop') || this.$getComponent(el, 'dropdown');
|
6845 |
-
}
|
6846 |
-
|
6847 |
-
}
|
6848 |
-
|
6849 |
-
};
|
6850 |
-
|
6851 |
-
var Offcanvas = {
|
6852 |
-
|
6853 |
-
mixins: [Modal],
|
6854 |
-
|
6855 |
-
args: 'mode',
|
6856 |
-
|
6857 |
-
props: {
|
6858 |
-
mode: String,
|
6859 |
-
flip: Boolean,
|
6860 |
-
overlay: Boolean
|
6861 |
-
},
|
6862 |
-
|
6863 |
-
data: {
|
6864 |
-
mode: 'slide',
|
6865 |
-
flip: false,
|
6866 |
-
overlay: false,
|
6867 |
-
clsPage: 'bdt-offcanvas-page',
|
6868 |
-
clsContainer: 'bdt-offcanvas-container',
|
6869 |
-
selPanel: '.bdt-offcanvas-bar',
|
6870 |
-
clsFlip: 'bdt-offcanvas-flip',
|
6871 |
-
clsContainerAnimation: 'bdt-offcanvas-container-animation',
|
6872 |
-
clsSidebarAnimation: 'bdt-offcanvas-bar-animation',
|
6873 |
-
clsMode: 'bdt-offcanvas',
|
6874 |
-
clsOverlay: 'bdt-offcanvas-overlay',
|
6875 |
-
selClose: '.bdt-offcanvas-close',
|
6876 |
-
container: false
|
6877 |
-
},
|
6878 |
-
|
6879 |
-
computed: {
|
6880 |
-
|
6881 |
-
clsFlip: function(ref) {
|
6882 |
-
var flip = ref.flip;
|
6883 |
-
var clsFlip = ref.clsFlip;
|
6884 |
-
|
6885 |
-
return flip ? clsFlip : '';
|
6886 |
-
},
|
6887 |
-
|
6888 |
-
clsOverlay: function(ref) {
|
6889 |
-
var overlay = ref.overlay;
|
6890 |
-
var clsOverlay = ref.clsOverlay;
|
6891 |
-
|
6892 |
-
return overlay ? clsOverlay : '';
|
6893 |
-
},
|
6894 |
-
|
6895 |
-
clsMode: function(ref) {
|
6896 |
-
var mode = ref.mode;
|
6897 |
-
var clsMode = ref.clsMode;
|
6898 |
-
|
6899 |
-
return (clsMode + "-" + mode);
|
6900 |
-
},
|
6901 |
-
|
6902 |
-
clsSidebarAnimation: function(ref) {
|
6903 |
-
var mode = ref.mode;
|
6904 |
-
var clsSidebarAnimation = ref.clsSidebarAnimation;
|
6905 |
-
|
6906 |
-
return mode === 'none' || mode === 'reveal' ? '' : clsSidebarAnimation;
|
6907 |
-
},
|
6908 |
-
|
6909 |
-
clsContainerAnimation: function(ref) {
|
6910 |
-
var mode = ref.mode;
|
6911 |
-
var clsContainerAnimation = ref.clsContainerAnimation;
|
6912 |
-
|
6913 |
-
return mode !== 'push' && mode !== 'reveal' ? '' : clsContainerAnimation;
|
6914 |
-
},
|
6915 |
-
|
6916 |
-
transitionElement: function(ref) {
|
6917 |
-
var mode = ref.mode;
|
6918 |
-
|
6919 |
-
return mode === 'reveal' ? this.panel.parentNode : this.panel;
|
6920 |
-
}
|
6921 |
-
|
6922 |
-
},
|
6923 |
-
|
6924 |
-
events: [
|
6925 |
-
|
6926 |
-
{
|
6927 |
-
|
6928 |
-
name: 'click',
|
6929 |
-
|
6930 |
-
delegate: function() {
|
6931 |
-
return 'a[href^="#"]';
|
6932 |
-
},
|
6933 |
-
|
6934 |
-
handler: function(ref) {
|
6935 |
-
var hash = ref.current.hash;
|
6936 |
-
var defaultPrevented = ref.defaultPrevented;
|
6937 |
-
|
6938 |
-
if (!defaultPrevented && hash && $(hash, document.body)) {
|
6939 |
-
this.hide();
|
6940 |
-
}
|
6941 |
-
}
|
6942 |
-
|
6943 |
-
},
|
6944 |
-
|
6945 |
-
{
|
6946 |
-
name: 'touchstart',
|
6947 |
-
|
6948 |
-
passive: true,
|
6949 |
-
|
6950 |
-
el: function() {
|
6951 |
-
return this.panel;
|
6952 |
-
},
|
6953 |
-
|
6954 |
-
handler: function(ref) {
|
6955 |
-
var targetTouches = ref.targetTouches;
|
6956 |
-
|
6957 |
-
|
6958 |
-
if (targetTouches.length === 1) {
|
6959 |
-
this.clientY = targetTouches[0].clientY;
|
6960 |
-
}
|
6961 |
-
|
6962 |
-
}
|
6963 |
-
|
6964 |
-
},
|
6965 |
-
|
6966 |
-
{
|
6967 |
-
name: 'touchmove',
|
6968 |
-
|
6969 |
-
self: true,
|
6970 |
-
passive: false,
|
6971 |
-
|
6972 |
-
filter: function() {
|
6973 |
-
return this.overlay;
|
6974 |
-
},
|
6975 |
-
|
6976 |
-
handler: function(e) {
|
6977 |
-
e.cancelable && e.preventDefault();
|
6978 |
-
}
|
6979 |
-
|
6980 |
-
},
|
6981 |
-
|
6982 |
-
{
|
6983 |
-
name: 'touchmove',
|
6984 |
-
|
6985 |
-
passive: false,
|
6986 |
-
|
6987 |
-
el: function() {
|
6988 |
-
return this.panel;
|
6989 |
-
},
|
6990 |
-
|
6991 |
-
handler: function(e) {
|
6992 |
-
|
6993 |
-
if (e.targetTouches.length !== 1) {
|
6994 |
-
return;
|
6995 |
-
}
|
6996 |
-
|
6997 |
-
var clientY = event.targetTouches[0].clientY - this.clientY;
|
6998 |
-
var ref = this.panel;
|
6999 |
-
var scrollTop = ref.scrollTop;
|
7000 |
-
var scrollHeight = ref.scrollHeight;
|
7001 |
-
var clientHeight = ref.clientHeight;
|
7002 |
-
|
7003 |
-
if (clientHeight >= scrollHeight
|
7004 |
-
|| scrollTop === 0 && clientY > 0
|
7005 |
-
|| scrollHeight - scrollTop <= clientHeight && clientY < 0
|
7006 |
-
) {
|
7007 |
-
e.cancelable && e.preventDefault();
|
7008 |
-
}
|
7009 |
-
|
7010 |
-
}
|
7011 |
-
|
7012 |
-
},
|
7013 |
-
|
7014 |
-
{
|
7015 |
-
name: 'show',
|
7016 |
-
|
7017 |
-
self: true,
|
7018 |
-
|
7019 |
-
handler: function() {
|
7020 |
-
|
7021 |
-
if (this.mode === 'reveal' && !hasClass(this.panel.parentNode, this.clsMode)) {
|
7022 |
-
wrapAll(this.panel, '<div>');
|
7023 |
-
addClass(this.panel.parentNode, this.clsMode);
|
7024 |
-
}
|
7025 |
-
|
7026 |
-
css(document.documentElement, 'overflowY', this.overlay ? 'hidden' : '');
|
7027 |
-
addClass(document.body, this.clsContainer, this.clsFlip);
|
7028 |
-
css(document.body, 'touch-action', 'pan-y pinch-zoom');
|
7029 |
-
css(this.$el, 'display', 'block');
|
7030 |
-
addClass(this.$el, this.clsOverlay);
|
7031 |
-
addClass(this.panel, this.clsSidebarAnimation, this.mode !== 'reveal' ? this.clsMode : '');
|
7032 |
-
|
7033 |
-
height(document.body); // force reflow
|
7034 |
-
addClass(document.body, this.clsContainerAnimation);
|
7035 |
-
|
7036 |
-
this.clsContainerAnimation && suppressUserScale();
|
7037 |
-
|
7038 |
-
|
7039 |
-
}
|
7040 |
-
},
|
7041 |
-
|
7042 |
-
{
|
7043 |
-
name: 'hide',
|
7044 |
-
|
7045 |
-
self: true,
|
7046 |
-
|
7047 |
-
handler: function() {
|
7048 |
-
removeClass(document.body, this.clsContainerAnimation);
|
7049 |
-
css(document.body, 'touch-action', '');
|
7050 |
-
}
|
7051 |
-
},
|
7052 |
-
|
7053 |
-
{
|
7054 |
-
name: 'hidden',
|
7055 |
-
|
7056 |
-
self: true,
|
7057 |
-
|
7058 |
-
handler: function() {
|
7059 |
-
|
7060 |
-
this.clsContainerAnimation && resumeUserScale();
|
7061 |
-
|
7062 |
-
if (this.mode === 'reveal') {
|
7063 |
-
unwrap(this.panel);
|
7064 |
-
}
|
7065 |
-
|
7066 |
-
removeClass(this.panel, this.clsSidebarAnimation, this.clsMode);
|
7067 |
-
removeClass(this.$el, this.clsOverlay);
|
7068 |
-
css(this.$el, 'display', '');
|
7069 |
-
removeClass(document.body, this.clsContainer, this.clsFlip);
|
7070 |
-
|
7071 |
-
css(document.documentElement, 'overflowY', '');
|
7072 |
-
|
7073 |
-
}
|
7074 |
-
},
|
7075 |
-
|
7076 |
-
{
|
7077 |
-
name: 'swipeLeft swipeRight',
|
7078 |
-
|
7079 |
-
handler: function(e) {
|
7080 |
-
|
7081 |
-
if (this.isToggled() && endsWith(e.type, 'Left') ^ this.flip) {
|
7082 |
-
this.hide();
|
7083 |
-
}
|
7084 |
-
|
7085 |
-
}
|
7086 |
-
}
|
7087 |
-
|
7088 |
-
]
|
7089 |
-
|
7090 |
-
};
|
7091 |
-
|
7092 |
-
// Chrome in responsive mode zooms page upon opening offcanvas
|
7093 |
-
function suppressUserScale() {
|
7094 |
-
getViewport().content += ',user-scalable=0';
|
7095 |
-
}
|
7096 |
-
|
7097 |
-
function resumeUserScale() {
|
7098 |
-
var viewport = getViewport();
|
7099 |
-
viewport.content = viewport.content.replace(/,user-scalable=0$/, '');
|
7100 |
-
}
|
7101 |
-
|
7102 |
-
function getViewport() {
|
7103 |
-
return $('meta[name="viewport"]', document.head) || append(document.head, '<meta name="viewport">');
|
7104 |
-
}
|
7105 |
-
|
7106 |
-
var OverflowAuto = {
|
7107 |
-
|
7108 |
-
mixins: [Class],
|
7109 |
-
|
7110 |
-
props: {
|
7111 |
-
selContainer: String,
|
7112 |
-
selContent: String
|
7113 |
-
},
|
7114 |
-
|
7115 |
-
data: {
|
7116 |
-
selContainer: '.bdt-modal',
|
7117 |
-
selContent: '.bdt-modal-dialog'
|
7118 |
-
},
|
7119 |
-
|
7120 |
-
computed: {
|
7121 |
-
|
7122 |
-
container: function(ref, $el) {
|
7123 |
-
var selContainer = ref.selContainer;
|
7124 |
-
|
7125 |
-
return closest($el, selContainer);
|
7126 |
-
},
|
7127 |
-
|
7128 |
-
content: function(ref, $el) {
|
7129 |
-
var selContent = ref.selContent;
|
7130 |
-
|
7131 |
-
return closest($el, selContent);
|
7132 |
-
}
|
7133 |
-
|
7134 |
-
},
|
7135 |
-
|
7136 |
-
connected: function() {
|
7137 |
-
css(this.$el, 'minHeight', 150);
|
7138 |
-
},
|
7139 |
-
|
7140 |
-
update: {
|
7141 |
-
|
7142 |
-
read: function() {
|
7143 |
-
|
7144 |
-
if (!this.content || !this.container) {
|
7145 |
-
return false;
|
7146 |
-
}
|
7147 |
-
|
7148 |
-
return {
|
7149 |
-
current: toFloat(css(this.$el, 'maxHeight')),
|
7150 |
-
max: Math.max(150, height(this.container) - (offset(this.content).height - height(this.$el)))
|
7151 |
-
};
|
7152 |
-
},
|
7153 |
-
|
7154 |
-
write: function(ref) {
|
7155 |
-
var current = ref.current;
|
7156 |
-
var max = ref.max;
|
7157 |
-
|
7158 |
-
css(this.$el, 'maxHeight', max);
|
7159 |
-
if (Math.round(current) !== Math.round(max)) {
|
7160 |
-
trigger(this.$el, 'resize');
|
7161 |
-
}
|
7162 |
-
},
|
7163 |
-
|
7164 |
-
events: ['resize']
|
7165 |
-
|
7166 |
-
}
|
7167 |
-
|
7168 |
-
};
|
7169 |
-
|
7170 |
-
var Responsive = {
|
7171 |
-
|
7172 |
-
props: ['width', 'height'],
|
7173 |
-
|
7174 |
-
connected: function() {
|
7175 |
-
addClass(this.$el, 'bdt-responsive-width');
|
7176 |
-
},
|
7177 |
-
|
7178 |
-
update: {
|
7179 |
-
|
7180 |
-
read: function() {
|
7181 |
-
return isVisible(this.$el) && this.width && this.height
|
7182 |
-
? {width: width(this.$el.parentNode), height: this.height}
|
7183 |
-
: false;
|
7184 |
-
},
|
7185 |
-
|
7186 |
-
write: function(dim) {
|
7187 |
-
height(this.$el, Dimensions.contain({
|
7188 |
-
height: this.height,
|
7189 |
-
width: this.width
|
7190 |
-
}, dim).height);
|
7191 |
-
},
|
7192 |
-
|
7193 |
-
events: ['resize']
|
7194 |
-
|
7195 |
-
}
|
7196 |
-
|
7197 |
-
};
|
7198 |
-
|
7199 |
-
var Scroll = {
|
7200 |
-
|
7201 |
-
props: {
|
7202 |
-
duration: Number,
|
7203 |
-
offset: Number
|
7204 |
-
},
|
7205 |
-
|
7206 |
-
data: {
|
7207 |
-
duration: 1000,
|
7208 |
-
offset: 0
|
7209 |
-
},
|
7210 |
-
|
7211 |
-
methods: {
|
7212 |
-
|
7213 |
-
scrollTo: function(el) {
|
7214 |
-
var this$1 = this;
|
7215 |
-
|
7216 |
-
|
7217 |
-
el = el && $(el) || document.body;
|
7218 |
-
|
7219 |
-
var docHeight = height(document);
|
7220 |
-
var winHeight = height(window);
|
7221 |
-
|
7222 |
-
var target = offset(el).top - this.offset;
|
7223 |
-
if (target + winHeight > docHeight) {
|
7224 |
-
target = docHeight - winHeight;
|
7225 |
-
}
|
7226 |
-
|
7227 |
-
if (!trigger(this.$el, 'beforescroll', [this, el])) {
|
7228 |
-
return;
|
7229 |
-
}
|
7230 |
-
|
7231 |
-
var start = Date.now();
|
7232 |
-
var startY = window.pageYOffset;
|
7233 |
-
var step = function () {
|
7234 |
-
|
7235 |
-
var currentY = startY + (target - startY) * ease(clamp((Date.now() - start) / this$1.duration));
|
7236 |
-
|
7237 |
-
scrollTop(window, currentY);
|
7238 |
-
|
7239 |
-
// scroll more if we have not reached our destination
|
7240 |
-
if (currentY !== target) {
|
7241 |
-
requestAnimationFrame(step);
|
7242 |
-
} else {
|
7243 |
-
trigger(this$1.$el, 'scrolled', [this$1, el]);
|
7244 |
-
}
|
7245 |
-
|
7246 |
-
};
|
7247 |
-
|
7248 |
-
step();
|
7249 |
-
|
7250 |
-
}
|
7251 |
-
|
7252 |
-
},
|
7253 |
-
|
7254 |
-
events: {
|
7255 |
-
|
7256 |
-
click: function(e) {
|
7257 |
-
|
7258 |
-
if (e.defaultPrevented) {
|
7259 |
-
return;
|
7260 |
-
}
|
7261 |
-
|
7262 |
-
e.preventDefault();
|
7263 |
-
this.scrollTo(escape(decodeURIComponent(this.$el.hash)).substr(1));
|
7264 |
-
}
|
7265 |
-
|
7266 |
-
}
|
7267 |
-
|
7268 |
-
};
|
7269 |
-
|
7270 |
-
function ease(k) {
|
7271 |
-
return 0.5 * (1 - Math.cos(Math.PI * k));
|
7272 |
-
}
|
7273 |
-
|
7274 |
-
var Scrollspy = {
|
7275 |
-
|
7276 |
-
args: 'cls',
|
7277 |
-
|
7278 |
-
props: {
|
7279 |
-
cls: String,
|
7280 |
-
target: String,
|
7281 |
-
hidden: Boolean,
|
7282 |
-
offsetTop: Number,
|
7283 |
-
offsetLeft: Number,
|
7284 |
-
repeat: Boolean,
|
7285 |
-
delay: Number
|
7286 |
-
},
|
7287 |
-
|
7288 |
-
data: function () { return ({
|
7289 |
-
cls: false,
|
7290 |
-
target: false,
|
7291 |
-
hidden: true,
|
7292 |
-
offsetTop: 0,
|
7293 |
-
offsetLeft: 0,
|
7294 |
-
repeat: false,
|
7295 |
-
delay: 0,
|
7296 |
-
inViewClass: 'bdt-scrollspy-inview'
|
7297 |
-
}); },
|
7298 |
-
|
7299 |
-
computed: {
|
7300 |
-
|
7301 |
-
elements: function(ref, $el) {
|
7302 |
-
var target = ref.target;
|
7303 |
-
|
7304 |
-
return target ? $$(target, $el) : [$el];
|
7305 |
-
}
|
7306 |
-
|
7307 |
-
},
|
7308 |
-
|
7309 |
-
update: [
|
7310 |
-
|
7311 |
-
{
|
7312 |
-
|
7313 |
-
write: function() {
|
7314 |
-
if (this.hidden) {
|
7315 |
-
css(filter(this.elements, (":not(." + (this.inViewClass) + ")")), 'visibility', 'hidden');
|
7316 |
-
}
|
7317 |
-
}
|
7318 |
-
|
7319 |
-
},
|
7320 |
-
|
7321 |
-
{
|
7322 |
-
|
7323 |
-
read: function(ref) {
|
7324 |
-
var this$1 = this;
|
7325 |
-
var update = ref.update;
|
7326 |
-
|
7327 |
-
|
7328 |
-
if (!update) {
|
7329 |
-
return;
|
7330 |
-
}
|
7331 |
-
|
7332 |
-
this.elements.forEach(function (el) {
|
7333 |
-
|
7334 |
-
var state = el._ukScrollspyState;
|
7335 |
-
|
7336 |
-
if (!state) {
|
7337 |
-
state = {cls: data(el, 'bdt-scrollspy-class') || this$1.cls};
|
7338 |
-
}
|
7339 |
-
|
7340 |
-
state.show = isInView(el, this$1.offsetTop, this$1.offsetLeft);
|
7341 |
-
el._ukScrollspyState = state;
|
7342 |
-
|
7343 |
-
});
|
7344 |
-
|
7345 |
-
},
|
7346 |
-
|
7347 |
-
write: function(data) {
|
7348 |
-
var this$1 = this;
|
7349 |
-
|
7350 |
-
|
7351 |
-
// Let child components be applied at least once first
|
7352 |
-
if (!data.update) {
|
7353 |
-
this.$emit();
|
7354 |
-
return data.update = true;
|
7355 |
-
}
|
7356 |
-
|
7357 |
-
this.elements.forEach(function (el) {
|
7358 |
-
|
7359 |
-
var state = el._ukScrollspyState;
|
7360 |
-
var cls = state.cls;
|
7361 |
-
|
7362 |
-
if (state.show && !state.inview && !state.queued) {
|
7363 |
-
|
7364 |
-
var show = function () {
|
7365 |
-
|
7366 |
-
css(el, 'visibility', '');
|
7367 |
-
addClass(el, this$1.inViewClass);
|
7368 |
-
toggleClass(el, cls);
|
7369 |
-
|
7370 |
-
trigger(el, 'inview');
|
7371 |
-
|
7372 |
-
this$1.$update(el);
|
7373 |
-
|
7374 |
-
state.inview = true;
|
7375 |
-
state.abort && state.abort();
|
7376 |
-
};
|
7377 |
-
|
7378 |
-
if (this$1.delay) {
|
7379 |
-
|
7380 |
-
state.queued = true;
|
7381 |
-
data.promise = (data.promise || Promise.resolve()).then(function () {
|
7382 |
-
return !state.inview && new Promise(function (resolve) {
|
7383 |
-
|
7384 |
-
var timer = setTimeout(function () {
|
7385 |
-
|
7386 |
-
show();
|
7387 |
-
resolve();
|
7388 |
-
|
7389 |
-
}, data.promise || this$1.elements.length === 1 ? this$1.delay : 0);
|
7390 |
-
|
7391 |
-
state.abort = function () {
|
7392 |
-
clearTimeout(timer);
|
7393 |
-
resolve();
|
7394 |
-
state.queued = false;
|
7395 |
-
};
|
7396 |
-
|
7397 |
-
});
|
7398 |
-
|
7399 |
-
});
|
7400 |
-
|
7401 |
-
} else {
|
7402 |
-
show();
|
7403 |
-
}
|
7404 |
-
|
7405 |
-
} else if (!state.show && (state.inview || state.queued) && this$1.repeat) {
|
7406 |
-
|
7407 |
-
state.abort && state.abort();
|
7408 |
-
|
7409 |
-
if (!state.inview) {
|
7410 |
-
return;
|
7411 |
-
}
|
7412 |
-
|
7413 |
-
css(el, 'visibility', this$1.hidden ? 'hidden' : '');
|
7414 |
-
removeClass(el, this$1.inViewClass);
|
7415 |
-
toggleClass(el, cls);
|
7416 |
-
|
7417 |
-
trigger(el, 'outview');
|
7418 |
-
|
7419 |
-
this$1.$update(el);
|
7420 |
-
|
7421 |
-
state.inview = false;
|
7422 |
-
|
7423 |
-
}
|
7424 |
-
|
7425 |
-
|
7426 |
-
});
|
7427 |
-
|
7428 |
-
},
|
7429 |
-
|
7430 |
-
events: ['scroll', 'resize']
|
7431 |
-
|
7432 |
-
}
|
7433 |
-
|
7434 |
-
]
|
7435 |
-
|
7436 |
-
};
|
7437 |
-
|
7438 |
-
var ScrollspyNav = {
|
7439 |
-
|
7440 |
-
props: {
|
7441 |
-
cls: String,
|
7442 |
-
closest: String,
|
7443 |
-
scroll: Boolean,
|
7444 |
-
overflow: Boolean,
|
7445 |
-
offset: Number
|
7446 |
-
},
|
7447 |
-
|
7448 |
-
data: {
|
7449 |
-
cls: 'bdt-active',
|
7450 |
-
closest: false,
|
7451 |
-
scroll: false,
|
7452 |
-
overflow: true,
|
7453 |
-
offset: 0
|
7454 |
-
},
|
7455 |
-
|
7456 |
-
computed: {
|
7457 |
-
|
7458 |
-
links: function(_, $el) {
|
7459 |
-
return $$('a[href^="#"]', $el).filter(function (el) { return el.hash; });
|
7460 |
-
},
|
7461 |
-
|
7462 |
-
elements: function(ref) {
|
7463 |
-
var selector = ref.closest;
|
7464 |
-
|
7465 |
-
return closest(this.links, selector || '*');
|
7466 |
-
},
|
7467 |
-
|
7468 |
-
targets: function() {
|
7469 |
-
return $$(this.links.map(function (el) { return escape(el.hash).substr(1); }).join(','));
|
7470 |
-
}
|
7471 |
-
|
7472 |
-
},
|
7473 |
-
|
7474 |
-
update: [
|
7475 |
-
|
7476 |
-
{
|
7477 |
-
|
7478 |
-
read: function() {
|
7479 |
-
if (this.scroll) {
|
7480 |
-
this.$create('scroll', this.links, {offset: this.offset || 0});
|
7481 |
-
}
|
7482 |
-
}
|
7483 |
-
|
7484 |
-
},
|
7485 |
-
|
7486 |
-
{
|
7487 |
-
|
7488 |
-
read: function(data) {
|
7489 |
-
var this$1 = this;
|
7490 |
-
|
7491 |
-
|
7492 |
-
var scroll = window.pageYOffset + this.offset + 1;
|
7493 |
-
var max = height(document) - height(window) + this.offset;
|
7494 |
-
|
7495 |
-
data.active = false;
|
7496 |
-
|
7497 |
-
this.targets.every(function (el, i) {
|
7498 |
-
|
7499 |
-
var ref = offset(el);
|
7500 |
-
var top = ref.top;
|
7501 |
-
var last = i + 1 === this$1.targets.length;
|
7502 |
-
|
7503 |
-
if (!this$1.overflow && (i === 0 && top > scroll || last && top + el.offsetTop < scroll)) {
|
7504 |
-
return false;
|
7505 |
-
}
|
7506 |
-
|
7507 |
-
if (!last && offset(this$1.targets[i + 1]).top <= scroll) {
|
7508 |
-
return true;
|
7509 |
-
}
|
7510 |
-
|
7511 |
-
if (scroll >= max) {
|
7512 |
-
for (var j = this$1.targets.length - 1; j > i; j--) {
|
7513 |
-
if (isInView(this$1.targets[j])) {
|
7514 |
-
el = this$1.targets[j];
|
7515 |
-
break;
|
7516 |
-
}
|
7517 |
-
}
|
7518 |
-
}
|
7519 |
-
|
7520 |
-
return !(data.active = $(filter(this$1.links, ("[href=\"#" + (el.id) + "\"]"))));
|
7521 |
-
|
7522 |
-
});
|
7523 |
-
|
7524 |
-
},
|
7525 |
-
|
7526 |
-
write: function(ref) {
|
7527 |
-
var active = ref.active;
|
7528 |
-
|
7529 |
-
|
7530 |
-
this.links.forEach(function (el) { return el.blur(); });
|
7531 |
-
removeClass(this.elements, this.cls);
|
7532 |
-
|
7533 |
-
if (active) {
|
7534 |
-
trigger(this.$el, 'active', [active, addClass(this.closest ? closest(active, this.closest) : active, this.cls)]);
|
7535 |
-
}
|
7536 |
-
|
7537 |
-
},
|
7538 |
-
|
7539 |
-
events: ['scroll', 'resize']
|
7540 |
-
|
7541 |
-
}
|
7542 |
-
|
7543 |
-
]
|
7544 |
-
|
7545 |
-
};
|
7546 |
-
|
7547 |
-
var Sticky = {
|
7548 |
-
|
7549 |
-
mixins: [Class, Media],
|
7550 |
-
|
7551 |
-
props: {
|
7552 |
-
top: null,
|
7553 |
-
bottom: Boolean,
|
7554 |
-
offset: String,
|
7555 |
-
animation: String,
|
7556 |
-
clsActive: String,
|
7557 |
-
clsInactive: String,
|
7558 |
-
clsFixed: String,
|
7559 |
-
clsBelow: String,
|
7560 |
-
selTarget: String,
|
7561 |
-
widthElement: Boolean,
|
7562 |
-
showOnUp: Boolean,
|
7563 |
-
targetOffset: Number
|
7564 |
-
},
|
7565 |
-
|
7566 |
-
data: {
|
7567 |
-
top: 0,
|
7568 |
-
bottom: false,
|
7569 |
-
offset: 0,
|
7570 |
-
animation: '',
|
7571 |
-
clsActive: 'bdt-active',
|
7572 |
-
clsInactive: '',
|
7573 |
-
clsFixed: 'bdt-sticky-fixed',
|
7574 |
-
clsBelow: 'bdt-sticky-below',
|
7575 |
-
selTarget: '',
|
7576 |
-
widthElement: false,
|
7577 |
-
showOnUp: false,
|
7578 |
-
targetOffset: false
|
7579 |
-
},
|
7580 |
-
|
7581 |
-
computed: {
|
7582 |
-
|
7583 |
-
offset: function(ref) {
|
7584 |
-
var offset = ref.offset;
|
7585 |
-
|
7586 |
-
return toPx(offset);
|
7587 |
-
},
|
7588 |
-
|
7589 |
-
selTarget: function(ref, $el) {
|
7590 |
-
var selTarget = ref.selTarget;
|
7591 |
-
|
7592 |
-
return selTarget && $(selTarget, $el) || $el;
|
7593 |
-
},
|
7594 |
-
|
7595 |
-
widthElement: function(ref, $el) {
|
7596 |
-
var widthElement = ref.widthElement;
|
7597 |
-
|
7598 |
-
return query(widthElement, $el) || this.placeholder;
|
7599 |
-
},
|
7600 |
-
|
7601 |
-
isActive: {
|
7602 |
-
|
7603 |
-
get: function() {
|
7604 |
-
return hasClass(this.selTarget, this.clsActive);
|
7605 |
-
},
|
7606 |
-
|
7607 |
-
set: function(value) {
|
7608 |
-
if (value && !this.isActive) {
|
7609 |
-
replaceClass(this.selTarget, this.clsInactive, this.clsActive);
|
7610 |
-
trigger(this.$el, 'active');
|
7611 |
-
} else if (!value && !hasClass(this.selTarget, this.clsInactive)) {
|
7612 |
-
replaceClass(this.selTarget, this.clsActive, this.clsInactive);
|
7613 |
-
trigger(this.$el, 'inactive');
|
7614 |
-
}
|
7615 |
-
}
|
7616 |
-
|
7617 |
-
}
|
7618 |
-
|
7619 |
-
},
|
7620 |
-
|
7621 |
-
connected: function() {
|
7622 |
-
this.placeholder = $('+ .bdt-sticky-placeholder', this.$el) || $('<div class="bdt-sticky-placeholder"></div>');
|
7623 |
-
this.isFixed = false;
|
7624 |
-
this.isActive = false;
|
7625 |
-
},
|
7626 |
-
|
7627 |
-
disconnected: function() {
|
7628 |
-
|
7629 |
-
if (this.isFixed) {
|
7630 |
-
this.hide();
|
7631 |
-
removeClass(this.selTarget, this.clsInactive);
|
7632 |
-
}
|
7633 |
-
|
7634 |
-
remove(this.placeholder);
|
7635 |
-
this.placeholder = null;
|
7636 |
-
this.widthElement = null;
|
7637 |
-
},
|
7638 |
-
|
7639 |
-
events: [
|
7640 |
-
|
7641 |
-
{
|
7642 |
-
|
7643 |
-
name: 'load hashchange popstate',
|
7644 |
-
|
7645 |
-
el: window,
|
7646 |
-
|
7647 |
-
handler: function() {
|
7648 |
-
var this$1 = this;
|
7649 |
-
|
7650 |
-
|
7651 |
-
if (!(this.targetOffset !== false && location.hash && window.pageYOffset > 0)) {
|
7652 |
-
return;
|
7653 |
-
}
|
7654 |
-
|
7655 |
-
var target = $(location.hash);
|
7656 |
-
|
7657 |
-
if (target) {
|
7658 |
-
fastdom.read(function () {
|
7659 |
-
|
7660 |
-
var ref = offset(target);
|
7661 |
-
var top = ref.top;
|
7662 |
-
var elTop = offset(this$1.$el).top;
|
7663 |
-
var elHeight = this$1.$el.offsetHeight;
|
7664 |
-
|
7665 |
-
if (this$1.isFixed && elTop + elHeight >= top && elTop <= top + target.offsetHeight) {
|
7666 |
-
scrollTop(window, top - elHeight - (isNumeric(this$1.targetOffset) ? this$1.targetOffset : 0) - this$1.offset);
|
7667 |
-
}
|
7668 |
-
|
7669 |
-
});
|
7670 |
-
}
|
7671 |
-
|
7672 |
-
}
|
7673 |
-
|
7674 |
-
}
|
7675 |
-
|
7676 |
-
],
|
7677 |
-
|
7678 |
-
update: [
|
7679 |
-
|
7680 |
-
{
|
7681 |
-
|
7682 |
-
read: function(ref, type) {
|
7683 |
-
var height = ref.height;
|
7684 |
-
|
7685 |
-
|
7686 |
-
if (this.isActive && type !== 'update') {
|
7687 |
-
|
7688 |
-
this.hide();
|
7689 |
-
height = this.$el.offsetHeight;
|
7690 |
-
this.show();
|
7691 |
-
|
7692 |
-
}
|
7693 |
-
|
7694 |
-
height = !this.isActive ? this.$el.offsetHeight : height;
|
7695 |
-
|
7696 |
-
this.topOffset = offset(this.isFixed ? this.placeholder : this.$el).top;
|
7697 |
-
this.bottomOffset = this.topOffset + height;
|
7698 |
-
|
7699 |
-
var bottom = parseProp('bottom', this);
|
7700 |
-
|
7701 |
-
this.top = Math.max(toFloat(parseProp('top', this)), this.topOffset) - this.offset;
|
7702 |
-
this.bottom = bottom && bottom - height;
|
7703 |
-
this.inactive = !this.matchMedia;
|
7704 |
-
|
7705 |
-
return {
|
7706 |
-
lastScroll: false,
|
7707 |
-
height: height,
|
7708 |
-
margins: css(this.$el, ['marginTop', 'marginBottom', 'marginLeft', 'marginRight'])
|
7709 |
-
};
|
7710 |
-
},
|
7711 |
-
|
7712 |
-
write: function(ref) {
|
7713 |
-
var height = ref.height;
|
7714 |
-
var margins = ref.margins;
|
7715 |
-
|
7716 |
-
|
7717 |
-
var ref$1 = this;
|
7718 |
-
var placeholder = ref$1.placeholder;
|
7719 |
-
|
7720 |
-
css(placeholder, assign({height: height}, margins));
|
7721 |
-
|
7722 |
-
if (!within(placeholder, document)) {
|
7723 |
-
after(this.$el, placeholder);
|
7724 |
-
attr(placeholder, 'hidden', '');
|
7725 |
-
}
|
7726 |
-
|
7727 |
-
// ensure active/inactive classes are applied
|
7728 |
-
this.isActive = this.isActive;
|
7729 |
-
|
7730 |
-
},
|
7731 |
-
|
7732 |
-
events: ['resize']
|
7733 |
-
|
7734 |
-
},
|
7735 |
-
|
7736 |
-
{
|
7737 |
-
|
7738 |
-
read: function(ref) {
|
7739 |
-
var scroll = ref.scroll; if ( scroll === void 0 ) scroll = 0;
|
7740 |
-
|
7741 |
-
|
7742 |
-
this.width = (isVisible(this.widthElement) ? this.widthElement : this.$el).offsetWidth;
|
7743 |
-
|
7744 |
-
this.scroll = window.pageYOffset;
|
7745 |
-
|
7746 |
-
return {
|
7747 |
-
dir: scroll <= this.scroll ? 'down' : 'up',
|
7748 |
-
scroll: this.scroll,
|
7749 |
-
visible: isVisible(this.$el),
|
7750 |
-
top: offsetPosition(this.placeholder)[0]
|
7751 |
-
};
|
7752 |
-
},
|
7753 |
-
|
7754 |
-
write: function(data, type) {
|
7755 |
-
var this$1 = this;
|
7756 |
-
|
7757 |
-
|
7758 |
-
var initTimestamp = data.initTimestamp; if ( initTimestamp === void 0 ) initTimestamp = 0;
|
7759 |
-
var dir = data.dir;
|
7760 |
-
var lastDir = data.lastDir;
|
7761 |
-
var lastScroll = data.lastScroll;
|
7762 |
-
var scroll = data.scroll;
|
7763 |
-
var top = data.top;
|
7764 |
-
var visible = data.visible;
|
7765 |
-
var now = performance.now();
|
7766 |
-
|
7767 |
-
data.lastScroll = scroll;
|
7768 |
-
|
7769 |
-
if (scroll < 0 || scroll === lastScroll || !visible || this.disabled || this.showOnUp && type !== 'scroll') {
|
7770 |
-
return;
|
7771 |
-
}
|
7772 |
-
|
7773 |
-
if (now - initTimestamp > 300 || dir !== lastDir) {
|
7774 |
-
data.initScroll = scroll;
|
7775 |
-
data.initTimestamp = now;
|
7776 |
-
}
|
7777 |
-
|
7778 |
-
data.lastDir = dir;
|
7779 |
-
|
7780 |
-
if (this.showOnUp && Math.abs(data.initScroll - scroll) <= 30 && Math.abs(lastScroll - scroll) <= 10) {
|
7781 |
-
return;
|
7782 |
-
}
|
7783 |
-
|
7784 |
-
if (this.inactive
|
7785 |
-
|| scroll < this.top
|
7786 |
-
|| this.showOnUp && (scroll <= this.top || dir === 'down' || dir === 'up' && !this.isFixed && scroll <= this.bottomOffset)
|
7787 |
-
) {
|
7788 |
-
|
7789 |
-
if (!this.isFixed) {
|
7790 |
-
|
7791 |
-
if (Animation.inProgress(this.$el) && top > scroll) {
|
7792 |
-
Animation.cancel(this.$el);
|
7793 |
-
this.hide();
|
7794 |
-
}
|
7795 |
-
|
7796 |
-
return;
|
7797 |
-
}
|
7798 |
-
|
7799 |
-
this.isFixed = false;
|
7800 |
-
|
7801 |
-
if (this.animation && scroll > this.topOffset) {
|
7802 |
-
Animation.cancel(this.$el);
|
7803 |
-
Animation.out(this.$el, this.animation).then(function () { return this$1.hide(); }, noop);
|
7804 |
-
} else {
|
7805 |
-
this.hide();
|
7806 |
-
}
|
7807 |
-
|
7808 |
-
} else if (this.isFixed) {
|
7809 |
-
|
7810 |
-
this.update();
|
7811 |
-
|
7812 |
-
} else if (this.animation) {
|
7813 |
-
|
7814 |
-
Animation.cancel(this.$el);
|
7815 |
-
this.show();
|
7816 |
-
Animation.in(this.$el, this.animation).catch(noop);
|
7817 |
-
|
7818 |
-
} else {
|
7819 |
-
this.show();
|
7820 |
-
}
|
7821 |
-
|
7822 |
-
},
|
7823 |
-
|
7824 |
-
events: ['resize', 'scroll']
|
7825 |
-
|
7826 |
-
}
|
7827 |
-
|
7828 |
-
],
|
7829 |
-
|
7830 |
-
methods: {
|
7831 |
-
|
7832 |
-
show: function() {
|
7833 |
-
|
7834 |
-
this.isFixed = true;
|
7835 |
-
this.update();
|
7836 |
-
attr(this.placeholder, 'hidden', null);
|
7837 |
-
|
7838 |
-
},
|
7839 |
-
|
7840 |
-
hide: function() {
|
7841 |
-
|
7842 |
-
this.isActive = false;
|
7843 |
-
removeClass(this.$el, this.clsFixed, this.clsBelow);
|
7844 |
-
css(this.$el, {position: '', top: '', width: ''});
|
7845 |
-
attr(this.placeholder, 'hidden', '');
|
7846 |
-
|
7847 |
-
},
|
7848 |
-
|
7849 |
-
update: function() {
|
7850 |
-
|
7851 |
-
var active = this.top !== 0 || this.scroll > this.top;
|
7852 |
-
var top = Math.max(0, this.offset);
|
7853 |
-
|
7854 |
-
if (this.bottom && this.scroll > this.bottom - this.offset) {
|
7855 |
-
top = this.bottom - this.scroll;
|
7856 |
-
}
|
7857 |
-
|
7858 |
-
css(this.$el, {
|
7859 |
-
position: 'fixed',
|
7860 |
-
top: (top + "px"),
|
7861 |
-
width: this.width
|
7862 |
-
});
|
7863 |
-
|
7864 |
-
this.isActive = active;
|
7865 |
-
toggleClass(this.$el, this.clsBelow, this.scroll > this.bottomOffset);
|
7866 |
-
addClass(this.$el, this.clsFixed);
|
7867 |
-
|
7868 |
-
}
|
7869 |
-
|
7870 |
-
}
|
7871 |
-
|
7872 |
-
};
|
7873 |
-
|
7874 |
-
function parseProp(prop, ref) {
|
7875 |
-
var $props = ref.$props;
|
7876 |
-
var $el = ref.$el;
|
7877 |
-
var propOffset = ref[(prop + "Offset")];
|
7878 |
-
|
7879 |
-
|
7880 |
-
var value = $props[prop];
|
7881 |
-
|
7882 |
-
if (!value) {
|
7883 |
-
return;
|
7884 |
-
}
|
7885 |
-
|
7886 |
-
if (isNumeric(value) && isString(value) && value.match(/^-?\d/)) {
|
7887 |
-
|
7888 |
-
return propOffset + toPx(value);
|
7889 |
-
|
7890 |
-
} else {
|
7891 |
-
|
7892 |
-
return offset(value === true ? $el.parentNode : query(value, $el)).bottom;
|
7893 |
-
|
7894 |
-
}
|
7895 |
-
}
|
7896 |
-
|
7897 |
-
var Switcher = {
|
7898 |
-
|
7899 |
-
mixins: [Togglable],
|
7900 |
-
|
7901 |
-
args: 'connect',
|
7902 |
-
|
7903 |
-
props: {
|
7904 |
-
connect: String,
|
7905 |
-
toggle: String,
|
7906 |
-
active: Number,
|
7907 |
-
swiping: Boolean
|
7908 |
-
},
|
7909 |
-
|
7910 |
-
data: {
|
7911 |
-
connect: '~.bdt-switcher',
|
7912 |
-
toggle: '> * > :first-child',
|
7913 |
-
active: 0,
|
7914 |
-
swiping: true,
|
7915 |
-
cls: 'bdt-active',
|
7916 |
-
clsContainer: 'bdt-switcher',
|
7917 |
-
attrItem: 'bdt-switcher-item',
|
7918 |
-
queued: true
|
7919 |
-
},
|
7920 |
-
|
7921 |
-
computed: {
|
7922 |
-
|
7923 |
-
connects: function(ref, $el) {
|
7924 |
-
var connect = ref.connect;
|
7925 |
-
|
7926 |
-
return queryAll(connect, $el);
|
7927 |
-
},
|
7928 |
-
|
7929 |
-
toggles: function(ref, $el) {
|
7930 |
-
var toggle = ref.toggle;
|
7931 |
-
|
7932 |
-
return $$(toggle, $el);
|
7933 |
-
}
|
7934 |
-
|
7935 |
-
},
|
7936 |
-
|
7937 |
-
events: [
|
7938 |
-
|
7939 |
-
{
|
7940 |
-
|
7941 |
-
name: 'click',
|
7942 |
-
|
7943 |
-
delegate: function() {
|
7944 |
-
return ((this.toggle) + ":not(.bdt-disabled)");
|
7945 |
-
},
|
7946 |
-
|
7947 |
-
handler: function(e) {
|
7948 |
-
e.preventDefault();
|
7949 |
-
this.show(toNodes(this.$el.children).filter(function (el) { return within(e.current, el); })[0]);
|
7950 |
-
}
|
7951 |
-
|
7952 |
-
},
|
7953 |
-
|
7954 |
-
{
|
7955 |
-
name: 'click',
|
7956 |
-
|
7957 |
-
el: function() {
|
7958 |
-
return this.connects;
|
7959 |
-
},
|
7960 |
-
|
7961 |
-
delegate: function() {
|
7962 |
-
return ("[" + (this.attrItem) + "],[data-" + (this.attrItem) + "]");
|
7963 |
-
},
|
7964 |
-
|
7965 |
-
handler: function(e) {
|
7966 |
-
e.preventDefault();
|
7967 |
-
this.show(data(e.current, this.attrItem));
|
7968 |
-
}
|
7969 |
-
},
|
7970 |
-
|
7971 |
-
{
|
7972 |
-
name: 'swipeRight swipeLeft',
|
7973 |
-
|
7974 |
-
filter: function() {
|
7975 |
-
return this.swiping;
|
7976 |
-
},
|
7977 |
-
|
7978 |
-
el: function() {
|
7979 |
-
return this.connects;
|
7980 |
-
},
|
7981 |
-
|
7982 |
-
handler: function(ref) {
|
7983 |
-
var type = ref.type;
|
7984 |
-
|
7985 |
-
this.show(endsWith(type, 'Left') ? 'next' : 'previous');
|
7986 |
-
}
|
7987 |
-
}
|
7988 |
-
|
7989 |
-
],
|
7990 |
-
|
7991 |
-
update: function() {
|
7992 |
-
var this$1 = this;
|
7993 |
-
|
7994 |
-
|
7995 |
-
this.connects.forEach(function (list) { return this$1.updateAria(list.children); });
|
7996 |
-
var ref = this.$el;
|
7997 |
-
var children = ref.children;
|
7998 |
-
this.show(filter(children, ("." + (this.cls)))[0] || children[this.active] || children[0]);
|
7999 |
-
|
8000 |
-
this.swiping && css(this.connects, 'touch-action', 'pan-y pinch-zoom');
|
8001 |
-
|
8002 |
-
},
|
8003 |
-
|
8004 |
-
methods: {
|
8005 |
-
|
8006 |
-
index: function() {
|
8007 |
-
return !isEmpty(this.connects) && index(filter(this.connects[0].children, ("." + (this.cls)))[0]);
|
8008 |
-
},
|
8009 |
-
|
8010 |
-
show: function(item) {
|
8011 |
-
var this$1 = this;
|
8012 |
-
|
8013 |
-
|
8014 |
-
var ref = this.$el;
|
8015 |
-
var children = ref.children;
|
8016 |
-
var length = children.length;
|
8017 |
-
var prev = this.index();
|
8018 |
-
var hasPrev = prev >= 0;
|
8019 |
-
var dir = item === 'previous' ? -1 : 1;
|
8020 |
-
|
8021 |
-
var toggle, active, next = getIndex(item, children, prev);
|
8022 |
-
|
8023 |
-
for (var i = 0; i < length; i++, next = (next + dir + length) % length) {
|
8024 |
-
if (!matches(this.toggles[next], '.bdt-disabled *, .bdt-disabled, [disabled]')) {
|
8025 |
-
toggle = this.toggles[next];
|
8026 |
-
active = children[next];
|
8027 |
-
break;
|
8028 |
-
}
|
8029 |
-
}
|
8030 |
-
|
8031 |
-
if (!active || prev >= 0 && hasClass(active, this.cls) || prev === next) {
|
8032 |
-
return;
|
8033 |
-
}
|
8034 |
-
|
8035 |
-
removeClass(children, this.cls);
|
8036 |
-
addClass(active, this.cls);
|
8037 |
-
attr(this.toggles, 'aria-expanded', false);
|
8038 |
-
attr(toggle, 'aria-expanded', true);
|
8039 |
-
|
8040 |
-
this.connects.forEach(function (list) {
|
8041 |
-
if (!hasPrev) {
|
8042 |
-
this$1.toggleNow(list.children[next]);
|
8043 |
-
} else {
|
8044 |
-
this$1.toggleElement([list.children[prev], list.children[next]]);
|
8045 |
-
}
|
8046 |
-
});
|
8047 |
-
|
8048 |
-
}
|
8049 |
-
|
8050 |
-
}
|
8051 |
-
|
8052 |
-
};
|
8053 |
-
|
8054 |
-
var Tab = {
|
8055 |
-
|
8056 |
-
mixins: [Class],
|
8057 |
-
|
8058 |
-
extends: Switcher,
|
8059 |
-
|
8060 |
-
props: {
|
8061 |
-
media: Boolean
|
8062 |
-
},
|
8063 |
-
|
8064 |
-
data: {
|
8065 |
-
media: 960,
|
8066 |
-
attrItem: 'bdt-tab-item'
|
8067 |
-
},
|
8068 |
-
|
8069 |
-
connected: function() {
|
8070 |
-
|
8071 |
-
var cls = hasClass(this.$el, 'bdt-tab-left')
|
8072 |
-
? 'bdt-tab-left'
|
8073 |
-
: hasClass(this.$el, 'bdt-tab-right')
|
8074 |
-
? 'bdt-tab-right'
|
8075 |
-
: false;
|
8076 |
-
|
8077 |
-
if (cls) {
|
8078 |
-
this.$create('toggle', this.$el, {cls: cls, mode: 'media', media: this.media});
|
8079 |
-
}
|
8080 |
-
}
|
8081 |
-
|
8082 |
-
};
|
8083 |
-
|
8084 |
-
var Toggle = {
|
8085 |
-
|
8086 |
-
mixins: [Media, Togglable],
|
8087 |
-
|
8088 |
-
args: 'target',
|
8089 |
-
|
8090 |
-
props: {
|
8091 |
-
href: String,
|
8092 |
-
target: null,
|
8093 |
-
mode: 'list'
|
8094 |
-
},
|
8095 |
-
|
8096 |
-
data: {
|
8097 |
-
href: false,
|
8098 |
-
target: false,
|
8099 |
-
mode: 'click',
|
8100 |
-
queued: true
|
8101 |
-
},
|
8102 |
-
|
8103 |
-
computed: {
|
8104 |
-
|
8105 |
-
target: function(ref, $el) {
|
8106 |
-
var href = ref.href;
|
8107 |
-
var target = ref.target;
|
8108 |
-
|
8109 |
-
target = queryAll(target || href, $el);
|
8110 |
-
return target.length && target || [$el];
|
8111 |
-
}
|
8112 |
-
|
8113 |
-
},
|
8114 |
-
|
8115 |
-
connected: function() {
|
8116 |
-
trigger(this.target, 'updatearia', [this]);
|
8117 |
-
},
|
8118 |
-
|
8119 |
-
events: [
|
8120 |
-
|
8121 |
-
{
|
8122 |
-
|
8123 |
-
name: (pointerEnter + " " + pointerLeave),
|
8124 |
-
|
8125 |
-
filter: function() {
|
8126 |
-
return includes(this.mode, 'hover');
|
8127 |
-
},
|
8128 |
-
|
8129 |
-
handler: function(e) {
|
8130 |
-
if (!isTouch(e)) {
|
8131 |
-
this.toggle(("toggle" + (e.type === pointerEnter ? 'show' : 'hide')));
|
8132 |
-
}
|
8133 |
-
}
|
8134 |
-
|
8135 |
-
},
|
8136 |
-
|
8137 |
-
{
|
8138 |
-
|
8139 |
-
name: 'click',
|
8140 |
-
|
8141 |
-
filter: function() {
|
8142 |
-
return includes(this.mode, 'click') || hasTouch && includes(this.mode, 'hover');
|
8143 |
-
},
|
8144 |
-
|
8145 |
-
handler: function(e) {
|
8146 |
-
|
8147 |
-
// TODO better isToggled handling
|
8148 |
-
var link;
|
8149 |
-
if (closest(e.target, 'a[href="#"], a[href=""]')
|
8150 |
-
|| (link = closest(e.target, 'a[href]')) && (
|
8151 |
-
this.cls
|
8152 |
-
|| !isVisible(this.target)
|
8153 |
-
|| link.hash && matches(this.target, link.hash)
|
8154 |
-
)
|
8155 |
-
) {
|
8156 |
-
e.preventDefault();
|
8157 |
-
}
|
8158 |
-
|
8159 |
-
this.toggle();
|
8160 |
-
}
|
8161 |
-
|
8162 |
-
}
|
8163 |
-
|
8164 |
-
],
|
8165 |
-
|
8166 |
-
update: {
|
8167 |
-
|
8168 |
-
read: function() {
|
8169 |
-
return includes(this.mode, 'media') && this.media
|
8170 |
-
? {match: this.matchMedia}
|
8171 |
-
: false;
|
8172 |
-
},
|
8173 |
-
|
8174 |
-
write: function(ref) {
|
8175 |
-
var match = ref.match;
|
8176 |
-
|
8177 |
-
|
8178 |
-
var toggled = this.isToggled(this.target);
|
8179 |
-
if (match ? !toggled : toggled) {
|
8180 |
-
this.toggle();
|
8181 |
-
}
|
8182 |
-
|
8183 |
-
},
|
8184 |
-
|
8185 |
-
events: ['resize']
|
8186 |
-
|
8187 |
-
},
|
8188 |
-
|
8189 |
-
methods: {
|
8190 |
-
|
8191 |
-
toggle: function(type) {
|
8192 |
-
if (trigger(this.target, type || 'toggle', [this])) {
|
8193 |
-
this.toggleElement(this.target);
|
8194 |
-
}
|
8195 |
-
}
|
8196 |
-
|
8197 |
-
}
|
8198 |
-
|
8199 |
-
};
|
8200 |
-
|
8201 |
-
function core (bdtUIkit) {
|
8202 |
-
|
8203 |
-
// core components
|
8204 |
-
bdtUIkit.component('accordion', Accordion);
|
8205 |
-
bdtUIkit.component('alert', Alert);
|
8206 |
-
bdtUIkit.component('cover', Cover);
|
8207 |
-
bdtUIkit.component('drop', Drop);
|
8208 |
-
bdtUIkit.component('dropdown', Dropdown);
|
8209 |
-
bdtUIkit.component('formCustom', FormCustom);
|
8210 |
-
bdtUIkit.component('gif', Gif);
|
8211 |
-
bdtUIkit.component('grid', Grid);
|
8212 |
-
bdtUIkit.component('heightMatch', HeightMatch);
|
8213 |
-
bdtUIkit.component('heightViewport', HeightViewport);
|
8214 |
-
bdtUIkit.component('icon', Icon);
|
8215 |
-
bdtUIkit.component('img', Img);
|
8216 |
-
bdtUIkit.component('leader', Leader);
|
8217 |
-
bdtUIkit.component('margin', Margin);
|
8218 |
-
bdtUIkit.component('modal', Modal$1);
|
8219 |
-
bdtUIkit.component('nav', Nav);
|
8220 |
-
bdtUIkit.component('navbar', Navbar);
|
8221 |
-
bdtUIkit.component('offcanvas', Offcanvas);
|
8222 |
-
bdtUIkit.component('overflowAuto', OverflowAuto);
|
8223 |
-
bdtUIkit.component('responsive', Responsive);
|
8224 |
-
bdtUIkit.component('scroll', Scroll);
|
8225 |
-
bdtUIkit.component('scrollspy', Scrollspy);
|
8226 |
-
bdtUIkit.component('scrollspyNav', ScrollspyNav);
|
8227 |
-
bdtUIkit.component('sticky', Sticky);
|
8228 |
-
bdtUIkit.component('svg', Svg);
|
8229 |
-
bdtUIkit.component('switcher', Switcher);
|
8230 |
-
bdtUIkit.component('tab', Tab);
|
8231 |
-
bdtUIkit.component('toggle', Toggle);
|
8232 |
-
bdtUIkit.component('video', Video);
|
8233 |
-
|
8234 |
-
// Icon components
|
8235 |
-
bdtUIkit.component('close', Close);
|
8236 |
-
bdtUIkit.component('marker', IconComponent);
|
8237 |
-
bdtUIkit.component('navbarToggleIcon', IconComponent);
|
8238 |
-
bdtUIkit.component('overlayIcon', IconComponent);
|
8239 |
-
bdtUIkit.component('paginationNext', IconComponent);
|
8240 |
-
bdtUIkit.component('paginationPrevious', IconComponent);
|
8241 |
-
bdtUIkit.component('searchIcon', Search);
|
8242 |
-
bdtUIkit.component('slidenavNext', Slidenav);
|
8243 |
-
bdtUIkit.component('slidenavPrevious', Slidenav);
|
8244 |
-
bdtUIkit.component('spinner', Spinner);
|
8245 |
-
bdtUIkit.component('totop', IconComponent);
|
8246 |
-
|
8247 |
-
// core functionality
|
8248 |
-
bdtUIkit.use(Core);
|
8249 |
-
|
8250 |
-
}
|
8251 |
-
|
8252 |
-
bdtUIkit.version = '3.2.0';
|
8253 |
-
|
8254 |
-
core(bdtUIkit);
|
8255 |
-
|
8256 |
-
var Countdown = {
|
8257 |
-
|
8258 |
-
mixins: [Class],
|
8259 |
-
|
8260 |
-
props: {
|
8261 |
-
date: String,
|
8262 |
-
clsWrapper: String
|
8263 |
-
},
|
8264 |
-
|
8265 |
-
data: {
|
8266 |
-
date: '',
|
8267 |
-
clsWrapper: '.bdt-countdown-%unit%'
|
8268 |
-
},
|
8269 |
-
|
8270 |
-
computed: {
|
8271 |
-
|
8272 |
-
date: function(ref) {
|
8273 |
-
var date = ref.date;
|
8274 |
-
|
8275 |
-
return Date.parse(date);
|
8276 |
-
},
|
8277 |
-
|
8278 |
-
days: function(ref, $el) {
|
8279 |
-
var clsWrapper = ref.clsWrapper;
|
8280 |
-
|
8281 |
-
return $(clsWrapper.replace('%unit%', 'days'), $el);
|
8282 |
-
},
|
8283 |
-
|
8284 |
-
hours: function(ref, $el) {
|
8285 |
-
var clsWrapper = ref.clsWrapper;
|
8286 |
-
|
8287 |
-
return $(clsWrapper.replace('%unit%', 'hours'), $el);
|
8288 |
-
},
|
8289 |
-
|
8290 |
-
minutes: function(ref, $el) {
|
8291 |
-
var clsWrapper = ref.clsWrapper;
|
8292 |
-
|
8293 |
-
return $(clsWrapper.replace('%unit%', 'minutes'), $el);
|
8294 |
-
},
|
8295 |
-
|
8296 |
-
seconds: function(ref, $el) {
|
8297 |
-
var clsWrapper = ref.clsWrapper;
|
8298 |
-
|
8299 |
-
return $(clsWrapper.replace('%unit%', 'seconds'), $el);
|
8300 |
-
},
|
8301 |
-
|
8302 |
-
units: function() {
|
8303 |
-
var this$1 = this;
|
8304 |
-
|
8305 |
-
return ['days', 'hours', 'minutes', 'seconds'].filter(function (unit) { return this$1[unit]; });
|
8306 |
-
}
|
8307 |
-
|
8308 |
-
},
|
8309 |
-
|
8310 |
-
connected: function() {
|
8311 |
-
this.start();
|
8312 |
-
},
|
8313 |
-
|
8314 |
-
disconnected: function() {
|
8315 |
-
var this$1 = this;
|
8316 |
-
|
8317 |
-
this.stop();
|
8318 |
-
this.units.forEach(function (unit) { return empty(this$1[unit]); });
|
8319 |
-
},
|
8320 |
-
|
8321 |
-
events: [
|
8322 |
-
|
8323 |
-
{
|
8324 |
-
|
8325 |
-
name: 'visibilitychange',
|
8326 |
-
|
8327 |
-
el: document,
|
8328 |
-
|
8329 |
-
handler: function() {
|
8330 |
-
if (document.hidden) {
|
8331 |
-
this.stop();
|
8332 |
-
} else {
|
8333 |
-
this.start();
|
8334 |
-
}
|
8335 |
-
}
|
8336 |
-
|
8337 |
-
}
|
8338 |
-
|
8339 |
-
],
|
8340 |
-
|
8341 |
-
update: {
|
8342 |
-
|
8343 |
-
write: function() {
|
8344 |
-
var this$1 = this;
|
8345 |
-
|
8346 |
-
|
8347 |
-
var timespan = getTimeSpan(this.date);
|
8348 |
-
|
8349 |
-
if (timespan.total <= 0) {
|
8350 |
-
|
8351 |
-
this.stop();
|
8352 |
-
|
8353 |
-
timespan.days
|
8354 |
-
= timespan.hours
|
8355 |
-
= timespan.minutes
|
8356 |
-
= timespan.seconds
|
8357 |
-
= 0;
|
8358 |
-
}
|
8359 |
-
|
8360 |
-
this.units.forEach(function (unit) {
|
8361 |
-
|
8362 |
-
var digits = String(Math.floor(timespan[unit]));
|
8363 |
-
|
8364 |
-
digits = digits.length < 2 ? ("0" + digits) : digits;
|
8365 |
-
|
8366 |
-
var el = this$1[unit];
|
8367 |
-
if (el.textContent !== digits) {
|
8368 |
-
digits = digits.split('');
|
8369 |
-
|
8370 |
-
if (digits.length !== el.children.length) {
|
8371 |
-
html(el, digits.map(function () { return '<span></span>'; }).join(''));
|
8372 |
-
}
|
8373 |
-
|
8374 |
-
digits.forEach(function (digit, i) { return el.children[i].textContent = digit; });
|
8375 |
-
}
|
8376 |
-
|
8377 |
-
});
|
8378 |
-
|
8379 |
-
}
|
8380 |
-
|
8381 |
-
},
|
8382 |
-
|
8383 |
-
methods: {
|
8384 |
-
|
8385 |
-
start: function() {
|
8386 |
-
var this$1 = this;
|
8387 |
-
|
8388 |
-
|
8389 |
-
this.stop();
|
8390 |
-
|
8391 |
-
if (this.date && this.units.length) {
|
8392 |
-
this.$emit();
|
8393 |
-
this.timer = setInterval(function () { return this$1.$emit(); }, 1000);
|
8394 |
-
}
|
8395 |
-
|
8396 |
-
},
|
8397 |
-
|
8398 |
-
stop: function() {
|
8399 |
-
|
8400 |
-
if (this.timer) {
|
8401 |
-
clearInterval(this.timer);
|
8402 |
-
this.timer = null;
|
8403 |
-
}
|
8404 |
-
|
8405 |
-
}
|
8406 |
-
|
8407 |
-
}
|
8408 |
-
|
8409 |
-
};
|
8410 |
-
|
8411 |
-
function getTimeSpan(date) {
|
8412 |
-
|
8413 |
-
var total = date - Date.now();
|
8414 |
-
|
8415 |
-
return {
|
8416 |
-
total: total,
|
8417 |
-
seconds: total / 1000 % 60,
|
8418 |
-
minutes: total / 1000 / 60 % 60,
|
8419 |
-
hours: total / 1000 / 60 / 60 % 24,
|
8420 |
-
days: total / 1000 / 60 / 60 / 24
|
8421 |
-
};
|
8422 |
-
}
|
8423 |
-
|
8424 |
-
var targetClass = 'bdt-animation-target';
|
8425 |
-
|
8426 |
-
var Animate = {
|
8427 |
-
|
8428 |
-
props: {
|
8429 |
-
animation: Number
|
8430 |
-
},
|
8431 |
-
|
8432 |
-
data: {
|
8433 |
-
animation: 150
|
8434 |
-
},
|
8435 |
-
|
8436 |
-
computed: {
|
8437 |
-
|
8438 |
-
target: function() {
|
8439 |
-
return this.$el;
|
8440 |
-
}
|
8441 |
-
|
8442 |
-
},
|
8443 |
-
|
8444 |
-
methods: {
|
8445 |
-
|
8446 |
-
animate: function(action) {
|
8447 |
-
var this$1 = this;
|
8448 |
-
|
8449 |
-
|
8450 |
-
addStyle();
|
8451 |
-
|
8452 |
-
var children = toNodes(this.target.children);
|
8453 |
-
var propsFrom = children.map(function (el) { return getProps(el, true); });
|
8454 |
-
|
8455 |
-
var oldHeight = height(this.target);
|
8456 |
-
var oldScrollY = window.pageYOffset;
|
8457 |
-
|
8458 |
-
action();
|
8459 |
-
|
8460 |
-
Transition.cancel(this.target);
|
8461 |
-
children.forEach(Transition.cancel);
|
8462 |
-
|
8463 |
-
reset(this.target);
|
8464 |
-
this.$update(this.target);
|
8465 |
-
fastdom.flush();
|
8466 |
-
|
8467 |
-
var newHeight = height(this.target);
|
8468 |
-
|
8469 |
-
children = children.concat(toNodes(this.target.children).filter(function (el) { return !includes(children, el); }));
|
8470 |
-
|
8471 |
-
var propsTo = children.map(function (el, i) { return el.parentNode && i in propsFrom
|
8472 |
-
? propsFrom[i]
|
8473 |
-
? isVisible(el)
|
8474 |
-
? getPositionWithMargin(el)
|
8475 |
-
: {opacity: 0}
|
8476 |
-
: {opacity: isVisible(el) ? 1 : 0}
|
8477 |
-
: false; }
|
8478 |
-
);
|
8479 |
-
|
8480 |
-
propsFrom = propsTo.map(function (props, i) {
|
8481 |
-
var from = children[i].parentNode === this$1.target
|
8482 |
-
? propsFrom[i] || getProps(children[i])
|
8483 |
-
: false;
|
8484 |
-
|
8485 |
-
if (from) {
|
8486 |
-
if (!props) {
|
8487 |
-
delete from.opacity;
|
8488 |
-
} else if (!('opacity' in props)) {
|
8489 |
-
var opacity = from.opacity;
|
8490 |
-
|
8491 |
-
if (opacity % 1) {
|
8492 |
-
props.opacity = 1;
|
8493 |
-
} else {
|
8494 |
-
delete from.opacity;
|
8495 |
-
}
|
8496 |
-
}
|
8497 |
-
}
|
8498 |
-
|
8499 |
-
return from;
|
8500 |
-
});
|
8501 |
-
|
8502 |
-
addClass(this.target, targetClass);
|
8503 |
-
children.forEach(function (el, i) { return propsFrom[i] && css(el, propsFrom[i]); });
|
8504 |
-
css(this.target, 'height', oldHeight);
|
8505 |
-
scrollTop(window, oldScrollY);
|
8506 |
-
|
8507 |
-
return Promise.all(children.map(function (el, i) { return propsFrom[i] && propsTo[i]
|
8508 |
-
? Transition.start(el, propsTo[i], this$1.animation, 'ease')
|
8509 |
-
: Promise.resolve(); }
|
8510 |
-
).concat(Transition.start(this.target, {height: newHeight}, this.animation, 'ease'))).then(function () {
|
8511 |
-
children.forEach(function (el, i) { return css(el, {display: propsTo[i].opacity === 0 ? 'none' : '', zIndex: ''}); });
|
8512 |
-
reset(this$1.target);
|
8513 |
-
this$1.$update(this$1.target);
|
8514 |
-
fastdom.flush(); // needed for IE11
|
8515 |
-
}, noop);
|
8516 |
-
|
8517 |
-
}
|
8518 |
-
}
|
8519 |
-
};
|
8520 |
-
|
8521 |
-
function getProps(el, opacity) {
|
8522 |
-
|
8523 |
-
var zIndex = css(el, 'zIndex');
|
8524 |
-
|
8525 |
-
return isVisible(el)
|
8526 |
-
? assign({
|
8527 |
-
display: '',
|
8528 |
-
opacity: opacity ? css(el, 'opacity') : '0',
|
8529 |
-
pointerEvents: 'none',
|
8530 |
-
position: 'absolute',
|
8531 |
-
zIndex: zIndex === 'auto' ? index(el) : zIndex
|
8532 |
-
}, getPositionWithMargin(el))
|
8533 |
-
: false;
|
8534 |
-
}
|
8535 |
-
|
8536 |
-
function reset(el) {
|
8537 |
-
css(el.children, {
|
8538 |
-
height: '',
|
8539 |
-
left: '',
|
8540 |
-
opacity: '',
|
8541 |
-
pointerEvents: '',
|
8542 |
-
position: '',
|
8543 |
-
top: '',
|
8544 |
-
width: ''
|
8545 |
-
});
|
8546 |
-
removeClass(el, targetClass);
|
8547 |
-
css(el, 'height', '');
|
8548 |
-
}
|
8549 |
-
|
8550 |
-
function getPositionWithMargin(el) {
|
8551 |
-
var ref = el.getBoundingClientRect();
|
8552 |
-
var height = ref.height;
|
8553 |
-
var width = ref.width;
|
8554 |
-
var ref$1 = position(el);
|
8555 |
-
var top = ref$1.top;
|
8556 |
-
var left = ref$1.left;
|
8557 |
-
top += toFloat(css(el, 'marginTop'));
|
8558 |
-
|
8559 |
-
return {top: top, left: left, height: height, width: width};
|
8560 |
-
}
|
8561 |
-
|
8562 |
-
var style;
|
8563 |
-
|
8564 |
-
function addStyle() {
|
8565 |
-
if (style) {
|
8566 |
-
return;
|
8567 |
-
}
|
8568 |
-
style = append(document.head, '<style>').sheet;
|
8569 |
-
style.insertRule(
|
8570 |
-
("." + targetClass + " > * {\n margin-top: 0 !important;\n transform: none !important;\n }"), 0
|
8571 |
-
);
|
8572 |
-
}
|
8573 |
-
|
8574 |
-
var Filter = {
|
8575 |
-
|
8576 |
-
mixins: [Animate],
|
8577 |
-
|
8578 |
-
args: 'target',
|
8579 |
-
|
8580 |
-
props: {
|
8581 |
-
target: Boolean,
|
8582 |
-
selActive: Boolean
|
8583 |
-
},
|
8584 |
-
|
8585 |
-
data: {
|
8586 |
-
target: null,
|
8587 |
-
selActive: false,
|
8588 |
-
attrItem: 'bdt-filter-control',
|
8589 |
-
cls: 'bdt-active',
|
8590 |
-
animation: 250
|
8591 |
-
},
|
8592 |
-
|
8593 |
-
computed: {
|
8594 |
-
|
8595 |
-
toggles: {
|
8596 |
-
|
8597 |
-
get: function(ref, $el) {
|
8598 |
-
var attrItem = ref.attrItem;
|
8599 |
-
|
8600 |
-
return $$(("[" + (this.attrItem) + "],[data-" + (this.attrItem) + "]"), $el);
|
8601 |
-
},
|
8602 |
-
|
8603 |
-
watch: function() {
|
8604 |
-
this.updateState();
|
8605 |
-
}
|
8606 |
-
|
8607 |
-
},
|
8608 |
-
|
8609 |
-
target: function(ref, $el) {
|
8610 |
-
var target = ref.target;
|
8611 |
-
|
8612 |
-
return $(target, $el);
|
8613 |
-
},
|
8614 |
-
|
8615 |
-
children: {
|
8616 |
-
|
8617 |
-
get: function() {
|
8618 |
-
return toNodes(this.target && this.target.children);
|
8619 |
-
},
|
8620 |
-
|
8621 |
-
watch: function(list, old) {
|
8622 |
-
if (!isEqualList(list, old)) {
|
8623 |
-
this.updateState();
|
8624 |
-
}
|
8625 |
-
}
|
8626 |
-
}
|
8627 |
-
|
8628 |
-
},
|
8629 |
-
|
8630 |
-
events: [
|
8631 |
-
|
8632 |
-
{
|
8633 |
-
|
8634 |
-
name: 'click',
|
8635 |
-
|
8636 |
-
delegate: function() {
|
8637 |
-
return ("[" + (this.attrItem) + "],[data-" + (this.attrItem) + "]");
|
8638 |
-
},
|
8639 |
-
|
8640 |
-
handler: function(e) {
|
8641 |
-
|
8642 |
-
e.preventDefault();
|
8643 |
-
this.apply(e.current);
|
8644 |
-
|
8645 |
-
}
|
8646 |
-
|
8647 |
-
}
|
8648 |
-
|
8649 |
-
],
|
8650 |
-
|
8651 |
-
connected: function() {
|
8652 |
-
var this$1 = this;
|
8653 |
-
|
8654 |
-
|
8655 |
-
this.updateState();
|
8656 |
-
|
8657 |
-
if (this.selActive !== false) {
|
8658 |
-
var actives = $$(this.selActive, this.$el);
|
8659 |
-
this.toggles.forEach(function (el) { return toggleClass(el, this$1.cls, includes(actives, el)); });
|
8660 |
-
}
|
8661 |
-
|
8662 |
-
},
|
8663 |
-
|
8664 |
-
methods: {
|
8665 |
-
|
8666 |
-
apply: function(el) {
|
8667 |
-
this.setState(mergeState(el, this.attrItem, this.getState()));
|
8668 |
-
},
|
8669 |
-
|
8670 |
-
getState: function() {
|
8671 |
-
var this$1 = this;
|
8672 |
-
|
8673 |
-
return this.toggles
|
8674 |
-
.filter(function (item) { return hasClass(item, this$1.cls); })
|
8675 |
-
.reduce(function (state, el) { return mergeState(el, this$1.attrItem, state); }, {filter: {'': ''}, sort: []});
|
8676 |
-
},
|
8677 |
-
|
8678 |
-
setState: function(state, animate) {
|
8679 |
-
var this$1 = this;
|
8680 |
-
if ( animate === void 0 ) animate = true;
|
8681 |
-
|
8682 |
-
|
8683 |
-
state = assign({filter: {'': ''}, sort: []}, state);
|
8684 |
-
|
8685 |
-
trigger(this.$el, 'beforeFilter', [this, state]);
|
8686 |
-
|
8687 |
-
var ref = this;
|
8688 |
-
var children = ref.children;
|
8689 |
-
|
8690 |
-
this.toggles.forEach(function (el) { return toggleClass(el, this$1.cls, !!matchFilter(el, this$1.attrItem, state)); });
|
8691 |
-
|
8692 |
-
var apply = function () {
|
8693 |
-
|
8694 |
-
var selector = getSelector(state);
|
8695 |
-
|
8696 |
-
children.forEach(function (el) { return css(el, 'display', selector && !matches(el, selector) ? 'none' : ''); });
|
8697 |
-
|
8698 |
-
var ref = state.sort;
|
8699 |
-
var sort = ref[0];
|
8700 |
-
var order = ref[1];
|
8701 |
-
|
8702 |
-
if (sort) {
|
8703 |
-
var sorted = sortItems(children, sort, order);
|
8704 |
-
if (!isEqual(sorted, children)) {
|
8705 |
-
sorted.forEach(function (el) { return append(this$1.target, el); });
|
8706 |
-
}
|
8707 |
-
}
|
8708 |
-
|
8709 |
-
};
|
8710 |
-
|
8711 |
-
if (animate) {
|
8712 |
-
this.animate(apply).then(function () { return trigger(this$1.$el, 'afterFilter', [this$1]); });
|
8713 |
-
} else {
|
8714 |
-
apply();
|
8715 |
-
trigger(this.$el, 'afterFilter', [this]);
|
8716 |
-
}
|
8717 |
-
|
8718 |
-
},
|
8719 |
-
|
8720 |
-
updateState: function() {
|
8721 |
-
var this$1 = this;
|
8722 |
-
|
8723 |
-
fastdom.write(function () { return this$1.setState(this$1.getState(), false); });
|
8724 |
-
}
|
8725 |
-
|
8726 |
-
}
|
8727 |
-
|
8728 |
-
};
|
8729 |
-
|
8730 |
-
function getFilter(el, attr) {
|
8731 |
-
return parseOptions(data(el, attr), ['filter']);
|
8732 |
-
}
|
8733 |
-
|
8734 |
-
function mergeState(el, attr, state) {
|
8735 |
-
|
8736 |
-
var filterBy = getFilter(el, attr);
|
8737 |
-
var filter = filterBy.filter;
|
8738 |
-
var group = filterBy.group;
|
8739 |
-
var sort = filterBy.sort;
|
8740 |
-
var order = filterBy.order; if ( order === void 0 ) order = 'asc';
|
8741 |
-
|
8742 |
-
if (filter || isUndefined(sort)) {
|
8743 |
-
|
8744 |
-
if (group) {
|
8745 |
-
|
8746 |
-
if (filter) {
|
8747 |
-
delete state.filter[''];
|
8748 |
-
state.filter[group] = filter;
|
8749 |
-
} else {
|
8750 |
-
delete state.filter[group];
|
8751 |
-
|
8752 |
-
if (isEmpty(state.filter) || '' in state.filter) {
|
8753 |
-
state.filter = {'': filter || ''};
|
8754 |
-
}
|
8755 |
-
|
8756 |
-
}
|
8757 |
-
|
8758 |
-
} else {
|
8759 |
-
state.filter = {'': filter || ''};
|
8760 |
-
}
|
8761 |
-
|
8762 |
-
}
|
8763 |
-
|
8764 |
-
if (!isUndefined(sort)) {
|
8765 |
-
state.sort = [sort, order];
|
8766 |
-
}
|
8767 |
-
|
8768 |
-
return state;
|
8769 |
-
}
|
8770 |
-
|
8771 |
-
function matchFilter(el, attr, ref) {
|
8772 |
-
var stateFilter = ref.filter; if ( stateFilter === void 0 ) stateFilter = {'': ''};
|
8773 |
-
var ref_sort = ref.sort;
|
8774 |
-
var stateSort = ref_sort[0];
|
8775 |
-
var stateOrder = ref_sort[1];
|
8776 |
-
|
8777 |
-
|
8778 |
-
var ref$1 = getFilter(el, attr);
|
8779 |
-
var filter = ref$1.filter; if ( filter === void 0 ) filter = '';
|
8780 |
-
var group = ref$1.group; if ( group === void 0 ) group = '';
|
8781 |
-
var sort = ref$1.sort;
|
8782 |
-
var order = ref$1.order; if ( order === void 0 ) order = 'asc';
|
8783 |
-
|
8784 |
-
return isUndefined(sort)
|
8785 |
-
? group in stateFilter && filter === stateFilter[group]
|
8786 |
-
|| !filter && group && !(group in stateFilter) && !stateFilter['']
|
8787 |
-
: stateSort === sort && stateOrder === order;
|
8788 |
-
}
|
8789 |
-
|
8790 |
-
function isEqualList(listA, listB) {
|
8791 |
-
return listA.length === listB.length
|
8792 |
-
&& listA.every(function (el) { return ~listB.indexOf(el); });
|
8793 |
-
}
|
8794 |
-
|
8795 |
-
function getSelector(ref) {
|
8796 |
-
var filter = ref.filter;
|
8797 |
-
|
8798 |
-
var selector = '';
|
8799 |
-
each(filter, function (value) { return selector += value || ''; });
|
8800 |
-
return selector;
|
8801 |
-
}
|
8802 |
-
|
8803 |
-
function sortItems(nodes, sort, order) {
|
8804 |
-
return assign([], nodes).sort(function (a, b) { return data(a, sort).localeCompare(data(b, sort), undefined, {numeric: true}) * (order === 'asc' || -1); });
|
8805 |
-
}
|
8806 |
-
|
8807 |
-
var Animations = {
|
8808 |
-
|
8809 |
-
slide: {
|
8810 |
-
|
8811 |
-
show: function(dir) {
|
8812 |
-
return [
|
8813 |
-
{transform: translate(dir * -100)},
|
8814 |
-
{transform: translate()}
|
8815 |
-
];
|
8816 |
-
},
|
8817 |
-
|
8818 |
-
percent: function(current) {
|
8819 |
-
return translated(current);
|
8820 |
-
},
|
8821 |
-
|
8822 |
-
translate: function(percent, dir) {
|
8823 |
-
return [
|
8824 |
-
{transform: translate(dir * -100 * percent)},
|
8825 |
-
{transform: translate(dir * 100 * (1 - percent))}
|
8826 |
-
];
|
8827 |
-
}
|
8828 |
-
|
8829 |
-
}
|
8830 |
-
|
8831 |
-
};
|
8832 |
-
|
8833 |
-
function translated(el) {
|
8834 |
-
return Math.abs(css(el, 'transform').split(',')[4] / el.offsetWidth) || 0;
|
8835 |
-
}
|
8836 |
-
|
8837 |
-
function translate(value, unit) {
|
8838 |
-
if ( value === void 0 ) value = 0;
|
8839 |
-
if ( unit === void 0 ) unit = '%';
|
8840 |
-
|
8841 |
-
value += value ? unit : '';
|
8842 |
-
return isIE ? ("translateX(" + value + ")") : ("translate3d(" + value + ", 0, 0)"); // currently not translate3d in IE, translate3d within translate3d does not work while transitioning
|
8843 |
-
}
|
8844 |
-
|
8845 |
-
function scale3d(value) {
|
8846 |
-
return ("scale3d(" + value + ", " + value + ", 1)");
|
8847 |
-
}
|
8848 |
-
|
8849 |
-
var Animations$1 = assign({}, Animations, {
|
8850 |
-
|
8851 |
-
fade: {
|
8852 |
-
|
8853 |
-
show: function() {
|
8854 |
-
return [
|
8855 |
-
{opacity: 0},
|
8856 |
-
{opacity: 1}
|
8857 |
-
];
|
8858 |
-
},
|
8859 |
-
|
8860 |
-
percent: function(current) {
|
8861 |
-
return 1 - css(current, 'opacity');
|
8862 |
-
},
|
8863 |
-
|
8864 |
-
translate: function(percent) {
|
8865 |
-
return [
|
8866 |
-
{opacity: 1 - percent},
|
8867 |
-
{opacity: percent}
|
8868 |
-
];
|
8869 |
-
}
|
8870 |
-
|
8871 |
-
},
|
8872 |
-
|
8873 |
-
scale: {
|
8874 |
-
|
8875 |
-
show: function() {
|
8876 |
-
return [
|
8877 |
-
{opacity: 0, transform: scale3d(1 - .2)},
|
8878 |
-
{opacity: 1, transform: scale3d(1)}
|
8879 |
-
];
|
8880 |
-
},
|
8881 |
-
|
8882 |
-
percent: function(current) {
|
8883 |
-
return 1 - css(current, 'opacity');
|
8884 |
-
},
|
8885 |
-
|
8886 |
-
translate: function(percent) {
|
8887 |
-
return [
|
8888 |
-
{opacity: 1 - percent, transform: scale3d(1 - .2 * percent)},
|
8889 |
-
{opacity: percent, transform: scale3d(1 - .2 + .2 * percent)}
|
8890 |
-
];
|
8891 |
-
}
|
8892 |
-
|
8893 |
-
}
|
8894 |
-
|
8895 |
-
});
|
8896 |
-
|
8897 |
-
function Transitioner(prev, next, dir, ref) {
|
8898 |
-
var animation = ref.animation;
|
8899 |
-
var easing = ref.easing;
|
8900 |
-
|
8901 |
-
|
8902 |
-
var percent = animation.percent;
|
8903 |
-
var translate = animation.translate;
|
8904 |
-
var show = animation.show; if ( show === void 0 ) show = noop;
|
8905 |
-
var props = show(dir);
|
8906 |
-
var deferred = new Deferred();
|
8907 |
-
|
8908 |
-
return {
|
8909 |
-
|
8910 |
-
dir: dir,
|
8911 |
-
|
8912 |
-
show: function(duration, percent, linear) {
|
8913 |
-
var this$1 = this;
|
8914 |
-
if ( percent === void 0 ) percent = 0;
|
8915 |
-
|
8916 |
-
|
8917 |
-
var timing = linear ? 'linear' : easing;
|
8918 |
-
duration -= Math.round(duration * clamp(percent, -1, 1));
|
8919 |
-
|
8920 |
-
this.translate(percent);
|
8921 |
-
|
8922 |
-
triggerUpdate(next, 'itemin', {percent: percent, duration: duration, timing: timing, dir: dir});
|
8923 |
-
triggerUpdate(prev, 'itemout', {percent: 1 - percent, duration: duration, timing: timing, dir: dir});
|
8924 |
-
|
8925 |
-
Promise.all([
|
8926 |
-
Transition.start(next, props[1], duration, timing),
|
8927 |
-
Transition.start(prev, props[0], duration, timing)
|
8928 |
-
]).then(function () {
|
8929 |
-
this$1.reset();
|
8930 |
-
deferred.resolve();
|
8931 |
-
}, noop);
|
8932 |
-
|
8933 |
-
return deferred.promise;
|
8934 |
-
},
|
8935 |
-
|
8936 |
-
stop: function() {
|
8937 |
-
return Transition.stop([next, prev]);
|
8938 |
-
},
|
8939 |
-
|
8940 |
-
cancel: function() {
|
8941 |
-
Transition.cancel([next, prev]);
|
8942 |
-
},
|
8943 |
-
|
8944 |
-
reset: function() {
|
8945 |
-
for (var prop in props[0]) {
|
8946 |
-
css([next, prev], prop, '');
|
8947 |
-
}
|
8948 |
-
},
|
8949 |
-
|
8950 |
-
forward: function(duration, percent) {
|
8951 |
-
if ( percent === void 0 ) percent = this.percent();
|
8952 |
-
|
8953 |
-
Transition.cancel([next, prev]);
|
8954 |
-
return this.show(duration, percent, true);
|
8955 |
-
|
8956 |
-
},
|
8957 |
-
|
8958 |
-
translate: function(percent) {
|
8959 |
-
|
8960 |
-
this.reset();
|
8961 |
-
|
8962 |
-
var props = translate(percent, dir);
|
8963 |
-
css(next, props[1]);
|
8964 |
-
css(prev, props[0]);
|
8965 |
-
triggerUpdate(next, 'itemtranslatein', {percent: percent, dir: dir});
|
8966 |
-
triggerUpdate(prev, 'itemtranslateout', {percent: 1 - percent, dir: dir});
|
8967 |
-
|
8968 |
-
},
|
8969 |
-
|
8970 |
-
percent: function() {
|
8971 |
-
return percent(prev || next, next, dir);
|
8972 |
-
},
|
8973 |
-
|
8974 |
-
getDistance: function() {
|
8975 |
-
return prev && prev.offsetWidth;
|
8976 |
-
}
|
8977 |
-
|
8978 |
-
};
|
8979 |
-
|
8980 |
-
}
|
8981 |
-
|
8982 |
-
function triggerUpdate(el, type, data) {
|
8983 |
-
trigger(el, createEvent(type, false, false, data));
|
8984 |
-
}
|
8985 |
-
|
8986 |
-
var SliderAutoplay = {
|
8987 |
-
|
8988 |
-
props: {
|
8989 |
-
autoplay: Boolean,
|
8990 |
-
autoplayInterval: Number,
|
8991 |
-
pauseOnHover: Boolean
|
8992 |
-
},
|
8993 |
-
|
8994 |
-
data: {
|
8995 |
-
autoplay: false,
|
8996 |
-
autoplayInterval: 7000,
|
8997 |
-
pauseOnHover: true
|
8998 |
-
},
|
8999 |
-
|
9000 |
-
connected: function() {
|
9001 |
-
this.autoplay && this.startAutoplay();
|
9002 |
-
},
|
9003 |
-
|
9004 |
-
disconnected: function() {
|
9005 |
-
this.stopAutoplay();
|
9006 |
-
},
|
9007 |
-
|
9008 |
-
update: function() {
|
9009 |
-
attr(this.slides, 'tabindex', '-1');
|
9010 |
-
},
|
9011 |
-
|
9012 |
-
events: [
|
9013 |
-
|
9014 |
-
{
|
9015 |
-
|
9016 |
-
name: 'visibilitychange',
|
9017 |
-
|
9018 |
-
el: document,
|
9019 |
-
|
9020 |
-
filter: function() {
|
9021 |
-
return this.autoplay;
|
9022 |
-
},
|
9023 |
-
|
9024 |
-
handler: function() {
|
9025 |
-
if (document.hidden) {
|
9026 |
-
this.stopAutoplay();
|
9027 |
-
} else {
|
9028 |
-
this.startAutoplay();
|
9029 |
-
}
|
9030 |
-
}
|
9031 |
-
|
9032 |
-
}
|
9033 |
-
|
9034 |
-
],
|
9035 |
-
|
9036 |
-
methods: {
|
9037 |
-
|
9038 |
-
startAutoplay: function() {
|
9039 |
-
var this$1 = this;
|
9040 |
-
|
9041 |
-
|
9042 |
-
this.stopAutoplay();
|
9043 |
-
|
9044 |
-
this.interval = setInterval(
|
9045 |
-
function () { return (!this$1.draggable || !$(':focus', this$1.$el))
|
9046 |
-
&& (!this$1.pauseOnHover || !matches(this$1.$el, ':hover'))
|
9047 |
-
&& !this$1.stack.length
|
9048 |
-
&& this$1.show('next'); },
|
9049 |
-
this.autoplayInterval
|
9050 |
-
);
|
9051 |
-
|
9052 |
-
},
|
9053 |
-
|
9054 |
-
stopAutoplay: function() {
|
9055 |
-
this.interval && clearInterval(this.interval);
|
9056 |
-
}
|
9057 |
-
|
9058 |
-
}
|
9059 |
-
|
9060 |
-
};
|
9061 |
-
|
9062 |
-
var SliderDrag = {
|
9063 |
-
|
9064 |
-
props: {
|
9065 |
-
draggable: Boolean
|
9066 |
-
},
|
9067 |
-
|
9068 |
-
data: {
|
9069 |
-
draggable: true,
|
9070 |
-
threshold: 10
|
9071 |
-
},
|
9072 |
-
|
9073 |
-
created: function() {
|
9074 |
-
var this$1 = this;
|
9075 |
-
|
9076 |
-
|
9077 |
-
['start', 'move', 'end'].forEach(function (key) {
|
9078 |
-
|
9079 |
-
var fn = this$1[key];
|
9080 |
-
this$1[key] = function (e) {
|
9081 |
-
|
9082 |
-
var pos = getEventPos(e).x * (isRtl ? -1 : 1);
|
9083 |
-
|
9084 |
-
this$1.prevPos = pos !== this$1.pos ? this$1.pos : this$1.prevPos;
|
9085 |
-
this$1.pos = pos;
|
9086 |
-
|
9087 |
-
fn(e);
|
9088 |
-
};
|
9089 |
-
|
9090 |
-
});
|
9091 |
-
|
9092 |
-
},
|
9093 |
-
|
9094 |
-
events: [
|
9095 |
-
|
9096 |
-
{
|
9097 |
-
|
9098 |
-
name: pointerDown,
|
9099 |
-
|
9100 |
-
delegate: function() {
|
9101 |
-
return this.selSlides;
|
9102 |
-
},
|
9103 |
-
|
9104 |
-
handler: function(e) {
|
9105 |
-
|
9106 |
-
if (!this.draggable
|
9107 |
-
|| !isTouch(e) && hasTextNodesOnly(e.target)
|
9108 |
-
|| e.button > 0
|
9109 |
-
|| this.length < 2
|
9110 |
-
) {
|
9111 |
-
return;
|
9112 |
-
}
|
9113 |
-
|
9114 |
-
this.start(e);
|
9115 |
-
}
|
9116 |
-
|
9117 |
-
},
|
9118 |
-
|
9119 |
-
{
|
9120 |
-
|
9121 |
-
// Workaround for iOS 11 bug: https://bugs.webkit.org/show_bug.cgi?id=184250
|
9122 |
-
|
9123 |
-
name: 'touchmove',
|
9124 |
-
passive: false,
|
9125 |
-
handler: 'move',
|
9126 |
-
delegate: function() {
|
9127 |
-
return this.selSlides;
|
9128 |
-
}
|
9129 |
-
|
9130 |
-
},
|
9131 |
-
|
9132 |
-
{
|
9133 |
-
name: 'dragstart',
|
9134 |
-
|
9135 |
-
handler: function(e) {
|
9136 |
-
e.preventDefault();
|
9137 |
-
}
|
9138 |
-
}
|
9139 |
-
|
9140 |
-
],
|
9141 |
-
|
9142 |
-
methods: {
|
9143 |
-
|
9144 |
-
start: function() {
|
9145 |
-
var this$1 = this;
|
9146 |
-
|
9147 |
-
|
9148 |
-
this.drag = this.pos;
|
9149 |
-
|
9150 |
-
if (this._transitioner) {
|
9151 |
-
|
9152 |
-
this.percent = this._transitioner.percent();
|
9153 |
-
this.drag += this._transitioner.getDistance() * this.percent * this.dir;
|
9154 |
-
|
9155 |
-
this._transitioner.cancel();
|
9156 |
-
this._transitioner.translate(this.percent);
|
9157 |
-
|
9158 |
-
this.dragging = true;
|
9159 |
-
|
9160 |
-
this.stack = [];
|
9161 |
-
|
9162 |
-
} else {
|
9163 |
-
this.prevIndex = this.index;
|
9164 |
-
}
|
9165 |
-
|
9166 |
-
// See above workaround notice
|
9167 |
-
var off = pointerMove !== 'touchmove'
|
9168 |
-
? on(document, pointerMove, this.move, {passive: false})
|
9169 |
-
: noop;
|
9170 |
-
this.unbindMove = function () {
|
9171 |
-
off();
|
9172 |
-
this$1.unbindMove = null;
|
9173 |
-
};
|
9174 |
-
on(window, 'scroll', this.unbindMove);
|
9175 |
-
on(document, pointerUp, this.end, true);
|
9176 |
-
|
9177 |
-
css(this.list, 'userSelect', 'none');
|
9178 |
-
|
9179 |
-
},
|
9180 |
-
|
9181 |
-
move: function(e) {
|
9182 |
-
var this$1 = this;
|
9183 |
-
|
9184 |
-
|
9185 |
-
// See above workaround notice
|
9186 |
-
if (!this.unbindMove) {
|
9187 |
-
return;
|
9188 |
-
}
|
9189 |
-
|
9190 |
-
var distance = this.pos - this.drag;
|
9191 |
-
|
9192 |
-
if (distance === 0 || this.prevPos === this.pos || !this.dragging && Math.abs(distance) < this.threshold) {
|
9193 |
-
return;
|
9194 |
-
}
|
9195 |
-
|
9196 |
-
css(this.list, 'pointerEvents', 'none');
|
9197 |
-
|
9198 |
-
e.cancelable && e.preventDefault();
|
9199 |
-
|
9200 |
-
this.dragging = true;
|
9201 |
-
this.dir = (distance < 0 ? 1 : -1);
|
9202 |
-
|
9203 |
-
var ref = this;
|
9204 |
-
var slides = ref.slides;
|
9205 |
-
var ref$1 = this;
|
9206 |
-
var prevIndex = ref$1.prevIndex;
|
9207 |
-
var dis = Math.abs(distance);
|
9208 |
-
var nextIndex = this.getIndex(prevIndex + this.dir, prevIndex);
|
9209 |
-
var width = this._getDistance(prevIndex, nextIndex) || slides[prevIndex].offsetWidth;
|
9210 |
-
|
9211 |
-
while (nextIndex !== prevIndex && dis > width) {
|
9212 |
-
|
9213 |
-
this.drag -= width * this.dir;
|
9214 |
-
|
9215 |
-
prevIndex = nextIndex;
|
9216 |
-
dis -= width;
|
9217 |
-
nextIndex = this.getIndex(prevIndex + this.dir, prevIndex);
|
9218 |
-
width = this._getDistance(prevIndex, nextIndex) || slides[prevIndex].offsetWidth;
|
9219 |
-
|
9220 |
-
}
|
9221 |
-
|
9222 |
-
this.percent = dis / width;
|
9223 |
-
|
9224 |
-
var prev = slides[prevIndex];
|
9225 |
-
var next = slides[nextIndex];
|
9226 |
-
var changed = this.index !== nextIndex;
|
9227 |
-
var edge = prevIndex === nextIndex;
|
9228 |
-
|
9229 |
-
var itemShown;
|
9230 |
-
|
9231 |
-
[this.index, this.prevIndex].filter(function (i) { return !includes([nextIndex, prevIndex], i); }).forEach(function (i) {
|
9232 |
-
trigger(slides[i], 'itemhidden', [this$1]);
|
9233 |
-
|
9234 |
-
if (edge) {
|
9235 |
-
itemShown = true;
|
9236 |
-
this$1.prevIndex = prevIndex;
|
9237 |
-
}
|
9238 |
-
|
9239 |
-
});
|
9240 |
-
|
9241 |
-
if (this.index === prevIndex && this.prevIndex !== prevIndex || itemShown) {
|
9242 |
-
trigger(slides[this.index], 'itemshown', [this]);
|
9243 |
-
}
|
9244 |
-
|
9245 |
-
if (changed) {
|
9246 |
-
this.prevIndex = prevIndex;
|
9247 |
-
this.index = nextIndex;
|
9248 |
-
|
9249 |
-
!edge && trigger(prev, 'beforeitemhide', [this]);
|
9250 |
-
trigger(next, 'beforeitemshow', [this]);
|
9251 |
-
}
|
9252 |
-
|
9253 |
-
this._transitioner = this._translate(Math.abs(this.percent), prev, !edge && next);
|
9254 |
-
|
9255 |
-
if (changed) {
|
9256 |
-
!edge && trigger(prev, 'itemhide', [this]);
|
9257 |
-
trigger(next, 'itemshow', [this]);
|
9258 |
-
}
|
9259 |
-
|
9260 |
-
},
|
9261 |
-
|
9262 |
-
end: function() {
|
9263 |
-
|
9264 |
-
off(window, 'scroll', this.unbindMove);
|
9265 |
-
this.unbindMove && this.unbindMove();
|
9266 |
-
off(document, pointerUp, this.end, true);
|
9267 |
-
|
9268 |
-
if (this.dragging) {
|
9269 |
-
|
9270 |
-
this.dragging = null;
|
9271 |
-
|
9272 |
-
if (this.index === this.prevIndex) {
|
9273 |
-
this.percent = 1 - this.percent;
|
9274 |
-
this.dir *= -1;
|
9275 |
-
this._show(false, this.index, true);
|
9276 |
-
this._transitioner = null;
|
9277 |
-
} else {
|
9278 |
-
|
9279 |
-
var dirChange = (isRtl ? this.dir * (isRtl ? 1 : -1) : this.dir) < 0 === this.prevPos > this.pos;
|
9280 |
-
this.index = dirChange ? this.index : this.prevIndex;
|
9281 |
-
|
9282 |
-
if (dirChange) {
|
9283 |
-
this.percent = 1 - this.percent;
|
9284 |
-
}
|
9285 |
-
|
9286 |
-
this.show(this.dir > 0 && !dirChange || this.dir < 0 && dirChange ? 'next' : 'previous', true);
|
9287 |
-
}
|
9288 |
-
|
9289 |
-
}
|
9290 |
-
|
9291 |
-
css(this.list, {userSelect: '', pointerEvents: ''});
|
9292 |
-
|
9293 |
-
this.drag
|
9294 |
-
= this.percent
|
9295 |
-
= null;
|
9296 |
-
|
9297 |
-
}
|
9298 |
-
|
9299 |
-
}
|
9300 |
-
|
9301 |
-
};
|
9302 |
-
|
9303 |
-
function hasTextNodesOnly(el) {
|
9304 |
-
return !el.children.length && el.childNodes.length;
|
9305 |
-
}
|
9306 |
-
|
9307 |
-
var SliderNav = {
|
9308 |
-
|
9309 |
-
data: {
|
9310 |
-
selNav: false
|
9311 |
-
},
|
9312 |
-
|
9313 |
-
computed: {
|
9314 |
-
|
9315 |
-
nav: function(ref, $el) {
|
9316 |
-
var selNav = ref.selNav;
|
9317 |
-
|
9318 |
-
return $(selNav, $el);
|
9319 |
-
},
|
9320 |
-
|
9321 |
-
selNavItem: function(ref) {
|
9322 |
-
var attrItem = ref.attrItem;
|
9323 |
-
|
9324 |
-
return ("[" + attrItem + "],[data-" + attrItem + "]");
|
9325 |
-
},
|
9326 |
-
|
9327 |
-
navItems: function(_, $el) {
|
9328 |
-
return $$(this.selNavItem, $el);
|
9329 |
-
}
|
9330 |
-
|
9331 |
-
},
|
9332 |
-
|
9333 |
-
update: {
|
9334 |
-
|
9335 |
-
write: function() {
|
9336 |
-
var this$1 = this;
|
9337 |
-
|
9338 |
-
|
9339 |
-
if (this.nav && this.length !== this.nav.children.length) {
|
9340 |
-
html(this.nav, this.slides.map(function (_, i) { return ("<li " + (this$1.attrItem) + "=\"" + i + "\"><a href=\"#\"></a></li>"); }).join(''));
|
9341 |
-
}
|
9342 |
-
|
9343 |
-
toggleClass($$(this.selNavItem, this.$el).concat(this.nav), 'bdt-hidden', !this.maxIndex);
|
9344 |
-
|
9345 |
-
this.updateNav();
|
9346 |
-
|
9347 |
-
},
|
9348 |
-
|
9349 |
-
events: ['resize']
|
9350 |
-
|
9351 |
-
},
|
9352 |
-
|
9353 |
-
events: [
|
9354 |
-
|
9355 |
-
{
|
9356 |
-
|
9357 |
-
name: 'click',
|
9358 |
-
|
9359 |
-
delegate: function() {
|
9360 |
-
return this.selNavItem;
|
9361 |
-
},
|
9362 |
-
|
9363 |
-
handler: function(e) {
|
9364 |
-
e.preventDefault();
|
9365 |
-
this.show(data(e.current, this.attrItem));
|
9366 |
-
}
|
9367 |
-
|
9368 |
-
},
|
9369 |
-
|
9370 |
-
{
|
9371 |
-
|
9372 |
-
name: 'itemshow',
|
9373 |
-
handler: 'updateNav'
|
9374 |
-
|
9375 |
-
}
|
9376 |
-
|
9377 |
-
],
|
9378 |
-
|
9379 |
-
methods: {
|
9380 |
-
|
9381 |
-
updateNav: function() {
|
9382 |
-
var this$1 = this;
|
9383 |
-
|
9384 |
-
|
9385 |
-
var i = this.getValidIndex();
|
9386 |
-
this.navItems.forEach(function (el) {
|
9387 |
-
|
9388 |
-
var cmd = data(el, this$1.attrItem);
|
9389 |
-
|
9390 |
-
toggleClass(el, this$1.clsActive, toNumber(cmd) === i);
|
9391 |
-
toggleClass(el, 'bdt-invisible', this$1.finite && (cmd === 'previous' && i === 0 || cmd === 'next' && i >= this$1.maxIndex));
|
9392 |
-
});
|
9393 |
-
|
9394 |
-
}
|
9395 |
-
|
9396 |
-
}
|
9397 |
-
|
9398 |
-
};
|
9399 |
-
|
9400 |
-
var Slider = {
|
9401 |
-
|
9402 |
-
mixins: [SliderAutoplay, SliderDrag, SliderNav],
|
9403 |
-
|
9404 |
-
props: {
|
9405 |
-
clsActivated: Boolean,
|
9406 |
-
easing: String,
|
9407 |
-
index: Number,
|
9408 |
-
finite: Boolean,
|
9409 |
-
velocity: Number
|
9410 |
-
},
|
9411 |
-
|
9412 |
-
data: function () { return ({
|
9413 |
-
easing: 'ease',
|
9414 |
-
finite: false,
|
9415 |
-
velocity: 1,
|
9416 |
-
index: 0,
|
9417 |
-
prevIndex: -1,
|
9418 |
-
stack: [],
|
9419 |
-
percent: 0,
|
9420 |
-
clsActive: 'bdt-active',
|
9421 |
-
clsActivated: false,
|
9422 |
-
Transitioner: false,
|
9423 |
-
transitionOptions: {}
|
9424 |
-
}); },
|
9425 |
-
|
9426 |
-
connected: function() {
|
9427 |
-
this.prevIndex = -1;
|
9428 |
-
this.index = this.getValidIndex(this.index);
|
9429 |
-
this.stack = [];
|
9430 |
-
},
|
9431 |
-
|
9432 |
-
disconnected: function() {
|
9433 |
-
removeClass(this.slides, this.clsActive);
|
9434 |
-
},
|
9435 |
-
|
9436 |
-
computed: {
|
9437 |
-
|
9438 |
-
duration: function(ref, $el) {
|
9439 |
-
var velocity = ref.velocity;
|
9440 |
-
|
9441 |
-
return speedUp($el.offsetWidth / velocity);
|
9442 |
-
},
|
9443 |
-
|
9444 |
-
list: function(ref, $el) {
|
9445 |
-
var selList = ref.selList;
|
9446 |
-
|
9447 |
-
return $(selList, $el);
|
9448 |
-
},
|
9449 |
-
|
9450 |
-
maxIndex: function() {
|
9451 |
-
return this.length - 1;
|
9452 |
-
},
|
9453 |
-
|
9454 |
-
selSlides: function(ref) {
|
9455 |
-
var selList = ref.selList;
|
9456 |
-
|
9457 |
-
return (selList + " > *");
|
9458 |
-
},
|
9459 |
-
|
9460 |
-
slides: {
|
9461 |
-
|
9462 |
-
get: function() {
|
9463 |
-
return toNodes(this.list.children);
|
9464 |
-
},
|
9465 |
-
|
9466 |
-
watch: function() {
|
9467 |
-
this.$reset();
|
9468 |
-
}
|
9469 |
-
|
9470 |
-
},
|
9471 |
-
|
9472 |
-
length: function() {
|
9473 |
-
return this.slides.length;
|
9474 |
-
}
|
9475 |
-
|
9476 |
-
},
|
9477 |
-
|
9478 |
-
events: {
|
9479 |
-
|
9480 |
-
itemshown: function() {
|
9481 |
-
this.$update(this.list);
|
9482 |
-
}
|
9483 |
-
|
9484 |
-
},
|
9485 |
-
|
9486 |
-
methods: {
|
9487 |
-
|
9488 |
-
show: function(index, force) {
|
9489 |
-
var this$1 = this;
|
9490 |
-
if ( force === void 0 ) force = false;
|
9491 |
-
|
9492 |
-
|
9493 |
-
if (this.dragging || !this.length) {
|
9494 |
-
return;
|
9495 |
-
}
|
9496 |
-
|
9497 |
-
var ref = this;
|
9498 |
-
var stack = ref.stack;
|
9499 |
-
var queueIndex = force ? 0 : stack.length;
|
9500 |
-
var reset = function () {
|
9501 |
-
stack.splice(queueIndex, 1);
|
9502 |
-
|
9503 |
-
if (stack.length) {
|
9504 |
-
this$1.show(stack.shift(), true);
|
9505 |
-
}
|
9506 |
-
};
|
9507 |
-
|
9508 |
-
stack[force ? 'unshift' : 'push'](index);
|
9509 |
-
|
9510 |
-
if (!force && stack.length > 1) {
|
9511 |
-
|
9512 |
-
if (stack.length === 2) {
|
9513 |
-
this._transitioner.forward(Math.min(this.duration, 200));
|
9514 |
-
}
|
9515 |
-
|
9516 |
-
return;
|
9517 |
-
}
|
9518 |
-
|
9519 |
-
var prevIndex = this.index;
|
9520 |
-
var prev = hasClass(this.slides, this.clsActive) && this.slides[prevIndex];
|
9521 |
-
var nextIndex = this.getIndex(index, this.index);
|
9522 |
-
var next = this.slides[nextIndex];
|
9523 |
-
|
9524 |
-
if (prev === next) {
|
9525 |
-
reset();
|
9526 |
-
return;
|
9527 |
-
}
|
9528 |
-
|
9529 |
-
this.dir = getDirection(index, prevIndex);
|
9530 |
-
this.prevIndex = prevIndex;
|
9531 |
-
this.index = nextIndex;
|
9532 |
-
|
9533 |
-
prev && trigger(prev, 'beforeitemhide', [this]);
|
9534 |
-
if (!trigger(next, 'beforeitemshow', [this, prev])) {
|
9535 |
-
this.index = this.prevIndex;
|
9536 |
-
reset();
|
9537 |
-
return;
|
9538 |
-
}
|
9539 |
-
|
9540 |
-
var promise = this._show(prev, next, force).then(function () {
|
9541 |
-
|
9542 |
-
prev && trigger(prev, 'itemhidden', [this$1]);
|
9543 |
-
trigger(next, 'itemshown', [this$1]);
|
9544 |
-
|
9545 |
-
return new Promise(function (resolve) {
|
9546 |
-
fastdom.write(function () {
|
9547 |
-
stack.shift();
|
9548 |
-
if (stack.length) {
|
9549 |
-
this$1.show(stack.shift(), true);
|
9550 |
-
} else {
|
9551 |
-
this$1._transitioner = null;
|
9552 |
-
}
|
9553 |
-
resolve();
|
9554 |
-
});
|
9555 |
-
});
|
9556 |
-
|
9557 |
-
});
|
9558 |
-
|
9559 |
-
prev && trigger(prev, 'itemhide', [this]);
|
9560 |
-
trigger(next, 'itemshow', [this]);
|
9561 |
-
|
9562 |
-
return promise;
|
9563 |
-
|
9564 |
-
},
|
9565 |
-
|
9566 |
-
getIndex: function(index, prev) {
|
9567 |
-
if ( index === void 0 ) index = this.index;
|
9568 |
-
if ( prev === void 0 ) prev = this.index;
|
9569 |
-
|
9570 |
-
return clamp(getIndex(index, this.slides, prev, this.finite), 0, this.maxIndex);
|
9571 |
-
},
|
9572 |
-
|
9573 |
-
getValidIndex: function(index, prevIndex) {
|
9574 |
-
if ( index === void 0 ) index = this.index;
|
9575 |
-
if ( prevIndex === void 0 ) prevIndex = this.prevIndex;
|
9576 |
-
|
9577 |
-
return this.getIndex(index, prevIndex);
|
9578 |
-
},
|
9579 |
-
|
9580 |
-
_show: function(prev, next, force) {
|
9581 |
-
|
9582 |
-
this._transitioner = this._getTransitioner(
|
9583 |
-
prev,
|
9584 |
-
next,
|
9585 |
-
this.dir,
|
9586 |
-
assign({
|
9587 |
-
easing: force
|
9588 |
-
? next.offsetWidth < 600
|
9589 |
-
? 'cubic-bezier(0.25, 0.46, 0.45, 0.94)' /* easeOutQuad */
|
9590 |
-
: 'cubic-bezier(0.165, 0.84, 0.44, 1)' /* easeOutQuart */
|
9591 |
-
: this.easing
|
9592 |
-
}, this.transitionOptions)
|
9593 |
-
);
|
9594 |
-
|
9595 |
-
if (!force && !prev) {
|
9596 |
-
this._transitioner.translate(1);
|
9597 |
-
return Promise.resolve();
|
9598 |
-
}
|
9599 |
-
|
9600 |
-
var ref = this.stack;
|
9601 |
-
var length = ref.length;
|
9602 |
-
return this._transitioner[length > 1 ? 'forward' : 'show'](length > 1 ? Math.min(this.duration, 75 + 75 / (length - 1)) : this.duration, this.percent);
|
9603 |
-
|
9604 |
-
},
|
9605 |
-
|
9606 |
-
_getDistance: function(prev, next) {
|
9607 |
-
return this._getTransitioner(prev, prev !== next && next).getDistance();
|
9608 |
-
},
|
9609 |
-
|
9610 |
-
_translate: function(percent, prev, next) {
|
9611 |
-
if ( prev === void 0 ) prev = this.prevIndex;
|
9612 |
-
if ( next === void 0 ) next = this.index;
|
9613 |
-
|
9614 |
-
var transitioner = this._getTransitioner(prev !== next ? prev : false, next);
|
9615 |
-
transitioner.translate(percent);
|
9616 |
-
return transitioner;
|
9617 |
-
},
|
9618 |
-
|
9619 |
-
_getTransitioner: function(prev, next, dir, options) {
|
9620 |
-
if ( prev === void 0 ) prev = this.prevIndex;
|
9621 |
-
if ( next === void 0 ) next = this.index;
|
9622 |
-
if ( dir === void 0 ) dir = this.dir || 1;
|
9623 |
-
if ( options === void 0 ) options = this.transitionOptions;
|
9624 |
-
|
9625 |
-
return new this.Transitioner(
|
9626 |
-
isNumber(prev) ? this.slides[prev] : prev,
|
9627 |
-
isNumber(next) ? this.slides[next] : next,
|
9628 |
-
dir * (isRtl ? -1 : 1),
|
9629 |
-
options
|
9630 |
-
);
|
9631 |
-
}
|
9632 |
-
|
9633 |
-
}
|
9634 |
-
|
9635 |
-
};
|
9636 |
-
|
9637 |
-
function getDirection(index, prevIndex) {
|
9638 |
-
return index === 'next'
|
9639 |
-
? 1
|
9640 |
-
: index === 'previous'
|
9641 |
-
? -1
|
9642 |
-
: index < prevIndex
|
9643 |
-
? -1
|
9644 |
-
: 1;
|
9645 |
-
}
|
9646 |
-
|
9647 |
-
function speedUp(x) {
|
9648 |
-
return .5 * x + 300; // parabola through (400,500; 600,600; 1800,1200)
|
9649 |
-
}
|
9650 |
-
|
9651 |
-
var Slideshow = {
|
9652 |
-
|
9653 |
-
mixins: [Slider],
|
9654 |
-
|
9655 |
-
props: {
|
9656 |
-
animation: String
|
9657 |
-
},
|
9658 |
-
|
9659 |
-
data: {
|
9660 |
-
animation: 'slide',
|
9661 |
-
clsActivated: 'bdt-transition-active',
|
9662 |
-
Animations: Animations,
|
9663 |
-
Transitioner: Transitioner
|
9664 |
-
},
|
9665 |
-
|
9666 |
-
computed: {
|
9667 |
-
|
9668 |
-
animation: function(ref) {
|
9669 |
-
var animation = ref.animation;
|
9670 |
-
var Animations = ref.Animations;
|
9671 |
-
|
9672 |
-
return assign(animation in Animations ? Animations[animation] : Animations.slide, {name: animation});
|
9673 |
-
},
|
9674 |
-
|
9675 |
-
transitionOptions: function() {
|
9676 |
-
return {animation: this.animation};
|
9677 |
-
}
|
9678 |
-
|
9679 |
-
},
|
9680 |
-
|
9681 |
-
events: {
|
9682 |
-
|
9683 |
-
'itemshow itemhide itemshown itemhidden': function(ref) {
|
9684 |
-
var target = ref.target;
|
9685 |
-
|
9686 |
-
this.$update(target);
|
9687 |
-
},
|
9688 |
-
|
9689 |
-
beforeitemshow: function(ref) {
|
9690 |
-
var target = ref.target;
|
9691 |
-
|
9692 |
-
addClass(target, this.clsActive);
|
9693 |
-
},
|
9694 |
-
|
9695 |
-
itemshown: function(ref) {
|
9696 |
-
var target = ref.target;
|
9697 |
-
|
9698 |
-
addClass(target, this.clsActivated);
|
9699 |
-
},
|
9700 |
-
|
9701 |
-
itemhidden: function(ref) {
|
9702 |
-
var target = ref.target;
|
9703 |
-
|
9704 |
-
removeClass(target, this.clsActive, this.clsActivated);
|
9705 |
-
}
|
9706 |
-
|
9707 |
-
}
|
9708 |
-
|
9709 |
-
};
|
9710 |
-
|
9711 |
-
var lightboxPanel = {
|
9712 |
-
|
9713 |
-
mixins: [Container, Modal, Togglable, Slideshow],
|
9714 |
-
|
9715 |
-
functional: true,
|
9716 |
-
|
9717 |
-
props: {
|
9718 |
-
delayControls: Number,
|
9719 |
-
preload: Number,
|
9720 |
-
videoAutoplay: Boolean,
|
9721 |
-
template: String
|
9722 |
-
},
|
9723 |
-
|
9724 |
-
data: function () { return ({
|
9725 |
-
preload: 1,
|
9726 |
-
videoAutoplay: false,
|
9727 |
-
delayControls: 3000,
|
9728 |
-
items: [],
|
9729 |
-
cls: 'bdt-open',
|
9730 |
-
clsPage: 'bdt-lightbox-page',
|
9731 |
-
selList: '.bdt-lightbox-items',
|
9732 |
-
attrItem: 'bdt-lightbox-item',
|
9733 |
-
selClose: '.bdt-close-large',
|
9734 |
-
selCaption: '.bdt-lightbox-caption',
|
9735 |
-
pauseOnHover: false,
|
9736 |
-
velocity: 2,
|
9737 |
-
Animations: Animations$1,
|
9738 |
-
template: "<div class=\"bdt-lightbox bdt-overflow-hidden\"> <ul class=\"bdt-lightbox-items\"></ul> <div class=\"bdt-lightbox-toolbar bdt-position-top bdt-text-right bdt-transition-slide-top bdt-transition-opaque\"> <button class=\"bdt-lightbox-toolbar-icon bdt-close-large\" type=\"button\" bdt-close></button> </div> <a class=\"bdt-lightbox-button bdt-position-center-left bdt-position-medium bdt-transition-fade\" href=\"#\" bdt-slidenav-previous bdt-lightbox-item=\"previous\"></a> <a class=\"bdt-lightbox-button bdt-position-center-right bdt-position-medium bdt-transition-fade\" href=\"#\" bdt-slidenav-next bdt-lightbox-item=\"next\"></a> <div class=\"bdt-lightbox-toolbar bdt-lightbox-caption bdt-position-bottom bdt-text-center bdt-transition-slide-bottom bdt-transition-opaque\"></div> </div>"
|
9739 |
-
}); },
|
9740 |
-
|
9741 |
-
created: function() {
|
9742 |
-
|
9743 |
-
var $el = $(this.template);
|
9744 |
-
var list = $(this.selList, $el);
|
9745 |
-
this.items.forEach(function () { return append(list, '<li></li>'); });
|
9746 |
-
|
9747 |
-
this.$mount(append(this.container, $el));
|
9748 |
-
|
9749 |
-
},
|
9750 |
-
|
9751 |
-
computed: {
|
9752 |
-
|
9753 |
-
caption: function(ref, $el) {
|
9754 |
-
var selCaption = ref.selCaption;
|
9755 |
-
|
9756 |
-
return $('.bdt-lightbox-caption', $el);
|
9757 |
-
}
|
9758 |
-
|
9759 |
-
},
|
9760 |
-
|
9761 |
-
events: [
|
9762 |
-
|
9763 |
-
{
|
9764 |
-
|
9765 |
-
name: (pointerMove + " " + pointerDown + " keydown"),
|
9766 |
-
|
9767 |
-
handler: 'showControls'
|
9768 |
-
|
9769 |
-
},
|
9770 |
-
|
9771 |
-
{
|
9772 |
-
|
9773 |
-
name: 'click',
|
9774 |
-
|
9775 |
-
self: true,
|
9776 |
-
|
9777 |
-
delegate: function() {
|
9778 |
-
return this.selSlides;
|
9779 |
-
},
|
9780 |
-
|
9781 |
-
handler: function(e) {
|
9782 |
-
|
9783 |
-
if (e.defaultPrevented) {
|
9784 |
-
return;
|
9785 |
-
}
|
9786 |
-
|
9787 |
-
this.hide();
|
9788 |
-
}
|
9789 |
-
|
9790 |
-
},
|
9791 |
-
|
9792 |
-
{
|
9793 |
-
|
9794 |
-
name: 'shown',
|
9795 |
-
|
9796 |
-
self: true,
|
9797 |
-
|
9798 |
-
handler: function() {
|
9799 |
-
this.showControls();
|
9800 |
-
}
|
9801 |
-
|
9802 |
-
},
|
9803 |
-
|
9804 |
-
{
|
9805 |
-
|
9806 |
-
name: 'hide',
|
9807 |
-
|
9808 |
-
self: true,
|
9809 |
-
|
9810 |
-
handler: function() {
|
9811 |
-
|
9812 |
-
this.hideControls();
|
9813 |
-
|
9814 |
-
removeClass(this.slides, this.clsActive);
|
9815 |
-
Transition.stop(this.slides);
|
9816 |
-
|
9817 |
-
}
|
9818 |
-
},
|
9819 |
-
|
9820 |
-
{
|
9821 |
-
|
9822 |
-
name: 'hidden',
|
9823 |
-
|
9824 |
-
self: true,
|
9825 |
-
|
9826 |
-
handler: function() {
|
9827 |
-
this.$destroy(true);
|
9828 |
-
}
|
9829 |
-
|
9830 |
-
},
|
9831 |
-
|
9832 |
-
{
|
9833 |
-
|
9834 |
-
name: 'keyup',
|
9835 |
-
|
9836 |
-
el: document,
|
9837 |
-
|
9838 |
-
handler: function(e) {
|
9839 |
-
|
9840 |
-
if (!this.isToggled(this.$el)) {
|
9841 |
-
return;
|
9842 |
-
}
|
9843 |
-
|
9844 |
-
switch (e.keyCode) {
|
9845 |
-
case 37:
|
9846 |
-
this.show('previous');
|
9847 |
-
break;
|
9848 |
-
case 39:
|
9849 |
-
this.show('next');
|
9850 |
-
break;
|
9851 |
-
}
|
9852 |
-
}
|
9853 |
-
},
|
9854 |
-
|
9855 |
-
{
|
9856 |
-
|
9857 |
-
name: 'beforeitemshow',
|
9858 |
-
|
9859 |
-
handler: function(e) {
|
9860 |
-
|
9861 |
-
if (this.isToggled()) {
|
9862 |
-
return;
|
9863 |
-
}
|
9864 |
-
|
9865 |
-
this.draggable = false;
|
9866 |
-
|
9867 |
-
e.preventDefault();
|
9868 |
-
|
9869 |
-
this.toggleNow(this.$el, true);
|
9870 |
-
|
9871 |
-
this.animation = Animations$1['scale'];
|
9872 |
-
removeClass(e.target, this.clsActive);
|
9873 |
-
this.stack.splice(1, 0, this.index);
|
9874 |
-
|
9875 |
-
}
|
9876 |
-
|
9877 |
-
},
|
9878 |
-
|
9879 |
-
{
|
9880 |
-
|
9881 |
-
name: 'itemshow',
|
9882 |
-
|
9883 |
-
handler: function(ref) {
|
9884 |
-
var target = ref.target;
|
9885 |
-
|
9886 |
-
|
9887 |
-
var i = index(target);
|
9888 |
-
var ref$1 = this.getItem(i);
|
9889 |
-
var caption = ref$1.caption;
|
9890 |
-
|
9891 |
-
css(this.caption, 'display', caption ? '' : 'none');
|
9892 |
-
html(this.caption, caption);
|
9893 |
-
|
9894 |
-
for (var j = 0; j <= this.preload; j++) {
|
9895 |
-
this.loadItem(this.getIndex(i + j));
|
9896 |
-
this.loadItem(this.getIndex(i - j));
|
9897 |
-
}
|
9898 |
-
|
9899 |
-
}
|
9900 |
-
|
9901 |
-
},
|
9902 |
-
|
9903 |
-
{
|
9904 |
-
|
9905 |
-
name: 'itemshown',
|
9906 |
-
|
9907 |
-
handler: function() {
|
9908 |
-
this.draggable = this.$props.draggable;
|
9909 |
-
}
|
9910 |
-
|
9911 |
-
},
|
9912 |
-
|
9913 |
-
{
|
9914 |
-
|
9915 |
-
name: 'itemload',
|
9916 |
-
|
9917 |
-
handler: function(_, item) {
|
9918 |
-
var this$1 = this;
|
9919 |
-
|
9920 |
-
|
9921 |
-
var source = item.source;
|
9922 |
-
var type = item.type;
|
9923 |
-
var alt = item.alt;
|
9924 |
-
|
9925 |
-
this.setItem(item, '<span bdt-spinner></span>');
|
9926 |
-
|
9927 |
-
if (!source) {
|
9928 |
-
return;
|
9929 |
-
}
|
9930 |
-
|
9931 |
-
var matches;
|
9932 |
-
|
9933 |
-
// Image
|
9934 |
-
if (type === 'image' || source.match(/\.(jp(e)?g|png|gif|svg|webp)($|\?)/i)) {
|
9935 |
-
|
9936 |
-
getImage(source).then(
|
9937 |
-
function (img) { return this$1.setItem(item, ("<img width=\"" + (img.width) + "\" height=\"" + (img.height) + "\" src=\"" + source + "\" alt=\"" + (alt ? alt : '') + "\">")); },
|
9938 |
-
function () { return this$1.setError(item); }
|
9939 |
-
);
|
9940 |
-
|
9941 |
-
// Video
|
9942 |
-
} else if (type === 'video' || source.match(/\.(mp4|webm|ogv)($|\?)/i)) {
|
9943 |
-
|
9944 |
-
var video = $(("<video controls playsinline" + (item.poster ? (" poster=\"" + (item.poster) + "\"") : '') + " bdt-video=\"" + (this.videoAutoplay) + "\"></video>"));
|
9945 |
-
attr(video, 'src', source);
|
9946 |
-
|
9947 |
-
once(video, 'error loadedmetadata', function (type) {
|
9948 |
-
if (type === 'error') {
|
9949 |
-
this$1.setError(item);
|
9950 |
-
} else {
|
9951 |
-
attr(video, {width: video.videoWidth, height: video.videoHeight});
|
9952 |
-
this$1.setItem(item, video);
|
9953 |
-
}
|
9954 |
-
});
|
9955 |
-
|
9956 |
-
// Iframe
|
9957 |
-
} else if (type === 'iframe' || source.match(/\.(html|php)($|\?)/i)) {
|
9958 |
-
|
9959 |
-
this.setItem(item, ("<iframe class=\"bdt-lightbox-iframe\" src=\"" + source + "\" frameborder=\"0\" allowfullscreen></iframe>"));
|
9960 |
-
|
9961 |
-
// YouTube
|
9962 |
-
} else if ((matches = source.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/watch\?v=([^&\s]+)/) || source.match(/()youtu\.be\/(.*)/))) {
|
9963 |
-
|
9964 |
-
var id = matches[2];
|
9965 |
-
var setIframe = function (width, height) {
|
9966 |
-
if ( width === void 0 ) width = 640;
|
9967 |
-
if ( height === void 0 ) height = 450;
|
9968 |
-
|
9969 |
-
return this$1.setItem(item, getIframe(("https://www.youtube" + (matches[1] || '') + ".com/embed/" + id), width, height, this$1.videoAutoplay));
|
9970 |
-
};
|
9971 |
-
|
9972 |
-
getImage(("https://img.youtube.com/vi/" + id + "/maxresdefault.jpg")).then(
|
9973 |
-
function (ref) {
|
9974 |
-
var width = ref.width;
|
9975 |
-
var height = ref.height;
|
9976 |
-
|
9977 |
-
// YouTube default 404 thumb, fall back to low resolution
|
9978 |
-
if (width === 120 && height === 90) {
|
9979 |
-
getImage(("https://img.youtube.com/vi/" + id + "/0.jpg")).then(
|
9980 |
-
function (ref) {
|
9981 |
-
var width = ref.width;
|
9982 |
-
var height = ref.height;
|
9983 |
-
|
9984 |
-
return setIframe(width, height);
|
9985 |
-
},
|
9986 |
-
setIframe
|
9987 |
-
);
|
9988 |
-
} else {
|
9989 |
-
setIframe(width, height);
|
9990 |
-
}
|
9991 |
-
},
|
9992 |
-
setIframe
|
9993 |
-
);
|
9994 |
-
|
9995 |
-
// Vimeo
|
9996 |
-
} else if ((matches = source.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/))) {
|
9997 |
-
|
9998 |
-
ajax(("https://vimeo.com/api/oembed.json?maxwidth=1920&url=" + (encodeURI(source))), {responseType: 'json', withCredentials: false})
|
9999 |
-
.then(
|
10000 |
-
function (ref) {
|
10001 |
-
var ref_response = ref.response;
|
10002 |
-
var height = ref_response.height;
|
10003 |
-
var width = ref_response.width;
|
10004 |
-
|
10005 |
-
return this$1.setItem(item, getIframe(("https://player.vimeo.com/video/" + (matches[2])), width, height, this$1.videoAutoplay));
|
10006 |
-
},
|
10007 |
-
function () { return this$1.setError(item); }
|
10008 |
-
);
|
10009 |
-
|
10010 |
-
}
|
10011 |
-
|
10012 |
-
}
|
10013 |
-
|
10014 |
-
}
|
10015 |
-
|
10016 |
-
],
|
10017 |
-
|
10018 |
-
methods: {
|
10019 |
-
|
10020 |
-
loadItem: function(index) {
|
10021 |
-
if ( index === void 0 ) index = this.index;
|
10022 |
-
|
10023 |
-
|
10024 |
-
var item = this.getItem(index);
|
10025 |
-
|
10026 |
-
if (item.content) {
|
10027 |
-
return;
|
10028 |
-
}
|
10029 |
-
|
10030 |
-
trigger(this.$el, 'itemload', [item]);
|
10031 |
-
},
|
10032 |
-
|
10033 |
-
getItem: function(index) {
|
10034 |
-
if ( index === void 0 ) index = this.index;
|
10035 |
-
|
10036 |
-
return this.items[index] || {};
|
10037 |
-
},
|
10038 |
-
|
10039 |
-
setItem: function(item, content) {
|
10040 |
-
assign(item, {content: content});
|
10041 |
-
var el = html(this.slides[this.items.indexOf(item)], content);
|
10042 |
-
trigger(this.$el, 'itemloaded', [this, el]);
|
10043 |
-
this.$update(el);
|
10044 |
-
},
|
10045 |
-
|
10046 |
-
setError: function(item) {
|
10047 |
-
this.setItem(item, '<span bdt-icon="icon: bolt; ratio: 2"></span>');
|
10048 |
-
},
|
10049 |
-
|
10050 |
-
showControls: function() {
|
10051 |
-
|
10052 |
-
clearTimeout(this.controlsTimer);
|
10053 |
-
this.controlsTimer = setTimeout(this.hideControls, this.delayControls);
|
10054 |
-
|
10055 |
-
addClass(this.$el, 'bdt-active', 'bdt-transition-active');
|
10056 |
-
|
10057 |
-
},
|
10058 |
-
|
10059 |
-
hideControls: function() {
|
10060 |
-
removeClass(this.$el, 'bdt-active', 'bdt-transition-active');
|
10061 |
-
}
|
10062 |
-
|
10063 |
-
}
|
10064 |
-
|
10065 |
-
};
|
10066 |
-
|
10067 |
-
function getIframe(src, width, height, autoplay) {
|
10068 |
-
return ("<iframe src=\"" + src + "\" width=\"" + width + "\" height=\"" + height + "\" style=\"max-width: 100%; box-sizing: border-box;\" frameborder=\"0\" allowfullscreen bdt-video=\"autoplay: " + autoplay + "\" bdt-responsive></iframe>");
|
10069 |
-
}
|
10070 |
-
|
10071 |
-
var Lightbox = {
|
10072 |
-
|
10073 |
-
install: install$2,
|
10074 |
-
|
10075 |
-
props: {toggle: String},
|
10076 |
-
|
10077 |
-
data: {toggle: 'a'},
|
10078 |
-
|
10079 |
-
computed: {
|
10080 |
-
|
10081 |
-
toggles: {
|
10082 |
-
|
10083 |
-
get: function(ref, $el) {
|
10084 |
-
var toggle = ref.toggle;
|
10085 |
-
|
10086 |
-
return $$(toggle, $el);
|
10087 |
-
},
|
10088 |
-
|
10089 |
-
watch: function() {
|
10090 |
-
this.hide();
|
10091 |
-
}
|
10092 |
-
|
10093 |
-
},
|
10094 |
-
|
10095 |
-
items: function() {
|
10096 |
-
return uniqueBy(this.toggles.map(toItem), 'source');
|
10097 |
-
}
|
10098 |
-
|
10099 |
-
},
|
10100 |
-
|
10101 |
-
disconnected: function() {
|
10102 |
-
this.hide();
|
10103 |
-
},
|
10104 |
-
|
10105 |
-
events: [
|
10106 |
-
|
10107 |
-
{
|
10108 |
-
|
10109 |
-
name: 'click',
|
10110 |
-
|
10111 |
-
delegate: function() {
|
10112 |
-
return ((this.toggle) + ":not(.bdt-disabled)");
|
10113 |
-
},
|
10114 |
-
|
10115 |
-
handler: function(e) {
|
10116 |
-
e.preventDefault();
|
10117 |
-
var src = data(e.current, 'href');
|
10118 |
-
this.show(findIndex(this.items, function (ref) {
|
10119 |
-
var source = ref.source;
|
10120 |
-
|
10121 |
-
return source === src;
|
10122 |
-
}));
|
10123 |
-
}
|
10124 |
-
|
10125 |
-
}
|
10126 |
-
|
10127 |
-
],
|
10128 |
-
|
10129 |
-
methods: {
|
10130 |
-
|
10131 |
-
show: function(index) {
|
10132 |
-
var this$1 = this;
|
10133 |
-
|
10134 |
-
|
10135 |
-
this.panel = this.panel || this.$create('lightboxPanel', assign({}, this.$props, {items: this.items}));
|
10136 |
-
|
10137 |
-
on(this.panel.$el, 'hidden', function () { return this$1.panel = false; });
|
10138 |
-
|
10139 |
-
return this.panel.show(index);
|
10140 |
-
|
10141 |
-
},
|
10142 |
-
|
10143 |
-
hide: function() {
|
10144 |
-
|
10145 |
-
return this.panel && this.panel.hide();
|
10146 |
-
|
10147 |
-
}
|
10148 |
-
|
10149 |
-
}
|
10150 |
-
|
10151 |
-
};
|
10152 |
-
|
10153 |
-
function install$2(bdtUIkit, Lightbox) {
|
10154 |
-
|
10155 |
-
if (!bdtUIkit.lightboxPanel) {
|
10156 |
-
bdtUIkit.component('lightboxPanel', lightboxPanel);
|
10157 |
-
}
|
10158 |
-
|
10159 |
-
assign(
|
10160 |
-
Lightbox.props,
|
10161 |
-
bdtUIkit.component('lightboxPanel').options.props
|
10162 |
-
);
|
10163 |
-
|
10164 |
-
}
|
10165 |
-
|
10166 |
-
function toItem(el) {
|
10167 |
-
return ['href', 'caption', 'type', 'poster', 'alt'].reduce(function (obj, attr) {
|
10168 |
-
obj[attr === 'href' ? 'source' : attr] = data(el, attr);
|
10169 |
-
return obj;
|
10170 |
-
}, {});
|
10171 |
-
}
|
10172 |
-
|
10173 |
-
var obj;
|
10174 |
-
|
10175 |
-
var containers = {};
|
10176 |
-
|
10177 |
-
var Notification = {
|
10178 |
-
|
10179 |
-
functional: true,
|
10180 |
-
|
10181 |
-
args: ['message', 'status'],
|
10182 |
-
|
10183 |
-
data: {
|
10184 |
-
message: '',
|
10185 |
-
status: '',
|
10186 |
-
timeout: 5000,
|
10187 |
-
group: null,
|
10188 |
-
pos: 'top-center',
|
10189 |
-
clsClose: 'bdt-notification-close',
|
10190 |
-
clsMsg: 'bdt-notification-message'
|
10191 |
-
},
|
10192 |
-
|
10193 |
-
install: install$3,
|
10194 |
-
|
10195 |
-
computed: {
|
10196 |
-
|
10197 |
-
marginProp: function(ref) {
|
10198 |
-
var pos = ref.pos;
|
10199 |
-
|
10200 |
-
return ("margin" + (startsWith(pos, 'top') ? 'Top' : 'Bottom'));
|
10201 |
-
},
|
10202 |
-
|
10203 |
-
startProps: function() {
|
10204 |
-
var obj;
|
10205 |
-
|
10206 |
-
return ( obj = {opacity: 0}, obj[this.marginProp] = -this.$el.offsetHeight, obj );
|
10207 |
-
}
|
10208 |
-
|
10209 |
-
},
|
10210 |
-
|
10211 |
-
created: function() {
|
10212 |
-
|
10213 |
-
if (!containers[this.pos]) {
|
10214 |
-
containers[this.pos] = append(this.$container, ("<div class=\"bdt-notification bdt-notification-" + (this.pos) + "\"></div>"));
|
10215 |
-
}
|
10216 |
-
|
10217 |
-
var container = css(containers[this.pos], 'display', 'block');
|
10218 |
-
|
10219 |
-
this.$mount(append(container,
|
10220 |
-
("<div class=\"" + (this.clsMsg) + (this.status ? (" " + (this.clsMsg) + "-" + (this.status)) : '') + "\"> <a href=\"#\" class=\"" + (this.clsClose) + "\" data-bdt-close></a> <div>" + (this.message) + "</div> </div>")
|
10221 |
-
));
|
10222 |
-
|
10223 |
-
},
|
10224 |
-
|
10225 |
-
connected: function() {
|
10226 |
-
var this$1 = this;
|
10227 |
-
var obj;
|
10228 |
-
|
10229 |
-
|
10230 |
-
var margin = toFloat(css(this.$el, this.marginProp));
|
10231 |
-
Transition.start(
|
10232 |
-
css(this.$el, this.startProps),
|
10233 |
-
( obj = {opacity: 1}, obj[this.marginProp] = margin, obj )
|
10234 |
-
).then(function () {
|
10235 |
-
if (this$1.timeout) {
|
10236 |
-
this$1.timer = setTimeout(this$1.close, this$1.timeout);
|
10237 |
-
}
|
10238 |
-
});
|
10239 |
-
|
10240 |
-
},
|
10241 |
-
|
10242 |
-
events: ( obj = {
|
10243 |
-
|
10244 |
-
click: function(e) {
|
10245 |
-
if (closest(e.target, 'a[href="#"],a[href=""]')) {
|
10246 |
-
e.preventDefault();
|
10247 |
-
}
|
10248 |
-
this.close();
|
10249 |
-
}
|
10250 |
-
|
10251 |
-
}, obj[pointerEnter] = function () {
|
10252 |
-
if (this.timer) {
|
10253 |
-
clearTimeout(this.timer);
|
10254 |
-
}
|
10255 |
-
}, obj[pointerLeave] = function () {
|
10256 |
-
if (this.timeout) {
|
10257 |
-
this.timer = setTimeout(this.close, this.timeout);
|
10258 |
-
}
|
10259 |
-
}, obj ),
|
10260 |
-
|
10261 |
-
methods: {
|
10262 |
-
|
10263 |
-
close: function(immediate) {
|
10264 |
-
var this$1 = this;
|
10265 |
-
|
10266 |
-
|
10267 |
-
var removeFn = function () {
|
10268 |
-
|
10269 |
-
trigger(this$1.$el, 'close', [this$1]);
|
10270 |
-
remove(this$1.$el);
|
10271 |
-
|
10272 |
-
if (!containers[this$1.pos].children.length) {
|
10273 |
-
css(containers[this$1.pos], 'display', 'none');
|
10274 |
-
}
|
10275 |
-
|
10276 |
-
};
|
10277 |
-
|
10278 |
-
if (this.timer) {
|
10279 |
-
clearTimeout(this.timer);
|
10280 |
-
}
|
10281 |
-
|
10282 |
-
if (immediate) {
|
10283 |
-
removeFn();
|
10284 |
-
} else {
|
10285 |
-
Transition.start(this.$el, this.startProps).then(removeFn);
|
10286 |
-
}
|
10287 |
-
}
|
10288 |
-
|
10289 |
-
}
|
10290 |
-
|
10291 |
-
};
|
10292 |
-
|
10293 |
-
function install$3(bdtUIkit) {
|
10294 |
-
bdtUIkit.notification.closeAll = function (group, immediate) {
|
10295 |
-
apply(document.body, function (el) {
|
10296 |
-
var notification = bdtUIkit.getComponent(el, 'notification');
|
10297 |
-
if (notification && (!group || group === notification.group)) {
|
10298 |
-
notification.close(immediate);
|
10299 |
-
}
|
10300 |
-
});
|
10301 |
-
};
|
10302 |
-
}
|
10303 |
-
|
10304 |
-
var props = ['x', 'y', 'bgx', 'bgy', 'rotate', 'scale', 'color', 'backgroundColor', 'borderColor', 'opacity', 'blur', 'hue', 'grayscale', 'invert', 'saturate', 'sepia', 'fopacity', 'stroke'];
|
10305 |
-
|
10306 |
-
var Parallax = {
|
10307 |
-
|
10308 |
-
mixins: [Media],
|
10309 |
-
|
10310 |
-
props: props.reduce(function (props, prop) {
|
10311 |
-
props[prop] = 'list';
|
10312 |
-
return props;
|
10313 |
-
}, {}),
|
10314 |
-
|
10315 |
-
data: props.reduce(function (data, prop) {
|
10316 |
-
data[prop] = undefined;
|
10317 |
-
return data;
|
10318 |
-
}, {}),
|
10319 |
-
|
10320 |
-
computed: {
|
10321 |
-
|
10322 |
-
props: function(properties, $el) {
|
10323 |
-
var this$1 = this;
|
10324 |
-
|
10325 |
-
|
10326 |
-
return props.reduce(function (props, prop) {
|
10327 |
-
|
10328 |
-
if (isUndefined(properties[prop])) {
|
10329 |
-
return props;
|
10330 |
-
}
|
10331 |
-
|
10332 |
-
var isColor = prop.match(/color/i);
|
10333 |
-
var isCssProp = isColor || prop === 'opacity';
|
10334 |
-
|
10335 |
-
var pos, bgPos, diff;
|
10336 |
-
var steps = properties[prop].slice(0);
|
10337 |
-
|
10338 |
-
if (isCssProp) {
|
10339 |
-
css($el, prop, '');
|
10340 |
-
}
|
10341 |
-
|
10342 |
-
if (steps.length < 2) {
|
10343 |
-
steps.unshift((prop === 'scale'
|
10344 |
-
? 1
|
10345 |
-
: isCssProp
|
10346 |
-
? css($el, prop)
|
10347 |
-
: 0) || 0);
|
10348 |
-
}
|
10349 |
-
|
10350 |
-
var unit = getUnit(steps);
|
10351 |
-
|
10352 |
-
if (isColor) {
|
10353 |
-
|
10354 |
-
var ref = $el.style;
|
10355 |
-
var color = ref.color;
|
10356 |
-
steps = steps.map(function (step) { return parseColor($el, step); });
|
10357 |
-
$el.style.color = color;
|
10358 |
-
|
10359 |
-
} else if (startsWith(prop, 'bg')) {
|
10360 |
-
|
10361 |
-
var attr = prop === 'bgy' ? 'height' : 'width';
|
10362 |
-
steps = steps.map(function (step) { return toPx(step, attr, this$1.$el); });
|
10363 |
-
|
10364 |
-
css($el, ("background-position-" + (prop[2])), '');
|
10365 |
-
bgPos = css($el, 'backgroundPosition').split(' ')[prop[2] === 'x' ? 0 : 1]; // IE 11 can't read background-position-[x|y]
|
10366 |
-
|
10367 |
-
if (this$1.covers) {
|
10368 |
-
|
10369 |
-
var min = Math.min.apply(Math, steps);
|
10370 |
-
var max = Math.max.apply(Math, steps);
|
10371 |
-
var down = steps.indexOf(min) < steps.indexOf(max);
|
10372 |
-
|
10373 |
-
diff = max - min;
|
10374 |
-
|
10375 |
-
steps = steps.map(function (step) { return step - (down ? min : max); });
|
10376 |
-
pos = (down ? -diff : 0) + "px";
|
10377 |
-
|
10378 |
-
} else {
|
10379 |
-
|
10380 |
-
pos = bgPos;
|
10381 |
-
|
10382 |
-
}
|
10383 |
-
|
10384 |
-
} else {
|
10385 |
-
|
10386 |
-
steps = steps.map(toFloat);
|
10387 |
-
|
10388 |
-
}
|
10389 |
-
|
10390 |
-
if (prop === 'stroke') {
|
10391 |
-
|
10392 |
-
if (!steps.some(function (step) { return step; })) {
|
10393 |
-
return props;
|
10394 |
-
}
|
10395 |
-
|
10396 |
-
var length = getMaxPathLength(this$1.$el);
|
10397 |
-
css($el, 'strokeDasharray', length);
|
10398 |
-
|
10399 |
-
if (unit === '%') {
|
10400 |
-
steps = steps.map(function (step) { return step * length / 100; });
|
10401 |
-
}
|
10402 |
-
|
10403 |
-
steps = steps.reverse();
|
10404 |
-
|
10405 |
-
prop = 'strokeDashoffset';
|
10406 |
-
}
|
10407 |
-
|
10408 |
-
props[prop] = {steps: steps, unit: unit, pos: pos, bgPos: bgPos, diff: diff};
|
10409 |
-
|
10410 |
-
return props;
|
10411 |
-
|
10412 |
-
}, {});
|
10413 |
-
|
10414 |
-
},
|
10415 |
-
|
10416 |
-
bgProps: function() {
|
10417 |
-
var this$1 = this;
|
10418 |
-
|
10419 |
-
return ['bgx', 'bgy'].filter(function (bg) { return bg in this$1.props; });
|
10420 |
-
},
|
10421 |
-
|
10422 |
-
covers: function(_, $el) {
|
10423 |
-
return covers($el);
|
10424 |
-
}
|
10425 |
-
|
10426 |
-
},
|
10427 |
-
|
10428 |
-
disconnected: function() {
|
10429 |
-
delete this._image;
|
10430 |
-
},
|
10431 |
-
|
10432 |
-
update: {
|
10433 |
-
|
10434 |
-
read: function(data) {
|
10435 |
-
var this$1 = this;
|
10436 |
-
|
10437 |
-
|
10438 |
-
data.active = this.matchMedia;
|
10439 |
-
|
10440 |
-
if (!data.active) {
|
10441 |
-
return;
|
10442 |
-
}
|
10443 |
-
|
10444 |
-
if (!data.image && this.covers && this.bgProps.length) {
|
10445 |
-
var src = css(this.$el, 'backgroundImage').replace(/^none|url\(["']?(.+?)["']?\)$/, '$1');
|
10446 |
-
|
10447 |
-
if (src) {
|
10448 |
-
var img = new Image();
|
10449 |
-
img.src = src;
|
10450 |
-
data.image = img;
|
10451 |
-
|
10452 |
-
if (!img.naturalWidth) {
|
10453 |
-
img.onload = function () { return this$1.$emit(); };
|
10454 |
-
}
|
10455 |
-
}
|
10456 |
-
|
10457 |
-
}
|
10458 |
-
|
10459 |
-
var image = data.image;
|
10460 |
-
|
10461 |
-
if (!image || !image.naturalWidth) {
|
10462 |
-
return;
|
10463 |
-
}
|
10464 |
-
|
10465 |
-
var dimEl = {
|
10466 |
-
width: this.$el.offsetWidth,
|
10467 |
-
height: this.$el.offsetHeight
|
10468 |
-
};
|
10469 |
-
var dimImage = {
|
10470 |
-
width: image.naturalWidth,
|
10471 |
-
height: image.naturalHeight
|
10472 |
-
};
|
10473 |
-
|
10474 |
-
var dim = Dimensions.cover(dimImage, dimEl);
|
10475 |
-
|
10476 |
-
this.bgProps.forEach(function (prop) {
|
10477 |
-
|
10478 |
-
var ref = this$1.props[prop];
|
10479 |
-
var diff = ref.diff;
|
10480 |
-
var bgPos = ref.bgPos;
|
10481 |
-
var steps = ref.steps;
|
10482 |
-
var attr = prop === 'bgy' ? 'height' : 'width';
|
10483 |
-
var span = dim[attr] - dimEl[attr];
|
10484 |
-
|
10485 |
-
if (span < diff) {
|
10486 |
-
dimEl[attr] = dim[attr] + diff - span;
|
10487 |
-
} else if (span > diff) {
|
10488 |
-
|
10489 |
-
var posPercentage = dimEl[attr] / toPx(bgPos, attr, this$1.$el);
|
10490 |
-
|
10491 |
-
if (posPercentage) {
|
10492 |
-
this$1.props[prop].steps = steps.map(function (step) { return step - (span - diff) / posPercentage; });
|
10493 |
-
}
|
10494 |
-
}
|
10495 |
-
|
10496 |
-
dim = Dimensions.cover(dimImage, dimEl);
|
10497 |
-
});
|
10498 |
-
|
10499 |
-
data.dim = dim;
|
10500 |
-
},
|
10501 |
-
|
10502 |
-
write: function(ref) {
|
10503 |
-
var dim = ref.dim;
|
10504 |
-
var active = ref.active;
|
10505 |
-
|
10506 |
-
|
10507 |
-
if (!active) {
|
10508 |
-
css(this.$el, {backgroundSize: '', backgroundRepeat: ''});
|
10509 |
-
return;
|
10510 |
-
}
|
10511 |
-
|
10512 |
-
dim && css(this.$el, {
|
10513 |
-
backgroundSize: ((dim.width) + "px " + (dim.height) + "px"),
|
10514 |
-
backgroundRepeat: 'no-repeat'
|
10515 |
-
});
|
10516 |
-
|
10517 |
-
},
|
10518 |
-
|
10519 |
-
events: ['resize']
|
10520 |
-
|
10521 |
-
},
|
10522 |
-
|
10523 |
-
methods: {
|
10524 |
-
|
10525 |
-
reset: function() {
|
10526 |
-
var this$1 = this;
|
10527 |
-
|
10528 |
-
each(this.getCss(0), function (_, prop) { return css(this$1.$el, prop, ''); });
|
10529 |
-
},
|
10530 |
-
|
10531 |
-
getCss: function(percent) {
|
10532 |
-
|
10533 |
-
var ref = this;
|
10534 |
-
var props = ref.props;
|
10535 |
-
return Object.keys(props).reduce(function (css, prop) {
|
10536 |
-
|
10537 |
-
var ref = props[prop];
|
10538 |
-
var steps = ref.steps;
|
10539 |
-
var unit = ref.unit;
|
10540 |
-
var pos = ref.pos;
|
10541 |
-
var value = getValue(steps, percent);
|
10542 |
-
|
10543 |
-
switch (prop) {
|
10544 |
-
|
10545 |
-
// transforms
|
10546 |
-
case 'x':
|
10547 |
-
case 'y': {
|
10548 |
-
unit = unit || 'px';
|
10549 |
-
css.transform += " translate" + (ucfirst(prop)) + "(" + (toFloat(value).toFixed(unit === 'px' ? 0 : 2)) + unit + ")";
|
10550 |
-
break;
|
10551 |
-
}
|
10552 |
-
case 'rotate':
|
10553 |
-
unit = unit || 'deg';
|
10554 |
-
css.transform += " rotate(" + (value + unit) + ")";
|
10555 |
-
break;
|
10556 |
-
case 'scale':
|
10557 |
-
css.transform += " scale(" + value + ")";
|
10558 |
-
break;
|
10559 |
-
|
10560 |
-
// bg image
|
10561 |
-
case 'bgy':
|
10562 |
-
case 'bgx':
|
10563 |
-
css[("background-position-" + (prop[2]))] = "calc(" + pos + " + " + value + "px)";
|
10564 |
-
break;
|
10565 |
-
|
10566 |
-
// color
|
10567 |
-
case 'color':
|
10568 |
-
case 'backgroundColor':
|
10569 |
-
case 'borderColor': {
|
10570 |
-
|
10571 |
-
var ref$1 = getStep(steps, percent);
|
10572 |
-
var start = ref$1[0];
|
10573 |
-
var end = ref$1[1];
|
10574 |
-
var p = ref$1[2];
|
10575 |
-
|
10576 |
-
css[prop] = "rgba(" + (start.map(function (value, i) {
|
10577 |
-
value = value + p * (end[i] - value);
|
10578 |
-
return i === 3 ? toFloat(value) : parseInt(value, 10);
|
10579 |
-
}).join(',')) + ")";
|
10580 |
-
break;
|
10581 |
-
}
|
10582 |
-
// CSS Filter
|
10583 |
-
case 'blur':
|
10584 |
-
unit = unit || 'px';
|
10585 |
-
css.filter += " blur(" + (value + unit) + ")";
|
10586 |
-
break;
|
10587 |
-
case 'hue':
|
10588 |
-
unit = unit || 'deg';
|
10589 |
-
css.filter += " hue-rotate(" + (value + unit) + ")";
|
10590 |
-
break;
|
10591 |
-
case 'fopacity':
|
10592 |
-
unit = unit || '%';
|
10593 |
-
css.filter += " opacity(" + (value + unit) + ")";
|
10594 |
-
break;
|
10595 |
-
case 'grayscale':
|
10596 |
-
case 'invert':
|
10597 |
-
case 'saturate':
|
10598 |
-
case 'sepia':
|
10599 |
-
unit = unit || '%';
|
10600 |
-
css.filter += " " + prop + "(" + (value + unit) + ")";
|
10601 |
-
break;
|
10602 |
-
default:
|
10603 |
-
css[prop] = value;
|
10604 |
-
}
|
10605 |
-
|
10606 |
-
return css;
|
10607 |
-
|
10608 |
-
}, {transform: '', filter: ''});
|
10609 |
-
|
10610 |
-
}
|
10611 |
-
|
10612 |
-
}
|
10613 |
-
|
10614 |
-
};
|
10615 |
-
|
10616 |
-
function parseColor(el, color) {
|
10617 |
-
return css(css(el, 'color', color), 'color')
|
10618 |
-
.split(/[(),]/g)
|
10619 |
-
.slice(1, -1)
|
10620 |
-
.concat(1)
|
10621 |
-
.slice(0, 4)
|
10622 |
-
.map(toFloat);
|
10623 |
-
}
|
10624 |
-
|
10625 |
-
function getStep(steps, percent) {
|
10626 |
-
var count = steps.length - 1;
|
10627 |
-
var index = Math.min(Math.floor(count * percent), count - 1);
|
10628 |
-
var step = steps.slice(index, index + 2);
|
10629 |
-
|
10630 |
-
step.push(percent === 1 ? 1 : percent % (1 / count) * count);
|
10631 |
-
|
10632 |
-
return step;
|
10633 |
-
}
|
10634 |
-
|
10635 |
-
function getValue(steps, percent, digits) {
|
10636 |
-
if ( digits === void 0 ) digits = 2;
|
10637 |
-
|
10638 |
-
var ref = getStep(steps, percent);
|
10639 |
-
var start = ref[0];
|
10640 |
-
var end = ref[1];
|
10641 |
-
var p = ref[2];
|
10642 |
-
return (isNumber(start)
|
10643 |
-
? start + Math.abs(start - end) * p * (start < end ? 1 : -1)
|
10644 |
-
: +end
|
10645 |
-
).toFixed(digits);
|
10646 |
-
}
|
10647 |
-
|
10648 |
-
function getUnit(steps) {
|
10649 |
-
return steps.reduce(function (unit, step) { return isString(step) && step.replace(/-|\d/g, '').trim() || unit; }, '');
|
10650 |
-
}
|
10651 |
-
|
10652 |
-
function covers(el) {
|
10653 |
-
var ref = el.style;
|
10654 |
-
var backgroundSize = ref.backgroundSize;
|
10655 |
-
var covers = css(css(el, 'backgroundSize', ''), 'backgroundSize') === 'cover';
|
10656 |
-
el.style.backgroundSize = backgroundSize;
|
10657 |
-
return covers;
|
10658 |
-
}
|
10659 |
-
|
10660 |
-
var Parallax$1 = {
|
10661 |
-
|
10662 |
-
mixins: [Parallax],
|
10663 |
-
|
10664 |
-
props: {
|
10665 |
-
target: String,
|
10666 |
-
viewport: Number,
|
10667 |
-
easing: Number
|
10668 |
-
},
|
10669 |
-
|
10670 |
-
data: {
|
10671 |
-
target: false,
|
10672 |
-
viewport: 1,
|
10673 |
-
easing: 1
|
10674 |
-
},
|
10675 |
-
|
10676 |
-
computed: {
|
10677 |
-
|
10678 |
-
target: function(ref, $el) {
|
10679 |
-
var target = ref.target;
|
10680 |
-
|
10681 |
-
return getOffsetElement(target && query(target, $el) || $el);
|
10682 |
-
}
|
10683 |
-
|
10684 |
-
},
|
10685 |
-
|
10686 |
-
update: {
|
10687 |
-
|
10688 |
-
read: function(ref, type) {
|
10689 |
-
var percent = ref.percent;
|
10690 |
-
var active = ref.active;
|
10691 |
-
|
10692 |
-
|
10693 |
-
if (type !== 'scroll') {
|
10694 |
-
percent = false;
|
10695 |
-
}
|
10696 |
-
|
10697 |
-
if (!active) {
|
10698 |
-
return;
|
10699 |
-
}
|
10700 |
-
|
10701 |
-
var prev = percent;
|
10702 |
-
percent = ease$1(scrolledOver(this.target) / (this.viewport || 1), this.easing);
|
10703 |
-
|
10704 |
-
return {
|
10705 |
-
percent: percent,
|
10706 |
-
style: prev !== percent ? this.getCss(percent) : false
|
10707 |
-
};
|
10708 |
-
},
|
10709 |
-
|
10710 |
-
write: function(ref) {
|
10711 |
-
var style = ref.style;
|
10712 |
-
var active = ref.active;
|
10713 |
-
|
10714 |
-
|
10715 |
-
if (!active) {
|
10716 |
-
this.reset();
|
10717 |
-
return;
|
10718 |
-
}
|
10719 |
-
|
10720 |
-
style && css(this.$el, style);
|
10721 |
-
|
10722 |
-
},
|
10723 |
-
|
10724 |
-
events: ['scroll', 'resize']
|
10725 |
-
}
|
10726 |
-
|
10727 |
-
};
|
10728 |
-
|
10729 |
-
function ease$1(percent, easing) {
|
10730 |
-
return clamp(percent * (1 - (easing - easing * percent)));
|
10731 |
-
}
|
10732 |
-
|
10733 |
-
// SVG elements do not inherit from HTMLElement
|
10734 |
-
function getOffsetElement(el) {
|
10735 |
-
return el
|
10736 |
-
? 'offsetTop' in el
|
10737 |
-
? el
|
10738 |
-
: getOffsetElement(el.parentNode)
|
10739 |
-
: document.body;
|
10740 |
-
}
|
10741 |
-
|
10742 |
-
var SliderReactive = {
|
10743 |
-
|
10744 |
-
update: {
|
10745 |
-
|
10746 |
-
write: function() {
|
10747 |
-
|
10748 |
-
if (this.stack.length || this.dragging) {
|
10749 |
-
return;
|
10750 |
-
}
|
10751 |
-
|
10752 |
-
var index = this.getValidIndex(this.index);
|
10753 |
-
|
10754 |
-
if (!~this.prevIndex || this.index !== index) {
|
10755 |
-
this.show(index);
|
10756 |
-
}
|
10757 |
-
|
10758 |
-
},
|
10759 |
-
|
10760 |
-
events: ['resize']
|
10761 |
-
|
10762 |
-
}
|
10763 |
-
|
10764 |
-
};
|
10765 |
-
|
10766 |
-
function Transitioner$1 (prev, next, dir, ref) {
|
10767 |
-
var center = ref.center;
|
10768 |
-
var easing = ref.easing;
|
10769 |
-
var list = ref.list;
|
10770 |
-
|
10771 |
-
|
10772 |
-
var deferred = new Deferred();
|
10773 |
-
|
10774 |
-
var from = prev
|
10775 |
-
? getLeft(prev, list, center)
|
10776 |
-
: getLeft(next, list, center) + bounds(next).width * dir;
|
10777 |
-
var to = next
|
10778 |
-
? getLeft(next, list, center)
|
10779 |
-
: from + bounds(prev).width * dir * (isRtl ? -1 : 1);
|
10780 |
-
|
10781 |
-
return {
|
10782 |
-
|
10783 |
-
dir: dir,
|
10784 |
-
|
10785 |
-
show: function(duration, percent, linear) {
|
10786 |
-
if ( percent === void 0 ) percent = 0;
|
10787 |
-
|
10788 |
-
|
10789 |
-
var timing = linear ? 'linear' : easing;
|
10790 |
-
duration -= Math.round(duration * clamp(percent, -1, 1));
|
10791 |
-
|
10792 |
-
this.translate(percent);
|
10793 |
-
|
10794 |
-
prev && this.updateTranslates();
|
10795 |
-
percent = prev ? percent : clamp(percent, 0, 1);
|
10796 |
-
triggerUpdate$1(this.getItemIn(), 'itemin', {percent: percent, duration: duration, timing: timing, dir: dir});
|
10797 |
-
prev && triggerUpdate$1(this.getItemIn(true), 'itemout', {percent: 1 - percent, duration: duration, timing: timing, dir: dir});
|
10798 |
-
|
10799 |
-
Transition
|
10800 |
-
.start(list, {transform: translate(-to * (isRtl ? -1 : 1), 'px')}, duration, timing)
|
10801 |
-
.then(deferred.resolve, noop);
|
10802 |
-
|
10803 |
-
return deferred.promise;
|
10804 |
-
|
10805 |
-
},
|
10806 |
-
|
10807 |
-
stop: function() {
|
10808 |
-
return Transition.stop(list);
|
10809 |
-
},
|
10810 |
-
|
10811 |
-
cancel: function() {
|
10812 |
-
Transition.cancel(list);
|
10813 |
-
},
|
10814 |
-
|
10815 |
-
reset: function() {
|
10816 |
-
css(list, 'transform', '');
|
10817 |
-
},
|
10818 |
-
|
10819 |
-
forward: function(duration, percent) {
|
10820 |
-
if ( percent === void 0 ) percent = this.percent();
|
10821 |
-
|
10822 |
-
Transition.cancel(list);
|
10823 |
-
return this.show(duration, percent, true);
|
10824 |
-
},
|
10825 |
-
|
10826 |
-
translate: function(percent) {
|
10827 |
-
|
10828 |
-
var distance = this.getDistance() * dir * (isRtl ? -1 : 1);
|
10829 |
-
|
10830 |
-
css(list, 'transform', translate(clamp(
|
10831 |
-
-to + (distance - distance * percent),
|
10832 |
-
-getWidth(list),
|
10833 |
-
bounds(list).width
|
10834 |
-
) * (isRtl ? -1 : 1), 'px'));
|
10835 |
-
|
10836 |
-
this.updateTranslates();
|
10837 |
-
|
10838 |
-
if (prev) {
|
10839 |
-
percent = clamp(percent, -1, 1);
|
10840 |
-
triggerUpdate$1(this.getItemIn(), 'itemtranslatein', {percent: percent, dir: dir});
|
10841 |
-
triggerUpdate$1(this.getItemIn(true), 'itemtranslateout', {percent: 1 - percent, dir: dir});
|
10842 |
-
}
|
10843 |
-
|
10844 |
-
},
|
10845 |
-
|
10846 |
-
percent: function() {
|
10847 |
-
return Math.abs((css(list, 'transform').split(',')[4] * (isRtl ? -1 : 1) + from) / (to - from));
|
10848 |
-
},
|
10849 |
-
|
10850 |
-
getDistance: function() {
|
10851 |
-
return Math.abs(to - from);
|
10852 |
-
},
|
10853 |
-
|
10854 |
-
getItemIn: function(out) {
|
10855 |
-
if ( out === void 0 ) out = false;
|
10856 |
-
|
10857 |
-
|
10858 |
-
var actives = this.getActives();
|
10859 |
-
var all = sortBy(slides(list), 'offsetLeft');
|
10860 |
-
var i = index(all, actives[dir * (out ? -1 : 1) > 0 ? actives.length - 1 : 0]);
|
10861 |
-
|
10862 |
-
return ~i && all[i + (prev && !out ? dir : 0)];
|
10863 |
-
|
10864 |
-
},
|
10865 |
-
|
10866 |
-
getActives: function() {
|
10867 |
-
|
10868 |
-
var left = getLeft(prev || next, list, center);
|
10869 |
-
|
10870 |
-
return sortBy(slides(list).filter(function (slide) {
|
10871 |
-
var slideLeft = getElLeft(slide, list);
|
10872 |
-
return slideLeft >= left && slideLeft + bounds(slide).width <= bounds(list).width + left;
|
10873 |
-
}), 'offsetLeft');
|
10874 |
-
|
10875 |
-
},
|
10876 |
-
|
10877 |
-
updateTranslates: function() {
|
10878 |
-
|
10879 |
-
var actives = this.getActives();
|
10880 |
-
|
10881 |
-
slides(list).forEach(function (slide) {
|
10882 |
-
var isActive = includes(actives, slide);
|
10883 |
-
|
10884 |
-
triggerUpdate$1(slide, ("itemtranslate" + (isActive ? 'in' : 'out')), {
|
10885 |
-
percent: isActive ? 1 : 0,
|
10886 |
-
dir: slide.offsetLeft <= next.offsetLeft ? 1 : -1
|
10887 |
-
});
|
10888 |
-
});
|
10889 |
-
}
|
10890 |
-
|
10891 |
-
};
|
10892 |
-
|
10893 |
-
}
|
10894 |
-
|
10895 |
-
function getLeft(el, list, center) {
|
10896 |
-
|
10897 |
-
var left = getElLeft(el, list);
|
10898 |
-
|
10899 |
-
return center
|
10900 |
-
? left - centerEl(el, list)
|
10901 |
-
: Math.min(left, getMax(list));
|
10902 |
-
|
10903 |
-
}
|
10904 |
-
|
10905 |
-
function getMax(list) {
|
10906 |
-
return Math.max(0, getWidth(list) - bounds(list).width);
|
10907 |
-
}
|
10908 |
-
|
10909 |
-
function getWidth(list) {
|
10910 |
-
return slides(list).reduce(function (right, el) { return bounds(el).width + right; }, 0);
|
10911 |
-
}
|
10912 |
-
|
10913 |
-
function getMaxWidth(list) {
|
10914 |
-
return slides(list).reduce(function (right, el) { return Math.max(right, bounds(el).width); }, 0);
|
10915 |
-
}
|
10916 |
-
|
10917 |
-
function centerEl(el, list) {
|
10918 |
-
return bounds(list).width / 2 - bounds(el).width / 2;
|
10919 |
-
}
|
10920 |
-
|
10921 |
-
function getElLeft(el, list) {
|
10922 |
-
return (position(el).left + (isRtl ? bounds(el).width - bounds(list).width : 0)) * (isRtl ? -1 : 1);
|
10923 |
-
}
|
10924 |
-
|
10925 |
-
function bounds(el) {
|
10926 |
-
return el.getBoundingClientRect();
|
10927 |
-
}
|
10928 |
-
|
10929 |
-
function triggerUpdate$1(el, type, data) {
|
10930 |
-
trigger(el, createEvent(type, false, false, data));
|
10931 |
-
}
|
10932 |
-
|
10933 |
-
function slides(list) {
|
10934 |
-
return toNodes(list.children);
|
10935 |
-
}
|
10936 |
-
|
10937 |
-
var Slider$1 = {
|
10938 |
-
|
10939 |
-
mixins: [Class, Slider, SliderReactive],
|
10940 |
-
|
10941 |
-
props: {
|
10942 |
-
center: Boolean,
|
10943 |
-
sets: Boolean
|
10944 |
-
},
|
10945 |
-
|
10946 |
-
data: {
|
10947 |
-
center: false,
|
10948 |
-
sets: false,
|
10949 |
-
attrItem: 'bdt-slider-item',
|
10950 |
-
selList: '.bdt-slider-items',
|
10951 |
-
selNav: '.bdt-slider-nav',
|
10952 |
-
clsContainer: 'bdt-slider-container',
|
10953 |
-
Transitioner: Transitioner$1
|
10954 |
-
},
|
10955 |
-
|
10956 |
-
computed: {
|
10957 |
-
|
10958 |
-
avgWidth: function() {
|
10959 |
-
return getWidth(this.list) / this.length;
|
10960 |
-
},
|
10961 |
-
|
10962 |
-
finite: function(ref) {
|
10963 |
-
var finite = ref.finite;
|
10964 |
-
|
10965 |
-
return finite || getWidth(this.list) < bounds(this.list).width + getMaxWidth(this.list) + this.center;
|
10966 |
-
},
|
10967 |
-
|
10968 |
-
maxIndex: function() {
|
10969 |
-
|
10970 |
-
if (!this.finite || this.center && !this.sets) {
|
10971 |
-
return this.length - 1;
|
10972 |
-
}
|
10973 |
-
|
10974 |
-
if (this.center) {
|
10975 |
-
return last(this.sets);
|
10976 |
-
}
|
10977 |
-
|
10978 |
-
css(this.slides, 'order', '');
|
10979 |
-
|
10980 |
-
var max = getMax(this.list);
|
10981 |
-
var i = this.length;
|
10982 |
-
|
10983 |
-
while (i--) {
|
10984 |
-
if (getElLeft(this.list.children[i], this.list) < max) {
|
10985 |
-
return Math.min(i + 1, this.length - 1);
|
10986 |
-
}
|
10987 |
-
}
|
10988 |
-
|
10989 |
-
return 0;
|
10990 |
-
},
|
10991 |
-
|
10992 |
-
sets: function(ref) {
|
10993 |
-
var this$1 = this;
|
10994 |
-
var sets = ref.sets;
|
10995 |
-
|
10996 |
-
|
10997 |
-
var width = bounds(this.list).width / (this.center ? 2 : 1);
|
10998 |
-
|
10999 |
-
var left = 0;
|
11000 |
-
var leftCenter = width;
|
11001 |
-
var slideLeft = 0;
|
11002 |
-
|
11003 |
-
sets = sets && this.slides.reduce(function (sets, slide, i) {
|
11004 |
-
|
11005 |
-
var ref = bounds(slide);
|
11006 |
-
var slideWidth = ref.width;
|
11007 |
-
var slideRight = slideLeft + slideWidth;
|
11008 |
-
|
11009 |
-
if (slideRight > left) {
|
11010 |
-
|
11011 |
-
if (!this$1.center && i > this$1.maxIndex) {
|
11012 |
-
i = this$1.maxIndex;
|
11013 |
-
}
|
11014 |
-
|
11015 |
-
if (!includes(sets, i)) {
|
11016 |
-
|
11017 |
-
var cmp = this$1.slides[i + 1];
|
11018 |
-
if (this$1.center && cmp && slideWidth < leftCenter - bounds(cmp).width / 2) {
|
11019 |
-
leftCenter -= slideWidth;
|
11020 |
-
} else {
|
11021 |
-
leftCenter = width;
|
11022 |
-
sets.push(i);
|
11023 |
-
left = slideLeft + width + (this$1.center ? slideWidth / 2 : 0);
|
11024 |
-
}
|
11025 |
-
|
11026 |
-
}
|
11027 |
-
}
|
11028 |
-
|
11029 |
-
slideLeft += slideWidth;
|
11030 |
-
|
11031 |
-
return sets;
|
11032 |
-
|
11033 |
-
}, []);
|
11034 |
-
|
11035 |
-
return !isEmpty(sets) && sets;
|
11036 |
-
|
11037 |
-
},
|
11038 |
-
|
11039 |
-
transitionOptions: function() {
|
11040 |
-
return {
|
11041 |
-
center: this.center,
|
11042 |
-
list: this.list
|
11043 |
-
};
|
11044 |
-
}
|
11045 |
-
|
11046 |
-
},
|
11047 |
-
|
11048 |
-
connected: function() {
|
11049 |
-
toggleClass(this.$el, this.clsContainer, !$(("." + (this.clsContainer)), this.$el));
|
11050 |
-
},
|
11051 |
-
|
11052 |
-
update: {
|
11053 |
-
|
11054 |
-
write: function() {
|
11055 |
-
var this$1 = this;
|
11056 |
-
|
11057 |
-
|
11058 |
-
$$(("[" + (this.attrItem) + "],[data-" + (this.attrItem) + "]"), this.$el).forEach(function (el) {
|
11059 |
-
var index = data(el, this$1.attrItem);
|
11060 |
-
this$1.maxIndex && toggleClass(el, 'bdt-hidden', isNumeric(index) && (this$1.sets && !includes(this$1.sets, toFloat(index)) || index > this$1.maxIndex));
|
11061 |
-
});
|
11062 |
-
|
11063 |
-
if (!this.dragging && !this.stack.length) {
|
11064 |
-
this._getTransitioner().translate(1);
|
11065 |
-
}
|
11066 |
-
|
11067 |
-
},
|
11068 |
-
|
11069 |
-
events: ['resize']
|
11070 |
-
|
11071 |
-
},
|
11072 |
-
|
11073 |
-
events: {
|
11074 |
-
|
11075 |
-
beforeitemshow: function(e) {
|
11076 |
-
|
11077 |
-
if (!this.dragging && this.sets && this.stack.length < 2 && !includes(this.sets, this.index)) {
|
11078 |
-
this.index = this.getValidIndex();
|
11079 |
-
}
|
11080 |
-
|
11081 |
-
var diff = Math.abs(
|
11082 |
-
this.index
|
11083 |
-
- this.prevIndex
|
11084 |
-
+ (this.dir > 0 && this.index < this.prevIndex || this.dir < 0 && this.index > this.prevIndex ? (this.maxIndex + 1) * this.dir : 0)
|
11085 |
-
);
|
11086 |
-
|
11087 |
-
if (!this.dragging && diff > 1) {
|
11088 |
-
|
11089 |
-
for (var i = 0; i < diff; i++) {
|
11090 |
-
this.stack.splice(1, 0, this.dir > 0 ? 'next' : 'previous');
|
11091 |
-
}
|
11092 |
-
|
11093 |
-
e.preventDefault();
|
11094 |
-
return;
|
11095 |
-
}
|
11096 |
-
|
11097 |
-
this.duration = speedUp(this.avgWidth / this.velocity)
|
11098 |
-
* (bounds(
|
11099 |
-
this.dir < 0 || !this.slides[this.prevIndex]
|
11100 |
-
? this.slides[this.index]
|
11101 |
-
: this.slides[this.prevIndex]
|
11102 |
-
).width / this.avgWidth);
|
11103 |
-
|
11104 |
-
this.reorder();
|
11105 |
-
|
11106 |
-
},
|
11107 |
-
|
11108 |
-
itemshow: function() {
|
11109 |
-
!isUndefined(this.prevIndex) && addClass(this._getTransitioner().getItemIn(), this.clsActive);
|
11110 |
-
},
|
11111 |
-
|
11112 |
-
itemshown: function() {
|
11113 |
-
var this$1 = this;
|
11114 |
-
|
11115 |
-
var actives = this._getTransitioner(this.index).getActives();
|
11116 |
-
this.slides.forEach(function (slide) { return toggleClass(slide, this$1.clsActive, includes(actives, slide)); });
|
11117 |
-
(!this.sets || includes(this.sets, toFloat(this.index))) && this.slides.forEach(function (slide) { return toggleClass(slide, this$1.clsActivated, includes(actives, slide)); });
|
11118 |
-
}
|
11119 |
-
|
11120 |
-
},
|
11121 |
-
|
11122 |
-
methods: {
|
11123 |
-
|
11124 |
-
reorder: function() {
|
11125 |
-
var this$1 = this;
|
11126 |
-
|
11127 |
-
|
11128 |
-
css(this.slides, 'order', '');
|
11129 |
-
|
11130 |
-
if (this.finite) {
|
11131 |
-
return;
|
11132 |
-
}
|
11133 |
-
|
11134 |
-
var index = this.dir > 0 && this.slides[this.prevIndex] ? this.prevIndex : this.index;
|
11135 |
-
|
11136 |
-
this.slides.forEach(function (slide, i) { return css(slide, 'order', this$1.dir > 0 && i < index
|
11137 |
-
? 1
|
11138 |
-
: this$1.dir < 0 && i >= this$1.index
|
11139 |
-
? -1
|
11140 |
-
: ''
|
11141 |
-
); }
|
11142 |
-
);
|
11143 |
-
|
11144 |
-
if (!this.center) {
|
11145 |
-
return;
|
11146 |
-
}
|
11147 |
-
|
11148 |
-
var next = this.slides[index];
|
11149 |
-
var width = bounds(this.list).width / 2 - bounds(next).width / 2;
|
11150 |
-
var j = 0;
|
11151 |
-
|
11152 |
-
while (width > 0) {
|
11153 |
-
var slideIndex = this.getIndex(--j + index, index);
|
11154 |
-
var slide = this.slides[slideIndex];
|
11155 |
-
|
11156 |
-
css(slide, 'order', slideIndex > index ? -2 : -1);
|
11157 |
-
width -= bounds(slide).width;
|
11158 |
-
}
|
11159 |
-
|
11160 |
-
},
|
11161 |
-
|
11162 |
-
getValidIndex: function(index, prevIndex) {
|
11163 |
-
if ( index === void 0 ) index = this.index;
|
11164 |
-
if ( prevIndex === void 0 ) prevIndex = this.prevIndex;
|
11165 |
-
|
11166 |
-
|
11167 |
-
index = this.getIndex(index, prevIndex);
|
11168 |
-
|
11169 |
-
if (!this.sets) {
|
11170 |
-
return index;
|
11171 |
-
}
|
11172 |
-
|
11173 |
-
var prev;
|
11174 |
-
|
11175 |
-
do {
|
11176 |
-
|
11177 |
-
if (includes(this.sets, index)) {
|
11178 |
-
return index;
|
11179 |
-
}
|
11180 |
-
|
11181 |
-
prev = index;
|
11182 |
-
index = this.getIndex(index + this.dir, prevIndex);
|
11183 |
-
|
11184 |
-
} while (index !== prev);
|
11185 |
-
|
11186 |
-
return index;
|
11187 |
-
}
|
11188 |
-
|
11189 |
-
}
|
11190 |
-
|
11191 |
-
};
|
11192 |
-
|
11193 |
-
var SlideshowParallax = {
|
11194 |
-
|
11195 |
-
mixins: [Parallax],
|
11196 |
-
|
11197 |
-
data: {
|
11198 |
-
selItem: '!li'
|
11199 |
-
},
|
11200 |
-
|
11201 |
-
computed: {
|
11202 |
-
|
11203 |
-
item: function(ref, $el) {
|
11204 |
-
var selItem = ref.selItem;
|
11205 |
-
|
11206 |
-
return query(selItem, $el);
|
11207 |
-
}
|
11208 |
-
|
11209 |
-
},
|
11210 |
-
|
11211 |
-
events: [
|
11212 |
-
|
11213 |
-
{
|
11214 |
-
|
11215 |
-
name: 'itemshown',
|
11216 |
-
|
11217 |
-
self: true,
|
11218 |
-
|
11219 |
-
el: function() {
|
11220 |
-
return this.item;
|
11221 |
-
},
|
11222 |
-
|
11223 |
-
handler: function() {
|
11224 |
-
css(this.$el, this.getCss(.5));
|
11225 |
-
}
|
11226 |
-
|
11227 |
-
},
|
11228 |
-
|
11229 |
-
{
|
11230 |
-
name: 'itemin itemout',
|
11231 |
-
|
11232 |
-
self: true,
|
11233 |
-
|
11234 |
-
el: function() {
|
11235 |
-
return this.item;
|
11236 |
-
},
|
11237 |
-
|
11238 |
-
handler: function(ref) {
|
11239 |
-
var type = ref.type;
|
11240 |
-
var ref_detail = ref.detail;
|
11241 |
-
var percent = ref_detail.percent;
|
11242 |
-
var duration = ref_detail.duration;
|
11243 |
-
var timing = ref_detail.timing;
|
11244 |
-
var dir = ref_detail.dir;
|
11245 |
-
|
11246 |
-
|
11247 |
-
Transition.cancel(this.$el);
|
11248 |
-
css(this.$el, this.getCss(getCurrent(type, dir, percent)));
|
11249 |
-
|
11250 |
-
Transition.start(this.$el, this.getCss(isIn(type)
|
11251 |
-
? .5
|
11252 |
-
: dir > 0
|
11253 |
-
? 1
|
11254 |
-
: 0
|
11255 |
-
), duration, timing).catch(noop);
|
11256 |
-
|
11257 |
-
}
|
11258 |
-
},
|
11259 |
-
|
11260 |
-
{
|
11261 |
-
name: 'transitioncanceled transitionend',
|
11262 |
-
|
11263 |
-
self: true,
|
11264 |
-
|
11265 |
-
el: function() {
|
11266 |
-
return this.item;
|
11267 |
-
},
|
11268 |
-
|
11269 |
-
handler: function() {
|
11270 |
-
Transition.cancel(this.$el);
|
11271 |
-
}
|
11272 |
-
|
11273 |
-
},
|
11274 |
-
|
11275 |
-
{
|
11276 |
-
name: 'itemtranslatein itemtranslateout',
|
11277 |
-
|
11278 |
-
self: true,
|
11279 |
-
|
11280 |
-
el: function() {
|
11281 |
-
return this.item;
|
11282 |
-
},
|
11283 |
-
|
11284 |
-
handler: function(ref) {
|
11285 |
-
var type = ref.type;
|
11286 |
-
var ref_detail = ref.detail;
|
11287 |
-
var percent = ref_detail.percent;
|
11288 |
-
var dir = ref_detail.dir;
|
11289 |
-
|
11290 |
-
Transition.cancel(this.$el);
|
11291 |
-
css(this.$el, this.getCss(getCurrent(type, dir, percent)));
|
11292 |
-
}
|
11293 |
-
}
|
11294 |
-
|
11295 |
-
]
|
11296 |
-
|
11297 |
-
};
|
11298 |
-
|
11299 |
-
function isIn(type) {
|
11300 |
-
return endsWith(type, 'in');
|
11301 |
-
}
|
11302 |
-
|
11303 |
-
function getCurrent(type, dir, percent) {
|
11304 |
-
|
11305 |
-
percent /= 2;
|
11306 |
-
|
11307 |
-
return !isIn(type)
|
11308 |
-
? dir < 0
|
11309 |
-
? percent
|
11310 |
-
: 1 - percent
|
11311 |
-
: dir < 0
|
11312 |
-
? 1 - percent
|
11313 |
-
: percent;
|
11314 |
-
}
|
11315 |
-
|
11316 |
-
var Animations$2 = assign({}, Animations, {
|
11317 |
-
|
11318 |
-
fade: {
|
11319 |
-
|
11320 |
-
show: function() {
|
11321 |
-
return [
|
11322 |
-
{opacity: 0, zIndex: 0},
|
11323 |
-
{zIndex: -1}
|
11324 |
-
];
|
11325 |
-
},
|
11326 |
-
|
11327 |
-
percent: function(current) {
|
11328 |
-
return 1 - css(current, 'opacity');
|
11329 |
-
},
|
11330 |
-
|
11331 |
-
translate: function(percent) {
|
11332 |
-
return [
|
11333 |
-
{opacity: 1 - percent, zIndex: 0},
|
11334 |
-
{zIndex: -1}
|
11335 |
-
];
|
11336 |
-
}
|
11337 |
-
|
11338 |
-
},
|
11339 |
-
|
11340 |
-
scale: {
|
11341 |
-
|
11342 |
-
show: function() {
|
11343 |
-
return [
|
11344 |
-
{opacity: 0, transform: scale3d(1 + .5), zIndex: 0},
|
11345 |
-
{zIndex: -1}
|
11346 |
-
];
|
11347 |
-
},
|
11348 |
-
|
11349 |
-
percent: function(current) {
|
11350 |
-
return 1 - css(current, 'opacity');
|
11351 |
-
},
|
11352 |
-
|
11353 |
-
translate: function(percent) {
|
11354 |
-
return [
|
11355 |
-
{opacity: 1 - percent, transform: scale3d(1 + .5 * percent), zIndex: 0},
|
11356 |
-
{zIndex: -1}
|
11357 |
-
];
|
11358 |
-
}
|
11359 |
-
|
11360 |
-
},
|
11361 |
-
|
11362 |
-
pull: {
|
11363 |
-
|
11364 |
-
show: function(dir) {
|
11365 |
-
return dir < 0
|
11366 |
-
? [
|
11367 |
-
{transform: translate(30), zIndex: -1},
|
11368 |
-
{transform: translate(), zIndex: 0}
|
11369 |
-
]
|
11370 |
-
: [
|
11371 |
-
{transform: translate(-100), zIndex: 0},
|
11372 |
-
{transform: translate(), zIndex: -1}
|
11373 |
-
];
|
11374 |
-
},
|
11375 |
-
|
11376 |
-
percent: function(current, next, dir) {
|
11377 |
-
return dir < 0
|
11378 |
-
? 1 - translated(next)
|
11379 |
-
: translated(current);
|
11380 |
-
},
|
11381 |
-
|
11382 |
-
translate: function(percent, dir) {
|
11383 |
-
return dir < 0
|
11384 |
-
? [
|
11385 |
-
{transform: translate(30 * percent), zIndex: -1},
|
11386 |
-
{transform: translate(-100 * (1 - percent)), zIndex: 0}
|
11387 |
-
]
|
11388 |
-
: [
|
11389 |
-
{transform: translate(-percent * 100), zIndex: 0},
|
11390 |
-
{transform: translate(30 * (1 - percent)), zIndex: -1}
|
11391 |
-
];
|
11392 |
-
}
|
11393 |
-
|
11394 |
-
},
|
11395 |
-
|
11396 |
-
push: {
|
11397 |
-
|
11398 |
-
show: function(dir) {
|
11399 |
-
return dir < 0
|
11400 |
-
? [
|
11401 |
-
{transform: translate(100), zIndex: 0},
|
11402 |
-
{transform: translate(), zIndex: -1}
|
11403 |
-
]
|
11404 |
-
: [
|
11405 |
-
{transform: translate(-30), zIndex: -1},
|
11406 |
-
{transform: translate(), zIndex: 0}
|
11407 |
-
];
|
11408 |
-
},
|
11409 |
-
|
11410 |
-
percent: function(current, next, dir) {
|
11411 |
-
return dir > 0
|
11412 |
-
? 1 - translated(next)
|
11413 |
-
: translated(current);
|
11414 |
-
},
|
11415 |
-
|
11416 |
-
translate: function(percent, dir) {
|
11417 |
-
return dir < 0
|
11418 |
-
? [
|
11419 |
-
{transform: translate(percent * 100), zIndex: 0},
|
11420 |
-
{transform: translate(-30 * (1 - percent)), zIndex: -1}
|
11421 |
-
]
|
11422 |
-
: [
|
11423 |
-
{transform: translate(-30 * percent), zIndex: -1},
|
11424 |
-
{transform: translate(100 * (1 - percent)), zIndex: 0}
|
11425 |
-
];
|
11426 |
-
}
|
11427 |
-
|
11428 |
-
}
|
11429 |
-
|
11430 |
-
});
|
11431 |
-
|
11432 |
-
var Slideshow$1 = {
|
11433 |
-
|
11434 |
-
mixins: [Class, Slideshow, SliderReactive],
|
11435 |
-
|
11436 |
-
props: {
|
11437 |
-
ratio: String,
|
11438 |
-
minHeight: Number,
|
11439 |
-
maxHeight: Number
|
11440 |
-
},
|
11441 |
-
|
11442 |
-
data: {
|
11443 |
-
ratio: '16:9',
|
11444 |
-
minHeight: false,
|
11445 |
-
maxHeight: false,
|
11446 |
-
selList: '.bdt-slideshow-items',
|
11447 |
-
attrItem: 'bdt-slideshow-item',
|
11448 |
-
selNav: '.bdt-slideshow-nav',
|
11449 |
-
Animations: Animations$2
|
11450 |
-
},
|
11451 |
-
|
11452 |
-
update: {
|
11453 |
-
|
11454 |
-
read: function() {
|
11455 |
-
|
11456 |
-
var ref = this.ratio.split(':').map(Number);
|
11457 |
-
var width = ref[0];
|
11458 |
-
var height = ref[1];
|
11459 |
-
|
11460 |
-
height = height * this.list.offsetWidth / width || 0;
|
11461 |
-
|
11462 |
-
if (this.minHeight) {
|
11463 |
-
height = Math.max(this.minHeight, height);
|
11464 |
-
}
|
11465 |
-
|
11466 |
-
if (this.maxHeight) {
|
11467 |
-
height = Math.min(this.maxHeight, height);
|
11468 |
-
}
|
11469 |
-
|
11470 |
-
return {height: height - boxModelAdjust(this.list, 'content-box')};
|
11471 |
-
},
|
11472 |
-
|
11473 |
-
write: function(ref) {
|
11474 |
-
var height = ref.height;
|
11475 |
-
|
11476 |
-
height > 0 && css(this.list, 'minHeight', height);
|
11477 |
-
},
|
11478 |
-
|
11479 |
-
events: ['resize']
|
11480 |
-
|
11481 |
-
}
|
11482 |
-
|
11483 |
-
};
|
11484 |
-
|
11485 |
-
var Sortable = {
|
11486 |
-
|
11487 |
-
mixins: [Class, Animate],
|
11488 |
-
|
11489 |
-
props: {
|
11490 |
-
group: String,
|
11491 |
-
threshold: Number,
|
11492 |
-
clsItem: String,
|
11493 |
-
clsPlaceholder: String,
|
11494 |
-
clsDrag: String,
|
11495 |
-
clsDragState: String,
|
11496 |
-
clsBase: String,
|
11497 |
-
clsNoDrag: String,
|
11498 |
-
clsEmpty: String,
|
11499 |
-
clsCustom: String,
|
11500 |
-
handle: String
|
11501 |
-
},
|
11502 |
-
|
11503 |
-
data: {
|
11504 |
-
group: false,
|
11505 |
-
threshold: 5,
|
11506 |
-
clsItem: 'bdt-sortable-item',
|
11507 |
-
clsPlaceholder: 'bdt-sortable-placeholder',
|
11508 |
-
clsDrag: 'bdt-sortable-drag',
|
11509 |
-
clsDragState: 'bdt-drag',
|
11510 |
-
clsBase: 'bdt-sortable',
|
11511 |
-
clsNoDrag: 'bdt-sortable-nodrag',
|
11512 |
-
clsEmpty: 'bdt-sortable-empty',
|
11513 |
-
clsCustom: '',
|
11514 |
-
handle: false
|
11515 |
-
},
|
11516 |
-
|
11517 |
-
created: function() {
|
11518 |
-
var this$1 = this;
|
11519 |
-
|
11520 |
-
['init', 'start', 'move', 'end'].forEach(function (key) {
|
11521 |
-
var fn = this$1[key];
|
11522 |
-
this$1[key] = function (e) {
|
11523 |
-
this$1.scrollY = window.pageYOffset;
|
11524 |
-
var ref = getEventPos(e, 'page');
|
11525 |
-
var x = ref.x;
|
11526 |
-
var y = ref.y;
|
11527 |
-
this$1.pos = {x: x, y: y};
|
11528 |
-
|
11529 |
-
fn(e);
|
11530 |
-
};
|
11531 |
-
});
|
11532 |
-
},
|
11533 |
-
|
11534 |
-
events: {
|
11535 |
-
|
11536 |
-
name: pointerDown,
|
11537 |
-
passive: false,
|
11538 |
-
handler: 'init'
|
11539 |
-
|
11540 |
-
},
|
11541 |
-
|
11542 |
-
update: {
|
11543 |
-
|
11544 |
-
write: function() {
|
11545 |
-
|
11546 |
-
if (this.clsEmpty) {
|
11547 |
-
toggleClass(this.$el, this.clsEmpty, isEmpty(this.$el.children));
|
11548 |
-
}
|
11549 |
-
|
11550 |
-
css(this.handle ? $$(this.handle, this.$el) : this.$el.children, {touchAction: 'none', userSelect: 'none'});
|
11551 |
-
|
11552 |
-
if (this.drag) {
|
11553 |
-
|
11554 |
-
// clamp to viewport
|
11555 |
-
var ref = offset(window);
|
11556 |
-
var right = ref.right;
|
11557 |
-
var bottom = ref.bottom;
|
11558 |
-
offset(this.drag, {
|
11559 |
-
top: clamp(this.pos.y + this.origin.top, 0, bottom - this.drag.offsetHeight),
|
11560 |
-
left: clamp(this.pos.x + this.origin.left, 0, right - this.drag.offsetWidth)
|
11561 |
-
});
|
11562 |
-
|
11563 |
-
trackScroll(this.pos);
|
11564 |
-
|
11565 |
-
}
|
11566 |
-
|
11567 |
-
}
|
11568 |
-
|
11569 |
-
},
|
11570 |
-
|
11571 |
-
methods: {
|
11572 |
-
|
11573 |
-
init: function(e) {
|
11574 |
-
|
11575 |
-
var target = e.target;
|
11576 |
-
var button = e.button;
|
11577 |
-
var defaultPrevented = e.defaultPrevented;
|
11578 |
-
var ref = toNodes(this.$el.children).filter(function (el) { return within(target, el); });
|
11579 |
-
var placeholder = ref[0];
|
11580 |
-
|
11581 |
-
if (!placeholder
|
11582 |
-
|| defaultPrevented
|
11583 |
-
|| button > 0
|
11584 |
-
|| isInput(target)
|
11585 |
-
|| within(target, ("." + (this.clsNoDrag)))
|
11586 |
-
|| this.handle && !within(target, this.handle)
|
11587 |
-
) {
|
11588 |
-
return;
|
11589 |
-
}
|
11590 |
-
|
11591 |
-
e.preventDefault();
|
11592 |
-
|
11593 |
-
this.touched = [this];
|
11594 |
-
this.placeholder = placeholder;
|
11595 |
-
this.origin = assign({target: target, index: index(placeholder)}, this.pos);
|
11596 |
-
|
11597 |
-
on(document, pointerMove, this.move);
|
11598 |
-
on(document, pointerUp, this.end);
|
11599 |
-
on(window, 'scroll', this.scroll);
|
11600 |
-
|
11601 |
-
if (!this.threshold) {
|
11602 |
-
this.start(e);
|
11603 |
-
}
|
11604 |
-
|
11605 |
-
},
|
11606 |
-
|
11607 |
-
start: function(e) {
|
11608 |
-
|
11609 |
-
this.drag = append(this.$container, this.placeholder.outerHTML.replace(/^<li/i, '<div').replace(/li>$/i, 'div>'));
|
11610 |
-
|
11611 |
-
css(this.drag, assign({
|
11612 |
-
boxSizing: 'border-box',
|
11613 |
-
width: this.placeholder.offsetWidth,
|
11614 |
-
height: this.placeholder.offsetHeight,
|
11615 |
-
overflow: 'hidden'
|
11616 |
-
}, css(this.placeholder, ['paddingLeft', 'paddingRight', 'paddingTop', 'paddingBottom'])));
|
11617 |
-
attr(this.drag, 'bdt-no-boot', '');
|
11618 |
-
addClass(this.drag, this.clsDrag, this.clsCustom);
|
11619 |
-
|
11620 |
-
height(this.drag.firstElementChild, height(this.placeholder.firstElementChild));
|
11621 |
-
|
11622 |
-
var ref = offset(this.placeholder);
|
11623 |
-
var left = ref.left;
|
11624 |
-
var top = ref.top;
|
11625 |
-
assign(this.origin, {left: left - this.pos.x, top: top - this.pos.y});
|
11626 |
-
|
11627 |
-
addClass(this.placeholder, this.clsPlaceholder);
|
11628 |
-
addClass(this.$el.children, this.clsItem);
|
11629 |
-
addClass(document.documentElement, this.clsDragState);
|
11630 |
-
|
11631 |
-
trigger(this.$el, 'start', [this, this.placeholder]);
|
11632 |
-
|
11633 |
-
this.move(e);
|
11634 |
-
},
|
11635 |
-
|
11636 |
-
move: function(e) {
|
11637 |
-
|
11638 |
-
if (!this.drag) {
|
11639 |
-
|
11640 |
-
if (Math.abs(this.pos.x - this.origin.x) > this.threshold || Math.abs(this.pos.y - this.origin.y) > this.threshold) {
|
11641 |
-
this.start(e);
|
11642 |
-
}
|
11643 |
-
|
11644 |
-
return;
|
11645 |
-
}
|
11646 |
-
|
11647 |
-
this.$emit();
|
11648 |
-
|
11649 |
-
var target = e.type === 'mousemove' ? e.target : document.elementFromPoint(this.pos.x - window.pageXOffset, this.pos.y - window.pageYOffset);
|
11650 |
-
|
11651 |
-
var sortable = this.getSortable(target);
|
11652 |
-
var previous = this.getSortable(this.placeholder);
|
11653 |
-
var move = sortable !== previous;
|
11654 |
-
|
11655 |
-
if (!sortable || within(target, this.placeholder) || move && (!sortable.group || sortable.group !== previous.group)) {
|
11656 |
-
return;
|
11657 |
-
}
|
11658 |
-
|
11659 |
-
target = sortable.$el === target.parentNode && target || toNodes(sortable.$el.children).filter(function (element) { return within(target, element); })[0];
|
11660 |
-
|
11661 |
-
if (move) {
|
11662 |
-
previous.remove(this.placeholder);
|
11663 |
-
} else if (!target) {
|
11664 |
-
return;
|
11665 |
-
}
|
11666 |
-
|
11667 |
-
sortable.insert(this.placeholder, target);
|
11668 |
-
|
11669 |
-
if (!includes(this.touched, sortable)) {
|
11670 |
-
this.touched.push(sortable);
|
11671 |
-
}
|
11672 |
-
|
11673 |
-
},
|
11674 |
-
|
11675 |
-
end: function(e) {
|
11676 |
-
|
11677 |
-
off(document, pointerMove, this.move);
|
11678 |
-
off(document, pointerUp, this.end);
|
11679 |
-
off(window, 'scroll', this.scroll);
|
11680 |
-
|
11681 |
-
if (!this.drag) {
|
11682 |
-
if (e.type === 'touchend') {
|
11683 |
-
e.target.click();
|
11684 |
-
}
|
11685 |
-
|
11686 |
-
return;
|
11687 |
-
}
|
11688 |
-
|
11689 |
-
untrackScroll();
|
11690 |
-
|
11691 |
-
var sortable = this.getSortable(this.placeholder);
|
11692 |
-
|
11693 |
-
if (this === sortable) {
|
11694 |
-
if (this.origin.index !== index(this.placeholder)) {
|
11695 |
-
trigger(this.$el, 'moved', [this, this.placeholder]);
|
11696 |
-
}
|
11697 |
-
} else {
|
11698 |
-
trigger(sortable.$el, 'added', [sortable, this.placeholder]);
|
11699 |
-
trigger(this.$el, 'removed', [this, this.placeholder]);
|
11700 |
-
}
|
11701 |
-
|
11702 |
-
trigger(this.$el, 'stop', [this, this.placeholder]);
|
11703 |
-
|
11704 |
-
remove(this.drag);
|
11705 |
-
this.drag = null;
|
11706 |
-
|
11707 |
-
var classes = this.touched.map(function (sortable) { return ((sortable.clsPlaceholder) + " " + (sortable.clsItem)); }).join(' ');
|
11708 |
-
this.touched.forEach(function (sortable) { return removeClass(sortable.$el.children, classes); });
|
11709 |
-
|
11710 |
-
removeClass(document.documentElement, this.clsDragState);
|
11711 |
-
|
11712 |
-
},
|
11713 |
-
|
11714 |
-
scroll: function() {
|
11715 |
-
var scroll = window.pageYOffset;
|
11716 |
-
if (scroll !== this.scrollY) {
|
11717 |
-
this.pos.y += scroll - this.scrollY;
|
11718 |
-
this.scrollY = scroll;
|
11719 |
-
this.$emit();
|
11720 |
-
}
|
11721 |
-
},
|
11722 |
-
|
11723 |
-
insert: function(element, target) {
|
11724 |
-
var this$1 = this;
|
11725 |
-
|
11726 |
-
|
11727 |
-
addClass(this.$el.children, this.clsItem);
|
11728 |
-
|
11729 |
-
var insert = function () {
|
11730 |
-
|
11731 |
-
if (target) {
|
11732 |
-
|
11733 |
-
if (!within(element, this$1.$el) || isPredecessor(element, target)) {
|
11734 |
-
before(target, element);
|
11735 |
-
} else {
|
11736 |
-
after(target, element);
|
11737 |
-
}
|
11738 |
-
|
11739 |
-
} else {
|
11740 |
-
append(this$1.$el, element);
|
11741 |
-
}
|
11742 |
-
|
11743 |
-
};
|
11744 |
-
|
11745 |
-
if (this.animation) {
|
11746 |
-
this.animate(insert);
|
11747 |
-
} else {
|
11748 |
-
insert();
|
11749 |
-
}
|
11750 |
-
|
11751 |
-
},
|
11752 |
-
|
11753 |
-
remove: function(element) {
|
11754 |
-
|
11755 |
-
if (!within(element, this.$el)) {
|
11756 |
-
return;
|
11757 |
-
}
|
11758 |
-
|
11759 |
-
css(this.handle ? $$(this.handle, element) : element, {touchAction: '', userSelect: ''});
|
11760 |
-
|
11761 |
-
if (this.animation) {
|
11762 |
-
this.animate(function () { return remove(element); });
|
11763 |
-
} else {
|
11764 |
-
remove(element);
|
11765 |
-
}
|
11766 |
-
|
11767 |
-
},
|
11768 |
-
|
11769 |
-
getSortable: function(element) {
|
11770 |
-
return element && (this.$getComponent(element, 'sortable') || this.getSortable(element.parentNode));
|
11771 |
-
}
|
11772 |
-
|
11773 |
-
}
|
11774 |
-
|
11775 |
-
};
|
11776 |
-
|
11777 |
-
function isPredecessor(element, target) {
|
11778 |
-
return element.parentNode === target.parentNode && index(element) > index(target);
|
11779 |
-
}
|
11780 |
-
|
11781 |
-
var trackTimer;
|
11782 |
-
function trackScroll(ref) {
|
11783 |
-
var x = ref.x;
|
11784 |
-
var y = ref.y;
|
11785 |
-
|
11786 |
-
|
11787 |
-
clearTimeout(trackTimer);
|
11788 |
-
|
11789 |
-
scrollParents(document.elementFromPoint(x - window.pageXOffset, y - window.pageYOffset)).some(function (scrollEl) {
|
11790 |
-
|
11791 |
-
var scroll = scrollEl.scrollTop;
|
11792 |
-
var scrollHeight = scrollEl.scrollHeight;
|
11793 |
-
|
11794 |
-
if (getScrollingElement() === scrollEl) {
|
11795 |
-
scrollEl = window;
|
11796 |
-
scrollHeight -= window.innerHeight;
|
11797 |
-
}
|
11798 |
-
|
11799 |
-
var ref = offset(scrollEl);
|
11800 |
-
var top = ref.top;
|
11801 |
-
var bottom = ref.bottom;
|
11802 |
-
|
11803 |
-
if (top < y && top + 30 > y) {
|
11804 |
-
scroll -= 5;
|
11805 |
-
} else if (bottom > y && bottom - 20 < y) {
|
11806 |
-
scroll += 5;
|
11807 |
-
}
|
11808 |
-
|
11809 |
-
if (scroll > 0 && scroll < scrollHeight) {
|
11810 |
-
return trackTimer = setTimeout(function () {
|
11811 |
-
scrollTop(scrollEl, scroll);
|
11812 |
-
trackScroll({x: x, y: y});
|
11813 |
-
}, 10);
|
11814 |
-
}
|
11815 |
-
|
11816 |
-
});
|
11817 |
-
|
11818 |
-
}
|
11819 |
-
|
11820 |
-
function untrackScroll() {
|
11821 |
-
clearTimeout(trackTimer);
|
11822 |
-
}
|
11823 |
-
|
11824 |
-
var overflowRe = /auto|scroll/;
|
11825 |
-
|
11826 |
-
function scrollParents(element) {
|
11827 |
-
var scrollEl = getScrollingElement();
|
11828 |
-
return parents$1(element, function (parent) { return parent === scrollEl || overflowRe.test(css(parent, 'overflow')); });
|
11829 |
-
}
|
11830 |
-
|
11831 |
-
function parents$1(element, fn) {
|
11832 |
-
var parents = [];
|
11833 |
-
do {
|
11834 |
-
if (fn(element)) {
|
11835 |
-
parents.unshift(element);
|
11836 |
-
}
|
11837 |
-
} while (element && (element = element.parentElement));
|
11838 |
-
return parents;
|
11839 |
-
}
|
11840 |
-
|
11841 |
-
function getScrollingElement() {
|
11842 |
-
return document.scrollingElement || document.documentElement;
|
11843 |
-
}
|
11844 |
-
|
11845 |
-
var obj$1;
|
11846 |
-
|
11847 |
-
var actives = [];
|
11848 |
-
|
11849 |
-
var Tooltip = {
|
11850 |
-
|
11851 |
-
mixins: [Container, Togglable, Position],
|
11852 |
-
|
11853 |
-
args: 'title',
|
11854 |
-
|
11855 |
-
props: {
|
11856 |
-
delay: Number,
|
11857 |
-
title: String
|
11858 |
-
},
|
11859 |
-
|
11860 |
-
data: {
|
11861 |
-
pos: 'top',
|
11862 |
-
title: '',
|
11863 |
-
delay: 0,
|
11864 |
-
animation: ['bdt-animation-scale-up'],
|
11865 |
-
duration: 100,
|
11866 |
-
cls: 'bdt-active',
|
11867 |
-
clsPos: 'bdt-tooltip'
|
11868 |
-
},
|
11869 |
-
|
11870 |
-
beforeConnect: function() {
|
11871 |
-
this._hasTitle = hasAttr(this.$el, 'title');
|
11872 |
-
attr(this.$el, {title: '', 'aria-expanded': false});
|
11873 |
-
},
|
11874 |
-
|
11875 |
-
disconnected: function() {
|
11876 |
-
this.hide();
|
11877 |
-
attr(this.$el, {title: this._hasTitle ? this.title : null, 'aria-expanded': null});
|
11878 |
-
},
|
11879 |
-
|
11880 |
-
methods: {
|
11881 |
-
|
11882 |
-
show: function() {
|
11883 |
-
var this$1 = this;
|
11884 |
-
|
11885 |
-
|
11886 |
-
if (this.isActive() || !this.title) {
|
11887 |
-
return;
|
11888 |
-
}
|
11889 |
-
|
11890 |
-
actives.forEach(function (active) { return active.hide(); });
|
11891 |
-
actives.push(this);
|
11892 |
-
|
11893 |
-
this._unbind = on(document, pointerUp, function (e) { return !within(e.target, this$1.$el) && this$1.hide(); });
|
11894 |
-
|
11895 |
-
clearTimeout(this.showTimer);
|
11896 |
-
this.showTimer = setTimeout(function () {
|
11897 |
-
this$1._show();
|
11898 |
-
this$1.hideTimer = setInterval(function () {
|
11899 |
-
|
11900 |
-
if (!isVisible(this$1.$el)) {
|
11901 |
-
this$1.hide();
|
11902 |
-
}
|
11903 |
-
|
11904 |
-
}, 150);
|
11905 |
-
}, this.delay);
|
11906 |
-
},
|
11907 |
-
|
11908 |
-
hide: function() {
|
11909 |
-
|
11910 |
-
if (!this.isActive() || matches(this.$el, 'input:focus')) {
|
11911 |
-
return;
|
11912 |
-
}
|
11913 |
-
|
11914 |
-
actives.splice(actives.indexOf(this), 1);
|
11915 |
-
|
11916 |
-
clearTimeout(this.showTimer);
|
11917 |
-
clearInterval(this.hideTimer);
|
11918 |
-
attr(this.$el, 'aria-expanded', false);
|
11919 |
-
this.toggleElement(this.tooltip, false);
|
11920 |
-
this.tooltip && remove(this.tooltip);
|
11921 |
-
this.tooltip = false;
|
11922 |
-
this._unbind();
|
11923 |
-
|
11924 |
-
},
|
11925 |
-
|
11926 |
-
_show: function() {
|
11927 |
-
|
11928 |
-
this.tooltip = append(this.container,
|
11929 |
-
("<div class=\"" + (this.clsPos) + "\" aria-expanded=\"true\" aria-hidden> <div class=\"" + (this.clsPos) + "-inner\">" + (this.title) + "</div> </div>")
|
11930 |
-
);
|
11931 |
-
|
11932 |
-
this.positionAt(this.tooltip, this.$el);
|
11933 |
-
|
11934 |
-
this.origin = this.getAxis() === 'y'
|
11935 |
-
? ((flipPosition(this.dir)) + "-" + (this.align))
|
11936 |
-
: ((this.align) + "-" + (flipPosition(this.dir)));
|
11937 |
-
|
11938 |
-
this.toggleElement(this.tooltip, true);
|
11939 |
-
|
11940 |
-
},
|
11941 |
-
|
11942 |
-
isActive: function() {
|
11943 |
-
return includes(actives, this);
|
11944 |
-
}
|
11945 |
-
|
11946 |
-
},
|
11947 |
-
|
11948 |
-
events: ( obj$1 = {
|
11949 |
-
|
11950 |
-
focus: 'show',
|
11951 |
-
blur: 'hide'
|
11952 |
-
|
11953 |
-
}, obj$1[(pointerEnter + " " + pointerLeave)] = function (e) {
|
11954 |
-
if (isTouch(e)) {
|
11955 |
-
return;
|
11956 |
-
}
|
11957 |
-
e.type === pointerEnter
|
11958 |
-
? this.show()
|
11959 |
-
: this.hide();
|
11960 |
-
}, obj$1[pointerDown] = function (e) {
|
11961 |
-
if (!isTouch(e)) {
|
11962 |
-
return;
|
11963 |
-
}
|
11964 |
-
this.isActive()
|
11965 |
-
? this.hide()
|
11966 |
-
: this.show();
|
11967 |
-
}, obj$1 )
|
11968 |
-
|
11969 |
-
};
|
11970 |
-
|
11971 |
-
var Upload = {
|
11972 |
-
|
11973 |
-
props: {
|
11974 |
-
allow: String,
|
11975 |
-
clsDragover: String,
|
11976 |
-
concurrent: Number,
|
11977 |
-
maxSize: Number,
|
11978 |
-
method: String,
|
11979 |
-
mime: String,
|
11980 |
-
msgInvalidMime: String,
|
11981 |
-
msgInvalidName: String,
|
11982 |
-
msgInvalidSize: String,
|
11983 |
-
multiple: Boolean,
|
11984 |
-
name: String,
|
11985 |
-
params: Object,
|
11986 |
-
type: String,
|
11987 |
-
url: String
|
11988 |
-
},
|
11989 |
-
|
11990 |
-
data: {
|
11991 |
-
allow: false,
|
11992 |
-
clsDragover: 'bdt-dragover',
|
11993 |
-
concurrent: 1,
|
11994 |
-
maxSize: 0,
|
11995 |
-
method: 'POST',
|
11996 |
-
mime: false,
|
11997 |
-
msgInvalidMime: 'Invalid File Type: %s',
|
11998 |
-
msgInvalidName: 'Invalid File Name: %s',
|
11999 |
-
msgInvalidSize: 'Invalid File Size: %s Kilobytes Max',
|
12000 |
-
multiple: false,
|
12001 |
-
name: 'files[]',
|
12002 |
-
params: {},
|
12003 |
-
type: '',
|
12004 |
-
url: '',
|
12005 |
-
abort: noop,
|
12006 |
-
beforeAll: noop,
|
12007 |
-
beforeSend: noop,
|
12008 |
-
complete: noop,
|
12009 |
-
completeAll: noop,
|
12010 |
-
error: noop,
|
12011 |
-
fail: noop,
|
12012 |
-
load: noop,
|
12013 |
-
loadEnd: noop,
|
12014 |
-
loadStart: noop,
|
12015 |
-
progress: noop
|
12016 |
-
},
|
12017 |
-
|
12018 |
-
events: {
|
12019 |
-
|
12020 |
-
change: function(e) {
|
12021 |
-
|
12022 |
-
if (!matches(e.target, 'input[type="file"]')) {
|
12023 |
-
return;
|
12024 |
-
}
|
12025 |
-
|
12026 |
-
e.preventDefault();
|
12027 |
-
|
12028 |
-
if (e.target.files) {
|
12029 |
-
this.upload(e.target.files);
|
12030 |
-
}
|
12031 |
-
|
12032 |
-
e.target.value = '';
|
12033 |
-
},
|
12034 |
-
|
12035 |
-
drop: function(e) {
|
12036 |
-
stop(e);
|
12037 |
-
|
12038 |
-
var transfer = e.dataTransfer;
|
12039 |
-
|
12040 |
-
if (!transfer || !transfer.files) {
|
12041 |
-
return;
|
12042 |
-
}
|
12043 |
-
|
12044 |
-
removeClass(this.$el, this.clsDragover);
|
12045 |
-
|
12046 |
-
this.upload(transfer.files);
|
12047 |
-
},
|
12048 |
-
|
12049 |
-
dragenter: function(e) {
|
12050 |
-
stop(e);
|
12051 |
-
},
|
12052 |
-
|
12053 |
-
dragover: function(e) {
|
12054 |
-
stop(e);
|
12055 |
-
addClass(this.$el, this.clsDragover);
|
12056 |
-
},
|
12057 |
-
|
12058 |
-
dragleave: function(e) {
|
12059 |
-
stop(e);
|
12060 |
-
removeClass(this.$el, this.clsDragover);
|
12061 |
-
}
|
12062 |
-
|
12063 |
-
},
|
12064 |
-
|
12065 |
-
methods: {
|
12066 |
-
|
12067 |
-
upload: function(files) {
|
12068 |
-
var this$1 = this;
|
12069 |
-
|
12070 |
-
|
12071 |
-
if (!files.length) {
|
12072 |
-
return;
|
12073 |
-
}
|
12074 |
-
|
12075 |
-
trigger(this.$el, 'upload', [files]);
|
12076 |
-
|
12077 |
-
for (var i = 0; i < files.length; i++) {
|
12078 |
-
|
12079 |
-
if (this.maxSize && this.maxSize * 1000 < files[i].size) {
|
12080 |
-
this.fail(this.msgInvalidSize.replace('%s', this.maxSize));
|
12081 |
-
return;
|
12082 |
-
}
|
12083 |
-
|
12084 |
-
if (this.allow && !match$1(this.allow, files[i].name)) {
|
12085 |
-
this.fail(this.msgInvalidName.replace('%s', this.allow));
|
12086 |
-
return;
|
12087 |
-
}
|
12088 |
-
|
12089 |
-
if (this.mime && !match$1(this.mime, files[i].type)) {
|
12090 |
-
this.fail(this.msgInvalidMime.replace('%s', this.mime));
|
12091 |
-
return;
|
12092 |
-
}
|
12093 |
-
|
12094 |
-
}
|
12095 |
-
|
12096 |
-
if (!this.multiple) {
|
12097 |
-
files = [files[0]];
|
12098 |
-
}
|
12099 |
-
|
12100 |
-
this.beforeAll(this, files);
|
12101 |
-
|
12102 |
-
var chunks = chunk(files, this.concurrent);
|
12103 |
-
var upload = function (files) {
|
12104 |
-
|
12105 |
-
var data = new FormData();
|
12106 |
-
|
12107 |
-
files.forEach(function (file) { return data.append(this$1.name, file); });
|
12108 |
-
|
12109 |
-
for (var key in this$1.params) {
|
12110 |
-
data.append(key, this$1.params[key]);
|
12111 |
-
}
|
12112 |
-
|
12113 |
-
ajax(this$1.url, {
|
12114 |
-
data: data,
|
12115 |
-
method: this$1.method,
|
12116 |
-
responseType: this$1.type,
|
12117 |
-
beforeSend: function (env) {
|
12118 |
-
|
12119 |
-
var xhr = env.xhr;
|
12120 |
-
xhr.upload && on(xhr.upload, 'progress', this$1.progress);
|
12121 |
-
['loadStart', 'load', 'loadEnd', 'abort'].forEach(function (type) { return on(xhr, type.toLowerCase(), this$1[type]); }
|
12122 |
-
);
|
12123 |
-
|
12124 |
-
this$1.beforeSend(env);
|
12125 |
-
|
12126 |
-
}
|
12127 |
-
}).then(
|
12128 |
-
function (xhr) {
|
12129 |
-
|
12130 |
-
this$1.complete(xhr);
|
12131 |
-
|
12132 |
-
if (chunks.length) {
|
12133 |
-
upload(chunks.shift());
|
12134 |
-
} else {
|
12135 |
-
this$1.completeAll(xhr);
|
12136 |
-
}
|
12137 |
-
|
12138 |
-
},
|
12139 |
-
function (e) { return this$1.error(e); }
|
12140 |
-
);
|
12141 |
-
|
12142 |
-
};
|
12143 |
-
|
12144 |
-
upload(chunks.shift());
|
12145 |
-
|
12146 |
-
}
|
12147 |
-
|
12148 |
-
}
|
12149 |
-
|
12150 |
-
};
|
12151 |
-
|
12152 |
-
function match$1(pattern, path) {
|
12153 |
-
return path.match(new RegExp(("^" + (pattern.replace(/\//g, '\\/').replace(/\*\*/g, '(\\/[^\\/]+)*').replace(/\*/g, '[^\\/]+').replace(/((?!\\))\?/g, '$1.')) + "$"), 'i'));
|
12154 |
-
}
|
12155 |
-
|
12156 |
-
function chunk(files, size) {
|
12157 |
-
var chunks = [];
|
12158 |
-
for (var i = 0; i < files.length; i += size) {
|
12159 |
-
var chunk = [];
|
12160 |
-
for (var j = 0; j < size; j++) {
|
12161 |
-
chunk.push(files[i + j]);
|
12162 |
-
}
|
12163 |
-
chunks.push(chunk);
|
12164 |
-
}
|
12165 |
-
return chunks;
|
12166 |
-
}
|
12167 |
-
|
12168 |
-
function stop(e) {
|
12169 |
-
e.preventDefault();
|
12170 |
-
e.stopPropagation();
|
12171 |
-
}
|
12172 |
-
|
12173 |
-
bdtUIkit.component('countdown', Countdown);
|
12174 |
-
bdtUIkit.component('filter', Filter);
|
12175 |
-
bdtUIkit.component('lightbox', Lightbox);
|
12176 |
-
bdtUIkit.component('lightboxPanel', lightboxPanel);
|
12177 |
-
bdtUIkit.component('notification', Notification);
|
12178 |
-
bdtUIkit.component('parallax', Parallax$1);
|
12179 |
-
bdtUIkit.component('slider', Slider$1);
|
12180 |
-
bdtUIkit.component('sliderParallax', SlideshowParallax);
|
12181 |
-
bdtUIkit.component('slideshow', Slideshow$1);
|
12182 |
-
bdtUIkit.component('slideshowParallax', SlideshowParallax);
|
12183 |
-
bdtUIkit.component('sortable', Sortable);
|
12184 |
-
bdtUIkit.component('tooltip', Tooltip);
|
12185 |
-
bdtUIkit.component('upload', Upload);
|
12186 |
-
|
12187 |
-
{
|
12188 |
-
boot(bdtUIkit);
|
12189 |
-
}
|
12190 |
-
|
12191 |
-
return bdtUIkit;
|
12192 |
-
|
12193 |
-
}));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/bdt-uikit.min.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! bdtUIkit 3.2.0 | http://www.getuikit.com | (c) 2014 - 2019 YOOtheme | MIT License */
|
2 |
-
|
3 |
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):(t=t||self).bdtUIkit=e()}(this,function(){"use strict";var e=Object.prototype,n=e.hasOwnProperty;function c(t,e){return n.call(t,e)}var i={},r=/([a-z\d])([A-Z])/g;function d(t){return t in i||(i[t]=t.replace(r,"$1-$2").toLowerCase()),i[t]}var o=/-(\w)/g;function f(t){return t.replace(o,s)}function s(t,e){return e?e.toUpperCase():""}function p(t){return t.length?s(0,t.charAt(0))+t.slice(1):""}var t=String.prototype,a=t.startsWith||function(t){return 0===this.lastIndexOf(t,0)};function w(t,e){return a.call(t,e)}var h=t.endsWith||function(t){return this.substr(-t.length)===t};function u(t,e){return h.call(t,e)}function l(t,e){return~this.indexOf(t,e)}var m=Array.prototype,g=t.includes||l,v=m.includes||l;function b(t,e){return t&&(O(t)?g:v).call(t,e)}var y=m.findIndex||function(t){for(var e=arguments,n=0;n<this.length;n++)if(t.call(e[1],this[n],n,this))return n;return-1};function x(t,e){return y.call(t,e)}var k=Array.isArray;function $(t){return"function"==typeof t}function I(t){return null!==t&&"object"==typeof t}function S(t){return I(t)&&Object.getPrototypeOf(t)===e}function T(t){return I(t)&&t===t.window}function E(t){return I(t)&&9===t.nodeType}function C(t){return I(t)&&!!t.jquery}function A(t){return t instanceof Node||I(t)&&1<=t.nodeType}var _=e.toString;function N(t){return _.call(t).match(/^\[object (NodeList|HTMLCollection)\]$/)}function M(t){return"boolean"==typeof t}function O(t){return"string"==typeof t}function D(t){return"number"==typeof t}function z(t){return D(t)||O(t)&&!isNaN(t-parseFloat(t))}function B(t){return!(k(t)?t.length:I(t)&&Object.keys(t).length)}function P(t){return void 0===t}function H(t){return M(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function L(t){var e=Number(t);return!isNaN(e)&&e}function F(t){return parseFloat(t)||0}function j(t){return A(t)||T(t)||E(t)?t:N(t)||C(t)?t[0]:k(t)?j(t[0]):null}function W(t){return A(t)?[t]:N(t)?m.slice.call(t):k(t)?t.map(j).filter(Boolean):C(t)?t.toArray():[]}function V(t){return k(t)?t:O(t)?t.split(/,(?![^(]*\))/).map(function(t){return z(t)?L(t):H(t.trim())}):[t]}function R(t){return t?u(t,"ms")?F(t):1e3*F(t):0}function Y(t,n){return t===n||I(t)&&I(n)&&Object.keys(t).length===Object.keys(n).length&&K(t,function(t,e){return t===n[e]})}function q(t,e,n){return t.replace(new RegExp(e+"|"+n,"mg"),function(t){return t===e?n:e})}var U=Object.assign||function(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];t=Object(t);for(var i=0;i<e.length;i++){var r=e[i];if(null!==r)for(var o in r)c(r,o)&&(t[o]=r[o])}return t};function X(t){return t[t.length-1]}function K(t,e){for(var n in t)if(!1===e(t[n],n))return!1;return!0}function G(t,r){return t.sort(function(t,e){var n=t[r];void 0===n&&(n=0);var i=e[r];return void 0===i&&(i=0),i<n?1:n<i?-1:0})}function J(t,n){var i=new Set;return t.filter(function(t){var e=t[n];return!i.has(e)&&(i.add(e)||!0)})}function Z(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),Math.min(Math.max(L(t)||0,e),n)}function Q(){}function tt(t,e){return t.left<e.right&&t.right>e.left&&t.top<e.bottom&&t.bottom>e.top}function et(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}var nt={ratio:function(t,e,n){var i,r="width"===e?"height":"width";return(i={})[r]=t[e]?Math.round(n*t[r]/t[e]):t[r],i[e]=n,i},contain:function(n,i){var r=this;return K(n=U({},n),function(t,e){return n=n[e]>i[e]?r.ratio(n,e,i[e]):n}),n},cover:function(n,i){var r=this;return K(n=this.contain(n,i),function(t,e){return n=n[e]<i[e]?r.ratio(n,e,i[e]):n}),n}};function it(t,e,n){if(I(e))for(var i in e)it(t,i,e[i]);else{if(P(n))return(t=j(t))&&t.getAttribute(e);W(t).forEach(function(t){$(n)&&(n=n.call(t,it(t,e))),null===n?ot(t,e):t.setAttribute(e,n)})}}function rt(t,e){return W(t).some(function(t){return t.hasAttribute(e)})}function ot(t,e){t=W(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.hasAttribute(e)&&t.removeAttribute(e)})})}function st(t,e){for(var n=0,i=[e,"data-"+e];n<i.length;n++)if(rt(t,i[n]))return it(t,i[n])}var at=/msie|trident/i.test(window.navigator.userAgent),ht="rtl"===it(document.documentElement,"dir"),ct="ontouchstart"in window,ut=window.PointerEvent,lt=ct||window.DocumentTouch&&document instanceof DocumentTouch||navigator.maxTouchPoints,dt=ut?"pointerdown":ct?"touchstart":"mousedown",ft=ut?"pointermove":ct?"touchmove":"mousemove",pt=ut?"pointerup":ct?"touchend":"mouseup",mt=ut?"pointerenter":ct?"":"mouseenter",gt=ut?"pointerleave":ct?"":"mouseleave",vt=ut?"pointercancel":"touchcancel";function wt(t,e){return j(t)||xt(t,yt(t,e))}function bt(t,e){var n=W(t);return n.length&&n||kt(t,yt(t,e))}function yt(t,e){return void 0===e&&(e=document),Tt(t)||E(e)?e:e.ownerDocument}function xt(t,e){return j($t(t,e,"querySelector"))}function kt(t,e){return W($t(t,e,"querySelectorAll"))}function $t(t,s,e){if(void 0===s&&(s=document),!t||!O(t))return null;var a;Tt(t=t.replace(St,"$1 *"))&&(a=[],t=function(t){return t.match(Et).map(function(t){return t.replace(/,$/,"").trim()})}(t).map(function(t,e){var n=s;if("!"===t[0]){var i=t.substr(1).trim().split(" ");n=Mt(s.parentNode,i[0]),t=i.slice(1).join(" ").trim()}if("-"===t[0]){var r=t.substr(1).trim().split(" "),o=(n||s).previousElementSibling;n=_t(o,t.substr(1))?o:null,t=r.slice(1).join(" ")}return n?(n.id||(n.id="bdt-"+Date.now()+e,a.push(function(){return ot(n,"id")})),"#"+zt(n.id)+" "+t):null}).filter(Boolean).join(","),s=document);try{return s[e](t)}catch(t){return null}finally{a&&a.forEach(function(t){return t()})}}var It=/(^|[^\\],)\s*[!>+~-]/,St=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g;function Tt(t){return O(t)&&t.match(It)}var Et=/.*?[^\\](?:,|$)/g;var Ct=Element.prototype,At=Ct.matches||Ct.webkitMatchesSelector||Ct.msMatchesSelector;function _t(t,e){return W(t).some(function(t){return At.call(t,e)})}var Nt=Ct.closest||function(t){var e=this;do{if(_t(e,t))return e;e=e.parentNode}while(e&&1===e.nodeType)};function Mt(t,e){return w(e,">")&&(e=e.slice(1)),A(t)?Nt.call(t,e):W(t).map(function(t){return Mt(t,e)}).filter(Boolean)}function Ot(t,e){var n=[];for(t=j(t);(t=t.parentNode)&&1===t.nodeType;)_t(t,e)&&n.push(t);return n}var Dt=window.CSS&&CSS.escape||function(t){return t.replace(/([^\x7f-\uFFFF\w-])/g,function(t){return"\\"+t})};function zt(t){return O(t)?Dt.call(null,t):""}var Bt={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function Pt(t){return W(t).some(function(t){return Bt[t.tagName.toLowerCase()]})}function Ht(t){return W(t).some(function(t){return t.offsetWidth||t.offsetHeight||t.getClientRects().length})}var Lt="input,select,textarea,button";function Ft(t){return W(t).some(function(t){return _t(t,Lt)})}function jt(t,e){return W(t).filter(function(t){return _t(t,e)})}function Wt(t,e){return O(e)?_t(t,e)||Mt(t,e):t===e||(E(e)?e.documentElement:j(e)).contains(j(t))}function Vt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Xt(t),i=n[0],r=n[1],o=n[2],s=n[3],a=n[4];return i=Zt(i),1<s.length&&(s=function(e){return function(t){return k(t.detail)?e.apply(void 0,[t].concat(t.detail)):e(t)}}(s)),o&&(s=function(t,i,r){var o=this;return function(n){t.forEach(function(t){var e=">"===i[0]?kt(i,t).reverse().filter(function(t){return Wt(n.target,t)})[0]:Mt(n.target,i);e&&(n.delegate=t,n.current=e,r.call(o,n))})}}(i,o,s)),a&&a.self&&(s=function(e){return function(t){if(t.target===t.currentTarget||t.target===t.current)return e.call(null,t)}}(s)),a=Kt(a),r.split(" ").forEach(function(e){return i.forEach(function(t){return t.addEventListener(e,s,a)})}),function(){return Rt(i,r,s,a)}}function Rt(t,e,n,i){void 0===i&&(i=!1),i=Kt(i),t=Zt(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.removeEventListener(e,n,i)})})}function Yt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Xt(t),i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],h=n[5],c=Vt(i,r,o,function(t){var e=!h||h(t);e&&(c(),s(t,e))},a);return c}function qt(t,n,i){return Zt(t).reduce(function(t,e){return t&&e.dispatchEvent(Ut(n,!0,!0,i))},!0)}function Ut(t,e,n,i){if(void 0===e&&(e=!0),void 0===n&&(n=!1),O(t)){var r=document.createEvent("CustomEvent");r.initCustomEvent(t,e,n,i),t=r}return t}function Xt(t){return $(t[2])&&t.splice(2,0,!1),t}function Kt(t){return t&&at&&!M(t)?!!t.capture:t}function Gt(t){return t&&"addEventListener"in t}function Jt(t){return Gt(t)?t:j(t)}function Zt(t){return k(t)?t.map(Jt).filter(Boolean):O(t)?kt(t):Gt(t)?[t]:W(t)}function Qt(t){return"touch"===t.pointerType||!!t.touches}function te(t,e){void 0===e&&(e="client");var n=t.touches,i=t.changedTouches,r=n&&n[0]||i&&i[0]||t;return{x:r[e+"X"],y:r[e+"Y"]}}function ee(){var n=this;this.promise=new ne(function(t,e){n.reject=e,n.resolve=t})}var ne="Promise"in window?window.Promise:oe,ie=2,re="setImmediate"in window?setImmediate:setTimeout;function oe(t){this.state=ie,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(t){e.reject(t)}}oe.reject=function(n){return new oe(function(t,e){e(n)})},oe.resolve=function(n){return new oe(function(t,e){t(n)})},oe.all=function(s){return new oe(function(n,t){var i=[],r=0;function e(e){return function(t){i[e]=t,(r+=1)===s.length&&n(i)}}0===s.length&&n(i);for(var o=0;o<s.length;o+=1)oe.resolve(s[o]).then(e(o),t)})},oe.race=function(i){return new oe(function(t,e){for(var n=0;n<i.length;n+=1)oe.resolve(i[n]).then(t,e)})};var se=oe.prototype;function ae(s,a){return new ne(function(t,e){var n=U({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:Q,responseType:""},a);n.beforeSend(n);var i=n.xhr;for(var r in n)if(r in i)try{i[r]=n[r]}catch(t){}for(var o in i.open(n.method.toUpperCase(),s),n.headers)i.setRequestHeader(o,n.headers[o]);Vt(i,"load",function(){0===i.status||200<=i.status&&i.status<300||304===i.status?t(i):e(U(Error(i.statusText),{xhr:i,status:i.status}))}),Vt(i,"error",function(){return e(U(Error("Network Error"),{xhr:i}))}),Vt(i,"timeout",function(){return e(U(Error("Network Timeout"),{xhr:i}))}),i.send(n.data)})}function he(i,r,o){return new ne(function(t,e){var n=new Image;n.onerror=e,n.onload=function(){return t(n)},o&&(n.sizes=o),r&&(n.srcset=r),n.src=i})}function ce(t){if("loading"===document.readyState)var e=Vt(document,"DOMContentLoaded",function(){e(),t()});else t()}function ue(t,e){return e?W(t).indexOf(j(e)):W((t=j(t))&&t.parentNode.children).indexOf(t)}function le(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var r=(e=W(e)).length;return t=z(t)?L(t):"next"===t?n+1:"previous"===t?n-1:ue(e,t),i?Z(t,0,r-1):(t%=r)<0?t+r:t}function de(t){return(t=Te(t)).innerHTML="",t}function fe(t,e){return t=Te(t),P(e)?t.innerHTML:pe(t.hasChildNodes()?de(t):t,e)}function pe(e,t){return e=Te(e),ve(t,function(t){return e.appendChild(t)})}function me(e,t){return e=Te(e),ve(t,function(t){return e.parentNode.insertBefore(t,e)})}function ge(e,t){return e=Te(e),ve(t,function(t){return e.nextSibling?me(e.nextSibling,t):pe(e.parentNode,t)})}function ve(t,e){return(t=O(t)?Ie(t):t)?"length"in t?W(t).map(e):e(t):null}function we(t){W(t).map(function(t){return t.parentNode&&t.parentNode.removeChild(t)})}function be(t,e){for(e=j(me(t,e));e.firstChild;)e=e.firstChild;return pe(e,t),e}function ye(t,e){return W(W(t).map(function(t){return t.hasChildNodes?be(W(t.childNodes),e):pe(t,e)}))}function xe(t){W(t).map(function(t){return t.parentNode}).filter(function(t,e,n){return n.indexOf(t)===e}).forEach(function(t){me(t,t.childNodes),we(t)})}se.resolve=function(t){var e=this;if(e.state===ie){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=t&&t.then;if(null!==t&&I(t)&&$(i))return void i.call(t,function(t){n||e.resolve(t),n=!0},function(t){n||e.reject(t),n=!0})}catch(t){return void(n||e.reject(t))}e.state=0,e.value=t,e.notify()}},se.reject=function(t){var e=this;if(e.state===ie){if(t===e)throw new TypeError("Promise settled with itself.");e.state=1,e.value=t,e.notify()}},se.notify=function(){var o=this;re(function(){if(o.state!==ie)for(;o.deferred.length;){var t=o.deferred.shift(),e=t[0],n=t[1],i=t[2],r=t[3];try{0===o.state?$(e)?i(e.call(void 0,o.value)):i(o.value):1===o.state&&($(n)?i(n.call(void 0,o.value)):r(o.value))}catch(t){r(t)}}})},se.then=function(n,i){var r=this;return new oe(function(t,e){r.deferred.push([n,i,t,e]),r.notify()})},se.catch=function(t){return this.then(void 0,t)};var ke=/^\s*<(\w+|!)[^>]*>/,$e=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ie(t){var e=$e.exec(t);if(e)return document.createElement(e[1]);var n=document.createElement("div");return ke.test(t)?n.insertAdjacentHTML("beforeend",t.trim()):n.textContent=t,1<n.childNodes.length?W(n.childNodes):n.firstChild}function Se(t,e){if(t&&1===t.nodeType)for(e(t),t=t.firstElementChild;t;)Se(t,e),t=t.nextElementSibling}function Te(t,e){return O(t)?Ce(t)?j(Ie(t)):xt(t,e):j(t)}function Ee(t,e){return O(t)?Ce(t)?W(Ie(t)):kt(t,e):W(t)}function Ce(t){return"<"===t[0]||t.match(/^\s*</)}function Ae(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];ze(t,e,"add")}function _e(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];ze(t,e,"remove")}function Ne(t,e){it(t,"class",function(t){return(t||"").replace(new RegExp("\\b"+e+"\\b","g"),"")})}function Me(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];e[0]&&_e(t,e[0]),e[1]&&Ae(t,e[1])}function Oe(t,e){return e&&W(t).some(function(t){return t.classList.contains(e.split(" ")[0])})}function De(t){for(var i=[],e=arguments.length-1;0<e--;)i[e]=arguments[e+1];if(i.length){var r=O(X(i=Be(i)))?[]:i.pop();i=i.filter(Boolean),W(t).forEach(function(t){for(var e=t.classList,n=0;n<i.length;n++)Pe.Force?e.toggle.apply(e,[i[n]].concat(r)):e[(P(r)?!e.contains(i[n]):r)?"add":"remove"](i[n])})}}function ze(t,n,i){(n=Be(n).filter(Boolean)).length&&W(t).forEach(function(t){var e=t.classList;Pe.Multiple?e[i].apply(e,n):n.forEach(function(t){return e[i](t)})})}function Be(t){return t.reduce(function(t,e){return t.concat.call(t,O(e)&&b(e," ")?e.trim().split(" "):e)},[])}var Pe={get Multiple(){return this.get("_multiple")},get Force(){return this.get("_force")},get:function(t){if(!c(this,t)){var e=document.createElement("_").classList;e.add("a","b"),e.toggle("c",!1),this._multiple=e.contains("b"),this._force=!e.contains("c")}return this[t]}},He={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function Le(t,e,r){return W(t).map(function(n){if(O(e)){if(e=Ye(e),P(r))return je(n,e);r||D(r)?n.style[e]=z(r)&&!He[e]?r+"px":r:n.style.removeProperty(e)}else{if(k(e)){var i=Fe(n);return e.reduce(function(t,e){return t[e]=i[Ye(e)],t},{})}I(e)&&K(e,function(t,e){return Le(n,e,t)})}return n})[0]}function Fe(t,e){return(t=j(t)).ownerDocument.defaultView.getComputedStyle(t,e)}function je(t,e,n){return Fe(t,n)[e]}var We={};function Ve(t){var e=document.documentElement;if(!at)return Fe(e).getPropertyValue("--bdt-"+t);if(!(t in We)){var n=pe(e,document.createElement("div"));Ae(n,"bdt-"+t),We[t]=je(n,"content",":before").replace(/^["'](.*)["']$/,"$1"),we(n)}return We[t]}var Re={};function Ye(t){var e=Re[t];return e=e||(Re[t]=function(t){t=d(t);var e=document.documentElement.style;if(t in e)return t;var n,i=qe.length;for(;i--;)if((n="-"+qe[i]+"-"+t)in e)return n}(t)||t)}var qe=["webkit","moz","ms"];function Ue(t,s,a,h){return void 0===a&&(a=400),void 0===h&&(h="linear"),ne.all(W(t).map(function(o){return new ne(function(n,i){for(var t in s){var e=Le(o,t);""===e&&Le(o,t,e)}var r=setTimeout(function(){return qt(o,"transitionend")},a);Yt(o,"transitionend transitioncanceled",function(t){var e=t.type;clearTimeout(r),_e(o,"bdt-transition"),Le(o,{"transition-property":"","transition-duration":"","transition-timing-function":""}),"transitioncanceled"===e?i():n()},{self:!0}),Ae(o,"bdt-transition"),Le(o,U({"transition-property":Object.keys(s).map(Ye).join(","),"transition-duration":a+"ms","transition-timing-function":h},s))})}))}var Xe={start:Ue,stop:function(t){return qt(t,"transitionend"),ne.resolve()},cancel:function(t){qt(t,"transitioncanceled")},inProgress:function(t){return Oe(t,"bdt-transition")}},Ke="bdt-animation-",Ge="bdt-cancel-animation";function Je(t,e,n,a,h){var c=arguments;return void 0===n&&(n=200),ne.all(W(t).map(function(s){return new ne(function(i,r){if(Oe(s,Ge))requestAnimationFrame(function(){return ne.resolve().then(function(){return Je.apply(void 0,c).then(i,r)})});else{var t=e+" "+Ke+(h?"leave":"enter");w(e,Ke)&&(a&&(t+=" bdt-transform-origin-"+a),h&&(t+=" "+Ke+"reverse")),o(),Yt(s,"animationend animationcancel",function(t){var e=t.type,n=!1;"animationcancel"===e?(r(),o()):(i(),ne.resolve().then(function(){n=!0,o()})),requestAnimationFrame(function(){n||(Ae(s,Ge),requestAnimationFrame(function(){return _e(s,Ge)}))})},{self:!0}),Le(s,"animationDuration",n+"ms"),Ae(s,t)}function o(){Le(s,"animationDuration",""),Ne(s,Ke+"\\S*")}})}))}var Ze=new RegExp(Ke+"(enter|leave)"),Qe={in:function(t,e,n,i){return Je(t,e,n,i,!1)},out:function(t,e,n,i){return Je(t,e,n,i,!0)},inProgress:function(t){return Ze.test(it(t,"class"))},cancel:function(t){qt(t,"animationcancel")}},tn={width:["x","left","right"],height:["y","top","bottom"]};function en(t,e,u,l,d,n,i,r){u=ln(u),l=ln(l);var f={element:u,target:l};if(!t||!e)return f;var p=rn(t),m=rn(e),g=m;if(un(g,u,p,-1),un(g,l,m,1),d=dn(d,p.width,p.height),n=dn(n,m.width,m.height),d.x+=n.x,d.y+=n.y,g.left+=d.x,g.top+=d.y,i){var o=[rn(yn(t))];r&&o.unshift(rn(r)),K(tn,function(t,s){var a=t[0],h=t[1],c=t[2];!0!==i&&!b(i,a)||o.some(function(i){var t=u[a]===h?-p[s]:u[a]===c?p[s]:0,e=l[a]===h?m[s]:l[a]===c?-m[s]:0;if(g[h]<i[h]||g[h]+p[s]>i[c]){var n=p[s]/2,r="center"===l[a]?-m[s]/2:0;return"center"===u[a]&&(o(n,r)||o(-n,-r))||o(t,e)}function o(e,t){var n=g[h]+e+t-2*d[a];if(n>=i[h]&&n+p[s]<=i[c])return g[h]=n,["element","target"].forEach(function(t){f[t][a]=e?f[t][a]===tn[s][1]?tn[s][2]:tn[s][1]:f[t][a]}),!0}})})}return nn(t,g),f}function nn(n,i){if(n=j(n),!i)return rn(n);var r=nn(n),o=Le(n,"position");["left","top"].forEach(function(t){if(t in i){var e=Le(n,t);Le(n,t,i[t]-r[t]+F("absolute"===o&&"auto"===e?on(n)[t]:e))}})}function rn(t){if(!(t=j(t)))return{};var e,n,i=yn(t),r=i.pageYOffset,o=i.pageXOffset;if(T(t)){var s=t.innerHeight,a=t.innerWidth;return{top:r,left:o,height:s,width:a,bottom:r+s,right:o+a}}Ht(t)||"none"!==Le(t,"display")||(e=it(t,"style"),n=it(t,"hidden"),it(t,{style:(e||"")+";display:block !important;",hidden:null}));var h=t.getBoundingClientRect();return P(e)||it(t,{style:e,hidden:n}),{height:h.height,width:h.width,top:h.top+r,left:h.left+o,bottom:h.bottom+r,right:h.right+o}}function on(i){var r=(i=j(i)).offsetParent||function(t){return xn(t).documentElement}(i),o=nn(r),t=["top","left"].reduce(function(t,e){var n=p(e);return t[e]-=o[e]+F(Le(i,"margin"+n))+F(Le(r,"border"+n+"Width")),t},nn(i));return{top:t.top,left:t.left}}var sn=hn("height"),an=hn("width");function hn(i){var r=p(i);return function(t,e){if(t=j(t),P(e)){if(T(t))return t["inner"+r];if(E(t)){var n=t.documentElement;return Math.max(n["offset"+r],n["scroll"+r])}return(e="auto"===(e=Le(t,i))?t["offset"+r]:F(e)||0)-cn(i,t)}Le(t,i,e||0===e?+e+cn(i,t)+"px":"")}}function cn(t,n,e){return void 0===e&&(e="border-box"),Le(n,"boxSizing")===e?tn[t].slice(1).map(p).reduce(function(t,e){return t+F(Le(n,"padding"+e))+F(Le(n,"border"+e+"Width"))},0):0}function un(o,s,a,h){K(tn,function(t,e){var n=t[0],i=t[1],r=t[2];s[n]===r?o[i]+=a[e]*h:"center"===s[n]&&(o[i]+=a[e]*h/2)})}function ln(t){var e=/left|center|right/,n=/top|center|bottom/;return 1===(t=(t||"").split(" ")).length&&(t=e.test(t[0])?t.concat(["center"]):n.test(t[0])?["center"].concat(t):["center","center"]),{x:e.test(t[0])?t[0]:"center",y:n.test(t[1])?t[1]:"center"}}function dn(t,e,n){var i=(t||"").split(" "),r=i[0],o=i[1];return{x:r?F(r)*(u(r,"%")?e/100:1):0,y:o?F(o)*(u(o,"%")?n/100:1):0}}function fn(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function pn(t,e,n){if(void 0===e&&(e=0),void 0===n&&(n=0),!Ht(t))return!1;var i=yn(t=j(t)),r=t.getBoundingClientRect(),o={top:-e,left:-n,bottom:e+sn(i),right:n+an(i)};return tt(r,o)||et({x:r.left,y:r.top},o)}function mn(t,e){if(void 0===e&&(e=0),!Ht(t))return 0;var n=yn(t=j(t)),i=xn(t),r=t.offsetHeight+e,o=vn(t)[0],s=sn(n),a=s+Math.min(0,o-s),h=Math.max(0,s-(sn(i)+e-(o+r)));return Z((a+n.pageYOffset-o)/((a+(r-(h<s?h:0)))/100)/100)}function gn(t,e){if(T(t=j(t))||E(t)){var n=yn(t);(0,n.scrollTo)(n.pageXOffset,e)}else t.scrollTop=e}function vn(t){var e=[0,0];do{if(e[0]+=t.offsetTop,e[1]+=t.offsetLeft,"fixed"===Le(t,"position")){var n=yn(t);return e[0]+=n.pageYOffset,e[1]+=n.pageXOffset,e}}while(t=t.offsetParent);return e}function wn(t,e,n){return void 0===e&&(e="width"),void 0===n&&(n=window),z(t)?+t:u(t,"vh")?bn(sn(yn(n)),t):u(t,"vw")?bn(an(yn(n)),t):u(t,"%")?bn(rn(n)[e],t):F(t)}function bn(t,e){return t*F(e)/100}function yn(t){return T(t)?t:xn(t).defaultView}function xn(t){return j(t).ownerDocument}var kn={reads:[],writes:[],read:function(t){return this.reads.push(t),In(),t},write:function(t){return this.writes.push(t),In(),t},clear:function(t){return Tn(this.reads,t)||Tn(this.writes,t)},flush:$n};function $n(){Sn(kn.reads),Sn(kn.writes.splice(0,kn.writes.length)),kn.scheduled=!1,(kn.reads.length||kn.writes.length)&&In(!0)}function In(t){void 0===t&&(t=!1),kn.scheduled||(kn.scheduled=!0,t?ne.resolve().then($n):requestAnimationFrame($n))}function Sn(t){for(var e;e=t.shift();)e()}function Tn(t,e){var n=t.indexOf(e);return!!~n&&!!t.splice(n,1)}function En(){}function Cn(t,e){return(e.y-t.y)/(e.x-t.x)}En.prototype={positions:[],position:null,init:function(){var i=this;this.positions=[],this.position=null;var r=!1;this.unbind=Vt(document,"mousemove",function(n){r||(setTimeout(function(){var t=Date.now(),e=i.positions.length;e&&100<t-i.positions[e-1].time&&i.positions.splice(0,e),i.positions.push({time:t,x:n.pageX,y:n.pageY}),5<i.positions.length&&i.positions.shift(),r=!1},5),r=!0)})},cancel:function(){this.unbind&&this.unbind()},movesTo:function(t){if(this.positions.length<2)return!1;var e=nn(t),n=X(this.positions),i=this.positions[0];if(e.left<=n.x&&n.x<=e.right&&e.top<=n.y&&n.y<=e.bottom)return!1;var r=[[{x:e.left,y:e.top},{x:e.right,y:e.bottom}],[{x:e.right,y:e.top},{x:e.left,y:e.bottom}]];return e.right<=n.x||(e.left>=n.x?(r[0].reverse(),r[1].reverse()):e.bottom<=n.y?r[0].reverse():e.top>=n.y&&r[1].reverse()),!!r.reduce(function(t,e){return t+(Cn(i,e[0])<Cn(n,e[0])&&Cn(i,e[1])>Cn(n,e[1]))},0)}};var An={};function _n(t,e,n){return An.computed($(t)?t.call(n,n):t,$(e)?e.call(n,n):e)}function Nn(t,e){return t=t&&!k(t)?[t]:t,e?t?t.concat(e):k(e)?e:[e]:t}function Mn(e,n,i){var r={};if($(n)&&(n=n.options),n.extends&&(e=Mn(e,n.extends,i)),n.mixins)for(var t=0,o=n.mixins.length;t<o;t++)e=Mn(e,n.mixins[t],i);for(var s in e)h(s);for(var a in n)c(e,a)||h(a);function h(t){r[t]=(An[t]||function(t,e){return P(e)?t:e})(e[t],n[t],i)}return r}function On(t,e){var n;void 0===e&&(e=[]);try{return t?w(t,"{")?JSON.parse(t):e.length&&!b(t,":")?((n={})[e[0]]=t,n):t.split(";").reduce(function(t,e){var n=e.split(/:(.*)/),i=n[0],r=n[1];return i&&!P(r)&&(t[i.trim()]=r.trim()),t},{}):{}}catch(t){return{}}}An.events=An.created=An.beforeConnect=An.connected=An.beforeDisconnect=An.disconnected=An.destroy=Nn,An.args=function(t,e){return!1!==e&&Nn(e||t)},An.update=function(t,e){return G(Nn(t,$(e)?{read:e}:e),"order")},An.props=function(t,e){return k(e)&&(e=e.reduce(function(t,e){return t[e]=String,t},{})),An.methods(t,e)},An.computed=An.methods=function(t,e){return e?t?U({},t,e):e:t},An.data=function(e,n,t){return t?_n(e,n,t):n?e?function(t){return _n(e,n,t)}:n:e};function Dn(t){this.id=++zn,this.el=j(t)}var zn=0;function Bn(t,e){try{t.contentWindow.postMessage(JSON.stringify(U({event:"command"},e)),"*")}catch(t){}}Dn.prototype.isVideo=function(){return this.isYoutube()||this.isVimeo()||this.isHTML5()},Dn.prototype.isHTML5=function(){return"VIDEO"===this.el.tagName},Dn.prototype.isIFrame=function(){return"IFRAME"===this.el.tagName},Dn.prototype.isYoutube=function(){return this.isIFrame()&&!!this.el.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)},Dn.prototype.isVimeo=function(){return this.isIFrame()&&!!this.el.src.match(/vimeo\.com\/video\/.*/)},Dn.prototype.enableApi=function(){var e=this;if(this.ready)return this.ready;var n,i=this.isYoutube(),r=this.isVimeo();return i||r?this.ready=new ne(function(t){Yt(e.el,"load",function(){if(i){var t=function(){return Bn(e.el,{event:"listening",id:e.id})};n=setInterval(t,100),t()}}),function(i){return new ne(function(n){Yt(window,"message",function(t,e){return n(e)},!1,function(t){var e=t.data;if(e&&O(e)){try{e=JSON.parse(e)}catch(t){return}return e&&i(e)}})})}(function(t){return i&&t.id===e.id&&"onReady"===t.event||r&&Number(t.player_id)===e.id}).then(function(){t(),n&&clearInterval(n)}),it(e.el,"src",e.el.src+(b(e.el.src,"?")?"&":"?")+(i?"enablejsapi=1":"api=1&player_id="+e.id))}):ne.resolve()},Dn.prototype.play=function(){var t=this;if(this.isVideo())if(this.isIFrame())this.enableApi().then(function(){return Bn(t.el,{func:"playVideo",method:"play"})});else if(this.isHTML5())try{var e=this.el.play();e&&e.catch(Q)}catch(t){}},Dn.prototype.pause=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return Bn(t.el,{func:"pauseVideo",method:"pause"})}):this.isHTML5()&&this.el.pause())},Dn.prototype.mute=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return Bn(t.el,{func:"mute",method:"setVolume",value:0})}):this.isHTML5()&&(this.el.muted=!0,it(this.el,"muted","")))};var Pn="IntersectionObserver"in window?window.IntersectionObserver:function(){function t(e,t){var n=this;void 0===t&&(t={});var i=t.rootMargin;void 0===i&&(i="0 0"),this.targets=[];var r,o=(i||"0 0").split(" ").map(F),s=o[0],a=o[1];this.offsetTop=s,this.offsetLeft=a,this.apply=function(){r=r||requestAnimationFrame(function(){return setTimeout(function(){var t=n.takeRecords();t.length&&e(t,n),r=!1})})},this.off=Vt(window,"scroll resize load",this.apply,{passive:!0,capture:!0})}return t.prototype.takeRecords=function(){var n=this;return this.targets.filter(function(t){var e=pn(t.target,n.offsetTop,n.offsetLeft);if(null===t.isIntersecting||e^t.isIntersecting)return t.isIntersecting=e,!0})},t.prototype.observe=function(t){this.targets.push({target:t,isIntersecting:null}),this.apply()},t.prototype.disconnect=function(){this.targets=[],this.off()},t}();function Hn(t){return!(!w(t,"bdt-")&&!w(t,"data-bdt-"))&&f(t.replace("data-bdt-","").replace("bdt-",""))}function Ln(t){this._init(t)}var Fn,jn,Wn,Vn,Rn,Yn,qn,Un,Xn;function Kn(t,e){if(t)for(var n in t)t[n]._connected&&t[n]._callUpdate(e)}function Gn(t,e){var n={},i=t.args;void 0===i&&(i=[]);var r=t.props;void 0===r&&(r={});var o=t.el;if(!r)return n;for(var s in r){var a=d(s),h=st(o,a);if(!P(h)){if(h=r[s]===Boolean&&""===h||ti(r[s],h),"target"===a&&(!h||w(h,"_")))continue;n[s]=h}}var c=On(st(o,e),i);for(var u in c){var l=f(u);void 0!==r[l]&&(n[l]=ti(r[l],c[u]))}return n}function Jn(i,r,o){Object.defineProperty(i,r,{enumerable:!0,get:function(){var t=i._computeds,e=i.$props,n=i.$el;return c(t,r)||(t[r]=(o.get||o).call(i,e,n)),t[r]},set:function(t){var e=i._computeds;e[r]=o.set?o.set.call(i,t):t,P(e[r])&&delete e[r]}})}function Zn(e,n,i){S(n)||(n={name:i,handler:n});var t=n.name,r=n.el,o=n.handler,s=n.capture,a=n.passive,h=n.delegate,c=n.filter,u=n.self;r=$(r)?r.call(e):r||e.$el,k(r)?r.forEach(function(t){return Zn(e,U({},n,{el:t}),i)}):!r||c&&!c.call(e)||e._events.push(Vt(r,t,h?O(h)?h:h.call(e):null,O(o)?e[o]:o.bind(e),{passive:a,capture:s,self:u}))}function Qn(t,e){return t.every(function(t){return!t||!c(t,e)})}function ti(t,e){return t===Boolean?H(e):t===Number?L(e):"list"===t?V(e):t?t(e):e}Ln.util=Object.freeze({ajax:ae,getImage:he,transition:Ue,Transition:Xe,animate:Je,Animation:Qe,attr:it,hasAttr:rt,removeAttr:ot,data:st,addClass:Ae,removeClass:_e,removeClasses:Ne,replaceClass:Me,hasClass:Oe,toggleClass:De,positionAt:en,offset:nn,position:on,height:sn,width:an,boxModelAdjust:cn,flipPosition:fn,isInView:pn,scrolledOver:mn,scrollTop:gn,offsetPosition:vn,toPx:wn,ready:ce,index:ue,getIndex:le,empty:de,html:fe,prepend:function(e,t){return(e=Te(e)).hasChildNodes()?ve(t,function(t){return e.insertBefore(t,e.firstChild)}):pe(e,t)},append:pe,before:me,after:ge,remove:we,wrapAll:be,wrapInner:ye,unwrap:xe,fragment:Ie,apply:Se,$:Te,$$:Ee,isIE:at,isRtl:ht,hasTouch:lt,pointerDown:dt,pointerMove:ft,pointerUp:pt,pointerEnter:mt,pointerLeave:gt,pointerCancel:vt,on:Vt,off:Rt,once:Yt,trigger:qt,createEvent:Ut,toEventTargets:Zt,isTouch:Qt,getEventPos:te,fastdom:kn,isVoidElement:Pt,isVisible:Ht,selInput:Lt,isInput:Ft,filter:jt,within:Wt,hasOwn:c,hyphenate:d,camelize:f,ucfirst:p,startsWith:w,endsWith:u,includes:b,findIndex:x,isArray:k,isFunction:$,isObject:I,isPlainObject:S,isWindow:T,isDocument:E,isJQuery:C,isNode:A,isNodeCollection:N,isBoolean:M,isString:O,isNumber:D,isNumeric:z,isEmpty:B,isUndefined:P,toBoolean:H,toNumber:L,toFloat:F,toNode:j,toNodes:W,toList:V,toMs:R,isEqual:Y,swap:q,assign:U,last:X,each:K,sortBy:G,uniqueBy:J,clamp:Z,noop:Q,intersectRect:tt,pointInRect:et,Dimensions:nt,MouseTracker:En,mergeOptions:Mn,parseOptions:On,Player:Dn,Promise:ne,Deferred:ee,IntersectionObserver:Pn,query:wt,queryAll:bt,find:xt,findAll:kt,matches:_t,closest:Mt,parents:Ot,escape:zt,css:Le,getStyles:Fe,getStyle:je,getCssVar:Ve,propName:Ye}),Ln.data="__uikit__",Ln.prefix="bdt-",Ln.options={},Wn=(Fn=Ln).data,Fn.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},Fn.mixin=function(t,e){(e=(O(e)?Fn.component(e):e)||this).options=Mn(e.options,t)},Fn.extend=function(t){function e(t){this._init(t)}return t=t||{},((e.prototype=Object.create(this.prototype)).constructor=e).options=Mn(this.options,t),e.super=this,e.extend=this.extend,e},Fn.update=function(t,e){(function t(e,n){e&&e!==document.body&&e.parentNode&&(t(e.parentNode,n),n(e.parentNode))})(t=t?j(t):document.body,function(t){return Kn(t[Wn],e)}),Se(t,function(t){return Kn(t[Wn],e)})},Object.defineProperty(Fn,"container",{get:function(){return jn||document.body},set:function(t){jn=Te(t)}}),(Vn=Ln).prototype._callHook=function(t){var e=this,n=this.$options[t];n&&n.forEach(function(t){return t.call(e)})},Vn.prototype._callConnected=function(){this._connected||(this._data={},this._computeds={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObserver(),this._callHook("connected"),this._callUpdate())},Vn.prototype._callDisconnected=function(){this._connected&&(this._callHook("beforeDisconnect"),this._observer&&(this._observer.disconnect(),this._observer=null),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1)},Vn.prototype._callUpdate=function(t){var o=this;void 0===t&&(t="update");var s=t.type||t;b(["update","resize"],s)&&this._callWatches();var e=this.$options.update,n=this._frames,a=n.reads,h=n.writes;e&&e.forEach(function(t,e){var n=t.read,i=t.write,r=t.events;"update"!==s&&!b(r,s)||(n&&!b(kn.reads,a[e])&&(a[e]=kn.read(function(){var t=o._connected&&n.call(o,o._data,s);!1===t&&i?kn.clear(h[e]):S(t)&&U(o._data,t)})),i&&!b(kn.writes,h[e])&&(h[e]=kn.write(function(){return o._connected&&i.call(o,o._data,s)})))})},Yn=0,(Rn=Ln).prototype._init=function(t){(t=t||{}).data=function(t,e){var n=t.data,i=(t.el,e.args),r=e.props;if(void 0===r&&(r={}),n=k(n)?B(i)?void 0:n.slice(0,i.length).reduce(function(t,e,n){return S(e)?U(t,e):t[i[n]]=e,t},{}):n)for(var o in n)P(n[o])?delete n[o]:n[o]=r[o]?ti(r[o],n[o]):n[o];return n}(t,this.constructor.options),this.$options=Mn(this.constructor.options,t,this),this.$el=null,this.$props={},this._frames={reads:{},writes:{}},this._events=[],this._uid=Yn++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),t.el&&this.$mount(t.el)},Rn.prototype._initData=function(){var t=this.$options.data;for(var e in void 0===t&&(t={}),t)this.$props[e]=this[e]=t[e]},Rn.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=t[e].bind(this)},Rn.prototype._initComputeds=function(){var t=this.$options.computed;if(this._computeds={},t)for(var e in t)Jn(this,e,t[e])},Rn.prototype._callWatches=function(){var t=this.$options.computed,e=this._computeds;for(var n in e){var i=e[n];delete e[n],t[n].watch&&!Y(i,this[n])&&t[n].watch.call(this,this[n],i)}},Rn.prototype._initProps=function(t){var e;for(e in t=t||Gn(this.$options,this.$name))P(t[e])||(this.$props[e]=t[e]);var n=[this.$options.computed,this.$options.methods];for(e in this.$props)e in t&&Qn(n,e)&&(this[e]=this.$props[e])},Rn.prototype._initEvents=function(){var n=this,t=this.$options.events;t&&t.forEach(function(t){if(c(t,"handler"))Zn(n,t);else for(var e in t)Zn(n,t[e],e)})},Rn.prototype._unbindEvents=function(){this._events.forEach(function(t){return t()}),this._events=[]},Rn.prototype._initObserver=function(){var n=this,t=this.$options,i=t.attrs,e=t.props,r=t.el;if(!this._observer&&e&&!1!==i){i=k(i)?i:Object.keys(e),this._observer=new MutationObserver(function(){var e=Gn(n.$options,n.$name);i.some(function(t){return!P(e[t])&&e[t]!==n.$props[t]})&&n.$reset()});var o=i.map(function(t){return d(t)}).concat(this.$name);this._observer.observe(r,{attributes:!0,attributeFilter:o.concat(o.map(function(t){return"data-"+t}))})}},Un=(qn=Ln).data,Xn={},qn.component=function(s,t){if(!t)return S(Xn[s])&&(Xn[s]=qn.extend(Xn[s])),Xn[s];qn[s]=function(t,n){for(var e=arguments.length,i=Array(e);e--;)i[e]=arguments[e];var r=qn.component(s);return S(t)?new r({data:t}):r.options.functional?new r({data:[].concat(i)}):t&&t.nodeType?o(t):Ee(t).map(o)[0];function o(t){var e=qn.getComponent(t,s);if(e){if(!n)return e;e.$destroy()}return new r({el:t,data:n})}};var e=S(t)?U({},t):t.options;if(e.name=s,e.install&&e.install(qn,e,s),qn._initialized&&!e.functional){var n=d(s);kn.read(function(){return qn[s]("[bdt-"+n+"],[data-bdt-"+n+"]")})}return Xn[s]=S(t)?e:t},qn.getComponents=function(t){return t&&t[Un]||{}},qn.getComponent=function(t,e){return qn.getComponents(t)[e]},qn.connect=function(t){if(t[Un])for(var e in t[Un])t[Un][e]._callConnected();for(var n=0;n<t.attributes.length;n++){var i=Hn(t.attributes[n].name);i&&i in Xn&&qn[i](t)}},qn.disconnect=function(t){for(var e in t[Un])t[Un][e]._callDisconnected()},function(i){var r=i.data;i.prototype.$mount=function(t){var e=this.$options.name;t[r]||(t[r]={}),t[r][e]||((t[r][e]=this).$el=this.$options.el=this.$options.el||t,Wt(t,document)&&this._callConnected())},i.prototype.$emit=function(t){this._callUpdate(t)},i.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},i.prototype.$destroy=function(t){void 0===t&&(t=!1);var e=this.$options,n=e.el,i=e.name;n&&this._callDisconnected(),this._callHook("destroy"),n&&n[r]&&(delete n[r][i],B(n[r])||delete n[r],t&&we(this.$el))},i.prototype.$create=function(t,e,n){return i[t](e,n)},i.prototype.$update=i.update,i.prototype.$getComponent=i.getComponent;var e={};Object.defineProperties(i.prototype,{$container:Object.getOwnPropertyDescriptor(i,"container"),$name:{get:function(){var t=this.$options.name;return e[t]||(e[t]=i.prefix+d(t)),e[t]}}})}(Ln);var ei={connected:function(){Oe(this.$el,this.$name)||Ae(this.$el,this.$name)}},ni={props:{cls:Boolean,animation:"list",duration:Number,origin:String,transition:String,queued:Boolean},data:{cls:!1,animation:[!1],duration:200,origin:!1,transition:"linear",queued:!1,initProps:{overflow:"",height:"",paddingTop:"",paddingBottom:"",marginTop:"",marginBottom:""},hideProps:{overflow:"hidden",height:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0}},computed:{hasAnimation:function(t){return!!t.animation[0]},hasTransition:function(t){var e=t.animation;return this.hasAnimation&&!0===e[0]}},methods:{toggleElement:function(c,u,l){var d=this;return new ne(function(t){c=W(c);function e(t){return ne.all(t.map(function(t){return d._toggleElement(t,u,l)}))}var n,i=c.filter(function(t){return d.isToggled(t)}),r=c.filter(function(t){return!b(i,t)});if(d.queued&&P(l)&&P(u)&&d.hasAnimation&&!(c.length<2)){var o=document.body,s=o.scrollTop,a=i[0],h=Qe.inProgress(a)&&Oe(a,"bdt-animation-leave")||Xe.inProgress(a)&&"0px"===a.style.height;n=e(i),h||(n=n.then(function(){var t=e(r);return o.scrollTop=s,t}))}else n=e(r.concat(i));n.then(t,Q)})},toggleNow:function(e,n){var i=this;return new ne(function(t){return ne.all(W(e).map(function(t){return i._toggleElement(t,n,!1)})).then(t,Q)})},isToggled:function(t){var e=W(t||this.$el);return this.cls?Oe(e,this.cls.split(" ")[0]):!rt(e,"hidden")},updateAria:function(t){!1===this.cls&&it(t,"aria-hidden",!this.isToggled(t))},_toggleElement:function(t,e,n){var i=this;if(e=M(e)?e:Qe.inProgress(t)?Oe(t,"bdt-animation-leave"):Xe.inProgress(t)?"0px"===t.style.height:!this.isToggled(t),!qt(t,"before"+(e?"show":"hide"),[this]))return ne.reject();var r=($(n)?n:!1!==n&&this.hasAnimation?this.hasTransition?function(t){var s=t.isToggled,a=t.duration,h=t.initProps,c=t.hideProps,u=t.transition,l=t._toggle;return function(t,e){var n=Xe.inProgress(t),i=t.hasChildNodes?F(Le(t.firstElementChild,"marginTop"))+F(Le(t.lastElementChild,"marginBottom")):0,r=Ht(t)?sn(t)+(n?0:i):0;Xe.cancel(t),s(t)||l(t,!0),sn(t,""),kn.flush();var o=sn(t)+(n?0:i);return sn(t,r),(e?Xe.start(t,U({},h,{overflow:"hidden",height:o}),Math.round(a*(1-r/o)),u):Xe.start(t,c,Math.round(a*(r/o)),u).then(function(){return l(t,!1)})).then(function(){return Le(t,h)})}}(this):function(t){var n=t.animation,i=t.duration,r=t.origin,o=t._toggle;return function(t,e){return Qe.cancel(t),e?(o(t,!0),Qe.in(t,n[0],i,r)):Qe.out(t,n[1]||n[0],i,r).then(function(){return o(t,!1)})}}(this):this._toggle)(t,e);qt(t,e?"show":"hide",[this]);function o(){qt(t,e?"shown":"hidden",[i]),i.$update(t)}return r?r.then(o):ne.resolve(o())},_toggle:function(t,e){var n;t&&(e=Boolean(e),this.cls?(n=b(this.cls," ")||e!==Oe(t,this.cls))&&De(t,this.cls,b(this.cls," ")?void 0:e):(n=e===rt(t,"hidden"))&&it(t,"hidden",e?null:""),Ee("[autofocus]",t).some(function(t){return Ht(t)?t.focus()||!0:t.blur()}),this.updateAria(t),n&&this.$update(t))}}};var ii={mixins:[ei,ni],props:{targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,transition:String},data:{targets:"> *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsOpen:"bdt-open",toggle:"> .bdt-accordion-title",content:"> .bdt-accordion-content",transition:"ease"},computed:{items:function(t,e){return Ee(t.targets,e)}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(ue(Ee(this.targets+" "+this.$props.toggle,this.$el),t.current))}}],connected:function(){if(!1!==this.active){var t=this.items[Number(this.active)];t&&!Oe(t,this.clsOpen)&&this.toggle(t,!1)}},update:function(){var e=this;this.items.forEach(function(t){return e._toggle(Te(e.content,t),Oe(t,e.clsOpen))});var t=!this.collapsible&&!Oe(this.items,this.clsOpen)&&this.items[0];t&&this.toggle(t,!1)},methods:{toggle:function(r,o){var s=this,t=le(r,this.items),a=jt(this.items,"."+this.clsOpen);(r=this.items[t])&&[r].concat(!this.multiple&&!b(a,r)&&a||[]).forEach(function(t){var e=t===r,n=e&&!Oe(t,s.clsOpen);if(n||!e||s.collapsible||!(a.length<2)){De(t,s.clsOpen,n);var i=t._wrapper?t._wrapper.firstElementChild:Te(s.content,t);t._wrapper||(t._wrapper=be(i,"<div>"),it(t._wrapper,"hidden",n?"":null)),s._toggle(i,!0),s.toggleElement(t._wrapper,n,o).then(function(){Oe(t,s.clsOpen)===n&&(n||s._toggle(i,!1),t._wrapper=null,xe(i))})}})}}},ri={mixins:[ei,ni],args:"animation",props:{close:String},data:{animation:[!0],selClose:".bdt-alert-close",duration:150,hideProps:U({opacity:0},ni.data.hideProps)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.close()}}],methods:{close:function(){var t=this;this.toggleElement(this.$el).then(function(){return t.$destroy(!0)})}}};function oi(r){ce(function(){var n;r.update(),Vt(window,"load resize",function(){return r.update(null,"resize")}),Vt(document,"loadedmetadata load",function(t){var e=t.target;return r.update(e,"resize")},!0),Vt(window,"scroll",function(t){if(!n){n=!0,kn.write(function(){return n=!1});var e=t.target;r.update(1!==e.nodeType?document.body:e,t.type)}},{passive:!0,capture:!0});var e,i=0;Vt(document,"animationstart",function(t){var e=t.target;(Le(e,"animationName")||"").match(/^bdt-.*(left|right)/)&&(i++,Le(document.body,"overflowX","hidden"),setTimeout(function(){--i||Le(document.body,"overflowX","")},R(Le(e,"animationDuration"))+100))},!0),Vt(document,dt,function(t){if(e&&e(),Qt(t)){var r=te(t),o="tagName"in t.target?t.target:t.target.parentNode;e=Yt(document,pt+" "+vt,function(t){var e=te(t),n=e.x,i=e.y;(o&&n&&100<Math.abs(r.x-n)||i&&100<Math.abs(r.y-i))&&setTimeout(function(){qt(o,"swipe"),qt(o,"swipe"+function(t,e,n,i){return Math.abs(t-n)>=Math.abs(e-i)?0<t-n?"Left":"Right":0<e-i?"Up":"Down"}(r.x,r.y,n,i))})}),"touchstart"===dt&&(Le(document.body,"cursor","pointer"),Yt(document,pt+" "+vt,function(){return setTimeout(function(){return Le(document.body,"cursor","")},50)}))}},{passive:!0})})}var si,ai={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},computed:{inView:function(t){return"inview"===t.autoplay}},connected:function(){this.inView&&!rt(this.$el,"preload")&&(this.$el.preload="none"),this.player=new Dn(this.$el),this.automute&&this.player.mute()},update:{read:function(){return!!this.player&&{visible:Ht(this.$el)&&"hidden"!==Le(this.$el,"visibility"),inView:this.inView&&pn(this.$el)}},write:function(t){var e=t.visible,n=t.inView;!e||this.inView&&!n?this.player.pause():(!0===this.autoplay||this.inView&&n)&&this.player.play()},events:["resize","scroll"]}},hi={mixins:[ei,ai],props:{width:Number,height:Number},data:{automute:!0},update:{read:function(){var t=this.$el,e=t.parentNode,n=e.offsetHeight,i=e.offsetWidth,r=nt.cover({width:this.width||t.naturalWidth||t.videoWidth||t.clientWidth,height:this.height||t.naturalHeight||t.videoHeight||t.clientHeight},{width:i+(i%2?1:0),height:n+(n%2?1:0)});return!(!r.width||!r.height)&&r},write:function(t){var e=t.height,n=t.width;Le(this.$el,{height:e,width:n})},events:["resize"]}},ci={props:{pos:String,offset:null,flip:Boolean,clsPos:String},data:{pos:"bottom-"+(ht?"right":"left"),flip:!0,offset:!1,clsPos:""},computed:{pos:function(t){var e=t.pos;return(e+(b(e,"-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(t,e,n){var i;Ne(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?"),Le(t,{top:"",left:""});var r=this.offset,o=this.getAxis();z(r)||(r=(i=Te(r))?nn(i)["x"===o?"left":"top"]-nn(e)["x"===o?"right":"bottom"]:0);var s=en(t,e,"x"===o?fn(this.dir)+" "+this.align:this.align+" "+fn(this.dir),"x"===o?this.dir+" "+this.align:this.align+" "+this.dir,"x"===o?""+("left"===this.dir?-r:r):" "+("top"===this.dir?-r:r),null,this.flip,n).target,a=s.x,h=s.y;this.dir="x"===o?a:h,this.align="x"===o?h:a,De(t,this.clsPos+"-"+this.dir+"-"+this.align,!1===this.offset)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},ui={mixins:[ci,ni],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},data:{mode:["click","hover"],toggle:"- *",boundary:window,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,hoverIdle:200,animation:["bdt-animation-fade"],cls:"bdt-open"},computed:{boundary:function(t,e){return wt(t.boundary,e)},clsDrop:function(t){return t.clsDrop||"bdt-"+this.$options.name},clsPos:function(){return this.clsDrop}},created:function(){this.tracker=new En},connected:function(){Ae(this.$el,this.clsDrop);var t=this.$props.toggle;this.toggle=t&&this.$create("toggle",wt(t,this.$el),{target:this.$el,mode:this.mode}),this.toggle||qt(this.$el,"updatearia")},events:[{name:"click",delegate:function(){return"."+this.clsDrop+"-close"},handler:function(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.defaultPrevented,n=t.current.hash;e||!n||Wt(n,this.$el)||this.hide(!1)}},{name:"beforescroll",handler:function(){this.hide(!1)}},{name:"toggle",self:!0,handler:function(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e,!1)}},{name:mt,filter:function(){return b(this.mode,"hover")},handler:function(t){Qt(t)||(si&&si!==this&&si.toggle&&b(si.toggle.mode,"hover")&&!Wt(t.target,si.toggle.$el)&&!et({x:t.pageX,y:t.pageY},nn(si.$el))&&si.hide(!1),t.preventDefault(),this.show(this.toggle))}},{name:"toggleshow",handler:function(t,e){e&&!b(e.target,this.$el)||(t.preventDefault(),this.show(e||this.toggle))}},{name:"togglehide "+gt,handler:function(t,e){Qt(t)||e&&!b(e.target,this.$el)||(t.preventDefault(),this.toggle&&b(this.toggle.mode,"hover")&&this.hide())}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers(),Qe.cancel(this.$el),this.position()}},{name:"show",self:!0,handler:function(){var i=this;this.tracker.init(),qt(this.$el,"updatearia");var t=li(document,"click",function(t){var e=t.defaultPrevented,n=t.target;e||Wt(n,i.$el)||i.toggle&&Wt(n,i.toggle.$el)||i.hide(!1)});Yt(this.$el,"hide",t,{self:!0})}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var e=t.target;this.$el===e?(si=this.isActive()?null:si,qt(this.$el,"updatearia"),this.tracker.cancel()):si=null===si&&Wt(e,this.$el)&&this.isToggled()?this:si}},{name:"updatearia",self:!0,handler:function(t,e){t.preventDefault(),this.updateAria(this.$el),(e||this.toggle)&&(it((e||this.toggle).$el,"aria-expanded",this.isToggled()),De(this.toggle.$el,this.cls,this.isToggled()))}}],update:{write:function(){this.isToggled()&&!Qe.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(e,n){var i=this;void 0===n&&(n=!0);function r(){return!i.isToggled()&&i.toggleElement(i.$el,!0)}function t(){if(i.toggle=e||i.toggle,i.clearTimers(),!i.isActive())if(n&&si&&si!==i&&si.isDelaying)i.showTimer=setTimeout(i.show,10);else{if(i.isParentOf(si)){if(!si.hideTimer)return;si.hide(!1)}else if(i.isChildOf(si))si.clearTimers();else if(si&&!i.isChildOf(si)&&!i.isParentOf(si))for(var t;si&&si!==t&&!i.isChildOf(si);)(t=si).hide(!1);n&&i.delayShow?i.showTimer=setTimeout(r,i.delayShow):r(),si=i}}e&&this.toggle&&e.$el!==this.toggle.$el?(Yt(this.$el,"hide",t),this.hide(!1)):t()},hide:function(t){var e=this;void 0===t&&(t=!0);function n(){return e.toggleNow(e.$el,!1)}this.clearTimers(),this.isDelaying=this.tracker.movesTo(this.$el),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,this.hoverIdle):t&&this.delayHide?this.hideTimer=setTimeout(n,this.delayHide):n()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive:function(){return si===this},isChildOf:function(t){return t&&t!==this&&Wt(this.$el,t.$el)},isParentOf:function(t){return t&&t!==this&&Wt(t.$el,this.$el)},position:function(){Ne(this.$el,this.clsDrop+"-(stack|boundary)"),Le(this.$el,{top:"",left:"",display:"block"}),De(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t=nn(this.boundary),e=this.boundaryAlign?t:nn(this.toggle.$el);if("justify"===this.align){var n="y"===this.getAxis()?"width":"height";Le(this.$el,n,e[n])}else this.$el.offsetWidth>Math.max(t.right-e.left,e.right-t.left)&&Ae(this.$el,this.clsDrop+"-stack");this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary),Le(this.$el,"display","")}}};function li(t,e,n){var i=Yt(t,e,function(){return i=Vt(t,e,n)},!0);return function(){return i()}}var di={extends:ui},fi={mixins:[ei],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:function(t,e){return Te(Lt,e)},state:function(){return this.input.nextElementSibling},target:function(t,e){var n=t.target;return n&&(!0===n&&this.input.parentNode===e&&this.input.nextElementSibling||wt(n,e))}},update:function(){var t=this.target,e=this.input;if(t){var n,i=Ft(t)?"value":"textContent",r=t[i],o=e.files&&e.files[0]?e.files[0].name:_t(e,"select")&&(n=Ee("option",e).filter(function(t){return t.selected})[0])?n.textContent:e.value;r!==o&&(t[i]=o)}},events:[{name:"change",handler:function(){this.$emit()}},{name:"reset",el:function(){return Mt(this.$el,"form")},handler:function(){this.$emit()}}]},pi={update:{read:function(t){var e=pn(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=this.$el.src},events:["scroll","resize"]}},mi={props:{margin:String,firstColumn:Boolean},data:{margin:"bdt-margin-small-top",firstColumn:"bdt-first-column"},update:{read:function(t){var e=this.$el.children;if(!e.length||!Ht(this.$el))return t.rows=[[]];t.rows=gi(e),t.stacks=!t.rows.some(function(t){return 1<t.length})},write:function(t){var i=this;t.rows.forEach(function(t,n){return t.forEach(function(t,e){De(t,i.margin,0!==n),De(t,i.firstColumn,0===e)})})},events:["resize"]}};function gi(t){for(var e=[[]],n=0;n<t.length;n++){var i=t[n],r=vi(i);if(r.height)for(var o=e.length-1;0<=o;o--){var s=e[o];if(!s[0]){s.push(i);break}var a=void 0;if(a=s[0].offsetParent===i.offsetParent?vi(s[0]):(r=vi(i,!0),vi(s[0],!0)),r.top>=a.bottom-1&&r.top!==a.top){e.push([i]);break}if(r.bottom>a.top){if(r.left<a.left&&!ht){s.unshift(i);break}s.push(i);break}if(0===o){e.unshift([i]);break}}}return e}function vi(t,e){var n;void 0===e&&(e=!1);var i=t.offsetTop,r=t.offsetLeft,o=t.offsetHeight;return e&&(i=(n=vn(t))[0],r=n[1]),{top:i,left:r,height:o,bottom:i+o}}var wi={extends:mi,mixins:[ei],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"bdt-grid-margin",clsStack:"bdt-grid-stack",masonry:!1,parallax:0},computed:{length:function(t,e){return e.children.length},parallax:function(t){var e=t.parallax;return e&&this.length?Math.abs(e):""}},connected:function(){this.masonry&&Ae(this.$el,"bdt-flex-top bdt-flex-wrap-top")},update:[{read:function(t){var r=t.rows;(this.masonry||this.parallax)&&(r=r.map(function(t){return G(t,"offsetLeft")}),ht&&r.map(function(t){return t.reverse()}));var e=r.some(function(t){return t.some(Xe.inProgress)}),n=!1,i="";if(this.masonry&&this.length){var o=0;n=r.reduce(function(n,t,i){return n[i]=t.map(function(t,e){return 0===i?0:F(n[i-1][e])+(o-F(r[i-1][e]&&r[i-1][e].offsetHeight))}),o=t.reduce(function(t,e){return Math.max(t,e.offsetHeight)},0),n},[]),i=function(t){return Math.max.apply(Math,t.reduce(function(n,t){return t.forEach(function(t,e){return n[e]=(n[e]||0)+t.offsetHeight}),n},[]))}(r)+function(t,e){var n=W(t.children),i=n.filter(function(t){return Oe(t,e)})[0];return F(i?Le(i,"marginTop"):Le(n[0],"paddingLeft"))}(this.$el,this.margin)*(r.length-1)}return{padding:this.parallax&&function(t,e,n){for(var i=0,r=0,o=0,s=e.length-1;0<=s;s--)for(var a=i;a<e[s].length;a++){var h=e[s][a],c=h.offsetTop+sn(h)+(n&&-n[s][a]);r=Math.max(r,c),o=Math.max(o,c+(a%2?t:t/8)),i++}return o-r}(this.parallax,r,n),rows:r,translates:n,height:!e&&i}},write:function(t){var e=t.stacks,n=t.height,i=t.padding;De(this.$el,this.clsStack,e),Le(this.$el,"paddingBottom",i),!1!==n&&Le(this.$el,"height",n)},events:["resize"]},{read:function(t){var e=t.height;return{scrolled:!!this.parallax&&mn(this.$el,e?e-sn(this.$el):0)*this.parallax}},write:function(t){var e=t.rows,i=t.scrolled,r=t.translates;!1===i&&!r||e.forEach(function(t,n){return t.forEach(function(t,e){return Le(t,"transform",i||r?"translateY("+((r&&-r[n][e])+(i?e%2?i:i/8:0))+"px)":"")})})},events:["scroll","resize"]}]};var bi=at?{props:{selMinHeight:String},data:{selMinHeight:!1,forceHeight:!1},computed:{elements:function(t,e){var n=t.selMinHeight;return n?Ee(n,e):[e]}},update:[{read:function(){Le(this.elements,"height","")},order:-5,events:["resize"]},{write:function(){var n=this;this.elements.forEach(function(t){var e=F(Le(t,"minHeight"));e&&(n.forceHeight||Math.round(e+cn("height",t,"content-box"))>=t.offsetHeight)&&Le(t,"height",e)})},order:5,events:["resize"]}]}:{},yi={mixins:[bi],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0,forceHeight:!0},computed:{elements:function(t,e){return Ee(t.target,e)}},update:{read:function(){return{rows:(this.row?gi(this.elements):[this.elements]).map(xi)}},write:function(t){t.rows.forEach(function(t){var n=t.heights;return t.elements.forEach(function(t,e){return Le(t,"minHeight",n[e])})})},events:["resize"]}};function xi(t){var e;if(t.length<2)return{heights:[""],elements:t};var n=ki(t),i=n.heights,r=n.max,o=t.some(function(t){return t.style.minHeight}),s=t.some(function(t,e){return!t.style.minHeight&&i[e]<r});return o&&s&&(Le(t,"minHeight",""),e=ki(t),i=e.heights,r=e.max),{heights:i=t.map(function(t,e){return i[e]===r&&F(t.style.minHeight).toFixed(2)!==r.toFixed(2)?"":r}),elements:t}}function ki(t){var e=t.map(function(t){return nn(t).height-cn("height",t,"content-box")});return{heights:e,max:Math.max.apply(null,e)}}var $i={mixins:[bi],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},update:{read:function(t){var e=t.minHeight;if(!Ht(this.$el))return!1;var n="",i=cn("height",this.$el,"content-box");if(this.expand){if(this.$el.dataset.heightExpand="",Te("[data-height-expand]")!==this.$el)return!1;n=sn(window)-(Ii(document.documentElement)-Ii(this.$el))-i||""}else{if(n="calc(100vh",this.offsetTop){var r=nn(this.$el).top;n+=0<r&&r<sn(window)/2?" - "+r+"px":""}!0===this.offsetBottom?n+=" - "+Ii(this.$el.nextElementSibling)+"px":z(this.offsetBottom)?n+=" - "+this.offsetBottom+"vh":this.offsetBottom&&u(this.offsetBottom,"px")?n+=" - "+F(this.offsetBottom)+"px":O(this.offsetBottom)&&(n+=" - "+Ii(wt(this.offsetBottom,this.$el))+"px"),n+=(i?" - "+i+"px":"")+")"}return{minHeight:n,prev:e}},write:function(t){var e=t.minHeight,n=t.prev;Le(this.$el,{minHeight:e}),e!==n&&this.$update(this.$el,"resize"),this.minHeight&&F(Le(this.$el,"minHeight"))<this.minHeight&&Le(this.$el,"minHeight",this.minHeight)},events:["resize"]}};function Ii(t){return t&&nn(t).height||0}var Si={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,focusable:Boolean,attributes:"list"},data:{ratio:1,include:["style","class","focusable"],class:"",strokeAnimation:!1},beforeConnect:function(){var t,e=this;if(this.class+=" bdt-svg",!this.icon&&b(this.src,"#")){var n=this.src.split("#");1<n.length&&(t=n,this.src=t[0],this.icon=t[1])}this.svg=this.getSvg().then(function(t){return e.applyAttributes(t),e.svgEl=function(t,e){{if(Pt(e)||"CANVAS"===e.tagName){it(e,"hidden",!0);var n=e.nextElementSibling;return _i(t,n)?n:ge(e,t)}var i=e.lastElementChild;return _i(t,i)?i:pe(e,t)}}(t,e.$el)},Q)},disconnected:function(){var e=this;Pt(this.$el)&&it(this.$el,"hidden",null),this.svg&&this.svg.then(function(t){return(!e._connected||t!==e.svgEl)&&we(t)},Q),this.svg=this.svgEl=null},update:{read:function(){return!!(this.strokeAnimation&&this.svgEl&&Ht(this.svgEl))},write:function(){!function(t){var e=Ai(t);e&&t.style.setProperty("--bdt-animation-stroke",e)}(this.svgEl)},type:["resize"]},methods:{getSvg:function(){var e=this;return function(n){if(Ti[n])return Ti[n];return Ti[n]=new ne(function(e,t){n?w(n,"data:")?e(decodeURIComponent(n.split(",")[1])):ae(n).then(function(t){return e(t.response)},function(){return t("SVG not found.")}):t()})}(this.src).then(function(t){return function(t,e){e&&b(t,"<symbol")&&(t=function(t,e){if(!Ci[t]){var n;for(Ci[t]={};n=Ei.exec(t);)Ci[t][n[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+n[1]+"svg>";Ei.lastIndex=0}return Ci[t][e]}(t,e)||t);return(t=Te(t.substr(t.indexOf("<svg"))))&&t.hasChildNodes()&&t}(t,e.icon)||ne.reject("SVG not found.")})},applyAttributes:function(n){var i=this;for(var t in this.$options.props)this[t]&&b(this.include,t)&&it(n,t,this[t]);for(var e in this.attributes){var r=this.attributes[e].split(":",2),o=r[0],s=r[1];it(n,o,s)}this.id||ot(n,"id");var a=["width","height"],h=[this.width,this.height];h.some(function(t){return t})||(h=a.map(function(t){return it(n,t)}));var c=it(n,"viewBox");c&&!h.some(function(t){return t})&&(h=c.split(" ").slice(2)),h.forEach(function(t,e){(t=(0|t)*i.ratio)&&it(n,a[e],t),t&&!h[1^e]&&ot(n,a[1^e])}),it(n,"data-svg",this.icon||this.src)}}},Ti={};var Ei=/<symbol(.*?id=(['"])(.*?)\2[^]*?<\/)symbol>/g,Ci={};function Ai(t){return Math.ceil(Math.max.apply(Math,Ee("[stroke]",t).map(function(t){return t.getTotalLength&&t.getTotalLength()||0}).concat([0])))}function _i(t,e){return it(t,"data-svg")===it(e,"data-svg")}var Ni={},Mi={spinner:'<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',totop:'<svg width="18" height="10" viewBox="0 0 18 10" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9 "/></svg>',marker:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',"close-icon":'<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',"close-large":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',"navbar-toggle-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect y="9" width="20" height="2"/><rect y="3" width="20" height="2"/><rect y="15" width="20" height="2"/></svg>',"overlay-icon":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',"pagination-next":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',"pagination-previous":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',"search-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',"search-large":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',"search-navbar":'<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',"slidenav-next":'<svg width="14px" height="24px" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1 "/></svg>',"slidenav-next-large":'<svg width="25px" height="40px" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5 "/></svg>',"slidenav-previous":'<svg width="14px" height="24px" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23 "/></svg>',"slidenav-previous-large":'<svg width="25px" height="40px" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547 "/></svg>'},Oi={install:function(r){r.icon.add=function(t,e){var n,i=O(t)?((n={})[t]=e,n):t;K(i,function(t,e){Mi[e]=t,delete Ni[e]}),r._initialized&&Se(document.body,function(t){return K(r.getComponents(t),function(t){t.$options.isIcon&&t.icon in i&&t.$reset()})})}},extends:Si,args:"icon",props:["icon"],data:{include:["focusable"]},isIcon:!0,beforeConnect:function(){Ae(this.$el,"bdt-icon")},methods:{getSvg:function(){var t=function(t){if(!Mi[t])return null;Ni[t]||(Ni[t]=Te(Mi[t].trim()));return Ni[t].cloneNode(!0)}(function(t){return ht?q(q(t,"left","right"),"previous","next"):t}(this.icon));return t?ne.resolve(t):ne.reject("Icon not found.")}}},Di={args:!1,extends:Oi,data:function(t){return{icon:d(t.constructor.options.name)}},beforeConnect:function(){Ae(this.$el,this.$name)}},zi={extends:Di,beforeConnect:function(){Ae(this.$el,"bdt-slidenav")},computed:{icon:function(t,e){var n=t.icon;return Oe(e,"bdt-slidenav-large")?n+"-large":n}}},Bi={extends:Di,computed:{icon:function(t,e){var n=t.icon;return Oe(e,"bdt-search-icon")&&Ot(e,".bdt-search-large").length?"search-large":Ot(e,".bdt-search-navbar").length?"search-navbar":n}}},Pi={extends:Di,computed:{icon:function(){return"close-"+(Oe(this.$el,"bdt-close-large")?"large":"icon")}}},Hi={extends:Di,connected:function(){var e=this;this.svg.then(function(t){return 1!==e.ratio&&Le(Te("circle",t),"strokeWidth",1/e.ratio)},Q)}};var Li={args:"dataSrc",props:{dataSrc:String,dataSrcset:Boolean,sizes:String,width:Number,height:Number,offsetTop:String,offsetLeft:String,target:String},data:{dataSrc:"",dataSrcset:!1,sizes:!1,width:!1,height:!1,offsetTop:"50vh",offsetLeft:0,target:!1},computed:{cacheKey:function(t){var e=t.dataSrc;return this.$name+"."+e},width:function(t){var e=t.width,n=t.dataWidth;return e||n},height:function(t){var e=t.height,n=t.dataHeight;return e||n},sizes:function(t){var e=t.sizes,n=t.dataSizes;return e||n},isImg:function(t,e){return qi(e)},target:{get:function(t){var e=t.target;return[this.$el].concat(bt(e,this.$el))},watch:function(){this.observe()}},offsetTop:function(t){return wn(t.offsetTop,"height")},offsetLeft:function(t){return wn(t.offsetLeft,"width")}},connected:function(){Xi[this.cacheKey]?Fi(this.$el,Xi[this.cacheKey]||this.dataSrc,this.dataSrcset,this.sizes):this.isImg&&this.width&&this.height&&Fi(this.$el,function(t,e,n){var i;n&&(i=nt.ratio({width:t,height:e},"width",wn(Wi(n))),t=i.width,e=i.height);return'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="'+t+'" height="'+e+'"></svg>'}(this.width,this.height,this.sizes)),this.observer=new Pn(this.load,{rootMargin:this.offsetTop+"px "+this.offsetLeft+"px"}),requestAnimationFrame(this.observe)},disconnected:function(){this.observer.disconnect()},update:{read:function(t){var e=this,n=t.image;if(n||"complete"!==document.readyState||this.load(this.observer.takeRecords()),this.isImg)return!1;n&&n.then(function(t){return t&&""!==t.currentSrc&&Fi(e.$el,Ui(t))})},write:function(t){if(this.dataSrcset&&1!==window.devicePixelRatio){var e=Le(this.$el,"backgroundSize");!e.match(/^(auto\s?)+$/)&&F(e)!==t.bgSize||(t.bgSize=function(t,e){var n=wn(Wi(e)),i=(t.match(Yi)||[]).map(F).sort(function(t,e){return t-e});return i.filter(function(t){return n<=t})[0]||i.pop()||""}(this.dataSrcset,this.sizes),Le(this.$el,"backgroundSize",t.bgSize+"px"))}},events:["resize"]},methods:{load:function(t){var e=this;t.some(function(t){return P(t.isIntersecting)||t.isIntersecting})&&(this._data.image=he(this.dataSrc,this.dataSrcset,this.sizes).then(function(t){return Fi(e.$el,Ui(t),t.srcset,t.sizes),Xi[e.cacheKey]=Ui(t),t},Q),this.observer.disconnect())},observe:function(){var e=this;!this._data.image&&this._connected&&this.target.forEach(function(t){return e.observer.observe(t)})}}};function Fi(t,e,n,i){if(qi(t))i&&(t.sizes=i),n&&(t.srcset=n),e&&(t.src=e);else if(e){!b(t.style.backgroundImage,e)&&(Le(t,"backgroundImage","url("+zt(e)+")"),qt(t,Ut("load",!1)))}}var ji=/\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;function Wi(t){var e,n;for(ji.lastIndex=0;e=ji.exec(t);)if(!e[1]||window.matchMedia(e[1]).matches){e=w(n=e[2],"calc")?n.substring(5,n.length-1).replace(Vi,function(t){return wn(t)}).replace(/ /g,"").match(Ri).reduce(function(t,e){return t+ +e},0):n;break}return e||"100vw"}var Vi=/\d+(?:\w+|%)/g,Ri=/[+-]?(\d+)/g;var Yi=/\s+\d+w\s*(?:,|$)/g;function qi(t){return"IMG"===t.tagName}function Ui(t){return t.currentSrc||t.src}var Xi,Ki="__test__";try{(Xi=window.sessionStorage||{})[Ki]=1,delete Xi[Ki]}catch(t){Xi={}}var Gi={props:{media:Boolean},data:{media:!1},computed:{matchMedia:function(){var t=function(t){if(O(t)){if("@"===t[0])t=F(Ve("breakpoint-"+t.substr(1)));else if(isNaN(t))return t}return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}(this.media);return!t||window.matchMedia(t).matches}}};var Ji={mixins:[ei,Gi],props:{fill:String},data:{fill:"",clsWrapper:"bdt-leader-fill",clsHide:"bdt-leader-hide",attrFill:"data-fill"},computed:{fill:function(t){return t.fill||Ve("leader-fill-content")}},connected:function(){var t;t=ye(this.$el,'<span class="'+this.clsWrapper+'">'),this.wrapper=t[0]},disconnected:function(){xe(this.wrapper.childNodes)},update:{read:function(t){var e=t.changed,n=t.width,i=n;return{width:n=Math.floor(this.$el.offsetWidth/2),fill:this.fill,changed:e||i!==n,hide:!this.matchMedia}},write:function(t){De(this.wrapper,this.clsHide,t.hide),t.changed&&(t.changed=!1,it(this.wrapper,this.attrFill,new Array(t.width).join(t.fill)))},events:["resize"]}},Zi={props:{container:Boolean},data:{container:!0},computed:{container:function(t){var e=t.container;return!0===e&&this.$container||e&&Te(e)}}},Qi=[],tr={mixins:[ei,Zi,ni],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"bdt-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel:function(t,e){return Te(t.selPanel,e)},transitionElement:function(){return this.panel},bgClose:function(t){return t.bgClose&&this.panel}},beforeDisconnect:function(){this.isToggled()&&this.toggleNow(this.$el,!1)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.hide()}},{name:"toggle",self:!0,handler:function(t){t.defaultPrevented||(t.preventDefault(),this.toggle())}},{name:"beforeshow",self:!0,handler:function(t){if(b(Qi,this))return!1;!this.stack&&Qi.length?(ne.all(Qi.map(function(t){return t.hide()})).then(this.show),t.preventDefault()):Qi.push(this)}},{name:"show",self:!0,handler:function(){var r=this;an(window)-an(document)&&this.overlay&&Le(document.body,"overflowY","scroll"),Ae(document.documentElement,this.clsPage),this.bgClose&&Yt(this.$el,"hide",li(document,"click",function(t){var e=t.defaultPrevented,n=t.target,i=X(Qi);e||i!==r||i.overlay&&!Wt(n,i.$el)||Wt(n,i.panel)||i.hide()}),{self:!0}),this.escClose&&Yt(this.$el,"hide",Vt(document,"keydown",function(t){var e=X(Qi);27===t.keyCode&&e===r&&(t.preventDefault(),e.hide())}),{self:!0})}},{name:"hidden",self:!0,handler:function(){var e=this;Qi.splice(Qi.indexOf(this),1),Qi.length||Le(document.body,"overflowY",""),Qi.some(function(t){return t.clsPage===e.clsPage})||_e(document.documentElement,this.clsPage)}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},show:function(){var e=this;return this.container&&this.$el.parentNode!==this.container?(pe(this.container,this.$el),new ne(function(t){return requestAnimationFrame(function(){return e.show().then(t)})})):this.toggleElement(this.$el,!0,er(this))},hide:function(){return this.toggleElement(this.$el,!1,er(this))}}};function er(t){var s=t.transitionElement,a=t._toggle;return function(r,o){return new ne(function(n,i){return Yt(r,"show hide",function(){r._reject&&r._reject(),r._reject=i,a(r,o);var t=Yt(s,"transitionstart",function(){Yt(s,"transitionend transitioncancel",n,{self:!0}),clearTimeout(e)},{self:!0}),e=setTimeout(function(){t(),n()},R(Le(s,"transitionDuration")))})})}}var nr={install:function(a){a.modal.dialog=function(t,e){var n=a.modal(' <div class="bdt-modal"> <div class="bdt-modal-dialog">'+t+"</div> </div> ",e);return n.show(),Vt(n.$el,"hidden",function(){return ne.resolve(function(){return n.$destroy(!0)})},{self:!0}),n},a.modal.alert=function(e,n){return n=U({bgClose:!1,escClose:!1,labels:a.modal.labels},n),new ne(function(t){return Vt(a.modal.dialog(' <div class="bdt-modal-body">'+(O(e)?e:fe(e))+'</div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-primary bdt-modal-close" autofocus>'+n.labels.ok+"</button> </div> ",n).$el,"hide",t)})},a.modal.confirm=function(r,o){return o=U({bgClose:!1,escClose:!0,labels:a.modal.labels},o),new ne(function(e,t){var n=a.modal.dialog(' <form> <div class="bdt-modal-body">'+(O(r)?r:fe(r))+'</div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-default bdt-modal-close" type="button">'+o.labels.cancel+'</button> <button class="bdt-button bdt-button-primary" autofocus>'+o.labels.ok+"</button> </div> </form> ",o),i=!1;Vt(n.$el,"submit","form",function(t){t.preventDefault(),e(),i=!0,n.hide()}),Vt(n.$el,"hide",function(){i||t()})})},a.modal.prompt=function(t,o,s){return s=U({bgClose:!1,escClose:!0,labels:a.modal.labels},s),new ne(function(e){var n=a.modal.dialog(' <form class="bdt-form-stacked"> <div class="bdt-modal-body"> <label>'+(O(t)?t:fe(t))+'</label> <input class="bdt-input" autofocus> </div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-default bdt-modal-close" type="button">'+s.labels.cancel+'</button> <button class="bdt-button bdt-button-primary">'+s.labels.ok+"</button> </div> </form> ",s),i=Te("input",n.$el);i.value=o;var r=!1;Vt(n.$el,"submit","form",function(t){t.preventDefault(),e(i.value),r=!0,n.hide()}),Vt(n.$el,"hide",function(){r||e(null)})})},a.modal.labels={ok:"Ok",cancel:"Cancel"}},mixins:[tr],data:{clsPage:"bdt-modal-page",selPanel:".bdt-modal-dialog",selClose:".bdt-modal-close, .bdt-modal-close-default, .bdt-modal-close-outside, .bdt-modal-close-full"},events:[{name:"show",self:!0,handler:function(){Oe(this.panel,"bdt-margin-auto-vertical")?Ae(this.$el,"bdt-flex"):Le(this.$el,"display","block"),sn(this.$el)}},{name:"hidden",self:!0,handler:function(){Le(this.$el,"display",""),_e(this.$el,"bdt-flex")}}]};var ir={extends:ii,data:{targets:"> .bdt-parent",toggle:"> a",content:"> ul"}},rr={mixins:[ei,bi],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:Boolean,duration:Number},data:{dropdown:".bdt-navbar-nav > li",align:ht?"right":"left",clsDrop:"bdt-navbar-dropdown",mode:void 0,offset:void 0,delayShow:void 0,delayHide:void 0,boundaryAlign:void 0,flip:"x",boundary:!0,dropbar:!1,dropbarMode:"slide",dropbarAnchor:!1,duration:200,forceHeight:!0,selMinHeight:".bdt-navbar-nav > li > a, .bdt-navbar-item, .bdt-navbar-toggle"},computed:{boundary:function(t,e){var n=t.boundary,i=t.boundaryAlign;return!0===n||i?e:n},dropbarAnchor:function(t,e){return wt(t.dropbarAnchor,e)},pos:function(t){return"bottom-"+t.align},dropdowns:function(t,e){return Ee(t.dropdown+" ."+t.clsDrop,e)}},beforeConnect:function(){var t=this.$props.dropbar;this.dropbar=t&&(wt(t,this.$el)||Te("+ .bdt-navbar-dropbar",this.$el)||Te("<div></div>")),this.dropbar&&(Ae(this.dropbar,"bdt-navbar-dropbar"),"slide"===this.dropbarMode&&Ae(this.dropbar,"bdt-navbar-dropbar-slide"))},disconnected:function(){this.dropbar&&we(this.dropbar)},update:function(){var e=this;this.$create("drop",this.dropdowns.filter(function(t){return!e.getDropdown(t)}),U({},this.$props,{boundary:this.boundary,pos:this.pos,offset:this.dropbar||this.offset}))},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(t){var e=t.current,n=this.getActive();n&&n.toggle&&!Wt(n.toggle.$el,e)&&!n.tracker.movesTo(n.$el)&&n.hide(!1)}},{name:"mouseleave",el:function(){return this.dropbar},handler:function(){var t=this.getActive();t&&!this.dropdowns.some(function(t){return _t(t,":hover")})&&t.hide()}},{name:"beforeshow",capture:!0,filter:function(){return this.dropbar},handler:function(){this.dropbar.parentNode||ge(this.dropbarAnchor||this.$el,this.dropbar)}},{name:"show",capture:!0,filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el,i=e.dir;this.clsDrop&&Ae(n,this.clsDrop+"-dropbar"),"bottom"===i&&this.transitionTo(n.offsetHeight+F(Le(n,"marginTop"))+F(Le(n,"marginBottom")),n)}},{name:"beforehide",filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el,i=this.getActive();_t(this.dropbar,":hover")&&i&&i.$el===n&&t.preventDefault()}},{name:"hide",filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el,i=this.getActive();(!i||i&&i.$el===n)&&this.transitionTo(0)}}],methods:{getActive:function(){var t=this.dropdowns.map(this.getDropdown).filter(function(t){return t&&t.isActive()})[0];return t&&b(t.mode,"hover")&&Wt(t.toggle.$el,this.$el)&&t},transitionTo:function(t,e){var n=this,i=this.dropbar,r=Ht(i)?sn(i):0;return Le(e=r<t&&e,"clip","rect(0,"+e.offsetWidth+"px,"+r+"px,0)"),sn(i,r),Xe.cancel([e,i]),ne.all([Xe.start(i,{height:t},this.duration),Xe.start(e,{clip:"rect(0,"+e.offsetWidth+"px,"+t+"px,0)"},this.duration)]).catch(Q).then(function(){Le(e,{clip:""}),n.$update(i)})},getDropdown:function(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")}}},or={mixins:[tr],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"bdt-offcanvas-page",clsContainer:"bdt-offcanvas-container",selPanel:".bdt-offcanvas-bar",clsFlip:"bdt-offcanvas-flip",clsContainerAnimation:"bdt-offcanvas-container-animation",clsSidebarAnimation:"bdt-offcanvas-bar-animation",clsMode:"bdt-offcanvas",clsOverlay:"bdt-offcanvas-overlay",selClose:".bdt-offcanvas-close",container:!1},computed:{clsFlip:function(t){var e=t.flip,n=t.clsFlip;return e?n:""},clsOverlay:function(t){var e=t.overlay,n=t.clsOverlay;return e?n:""},clsMode:function(t){var e=t.mode;return t.clsMode+"-"+e},clsSidebarAnimation:function(t){var e=t.mode,n=t.clsSidebarAnimation;return"none"===e||"reveal"===e?"":n},clsContainerAnimation:function(t){var e=t.mode,n=t.clsContainerAnimation;return"push"!==e&&"reveal"!==e?"":n},transitionElement:function(t){return"reveal"===t.mode?this.panel.parentNode:this.panel}},events:[{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.current.hash;!t.defaultPrevented&&e&&Te(e,document.body)&&this.hide()}},{name:"touchstart",passive:!0,el:function(){return this.panel},handler:function(t){var e=t.targetTouches;1===e.length&&(this.clientY=e[0].clientY)}},{name:"touchmove",self:!0,passive:!1,filter:function(){return this.overlay},handler:function(t){t.cancelable&&t.preventDefault()}},{name:"touchmove",passive:!1,el:function(){return this.panel},handler:function(t){if(1===t.targetTouches.length){var e=event.targetTouches[0].clientY-this.clientY,n=this.panel,i=n.scrollTop,r=n.scrollHeight,o=n.clientHeight;(r<=o||0===i&&0<e||r-i<=o&&e<0)&&t.cancelable&&t.preventDefault()}}},{name:"show",self:!0,handler:function(){"reveal"!==this.mode||Oe(this.panel.parentNode,this.clsMode)||(be(this.panel,"<div>"),Ae(this.panel.parentNode,this.clsMode)),Le(document.documentElement,"overflowY",this.overlay?"hidden":""),Ae(document.body,this.clsContainer,this.clsFlip),Le(document.body,"touch-action","pan-y pinch-zoom"),Le(this.$el,"display","block"),Ae(this.$el,this.clsOverlay),Ae(this.panel,this.clsSidebarAnimation,"reveal"!==this.mode?this.clsMode:""),sn(document.body),Ae(document.body,this.clsContainerAnimation),this.clsContainerAnimation&&(sr().content+=",user-scalable=0")}},{name:"hide",self:!0,handler:function(){_e(document.body,this.clsContainerAnimation),Le(document.body,"touch-action","")}},{name:"hidden",self:!0,handler:function(){this.clsContainerAnimation&&function(){var t=sr();t.content=t.content.replace(/,user-scalable=0$/,"")}(),"reveal"===this.mode&&xe(this.panel),_e(this.panel,this.clsSidebarAnimation,this.clsMode),_e(this.$el,this.clsOverlay),Le(this.$el,"display",""),_e(document.body,this.clsContainer,this.clsFlip),Le(document.documentElement,"overflowY","")}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&u(t.type,"Left")^this.flip&&this.hide()}}]};function sr(){return Te('meta[name="viewport"]',document.head)||pe(document.head,'<meta name="viewport">')}var ar={mixins:[ei],props:{selContainer:String,selContent:String},data:{selContainer:".bdt-modal",selContent:".bdt-modal-dialog"},computed:{container:function(t,e){return Mt(e,t.selContainer)},content:function(t,e){return Mt(e,t.selContent)}},connected:function(){Le(this.$el,"minHeight",150)},update:{read:function(){return!(!this.content||!this.container)&&{current:F(Le(this.$el,"maxHeight")),max:Math.max(150,sn(this.container)-(nn(this.content).height-sn(this.$el)))}},write:function(t){var e=t.current,n=t.max;Le(this.$el,"maxHeight",n),Math.round(e)!==Math.round(n)&&qt(this.$el,"resize")},events:["resize"]}},hr={props:["width","height"],connected:function(){Ae(this.$el,"bdt-responsive-width")},update:{read:function(){return!!(Ht(this.$el)&&this.width&&this.height)&&{width:an(this.$el.parentNode),height:this.height}},write:function(t){sn(this.$el,nt.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},cr={props:{duration:Number,offset:Number},data:{duration:1e3,offset:0},methods:{scrollTo:function(e){var n=this;e=e&&Te(e)||document.body;var t=sn(document),i=sn(window),r=nn(e).top-this.offset;if(t<r+i&&(r=t-i),qt(this.$el,"beforescroll",[this,e])){var o=Date.now(),s=window.pageYOffset,a=function(){var t=s+(r-s)*function(t){return.5*(1-Math.cos(Math.PI*t))}(Z((Date.now()-o)/n.duration));gn(window,t),t!==r?requestAnimationFrame(a):qt(n.$el,"scrolled",[n,e])};a()}}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(zt(decodeURIComponent(this.$el.hash)).substr(1)))}}};var ur={args:"cls",props:{cls:String,target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},data:function(){return{cls:!1,target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"bdt-scrollspy-inview"}},computed:{elements:function(t,e){var n=t.target;return n?Ee(n,e):[e]}},update:[{write:function(){this.hidden&&Le(jt(this.elements,":not(."+this.inViewClass+")"),"visibility","hidden")}},{read:function(t){var n=this;t.update&&this.elements.forEach(function(t){var e=t._ukScrollspyState;(e=e||{cls:st(t,"bdt-scrollspy-class")||n.cls}).show=pn(t,n.offsetTop,n.offsetLeft),t._ukScrollspyState=e})},write:function(r){var o=this;if(!r.update)return this.$emit(),r.update=!0;this.elements.forEach(function(t){var n=t._ukScrollspyState,e=n.cls;if(!n.show||n.inview||n.queued){if(!n.show&&(n.inview||n.queued)&&o.repeat){if(n.abort&&n.abort(),!n.inview)return;Le(t,"visibility",o.hidden?"hidden":""),_e(t,o.inViewClass),De(t,e),qt(t,"outview"),o.$update(t),n.inview=!1}}else{var i=function(){Le(t,"visibility",""),Ae(t,o.inViewClass),De(t,e),qt(t,"inview"),o.$update(t),n.inview=!0,n.abort&&n.abort()};o.delay?(n.queued=!0,r.promise=(r.promise||ne.resolve()).then(function(){return!n.inview&&new ne(function(t){var e=setTimeout(function(){i(),t()},r.promise||1===o.elements.length?o.delay:0);n.abort=function(){clearTimeout(e),t(),n.queued=!1}})})):i()}})},events:["scroll","resize"]}]},lr={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"bdt-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:function(t,e){return Ee('a[href^="#"]',e).filter(function(t){return t.hash})},elements:function(t){var e=t.closest;return Mt(this.links,e||"*")},targets:function(){return Ee(this.links.map(function(t){return zt(t.hash).substr(1)}).join(","))}},update:[{read:function(){this.scroll&&this.$create("scroll",this.links,{offset:this.offset||0})}},{read:function(o){var s=this,a=window.pageYOffset+this.offset+1,h=sn(document)-sn(window)+this.offset;o.active=!1,this.targets.every(function(t,e){var n=nn(t).top,i=e+1===s.targets.length;if(!s.overflow&&(0===e&&a<n||i&&n+t.offsetTop<a))return!1;if(!i&&nn(s.targets[e+1]).top<=a)return!0;if(h<=a)for(var r=s.targets.length-1;e<r;r--)if(pn(s.targets[r])){t=s.targets[r];break}return!(o.active=Te(jt(s.links,'[href="#'+t.id+'"]')))})},write:function(t){var e=t.active;this.links.forEach(function(t){return t.blur()}),_e(this.elements,this.cls),e&&qt(this.$el,"active",[e,Ae(this.closest?Mt(e,this.closest):e,this.cls)])},events:["scroll","resize"]}]},dr={mixins:[ei,Gi],props:{top:null,bottom:Boolean,offset:String,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,widthElement:Boolean,showOnUp:Boolean,targetOffset:Number},data:{top:0,bottom:!1,offset:0,animation:"",clsActive:"bdt-active",clsInactive:"",clsFixed:"bdt-sticky-fixed",clsBelow:"bdt-sticky-below",selTarget:"",widthElement:!1,showOnUp:!1,targetOffset:!1},computed:{offset:function(t){return wn(t.offset)},selTarget:function(t,e){var n=t.selTarget;return n&&Te(n,e)||e},widthElement:function(t,e){return wt(t.widthElement,e)||this.placeholder},isActive:{get:function(){return Oe(this.selTarget,this.clsActive)},set:function(t){t&&!this.isActive?(Me(this.selTarget,this.clsInactive,this.clsActive),qt(this.$el,"active")):t||Oe(this.selTarget,this.clsInactive)||(Me(this.selTarget,this.clsActive,this.clsInactive),qt(this.$el,"inactive"))}}},connected:function(){this.placeholder=Te("+ .bdt-sticky-placeholder",this.$el)||Te('<div class="bdt-sticky-placeholder"></div>'),this.isFixed=!1,this.isActive=!1},disconnected:function(){this.isFixed&&(this.hide(),_e(this.selTarget,this.clsInactive)),we(this.placeholder),this.placeholder=null,this.widthElement=null},events:[{name:"load hashchange popstate",el:window,handler:function(){var i=this;if(!1!==this.targetOffset&&location.hash&&0<window.pageYOffset){var r=Te(location.hash);r&&kn.read(function(){var t=nn(r).top,e=nn(i.$el).top,n=i.$el.offsetHeight;i.isFixed&&t<=e+n&&e<=t+r.offsetHeight&&gn(window,t-n-(z(i.targetOffset)?i.targetOffset:0)-i.offset)})}}}],update:[{read:function(t,e){var n=t.height;this.isActive&&"update"!==e&&(this.hide(),n=this.$el.offsetHeight,this.show()),n=this.isActive?n:this.$el.offsetHeight,this.topOffset=nn(this.isFixed?this.placeholder:this.$el).top,this.bottomOffset=this.topOffset+n;var i=fr("bottom",this);return this.top=Math.max(F(fr("top",this)),this.topOffset)-this.offset,this.bottom=i&&i-n,this.inactive=!this.matchMedia,{lastScroll:!1,height:n,margins:Le(this.$el,["marginTop","marginBottom","marginLeft","marginRight"])}},write:function(t){var e=t.height,n=t.margins,i=this.placeholder;Le(i,U({height:e},n)),Wt(i,document)||(ge(this.$el,i),it(i,"hidden","")),this.isActive=this.isActive},events:["resize"]},{read:function(t){var e=t.scroll;return void 0===e&&(e=0),this.width=(Ht(this.widthElement)?this.widthElement:this.$el).offsetWidth,this.scroll=window.pageYOffset,{dir:e<=this.scroll?"down":"up",scroll:this.scroll,visible:Ht(this.$el),top:vn(this.placeholder)[0]}},write:function(t,e){var n=this,i=t.initTimestamp;void 0===i&&(i=0);var r=t.dir,o=t.lastDir,s=t.lastScroll,a=t.scroll,h=t.top,c=t.visible,u=performance.now();if(!((t.lastScroll=a)<0||a===s||!c||this.disabled||this.showOnUp&&"scroll"!==e||((300<u-i||r!==o)&&(t.initScroll=a,t.initTimestamp=u),t.lastDir=r,this.showOnUp&&Math.abs(t.initScroll-a)<=30&&Math.abs(s-a)<=10)))if(this.inactive||a<this.top||this.showOnUp&&(a<=this.top||"down"===r||"up"===r&&!this.isFixed&&a<=this.bottomOffset)){if(!this.isFixed)return void(Qe.inProgress(this.$el)&&a<h&&(Qe.cancel(this.$el),this.hide()));this.isFixed=!1,this.animation&&a>this.topOffset?(Qe.cancel(this.$el),Qe.out(this.$el,this.animation).then(function(){return n.hide()},Q)):this.hide()}else this.isFixed?this.update():this.animation?(Qe.cancel(this.$el),this.show(),Qe.in(this.$el,this.animation).catch(Q)):this.show()},events:["resize","scroll"]}],methods:{show:function(){this.isFixed=!0,this.update(),it(this.placeholder,"hidden",null)},hide:function(){this.isActive=!1,_e(this.$el,this.clsFixed,this.clsBelow),Le(this.$el,{position:"",top:"",width:""}),it(this.placeholder,"hidden","")},update:function(){var t=0!==this.top||this.scroll>this.top,e=Math.max(0,this.offset);this.bottom&&this.scroll>this.bottom-this.offset&&(e=this.bottom-this.scroll),Le(this.$el,{position:"fixed",top:e+"px",width:this.width}),this.isActive=t,De(this.$el,this.clsBelow,this.scroll>this.bottomOffset),Ae(this.$el,this.clsFixed)}}};function fr(t,e){var n=e.$props,i=e.$el,r=e[t+"Offset"],o=n[t];if(o)return z(o)&&O(o)&&o.match(/^-?\d/)?r+wn(o):nn(!0===o?i.parentNode:wt(o,i)).bottom}var pr,mr={mixins:[ni],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},data:{connect:"~.bdt-switcher",toggle:"> * > :first-child",active:0,swiping:!0,cls:"bdt-active",clsContainer:"bdt-switcher",attrItem:"bdt-switcher-item",queued:!0},computed:{connects:function(t,e){return bt(t.connect,e)},toggles:function(t,e){return Ee(t.toggle,e)}},events:[{name:"click",delegate:function(){return this.toggle+":not(.bdt-disabled)"},handler:function(e){e.preventDefault(),this.show(W(this.$el.children).filter(function(t){return Wt(e.current,t)})[0])}},{name:"click",el:function(){return this.connects},delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.show(st(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){var e=t.type;this.show(u(e,"Left")?"next":"previous")}}],update:function(){var e=this;this.connects.forEach(function(t){return e.updateAria(t.children)});var t=this.$el.children;this.show(jt(t,"."+this.cls)[0]||t[this.active]||t[0]),this.swiping&&Le(this.connects,"touch-action","pan-y pinch-zoom")},methods:{index:function(){return!B(this.connects)&&ue(jt(this.connects[0].children,"."+this.cls)[0])},show:function(t){for(var e,n,i=this,r=this.$el.children,o=r.length,s=this.index(),a=0<=s,h="previous"===t?-1:1,c=le(t,r,s),u=0;u<o;u++,c=(c+h+o)%o)if(!_t(this.toggles[c],".bdt-disabled *, .bdt-disabled, [disabled]")){e=this.toggles[c],n=r[c];break}!n||0<=s&&Oe(n,this.cls)||s===c||(_e(r,this.cls),Ae(n,this.cls),it(this.toggles,"aria-expanded",!1),it(e,"aria-expanded",!0),this.connects.forEach(function(t){a?i.toggleElement([t.children[s],t.children[c]]):i.toggleNow(t.children[c])}))}}},gr={mixins:[ei],extends:mr,props:{media:Boolean},data:{media:960,attrItem:"bdt-tab-item"},connected:function(){var t=Oe(this.$el,"bdt-tab-left")?"bdt-tab-left":!!Oe(this.$el,"bdt-tab-right")&&"bdt-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}},vr={mixins:[Gi,ni],args:"target",props:{href:String,target:null,mode:"list"},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:function(t,e){var n=t.href,i=t.target;return(i=bt(i||n,e)).length&&i||[e]}},connected:function(){qt(this.target,"updatearia",[this])},events:[{name:mt+" "+gt,filter:function(){return b(this.mode,"hover")},handler:function(t){Qt(t)||this.toggle("toggle"+(t.type===mt?"show":"hide"))}},{name:"click",filter:function(){return b(this.mode,"click")||lt&&b(this.mode,"hover")},handler:function(t){var e;(Mt(t.target,'a[href="#"], a[href=""]')||(e=Mt(t.target,"a[href]"))&&(this.cls||!Ht(this.target)||e.hash&&_t(this.target,e.hash)))&&t.preventDefault(),this.toggle()}}],update:{read:function(){return!(!b(this.mode,"media")||!this.media)&&{match:this.matchMedia}},write:function(t){var e=t.match,n=this.isToggled(this.target);(e?!n:n)&&this.toggle()},events:["resize"]},methods:{toggle:function(t){qt(this.target,t||"toggle",[this])&&this.toggleElement(this.target)}}};Ln.version="3.2.0",(pr=Ln).component("accordion",ii),pr.component("alert",ri),pr.component("cover",hi),pr.component("drop",ui),pr.component("dropdown",di),pr.component("formCustom",fi),pr.component("gif",pi),pr.component("grid",wi),pr.component("heightMatch",yi),pr.component("heightViewport",$i),pr.component("icon",Oi),pr.component("img",Li),pr.component("leader",Ji),pr.component("margin",mi),pr.component("modal",nr),pr.component("nav",ir),pr.component("navbar",rr),pr.component("offcanvas",or),pr.component("overflowAuto",ar),pr.component("responsive",hr),pr.component("scroll",cr),pr.component("scrollspy",ur),pr.component("scrollspyNav",lr),pr.component("sticky",dr),pr.component("svg",Si),pr.component("switcher",mr),pr.component("tab",gr),pr.component("toggle",vr),pr.component("video",ai),pr.component("close",Pi),pr.component("marker",Di),pr.component("navbarToggleIcon",Di),pr.component("overlayIcon",Di),pr.component("paginationNext",Di),pr.component("paginationPrevious",Di),pr.component("searchIcon",Bi),pr.component("slidenavNext",zi),pr.component("slidenavPrevious",zi),pr.component("spinner",Hi),pr.component("totop",Di),pr.use(oi);var wr={mixins:[ei],props:{date:String,clsWrapper:String},data:{date:"",clsWrapper:".bdt-countdown-%unit%"},computed:{date:function(t){var e=t.date;return Date.parse(e)},days:function(t,e){return Te(t.clsWrapper.replace("%unit%","days"),e)},hours:function(t,e){return Te(t.clsWrapper.replace("%unit%","hours"),e)},minutes:function(t,e){return Te(t.clsWrapper.replace("%unit%","minutes"),e)},seconds:function(t,e){return Te(t.clsWrapper.replace("%unit%","seconds"),e)},units:function(){var e=this;return["days","hours","minutes","seconds"].filter(function(t){return e[t]})}},connected:function(){this.start()},disconnected:function(){var e=this;this.stop(),this.units.forEach(function(t){return de(e[t])})},events:[{name:"visibilitychange",el:document,handler:function(){document.hidden?this.stop():this.start()}}],update:{write:function(){var i=this,r=function(t){var e=t-Date.now();return{total:e,seconds:e/1e3%60,minutes:e/1e3/60%60,hours:e/1e3/60/60%24,days:e/1e3/60/60/24}}(this.date);r.total<=0&&(this.stop(),r.days=r.hours=r.minutes=r.seconds=0),this.units.forEach(function(t){var e=String(Math.floor(r[t]));e=e.length<2?"0"+e:e;var n=i[t];n.textContent!==e&&((e=e.split("")).length!==n.children.length&&fe(n,e.map(function(){return"<span></span>"}).join("")),e.forEach(function(t,e){return n.children[e].textContent=t}))})}},methods:{start:function(){var t=this;this.stop(),this.date&&this.units.length&&(this.$emit(),this.timer=setInterval(function(){return t.$emit()},1e3))},stop:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}}};var br,yr="bdt-animation-target",xr={props:{animation:Number},data:{animation:150},computed:{target:function(){return this.$el}},methods:{animate:function(t){var i=this;!function(){if(br)return;(br=pe(document.head,"<style>").sheet).insertRule("."+yr+" > * {\n margin-top: 0 !important;\n transform: none !important;\n }",0)}();var r=W(this.target.children),o=r.map(function(t){return kr(t,!0)}),e=sn(this.target),n=window.pageYOffset;t(),Xe.cancel(this.target),r.forEach(Xe.cancel),$r(this.target),this.$update(this.target),kn.flush();var s=sn(this.target),a=(r=r.concat(W(this.target.children).filter(function(t){return!b(r,t)}))).map(function(t,e){return!!(t.parentNode&&e in o)&&(o[e]?Ht(t)?Ir(t):{opacity:0}:{opacity:Ht(t)?1:0})});return o=a.map(function(t,e){var n=r[e].parentNode===i.target&&(o[e]||kr(r[e]));if(n)if(t){if(!("opacity"in t)){n.opacity%1?t.opacity=1:delete n.opacity}}else delete n.opacity;return n}),Ae(this.target,yr),r.forEach(function(t,e){return o[e]&&Le(t,o[e])}),Le(this.target,"height",e),gn(window,n),ne.all(r.map(function(t,e){return o[e]&&a[e]?Xe.start(t,a[e],i.animation,"ease"):ne.resolve()}).concat(Xe.start(this.target,{height:s},this.animation,"ease"))).then(function(){r.forEach(function(t,e){return Le(t,{display:0===a[e].opacity?"none":"",zIndex:""})}),$r(i.target),i.$update(i.target),kn.flush()},Q)}}};function kr(t,e){var n=Le(t,"zIndex");return!!Ht(t)&&U({display:"",opacity:e?Le(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:"auto"===n?ue(t):n},Ir(t))}function $r(t){Le(t.children,{height:"",left:"",opacity:"",pointerEvents:"",position:"",top:"",width:""}),_e(t,yr),Le(t,"height","")}function Ir(t){var e=t.getBoundingClientRect(),n=e.height,i=e.width,r=on(t),o=r.top,s=r.left;return{top:o+=F(Le(t,"marginTop")),left:s,height:n,width:i}}var Sr={mixins:[xr],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"bdt-filter-control",cls:"bdt-active",animation:250},computed:{toggles:{get:function(t,e){t.attrItem;return Ee("["+this.attrItem+"],[data-"+this.attrItem+"]",e)},watch:function(){this.updateState()}},target:function(t,e){return Te(t.target,e)},children:{get:function(){return W(this.target&&this.target.children)},watch:function(t,e){!function(t,e){return t.length===e.length&&t.every(function(t){return~e.indexOf(t)})}(t,e)&&this.updateState()}}},events:[{name:"click",delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.apply(t.current)}}],connected:function(){var e=this;if(this.updateState(),!1!==this.selActive){var n=Ee(this.selActive,this.$el);this.toggles.forEach(function(t){return De(t,e.cls,b(n,t))})}},methods:{apply:function(t){this.setState(Er(t,this.attrItem,this.getState()))},getState:function(){var n=this;return this.toggles.filter(function(t){return Oe(t,n.cls)}).reduce(function(t,e){return Er(e,n.attrItem,t)},{filter:{"":""},sort:[]})},setState:function(o,t){var s=this;void 0===t&&(t=!0),o=U({filter:{"":""},sort:[]},o),qt(this.$el,"beforeFilter",[this,o]);var a=this.children;this.toggles.forEach(function(t){return De(t,s.cls,!!function(t,e,n){var i=n.filter;void 0===i&&(i={"":""});var r=n.sort,o=r[0],s=r[1],a=Tr(t,e),h=a.filter;void 0===h&&(h="");var c=a.group;void 0===c&&(c="");var u=a.sort,l=a.order;void 0===l&&(l="asc");return P(u)?c in i&&h===i[c]||!h&&c&&!(c in i)&&!i[""]:o===u&&s===l}(t,s.attrItem,o))});function e(){var e=function(t){var e=t.filter,n="";return K(e,function(t){return n+=t||""}),n}(o);a.forEach(function(t){return Le(t,"display",e&&!_t(t,e)?"none":"")});var t=o.sort,n=t[0],i=t[1];if(n){var r=function(t,n,i){return U([],t).sort(function(t,e){return st(t,n).localeCompare(st(e,n),void 0,{numeric:!0})*("asc"===i||-1)})}(a,n,i);Y(r,a)||r.forEach(function(t){return pe(s.target,t)})}}t?this.animate(e).then(function(){return qt(s.$el,"afterFilter",[s])}):(e(),qt(this.$el,"afterFilter",[this]))},updateState:function(){var t=this;kn.write(function(){return t.setState(t.getState(),!1)})}}};function Tr(t,e){return On(st(t,e),["filter"])}function Er(t,e,n){var i=Tr(t,e),r=i.filter,o=i.group,s=i.sort,a=i.order;return void 0===a&&(a="asc"),(r||P(s))&&(o?r?(delete n.filter[""],n.filter[o]=r):(delete n.filter[o],(B(n.filter)||""in n.filter)&&(n.filter={"":r||""})):n.filter={"":r||""}),P(s)||(n.sort=[s,a]),n}var Cr={slide:{show:function(t){return[{transform:_r(-100*t)},{transform:_r()}]},percent:function(t){return Ar(t)},translate:function(t,e){return[{transform:_r(-100*e*t)},{transform:_r(100*e*(1-t))}]}}};function Ar(t){return Math.abs(Le(t,"transform").split(",")[4]/t.offsetWidth)||0}function _r(t,e){return void 0===t&&(t=0),void 0===e&&(e="%"),t+=t?e:"",at?"translateX("+t+")":"translate3d("+t+", 0, 0)"}function Nr(t){return"scale3d("+t+", "+t+", 1)"}var Mr=U({},Cr,{fade:{show:function(){return[{opacity:0},{opacity:1}]},percent:function(t){return 1-Le(t,"opacity")},translate:function(t){return[{opacity:1-t},{opacity:t}]}},scale:{show:function(){return[{opacity:0,transform:Nr(.8)},{opacity:1,transform:Nr(1)}]},percent:function(t){return 1-Le(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:Nr(1-.2*t)},{opacity:t,transform:Nr(.8+.2*t)}]}}});function Or(t,e,n){qt(t,Ut(e,!1,!1,n))}var Dr={mixins:[{props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected:function(){this.autoplay&&this.startAutoplay()},disconnected:function(){this.stopAutoplay()},update:function(){it(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:document,filter:function(){return this.autoplay},handler:function(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay:function(){var t=this;this.stopAutoplay(),this.interval=setInterval(function(){return(!t.draggable||!Te(":focus",t.$el))&&(!t.pauseOnHover||!_t(t.$el,":hover"))&&!t.stack.length&&t.show("next")},this.autoplayInterval)},stopAutoplay:function(){this.interval&&clearInterval(this.interval)}}},{props:{draggable:Boolean},data:{draggable:!0,threshold:10},created:function(){var i=this;["start","move","end"].forEach(function(t){var n=i[t];i[t]=function(t){var e=te(t).x*(ht?-1:1);i.prevPos=e!==i.pos?i.pos:i.prevPos,i.pos=e,n(t)}})},events:[{name:dt,delegate:function(){return this.selSlides},handler:function(t){!this.draggable||!Qt(t)&&function(t){return!t.children.length&&t.childNodes.length}(t.target)||0<t.button||this.length<2||this.start(t)}},{name:"touchmove",passive:!1,handler:"move",delegate:function(){return this.selSlides}},{name:"dragstart",handler:function(t){t.preventDefault()}}],methods:{start:function(){var t=this;this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index;var e="touchmove"!=ft?Vt(document,ft,this.move,{passive:!1}):Q;this.unbindMove=function(){e(),t.unbindMove=null},Vt(window,"scroll",this.unbindMove),Vt(document,pt,this.end,!0),Le(this.list,"userSelect","none")},move:function(t){var e=this;if(this.unbindMove){var n=this.pos-this.drag;if(!(0==n||this.prevPos===this.pos||!this.dragging&&Math.abs(n)<this.threshold)){Le(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=n<0?1:-1;for(var i=this.slides,r=this.prevIndex,o=Math.abs(n),s=this.getIndex(r+this.dir,r),a=this._getDistance(r,s)||i[r].offsetWidth;s!==r&&a<o;)this.drag-=a*this.dir,r=s,o-=a,s=this.getIndex(r+this.dir,r),a=this._getDistance(r,s)||i[r].offsetWidth;this.percent=o/a;var h,c=i[r],u=i[s],l=this.index!==s,d=r===s;[this.index,this.prevIndex].filter(function(t){return!b([s,r],t)}).forEach(function(t){qt(i[t],"itemhidden",[e]),d&&(h=!0,e.prevIndex=r)}),(this.index===r&&this.prevIndex!==r||h)&&qt(i[this.index],"itemshown",[this]),l&&(this.prevIndex=r,this.index=s,d||qt(c,"beforeitemhide",[this]),qt(u,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),c,!d&&u),l&&(d||qt(c,"itemhide",[this]),qt(u,"itemshow",[this]))}}},end:function(){if(Rt(window,"scroll",this.unbindMove),this.unbindMove&&this.unbindMove(),Rt(document,pt,this.end,!0),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{var t=(ht?this.dir*(ht?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(0<this.dir&&!t||this.dir<0&&t?"next":"previous",!0)}Le(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}},{data:{selNav:!1},computed:{nav:function(t,e){return Te(t.selNav,e)},selNavItem:function(t){var e=t.attrItem;return"["+e+"],[data-"+e+"]"},navItems:function(t,e){return Ee(this.selNavItem,e)}},update:{write:function(){var n=this;this.nav&&this.length!==this.nav.children.length&&fe(this.nav,this.slides.map(function(t,e){return"<li "+n.attrItem+'="'+e+'"><a href="#"></a></li>'}).join("")),De(Ee(this.selNavItem,this.$el).concat(this.nav),"bdt-hidden",!this.maxIndex),this.updateNav()},events:["resize"]},events:[{name:"click",delegate:function(){return this.selNavItem},handler:function(t){t.preventDefault(),this.show(st(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav:function(){var n=this,i=this.getValidIndex();this.navItems.forEach(function(t){var e=st(t,n.attrItem);De(t,n.clsActive,L(e)===i),De(t,"bdt-invisible",n.finite&&("previous"===e&&0===i||"next"===e&&i>=n.maxIndex))})}}}],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:function(){return{easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"bdt-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}},connected:function(){this.prevIndex=-1,this.index=this.getValidIndex(this.index),this.stack=[]},disconnected:function(){_e(this.slides,this.clsActive)},computed:{duration:function(t,e){var n=t.velocity;return zr(e.offsetWidth/n)},list:function(t,e){return Te(t.selList,e)},maxIndex:function(){return this.length-1},selSlides:function(t){return t.selList+" > *"},slides:{get:function(){return W(this.list.children)},watch:function(){this.$reset()}},length:function(){return this.slides.length}},events:{itemshown:function(){this.$update(this.list)}},methods:{show:function(t,e){var n=this;if(void 0===e&&(e=!1),!this.dragging&&this.length){var i=this.stack,r=e?0:i.length,o=function(){i.splice(r,1),i.length&&n.show(i.shift(),!0)};if(i[e?"unshift":"push"](t),!e&&1<i.length)2===i.length&&this._transitioner.forward(Math.min(this.duration,200));else{var s=this.index,a=Oe(this.slides,this.clsActive)&&this.slides[s],h=this.getIndex(t,this.index),c=this.slides[h];if(a!==c){if(this.dir=function(t,e){return"next"===t?1:"previous"===t?-1:t<e?-1:1}(t,s),this.prevIndex=s,this.index=h,a&&qt(a,"beforeitemhide",[this]),!qt(c,"beforeitemshow",[this,a]))return this.index=this.prevIndex,void o();var u=this._show(a,c,e).then(function(){return a&&qt(a,"itemhidden",[n]),qt(c,"itemshown",[n]),new ne(function(t){kn.write(function(){i.shift(),i.length?n.show(i.shift(),!0):n._transitioner=null,t()})})});return a&&qt(a,"itemhide",[this]),qt(c,"itemshow",[this]),u}o()}}},getIndex:function(t,e){return void 0===t&&(t=this.index),void 0===e&&(e=this.index),Z(le(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex:function(t,e){return void 0===t&&(t=this.index),void 0===e&&(e=this.prevIndex),this.getIndex(t,e)},_show:function(t,e,n){if(this._transitioner=this._getTransitioner(t,e,this.dir,U({easing:n?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing},this.transitionOptions)),!n&&!t)return this._transitioner.translate(1),ne.resolve();var i=this.stack.length;return this._transitioner[1<i?"forward":"show"](1<i?Math.min(this.duration,75+75/(i-1)):this.duration,this.percent)},_getDistance:function(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate:function(t,e,n){void 0===e&&(e=this.prevIndex),void 0===n&&(n=this.index);var i=this._getTransitioner(e!==n&&e,n);return i.translate(t),i},_getTransitioner:function(t,e,n,i){return void 0===t&&(t=this.prevIndex),void 0===e&&(e=this.index),void 0===n&&(n=this.dir||1),void 0===i&&(i=this.transitionOptions),new this.Transitioner(D(t)?this.slides[t]:t,D(e)?this.slides[e]:e,n*(ht?-1:1),i)}}};function zr(t){return.5*t+300}var Br={mixins:[Dr],props:{animation:String},data:{animation:"slide",clsActivated:"bdt-transition-active",Animations:Cr,Transitioner:function(o,s,a,t){var e=t.animation,h=t.easing,n=e.percent,i=e.translate,r=e.show;void 0===r&&(r=Q);var c=r(a),u=new ee;return{dir:a,show:function(t,e,n){var i=this;void 0===e&&(e=0);var r=n?"linear":h;return t-=Math.round(t*Z(e,-1,1)),this.translate(e),Or(s,"itemin",{percent:e,duration:t,timing:r,dir:a}),Or(o,"itemout",{percent:1-e,duration:t,timing:r,dir:a}),ne.all([Xe.start(s,c[1],t,r),Xe.start(o,c[0],t,r)]).then(function(){i.reset(),u.resolve()},Q),u.promise},stop:function(){return Xe.stop([s,o])},cancel:function(){Xe.cancel([s,o])},reset:function(){for(var t in c[0])Le([s,o],t,"")},forward:function(t,e){return void 0===e&&(e=this.percent()),Xe.cancel([s,o]),this.show(t,e,!0)},translate:function(t){this.reset();var e=i(t,a);Le(s,e[1]),Le(o,e[0]),Or(s,"itemtranslatein",{percent:t,dir:a}),Or(o,"itemtranslateout",{percent:1-t,dir:a})},percent:function(){return n(o||s,s,a)},getDistance:function(){return o&&o.offsetWidth}}}},computed:{animation:function(t){var e=t.animation,n=t.Animations;return U(e in n?n[e]:n.slide,{name:e})},transitionOptions:function(){return{animation:this.animation}}},events:{"itemshow itemhide itemshown itemhidden":function(t){var e=t.target;this.$update(e)},beforeitemshow:function(t){Ae(t.target,this.clsActive)},itemshown:function(t){Ae(t.target,this.clsActivated)},itemhidden:function(t){_e(t.target,this.clsActive,this.clsActivated)}}},Pr={mixins:[Zi,tr,ni,Br],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:function(){return{preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"bdt-open",clsPage:"bdt-lightbox-page",selList:".bdt-lightbox-items",attrItem:"bdt-lightbox-item",selClose:".bdt-close-large",selCaption:".bdt-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:Mr,template:'<div class="bdt-lightbox bdt-overflow-hidden"> <ul class="bdt-lightbox-items"></ul> <div class="bdt-lightbox-toolbar bdt-position-top bdt-text-right bdt-transition-slide-top bdt-transition-opaque"> <button class="bdt-lightbox-toolbar-icon bdt-close-large" type="button" bdt-close></button> </div> <a class="bdt-lightbox-button bdt-position-center-left bdt-position-medium bdt-transition-fade" href="#" bdt-slidenav-previous bdt-lightbox-item="previous"></a> <a class="bdt-lightbox-button bdt-position-center-right bdt-position-medium bdt-transition-fade" href="#" bdt-slidenav-next bdt-lightbox-item="next"></a> <div class="bdt-lightbox-toolbar bdt-lightbox-caption bdt-position-bottom bdt-text-center bdt-transition-slide-bottom bdt-transition-opaque"></div> </div>'}},created:function(){var t=Te(this.template),e=Te(this.selList,t);this.items.forEach(function(){return pe(e,"<li></li>")}),this.$mount(pe(this.container,t))},computed:{caption:function(t,e){t.selCaption;return Te(".bdt-lightbox-caption",e)}},events:[{name:ft+" "+dt+" keydown",handler:"showControls"},{name:"click",self:!0,delegate:function(){return this.selSlides},handler:function(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler:function(){this.showControls()}},{name:"hide",self:!0,handler:function(){this.hideControls(),_e(this.slides,this.clsActive),Xe.stop(this.slides)}},{name:"hidden",self:!0,handler:function(){this.$destroy(!0)}},{name:"keyup",el:document,handler:function(t){if(this.isToggled(this.$el))switch(t.keyCode){case 37:this.show("previous");break;case 39:this.show("next")}}},{name:"beforeitemshow",handler:function(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleNow(this.$el,!0),this.animation=Mr.scale,_e(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler:function(t){var e=ue(t.target),n=this.getItem(e).caption;Le(this.caption,"display",n?"":"none"),fe(this.caption,n);for(var i=0;i<=this.preload;i++)this.loadItem(this.getIndex(e+i)),this.loadItem(this.getIndex(e-i))}},{name:"itemshown",handler:function(){this.draggable=this.$props.draggable}},{name:"itemload",handler:function(t,r){var o,s=this,e=r.source,n=r.type,i=r.alt;if(this.setItem(r,"<span bdt-spinner></span>"),e)if("image"===n||e.match(/\.(jp(e)?g|png|gif|svg|webp)($|\?)/i))he(e).then(function(t){return s.setItem(r,'<img width="'+t.width+'" height="'+t.height+'" src="'+e+'" alt="'+(i||"")+'">')},function(){return s.setError(r)});else if("video"===n||e.match(/\.(mp4|webm|ogv)($|\?)/i)){var a=Te("<video controls playsinline"+(r.poster?' poster="'+r.poster+'"':"")+' bdt-video="'+this.videoAutoplay+'"></video>');it(a,"src",e),Yt(a,"error loadedmetadata",function(t){"error"===t?s.setError(r):(it(a,{width:a.videoWidth,height:a.videoHeight}),s.setItem(r,a))})}else if("iframe"===n||e.match(/\.(html|php)($|\?)/i))this.setItem(r,'<iframe class="bdt-lightbox-iframe" src="'+e+'" frameborder="0" allowfullscreen></iframe>');else if(o=e.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/watch\?v=([^&\s]+)/)||e.match(/()youtu\.be\/(.*)/)){var h=o[2],c=function(t,e){return void 0===t&&(t=640),void 0===e&&(e=450),s.setItem(r,Hr("https://www.youtube"+(o[1]||"")+".com/embed/"+h,t,e,s.videoAutoplay))};he("https://img.youtube.com/vi/"+h+"/maxresdefault.jpg").then(function(t){var e=t.width,n=t.height;120===e&&90===n?he("https://img.youtube.com/vi/"+h+"/0.jpg").then(function(t){var e=t.width,n=t.height;return c(e,n)},c):c(e,n)},c)}else(o=e.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/))&&ae("https://vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(e),{responseType:"json",withCredentials:!1}).then(function(t){var e=t.response,n=e.height,i=e.width;return s.setItem(r,Hr("https://player.vimeo.com/video/"+o[2],i,n,s.videoAutoplay))},function(){return s.setError(r)})}}],methods:{loadItem:function(t){void 0===t&&(t=this.index);var e=this.getItem(t);e.content||qt(this.$el,"itemload",[e])},getItem:function(t){return void 0===t&&(t=this.index),this.items[t]||{}},setItem:function(t,e){U(t,{content:e});var n=fe(this.slides[this.items.indexOf(t)],e);qt(this.$el,"itemloaded",[this,n]),this.$update(n)},setError:function(t){this.setItem(t,'<span bdt-icon="icon: bolt; ratio: 2"></span>')},showControls:function(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),Ae(this.$el,"bdt-active","bdt-transition-active")},hideControls:function(){_e(this.$el,"bdt-active","bdt-transition-active")}}};function Hr(t,e,n,i){return'<iframe src="'+t+'" width="'+e+'" height="'+n+'" style="max-width: 100%; box-sizing: border-box;" frameborder="0" allowfullscreen bdt-video="autoplay: '+i+'" bdt-responsive></iframe>'}var Lr,Fr={install:function(t,e){t.lightboxPanel||t.component("lightboxPanel",Pr);U(e.props,t.component("lightboxPanel").options.props)},props:{toggle:String},data:{toggle:"a"},computed:{toggles:{get:function(t,e){return Ee(t.toggle,e)},watch:function(){this.hide()}},items:function(){return J(this.toggles.map(jr),"source")}},disconnected:function(){this.hide()},events:[{name:"click",delegate:function(){return this.toggle+":not(.bdt-disabled)"},handler:function(t){t.preventDefault();var e=st(t.current,"href");this.show(x(this.items,function(t){return t.source===e}))}}],methods:{show:function(t){var e=this;return this.panel=this.panel||this.$create("lightboxPanel",U({},this.$props,{items:this.items})),Vt(this.panel.$el,"hidden",function(){return e.panel=!1}),this.panel.show(t)},hide:function(){return this.panel&&this.panel.hide()}}};function jr(n){return["href","caption","type","poster","alt"].reduce(function(t,e){return t["href"===e?"source":e]=st(n,e),t},{})}var Wr={},Vr={functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsClose:"bdt-notification-close",clsMsg:"bdt-notification-message"},install:function(r){r.notification.closeAll=function(n,i){Se(document.body,function(t){var e=r.getComponent(t,"notification");!e||n&&n!==e.group||e.close(i)})}},computed:{marginProp:function(t){return"margin"+(w(t.pos,"top")?"Top":"Bottom")},startProps:function(){var t;return(t={opacity:0})[this.marginProp]=-this.$el.offsetHeight,t}},created:function(){Wr[this.pos]||(Wr[this.pos]=pe(this.$container,'<div class="bdt-notification bdt-notification-'+this.pos+'"></div>'));var t=Le(Wr[this.pos],"display","block");this.$mount(pe(t,'<div class="'+this.clsMsg+(this.status?" "+this.clsMsg+"-"+this.status:"")+'"> <a href="#" class="'+this.clsClose+'" data-bdt-close></a> <div>'+this.message+"</div> </div>"))},connected:function(){var t,e=this,n=F(Le(this.$el,this.marginProp));Xe.start(Le(this.$el,this.startProps),((t={opacity:1})[this.marginProp]=n,t)).then(function(){e.timeout&&(e.timer=setTimeout(e.close,e.timeout))})},events:(Lr={click:function(t){Mt(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()}},Lr[mt]=function(){this.timer&&clearTimeout(this.timer)},Lr[gt]=function(){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},Lr),methods:{close:function(t){function e(){qt(n.$el,"close",[n]),we(n.$el),Wr[n.pos].children.length||Le(Wr[n.pos],"display","none")}var n=this;this.timer&&clearTimeout(this.timer),t?e():Xe.start(this.$el,this.startProps).then(e)}}};var Rr=["x","y","bgx","bgy","rotate","scale","color","backgroundColor","borderColor","opacity","blur","hue","grayscale","invert","saturate","sepia","fopacity","stroke"],Yr={mixins:[Gi],props:Rr.reduce(function(t,e){return t[e]="list",t},{}),data:Rr.reduce(function(t,e){return t[e]=void 0,t},{}),computed:{props:function(m,g){var v=this;return Rr.reduce(function(t,e){if(P(m[e]))return t;var n,i,r,o=e.match(/color/i),s=o||"opacity"===e,a=m[e].slice(0);s&&Le(g,e,""),a.length<2&&a.unshift(("scale"===e?1:s?Le(g,e):0)||0);var h=function(t){return t.reduce(function(t,e){return O(e)&&e.replace(/-|\d/g,"").trim()||t},"")}(a);if(o){var c=g.style.color;a=a.map(function(t){return function(t,e){return Le(Le(t,"color",e),"color").split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(F)}(g,t)}),g.style.color=c}else if(w(e,"bg")){var u="bgy"===e?"height":"width";if(a=a.map(function(t){return wn(t,u,v.$el)}),Le(g,"background-position-"+e[2],""),i=Le(g,"backgroundPosition").split(" ")["x"===e[2]?0:1],v.covers){var l=Math.min.apply(Math,a),d=Math.max.apply(Math,a),f=a.indexOf(l)<a.indexOf(d);r=d-l,a=a.map(function(t){return t-(f?l:d)}),n=(f?-r:0)+"px"}else n=i}else a=a.map(F);if("stroke"===e){if(!a.some(function(t){return t}))return t;var p=Ai(v.$el);Le(g,"strokeDasharray",p),"%"===h&&(a=a.map(function(t){return t*p/100})),a=a.reverse(),e="strokeDashoffset"}return t[e]={steps:a,unit:h,pos:n,bgPos:i,diff:r},t},{})},bgProps:function(){var e=this;return["bgx","bgy"].filter(function(t){return t in e.props})},covers:function(t,e){return function(t){var e=t.style.backgroundSize,n="cover"===Le(Le(t,"backgroundSize",""),"backgroundSize");return t.style.backgroundSize=e,n}(e)}},disconnected:function(){delete this._image},update:{read:function(t){var h=this;if(t.active=this.matchMedia,t.active){if(!t.image&&this.covers&&this.bgProps.length){var e=Le(this.$el,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(e){var n=new Image;n.src=e,(t.image=n).naturalWidth||(n.onload=function(){return h.$emit()})}}var i=t.image;if(i&&i.naturalWidth){var c={width:this.$el.offsetWidth,height:this.$el.offsetHeight},u={width:i.naturalWidth,height:i.naturalHeight},l=nt.cover(u,c);this.bgProps.forEach(function(t){var e=h.props[t],n=e.diff,i=e.bgPos,r=e.steps,o="bgy"===t?"height":"width",s=l[o]-c[o];if(s<n)c[o]=l[o]+n-s;else if(n<s){var a=c[o]/wn(i,o,h.$el);a&&(h.props[t].steps=r.map(function(t){return t-(s-n)/a}))}l=nt.cover(u,c)}),t.dim=l}}},write:function(t){var e=t.dim;t.active?e&&Le(this.$el,{backgroundSize:e.width+"px "+e.height+"px",backgroundRepeat:"no-repeat"}):Le(this.$el,{backgroundSize:"",backgroundRepeat:""})},events:["resize"]},methods:{reset:function(){var n=this;K(this.getCss(0),function(t,e){return Le(n.$el,e,"")})},getCss:function(l){var d=this.props;return Object.keys(d).reduce(function(t,e){var n=d[e],i=n.steps,r=n.unit,o=n.pos,s=function(t,e,n){void 0===n&&(n=2);var i=qr(t,e),r=i[0],o=i[1],s=i[2];return(D(r)?r+Math.abs(r-o)*s*(r<o?1:-1):+o).toFixed(n)}(i,l);switch(e){case"x":case"y":r=r||"px",t.transform+=" translate"+p(e)+"("+F(s).toFixed("px"===r?0:2)+r+")";break;case"rotate":r=r||"deg",t.transform+=" rotate("+(s+r)+")";break;case"scale":t.transform+=" scale("+s+")";break;case"bgy":case"bgx":t["background-position-"+e[2]]="calc("+o+" + "+s+"px)";break;case"color":case"backgroundColor":case"borderColor":var a=qr(i,l),h=a[0],c=a[1],u=a[2];t[e]="rgba("+h.map(function(t,e){return t+=u*(c[e]-t),3===e?F(t):parseInt(t,10)}).join(",")+")";break;case"blur":r=r||"px",t.filter+=" blur("+(s+r)+")";break;case"hue":r=r||"deg",t.filter+=" hue-rotate("+(s+r)+")";break;case"fopacity":r=r||"%",t.filter+=" opacity("+(s+r)+")";break;case"grayscale":case"invert":case"saturate":case"sepia":r=r||"%",t.filter+=" "+e+"("+(s+r)+")";break;default:t[e]=s}return t},{transform:"",filter:""})}}};function qr(t,e){var n=t.length-1,i=Math.min(Math.floor(n*e),n-1),r=t.slice(i,i+2);return r.push(1===e?1:e%(1/n)*n),r}var Ur={mixins:[Yr],props:{target:String,viewport:Number,easing:Number},data:{target:!1,viewport:1,easing:1},computed:{target:function(t,e){var n=t.target;return function t(e){return e?"offsetTop"in e?e:t(e.parentNode):document.body}(n&&wt(n,e)||e)}},update:{read:function(t,e){var n=t.percent;if("scroll"!==e&&(n=!1),t.active){var i=n;return{percent:n=function(t,e){return Z(t*(1-(e-e*t)))}(mn(this.target)/(this.viewport||1),this.easing),style:i!==n&&this.getCss(n)}}},write:function(t){var e=t.style;t.active?e&&Le(this.$el,e):this.reset()},events:["scroll","resize"]}};var Xr={update:{write:function(){if(!this.stack.length&&!this.dragging){var t=this.getValidIndex(this.index);~this.prevIndex&&this.index===t||this.show(t)}},events:["resize"]}};function Kr(t,e,n){var i=Zr(t,e);return n?i-function(t,e){return Qr(e).width/2-Qr(t).width/2}(t,e):Math.min(i,Gr(e))}function Gr(t){return Math.max(0,Jr(t)-Qr(t).width)}function Jr(t){return eo(t).reduce(function(t,e){return Qr(e).width+t},0)}function Zr(t,e){return(on(t).left+(ht?Qr(t).width-Qr(e).width:0))*(ht?-1:1)}function Qr(t){return t.getBoundingClientRect()}function to(t,e,n){qt(t,Ut(e,!1,!1,n))}function eo(t){return W(t.children)}var no={mixins:[ei,Dr,Xr],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"bdt-slider-item",selList:".bdt-slider-items",selNav:".bdt-slider-nav",clsContainer:"bdt-slider-container",Transitioner:function(r,i,o,t){var e=t.center,s=t.easing,a=t.list,h=new ee,n=r?Kr(r,a,e):Kr(i,a,e)+Qr(i).width*o,c=i?Kr(i,a,e):n+Qr(r).width*o*(ht?-1:1);return{dir:o,show:function(t,e,n){void 0===e&&(e=0);var i=n?"linear":s;return t-=Math.round(t*Z(e,-1,1)),this.translate(e),r&&this.updateTranslates(),e=r?e:Z(e,0,1),to(this.getItemIn(),"itemin",{percent:e,duration:t,timing:i,dir:o}),r&&to(this.getItemIn(!0),"itemout",{percent:1-e,duration:t,timing:i,dir:o}),Xe.start(a,{transform:_r(-c*(ht?-1:1),"px")},t,i).then(h.resolve,Q),h.promise},stop:function(){return Xe.stop(a)},cancel:function(){Xe.cancel(a)},reset:function(){Le(a,"transform","")},forward:function(t,e){return void 0===e&&(e=this.percent()),Xe.cancel(a),this.show(t,e,!0)},translate:function(t){var e=this.getDistance()*o*(ht?-1:1);Le(a,"transform",_r(Z(e-e*t-c,-Jr(a),Qr(a).width)*(ht?-1:1),"px")),this.updateTranslates(),r&&(t=Z(t,-1,1),to(this.getItemIn(),"itemtranslatein",{percent:t,dir:o}),to(this.getItemIn(!0),"itemtranslateout",{percent:1-t,dir:o}))},percent:function(){return Math.abs((Le(a,"transform").split(",")[4]*(ht?-1:1)+n)/(c-n))},getDistance:function(){return Math.abs(c-n)},getItemIn:function(t){void 0===t&&(t=!1);var e=this.getActives(),n=G(eo(a),"offsetLeft"),i=ue(n,e[0<o*(t?-1:1)?e.length-1:0]);return~i&&n[i+(r&&!t?o:0)]},getActives:function(){var n=Kr(r||i,a,e);return G(eo(a).filter(function(t){var e=Zr(t,a);return n<=e&&e+Qr(t).width<=Qr(a).width+n}),"offsetLeft")},updateTranslates:function(){var n=this.getActives();eo(a).forEach(function(t){var e=b(n,t);to(t,"itemtranslate"+(e?"in":"out"),{percent:e?1:0,dir:t.offsetLeft<=i.offsetLeft?1:-1})})}}}},computed:{avgWidth:function(){return Jr(this.list)/this.length},finite:function(t){return t.finite||Jr(this.list)<Qr(this.list).width+function(t){return eo(t).reduce(function(t,e){return Math.max(t,Qr(e).width)},0)}(this.list)+this.center},maxIndex:function(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return X(this.sets);Le(this.slides,"order","");for(var t=Gr(this.list),e=this.length;e--;)if(Zr(this.list.children[e],this.list)<t)return Math.min(e+1,this.length-1);return 0},sets:function(t){var o=this,e=t.sets,s=Qr(this.list).width/(this.center?2:1),a=0,h=s,c=0;return!B(e=e&&this.slides.reduce(function(t,e,n){var i=Qr(e).width;if(a<c+i&&(!o.center&&n>o.maxIndex&&(n=o.maxIndex),!b(t,n))){var r=o.slides[n+1];o.center&&r&&i<h-Qr(r).width/2?h-=i:(h=s,t.push(n),a=c+s+(o.center?i/2:0))}return c+=i,t},[]))&&e},transitionOptions:function(){return{center:this.center,list:this.list}}},connected:function(){De(this.$el,this.clsContainer,!Te("."+this.clsContainer,this.$el))},update:{write:function(){var n=this;Ee("["+this.attrItem+"],[data-"+this.attrItem+"]",this.$el).forEach(function(t){var e=st(t,n.attrItem);n.maxIndex&&De(t,"bdt-hidden",z(e)&&(n.sets&&!b(n.sets,F(e))||e>n.maxIndex))}),this.dragging||this.stack.length||this._getTransitioner().translate(1)},events:["resize"]},events:{beforeitemshow:function(t){!this.dragging&&this.sets&&this.stack.length<2&&!b(this.sets,this.index)&&(this.index=this.getValidIndex());var e=Math.abs(this.index-this.prevIndex+(0<this.dir&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&1<e){for(var n=0;n<e;n++)this.stack.splice(1,0,0<this.dir?"next":"previous");t.preventDefault()}else this.duration=zr(this.avgWidth/this.velocity)*(Qr(this.dir<0||!this.slides[this.prevIndex]?this.slides[this.index]:this.slides[this.prevIndex]).width/this.avgWidth),this.reorder()},itemshow:function(){P(this.prevIndex)||Ae(this._getTransitioner().getItemIn(),this.clsActive)},itemshown:function(){var e=this,n=this._getTransitioner(this.index).getActives();this.slides.forEach(function(t){return De(t,e.clsActive,b(n,t))}),this.sets&&!b(this.sets,F(this.index))||this.slides.forEach(function(t){return De(t,e.clsActivated,b(n,t))})}},methods:{reorder:function(){var n=this;if(Le(this.slides,"order",""),!this.finite){var i=0<this.dir&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach(function(t,e){return Le(t,"order",0<n.dir&&e<i?1:n.dir<0&&e>=n.index?-1:"")}),this.center)for(var t=this.slides[i],e=Qr(this.list).width/2-Qr(t).width/2,r=0;0<e;){var o=this.getIndex(--r+i,i),s=this.slides[o];Le(s,"order",i<o?-2:-1),e-=Qr(s).width}}},getValidIndex:function(t,e){if(void 0===t&&(t=this.index),void 0===e&&(e=this.prevIndex),t=this.getIndex(t,e),!this.sets)return t;var n;do{if(b(this.sets,t))return t;n=t,t=this.getIndex(t+this.dir,e)}while(t!==n);return t}}},io={mixins:[Yr],data:{selItem:"!li"},computed:{item:function(t,e){return wt(t.selItem,e)}},events:[{name:"itemshown",self:!0,el:function(){return this.item},handler:function(){Le(this.$el,this.getCss(.5))}},{name:"itemin itemout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,n=t.detail,i=n.percent,r=n.duration,o=n.timing,s=n.dir;Xe.cancel(this.$el),Le(this.$el,this.getCss(oo(e,s,i))),Xe.start(this.$el,this.getCss(ro(e)?.5:0<s?1:0),r,o).catch(Q)}},{name:"transitioncanceled transitionend",self:!0,el:function(){return this.item},handler:function(){Xe.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,n=t.detail,i=n.percent,r=n.dir;Xe.cancel(this.$el),Le(this.$el,this.getCss(oo(e,r,i)))}}]};function ro(t){return u(t,"in")}function oo(t,e,n){return n/=2,ro(t)?e<0?1-n:n:e<0?n:1-n}var so,ao=U({},Cr,{fade:{show:function(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent:function(t){return 1-Le(t,"opacity")},translate:function(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show:function(){return[{opacity:0,transform:Nr(1.5),zIndex:0},{zIndex:-1}]},percent:function(t){return 1-Le(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:Nr(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show:function(t){return t<0?[{transform:_r(30),zIndex:-1},{transform:_r(),zIndex:0}]:[{transform:_r(-100),zIndex:0},{transform:_r(),zIndex:-1}]},percent:function(t,e,n){return n<0?1-Ar(e):Ar(t)},translate:function(t,e){return e<0?[{transform:_r(30*t),zIndex:-1},{transform:_r(-100*(1-t)),zIndex:0}]:[{transform:_r(100*-t),zIndex:0},{transform:_r(30*(1-t)),zIndex:-1}]}},push:{show:function(t){return t<0?[{transform:_r(100),zIndex:0},{transform:_r(),zIndex:-1}]:[{transform:_r(-30),zIndex:-1},{transform:_r(),zIndex:0}]},percent:function(t,e,n){return 0<n?1-Ar(e):Ar(t)},translate:function(t,e){return e<0?[{transform:_r(100*t),zIndex:0},{transform:_r(-30*(1-t)),zIndex:-1}]:[{transform:_r(-30*t),zIndex:-1},{transform:_r(100*(1-t)),zIndex:0}]}}}),ho={mixins:[ei,Br,Xr],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".bdt-slideshow-items",attrItem:"bdt-slideshow-item",selNav:".bdt-slideshow-nav",Animations:ao},update:{read:function(){var t=this.ratio.split(":").map(Number),e=t[0],n=t[1];return n=n*this.list.offsetWidth/e||0,this.minHeight&&(n=Math.max(this.minHeight,n)),this.maxHeight&&(n=Math.min(this.maxHeight,n)),{height:n-cn(this.list,"content-box")}},write:function(t){var e=t.height;0<e&&Le(this.list,"minHeight",e)},events:["resize"]}},co={mixins:[ei,xr],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"bdt-sortable-item",clsPlaceholder:"bdt-sortable-placeholder",clsDrag:"bdt-sortable-drag",clsDragState:"bdt-drag",clsBase:"bdt-sortable",clsNoDrag:"bdt-sortable-nodrag",clsEmpty:"bdt-sortable-empty",clsCustom:"",handle:!1},created:function(){var o=this;["init","start","move","end"].forEach(function(t){var r=o[t];o[t]=function(t){o.scrollY=window.pageYOffset;var e=te(t,"page"),n=e.x,i=e.y;o.pos={x:n,y:i},r(t)}})},events:{name:dt,passive:!1,handler:"init"},update:{write:function(){if(this.clsEmpty&&De(this.$el,this.clsEmpty,B(this.$el.children)),Le(this.handle?Ee(this.handle,this.$el):this.$el.children,{touchAction:"none",userSelect:"none"}),this.drag){var t=nn(window),e=t.right,n=t.bottom;nn(this.drag,{top:Z(this.pos.y+this.origin.top,0,n-this.drag.offsetHeight),left:Z(this.pos.x+this.origin.left,0,e-this.drag.offsetWidth)}),function s(t){var a=t.x;var h=t.y;clearTimeout(so);(e=document.elementFromPoint(a-window.pageXOffset,h-window.pageYOffset),n=fo(),function(t,e){var n=[];for(;e(t)&&n.unshift(t),t=t&&t.parentElement;);return n}(e,function(t){return t===n||lo.test(Le(t,"overflow"))})).some(function(t){var e=t.scrollTop,n=t.scrollHeight;fo()===t&&(t=window,n-=window.innerHeight);var i=nn(t),r=i.top,o=i.bottom;if(r<h&&h<r+30?e-=5:h<o&&o-20<h&&(e+=5),0<e&&e<n)return so=setTimeout(function(){gn(t,e),s({x:a,y:h})},10)});var e,n}(this.pos)}}},methods:{init:function(t){var e=t.target,n=t.button,i=t.defaultPrevented,r=W(this.$el.children).filter(function(t){return Wt(e,t)})[0];!r||i||0<n||Ft(e)||Wt(e,"."+this.clsNoDrag)||this.handle&&!Wt(e,this.handle)||(t.preventDefault(),this.touched=[this],this.placeholder=r,this.origin=U({target:e,index:ue(r)},this.pos),Vt(document,ft,this.move),Vt(document,pt,this.end),Vt(window,"scroll",this.scroll),this.threshold||this.start(t))},start:function(t){this.drag=pe(this.$container,this.placeholder.outerHTML.replace(/^<li/i,"<div").replace(/li>$/i,"div>")),Le(this.drag,U({boxSizing:"border-box",width:this.placeholder.offsetWidth,height:this.placeholder.offsetHeight,overflow:"hidden"},Le(this.placeholder,["paddingLeft","paddingRight","paddingTop","paddingBottom"]))),it(this.drag,"bdt-no-boot",""),Ae(this.drag,this.clsDrag,this.clsCustom),sn(this.drag.firstElementChild,sn(this.placeholder.firstElementChild));var e=nn(this.placeholder),n=e.left,i=e.top;U(this.origin,{left:n-this.pos.x,top:i-this.pos.y}),Ae(this.placeholder,this.clsPlaceholder),Ae(this.$el.children,this.clsItem),Ae(document.documentElement,this.clsDragState),qt(this.$el,"start",[this,this.placeholder]),this.move(t)},move:function(t){if(this.drag){this.$emit();var e="mousemove"===t.type?t.target:document.elementFromPoint(this.pos.x-window.pageXOffset,this.pos.y-window.pageYOffset),n=this.getSortable(e),i=this.getSortable(this.placeholder),r=n!==i;if(n&&!Wt(e,this.placeholder)&&(!r||n.group&&n.group===i.group)){if(e=n.$el===e.parentNode&&e||W(n.$el.children).filter(function(t){return Wt(e,t)})[0],r)i.remove(this.placeholder);else if(!e)return;n.insert(this.placeholder,e),b(this.touched,n)||this.touched.push(n)}}else(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end:function(t){if(Rt(document,ft,this.move),Rt(document,pt,this.end),Rt(window,"scroll",this.scroll),this.drag){clearTimeout(so);var e=this.getSortable(this.placeholder);this===e?this.origin.index!==ue(this.placeholder)&&qt(this.$el,"moved",[this,this.placeholder]):(qt(e.$el,"added",[e,this.placeholder]),qt(this.$el,"removed",[this,this.placeholder])),qt(this.$el,"stop",[this,this.placeholder]),we(this.drag),this.drag=null;var n=this.touched.map(function(t){return t.clsPlaceholder+" "+t.clsItem}).join(" ");this.touched.forEach(function(t){return _e(t.$el.children,n)}),_e(document.documentElement,this.clsDragState)}else"touchend"===t.type&&t.target.click()},scroll:function(){var t=window.pageYOffset;t!==this.scrollY&&(this.pos.y+=t-this.scrollY,this.scrollY=t,this.$emit())},insert:function(t,e){var n=this;Ae(this.$el.children,this.clsItem);function i(){e?!Wt(t,n.$el)||function(t,e){return t.parentNode===e.parentNode&&ue(t)>ue(e)}(t,e)?me(e,t):ge(e,t):pe(n.$el,t)}this.animation?this.animate(i):i()},remove:function(t){Wt(t,this.$el)&&(Le(this.handle?Ee(this.handle,t):t,{touchAction:"",userSelect:""}),this.animation?this.animate(function(){return we(t)}):we(t))},getSortable:function(t){return t&&(this.$getComponent(t,"sortable")||this.getSortable(t.parentNode))}}};var uo,lo=/auto|scroll/;function fo(){return document.scrollingElement||document.documentElement}var po,mo,go,vo=[],wo={mixins:[Zi,ni,ci],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["bdt-animation-scale-up"],duration:100,cls:"bdt-active",clsPos:"bdt-tooltip"},beforeConnect:function(){this._hasTitle=rt(this.$el,"title"),it(this.$el,{title:"","aria-expanded":!1})},disconnected:function(){this.hide(),it(this.$el,{title:this._hasTitle?this.title:null,"aria-expanded":null})},methods:{show:function(){var e=this;!this.isActive()&&this.title&&(vo.forEach(function(t){return t.hide()}),vo.push(this),this._unbind=Vt(document,pt,function(t){return!Wt(t.target,e.$el)&&e.hide()}),clearTimeout(this.showTimer),this.showTimer=setTimeout(function(){e._show(),e.hideTimer=setInterval(function(){Ht(e.$el)||e.hide()},150)},this.delay))},hide:function(){this.isActive()&&!_t(this.$el,"input:focus")&&(vo.splice(vo.indexOf(this),1),clearTimeout(this.showTimer),clearInterval(this.hideTimer),it(this.$el,"aria-expanded",!1),this.toggleElement(this.tooltip,!1),this.tooltip&&we(this.tooltip),this.tooltip=!1,this._unbind())},_show:function(){this.tooltip=pe(this.container,'<div class="'+this.clsPos+'" aria-expanded="true" aria-hidden> <div class="'+this.clsPos+'-inner">'+this.title+"</div> </div>"),this.positionAt(this.tooltip,this.$el),this.origin="y"===this.getAxis()?fn(this.dir)+"-"+this.align:this.align+"-"+fn(this.dir),this.toggleElement(this.tooltip,!0)},isActive:function(){return b(vo,this)}},events:(uo={focus:"show",blur:"hide"},uo[mt+" "+gt]=function(t){Qt(t)||(t.type===mt?this.show():this.hide())},uo[dt]=function(t){Qt(t)&&(this.isActive()?this.hide():this.show())},uo)},bo={props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,msgInvalidMime:String,msgInvalidName:String,msgInvalidSize:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"bdt-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",msgInvalidSize:"Invalid File Size: %s Kilobytes Max",multiple:!1,name:"files[]",params:{},type:"",url:"",abort:Q,beforeAll:Q,beforeSend:Q,complete:Q,completeAll:Q,error:Q,fail:Q,load:Q,loadEnd:Q,loadStart:Q,progress:Q},events:{change:function(t){_t(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop:function(t){xo(t);var e=t.dataTransfer;e&&e.files&&(_e(this.$el,this.clsDragover),this.upload(e.files))},dragenter:function(t){xo(t)},dragover:function(t){xo(t),Ae(this.$el,this.clsDragover)},dragleave:function(t){xo(t),_e(this.$el,this.clsDragover)}},methods:{upload:function(t){var i=this;if(t.length){qt(this.$el,"upload",[t]);for(var e=0;e<t.length;e++){if(this.maxSize&&1e3*this.maxSize<t[e].size)return void this.fail(this.msgInvalidSize.replace("%s",this.maxSize));if(this.allow&&!yo(this.allow,t[e].name))return void this.fail(this.msgInvalidName.replace("%s",this.allow));if(this.mime&&!yo(this.mime,t[e].type))return void this.fail(this.msgInvalidMime.replace("%s",this.mime))}this.multiple||(t=[t[0]]),this.beforeAll(this,t);var r=function(t,e){for(var n=[],i=0;i<t.length;i+=e){for(var r=[],o=0;o<e;o++)r.push(t[i+o]);n.push(r)}return n}(t,this.concurrent),o=function(t){var e=new FormData;for(var n in t.forEach(function(t){return e.append(i.name,t)}),i.params)e.append(n,i.params[n]);ae(i.url,{data:e,method:i.method,responseType:i.type,beforeSend:function(t){var e=t.xhr;e.upload&&Vt(e.upload,"progress",i.progress),["loadStart","load","loadEnd","abort"].forEach(function(t){return Vt(e,t.toLowerCase(),i[t])}),i.beforeSend(t)}}).then(function(t){i.complete(t),r.length?o(r.shift()):i.completeAll(t)},function(t){return i.error(t)})};o(r.shift())}}}};function yo(t,e){return e.match(new RegExp("^"+t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function xo(t){t.preventDefault(),t.stopPropagation()}function ko(){Io(document.body,mo),kn.flush(),new MutationObserver(function(t){return t.forEach($o)}).observe(document,{childList:!0,subtree:!0,characterData:!0,attributes:!0}),po._initialized=!0}function $o(t){var e=t.target;("attributes"!==t.type?function(t){for(var e=t.addedNodes,n=t.removedNodes,i=0;i<e.length;i++)Io(e[i],mo);for(var r=0;r<n.length;r++)Io(n[r],go);return!0}(t):function(t){var e=t.target,n=t.attributeName;if("href"===n)return!0;var i=Hn(n);if(!(i&&i in po))return;if(rt(e,n))return po[i](e),!0;var r=po.getComponent(e,i);if(r)return r.$destroy(),!0}(t))&&po.update(e)}function Io(t,e){if(1===t.nodeType&&!rt(t,"bdt-no-boot"))for(e(t),t=t.firstElementChild;t;){var n=t.nextElementSibling;Io(t,e),t=n}}return Ln.component("countdown",wr),Ln.component("filter",Sr),Ln.component("lightbox",Fr),Ln.component("lightboxPanel",Pr),Ln.component("notification",Vr),Ln.component("parallax",Ur),Ln.component("slider",no),Ln.component("sliderParallax",io),Ln.component("slideshow",ho),Ln.component("slideshowParallax",io),Ln.component("sortable",co),Ln.component("tooltip",wo),Ln.component("upload",bo),mo=(po=Ln).connect,go=po.disconnect,"MutationObserver"in window&&(document.body?kn.read(ko):new MutationObserver(function(){document.body&&(this.disconnect(),ko())}).observe(document,{childList:!0,subtree:!0})),Ln});
|
|
|
|
|
|
assets/js/element-pack-site.js
DELETED
@@ -1,186 +0,0 @@
|
|
1 |
-
( function( $, elementor ) {
|
2 |
-
|
3 |
-
'use strict';
|
4 |
-
|
5 |
-
var ElementPack = {
|
6 |
-
|
7 |
-
init: function() {
|
8 |
-
|
9 |
-
var widgets = {
|
10 |
-
|
11 |
-
//...
|
12 |
-
|
13 |
-
};
|
14 |
-
|
15 |
-
// Action for element pack widget scripts
|
16 |
-
$.each( widgets, function( widget, callback ) {
|
17 |
-
elementor.hooks.addAction( 'frontend/element_ready/' + widget, callback );
|
18 |
-
});
|
19 |
-
|
20 |
-
// Action for element section scripts
|
21 |
-
elementor.hooks.addAction( 'frontend/element_ready/section', ElementPack.elementorSection );
|
22 |
-
},
|
23 |
-
|
24 |
-
|
25 |
-
// loadSDK: function() {
|
26 |
-
// // Don't load in parallel
|
27 |
-
// if ( config.isLoading || config.isLoaded ) {
|
28 |
-
// return;
|
29 |
-
// }
|
30 |
-
|
31 |
-
// config.isLoading = true;
|
32 |
-
|
33 |
-
// jQuery.ajax( {
|
34 |
-
// url: 'https://connect.facebook.net/en_US/sdk.js',
|
35 |
-
// dataType: 'script',
|
36 |
-
// cache: true,
|
37 |
-
// success: function() {
|
38 |
-
// FB.init( {
|
39 |
-
// appId: $settings.app_id,
|
40 |
-
// version: 'v2.10',
|
41 |
-
// xfbml: false
|
42 |
-
// } );
|
43 |
-
// config.isLoaded = true;
|
44 |
-
// config.isLoading = false;
|
45 |
-
// jQuery( document ).trigger( 'fb:sdk:loaded' );
|
46 |
-
// }
|
47 |
-
// } );
|
48 |
-
// },
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
// Table Code Object
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
lazyLoader:function( $scope ) {
|
57 |
-
var $lazyload = $scope;
|
58 |
-
|
59 |
-
$($lazyload).recliner({
|
60 |
-
throttle : $lazyload.data('throttle'),
|
61 |
-
threshold : $lazyload.data('threshold'),
|
62 |
-
live : $lazyload.data('live')
|
63 |
-
});
|
64 |
-
},
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
// google invisible captcha
|
70 |
-
elementPackGIC: function(token) {
|
71 |
-
var langStr = window.ElementPackConfig.contact_form;
|
72 |
-
|
73 |
-
return new Promise(function(resolve, reject) {
|
74 |
-
if (grecaptcha === undefined) {
|
75 |
-
bdtUIkit.notification({message: '<div bdt-spinner></div> ' + langStr.captcha_nd, timeout: false, status: 'warning'});
|
76 |
-
reject();
|
77 |
-
}
|
78 |
-
|
79 |
-
var response = grecaptcha.getResponse();
|
80 |
-
|
81 |
-
if (!response) {
|
82 |
-
bdtUIkit.notification({message: '<div bdt-spinner></div> ' + langStr.captcha_nr, timeout: false, status: 'warning'});
|
83 |
-
reject();
|
84 |
-
}
|
85 |
-
|
86 |
-
var $contactForm=$('textarea.g-recaptcha-response').filter(function () {
|
87 |
-
return $(this).val() === response;
|
88 |
-
}).closest('form.bdt-contact-form-form');
|
89 |
-
var contactFormAction = $contactForm.attr('action');
|
90 |
-
if(contactFormAction && contactFormAction !== ''){
|
91 |
-
ElementPack.sendContactForm($contactForm);
|
92 |
-
} else {
|
93 |
-
console.log($contactForm);
|
94 |
-
}
|
95 |
-
|
96 |
-
grecaptcha.reset();
|
97 |
-
|
98 |
-
}); //end promise
|
99 |
-
},
|
100 |
-
|
101 |
-
sendContactForm: function($contactForm) {
|
102 |
-
var langStr = window.ElementPackConfig.contact_form;
|
103 |
-
|
104 |
-
$.ajax({
|
105 |
-
url:$contactForm.attr('action'),
|
106 |
-
type:'POST',
|
107 |
-
data:$contactForm.serialize(),
|
108 |
-
beforeSend:function(){
|
109 |
-
bdtUIkit.notification({message: '<div bdt-spinner></div> ' + langStr.sending_msg, timeout: false, status: 'primary'});
|
110 |
-
},
|
111 |
-
success:function(data){
|
112 |
-
bdtUIkit.notification.closeAll();
|
113 |
-
bdtUIkit.notification({message: data});
|
114 |
-
//$contactForm[0].reset();
|
115 |
-
}
|
116 |
-
});
|
117 |
-
return false;
|
118 |
-
},
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
elementorSection: function( $scope ) {
|
124 |
-
var $section = $scope,
|
125 |
-
instance = null,
|
126 |
-
sectionID = $section.data('id'),
|
127 |
-
//editMode = Boolean( elementor.isEditMode() ),
|
128 |
-
particleID = 'bdt-particle-container-' + sectionID,
|
129 |
-
particleSettings = {};
|
130 |
-
|
131 |
-
//sticky fixes for inner section.
|
132 |
-
$.each($section, function( index ) {
|
133 |
-
var $sticky = $(this),
|
134 |
-
$stickyFound = $sticky.find('.elementor-inner-section.bdt-sticky');
|
135 |
-
|
136 |
-
if ($stickyFound.length) {
|
137 |
-
$($stickyFound).wrap('<div class="bdt-sticky-wrapper"></div>');
|
138 |
-
}
|
139 |
-
});
|
140 |
-
|
141 |
-
instance = new bdtWidgetTooltip( $section );
|
142 |
-
instance.init();
|
143 |
-
|
144 |
-
if (typeof particlesJS === 'undefined') {
|
145 |
-
return;
|
146 |
-
}
|
147 |
-
|
148 |
-
if ( window.ElementPackConfig && window.ElementPackConfig.elements_data.sections.hasOwnProperty( sectionID ) ) {
|
149 |
-
particleSettings = window.ElementPackConfig.elements_data.sections[ sectionID ];
|
150 |
-
}
|
151 |
-
|
152 |
-
|
153 |
-
$.each($section, function( index ) {
|
154 |
-
var $this = $(this);
|
155 |
-
if ($this.hasClass('bdt-particles-yes')) {
|
156 |
-
$section.prepend( '<div id="'+particleID+'" class="bdt-particle-container"></div>' );
|
157 |
-
particlesJS( particleID, JSON.parse( particleSettings.particles_js ));
|
158 |
-
}
|
159 |
-
});
|
160 |
-
}
|
161 |
-
};
|
162 |
-
|
163 |
-
$( window ).on( 'elementor/frontend/init', ElementPack.init );
|
164 |
-
|
165 |
-
//Contact form recaptcha callback, if needed
|
166 |
-
window.elementPackGICCB = ElementPack.elementPackGIC;
|
167 |
-
|
168 |
-
window.bdtWidgetTooltip = function ( $selector ) {
|
169 |
-
|
170 |
-
var $tooltip = $selector.find('.elementor-widget.bdt-tippy-tooltip');
|
171 |
-
|
172 |
-
this.init = function() {
|
173 |
-
if ( ! $tooltip.length ) {
|
174 |
-
return;
|
175 |
-
}
|
176 |
-
$tooltip.each( function( index ) {
|
177 |
-
|
178 |
-
tippy( this, {
|
179 |
-
appendTo: this
|
180 |
-
});
|
181 |
-
});
|
182 |
-
};
|
183 |
-
|
184 |
-
};
|
185 |
-
|
186 |
-
}( jQuery, window.elementorFrontend ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/element-pack-site.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
!function(c,n){"use strict";var r={init:function(){c.each({},function(t,e){n.hooks.addAction("frontend/element_ready/"+t,e)}),n.hooks.addAction("frontend/element_ready/section",r.elementorSection)},lazyLoader:function(t){var e=t;c(e).recliner({throttle:e.data("throttle"),threshold:e.data("threshold"),live:e.data("live")})},elementPackGIC:function(t){var a=window.ElementPackConfig.contact_form;return new Promise(function(t,e){void 0===grecaptcha&&(bdtUIkit.notification({message:"<div bdt-spinner></div> "+a.captcha_nd,timeout:!1,status:"warning"}),e());var n=grecaptcha.getResponse();n||(bdtUIkit.notification({message:"<div bdt-spinner></div> "+a.captcha_nr,timeout:!1,status:"warning"}),e());var i=c("textarea.g-recaptcha-response").filter(function(){return c(this).val()===n}).closest("form.bdt-contact-form-form"),o=i.attr("action");o&&""!==o?r.sendContactForm(i):console.log(i),grecaptcha.reset()})},sendContactForm:function(t){var e=window.ElementPackConfig.contact_form;return c.ajax({url:t.attr("action"),type:"POST",data:t.serialize(),beforeSend:function(){bdtUIkit.notification({message:"<div bdt-spinner></div> "+e.sending_msg,timeout:!1,status:"primary"})},success:function(t){bdtUIkit.notification.closeAll(),bdtUIkit.notification({message:t})}}),!1},elementorSection:function(t){var e=t,n=e.data("id"),i="bdt-particle-container-"+n,o={};c.each(e,function(t){var e=c(this).find(".elementor-inner-section.bdt-sticky");e.length&&c(e).wrap('<div class="bdt-sticky-wrapper"></div>')}),new bdtWidgetTooltip(e).init(),"undefined"!=typeof particlesJS&&(window.ElementPackConfig&&window.ElementPackConfig.elements_data.sections.hasOwnProperty(n)&&(o=window.ElementPackConfig.elements_data.sections[n]),c.each(e,function(t){c(this).hasClass("bdt-particles-yes")&&(e.prepend('<div id="'+i+'" class="bdt-particle-container"></div>'),particlesJS(i,JSON.parse(o.particles_js)))}))}};c(window).on("elementor/frontend/init",r.init),window.elementPackGICCB=r.elementPackGIC,window.bdtWidgetTooltip=function(t){var e=t.find(".elementor-widget.bdt-tippy-tooltip");this.init=function(){e.length&&e.each(function(t){tippy(this,{appendTo:this})})}}}(jQuery,window.elementorFrontend);
|
|
assets/js/widgets/ep-contact-form.js
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
( function( $, elementor ) {
|
2 |
-
|
3 |
-
'use strict';
|
4 |
-
|
5 |
-
var widgetSimpleContactForm = function( $scope, $ ) {
|
6 |
-
|
7 |
-
var $contactForm = $scope.find('.bdt-contact-form form');
|
8 |
-
|
9 |
-
if ( ! $contactForm.length ) {
|
10 |
-
return;
|
11 |
-
}
|
12 |
-
|
13 |
-
$contactForm.submit(function(){
|
14 |
-
ElementPack.sendContactForm($contactForm);
|
15 |
-
return false;
|
16 |
-
});
|
17 |
-
|
18 |
-
return false;
|
19 |
-
|
20 |
-
};
|
21 |
-
|
22 |
-
|
23 |
-
jQuery(window).on('elementor/frontend/init', function() {
|
24 |
-
elementorFrontend.hooks.addAction( 'frontend/element_ready/bdt-contact-form.default', widgetSimpleContactForm );
|
25 |
-
});
|
26 |
-
|
27 |
-
}( jQuery, window.elementorFrontend ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/widgets/ep-contact-form.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
!function(n,t){"use strict";var e=function(n,t){var e=n.find(".bdt-contact-form form");if(e.length)return e.submit(function(){return ElementPack.sendContactForm(e),!1}),!1};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-contact-form.default",e)})}(jQuery,window.elementorFrontend);
|
|
includes/admin-settings.php
DELETED
@@ -1,237 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Element Pack Admin Settings Class
|
4 |
-
*/
|
5 |
-
class ElementPack_Admin_Settings {
|
6 |
-
|
7 |
-
private $settings_api;
|
8 |
-
|
9 |
-
function __construct() {
|
10 |
-
$this->settings_api = new ElementPack_Settings_API;
|
11 |
-
|
12 |
-
if (!defined('BDTEP_HIDE')) {
|
13 |
-
add_action( 'admin_init', [ $this, 'admin_init' ] );
|
14 |
-
add_action( 'admin_menu', [ $this, 'admin_menu' ], 201 );
|
15 |
-
}
|
16 |
-
}
|
17 |
-
|
18 |
-
function admin_init() {
|
19 |
-
|
20 |
-
//set the settings
|
21 |
-
$this->settings_api->set_sections( $this->get_settings_sections() );
|
22 |
-
$this->settings_api->set_fields( $this->element_pack_admin_settings() );
|
23 |
-
|
24 |
-
//initialize settings
|
25 |
-
$this->settings_api->admin_init();
|
26 |
-
}
|
27 |
-
|
28 |
-
function admin_menu() {
|
29 |
-
add_submenu_page(
|
30 |
-
'elementor',
|
31 |
-
'',
|
32 |
-
BDTEP_TITLE . ' Settings',
|
33 |
-
'manage_options',
|
34 |
-
'element_pack_options',
|
35 |
-
[ $this, 'plugin_page' ]
|
36 |
-
);
|
37 |
-
}
|
38 |
-
|
39 |
-
function get_settings_sections() {
|
40 |
-
$sections = [
|
41 |
-
[
|
42 |
-
'id' => 'element_pack_active_modules',
|
43 |
-
'title' => esc_html__( 'Core Widgets', 'bdthemes-element-pack-lite' )
|
44 |
-
],
|
45 |
-
[
|
46 |
-
'id' => 'element_pack_other_settings',
|
47 |
-
'title' => esc_html__( 'Other Settings', 'bdthemes-element-pack-lite' )
|
48 |
-
],
|
49 |
-
];
|
50 |
-
return $sections;
|
51 |
-
}
|
52 |
-
|
53 |
-
protected function element_pack_admin_settings() {
|
54 |
-
$settings_fields = [
|
55 |
-
'element_pack_active_modules' => [
|
56 |
-
[
|
57 |
-
'name' => 'select-all-widget',
|
58 |
-
'label' => esc_html__( 'Select All Widgets', 'bdthemes-element-pack-lite' ),
|
59 |
-
'type' => 'checkbox',
|
60 |
-
],
|
61 |
-
[
|
62 |
-
'name' => 'business-hours',
|
63 |
-
'label' => esc_html__( 'Business Hours', 'bdthemes-element-pack-lite' ),
|
64 |
-
'type' => 'checkbox',
|
65 |
-
'default' => "on",
|
66 |
-
],
|
67 |
-
[
|
68 |
-
'name' => 'call-out',
|
69 |
-
'label' => esc_html__( 'Call Out', 'bdthemes-element-pack-lite' ),
|
70 |
-
'type' => 'checkbox',
|
71 |
-
'default' => "on",
|
72 |
-
],
|
73 |
-
[
|
74 |
-
'name' => 'contact-form',
|
75 |
-
'label' => esc_html__( 'Simple Contact Form', 'bdthemes-element-pack-lite' ),
|
76 |
-
'type' => 'checkbox',
|
77 |
-
'default' => "on",
|
78 |
-
],
|
79 |
-
[
|
80 |
-
'name' => 'cookie-consent',
|
81 |
-
'label' => esc_html__( 'Cookie Consent', 'bdthemes-element-pack-lite' ),
|
82 |
-
'type' => 'checkbox',
|
83 |
-
'default' => "on",
|
84 |
-
],
|
85 |
-
[
|
86 |
-
'name' => 'countdown',
|
87 |
-
'label' => esc_html__( 'Countdown', 'bdthemes-element-pack-lite' ),
|
88 |
-
'type' => 'checkbox',
|
89 |
-
'default' => "on",
|
90 |
-
],
|
91 |
-
|
92 |
-
[
|
93 |
-
'name' => 'custom-gallery',
|
94 |
-
'label' => esc_html__( 'Custom Gallery', 'bdthemes-element-pack-lite' ),
|
95 |
-
'type' => 'checkbox',
|
96 |
-
'default' => "on",
|
97 |
-
],
|
98 |
-
|
99 |
-
[
|
100 |
-
'name' => 'flip-box',
|
101 |
-
'label' => esc_html__( 'Flip Box', 'bdthemes-element-pack-lite' ),
|
102 |
-
'type' => 'checkbox',
|
103 |
-
'default' => "on",
|
104 |
-
],
|
105 |
-
[
|
106 |
-
'name' => 'image-compare',
|
107 |
-
'label' => esc_html__( 'Image Compare', 'bdthemes-element-pack-lite' ),
|
108 |
-
'type' => 'checkbox',
|
109 |
-
'default' => "on",
|
110 |
-
],
|
111 |
-
[
|
112 |
-
'name' => 'lightbox',
|
113 |
-
'label' => esc_html__( 'Lightbox', 'bdthemes-element-pack-lite' ),
|
114 |
-
'type' => 'checkbox',
|
115 |
-
'default' => "on",
|
116 |
-
],
|
117 |
-
|
118 |
-
[
|
119 |
-
'name' => 'member',
|
120 |
-
'label' => esc_html__( 'Member', 'bdthemes-element-pack-lite' ),
|
121 |
-
'type' => 'checkbox',
|
122 |
-
'default' => "on",
|
123 |
-
],
|
124 |
-
|
125 |
-
[
|
126 |
-
'name' => 'panel-slider',
|
127 |
-
'label' => esc_html__( 'Panel Slider', 'bdthemes-element-pack-lite' ),
|
128 |
-
'type' => 'checkbox',
|
129 |
-
'default' => "on",
|
130 |
-
],
|
131 |
-
|
132 |
-
[
|
133 |
-
'name' => 'progress-pie',
|
134 |
-
'label' => esc_html__( 'Progress Pie', 'bdthemes-element-pack-lite' ),
|
135 |
-
'type' => 'checkbox',
|
136 |
-
'default' => "on",
|
137 |
-
],
|
138 |
-
|
139 |
-
[
|
140 |
-
'name' => 'slider',
|
141 |
-
'label' => esc_html__( 'Slider', 'bdthemes-element-pack-lite' ),
|
142 |
-
'type' => 'checkbox',
|
143 |
-
'default' => "on",
|
144 |
-
],
|
145 |
-
|
146 |
-
[
|
147 |
-
'name' => 'scroll-button',
|
148 |
-
'label' => esc_html__( 'Scroll Button', 'bdthemes-element-pack-lite' ),
|
149 |
-
'type' => 'checkbox',
|
150 |
-
'default' => "on",
|
151 |
-
],
|
152 |
-
|
153 |
-
[
|
154 |
-
'name' => 'trailer-box',
|
155 |
-
'label' => esc_html__( 'Trailer Box', 'bdthemes-element-pack-lite' ),
|
156 |
-
'type' => 'checkbox',
|
157 |
-
'default' => "on",
|
158 |
-
],
|
159 |
-
|
160 |
-
[
|
161 |
-
'name' => 'toggle',
|
162 |
-
'label' => esc_html__( 'Toggle', 'bdthemes-element-pack-lite' ),
|
163 |
-
'type' => 'checkbox',
|
164 |
-
'default' => "on",
|
165 |
-
],
|
166 |
-
],
|
167 |
-
];
|
168 |
-
|
169 |
-
$other_settings = [];
|
170 |
-
$other_settings['element_pack_other_settings'][] = [
|
171 |
-
'name' => 'contact_form_email',
|
172 |
-
'label' => esc_html__( 'Contact Form Email', 'bdthemes-element-pack-lite' ),
|
173 |
-
'desc' => __( 'You can set alternative email for simple contact form', 'bdthemes-element-pack-lite' ),
|
174 |
-
'placeholder' => 'example@email.com',
|
175 |
-
'type' => 'text',
|
176 |
-
'sanitize_callback' => 'sanitize_text_field'
|
177 |
-
];
|
178 |
-
|
179 |
-
return array_merge($settings_fields, $other_settings);
|
180 |
-
}
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
function plugin_page() {
|
187 |
-
|
188 |
-
echo '<div class="wrap">';
|
189 |
-
echo '<h1>'.BDTEP_TITLE.' Settings</h1>';
|
190 |
-
$this->save_message();
|
191 |
-
$this->settings_api->show_navigation();
|
192 |
-
$this->settings_api->show_forms();
|
193 |
-
if ( !defined('BDTEP_WL') ) {
|
194 |
-
$this->footer_info();
|
195 |
-
}
|
196 |
-
echo '</div>';
|
197 |
-
}
|
198 |
-
|
199 |
-
function save_message() {
|
200 |
-
if( isset($_GET['settings-updated']) ) { ?>
|
201 |
-
<div class="updated notice is-dismissible">
|
202 |
-
<p><strong><?php esc_html_e('Your settings have been saved.', 'bdthemes-element-pack-lite') ?></strong></p>
|
203 |
-
</div>
|
204 |
-
|
205 |
-
<?php
|
206 |
-
}
|
207 |
-
}
|
208 |
-
|
209 |
-
|
210 |
-
function footer_info() {
|
211 |
-
?>
|
212 |
-
<div class="element-pack-footer-info">
|
213 |
-
<p>If you don't know how to use the widgets please visit our <a href="https://www.youtube.com/playlist?list=PLP0S85GEw7DOJf_cbgUIL20qqwqb5x8KA">Youtube Channel</a> for visual instructions. <br>For help and support please send a <a href="https://bdthemes.com/support/">Support Ticket</a> to us.</p>
|
214 |
-
</div>
|
215 |
-
<?php
|
216 |
-
}
|
217 |
-
|
218 |
-
/**
|
219 |
-
* Get all the pages
|
220 |
-
*
|
221 |
-
* @return array page names with key value pairs
|
222 |
-
*/
|
223 |
-
function get_pages() {
|
224 |
-
$pages = get_pages();
|
225 |
-
$pages_options = [];
|
226 |
-
if ( $pages ) {
|
227 |
-
foreach ($pages as $page) {
|
228 |
-
$pages_options[$page->ID] = $page->post_title;
|
229 |
-
}
|
230 |
-
}
|
231 |
-
|
232 |
-
return $pages_options;
|
233 |
-
}
|
234 |
-
|
235 |
-
}
|
236 |
-
|
237 |
-
new ElementPack_Admin_Settings();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/admin.php
DELETED
@@ -1,39 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace ElementPack;
|
3 |
-
|
4 |
-
use Elementor\Utils;
|
5 |
-
|
6 |
-
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
7 |
-
|
8 |
-
class Admin {
|
9 |
-
|
10 |
-
public function __construct() {
|
11 |
-
add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_styles' ] );
|
12 |
-
|
13 |
-
add_filter( 'plugin_row_meta', [ $this, 'plugin_row_meta' ], 10, 2 );
|
14 |
-
}
|
15 |
-
|
16 |
-
public function enqueue_styles() {
|
17 |
-
|
18 |
-
$suffix = is_rtl() ? '.rtl' : '';
|
19 |
-
|
20 |
-
wp_register_style( 'bdthemes-element-pack-lite-admin', BDTEP_ASSETS_URL . 'css/admin' . $suffix . '.css', BDTEP_VER );
|
21 |
-
|
22 |
-
wp_enqueue_style( 'bdthemes-element-pack-lite-admin' );
|
23 |
-
}
|
24 |
-
|
25 |
-
|
26 |
-
public function plugin_row_meta( $plugin_meta, $plugin_file ) {
|
27 |
-
if ( BDTEP_PBNAME === $plugin_file ) {
|
28 |
-
$row_meta = [
|
29 |
-
'docs' => '<a href="https://elementpack.pro/contact/" aria-label="' . esc_attr( __( 'Go for Get Support', 'bdthemes-element-pack-lite' ) ) . '" target="_blank">' . __( 'Get Support', 'bdthemes-element-pack-lite' ) . '</a>',
|
30 |
-
'video' => '<a href="https://www.youtube.com/playlist?list=PLP0S85GEw7DOJf_cbgUIL20qqwqb5x8KA" aria-label="' . esc_attr( __( 'View Element Pack Video Tutorials', 'bdthemes-element-pack-lite' ) ) . '" target="_blank">' . __( 'Video Tutorials', 'bdthemes-element-pack-lite' ) . '</a>',
|
31 |
-
];
|
32 |
-
|
33 |
-
$plugin_meta = array_merge( $plugin_meta, $row_meta );
|
34 |
-
}
|
35 |
-
|
36 |
-
return $plugin_meta;
|
37 |
-
}
|
38 |
-
|
39 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-settings-api.php
DELETED
@@ -1,812 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* weDevs Settings API wrapper class
|
5 |
-
* @author Tareq Hasan <tareq@weDevs.com>
|
6 |
-
* @link https://tareq.co Tareq Hasan
|
7 |
-
*/
|
8 |
-
|
9 |
-
if ( !class_exists( 'ElementPack_Settings_API' ) ):
|
10 |
-
class ElementPack_Settings_API {
|
11 |
-
|
12 |
-
/**
|
13 |
-
* settings sections array
|
14 |
-
*
|
15 |
-
* @var array
|
16 |
-
*/
|
17 |
-
protected $settings_sections = array();
|
18 |
-
|
19 |
-
/**
|
20 |
-
* Settings fields array
|
21 |
-
*
|
22 |
-
* @var array
|
23 |
-
*/
|
24 |
-
protected $settings_fields = array();
|
25 |
-
|
26 |
-
public function __construct() {
|
27 |
-
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
28 |
-
}
|
29 |
-
|
30 |
-
/**
|
31 |
-
* Enqueue scripts and styles
|
32 |
-
*/
|
33 |
-
function admin_enqueue_scripts() {
|
34 |
-
//wp_enqueue_style( 'wp-color-picker' );
|
35 |
-
//wp_enqueue_media();
|
36 |
-
//wp_enqueue_script( 'wp-color-picker' );
|
37 |
-
wp_enqueue_script( 'jquery' );
|
38 |
-
}
|
39 |
-
|
40 |
-
/**
|
41 |
-
* Set settings sections
|
42 |
-
*
|
43 |
-
* @param array $sections setting sections array
|
44 |
-
*/
|
45 |
-
function set_sections( $sections ) {
|
46 |
-
$this->settings_sections = $sections;
|
47 |
-
|
48 |
-
return $this;
|
49 |
-
}
|
50 |
-
|
51 |
-
/**
|
52 |
-
* Add a single section
|
53 |
-
*
|
54 |
-
* @param array $section
|
55 |
-
*/
|
56 |
-
function add_section( $section ) {
|
57 |
-
$this->settings_sections[] = $section;
|
58 |
-
|
59 |
-
return $this;
|
60 |
-
}
|
61 |
-
|
62 |
-
/**
|
63 |
-
* Set settings fields
|
64 |
-
*
|
65 |
-
* @param array $fields settings fields array
|
66 |
-
*/
|
67 |
-
function set_fields( $fields ) {
|
68 |
-
$this->settings_fields = $fields;
|
69 |
-
|
70 |
-
return $this;
|
71 |
-
}
|
72 |
-
|
73 |
-
function add_field( $section, $field ) {
|
74 |
-
$defaults = array(
|
75 |
-
'name' => '',
|
76 |
-
'label' => '',
|
77 |
-
'desc' => '',
|
78 |
-
'type' => 'text'
|
79 |
-
);
|
80 |
-
|
81 |
-
$arg = wp_parse_args( $field, $defaults );
|
82 |
-
$this->settings_fields[$section][] = $arg;
|
83 |
-
|
84 |
-
return $this;
|
85 |
-
}
|
86 |
-
|
87 |
-
/**
|
88 |
-
* Initialize and registers the settings sections and fileds to WordPress
|
89 |
-
*
|
90 |
-
* Usually this should be called at `admin_init` hook.
|
91 |
-
*
|
92 |
-
* This function gets the initiated settings sections and fields. Then
|
93 |
-
* registers them to WordPress and ready for use.
|
94 |
-
*/
|
95 |
-
function admin_init() {
|
96 |
-
//register settings sections
|
97 |
-
foreach ( $this->settings_sections as $section ) {
|
98 |
-
if ( false == get_option( $section['id'] ) ) {
|
99 |
-
add_option( $section['id'] );
|
100 |
-
}
|
101 |
-
|
102 |
-
if ( isset($section['desc']) && !empty($section['desc']) ) {
|
103 |
-
$section['desc'] = '<div class="inside">' . $section['desc'] . '</div>';
|
104 |
-
$callback = function() use ( $section ) {
|
105 |
-
echo str_replace( '"', '\"', $section['desc'] );
|
106 |
-
};
|
107 |
-
} else if ( isset( $section['callback'] ) ) {
|
108 |
-
$callback = $section['callback'];
|
109 |
-
} else {
|
110 |
-
$callback = null;
|
111 |
-
}
|
112 |
-
|
113 |
-
add_settings_section( $section['id'], $section['title'], $callback, $section['id'] );
|
114 |
-
}
|
115 |
-
|
116 |
-
//register settings fields
|
117 |
-
foreach ( $this->settings_fields as $section => $field ) {
|
118 |
-
foreach ( $field as $option ) {
|
119 |
-
|
120 |
-
$name = $option['name'];
|
121 |
-
$type = isset( $option['type'] ) ? $option['type'] : 'text';
|
122 |
-
$label = isset( $option['label'] ) ? $option['label'] : '';
|
123 |
-
$callback = isset( $option['callback'] ) ? $option['callback'] : array( $this, 'callback_' . $type );
|
124 |
-
|
125 |
-
$args = array(
|
126 |
-
'id' => $name,
|
127 |
-
'class' => isset( $option['class'] ) ? $option['class'] : 'bdt-wo-' . $name,
|
128 |
-
'label_for' => "bdt_ep_{$section}[{$name}]",
|
129 |
-
'desc' => isset( $option['desc'] ) ? $option['desc'] : '',
|
130 |
-
'name' => $label,
|
131 |
-
'section' => $section,
|
132 |
-
'size' => isset( $option['size'] ) ? $option['size'] : null,
|
133 |
-
'options' => isset( $option['options'] ) ? $option['options'] : '',
|
134 |
-
'std' => isset( $option['default'] ) ? $option['default'] : '',
|
135 |
-
'sanitize_callback' => isset( $option['sanitize_callback'] ) ? $option['sanitize_callback'] : '',
|
136 |
-
'type' => $type,
|
137 |
-
'placeholder' => isset( $option['placeholder'] ) ? $option['placeholder'] : '',
|
138 |
-
'min' => isset( $option['min'] ) ? $option['min'] : '',
|
139 |
-
'max' => isset( $option['max'] ) ? $option['max'] : '',
|
140 |
-
'step' => isset( $option['step'] ) ? $option['step'] : '',
|
141 |
-
'plugin_name' => !empty( $option['plugin_name'] ) ? $option['plugin_name'] : null,
|
142 |
-
'plugin_path' => !empty( $option['plugin_path'] ) ? $option['plugin_path'] : null,
|
143 |
-
'paid' => !empty( $option['paid'] ) ? $option['paid'] : null,
|
144 |
-
);
|
145 |
-
|
146 |
-
add_settings_field( "{$section}[{$name}]", $label, $callback, $section, $section, $args );
|
147 |
-
}
|
148 |
-
}
|
149 |
-
|
150 |
-
// creates our settings in the options table
|
151 |
-
foreach ( $this->settings_sections as $section ) {
|
152 |
-
register_setting( $section['id'], $section['id'], array( $this, 'sanitize_options' ) );
|
153 |
-
}
|
154 |
-
}
|
155 |
-
|
156 |
-
/**
|
157 |
-
* Get field description for display
|
158 |
-
*
|
159 |
-
* @param array $args settings field args
|
160 |
-
*/
|
161 |
-
public function get_field_description( $args ) {
|
162 |
-
if ( ! empty( $args['desc'] ) ) {
|
163 |
-
$desc = sprintf( '<p class="description">%s</p>', $args['desc'] );
|
164 |
-
} else {
|
165 |
-
$desc = '';
|
166 |
-
}
|
167 |
-
|
168 |
-
return $desc;
|
169 |
-
}
|
170 |
-
|
171 |
-
/**
|
172 |
-
* Displays a text field for a settings field
|
173 |
-
*
|
174 |
-
* @param array $args settings field args
|
175 |
-
*/
|
176 |
-
function callback_text( $args ) {
|
177 |
-
|
178 |
-
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
179 |
-
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
180 |
-
$type = isset( $args['type'] ) ? $args['type'] : 'text';
|
181 |
-
$placeholder = empty( $args['placeholder'] ) ? '' : ' placeholder="' . $args['placeholder'] . '"';
|
182 |
-
|
183 |
-
$html = sprintf( '<input type="%1$s" class="%2$s-text" id="%3$s[%4$s]" name="%3$s[%4$s]" value="%5$s"%6$s/>', $type, $size, $args['section'], $args['id'], $value, $placeholder );
|
184 |
-
$html .= $this->get_field_description( $args );
|
185 |
-
|
186 |
-
echo $html;
|
187 |
-
}
|
188 |
-
|
189 |
-
/**
|
190 |
-
* Displays a url field for a settings field
|
191 |
-
*
|
192 |
-
* @param array $args settings field args
|
193 |
-
*/
|
194 |
-
function callback_url( $args ) {
|
195 |
-
$this->callback_text( $args );
|
196 |
-
}
|
197 |
-
|
198 |
-
/**
|
199 |
-
* Displays a number field for a settings field
|
200 |
-
*
|
201 |
-
* @param array $args settings field args
|
202 |
-
*/
|
203 |
-
function callback_number( $args ) {
|
204 |
-
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
205 |
-
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
206 |
-
$type = isset( $args['type'] ) ? $args['type'] : 'number';
|
207 |
-
$placeholder = empty( $args['placeholder'] ) ? '' : ' placeholder="' . $args['placeholder'] . '"';
|
208 |
-
$min = ( $args['min'] == '' ) ? '' : ' min="' . $args['min'] . '"';
|
209 |
-
$max = ( $args['max'] == '' ) ? '' : ' max="' . $args['max'] . '"';
|
210 |
-
$step = ( $args['step'] == '' ) ? '' : ' step="' . $args['step'] . '"';
|
211 |
-
|
212 |
-
$html = sprintf( '<input type="%1$s" class="%2$s-number" id="%3$s[%4$s]" name="%3$s[%4$s]" value="%5$s"%6$s%7$s%8$s%9$s/>', $type, $size, $args['section'], $args['id'], $value, $placeholder, $min, $max, $step );
|
213 |
-
$html .= $this->get_field_description( $args );
|
214 |
-
|
215 |
-
echo $html;
|
216 |
-
}
|
217 |
-
|
218 |
-
/**
|
219 |
-
* Displays a checkbox for a settings field
|
220 |
-
*
|
221 |
-
* @param array $args settings field args
|
222 |
-
*/
|
223 |
-
function callback_checkbox( $args ) {
|
224 |
-
|
225 |
-
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
226 |
-
$plugin_name = isset($args['plugin_name']) ? $args['plugin_name'] : '';
|
227 |
-
$plugin_path = isset($args['plugin_path']) ? $args['plugin_path'] : '';
|
228 |
-
$paid = isset($args['paid']) ? $args['paid'] : '';
|
229 |
-
|
230 |
-
|
231 |
-
$html = '<fieldset>';
|
232 |
-
$html .= sprintf( '<label for="bdt_ep_%1$s[%2$s]">', $args['section'], $args['id'] );
|
233 |
-
$html .= sprintf( '<input type="hidden" name="%1$s[%2$s]" value="off" />', $args['section'], $args['id'] );
|
234 |
-
$html .= sprintf( '<input type="checkbox" class="checkbox" id="bdt_ep_%1$s[%2$s]" name="%1$s[%2$s]" value="on" %3$s />', $args['section'], $args['id'], checked( $value, 'on', false ) );
|
235 |
-
$html .= sprintf( '%1$s</label>', $args['desc'] );
|
236 |
-
$html .= '</fieldset>';
|
237 |
-
|
238 |
-
if ($plugin_name and $plugin_path) {
|
239 |
-
if ($this->_is_plugin_installed($plugin_name, $plugin_path)) {
|
240 |
-
if ( ! current_user_can( 'activate_plugins' ) ) { return; }
|
241 |
-
if ( ! is_plugin_active($plugin_path) ) {
|
242 |
-
$active_link = wp_nonce_url( 'plugins.php?action=activate&plugin=' . $plugin_path . '&plugin_status=all&paged=1&s', 'activate-plugin_' . $plugin_path );
|
243 |
-
$html = '<a href="' . $active_link . '" class="element-pack-3pp-active" title="Activate the plugin first then you can activate this widget."><span class="dashicons dashicons-admin-plugins"></span></a>';
|
244 |
-
}
|
245 |
-
} else {
|
246 |
-
if ($paid) {
|
247 |
-
$html = '<a href="' . $paid . '" class="element-pack-3pp-download" title="Download and install plugin first then you can activate this widget."><span class="dashicons dashicons-download"></span></a>';
|
248 |
-
} else {
|
249 |
-
$install_link = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $plugin_name ), 'install-plugin_' . $plugin_name );
|
250 |
-
$html = '<a href="' . $install_link . '" class="element-pack-3pp-install" title="Install the plugin first then you can activate this widget."><span class="dashicons dashicons-download"></span></a>';
|
251 |
-
}
|
252 |
-
}
|
253 |
-
}
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
echo $html;
|
258 |
-
}
|
259 |
-
|
260 |
-
function _is_plugin_installed($plugin, $plugin_path ) {
|
261 |
-
$installed_plugins = get_plugins();
|
262 |
-
return isset( $installed_plugins[ $plugin_path ] );
|
263 |
-
}
|
264 |
-
|
265 |
-
|
266 |
-
/**
|
267 |
-
* Displays a multicheckbox for a settings field
|
268 |
-
*
|
269 |
-
* @param array $args settings field args
|
270 |
-
*/
|
271 |
-
function callback_multicheck( $args ) {
|
272 |
-
|
273 |
-
$value = $this->get_option( $args['id'], $args['section'], $args['std'] );
|
274 |
-
$html = '<fieldset>';
|
275 |
-
$html .= sprintf( '<input type="hidden" name="%1$s[%2$s]" value="" />', $args['section'], $args['id'] );
|
276 |
-
foreach ( $args['options'] as $key => $label ) {
|
277 |
-
$checked = isset( $value[$key] ) ? $value[$key] : '0';
|
278 |
-
$html .= sprintf( '<label for="bdt_ep_%1$s[%2$s][%3$s]">', $args['section'], $args['id'], $key );
|
279 |
-
$html .= sprintf( '<input type="checkbox" class="checkbox" id="bdt_ep_%1$s[%2$s][%3$s]" name="%1$s[%2$s][%3$s]" value="%3$s" %4$s />', $args['section'], $args['id'], $key, checked( $checked, $key, false ) );
|
280 |
-
$html .= sprintf( '%1$s</label><br>', $label );
|
281 |
-
}
|
282 |
-
|
283 |
-
$html .= $this->get_field_description( $args );
|
284 |
-
$html .= '</fieldset>';
|
285 |
-
|
286 |
-
echo $html;
|
287 |
-
}
|
288 |
-
|
289 |
-
/**
|
290 |
-
* Displays a radio button for a settings field
|
291 |
-
*
|
292 |
-
* @param array $args settings field args
|
293 |
-
*/
|
294 |
-
function callback_radio( $args ) {
|
295 |
-
|
296 |
-
$value = $this->get_option( $args['id'], $args['section'], $args['std'] );
|
297 |
-
$html = '<fieldset>';
|
298 |
-
|
299 |
-
foreach ( $args['options'] as $key => $label ) {
|
300 |
-
$html .= sprintf( '<label for="bdt_ep_%1$s[%2$s][%3$s]">', $args['section'], $args['id'], $key );
|
301 |
-
$html .= sprintf( '<input type="radio" class="radio" id="bdt_ep_%1$s[%2$s][%3$s]" name="%1$s[%2$s]" value="%3$s" %4$s />', $args['section'], $args['id'], $key, checked( $value, $key, false ) );
|
302 |
-
$html .= sprintf( '%1$s</label><br>', $label );
|
303 |
-
}
|
304 |
-
|
305 |
-
$html .= $this->get_field_description( $args );
|
306 |
-
$html .= '</fieldset>';
|
307 |
-
|
308 |
-
echo $html;
|
309 |
-
}
|
310 |
-
|
311 |
-
/**
|
312 |
-
* Displays a selectbox for a settings field
|
313 |
-
*
|
314 |
-
* @param array $args settings field args
|
315 |
-
*/
|
316 |
-
function callback_select( $args ) {
|
317 |
-
|
318 |
-
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
319 |
-
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
320 |
-
$html = sprintf( '<select class="%1$s" name="%2$s[%3$s]" id="%2$s[%3$s]">', $size, $args['section'], $args['id'] );
|
321 |
-
|
322 |
-
foreach ( $args['options'] as $key => $label ) {
|
323 |
-
$html .= sprintf( '<option value="%s"%s>%s</option>', $key, selected( $value, $key, false ), $label );
|
324 |
-
}
|
325 |
-
|
326 |
-
$html .= sprintf( '</select>' );
|
327 |
-
$html .= $this->get_field_description( $args );
|
328 |
-
|
329 |
-
echo $html;
|
330 |
-
}
|
331 |
-
|
332 |
-
/**
|
333 |
-
* Displays a textarea for a settings field
|
334 |
-
*
|
335 |
-
* @param array $args settings field args
|
336 |
-
*/
|
337 |
-
function callback_textarea( $args ) {
|
338 |
-
|
339 |
-
$value = esc_textarea( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
340 |
-
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
341 |
-
$placeholder = empty( $args['placeholder'] ) ? '' : ' placeholder="'.$args['placeholder'].'"';
|
342 |
-
|
343 |
-
$html = sprintf( '<textarea rows="5" cols="55" class="%1$s-text" id="%2$s[%3$s]" name="%2$s[%3$s]"%4$s>%5$s</textarea>', $size, $args['section'], $args['id'], $placeholder, $value );
|
344 |
-
$html .= $this->get_field_description( $args );
|
345 |
-
|
346 |
-
echo $html;
|
347 |
-
}
|
348 |
-
|
349 |
-
/**
|
350 |
-
* Displays the html for a settings field
|
351 |
-
*
|
352 |
-
* @param array $args settings field args
|
353 |
-
* @return string
|
354 |
-
*/
|
355 |
-
function callback_html( $args ) {
|
356 |
-
echo $args['desc'];
|
357 |
-
}
|
358 |
-
|
359 |
-
/**
|
360 |
-
* Displays a rich text textarea for a settings field
|
361 |
-
*
|
362 |
-
* @param array $args settings field args
|
363 |
-
*/
|
364 |
-
function callback_wysiwyg( $args ) {
|
365 |
-
|
366 |
-
$value = $this->get_option( $args['id'], $args['section'], $args['std'] );
|
367 |
-
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : '500px';
|
368 |
-
|
369 |
-
echo '<div style="max-width: ' . $size . ';">';
|
370 |
-
|
371 |
-
$editor_settings = array(
|
372 |
-
'teeny' => true,
|
373 |
-
'textarea_name' => $args['section'] . '[' . $args['id'] . ']',
|
374 |
-
'textarea_rows' => 10
|
375 |
-
);
|
376 |
-
|
377 |
-
if ( isset( $args['options'] ) && is_array( $args['options'] ) ) {
|
378 |
-
$editor_settings = array_merge( $editor_settings, $args['options'] );
|
379 |
-
}
|
380 |
-
|
381 |
-
wp_editor( $value, $args['section'] . '-' . $args['id'], $editor_settings );
|
382 |
-
|
383 |
-
echo '</div>';
|
384 |
-
|
385 |
-
echo $this->get_field_description( $args );
|
386 |
-
}
|
387 |
-
|
388 |
-
/**
|
389 |
-
* Displays a file upload field for a settings field
|
390 |
-
*
|
391 |
-
* @param array $args settings field args
|
392 |
-
*/
|
393 |
-
function callback_file( $args ) {
|
394 |
-
|
395 |
-
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
396 |
-
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
397 |
-
$id = $args['section'] . '[' . $args['id'] . ']';
|
398 |
-
$label = isset( $args['options']['button_label'] ) ? $args['options']['button_label'] : __( 'Choose File' );
|
399 |
-
|
400 |
-
$html = sprintf( '<input type="text" class="%1$s-text wpsa-url" id="%2$s[%3$s]" name="%2$s[%3$s]" value="%4$s"/>', $size, $args['section'], $args['id'], $value );
|
401 |
-
$html .= '<input type="button" class="button wpsa-browse" value="' . $label . '" />';
|
402 |
-
$html .= $this->get_field_description( $args );
|
403 |
-
|
404 |
-
echo $html;
|
405 |
-
}
|
406 |
-
|
407 |
-
/**
|
408 |
-
* Displays a password field for a settings field
|
409 |
-
*
|
410 |
-
* @param array $args settings field args
|
411 |
-
*/
|
412 |
-
function callback_password( $args ) {
|
413 |
-
|
414 |
-
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
415 |
-
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
416 |
-
|
417 |
-
$html = sprintf( '<input type="password" class="%1$s-text" id="%2$s[%3$s]" name="%2$s[%3$s]" value="%4$s"/>', $size, $args['section'], $args['id'], $value );
|
418 |
-
$html .= $this->get_field_description( $args );
|
419 |
-
|
420 |
-
echo $html;
|
421 |
-
}
|
422 |
-
|
423 |
-
/**
|
424 |
-
* Displays a color picker field for a settings field
|
425 |
-
*
|
426 |
-
* @param array $args settings field args
|
427 |
-
*/
|
428 |
-
function callback_color( $args ) {
|
429 |
-
|
430 |
-
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
431 |
-
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
432 |
-
|
433 |
-
$html = sprintf( '<input type="text" class="%1$s-text wp-color-picker-field" id="%2$s[%3$s]" name="%2$s[%3$s]" value="%4$s" data-default-color="%5$s" />', $size, $args['section'], $args['id'], $value, $args['std'] );
|
434 |
-
$html .= $this->get_field_description( $args );
|
435 |
-
|
436 |
-
echo $html;
|
437 |
-
}
|
438 |
-
|
439 |
-
/**
|
440 |
-
* Displays a 2 colspan subheading field for a settings field
|
441 |
-
*
|
442 |
-
* @param array $args settings field args
|
443 |
-
*/
|
444 |
-
function callback_subheading( $args ) {
|
445 |
-
|
446 |
-
$html = '<h3 class="setting_subheading column-merge">'.$args['name'].'</h3>';
|
447 |
-
$html .= $this->get_field_description( $args );
|
448 |
-
$html .= '<hr class="setting_separator">';
|
449 |
-
|
450 |
-
echo $html;
|
451 |
-
}
|
452 |
-
|
453 |
-
/**
|
454 |
-
* Displays a 2 colspan separator field for a settings field
|
455 |
-
*
|
456 |
-
* @param array $args settings field args
|
457 |
-
*/
|
458 |
-
function callback_separator( $args ) {
|
459 |
-
|
460 |
-
$html = '<hr class="setting_separator column-merge">';
|
461 |
-
$html .= $this->get_field_description( $args );
|
462 |
-
|
463 |
-
|
464 |
-
echo $html;
|
465 |
-
}
|
466 |
-
|
467 |
-
|
468 |
-
/**
|
469 |
-
* Displays a select box for creating the pages select box
|
470 |
-
*
|
471 |
-
* @param array $args settings field args
|
472 |
-
*/
|
473 |
-
function callback_pages( $args ) {
|
474 |
-
|
475 |
-
$dropdown_args = array(
|
476 |
-
'selected' => esc_attr($this->get_option($args['id'], $args['section'], $args['std'] ) ),
|
477 |
-
'name' => $args['section'] . '[' . $args['id'] . ']',
|
478 |
-
'id' => $args['section'] . '[' . $args['id'] . ']',
|
479 |
-
'echo' => 0
|
480 |
-
);
|
481 |
-
$html = wp_dropdown_pages( $dropdown_args );
|
482 |
-
echo $html;
|
483 |
-
}
|
484 |
-
|
485 |
-
/**
|
486 |
-
* Sanitize callback for Settings API
|
487 |
-
*
|
488 |
-
* @return mixed
|
489 |
-
*/
|
490 |
-
function sanitize_options( $options ) {
|
491 |
-
|
492 |
-
if ( !$options ) {
|
493 |
-
return $options;
|
494 |
-
}
|
495 |
-
|
496 |
-
foreach( $options as $option_slug => $option_value ) {
|
497 |
-
$sanitize_callback = $this->get_sanitize_callback( $option_slug );
|
498 |
-
|
499 |
-
// If callback is set, call it
|
500 |
-
if ( $sanitize_callback ) {
|
501 |
-
$options[ $option_slug ] = call_user_func( $sanitize_callback, $option_value );
|
502 |
-
continue;
|
503 |
-
}
|
504 |
-
}
|
505 |
-
|
506 |
-
return $options;
|
507 |
-
}
|
508 |
-
|
509 |
-
/**
|
510 |
-
* Get sanitization callback for given option slug
|
511 |
-
*
|
512 |
-
* @param string $slug option slug
|
513 |
-
*
|
514 |
-
* @return mixed string or bool false
|
515 |
-
*/
|
516 |
-
function get_sanitize_callback( $slug = '' ) {
|
517 |
-
if ( empty( $slug ) ) {
|
518 |
-
return false;
|
519 |
-
}
|
520 |
-
|
521 |
-
// Iterate over registered fields and see if we can find proper callback
|
522 |
-
foreach( $this->settings_fields as $section => $options ) {
|
523 |
-
foreach ( $options as $option ) {
|
524 |
-
if ( $option['name'] != $slug ) {
|
525 |
-
continue;
|
526 |
-
}
|
527 |
-
|
528 |
-
// Return the callback name
|
529 |
-
return isset( $option['sanitize_callback'] ) && is_callable( $option['sanitize_callback'] ) ? $option['sanitize_callback'] : false;
|
530 |
-
}
|
531 |
-
}
|
532 |
-
|
533 |
-
return false;
|
534 |
-
}
|
535 |
-
|
536 |
-
/**
|
537 |
-
* Get the value of a settings field
|
538 |
-
*
|
539 |
-
* @param string $option settings field name
|
540 |
-
* @param string $section the section name this field belongs to
|
541 |
-
* @param string $default default text if it's not found
|
542 |
-
* @return string
|
543 |
-
*/
|
544 |
-
function get_option( $option, $section, $default = '' ) {
|
545 |
-
|
546 |
-
$options = get_option( $section );
|
547 |
-
|
548 |
-
if ( isset( $options[$option] ) ) {
|
549 |
-
return $options[$option];
|
550 |
-
}
|
551 |
-
|
552 |
-
return $default;
|
553 |
-
}
|
554 |
-
|
555 |
-
/**
|
556 |
-
* Show navigations as tab
|
557 |
-
*
|
558 |
-
* Shows all the settings section labels as tab
|
559 |
-
*/
|
560 |
-
function show_navigation() {
|
561 |
-
$html = '<h2 class="nav-tab-wrapper">';
|
562 |
-
|
563 |
-
$count = count( $this->settings_sections );
|
564 |
-
|
565 |
-
// don't show the navigation if only one section exists
|
566 |
-
if ( $count === 1 ) {
|
567 |
-
return;
|
568 |
-
}
|
569 |
-
|
570 |
-
foreach ( $this->settings_sections as $tab ) {
|
571 |
-
$html .= sprintf( '<a href="#%1$s" class="nav-tab" id="%1$s-tab">%2$s</a>', $tab['id'], $tab['title'] );
|
572 |
-
}
|
573 |
-
|
574 |
-
$html .= '<a href="#element_pack_video_tutorial" class="nav-tab" id="element_pack_video_tutorial-tab">Video Tutorial</a>';
|
575 |
-
$html .= '<a href="#element_pack_system_requirement" class="nav-tab" id="element_pack_system_requirement-tab">System Requirement</a>';
|
576 |
-
|
577 |
-
$html .= '</h2>';
|
578 |
-
|
579 |
-
echo $html;
|
580 |
-
}
|
581 |
-
|
582 |
-
/**
|
583 |
-
* Show the section settings forms
|
584 |
-
*
|
585 |
-
* This function displays every sections in a different form
|
586 |
-
*/
|
587 |
-
function show_forms() {
|
588 |
-
?>
|
589 |
-
<div class="metabox-holder">
|
590 |
-
<?php foreach ( $this->settings_sections as $form ) { ?>
|
591 |
-
<div id="<?php echo $form['id']; ?>" class="group" style="display: none;">
|
592 |
-
<form method="post" action="options.php">
|
593 |
-
<?php
|
594 |
-
do_action( 'wsa_form_top_' . $form['id'], $form );
|
595 |
-
settings_fields( $form['id'] );
|
596 |
-
do_settings_sections( $form['id'] );
|
597 |
-
do_action( 'wsa_form_bottom_' . $form['id'], $form );
|
598 |
-
if ( isset( $this->settings_fields[ $form['id'] ] ) ):
|
599 |
-
?>
|
600 |
-
<div>
|
601 |
-
<?php submit_button(); ?>
|
602 |
-
</div>
|
603 |
-
<?php endif; ?>
|
604 |
-
</form>
|
605 |
-
</div>
|
606 |
-
<?php } ?>
|
607 |
-
|
608 |
-
<div id="element_pack_video_tutorial" class="group" style="display: none;">
|
609 |
-
<?php $this->element_pack_video_tutorial(); ?>
|
610 |
-
</div>
|
611 |
-
|
612 |
-
<div id="element_pack_system_requirement" class="group" style="display: none;">
|
613 |
-
<?php $this->element_pack_system_requirement(); ?>
|
614 |
-
</div>
|
615 |
-
</div>
|
616 |
-
<?php
|
617 |
-
$this->script();
|
618 |
-
}
|
619 |
-
|
620 |
-
function element_pack_video_tutorial() {
|
621 |
-
?>
|
622 |
-
<div class="element_pack_video_wrapper">
|
623 |
-
<iframe width="854" height="480" src="https://www.youtube.com/embed/videoseries?list=PLP0S85GEw7DOJf_cbgUIL20qqwqb5x8KA" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
|
624 |
-
</div>
|
625 |
-
<?php
|
626 |
-
}
|
627 |
-
|
628 |
-
|
629 |
-
function element_pack_system_requirement() {
|
630 |
-
$php_version = phpversion();
|
631 |
-
$max_execution_time = ini_get('max_execution_time');
|
632 |
-
$memory_limit = ini_get('memory_limit');
|
633 |
-
$post_limit = ini_get('post_max_size');
|
634 |
-
$uploads = wp_upload_dir();
|
635 |
-
$upload_path = $uploads['basedir'];
|
636 |
-
$yes_icon = '<span class="valid"><i class="dashicons-before dashicons-yes"></i></span>';
|
637 |
-
$no_icon = '<span class="invalid"><i class="dashicons-before dashicons-no-alt"></i></span>';
|
638 |
-
|
639 |
-
?>
|
640 |
-
<ul class="check-system-status">
|
641 |
-
<li>
|
642 |
-
<span class="label1">PHP Version: </span>
|
643 |
-
|
644 |
-
<?php
|
645 |
-
if (version_compare($php_version,'5.6.0','<')) {
|
646 |
-
echo $no_icon;
|
647 |
-
echo '<span class="label2">Currently: ' . $php_version . ' (Min: 5.6 Recommended)</span>';
|
648 |
-
} else {
|
649 |
-
echo $yes_icon;
|
650 |
-
echo '<span class="label2">Currently: ' . $php_version . '</span>';
|
651 |
-
}
|
652 |
-
?>
|
653 |
-
</li>
|
654 |
-
<li>
|
655 |
-
<span class="label1">Maximum execution time: </span>
|
656 |
-
|
657 |
-
<?php
|
658 |
-
if ($max_execution_time < '90') {
|
659 |
-
echo $no_icon;
|
660 |
-
echo '<span class="label2">Currently: ' . $max_execution_time . '(Min: 90 Recommended)</span>';
|
661 |
-
} else {
|
662 |
-
echo $yes_icon;
|
663 |
-
echo '<span class="label2">Currently: ' . $max_execution_time . '</span>';
|
664 |
-
}
|
665 |
-
?>
|
666 |
-
</li>
|
667 |
-
<li>
|
668 |
-
<span class="label1">Memory Limit: </span>
|
669 |
-
|
670 |
-
<?php
|
671 |
-
if (intval($memory_limit) < '256') {
|
672 |
-
echo $no_icon;
|
673 |
-
echo '<span class="label2">Currently: ' . $memory_limit . ' (Min: 256M Recommended)</span>';
|
674 |
-
} else {
|
675 |
-
echo $yes_icon;
|
676 |
-
echo '<span class="label2">Currently: ' . $memory_limit . '</span>';
|
677 |
-
}
|
678 |
-
?>
|
679 |
-
</li>
|
680 |
-
|
681 |
-
<li>
|
682 |
-
<span class="label1">Max Post Limit: </span>
|
683 |
-
|
684 |
-
<?php
|
685 |
-
if (intval($post_limit) < '32') {
|
686 |
-
echo $no_icon;
|
687 |
-
echo '<span class="label2">Currently: ' . $post_limit . ' (Min: 32M Recommended)</span>';
|
688 |
-
} else {
|
689 |
-
echo $yes_icon;
|
690 |
-
echo '<span class="label2">Currently: ' . $post_limit . '</span>';
|
691 |
-
}
|
692 |
-
?>
|
693 |
-
</li>
|
694 |
-
|
695 |
-
<?php if ( function_exists('apache_get_modules') ) : ?>
|
696 |
-
<li>
|
697 |
-
<span class="label1">GZip Compression: </span>
|
698 |
-
|
699 |
-
<?php
|
700 |
-
|
701 |
-
if (count(array_intersect(['mod_deflate', 'mod_gzip'], apache_get_modules() ) ) > 0) {
|
702 |
-
echo $yes_icon;
|
703 |
-
echo '<span class="label2">Enabled</span>';
|
704 |
-
} else {
|
705 |
-
echo $no_icon;
|
706 |
-
echo '<span class="label2">Not Enabled!</span>';
|
707 |
-
}
|
708 |
-
?>
|
709 |
-
</li>
|
710 |
-
<?php endif; ?>
|
711 |
-
|
712 |
-
<li>
|
713 |
-
<span class="label1">Uploads folder writable: </span>
|
714 |
-
|
715 |
-
<?php
|
716 |
-
if (!is_writable($upload_path)) {
|
717 |
-
echo $no_icon;
|
718 |
-
} else {
|
719 |
-
echo $yes_icon;
|
720 |
-
}
|
721 |
-
?>
|
722 |
-
</li>
|
723 |
-
|
724 |
-
</ul>
|
725 |
-
|
726 |
-
<div class="bdt-admin-alert">
|
727 |
-
<strong>Note:</strong> If you have multiple addons like element pack so you need some more requirement some cases so make sure you added more memory for others addon too.
|
728 |
-
</div>
|
729 |
-
<?php
|
730 |
-
}
|
731 |
-
|
732 |
-
/**
|
733 |
-
* Tabbable JavaScript codes & Initiate Color Picker
|
734 |
-
*
|
735 |
-
* This code uses localstorage for displaying active tabs
|
736 |
-
*/
|
737 |
-
function script() {
|
738 |
-
?>
|
739 |
-
<script>
|
740 |
-
jQuery(document).ready(function($) {
|
741 |
-
|
742 |
-
// Switches option sections
|
743 |
-
$('.group').hide();
|
744 |
-
var activetab = '';
|
745 |
-
if (typeof(localStorage) != 'undefined' ) {
|
746 |
-
activetab = localStorage.getItem("activetab");
|
747 |
-
}
|
748 |
-
|
749 |
-
//if url has section id as hash then set it as active or override the current local storage value
|
750 |
-
if(window.location.hash){
|
751 |
-
activetab = window.location.hash;
|
752 |
-
if (typeof(localStorage) != 'undefined' ) {
|
753 |
-
localStorage.setItem("activetab", activetab);
|
754 |
-
}
|
755 |
-
}
|
756 |
-
|
757 |
-
if (activetab != '' && $(activetab).length ) {
|
758 |
-
$(activetab).fadeIn();
|
759 |
-
} else {
|
760 |
-
$('.group:first').fadeIn();
|
761 |
-
}
|
762 |
-
$('.group .collapsed').each(function(){
|
763 |
-
$(this).find('input:checked').parent().parent().parent().nextAll().each(
|
764 |
-
function(){
|
765 |
-
if ($(this).hasClass('last')) {
|
766 |
-
$(this).removeClass('hidden');
|
767 |
-
return false;
|
768 |
-
}
|
769 |
-
$(this).filter('.hidden').removeClass('hidden');
|
770 |
-
});
|
771 |
-
});
|
772 |
-
|
773 |
-
if (activetab != '' && $(activetab + '-tab').length ) {
|
774 |
-
$(activetab + '-tab').addClass('nav-tab-active');
|
775 |
-
}
|
776 |
-
else {
|
777 |
-
$('.nav-tab-wrapper a:first').addClass('nav-tab-active');
|
778 |
-
}
|
779 |
-
$('.nav-tab-wrapper a').click(function(evt) {
|
780 |
-
$('.nav-tab-wrapper a').removeClass('nav-tab-active');
|
781 |
-
$(this).addClass('nav-tab-active').blur();
|
782 |
-
var clicked_group = $(this).attr('href');
|
783 |
-
if (typeof(localStorage) != 'undefined' ) {
|
784 |
-
localStorage.setItem("activetab", $(this).attr('href'));
|
785 |
-
}
|
786 |
-
$('.group').hide();
|
787 |
-
$(clicked_group).fadeIn();
|
788 |
-
evt.preventDefault();
|
789 |
-
});
|
790 |
-
|
791 |
-
//make the subheading single row
|
792 |
-
$('.elementor_page_element_pack_options .column-merge').each(function (index, element) {
|
793 |
-
var $element = $(element);
|
794 |
-
var $element_parent = $element.parent('td');
|
795 |
-
$element_parent.attr('colspan', 2);
|
796 |
-
$element_parent.prev('th').remove();
|
797 |
-
});
|
798 |
-
|
799 |
-
$("#element_pack_active_modules .bdt-wo-select-all-widget .checkbox").click(function(){
|
800 |
-
$("#element_pack_active_modules .checkbox").prop("checked",$(this).prop("checked"));
|
801 |
-
});
|
802 |
-
$("#element_pack_third_party_widget .bdt-wo-select-all-widget .checkbox").click(function(){
|
803 |
-
$("#element_pack_third_party_widget .checkbox").prop("checked",$(this).prop("checked"));
|
804 |
-
});
|
805 |
-
});
|
806 |
-
</script>
|
807 |
-
<?php
|
808 |
-
}
|
809 |
-
|
810 |
-
}
|
811 |
-
|
812 |
-
endif;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/helper.php
DELETED
@@ -1,1504 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
use ElementPack\Element_Pack_Loader;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* Show any alert by this function
|
6 |
-
* @param mixed $message [description]
|
7 |
-
* @param class prefix $type [description]
|
8 |
-
* @param boolean $close [description]
|
9 |
-
* @return helper [description]
|
10 |
-
*/
|
11 |
-
function element_pack_alert($message, $type = 'warning', $close = true) {
|
12 |
-
?>
|
13 |
-
<div class="bdt-alert-<?php echo $type; ?>" bdt-alert>
|
14 |
-
<?php if($close) : ?>
|
15 |
-
<a class="bdt-alert-close" bdt-close></a>
|
16 |
-
<?php endif; ?>
|
17 |
-
<?php echo wp_kses_post( $message ); ?>
|
18 |
-
</div>
|
19 |
-
<?php
|
20 |
-
}
|
21 |
-
|
22 |
-
/**
|
23 |
-
* all array css classes will output as proper space
|
24 |
-
* @param array $classes shortcode css class as array
|
25 |
-
* @return proper string
|
26 |
-
*/
|
27 |
-
|
28 |
-
function bdt_get_post_types($args = []){
|
29 |
-
|
30 |
-
$post_type_args = [
|
31 |
-
'show_in_nav_menus' => true,
|
32 |
-
];
|
33 |
-
|
34 |
-
if ( ! empty( $args['post_type'] ) ) {
|
35 |
-
$post_type_args['name'] = $args['post_type'];
|
36 |
-
}
|
37 |
-
|
38 |
-
$_post_types = get_post_types( $post_type_args , 'objects' );
|
39 |
-
|
40 |
-
$post_types = ['0' => esc_html__( 'Select Type', 'bdthemes-element-pack-lite' ) ];
|
41 |
-
|
42 |
-
foreach ( $_post_types as $post_type => $object ) {
|
43 |
-
$post_types[ $post_type ] = $object->label;
|
44 |
-
}
|
45 |
-
|
46 |
-
return $post_types;
|
47 |
-
}
|
48 |
-
|
49 |
-
/**
|
50 |
-
* Add REST API support to an already registered post type.
|
51 |
-
*/
|
52 |
-
|
53 |
-
// function bdt_custom_post_type_rest_support() {
|
54 |
-
// global $wp_post_types;
|
55 |
-
|
56 |
-
// $post_types = bdt_get_post_types();
|
57 |
-
// foreach( $post_types as $post_type ) {
|
58 |
-
// $post_type_name = $post_type;
|
59 |
-
// if( isset( $wp_post_types[ $post_type_name ] ) ) {
|
60 |
-
// $wp_post_types[$post_type_name]->show_in_rest = true;
|
61 |
-
// $wp_post_types[$post_type_name]->rest_base = $post_type_name;
|
62 |
-
// $wp_post_types[$post_type_name]->rest_controller_class = 'WP_REST_Posts_Controller';
|
63 |
-
// }
|
64 |
-
// }
|
65 |
-
|
66 |
-
// }
|
67 |
-
|
68 |
-
// add_action( 'init', 'bdt_custom_post_type_rest_support', 25 );
|
69 |
-
|
70 |
-
|
71 |
-
function element_pack_allow_tags( $tag = null ) {
|
72 |
-
$tag_allowed = wp_kses_allowed_html('post');
|
73 |
-
|
74 |
-
$tag_allowed['input'] = [
|
75 |
-
'class' => [],
|
76 |
-
'id' => [],
|
77 |
-
'name' => [],
|
78 |
-
'value' => [],
|
79 |
-
'checked' => [],
|
80 |
-
'type' => [],
|
81 |
-
];
|
82 |
-
$tag_allowed['select'] = [
|
83 |
-
'class' => [],
|
84 |
-
'id' => [],
|
85 |
-
'name' => [],
|
86 |
-
'value' => [],
|
87 |
-
'multiple' => [],
|
88 |
-
'type' => [],
|
89 |
-
];
|
90 |
-
$tag_allowed['option'] = [
|
91 |
-
'value' => [],
|
92 |
-
'selected' => [],
|
93 |
-
];
|
94 |
-
|
95 |
-
$tag_allowed['title'] = [
|
96 |
-
'a' => [
|
97 |
-
'href' => [],
|
98 |
-
'title' => [],
|
99 |
-
'class' => [],
|
100 |
-
],
|
101 |
-
'br' => [],
|
102 |
-
'em' => [],
|
103 |
-
'strong' => [],
|
104 |
-
'hr' => [],
|
105 |
-
];
|
106 |
-
|
107 |
-
$tag_allowed['text'] = [
|
108 |
-
'a' => [
|
109 |
-
'href' => [],
|
110 |
-
'title' => [],
|
111 |
-
'class' => [],
|
112 |
-
],
|
113 |
-
'br' => [],
|
114 |
-
'em' => [],
|
115 |
-
'strong' => [],
|
116 |
-
'hr' => [],
|
117 |
-
'i' => [
|
118 |
-
'class' => [],
|
119 |
-
],
|
120 |
-
'span' => [
|
121 |
-
'class' => [],
|
122 |
-
],
|
123 |
-
];
|
124 |
-
|
125 |
-
if( $tag == null ){
|
126 |
-
return $tag_allowed;
|
127 |
-
} elseif( is_array($tag) ){
|
128 |
-
$new_tag_allow = [];
|
129 |
-
|
130 |
-
foreach ( $tag as $_tag ){
|
131 |
-
$new_tag_allow[$_tag] = $tag_allowed[$_tag];
|
132 |
-
}
|
133 |
-
|
134 |
-
return $new_tag_allow;
|
135 |
-
} else {
|
136 |
-
return isset($tag_allowed[$tag]) ? $tag_allowed[$tag] : [];
|
137 |
-
}
|
138 |
-
}
|
139 |
-
|
140 |
-
/**
|
141 |
-
* post pagination
|
142 |
-
*/
|
143 |
-
function element_pack_post_pagination($wp_query) {
|
144 |
-
|
145 |
-
/** Stop execution if there's only 1 page */
|
146 |
-
if( $wp_query->max_num_pages <= 1 ) {
|
147 |
-
return;
|
148 |
-
}
|
149 |
-
|
150 |
-
$paged = get_query_var( 'paged' ) ? absint( get_query_var( 'paged' ) ) : 1;
|
151 |
-
$max = intval( $wp_query->max_num_pages );
|
152 |
-
|
153 |
-
/** Add current page to the array */
|
154 |
-
if ( $paged >= 1 )
|
155 |
-
$links[] = $paged;
|
156 |
-
|
157 |
-
/** Add the pages around the current page to the array */
|
158 |
-
if ( $paged >= 3 ) {
|
159 |
-
$links[] = $paged - 1;
|
160 |
-
$links[] = $paged - 2;
|
161 |
-
}
|
162 |
-
|
163 |
-
if ( ( $paged + 2 ) <= $max ) {
|
164 |
-
$links[] = $paged + 2;
|
165 |
-
$links[] = $paged + 1;
|
166 |
-
}
|
167 |
-
|
168 |
-
echo '<ul class="bdt-pagination bdt-flex-center">' . "\n";
|
169 |
-
|
170 |
-
/** Previous Post Link */
|
171 |
-
if ( get_previous_posts_link() )
|
172 |
-
printf( '<li>%s</li>' . "\n", get_previous_posts_link('<span bdt-pagination-previous></span>') );
|
173 |
-
|
174 |
-
/** Link to first page, plus ellipses if necessary */
|
175 |
-
if ( ! in_array( 1, $links ) ) {
|
176 |
-
$class = 1 == $paged ? ' class="current"' : '';
|
177 |
-
|
178 |
-
printf( '<li%s><a href="%s">%s</a></li>' . "\n", $class, esc_url( get_pagenum_link( 1 ) ), '1' );
|
179 |
-
|
180 |
-
if ( ! in_array( 2, $links ) )
|
181 |
-
echo '<li class="bdt-pagination-dot-dot"><span>...</span></li>';
|
182 |
-
}
|
183 |
-
|
184 |
-
/** Link to current page, plus 2 pages in either direction if necessary */
|
185 |
-
sort( $links );
|
186 |
-
foreach ( (array) $links as $link ) {
|
187 |
-
$class = $paged == $link ? ' class="bdt-active"' : '';
|
188 |
-
printf( '<li%s><a href="%s">%s</a></li>' . "\n", $class, esc_url( get_pagenum_link( $link ) ), $link );
|
189 |
-
}
|
190 |
-
|
191 |
-
/** Link to last page, plus ellipses if necessary */
|
192 |
-
if ( ! in_array( $max, $links ) ) {
|
193 |
-
if ( ! in_array( $max - 1, $links ) )
|
194 |
-
echo '<li class="bdt-pagination-dot-dot"><span>...</span></li>' . "\n";
|
195 |
-
|
196 |
-
$class = $paged == $max ? ' class="bdt-active"' : '';
|
197 |
-
printf( '<li%s><a href="%s">%s</a></li>' . "\n", $class, esc_url( get_pagenum_link( $max ) ), $max );
|
198 |
-
}
|
199 |
-
|
200 |
-
/** Next Post Link */
|
201 |
-
if ( get_next_posts_link() )
|
202 |
-
printf( '<li>%s</li>' . "\n", get_next_posts_link('<span bdt-pagination-next></span>') );
|
203 |
-
|
204 |
-
echo '</ul>' . "\n";
|
205 |
-
}
|
206 |
-
|
207 |
-
function element_pack_template_edit_link( $template_id ) {
|
208 |
-
if ( Element_Pack_Loader::elementor()->editor->is_edit_mode() ) {
|
209 |
-
|
210 |
-
$final_url = add_query_arg( [ 'elementor' => '' ], get_permalink( $template_id ) );
|
211 |
-
|
212 |
-
$output = sprintf( '<a class="bdt-elementor-template-edit-link" href="%s" title="%s" target="_blank"><i class="eicon-edit"></i></a>', esc_url( $final_url ), esc_html__( 'Edit Template', 'bdthemes-element-pack-lite' ) );
|
213 |
-
|
214 |
-
return $output;
|
215 |
-
}
|
216 |
-
}
|
217 |
-
|
218 |
-
|
219 |
-
function element_pack_iso_time($time) {
|
220 |
-
$current_offset = (float) get_option( 'gmt_offset' );
|
221 |
-
$timezone_string = get_option( 'timezone_string' );
|
222 |
-
|
223 |
-
// Create a UTC+- zone if no timezone string exists.
|
224 |
-
//if ( empty( $timezone_string ) ) {
|
225 |
-
if ( 0 === $current_offset ) {
|
226 |
-
$timezone_string = '+00:00';
|
227 |
-
} elseif ( $current_offset < 0 ) {
|
228 |
-
$timezone_string = $current_offset . ':00';
|
229 |
-
} else {
|
230 |
-
$timezone_string = '+0' . $current_offset . ':00';
|
231 |
-
}
|
232 |
-
//}
|
233 |
-
|
234 |
-
$sub_time = [];
|
235 |
-
$sub_time = explode(" ", $time);
|
236 |
-
$final_time = $sub_time[0] .'T'. $sub_time[1] .':00' . $timezone_string;
|
237 |
-
|
238 |
-
return $final_time;
|
239 |
-
}
|
240 |
-
|
241 |
-
|
242 |
-
/**
|
243 |
-
* Make sure elementor plugin installed or not
|
244 |
-
* @return error message
|
245 |
-
*/
|
246 |
-
function bdthemes_elementor_not_found() {
|
247 |
-
$class = 'notice notice-error';
|
248 |
-
$message = __( 'Ops! Elementor Plugin Not Found! Make sure you installed and Activated correctly.', 'bdthemes-element-pack-lite' );
|
249 |
-
|
250 |
-
printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), esc_html( $message ) );
|
251 |
-
}
|
252 |
-
|
253 |
-
function element_pack_get_menu() {
|
254 |
-
$data = get_transient( 'ep_get_menu' );
|
255 |
-
|
256 |
-
if ( false === $data ) {
|
257 |
-
$menus = wp_get_nav_menus();
|
258 |
-
$items = ['0' => esc_html__( 'Select Menu', 'bdthemes-element-pack-lite' ) ];
|
259 |
-
foreach ( $menus as $menu ) {
|
260 |
-
$items[ $menu->slug ] = $menu->name;
|
261 |
-
}
|
262 |
-
|
263 |
-
set_transient( 'ep_get_menu', $items, 300 );
|
264 |
-
}
|
265 |
-
|
266 |
-
return $data;
|
267 |
-
}
|
268 |
-
|
269 |
-
/**
|
270 |
-
* default get_option() default value check
|
271 |
-
* @param string $option settings field name
|
272 |
-
* @param string $section the section name this field belongs to
|
273 |
-
* @param string $default default text if it's not found
|
274 |
-
* @return mixed
|
275 |
-
*/
|
276 |
-
function element_pack_option( $option, $section, $default = '' ) {
|
277 |
-
|
278 |
-
$options = get_option( $section );
|
279 |
-
|
280 |
-
if ( isset( $options[$option] ) ) {
|
281 |
-
return $options[$option];
|
282 |
-
}
|
283 |
-
|
284 |
-
return $default;
|
285 |
-
}
|
286 |
-
|
287 |
-
// Anywhere Template
|
288 |
-
function element_pack_ae_options() {
|
289 |
-
|
290 |
-
$data = get_transient( 'ep_anywhere_template' );
|
291 |
-
|
292 |
-
if ( false === $data ) {
|
293 |
-
|
294 |
-
if (post_type_exists('ae_global_templates')) {
|
295 |
-
$anywhere = get_posts(array(
|
296 |
-
'fields' => 'ids', // Only get post IDs
|
297 |
-
'posts_per_page' => -1,
|
298 |
-
'post_type' => 'ae_global_templates',
|
299 |
-
));
|
300 |
-
|
301 |
-
$anywhere_options = ['0' => esc_html__( 'Select Template', 'bdthemes-element-pack-lite' ) ];
|
302 |
-
|
303 |
-
foreach ($anywhere as $key => $value) {
|
304 |
-
$anywhere_options[$value] = get_the_title($value);
|
305 |
-
}
|
306 |
-
} else {
|
307 |
-
$anywhere_options = ['0' => esc_html__( 'AE Plugin Not Installed', 'bdthemes-element-pack-lite' ) ];
|
308 |
-
}
|
309 |
-
|
310 |
-
set_transient( 'ep_anywhere_template', $anywhere_options, 120 );
|
311 |
-
|
312 |
-
return get_transient( 'ep_anywhere_template' );
|
313 |
-
}
|
314 |
-
|
315 |
-
return $data;
|
316 |
-
}
|
317 |
-
|
318 |
-
// Elementor Saved Template
|
319 |
-
function element_pack_et_options() {
|
320 |
-
|
321 |
-
$data = get_transient( 'ep_elementor_template' );
|
322 |
-
|
323 |
-
if ( false === $data ) {
|
324 |
-
|
325 |
-
$templates = Element_Pack_Loader::elementor()->templates_manager->get_source( 'local' )->get_items();
|
326 |
-
$types = [];
|
327 |
-
|
328 |
-
if ( empty( $templates ) ) {
|
329 |
-
$template_options = [ '0' => __( 'You Haven’t Saved Templates Yet.', 'bdthemes-element-pack-lite' ) ];
|
330 |
-
} else {
|
331 |
-
$template_options = [ '0' => __( 'Select Template', 'bdthemes-element-pack-lite' ) ];
|
332 |
-
|
333 |
-
foreach ( $templates as $template ) {
|
334 |
-
$template_options[ $template['template_id'] ] = $template['title'] . ' (' . $template['type'] . ')';
|
335 |
-
$types[ $template['template_id'] ] = $template['type'];
|
336 |
-
}
|
337 |
-
}
|
338 |
-
|
339 |
-
set_transient( 'ep_elementor_template', $template_options, 120 );
|
340 |
-
|
341 |
-
return get_transient( 'ep_elementor_template' );
|
342 |
-
|
343 |
-
}
|
344 |
-
|
345 |
-
return $data;
|
346 |
-
}
|
347 |
-
|
348 |
-
// Sidebar Widgets
|
349 |
-
function element_pack_sidebar_options() {
|
350 |
-
|
351 |
-
$data = get_transient( 'ep_sidebar_options' );
|
352 |
-
|
353 |
-
if ( false === $data ) {
|
354 |
-
|
355 |
-
global $wp_registered_sidebars;
|
356 |
-
$sidebar_options = [];
|
357 |
-
|
358 |
-
if ( ! $wp_registered_sidebars ) {
|
359 |
-
$sidebar_options['0'] = esc_html__( 'No sidebars were found', 'bdthemes-element-pack-lite' );
|
360 |
-
} else {
|
361 |
-
$sidebar_options['0'] = esc_html__( 'Select Sidebar', 'bdthemes-element-pack-lite' );
|
362 |
-
|
363 |
-
foreach ( $wp_registered_sidebars as $sidebar_id => $sidebar ) {
|
364 |
-
$sidebar_options[ $sidebar_id ] = $sidebar['name'];
|
365 |
-
}
|
366 |
-
}
|
367 |
-
|
368 |
-
set_transient( 'ep_sidebar_options', $sidebar_options, DAY_IN_SECONDS );
|
369 |
-
|
370 |
-
return get_transient( 'ep_sidebar_options' );
|
371 |
-
}
|
372 |
-
|
373 |
-
return $data;
|
374 |
-
}
|
375 |
-
|
376 |
-
function element_pack_get_category($terms, $cached = true) {
|
377 |
-
|
378 |
-
$data = get_transient( 'ep_get_category_' . $terms );
|
379 |
-
|
380 |
-
if ( false === $data ) {
|
381 |
-
$post_categories = get_terms( $terms );
|
382 |
-
|
383 |
-
$post_options = [];
|
384 |
-
foreach ( $post_categories as $category ) {
|
385 |
-
$post_options[ $category->slug ] = $category->name;
|
386 |
-
}
|
387 |
-
|
388 |
-
if ( true == $cached ) {
|
389 |
-
set_transient( 'ep_get_category_' . $terms, $post_options, MINUTE_IN_SECONDS );
|
390 |
-
$data = get_transient( 'ep_get_category_' . $terms );
|
391 |
-
} else {
|
392 |
-
$data = $post_options;
|
393 |
-
}
|
394 |
-
|
395 |
-
}
|
396 |
-
|
397 |
-
return $data;
|
398 |
-
}
|
399 |
-
|
400 |
-
/**
|
401 |
-
* @param array all ajax posted array there
|
402 |
-
* @return array return all setting as array
|
403 |
-
*/
|
404 |
-
function element_pack_ajax_settings($settings) {
|
405 |
-
|
406 |
-
$required_settings = [
|
407 |
-
'show_date' => true,
|
408 |
-
'show_comment' => true,
|
409 |
-
'show_link' => true,
|
410 |
-
'show_meta' => true,
|
411 |
-
'show_title' => true,
|
412 |
-
'show_excerpt' => true,
|
413 |
-
'show_lightbox' => true,
|
414 |
-
'show_thumbnail' => true,
|
415 |
-
'show_category' => false,
|
416 |
-
'show_tags' => false,
|
417 |
-
];
|
418 |
-
|
419 |
-
foreach ( $settings as $key => $value ) {
|
420 |
-
if ( in_array( $key, $required_settings ) ) {
|
421 |
-
$required_settings[$key] = $value;
|
422 |
-
}
|
423 |
-
}
|
424 |
-
|
425 |
-
return $required_settings;
|
426 |
-
}
|
427 |
-
|
428 |
-
/**
|
429 |
-
* @return array list of all transition names
|
430 |
-
*/
|
431 |
-
function element_pack_transition_options() {
|
432 |
-
|
433 |
-
|
434 |
-
$transition_options = [
|
435 |
-
'' => esc_html__('None', 'bdthemes-element-pack-lite'),
|
436 |
-
'fade' => esc_html__('Fade', 'bdthemes-element-pack-lite'),
|
437 |
-
'scale-up' => esc_html__('Scale Up', 'bdthemes-element-pack-lite'),
|
438 |
-
'scale-down' => esc_html__('Scale Down', 'bdthemes-element-pack-lite'),
|
439 |
-
'slide-top' => esc_html__('Slide Top', 'bdthemes-element-pack-lite'),
|
440 |
-
'slide-bottom' => esc_html__('Slide Bottom', 'bdthemes-element-pack-lite'),
|
441 |
-
'slide-left' => esc_html__('Slide Left', 'bdthemes-element-pack-lite'),
|
442 |
-
'slide-right' => esc_html__('Slide Right', 'bdthemes-element-pack-lite'),
|
443 |
-
'slide-top-small' => esc_html__('Slide Top Small', 'bdthemes-element-pack-lite'),
|
444 |
-
'slide-bottom-small' => esc_html__('Slide Bottom Small', 'bdthemes-element-pack-lite'),
|
445 |
-
'slide-left-small' => esc_html__('Slide Left Small', 'bdthemes-element-pack-lite'),
|
446 |
-
'slide-right-small' => esc_html__('Slide Right Small', 'bdthemes-element-pack-lite'),
|
447 |
-
'slide-top-medium' => esc_html__('Slide Top Medium', 'bdthemes-element-pack-lite'),
|
448 |
-
'slide-bottom-medium' => esc_html__('Slide Bottom Medium', 'bdthemes-element-pack-lite'),
|
449 |
-
'slide-left-medium' => esc_html__('Slide Left Medium', 'bdthemes-element-pack-lite'),
|
450 |
-
'slide-right-medium' => esc_html__('Slide Right Medium', 'bdthemes-element-pack-lite'),
|
451 |
-
];
|
452 |
-
|
453 |
-
return $transition_options;
|
454 |
-
}
|
455 |
-
|
456 |
-
// BDT Blend Type
|
457 |
-
function element_pack_blend_options() {
|
458 |
-
$blend_options = [
|
459 |
-
'multiply' => esc_html__( 'Multiply', 'bdthemes-element-pack-lite' ),
|
460 |
-
'screen' => esc_html__( 'Screen', 'bdthemes-element-pack-lite' ),
|
461 |
-
'overlay' => esc_html__( 'Overlay', 'bdthemes-element-pack-lite' ),
|
462 |
-
'darken' => esc_html__( 'Darken', 'bdthemes-element-pack-lite' ),
|
463 |
-
'lighten' => esc_html__( 'Lighten', 'bdthemes-element-pack-lite' ),
|
464 |
-
'color-dodge' => esc_html__( 'Color-Dodge', 'bdthemes-element-pack-lite' ),
|
465 |
-
'color-burn' => esc_html__( 'Color-Burn', 'bdthemes-element-pack-lite' ),
|
466 |
-
'hard-light' => esc_html__( 'Hard-Light', 'bdthemes-element-pack-lite' ),
|
467 |
-
'soft-light' => esc_html__( 'Soft-Light', 'bdthemes-element-pack-lite' ),
|
468 |
-
'difference' => esc_html__( 'Difference', 'bdthemes-element-pack-lite' ),
|
469 |
-
'exclusion' => esc_html__( 'Exclusion', 'bdthemes-element-pack-lite' ),
|
470 |
-
'hue' => esc_html__( 'Hue', 'bdthemes-element-pack-lite' ),
|
471 |
-
'saturation' => esc_html__( 'Saturation', 'bdthemes-element-pack-lite' ),
|
472 |
-
'color' => esc_html__( 'Color', 'bdthemes-element-pack-lite' ),
|
473 |
-
'luminosity' => esc_html__( 'Luminosity', 'bdthemes-element-pack-lite' ),
|
474 |
-
];
|
475 |
-
|
476 |
-
return $blend_options;
|
477 |
-
}
|
478 |
-
|
479 |
-
// BDT Position
|
480 |
-
function element_pack_position() {
|
481 |
-
$position_options = [
|
482 |
-
'' => esc_html__('Default', 'bdthemes-element-pack-lite'),
|
483 |
-
'top-left' => esc_html__('Top Left', 'bdthemes-element-pack-lite') ,
|
484 |
-
'top-center' => esc_html__('Top Center', 'bdthemes-element-pack-lite') ,
|
485 |
-
'top-right' => esc_html__('Top Right', 'bdthemes-element-pack-lite') ,
|
486 |
-
'center' => esc_html__('Center', 'bdthemes-element-pack-lite') ,
|
487 |
-
'center-left' => esc_html__('Center Left', 'bdthemes-element-pack-lite') ,
|
488 |
-
'center-right' => esc_html__('Center Right', 'bdthemes-element-pack-lite') ,
|
489 |
-
'bottom-left' => esc_html__('Bottom Left', 'bdthemes-element-pack-lite') ,
|
490 |
-
'bottom-center' => esc_html__('Bottom Center', 'bdthemes-element-pack-lite') ,
|
491 |
-
'bottom-right' => esc_html__('Bottom Right', 'bdthemes-element-pack-lite') ,
|
492 |
-
];
|
493 |
-
|
494 |
-
return $position_options;
|
495 |
-
}
|
496 |
-
|
497 |
-
// BDT Thumbnavs Position
|
498 |
-
function element_pack_thumbnavs_position() {
|
499 |
-
$position_options = [
|
500 |
-
'top-left' => esc_html__('Top Left', 'bdthemes-element-pack-lite') ,
|
501 |
-
'top-center' => esc_html__('Top Center', 'bdthemes-element-pack-lite') ,
|
502 |
-
'top-right' => esc_html__('Top Right', 'bdthemes-element-pack-lite') ,
|
503 |
-
'center-left' => esc_html__('Center Left', 'bdthemes-element-pack-lite') ,
|
504 |
-
'center-right' => esc_html__('Center Right', 'bdthemes-element-pack-lite') ,
|
505 |
-
'bottom-left' => esc_html__('Bottom Left', 'bdthemes-element-pack-lite') ,
|
506 |
-
'bottom-center' => esc_html__('Bottom Center', 'bdthemes-element-pack-lite') ,
|
507 |
-
'bottom-right' => esc_html__('Bottom Right', 'bdthemes-element-pack-lite') ,
|
508 |
-
];
|
509 |
-
|
510 |
-
return $position_options;
|
511 |
-
}
|
512 |
-
|
513 |
-
function element_pack_navigation_position() {
|
514 |
-
$position_options = [
|
515 |
-
'top-left' => esc_html__('Top Left', 'bdthemes-element-pack-lite') ,
|
516 |
-
'top-center' => esc_html__('Top Center', 'bdthemes-element-pack-lite') ,
|
517 |
-
'top-right' => esc_html__('Top Right', 'bdthemes-element-pack-lite') ,
|
518 |
-
'center' => esc_html__('Center', 'bdthemes-element-pack-lite') ,
|
519 |
-
'bottom-left' => esc_html__('Bottom Left', 'bdthemes-element-pack-lite') ,
|
520 |
-
'bottom-center' => esc_html__('Bottom Center', 'bdthemes-element-pack-lite') ,
|
521 |
-
'bottom-right' => esc_html__('Bottom Right', 'bdthemes-element-pack-lite') ,
|
522 |
-
];
|
523 |
-
|
524 |
-
return $position_options;
|
525 |
-
}
|
526 |
-
|
527 |
-
|
528 |
-
function element_pack_pagination_position() {
|
529 |
-
$position_options = [
|
530 |
-
'top-left' => esc_html__('Top Left', 'bdthemes-element-pack-lite') ,
|
531 |
-
'top-center' => esc_html__('Top Center', 'bdthemes-element-pack-lite') ,
|
532 |
-
'top-right' => esc_html__('Top Right', 'bdthemes-element-pack-lite') ,
|
533 |
-
'bottom-left' => esc_html__('Bottom Left', 'bdthemes-element-pack-lite') ,
|
534 |
-
'bottom-center' => esc_html__('Bottom Center', 'bdthemes-element-pack-lite') ,
|
535 |
-
'bottom-right' => esc_html__('Bottom Right', 'bdthemes-element-pack-lite') ,
|
536 |
-
];
|
537 |
-
|
538 |
-
return $position_options;
|
539 |
-
}
|
540 |
-
|
541 |
-
// BDT Drop Position
|
542 |
-
function element_pack_drop_position() {
|
543 |
-
$drop_position_options = [
|
544 |
-
'bottom-left' => esc_html__('Bottom Left', 'bdthemes-element-pack-lite'),
|
545 |
-
'bottom-center' => esc_html__('Bottom Center', 'bdthemes-element-pack-lite'),
|
546 |
-
'bottom-right' => esc_html__('Bottom Right', 'bdthemes-element-pack-lite'),
|
547 |
-
'bottom-justify' => esc_html__('Bottom Justify', 'bdthemes-element-pack-lite'),
|
548 |
-
'top-left' => esc_html__('Top Left', 'bdthemes-element-pack-lite'),
|
549 |
-
'top-center' => esc_html__('Top Center', 'bdthemes-element-pack-lite'),
|
550 |
-
'top-right' => esc_html__('Top Right', 'bdthemes-element-pack-lite'),
|
551 |
-
'top-justify' => esc_html__('Top Justify', 'bdthemes-element-pack-lite'),
|
552 |
-
'left-top' => esc_html__('Left Top', 'bdthemes-element-pack-lite'),
|
553 |
-
'left-center' => esc_html__('Left Center', 'bdthemes-element-pack-lite'),
|
554 |
-
'left-bottom' => esc_html__('Left Bottom', 'bdthemes-element-pack-lite'),
|
555 |
-
'right-top' => esc_html__('Right Top', 'bdthemes-element-pack-lite'),
|
556 |
-
'right-center' => esc_html__('Right Center', 'bdthemes-element-pack-lite'),
|
557 |
-
'right-bottom' => esc_html__('Right Bottom', 'bdthemes-element-pack-lite'),
|
558 |
-
];
|
559 |
-
|
560 |
-
return $drop_position_options;
|
561 |
-
}
|
562 |
-
|
563 |
-
// Button Size
|
564 |
-
function element_pack_button_sizes() {
|
565 |
-
$button_sizes = [
|
566 |
-
'xs' => esc_html__( 'Extra Small', 'bdthemes-element-pack-lite' ),
|
567 |
-
'sm' => esc_html__( 'Small', 'bdthemes-element-pack-lite' ),
|
568 |
-
'md' => esc_html__( 'Medium', 'bdthemes-element-pack-lite' ),
|
569 |
-
'lg' => esc_html__( 'Large', 'bdthemes-element-pack-lite' ),
|
570 |
-
'xl' => esc_html__( 'Extra Large', 'bdthemes-element-pack-lite' ),
|
571 |
-
];
|
572 |
-
|
573 |
-
return $button_sizes;
|
574 |
-
}
|
575 |
-
|
576 |
-
// Button Size
|
577 |
-
function element_pack_heading_size() {
|
578 |
-
$heading_sizes = [
|
579 |
-
'h1' => esc_html__( 'H1', 'bdthemes-element-pack-lite' ),
|
580 |
-
'h2' => esc_html__( 'H2', 'bdthemes-element-pack-lite' ),
|
581 |
-
'h3' => esc_html__( 'H3', 'bdthemes-element-pack-lite' ),
|
582 |
-
'h4' => esc_html__( 'H4', 'bdthemes-element-pack-lite' ),
|
583 |
-
'h5' => esc_html__( 'H5', 'bdthemes-element-pack-lite' ),
|
584 |
-
'h6' => esc_html__( 'H6', 'bdthemes-element-pack-lite' ),
|
585 |
-
];
|
586 |
-
|
587 |
-
return $heading_sizes;
|
588 |
-
}
|
589 |
-
|
590 |
-
// Title Tags
|
591 |
-
function element_pack_title_tags() {
|
592 |
-
$title_tags = [
|
593 |
-
'h1' => esc_html__( 'H1', 'bdthemes-element-pack-lite' ),
|
594 |
-
'h2' => esc_html__( 'H2', 'bdthemes-element-pack-lite' ),
|
595 |
-
'h3' => esc_html__( 'H3', 'bdthemes-element-pack-lite' ),
|
596 |
-
'h4' => esc_html__( 'H4', 'bdthemes-element-pack-lite' ),
|
597 |
-
'h5' => esc_html__( 'H5', 'bdthemes-element-pack-lite' ),
|
598 |
-
'h6' => esc_html__( 'H6', 'bdthemes-element-pack-lite' ),
|
599 |
-
'div' => esc_html__( 'div', 'bdthemes-element-pack-lite' ),
|
600 |
-
'span' => esc_html__( 'span', 'bdthemes-element-pack-lite' ),
|
601 |
-
'p' => esc_html__( 'p', 'bdthemes-element-pack-lite' ),
|
602 |
-
];
|
603 |
-
|
604 |
-
return $title_tags;
|
605 |
-
}
|
606 |
-
/**
|
607 |
-
* This is a svg file converter function which return a svg content
|
608 |
-
* @param svg file
|
609 |
-
* @return svg content
|
610 |
-
*/
|
611 |
-
function element_pack_svg_icon($icon) {
|
612 |
-
|
613 |
-
$icon_path = BDTEP_ASSETS_PATH . "images/svg/{$icon}.svg";
|
614 |
-
|
615 |
-
if ( !file_exists( $icon_path ) ) { return false; }
|
616 |
-
|
617 |
-
ob_start();
|
618 |
-
|
619 |
-
include $icon_path;
|
620 |
-
|
621 |
-
$svg = ob_get_clean();
|
622 |
-
|
623 |
-
return $svg;
|
624 |
-
}
|
625 |
-
|
626 |
-
/**
|
627 |
-
* weather code to icon and description output
|
628 |
-
* more info: http://www.apixu.com/doc/Apixu_weather_conditions.json
|
629 |
-
*/
|
630 |
-
function element_pack_weather_code( $code = null, $condition = null ) {
|
631 |
-
|
632 |
-
$codes = apply_filters( 'element-pack/weather/codes', [
|
633 |
-
"1000" => [
|
634 |
-
"desc" => esc_html_x("Sunny", "Weather String", "bdthemes-element-pack-lite" ),
|
635 |
-
"icon" => "113"
|
636 |
-
],
|
637 |
-
"1003" => [
|
638 |
-
"desc" => esc_html_x("Partly cloudy", "Weather String", "bdthemes-element-pack-lite" ),
|
639 |
-
"icon" => "116"
|
640 |
-
],
|
641 |
-
"1006" => [
|
642 |
-
"desc" => esc_html_x("Cloudy", "Weather String", "bdthemes-element-pack-lite" ),
|
643 |
-
"icon" => "119"
|
644 |
-
],
|
645 |
-
"1009" => [
|
646 |
-
"desc" => esc_html_x("Overcast", "Weather String", "bdthemes-element-pack-lite" ),
|
647 |
-
"icon" => "122"
|
648 |
-
],
|
649 |
-
"1030" => [
|
650 |
-
"desc" => esc_html_x("Mist", "Weather String", "bdthemes-element-pack-lite" ),
|
651 |
-
"icon" => "143"
|
652 |
-
],
|
653 |
-
"1063" => [
|
654 |
-
"desc" => esc_html_x("Patchy rain possible", "Weather String", "bdthemes-element-pack-lite" ),
|
655 |
-
"icon" => "176"
|
656 |
-
],
|
657 |
-
"1066" => [
|
658 |
-
"desc" => esc_html_x("Patchy snow possible", "Weather String", "bdthemes-element-pack-lite" ),
|
659 |
-
"icon" => "179"
|
660 |
-
],
|
661 |
-
"1069" => [
|
662 |
-
"desc" => esc_html_x("Patchy sleet possible", "Weather String", "bdthemes-element-pack-lite" ),
|
663 |
-
"icon" => "182"
|
664 |
-
],
|
665 |
-
"1072" => [
|
666 |
-
"desc" => esc_html_x("Patchy freezing drizzle possible", "Weather String", "bdthemes-element-pack-lite" ),
|
667 |
-
"icon" => "185"
|
668 |
-
],
|
669 |
-
"1087" => [
|
670 |
-
"desc" => esc_html_x("Thundery outbreaks possible", "Weather String", "bdthemes-element-pack-lite" ),
|
671 |
-
"icon" => "200"
|
672 |
-
],
|
673 |
-
"1114" => [
|
674 |
-
"desc" => esc_html_x("Blowing snow", "Weather String", "bdthemes-element-pack-lite" ),
|
675 |
-
"icon" => "227"
|
676 |
-
],
|
677 |
-
"1117" => [
|
678 |
-
"desc" => esc_html_x("Blizzard", "Weather String", "bdthemes-element-pack-lite" ),
|
679 |
-
"icon" => "230"
|
680 |
-
],
|
681 |
-
"1135" => [
|
682 |
-
"desc" => esc_html_x("Fog", "Weather String", "bdthemes-element-pack-lite" ),
|
683 |
-
"icon" => "248"
|
684 |
-
],
|
685 |
-
"1147" => [
|
686 |
-
"desc" => esc_html_x("Freezing fog", "Weather String", "bdthemes-element-pack-lite" ),
|
687 |
-
"icon" => "260"
|
688 |
-
],
|
689 |
-
"1150" => [
|
690 |
-
"desc" => esc_html_x("Patchy light drizzle", "Weather String", "bdthemes-element-pack-lite" ),
|
691 |
-
"icon" => "263"
|
692 |
-
],
|
693 |
-
"1153" => [
|
694 |
-
"desc" => esc_html_x("Light drizzle", "Weather String", "bdthemes-element-pack-lite" ),
|
695 |
-
"icon" => "266"
|
696 |
-
],
|
697 |
-
"1168" => [
|
698 |
-
"desc" => esc_html_x("Freezing drizzle", "Weather String", "bdthemes-element-pack-lite" ),
|
699 |
-
"icon" => "281"
|
700 |
-
],
|
701 |
-
"1171" => [
|
702 |
-
"desc" => esc_html_x("Heavy freezing drizzle", "Weather String", "bdthemes-element-pack-lite" ),
|
703 |
-
"icon" => "284"
|
704 |
-
],
|
705 |
-
"1180" => [
|
706 |
-
"desc" => esc_html_x("Patchy light rain", "Weather String", "bdthemes-element-pack-lite" ),
|
707 |
-
"icon" => "293"
|
708 |
-
],
|
709 |
-
"1183" => [
|
710 |
-
"desc" => esc_html_x("Light rain", "Weather String", "bdthemes-element-pack-lite" ),
|
711 |
-
"icon" => "296"
|
712 |
-
],
|
713 |
-
"1186" => [
|
714 |
-
"desc" => esc_html_x("Moderate rain at times", "Weather String", "bdthemes-element-pack-lite" ),
|
715 |
-
"icon" => "299"
|
716 |
-
],
|
717 |
-
"1189" => [
|
718 |
-
"desc" => esc_html_x("Moderate rain", "Weather String", "bdthemes-element-pack-lite" ),
|
719 |
-
"icon" => "302"
|
720 |
-
],
|
721 |
-
"1192" => [
|
722 |
-
"desc" => esc_html_x("Heavy rain at times", "Weather String", "bdthemes-element-pack-lite" ),
|
723 |
-
"icon" => "305"
|
724 |
-
],
|
725 |
-
"1195" => [
|
726 |
-
"desc" => esc_html_x("Heavy rain", "Weather String", "bdthemes-element-pack-lite" ),
|
727 |
-
"icon" => "308"
|
728 |
-
],
|
729 |
-
"1198" => [
|
730 |
-
"desc" => esc_html_x("Light freezing rain", "Weather String", "bdthemes-element-pack-lite" ),
|
731 |
-
"icon" => "311"
|
732 |
-
],
|
733 |
-
"1201" => [
|
734 |
-
"desc" => esc_html_x("Moderate or heavy freezing rain", "Weather String", "bdthemes-element-pack-lite" ),
|
735 |
-
"icon" => "314"
|
736 |
-
],
|
737 |
-
"1204" => [
|
738 |
-
"desc" => esc_html_x("Light sleet", "Weather String", "bdthemes-element-pack-lite" ),
|
739 |
-
"icon" => "317"
|
740 |
-
],
|
741 |
-
"1207" => [
|
742 |
-
"desc" => esc_html_x("Moderate or heavy sleet", "Weather String", "bdthemes-element-pack-lite" ),
|
743 |
-
"icon" => "320"
|
744 |
-
],
|
745 |
-
"1210" => [
|
746 |
-
"desc" => esc_html_x("Patchy light snow", "Weather String", "bdthemes-element-pack-lite" ),
|
747 |
-
"icon" => "323"
|
748 |
-
],
|
749 |
-
"1213" => [
|
750 |
-
"desc" => esc_html_x("Light snow", "Weather String", "bdthemes-element-pack-lite" ),
|
751 |
-
"icon" => "326"
|
752 |
-
],
|
753 |
-
"1216" => [
|
754 |
-
"desc" => esc_html_x("Patchy moderate snow", "Weather String", "bdthemes-element-pack-lite" ),
|
755 |
-
"icon" => "329"
|
756 |
-
],
|
757 |
-
"1219" => [
|
758 |
-
"desc" => esc_html_x("Moderate snow", "Weather String", "bdthemes-element-pack-lite" ),
|
759 |
-
"icon" => "332"
|
760 |
-
],
|
761 |
-
"1222" => [
|
762 |
-
"desc" => esc_html_x("Patchy heavy snow", "Weather String", "bdthemes-element-pack-lite" ),
|
763 |
-
"icon" => "335"
|
764 |
-
],
|
765 |
-
"1225" => [
|
766 |
-
"desc" => esc_html_x("Heavy snow", "Weather String", "bdthemes-element-pack-lite" ),
|
767 |
-
"icon" => "338"
|
768 |
-
],
|
769 |
-
"1237" => [
|
770 |
-
"desc" => esc_html_x("Ice pellets", "Weather String", "bdthemes-element-pack-lite" ),
|
771 |
-
"icon" => "350"
|
772 |
-
],
|
773 |
-
"1240" => [
|
774 |
-
"desc" => esc_html_x("Light rain shower", "Weather String", "bdthemes-element-pack-lite" ),
|
775 |
-
"icon" => "353"
|
776 |
-
],
|
777 |
-
"1243" => [
|
778 |
-
"desc" => esc_html_x("Moderate or heavy rain shower", "Weather String", "bdthemes-element-pack-lite" ),
|
779 |
-
"icon" => "356"
|
780 |
-
],
|
781 |
-
"1246" => [
|
782 |
-
"desc" => esc_html_x("Torrential rain shower", "Weather String", "bdthemes-element-pack-lite" ),
|
783 |
-
"icon" => "359"
|
784 |
-
],
|
785 |
-
"1249" => [
|
786 |
-
"desc" => esc_html_x("Light sleet showers", "Weather String", "bdthemes-element-pack-lite" ),
|
787 |
-
"icon" => "362"
|
788 |
-
],
|
789 |
-
"1252" => [
|
790 |
-
"desc" => esc_html_x("Moderate or heavy sleet showers", "Weather String", "bdthemes-element-pack-lite" ),
|
791 |
-
"icon" => "365"
|
792 |
-
],
|
793 |
-
"1255" => [
|
794 |
-
"desc" => esc_html_x("Light snow showers", "Weather String", "bdthemes-element-pack-lite" ),
|
795 |
-
"icon" => "368"
|
796 |
-
],
|
797 |
-
"1258" => [
|
798 |
-
"desc" => esc_html_x("Moderate or heavy snow showers", "Weather String", "bdthemes-element-pack-lite" ),
|
799 |
-
"icon" => "371"
|
800 |
-
],
|
801 |
-
"1261" => [
|
802 |
-
"desc" => esc_html_x("Light showers of ice pellets", "Weather String", "bdthemes-element-pack-lite" ),
|
803 |
-
"icon" => "374"
|
804 |
-
],
|
805 |
-
"1264" => [
|
806 |
-
"desc" => esc_html_x("Moderate or heavy showers of ice pellets", "Weather String", "bdthemes-element-pack-lite" ),
|
807 |
-
"icon" => "377"
|
808 |
-
],
|
809 |
-
"1273" => [
|
810 |
-
"desc" => esc_html_x("Patchy light rain with thunder", "Weather String", "bdthemes-element-pack-lite" ),
|
811 |
-
"icon" => "386"
|
812 |
-
],
|
813 |
-
"1276" => [
|
814 |
-
"desc" => esc_html_x("Moderate or heavy rain with thunder", "Weather String", "bdthemes-element-pack-lite" ),
|
815 |
-
"icon" => "389"
|
816 |
-
],
|
817 |
-
"1279" => [
|
818 |
-
"desc" => esc_html_x("Patchy light snow with thunder", "Weather String", "bdthemes-element-pack-lite" ),
|
819 |
-
"icon" => "392"
|
820 |
-
],
|
821 |
-
"1282" => [
|
822 |
-
"desc" => esc_html_x("Moderate or heavy snow with thunder", "Weather String", "bdthemes-element-pack-lite" ),
|
823 |
-
"icon" => "395"
|
824 |
-
]
|
825 |
-
]);
|
826 |
-
|
827 |
-
if ( ! $code ) {
|
828 |
-
return $codes;
|
829 |
-
}
|
830 |
-
|
831 |
-
$code_key = (string) $code;
|
832 |
-
|
833 |
-
if ( ! isset( $codes[ $code_key ] ) ) {
|
834 |
-
return false;
|
835 |
-
}
|
836 |
-
|
837 |
-
if ( $condition && isset( $codes[ $code_key ][ $condition ] ) ) {
|
838 |
-
return $codes[ $code_key ][ $condition ];
|
839 |
-
}
|
840 |
-
|
841 |
-
return $codes[ $code_key ];
|
842 |
-
}
|
843 |
-
|
844 |
-
function element_pack_wind_code( $degree ) {
|
845 |
-
|
846 |
-
$direction = '';
|
847 |
-
|
848 |
-
if ( ( $degree >= 0 && $degree <= 33.75 ) or ( $degree > 348.75 && $degree <= 360 ) ) {
|
849 |
-
$direction = esc_html_x( 'north', 'Weather String', 'bdthemes-element-pack-lite' );
|
850 |
-
} else if ( $degree > 33.75 && $degree <= 78.75 ) {
|
851 |
-
$direction = esc_html_x( 'north-east', 'Weather String', 'bdthemes-element-pack-lite' );
|
852 |
-
} else if ( $degree > 78.75 && $degree <= 123.75 ) {
|
853 |
-
$direction = esc_html_x( 'east', 'Weather String', 'bdthemes-element-pack-lite' );
|
854 |
-
} else if ( $degree > 123.75 && $degree <= 168.75 ) {
|
855 |
-
$direction = esc_html_x( 'south-east', 'Weather String', 'bdthemes-element-pack-lite' );
|
856 |
-
} else if ( $degree > 168.75 && $degree <= 213.75 ) {
|
857 |
-
$direction = esc_html_x( 'south', 'Weather String', 'bdthemes-element-pack-lite' );
|
858 |
-
} else if ( $degree > 213.75 && $degree <= 258.75 ) {
|
859 |
-
$direction = esc_html_x( 'south-west', 'Weather String', 'bdthemes-element-pack-lite' );
|
860 |
-
} else if ( $degree > 258.75 && $degree <= 303.75 ) {
|
861 |
-
$direction = esc_html_x( 'west', 'Weather String', 'bdthemes-element-pack-lite' );
|
862 |
-
} else if ( $degree > 303.75 && $degree <= 348.75 ) {
|
863 |
-
$direction = esc_html_x( 'north-west', 'Weather String', 'bdthemes-element-pack-lite' );
|
864 |
-
}
|
865 |
-
|
866 |
-
return $direction;
|
867 |
-
}
|
868 |
-
|
869 |
-
|
870 |
-
function element_pack_parse_csv($file) {
|
871 |
-
|
872 |
-
if (!isset($file)) { return; }
|
873 |
-
|
874 |
-
$skip_char = $column = '';
|
875 |
-
$csv_lines = file( $file );
|
876 |
-
if ( is_array( $csv_lines ) ) {
|
877 |
-
$cnt = count( $csv_lines );
|
878 |
-
for ( $i = 0; $i < $cnt; $i++ ) {
|
879 |
-
$line = $csv_lines[$i];
|
880 |
-
$line = trim( $line );
|
881 |
-
$first_char = true;
|
882 |
-
$col_num = 0;
|
883 |
-
$length = strlen( $line );
|
884 |
-
for ( $b = 0; $b < $length; $b++ ) {
|
885 |
-
if ( $skip_char != true ) {
|
886 |
-
$process = true;
|
887 |
-
if ( $first_char == true ) {
|
888 |
-
if ( $line[$b] == '"' ) {
|
889 |
-
$terminator = '";';
|
890 |
-
$process = false;
|
891 |
-
}
|
892 |
-
else
|
893 |
-
$terminator = ';';
|
894 |
-
$first_char = false;
|
895 |
-
}
|
896 |
-
if ( $line[$b] == '"' ) {
|
897 |
-
$next_char = $line[$b + 1];
|
898 |
-
if ( $next_char == '"' ) $skip_char = true;
|
899 |
-
elseif ( $next_char == ';' ) {
|
900 |
-
if ( $terminator == '";' ) {
|
901 |
-
$first_char = true;
|
902 |
-
$process = false;
|
903 |
-
$skip_char = true;
|
904 |
-
}
|
905 |
-
}
|
906 |
-
}
|
907 |
-
if ( $process == true ) {
|
908 |
-
if ( $line[$b] == ';' ) {
|
909 |
-
if ( $terminator == ';' ) {
|
910 |
-
$first_char = true;
|
911 |
-
$process = false;
|
912 |
-
}
|
913 |
-
}
|
914 |
-
}
|
915 |
-
if ( $process == true ) $column .= $line[$b];
|
916 |
-
if ( $b == ( $length - 1 ) ) $first_char = true;
|
917 |
-
if ( $first_char == true ) {
|
918 |
-
$values[$i][$col_num] = $column;
|
919 |
-
$column = '';
|
920 |
-
$col_num++;
|
921 |
-
}
|
922 |
-
}
|
923 |
-
else
|
924 |
-
$skip_char = false;
|
925 |
-
}
|
926 |
-
}
|
927 |
-
}
|
928 |
-
$return = '<table><thead><tr>';
|
929 |
-
foreach ( $values[0] as $value ) $return .= '<th>' . $value . '</th>';
|
930 |
-
$return .= '</tr></thead><tbody>';
|
931 |
-
array_shift( $values );
|
932 |
-
foreach ( $values as $rows ) {
|
933 |
-
$return .= '<tr>';
|
934 |
-
foreach ( $rows as $col ) {
|
935 |
-
$return .= '<td>' . $col . '</td>';
|
936 |
-
}
|
937 |
-
$return .= '</tr>';
|
938 |
-
}
|
939 |
-
$return .= '</tbody></table>';
|
940 |
-
return $return;
|
941 |
-
}
|
942 |
-
|
943 |
-
/**
|
944 |
-
* String to ID maker for any title to relavent id
|
945 |
-
* @param [type] $string any title or string
|
946 |
-
* @return [type] [description]
|
947 |
-
*/
|
948 |
-
function element_pack_string_id($string) {
|
949 |
-
//Lower case everything
|
950 |
-
$string = strtolower($string);
|
951 |
-
//Make alphanumeric (removes all other characters)
|
952 |
-
$string = preg_replace("/[^a-z0-9_\s-]/", "", $string);
|
953 |
-
//Clean up multiple dashes or whitespaces
|
954 |
-
$string = preg_replace("/[\s-]+/", " ", $string);
|
955 |
-
//Convert whitespaces and underscore to dash
|
956 |
-
$string = preg_replace("/[\s_]/", "-", $string);
|
957 |
-
//finally return here
|
958 |
-
return $string;
|
959 |
-
}
|
960 |
-
|
961 |
-
function element_pack_instagram_feed( $item_count = 100 ) {
|
962 |
-
|
963 |
-
$options = get_option( 'element_pack_api_settings' );
|
964 |
-
$access_token = (!empty($options['instagram_access_token'])) ? $options['instagram_access_token'] : '';
|
965 |
-
|
966 |
-
if ($access_token) {
|
967 |
-
|
968 |
-
$data = get_transient( 'ep_instagram_feed_data' );
|
969 |
-
|
970 |
-
if ( false === $data ) {
|
971 |
-
|
972 |
-
$url = 'https://api.instagram.com/v1/users/self/media/recent/?access_token=' . $access_token. '&count=' . $item_count;
|
973 |
-
|
974 |
-
$feeds_json = wp_remote_fopen( $url );
|
975 |
-
|
976 |
-
$feeds_obj = json_decode( $feeds_json, true );
|
977 |
-
|
978 |
-
//print_r($feeds_obj);
|
979 |
-
|
980 |
-
$feeds_images_array = [];
|
981 |
-
$instagram_user = [];
|
982 |
-
$ins_counter = 1;
|
983 |
-
|
984 |
-
if ( 200 == $feeds_obj['meta']['code'] ) {
|
985 |
-
|
986 |
-
if ( ! empty( $feeds_obj['data'] ) ) {
|
987 |
-
|
988 |
-
foreach ( $feeds_obj['data'] as $data ) {
|
989 |
-
|
990 |
-
array_push( $feeds_images_array,
|
991 |
-
array(
|
992 |
-
'image' => [
|
993 |
-
'small' => $data['images']['thumbnail']['url'], // thumbnail image
|
994 |
-
'medium' => $data['images']['low_resolution']['url'], // medium image
|
995 |
-
'large' => $data['images']['standard_resolution']['url'], // large image
|
996 |
-
],
|
997 |
-
'link' => $data['link'],
|
998 |
-
'like' => $data['likes']['count'],
|
999 |
-
'comment' => [
|
1000 |
-
'count' => $data['comments']['count']
|
1001 |
-
],
|
1002 |
-
//'text' => $data['text'],
|
1003 |
-
'post_type' => $data['type'],
|
1004 |
-
'user' => $data['user'],
|
1005 |
-
)
|
1006 |
-
);
|
1007 |
-
|
1008 |
-
if ( 1 == $ins_counter ) {
|
1009 |
-
$instagram_user = $data['user'];
|
1010 |
-
$ins_counter++;
|
1011 |
-
}
|
1012 |
-
|
1013 |
-
|
1014 |
-
}
|
1015 |
-
|
1016 |
-
//return $feeds_images_array;
|
1017 |
-
|
1018 |
-
set_transient( 'ep_instagram_feed_data', $feeds_images_array, HOUR_IN_SECONDS * 12 );
|
1019 |
-
set_transient( 'ep_instagram_user', $instagram_user, HOUR_IN_SECONDS * 12 );
|
1020 |
-
|
1021 |
-
return get_transient( 'ep_instagram_feed_data' );
|
1022 |
-
}
|
1023 |
-
}
|
1024 |
-
}
|
1025 |
-
|
1026 |
-
return $data;
|
1027 |
-
}
|
1028 |
-
}
|
1029 |
-
|
1030 |
-
|
1031 |
-
/**
|
1032 |
-
* Ninja form array creator for get all form as
|
1033 |
-
* @return array [description]
|
1034 |
-
*/
|
1035 |
-
function element_pack_ninja_forms_options() {
|
1036 |
-
|
1037 |
-
if ( class_exists( 'Ninja_Forms' ) ) {
|
1038 |
-
$ninja_forms = Ninja_Forms()->form()->get_forms();
|
1039 |
-
if ( ! empty( $ninja_forms ) && ! is_wp_error( $ninja_forms ) ) {
|
1040 |
-
$form_options = ['0' => esc_html__( 'Select Form', 'bdthemes-element-pack-lite' )];
|
1041 |
-
foreach ( $ninja_forms as $form ) {
|
1042 |
-
$form_options[ $form->get_id() ] = $form->get_setting( 'title' );
|
1043 |
-
}
|
1044 |
-
}
|
1045 |
-
} else {
|
1046 |
-
$form_options = ['0' => esc_html__( 'Form Not Found!', 'bdthemes-element-pack-lite' ) ];
|
1047 |
-
}
|
1048 |
-
|
1049 |
-
return $form_options;
|
1050 |
-
}
|
1051 |
-
|
1052 |
-
function element_pack_caldera_forms_options() {
|
1053 |
-
|
1054 |
-
if ( class_exists( 'Caldera_Forms' ) ) {
|
1055 |
-
$caldera_forms = Caldera_Forms_Forms::get_forms( true, true );
|
1056 |
-
$form_options = ['0' => esc_html__( 'Select Form', 'bdthemes-element-pack-lite' )];
|
1057 |
-
$form = [];
|
1058 |
-
if ( ! empty( $caldera_forms ) && ! is_wp_error( $caldera_forms ) ) {
|
1059 |
-
foreach ( $caldera_forms as $form ) {
|
1060 |
-
if ( isset($form['ID']) and isset($form['name'])) {
|
1061 |
-
$form_options[$form['ID']] = $form['name'];
|
1062 |
-
}
|
1063 |
-
}
|
1064 |
-
}
|
1065 |
-
} else {
|
1066 |
-
$form_options = ['0' => esc_html__( 'Form Not Found!', 'bdthemes-element-pack-lite' ) ];
|
1067 |
-
}
|
1068 |
-
|
1069 |
-
return $form_options;
|
1070 |
-
}
|
1071 |
-
|
1072 |
-
function element_pack_quform_options() {
|
1073 |
-
|
1074 |
-
$data = get_transient( 'ep_quform_form_options' );
|
1075 |
-
|
1076 |
-
if ( class_exists( 'Quform' ) ) {
|
1077 |
-
$quform = Quform::getService('repository');
|
1078 |
-
$quform = $quform->formsToSelectArray();
|
1079 |
-
$form_options = ['0' => esc_html__( 'Select Form', 'bdthemes-element-pack-lite' )];
|
1080 |
-
if ( ! empty( $quform ) && ! is_wp_error( $quform ) ) {
|
1081 |
-
foreach ( $quform as $id => $name ) {
|
1082 |
-
$form_options[esc_attr( $id )] = esc_html( $name );
|
1083 |
-
}
|
1084 |
-
}
|
1085 |
-
} else {
|
1086 |
-
$form_options = ['0' => esc_html__( 'Form Not Found!', 'bdthemes-element-pack-lite' ) ];
|
1087 |
-
}
|
1088 |
-
|
1089 |
-
return $form_options;
|
1090 |
-
}
|
1091 |
-
|
1092 |
-
|
1093 |
-
function element_pack_gravity_forms_options() {
|
1094 |
-
|
1095 |
-
|
1096 |
-
if ( class_exists( 'GFCommon' ) ) {
|
1097 |
-
$contact_forms = RGFormsModel::get_forms( null, 'title' );
|
1098 |
-
$form_options = ['0' => esc_html__( 'Select Form', 'bdthemes-element-pack-lite' )];
|
1099 |
-
if ( ! empty( $contact_forms ) && ! is_wp_error( $contact_forms ) ) {
|
1100 |
-
foreach ( $contact_forms as $form ) {
|
1101 |
-
$form_options[ $form->id ] = $form->title;
|
1102 |
-
}
|
1103 |
-
}
|
1104 |
-
} else {
|
1105 |
-
$form_options = ['0' => esc_html__( 'Form Not Found!', 'bdthemes-element-pack-lite' ) ];
|
1106 |
-
}
|
1107 |
-
|
1108 |
-
return $form_options;
|
1109 |
-
}
|
1110 |
-
|
1111 |
-
|
1112 |
-
function element_pack_rev_slider_options() {
|
1113 |
-
|
1114 |
-
if( class_exists( 'RevSlider' ) ){
|
1115 |
-
$slider = new RevSlider();
|
1116 |
-
$revolution_sliders = $slider->getArrSliders();
|
1117 |
-
$slider_options = ['0' => esc_html__( 'Select Slider', 'bdthemes-element-pack-lite' ) ];
|
1118 |
-
if ( ! empty( $revolution_sliders ) && ! is_wp_error( $revolution_sliders ) ) {
|
1119 |
-
foreach ( $revolution_sliders as $revolution_slider ) {
|
1120 |
-
$alias = $revolution_slider->getAlias();
|
1121 |
-
$title = $revolution_slider->getTitle();
|
1122 |
-
$slider_options[$alias] = $title;
|
1123 |
-
}
|
1124 |
-
}
|
1125 |
-
} else {
|
1126 |
-
$slider_options = ['0' => esc_html__( 'No Slider Found!', 'bdthemes-element-pack-lite' ) ];
|
1127 |
-
}
|
1128 |
-
|
1129 |
-
return $slider_options;
|
1130 |
-
}
|
1131 |
-
|
1132 |
-
function element_pack_currency_symbol( $currency = '' ) {
|
1133 |
-
switch ( strtoupper( $currency ) ) {
|
1134 |
-
case 'AED' :
|
1135 |
-
$currency_symbol = 'د.إ';
|
1136 |
-
break;
|
1137 |
-
case 'AUD' :
|
1138 |
-
case 'CAD' :
|
1139 |
-
case 'CLP' :
|
1140 |
-
case 'COP' :
|
1141 |
-
case 'HKD' :
|
1142 |
-
case 'MXN' :
|
1143 |
-
case 'NZD' :
|
1144 |
-
case 'SGD' :
|
1145 |
-
case 'USD' :
|
1146 |
-
$currency_symbol = '$';
|
1147 |
-
break;
|
1148 |
-
case 'BDT':
|
1149 |
-
$currency_symbol = '৳ ';
|
1150 |
-
break;
|
1151 |
-
case 'BGN' :
|
1152 |
-
$currency_symbol = 'лв.';
|
1153 |
-
break;
|
1154 |
-
case 'BIF':
|
1155 |
-
$currency_symbol = 'FBu';
|
1156 |
-
break;
|
1157 |
-
case 'BRL' :
|
1158 |
-
$currency_symbol = 'R$';
|
1159 |
-
break;
|
1160 |
-
case 'CHF' :
|
1161 |
-
$currency_symbol = 'CHF';
|
1162 |
-
break;
|
1163 |
-
case 'CNY' :
|
1164 |
-
case 'JPY' :
|
1165 |
-
case 'RMB' :
|
1166 |
-
$currency_symbol = '¥';
|
1167 |
-
break;
|
1168 |
-
case 'CZK' :
|
1169 |
-
$currency_symbol = 'Kč';
|
1170 |
-
break;
|
1171 |
-
case 'DJF':
|
1172 |
-
$currency_symbol = 'Fdj';
|
1173 |
-
break;
|
1174 |
-
case 'DKK' :
|
1175 |
-
$currency_symbol = 'DKK';
|
1176 |
-
break;
|
1177 |
-
case 'DOP' :
|
1178 |
-
$currency_symbol = 'RD$';
|
1179 |
-
break;
|
1180 |
-
case 'EGP' :
|
1181 |
-
$currency_symbol = 'EGP';
|
1182 |
-
break;
|
1183 |
-
case 'ETB':
|
1184 |
-
$currency_symbol = 'ETB';
|
1185 |
-
break;
|
1186 |
-
case 'EUR' :
|
1187 |
-
$currency_symbol = '€';
|
1188 |
-
break;
|
1189 |
-
case 'GBP' :
|
1190 |
-
$currency_symbol = '£';
|
1191 |
-
break;
|
1192 |
-
case 'GHS':
|
1193 |
-
$currency_symbol = 'GH₵';
|
1194 |
-
break;
|
1195 |
-
case 'HRK' :
|
1196 |
-
$currency_symbol = 'Kn';
|
1197 |
-
break;
|
1198 |
-
case 'HUF' :
|
1199 |
-
$currency_symbol = 'Ft';
|
1200 |
-
break;
|
1201 |
-
case 'IDR' :
|
1202 |
-
$currency_symbol = 'Rp';
|
1203 |
-
break;
|
1204 |
-
case 'ILS' :
|
1205 |
-
$currency_symbol = '₪';
|
1206 |
-
break;
|
1207 |
-
case 'INR' :
|
1208 |
-
$currency_symbol = 'Rs.';
|
1209 |
-
break;
|
1210 |
-
case 'ISK' :
|
1211 |
-
$currency_symbol = 'Kr.';
|
1212 |
-
break;
|
1213 |
-
case 'IRR' :
|
1214 |
-
$currency_symbol = '﷼';
|
1215 |
-
break;
|
1216 |
-
case 'KES':
|
1217 |
-
$currency_symbol = 'KSh';
|
1218 |
-
break;
|
1219 |
-
case 'KIP' :
|
1220 |
-
$currency_symbol = '₭';
|
1221 |
-
break;
|
1222 |
-
case 'KRW' :
|
1223 |
-
$currency_symbol = '₩';
|
1224 |
-
break;
|
1225 |
-
case 'MYR' :
|
1226 |
-
$currency_symbol = 'RM';
|
1227 |
-
break;
|
1228 |
-
case 'NGN' :
|
1229 |
-
$currency_symbol = '₦';
|
1230 |
-
break;
|
1231 |
-
case 'NOK' :
|
1232 |
-
$currency_symbol = 'kr';
|
1233 |
-
break;
|
1234 |
-
case 'NPR' :
|
1235 |
-
$currency_symbol = 'Rs.';
|
1236 |
-
break;
|
1237 |
-
case 'PHP' :
|
1238 |
-
$currency_symbol = '₱';
|
1239 |
-
break;
|
1240 |
-
case 'PKR' :
|
1241 |
-
$currency_symbol = 'Rs.';
|
1242 |
-
break;
|
1243 |
-
case 'PLN' :
|
1244 |
-
$currency_symbol = 'zł';
|
1245 |
-
break;
|
1246 |
-
case 'PYG' :
|
1247 |
-
$currency_symbol = '₲';
|
1248 |
-
break;
|
1249 |
-
case 'RON' :
|
1250 |
-
$currency_symbol = 'lei';
|
1251 |
-
break;
|
1252 |
-
case 'RUB' :
|
1253 |
-
$currency_symbol = 'руб.';
|
1254 |
-
break;
|
1255 |
-
case 'RWF':
|
1256 |
-
$currency_symbol = 'FRw';
|
1257 |
-
break;
|
1258 |
-
case 'SEK' :
|
1259 |
-
$currency_symbol = 'kr';
|
1260 |
-
break;
|
1261 |
-
case 'THB' :
|
1262 |
-
$currency_symbol = '฿';
|
1263 |
-
break;
|
1264 |
-
case 'TND' :
|
1265 |
-
$currency_symbol = 'DT';
|
1266 |
-
break;
|
1267 |
-
case 'TRY' :
|
1268 |
-
$currency_symbol = '₺';
|
1269 |
-
break;
|
1270 |
-
case 'TWD' :
|
1271 |
-
$currency_symbol = 'NT$';
|
1272 |
-
break;
|
1273 |
-
case 'TZS':
|
1274 |
-
$currency_symbol = 'TSh';
|
1275 |
-
break;
|
1276 |
-
case 'UAH' :
|
1277 |
-
$currency_symbol = '₴';
|
1278 |
-
break;
|
1279 |
-
case 'UGX':
|
1280 |
-
$currency_symbol = 'USh';
|
1281 |
-
break;
|
1282 |
-
case 'VND' :
|
1283 |
-
$currency_symbol = '₫';
|
1284 |
-
break;
|
1285 |
-
case 'XAF':
|
1286 |
-
$currency_symbol = 'CFA';
|
1287 |
-
break;
|
1288 |
-
case 'ZAR' :
|
1289 |
-
$currency_symbol = 'R';
|
1290 |
-
break;
|
1291 |
-
default :
|
1292 |
-
$currency_symbol = '';
|
1293 |
-
break;
|
1294 |
-
}
|
1295 |
-
|
1296 |
-
return apply_filters( 'element_pack_currency_symbol', $currency_symbol, $currency );
|
1297 |
-
}
|
1298 |
-
|
1299 |
-
function element_pack_money_format($value) {
|
1300 |
-
|
1301 |
-
if ( function_exists( 'money_format' ) ) {
|
1302 |
-
$value = money_format( '%i', $value );
|
1303 |
-
} else {
|
1304 |
-
$value = sprintf( '%01.2f', $value );
|
1305 |
-
}
|
1306 |
-
|
1307 |
-
return $value;
|
1308 |
-
}
|
1309 |
-
|
1310 |
-
|
1311 |
-
/**
|
1312 |
-
* helper functions class for helping some common usage things
|
1313 |
-
*/
|
1314 |
-
if (!class_exists('element_pack_helper')) {
|
1315 |
-
class element_pack_helper {
|
1316 |
-
|
1317 |
-
static $selfClosing = ['input'];
|
1318 |
-
|
1319 |
-
/**
|
1320 |
-
* Renders a tag.
|
1321 |
-
*
|
1322 |
-
* @param string $name
|
1323 |
-
* @param array $attrs
|
1324 |
-
* @param string $text
|
1325 |
-
* @return string
|
1326 |
-
*/
|
1327 |
-
public static function tag($name, array $attrs = [], $text = null) {
|
1328 |
-
$attrs = self::attrs($attrs);
|
1329 |
-
return "<{$name}{ $attrs }" . (in_array($name, self::$selfClosing) ? '/>' : ">$text</{$name}>");
|
1330 |
-
}
|
1331 |
-
|
1332 |
-
/**
|
1333 |
-
* Renders a form tag.
|
1334 |
-
*
|
1335 |
-
* @param array $tags
|
1336 |
-
* @param array $attrs
|
1337 |
-
* @return string
|
1338 |
-
*/
|
1339 |
-
public static function form($tags, array $attrs = []) {
|
1340 |
-
$attrs = self::attrs($attrs);
|
1341 |
-
return "<form{$attrs}>\n" . implode("\n", array_map(function($tag) {
|
1342 |
-
$output = self::tag($tag['tag'], array_diff_key($tag, ['tag' => null]));
|
1343 |
-
return $output;
|
1344 |
-
}, $tags)) . "\n</form>";
|
1345 |
-
}
|
1346 |
-
|
1347 |
-
/**
|
1348 |
-
* Renders an image tag.
|
1349 |
-
*
|
1350 |
-
* @param array|string $url
|
1351 |
-
* @param array $attrs
|
1352 |
-
* @return string
|
1353 |
-
*/
|
1354 |
-
public static function image($url, array $attrs = []) {
|
1355 |
-
$url = (array) $url;
|
1356 |
-
$path = array_shift($url);
|
1357 |
-
$params = $url ? '?'.http_build_query(array_map(function ($value) {
|
1358 |
-
return is_array($value) ? implode(',', $value) : $value;
|
1359 |
-
}, $url)) : '';
|
1360 |
-
|
1361 |
-
if (!isset($attrs['alt']) || empty($attrs['alt'])) {
|
1362 |
-
$attrs['alt'] = true;
|
1363 |
-
}
|
1364 |
-
|
1365 |
-
$output = self::attrs(['src' => $path.$params], $attrs);
|
1366 |
-
|
1367 |
-
return "<img{$output}>";
|
1368 |
-
}
|
1369 |
-
|
1370 |
-
/**
|
1371 |
-
* Renders tag attributes.
|
1372 |
-
* @param array $attrs
|
1373 |
-
* @return string
|
1374 |
-
*/
|
1375 |
-
public static function attrs(array $attrs) {
|
1376 |
-
$output = [];
|
1377 |
-
|
1378 |
-
if (count($args = func_get_args()) > 1) {
|
1379 |
-
$attrs = call_user_func_array('array_merge_recursive', $args);
|
1380 |
-
}
|
1381 |
-
|
1382 |
-
foreach ($attrs as $key => $value) {
|
1383 |
-
|
1384 |
-
if (is_array($value)) { $value = implode(' ', array_filter($value)); }
|
1385 |
-
if (empty($value) && !is_numeric($value)) { continue; }
|
1386 |
-
|
1387 |
-
if (is_numeric($key)) {
|
1388 |
-
$output[] = $value;
|
1389 |
-
} elseif ($value === true) {
|
1390 |
-
$output[] = $key;
|
1391 |
-
} elseif ($value !== '') {
|
1392 |
-
$output[] = sprintf('%s="%s"', $key, htmlspecialchars($value, ENT_COMPAT, 'UTF-8', false));
|
1393 |
-
}
|
1394 |
-
}
|
1395 |
-
|
1396 |
-
return $output ? ' '.implode(' ', $output) : '';
|
1397 |
-
}
|
1398 |
-
|
1399 |
-
/**
|
1400 |
-
* social icon generator from link
|
1401 |
-
* @param [type] $link [description]
|
1402 |
-
* @return [type] [description]
|
1403 |
-
*/
|
1404 |
-
public static function icon($link) {
|
1405 |
-
static $icons;
|
1406 |
-
$icons = self::social_icons();
|
1407 |
-
|
1408 |
-
if (strpos($link, 'mailto:') === 0) {
|
1409 |
-
return 'mail';
|
1410 |
-
}
|
1411 |
-
|
1412 |
-
$icon = parse_url($link, PHP_URL_HOST);
|
1413 |
-
$icon = preg_replace('/.*?(plus\.google|[^\.]+)\.[^\.]+$/i', '$1', $icon);
|
1414 |
-
$icon = str_replace('plus.google', 'google-plus', $icon);
|
1415 |
-
|
1416 |
-
if (!in_array($icon, $icons)) {
|
1417 |
-
$icon = 'social';
|
1418 |
-
}
|
1419 |
-
|
1420 |
-
return $icon;
|
1421 |
-
}
|
1422 |
-
|
1423 |
-
// most used social icons array
|
1424 |
-
public static function social_icons() {
|
1425 |
-
$icons = [ "behance", "dribbble", "facebook", "github-alt", "github", "foursquare", "tumblr", "whatsapp", "soundcloud", "flickr", "google-plus", "google", "linkedin", "vimeo", "instagram", "joomla", "pagekit", "pinterest", "twitter", "uikit", "wordpress", "xing", "youtube" ];
|
1426 |
-
|
1427 |
-
return $icons;
|
1428 |
-
}
|
1429 |
-
|
1430 |
-
|
1431 |
-
public static function remove_p( $content ) {
|
1432 |
-
$content = force_balance_tags( $content );
|
1433 |
-
$content = preg_replace( '#<p>\s*+(<br\s*/*>)?\s*</p>#i', '', $content );
|
1434 |
-
$content = preg_replace( '~\s?<p>(\s| )+</p>\s?~', '', $content );
|
1435 |
-
return $content;
|
1436 |
-
}
|
1437 |
-
|
1438 |
-
/**
|
1439 |
-
* Get timezone id from server
|
1440 |
-
* @return [type] [description]
|
1441 |
-
*/
|
1442 |
-
public static function get_timezone_id() {
|
1443 |
-
$timezone = get_option( 'timezone_string' );
|
1444 |
-
|
1445 |
-
/* If site timezone string exists, return it */
|
1446 |
-
if ( $timezone ) {
|
1447 |
-
return $timezone;
|
1448 |
-
}
|
1449 |
-
|
1450 |
-
$utc_offset = 3600 * get_option( 'gmt_offset', 0 );
|
1451 |
-
|
1452 |
-
/* Get UTC offset, if it isn't set return UTC */
|
1453 |
-
if ( ! $utc_offset ) {
|
1454 |
-
return 'UTC';
|
1455 |
-
}
|
1456 |
-
|
1457 |
-
/* Attempt to guess the timezone string from the UTC offset */
|
1458 |
-
$timezone = timezone_name_from_abbr( '', $utc_offset );
|
1459 |
-
|
1460 |
-
/* Last try, guess timezone string manually */
|
1461 |
-
if ( $timezone === false ) {
|
1462 |
-
|
1463 |
-
$is_dst = date( 'I' );
|
1464 |
-
|
1465 |
-
foreach ( timezone_abbreviations_list() as $abbr ) {
|
1466 |
-
foreach ( $abbr as $city ) {
|
1467 |
-
if ( $city['dst'] == $is_dst && $city['offset'] == $utc_offset ) {
|
1468 |
-
return $city['timezone_id'];
|
1469 |
-
}
|
1470 |
-
}
|
1471 |
-
}
|
1472 |
-
}
|
1473 |
-
|
1474 |
-
/* If we still haven't figured out the timezone, fall back to UTC */
|
1475 |
-
return 'UTC';
|
1476 |
-
}
|
1477 |
-
|
1478 |
-
/**
|
1479 |
-
* ACtual CSS Class extrator
|
1480 |
-
* @param [type] $classes [description]
|
1481 |
-
* @return [type] [description]
|
1482 |
-
*/
|
1483 |
-
public static function acssc($classes) {
|
1484 |
-
if (is_array($classes)) {
|
1485 |
-
$classes = implode($classes, ' ');
|
1486 |
-
}
|
1487 |
-
$abs_classes = trim(preg_replace('/\s\s+/', ' ', $classes));
|
1488 |
-
return $abs_classes;
|
1489 |
-
}
|
1490 |
-
|
1491 |
-
/**
|
1492 |
-
* Custom Excerpt Length
|
1493 |
-
* @param integer $limit [description]
|
1494 |
-
* @return [type] [description]
|
1495 |
-
*/
|
1496 |
-
public static function custom_excerpt($limit=50, $trail = '...') {
|
1497 |
-
|
1498 |
-
$output = strip_shortcodes( wp_trim_words( get_the_content(), $limit, $trail ) );
|
1499 |
-
|
1500 |
-
return $output;
|
1501 |
-
}
|
1502 |
-
|
1503 |
-
}
|
1504 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/modules-manager.php
DELETED
@@ -1,110 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace ElementPack;
|
3 |
-
|
4 |
-
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
5 |
-
|
6 |
-
if ( ! function_exists('is_plugin_active')) { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); }
|
7 |
-
|
8 |
-
final class Manager {
|
9 |
-
private $_modules = null;
|
10 |
-
|
11 |
-
private function is_module_active( $module_id ) {
|
12 |
-
|
13 |
-
$module_data = $this->get_module_data( $module_id );
|
14 |
-
$options = get_option( 'element_pack_active_modules', [] );
|
15 |
-
|
16 |
-
if ( ! isset( $options[ $module_id ] ) ) {
|
17 |
-
return $module_data['default_activation'];
|
18 |
-
} else {
|
19 |
-
if($options[ $module_id ] == "on"){
|
20 |
-
return true;
|
21 |
-
} else {
|
22 |
-
return false;
|
23 |
-
}
|
24 |
-
}
|
25 |
-
|
26 |
-
return 'true' === $options[ $module_id ];
|
27 |
-
}
|
28 |
-
|
29 |
-
private function get_module_data( $module_id ) {
|
30 |
-
return isset( $this->_modules[ $module_id ] ) ? $this->_modules[ $module_id ] : false;
|
31 |
-
}
|
32 |
-
|
33 |
-
private function has_module_style( $module_id ) {
|
34 |
-
|
35 |
-
$module_data = $this->get_module_data( $module_id );
|
36 |
-
|
37 |
-
if ( isset( $module_data['has_style'] ) ) {
|
38 |
-
return $module_data['has_style'];
|
39 |
-
} else {
|
40 |
-
return false;
|
41 |
-
}
|
42 |
-
|
43 |
-
}
|
44 |
-
|
45 |
-
private function has_module_script( $module_id ) {
|
46 |
-
|
47 |
-
$module_data = $this->get_module_data( $module_id );
|
48 |
-
|
49 |
-
if ( isset( $module_data['has_script'] ) ) {
|
50 |
-
return $module_data['has_script'];
|
51 |
-
} else {
|
52 |
-
return false;
|
53 |
-
}
|
54 |
-
|
55 |
-
}
|
56 |
-
|
57 |
-
public function __construct() {
|
58 |
-
$modules = [
|
59 |
-
'business-hours',
|
60 |
-
'call-out',
|
61 |
-
'contact-form',
|
62 |
-
'cookie-consent',
|
63 |
-
'countdown',
|
64 |
-
'custom-gallery',
|
65 |
-
'flip-box',
|
66 |
-
'image-compare',
|
67 |
-
'lightbox',
|
68 |
-
'member',
|
69 |
-
'panel-slider',
|
70 |
-
'progress-pie',
|
71 |
-
'query-control',
|
72 |
-
'scroll-button',
|
73 |
-
'slider',
|
74 |
-
'toggle',
|
75 |
-
'trailer-box'
|
76 |
-
];
|
77 |
-
|
78 |
-
// Fetch all modules data
|
79 |
-
foreach ( $modules as $module ) {
|
80 |
-
$this->_modules[ $module ] = require BDTEP_MODULES_PATH . $module . '/module.info.php';
|
81 |
-
}
|
82 |
-
|
83 |
-
$direction_suffix = is_rtl() ? '.rtl' : '';
|
84 |
-
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
85 |
-
|
86 |
-
foreach ( $this->_modules as $module_id => $module_data ) {
|
87 |
-
if ( ! $this->is_module_active( $module_id ) ) {
|
88 |
-
continue;
|
89 |
-
}
|
90 |
-
|
91 |
-
$class_name = str_replace( '-', ' ', $module_id );
|
92 |
-
$class_name = str_replace( ' ', '', ucwords( $class_name ) );
|
93 |
-
$class_name = __NAMESPACE__ . '\\Modules\\' . $class_name . '\Module';
|
94 |
-
|
95 |
-
|
96 |
-
// register widget css
|
97 |
-
if ( $this->has_module_style( $module_id ) ) {
|
98 |
-
wp_register_style( 'ep-' . $module_id, BDTEP_URL . 'assets/css/ep-' . $module_id . $direction_suffix . '.css', [], BDTEP_VER );
|
99 |
-
}
|
100 |
-
|
101 |
-
// register widget javascript
|
102 |
-
if ( $this->has_module_script( $module_id ) ) {
|
103 |
-
wp_register_script( 'ep-' . $module_id, BDTEP_URL . 'assets/js/widgets/ep-' . $module_id . $suffix . '.js', ['jquery', 'bdt-uikit', 'elementor-frontend', 'element-pack-site'], BDTEP_VER, true );
|
104 |
-
|
105 |
-
}
|
106 |
-
|
107 |
-
$class_name::instance();
|
108 |
-
}
|
109 |
-
}
|
110 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/utils.php
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace ElementPack\Classes;
|
3 |
-
|
4 |
-
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
5 |
-
|
6 |
-
class Utils {
|
7 |
-
|
8 |
-
public static function get_client_ip() {
|
9 |
-
$server_ip_keys = [
|
10 |
-
'HTTP_CLIENT_IP',
|
11 |
-
'HTTP_X_FORWARDED_FOR',
|
12 |
-
'HTTP_X_FORWARDED',
|
13 |
-
'HTTP_X_CLUSTER_CLIENT_IP',
|
14 |
-
'HTTP_FORWARDED_FOR',
|
15 |
-
'HTTP_FORWARDED',
|
16 |
-
'REMOTE_ADDR',
|
17 |
-
];
|
18 |
-
|
19 |
-
foreach ( $server_ip_keys as $key ) {
|
20 |
-
if ( isset( $_SERVER[ $key ] ) && filter_var( $_SERVER[ $key ], FILTER_VALIDATE_IP ) ) {
|
21 |
-
return $_SERVER[ $key ];
|
22 |
-
}
|
23 |
-
}
|
24 |
-
|
25 |
-
// Fallback local ip.
|
26 |
-
return '127.0.0.1';
|
27 |
-
}
|
28 |
-
|
29 |
-
public static function get_site_domain() {
|
30 |
-
return str_ireplace( 'www.', '', parse_url( home_url(), PHP_URL_HOST ) );
|
31 |
-
}
|
32 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loader.php
DELETED
@@ -1,363 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace ElementPack;
|
3 |
-
|
4 |
-
use Elementor\Utils;
|
5 |
-
use ElementPack\Includes\Element_Pack_WPML;
|
6 |
-
|
7 |
-
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
8 |
-
|
9 |
-
/**
|
10 |
-
* Main class for element pack
|
11 |
-
*/
|
12 |
-
class Element_Pack_Loader {
|
13 |
-
|
14 |
-
/**
|
15 |
-
* @var Element_Pack_Loader
|
16 |
-
*/
|
17 |
-
private static $_instance;
|
18 |
-
|
19 |
-
/**
|
20 |
-
* @var Manager
|
21 |
-
*/
|
22 |
-
private $_modules_manager;
|
23 |
-
|
24 |
-
private $classes_aliases = [
|
25 |
-
'ElementPack\Modules\PanelPostsControl\Module' => 'ElementPack\Modules\QueryControl\Module',
|
26 |
-
'ElementPack\Modules\PanelPostsControl\Controls\Group_Control_Posts' => 'ElementPack\Modules\QueryControl\Controls\Group_Control_Posts',
|
27 |
-
'ElementPack\Modules\PanelPostsControl\Controls\Query' => 'ElementPack\Modules\QueryControl\Controls\Query',
|
28 |
-
];
|
29 |
-
|
30 |
-
public $elements_data = [
|
31 |
-
'sections' => [],
|
32 |
-
'columns' => [],
|
33 |
-
'widgets' => [],
|
34 |
-
];
|
35 |
-
|
36 |
-
/**
|
37 |
-
* @deprecated
|
38 |
-
*
|
39 |
-
* @return string
|
40 |
-
*/
|
41 |
-
public function get_version() {
|
42 |
-
return BDTEP_VER;
|
43 |
-
}
|
44 |
-
|
45 |
-
/**
|
46 |
-
* return active theme
|
47 |
-
*/
|
48 |
-
public function get_theme() {
|
49 |
-
return wp_get_theme();
|
50 |
-
}
|
51 |
-
|
52 |
-
/**
|
53 |
-
* Throw error on object clone
|
54 |
-
*
|
55 |
-
* The whole idea of the singleton design pattern is that there is a single
|
56 |
-
* object therefore, we don't want the object to be cloned.
|
57 |
-
*
|
58 |
-
* @since 1.0.0
|
59 |
-
* @return void
|
60 |
-
*/
|
61 |
-
public function __clone() {
|
62 |
-
// Cloning instances of the class is forbidden
|
63 |
-
_doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'bdthemes-element-pack-lite' ), '1.6.0' );
|
64 |
-
}
|
65 |
-
|
66 |
-
/**
|
67 |
-
* Disable unserializing of the class
|
68 |
-
*
|
69 |
-
* @since 1.0.0
|
70 |
-
* @return void
|
71 |
-
*/
|
72 |
-
public function __wakeup() {
|
73 |
-
// Unserializing instances of the class is forbidden
|
74 |
-
_doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'bdthemes-element-pack-lite' ), '1.6.0' );
|
75 |
-
}
|
76 |
-
|
77 |
-
/**
|
78 |
-
* @return \Elementor\Element_Pack_Loader
|
79 |
-
*/
|
80 |
-
|
81 |
-
public static function elementor() {
|
82 |
-
return \Elementor\Plugin::$instance;
|
83 |
-
}
|
84 |
-
|
85 |
-
/**
|
86 |
-
* @return Element_Pack_Loader
|
87 |
-
*/
|
88 |
-
public static function instance() {
|
89 |
-
if ( is_null( self::$_instance ) ) {
|
90 |
-
self::$_instance = new self();
|
91 |
-
}
|
92 |
-
|
93 |
-
return self::$_instance;
|
94 |
-
}
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
/**
|
99 |
-
* we loaded module manager + admin php from here
|
100 |
-
* @return [type] [description]
|
101 |
-
*/
|
102 |
-
private function _includes() {
|
103 |
-
|
104 |
-
require BDTEP_INC_PATH . 'modules-manager.php';
|
105 |
-
require BDTEP_INC_PATH . 'class-elements-wpml-compatibility.php';
|
106 |
-
|
107 |
-
// Rooten theme header footer compatibility
|
108 |
-
if ('Rooten' === $this->get_theme()->name or 'Rooten' === $this->get_theme()->parent_theme) {
|
109 |
-
if (!class_exists('RootenCustomTemplate')) {
|
110 |
-
require BDTEP_INC_PATH . 'class-rooten-theme-compatibility.php';
|
111 |
-
}
|
112 |
-
}
|
113 |
-
|
114 |
-
if ( is_admin() ) {
|
115 |
-
if(!defined('BDTEP_CH')) {
|
116 |
-
require BDTEP_INC_PATH . 'admin.php';
|
117 |
-
// Load admin class for admin related content process
|
118 |
-
new Admin();
|
119 |
-
}
|
120 |
-
}
|
121 |
-
|
122 |
-
}
|
123 |
-
|
124 |
-
/**
|
125 |
-
* Autoloader function for all classes files
|
126 |
-
* @param [type] $class [description]
|
127 |
-
* @return [type] [description]
|
128 |
-
*/
|
129 |
-
public function autoload( $class ) {
|
130 |
-
if ( 0 !== strpos( $class, __NAMESPACE__ ) ) {
|
131 |
-
return;
|
132 |
-
}
|
133 |
-
|
134 |
-
$has_class_alias = isset( $this->classes_aliases[ $class ] );
|
135 |
-
|
136 |
-
// Backward Compatibility: Save old class name for set an alias after the new class is loaded
|
137 |
-
if ( $has_class_alias ) {
|
138 |
-
$class_alias_name = $this->classes_aliases[ $class ];
|
139 |
-
$class_to_load = $class_alias_name;
|
140 |
-
} else {
|
141 |
-
$class_to_load = $class;
|
142 |
-
}
|
143 |
-
|
144 |
-
if ( ! class_exists( $class_to_load ) ) {
|
145 |
-
$filename = strtolower(
|
146 |
-
preg_replace(
|
147 |
-
[ '/^' . __NAMESPACE__ . '\\\/', '/([a-z])([A-Z])/', '/_/', '/\\\/' ],
|
148 |
-
[ '', '$1-$2', '-', DIRECTORY_SEPARATOR ],
|
149 |
-
$class_to_load
|
150 |
-
)
|
151 |
-
);
|
152 |
-
$filename = BDTEP_PATH . $filename . '.php';
|
153 |
-
|
154 |
-
if ( is_readable( $filename ) ) {
|
155 |
-
include( $filename );
|
156 |
-
}
|
157 |
-
}
|
158 |
-
|
159 |
-
if ( $has_class_alias ) {
|
160 |
-
class_alias( $class_alias_name, $class );
|
161 |
-
}
|
162 |
-
}
|
163 |
-
|
164 |
-
/**
|
165 |
-
* Register all script that need for any specific widget on call basis.
|
166 |
-
* @return [type] [description]
|
167 |
-
*/
|
168 |
-
public function register_site_scripts() {
|
169 |
-
|
170 |
-
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
171 |
-
$settings = get_option( 'element_pack_api_settings' );
|
172 |
-
|
173 |
-
wp_register_script( 'bdt-uikit-icons', BDTEP_URL . 'assets/js/bdt-uikit-icons' . $suffix . '.js', ['jquery', 'bdt-uikit'], '3.0.3', true );
|
174 |
-
wp_register_script( 'twentytwenty', BDTEP_URL . 'assets/vendor/js/jquery.twentytwenty' . $suffix . '.js', ['jquery'], '0.1.0', true );
|
175 |
-
wp_register_script( 'eventmove', BDTEP_URL . 'assets/vendor/js/jquery.event.move' . $suffix . '.js', ['jquery'], '2.0.0', true );
|
176 |
-
wp_register_script( 'aspieprogress', BDTEP_URL . 'assets/vendor/js/jquery-asPieProgress' . $suffix . '.js', ['jquery'], '0.4.7', true );
|
177 |
-
wp_register_script( 'cookieconsent', BDTEP_URL . 'assets/vendor/js/cookieconsent' . $suffix . '.js', ['jquery'], '3.1.0', true );
|
178 |
-
|
179 |
-
|
180 |
-
wp_register_script( 'recaptcha', 'https://www.google.com/recaptcha/api.js', ['jquery'], null, true );
|
181 |
-
|
182 |
-
wp_register_script( 'tilt', BDTEP_URL . 'assets/vendor/js/tilt.jquery' . $suffix . '.js', ['jquery'], null, true );
|
183 |
-
wp_register_script( 'bdt-justified-gallery', BDTEP_URL . 'assets/vendor/js/jquery.justifiedGallery' . $suffix . '.js', ['jquery'], '1.0.0', true );
|
184 |
-
}
|
185 |
-
|
186 |
-
public function register_site_styles() {
|
187 |
-
$direction_suffix = is_rtl() ? '.rtl' : '';
|
188 |
-
|
189 |
-
wp_register_style( 'twentytwenty', BDTEP_URL . 'assets/css/twentytwenty.css', [], BDTEP_VER );
|
190 |
-
wp_register_style( 'cookieconsent', BDTEP_URL . 'assets/css/cookieconsent' . $direction_suffix . '.css', [], BDTEP_VER );
|
191 |
-
}
|
192 |
-
|
193 |
-
/**
|
194 |
-
* Loading site related style from here.
|
195 |
-
* @return [type] [description]
|
196 |
-
*/
|
197 |
-
public function enqueue_site_styles() {
|
198 |
-
|
199 |
-
$direction_suffix = is_rtl() ? '.rtl' : '';
|
200 |
-
|
201 |
-
wp_enqueue_style( 'element-pack-site', BDTEP_URL . 'assets/css/element-pack-site' . $direction_suffix . '.css', [], BDTEP_VER );
|
202 |
-
}
|
203 |
-
|
204 |
-
|
205 |
-
/**
|
206 |
-
* Loading site related script that needs all time such as uikit.
|
207 |
-
* @return [type] [description]
|
208 |
-
*/
|
209 |
-
public function enqueue_site_scripts() {
|
210 |
-
|
211 |
-
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
212 |
-
|
213 |
-
wp_enqueue_script( 'bdt-uikit', BDTEP_URL . 'assets/js/bdt-uikit' . $suffix . '.js', ['jquery'], BDTEP_VER );
|
214 |
-
wp_enqueue_script( 'element-pack-site', BDTEP_URL . 'assets/js/element-pack-site' . $suffix . '.js', ['jquery', 'elementor-frontend'], BDTEP_VER );
|
215 |
-
|
216 |
-
$script_config = [
|
217 |
-
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
218 |
-
'nonce' => wp_create_nonce( 'element-pack-site' ),
|
219 |
-
'contact_form' => [
|
220 |
-
'sending_msg' => esc_html_x('Sending message please wait...', 'Contact Form String', 'bdthemes-element-pack-lite'),
|
221 |
-
'captcha_nd' => esc_html_x('Invisible captcha not defined!', 'Contact Form String', 'bdthemes-element-pack-lite'),
|
222 |
-
'captcha_nr' => esc_html_x('Could not get invisible captcha response!', 'Contact Form String', 'bdthemes-element-pack-lite'),
|
223 |
-
|
224 |
-
],
|
225 |
-
'elements_data' => $this->elements_data,
|
226 |
-
];
|
227 |
-
|
228 |
-
|
229 |
-
// localize for user login widget ajax login script
|
230 |
-
wp_localize_script( 'bdt-uikit', 'element_pack_ajax_login_config', array(
|
231 |
-
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
232 |
-
'loadingmessage' => esc_html__('Sending user info, please wait...', 'bdthemes-element-pack-lite'),
|
233 |
-
));
|
234 |
-
|
235 |
-
$script_config = apply_filters( 'element_pack/frontend/localize_settings', $script_config );
|
236 |
-
|
237 |
-
// TODO for editor script
|
238 |
-
wp_localize_script( 'bdt-uikit', 'ElementPackConfig', $script_config );
|
239 |
-
|
240 |
-
}
|
241 |
-
|
242 |
-
public function enqueue_admin_scripts() {
|
243 |
-
|
244 |
-
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
245 |
-
|
246 |
-
wp_enqueue_script( 'element-pack-admin', BDTEP_URL . 'assets/js/element-pack-admin' . $suffix . '.js', ['jquery'], BDTEP_VER, true );
|
247 |
-
}
|
248 |
-
|
249 |
-
/**
|
250 |
-
* Load editor editor related style from here
|
251 |
-
* @return [type] [description]
|
252 |
-
*/
|
253 |
-
public function enqueue_preview_styles() {
|
254 |
-
$direction_suffix = is_rtl() ? '.rtl' : '';
|
255 |
-
|
256 |
-
wp_enqueue_style('element-pack-preview', BDTEP_URL . 'assets/css/element-pack-preview' . $direction_suffix . '.css', '', BDTEP_VER );
|
257 |
-
}
|
258 |
-
|
259 |
-
|
260 |
-
public function enqueue_editor_styles() {
|
261 |
-
$direction_suffix = is_rtl() ? '.rtl' : '';
|
262 |
-
|
263 |
-
wp_enqueue_style('element-pack-editor', BDTEP_URL . 'assets/css/element-pack-editor' . $direction_suffix . '.css', '', BDTEP_VER );
|
264 |
-
}
|
265 |
-
|
266 |
-
|
267 |
-
/**
|
268 |
-
* Callback to shortcode.
|
269 |
-
* @param array $atts attributes for shortcode.
|
270 |
-
*/
|
271 |
-
public function shortcode_template( $atts ) {
|
272 |
-
|
273 |
-
$atts = shortcode_atts(
|
274 |
-
array(
|
275 |
-
'id' => '',
|
276 |
-
),
|
277 |
-
$atts,
|
278 |
-
'rooten_custom_template'
|
279 |
-
);
|
280 |
-
|
281 |
-
$id = ! empty( $atts['id'] ) ? intval( $atts['id'] ) : '';
|
282 |
-
|
283 |
-
if ( empty( $id ) ) {
|
284 |
-
return '';
|
285 |
-
}
|
286 |
-
|
287 |
-
if ( class_exists( '\Elementor\Post_CSS_File' ) ) {
|
288 |
-
|
289 |
-
// Load elementor styles.
|
290 |
-
$css_file = new \Elementor\Post_CSS_File( $id );
|
291 |
-
$css_file->enqueue();
|
292 |
-
}
|
293 |
-
|
294 |
-
return self::$elementor_instance->frontend->get_builder_content_for_display( $id );
|
295 |
-
|
296 |
-
}
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
// Load WPML compatibility instance
|
302 |
-
public function wpml_compatiblity() {
|
303 |
-
return Element_Pack_WPML::get_instance();
|
304 |
-
}
|
305 |
-
|
306 |
-
|
307 |
-
/**
|
308 |
-
* initialize the category
|
309 |
-
* @return [type] [description]
|
310 |
-
*/
|
311 |
-
public function element_pack_init() {
|
312 |
-
$this->_modules_manager = new Manager();
|
313 |
-
|
314 |
-
$elementor = \Elementor\Plugin::$instance;
|
315 |
-
|
316 |
-
// Add element category in panel
|
317 |
-
$elementor->elements_manager->add_category( BDTEP_SLUG, [ 'title' => BDTEP_TITLE, 'icon' => 'font' ], 1 );
|
318 |
-
|
319 |
-
do_action( 'bdthemes_element_pack/init' );
|
320 |
-
}
|
321 |
-
|
322 |
-
private function setup_hooks() {
|
323 |
-
add_action( 'elementor/init', [ $this, 'element_pack_init' ] );
|
324 |
-
add_action( 'elementor/editor/after_enqueue_styles', [ $this, 'enqueue_editor_styles' ] );
|
325 |
-
|
326 |
-
add_action( 'elementor/frontend/before_register_styles', [ $this, 'register_site_styles' ] );
|
327 |
-
add_action( 'elementor/frontend/before_register_scripts', [ $this, 'register_site_scripts' ] );
|
328 |
-
|
329 |
-
add_action( 'elementor/preview/enqueue_styles', [ $this, 'enqueue_preview_styles' ] );
|
330 |
-
|
331 |
-
add_action( 'elementor/frontend/after_register_styles', [ $this, 'enqueue_site_styles' ] );
|
332 |
-
add_action( 'elementor/frontend/before_enqueue_scripts', [ $this, 'enqueue_site_scripts' ] );
|
333 |
-
|
334 |
-
add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_admin_scripts' ] );
|
335 |
-
|
336 |
-
add_shortcode( 'rooten_custom_template', array( $this, 'shortcode_template' ) );
|
337 |
-
|
338 |
-
}
|
339 |
-
|
340 |
-
/**
|
341 |
-
* Element_Pack_Loader constructor.
|
342 |
-
*/
|
343 |
-
private function __construct() {
|
344 |
-
// Register class automatically
|
345 |
-
spl_autoload_register( [ $this, 'autoload' ] );
|
346 |
-
// Include some backend files
|
347 |
-
$this->_includes();
|
348 |
-
// Finally hooked up all things here
|
349 |
-
$this->setup_hooks();
|
350 |
-
|
351 |
-
$this->wpml_compatiblity()->init();
|
352 |
-
}
|
353 |
-
}
|
354 |
-
|
355 |
-
if ( ! defined( 'BDTEP_TESTS' ) ) {
|
356 |
-
// In tests we run the instance manually.
|
357 |
-
Element_Pack_Loader::instance();
|
358 |
-
}
|
359 |
-
|
360 |
-
// handy fundtion for push data
|
361 |
-
function element_pack_config() {
|
362 |
-
return Element_Pack_Loader::instance();
|
363 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
DELETED
@@ -1,213 +0,0 @@
|
|
1 |
-
=== Element Pack Lite Addon for Elementor ===
|
2 |
-
Contributors: bdthemes, selimmw
|
3 |
-
Donate link: http://bdthemes.com/
|
4 |
-
Tags: elementor, element, pack, addon, bdthemes
|
5 |
-
Requires at least: 4.9.0
|
6 |
-
Tested up to: 5.2.3
|
7 |
-
Requires PHP: 5.6.0
|
8 |
-
Stable tag: 1.1.0
|
9 |
-
License: GPLv3
|
10 |
-
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
-
|
12 |
-
Best Addon for Elementor WordPress Plugin with 15 Most Popular Elements that need your everyday website page building.
|
13 |
-
|
14 |
-
|
15 |
-
== Description ==
|
16 |
-
|
17 |
-
Ultimate essential addon for [Elementor](https://wordpress.org/plugins/elementor/) Page Builder with 15 of the most popular and essential elements that you need for everyday use in website page building.
|
18 |
-
|
19 |
-
Development of the [Element Pack](https://elementpack.pro) addon for Elementor has the world’s best practices in code standard and meets proper validation using the latest CSS, HTML5 and PHP 7.x (Tested up to 7.3) technology to bring you a professional addon for the Elementor Page Builder Plugin that is WordPress 5.2.x ready and compliant.
|
20 |
-
|
21 |
-
Element Pack for Elementor includes the most commonly used elements (called widgets) that help you easily manage your website content by simply using the drag and drop ability. There is absolutely no programming knowledge required, seriously!
|
22 |
-
|
23 |
-
= Widgets Demo =
|
24 |
-
|
25 |
-
1. [Call Out](https://elementpack.pro/demo/element/call-out/) - Call out addon is the ultimate call out design for elementor from element pack. You can hightlight your content using this element. Check the demo now.
|
26 |
-
2. [Custom Gallery](https://elementpack.pro/demo/element/custom-gallery/) - Custom gallery with modern design and customization options with lightbox support for your website project. You can use it with any theme or project.
|
27 |
-
3. [Simple Contact Form](https://elementpack.pro/demo/element/simple-contact-form/) - Simple Contact Form widget with element pack pro can give your website a much more dynamic way and interactive way to contact
|
28 |
-
4. [Cookie Consent](https://elementpack.pro/demo/element/cookie-consent/) - If you are looking for the ultimate cookie consent addon for elementor page builder, this addon of element pack is the solution. It complies site with GDPR
|
29 |
-
5. [Countdown](https://elementpack.pro/demo/element/countdown/) - Element Pack plugin for Elementor provides easy solution to add countdown timer to your elementor website. Watch the demo to know how to add countdown.
|
30 |
-
6. [Flip Box](https://elementpack.pro/demo/element/flip-box/) - To show your content with more dynamic and interactive way - flip box is a widget you should must use with your content. Enjoy our live demos.
|
31 |
-
7. [Image Compare](https://elementpack.pro/demo/element/image-compare/) - Helps to compare two images with Horizontal Example, Vertical Example,After and Before Background and Color Example,Bar Color Example.
|
32 |
-
8. [Lightbox](https://elementpack.pro/demo/element/lightbox/) - Lightbox examples with Image Example,Video Example,Google Map Example,Icon Example,Button Example
|
33 |
-
9. [Member](https://elementpack.pro/demo/element/member/) - To show member profile - default, Alternative Photo Example,Phaedra skin Example,Calm skin Example,Parfait skin Example,Text Alignment Example and other
|
34 |
-
10. [Panel Slider](https://elementpack.pro/demo/element/panel-slider/) - Panel Slider examples with Infinite No Example,Button Background Example,Title, Text And Button Color Example Shadow Mode Example & other options
|
35 |
-
11. [Progress Pie](https://elementpack.pro/demo/element/progress-pie/) - After Before Middle Text Example,Line Width Example,Delay Example,Duration Example,Background Example with element pack pro plugin.
|
36 |
-
12. [Scroll Button](https://elementpack.pro/demo/element/scroll-button/) - With examples like -Scroll Down Example,Scroll Up Example,Duration Example,Offset Example (50px),Before Icon Position Example and others
|
37 |
-
13. [Slider](https://elementpack.pro/demo/element/slider/) - Slider to make your website more versatile, sometimes you need slider, with basic functions, modification and customization
|
38 |
-
14. [Toggle](https://elementpack.pro/demo/element/toggle/) - Toggle Default Example,Icon Change Example,Toggle With Icon List Example,Toggle With Image Gallery Example with elemet pack pro plugin
|
39 |
-
15. [Trailer Box](https://elementpack.pro/demo/element/trailer-box/) - Product With Trailer Box,Salon Product With Trailer Box,Fashion With Trailer Box Element pack pro widget WordPress plugin
|
40 |
-
36. [Business Hours](https://elementpack.pro/demo/element/business-hours/) - Business hours show your company or business hours as a beautiful list of workin hours.
|
41 |
-
|
42 |
-
More widgets are coming soon...
|
43 |
-
|
44 |
-
= Pro Version Widgets =
|
45 |
-
|
46 |
-
16. [Carousel](https://elementpack.pro/demo/element/carousel) - Touch Custom Carousel with modern looks and fell with customization options according to your needs. You'll get awesome experience with it.
|
47 |
-
17. [FAQ](https://elementpack.pro/demo/element/carousel/faq/) -Every service or website need FAQ sections to help its visitor give a comfort. We've basic FAQ, Multi Open FAQ,Collapsible All Item and many more options.
|
48 |
-
18. [News Ticker](https://elementpack.pro/demo/element/news-ticker/) - News Ticker Default Example,Label Hide With Animation Example,News Content Excerpt With Animation Example,Without Navigation Animation & many more options.
|
49 |
-
19. [Post Slider](https://elementpack.pro/demo/element/post-slider/) -Post Slider widget allows you to display your blog posts in a very beautiful slider that will be present your content more dynamically.
|
50 |
-
20. [Post Card](https://elementpack.pro/demo/element/post-card/) -Without Image Example,Without Tag Example,Without Excerpt Example,Read More With Icon Color Example for your blog and websites.
|
51 |
-
21. [Post Grid](https://elementpack.pro/demo/element/post%20grid/) -Skin (Alter) Example,Skin (Paddle) Example,Skin (Trosia) Example, Skin Elanza Example,Skin Modern,Skin Carmie post grid widget - elementor page builder
|
52 |
-
22. [Post Grid Tab](https://elementpack.pro/demo/element/post-grid-tab/) -Post Grid Pagination Example with modification options and basic color, background,gradient background color changes
|
53 |
-
23. [Post Gallery](https://elementpack.pro/demo/element/post-gallery/) - Post Gallery widgets with Filter Example,Skin (Trosia) Example,Skin Fedara Example,Skin Abetis Example,Masonry Example to show post more dynamic way.
|
54 |
-
24. [Post List](https://elementpack.pro/demo/element/post-list/) - Post list for your next elementor page builder to show it in more dynamic way with title, date excerpt, thumbnail style modifier.
|
55 |
-
25. [Post Block](https://elementpack.pro/demo/element/post-block/) - Post block on websites with more dynamic way with managing its number, style and other things.
|
56 |
-
26. [Post Block Modern](https://elementpack.pro/demo/element/post-block-modern/) - Another way to show your post with desired number, designs, styles and other things, helps you to branding your sites more than any other things.
|
57 |
-
27. [Single Post](https://elementpack.pro/demo/element/single-post/) - Single Post Example,Single Post Title and Excerpt Example,Category & Date Hide Example to make up your websites and give it a master stroke.
|
58 |
-
28. [Testimonial Grid](https://elementpack.pro/demo/element/testimonial-grid/) - Different style Testimonial Grid, comes with element pack pro Wordpress plugin. You can use Top Avatar,Reverse,Image Hide skins to do that.
|
59 |
-
29. [Table of Content](https://elementpack.pro/demo/element/table-of-content-test-post/) -You may define the different sections of the user generated table of contents with any tag or CSS class included in the page or post content. Our widget makes it easier than ever.
|
60 |
-
30. [Testimonial Slider](https://elementpack.pro/demo/element/testimonial-slider/) - Single skin,Thumb skin,Post Limit Example,Arrows Style Example,Thumb Border Example,Dots Size (15px) Example and other examples with element pack pro
|
61 |
-
31. [Testimonial Carousel](https://elementpack.pro/demo/element/testimonial-carousel/) - Skin Twyla Example,Skin Vyxen Example,Skin Vyxen Gradient Example,Shadow Mode Example,Shadow Mode Color Example and many more examples
|
62 |
-
32. [Thumb Gallery](https://elementpack.pro/demo/element/thumb-gallery/) - Default ,Skin Custom Content,Content Style,Thumb Position Top Left,Thumb Position Top Right and other examples for you elementor plugin websites
|
63 |
-
33. [Timeline](https://elementpack.pro/demo/element/timeline/) - Timeline with different style like default, Skin Olivier Example,Without Background Example,Skin Olivier Without Image Example and others.
|
64 |
-
34. [Accordion](https://elementpack.pro/demo/element/accordion/) - Element Pack pro plugin provides advanced accordion design for the elementor page builder. This page demonstrate the accordion addon from element pack pro.
|
65 |
-
35. [Advanced Image Gallery](https://elementpack.pro/demo/element/advanced-image-gallery/) - If you want to add some advanced feature to your element page builder based site, you can consider looking at element pack advanced image gallery widget.
|
66 |
-
37. [Circle Menu](https://elementpack.pro/demo/element/circle-menu/) - You can now add cool circle menu with animation using Element Pack plugin. This menu will help you to make the ultimate cool menu for Elementor Page Builder
|
67 |
-
38. [Custom Carousel](https://elementpack.pro/demo/element/custom-carousel/) - Touch Custom Carousel with modern looks and fell with customization options according to your needs. You'll get awesome experience with it.
|
68 |
-
39. [Comment](https://elementpack.pro/demo/element/comment/) - Element Pack Plugin for the Elementor Page builder provides inegration for commenting system like disqus and facebook comments in your website. Watch Demo!
|
69 |
-
40. [Device Slider](https://elementpack.pro/demo/element/device-slider/) - Fully responsive and SEO optimized module for your next wordpress site. Create beautiful sliders and tell stories without any code.
|
70 |
-
41. [Document Viewer](https://elementpack.pro/demo/element/document-viewer/) - Our pdf and docs file Document Viewer for WordPress site module can read your pdf and doc files and show you in your page or post.
|
71 |
-
42. [Pricing Table](https://elementpack.pro/demo/element/pricing-table/) - Default Example, Tooltip Example,Skin Parfait Example,Badge Example,pricing table with background options and many other variations.
|
72 |
-
43. [Pricing List](https://elementpack.pro/demo/element/price-list/) - Pricing list with some different examples like Item With Image Example,Pricing Background Color Example,Border Radius Example,List Style Different Color
|
73 |
-
44. [Modal](https://elementpack.pro/demo/element/modal/) - Modal Default Example,Modal Layout,Custom Link With Heading,Modal Optional Example,Modal Button Style Example customization and many more options.
|
74 |
-
45. [Navbar](https://elementpack.pro/demo/element/navbar/) - Responsive Navbar options with lots of possibilities and modern design. Really easy to use and user friendly navbar to make sure your job easy.
|
75 |
-
46. [Scroll Image](https://elementpack.pro/demo/element/scroll-image/) - Height With Badge Example,Image Caption Example,Lightbox Icon Position Example,External Link Example with element pack pro
|
76 |
-
47. [Slideshow](https://elementpack.pro/demo/element/slideshow/) - Variations, easy positioning, customizations gives element pack pro plugins slider give a ninza way to make your website classic.
|
77 |
-
48. [Switcher](https://elementpack.pro/demo/element/switcher/) - Switcher to showcase your content with more interactive way. You can add two different content to show with element pack pro switcher.
|
78 |
-
49. [Tabs](https://elementpack.pro/demo/element/tabs/) - Element pack pro Tabs is a tremendous tools to show your content with more disciplined way.
|
79 |
-
50. [Video Gallery](https://elementpack.pro/demo/element/video-gallery/) - Default Example,Thumb Layout (Horizontal) Example, Video Title & Description Hide Example and many other examples with element pack pro WordPress plugin
|
80 |
-
51. [Advanced Button](https://elementpack.pro/demo/element/advanced-button/) - Element Pack Plugin provides addon for with advanced feature for button in the elementor page builder. Watch Advanced Button Demo now.
|
81 |
-
52. [Advanced Heading](https://elementpack.pro/demo/element/advanced-heading/) - You can easily add advanced feature in the heading of your content using Element Pack Plugin for elementor page builder. Watch the demo now.
|
82 |
-
53. [Advanced Google Map](https://elementpack.pro/demo/element/advanced-google-map/) - If you want to make some advaned map with customized feature, this advanced google map addon from Element Pack for Elementor Page builder is your solution.
|
83 |
-
54. [Animated Heading](https://elementpack.pro/demo/element/animated-heading/) - You can easily add animation in the heading of your content using Element Pack Plugin for elementor page builder. Animated Heading is cool feature to have.
|
84 |
-
55. [Advanced Icon Box](https://elementpack.pro/demo/element/advanced-icon-box/) - Make your content more organized and eye catching with element Pack Advanced Icon Box. Great tools for your website to present your content.
|
85 |
-
56. [Audio Player](https://elementpack.pro/demo/element/audio-player/) - Element Pack provide you the authority to embed or upload any audio file and stream it with Audio Player in your website. Watch the demo now.
|
86 |
-
57. [Charts](https://elementpack.pro/demo/element/charts) - Element Pack Plugin is the ultimate solution to make charts in the Elementor Page builder. You can easily make animated charts in your site using this.
|
87 |
-
58. [Cookie Consent](https://elementpack.pro/demo/element/cookie-consent/) - If you are looking for the ultimate cookie consent addon for elementor page builder, this addon of element pack is the solution. It complies site with GDPR
|
88 |
-
59. [Dual Button](https://elementpack.pro/demo/element/dual-button/) - Fancy modern premade dual button for your sites more engagement. its group button and you can modify the buttons every elements.
|
89 |
-
60. [Dropbar](https://elementpack.pro/demo/element/dropbar/) - To get more engagement with your visitors, drop bar is a must have widget with elementor page builder and element pack pro plugin
|
90 |
-
61. [Icon Nav](https://elementpack.pro/demo/element/icon-nav/) - Icon nav helps to create modern responsive and device friendly website designs. The best part it - you can modify its every part.
|
91 |
-
62. [Image Magnifier](https://elementpack.pro/demo/element/image-magnifier/) - Image Magnifier converts your website more interesting and more interactive. You can see every part of the photos and zoom it.
|
92 |
-
63. [Instagram](https://elementpack.pro/demo/element/instagram/) - You can easily display your instagram images on your website with options like : Default Instagram,Carousel Example,Masonry Example and others
|
93 |
-
64. [Open Street Map](https://elementpack.pro/demo/element/open-street-map/) - Open Street Map with Default Example, Map Height Example,Tooltip Background Color Example,Tooltip Radius Example,Tooltip Box Shadow Example
|
94 |
-
65. [360° Product Viewer](https://elementpack.pro/demo/element/360-product-viewer/) - 3D Product viewer for Elementor Page builder is the ultimate essential elementor addons you need for your ecommerce site. Check this element pack addon demo
|
95 |
-
66. [Help Desk](https://elementpack.pro/demo/element/help-desk/) - Here we've shown Help Desk example, just insert this element then you can add your social share link/id. For Example… WhatsApp, Messenger and others
|
96 |
-
67. [Iframe](https://elementpack.pro/demo/element/iframe/) - Options with audio,video google map embedding options and lazy load scroll bars,360 degree view, basic elementor dashboard customization examples
|
97 |
-
68. [Marker](https://elementpack.pro/demo/element/marker/) - Marker can makes your sites more enjoyable with marker and tooltip. You can modify the basic - color, background color, typography with this widget.
|
98 |
-
69. [Mailchimp](https://elementpack.pro/demo/element/mailchimp/) - Mailchimp integration and customization dashboard options - you can modify and place it's shortcode anywhere you want on your theme.
|
99 |
-
70. [Offcanvas](https://elementpack.pro/demo/element/offcanvas/) - Default Example,Custom Menu Example,Offcanvas Overlay Example,Offcanvas Flip Example Choose Sidebar Example and many other examples.
|
100 |
-
71. [Protected Content](https://elementpack.pro/demo/element/protected-content/ ) - Password protected WordPress form and style changer from your dashboard with the help of element pro plugin. Fancy way to style and protect content.
|
101 |
-
72. [Search](https://elementpack.pro/demo/element/search/) - Search is a simple search widget for for elementor widget. You can get simle search,modal options also.
|
102 |
-
73. [Social share](https://elementpack.pro/demo/element/social-share/) - Social share widget gives element pack pro plugin a diversive way to make their clients comfort. Also it helps visitor to share their feel about the site.
|
103 |
-
74. [Table](https://elementpack.pro/demo/element/table/) - Element pack pro Table can display your content more dynamic way and it gives your site looks more professional and elegant.
|
104 |
-
75. [Twitter Carousel](https://elementpack.pro/demo/element/twitter-carousel/ ) - Twitter Carousel examples page Default Twitter Carousel,Columns (4) Example,Shadow Mode Carousel, Shadow Mode Color Carousel and other examples.
|
105 |
-
76. [Twitter Slider](https://elementpack.pro/demo/element/twitter-slider/) - Twitter Slider example page like - Default Example,Execute Buttons Example,Time Hide Example,Navigation Bottom Center Example to show case you tweet.
|
106 |
-
77. [QR Code](https://elementpack.pro/demo/element/qr-code/) - Background Color and Shadow Example,Border Example,Fill and Font Color Example,Corner Radius Example with other options with QR Code widgets.
|
107 |
-
78. [User Register](https://elementpack.pro/demo/element/user-register/) - Wordpress default User register system brings in frontend and you can modify the design and give a fine touch to match your design.
|
108 |
-
79. [User Login](https://elementpack.pro/demo/element/user-login/) - Fancy User Login widgets for your WordPress website with element pack pro plugin. you can change and customize also your ready blocks.
|
109 |
-
80. [Video Player](https://elementpack.pro/demo/element/video-player/) - When it comes to watching a video, you will always prefer to watch it on YouTube or other popular streaming websites. Our video player plugin is wasy to use and ready to go.
|
110 |
-
81. [Weather](https://elementpack.pro/demo/element/weather/) - Some different layout examples with Weather widget with custom design options like - background, color,typography location selections.
|
111 |
-
82. [Booked Calendar](https://elementpack.pro/demo/element/booked-calendar/) - Element Pack pro provides intgeration support for third party plugin named Booked Calendar for the elementor page builder for WordPress. Watch demo the now.
|
112 |
-
83. [bbPress](https://elementpack.pro/demo/element/bbpress/) - Element Pack pro is the ultimate essential addons to integrate bbPress in the Elementor Page builder. Watch all of the demo in this page to see it in action
|
113 |
-
84. [BuddyPress Member](https://elementpack.pro/demo/element/buddypress-member/) - Element Pack pro supports buddypress intgegration for elementor page builder. You can show the member of your forum using this plugin. Watch the demo now.
|
114 |
-
85. [BuddyPress Friends](https://elementpack.pro/demo/element/buddypress-friends/) - BuddyPress Friends profile customization is now easy like anything. You can add color, customize their borders looks and feel. Start now.
|
115 |
-
86. [BuddyPress Group](https://elementpack.pro/demo/element/buddypress-group/) - Element Pack pro supports buddypress intgegration for elementor page builder. You can show the group of your forum using this plugin. Watch the demo now.
|
116 |
-
87. [Contact Form 7](https://elementpack.pro/demo/element/contact-form-7/) - You can easily integrate contact form 7 plugin using Element Pack Plugin for Elementor. There are dozens of different design to choose from to design a form
|
117 |
-
88. [Caldera Form](https://elementpack.pro/demo/element/caldera-form/) - Element Pack pro essential addon provides Caldera form integration support for elementor page builder. Please watch the demo on the design and integration.
|
118 |
-
89. [Download Monitor](https://elementpack.pro/demo/element/download-monitor/) - Now you can provide an interface for your downabell files and the other elements for your visitors, with more engagement.
|
119 |
-
90. [Event Calendar Countdown](https://elementpack.pro/demo/element/event-calendar-countdown/) - Event Calendar Countdown style can be customized with color,border,background color, padding margin and position with element pack pro plugins dashboard.
|
120 |
-
91. [Easy Digital Downloads](https://elementpack.pro/demo/element/easy-digital-downloads/) - Easy digital downloads product display with price, modified style, border options. It gives your site another level of functionality.
|
121 |
-
92. [Easy Digital Downloads History](https://elementpack.pro/demo/element/easy-digital-downloads-history/) - Easy Digital Downloads History customizations options, tbody background color to match with your brand color and website design
|
122 |
-
93. [Easy Digital Downloads Purchase History](https://elementpack.pro/demo/element/easy-digital-downloads-purchase-history/) - Easy Digital Downloads Purchase History : modifications and other options like border color, background color matching modules.
|
123 |
-
94. [Easy Download Portfolio Editor](https://elementpack.pro/demo/element/easy-download-portfolio-editor/) - Easy Download Portfolio Editor : you can set text color,padding,margin,border type, border width, color and size with our widget.
|
124 |
-
95. [Gravity Forms](https://elementpack.pro/demo/element/gravity-forms/) - Gravity Forms and elementor pro pack integrated service with modification options can blow you mind because of its flexibility.
|
125 |
-
96. [Instagram Feed](https://elementpack.pro/demo/element/instagram-feed/) - Example of Instagram feed widget showing on the websites and it comes with lightbox effect image gallery.
|
126 |
-
97. [Layer Slider](https://elementpack.pro/demo/element/layer-slider/) - One of the best WordPress slider in market with lots of options and features. Its shortcode supports elementor page builder.
|
127 |
-
98. [Mailchimp For WordPress](https://elementpack.pro/demo/element/mailchimp-for-wordpress/) - Mailchimp For WordPress can sky rocket your subscriber list if you use it on your site. Can integrate it with elementor page builder.
|
128 |
-
99. [Ninja Forms](https://elementpack.pro/demo/element/ninja-forms/) - To collect more subscriber & to make sure your visitors more return on your site-Ninja Forms is a must have plugin.Modify its looks and feel.
|
129 |
-
100. [QuForm](https://elementpack.pro/demo/element/quform/) - Quform is an advanced WordPress plugin that allows you to quickly and easily build multiple forms. And its compatible with element pack pro
|
130 |
-
101. [Revolution Slider](https://elementpack.pro/demo/element/revolution-slider/) - Slider Revolution is an innovative, responsive jQuery Slider Plugin. And it works great with elementor page builder with a beautiful way.
|
131 |
-
102. [TablePress](https://elementpack.pro/demo/element/tablepress/) - TablePress allows you to easily create and manage beautiful tables. You can embed the tables into posts, pages, or text widgets with a simple Shortcode.
|
132 |
-
103. [WP Forms](https://elementpack.pro/demo/element/wp-forms/) - Drag & Drop WordPress Form Builder plugin supported by your element pack pro WordPress plugin to make the design work much more easier.
|
133 |
-
104. [WooCommerce Add to Cart](https://elementpack.pro/demo/element/woocommerce-add-to-cart/) - To increase more sales and post engagement, WooCommerce Add to Cart button widget help you to do it. You can offer your customer with more engaging design.
|
134 |
-
105. [WooCommerce Cart Page](https://elementpack.pro/demo/element/woocommerce-cart-page/) - WooCommerce Cart Page customization to match with your design and brand. You can change the table heading,body,button and badge.
|
135 |
-
106. [WooCommerce Categories](https://elementpack.pro/demo/element/woocommerce-categories/) - To display your categories on any page with products, to attract and make US more positive way WooCommerce Categories widgets is great options.
|
136 |
-
107. [WooCommerce Checkout Page](https://elementpack.pro/demo/element/woocommerce-checkout-page/) - To match your brand design, Customize look and feel on your ecommerce website WooCommerce Checkout widget tools is a great way.
|
137 |
-
108. [WooCommerce Carousel](https://elementpack.pro/demo/element/woocommerce-carousel/) - A wow way to give master touch on your ecommerce website with WooCommerce Carousel, lots of feature,badge,customization to increase CTR
|
138 |
-
109. [WooCommerce Products](https://elementpack.pro/demo/element/woocommerce-products/) - Amazing way to display your products on your website.Its dynamic looks and feature will blow your visitor and convert them to customer.
|
139 |
-
110. [WooCommerce Slider](https://elementpack.pro/demo/element/woocommerce-slider/) - Amazing and fancy product slider for your ecommerce site, to display and show featured product with price and other style modification
|
140 |
-
111. [WooCommerce Tracking Form](https://elementpack.pro/demo/element/tracking-form/) - To track your order please enter Order ID in the box below. This was given to you on your receipt and in the confirmation email.
|
141 |
-
112. [Element Parallax](https://
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|