Version Description
Hello! We've recently acquired this plugin and included tons of new features.
Download this release
Release Info
Developer | quadlayers |
Plugin | WhatsApp Chat WP |
Version | 4.4.3 |
Comparing to | |
See all releases |
Code changes from version 4.4.2 to 4.4.3
- assets/css/qlwapp-admin.css +2 -2
- assets/css/qlwapp-admin.min.css +2 -1
- assets/css/qlwapp.css +1 -0
- assets/css/qlwapp.min.css +1 -1
- assets/js/qlwapp-admin.js +2 -2
- assets/js/qlwapp-admin.min.js +1 -1
- assets/js/qlwapp-modal.js +177 -0
- assets/js/qlwapp-modal.min.js +1 -0
- assets/js/qlwapp.js +49 -116
- assets/js/qlwapp.min.js +1 -2
- assets/less/qlwapp.less +1 -0
- changelog.txt +3 -0
- includes/defaults.php +27 -16
- includes/pages/button.php +6 -6
- includes/pages/contacts.php +139 -0
- includes/pages/display.php +1 -1
- includes/settings.php +62 -25
- readme.txt +1 -1
- wp-whatsapp-chat.php +3 -2
assets/css/qlwapp-admin.css
CHANGED
@@ -476,8 +476,8 @@
|
|
476 |
}
|
477 |
|
478 |
.about-wrap .form-table td img.qlwapp-avatar {
|
479 |
-
width:
|
480 |
-
height:
|
481 |
}
|
482 |
|
483 |
.qlwrap .nav-tab i {
|
476 |
}
|
477 |
|
478 |
.about-wrap .form-table td img.qlwapp-avatar {
|
479 |
+
width: 50px;
|
480 |
+
height: 50px;
|
481 |
}
|
482 |
|
483 |
.qlwrap .nav-tab i {
|
assets/css/qlwapp-admin.min.css
CHANGED
@@ -1 +1,2 @@
|
|
1 |
-
.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;margin:0 0 -4px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left;padding:0}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:0;font-size:100%;margin:0;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #ccc;border-radius:2px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{margin:0;padding:8px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected],.select2-results__option[data-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #ccc;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:32px;position:absolute;top:0;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection{background-color:#fff;border:1px solid #ccc;border-radius:2px;cursor:text}.select2-container--default .select2-selection .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection .select2-selection__rendered li{list-style:none;margin:5px 5px 0 0}.select2-container--default .select2-selection .select2-selection__rendered li:before{content:'';display:none}.select2-container--default .select2-selection .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection .select2-selection__choice{background-color:#e4e4e4;border:1px solid #ccc;border-radius:2px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir=rtl] .select2-selection .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection .select2-selection__placeholder{float:right}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection{outline:0}.select2-container--default.select2-container--disabled .select2-selection{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #ccc}.select2-container--default .select2-search--inline .select2-search__field{background:0;border:0;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background-color:#0073aa;color:#fff}#qlwapp_modal .attachments-browser .attachments{top:0;left:0;right:0}#qlwapp_modal .wp-core-ui .attachment .thumbnail,#qlwapp_modal .wp-core-ui .attachment-info .thumbnail{vertical-align:middle;text-align:center}#qlwapp_modal .wp-core-ui .attachment .thumbnail:before,#qlwapp_modal .wp-core-ui .attachment-info .thumbnail:before{content:'';display:inline-block;width:0;height:100%;vertical-align:middle}#qlwapp_modal .wp-core-ui .attachment .thumbnail>i,#qlwapp_modal .wp-core-ui .attachment-info .thumbnail>i{text-align:center;font-size:3vw;display:inline-block;vertical-align:middle;height:auto;width:auto}#qlwapp_modal .wp-core-ui .attachment-info .thumbnail{width:60px;height:60px;background-color:#fff}#qlwapp_modal .wp-core-ui .attachment-info .thumbnail>i{font-size:2em;position:relative;left:-1px}#qlwapp_modal .wp-core-ui .attachment-info .qlwapp-color-picker .container{box-sizing:border-box;width:100%;border-bottom:1px solid #ddd;padding:11px 0}#qlwapp_modal .wp-core-ui .attachment-info .qlwapp-color-picker #qlwapp-input-color{box-sizing:border-box;margin:1px;width:65%;float:right}#qlwapp_modal .wp-core-ui .attachment-info .qlwapp-color-picker .wp-picker-container .wp-color-result{width:100%;margin-top:5px!important}#qlwapp_modal .wp-core-ui .attachment-info .qlwapp-color-picker .wp-picker-container .wp-color-result-text{z-index:1;position:relative}.about-wrap .form-table td img.qlwapp-avatar{width:120px;height:120px}.qlwrap .nav-tab i{line-height:26px}.qlwrap .form-table td{vertical-align:middle}.qlwrap .qlwapp-input,.qlwrap .qlwapp-select2{width:350px;max-width:100%}.qlwrap .qlwapp-input{margin:0;padding:6px;box-sizing:border-box;vertical-align:top}
|
|
1 |
+
|
2 |
+
.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;margin:0 0 -4px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left;padding:0}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:0;font-size:100%;margin:0;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #ccc;border-radius:2px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{margin:0;padding:8px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected],.select2-results__option[data-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #ccc;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:32px;position:absolute;top:0;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection{background-color:#fff;border:1px solid #ccc;border-radius:2px;cursor:text}.select2-container--default .select2-selection .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection .select2-selection__rendered li{list-style:none;margin:5px 5px 0 0}.select2-container--default .select2-selection .select2-selection__rendered li:before{content:'';display:none}.select2-container--default .select2-selection .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection .select2-selection__choice{background-color:#e4e4e4;border:1px solid #ccc;border-radius:2px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir=rtl] .select2-selection .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection .select2-selection__placeholder{float:right}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection{outline:0}.select2-container--default.select2-container--disabled .select2-selection{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #ccc}.select2-container--default .select2-search--inline .select2-search__field{background:0;border:0;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background-color:#0073aa;color:#fff}#qlwapp_modal .attachments-browser .attachments{top:0;left:0;right:0}#qlwapp_modal .wp-core-ui .attachment .thumbnail,#qlwapp_modal .wp-core-ui .attachment-info .thumbnail{vertical-align:middle;text-align:center}#qlwapp_modal .wp-core-ui .attachment .thumbnail:before,#qlwapp_modal .wp-core-ui .attachment-info .thumbnail:before{content:'';display:inline-block;width:0;height:100%;vertical-align:middle}#qlwapp_modal .wp-core-ui .attachment .thumbnail>i,#qlwapp_modal .wp-core-ui .attachment-info .thumbnail>i{text-align:center;font-size:3vw;display:inline-block;vertical-align:middle;height:auto;width:auto}#qlwapp_modal .wp-core-ui .attachment-info .thumbnail{width:60px;height:60px;background-color:#fff}#qlwapp_modal .wp-core-ui .attachment-info .thumbnail>i{font-size:2em;position:relative;left:-1px}#qlwapp_modal .wp-core-ui .attachment-info .qlwapp-color-picker .container{box-sizing:border-box;width:100%;border-bottom:1px solid #ddd;padding:11px 0}#qlwapp_modal .wp-core-ui .attachment-info .qlwapp-color-picker #qlwapp-input-color{box-sizing:border-box;margin:1px;width:65%;float:right}#qlwapp_modal .wp-core-ui .attachment-info .qlwapp-color-picker .wp-picker-container .wp-color-result{width:100%;margin-top:5px!important}#qlwapp_modal .wp-core-ui .attachment-info .qlwapp-color-picker .wp-picker-container .wp-color-result-text{z-index:1;position:relative}.about-wrap .form-table td img.qlwapp-avatar{width:50px;height:50px}.qlwrap .nav-tab i{line-height:26px}.qlwrap .form-table td{vertical-align:middle}.qlwrap .qlwapp-input,.qlwrap .qlwapp-select2{width:350px;max-width:100%}.qlwrap .qlwapp-input{margin:0;padding:6px;box-sizing:border-box;vertical-align:top}
|
assets/css/qlwapp.css
CHANGED
@@ -423,6 +423,7 @@
|
|
423 |
position: relative;
|
424 |
cursor: pointer;
|
425 |
width: 100%;
|
|
|
426 |
}
|
427 |
#qlwapp .qlwapp-box .qlwapp-account:only-of-type {
|
428 |
padding-top: 36px;
|
423 |
position: relative;
|
424 |
cursor: pointer;
|
425 |
width: 100%;
|
426 |
+
text-decoration: none;
|
427 |
}
|
428 |
#qlwapp .qlwapp-box .qlwapp-account:only-of-type {
|
429 |
padding-top: 36px;
|
assets/css/qlwapp.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
|
2 |
-
@font-face{font-family:'qlwapp-whatsapp';src:url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAYEAAsAAAAABbgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFKmNtYXAAAAFoAAAAVAAAAFQXVtKHZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAfwAAAH8pb7IGGhlYWQAAAPAAAAANgAAADYUXm9HaGhlYQAAA/gAAAAkAAAAJAfAA8ZobXR4AAAEHAAAABQAAAAUCgAAA2xvY2EAAAQwAAAADAAAAAwAKAESbWF4cAAABDwAAAAgAAAAIAAJAJluYW1lAAAEXAAAAYYAAAGGmUoJ+3Bvc3QAAAXkAAAAIAAAACAAAwAAAAMDAAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QADwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkA//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAwAD/8AD/gPAACcATwCWAAABJicuAScmIyIHDgEHBhUUFhcDJR4BMzE4ATEyNz4BNzY1NCcuAScmATEiJi8BBzcnLgE1NDc+ATc2MzIXHgEXFhcWFx4BFxYVFAcOAQcGIxMuAScmIgcOAQcOAScuAScuAScmNjc+ATc+ATc2JicuAScuASMmIiMiBgcOARUUFhcWFx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AG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');font-weight:normal;font-style:normal}.qlwapp-whatsapp-icon{font-family:'qlwapp-whatsapp'!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}.qlwapp-whatsapp-icon:before{content:"\e900"}#qlwapp{pointer-events:none;box-sizing:border-box}@media(min-width:430px){#qlwapp{width:430px}}#qlwapp *{box-sizing:border-box}#qlwapp.qlwapp-js-ready{display:block}#qlwapp.qlwapp-hide,#qlwapp.qlwapp-desktop.mobile,#qlwapp.qlwapp-mobile.desktop{display:none}#qlwapp .qlwapp-readonly,#qlwapp.qlwapp-readonly{pointer-events:none;opacity:.5}#qlwapp .qlwapp-readonly.qlwapp-toggle{display:none!important}#qlwapp .qlwapp-disabled,#qlwapp.qlwapp-disabled{display:none;visibility:hidden}#qlwapp.qlwapp-middle-left,#qlwapp.qlwapp-bottom-left,#qlwapp.qlwapp-middle-right,#qlwapp.qlwapp-bottom-right{position:fixed;z-index:9999999}#qlwapp.qlwapp-middle-left,#qlwapp.qlwapp-bottom-left{right:auto;left:0}#qlwapp.qlwapp-middle-left.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-bottom-left.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-bottom-left.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-left.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-bottom-left.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-toggle,#qlwapp.qlwapp-bottom-left.qlwapp-button .qlwapp-toggle{margin-left:20px}#qlwapp.qlwapp-middle-left.qlwapp-bubble .qlwapp-toggle .qlwapp-text,#qlwapp.qlwapp-bottom-left.qlwapp-bubble .qlwapp-toggle .qlwapp-text{right:auto;left:60px}#qlwapp.qlwapp-middle-left .qlwapp-box:before,#qlwapp.qlwapp-bottom-left .qlwapp-box:before{right:auto;left:20px}#qlwapp.qlwapp-middle-right,#qlwapp.qlwapp-bottom-right{left:auto;right:0}#qlwapp.qlwapp-middle-right.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-bottom-right.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-bottom-right.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-right.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-bottom-right.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-toggle,#qlwapp.qlwapp-bottom-right.qlwapp-button .qlwapp-toggle{margin-right:20px}#qlwapp.qlwapp-middle-left,#qlwapp.qlwapp-middle-right{top:40%;bottom:auto}#qlwapp.qlwapp-middle-left .qlwapp-developer,#qlwapp.qlwapp-middle-right .qlwapp-developer{padding:0 24px}#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-toggle{margin-left:-48px;padding-left:60px}#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-toggle{margin-right:-48px;padding-right:60px}#qlwapp.qlwapp-bottom-left,#qlwapp.qlwapp-bottom-right{top:auto;bottom:0}#qlwapp.qlwapp-rounded.qlwapp-bubble .qlwapp-toggle{border-radius:50%}#qlwapp.qlwapp-rounded.qlwapp-button .qlwapp-toggle{border-radius:50px}@media(min-width:430px){#qlwapp.qlwapp-rounded .qlwapp-box{border-radius:8px}}#qlwapp.qlwapp-rounded .qlwapp-box .qlwapp-user,#qlwapp.qlwapp-rounded .qlwapp-box .qlwapp-message{border-radius:4px}#qlwapp p:last-child{margin:0}#qlwapp time{opacity:.8;font-style:italic;font-size:10px}#qlwapp .qlwapp-container{display:flex;flex-direction:column}#qlwapp .qlwapp-clearfix:before,#qlwapp .qlwapp-clearfix:after{content:'';display:block;clear:both}#qlwapp .qlwapp-previous,#qlwapp .qlwapp-close{display:block;opacity:.8;font-style:unset;font-size:24px;font-weight:bold;width:24px;height:24px;cursor:pointer;text-align:center;line-height:24px;z-index:1}#qlwapp .qlwapp-previous{width:16px;height:36px;cursor:pointer;text-align:center;line-height:36px;margin-right:auto}#qlwapp .qlwapp-developer{font-size:8px;top:-20px;position:relative}#qlwapp .qlwapp-developer,#qlwapp .qlwapp-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;margin-right:auto}#qlwapp .qlwapp-toggle{pointer-events:all;cursor:pointer;box-shadow:0 1px 6px 0 rgba(0,0,0,0.06),0 2px 32px 0 rgba(0,0,0,0.16);margin-top:24px;margin-bottom:24px;position:relative;text-decoration:none}#qlwapp .qlwapp-toggle,#qlwapp .qlwapp-toggle:active,#qlwapp .qlwapp-toggle:focus,#qlwapp .qlwapp-toggle:hover{outline:0;text-decoration:none}#qlwapp .qlwapp-avatar .qlwapp-avatar-container{overflow:hidden;border-radius:50%;width:inherit;height:inherit}#qlwapp .qlwapp-avatar .qlwapp-avatar-container img{width:100%;height:auto}#qlwapp.qlwapp-bubble .qlwapp-toggle{width:60px;height:60px}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-icon,#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-close{position:absolute;display:block;pointer-events:none;font-size:24px}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-text{position:absolute;right:60px;height:60px;margin:0 24px;display:flex;align-items:center;justify-content:flex-end;font-weight:bold;white-space:pre}#qlwapp.qlwapp-button .qlwapp-toggle{height:40px;white-space:nowrap;padding:12px 24px}#qlwapp.qlwapp-button .qlwapp-toggle .qlwapp-icon{margin:0 12px 0 0}#qlwapp.qlwapp-button .qlwapp-toggle .qlwapp-close{display:none}#qlwapp .qlwapp-box{pointer-events:all;padding-bottom:56px;position:fixed;top:auto;bottom:0;left:0;right:0;z-index:99999;box-shadow:0 5px 40px 5px rgba(0,0,0,0.5)}@media(min-width:430px){#qlwapp .qlwapp-box{position:relative;top:auto;bottom:auto;left:auto;right:auto;box-shadow:0 8px 25px -5px rgba(45,62,79,0.15);margin-top:24px;margin-left:24px;margin-right:24px;margin-bottom:12px}#qlwapp .qlwapp-box:before{content:'';position:absolute;bottom:-6px;right:24px;width:13px;height:13px;transform:rotate(45deg)}#qlwapp .qlwapp-box .qlwapp-header{border-top-left-radius:inherit;border-top-right-radius:inherit}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}}#qlwapp .qlwapp-box .qlwapp-header{position:relative;overflow:hidden}#qlwapp .qlwapp-box .qlwapp-header:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;background:linear-gradient(135deg,transparent 0,rgba(0,0,0,0.3) 100%)}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-close{position:absolute;top:12px;right:12px}@media(min-width:430px){#qlwapp .qlwapp-box .qlwapp-header .qlwapp-close{position:absolute;top:7px;right:7px;font-size:16px}}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-description{position:relative}#qlwapp .qlwapp-box .qlwapp-description,#qlwapp .qlwapp-box .qlwapp-contact{padding:24px 36px;height:100%}#qlwapp .qlwapp-box .qlwapp-description p,#qlwapp .qlwapp-box .qlwapp-description h3{color:inherit;font-family:inherit;margin:0}#qlwapp .qlwapp-box .qlwapp-description h3{margin:0 0 .25em 0}#qlwapp .qlwapp-box .qlwapp-contact{display:flex;justify-content:flex-end;align-items:center;text-align:right}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-previous{position:relative;left:-16px}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-previous>i{line-height:36px}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-avatar{width:42px;height:42px}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-label,#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-name{color:inherit}#qlwapp .qlwapp-box .qlwapp-account{color:inherit;padding:16px 36px;display:flex;align-items:center;overflow:hidden;position:relative;cursor:pointer;width:100%}#qlwapp .qlwapp-box .qlwapp-account:only-of-type{padding-top:36px;padding-bottom:36px}#qlwapp .qlwapp-box .qlwapp-info{padding:0 16px}#qlwapp .qlwapp-box .qlwapp-avatar{position:relative;width:62px;height:62px}#qlwapp .qlwapp-box .qlwapp-avatar:after{content:'';display:block;width:15px;height:15px;position:absolute;bottom:2px;right:2px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAXgklEQVR4Ad2aCXhV9Zn/scv/P/N02mfmmc50anWqdUHUouwLYSFhCQlhIYEkLEnYF1SkoriXKkWxLo+2OlintopOq9UiewJJSEJCErKHsBAWCIshYSFAWO5y7zvf833uub78nnNvEhaxc9oP7295f+/vPd/znuXmsZ2I3Eh+AO4FkWAe+D3IAlWgDtSD4+AI2AMKwQrwEkgC3cGtV7y/X2j9bAdsG7kRoj0ApoOPwWHglqs7zoGt4AUwCvzw/6KAt4JnQC7wyvU9joAPQRz47t+7gBHgU3BKbsyxAzwGbvl7E7ArWCffnOMkWAD++Zsu4O3gXeCTb+axB6R8EwW8CTwK6uUqDq/fJxd9F6XJc0aOXqqXAxfqZN+FA3Lo4hFpcB2XZm+zuP1uuQZHOuj0TRHwDrBeruA47joh287tkM+OrZKlB96UZ2oXyy92PSNzdyyQ6TXzZPK2hyRt2xyZuu1hmbF9vjy8c6Es3L1IFu1dKv916H3JOVkAkQ/JBe9FuYLjLHjkRgs4EjQA8avM/MqaxzFXg2SeyJGl+9+kSBOrZ0pS1VQZXzWd7UnVsySlerakQrg0Mtdqg9kYn0WfCVUzrDVgGn3mQ/TlRz+R8jNV4vK1uUI/Av9yIwScBnxKNmK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0bx+9btRV66L4GJoIVmRy2o/xAmmyk9Xdpebv+jMW/yO1b3lLuunGERtHx763LUmgoLhsYHK7sw4D6wfLE9ULJb0o5vkgusi8/NBOJwLoHi2WGrMZeV/3O/zRVO4KxPQY7PUhYAUD9Y+eYyhqrzBCqNgLpUELPtKsMuSpQW2kH6Ri+6Lkn+sWN7e/SeZtOUR6Zo+jJVEUVd0lh+jSq1b/icruqCqutKqcTx38SWwNlIis8bK05Uvy19xmx44c8i+E5gv8lGVRrGCeTEngHMu8vt9D1C0qxUQwmzUAtptWjsBigSUpQ/9VLKEcYyLYV8Qz1dVHHhE1JzcJdlf5sv7e/8iL1a/IY+W/lJmFi+UGcVPyKytT8rCiiXy2o535W9162RrY4XsbToo5y41Mw5BHO5hiMZ+IAcSuGXxyHoVQn3PEuHqBPR6LG5DzHO2MIRtbKhE4Jj24Rx9QqP8GYcE1/Ck/R6rbMQWVT1TFT5j3GNXmo6n28754lGVCYH6UCRw1QJ6UX0gOXiyenN90u6WROLfzBpxZT9GRX/kwkVuQVBTTIW+5YBDDI61AeS03fo41iJdMwFx4m+0IRldPedRvVsQaIHP5++Gjf/N3hxCdkXSf4GfG8iNgcLtQT5Tkdc/UZxrLSA2+EcIUdtKwZrgXw5x3sbiGGx0e6jN4UML7sOaV9Ue1x3sdQZ7pmPvkVq46yVgB2zqC5GIF/PFEOP3cJ6MwLeYG7UsINo+tv8BxKJi30HMkusg2jHE/Rv2eAI5/KfO53oLOMcQ7ABO/l1MpiFQRzPwVQho0gU+qdhvKcjE3odxt593upgGrsCdsA3rl4P5iDUc+/67zuHrFPB9JLE6INj94Hs60HUU0OT74DbQEfQE/RAjMsBA9CNAZ9Ae/Ah829z3Rgj4v+tgYwWlsH1vAAAAAElFTkSuQmCC);background-color:transparent;background-repeat:no-repeat;background-position:center center;background-size:cover;z-index:4}#qlwapp .qlwapp-box .qlwapp-time,#qlwapp .qlwapp-box .qlwapp-label,#qlwapp .qlwapp-box .qlwapp-offline-text{font-size:12px;line-height:1.5em;opacity:.6;display:block}#qlwapp .qlwapp-box .qlwapp-time{font-size:11px;font-style:italic}#qlwapp .qlwapp-box .qlwapp-name{display:block;font-weight:bold;line-height:1.5em}#qlwapp .qlwapp-box .qlwapp-body{overflow-x:hidden;overflow-y:auto}#qlwapp .qlwapp-box .qlwapp-body .qlwapp-carousel{max-height:470px;min-height:134px}#qlwapp .qlwapp-box .qlwapp-chat{display:flex;flex-direction:column;overflow:hidden}#qlwapp .qlwapp-box .qlwapp-user,#qlwapp .qlwapp-box .qlwapp-message{padding:16px 24px;margin:36px;position:relative;word-wrap:break-word;width:calc(100% - 36px*2)}#qlwapp .qlwapp-box .qlwapp-user:before,#qlwapp .qlwapp-box .qlwapp-message:before{content:'';position:absolute;top:-6px;right:24px;width:13px;height:13px;transform:rotate(45deg)}#qlwapp .qlwapp-box .qlwapp-user{width:auto;max-width:75%;align-self:flex-start;justify-self:flex-end;margin-top:0}#qlwapp .qlwapp-box .qlwapp-user:before{top:auto;bottom:-6px;left:24px}#qlwapp .qlwapp-box .qlwapp-padding{padding-bottom:56px}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response{position:absolute;bottom:0;left:0;right:0;height:auto;width:100%}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-footer pre,#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-footer textarea,#qlwapp .qlwapp-box .qlwapp-response textarea{max-height:160px}#qlwapp .qlwapp-box .qlwapp-footer pre,#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-footer textarea,#qlwapp .qlwapp-box .qlwapp-response textarea{color:inherit;background-color:inherit}#qlwapp .qlwapp-box .qlwapp-footer:before,#qlwapp .qlwapp-box .qlwapp-response:before{pointer-events:none;position:absolute;content:'';height:59px;top:-59px;background-image:linear-gradient(transparent,rgba(0,0,0,0.05));left:0;right:0}#qlwapp .qlwapp-box .qlwapp-footer{min-height:56px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;padding:12px 36px}#qlwapp .qlwapp-box .qlwapp-footer p{padding:0;font-size:inherit}#qlwapp .qlwapp-box .qlwapp-footer p:last-child{margin-bottom:0}#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-response textarea,#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons{min-height:56px}#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-response textarea{width:100%;height:100%;resize:none;border:0;padding:18px 56px 18px 36px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:normal;line-height:20px;white-space:pre-wrap;word-wrap:break-word;border-radius:inherit;margin:0}#qlwapp .qlwapp-box .qlwapp-response pre{visibility:hidden}#qlwapp .qlwapp-box .qlwapp-response textarea{position:absolute;bottom:0;left:0}#qlwapp .qlwapp-box .qlwapp-response textarea:focus{outline:0}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons{position:absolute;top:0;right:21px;display:flex;align-items:center}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons.active>i{display:none}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons.active>i.qlwf-emoji{display:block}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons>i{opacity:.4}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons>i,#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons>a{cursor:pointer;margin:0 0 0 10px;display:inherit;font-size:18px;line-height:24px}#qlwapp .qlwapp-previous,#qlwapp .qlwapp-close,#qlwapp .qlwapp-toggle,#qlwapp .qlwapp-box .qlwapp-header,#qlwapp .qlwapp-box .qlwapp-contact,#qlwapp .qlwapp-box .qlwapp-user{color:#fff}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-text{color:#303030}#qlwapp .qlwapp-box,#qlwapp .qlwapp-box:before{background-color:#fff}#qlwapp .qlwapp-box .qlwapp-account{background-color:#fff}#qlwapp .qlwapp-box .qlwapp-account:not(:first-child){border-top:1px solid #f5f5f5}#qlwapp .qlwapp-box .qlwapp-avatar .qlwapp-avatar-container{background-color:#eee}#qlwapp .qlwapp-box .qlwapp-message,#qlwapp .qlwapp-box .qlwapp-message:before{background-color:#eee}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response{color:#303030;background-color:#fff;border-top:1px solid #e6e6e6}#qlwapp .qlwapp-toggle,#qlwapp .qlwapp-box .qlwapp-header,#qlwapp .qlwapp-box .qlwapp-user,#qlwapp .qlwapp-box .qlwapp-user:before{background-color:#303030}#qlwapp{display:none}#qlwapp.qlwapp-show .qlwapp-box{visibility:visible;opacity:1;transform:translateY(0) scale(1);display:block}#qlwapp.qlwapp-transition .qlwapp-box{visibility:visible;display:block}#qlwapp.qlwapp-bubble.qlwapp-show .qlwapp-toggle .qlwapp-icon{transform:scale(0,0);opacity:0}#qlwapp.qlwapp-bubble.qlwapp-show .qlwapp-toggle .qlwapp-close{transform:scale(1,1);opacity:1}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-close{transform:scale(0,0);opacity:0}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-icon{transform:scale(1,1);opacity:1}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-icon,#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-close{transition:transform 300ms cubic-bezier(0.215,0.61,0.355,1),opacity 300ms ease-in}#qlwapp .qlwapp-box{display:none;opacity:0;visibility:hidden;transform:translateY(50px);transition:transform 300ms cubic-bezier(0.215,0.61,0.355,1),opacity 300ms ease-in}@media(min-width:430px){#qlwapp .qlwapp-box{transform:translateY(50px) scale(0.9)}}#qlwapp .qlwapp-box .qlwapp-carousel{display:flex;width:200%;height:100%}#qlwapp .qlwapp-box .qlwapp-carousel .qlwapp-slide{width:50%;transition:max-height 500ms cubic-bezier(0.215,0.61,0.355,1) 1000ms,transform 300ms cubic-bezier(0.215,0.61,0.355,1) 500ms,opacity 500ms ease-in 500ms;height:100%;overflow:hidden}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-slide{max-height:300px}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box .qlwapp-header .qlwapp-label,#qlwapp .qlwapp-box .qlwapp-header .qlwapp-avatar{opacity:0;transition:transform cubic-bezier(0.215,0.61,0.355,1) .3s,opacity ease-in .3s}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box .qlwapp-header .qlwapp-label{transform:translateX(56px)}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-avatar{transform:scale(0.5)}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-name{transition-delay:800ms}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-label{transition-delay:850ms}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-avatar{transition-delay:900ms}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-previous,#qlwapp .qlwapp-box .qlwapp-message,#qlwapp .qlwapp-box .qlwapp-user{transition:transform cubic-bezier(0.215,0.61,0.355,1) 600ms,opacity ease-in 200ms}#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-previous,#qlwapp .qlwapp-box .qlwapp-user{opacity:0}#qlwapp .qlwapp-box .qlwapp-response{pointer-events:none}#qlwapp .qlwapp-box .qlwapp-previous{transform:translateX(56px)}#qlwapp .qlwapp-box .qlwapp-user{transform:translateY(56px)}#qlwapp .qlwapp-box .qlwapp-close{transition:opacity 300ms cubic-bezier(0.215,0.61,0.355,1)}#qlwapp .qlwapp-box .qlwapp-description{transition:transform 600ms cubic-bezier(0.215,0.61,0.355,1),opacity 900ms cubic-bezier(0.215,0.61,0.355,1)}#qlwapp .qlwapp-box .qlwapp-account{transition:transform 600ms cubic-bezier(0.215,0.61,0.355,1),opacity 150ms ease-in}#qlwapp .qlwapp-box .qlwapp-previous{transition-delay:800ms}#qlwapp .qlwapp-box .qlwapp-message{transition-delay:900ms}#qlwapp .qlwapp-box .qlwapp-close,#qlwapp .qlwapp-box .qlwapp-description{transition-delay:900ms}#qlwapp .qlwapp-box .qlwapp-user{transition-delay:200ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(6){transition-delay:600ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(5){transition-delay:500ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(4){transition-delay:400ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(3){transition-delay:300ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(2){transition-delay:200ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(1){transition-delay:100ms}#qlwapp .qlwapp-box .qlwapp-slide .qlwapp-message{opacity:0;transform:translateY(-56px)}#qlwapp .qlwapp-box .qlwapp-slide .qlwapp-box .qlwapp-account:hover{background-color:#fafafa}#qlwapp .qlwapp-box.response .qlwapp-carousel .qlwapp-slide{transform:translateX(-100%)}#qlwapp .qlwapp-box.response .qlwapp-body .qlwapp-carousel{overflow:hidden;max-height:134px!important;min-height:122px}#qlwapp .qlwapp-box.response .qlwapp-close{transition-delay:0ms}#qlwapp .qlwapp-box.response .qlwapp-close,#qlwapp .qlwapp-box.response .qlwapp-footer,#qlwapp .qlwapp-box.response .qlwapp-description,#qlwapp .qlwapp-box.response .qlwapp-account{opacity:0}#qlwapp .qlwapp-box.response .qlwapp-account{transform:translateY(-33.333%);border-top-color:transparent!important}#qlwapp .qlwapp-box.response .qlwapp-user{display:block}#qlwapp .qlwapp-box.response .qlwapp-message,#qlwapp .qlwapp-box.response .qlwapp-previous,#qlwapp .qlwapp-box.response .qlwapp-response{opacity:1}#qlwapp .qlwapp-box.response .qlwapp-response{pointer-events:all}#qlwapp .qlwapp-box.response .qlwapp-message,#qlwapp .qlwapp-box.response .qlwapp-previous{transform:translate(0)}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-slide{max-height:84px}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-avatar{opacity:1}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-label{opacity:.5}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-label{transform:translateX(0)}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-avatar{transform:scale(1)}#qlwapp .qlwapp-box.response.opening .qlwapp-footer,#qlwapp .qlwapp-box.response.opening .qlwapp-response,#qlwapp .qlwapp-box.response.opening .qlwapp-close,#qlwapp .qlwapp-box.response.opening .qlwapp-previous,#qlwapp .qlwapp-box.response.opening .qlwapp-description,#qlwapp .qlwapp-box.response.opening .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box.response.opening .qlwapp-header .qlwapp-label{visibility:visible}#qlwapp .qlwapp-box.texting .qlwapp-body{overflow-y:auto}#qlwapp .qlwapp-box.texting .qlwapp-user{opacity:1;transform:translate(0)}#qlwapp .qlwapp-box.closing .qlwapp-previous{transition-delay:0ms;transform:translateX(-24px);opacity:0;transition:transform cubic-bezier(0.215,0.61,0.355,1) 300ms,opacity ease-out 200ms}#qlwapp .qlwapp-box.closing .qlwapp-description{opacity:0}
|
1 |
|
2 |
+
@font-face{font-family:'qlwapp-whatsapp';src:url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAYEAAsAAAAABbgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFKmNtYXAAAAFoAAAAVAAAAFQXVtKHZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAfwAAAH8pb7IGGhlYWQAAAPAAAAANgAAADYUXm9HaGhlYQAAA/gAAAAkAAAAJAfAA8ZobXR4AAAEHAAAABQAAA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VZQAAAADYoJVlAAD/wAP+A8AAAAAIAAIAAAAAAAAAAQAAA8D/wAAABAAAAAAAA/4AAQAAAAAAAAAAAAAAAAAAAAUEAAAAAAAAAAAAAAACAAAABAAAAwAAAAAACgAUAB4A/gABAAAABQCXAAMAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEABwAAAAEAAAAAAAIABwBgAAEAAAAAAAMABwA2AAEAAAAAAAQABwB1AAEAAAAAAAUACwAVAAEAAAAAAAYABwBLAAEAAAAAAAoAGgCKAAMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');font-weight:normal;font-style:normal}.qlwapp-whatsapp-icon{font-family:'qlwapp-whatsapp'!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}.qlwapp-whatsapp-icon:before{content:"\e900"}#qlwapp{pointer-events:none;box-sizing:border-box}@media(min-width:430px){#qlwapp{width:430px}}#qlwapp *{box-sizing:border-box}#qlwapp.qlwapp-js-ready{display:block}#qlwapp.qlwapp-hide,#qlwapp.qlwapp-desktop.mobile,#qlwapp.qlwapp-mobile.desktop{display:none}#qlwapp .qlwapp-readonly,#qlwapp.qlwapp-readonly{pointer-events:none;opacity:.5}#qlwapp .qlwapp-readonly.qlwapp-toggle{display:none!important}#qlwapp .qlwapp-disabled,#qlwapp.qlwapp-disabled{display:none;visibility:hidden}#qlwapp.qlwapp-middle-left,#qlwapp.qlwapp-bottom-left,#qlwapp.qlwapp-middle-right,#qlwapp.qlwapp-bottom-right{position:fixed;z-index:9999999}#qlwapp.qlwapp-middle-left,#qlwapp.qlwapp-bottom-left{right:auto;left:0}#qlwapp.qlwapp-middle-left.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-bottom-left.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-bottom-left.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-left.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-bottom-left.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-toggle,#qlwapp.qlwapp-bottom-left.qlwapp-button .qlwapp-toggle{margin-left:20px}#qlwapp.qlwapp-middle-left.qlwapp-bubble .qlwapp-toggle .qlwapp-text,#qlwapp.qlwapp-bottom-left.qlwapp-bubble .qlwapp-toggle .qlwapp-text{right:auto;left:60px}#qlwapp.qlwapp-middle-left .qlwapp-box:before,#qlwapp.qlwapp-bottom-left .qlwapp-box:before{right:auto;left:20px}#qlwapp.qlwapp-middle-right,#qlwapp.qlwapp-bottom-right{left:auto;right:0}#qlwapp.qlwapp-middle-right.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-bottom-right.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-bottom-right.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-right.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-bottom-right.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-toggle,#qlwapp.qlwapp-bottom-right.qlwapp-button .qlwapp-toggle{margin-right:20px}#qlwapp.qlwapp-middle-left,#qlwapp.qlwapp-middle-right{top:40%;bottom:auto}#qlwapp.qlwapp-middle-left .qlwapp-developer,#qlwapp.qlwapp-middle-right .qlwapp-developer{padding:0 24px}#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-toggle{margin-left:-48px;padding-left:60px}#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-toggle{margin-right:-48px;padding-right:60px}#qlwapp.qlwapp-bottom-left,#qlwapp.qlwapp-bottom-right{top:auto;bottom:0}#qlwapp.qlwapp-rounded.qlwapp-bubble .qlwapp-toggle{border-radius:50%}#qlwapp.qlwapp-rounded.qlwapp-button .qlwapp-toggle{border-radius:50px}@media(min-width:430px){#qlwapp.qlwapp-rounded .qlwapp-box{border-radius:8px}}#qlwapp.qlwapp-rounded .qlwapp-box .qlwapp-user,#qlwapp.qlwapp-rounded .qlwapp-box .qlwapp-message{border-radius:4px}#qlwapp p:last-child{margin:0}#qlwapp time{opacity:.8;font-style:italic;font-size:10px}#qlwapp .qlwapp-container{display:flex;flex-direction:column}#qlwapp .qlwapp-clearfix:before,#qlwapp .qlwapp-clearfix:after{content:'';display:block;clear:both}#qlwapp .qlwapp-previous,#qlwapp .qlwapp-close{display:block;opacity:.8;font-style:unset;font-size:24px;font-weight:bold;width:24px;height:24px;cursor:pointer;text-align:center;line-height:24px;z-index:1}#qlwapp .qlwapp-previous{width:16px;height:36px;cursor:pointer;text-align:center;line-height:36px;margin-right:auto}#qlwapp .qlwapp-developer{font-size:8px;top:-20px;position:relative}#qlwapp .qlwapp-developer,#qlwapp .qlwapp-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;margin-right:auto}#qlwapp .qlwapp-toggle{pointer-events:all;cursor:pointer;box-shadow:0 1px 6px 0 rgba(0,0,0,0.06),0 2px 32px 0 rgba(0,0,0,0.16);margin-top:24px;margin-bottom:24px;position:relative;text-decoration:none}#qlwapp .qlwapp-toggle,#qlwapp .qlwapp-toggle:active,#qlwapp .qlwapp-toggle:focus,#qlwapp .qlwapp-toggle:hover{outline:0;text-decoration:none}#qlwapp .qlwapp-avatar .qlwapp-avatar-container{overflow:hidden;border-radius:50%;width:inherit;height:inherit}#qlwapp .qlwapp-avatar .qlwapp-avatar-container img{width:100%;height:auto}#qlwapp.qlwapp-bubble .qlwapp-toggle{width:60px;height:60px}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-icon,#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-close{position:absolute;display:block;pointer-events:none;font-size:24px}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-text{position:absolute;right:60px;height:60px;margin:0 24px;display:flex;align-items:center;justify-content:flex-end;font-weight:bold;white-space:pre}#qlwapp.qlwapp-button .qlwapp-toggle{height:40px;white-space:nowrap;padding:12px 24px}#qlwapp.qlwapp-button .qlwapp-toggle .qlwapp-icon{margin:0 12px 0 0}#qlwapp.qlwapp-button .qlwapp-toggle .qlwapp-close{display:none}#qlwapp .qlwapp-box{pointer-events:all;padding-bottom:56px;position:fixed;top:auto;bottom:0;left:0;right:0;z-index:99999;box-shadow:0 5px 40px 5px rgba(0,0,0,0.5)}@media(min-width:430px){#qlwapp .qlwapp-box{position:relative;top:auto;bottom:auto;left:auto;right:auto;box-shadow:0 8px 25px -5px rgba(45,62,79,0.15);margin-top:24px;margin-left:24px;margin-right:24px;margin-bottom:12px}#qlwapp .qlwapp-box:before{content:'';position:absolute;bottom:-6px;right:24px;width:13px;height:13px;transform:rotate(45deg)}#qlwapp .qlwapp-box .qlwapp-header{border-top-left-radius:inherit;border-top-right-radius:inherit}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}}#qlwapp .qlwapp-box .qlwapp-header{position:relative;overflow:hidden}#qlwapp .qlwapp-box .qlwapp-header:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;background:linear-gradient(135deg,transparent 0,rgba(0,0,0,0.3) 100%)}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-close{position:absolute;top:12px;right:12px}@media(min-width:430px){#qlwapp .qlwapp-box .qlwapp-header .qlwapp-close{position:absolute;top:7px;right:7px;font-size:16px}}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-description{position:relative}#qlwapp .qlwapp-box .qlwapp-description,#qlwapp .qlwapp-box .qlwapp-contact{padding:24px 36px;height:100%}#qlwapp .qlwapp-box .qlwapp-description p,#qlwapp .qlwapp-box .qlwapp-description h3{color:inherit;font-family:inherit;margin:0}#qlwapp .qlwapp-box .qlwapp-description h3{margin:0 0 .25em 0}#qlwapp .qlwapp-box .qlwapp-contact{display:flex;justify-content:flex-end;align-items:center;text-align:right}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-previous{position:relative;left:-16px}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-previous>i{line-height:36px}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-avatar{width:42px;height:42px}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-label,#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-name{color:inherit}#qlwapp .qlwapp-box .qlwapp-account{color:inherit;padding:16px 36px;display:flex;align-items:center;overflow:hidden;position:relative;cursor:pointer;width:100%;text-decoration:none}#qlwapp .qlwapp-box .qlwapp-account:only-of-type{padding-top:36px;padding-bottom:36px}#qlwapp .qlwapp-box .qlwapp-info{padding:0 16px}#qlwapp .qlwapp-box .qlwapp-avatar{position:relative;width:62px;height:62px}#qlwapp .qlwapp-box .qlwapp-avatar:after{content:'';display:block;width:15px;height:15px;position:absolute;bottom:2px;right:2px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAXgklE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uHqBPR6LG5DzHO2MIRtbKhE4Jj24Rx9QqP8GYcE1/Ck/R6rbMQWVT1TFT5j3GNXmo6n28754lGVCYH6UCRw1QJ6UX0gOXiyenN90u6WROLfzBpxZT9GRX/kwkVuQVBTTIW+5YBDDI61AeS03fo41iJdMwFx4m+0IRldPedRvVsQaIHP5++Gjf/N3hxCdkXSf4GfG8iNgcLtQT5Tkdc/UZxrLSA2+EcIUdtKwZrgXw5x3sbiGGx0e6jN4UML7sOaV9Ue1x3sdQZ7pmPvkVq46yVgB2zqC5GIF/PFEOP3cJ6MwLeYG7UsINo+tv8BxKJi30HMkusg2jHE/Rv2eAI5/KfO53oLOMcQ7ABO/l1MpiFQRzPwVQho0gU+qdhvKcjE3odxt593upgGrsCdsA3rl4P5iDUc+/67zuHrFPB9JLE6INj94Hs60HUU0OT74DbQEfQE/RAjMsBA9CNAZ9Ae/Ah829z3Rgj4v+tgYwWlsH1vAAAAAElFTkSuQmCC);background-color:transparent;background-repeat:no-repeat;background-position:center center;background-size:cover;z-index:4}#qlwapp .qlwapp-box .qlwapp-time,#qlwapp .qlwapp-box .qlwapp-label,#qlwapp .qlwapp-box .qlwapp-offline-text{font-size:12px;line-height:1.5em;opacity:.6;display:block}#qlwapp .qlwapp-box .qlwapp-time{font-size:11px;font-style:italic}#qlwapp .qlwapp-box .qlwapp-name{display:block;font-weight:bold;line-height:1.5em}#qlwapp .qlwapp-box .qlwapp-body{overflow-x:hidden;overflow-y:auto}#qlwapp .qlwapp-box .qlwapp-body .qlwapp-carousel{max-height:470px;min-height:134px}#qlwapp .qlwapp-box .qlwapp-chat{display:flex;flex-direction:column;overflow:hidden}#qlwapp .qlwapp-box .qlwapp-user,#qlwapp .qlwapp-box .qlwapp-message{padding:16px 24px;margin:36px;position:relative;word-wrap:break-word;width:calc(100% - 36px*2)}#qlwapp .qlwapp-box .qlwapp-user:before,#qlwapp .qlwapp-box .qlwapp-message:before{content:'';position:absolute;top:-6px;right:24px;width:13px;height:13px;transform:rotate(45deg)}#qlwapp .qlwapp-box .qlwapp-user{width:auto;max-width:75%;align-self:flex-start;justify-self:flex-end;margin-top:0}#qlwapp .qlwapp-box .qlwapp-user:before{top:auto;bottom:-6px;left:24px}#qlwapp .qlwapp-box .qlwapp-padding{padding-bottom:56px}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response{position:absolute;bottom:0;left:0;right:0;height:auto;width:100%}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-footer pre,#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-footer textarea,#qlwapp .qlwapp-box .qlwapp-response textarea{max-height:160px}#qlwapp .qlwapp-box .qlwapp-footer pre,#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-footer textarea,#qlwapp .qlwapp-box .qlwapp-response textarea{color:inherit;background-color:inherit}#qlwapp .qlwapp-box .qlwapp-footer:before,#qlwapp .qlwapp-box .qlwapp-response:before{pointer-events:none;position:absolute;content:'';height:59px;top:-59px;background-image:linear-gradient(transparent,rgba(0,0,0,0.05));left:0;right:0}#qlwapp .qlwapp-box .qlwapp-footer{min-height:56px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;padding:12px 36px}#qlwapp .qlwapp-box .qlwapp-footer p{padding:0;font-size:inherit}#qlwapp .qlwapp-box .qlwapp-footer p:last-child{margin-bottom:0}#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-response textarea,#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons{min-height:56px}#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-response textarea{width:100%;height:100%;resize:none;border:0;padding:18px 56px 18px 36px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:normal;line-height:20px;white-space:pre-wrap;word-wrap:break-word;border-radius:inherit;margin:0}#qlwapp .qlwapp-box .qlwapp-response pre{visibility:hidden}#qlwapp .qlwapp-box .qlwapp-response textarea{position:absolute;bottom:0;left:0}#qlwapp .qlwapp-box .qlwapp-response textarea:focus{outline:0}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons{position:absolute;top:0;right:21px;display:flex;align-items:center}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons.active>i{display:none}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons.active>i.qlwf-emoji{display:block}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons>i{opacity:.4}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons>i,#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons>a{cursor:pointer;margin:0 0 0 10px;display:inherit;font-size:18px;line-height:24px}#qlwapp .qlwapp-previous,#qlwapp .qlwapp-close,#qlwapp .qlwapp-toggle,#qlwapp .qlwapp-box .qlwapp-header,#qlwapp .qlwapp-box .qlwapp-contact,#qlwapp .qlwapp-box .qlwapp-user{color:#fff}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-text{color:#303030}#qlwapp .qlwapp-box,#qlwapp .qlwapp-box:before{background-color:#fff}#qlwapp .qlwapp-box .qlwapp-account{background-color:#fff}#qlwapp .qlwapp-box .qlwapp-account:not(:first-child){border-top:1px solid #f5f5f5}#qlwapp .qlwapp-box .qlwapp-avatar .qlwapp-avatar-container{background-color:#eee}#qlwapp .qlwapp-box .qlwapp-message,#qlwapp .qlwapp-box .qlwapp-message:before{background-color:#eee}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response{color:#303030;background-color:#fff;border-top:1px solid #e6e6e6}#qlwapp .qlwapp-toggle,#qlwapp .qlwapp-box .qlwapp-header,#qlwapp .qlwapp-box .qlwapp-user,#qlwapp .qlwapp-box .qlwapp-user:before{background-color:#303030}#qlwapp{display:none}#qlwapp.qlwapp-show .qlwapp-box{visibility:visible;opacity:1;transform:translateY(0) scale(1);display:block}#qlwapp.qlwapp-transition .qlwapp-box{visibility:visible;display:block}#qlwapp.qlwapp-bubble.qlwapp-show .qlwapp-toggle .qlwapp-icon{transform:scale(0,0);opacity:0}#qlwapp.qlwapp-bubble.qlwapp-show .qlwapp-toggle .qlwapp-close{transform:scale(1,1);opacity:1}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-close{transform:scale(0,0);opacity:0}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-icon{transform:scale(1,1);opacity:1}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-icon,#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-close{transition:transform 300ms cubic-bezier(0.215,0.61,0.355,1),opacity 300ms ease-in}#qlwapp .qlwapp-box{display:none;opacity:0;visibility:hidden;transform:translateY(50px);transition:transform 300ms cubic-bezier(0.215,0.61,0.355,1),opacity 300ms ease-in}@media(min-width:430px){#qlwapp .qlwapp-box{transform:translateY(50px) scale(0.9)}}#qlwapp .qlwapp-box .qlwapp-carousel{display:flex;width:200%;height:100%}#qlwapp .qlwapp-box .qlwapp-carousel .qlwapp-slide{width:50%;transition:max-height 500ms cubic-bezier(0.215,0.61,0.355,1) 1000ms,transform 300ms cubic-bezier(0.215,0.61,0.355,1) 500ms,opacity 500ms ease-in 500ms;height:100%;overflow:hidden}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-slide{max-height:300px}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box .qlwapp-header .qlwapp-label,#qlwapp .qlwapp-box .qlwapp-header .qlwapp-avatar{opacity:0;transition:transform cubic-bezier(0.215,0.61,0.355,1) .3s,opacity ease-in .3s}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box .qlwapp-header .qlwapp-label{transform:translateX(56px)}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-avatar{transform:scale(0.5)}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-name{transition-delay:800ms}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-label{transition-delay:850ms}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-avatar{transition-delay:900ms}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-previous,#qlwapp .qlwapp-box .qlwapp-message,#qlwapp .qlwapp-box .qlwapp-user{transition:transform cubic-bezier(0.215,0.61,0.355,1) 600ms,opacity ease-in 200ms}#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-previous,#qlwapp .qlwapp-box .qlwapp-user{opacity:0}#qlwapp .qlwapp-box .qlwapp-response{pointer-events:none}#qlwapp .qlwapp-box .qlwapp-previous{transform:translateX(56px)}#qlwapp .qlwapp-box .qlwapp-user{transform:translateY(56px)}#qlwapp .qlwapp-box .qlwapp-close{transition:opacity 300ms cubic-bezier(0.215,0.61,0.355,1)}#qlwapp .qlwapp-box .qlwapp-description{transition:transform 600ms cubic-bezier(0.215,0.61,0.355,1),opacity 900ms cubic-bezier(0.215,0.61,0.355,1)}#qlwapp .qlwapp-box .qlwapp-account{transition:transform 600ms cubic-bezier(0.215,0.61,0.355,1),opacity 150ms ease-in}#qlwapp .qlwapp-box .qlwapp-previous{transition-delay:800ms}#qlwapp .qlwapp-box .qlwapp-message{transition-delay:900ms}#qlwapp .qlwapp-box .qlwapp-close,#qlwapp .qlwapp-box .qlwapp-description{transition-delay:900ms}#qlwapp .qlwapp-box .qlwapp-user{transition-delay:200ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(6){transition-delay:600ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(5){transition-delay:500ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(4){transition-delay:400ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(3){transition-delay:300ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(2){transition-delay:200ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(1){transition-delay:100ms}#qlwapp .qlwapp-box .qlwapp-slide .qlwapp-message{opacity:0;transform:translateY(-56px)}#qlwapp .qlwapp-box .qlwapp-slide .qlwapp-box .qlwapp-account:hover{background-color:#fafafa}#qlwapp .qlwapp-box.response .qlwapp-carousel .qlwapp-slide{transform:translateX(-100%)}#qlwapp .qlwapp-box.response .qlwapp-body .qlwapp-carousel{overflow:hidden;max-height:134px!important;min-height:122px}#qlwapp .qlwapp-box.response .qlwapp-close{transition-delay:0ms}#qlwapp .qlwapp-box.response .qlwapp-close,#qlwapp .qlwapp-box.response .qlwapp-footer,#qlwapp .qlwapp-box.response .qlwapp-description,#qlwapp .qlwapp-box.response .qlwapp-account{opacity:0}#qlwapp .qlwapp-box.response .qlwapp-account{transform:translateY(-33.333%);border-top-color:transparent!important}#qlwapp .qlwapp-box.response .qlwapp-user{display:block}#qlwapp .qlwapp-box.response .qlwapp-message,#qlwapp .qlwapp-box.response .qlwapp-previous,#qlwapp .qlwapp-box.response .qlwapp-response{opacity:1}#qlwapp .qlwapp-box.response .qlwapp-response{pointer-events:all}#qlwapp .qlwapp-box.response .qlwapp-message,#qlwapp .qlwapp-box.response .qlwapp-previous{transform:translate(0)}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-slide{max-height:84px}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-avatar{opacity:1}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-label{opacity:.5}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-label{transform:translateX(0)}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-avatar{transform:scale(1)}#qlwapp .qlwapp-box.response.opening .qlwapp-footer,#qlwapp .qlwapp-box.response.opening .qlwapp-response,#qlwapp .qlwapp-box.response.opening .qlwapp-close,#qlwapp .qlwapp-box.response.opening .qlwapp-previous,#qlwapp .qlwapp-box.response.opening .qlwapp-description,#qlwapp .qlwapp-box.response.opening .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box.response.opening .qlwapp-header .qlwapp-label{visibility:visible}#qlwapp .qlwapp-box.texting .qlwapp-body{overflow-y:auto}#qlwapp .qlwapp-box.texting .qlwapp-user{opacity:1;transform:translate(0)}#qlwapp .qlwapp-box.closing .qlwapp-previous{transition-delay:0ms;transform:translateX(-24px);opacity:0;transition:transform cubic-bezier(0.215,0.61,0.355,1) 300ms,opacity ease-out 200ms}#qlwapp .qlwapp-box.closing .qlwapp-description{opacity:0}
|
assets/js/qlwapp-admin.js
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
$('.qlwapp-select2-ajax').each(function () {
|
20 |
|
21 |
var $select = $(this),
|
22 |
-
name = $(this).data('name');
|
23 |
$select.select2({
|
24 |
allowClear: true,
|
25 |
ajax: {
|
@@ -33,7 +33,7 @@
|
|
33 |
q: params.term || 0,
|
34 |
selected: $select.select2('val') || 0,
|
35 |
action: 'qlwapp_get_posts',
|
36 |
-
nonce:
|
37 |
};
|
38 |
},
|
39 |
processResults: function (response) {
|
19 |
$('.qlwapp-select2-ajax').each(function () {
|
20 |
|
21 |
var $select = $(this),
|
22 |
+
name = $(this).data('name');
|
23 |
$select.select2({
|
24 |
allowClear: true,
|
25 |
ajax: {
|
33 |
q: params.term || 0,
|
34 |
selected: $select.select2('val') || 0,
|
35 |
action: 'qlwapp_get_posts',
|
36 |
+
nonce: qlwapp.nonce.qlwapp_get_posts
|
37 |
};
|
38 |
},
|
39 |
processResults: function (response) {
|
assets/js/qlwapp-admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(function(a){a("form :input").keyup(function(b){if(!this.reportValidity()){a(this).closest("td").addClass("form-invalid");a("#btn-save-contact").attr("disabled","disabled")}else{a("#btn-save-contact").removeAttr("disabled");a(this).closest("td").removeClass("form-invalid")}});a(".qlwapp-select2").select2({allowClear:false,theme:"default",minimumResultsForSearch:-1});a(".qlwapp-select2-ajax").each(function(){var c=a(this),b=a(this).data("name");c.select2({allowClear:true,ajax:{url:ajaxurl,dataType:"json",data:function(d){return{name:b,per_page:10,q:d.term||0,selected:c.select2("val")||0,action:"qlwapp_get_posts",nonce:
|
1 |
+
(function(a){a("form :input").keyup(function(b){if(!this.reportValidity()){a(this).closest("td").addClass("form-invalid");a("#btn-save-contact").attr("disabled","disabled")}else{a("#btn-save-contact").removeAttr("disabled");a(this).closest("td").removeClass("form-invalid")}});a(".qlwapp-select2").select2({allowClear:false,theme:"default",minimumResultsForSearch:-1});a(".qlwapp-select2-ajax").each(function(){var c=a(this),b=a(this).data("name");c.select2({allowClear:true,ajax:{url:ajaxurl,dataType:"json",data:function(d){return{name:b,per_page:10,q:d.term||0,selected:c.select2("val")||0,action:"qlwapp_get_posts",nonce:qlwapp.nonce.qlwapp_get_posts}},processResults:function(d){var e=[];if(d){a.each(d,function(f,g){e.push({id:g[0],text:g[1]})})}return{results:e}},cache:true},minimumInputLength:3})});a(".qlwapp-color-field").wpColorPicker();a(document).on("click",".upload_image_button",function(d){d.preventDefault();var b=wp.media.editor.send.attachment,c=a(this);wp.media.editor.send.attachment=function(e,f){a(c).parent().prev().attr("src",f.url);a(c).prev().val(f.url);wp.media.editor.send.attachment=b};wp.media.editor.open(c);return false});a(document).on("click",".remove_image_button",function(b){b.preventDefault();var c=a(this).parent().prev().attr("data-src");a(this).parent().prev().attr("src",c);a(this).prev().prev().val("");return false})})(jQuery);
|
assets/js/qlwapp-modal.js
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function ($) {
|
2 |
+
|
3 |
+
var wpmi = {
|
4 |
+
__instance: undefined
|
5 |
+
};
|
6 |
+
|
7 |
+
wpmi.Application = Backbone.View.extend(
|
8 |
+
{
|
9 |
+
id: 'wpmi_modal',
|
10 |
+
events: {
|
11 |
+
'click .close': 'Close',
|
12 |
+
// 'click .remove': 'Remove',
|
13 |
+
'click .save': 'Save'
|
14 |
+
},
|
15 |
+
ui: {
|
16 |
+
// nav: undefined,
|
17 |
+
// content: undefined,
|
18 |
+
// media: undefined
|
19 |
+
},
|
20 |
+
templates: {},
|
21 |
+
initialize: function (e) {
|
22 |
+
'use strict';
|
23 |
+
_.bindAll(this, 'render', 'preserveFocus', 'Close', 'Save');//, 'Select', 'Search', 'Remove'
|
24 |
+
this.initialize_templates();
|
25 |
+
this.render(e);
|
26 |
+
this.backdrop(e);
|
27 |
+
},
|
28 |
+
backdrop: function (e) {
|
29 |
+
'use strict';
|
30 |
+
|
31 |
+
var plugin = this;
|
32 |
+
|
33 |
+
$(document).on('click', '.media-modal-backdrop', function (e) {
|
34 |
+
plugin.Close(e);
|
35 |
+
});
|
36 |
+
},
|
37 |
+
initialize_templates: function () {
|
38 |
+
this.templates.window = wp.template('wpmi-modal-window');
|
39 |
+
this.templates.backdrop = wp.template('wpmi-modal-backdrop');
|
40 |
+
},
|
41 |
+
render: function (e) {
|
42 |
+
'use strict';
|
43 |
+
var contact_id = $(e.target).data('contact_id');
|
44 |
+
$.ajax({
|
45 |
+
type: 'POST',
|
46 |
+
url: ajaxurl,
|
47 |
+
data: {
|
48 |
+
action: 'qlwapp_get_contact',
|
49 |
+
nonce: qlwapp.nonce.qlwapp_get_contact,
|
50 |
+
contact_id:contact_id
|
51 |
+
},
|
52 |
+
beforeSend: function () {
|
53 |
+
// alert('before..');
|
54 |
+
},
|
55 |
+
complete: function () {
|
56 |
+
// alert('complete..');
|
57 |
+
},
|
58 |
+
error: function () {
|
59 |
+
alert('Error!');
|
60 |
+
},
|
61 |
+
success: function (response) {
|
62 |
+
alert(response);
|
63 |
+
console.log( response.data);
|
64 |
+
|
65 |
+
}
|
66 |
+
});
|
67 |
+
this.$el.attr('tabindex', '0')
|
68 |
+
// .data('menu_item_id', menu_item_id)
|
69 |
+
.append(this.templates.window())
|
70 |
+
.append(this.templates.backdrop());
|
71 |
+
|
72 |
+
$(document).on('focusin', this.preserveFocus);
|
73 |
+
$('body').addClass('modal-open').append(this.$el);
|
74 |
+
this.$el.focus();
|
75 |
+
},
|
76 |
+
preserveFocus: function (e) {
|
77 |
+
'use strict';
|
78 |
+
if (this.$el[0] !== e.target && !this.$el.has(e.target).length) {
|
79 |
+
this.$el.focus();
|
80 |
+
}
|
81 |
+
},
|
82 |
+
Close: function (e) {
|
83 |
+
'use strict';
|
84 |
+
e.preventDefault();
|
85 |
+
this.undelegateEvents();
|
86 |
+
$(document).off('focusin');
|
87 |
+
$('body').removeClass('modal-open');
|
88 |
+
this.remove();
|
89 |
+
wpmi.__instance = undefined;
|
90 |
+
},
|
91 |
+
Save: function (e) {
|
92 |
+
'use strict';
|
93 |
+
e.preventDefault();
|
94 |
+
|
95 |
+
var plugin = this,
|
96 |
+
$form = $('form', this.$el),
|
97 |
+
menu_item_id = this.$el.data('menu_item_id');
|
98 |
+
|
99 |
+
if (!menu_item_id)
|
100 |
+
return;
|
101 |
+
|
102 |
+
if (!$form.length)
|
103 |
+
return;
|
104 |
+
|
105 |
+
var $li = $('#menu-to-edit').find('#menu-item-' + menu_item_id),
|
106 |
+
$plus = $li.find('.menu-item-wpmi_plus'),
|
107 |
+
$icon = $li.find('.menu-item-wpmi_icon');
|
108 |
+
|
109 |
+
if (!$li.length)
|
110 |
+
return;
|
111 |
+
|
112 |
+
$form.find('.wpmi-input').each(function (i) {
|
113 |
+
|
114 |
+
var key = $(this).prop('id').match(/wpmi-input-([a-z]+)/)[1],
|
115 |
+
value = $(this).val();
|
116 |
+
|
117 |
+
$li.find('input#wpmi-input-' + key).val(value);
|
118 |
+
|
119 |
+
if (key === 'icon') {
|
120 |
+
|
121 |
+
if ($icon.length) {
|
122 |
+
|
123 |
+
$icon.remove();
|
124 |
+
}
|
125 |
+
|
126 |
+
$plus.before('<i class="menu-item-wpmi_icon ' + value + '"></i>');
|
127 |
+
}
|
128 |
+
});
|
129 |
+
|
130 |
+
plugin.Close(e);
|
131 |
+
}
|
132 |
+
|
133 |
+
|
134 |
+
});
|
135 |
+
|
136 |
+
$(document).on('click', '.qlwapp-contact_open', function (e) {
|
137 |
+
|
138 |
+
e.preventDefault();
|
139 |
+
if (wpmi.__instance === undefined) {
|
140 |
+
wpmi.__instance = new wpmi.Application(e);
|
141 |
+
}
|
142 |
+
});
|
143 |
+
|
144 |
+
$(document).on('click', '#wpmi_metabox', function (e) {
|
145 |
+
|
146 |
+
var menu_font = $('input:checked', $(this)).val(),
|
147 |
+
menu_id = $('#menu').val();
|
148 |
+
|
149 |
+
if ($(e.target).hasClass('save') && menu_font && menu_id) {
|
150 |
+
|
151 |
+
e.preventDefault();
|
152 |
+
|
153 |
+
$.ajax({
|
154 |
+
type: 'POST',
|
155 |
+
url: ajaxurl,
|
156 |
+
data: {
|
157 |
+
action: 'wpmi_save_nav_menu',
|
158 |
+
menu_id: menu_id,
|
159 |
+
menu_font: menu_font,
|
160 |
+
nonce: wpmi_l10n.nonce
|
161 |
+
},
|
162 |
+
beforeSend: function () {
|
163 |
+
},
|
164 |
+
complete: function () {
|
165 |
+
},
|
166 |
+
error: function () {
|
167 |
+
alert('Error!');
|
168 |
+
},
|
169 |
+
success: function (response) {
|
170 |
+
location.reload();
|
171 |
+
}
|
172 |
+
});
|
173 |
+
|
174 |
+
}
|
175 |
+
});
|
176 |
+
|
177 |
+
})(jQuery);
|
assets/js/qlwapp-modal.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
(function(b){var a={__instance:undefined};a.Application=Backbone.View.extend({id:"wpmi_modal",events:{"click .close":"Close","click .save":"Save"},ui:{},templates:{},initialize:function(c){_.bindAll(this,"render","preserveFocus","Close","Save");this.initialize_templates();this.render(c);this.backdrop(c)},backdrop:function(d){var c=this;b(document).on("click",".media-modal-backdrop",function(f){c.Close(f)})},initialize_templates:function(){this.templates.window=wp.template("wpmi-modal-window");this.templates.backdrop=wp.template("wpmi-modal-backdrop")},render:function(d){var c=b(d.target).data("contact_id");b.ajax({type:"POST",url:ajaxurl,data:{action:"qlwapp_get_contact",nonce:qlwapp.nonce.qlwapp_get_contact,contact_id:c},beforeSend:function(){},complete:function(){},error:function(){alert("Error!")},success:function(e){alert(e);console.log(e.data)}});this.$el.attr("tabindex","0").append(this.templates.window()).append(this.templates.backdrop());b(document).on("focusin",this.preserveFocus);b("body").addClass("modal-open").append(this.$el);this.$el.focus()},preserveFocus:function(c){if(this.$el[0]!==c.target&&!this.$el.has(c.target).length){this.$el.focus()}},Close:function(c){c.preventDefault();this.undelegateEvents();b(document).off("focusin");b("body").removeClass("modal-open");this.remove();a.__instance=undefined},Save:function(i){i.preventDefault();var h=this,d=b("form",this.$el),f=this.$el.data("menu_item_id");if(!f){return}if(!d.length){return}var j=b("#menu-to-edit").find("#menu-item-"+f),g=j.find(".menu-item-wpmi_plus"),c=j.find(".menu-item-wpmi_icon");if(!j.length){return}d.find(".wpmi-input").each(function(k){var e=b(this).prop("id").match(/wpmi-input-([a-z]+)/)[1],l=b(this).val();j.find("input#wpmi-input-"+e).val(l);if(e==="icon"){if(c.length){c.remove()}g.before('<i class="menu-item-wpmi_icon '+l+'"></i>')}});h.Close(i)}});b(document).on("click",".qlwapp-contact_open",function(c){c.preventDefault();if(a.__instance===undefined){a.__instance=new a.Application(c)}});b(document).on("click","#wpmi_metabox",function(f){var d=b("input:checked",b(this)).val(),c=b("#menu").val();if(b(f.target).hasClass("save")&&d&&c){f.preventDefault();b.ajax({type:"POST",url:ajaxurl,data:{action:"wpmi_save_nav_menu",menu_id:c,menu_font:d,nonce:wpmi_l10n.nonce},beforeSend:function(){},complete:function(){},error:function(){alert("Error!")},success:function(e){location.reload()}})}})})(jQuery);
|
assets/js/qlwapp.js
CHANGED
@@ -11,6 +11,16 @@
|
|
11 |
}
|
12 |
|
13 |
Plugin.prototype = {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
init: function (plugin) {
|
15 |
|
16 |
var $qlwapp = this.$qlwapp;
|
@@ -20,130 +30,53 @@
|
|
20 |
});
|
21 |
|
22 |
$qlwapp.on('qlwapp.time', function (e) {
|
|
|
23 |
var $contact = $(e.target),
|
24 |
timefrom = $contact.data('timefrom') || false,
|
25 |
timeto = $contact.data('timeto') || false,
|
26 |
-
//
|
27 |
-
timezone = $contact.data('timezone') || false;
|
28 |
-
|
|
|
29 |
return;
|
30 |
-
// Redefino hora desde y hasta de definidos y hago copia
|
31 |
-
var timeTo = new Date(), timeToAux;
|
32 |
-
var timeFrom = new Date(), timeFromAux;
|
33 |
-
// Hora de atencion contacto incluido los Min
|
34 |
-
var stgTimeTo, stgTimeFrom, stgMinTimeFrom, stgMinTimeTo;
|
35 |
-
// la hora
|
36 |
-
stgTimeFrom = timefrom[0] + timefrom[1];
|
37 |
-
stgTimeFrom = parseInt(stgTimeFrom);
|
38 |
-
stgTimeTo = timeto[0] + timeto[1];
|
39 |
-
stgTimeTo = parseInt(stgTimeTo);
|
40 |
-
// los minutos
|
41 |
-
stgMinTimeFrom = timefrom[3] + timefrom[4];
|
42 |
-
stgMinTimeFrom = parseInt(stgMinTimeFrom);
|
43 |
-
stgMinTimeTo = timeto[3] + timeto[4];
|
44 |
-
stgMinTimeTo = parseInt(stgMinTimeTo);
|
45 |
-
// seteo la hora y los minutos de atecion del contacto
|
46 |
-
timeFrom.setHours(stgTimeFrom);
|
47 |
-
timeTo.setHours(stgTimeTo);
|
48 |
-
timeFrom.setMinutes(stgMinTimeFrom);
|
49 |
-
timeTo.setMinutes(stgMinTimeTo);
|
50 |
-
// lo uso maas abajo para despues setear la vista
|
51 |
-
timeToAux = timeTo;
|
52 |
-
timeFromAux = timeFrom;
|
53 |
-
|
54 |
-
var gmtHrContact;
|
55 |
-
// gmt local y hora local
|
56 |
-
var timeZoneLocal = new Date().toLocaleTimeString('en-us', {timeZoneName: 'short'}).split(' ')[2];
|
57 |
-
// console.log(timeZoneLocal);
|
58 |
-
var timeSimuladoLocal = new Date();
|
59 |
-
var timeLocalHR = 0;
|
60 |
-
// GMT DEL CONTACTO
|
61 |
-
// GMT con el numero en absoluto
|
62 |
-
var gmtHrContact = 0;
|
63 |
-
var gmtMinContact = 0;
|
64 |
-
var gtmAux;
|
65 |
-
//veo el signo pero para separar SI tiene minunto ':'
|
66 |
-
if (timezone[3] === '+') {
|
67 |
-
gtmAux = timezone.split('+')[1];
|
68 |
-
} else {
|
69 |
-
gtmAux = timezone.split('-')[1];
|
70 |
-
}
|
71 |
-
if (gtmAux.split(':').length === 2) {
|
72 |
-
gmtHrContact = parseInt(gtmAux.split(':')[0]);
|
73 |
-
gmtMinContact = parseInt(gtmAux.split(':')[1]);
|
74 |
-
} else {
|
75 |
-
gmtHrContact = parseInt(gtmAux);
|
76 |
}
|
77 |
-
// parceo el GMT Del contacto respetando el simbolo
|
78 |
-
if (timezone[3] === '-') {
|
79 |
-
gmtHrContact = -1 * gmtHrContact;
|
80 |
-
}
|
81 |
-
// parce el GMT LOCAL viendo de invertir su valor SE repite N
|
82 |
-
timeLocalHR = parseInt(timeZoneLocal[4]);
|
83 |
-
if (timeZoneLocal[3] !== '-') {
|
84 |
-
timeLocalHR = -1 * parseInt(timeZoneLocal[4]);
|
85 |
-
}
|
86 |
-
//SET HR = GMT Contact + (-) GTM Local + Minutos
|
87 |
-
var hrFinal = timeSimuladoLocal.getHours();
|
88 |
-
var minFinal = timeSimuladoLocal.getMinutes();
|
89 |
-
//seteo
|
90 |
-
hrFinal = hrFinal + gmtHrContact + timeLocalHR;
|
91 |
-
minFinal = minFinal + gmtMinContact;
|
92 |
-
timeSimuladoLocal.setHours(hrFinal);
|
93 |
-
timeSimuladoLocal.setMinutes(minFinal);
|
94 |
-
|
95 |
-
var strFromMinutes = '0', strToMinutes = '0';
|
96 |
-
/// si son las 24 hs
|
97 |
-
if (timeFrom.getTime() === timeTo.getTime()) {
|
98 |
-
timeTo.setHours(timeTo.getHours() + 24);
|
99 |
-
strFromMinutes = '00';
|
100 |
-
strToMinutes = '00';
|
101 |
-
} else {
|
102 |
-
// si cambia el dia
|
103 |
-
if (timeFrom.getTime() > timeTo.getTime()) {
|
104 |
-
timeTo.setHours(timeTo.getHours() + 24);
|
105 |
-
}
|
106 |
-
// if(timeFrom.getDay() >= timeTo.getDay()) //ver poruqe
|
107 |
-
if (!(timeFrom.getTime() === timeSimuladoLocal.getTime() || timeFrom.getTime() < timeSimuladoLocal.getTime()) || !(timeTo.getTime() === timeSimuladoLocal.getTime() || timeTo.getTime() > timeSimuladoLocal.getTime())) {
|
108 |
-
$contact.addClass('qlwapp-readonly');
|
109 |
-
// console.log(timeFrom +': '+ timeFrom.getDay() +' | '+timeTo+': '+ + timeTo.getDay() );
|
110 |
-
// console.log(timeFrom.getTime()+' | ' + timeTo.getTime());
|
111 |
-
/*if (timeout === 'yes') {
|
112 |
-
$contact.addClass('qlwapp-readonly');
|
113 |
-
} else {
|
114 |
-
$contact.addClass('qlwapp-disabled');
|
115 |
-
$(this).addClass('qlwapp-disabled');sacar esto
|
116 |
-
}*/
|
117 |
-
}
|
118 |
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
timeToAux.setHours(horaToAux);
|
131 |
-
if (timeFromAux.getMinutes() < 10) {
|
132 |
-
strFromMinutes = strFromMinutes + timeFromAux.getMinutes();
|
133 |
-
} else {
|
134 |
-
strFromMinutes = timeFromAux.getMinutes();
|
135 |
-
}
|
136 |
-
if (timeToAux.getMinutes() < 10) {
|
137 |
-
strToMinutes = strToMinutes + timeToAux.getMinutes();
|
138 |
-
} else {
|
139 |
-
strToMinutes = +timeToAux.getMinutes();
|
140 |
-
}
|
141 |
-
}
|
142 |
-
// seteo lo que se muestra
|
143 |
-
$contact.find('.from').text(timeFromAux.getHours() + ':' + strFromMinutes);
|
144 |
-
$contact.find('.to').text(timeToAux.getHours() + ':' + strToMinutes);
|
145 |
|
|
|
|
|
|
|
146 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
|
148 |
});
|
149 |
|
11 |
}
|
12 |
|
13 |
Plugin.prototype = {
|
14 |
+
timeDateToString: function (time) {
|
15 |
+
var minutes = '' + time.getMinutes();
|
16 |
+
if (minutes.length === 1) {
|
17 |
+
minutes = '0' + minutes;
|
18 |
+
}
|
19 |
+
return time.getHours() + ':' + minutes;
|
20 |
+
},
|
21 |
+
timeStringToInt: function (a, b) {
|
22 |
+
return parseInt(a + b);
|
23 |
+
},
|
24 |
init: function (plugin) {
|
25 |
|
26 |
var $qlwapp = this.$qlwapp;
|
30 |
});
|
31 |
|
32 |
$qlwapp.on('qlwapp.time', function (e) {
|
33 |
+
|
34 |
var $contact = $(e.target),
|
35 |
timefrom = $contact.data('timefrom') || false,
|
36 |
timeto = $contact.data('timeto') || false,
|
37 |
+
// timeout = $contact.data('timeout'),
|
38 |
+
timezone = parseInt($contact.data('timezone')) || false;
|
39 |
+
|
40 |
+
if (!timeto || !timefrom || !timezone || (timefrom === timeto)) {
|
41 |
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
+
// Get offset between browser and contact timezone in minutes
|
45 |
+
var timeCurrent = new Date(),
|
46 |
+
n = timeCurrent.getTimezoneOffset(),
|
47 |
+
timeZoneOffset = -n - timezone;
|
48 |
+
|
49 |
+
// Convert user avaibility to browser local hour
|
50 |
+
// Variables with a date are created by reference!
|
51 |
+
var timeTo = new Date(),
|
52 |
+
timeFrom = new Date();
|
53 |
+
|
54 |
+
var hr, min;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
+
// Add offset timeonze to contact timefrom
|
57 |
+
hr = plugin.timeStringToInt(timefrom[0], timefrom[1]);
|
58 |
+
min = plugin.timeStringToInt(timefrom[3], timefrom[4]);
|
59 |
|
60 |
+
timeFrom.setHours(hr);
|
61 |
+
timeFrom.setMinutes(min + timeZoneOffset);
|
62 |
+
|
63 |
+
// Add offset timezone to contact timeto
|
64 |
+
hr = plugin.timeStringToInt(timeto[0], timeto[1]);
|
65 |
+
min = plugin.timeStringToInt(timeto[3], timeto[4]);
|
66 |
+
|
67 |
+
timeTo.setHours(hr);
|
68 |
+
timeTo.setMinutes(min + timeZoneOffset);
|
69 |
+
|
70 |
+
// Validate if browser current time is between contact times
|
71 |
+
if (!(timeCurrent.getTime() >= timeFrom.getTime() && timeCurrent.getTime() <= timeTo.getTime())) {
|
72 |
+
$contact.addClass('qlwapp-readonly');
|
73 |
+
}
|
74 |
+
|
75 |
+
//console.log('her!');
|
76 |
+
|
77 |
+
// Add offset timezone to contact timeto & timefrom
|
78 |
+
$contact.find('.from').text(plugin.timeDateToString(timeFrom));
|
79 |
+
$contact.find('.to').text(plugin.timeDateToString(timeTo));
|
80 |
|
81 |
});
|
82 |
|
assets/js/qlwapp.min.js
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
|
2 |
-
(function(d,c,a,g){var e={};function b(i,h){this.$qlwapp=d(i);this.init(this)}b.prototype={init:function(i){var h=this.$qlwapp;h.on("qlwapp.init",function(j){i.mobiledevice=(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))});h.on("qlwapp.time",function(G){var s=d(G.target),x=s.data("timefrom")||false,t=s.data("timeto")||false,B=s.data("timezone")||false;if(!t||!x||!B||(x===t)){return}var w=new Date(),m;var D=new Date(),I;var v,F,C,q;F=x[0]+x[1];F=parseInt(F);v=t[0]+t[1];v=parseInt(v);C=x[3]+x[4];C=parseInt(C);q=t[3]+t[4];q=parseInt(q);D.setHours(F);w.setHours(v);D.setMinutes(C);w.setMinutes(q);m=w;I=D;var K;var r=new Date().toLocaleTimeString("en-us",{timeZoneName:"short"}).split(" ")[2];var E=new Date();var u=0;var K=0;var J=0;var A;if(B[3]==="+"){A=B.split("+")[1]}else{A=B.split("-")[1]}if(A.split(":").length===2){K=parseInt(A.split(":")[0]);J=parseInt(A.split(":")[1])}else{K=parseInt(A)}if(B[3]==="-"){K=-1*K}u=parseInt(r[4]);if(r[3]!=="-"){u=-1*parseInt(r[4])}var p=E.getHours();var j=E.getMinutes();p=p+K+u;j=j+J;E.setHours(p);E.setMinutes(j);var H="0",n="0";if(D.getTime()===w.getTime()){w.setHours(w.getHours()+24);H="00";n="00"}else{if(D.getTime()>w.getTime()){w.setHours(w.getHours()+24)}if(!(D.getTime()===E.getTime()||D.getTime()<E.getTime())||!(w.getTime()===E.getTime()||w.getTime()>E.getTime())){s.addClass("qlwapp-readonly")}var o=new Date(),l=parseInt(E.getHours()),z=l-parseInt(o.getHours());z=z*-1;var k=I.getHours()+z,y=m.getHours()+z;I.setHours(k);m.setHours(y);if(I.getMinutes()<10){H=H+I.getMinutes()}else{H=I.getMinutes()}if(m.getMinutes()<10){n=n+m.getMinutes()}else{n=+m.getMinutes()}}s.find(".from").text(I.getHours()+":"+H);s.find(".to").text(m.getHours()+":"+n)});h.on("qlwapp.pro",function(j){h.find(".qlwapp-toggle").trigger("qlwapp.time");h.find(".qlwapp-account").each(function(l,k){d(k).trigger("qlwapp.time")})});h.on("qlwapp.resize",function(j){if(d(this).hasClass("qlwapp-show")){d(this).trigger("qlwapp.toggle")}});h.on("qlwapp.init",function(j){if(!i.mobiledevice){h.addClass("desktop").removeClass("mobile")}else{h.addClass("mobile").removeClass("desktop")}h.addClass("qlwapp-js-ready")});h.on("qlwapp.init",function(j){if(h.hasClass("qlwapp-premium")){h.trigger("qlwapp.pro")}});h.addClass("qlwapp-js-ready").trigger("qlwapp.init");h.on("qlwapp.height",function(o){var p=d(o.delegateTarget),n=p.find(".qlwapp-body"),m=n.find(".qlwapp-carousel");var l=p.find(".qlwapp-header"),k=p.find(".qlwapp-footer"),j=(d(c).innerHeight()-l.outerHeight()-k.outerHeight());if(!i.mobiledevice){j=(d(c).innerHeight()*0.7-l.outerHeight()-k.outerHeight())}m.css({"max-height":j+"px"})});h.on("qlwapp.toggle",function(k){var l=d(k.delegateTarget),j=l.find(".qlwapp-box");l.addClass("qlwapp-transition");j.removeClass("response texting");setTimeout(function(){l.toggleClass("qlwapp-show").trigger("qlwapp.height")},10);setTimeout(function(){l.toggleClass("qlwapp-transition")},300)});h.on("click","[data-action=box], [data-action=close]",function(j){j.preventDefault();d(j.delegateTarget).trigger("qlwapp.toggle")});h.on("click","[data-action=open]",function(k){var j="https://api.whatsapp.com/send";if(!i.mobiledevice){j="https://web.whatsapp.com/send"}d(this).attr("href",j+"?phone="+d(this).data("phone")+"&text="+d(this).data("message"))});h.on("click","[data-action=previous]",function(k){k.preventDefault();var l=d(k.delegateTarget),j=l.find(".qlwapp-box");j.addClass("closing");setTimeout(function(){j.removeClass("response").removeClass("closing");j.removeClass("texting")},300)});h.on("click","[data-action=chat]",function(w){w.preventDefault();var n=d(this),t=d(w.delegateTarget),u=t.find(".qlwapp-box"),v=n.find(".qlwapp-avatar img").attr("src"),A=n.find(".qlwapp-name").text(),q=n.find(".qlwapp-label").text(),p=n.find(".qlwapp-time").text(),r=n.data("message"),o=n.data("phone");u.addClass("response").addClass("opening");t.trigger("qlwapp.height");setTimeout(function(){u.removeClass("opening")},300);var k=u.find(".qlwapp-reply"),x=u.find(".qlwapp-header"),j=x.find(".qlwapp-avatar img"),m=x.find(".qlwapp-number"),l=x.find(".qlwapp-name"),z=x.find(".qlwapp-label"),y=u.find(".qlwapp-message");var s=p?p+" - "+q:q;k.data("phone",o);j.attr("src",v);m.html(o);l.html(A);z.html(s);y.html(r)});h.on("click","textarea",function(j){h.off("qlwapp.resize")});h.on("keypress","textarea",function(j){if(j.keyCode==13){h.find(".qlwapp-reply").trigger("click");setTimeout(function(){c.location=h.find(".qlwapp-reply").attr("href")},100)}});h.on("keyup","[data-action=response]",function(m){m.preventDefault();var p=d(this).find("textarea"),o=d(this).find("pre"),j=d(this).find(".qlwapp-reply"),n=d(m.delegateTarget),l=n.find(".qlwapp-box"),k=l.find(".qlwapp-buttons");o.html(p.val());setTimeout(function(){l.addClass("texting").css({"padding-bottom":o.outerHeight()});k.addClass("active");var q=p.val();j.data("message",q);if(q==""){l.removeClass("texting");k.removeClass("active")}},300)});h.trigger("qlwapp.init")}};d.fn.qlwapp=function(i){var h=arguments;if(i===g||typeof i==="object"){return this.each(function(){if(!d.data(this,"plugin_qlwapp")){d.data(this,"plugin_qlwapp",new b(this,i))}})}else{if(typeof i==="string"&&i[0]!=="_"&&i!=="init"){var j;this.each(function(){var k=d.data(this,"plugin_qlwapp");if(k instanceof b&&typeof k[i]==="function"){j=k[i].apply(k,Array.prototype.slice.call(h,1))}if(i==="destroy"){d.data(this,"plugin_qlwapp",null)}});return j!==g?j:this}}};function f(){d("div#qlwapp").qlwapp()}f();d(c).on("load",function(){f()});d(c).on("click",function(h){if(!d(h.target).closest("#qlwapp.qlwapp-show").length){d("div#qlwapp.qlwapp-show").trigger("qlwapp.toggle")}});d(c).on("resize",function(h){d("div#qlwapp").trigger("qlwapp.resize");d("div#qlwapp").trigger("qlwapp.init")})})(jQuery,window,document);
|
1 |
+
(function(d,c,a,g){var e={};function b(i,h){this.$qlwapp=d(i);this.init(this)}b.prototype={timeDateToString:function(i){var h=""+i.getMinutes();if(h.length===1){h="0"+h}return i.getHours()+":"+h},timeStringToInt:function(i,h){return parseInt(i+h)},init:function(i){var h=this.$qlwapp;h.on("qlwapp.init",function(j){i.mobiledevice=(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))});h.on("qlwapp.time",function(p){var j=d(p.target),r=j.data("timefrom")||false,s=j.data("timeto")||false,o=parseInt(j.data("timezone"))||false;if(!s||!r||!o||(r===s)){return}var v=new Date(),l=v.getTimezoneOffset(),q=-l-o;var u=new Date(),k=new Date();var t,m;t=i.timeStringToInt(r[0],r[1]);m=i.timeStringToInt(r[3],r[4]);k.setHours(t);k.setMinutes(m+q);t=i.timeStringToInt(s[0],s[1]);m=i.timeStringToInt(s[3],s[4]);u.setHours(t);u.setMinutes(m+q);if(!(v.getTime()>=k.getTime()&&v.getTime()<=u.getTime())){j.addClass("qlwapp-readonly")}j.find(".from").text(i.timeDateToString(k));j.find(".to").text(i.timeDateToString(u))});h.on("qlwapp.pro",function(j){h.find(".qlwapp-toggle").trigger("qlwapp.time");h.find(".qlwapp-account").each(function(l,k){d(k).trigger("qlwapp.time")})});h.on("qlwapp.resize",function(j){if(d(this).hasClass("qlwapp-show")){d(this).trigger("qlwapp.toggle")}});h.on("qlwapp.init",function(j){if(!i.mobiledevice){h.addClass("desktop").removeClass("mobile")}else{h.addClass("mobile").removeClass("desktop")}h.addClass("qlwapp-js-ready")});h.on("qlwapp.init",function(j){if(h.hasClass("qlwapp-premium")){h.trigger("qlwapp.pro")}});h.addClass("qlwapp-js-ready").trigger("qlwapp.init");h.on("qlwapp.height",function(o){var p=d(o.delegateTarget),n=p.find(".qlwapp-body"),m=n.find(".qlwapp-carousel");var l=p.find(".qlwapp-header"),k=p.find(".qlwapp-footer"),j=(d(c).innerHeight()-l.outerHeight()-k.outerHeight());if(!i.mobiledevice){j=(d(c).innerHeight()*0.7-l.outerHeight()-k.outerHeight())}m.css({"max-height":j+"px"})});h.on("qlwapp.toggle",function(k){var l=d(k.delegateTarget),j=l.find(".qlwapp-box");l.addClass("qlwapp-transition");j.removeClass("response texting");setTimeout(function(){l.toggleClass("qlwapp-show").trigger("qlwapp.height")},10);setTimeout(function(){l.toggleClass("qlwapp-transition")},300)});h.on("click","[data-action=box], [data-action=close]",function(j){j.preventDefault();d(j.delegateTarget).trigger("qlwapp.toggle")});h.on("click","[data-action=open]",function(k){var j="https://api.whatsapp.com/send";if(!i.mobiledevice){j="https://web.whatsapp.com/send"}d(this).attr("href",j+"?phone="+d(this).data("phone")+"&text="+d(this).data("message"))});h.on("click","[data-action=previous]",function(k){k.preventDefault();var l=d(k.delegateTarget),j=l.find(".qlwapp-box");j.addClass("closing");setTimeout(function(){j.removeClass("response").removeClass("closing");j.removeClass("texting")},300)});h.on("click","[data-action=chat]",function(w){w.preventDefault();var n=d(this),t=d(w.delegateTarget),u=t.find(".qlwapp-box"),v=n.find(".qlwapp-avatar img").attr("src"),A=n.find(".qlwapp-name").text(),q=n.find(".qlwapp-label").text(),p=n.find(".qlwapp-time").text(),r=n.data("message"),o=n.data("phone");u.addClass("response").addClass("opening");t.trigger("qlwapp.height");setTimeout(function(){u.removeClass("opening")},300);var k=u.find(".qlwapp-reply"),x=u.find(".qlwapp-header"),j=x.find(".qlwapp-avatar img"),m=x.find(".qlwapp-number"),l=x.find(".qlwapp-name"),z=x.find(".qlwapp-label"),y=u.find(".qlwapp-message");var s=p?p+" - "+q:q;k.data("phone",o);j.attr("src",v);m.html(o);l.html(A);z.html(s);y.html(r)});h.on("click","textarea",function(j){h.off("qlwapp.resize")});h.on("keypress","textarea",function(j){if(j.keyCode==13){h.find(".qlwapp-reply").trigger("click");setTimeout(function(){c.location=h.find(".qlwapp-reply").attr("href")},100)}});h.on("keyup","[data-action=response]",function(m){m.preventDefault();var p=d(this).find("textarea"),o=d(this).find("pre"),j=d(this).find(".qlwapp-reply"),n=d(m.delegateTarget),l=n.find(".qlwapp-box"),k=l.find(".qlwapp-buttons");o.html(p.val());setTimeout(function(){l.addClass("texting").css({"padding-bottom":o.outerHeight()});k.addClass("active");var q=p.val();j.data("message",q);if(q==""){l.removeClass("texting");k.removeClass("active")}},300)});h.trigger("qlwapp.init")}};d.fn.qlwapp=function(i){var h=arguments;if(i===g||typeof i==="object"){return this.each(function(){if(!d.data(this,"plugin_qlwapp")){d.data(this,"plugin_qlwapp",new b(this,i))}})}else{if(typeof i==="string"&&i[0]!=="_"&&i!=="init"){var j;this.each(function(){var k=d.data(this,"plugin_qlwapp");if(k instanceof b&&typeof k[i]==="function"){j=k[i].apply(k,Array.prototype.slice.call(h,1))}if(i==="destroy"){d.data(this,"plugin_qlwapp",null)}});return j!==g?j:this}}};function f(){d("div#qlwapp").qlwapp()}f();d(c).on("load",function(){f()});d(c).on("click",function(h){if(!d(h.target).closest("#qlwapp.qlwapp-show").length){d("div#qlwapp.qlwapp-show").trigger("qlwapp.toggle")}});d(c).on("resize",function(h){d("div#qlwapp").trigger("qlwapp.resize");d("div#qlwapp").trigger("qlwapp.init")})})(jQuery,window,document);
|
|
assets/less/qlwapp.less
CHANGED
@@ -561,6 +561,7 @@
|
|
561 |
position: relative;
|
562 |
cursor: pointer;
|
563 |
width: 100%;
|
|
|
564 |
|
565 |
&:only-of-type {
|
566 |
padding-top: 36px;
|
561 |
position: relative;
|
562 |
cursor: pointer;
|
563 |
width: 100%;
|
564 |
+
text-decoration: none;
|
565 |
|
566 |
&:only-of-type {
|
567 |
padding-top: 36px;
|
changelog.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
= 4.4.2 =
|
2 |
* Fix. default settings updated
|
3 |
|
1 |
+
= 4.4.3 =
|
2 |
+
* Fix. time settings in pro version
|
3 |
+
|
4 |
= 4.4.2 =
|
5 |
* Fix. default settings updated
|
6 |
|
includes/defaults.php
CHANGED
@@ -133,27 +133,38 @@ if (!class_exists('QLWAPP_Options')) {
|
|
133 |
return $options;
|
134 |
}
|
135 |
|
136 |
-
function standar_timezone_gmt($timezone) {
|
137 |
$GMT = 'GMT+00:00';
|
138 |
$minutes = '00';
|
139 |
if (strpos($timezone, 'UTC') !== false) {
|
140 |
-
|
141 |
|
142 |
-
|
143 |
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
} else {
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
}
|
156 |
return $GMT;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
}
|
158 |
|
159 |
function get_current_timezone() {
|
@@ -200,7 +211,7 @@ if (!class_exists('QLWAPP_Options')) {
|
|
200 |
$options['contacts'][$id]['phone'] = str_replace('+', '', $options['contacts'][$id]['phone']);
|
201 |
|
202 |
if (!empty($options['contacts'][$id]['timezone']) && !is_admin()) {
|
203 |
-
$options['contacts'][$id]['timezone'] = $this->
|
204 |
}
|
205 |
}
|
206 |
}
|
@@ -222,9 +233,9 @@ if (!class_exists('QLWAPP_Options')) {
|
|
222 |
$options['button']['developer'] = 'yes';
|
223 |
}
|
224 |
if (isset($options['button']['timezone']) && !is_admin()) {
|
225 |
-
$options['button']['timezone'] = $this->
|
226 |
}
|
227 |
-
|
228 |
$qlwapp = $this->wp_parse_args($options, $this->defaults());
|
229 |
}
|
230 |
|
133 |
return $options;
|
134 |
}
|
135 |
|
136 |
+
/* function standar_timezone_gmt($timezone) {
|
137 |
$GMT = 'GMT+00:00';
|
138 |
$minutes = '00';
|
139 |
if (strpos($timezone, 'UTC') !== false) {
|
140 |
+
$timezone = str_replace(array('.25', '.5', '.75'), array(':15', ':30', ':45'), $timezone);
|
141 |
|
142 |
+
$temp = explode(':', $timezone);
|
143 |
|
144 |
+
if (isset($temp[1])) {
|
145 |
+
$minutes = $temp[1];
|
146 |
+
}
|
147 |
+
$hours = str_replace(array('UTC'), array('GMT'), $temp[0]);
|
148 |
+
$hours = str_replace(array('-1', '-2', '-3', '-4', '-5', '-6', '-7', '-8', '-9'), array('-01', '-02', '-03', '-04', '-05', '-06', '-07', '-08', '-09'), $hours);
|
149 |
+
$hours = str_replace(array('+1', '+2', '+3', '+4', '+5', '+6', '+7', '+8', '+9'), array('+01', '+02', '+03', '+04', '+05', '+06', '+07', '+08', '+09'), $hours);
|
150 |
+
$GMT = sprintf('%s:%s', $hours, $minutes);
|
151 |
} else {
|
152 |
+
$target_time_zone = new DateTimeZone($timezone);
|
153 |
+
$date_time = new DateTime('now', $target_time_zone);
|
154 |
+
$GMT = sprintf('GMT%s', $date_time->format('P'));
|
155 |
}
|
156 |
return $GMT;
|
157 |
+
} */
|
158 |
+
|
159 |
+
function get_timezone_offset($timezone) {
|
160 |
+
if (strpos($timezone, 'UTC') !== false) {
|
161 |
+
$offset = preg_replace('/UTC\+?/', '', $timezone) * 60;
|
162 |
+
} else {
|
163 |
+
$current = timezone_open($timezone);
|
164 |
+
$utc = new \DateTime('now', new \DateTimeZone('UTC'));
|
165 |
+
$offset = $current->getOffset($utc) / 3600 * 60;
|
166 |
+
}
|
167 |
+
return $offset;
|
168 |
}
|
169 |
|
170 |
function get_current_timezone() {
|
211 |
$options['contacts'][$id]['phone'] = str_replace('+', '', $options['contacts'][$id]['phone']);
|
212 |
|
213 |
if (!empty($options['contacts'][$id]['timezone']) && !is_admin()) {
|
214 |
+
$options['contacts'][$id]['timezone'] = $this->get_timezone_offset($options['contacts'][$id]['timezone']);
|
215 |
}
|
216 |
}
|
217 |
}
|
233 |
$options['button']['developer'] = 'yes';
|
234 |
}
|
235 |
if (isset($options['button']['timezone']) && !is_admin()) {
|
236 |
+
$options['button']['timezone'] = $this->get_timezone_offset($options['button']['timezone']);
|
237 |
}
|
238 |
+
|
239 |
$qlwapp = $this->wp_parse_args($options, $this->defaults());
|
240 |
}
|
241 |
|
includes/pages/button.php
CHANGED
@@ -85,7 +85,6 @@
|
|
85 |
<b><?php esc_html_e('To', 'wp-whatsapp-chat'); ?></b>
|
86 |
<input type="time" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[button][timeto]'); ?>" placeholder="<?php echo esc_html($this->defaults['button']['timeto']); ?>" value="<?php echo esc_html($qlwapp['button']['timeto']); ?>" />
|
87 |
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
88 |
-
|
89 |
</td>
|
90 |
</tr>
|
91 |
<tr>
|
@@ -94,17 +93,18 @@
|
|
94 |
<select name="<?php echo esc_attr(QLWAPP_DOMAIN . '[button][timezone]'); ?>" aria-describedby="timezone-description" required="" class="qlwapp-select2">
|
95 |
<?php echo wp_timezone_choice($qlwapp['button']['timezone'], get_user_locale()); ?>
|
96 |
</select>
|
|
|
97 |
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
98 |
</td>
|
99 |
</tr>
|
100 |
<!-- <tr>
|
101 |
-
<th scope="row"><?php// esc_html_e('Timeout', 'wp-whatsapp-chat');
|
102 |
<td class="qlwapp-premium-field">
|
103 |
-
<select name="<?php // echo esc_attr(QLWAPP_DOMAIN);
|
104 |
-
<option value="yes" <?php // selected($qlwapp['button']['timeout'], 'yes');
|
105 |
-
<option value="no" <?php // selected($qlwapp['button']['timeout'], 'no');
|
106 |
</select>
|
107 |
-
<p class="description hidden"><small><?php //esc_html_e('This is a premium feature', 'wp-whatsapp-chat');
|
108 |
</td>
|
109 |
</tr> -->
|
110 |
</tbody>
|
85 |
<b><?php esc_html_e('To', 'wp-whatsapp-chat'); ?></b>
|
86 |
<input type="time" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[button][timeto]'); ?>" placeholder="<?php echo esc_html($this->defaults['button']['timeto']); ?>" value="<?php echo esc_html($qlwapp['button']['timeto']); ?>" />
|
87 |
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
|
|
88 |
</td>
|
89 |
</tr>
|
90 |
<tr>
|
93 |
<select name="<?php echo esc_attr(QLWAPP_DOMAIN . '[button][timezone]'); ?>" aria-describedby="timezone-description" required="" class="qlwapp-select2">
|
94 |
<?php echo wp_timezone_choice($qlwapp['button']['timezone'], get_user_locale()); ?>
|
95 |
</select>
|
96 |
+
<p class="description"><small><?php esc_html_e('Hide button if the user is out of the available hours.', 'wp-whatsapp-chat'); ?></small></p>
|
97 |
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
98 |
</td>
|
99 |
</tr>
|
100 |
<!-- <tr>
|
101 |
+
<th scope="row"><?php // esc_html_e('Timeout', 'wp-whatsapp-chat'); ?></th>
|
102 |
<td class="qlwapp-premium-field">
|
103 |
+
<select name="<?php // echo esc_attr(QLWAPP_DOMAIN); ?>[button][timeout]" class="qlwapp-select2">
|
104 |
+
<option value="yes" <?php // selected($qlwapp['button']['timeout'], 'yes'); ?>><?php esc_html_e('Show the button as read only', 'wp-whatsapp-chat'); ?></option>
|
105 |
+
<option value="no" <?php // selected($qlwapp['button']['timeout'], 'no'); ?>><?php esc_html_e('Do not show the button', 'wp-whatsapp-chat'); ?></option>
|
106 |
</select>
|
107 |
+
<p class="description hidden"><small><?php //esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
108 |
</td>
|
109 |
</tr> -->
|
110 |
</tbody>
|
includes/pages/contacts.php
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
<div class="submit qlwapp-premium-field">
|
3 |
+
<?php submit_button(esc_html__('Add Contact', 'wp-whatsapp-chat'), 'secondary', null, false, array('class' => 'qlwapp-contact_open', 'data-contact_id' =>'' )); ?> <p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
4 |
+
</div>
|
5 |
+
|
6 |
+
<table id="qlwapp-contacts-table" class="form-table widefat striped">
|
7 |
+
<thead>
|
8 |
+
<tr>
|
9 |
+
<td><b><?php esc_html_e('Avatar', 'wp-whatsapp-chat'); ?></b></td>
|
10 |
+
<td><b><?php esc_html_e('Phone', 'wp-whatsapp-chat'); ?></b></td>
|
11 |
+
<td><b><?php esc_html_e('Name', 'wp-whatsapp-chat'); ?></b></td>
|
12 |
+
<td><b><?php esc_html_e('Label', 'wp-whatsapp-chat'); ?></b></td>
|
13 |
+
<td><b><?php esc_html_e('Message', 'wp-whatsapp-chat'); ?></b></td>
|
14 |
+
<td><b><?php esc_html_e('Chat', 'wp-whatsapp-chat'); ?></b></td>
|
15 |
+
<td><b><?php esc_html_e('Availability', 'wp-whatsapp-chat'); ?></b></td>
|
16 |
+
<td><b><?php esc_html_e('Timezone', 'wp-whatsapp-chat'); ?></b></td>
|
17 |
+
<td><b><?php esc_html_e('Actions', 'wp-whatsapp-chat'); ?></b></td>
|
18 |
+
</tr>
|
19 |
+
</thead>
|
20 |
+
<tbody>
|
21 |
+
<?php
|
22 |
+
foreach ($qlwapp['contacts'] as $id => $c) {
|
23 |
+
?>
|
24 |
+
<tr> <td>
|
25 |
+
<img class="qlwapp-avatar" src="<?php echo $c['avatar']; ?>" alt="" width="50" height="50" /> </td>
|
26 |
+
<td><b><?php echo esc_attr($c['phone']); ?></b></td>
|
27 |
+
<td><b><?php echo $c['firstname'] . ', ' . $c['lastname']; ?> </b></td>
|
28 |
+
<td><b><?php echo $c['label']; ?></b></td>
|
29 |
+
<td><b><?php echo $c['message']; ?></b></td>
|
30 |
+
<td><b><?php echo $c['chat']; ?></b></td>
|
31 |
+
<td><b><?php echo $c['timefrom']; ?> to <?php echo $c['timeto']; ?></b></td>
|
32 |
+
<td><b><?php echo $c['timezone']; ?></b></td>
|
33 |
+
<td><b>
|
34 |
+
<?php submit_button(esc_html__('Edit Contact', 'wp-whatsapp-chat'), 'secondary', null, false, array('class' => 'qlwapp-contact_open', 'data-contact_id' => $id)); ?>
|
35 |
+
</b></td>
|
36 |
+
</tr>
|
37 |
+
<?php
|
38 |
+
}
|
39 |
+
?>
|
40 |
+
</tbody>
|
41 |
+
</table>
|
42 |
+
|
43 |
+
<script type="text/html" id='tmpl-wpmi-modal-backdrop'>
|
44 |
+
<div class="media-modal-backdrop"> </div>
|
45 |
+
</script>
|
46 |
+
<script type="text/html" id='tmpl-wpmi-modal-window'>
|
47 |
+
<div id="<?php echo esc_attr(QLWAPP_DOMAIN . '_modal'); ?>" class="media-modal wp-core-ui">
|
48 |
+
<button type="button" class="media-modal-close close">
|
49 |
+
<span class="media-modal-icon">
|
50 |
+
<span class="screen-reader-text"><?php esc_html_e('Close media panel'); ?></span>
|
51 |
+
</span>
|
52 |
+
</button>
|
53 |
+
<div class="media-frame mode-select wp-core-ui hide-menu">
|
54 |
+
<div class="media-frame-title">
|
55 |
+
<h1><?php esc_html_e('Admin Contact'); ?>
|
56 |
+
<span class="dashicons dashicons-arrow-down"></span>
|
57 |
+
</h1>
|
58 |
+
</div>
|
59 |
+
<div class="media-modal-content">
|
60 |
+
<div class="media-frame mode-select wp-core-ui">
|
61 |
+
<div class="media-frame-content" >
|
62 |
+
<table>
|
63 |
+
<tr>
|
64 |
+
<div tabindex="0" class="attachment-details save-ready">
|
65 |
+
<div class="upload">
|
66 |
+
<img id="cavatar-img" class="qlwapp-avatar" data-src="<?php echo stripslashes(esc_url($qlwapp['contacts'][$id]['avatar'])); ?>" src="<?php echo esc_url($qlwapp['contacts'][$id]['avatar']); ?>" width="75" height="75"/>
|
67 |
+
<div>
|
68 |
+
<input type="hidden" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[contacts][' . $id . '][avatar]'); ?>" id="cavatar" value="<?php echo esc_url($qlwapp['contacts'][$id]['avatar']); ?>" />
|
69 |
+
<button type="button" class="upload_image_button button"><?php esc_html_e('Upload', 'wp-whatsapp-chat'); ?></button>
|
70 |
+
<button type="button" class="remove_image_button button">×</button>
|
71 |
+
</div>
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
</tr>
|
75 |
+
<tr>
|
76 |
+
<td><b><?php esc_html_e('Firstname', 'wp-whatsapp-chat'); ?></b></td>
|
77 |
+
<td><input type="text" id="cfirstname" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[contacts][' . $id . '][firstname]'); ?>" placeholder="<?php echo esc_html($this->defaults['contacts'][0]['firstname']); ?>" value="<?php echo esc_html($qlwapp['contacts'][$id]['firstname']); ?>" /></td>
|
78 |
+
<td><b><?php esc_html_e('Lastname', 'wp-whatsapp-chat'); ?></b></td>
|
79 |
+
<td><input type="text" id="clastname" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[contacts][' . $id . '][lastname]'); ?>" placeholder="<?php echo esc_html($this->defaults['contacts'][0]['lastname']); ?>" value="<?php echo esc_html($qlwapp['contacts'][$id]['lastname']); ?>" /></td>
|
80 |
+
</tr>
|
81 |
+
<tr>
|
82 |
+
<td><b><?php esc_html_e('Phone', 'wp-whatsapp-chat'); ?></b></td><td><input type="text" id="cphone" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[contacts][' . $id . '][phone]'); ?>" placeholder="<?php echo esc_html($this->defaults['contacts'][0]['phone']); ?>" value="<?php echo esc_html($qlwapp['contacts'][$id]['phone']); ?>" required="required" pattern="\d[0-9]{6,15}$"/></td>
|
83 |
+
<td><b><?php esc_html_e('Label', 'wp-whatsapp-chat'); ?></b></td><td><input type="text" id="clabel" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[contacts][' . $id . '][label]'); ?>" placeholder="<?php echo esc_html($this->defaults['contacts'][0]['label']); ?>" value="<?php echo esc_html($qlwapp['contacts'][$id]['label']); ?>" /></td>
|
84 |
+
</tr>
|
85 |
+
<tr>
|
86 |
+
<td >
|
87 |
+
<b><?php esc_html_e('From', 'wp-whatsapp-chat'); ?></b></td>
|
88 |
+
<td class="qlwapp-premium-field">
|
89 |
+
<input type="time" id="ctimefrom" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[contacts][' . $id . '][timefrom]'); ?>" placeholder="<?php echo esc_html($this->defaults['contacts'][0]['timefrom']); ?>" value="<?php echo esc_html($qlwapp['contacts'][$id]['timefrom']); ?>" />
|
90 |
+
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
91 |
+
|
92 |
+
</td>
|
93 |
+
<td>
|
94 |
+
<b><?php esc_html_e('To', 'wp-whatsapp-chat'); ?></b></td>
|
95 |
+
<td class="qlwapp-premium-field">
|
96 |
+
<input type="time" id="ctimeto" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[contacts][' . $id . '][timeto]'); ?>" placeholder="<?php echo esc_html($this->defaults['contacts'][0]['timeto']); ?>" value="<?php echo esc_html($qlwapp['contacts'][$id]['timeto']); ?>" />
|
97 |
+
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
98 |
+
</td>
|
99 |
+
</tr>
|
100 |
+
<!--
|
101 |
+
<tr>
|
102 |
+
<td><b><?php esc_html_e('Time is over', 'wp-whatsapp-chat'); ?></b></td>
|
103 |
+
<td class="qlwapp-premium-field">
|
104 |
+
<select id="ctimeout" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[contacts][' . $id . '][timeout]'); ?>">
|
105 |
+
<option value="readonly" ><?php esc_html_e('Show the field as read only', 'wp-whatsapp-chat'); ?></option>
|
106 |
+
<option value="disabled" > <?php esc_html_e('Do not show the field', 'wp-whatsapp-chat'); ?></option>
|
107 |
+
</select>
|
108 |
+
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
109 |
+
</td> -->
|
110 |
+
<td>
|
111 |
+
<b><label for="timezone"><?php esc_html_e('Timezone', 'wp-whatsapp-chat'); ?></label></b></td>
|
112 |
+
<td class="qlwapp-premium-field">
|
113 |
+
<select id="ctimezone" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[contacts][' . $id . '][timezone]'); ?>" aria-describedby="timezone-description">
|
114 |
+
<?php echo wp_timezone_choice(get_option('timezone_string'), get_user_locale()); ?>
|
115 |
+
</select>
|
116 |
+
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
117 |
+
|
118 |
+
</td>
|
119 |
+
</tr>
|
120 |
+
</table>
|
121 |
+
|
122 |
+
</div>
|
123 |
+
<div class="media-frame-toolbar">
|
124 |
+
<div class="media-toolbar">
|
125 |
+
<div class="media-toolbar-secondary"></div>
|
126 |
+
<div class="media-toolbar-primary search-form">
|
127 |
+
<button type="button" data-id="0" class="button media-button button-large button-primary media-button-select save"><?php esc_html_e('Save'); ?></button>
|
128 |
+
<button type="button" class="button media-button button-large button-secondary close"><?php esc_html_e('Close'); ?></button>
|
129 |
+
</div>
|
130 |
+
</div>
|
131 |
+
</div>
|
132 |
+
</div>
|
133 |
+
</div>
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
</script>
|
137 |
+
|
138 |
+
|
139 |
+
|
includes/pages/display.php
CHANGED
@@ -42,7 +42,7 @@
|
|
42 |
<option value="include">Include</option>
|
43 |
<option value="include">Exclude</option>
|
44 |
</select>-->
|
45 |
-
<select
|
46 |
<option value="none" <?php echo selected(true, in_array('none', (array) $qlwapp['display'][$type->name])); ?>><?php echo esc_html__('Exclude from all', 'wp-whatsapp-chat'); ?></option>
|
47 |
<!--<option value="archive" <?php echo selected(true, in_array('archive', (array) $qlwapp['display'][$type->name])); ?>><?php echo esc_html__('Archive', 'wp-whatsapp-chat'); ?></option>-->
|
48 |
<?php
|
42 |
<option value="include">Include</option>
|
43 |
<option value="include">Exclude</option>
|
44 |
</select>-->
|
45 |
+
<select id="qlwapp_select2_<?php echo esc_attr($type->name); ?>" multiple="multiple" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[display][' . $type->name . '][]'); ?>" style="width:350px" data-placeholder="<?php printf(esc_html__('Select for %s…', 'wp-whatsapp-chat'), $type->label); ?>" aria-label="<?php echo esc_attr($type->label); ?>" data-name="<?php echo esc_attr($type->name); ?>" class="qlwapp-select2-ajax">
|
46 |
<option value="none" <?php echo selected(true, in_array('none', (array) $qlwapp['display'][$type->name])); ?>><?php echo esc_html__('Exclude from all', 'wp-whatsapp-chat'); ?></option>
|
47 |
<!--<option value="archive" <?php echo selected(true, in_array('archive', (array) $qlwapp['display'][$type->name])); ?>><?php echo esc_html__('Archive', 'wp-whatsapp-chat'); ?></option>-->
|
48 |
<?php
|
includes/settings.php
CHANGED
@@ -57,6 +57,7 @@ if (!class_exists('QLWAPP_Settings')) {
|
|
57 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Welcome', 'wp-whatsapp-chat'), esc_html__('Welcome', 'wp-whatsapp-chat'), 'edit_posts', QLWAPP_DOMAIN, array($this, 'settings_welcome'));
|
58 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Button', 'wp-whatsapp-chat'), esc_html__('Button', 'wp-whatsapp-chat'), 'manage_options', QLWAPP_DOMAIN . '_button', array($this, 'settings_button'));
|
59 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Box', 'wp-whatsapp-chat'), esc_html__('Box', 'wp-whatsapp-chat'), 'manage_options', QLWAPP_DOMAIN . '_box', array($this, 'settings_box'));
|
|
|
60 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Display', 'wp-whatsapp-chat'), esc_html__('Display', 'wp-whatsapp-chat'), 'manage_options', QLWAPP_DOMAIN . '_display', array($this, 'settings_display'));
|
61 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Colors', 'wp-whatsapp-chat'), esc_html__('Colors', 'wp-whatsapp-chat'), 'manage_options', QLWAPP_DOMAIN . '_colors', array($this, 'settings_colors'));
|
62 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Premium', 'wp-whatsapp-chat'), sprintf('<i class="dashicons dashicons-awards"></i> %s', esc_html__('Premium', 'wp-whatsapp-chat')), 'edit_posts', QLWAPP_DOMAIN . '_premium', array($this, 'settings_premium'));
|
@@ -192,6 +193,17 @@ if (!class_exists('QLWAPP_Settings')) {
|
|
192 |
<?php
|
193 |
}
|
194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
function settings_display() {
|
196 |
|
197 |
global $qlwapp;
|
@@ -298,28 +310,28 @@ if (!class_exists('QLWAPP_Settings')) {
|
|
298 |
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
299 |
</td>
|
300 |
</tr>
|
301 |
-
<!--
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
<td>
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
</tr>
|
324 |
<tr>
|
325 |
<td><b><?php esc_html_e('Chat', 'wp-whatsapp-chat'); ?></b></td>
|
@@ -439,13 +451,19 @@ if (!class_exists('QLWAPP_Settings')) {
|
|
439 |
<?php
|
440 |
}
|
441 |
|
442 |
-
|
443 |
function add_js() {
|
444 |
if (isset($_GET['page']) && strpos($_GET['page'], QLWAPP_DOMAIN) !== false) {
|
445 |
-
wp_enqueue_style('qlwapp-admin', plugins_url('/assets/css/qlwapp-admin'. QLWAPP::is_min().'.css', QLWAPP_PLUGIN_FILE), array('wp-color-picker'), QLWAPP_PLUGIN_VERSION, 'all');
|
446 |
wp_enqueue_media();
|
447 |
-
|
448 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
}
|
450 |
}
|
451 |
|
@@ -458,6 +476,25 @@ if (!class_exists('QLWAPP_Settings')) {
|
|
458 |
add_action('print_media_templates', array($this, 'add_print_media_templates'));
|
459 |
add_filter('pre_update_option_' . sanitize_key(QLWAPP_DOMAIN), array($this, 'filter_pre_update_option'), -1, 3);
|
460 |
add_filter('plugin_action_links_' . plugin_basename(QLWAPP_PLUGIN_FILE), array($this, 'add_action_links'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
461 |
}
|
462 |
|
463 |
public static function instance() {
|
57 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Welcome', 'wp-whatsapp-chat'), esc_html__('Welcome', 'wp-whatsapp-chat'), 'edit_posts', QLWAPP_DOMAIN, array($this, 'settings_welcome'));
|
58 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Button', 'wp-whatsapp-chat'), esc_html__('Button', 'wp-whatsapp-chat'), 'manage_options', QLWAPP_DOMAIN . '_button', array($this, 'settings_button'));
|
59 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Box', 'wp-whatsapp-chat'), esc_html__('Box', 'wp-whatsapp-chat'), 'manage_options', QLWAPP_DOMAIN . '_box', array($this, 'settings_box'));
|
60 |
+
//add_submenu_page(QLWAPP_DOMAIN, esc_html__('Contacts', 'wp-whatsapp-chat'), esc_html__('Contacts', 'wp-whatsapp-chat'), 'manage_options', QLWAPP_DOMAIN . '_contacts', array($this, 'settings_contacts1'));
|
61 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Display', 'wp-whatsapp-chat'), esc_html__('Display', 'wp-whatsapp-chat'), 'manage_options', QLWAPP_DOMAIN . '_display', array($this, 'settings_display'));
|
62 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Colors', 'wp-whatsapp-chat'), esc_html__('Colors', 'wp-whatsapp-chat'), 'manage_options', QLWAPP_DOMAIN . '_colors', array($this, 'settings_colors'));
|
63 |
add_submenu_page(QLWAPP_DOMAIN, esc_html__('Premium', 'wp-whatsapp-chat'), sprintf('<i class="dashicons dashicons-awards"></i> %s', esc_html__('Premium', 'wp-whatsapp-chat')), 'edit_posts', QLWAPP_DOMAIN . '_premium', array($this, 'settings_premium'));
|
193 |
<?php
|
194 |
}
|
195 |
|
196 |
+
function settings_contacts1() {
|
197 |
+
|
198 |
+
global $qlwapp;
|
199 |
+
?>
|
200 |
+
<?php $this->settings_header(); ?>
|
201 |
+
<div class="wrap about-wrap full-width-layout qlwrap">
|
202 |
+
<?php include_once('pages/contacts.php'); ?>
|
203 |
+
</div>
|
204 |
+
<?php
|
205 |
+
}
|
206 |
+
|
207 |
function settings_display() {
|
208 |
|
209 |
global $qlwapp;
|
310 |
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
311 |
</td>
|
312 |
</tr>
|
313 |
+
<!--
|
314 |
+
<tr>
|
315 |
+
<td><b><?php esc_html_e('Time is over', 'wp-whatsapp-chat'); ?></b></td>
|
316 |
+
<td class="qlwapp-premium-field">
|
317 |
+
<select id="ctimeout" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[contacts][' . $id . '][timeout]'); ?>">
|
318 |
+
<option value="readonly" ><?php esc_html_e('Show the field as read only', 'wp-whatsapp-chat'); ?></option>
|
319 |
+
<option value="disabled" > <?php esc_html_e('Do not show the field', 'wp-whatsapp-chat'); ?></option>
|
320 |
+
</select>
|
321 |
+
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
322 |
+
</td> -->
|
323 |
<td>
|
324 |
+
<b><label for="timezone"><?php esc_html_e('Timezone', 'wp-whatsapp-chat'); ?></label></b></td>
|
325 |
+
<td class="qlwapp-premium-field">
|
326 |
+
<select id="ctimezone" name="<?php echo esc_attr(QLWAPP_DOMAIN . '[contacts][' . $id . '][timezone]'); ?>" aria-describedby="timezone-description">
|
327 |
+
<?php echo wp_timezone_choice(get_option('timezone_string'), get_user_locale()); ?>
|
328 |
+
</select>
|
329 |
+
<p class="description hidden"><small><?php esc_html_e('This is a premium feature', 'wp-whatsapp-chat'); ?></small></p>
|
330 |
+
|
331 |
+
</td>
|
332 |
+
</tr>
|
333 |
+
</table>
|
334 |
+
</td>
|
335 |
</tr>
|
336 |
<tr>
|
337 |
<td><b><?php esc_html_e('Chat', 'wp-whatsapp-chat'); ?></b></td>
|
451 |
<?php
|
452 |
}
|
453 |
|
|
|
454 |
function add_js() {
|
455 |
if (isset($_GET['page']) && strpos($_GET['page'], QLWAPP_DOMAIN) !== false) {
|
456 |
+
wp_enqueue_style('qlwapp-admin', plugins_url('/assets/css/qlwapp-admin' . QLWAPP::is_min() . '.css', QLWAPP_PLUGIN_FILE), array('wp-color-picker'), QLWAPP_PLUGIN_VERSION, 'all');
|
457 |
wp_enqueue_media();
|
458 |
+
//wp_register_script('qlwapp-modal', plugins_url('/assets/js/qlwapp-modal' . QLWAPP::is_min() . '.js', QLWAPP_PLUGIN_FILE), array('jquery', 'backbone'), QLWAPP_PLUGIN_VERSION, true);
|
459 |
+
wp_register_script('qlwapp-select2', plugins_url('/assets/js/select2.min.js', QLWAPP_PLUGIN_FILE), array('jquery'), QLWAPP_PLUGIN_VERSION);
|
460 |
+
wp_enqueue_script('qlwapp-admin', plugins_url('/assets/js/qlwapp-admin' . QLWAPP::is_min() . '.js', QLWAPP_PLUGIN_FILE), array('jquery', /* 'qlwapp-modal', */ 'qlwapp-select2', 'wp-color-picker'), QLWAPP_PLUGIN_VERSION, true);
|
461 |
+
|
462 |
+
wp_localize_script('qlwapp-admin', 'qlwapp', array('nonce' => array(
|
463 |
+
'qlwapp_get_posts' => wp_create_nonce('qlwapp_get_posts'),
|
464 |
+
'qlwapp_get_contact' => wp_create_nonce('qlwapp_get_contact')
|
465 |
+
))
|
466 |
+
);
|
467 |
}
|
468 |
}
|
469 |
|
476 |
add_action('print_media_templates', array($this, 'add_print_media_templates'));
|
477 |
add_filter('pre_update_option_' . sanitize_key(QLWAPP_DOMAIN), array($this, 'filter_pre_update_option'), -1, 3);
|
478 |
add_filter('plugin_action_links_' . plugin_basename(QLWAPP_PLUGIN_FILE), array($this, 'add_action_links'));
|
479 |
+
|
480 |
+
////
|
481 |
+
add_action('wp_ajax_qlwapp_get_contact', array($this, 'ajax_get_contact'));
|
482 |
+
}
|
483 |
+
|
484 |
+
///
|
485 |
+
function ajax_get_contact() {
|
486 |
+
global $qlwapp;
|
487 |
+
/* if (check_ajax_referer('qlwapp_get_contact', 'nonce', false)) {
|
488 |
+
|
489 |
+
$contact_id = (isset($_REQUEST['contact_id']))?absint($_REQUEST['contact_id']):-1;
|
490 |
+
if ( $contact_id > 0){
|
491 |
+
if (isset ($qlwapp['contacts'][$contact_id])){
|
492 |
+
wp_send_json_success($qlwapp['contacts'][$contact_id]); } }
|
493 |
+
else {
|
494 |
+
wp_send_json_success( $this->defaults()['contacts'][0]);
|
495 |
+
}
|
496 |
+
|
497 |
+
wp_die('----Fail!'); */
|
498 |
}
|
499 |
|
500 |
public static function instance() {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
|
|
4 |
Tags: whatsapp, whatsapp button, whatsapp chat, whatsapp support, contact, click to chat, directly message whatsapp, floating whatsapp, whatsapp business, messaging, help desk
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 5.2.2
|
7 |
-
Stable tag: 4.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Tags: whatsapp, whatsapp button, whatsapp chat, whatsapp support, contact, click to chat, directly message whatsapp, floating whatsapp, whatsapp business, messaging, help desk
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 5.2.2
|
7 |
+
Stable tag: 4.4.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
wp-whatsapp-chat.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WhatsApp Chat
|
4 |
* Plugin URI: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
|
5 |
* Description: WhatsApp Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
|
6 |
-
* Version: 4.4.
|
7 |
* Author: QuadLayers
|
8 |
* Author URI: https://quadlayers.com
|
9 |
* License: GPL-2.0+
|
@@ -18,7 +18,7 @@ if (!defined('QLWAPP_PLUGIN_NAME')) {
|
|
18 |
define('QLWAPP_PLUGIN_NAME', 'WhatsApp Chat');
|
19 |
}
|
20 |
if (!defined('QLWAPP_PLUGIN_VERSION')) {
|
21 |
-
define('QLWAPP_PLUGIN_VERSION', '4.4.
|
22 |
}
|
23 |
if (!defined('QLWAPP_PLUGIN_FILE')) {
|
24 |
define('QLWAPP_PLUGIN_FILE', __FILE__);
|
@@ -122,6 +122,7 @@ if (!class_exists('QLWAPP')) {
|
|
122 |
include_once('includes/defaults.php');
|
123 |
include_once('includes/frontend.php');
|
124 |
include_once('includes/settings.php');
|
|
|
125 |
}
|
126 |
|
127 |
public static function is_min() {
|
3 |
* Plugin Name: WhatsApp Chat
|
4 |
* Plugin URI: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
|
5 |
* Description: WhatsApp Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
|
6 |
+
* Version: 4.4.3
|
7 |
* Author: QuadLayers
|
8 |
* Author URI: https://quadlayers.com
|
9 |
* License: GPL-2.0+
|
18 |
define('QLWAPP_PLUGIN_NAME', 'WhatsApp Chat');
|
19 |
}
|
20 |
if (!defined('QLWAPP_PLUGIN_VERSION')) {
|
21 |
+
define('QLWAPP_PLUGIN_VERSION', '4.4.3');
|
22 |
}
|
23 |
if (!defined('QLWAPP_PLUGIN_FILE')) {
|
24 |
define('QLWAPP_PLUGIN_FILE', __FILE__);
|
122 |
include_once('includes/defaults.php');
|
123 |
include_once('includes/frontend.php');
|
124 |
include_once('includes/settings.php');
|
125 |
+
//include_once('includes/contacts_ajax.php');
|
126 |
}
|
127 |
|
128 |
public static function is_min() {
|