Version Description
= 6.0.0 =
This is a major release. Please back up your site before upgrading.
Download this release
Release Info
Developer | chriscct7 |
Plugin | Google Analytics for WordPress by MonsterInsights |
Version | 6.0.12 |
Comparing to | |
See all releases |
Code changes from version 6.0.11 to 6.0.12
- README.md +1 -3
- assets/css/admin.css +3 -3
- assets/css/admin.min.css +1 -1
- assets/css/select2/select2.css +0 -484
- assets/css/select2/select2.min.css +0 -1
- assets/css/{select2 → select300}/index.php +0 -0
- assets/css/select300/select300.css +484 -0
- assets/css/select300/select300.min.css +1 -0
- assets/js/admin.js +5 -2
- assets/js/admin.min.js +9 -9
- assets/js/frontend.js +376 -0
- assets/js/frontend.min.js +29 -0
- assets/js/select2/i18n/ar.js +0 -3
- assets/js/select2/i18n/az.js +0 -3
- assets/js/select2/i18n/bg.js +0 -3
- assets/js/select2/i18n/ca.js +0 -3
- assets/js/select2/i18n/cs.js +0 -3
- assets/js/select2/i18n/da.js +0 -3
- assets/js/select2/i18n/de.js +0 -3
- assets/js/select2/i18n/el.js +0 -3
- assets/js/select2/i18n/en.js +0 -3
- assets/js/select2/i18n/es.js +0 -3
- assets/js/select2/i18n/et.js +0 -3
- assets/js/select2/i18n/eu.js +0 -3
- assets/js/select2/i18n/fa.js +0 -3
- assets/js/select2/i18n/fi.js +0 -3
- assets/js/select2/i18n/fr.js +0 -3
- assets/js/select2/i18n/gl.js +0 -3
- assets/js/select2/i18n/he.js +0 -3
- assets/js/select2/i18n/hi.js +0 -3
- assets/js/select2/i18n/hr.js +0 -3
- assets/js/select2/i18n/hu.js +0 -3
- assets/js/select2/i18n/id.js +0 -3
- assets/js/select2/i18n/is.js +0 -3
- assets/js/select2/i18n/it.js +0 -3
- assets/js/select2/i18n/ja.js +0 -3
- assets/js/select2/i18n/km.js +0 -3
- assets/js/select2/i18n/ko.js +0 -3
- assets/js/select2/i18n/lt.js +0 -3
- assets/js/select2/i18n/lv.js +0 -3
- assets/js/select2/i18n/mk.js +0 -3
- assets/js/select2/i18n/ms.js +0 -3
- assets/js/select2/i18n/nb.js +0 -3
- assets/js/select2/i18n/nl.js +0 -3
- assets/js/select2/i18n/pl.js +0 -3
- assets/js/select2/i18n/pt-BR.js +0 -3
- assets/js/select2/i18n/pt.js +0 -3
- assets/js/select2/i18n/ro.js +0 -3
- assets/js/select2/i18n/ru.js +0 -3
- assets/js/select2/i18n/sk.js +0 -3
- assets/js/select2/i18n/sr-Cyrl.js +0 -3
- assets/js/select2/i18n/sr.js +0 -3
- assets/js/select2/i18n/sv.js +0 -3
- assets/js/select2/i18n/th.js +0 -3
- assets/js/select2/i18n/tr.js +0 -3
- assets/js/select2/i18n/uk.js +0 -3
- assets/js/select2/i18n/vi.js +0 -3
- assets/js/select2/i18n/zh-CN.js +0 -3
- assets/js/select2/i18n/zh-TW.js +0 -3
- assets/js/select2/select2.min.js +0 -3
- assets/js/select300/i18n/ar.js +3 -0
- assets/js/select300/i18n/az.js +3 -0
- assets/js/select300/i18n/bg.js +3 -0
- assets/js/select300/i18n/ca.js +3 -0
- assets/js/select300/i18n/cs.js +3 -0
- assets/js/select300/i18n/da.js +3 -0
- assets/js/select300/i18n/de.js +3 -0
- assets/js/select300/i18n/el.js +3 -0
- assets/js/select300/i18n/en.js +3 -0
- assets/js/select300/i18n/es.js +3 -0
- assets/js/select300/i18n/et.js +3 -0
- assets/js/select300/i18n/eu.js +3 -0
- assets/js/select300/i18n/fa.js +3 -0
- assets/js/select300/i18n/fi.js +3 -0
- assets/js/select300/i18n/fr.js +3 -0
- assets/js/select300/i18n/gl.js +3 -0
- assets/js/select300/i18n/he.js +3 -0
- assets/js/select300/i18n/hi.js +3 -0
- assets/js/select300/i18n/hr.js +3 -0
- assets/js/select300/i18n/hu.js +3 -0
- assets/js/select300/i18n/id.js +3 -0
- assets/js/{select2 → select300}/i18n/index.php +0 -0
- assets/js/select300/i18n/is.js +3 -0
- assets/js/select300/i18n/it.js +3 -0
- assets/js/select300/i18n/ja.js +3 -0
- assets/js/select300/i18n/km.js +3 -0
- assets/js/select300/i18n/ko.js +3 -0
- assets/js/select300/i18n/lt.js +3 -0
- assets/js/select300/i18n/lv.js +3 -0
- assets/js/select300/i18n/mk.js +3 -0
- assets/js/select300/i18n/ms.js +3 -0
- assets/js/select300/i18n/nb.js +3 -0
- assets/js/select300/i18n/nl.js +3 -0
- assets/js/select300/i18n/pl.js +3 -0
- assets/js/select300/i18n/pt-BR.js +3 -0
- assets/js/select300/i18n/pt.js +3 -0
- assets/js/select300/i18n/ro.js +3 -0
- assets/js/select300/i18n/ru.js +3 -0
- assets/js/select300/i18n/sk.js +3 -0
- assets/js/select300/i18n/sr-Cyrl.js +3 -0
- assets/js/select300/i18n/sr.js +3 -0
- assets/js/select300/i18n/sv.js +3 -0
- assets/js/select300/i18n/th.js +3 -0
- assets/js/select300/i18n/tr.js +3 -0
- assets/js/select300/i18n/uk.js +3 -0
- assets/js/select300/i18n/vi.js +3 -0
- assets/js/select300/i18n/zh-CN.js +3 -0
- assets/js/select300/i18n/zh-TW.js +3 -0
- assets/js/{select2 → select300}/index.php +0 -0
- assets/js/{select2/select2.js → select300/select300.js} +156 -156
- assets/js/select300/select300.min.js +3 -0
- googleanalytics.php +9 -9
- includes/admin/common.php +34 -6
- includes/admin/google.php +20 -9
- includes/admin/pages/addons.php +1 -2
- includes/admin/pages/dashboard.php +1 -0
- includes/admin/pages/network-settings.php +1 -0
- includes/admin/pages/reports.php +2 -1
- includes/admin/pages/settings.php +1 -0
- includes/admin/reports/overview.php +165 -161
- includes/admin/settings/register-settings.php +6 -0
- includes/admin/settings/settings-api.php +1 -1
- includes/admin/settings/tab-general.php +2 -20
- includes/frontend/events/class-events-js.php +22 -394
- languages/google-analytics-for-wordpress.pot +143 -132
- readme.txt +11 -2
README.md
CHANGED
@@ -162,13 +162,11 @@ User defined:
|
|
162 |
- `MONSTERINSIGHTS_AIRPLANE_MODE`
|
163 |
- For future use. Currently does nothing. Useful for local site testing.
|
164 |
- `MONSTERINSIGHTS_GA_UA`
|
165 |
-
- Don't use oAuth or the wizard, but hardcode to use UA. Note, this will not allow backend reports to work. You can also use the filter `
|
166 |
- `MONSTERINSIGHTS_MULTISITE_GA_UA`. See UA priority rules below.
|
167 |
- You can use this constant to force the same the same UA for all subsites of an MS install. Note, this will not allow backend reports to work. See UA priority rules below.
|
168 |
- `MONSTERINSIGHTS_DEBUG_MODE`
|
169 |
- Enables analytics.js and events tracking debug mode. Sets asset version to time(). In future, turns on logging to file for logging class. Available to turn on in backend via debug_mode setting.
|
170 |
-
- `MONSTERINSIGHTS_SHAREASALE_ID`
|
171 |
-
- If you want to bundle MonsterInsights with a theme, you can use this constant to ensure you get affiliate credit for any conversions.
|
172 |
|
173 |
### Lite Only ###
|
174 |
- `MONSTERINSIGHTS_LITE_VERSION`
|
162 |
- `MONSTERINSIGHTS_AIRPLANE_MODE`
|
163 |
- For future use. Currently does nothing. Useful for local site testing.
|
164 |
- `MONSTERINSIGHTS_GA_UA`
|
165 |
+
- Don't use oAuth or the wizard, but hardcode to use UA. Note, this will not allow backend reports to work. You can also use the filter `monsterinsights_get_ua`.
|
166 |
- `MONSTERINSIGHTS_MULTISITE_GA_UA`. See UA priority rules below.
|
167 |
- You can use this constant to force the same the same UA for all subsites of an MS install. Note, this will not allow backend reports to work. See UA priority rules below.
|
168 |
- `MONSTERINSIGHTS_DEBUG_MODE`
|
169 |
- Enables analytics.js and events tracking debug mode. Sets asset version to time(). In future, turns on logging to file for logging class. Available to turn on in backend via debug_mode setting.
|
|
|
|
|
170 |
|
171 |
### Lite Only ###
|
172 |
- `MONSTERINSIGHTS_LITE_VERSION`
|
assets/css/admin.css
CHANGED
@@ -264,7 +264,7 @@
|
|
264 |
/** GA Auth Styles */
|
265 |
/** Container */
|
266 |
.monsterinsights_opacity_60{opacity:.6}
|
267 |
-
#monsterinsights_google_auth_view{color:#000;font-family:"proxima-nova","Helvetica Neue",sans-serif;-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s;text-align:center;-webkit-perspective:700px;-webkit-perspective-origin:320px 700px;margin:0 auto;height:588px;width:400px;overflow:hidden;max-width:100%;margin:auto;top:0;left:0;bottom:0;right:0;position:absolute;z-index:
|
268 |
|
269 |
/** Backgrounds */
|
270 |
.monsterinsights_google_auth_start_view{background-image:url(../images/gauth-1-of-3.png);background-repeat:no-repeat}
|
@@ -291,7 +291,7 @@
|
|
291 |
}
|
292 |
|
293 |
/** Header/Footer */
|
294 |
-
#monsterinsights_google_auth_block_view{position:fixed;background:rgba(243,246,255,.9);top:0;right:0;bottom:0;left:0;z-index:
|
295 |
#monsterinsights_google_auth_box_header{height:80px;width:100%}
|
296 |
#monsterinsights_google_auth_box_contents{height:187px;padding-top:321px;width:100%}
|
297 |
#monsterinsights_google_auth_box_contents.monsterinsights_google_auth_reauth{padding-top:303px}
|
@@ -316,7 +316,7 @@
|
|
316 |
#monsterinsights_google_auth_view.monsterinsights_google_auth_reauth{height:650px}
|
317 |
.monsterinsights_google_auth_step_data_enterkey_view{width:80%;margin-right:10%;margin-left:10%;height:30px;margin-top:10px}
|
318 |
.monsterinsights-google-loading{width:100%;height:100%;background-color:#FFF;color:#000;font-size:30px;padding-top:30px}
|
319 |
-
body.monsterinsights_page .
|
320 |
|
321 |
/** Tracking Tab Styles **/
|
322 |
/** Upgrade CSS */
|
264 |
/** GA Auth Styles */
|
265 |
/** Container */
|
266 |
.monsterinsights_opacity_60{opacity:.6}
|
267 |
+
#monsterinsights_google_auth_view{color:#000;font-family:"proxima-nova","Helvetica Neue",sans-serif;-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s;text-align:center;-webkit-perspective:700px;-webkit-perspective-origin:320px 700px;margin:0 auto;height:588px;width:400px;overflow:hidden;max-width:100%;margin:auto;top:0;left:0;bottom:0;right:0;position:absolute;z-index:301;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f3f5ff;-moz-box-shadow:0 0 43px rgba(97,93,155,.23);-webkit-box-shadow:0 0 43px rgba(97,93,155,.23);box-shadow:0 0 43px rgba(97,93,155,.23)}
|
268 |
|
269 |
/** Backgrounds */
|
270 |
.monsterinsights_google_auth_start_view{background-image:url(../images/gauth-1-of-3.png);background-repeat:no-repeat}
|
291 |
}
|
292 |
|
293 |
/** Header/Footer */
|
294 |
+
#monsterinsights_google_auth_block_view{position:fixed;background:rgba(243,246,255,.9);top:0;right:0;bottom:0;left:0;z-index:300}
|
295 |
#monsterinsights_google_auth_box_header{height:80px;width:100%}
|
296 |
#monsterinsights_google_auth_box_contents{height:187px;padding-top:321px;width:100%}
|
297 |
#monsterinsights_google_auth_box_contents.monsterinsights_google_auth_reauth{padding-top:303px}
|
316 |
#monsterinsights_google_auth_view.monsterinsights_google_auth_reauth{height:650px}
|
317 |
.monsterinsights_google_auth_step_data_enterkey_view{width:80%;margin-right:10%;margin-left:10%;height:30px;margin-top:10px}
|
318 |
.monsterinsights-google-loading{width:100%;height:100%;background-color:#FFF;color:#000;font-size:30px;padding-top:30px}
|
319 |
+
body.monsterinsights_page .select300-drop{z-index:302 !important}
|
320 |
|
321 |
/** Tracking Tab Styles **/
|
322 |
/** Upgrade CSS */
|
assets/css/admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body.monsterinsights_page div.wrap > div.error,body.monsterinsights_page div.wrap > div.notice,body.monsterinsights_page div.wrap > div.updated{margin-left:20px;margin-right:20px}body.monsterinsights_page .update-nag{margin-left:20px;margin-bottom:20px}body.monsterinsights_page #wpcontent{padding-left:0}body.monsterinsights_page div.wrap{margin:0 20px}body.monsterinsights_page #wpbody,body.monsterinsights_page #wpfooter,body.monsterinsights_page,body.monsterinsights_page #wpwrap{background-color:#fff}@media (max-width: 599px){body.monsterinsights_page #wpbody{padding-top:0}}.monsterinsights-grid{margin:0 0 50px}.monsterinsights-grid:after{content:"";display:table;clear:both}.monsterinsights-col-1-1{width:100%}.monsterinsights-col-7-8{width:87.5%}.monsterinsights-col-3-4{width:75%}.monsterinsights-col-2-3{width:66.66%}.monsterinsights-col-1-2{width:50%}.monsterinsights-col-1-3{width:33.33%}.monsterinsights-col-1-4{width:25%}.monsterinsights-col-1-8{width:12.5%}[class*="monsterinsights-col-"]{float:left;padding-right:20px;box-sizing:border-box}.monsterinsights-grid [class*="monsterinsights-col-"]:last-of-type{padding-right:0}.monsterinsights-hideme{display:none;visibility:hidden}.monsterinsights-no-text-decoration{text-decoration:none}.monsterinsights-clear{clear:both}.monsterinsights-clear:after{clear:both;content:'.';display:block;height:0;line-height:0;overflow:auto;visibility:hidden;zoom:1}.monsterinsights-clearfix{content:"";display:table;clear:both}.monsterinsights-clearfix-after:after{content:"";display:table;clear:both}.monsterinsights-help-tip{cursor:help}.monsterinsights-ui-tooltip{background:#333 !important;border-width:1px !important;border-radius:3px !important;box-shadow:1px 1px 2px 1px rgba(214,214,214,0.5) !important;color:#dedede !important;max-width:300px !important;padding:7px !important;text-rendering:optimizeLegibility;text-shadow:none !important;z-index:9999 !important}body.monsterinsights_page .button{-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px;border-radius:2px;padding:0 16px 1px;height:33px;line-height:30px;text-decoration:none;text-shadow:none;font-weight:600;-webkit-box-shadow:none;box-shadow:none}body.monsterinsights_page .button.button-small{padding:0 8px 1px;line-height:22px;height:24px}body.monsterinsights_page .button.button-x-large{padding:0 32px 1px;line-height:48px;height:50px;font-size:18px;text-transform:uppercase}body.monsterinsights_page .button.show-settings{height:auto}body.monsterinsights_page .button.button-primary{background:#47c1a5;border-color:#3ca489;-webkit-box-shadow:none;box-shadow:none;color:#fff;border:1px solid #3ca489;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#47c1a5}body.monsterinsights_page .button.button-primary:hover{background:#3ba389;border-color:#3ba389;color:#fff}body.monsterinsights_page .button.button-action{background:#479be7;border-color:#4182bf;-webkit-box-shadow:none;box-shadow:none;color:#fff;border:1px solid #4182bf;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#479be7}body.monsterinsights_page .button.button-action:hover{background:#4183bf;border-color:#4183bf;color:#fff}body.monsterinsights_page .button.button-danger{background:#fff;border-color:#e3e9ed;-webkit-box-shadow:none;box-shadow:none;color:#000;border:1px solid #e3e9ed;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#fff}body.monsterinsights_page .button.button-danger:hover{background:#e3e9ed;border-color:#e3e9ed;color:#000}@media (min-width: 600px) and (max-width: 767px){body.monsterinsights_page .button{margin-top:10px}}div.monsterinsights-code{position:relative;margin:0 0 10px}div.monsterinsights-code:after{content:"";display:table;clear:both}div.monsterinsights-code code{display:block;font-size:11px;padding:5px 20px 5px 5px}a.monsterinsights-clipboard{position:absolute;top:5px;right:5px;color:#23282d;width:33px;padding:0}a.monsterinsights-clipboard span{display:block;text-indent:-9999px}#monsterinsights-header-temp{position:relative;margin:0}#monsterinsights-header{background-color:#f3f5ff;background-image:url(images/waves.png);background-repeat:no-repeat;margin:0;height:119px}@media only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 21),only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min-device-pixel-ratio: 2){#monsterinsights-header{background-image:url(images/waves@x2.png);background-size:1356px 119px}}.monsterinsights-header-title{padding-top:50px;padding-left:20px;margin:0}.monsterinsights-header-mascot{float:right;position:absolute;top:0;right:0;margin-top:10px;margin-right:20px;z-index:100}@media (max-width: 610px){.monsterinsights-header-mascot{display:none}.monsterinsights-header-title{padding-top:70px}#monsterinsights-addon-heading form{margin-right:0}}.monsterinsights-notice{border:1px solid;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;box-sizing:border-box;display:table;width:100%;margin:10px 0px}.monsterinsights-notice:after{content:"";display:table;clear:both}.monsterinsights-notice-icon{padding:20px;box-sizing:border-box;width:60px;color:#fff;font-family:"FontAwesome";font-size:18px;-moz-border-radius:5px 0 0;-webkit-border-radius:5px 0 0;border-radius:5px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;display:table-cell;vertical-align:middle;text-align:center}.monsterinsights-notice-text{color:#434751;font-size:16px;font-weight:700;padding:0px 60px 0px 20px;box-sizing:border-box;word-wrap:break-word;display:table-cell;position:relative;vertical-align:middle}body.monsterinsights_page div.wrap > div.error,body.monsterinsights_page div.wrap > div.notice,body.monsterinsights_page div.wrap > div.updated{margin-left:0;margin-right:0}.monsterinsights-notice .button{margin:0px 0px 1em 0px}.monsterinsights-alert-notice-icon{background-color:#fdbf2f}.monsterinsights-alert-notice{border-color:#fdbf2f;background-color:rgba(253,192,47,0.1)}.monsterinsights-error-notice-icon{background-color:#df4228}.monsterinsights-error-notice{border-color:#df4228;background-color:rgba(224,66,40,0.1)}.monsterinsights-info-notice-icon{background-color:#479be7}.monsterinsights-info-notice{border-color:#479be7;background-color:rgba(72,155,232,0.1)}.monsterinsights-success-notice-icon{background-color:#47c1a5}.monsterinsights-success-notice{border-color:#47c1a5;background-color:rgba(71,194,165,0.1)}.monsterinsights-notice p.monsterinsights-intro{border:none !important;margin:0 0 20px !important;padding:0 !important}.monsterinsights-notice .notice-dismiss{top:10px;right:10px;color:#000}.monsterinsights-notice .notice-dismiss:before{color:#000;width:26px;height:26px;font-size:22px}@font-face{font-family:'MISettings';src:url(../fonts/MISettings.eot);src:url(../fonts/MISettings.eot?#iefix) format("embedded-opentype"),url(../fonts/MISettings.woff) format("woff"),url(../fonts/MISettings.ttf) format("truetype"),url(../fonts/MISettings.svg#MISettings) format("svg");font-weight:400;font-style:normal}[class*='monstericon-']:before{display:inline-block;font-family:'MISettings';font-style:normal;font-weight:400;line-height:50px;padding-right:7px;padding-left:5px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle}[class*='monstericon-'].monsterinsights-active:before{color:#479be7}[class*='monstericon-']:active:before{color:#479be7}[class*='monstericon-']:hover:before{color:#479be7}.monstericon-ads:before{content:'\0041'}.monstericon-affiliates:before{content:'\0042'}.monstericon-compatibility:before{content:'\0043'}.monstericon-demographics:before{content:'\0044'}.monstericon-dimensions:before{content:'\0045'}.monstericon-files:before{content:'\0046'}.monstericon-ecommerce:before{content:'\0047'}.monstericon-engagement:before{content:'\0048'}.monstericon-forms:before{content:'\0049'}.monstericon-links:before{content:'\004a'}.monstericon-memberships:before{content:'\004b'}.monstericon-notifications:before{content:'\004c'}.monstericon-performance:before{content:'\004d'}.monstericon-permissions:before{content:'\004e'}.monstericon-reporting:before{content:'\004f'}.monstericon-social:before{content:'\0050'}.monstericon-media:before{content:'\0051'}.monsterinsights-upgrade-menu-icon{float:right;color:#7f8591;font-size:10px;font-weight:700;text-transform:uppercase;line-height:1;display:inline-block;padding:6px 12px;background-color:#fff;border-radius:3px;margin-right:18px;margin-top:15px}.monsterinsights-main-nav-item.monsterinsights-active .monsterinsights-upgrade-menu-icon,.monsterinsights-main-nav-item:hover .monsterinsights-upgrade-menu-icon{background-color:#f7f8fa}@media only screen and (max-width: 767px){[class*='monstericon-']:before{display:none !important;content:''}span.monsterinsights-upgrade-menu-icon{display:none}}.monsterinsights-nav-container{border:0;background-color:#615d9b;margin:0;display:table;width:100%}h1.monsterinsights-nav-container{padding:0px}.monsterinsights-main-nav-container{height:50px}.monsterinsights-sub-nav-container{display:table-cell;float:none;vertical-align:top;background-color:#f7f8fa;float:left;width:270px;margin:0;padding:0;border-left:1px solid #e4e9ee;border-top:1px solid #e4e9ee;border-bottom:1px solid #e4e9ee;border-right:1px solid #e4e9ee;border-collapse:collapse;border-top-left-radius:3px;border-bottom-left-radius:3px}.monsterinsights-nav-item{border:none;float:left;text-decoration:none}.monsterinsights-nav-item:focus,.monsterinsights-nav-item:active{box-shadow:none}.monsterinsights-main-nav-item{background-color:#615d9b;color:#d8d7e4;background:none;line-height:50px;font-size:13px;padding:0 15px;margin:0;width:100px;text-align:center}.monsterinsights-main-nav-item.monsterinsights-spacing-item{width:5px;padding-left:0}.monsterinsights-main-nav-item.monsterinsights-active{color:#434751;opacity:1;background-color:#fff}.monsterinsights-main-nav-item:hover:not(.monsterinsights-active),.monsterinsights-main-nav-item:active:not(.monsterinsights-active){color:#fff;opacity:1}.monsterinsights-main-nav-container > .monsterinsights-main-nav-item:not(.monsterinsights-active) + a.monsterinsights-main-nav-item:not(.monsterinsights-active){border-left:1px solid #8c8ab5}.monsterinsights-main-nav-container > .monsterinsights-main-nav-item:last-child:not(.monsterinsights-active){border-right:1px solid #8c8ab5}.monsterinsights-main-nav-item.monsterinsights-active{border:0 !important}.monsterinsights-sub-nav-item{font-size:13px;background-color:#f7f8fa;font-weight:500;line-height:50px;width:270px;margin:0;padding:5px 0 5px 8px;text-decoration:none;color:#7f8591;border-bottom:1px solid #e4e9ee;border-right:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:none;box-shadow:none;-webkit-box-shadow:none;-webkit-transition:none}.monsterinsights-sub-nav-item.monsterinsights-active,.monsterinsights-sub-nav-item:hover,.monsterinsights-sub-nav-item:active{width:270px;border-right:1px solid #fff;background-color:#fff;color:#444851}.monsterinsights-sub-nav-area{display:flex}.monsterinsights-sub-nav-tabs{float:left;display:table-cell;float:none;vertical-align:top;background-color:#f7f8fa;border-top:1px solid #e4e9ee;border-right:1px solid #e4e9ee;border-bottom:1px solid #e4e9ee;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:none;box-shadow:none;-webkit-box-shadow:none;-webkit-transition:none;border-top-right-radius:3px;border-bottom-right-radius:3px;width:100%}.monsterinsights-nav-tab{display:none}.monsterinsights-nav-tab.monsterinsights-active{display:block}.monsterinsights-nav-tab .description{color:#7f8592;font-size:13px;margin-top:10px}.monsterinsights-main-nav-tab .form-table tr{border-bottom:1px solid #ddd}.monsterinsights-main-nav-tab .form-table tr.no-bottom-border{border-bottom:0}.monsterinsights-sub-nav-tab{margin:15px 0 20px}.monsterinsights-sub-nav-tab .form-table tr{border-bottom:1px solid #ddd}.monsterinsights-sub-nav-tab .form-table tr.no-bottom-border{border-bottom:0}.monsterinsights-main-nav-tabs .form-table th,.monsterinsights-main-nav-tabs .form-table td{padding-top:40px;padding-bottom:40px}.monsterinsights-sub-nav-tabs .form-table th,.monsterinsights-sub-nav-tabs .form-table td{padding-top:40px}@media (min-width: 768px) and (max-width: 991px){.monsterinsights-main-nav-tabs .form-table th,.monsterinsights-sub-nav-tabs .form-table th{padding-top:40px;padding-right:0 !important}.monsterinsights-main-nav-tabs .form-table td,.monsterinsights-sub-nav-tabs .form-table td{padding-right:0}}@media (min-width: 600px) and (max-width: 767px){.monsterinsights-main-nav-tabs .form-table th,.monsterinsights-sub-nav-tabs .form-table th{padding-top:40px;padding-bottom:10px;padding-right:0 !important}.monsterinsights-main-nav-tabs .form-table td,.monsterinsights-sub-nav-tabs .form-table td{padding-top:0;padding-right:0}}@media only screen and (max-width: 610px){.monsterinsights-main-nav-tabs .form-table th,.monsterinsights-sub-nav-tabs .form-table th{padding-top:20px;padding-bottom:10px;padding-right:0px}.monsterinsights-main-nav-tabs .form-table td,.monsterinsights-sub-nav-tabs .form-table td{padding-top:0;padding-bottom:20px;padding-right:0px}.monsterinsights-main-nav-item{width:auto}.monsterinsights-main-nav-item.monsterinsights-spacing-item{display:none}h1.monsterinsights-nav-container{padding:0px;min-width:150px}.monsterinsights-sub-nav-tabs th{width:auto}}@media only screen and (max-width: 767px){.monsterinsights-sub-nav-container{width:100%}.monsterinsights-sub-nav-item{padding:0;text-align:center;width:100% !important;padding:0;text-align:center}.monsterinsights-sub-nav-tabs .form-table th,.monsterinsights-sub-nav-tabs .form-table td{padding:10px 0 !important}h1.monsterinsights-nav-container{padding:0px}}div#monsterinsights-settings-sub-pages{padding-left:20px;background-color:#FFF;padding-right:20px}#monsterinsights-settings-pages{padding:20px 0}.monsterinsights-main-nav-tabs label{margin-top:7px;display:block;color:#444851}.monsterinsights-sub-nav-tabs label{margin-top:7px;display:block}#monsterinsights-settings-pages #monsterinsights-settings-submit{margin:40px 0 0 0px}#monsterinsights-settings-pages #monsterinsights-refresh-submit{margin-left:10px;vertical-align:baseline}input.monsterinsights-large-checkbox{zoom:1.5}#monsterinsights-settings-pages input[type="text"],#monsterinsights-settings-pages input[type="number"],#monsterinsights-settings-pages input[type="password"],#monsterinsights-settings-pages input[type=email],#monsterinsights-settings-pages select,#monsterinsights-settings-pages textarea{width:350px;padding-right:0;font-size:13px;border-width:2px;border-radius:3px;border-color:#e4e9ee;box-shadow:none}#monsterinsights-settings-pages input[type="text"],#monsterinsights-settings-pages input[type="number"],#monsterinsights-settings-pages input[type="password"],#monsterinsights-settings-pages input[type=email]{height:32px}@media (max-width: 767px){#monsterinsights-settings-pages input[type="text"],#monsterinsights-settings-pages input[type="number"],#monsterinsights-settings-pages input[type="password"],#monsterinsights-settings-pages input[type=email],#monsterinsights-settings-pages select,#monsterinsights-settings-pages textarea{width:90% !important}#monsterinsights-settings-pages input[type="text"],#monsterinsights-settings-pages input[type="number"],#monsterinsights-settings-pages input[type="password"],#monsterinsights-settings-pages input[type=email]{height:auto}}@media (min-width: 768px) and (max-width: 991px){tr#monsterinsights-settings-key-box th{padding-top:20px}}@media (min-width: 600px) and (max-width: 767px){tr#monsterinsights-settings-key-box th{padding-top:20px}}.monsterinsights_opacity_60{opacity:.6}#monsterinsights_google_auth_view{color:#000;font-family:"proxima-nova","Helvetica Neue",sans-serif;-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s;text-align:center;-webkit-perspective:700px;-webkit-perspective-origin:320px 700px;margin:0 auto;height:588px;width:400px;overflow:hidden;max-width:100%;margin:auto;top:0;left:0;bottom:0;right:0;position:absolute;z-index:300001;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f3f5ff;-moz-box-shadow:0 0 43px rgba(97,93,155,.23);-webkit-box-shadow:0 0 43px rgba(97,93,155,.23);box-shadow:0 0 43px rgba(97,93,155,.23)}.monsterinsights_google_auth_start_view{background-image:url(../images/gauth-1-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_exit_view{background-image:url(../images/gauth-exit.png);background-repeat:no-repeat}.monsterinsights_google_auth_enterkey_view{background-image:url(../images/gauth-2-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_selectprofile_view{background-image:url(../images/gauth-3-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_done_view{background-image:url(../images/gauth-done.png);background-repeat:no-repeat}.monsterinsights_google_auth_reauth_start_view{background-image:url(../images/gauth-warn-1-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_reauth_exit_view{background-image:url(../images/gauth-warn-exit.png);background-repeat:no-repeat}.monsterinsights_google_auth_reauth_enterkey_view{background-image:url(../images/gauth-warn-2-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_reauth_selectprofile_view{background-image:url(../images/gauth-warn-3-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_reauth_done_view{background-image:url(../images/gauth-warn-done.png);background-repeat:no-repeat}@media only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 21),only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min-device-pixel-ratio: 2){.monsterinsights_google_auth_start_view{background-image:url(../images/gauth-1-of-3@2x.png);background-size:400px 588px}.monsterinsights_google_auth_exit_view{background-image:url(../images/gauth-exit@2x.png);background-size:400px 588px}.monsterinsights_google_auth_enterkey_view{background-image:url(../images/gauth-2-of-3@2x.png);background-size:400px 588px}.monsterinsights_google_auth_selectprofile_view{background-image:url(../images/gauth-3-of-3@2x.png);background-size:400px 588px}.monsterinsights_google_auth_done_view{background-image:url(../images/gauth-done@2x.png);background-size:400px 588px}.monsterinsights_google_auth_reauth_start_view{background-image:url(../images/gauth-warn-1-of-3@2x.png);background-size:401px 651px}.monsterinsights_google_auth_reauth_exit_view{background-image:url(../images/gauth-warn-exit@2x.png);background-size:401px 651px}.monsterinsights_google_auth_reauth_enterkey_view{background-image:url(../images/gauth-warn-2-of-3@2x.png);background-size:401px 651px}.monsterinsights_google_auth_reauth_selectprofile_view{background-image:url(../images/gauth-warn-3-of-3@2x.png);background-size:401px 651px}.monsterinsights_google_auth_reauth_done_view{background-image:url(../images/gauth-warn-done@2x.png);background-size:401px 651px}}#monsterinsights_google_auth_block_view{position:fixed;background:rgba(243,246,255,.9);top:0;right:0;bottom:0;left:0;z-index:300000}#monsterinsights_google_auth_box_header{height:80px;width:100%}#monsterinsights_google_auth_box_contents{height:187px;padding-top:321px;width:100%}#monsterinsights_google_auth_box_contents.monsterinsights_google_auth_reauth{padding-top:303px}#monsterinsights_google_auth_box_footer{height:80px;width:100%}.monsterinsights_google_auth_box_header_reauth{color:#434751;font-size:14px;padding-left:90px;padding-top:23px;text-align:left}.monsterinsights_google_auth_box_header_reauth .monsterinsights_google_auth_box_cancel{color:#FFF;opacity:1}.monsterinsights_google_auth_start_view_description{color:#7f8591;font-size:14px;padding-bottom:40px}.monsterinsights_google_auth_view_title{color:#434751;font-size:20px;padding-bottom:27px}.monsterinsights_google_auth_box_cancel:hover{color:#fff;font-size:16px;font-weight:700;text-decoration:none;opacity:1}.monsterinsights_google_auth_box_cancel{opacity:.5;color:#fff;font-size:16px;font-weight:700;text-decoration:none}#monsterinsights_google_auth_box_footer_center{width:175px;float:left}#monsterinsights_google_auth_box_footer_left,#monsterinsights_google_auth_box_footer_right{width:125px;float:left}div#monsterinsights_google_auth_box_footer_right_next{padding-top:13px}#monsterinsights_google_auth_box_footer_right{color:#fff;font-size:16px;font-weight:700;margin-top:20px;width:85px;height:45px}#monsterinsights_google_auth_box_footer_right:hover{background-color:#524e86}.monsterinsights_google_auth_box_cancel_error:focus,.monsterinsights_google_auth_box_cancel_error,.monsterinsights_google_auth_box_done:focus,.monsterinsights_google_auth_box_done,.monsterinsights_google_auth_box_next:focus,.monsterinsights_google_auth_box_next{text-decoration:none;color:#fff}.monsterinsights_google_auth_box_cancel_error:hover,.monsterinsights_google_auth_box_done:hover,.monsterinsights_google_auth_box_next:hover{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;margin-top:10px;color:#fff}#monsterinsights_google_auth_box_footer_left{padding-top:34px}#monsterinsights-google-oauth-window{width:80%;margin-right:10%;margin-left:10%;margin-bottom:10px}#monsterinsights_google_auth_view.monsterinsights_google_auth_reauth{height:650px}.monsterinsights_google_auth_step_data_enterkey_view{width:80%;margin-right:10%;margin-left:10%;height:30px;margin-top:10px}.monsterinsights-google-loading{width:100%;height:100%;background-color:#FFF;color:#000;font-size:30px;padding-top:30px}body.monsterinsights_page .select2-container--open{z-index:300002 !important}.monsterinsights-upsell-box{background-color:#f6fbff;border:1px solid #d6ecff;border-radius:3px;padding:10px 20px}a.monsterinsights-upsell-box-button.button.button-primary{margin-top:20px}.monsterinsights-reports-action-bar-title{font-size:24px;font-weight:700;float:left}#monsterinsights-reports-pages{margin-top:30px}.monsterinsights-grid-border{border:1px solid #e3e9ed;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.monsterinsights-grid-grey-bg{background-color:#f7f7f9;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}@media (max-width: 600px){.monsterinsights-grid > .monsterinsights-col-1-2{width:100%;margin-top:50px}}.monsterinsights-data-row{width:100%;float:left;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:#7f8591;padding:10px 15px}.monsterinsights-data-row .monsterinsights-col-7-8{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.monsterinsights-reports-box-datalist .monsterinsights-data-row:nth-child(odd){background-color:#f7f7f9}.monsterinsights-reports-box-title{background-color:#FFF;color:#7f8591;font-size:14px;font-weight:700;padding:20px;border-bottom:1px solid #e3e9ed;border-top-left-radius:5px;border-top-right-radius:5px}.monsterinsights-reports-box-datagraph{border:1px solid #e3e9ed;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#fff;margin:20px;width:auto;padding:20px}.monsterinsights-no-padding-right{padding-right:0}.monsterinsights-datalist-box-title{color:#7f8591;font-size:14px;font-weight:700;margin-bottom:10px}.monsterinsights-reports-action-bar{padding-bottom:40px;margin-top:40px}.monsterinsights-reports-action-bar-actions{float:right}#monsterinsights-chartjs-tooltip{opacity:1;position:absolute;-webkit-transition:all .1s ease;transition:all .1s ease;pointer-events:none;-webkit-transform:translate(-50%,0);transform:translate(-50%,0);border:1px solid #e3e9ed;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#fff;-moz-box-shadow:0 0 20px rgba(97,93,155,.13);-webkit-box-shadow:0 0 20px rgba(97,93,155,.13);box-shadow:0 0 20px rgba(97,93,155,.13);color:#434751;font-size:18px;font-weight:700;padding:8px !important}@font-face{font-family:'monsterinsights';src:url(../fonts/monsterinsights.eot);src:url(../fonts/monsterinsights.eot?#iefix) format("embedded-opentype"),url(../fonts/monsterinsights.woff) format("woff"),url(../fonts/monsterinsights.ttf) format("truetype"),url(../fonts/monsterinsights.svg#monsterinsights) format("svg");font-weight:400;font-style:normal}#monsterinsights-addons [class*='monsterinsights-']:before{display:inline-block;font-family:'monsterinsights';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#monsterinsights-addons .monsterinsights-configuration:before{content:'\0041'}#monsterinsights-addons .monsterinsights-leaf:before{content:'\0042'}#monsterinsights-addons .monsterinsights-lightbox:before{content:'\0044'}#monsterinsights-addons .monsterinsights-misc:before{content:'\0045'}#monsterinsights-addons .monsterinsights-mobile:before{content:'\0046'}#monsterinsights-addons .monsterinsights-pagination:before{content:'\0047'}#monsterinsights-addons .monsterinsights-proofing:before{content:'\0048'}#monsterinsights-addons .monsterinsights-slideshow:before{content:'\0049'}#monsterinsights-addons .monsterinsights-tags:before{content:'\004a'}#monsterinsights-addons .monsterinsights-thumbnails:before{content:'\004b'}#monsterinsights-addons .monsterinsights-video:before{content:'\004c'}#monsterinsights-addons .monsterinsights-watermark:before{content:'\004d'}#monsterinsights-addons .monsterinsights-cloud-download:before{content:'\004e'}#monsterinsights-addons .monsterinsights-toggle-on:before{content:'\004f'}#monsterinsights-addons .monsterinsights-plus-circle:before{content:'\0050'}#monsterinsights-addons .monsterinsights-down-arrow:before{content:'\0051'}#monsterinsights-addons .monsterinsights-list:before{content:'\0052'}#monsterinsights-addons .monsterinsights-pinterest-p:before{content:'\0054'}#monsterinsights-addons .monsterinsights-pencil:before{content:'\0055'}#monsterinsights-addons .monsterinsights-close:before{content:'\0056'}#monsterinsights-addons .monsterinsights-check:before{content:'\0057'}body.monsterinsights_page .monsterinsights-addons-subheading{background-color:#fff;height:45px;margin-left:-20px}body.monsterinsights_page .monsterinsights-addons-subheading h1{font-size:20px;font-weight:400;line-height:45px;margin:0 0 0 20px;padding-left:20px}@media (min-width: 600px) and (max-width: 767px){body.monsterinsights_page .monsterinsights-addons-subheading{height:auto;padding-bottom:20px}}#monsterinsights-addon-heading:after{content:"";display:table;clear:both}#monsterinsights-addon-heading h1{float:left}#monsterinsights-addon-heading form{float:right;margin-right:100px}@media (min-width: 600px) and (max-width: 767px){#monsterinsights-addon-heading h1{float:none}}@media (max-width: 508px){#monsterinsights-addon-heading form{display:none}}@media (max-width: 600px){.monsterinsights-addon .interior{display:none !important}}#monsterinsights-addon-heading form input{border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px;background-color:#fff;color:#666;margin:7px 10px 0 5px;font-size:14px;padding:5px 8px}#monsterinsights-addon-heading form select{margin:-5px 20px 0 0}#monsterinsights-addon-heading form .spinner{float:none;margin:-3px auto auto}@media (min-width: 600px) and (max-width: 767px){#monsterinsights-addon-heading form{float:none;display:table;margin:10px auto 0}}#monsterinsights-addons{padding:0px}#monsterinsights-addons .button,#monsterinsights-addons .button-primary{text-shadow:none;background-color:#f7f7f7;color:#23282d;font-weight:600;border:1px solid #ccc;line-height:inherit;height:inherit;padding:5px 15px;box-shadow:none;cursor:pointer}#monsterinsights-addons .button:hover,#monsterinsights-addons .button-primary:hover{color:#23282d;background-color:#fafafa;border-color:#999}#monsterinsights-addons .monsterinsights-addon-action-button{padding-left:20px;padding-right:20px}#monsterinsights-addons .monsterinsights-addon-action-button .monsterinsights-cloud-download{font-size:19px;float:left;margin-right:8px;color:#8d8f92}#monsterinsights-addons .monsterinsights-addon-action-button .monsterinsights-toggle-on{font-size:19px;float:left;margin-right:8px;margin-top:1px;color:#7cc048}#monsterinsights-addons .monsterinsights-addon-upgrade-button{background-color:#7cc048;color:#fff;float:none !important;margin:0 auto;display:table;line-height:25px}#monsterinsights-addons .monsterinsights-addon-upgrade-button:hover{background-color:#95dc5e;color:#fff;border-color:#95dc5e}#monsterinsights-addons .monsterinsights-addon-action-button.monsterinsights-activate-addon .monsterinsights-toggle-on{color:#e92c21;-moz-transform:scaleX(-1);-o-transform:scaleX(-1);-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:FlipH}#monsterinsights-addons .monsterinsights-addon-title{margin-top:30px}#monsterinsights-addons .monsterinsights-addons-area:after{content:"";display:table;clear:both}#monsterinsights-addons .monsterinsights-addons-area.licensed{margin:20px 0 40px;padding:0 0 20px;border-bottom:1px solid #ddd}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon{border:1px solid #ddd;position:relative;background:#fff;border-radius:3px;float:left;margin:0 2% 2% 0;min-height:465px;padding:0;text-align:center;width:32%;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon:nth-child(3n){margin-right:0}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon:nth-child(3n+1){clear:both}@media (min-width: 992px) and (max-width: 1199px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon{min-height:420px}}@media (min-width: 768px) and (max-width: 991px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon{width:100% !important;min-height:525px}}@media (min-width: 600px) and (max-width: 767px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon{width:100% !important;min-height:525px}}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-thumb{margin:20px auto;max-width:100%}@media (min-width: 992px) and (max-width: 1199px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-thumb{margin:10px auto 15px}}@media (min-width: 768px) and (max-width: 991px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-thumb{margin:10px auto 15px}}@media (min-width: 600px) and (max-width: 767px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-thumb{margin:10px auto 15px}}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-excerpt{color:#2f2f2f;font-weight:400;padding:0 20px;display:table;margin:0 0 90px}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message{background:#f7f7f7;border-top:1px solid #ddd}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error{position:absolute;bottom:0;float:left;width:100%;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;margin:0;padding:0;text-align:left}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message .interior,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .interior{padding:20px}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message .interior:after,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .interior:after{content:"";display:table;clear:both}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-active .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-active .addon-status span{color:#7cc048}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-active .interior.monsterinsights-addon-active .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-active .interior.monsterinsights-addon-active .addon-status span{color:#7cc048}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-active .interior.monsterinsights-addon-inactive .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-active .interior.monsterinsights-addon-inactive .addon-status span{color:#e82c20}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-active .interior.monsterinsights-addon-not-installed .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-active .interior.monsterinsights-addon-not-installed .addon-status span{color:#a3a4a5}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-inactive .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-inactive .addon-status span{color:#e82c20}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-inactive .interior.monsterinsights-addon-active .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-inactive .interior.monsterinsights-addon-active .addon-status span{color:#7cc048}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-inactive .interior.monsterinsights-addon-inactive .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-inactive .interior.monsterinsights-addon-inactive .addon-status span{color:#e82c20}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-inactive .interior.monsterinsights-addon-not-installed .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-inactive .interior.monsterinsights-addon-not-installed .addon-status span{color:#a3a4a5}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-not-installed .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-not-installed .addon-status span{color:#a3a4a5}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-not-installed .interior.monsterinsights-addon-active .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-not-installed .interior.monsterinsights-addon-active .addon-status span{color:#7cc048}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-not-installed .interior.monsterinsights-addon-inactive .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-not-installed .interior.monsterinsights-addon-inactive .addon-status span{color:#e82c20}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-not-installed .interior.monsterinsights-addon-not-installed .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-not-installed .interior.monsterinsights-addon-not-installed .addon-status span{color:#a3a4a5}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message span.addon-status,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error span.addon-status{float:left;font-weight:700}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message a.button,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error a.button{float:right}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message span.monsterinsights-spinner,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error span.monsterinsights-spinner{position:absolute;bottom:15px;right:0}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-action{display:inline;float:right}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-action .button-primary{margin:-5px 0 0;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-action .button-primary:hover{color:#23282d;background-color:#fafafa;border-color:#999}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error{bottom:10px;float:none;left:15px;right:20px;width:auto}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .xinterior{width:100%;margin:0;background:#fff;border-left:4px solid #dc3232;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1)}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error p{padding:10px;margin:5px 10px}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .wrap{margin:0}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .icon32{display:none}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error h2{padding:0}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .form-table th{padding:10px 0;width:30% !important}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .form-table input[type="text"],#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .monsterinsights-addon .monsterinsights-addon-error .form-table input[type="password"]{width:100% !important}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error p.submit{padding:0}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon p{color:#2f2f2f;font-size:13px;margin:10px 0 0;text-shadow:0 1px #fff}#monsterinsights-addons .monsterinsights-addons-area #monsterinsights-addons-unlock-more-area{margin:40px auto 20px;padding-bottom:0;border-bottom:0}#monsterinsights-addons-more-area .monsterinsights-addon .interior{padding:15px 20px !important}#monsterinsights-addons-refresh-addons-form{width:100%;max-width:850px;float:left}@media (min-width: 992px) and (max-width: 1199px){#monsterinsights-addons-refresh-addons-form{max-width:450px}}@media (min-width: 768px) and (max-width: 991px){#monsterinsights-addons-refresh-addons-form{max-width:50%}#monsterinsights-addons-refresh-addons-form input.button{display:block}}@media (min-width: 600px) and (max-width: 767px){#monsterinsights-addons-refresh-addons-form{width:100%;float:none}#monsterinsights-addons-refresh-addons-form input.button{display:block}}#monsterinsights-filter-form{float:right}#monsterinsights-filter-form input[type='submit'],#monsterinsights-filter-form select{background-color:#f7f7f7;color:#23282d;border:1px solid #ddd;height:30px;width:120px;margin-top:-2px}#monsterinsights-filter-form input{padding:5px 15px;box-shadow:0;cursor:pointer;background-color:#f7f7f7;color:#23282d}#monsterinsights-filter-form input:hover{color:#23282d;background-color:#fafafa;border-color:#999}#monsterinsights-filter-form .spinner{float:left}@media only screen and (max-width: 1050px){#monsterinsights-addons-area .monsterinsights-addon{width:49%}#monsterinsights-addons-area .monsterinsights-addon:nth-child(2n){margin-right:0}#monsterinsights-addons-area .monsterinsights-addon:nth-child(2n+1){clear:both}#monsterinsights-addons-area .monsterinsights-addon:nth-child(3n){margin-right:2%}#monsterinsights-addons-area .monsterinsights-addon:nth-child(3n+1){clear:none}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-excerpt{margin-bottom:90px}}@media only screen and (max-width: 782px){#monsterinsights-addons-area .monsterinsights-addon{min-height:auto}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-action .button-primary{margin:-7px 0 0}}@media only screen and (max-width: 600px){#monsterinsights-addons-area .monsterinsights-addon{width:99%}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message{float:left;width:100%}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message span.addon-status{display:block;width:100%;margin:0 0 5px;text-align:center}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message div.monsterinsights-addon-action{clear:both;display:block;width:100%;text-align:center}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message div.monsterinsights-addon-action .button-primary{clear:both;float:none;margin:0 auto}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-excerpt{margin-bottom:120px}}
|
1 |
+
body.monsterinsights_page div.wrap > div.error,body.monsterinsights_page div.wrap > div.notice,body.monsterinsights_page div.wrap > div.updated{margin-left:20px;margin-right:20px}body.monsterinsights_page .update-nag{margin-left:20px;margin-bottom:20px}body.monsterinsights_page #wpcontent{padding-left:0}body.monsterinsights_page div.wrap{margin:0 20px}body.monsterinsights_page #wpbody,body.monsterinsights_page #wpfooter,body.monsterinsights_page,body.monsterinsights_page #wpwrap{background-color:#fff}@media (max-width: 599px){body.monsterinsights_page #wpbody{padding-top:0}}.monsterinsights-grid{margin:0 0 50px}.monsterinsights-grid:after{content:"";display:table;clear:both}.monsterinsights-col-1-1{width:100%}.monsterinsights-col-7-8{width:87.5%}.monsterinsights-col-3-4{width:75%}.monsterinsights-col-2-3{width:66.66%}.monsterinsights-col-1-2{width:50%}.monsterinsights-col-1-3{width:33.33%}.monsterinsights-col-1-4{width:25%}.monsterinsights-col-1-8{width:12.5%}[class*="monsterinsights-col-"]{float:left;padding-right:20px;box-sizing:border-box}.monsterinsights-grid [class*="monsterinsights-col-"]:last-of-type{padding-right:0}.monsterinsights-hideme{display:none;visibility:hidden}.monsterinsights-no-text-decoration{text-decoration:none}.monsterinsights-clear{clear:both}.monsterinsights-clear:after{clear:both;content:'.';display:block;height:0;line-height:0;overflow:auto;visibility:hidden;zoom:1}.monsterinsights-clearfix{content:"";display:table;clear:both}.monsterinsights-clearfix-after:after{content:"";display:table;clear:both}.monsterinsights-help-tip{cursor:help}.monsterinsights-ui-tooltip{background:#333 !important;border-width:1px !important;border-radius:3px !important;box-shadow:1px 1px 2px 1px rgba(214,214,214,0.5) !important;color:#dedede !important;max-width:300px !important;padding:7px !important;text-rendering:optimizeLegibility;text-shadow:none !important;z-index:9999 !important}body.monsterinsights_page .button{-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px;border-radius:2px;padding:0 16px 1px;height:33px;line-height:30px;text-decoration:none;text-shadow:none;font-weight:600;-webkit-box-shadow:none;box-shadow:none}body.monsterinsights_page .button.button-small{padding:0 8px 1px;line-height:22px;height:24px}body.monsterinsights_page .button.button-x-large{padding:0 32px 1px;line-height:48px;height:50px;font-size:18px;text-transform:uppercase}body.monsterinsights_page .button.show-settings{height:auto}body.monsterinsights_page .button.button-primary{background:#47c1a5;border-color:#3ca489;-webkit-box-shadow:none;box-shadow:none;color:#fff;border:1px solid #3ca489;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#47c1a5}body.monsterinsights_page .button.button-primary:hover{background:#3ba389;border-color:#3ba389;color:#fff}body.monsterinsights_page .button.button-action{background:#479be7;border-color:#4182bf;-webkit-box-shadow:none;box-shadow:none;color:#fff;border:1px solid #4182bf;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#479be7}body.monsterinsights_page .button.button-action:hover{background:#4183bf;border-color:#4183bf;color:#fff}body.monsterinsights_page .button.button-danger{background:#fff;border-color:#e3e9ed;-webkit-box-shadow:none;box-shadow:none;color:#000;border:1px solid #e3e9ed;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#fff}body.monsterinsights_page .button.button-danger:hover{background:#e3e9ed;border-color:#e3e9ed;color:#000}@media (min-width: 600px) and (max-width: 767px){body.monsterinsights_page .button{margin-top:10px}}div.monsterinsights-code{position:relative;margin:0 0 10px}div.monsterinsights-code:after{content:"";display:table;clear:both}div.monsterinsights-code code{display:block;font-size:11px;padding:5px 20px 5px 5px}a.monsterinsights-clipboard{position:absolute;top:5px;right:5px;color:#23282d;width:33px;padding:0}a.monsterinsights-clipboard span{display:block;text-indent:-9999px}#monsterinsights-header-temp{position:relative;margin:0}#monsterinsights-header{background-color:#f3f5ff;background-image:url(images/waves.png);background-repeat:no-repeat;margin:0;height:119px}@media only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 21),only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min-device-pixel-ratio: 2){#monsterinsights-header{background-image:url(images/waves@x2.png);background-size:1356px 119px}}.monsterinsights-header-title{padding-top:50px;padding-left:20px;margin:0}.monsterinsights-header-mascot{float:right;position:absolute;top:0;right:0;margin-top:10px;margin-right:20px;z-index:100}@media (max-width: 610px){.monsterinsights-header-mascot{display:none}.monsterinsights-header-title{padding-top:70px}#monsterinsights-addon-heading form{margin-right:0}}.monsterinsights-notice{border:1px solid;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;box-sizing:border-box;display:table;width:100%;margin:10px 0px}.monsterinsights-notice:after{content:"";display:table;clear:both}.monsterinsights-notice-icon{padding:20px;box-sizing:border-box;width:60px;color:#fff;font-family:"FontAwesome";font-size:18px;-moz-border-radius:5px 0 0;-webkit-border-radius:5px 0 0;border-radius:5px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;display:table-cell;vertical-align:middle;text-align:center}.monsterinsights-notice-text{color:#434751;font-size:16px;font-weight:700;padding:0px 60px 0px 20px;box-sizing:border-box;word-wrap:break-word;display:table-cell;position:relative;vertical-align:middle}body.monsterinsights_page div.wrap > div.error,body.monsterinsights_page div.wrap > div.notice,body.monsterinsights_page div.wrap > div.updated{margin-left:0;margin-right:0}.monsterinsights-notice .button{margin:0px 0px 1em 0px}.monsterinsights-alert-notice-icon{background-color:#fdbf2f}.monsterinsights-alert-notice{border-color:#fdbf2f;background-color:rgba(253,192,47,0.1)}.monsterinsights-error-notice-icon{background-color:#df4228}.monsterinsights-error-notice{border-color:#df4228;background-color:rgba(224,66,40,0.1)}.monsterinsights-info-notice-icon{background-color:#479be7}.monsterinsights-info-notice{border-color:#479be7;background-color:rgba(72,155,232,0.1)}.monsterinsights-success-notice-icon{background-color:#47c1a5}.monsterinsights-success-notice{border-color:#47c1a5;background-color:rgba(71,194,165,0.1)}.monsterinsights-notice p.monsterinsights-intro{border:none !important;margin:0 0 20px !important;padding:0 !important}.monsterinsights-notice .notice-dismiss{top:10px;right:10px;color:#000}.monsterinsights-notice .notice-dismiss:before{color:#000;width:26px;height:26px;font-size:22px}@font-face{font-family:'MISettings';src:url(../fonts/MISettings.eot);src:url(../fonts/MISettings.eot?#iefix) format("embedded-opentype"),url(../fonts/MISettings.woff) format("woff"),url(../fonts/MISettings.ttf) format("truetype"),url(../fonts/MISettings.svg#MISettings) format("svg");font-weight:400;font-style:normal}[class*='monstericon-']:before{display:inline-block;font-family:'MISettings';font-style:normal;font-weight:400;line-height:50px;padding-right:7px;padding-left:5px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle}[class*='monstericon-'].monsterinsights-active:before{color:#479be7}[class*='monstericon-']:active:before{color:#479be7}[class*='monstericon-']:hover:before{color:#479be7}.monstericon-ads:before{content:'\0041'}.monstericon-affiliates:before{content:'\0042'}.monstericon-compatibility:before{content:'\0043'}.monstericon-demographics:before{content:'\0044'}.monstericon-dimensions:before{content:'\0045'}.monstericon-files:before{content:'\0046'}.monstericon-ecommerce:before{content:'\0047'}.monstericon-engagement:before{content:'\0048'}.monstericon-forms:before{content:'\0049'}.monstericon-links:before{content:'\004a'}.monstericon-memberships:before{content:'\004b'}.monstericon-notifications:before{content:'\004c'}.monstericon-performance:before{content:'\004d'}.monstericon-permissions:before{content:'\004e'}.monstericon-reporting:before{content:'\004f'}.monstericon-social:before{content:'\0050'}.monstericon-media:before{content:'\0051'}.monsterinsights-upgrade-menu-icon{float:right;color:#7f8591;font-size:10px;font-weight:700;text-transform:uppercase;line-height:1;display:inline-block;padding:6px 12px;background-color:#fff;border-radius:3px;margin-right:18px;margin-top:15px}.monsterinsights-main-nav-item.monsterinsights-active .monsterinsights-upgrade-menu-icon,.monsterinsights-main-nav-item:hover .monsterinsights-upgrade-menu-icon{background-color:#f7f8fa}@media only screen and (max-width: 767px){[class*='monstericon-']:before{display:none !important;content:''}span.monsterinsights-upgrade-menu-icon{display:none}}.monsterinsights-nav-container{border:0;background-color:#615d9b;margin:0;display:table;width:100%}h1.monsterinsights-nav-container{padding:0px}.monsterinsights-main-nav-container{height:50px}.monsterinsights-sub-nav-container{display:table-cell;float:none;vertical-align:top;background-color:#f7f8fa;float:left;width:270px;margin:0;padding:0;border-left:1px solid #e4e9ee;border-top:1px solid #e4e9ee;border-bottom:1px solid #e4e9ee;border-right:1px solid #e4e9ee;border-collapse:collapse;border-top-left-radius:3px;border-bottom-left-radius:3px}.monsterinsights-nav-item{border:none;float:left;text-decoration:none}.monsterinsights-nav-item:focus,.monsterinsights-nav-item:active{box-shadow:none}.monsterinsights-main-nav-item{background-color:#615d9b;color:#d8d7e4;background:none;line-height:50px;font-size:13px;padding:0 15px;margin:0;width:100px;text-align:center}.monsterinsights-main-nav-item.monsterinsights-spacing-item{width:5px;padding-left:0}.monsterinsights-main-nav-item.monsterinsights-active{color:#434751;opacity:1;background-color:#fff}.monsterinsights-main-nav-item:hover:not(.monsterinsights-active),.monsterinsights-main-nav-item:active:not(.monsterinsights-active){color:#fff;opacity:1}.monsterinsights-main-nav-container > .monsterinsights-main-nav-item:not(.monsterinsights-active) + a.monsterinsights-main-nav-item:not(.monsterinsights-active){border-left:1px solid #8c8ab5}.monsterinsights-main-nav-container > .monsterinsights-main-nav-item:last-child:not(.monsterinsights-active){border-right:1px solid #8c8ab5}.monsterinsights-main-nav-item.monsterinsights-active{border:0 !important}.monsterinsights-sub-nav-item{font-size:13px;background-color:#f7f8fa;font-weight:500;line-height:50px;width:270px;margin:0;padding:5px 0 5px 8px;text-decoration:none;color:#7f8591;border-bottom:1px solid #e4e9ee;border-right:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:none;box-shadow:none;-webkit-box-shadow:none;-webkit-transition:none}.monsterinsights-sub-nav-item.monsterinsights-active,.monsterinsights-sub-nav-item:hover,.monsterinsights-sub-nav-item:active{width:270px;border-right:1px solid #fff;background-color:#fff;color:#444851}.monsterinsights-sub-nav-area{display:flex}.monsterinsights-sub-nav-tabs{float:left;display:table-cell;float:none;vertical-align:top;background-color:#f7f8fa;border-top:1px solid #e4e9ee;border-right:1px solid #e4e9ee;border-bottom:1px solid #e4e9ee;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:none;box-shadow:none;-webkit-box-shadow:none;-webkit-transition:none;border-top-right-radius:3px;border-bottom-right-radius:3px;width:100%}.monsterinsights-nav-tab{display:none}.monsterinsights-nav-tab.monsterinsights-active{display:block}.monsterinsights-nav-tab .description{color:#7f8592;font-size:13px;margin-top:10px}.monsterinsights-main-nav-tab .form-table tr{border-bottom:1px solid #ddd}.monsterinsights-main-nav-tab .form-table tr.no-bottom-border{border-bottom:0}.monsterinsights-sub-nav-tab{margin:15px 0 20px}.monsterinsights-sub-nav-tab .form-table tr{border-bottom:1px solid #ddd}.monsterinsights-sub-nav-tab .form-table tr.no-bottom-border{border-bottom:0}.monsterinsights-main-nav-tabs .form-table th,.monsterinsights-main-nav-tabs .form-table td{padding-top:40px;padding-bottom:40px}.monsterinsights-sub-nav-tabs .form-table th,.monsterinsights-sub-nav-tabs .form-table td{padding-top:40px}@media (min-width: 768px) and (max-width: 991px){.monsterinsights-main-nav-tabs .form-table th,.monsterinsights-sub-nav-tabs .form-table th{padding-top:40px;padding-right:0 !important}.monsterinsights-main-nav-tabs .form-table td,.monsterinsights-sub-nav-tabs .form-table td{padding-right:0}}@media (min-width: 600px) and (max-width: 767px){.monsterinsights-main-nav-tabs .form-table th,.monsterinsights-sub-nav-tabs .form-table th{padding-top:40px;padding-bottom:10px;padding-right:0 !important}.monsterinsights-main-nav-tabs .form-table td,.monsterinsights-sub-nav-tabs .form-table td{padding-top:0;padding-right:0}}@media only screen and (max-width: 610px){.monsterinsights-main-nav-tabs .form-table th,.monsterinsights-sub-nav-tabs .form-table th{padding-top:20px;padding-bottom:10px;padding-right:0px}.monsterinsights-main-nav-tabs .form-table td,.monsterinsights-sub-nav-tabs .form-table td{padding-top:0;padding-bottom:20px;padding-right:0px}.monsterinsights-main-nav-item{width:auto}.monsterinsights-main-nav-item.monsterinsights-spacing-item{display:none}h1.monsterinsights-nav-container{padding:0px;min-width:150px}.monsterinsights-sub-nav-tabs th{width:auto}}@media only screen and (max-width: 767px){.monsterinsights-sub-nav-container{width:100%}.monsterinsights-sub-nav-item{padding:0;text-align:center;width:100% !important;padding:0;text-align:center}.monsterinsights-sub-nav-tabs .form-table th,.monsterinsights-sub-nav-tabs .form-table td{padding:10px 0 !important}h1.monsterinsights-nav-container{padding:0px}}div#monsterinsights-settings-sub-pages{padding-left:20px;background-color:#FFF;padding-right:20px}#monsterinsights-settings-pages{padding:20px 0}.monsterinsights-main-nav-tabs label{margin-top:7px;display:block;color:#444851}.monsterinsights-sub-nav-tabs label{margin-top:7px;display:block}#monsterinsights-settings-pages #monsterinsights-settings-submit{margin:40px 0 0 0px}#monsterinsights-settings-pages #monsterinsights-refresh-submit{margin-left:10px;vertical-align:baseline}input.monsterinsights-large-checkbox{zoom:1.5}#monsterinsights-settings-pages input[type="text"],#monsterinsights-settings-pages input[type="number"],#monsterinsights-settings-pages input[type="password"],#monsterinsights-settings-pages input[type=email],#monsterinsights-settings-pages select,#monsterinsights-settings-pages textarea{width:350px;padding-right:0;font-size:13px;border-width:2px;border-radius:3px;border-color:#e4e9ee;box-shadow:none}#monsterinsights-settings-pages input[type="text"],#monsterinsights-settings-pages input[type="number"],#monsterinsights-settings-pages input[type="password"],#monsterinsights-settings-pages input[type=email]{height:32px}@media (max-width: 767px){#monsterinsights-settings-pages input[type="text"],#monsterinsights-settings-pages input[type="number"],#monsterinsights-settings-pages input[type="password"],#monsterinsights-settings-pages input[type=email],#monsterinsights-settings-pages select,#monsterinsights-settings-pages textarea{width:90% !important}#monsterinsights-settings-pages input[type="text"],#monsterinsights-settings-pages input[type="number"],#monsterinsights-settings-pages input[type="password"],#monsterinsights-settings-pages input[type=email]{height:auto}}@media (min-width: 768px) and (max-width: 991px){tr#monsterinsights-settings-key-box th{padding-top:20px}}@media (min-width: 600px) and (max-width: 767px){tr#monsterinsights-settings-key-box th{padding-top:20px}}.monsterinsights_opacity_60{opacity:.6}#monsterinsights_google_auth_view{color:#000;font-family:"proxima-nova","Helvetica Neue",sans-serif;-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s;text-align:center;-webkit-perspective:700px;-webkit-perspective-origin:320px 700px;margin:0 auto;height:588px;width:400px;overflow:hidden;max-width:100%;margin:auto;top:0;left:0;bottom:0;right:0;position:absolute;z-index:301;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f3f5ff;-moz-box-shadow:0 0 43px rgba(97,93,155,.23);-webkit-box-shadow:0 0 43px rgba(97,93,155,.23);box-shadow:0 0 43px rgba(97,93,155,.23)}.monsterinsights_google_auth_start_view{background-image:url(../images/gauth-1-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_exit_view{background-image:url(../images/gauth-exit.png);background-repeat:no-repeat}.monsterinsights_google_auth_enterkey_view{background-image:url(../images/gauth-2-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_selectprofile_view{background-image:url(../images/gauth-3-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_done_view{background-image:url(../images/gauth-done.png);background-repeat:no-repeat}.monsterinsights_google_auth_reauth_start_view{background-image:url(../images/gauth-warn-1-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_reauth_exit_view{background-image:url(../images/gauth-warn-exit.png);background-repeat:no-repeat}.monsterinsights_google_auth_reauth_enterkey_view{background-image:url(../images/gauth-warn-2-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_reauth_selectprofile_view{background-image:url(../images/gauth-warn-3-of-3.png);background-repeat:no-repeat}.monsterinsights_google_auth_reauth_done_view{background-image:url(../images/gauth-warn-done.png);background-repeat:no-repeat}@media only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 21),only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min-device-pixel-ratio: 2){.monsterinsights_google_auth_start_view{background-image:url(../images/gauth-1-of-3@2x.png);background-size:400px 588px}.monsterinsights_google_auth_exit_view{background-image:url(../images/gauth-exit@2x.png);background-size:400px 588px}.monsterinsights_google_auth_enterkey_view{background-image:url(../images/gauth-2-of-3@2x.png);background-size:400px 588px}.monsterinsights_google_auth_selectprofile_view{background-image:url(../images/gauth-3-of-3@2x.png);background-size:400px 588px}.monsterinsights_google_auth_done_view{background-image:url(../images/gauth-done@2x.png);background-size:400px 588px}.monsterinsights_google_auth_reauth_start_view{background-image:url(../images/gauth-warn-1-of-3@2x.png);background-size:401px 651px}.monsterinsights_google_auth_reauth_exit_view{background-image:url(../images/gauth-warn-exit@2x.png);background-size:401px 651px}.monsterinsights_google_auth_reauth_enterkey_view{background-image:url(../images/gauth-warn-2-of-3@2x.png);background-size:401px 651px}.monsterinsights_google_auth_reauth_selectprofile_view{background-image:url(../images/gauth-warn-3-of-3@2x.png);background-size:401px 651px}.monsterinsights_google_auth_reauth_done_view{background-image:url(../images/gauth-warn-done@2x.png);background-size:401px 651px}}#monsterinsights_google_auth_block_view{position:fixed;background:rgba(243,246,255,.9);top:0;right:0;bottom:0;left:0;z-index:300}#monsterinsights_google_auth_box_header{height:80px;width:100%}#monsterinsights_google_auth_box_contents{height:187px;padding-top:321px;width:100%}#monsterinsights_google_auth_box_contents.monsterinsights_google_auth_reauth{padding-top:303px}#monsterinsights_google_auth_box_footer{height:80px;width:100%}.monsterinsights_google_auth_box_header_reauth{color:#434751;font-size:14px;padding-left:90px;padding-top:23px;text-align:left}.monsterinsights_google_auth_box_header_reauth .monsterinsights_google_auth_box_cancel{color:#FFF;opacity:1}.monsterinsights_google_auth_start_view_description{color:#7f8591;font-size:14px;padding-bottom:40px}.monsterinsights_google_auth_view_title{color:#434751;font-size:20px;padding-bottom:27px}.monsterinsights_google_auth_box_cancel:hover{color:#fff;font-size:16px;font-weight:700;text-decoration:none;opacity:1}.monsterinsights_google_auth_box_cancel{opacity:.5;color:#fff;font-size:16px;font-weight:700;text-decoration:none}#monsterinsights_google_auth_box_footer_center{width:175px;float:left}#monsterinsights_google_auth_box_footer_left,#monsterinsights_google_auth_box_footer_right{width:125px;float:left}div#monsterinsights_google_auth_box_footer_right_next{padding-top:13px}#monsterinsights_google_auth_box_footer_right{color:#fff;font-size:16px;font-weight:700;margin-top:20px;width:85px;height:45px}#monsterinsights_google_auth_box_footer_right:hover{background-color:#524e86}.monsterinsights_google_auth_box_cancel_error:focus,.monsterinsights_google_auth_box_cancel_error,.monsterinsights_google_auth_box_done:focus,.monsterinsights_google_auth_box_done,.monsterinsights_google_auth_box_next:focus,.monsterinsights_google_auth_box_next{text-decoration:none;color:#fff}.monsterinsights_google_auth_box_cancel_error:hover,.monsterinsights_google_auth_box_done:hover,.monsterinsights_google_auth_box_next:hover{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;margin-top:10px;color:#fff}#monsterinsights_google_auth_box_footer_left{padding-top:34px}#monsterinsights-google-oauth-window{width:80%;margin-right:10%;margin-left:10%;margin-bottom:10px}#monsterinsights_google_auth_view.monsterinsights_google_auth_reauth{height:650px}.monsterinsights_google_auth_step_data_enterkey_view{width:80%;margin-right:10%;margin-left:10%;height:30px;margin-top:10px}.monsterinsights-google-loading{width:100%;height:100%;background-color:#FFF;color:#000;font-size:30px;padding-top:30px}body.monsterinsights_page .select300-drop{z-index:302 !important}.monsterinsights-upsell-box{background-color:#f6fbff;border:1px solid #d6ecff;border-radius:3px;padding:10px 20px}a.monsterinsights-upsell-box-button.button.button-primary{margin-top:20px}.monsterinsights-reports-action-bar-title{font-size:24px;font-weight:700;float:left}#monsterinsights-reports-pages{margin-top:30px}.monsterinsights-grid-border{border:1px solid #e3e9ed;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.monsterinsights-grid-grey-bg{background-color:#f7f7f9;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}@media (max-width: 600px){.monsterinsights-grid > .monsterinsights-col-1-2{width:100%;margin-top:50px}}.monsterinsights-data-row{width:100%;float:left;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:#7f8591;padding:10px 15px}.monsterinsights-data-row .monsterinsights-col-7-8{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.monsterinsights-reports-box-datalist .monsterinsights-data-row:nth-child(odd){background-color:#f7f7f9}.monsterinsights-reports-box-title{background-color:#FFF;color:#7f8591;font-size:14px;font-weight:700;padding:20px;border-bottom:1px solid #e3e9ed;border-top-left-radius:5px;border-top-right-radius:5px}.monsterinsights-reports-box-datagraph{border:1px solid #e3e9ed;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#fff;margin:20px;width:auto;padding:20px}.monsterinsights-no-padding-right{padding-right:0}.monsterinsights-datalist-box-title{color:#7f8591;font-size:14px;font-weight:700;margin-bottom:10px}.monsterinsights-reports-action-bar{padding-bottom:40px;margin-top:40px}.monsterinsights-reports-action-bar-actions{float:right}#monsterinsights-chartjs-tooltip{opacity:1;position:absolute;-webkit-transition:all .1s ease;transition:all .1s ease;pointer-events:none;-webkit-transform:translate(-50%,0);transform:translate(-50%,0);border:1px solid #e3e9ed;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#fff;-moz-box-shadow:0 0 20px rgba(97,93,155,.13);-webkit-box-shadow:0 0 20px rgba(97,93,155,.13);box-shadow:0 0 20px rgba(97,93,155,.13);color:#434751;font-size:18px;font-weight:700;padding:8px !important}@font-face{font-family:'monsterinsights';src:url(../fonts/monsterinsights.eot);src:url(../fonts/monsterinsights.eot?#iefix) format("embedded-opentype"),url(../fonts/monsterinsights.woff) format("woff"),url(../fonts/monsterinsights.ttf) format("truetype"),url(../fonts/monsterinsights.svg#monsterinsights) format("svg");font-weight:400;font-style:normal}#monsterinsights-addons [class*='monsterinsights-']:before{display:inline-block;font-family:'monsterinsights';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#monsterinsights-addons .monsterinsights-configuration:before{content:'\0041'}#monsterinsights-addons .monsterinsights-leaf:before{content:'\0042'}#monsterinsights-addons .monsterinsights-lightbox:before{content:'\0044'}#monsterinsights-addons .monsterinsights-misc:before{content:'\0045'}#monsterinsights-addons .monsterinsights-mobile:before{content:'\0046'}#monsterinsights-addons .monsterinsights-pagination:before{content:'\0047'}#monsterinsights-addons .monsterinsights-proofing:before{content:'\0048'}#monsterinsights-addons .monsterinsights-slideshow:before{content:'\0049'}#monsterinsights-addons .monsterinsights-tags:before{content:'\004a'}#monsterinsights-addons .monsterinsights-thumbnails:before{content:'\004b'}#monsterinsights-addons .monsterinsights-video:before{content:'\004c'}#monsterinsights-addons .monsterinsights-watermark:before{content:'\004d'}#monsterinsights-addons .monsterinsights-cloud-download:before{content:'\004e'}#monsterinsights-addons .monsterinsights-toggle-on:before{content:'\004f'}#monsterinsights-addons .monsterinsights-plus-circle:before{content:'\0050'}#monsterinsights-addons .monsterinsights-down-arrow:before{content:'\0051'}#monsterinsights-addons .monsterinsights-list:before{content:'\0052'}#monsterinsights-addons .monsterinsights-pinterest-p:before{content:'\0054'}#monsterinsights-addons .monsterinsights-pencil:before{content:'\0055'}#monsterinsights-addons .monsterinsights-close:before{content:'\0056'}#monsterinsights-addons .monsterinsights-check:before{content:'\0057'}body.monsterinsights_page .monsterinsights-addons-subheading{background-color:#fff;height:45px;margin-left:-20px}body.monsterinsights_page .monsterinsights-addons-subheading h1{font-size:20px;font-weight:400;line-height:45px;margin:0 0 0 20px;padding-left:20px}@media (min-width: 600px) and (max-width: 767px){body.monsterinsights_page .monsterinsights-addons-subheading{height:auto;padding-bottom:20px}}#monsterinsights-addon-heading:after{content:"";display:table;clear:both}#monsterinsights-addon-heading h1{float:left}#monsterinsights-addon-heading form{float:right;margin-right:100px}@media (min-width: 600px) and (max-width: 767px){#monsterinsights-addon-heading h1{float:none}}@media (max-width: 508px){#monsterinsights-addon-heading form{display:none}}@media (max-width: 600px){.monsterinsights-addon .interior{display:none !important}}#monsterinsights-addon-heading form input{border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px;background-color:#fff;color:#666;margin:7px 10px 0 5px;font-size:14px;padding:5px 8px}#monsterinsights-addon-heading form select{margin:-5px 20px 0 0}#monsterinsights-addon-heading form .spinner{float:none;margin:-3px auto auto}@media (min-width: 600px) and (max-width: 767px){#monsterinsights-addon-heading form{float:none;display:table;margin:10px auto 0}}#monsterinsights-addons{padding:0px}#monsterinsights-addons .button,#monsterinsights-addons .button-primary{text-shadow:none;background-color:#f7f7f7;color:#23282d;font-weight:600;border:1px solid #ccc;line-height:inherit;height:inherit;padding:5px 15px;box-shadow:none;cursor:pointer}#monsterinsights-addons .button:hover,#monsterinsights-addons .button-primary:hover{color:#23282d;background-color:#fafafa;border-color:#999}#monsterinsights-addons .monsterinsights-addon-action-button{padding-left:20px;padding-right:20px}#monsterinsights-addons .monsterinsights-addon-action-button .monsterinsights-cloud-download{font-size:19px;float:left;margin-right:8px;color:#8d8f92}#monsterinsights-addons .monsterinsights-addon-action-button .monsterinsights-toggle-on{font-size:19px;float:left;margin-right:8px;margin-top:1px;color:#7cc048}#monsterinsights-addons .monsterinsights-addon-upgrade-button{background-color:#7cc048;color:#fff;float:none !important;margin:0 auto;display:table;line-height:25px}#monsterinsights-addons .monsterinsights-addon-upgrade-button:hover{background-color:#95dc5e;color:#fff;border-color:#95dc5e}#monsterinsights-addons .monsterinsights-addon-action-button.monsterinsights-activate-addon .monsterinsights-toggle-on{color:#e92c21;-moz-transform:scaleX(-1);-o-transform:scaleX(-1);-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:FlipH}#monsterinsights-addons .monsterinsights-addon-title{margin-top:30px}#monsterinsights-addons .monsterinsights-addons-area:after{content:"";display:table;clear:both}#monsterinsights-addons .monsterinsights-addons-area.licensed{margin:20px 0 40px;padding:0 0 20px;border-bottom:1px solid #ddd}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon{border:1px solid #ddd;position:relative;background:#fff;border-radius:3px;float:left;margin:0 2% 2% 0;min-height:465px;padding:0;text-align:center;width:32%;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon:nth-child(3n){margin-right:0}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon:nth-child(3n+1){clear:both}@media (min-width: 992px) and (max-width: 1199px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon{min-height:420px}}@media (min-width: 768px) and (max-width: 991px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon{width:100% !important;min-height:525px}}@media (min-width: 600px) and (max-width: 767px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon{width:100% !important;min-height:525px}}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-thumb{margin:20px auto;max-width:100%}@media (min-width: 992px) and (max-width: 1199px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-thumb{margin:10px auto 15px}}@media (min-width: 768px) and (max-width: 991px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-thumb{margin:10px auto 15px}}@media (min-width: 600px) and (max-width: 767px){#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-thumb{margin:10px auto 15px}}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-excerpt{color:#2f2f2f;font-weight:400;padding:0 20px;display:table;margin:0 0 90px}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message{background:#f7f7f7;border-top:1px solid #ddd}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error{position:absolute;bottom:0;float:left;width:100%;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;margin:0;padding:0;text-align:left}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message .interior,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .interior{padding:20px}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message .interior:after,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .interior:after{content:"";display:table;clear:both}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-active .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-active .addon-status span{color:#7cc048}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-active .interior.monsterinsights-addon-active .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-active .interior.monsterinsights-addon-active .addon-status span{color:#7cc048}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-active .interior.monsterinsights-addon-inactive .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-active .interior.monsterinsights-addon-inactive .addon-status span{color:#e82c20}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-active .interior.monsterinsights-addon-not-installed .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-active .interior.monsterinsights-addon-not-installed .addon-status span{color:#a3a4a5}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-inactive .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-inactive .addon-status span{color:#e82c20}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-inactive .interior.monsterinsights-addon-active .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-inactive .interior.monsterinsights-addon-active .addon-status span{color:#7cc048}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-inactive .interior.monsterinsights-addon-inactive .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-inactive .interior.monsterinsights-addon-inactive .addon-status span{color:#e82c20}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-inactive .interior.monsterinsights-addon-not-installed .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-inactive .interior.monsterinsights-addon-not-installed .addon-status span{color:#a3a4a5}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-not-installed .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-not-installed .addon-status span{color:#a3a4a5}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-not-installed .interior.monsterinsights-addon-active .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-not-installed .interior.monsterinsights-addon-active .addon-status span{color:#7cc048}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-not-installed .interior.monsterinsights-addon-inactive .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-not-installed .interior.monsterinsights-addon-inactive .addon-status span{color:#e82c20}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message.monsterinsights-addon-not-installed .interior.monsterinsights-addon-not-installed .addon-status span,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error.monsterinsights-addon-not-installed .interior.monsterinsights-addon-not-installed .addon-status span{color:#a3a4a5}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message span.addon-status,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error span.addon-status{float:left;font-weight:700}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message a.button,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error a.button{float:right}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message span.monsterinsights-spinner,#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error span.monsterinsights-spinner{position:absolute;bottom:15px;right:0}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-action{display:inline;float:right}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-action .button-primary{margin:-5px 0 0;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-action .button-primary:hover{color:#23282d;background-color:#fafafa;border-color:#999}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error{bottom:10px;float:none;left:15px;right:20px;width:auto}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .xinterior{width:100%;margin:0;background:#fff;border-left:4px solid #dc3232;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1)}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error p{padding:10px;margin:5px 10px}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .wrap{margin:0}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .icon32{display:none}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error h2{padding:0}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .form-table th{padding:10px 0;width:30% !important}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .form-table input[type="text"],#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error .monsterinsights-addon .monsterinsights-addon-error .form-table input[type="password"]{width:100% !important}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-error p.submit{padding:0}#monsterinsights-addons .monsterinsights-addons-area .monsterinsights-addon p{color:#2f2f2f;font-size:13px;margin:10px 0 0;text-shadow:0 1px #fff}#monsterinsights-addons .monsterinsights-addons-area #monsterinsights-addons-unlock-more-area{margin:40px auto 20px;padding-bottom:0;border-bottom:0}#monsterinsights-addons-more-area .monsterinsights-addon .interior{padding:15px 20px !important}#monsterinsights-addons-refresh-addons-form{width:100%;max-width:850px;float:left}@media (min-width: 992px) and (max-width: 1199px){#monsterinsights-addons-refresh-addons-form{max-width:450px}}@media (min-width: 768px) and (max-width: 991px){#monsterinsights-addons-refresh-addons-form{max-width:50%}#monsterinsights-addons-refresh-addons-form input.button{display:block}}@media (min-width: 600px) and (max-width: 767px){#monsterinsights-addons-refresh-addons-form{width:100%;float:none}#monsterinsights-addons-refresh-addons-form input.button{display:block}}#monsterinsights-filter-form{float:right}#monsterinsights-filter-form input[type='submit'],#monsterinsights-filter-form select{background-color:#f7f7f7;color:#23282d;border:1px solid #ddd;height:30px;width:120px;margin-top:-2px}#monsterinsights-filter-form input{padding:5px 15px;box-shadow:0;cursor:pointer;background-color:#f7f7f7;color:#23282d}#monsterinsights-filter-form input:hover{color:#23282d;background-color:#fafafa;border-color:#999}#monsterinsights-filter-form .spinner{float:left}@media only screen and (max-width: 1050px){#monsterinsights-addons-area .monsterinsights-addon{width:49%}#monsterinsights-addons-area .monsterinsights-addon:nth-child(2n){margin-right:0}#monsterinsights-addons-area .monsterinsights-addon:nth-child(2n+1){clear:both}#monsterinsights-addons-area .monsterinsights-addon:nth-child(3n){margin-right:2%}#monsterinsights-addons-area .monsterinsights-addon:nth-child(3n+1){clear:none}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-excerpt{margin-bottom:90px}}@media only screen and (max-width: 782px){#monsterinsights-addons-area .monsterinsights-addon{min-height:auto}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-action .button-primary{margin:-7px 0 0}}@media only screen and (max-width: 600px){#monsterinsights-addons-area .monsterinsights-addon{width:99%}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message{float:left;width:100%}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message span.addon-status{display:block;width:100%;margin:0 0 5px;text-align:center}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message div.monsterinsights-addon-action{clear:both;display:block;width:100%;text-align:center}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-message div.monsterinsights-addon-action .button-primary{clear:both;float:none;margin:0 auto}#monsterinsights-addons-area .monsterinsights-addon .monsterinsights-addon-excerpt{margin-bottom:120px}}
|
assets/css/select2/select2.css
DELETED
@@ -1,484 +0,0 @@
|
|
1 |
-
.select2-container {
|
2 |
-
box-sizing: border-box;
|
3 |
-
display: inline-block;
|
4 |
-
margin: 0;
|
5 |
-
position: relative;
|
6 |
-
vertical-align: middle; }
|
7 |
-
.select2-container .select2-selection--single {
|
8 |
-
box-sizing: border-box;
|
9 |
-
cursor: pointer;
|
10 |
-
display: block;
|
11 |
-
height: 28px;
|
12 |
-
user-select: none;
|
13 |
-
-webkit-user-select: none; }
|
14 |
-
.select2-container .select2-selection--single .select2-selection__rendered {
|
15 |
-
display: block;
|
16 |
-
padding-left: 8px;
|
17 |
-
padding-right: 20px;
|
18 |
-
overflow: hidden;
|
19 |
-
text-overflow: ellipsis;
|
20 |
-
white-space: nowrap; }
|
21 |
-
.select2-container .select2-selection--single .select2-selection__clear {
|
22 |
-
position: relative; }
|
23 |
-
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
24 |
-
padding-right: 8px;
|
25 |
-
padding-left: 20px; }
|
26 |
-
.select2-container .select2-selection--multiple {
|
27 |
-
box-sizing: border-box;
|
28 |
-
cursor: pointer;
|
29 |
-
display: block;
|
30 |
-
min-height: 32px;
|
31 |
-
user-select: none;
|
32 |
-
-webkit-user-select: none; }
|
33 |
-
.select2-container .select2-selection--multiple .select2-selection__rendered {
|
34 |
-
display: inline-block;
|
35 |
-
overflow: hidden;
|
36 |
-
padding-left: 8px;
|
37 |
-
text-overflow: ellipsis;
|
38 |
-
white-space: nowrap; }
|
39 |
-
.select2-container .select2-search--inline {
|
40 |
-
float: left; }
|
41 |
-
.select2-container .select2-search--inline .select2-search__field {
|
42 |
-
box-sizing: border-box;
|
43 |
-
border: none;
|
44 |
-
font-size: 100%;
|
45 |
-
margin-top: 5px;
|
46 |
-
padding: 0; }
|
47 |
-
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
|
48 |
-
-webkit-appearance: none; }
|
49 |
-
|
50 |
-
.select2-dropdown {
|
51 |
-
background-color: white;
|
52 |
-
border: 1px solid #aaa;
|
53 |
-
border-radius: 4px;
|
54 |
-
box-sizing: border-box;
|
55 |
-
display: block;
|
56 |
-
position: absolute;
|
57 |
-
left: -100000px;
|
58 |
-
width: 100%;
|
59 |
-
z-index: 1051; }
|
60 |
-
|
61 |
-
.select2-results {
|
62 |
-
display: block; }
|
63 |
-
|
64 |
-
.select2-results__options {
|
65 |
-
list-style: none;
|
66 |
-
margin: 0;
|
67 |
-
padding: 0; }
|
68 |
-
|
69 |
-
.select2-results__option {
|
70 |
-
padding: 6px;
|
71 |
-
user-select: none;
|
72 |
-
-webkit-user-select: none; }
|
73 |
-
.select2-results__option[aria-selected] {
|
74 |
-
cursor: pointer; }
|
75 |
-
|
76 |
-
.select2-container--open .select2-dropdown {
|
77 |
-
left: 0; }
|
78 |
-
|
79 |
-
.select2-container--open .select2-dropdown--above {
|
80 |
-
border-bottom: none;
|
81 |
-
border-bottom-left-radius: 0;
|
82 |
-
border-bottom-right-radius: 0; }
|
83 |
-
|
84 |
-
.select2-container--open .select2-dropdown--below {
|
85 |
-
border-top: none;
|
86 |
-
border-top-left-radius: 0;
|
87 |
-
border-top-right-radius: 0; }
|
88 |
-
|
89 |
-
.select2-search--dropdown {
|
90 |
-
display: block;
|
91 |
-
padding: 4px; }
|
92 |
-
.select2-search--dropdown .select2-search__field {
|
93 |
-
padding: 4px;
|
94 |
-
width: 100%;
|
95 |
-
box-sizing: border-box; }
|
96 |
-
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
|
97 |
-
-webkit-appearance: none; }
|
98 |
-
.select2-search--dropdown.select2-search--hide {
|
99 |
-
display: none; }
|
100 |
-
|
101 |
-
.select2-close-mask {
|
102 |
-
border: 0;
|
103 |
-
margin: 0;
|
104 |
-
padding: 0;
|
105 |
-
display: block;
|
106 |
-
position: fixed;
|
107 |
-
left: 0;
|
108 |
-
top: 0;
|
109 |
-
min-height: 100%;
|
110 |
-
min-width: 100%;
|
111 |
-
height: auto;
|
112 |
-
width: auto;
|
113 |
-
opacity: 0;
|
114 |
-
z-index: 99;
|
115 |
-
background-color: #fff;
|
116 |
-
filter: alpha(opacity=0); }
|
117 |
-
|
118 |
-
.select2-hidden-accessible {
|
119 |
-
border: 0 !important;
|
120 |
-
clip: rect(0 0 0 0) !important;
|
121 |
-
height: 1px !important;
|
122 |
-
margin: -1px !important;
|
123 |
-
overflow: hidden !important;
|
124 |
-
padding: 0 !important;
|
125 |
-
position: absolute !important;
|
126 |
-
width: 1px !important; }
|
127 |
-
|
128 |
-
.select2-container--default .select2-selection--single {
|
129 |
-
background-color: #fff;
|
130 |
-
border: 1px solid #aaa;
|
131 |
-
border-radius: 4px; }
|
132 |
-
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
133 |
-
color: #444;
|
134 |
-
line-height: 28px; }
|
135 |
-
.select2-container--default .select2-selection--single .select2-selection__clear {
|
136 |
-
cursor: pointer;
|
137 |
-
float: right;
|
138 |
-
font-weight: bold; }
|
139 |
-
.select2-container--default .select2-selection--single .select2-selection__placeholder {
|
140 |
-
color: #999; }
|
141 |
-
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
142 |
-
height: 26px;
|
143 |
-
position: absolute;
|
144 |
-
top: 1px;
|
145 |
-
right: 1px;
|
146 |
-
width: 20px; }
|
147 |
-
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
148 |
-
border-color: #888 transparent transparent transparent;
|
149 |
-
border-style: solid;
|
150 |
-
border-width: 5px 4px 0 4px;
|
151 |
-
height: 0;
|
152 |
-
left: 50%;
|
153 |
-
margin-left: -4px;
|
154 |
-
margin-top: -2px;
|
155 |
-
position: absolute;
|
156 |
-
top: 50%;
|
157 |
-
width: 0; }
|
158 |
-
|
159 |
-
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
160 |
-
float: left; }
|
161 |
-
|
162 |
-
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
163 |
-
left: 1px;
|
164 |
-
right: auto; }
|
165 |
-
|
166 |
-
.select2-container--default.select2-container--disabled .select2-selection--single {
|
167 |
-
background-color: #eee;
|
168 |
-
cursor: default; }
|
169 |
-
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
|
170 |
-
display: none; }
|
171 |
-
|
172 |
-
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
173 |
-
border-color: transparent transparent #888 transparent;
|
174 |
-
border-width: 0 4px 5px 4px; }
|
175 |
-
|
176 |
-
.select2-container--default .select2-selection--multiple {
|
177 |
-
background-color: white;
|
178 |
-
border: 1px solid #aaa;
|
179 |
-
border-radius: 4px;
|
180 |
-
cursor: text; }
|
181 |
-
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
182 |
-
box-sizing: border-box;
|
183 |
-
list-style: none;
|
184 |
-
margin: 0;
|
185 |
-
padding: 0 5px;
|
186 |
-
width: 100%; }
|
187 |
-
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
|
188 |
-
list-style: none; }
|
189 |
-
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
|
190 |
-
color: #999;
|
191 |
-
margin-top: 5px;
|
192 |
-
float: left; }
|
193 |
-
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
194 |
-
cursor: pointer;
|
195 |
-
float: right;
|
196 |
-
font-weight: bold;
|
197 |
-
margin-top: 5px;
|
198 |
-
margin-right: 10px; }
|
199 |
-
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
200 |
-
background-color: #e4e4e4;
|
201 |
-
border: 1px solid #aaa;
|
202 |
-
border-radius: 4px;
|
203 |
-
cursor: default;
|
204 |
-
float: left;
|
205 |
-
margin-right: 5px;
|
206 |
-
margin-top: 5px;
|
207 |
-
padding: 0 5px; }
|
208 |
-
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
209 |
-
color: #999;
|
210 |
-
cursor: pointer;
|
211 |
-
display: inline-block;
|
212 |
-
font-weight: bold;
|
213 |
-
margin-right: 2px; }
|
214 |
-
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
215 |
-
color: #333; }
|
216 |
-
|
217 |
-
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
|
218 |
-
float: right; }
|
219 |
-
|
220 |
-
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
221 |
-
margin-left: 5px;
|
222 |
-
margin-right: auto; }
|
223 |
-
|
224 |
-
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
225 |
-
margin-left: 2px;
|
226 |
-
margin-right: auto; }
|
227 |
-
|
228 |
-
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
229 |
-
border: solid black 1px;
|
230 |
-
outline: 0; }
|
231 |
-
|
232 |
-
.select2-container--default.select2-container--disabled .select2-selection--multiple {
|
233 |
-
background-color: #eee;
|
234 |
-
cursor: default; }
|
235 |
-
|
236 |
-
.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
|
237 |
-
display: none; }
|
238 |
-
|
239 |
-
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
|
240 |
-
border-top-left-radius: 0;
|
241 |
-
border-top-right-radius: 0; }
|
242 |
-
|
243 |
-
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
|
244 |
-
border-bottom-left-radius: 0;
|
245 |
-
border-bottom-right-radius: 0; }
|
246 |
-
|
247 |
-
.select2-container--default .select2-search--dropdown .select2-search__field {
|
248 |
-
border: 1px solid #aaa; }
|
249 |
-
|
250 |
-
.select2-container--default .select2-search--inline .select2-search__field {
|
251 |
-
background: transparent;
|
252 |
-
border: none;
|
253 |
-
outline: 0;
|
254 |
-
box-shadow: none;
|
255 |
-
-webkit-appearance: textfield; }
|
256 |
-
|
257 |
-
.select2-container--default .select2-results > .select2-results__options {
|
258 |
-
max-height: 200px;
|
259 |
-
overflow-y: auto; }
|
260 |
-
|
261 |
-
.select2-container--default .select2-results__option[role=group] {
|
262 |
-
padding: 0; }
|
263 |
-
|
264 |
-
.select2-container--default .select2-results__option[aria-disabled=true] {
|
265 |
-
color: #999; }
|
266 |
-
|
267 |
-
.select2-container--default .select2-results__option[aria-selected=true] {
|
268 |
-
background-color: #ddd; }
|
269 |
-
|
270 |
-
.select2-container--default .select2-results__option .select2-results__option {
|
271 |
-
padding-left: 1em; }
|
272 |
-
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
|
273 |
-
padding-left: 0; }
|
274 |
-
.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
|
275 |
-
margin-left: -1em;
|
276 |
-
padding-left: 2em; }
|
277 |
-
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
278 |
-
margin-left: -2em;
|
279 |
-
padding-left: 3em; }
|
280 |
-
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
281 |
-
margin-left: -3em;
|
282 |
-
padding-left: 4em; }
|
283 |
-
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
284 |
-
margin-left: -4em;
|
285 |
-
padding-left: 5em; }
|
286 |
-
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
287 |
-
margin-left: -5em;
|
288 |
-
padding-left: 6em; }
|
289 |
-
|
290 |
-
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
291 |
-
background-color: #5897fb;
|
292 |
-
color: white; }
|
293 |
-
|
294 |
-
.select2-container--default .select2-results__group {
|
295 |
-
cursor: default;
|
296 |
-
display: block;
|
297 |
-
padding: 6px; }
|
298 |
-
|
299 |
-
.select2-container--classic .select2-selection--single {
|
300 |
-
background-color: #f7f7f7;
|
301 |
-
border: 1px solid #aaa;
|
302 |
-
border-radius: 4px;
|
303 |
-
outline: 0;
|
304 |
-
background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
|
305 |
-
background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
|
306 |
-
background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
|
307 |
-
background-repeat: repeat-x;
|
308 |
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
309 |
-
.select2-container--classic .select2-selection--single:focus {
|
310 |
-
border: 1px solid #5897fb; }
|
311 |
-
.select2-container--classic .select2-selection--single .select2-selection__rendered {
|
312 |
-
color: #444;
|
313 |
-
line-height: 28px; }
|
314 |
-
.select2-container--classic .select2-selection--single .select2-selection__clear {
|
315 |
-
cursor: pointer;
|
316 |
-
float: right;
|
317 |
-
font-weight: bold;
|
318 |
-
margin-right: 10px; }
|
319 |
-
.select2-container--classic .select2-selection--single .select2-selection__placeholder {
|
320 |
-
color: #999; }
|
321 |
-
.select2-container--classic .select2-selection--single .select2-selection__arrow {
|
322 |
-
background-color: #ddd;
|
323 |
-
border: none;
|
324 |
-
border-left: 1px solid #aaa;
|
325 |
-
border-top-right-radius: 4px;
|
326 |
-
border-bottom-right-radius: 4px;
|
327 |
-
height: 26px;
|
328 |
-
position: absolute;
|
329 |
-
top: 1px;
|
330 |
-
right: 1px;
|
331 |
-
width: 20px;
|
332 |
-
background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
333 |
-
background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
334 |
-
background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
|
335 |
-
background-repeat: repeat-x;
|
336 |
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
|
337 |
-
.select2-container--classic .select2-selection--single .select2-selection__arrow b {
|
338 |
-
border-color: #888 transparent transparent transparent;
|
339 |
-
border-style: solid;
|
340 |
-
border-width: 5px 4px 0 4px;
|
341 |
-
height: 0;
|
342 |
-
left: 50%;
|
343 |
-
margin-left: -4px;
|
344 |
-
margin-top: -2px;
|
345 |
-
position: absolute;
|
346 |
-
top: 50%;
|
347 |
-
width: 0; }
|
348 |
-
|
349 |
-
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
350 |
-
float: left; }
|
351 |
-
|
352 |
-
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
353 |
-
border: none;
|
354 |
-
border-right: 1px solid #aaa;
|
355 |
-
border-radius: 0;
|
356 |
-
border-top-left-radius: 4px;
|
357 |
-
border-bottom-left-radius: 4px;
|
358 |
-
left: 1px;
|
359 |
-
right: auto; }
|
360 |
-
|
361 |
-
.select2-container--classic.select2-container--open .select2-selection--single {
|
362 |
-
border: 1px solid #5897fb; }
|
363 |
-
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
|
364 |
-
background: transparent;
|
365 |
-
border: none; }
|
366 |
-
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
367 |
-
border-color: transparent transparent #888 transparent;
|
368 |
-
border-width: 0 4px 5px 4px; }
|
369 |
-
|
370 |
-
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
|
371 |
-
border-top: none;
|
372 |
-
border-top-left-radius: 0;
|
373 |
-
border-top-right-radius: 0;
|
374 |
-
background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
|
375 |
-
background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
|
376 |
-
background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
|
377 |
-
background-repeat: repeat-x;
|
378 |
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
379 |
-
|
380 |
-
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
|
381 |
-
border-bottom: none;
|
382 |
-
border-bottom-left-radius: 0;
|
383 |
-
border-bottom-right-radius: 0;
|
384 |
-
background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
|
385 |
-
background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
|
386 |
-
background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
|
387 |
-
background-repeat: repeat-x;
|
388 |
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
|
389 |
-
|
390 |
-
.select2-container--classic .select2-selection--multiple {
|
391 |
-
background-color: white;
|
392 |
-
border: 1px solid #aaa;
|
393 |
-
border-radius: 4px;
|
394 |
-
cursor: text;
|
395 |
-
outline: 0; }
|
396 |
-
.select2-container--classic .select2-selection--multiple:focus {
|
397 |
-
border: 1px solid #5897fb; }
|
398 |
-
.select2-container--classic .select2-selection--multiple .select2-selection__rendered {
|
399 |
-
list-style: none;
|
400 |
-
margin: 0;
|
401 |
-
padding: 0 5px; }
|
402 |
-
.select2-container--classic .select2-selection--multiple .select2-selection__clear {
|
403 |
-
display: none; }
|
404 |
-
.select2-container--classic .select2-selection--multiple .select2-selection__choice {
|
405 |
-
background-color: #e4e4e4;
|
406 |
-
border: 1px solid #aaa;
|
407 |
-
border-radius: 4px;
|
408 |
-
cursor: default;
|
409 |
-
float: left;
|
410 |
-
margin-right: 5px;
|
411 |
-
margin-top: 5px;
|
412 |
-
padding: 0 5px; }
|
413 |
-
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
|
414 |
-
color: #888;
|
415 |
-
cursor: pointer;
|
416 |
-
display: inline-block;
|
417 |
-
font-weight: bold;
|
418 |
-
margin-right: 2px; }
|
419 |
-
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
|
420 |
-
color: #555; }
|
421 |
-
|
422 |
-
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
423 |
-
float: right; }
|
424 |
-
|
425 |
-
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
426 |
-
margin-left: 5px;
|
427 |
-
margin-right: auto; }
|
428 |
-
|
429 |
-
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
430 |
-
margin-left: 2px;
|
431 |
-
margin-right: auto; }
|
432 |
-
|
433 |
-
.select2-container--classic.select2-container--open .select2-selection--multiple {
|
434 |
-
border: 1px solid #5897fb; }
|
435 |
-
|
436 |
-
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
|
437 |
-
border-top: none;
|
438 |
-
border-top-left-radius: 0;
|
439 |
-
border-top-right-radius: 0; }
|
440 |
-
|
441 |
-
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
|
442 |
-
border-bottom: none;
|
443 |
-
border-bottom-left-radius: 0;
|
444 |
-
border-bottom-right-radius: 0; }
|
445 |
-
|
446 |
-
.select2-container--classic .select2-search--dropdown .select2-search__field {
|
447 |
-
border: 1px solid #aaa;
|
448 |
-
outline: 0; }
|
449 |
-
|
450 |
-
.select2-container--classic .select2-search--inline .select2-search__field {
|
451 |
-
outline: 0;
|
452 |
-
box-shadow: none; }
|
453 |
-
|
454 |
-
.select2-container--classic .select2-dropdown {
|
455 |
-
background-color: white;
|
456 |
-
border: 1px solid transparent; }
|
457 |
-
|
458 |
-
.select2-container--classic .select2-dropdown--above {
|
459 |
-
border-bottom: none; }
|
460 |
-
|
461 |
-
.select2-container--classic .select2-dropdown--below {
|
462 |
-
border-top: none; }
|
463 |
-
|
464 |
-
.select2-container--classic .select2-results > .select2-results__options {
|
465 |
-
max-height: 200px;
|
466 |
-
overflow-y: auto; }
|
467 |
-
|
468 |
-
.select2-container--classic .select2-results__option[role=group] {
|
469 |
-
padding: 0; }
|
470 |
-
|
471 |
-
.select2-container--classic .select2-results__option[aria-disabled=true] {
|
472 |
-
color: grey; }
|
473 |
-
|
474 |
-
.select2-container--classic .select2-results__option--highlighted[aria-selected] {
|
475 |
-
background-color: #3875d7;
|
476 |
-
color: white; }
|
477 |
-
|
478 |
-
.select2-container--classic .select2-results__group {
|
479 |
-
cursor: default;
|
480 |
-
display: block;
|
481 |
-
padding: 6px; }
|
482 |
-
|
483 |
-
.select2-container--classic.select2-container--open .select2-dropdown {
|
484 |
-
border-color: #5897fb; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/css/select2/select2.min.css
DELETED
@@ -1 +0,0 @@
|
|
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;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--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;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{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;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;filter:alpha(opacity=0)}.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 #aaa;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:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;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--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{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--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;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]{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]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .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--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}
|
|
assets/css/{select2 → select300}/index.php
RENAMED
File without changes
|
assets/css/select300/select300.css
ADDED
@@ -0,0 +1,484 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.select300-container {
|
2 |
+
box-sizing: border-box;
|
3 |
+
display: inline-block;
|
4 |
+
margin: 0;
|
5 |
+
position: relative;
|
6 |
+
vertical-align: middle; }
|
7 |
+
.select300-container .select300-selection--single {
|
8 |
+
box-sizing: border-box;
|
9 |
+
cursor: pointer;
|
10 |
+
display: block;
|
11 |
+
height: 28px;
|
12 |
+
user-select: none;
|
13 |
+
-webkit-user-select: none; }
|
14 |
+
.select300-container .select300-selection--single .select300-selection__rendered {
|
15 |
+
display: block;
|
16 |
+
padding-left: 8px;
|
17 |
+
padding-right: 20px;
|
18 |
+
overflow: hidden;
|
19 |
+
text-overflow: ellipsis;
|
20 |
+
white-space: nowrap; }
|
21 |
+
.select300-container .select300-selection--single .select300-selection__clear {
|
22 |
+
position: relative; }
|
23 |
+
.select300-container[dir="rtl"] .select300-selection--single .select300-selection__rendered {
|
24 |
+
padding-right: 8px;
|
25 |
+
padding-left: 20px; }
|
26 |
+
.select300-container .select300-selection--multiple {
|
27 |
+
box-sizing: border-box;
|
28 |
+
cursor: pointer;
|
29 |
+
display: block;
|
30 |
+
min-height: 32px;
|
31 |
+
user-select: none;
|
32 |
+
-webkit-user-select: none; }
|
33 |
+
.select300-container .select300-selection--multiple .select300-selection__rendered {
|
34 |
+
display: inline-block;
|
35 |
+
overflow: hidden;
|
36 |
+
padding-left: 8px;
|
37 |
+
text-overflow: ellipsis;
|
38 |
+
white-space: nowrap; }
|
39 |
+
.select300-container .select300-search--inline {
|
40 |
+
float: left; }
|
41 |
+
.select300-container .select300-search--inline .select300-search__field {
|
42 |
+
box-sizing: border-box;
|
43 |
+
border: none;
|
44 |
+
font-size: 100%;
|
45 |
+
margin-top: 5px;
|
46 |
+
padding: 0; }
|
47 |
+
.select300-container .select300-search--inline .select300-search__field::-webkit-search-cancel-button {
|
48 |
+
-webkit-appearance: none; }
|
49 |
+
|
50 |
+
.select300-dropdown {
|
51 |
+
background-color: white;
|
52 |
+
border: 1px solid #aaa;
|
53 |
+
border-radius: 4px;
|
54 |
+
box-sizing: border-box;
|
55 |
+
display: block;
|
56 |
+
position: absolute;
|
57 |
+
left: -100000px;
|
58 |
+
width: 100%;
|
59 |
+
z-index: 1051; }
|
60 |
+
|
61 |
+
.select300-results {
|
62 |
+
display: block; }
|
63 |
+
|
64 |
+
.select300-results__options {
|
65 |
+
list-style: none;
|
66 |
+
margin: 0;
|
67 |
+
padding: 0; }
|
68 |
+
|
69 |
+
.select300-results__option {
|
70 |
+
padding: 6px;
|
71 |
+
user-select: none;
|
72 |
+
-webkit-user-select: none; }
|
73 |
+
.select300-results__option[aria-selected] {
|
74 |
+
cursor: pointer; }
|
75 |
+
|
76 |
+
.select300-container--open .select300-dropdown {
|
77 |
+
left: 0; }
|
78 |
+
|
79 |
+
.select300-container--open .select300-dropdown--above {
|
80 |
+
border-bottom: none;
|
81 |
+
border-bottom-left-radius: 0;
|
82 |
+
border-bottom-right-radius: 0; }
|
83 |
+
|
84 |
+
.select300-container--open .select300-dropdown--below {
|
85 |
+
border-top: none;
|
86 |
+
border-top-left-radius: 0;
|
87 |
+
border-top-right-radius: 0; }
|
88 |
+
|
89 |
+
.select300-search--dropdown {
|
90 |
+
display: block;
|
91 |
+
padding: 4px; }
|
92 |
+
.select300-search--dropdown .select300-search__field {
|
93 |
+
padding: 4px;
|
94 |
+
width: 100%;
|
95 |
+
box-sizing: border-box; }
|
96 |
+
.select300-search--dropdown .select300-search__field::-webkit-search-cancel-button {
|
97 |
+
-webkit-appearance: none; }
|
98 |
+
.select300-search--dropdown.select300-search--hide {
|
99 |
+
display: none; }
|
100 |
+
|
101 |
+
.select300-close-mask {
|
102 |
+
border: 0;
|
103 |
+
margin: 0;
|
104 |
+
padding: 0;
|
105 |
+
display: block;
|
106 |
+
position: fixed;
|
107 |
+
left: 0;
|
108 |
+
top: 0;
|
109 |
+
min-height: 100%;
|
110 |
+
min-width: 100%;
|
111 |
+
height: auto;
|
112 |
+
width: auto;
|
113 |
+
opacity: 0;
|
114 |
+
z-index: 99;
|
115 |
+
background-color: #fff;
|
116 |
+
filter: alpha(opacity=0); }
|
117 |
+
|
118 |
+
.select300-hidden-accessible {
|
119 |
+
border: 0 !important;
|
120 |
+
clip: rect(0 0 0 0) !important;
|
121 |
+
height: 1px !important;
|
122 |
+
margin: -1px !important;
|
123 |
+
overflow: hidden !important;
|
124 |
+
padding: 0 !important;
|
125 |
+
position: absolute !important;
|
126 |
+
width: 1px !important; }
|
127 |
+
|
128 |
+
.select300-container--default .select300-selection--single {
|
129 |
+
background-color: #fff;
|
130 |
+
border: 1px solid #aaa;
|
131 |
+
border-radius: 4px; }
|
132 |
+
.select300-container--default .select300-selection--single .select300-selection__rendered {
|
133 |
+
color: #444;
|
134 |
+
line-height: 28px; }
|
135 |
+
.select300-container--default .select300-selection--single .select300-selection__clear {
|
136 |
+
cursor: pointer;
|
137 |
+
float: right;
|
138 |
+
font-weight: bold; }
|
139 |
+
.select300-container--default .select300-selection--single .select300-selection__placeholder {
|
140 |
+
color: #999; }
|
141 |
+
.select300-container--default .select300-selection--single .select300-selection__arrow {
|
142 |
+
height: 26px;
|
143 |
+
position: absolute;
|
144 |
+
top: 1px;
|
145 |
+
right: 1px;
|
146 |
+
width: 20px; }
|
147 |
+
.select300-container--default .select300-selection--single .select300-selection__arrow b {
|
148 |
+
border-color: #888 transparent transparent transparent;
|
149 |
+
border-style: solid;
|
150 |
+
border-width: 5px 4px 0 4px;
|
151 |
+
height: 0;
|
152 |
+
left: 50%;
|
153 |
+
margin-left: -4px;
|
154 |
+
margin-top: -2px;
|
155 |
+
position: absolute;
|
156 |
+
top: 50%;
|
157 |
+
width: 0; }
|
158 |
+
|
159 |
+
.select300-container--default[dir="rtl"] .select300-selection--single .select300-selection__clear {
|
160 |
+
float: left; }
|
161 |
+
|
162 |
+
.select300-container--default[dir="rtl"] .select300-selection--single .select300-selection__arrow {
|
163 |
+
left: 1px;
|
164 |
+
right: auto; }
|
165 |
+
|
166 |
+
.select300-container--default.select300-container--disabled .select300-selection--single {
|
167 |
+
background-color: #eee;
|
168 |
+
cursor: default; }
|
169 |
+
.select300-container--default.select300-container--disabled .select300-selection--single .select300-selection__clear {
|
170 |
+
display: none; }
|
171 |
+
|
172 |
+
.select300-container--default.select300-container--open .select300-selection--single .select300-selection__arrow b {
|
173 |
+
border-color: transparent transparent #888 transparent;
|
174 |
+
border-width: 0 4px 5px 4px; }
|
175 |
+
|
176 |
+
.select300-container--default .select300-selection--multiple {
|
177 |
+
background-color: white;
|
178 |
+
border: 1px solid #aaa;
|
179 |
+
border-radius: 4px;
|
180 |
+
cursor: text; }
|
181 |
+
.select300-container--default .select300-selection--multiple .select300-selection__rendered {
|
182 |
+
box-sizing: border-box;
|
183 |
+
list-style: none;
|
184 |
+
margin: 0;
|
185 |
+
padding: 0 5px;
|
186 |
+
width: 100%; }
|
187 |
+
.select300-container--default .select300-selection--multiple .select300-selection__rendered li {
|
188 |
+
list-style: none; }
|
189 |
+
.select300-container--default .select300-selection--multiple .select300-selection__placeholder {
|
190 |
+
color: #999;
|
191 |
+
margin-top: 5px;
|
192 |
+
float: left; }
|
193 |
+
.select300-container--default .select300-selection--multiple .select300-selection__clear {
|
194 |
+
cursor: pointer;
|
195 |
+
float: right;
|
196 |
+
font-weight: bold;
|
197 |
+
margin-top: 5px;
|
198 |
+
margin-right: 10px; }
|
199 |
+
.select300-container--default .select300-selection--multiple .select300-selection__choice {
|
200 |
+
background-color: #e4e4e4;
|
201 |
+
border: 1px solid #aaa;
|
202 |
+
border-radius: 4px;
|
203 |
+
cursor: default;
|
204 |
+
float: left;
|
205 |
+
margin-right: 5px;
|
206 |
+
margin-top: 5px;
|
207 |
+
padding: 0 5px; }
|
208 |
+
.select300-container--default .select300-selection--multiple .select300-selection__choice__remove {
|
209 |
+
color: #999;
|
210 |
+
cursor: pointer;
|
211 |
+
display: inline-block;
|
212 |
+
font-weight: bold;
|
213 |
+
margin-right: 2px; }
|
214 |
+
.select300-container--default .select300-selection--multiple .select300-selection__choice__remove:hover {
|
215 |
+
color: #333; }
|
216 |
+
|
217 |
+
.select300-container--default[dir="rtl"] .select300-selection--multiple .select300-selection__choice, .select300-container--default[dir="rtl"] .select300-selection--multiple .select300-selection__placeholder, .select300-container--default[dir="rtl"] .select300-selection--multiple .select300-search--inline {
|
218 |
+
float: right; }
|
219 |
+
|
220 |
+
.select300-container--default[dir="rtl"] .select300-selection--multiple .select300-selection__choice {
|
221 |
+
margin-left: 5px;
|
222 |
+
margin-right: auto; }
|
223 |
+
|
224 |
+
.select300-container--default[dir="rtl"] .select300-selection--multiple .select300-selection__choice__remove {
|
225 |
+
margin-left: 2px;
|
226 |
+
margin-right: auto; }
|
227 |
+
|
228 |
+
.select300-container--default.select300-container--focus .select300-selection--multiple {
|
229 |
+
border: solid black 1px;
|
230 |
+
outline: 0; }
|
231 |
+
|
232 |
+
.select300-container--default.select300-container--disabled .select300-selection--multiple {
|
233 |
+
background-color: #eee;
|
234 |
+
cursor: default; }
|
235 |
+
|
236 |
+
.select300-container--default.select300-container--disabled .select300-selection__choice__remove {
|
237 |
+
display: none; }
|
238 |
+
|
239 |
+
.select300-container--default.select300-container--open.select300-container--above .select300-selection--single, .select300-container--default.select300-container--open.select300-container--above .select300-selection--multiple {
|
240 |
+
border-top-left-radius: 0;
|
241 |
+
border-top-right-radius: 0; }
|
242 |
+
|
243 |
+
.select300-container--default.select300-container--open.select300-container--below .select300-selection--single, .select300-container--default.select300-container--open.select300-container--below .select300-selection--multiple {
|
244 |
+
border-bottom-left-radius: 0;
|
245 |
+
border-bottom-right-radius: 0; }
|
246 |
+
|
247 |
+
.select300-container--default .select300-search--dropdown .select300-search__field {
|
248 |
+
border: 1px solid #aaa; }
|
249 |
+
|
250 |
+
.select300-container--default .select300-search--inline .select300-search__field {
|
251 |
+
background: transparent;
|
252 |
+
border: none;
|
253 |
+
outline: 0;
|
254 |
+
box-shadow: none;
|
255 |
+
-webkit-appearance: textfield; }
|
256 |
+
|
257 |
+
.select300-container--default .select300-results > .select300-results__options {
|
258 |
+
max-height: 200px;
|
259 |
+
overflow-y: auto; }
|
260 |
+
|
261 |
+
.select300-container--default .select300-results__option[role=group] {
|
262 |
+
padding: 0; }
|
263 |
+
|
264 |
+
.select300-container--default .select300-results__option[aria-disabled=true] {
|
265 |
+
color: #999; }
|
266 |
+
|
267 |
+
.select300-container--default .select300-results__option[aria-selected=true] {
|
268 |
+
background-color: #ddd; }
|
269 |
+
|
270 |
+
.select300-container--default .select300-results__option .select300-results__option {
|
271 |
+
padding-left: 1em; }
|
272 |
+
.select300-container--default .select300-results__option .select300-results__option .select300-results__group {
|
273 |
+
padding-left: 0; }
|
274 |
+
.select300-container--default .select300-results__option .select300-results__option .select300-results__option {
|
275 |
+
margin-left: -1em;
|
276 |
+
padding-left: 2em; }
|
277 |
+
.select300-container--default .select300-results__option .select300-results__option .select300-results__option .select300-results__option {
|
278 |
+
margin-left: -2em;
|
279 |
+
padding-left: 3em; }
|
280 |
+
.select300-container--default .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option {
|
281 |
+
margin-left: -3em;
|
282 |
+
padding-left: 4em; }
|
283 |
+
.select300-container--default .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option {
|
284 |
+
margin-left: -4em;
|
285 |
+
padding-left: 5em; }
|
286 |
+
.select300-container--default .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option {
|
287 |
+
margin-left: -5em;
|
288 |
+
padding-left: 6em; }
|
289 |
+
|
290 |
+
.select300-container--default .select300-results__option--highlighted[aria-selected] {
|
291 |
+
background-color: #5897fb;
|
292 |
+
color: white; }
|
293 |
+
|
294 |
+
.select300-container--default .select300-results__group {
|
295 |
+
cursor: default;
|
296 |
+
display: block;
|
297 |
+
padding: 6px; }
|
298 |
+
|
299 |
+
.select300-container--classic .select300-selection--single {
|
300 |
+
background-color: #f7f7f7;
|
301 |
+
border: 1px solid #aaa;
|
302 |
+
border-radius: 4px;
|
303 |
+
outline: 0;
|
304 |
+
background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
|
305 |
+
background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
|
306 |
+
background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
|
307 |
+
background-repeat: repeat-x;
|
308 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
309 |
+
.select300-container--classic .select300-selection--single:focus {
|
310 |
+
border: 1px solid #5897fb; }
|
311 |
+
.select300-container--classic .select300-selection--single .select300-selection__rendered {
|
312 |
+
color: #444;
|
313 |
+
line-height: 28px; }
|
314 |
+
.select300-container--classic .select300-selection--single .select300-selection__clear {
|
315 |
+
cursor: pointer;
|
316 |
+
float: right;
|
317 |
+
font-weight: bold;
|
318 |
+
margin-right: 10px; }
|
319 |
+
.select300-container--classic .select300-selection--single .select300-selection__placeholder {
|
320 |
+
color: #999; }
|
321 |
+
.select300-container--classic .select300-selection--single .select300-selection__arrow {
|
322 |
+
background-color: #ddd;
|
323 |
+
border: none;
|
324 |
+
border-left: 1px solid #aaa;
|
325 |
+
border-top-right-radius: 4px;
|
326 |
+
border-bottom-right-radius: 4px;
|
327 |
+
height: 26px;
|
328 |
+
position: absolute;
|
329 |
+
top: 1px;
|
330 |
+
right: 1px;
|
331 |
+
width: 20px;
|
332 |
+
background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
333 |
+
background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
334 |
+
background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
|
335 |
+
background-repeat: repeat-x;
|
336 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
|
337 |
+
.select300-container--classic .select300-selection--single .select300-selection__arrow b {
|
338 |
+
border-color: #888 transparent transparent transparent;
|
339 |
+
border-style: solid;
|
340 |
+
border-width: 5px 4px 0 4px;
|
341 |
+
height: 0;
|
342 |
+
left: 50%;
|
343 |
+
margin-left: -4px;
|
344 |
+
margin-top: -2px;
|
345 |
+
position: absolute;
|
346 |
+
top: 50%;
|
347 |
+
width: 0; }
|
348 |
+
|
349 |
+
.select300-container--classic[dir="rtl"] .select300-selection--single .select300-selection__clear {
|
350 |
+
float: left; }
|
351 |
+
|
352 |
+
.select300-container--classic[dir="rtl"] .select300-selection--single .select300-selection__arrow {
|
353 |
+
border: none;
|
354 |
+
border-right: 1px solid #aaa;
|
355 |
+
border-radius: 0;
|
356 |
+
border-top-left-radius: 4px;
|
357 |
+
border-bottom-left-radius: 4px;
|
358 |
+
left: 1px;
|
359 |
+
right: auto; }
|
360 |
+
|
361 |
+
.select300-container--classic.select300-container--open .select300-selection--single {
|
362 |
+
border: 1px solid #5897fb; }
|
363 |
+
.select300-container--classic.select300-container--open .select300-selection--single .select300-selection__arrow {
|
364 |
+
background: transparent;
|
365 |
+
border: none; }
|
366 |
+
.select300-container--classic.select300-container--open .select300-selection--single .select300-selection__arrow b {
|
367 |
+
border-color: transparent transparent #888 transparent;
|
368 |
+
border-width: 0 4px 5px 4px; }
|
369 |
+
|
370 |
+
.select300-container--classic.select300-container--open.select300-container--above .select300-selection--single {
|
371 |
+
border-top: none;
|
372 |
+
border-top-left-radius: 0;
|
373 |
+
border-top-right-radius: 0;
|
374 |
+
background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
|
375 |
+
background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
|
376 |
+
background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
|
377 |
+
background-repeat: repeat-x;
|
378 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
379 |
+
|
380 |
+
.select300-container--classic.select300-container--open.select300-container--below .select300-selection--single {
|
381 |
+
border-bottom: none;
|
382 |
+
border-bottom-left-radius: 0;
|
383 |
+
border-bottom-right-radius: 0;
|
384 |
+
background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
|
385 |
+
background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
|
386 |
+
background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
|
387 |
+
background-repeat: repeat-x;
|
388 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
|
389 |
+
|
390 |
+
.select300-container--classic .select300-selection--multiple {
|
391 |
+
background-color: white;
|
392 |
+
border: 1px solid #aaa;
|
393 |
+
border-radius: 4px;
|
394 |
+
cursor: text;
|
395 |
+
outline: 0; }
|
396 |
+
.select300-container--classic .select300-selection--multiple:focus {
|
397 |
+
border: 1px solid #5897fb; }
|
398 |
+
.select300-container--classic .select300-selection--multiple .select300-selection__rendered {
|
399 |
+
list-style: none;
|
400 |
+
margin: 0;
|
401 |
+
padding: 0 5px; }
|
402 |
+
.select300-container--classic .select300-selection--multiple .select300-selection__clear {
|
403 |
+
display: none; }
|
404 |
+
.select300-container--classic .select300-selection--multiple .select300-selection__choice {
|
405 |
+
background-color: #e4e4e4;
|
406 |
+
border: 1px solid #aaa;
|
407 |
+
border-radius: 4px;
|
408 |
+
cursor: default;
|
409 |
+
float: left;
|
410 |
+
margin-right: 5px;
|
411 |
+
margin-top: 5px;
|
412 |
+
padding: 0 5px; }
|
413 |
+
.select300-container--classic .select300-selection--multiple .select300-selection__choice__remove {
|
414 |
+
color: #888;
|
415 |
+
cursor: pointer;
|
416 |
+
display: inline-block;
|
417 |
+
font-weight: bold;
|
418 |
+
margin-right: 2px; }
|
419 |
+
.select300-container--classic .select300-selection--multiple .select300-selection__choice__remove:hover {
|
420 |
+
color: #555; }
|
421 |
+
|
422 |
+
.select300-container--classic[dir="rtl"] .select300-selection--multiple .select300-selection__choice {
|
423 |
+
float: right; }
|
424 |
+
|
425 |
+
.select300-container--classic[dir="rtl"] .select300-selection--multiple .select300-selection__choice {
|
426 |
+
margin-left: 5px;
|
427 |
+
margin-right: auto; }
|
428 |
+
|
429 |
+
.select300-container--classic[dir="rtl"] .select300-selection--multiple .select300-selection__choice__remove {
|
430 |
+
margin-left: 2px;
|
431 |
+
margin-right: auto; }
|
432 |
+
|
433 |
+
.select300-container--classic.select300-container--open .select300-selection--multiple {
|
434 |
+
border: 1px solid #5897fb; }
|
435 |
+
|
436 |
+
.select300-container--classic.select300-container--open.select300-container--above .select300-selection--multiple {
|
437 |
+
border-top: none;
|
438 |
+
border-top-left-radius: 0;
|
439 |
+
border-top-right-radius: 0; }
|
440 |
+
|
441 |
+
.select300-container--classic.select300-container--open.select300-container--below .select300-selection--multiple {
|
442 |
+
border-bottom: none;
|
443 |
+
border-bottom-left-radius: 0;
|
444 |
+
border-bottom-right-radius: 0; }
|
445 |
+
|
446 |
+
.select300-container--classic .select300-search--dropdown .select300-search__field {
|
447 |
+
border: 1px solid #aaa;
|
448 |
+
outline: 0; }
|
449 |
+
|
450 |
+
.select300-container--classic .select300-search--inline .select300-search__field {
|
451 |
+
outline: 0;
|
452 |
+
box-shadow: none; }
|
453 |
+
|
454 |
+
.select300-container--classic .select300-dropdown {
|
455 |
+
background-color: white;
|
456 |
+
border: 1px solid transparent; }
|
457 |
+
|
458 |
+
.select300-container--classic .select300-dropdown--above {
|
459 |
+
border-bottom: none; }
|
460 |
+
|
461 |
+
.select300-container--classic .select300-dropdown--below {
|
462 |
+
border-top: none; }
|
463 |
+
|
464 |
+
.select300-container--classic .select300-results > .select300-results__options {
|
465 |
+
max-height: 200px;
|
466 |
+
overflow-y: auto; }
|
467 |
+
|
468 |
+
.select300-container--classic .select300-results__option[role=group] {
|
469 |
+
padding: 0; }
|
470 |
+
|
471 |
+
.select300-container--classic .select300-results__option[aria-disabled=true] {
|
472 |
+
color: grey; }
|
473 |
+
|
474 |
+
.select300-container--classic .select300-results__option--highlighted[aria-selected] {
|
475 |
+
background-color: #3875d7;
|
476 |
+
color: white; }
|
477 |
+
|
478 |
+
.select300-container--classic .select300-results__group {
|
479 |
+
cursor: default;
|
480 |
+
display: block;
|
481 |
+
padding: 6px; }
|
482 |
+
|
483 |
+
.select300-container--classic.select300-container--open .select300-dropdown {
|
484 |
+
border-color: #5897fb; }
|
assets/css/select300/select300.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.select300-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select300-container .select300-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select300-container .select300-selection--single .select300-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select300-container .select300-selection--single .select300-selection__clear{position:relative}.select300-container[dir="rtl"] .select300-selection--single .select300-selection__rendered{padding-right:8px;padding-left:20px}.select300-container .select300-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select300-container .select300-selection--multiple .select300-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select300-container .select300-search--inline{float:left}.select300-container .select300-search--inline .select300-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select300-container .select300-search--inline .select300-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select300-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select300-results{display:block}.select300-results__options{list-style:none;margin:0;padding:0}.select300-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select300-results__option[aria-selected]{cursor:pointer}.select300-container--open .select300-dropdown{left:0}.select300-container--open .select300-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select300-container--open .select300-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select300-search--dropdown{display:block;padding:4px}.select300-search--dropdown .select300-search__field{padding:4px;width:100%;box-sizing:border-box}.select300-search--dropdown .select300-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select300-search--dropdown.select300-search--hide{display:none}.select300-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;filter:alpha(opacity=0)}.select300-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}.select300-container--default .select300-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select300-container--default .select300-selection--single .select300-selection__rendered{color:#444;line-height:28px}.select300-container--default .select300-selection--single .select300-selection__clear{cursor:pointer;float:right;font-weight:bold}.select300-container--default .select300-selection--single .select300-selection__placeholder{color:#999}.select300-container--default .select300-selection--single .select300-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select300-container--default .select300-selection--single .select300-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}.select300-container--default[dir="rtl"] .select300-selection--single .select300-selection__clear{float:left}.select300-container--default[dir="rtl"] .select300-selection--single .select300-selection__arrow{left:1px;right:auto}.select300-container--default.select300-container--disabled .select300-selection--single{background-color:#eee;cursor:default}.select300-container--default.select300-container--disabled .select300-selection--single .select300-selection__clear{display:none}.select300-container--default.select300-container--open .select300-selection--single .select300-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select300-container--default .select300-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select300-container--default .select300-selection--multiple .select300-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select300-container--default .select300-selection--multiple .select300-selection__rendered li{list-style:none}.select300-container--default .select300-selection--multiple .select300-selection__placeholder{color:#999;margin-top:5px;float:left}.select300-container--default .select300-selection--multiple .select300-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px}.select300-container--default .select300-selection--multiple .select300-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select300-container--default .select300-selection--multiple .select300-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select300-container--default .select300-selection--multiple .select300-selection__choice__remove:hover{color:#333}.select300-container--default[dir="rtl"] .select300-selection--multiple .select300-selection__choice,.select300-container--default[dir="rtl"] .select300-selection--multiple .select300-selection__placeholder,.select300-container--default[dir="rtl"] .select300-selection--multiple .select300-search--inline{float:right}.select300-container--default[dir="rtl"] .select300-selection--multiple .select300-selection__choice{margin-left:5px;margin-right:auto}.select300-container--default[dir="rtl"] .select300-selection--multiple .select300-selection__choice__remove{margin-left:2px;margin-right:auto}.select300-container--default.select300-container--focus .select300-selection--multiple{border:solid black 1px;outline:0}.select300-container--default.select300-container--disabled .select300-selection--multiple{background-color:#eee;cursor:default}.select300-container--default.select300-container--disabled .select300-selection__choice__remove{display:none}.select300-container--default.select300-container--open.select300-container--above .select300-selection--single,.select300-container--default.select300-container--open.select300-container--above .select300-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select300-container--default.select300-container--open.select300-container--below .select300-selection--single,.select300-container--default.select300-container--open.select300-container--below .select300-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select300-container--default .select300-search--dropdown .select300-search__field{border:1px solid #aaa}.select300-container--default .select300-search--inline .select300-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select300-container--default .select300-results>.select300-results__options{max-height:200px;overflow-y:auto}.select300-container--default .select300-results__option[role=group]{padding:0}.select300-container--default .select300-results__option[aria-disabled=true]{color:#999}.select300-container--default .select300-results__option[aria-selected=true]{background-color:#ddd}.select300-container--default .select300-results__option .select300-results__option{padding-left:1em}.select300-container--default .select300-results__option .select300-results__option .select300-results__group{padding-left:0}.select300-container--default .select300-results__option .select300-results__option .select300-results__option{margin-left:-1em;padding-left:2em}.select300-container--default .select300-results__option .select300-results__option .select300-results__option .select300-results__option{margin-left:-2em;padding-left:3em}.select300-container--default .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option{margin-left:-3em;padding-left:4em}.select300-container--default .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option{margin-left:-4em;padding-left:5em}.select300-container--default .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option .select300-results__option{margin-left:-5em;padding-left:6em}.select300-container--default .select300-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select300-container--default .select300-results__group{cursor:default;display:block;padding:6px}.select300-container--classic .select300-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select300-container--classic .select300-selection--single:focus{border:1px solid #5897fb}.select300-container--classic .select300-selection--single .select300-selection__rendered{color:#444;line-height:28px}.select300-container--classic .select300-selection--single .select300-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select300-container--classic .select300-selection--single .select300-selection__placeholder{color:#999}.select300-container--classic .select300-selection--single .select300-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select300-container--classic .select300-selection--single .select300-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}.select300-container--classic[dir="rtl"] .select300-selection--single .select300-selection__clear{float:left}.select300-container--classic[dir="rtl"] .select300-selection--single .select300-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select300-container--classic.select300-container--open .select300-selection--single{border:1px solid #5897fb}.select300-container--classic.select300-container--open .select300-selection--single .select300-selection__arrow{background:transparent;border:none}.select300-container--classic.select300-container--open .select300-selection--single .select300-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select300-container--classic.select300-container--open.select300-container--above .select300-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select300-container--classic.select300-container--open.select300-container--below .select300-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select300-container--classic .select300-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select300-container--classic .select300-selection--multiple:focus{border:1px solid #5897fb}.select300-container--classic .select300-selection--multiple .select300-selection__rendered{list-style:none;margin:0;padding:0 5px}.select300-container--classic .select300-selection--multiple .select300-selection__clear{display:none}.select300-container--classic .select300-selection--multiple .select300-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select300-container--classic .select300-selection--multiple .select300-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select300-container--classic .select300-selection--multiple .select300-selection__choice__remove:hover{color:#555}.select300-container--classic[dir="rtl"] .select300-selection--multiple .select300-selection__choice{float:right}.select300-container--classic[dir="rtl"] .select300-selection--multiple .select300-selection__choice{margin-left:5px;margin-right:auto}.select300-container--classic[dir="rtl"] .select300-selection--multiple .select300-selection__choice__remove{margin-left:2px;margin-right:auto}.select300-container--classic.select300-container--open .select300-selection--multiple{border:1px solid #5897fb}.select300-container--classic.select300-container--open.select300-container--above .select300-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select300-container--classic.select300-container--open.select300-container--below .select300-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select300-container--classic .select300-search--dropdown .select300-search__field{border:1px solid #aaa;outline:0}.select300-container--classic .select300-search--inline .select300-search__field{outline:0;box-shadow:none}.select300-container--classic .select300-dropdown{background-color:#fff;border:1px solid transparent}.select300-container--classic .select300-dropdown--above{border-bottom:none}.select300-container--classic .select300-dropdown--below{border-top:none}.select300-container--classic .select300-results>.select300-results__options{max-height:200px;overflow-y:auto}.select300-container--classic .select300-results__option[role=group]{padding:0}.select300-container--classic .select300-results__option[aria-disabled=true]{color:grey}.select300-container--classic .select300-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select300-container--classic .select300-results__group{cursor:default;display:block;padding:6px}.select300-container--classic.select300-container--open .select300-dropdown{border-color:#5897fb}
|
assets/js/admin.js
CHANGED
@@ -73,7 +73,7 @@ jQuery( document ).ready( function( $ ) {
|
|
73 |
} );
|
74 |
|
75 |
// Setup Select2
|
76 |
-
$('.monsterinsights-
|
77 |
|
78 |
|
79 |
var fields_changed = false;
|
@@ -108,6 +108,7 @@ jQuery( document ).ready( function( $ ) {
|
|
108 |
$('#monsterinsights_google_auth_view').html(response);
|
109 |
$('#monsterinsights_google_auth_view').removeClass('monsterinsights-hideme');
|
110 |
$('#monsterinsights_google_auth_block_view').removeClass('monsterinsights-hideme');
|
|
|
111 |
document.body.style.overflowY = "hidden";
|
112 |
document.body.style.overflowX = "hidden";
|
113 |
window.scrollTo( 0, 0 );
|
@@ -132,6 +133,7 @@ jQuery( document ).ready( function( $ ) {
|
|
132 |
$('#monsterinsights_google_auth_view').html(response);
|
133 |
$('#monsterinsights_google_auth_view').removeClass('monsterinsights-hideme');
|
134 |
$('#monsterinsights_google_auth_block_view').removeClass('monsterinsights-hideme');
|
|
|
135 |
document.body.style.overflowY = "hidden";
|
136 |
document.body.style.overflowX = "hidden";
|
137 |
window.scrollTo( 0, 0 );
|
@@ -167,7 +169,7 @@ jQuery( document ).ready( function( $ ) {
|
|
167 |
|
168 |
var view = document.getElementById('monsterinsightsview').value;
|
169 |
if ( view == 'selectprofile' ) {
|
170 |
-
$('.monsterinsights_select_ga_profile').
|
171 |
}
|
172 |
}).fail( function(xhr, textStatus, errorThrown) {
|
173 |
var message = $(xhr.responseText).text();
|
@@ -203,6 +205,7 @@ jQuery( document ).ready( function( $ ) {
|
|
203 |
$('#monsterinsights_google_auth_view').addClass('monsterinsights-hideme');
|
204 |
$('#monsterinsights_google_auth_block_view').addClass('monsterinsights-hideme');
|
205 |
$('#adminmenumain').removeClass('monsterinsights_opacity_60');
|
|
|
206 |
}).fail( function(xhr, textStatus, errorThrown) {
|
207 |
var message = $(xhr.responseText).text();
|
208 |
message = message.substring(0, message.indexOf("Call Stack"));
|
73 |
} );
|
74 |
|
75 |
// Setup Select2
|
76 |
+
$('.monsterinsights-select300').select300();
|
77 |
|
78 |
|
79 |
var fields_changed = false;
|
108 |
$('#monsterinsights_google_auth_view').html(response);
|
109 |
$('#monsterinsights_google_auth_view').removeClass('monsterinsights-hideme');
|
110 |
$('#monsterinsights_google_auth_block_view').removeClass('monsterinsights-hideme');
|
111 |
+
$('#wpadminbar').addClass('monsterinsights-hideme');
|
112 |
document.body.style.overflowY = "hidden";
|
113 |
document.body.style.overflowX = "hidden";
|
114 |
window.scrollTo( 0, 0 );
|
133 |
$('#monsterinsights_google_auth_view').html(response);
|
134 |
$('#monsterinsights_google_auth_view').removeClass('monsterinsights-hideme');
|
135 |
$('#monsterinsights_google_auth_block_view').removeClass('monsterinsights-hideme');
|
136 |
+
$('#wpadminbar').addClass('monsterinsights-hideme');
|
137 |
document.body.style.overflowY = "hidden";
|
138 |
document.body.style.overflowX = "hidden";
|
139 |
window.scrollTo( 0, 0 );
|
169 |
|
170 |
var view = document.getElementById('monsterinsightsview').value;
|
171 |
if ( view == 'selectprofile' ) {
|
172 |
+
$('.monsterinsights_select_ga_profile').select300();
|
173 |
}
|
174 |
}).fail( function(xhr, textStatus, errorThrown) {
|
175 |
var message = $(xhr.responseText).text();
|
205 |
$('#monsterinsights_google_auth_view').addClass('monsterinsights-hideme');
|
206 |
$('#monsterinsights_google_auth_block_view').addClass('monsterinsights-hideme');
|
207 |
$('#adminmenumain').removeClass('monsterinsights_opacity_60');
|
208 |
+
$('#wpadminbar').removeClass('monsterinsights-hideme');
|
209 |
}).fail( function(xhr, textStatus, errorThrown) {
|
210 |
var message = $(xhr.responseText).text();
|
211 |
message = message.substring(0, message.indexOf("Call Stack"));
|
assets/js/admin.min.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
;var uorigindetected='no',monsterinsights_authwindow;jQuery(document).ready(function(
|
2 |
-
else{
|
3 |
-
else{
|
4 |
-
else{
|
5 |
-
else{
|
6 |
-
else{
|
7 |
-
else{
|
8 |
-
else{var l=e.split('?');o=l[0];r=e;a='#'+l[1]};
|
9 |
-
else{var n=
|
1 |
+
;var uorigindetected='no',monsterinsights_authwindow;jQuery(document).ready(function(s){s('#screen-meta-links').prependTo('#monsterinsights-header-temp');s('#screen-meta').prependTo('#monsterinsights-header-temp');s('.monsterinsights-help-tip').tooltip({content:function(){return s(this).prop('title')},tooltipClass:'monsterinsights-ui-tooltip',position:{my:'center top',at:'center bottom+10',collision:'flipfit',},hide:{duration:200,},show:{duration:200,},});if(typeof Clipboard!=='undefined'){var r=new Clipboard('.monsterinsights-clipboard');s(document).on('click','.monsterinsights-clipboard',function(s){s.preventDefault()})};s('div.monsterinsights-notice').on('click','.notice-dismiss',function(t){t.preventDefault();s(this).closest('div.monsterinsights-notice').fadeOut();if(s(this).hasClass('is-dismissible')){s.post(monsterinsights_admin.ajax,{action:'monsterinsights_ajax_dismiss_notice',nonce:monsterinsights_admin.dismiss_notice_nonce,notice:s(this).parent().data('notice')},function(s){},'json')}});s('.monsterinsights-select300').select300();var t=!1;s(document).on('change','#monsterinsights-settings :input',function(){t=!0});s(document).on('click','a:not(.monsterinsights-settings-click-excluded)',function(s){if(t){var n=confirm(monsterinsights_admin.settings_changed_confirm);if(n){t=!1;return!0}
|
2 |
+
else{s.preventDefault();return!1}}});s('#monsterinsights-google-authenticate-submit').on('click',function(t){t.preventDefault();s('<div id="monsterinsights_google_auth_view" class="monsterinsights-hideme"></div>').prependTo('body');s('<div id="monsterinsights_google_auth_block_view" class="monsterinsights-hideme"></div>').prependTo('body');var n={'action':'monsterinsights_google_view','view':'prestart','reauth':!1};jQuery.post(ajaxurl,n,function(t){s('#monsterinsights_google_auth_view').html(t);s('#monsterinsights_google_auth_view').removeClass('monsterinsights-hideme');s('#monsterinsights_google_auth_block_view').removeClass('monsterinsights-hideme');s('#wpadminbar').addClass('monsterinsights-hideme');document.body.style.overflowY='hidden';document.body.style.overflowX='hidden';window.scrollTo(0,0);s('#adminmenumain').addClass('monsterinsights_opacity_60')}).fail(function(t,n,i){var e=s(t.responseText).text();e=e.substring(0,e.indexOf('Call Stack'));console.log(e)})});s('#monsterinsights-google-reauthenticate-submit').on('click',function(t){t.preventDefault();s('<div id="monsterinsights_google_auth_view" class="monsterinsights_google_auth_reauth monsterinsights-hideme"></div>').prependTo('body');s('<div id="monsterinsights_google_auth_block_view" class="monsterinsights-hideme"></div>').prependTo('body');var n={'action':'monsterinsights_google_view','view':'prestart','reauth':!0};jQuery.post(ajaxurl,n,function(t){s('#monsterinsights_google_auth_view').html(t);s('#monsterinsights_google_auth_view').removeClass('monsterinsights-hideme');s('#monsterinsights_google_auth_block_view').removeClass('monsterinsights-hideme');s('#wpadminbar').addClass('monsterinsights-hideme');document.body.style.overflowY='hidden';document.body.style.overflowX='hidden';window.scrollTo(0,0);s('#adminmenumain').addClass('monsterinsights_opacity_60')}).fail(function(t,n,i){var e=s(t.responseText).text();e=e.substring(0,e.indexOf('Call Stack'));console.log(e)})});s(document).on('click','#monsterinsights_google_auth_box_next',function(t){t.preventDefault();var n='';if(document.getElementById('monsterinsights_step_data')!=null){n=document.getElementById('monsterinsights_step_data').value};var i={'action':'monsterinsights_google_view','view':document.getElementById('monsterinsightsview').value,'reauth':document.getElementById('monsterinsightsreauth').value,'stepdata':n,};s('#monsterinsights_google_auth_box_footer').html('<div class="monsterinsights-google-loading">'+monsterinsights_admin.loadingtext+'</div>');s('.monsterinsights_google_auth_box_cancel').hide();jQuery.post(ajaxurl,i,function(t){s('#monsterinsights_google_auth_view').html(t);s('#monsterinsights_google_auth_view').removeClass('monsterinsights-hideme');s('#monsterinsights_google_auth_block_view').removeClass('monsterinsights-hideme');var n=document.getElementById('monsterinsightsview').value;if(n=='selectprofile'){s('.monsterinsights_select_ga_profile').select300()}}).fail(function(t,n,i){var e=s(t.responseText).text();e=e.substring(0,e.indexOf('Call Stack'));console.log(e)});monsterinsights_closepopupwindow()});s(document).on('click','.monsterinsights_google_auth_box_done',function(s){s.preventDefault();location.reload()});s(document).on('click','.monsterinsights_google_auth_box_cancel_error',function(s){s.preventDefault();location.reload()});s(document).on('click','.monsterinsights_google_auth_box_cancel',function(t){t.preventDefault();var n='';if(document.getElementById('monsterinsights_step_data')!=null){n=document.getElementById('monsterinsights_step_data').value};var i={'action':'monsterinsights_google_cancel','view':document.getElementById('monsterinsightsview').value,'reauth':document.getElementById('monsterinsightsreauth').value,'stepdata':n,};jQuery.post(ajaxurl,i,function(t){document.body.style.overflowY='visible';document.body.style.overflowX='visible';s('#monsterinsights_google_auth_view').html('');s('#monsterinsights_google_auth_view').addClass('monsterinsights-hideme');s('#monsterinsights_google_auth_block_view').addClass('monsterinsights-hideme');s('#adminmenumain').removeClass('monsterinsights_opacity_60');s('#wpadminbar').removeClass('monsterinsights-hideme')}).fail(function(t,n,i){var e=s(t.responseText).text();e=e.substring(0,e.indexOf('Call Stack'));console.log(e)})});if(s('#monsterinsights-addons').length!==0){s('#wpbody').css('background-color','#f1f1f1');s('body').css('background-color','#f1f1f1');s('#wpfooter').css('background-color','#f1f1f1');s('#wpbody-content').css('padding-bottom','0px')};var o;s('form#add-on-search input#add-on-searchbox').on('keyup',function(){clearTimeout(o);var t=s(this),n=s(t).val().toLowerCase(),i=s(t).data('heading'),e=s(t).data('results'),a=s(t).data('cancel');s('form#add-on-search .spinner').css('visibility','visible');if(n.length<3){s('div.monsterinsights-addon').fadeIn('fast',function(){s('form#add-on-search .spinner').css('visibility','hidden')});return};s('div.monsterinsights-addon').each(function(){if(s('h3.monsterinsights-addon-title',s(this)).text().toLowerCase().search(n)>=0){s(this).fadeIn()}
|
3 |
+
else{s(this).fadeOut()}});s('form#add-on-search .spinner').css('visibility','hidden')});var i=new List('monsterinsights-addons-licensed',{valueNames:['monsterinsights-addon-title']});var n=new List('monsterinsights-addons-unlicensed',{valueNames:['monsterinsights-addon-title']});s('select#monsterinsights-filter-select').on('change',function(){if(typeof i.sort!=='undefined'){i.sort('monsterinsights-addon-title',{order:s(this).val(),})};if(typeof n.sort!=='undefined'){n.sort('monsterinsights-addon-title',{order:s(this).val(),})}});s('#monsterinsights-addons').on('click.refreshInstallAddon','.monsterinsights-addon-action-button',function(t){var n=s(this),i=s('#monsterinsights-addons').find('.monsterinsights-addon-action-button');s.each(i,function(s,t){if(n==t){return!0};a(t)})});s('#monsterinsights-addons').on('click.activateAddon','.monsterinsights-activate-addon',function(t){t.preventDefault();var n=s(this);s('.monsterinsights-addon-error').remove();s(this).html('<i class="monsterinsights-toggle-on"></i> '+monsterinsights_admin.activating);s(this).next().css({'display':'inline-block','margin-top':'0px'});var i=s(this),a=s(this).attr('rel'),e=s(this).parent().parent(),o=s(this).parent().parent().find('.addon-status'),r={url:ajaxurl,type:'post',async:!0,cache:!1,dataType:'json',data:{action:'monsterinsights_activate_addon',nonce:monsterinsights_admin.activate_nonce,plugin:a,isnetwork:monsterinsights_admin.isnetwork},success:function(t){if(t&&!0!==t){s(e).slideDown('normal',function(){s(this).after('<div class="monsterinsights-addon-error"><strong>'+t.error+'</strong></div>');n.next().hide();s('.monsterinsights-addon-error').delay(3000).slideUp()});return};if(monsterinsights_admin.isnetwork){s(i).html('<i class="monsterinsights-toggle-on"></i> '+monsterinsights_admin.networkdeactivate).removeClass('monsterinsights-activate-addon').addClass('monsterinsights-deactivate-addon')}
|
4 |
+
else{s(i).html('<i class="monsterinsights-toggle-on"></i> '+monsterinsights_admin.deactivate).removeClass('monsterinsights-activate-addon').addClass('monsterinsights-deactivate-addon')};s(o).text(monsterinsights_admin.active);var r=s(o),a,d,l;a=r.html().split(/\s+/);d=a.pop();l=a.join(' ');r.html([l,' <span>',d,'</span>'].join(''));s(e).removeClass('monsterinsights-addon-inactive').addClass('monsterinsights-addon-active');n.next().hide()},error:function(s,t,i){n.next().hide();return}};s.ajax(r)});s('#monsterinsights-addons').on('click.deactivateAddon','.monsterinsights-deactivate-addon',function(t){t.preventDefault();var n=s(this);s('.monsterinsights-addon-error').remove();s(this).html('<i class="monsterinsights-toggle-on"></i> '+monsterinsights_admin.deactivating);s(this).next().css({'display':'inline-block','margin-top':'0px'});var i=s(this),a=s(this).attr('rel'),e=s(this).parent().parent(),o=s(this).parent().parent().find('.addon-status'),r={url:ajaxurl,type:'post',async:!0,cache:!1,dataType:'json',data:{action:'monsterinsights_deactivate_addon',nonce:monsterinsights_admin.deactivate_nonce,plugin:a,isnetwork:monsterinsights_admin.isnetwork},success:function(t){if(t&&!0!==t){s(e).slideDown('normal',function(){s(this).after('<div class="monsterinsights-addon-error"><strong>'+t.error+'</strong></div>');n.next().hide();s('.monsterinsights-addon-error').delay(3000).slideUp()});return};if(monsterinsights_admin.isnetwork){s(i).html('<i class="monsterinsights-toggle-on"></i> '+monsterinsights_admin.networkactivate).removeClass('monsterinsights-deactivate-addon').addClass('monsterinsights-activate-addon')}
|
5 |
+
else{s(i).html('<i class="monsterinsights-toggle-on"></i> '+monsterinsights_admin.activate).removeClass('monsterinsights-deactivate-addon').addClass('monsterinsights-activate-addon')};s(o).text(monsterinsights_admin.inactive);var r=s(o),a,d,l;a=r.html().split(/\s+/);d=a.pop();l=a.join(' ');r.html([l,' <span>',d,'</span>'].join(''));s(e).removeClass('monsterinsights-addon-active').addClass('monsterinsights-addon-inactive');n.next().hide()},error:function(s,t,i){n.next().hide();return}};s.ajax(r)});s('#monsterinsights-addons').on('click.installAddon','.monsterinsights-install-addon',function(t){t.preventDefault();var i=s(this);s('.monsterinsights-addon-error').remove();s(this).html('<i class="monsterinsights-cloud-download"></i> '+monsterinsights_admin.installing);s(this).next().css({'display':'inline-block','margin-top':'0px'});var n=s(this),a=s(this).attr('rel'),e=s(this).parent().parent(),o=s(this).parent().parent().find('.addon-status'),r={url:ajaxurl,type:'post',async:!0,cache:!1,dataType:'json',data:{action:'monsterinsights_install_addon',nonce:monsterinsights_admin.install_nonce,plugin:a},success:function(t){if(t.error){s(e).slideDown('normal',function(){s(n).parent().parent().after('<div class="monsterinsights-addon-error"><div class="xinterior"><p><strong>'+t.error+'</strong></p></div></div>');s(n).html('<i class="monsterinsights-cloud-download"></i> '+monsterinsights_admin.install);i.next().hide();s('.monsterinsights-addon-error').delay(4000).slideUp()});return};if(t.form){s(e).slideDown('normal',function(){s(this).after('<div class="monsterinsights-addon-error">'+t.form+'</div>');i.next().hide()});s(n).attr('disabled',!0);s('#monsterinsights-addons').on('click.installCredsAddon','#upgrade',function(t){t.preventDefault();i.next().hide();s(this).html('<i class="monsterinsights-cloud-download"></i> '+monsterinsights_admin.installing);s(this).next().css({'display':'inline-block','margin-top':'0px'});var d=s(this).parent().parent().find('#hostname').val(),l=s(this).parent().parent().find('#username').val(),h=s(this).parent().parent().find('#password').val(),r=s(this),m=s(this).parent().parent().parent().parent(),g={url:ajaxurl,type:'post',async:!0,cache:!1,dataType:'json',data:{action:'monsterinsights_install_addon',nonce:monsterinsights_admin.install_nonce,plugin:a,hostname:d,username:l,password:h},success:function(t){if(t.error){s(e).slideDown('normal',function(){s(n).parent().parent().after('<div class="monsterinsights-addon-error"><strong>'+t.error+'</strong></div>');s(n).html('<i class="monsterinsights-cloud-download"></i> '+monsterinsights_admin.install);i.next().hide();s('.monsterinsights-addon-error').delay(4000).slideUp()});return};if(t.form){i.next().hide();s('.monsterinsights-inline-error').remove();s(r).val(monsterinsights_admin.proceed);s(r).after('<span class="monsterinsights-inline-error">'+monsterinsights_admin.connect_error+'</span>');return};s(m).remove();s(n).show();if(monsterinsights_admin.isnetwork){s(n).text(monsterinsights_admin.networkactivate).removeClass('monsterinsights-install-addon').addClass('monsterinsights-activate-addon')}
|
6 |
+
else{s(n).text(monsterinsights_admin.activate).removeClass('monsterinsights-install-addon').addClass('monsterinsights-activate-addon')};s(n).attr('rel',t.plugin);s(n).removeAttr('disabled');s(o).text(monsterinsights_admin.inactive);var d=s(o),a,l,h;a=d.html().split(/\s+/);l=a.pop();h=a.join(' ');d.html([h,' <span>',l,'</span>'].join(''));s(e).removeClass('monsterinsights-addon-not-installed').addClass('monsterinsights-addon-inactive');i.next().hide()},error:function(s,t,n){i.next().hide();return}};s.ajax(g)});return};if(monsterinsights_admin.isnetwork){s(n).html('<i class="monsterinsights-toggle-on"></i> '+monsterinsights_admin.networkactivate).removeClass('monsterinsights-install-addon').addClass('monsterinsights-activate-addon')}
|
7 |
+
else{s(n).html('<i class="monsterinsights-toggle-on"></i> '+monsterinsights_admin.activate).removeClass('monsterinsights-install-addon').addClass('monsterinsights-activate-addon')};s(n).attr('rel',t.plugin);s(o).text(monsterinsights_admin.inactive);var d=s(o),r,l,h;r=d.html().split(/\s+/);l=r.pop();h=r.join(' ');d.html([h,' <span>',l,'</span>'].join(''));s(e).removeClass('monsterinsights-addon-not-installed').addClass('monsterinsights-addon-inactive');i.next().hide()},error:function(s,t,n){i.next().hide();return}};s.ajax(r)});function a(t){if(s(t).attr('disabled')){s(t).removeAttr('disabled')};if(s(t).parent().parent().hasClass('monsterinsights-addon-not-installed')){s(t).text(monsterinsights_admin.install)}};s(function(){e(!0)});s(window).on('hashchange',function(s){s.preventDefault();e(!1)});function e(t){var e=window.location.hash,o='',h='.monsterinsights-main-nav-container',m='.monsterinsights-main-nav-tabs',r='',i='.monsterinsights-sub-nav-container',d='.monsterinsights-sub-nav-tabs',a='';if(e.indexOf('#')>-1){if(e.indexOf('?')<1){o=e;var n=s(i);if('0' in n&&'firstElementChild' in n[0]&&'hash' in n[0].firstElementChild){r=n[0].firstElementChild.hash;a='#'+(n[0].firstElementChild.hash).split('?')[1]}}
|
8 |
+
else{var l=e.split('?');o=l[0];r=e;a='#'+l[1]};s(h).find('.monsterinsights-active').removeClass('monsterinsights-active');s(m).find('.monsterinsights-active').removeClass('monsterinsights-active');s(i).find('.monsterinsights-active').removeClass('monsterinsights-active');s(d).find('.monsterinsights-active').removeClass('monsterinsights-active');s(h).find('a[href="'+o+'"]').addClass('monsterinsights-active');s(m).find(o).addClass('monsterinsights-active');if(s(i).find('a[href="'+r+'"]').length==1){s(i).find('a[href="'+r+'"]').addClass('monsterinsights-active');s(d).find(a).addClass('monsterinsights-active')}
|
9 |
+
else{var n=s(i);if('0' in n&&'firstElementChild' in n[0]&&'hash' in n[0].firstElementChild){s(i).find('a[href="#'+(n[0].firstElementChild.hash).split('?')[1]+'"]').addClass('monsterinsights-active');s(d).find('#'+(n[0].firstElementChild.hash).split('?')[1]).addClass('monsterinsights-active')}};if(s('.monsterinsights-main-nav-tabs .monsterinsights-main-nav-tab:not(".monsterinsights-active") .monsterinsights-tab-settings-notices .monsterinsights-notice').length>0){s('.monsterinsights-main-nav-tabs .monsterinsights-main-nav-tab:not(".monsterinsights-active") .monsterinsights-tab-settings-notices .monsterinsights-notice').remove()};if(s('.monsterinsights-sub-nav-tabs .monsterinsights-sub-nav-tab:not("'+a+'") .monsterinsights-subtab-settings-notices .monsterinsights-notice').length>0){s('.monsterinsights-sub-nav-tabs .monsterinsights-sub-nav-tab:not("'+a+'") .monsterinsights-subtab-settings-notices .monsterinsights-notice').remove()};if(o!=='#monsterinsights-main-tab-tracking'){if(s('.monsterinsights-sub-nav-tabs .monsterinsights-sub-nav-tab .monsterinsights-subtab-settings-notices .monsterinsights-notice').length>0){s('.monsterinsights-sub-nav-tabs .monsterinsights-sub-nav-tab .monsterinsights-subtab-settings-notices .monsterinsights-notice').remove()}}}}});function monsterinsights_popupwindow(s,t,n){'use strict';var i=(screen.width/2)-(t/2),e=(screen.height/8);monsterinsights_authwindow=window.open(s,'monsterinsights_ga_auth_window','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+t+', height='+n+', top='+e+', left='+i)};function monsterinsights_closepopupwindow(){if(monsterinsights_authwindow){monsterinsights_authwindow.close()}};function monsterinsights_show_manual(){document.getElementById('monsterinsights-google-ua-box').className=''};
|
assets/js/frontend.js
ADDED
@@ -0,0 +1,376 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Developer's Notice:
|
3 |
+
*
|
4 |
+
* Note: JS in this file (and this file itself) is not garunteed backwards compatibility. JS can be added, changed or removed at any time without notice.
|
5 |
+
* For more information see the `Backwards Compatibility Guidelines for Developers` section of the README.md file.
|
6 |
+
*/
|
7 |
+
/**
|
8 |
+
* Handles:
|
9 |
+
* - JS Events handling
|
10 |
+
*
|
11 |
+
* @since 6.0.12
|
12 |
+
*/
|
13 |
+
(function(){
|
14 |
+
// MonsterInsights JS events tracking works on all major browsers, including IE starting at IE 7, via polyfills for any major JS fucntion used that
|
15 |
+
// is not supported by at least 95% of the global and/or US browser marketshare. Currently, IE 7 & 8 which as of 2/14/17 have under 0.25% global marketshare, require
|
16 |
+
// us to polyfill Array.prototype.lastIndexOf, and if they continue to drop, we might remove this polyfill at some point. In that case note that events tracking
|
17 |
+
// for IE 7/8 will continue to work, with the exception of events tracking of downloads.
|
18 |
+
function __gaTrackerClickEventPHP() {
|
19 |
+
var phpvalues = {
|
20 |
+
'is_debug_mode' : monsterinsights_frontend.is_debug_mode,
|
21 |
+
'download_extensions' : monsterinsights_frontend.download_extensions, /* Let's get the extensions to track */
|
22 |
+
'inbound_paths' : monsterinsights_frontend.inbound_paths, /* Let's get the internal paths to track */
|
23 |
+
'home_url' : monsterinsights_frontend.home_url, /* Let's get the url to compare for external/internal use */
|
24 |
+
'track_download_as' : monsterinsights_frontend.track_download_as, /* should downloads be tracked as events or pageviews */
|
25 |
+
'internal_label' : "outbound-link-" + monsterinsights_frontend.internal_label, /* What is the prefix for internal-as-external links */
|
26 |
+
};
|
27 |
+
return phpvalues;
|
28 |
+
}
|
29 |
+
|
30 |
+
function __gaTrackerClickEvent( event ) {
|
31 |
+
var phpvalues = __gaTrackerClickEventPHP();
|
32 |
+
var is_debug_mode = phpvalues.is_debug_mode || window.monsterinsights_debug_mode; /* Console log instead of running? */
|
33 |
+
var el = event.srcElement || event.target;
|
34 |
+
if ( is_debug_mode ) {
|
35 |
+
console.log( "__gaTracker.hasOwnProperty(loaded)" );
|
36 |
+
console.log( __gaTracker.hasOwnProperty( "loaded" ) );
|
37 |
+
console.log( "__gaTracker.loaded" );
|
38 |
+
console.log( __gaTracker.loaded );
|
39 |
+
console.log( "Event.which: " + event.which );
|
40 |
+
console.log( "El: ");
|
41 |
+
console.log( el );
|
42 |
+
console.log( "Will track: " + ! ( ! __gaTracker.hasOwnProperty( "loaded" ) || __gaTracker.loaded != true || ( event.which != 1 && event.which != 2 && !event.metaKey && !event.ctrlKey && !event.shiftKey && !event.altKey ) ) ) ;
|
43 |
+
}
|
44 |
+
|
45 |
+
/* If GA is blocked or not loaded, or not main|middle|touch click then don't track */
|
46 |
+
if ( ! __gaTracker.hasOwnProperty( "loaded" ) || __gaTracker.loaded != true || ( event.which != 1 && event.which != 2 && !event.metaKey && !event.ctrlKey && !event.shiftKey && !event.altKey ) ) {
|
47 |
+
return;
|
48 |
+
}
|
49 |
+
|
50 |
+
/* Loop up the DOM tree through parent elements if clicked element is not a link (eg: an image inside a link) */
|
51 |
+
while ( el && (typeof el.tagName == 'undefined' || el.tagName.toLowerCase() != 'a' || !el.href ) ) {
|
52 |
+
el = el.parentNode;
|
53 |
+
}
|
54 |
+
|
55 |
+
/* if a link with valid href has been clicked */
|
56 |
+
if ( el && el.href ) {
|
57 |
+
/* el is an a element so we can parse it */
|
58 |
+
/* el.href; => "http://example.com:3000/pathname/?search=test#hash" */
|
59 |
+
/* el.protocol; => "http:" */
|
60 |
+
/* el.hostname; => "example.com" */
|
61 |
+
/* el.port; => "3000" */
|
62 |
+
/* el.pathname; => "/pathname/" */
|
63 |
+
/* el.search; => "?search=test" */
|
64 |
+
/* el.hash; => "#hash"
|
65 |
+
/* el.host; => "example.com:3000 */
|
66 |
+
|
67 |
+
var link = el.href;
|
68 |
+
var extension = el.href;
|
69 |
+
var type = 'internal'; /* By default, we assume all links are internal ones, which we don't track by default */
|
70 |
+
var download_extensions = phpvalues.download_extensions; /* Let's get the extensions to track */
|
71 |
+
var inbound_paths = phpvalues.inbound_paths; /* Let's get the internal paths to track */
|
72 |
+
var home_url = phpvalues.home_url; /* Let's get the url to compare for external/internal use */
|
73 |
+
var track_download_as = phpvalues.track_download_as; /* should downloads be tracked as events or pageviews */
|
74 |
+
var internal_label = "outbound-link-" + phpvalues.internal_label; /* What is the prefix for internal-as-external links */
|
75 |
+
|
76 |
+
/* Remove the anchor at the end, if there is one */
|
77 |
+
extension = extension.substring( 0, (extension.indexOf( "#" ) == -1 ) ? extension.length : extension.indexOf( "#" ) );
|
78 |
+
|
79 |
+
/* Remove the query after the file name, if there is one */
|
80 |
+
extension = extension.substring( 0, (extension.indexOf( "?" ) == -1 ) ? extension.length : extension.indexOf( "?" ) );
|
81 |
+
|
82 |
+
/* Remove everything before the last slash in the path */
|
83 |
+
extension = extension.substring( extension.lastIndexOf( "/" ) + 1, extension.length );
|
84 |
+
|
85 |
+
/* Remove everything but what's after the first period */
|
86 |
+
extension = extension.substring( extension.indexOf( "." ) + 1 );
|
87 |
+
|
88 |
+
var currentdomain = (function(){
|
89 |
+
var i=0,currentdomain=document.domain,p=currentdomain.split('.'),s='_gd'+(new Date()).getTime();
|
90 |
+
while(i<(p.length-1) && document.cookie.indexOf(s+'='+s)==-1){
|
91 |
+
currentdomain = p.slice(-1-(++i)).join('.');
|
92 |
+
document.cookie = s+"="+s+";domain="+currentdomain+";";
|
93 |
+
}
|
94 |
+
document.cookie = s+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+currentdomain+";";
|
95 |
+
return currentdomain;
|
96 |
+
})();
|
97 |
+
|
98 |
+
if (typeof String.prototype.endsWith !== 'function') {
|
99 |
+
String.prototype.endsWith = function(suffix) {
|
100 |
+
return this.indexOf(suffix, this.length - suffix.length) !== -1;
|
101 |
+
};
|
102 |
+
}
|
103 |
+
if (typeof String.prototype.startsWith !== 'function') {
|
104 |
+
String.prototype.startsWith = function(prefix) {
|
105 |
+
return this.indexOf(prefix) === 0;
|
106 |
+
};
|
107 |
+
}
|
108 |
+
|
109 |
+
if ( typeof Array.prototype.includes !== 'function') {
|
110 |
+
Object.defineProperty(Array.prototype, 'includes', {
|
111 |
+
value: function(searchElement, fromIndex) {
|
112 |
+
|
113 |
+
// 1. Let O be ? ToObject(this value).
|
114 |
+
if (this == null) {
|
115 |
+
throw new TypeError('"this" is null or not defined');
|
116 |
+
}
|
117 |
+
|
118 |
+
var o = Object(this);
|
119 |
+
|
120 |
+
// 2. Let len be ? ToLength(? Get(O, "length")).
|
121 |
+
var len = o.length >>> 0;
|
122 |
+
|
123 |
+
// 3. If len is 0, return false.
|
124 |
+
if (len === 0) {
|
125 |
+
return false;
|
126 |
+
}
|
127 |
+
|
128 |
+
// 4. Let n be ? ToInteger(fromIndex).
|
129 |
+
// (If fromIndex is undefined, this step produces the value 0.)
|
130 |
+
var n = fromIndex | 0;
|
131 |
+
|
132 |
+
// 5. If n ≥ 0, then
|
133 |
+
// a. Let k be n.
|
134 |
+
// 6. Else n < 0,
|
135 |
+
// a. Let k be len + n.
|
136 |
+
// b. If k < 0, let k be 0.
|
137 |
+
var k = Math.max(n >= 0 ? n : len - Math.abs(n), 0);
|
138 |
+
|
139 |
+
// 7. Repeat, while k < len
|
140 |
+
while (k < len) {
|
141 |
+
// a. Let elementK be the result of ? Get(O, ! ToString(k)).
|
142 |
+
// b. If SameValueZero(searchElement, elementK) is true, return true.
|
143 |
+
// c. Increase k by 1.
|
144 |
+
// NOTE: === provides the correct "SameValueZero" comparison needed here.
|
145 |
+
if (o[k] === searchElement) {
|
146 |
+
return true;
|
147 |
+
}
|
148 |
+
k++;
|
149 |
+
}
|
150 |
+
|
151 |
+
// 8. Return false
|
152 |
+
return false;
|
153 |
+
}
|
154 |
+
});
|
155 |
+
}
|
156 |
+
|
157 |
+
if ( typeof Array.prototype.lastIndexOf !== 'function' ) {
|
158 |
+
Array.prototype.lastIndexOf = function(searchElement /*, fromIndex*/) {
|
159 |
+
'use strict';
|
160 |
+
|
161 |
+
if (this === void 0 || this === null) {
|
162 |
+
throw new TypeError();
|
163 |
+
}
|
164 |
+
|
165 |
+
var n, k,
|
166 |
+
t = Object(this),
|
167 |
+
len = t.length >>> 0;
|
168 |
+
if (len === 0) {
|
169 |
+
return -1;
|
170 |
+
}
|
171 |
+
|
172 |
+
n = len - 1;
|
173 |
+
if (arguments.length > 1) {
|
174 |
+
n = Number(arguments[1]);
|
175 |
+
if (n != n) {
|
176 |
+
n = 0;
|
177 |
+
}
|
178 |
+
else if (n != 0 && n != (1 / 0) && n != -(1 / 0)) {
|
179 |
+
n = (n > 0 || -1) * Math.floor(Math.abs(n));
|
180 |
+
}
|
181 |
+
}
|
182 |
+
|
183 |
+
for (k = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n); k >= 0; k--) {
|
184 |
+
if (k in t && t[k] === searchElement) {
|
185 |
+
return k;
|
186 |
+
}
|
187 |
+
}
|
188 |
+
return -1;
|
189 |
+
};
|
190 |
+
}
|
191 |
+
|
192 |
+
function monsterinsightsStringTrim(x) {
|
193 |
+
return x.replace(/^\s+|\s+$/gm,'');
|
194 |
+
}
|
195 |
+
|
196 |
+
if ( is_debug_mode ) {
|
197 |
+
console.log( "Link: " + link);
|
198 |
+
console.log( "Extension: " + extension );
|
199 |
+
console.log( "Protocol: " + el.protocol );
|
200 |
+
console.log( "External: " + (el.hostname.length > 0 && currentdomain.length > 0 && ! el.hostname.endsWith( currentdomain )) );
|
201 |
+
console.log( "Current domain: " + currentdomain );
|
202 |
+
console.log( "Link domain: " + el.hostname );
|
203 |
+
}
|
204 |
+
|
205 |
+
/* Let's get the type of click event this is */
|
206 |
+
if ( monsterinsightsStringTrim( el.protocol ) == 'mailto' || monsterinsightsStringTrim( el.protocol ) == 'mailto:' ) { /* If it's an email */
|
207 |
+
type = "mailto";
|
208 |
+
} else if ( download_extensions.length > 0 && extension.length > 0 && download_extensions.includes(extension) ) { /* If it's a download */
|
209 |
+
type = "download";
|
210 |
+
} else if ( el.hostname.length > 0 && currentdomain.length > 0 && ! el.hostname.endsWith( currentdomain ) ) { /* If it's a outbound */
|
211 |
+
type = "external";
|
212 |
+
} else {
|
213 |
+
var index, len;
|
214 |
+
var pathname = el.pathname;
|
215 |
+
for ( index = 0, len = inbound_paths.length; index < len; ++index ) {
|
216 |
+
if ( pathname.startsWith( inbound_paths[ index ] ) ) {
|
217 |
+
type = "internal-as-outbound";
|
218 |
+
break;
|
219 |
+
}
|
220 |
+
}
|
221 |
+
}
|
222 |
+
|
223 |
+
if ( is_debug_mode ) {
|
224 |
+
console.log( "Type: " + type );
|
225 |
+
}
|
226 |
+
|
227 |
+
/* Let's track everything but internals (that aren't internal-as-externals) */
|
228 |
+
if ( type !== 'internal' && ! link.match( /^javascript\:/i ) ) {
|
229 |
+
|
230 |
+
/* Is actual target set and not _(self|parent|top)? */
|
231 |
+
var target = ( el.target && !el.target.match( /^_(self|parent|top)$/i ) ) ? el.target : false;
|
232 |
+
|
233 |
+
/* Assume a target if Ctrl|shift|meta-click */
|
234 |
+
if ( event.ctrlKey || event.shiftKey || event.metaKey || event.which == 2 ) {
|
235 |
+
target = "_blank";
|
236 |
+
}
|
237 |
+
|
238 |
+
if ( is_debug_mode ) {
|
239 |
+
console.log( "Control Key: " + event.ctrlKey );
|
240 |
+
console.log( "Shift Key: " + event.shiftKey );
|
241 |
+
console.log( "Meta Key: " + event.metaKey );
|
242 |
+
console.log( "Which Key: " + event.which );
|
243 |
+
console.log( "Target: " + target );
|
244 |
+
}
|
245 |
+
|
246 |
+
var __gaTrackerHitBackRun = false; /* Tracker has not yet run */
|
247 |
+
|
248 |
+
/* HitCallback to open link in same window after tracker */
|
249 |
+
var __gaTrackerHitBack = function() {
|
250 |
+
/* Run the hitback only once */
|
251 |
+
if ( __gaTrackerHitBackRun ){
|
252 |
+
return;
|
253 |
+
}
|
254 |
+
__gaTrackerHitBackRun = true;
|
255 |
+
window.location.href = link;
|
256 |
+
};
|
257 |
+
|
258 |
+
if ( target ) { /* If target opens a new window then just track */
|
259 |
+
if ( type == 'download' ) {
|
260 |
+
if ( track_download_as == 'pageview' ) {
|
261 |
+
if ( ! is_debug_mode ) {
|
262 |
+
__gaTracker( 'send', 'pageview', link );
|
263 |
+
} else {
|
264 |
+
console.log( "Target | Download | Send | Pageview | " + link );
|
265 |
+
}
|
266 |
+
} else {
|
267 |
+
if ( ! is_debug_mode ) {
|
268 |
+
__gaTracker( 'send', 'event', 'download', link );
|
269 |
+
} else {
|
270 |
+
console.log( "Target | Download | Send | Event | " + link );
|
271 |
+
}
|
272 |
+
}
|
273 |
+
} else if ( type == 'mailto' ) {
|
274 |
+
if ( ! is_debug_mode ) {
|
275 |
+
__gaTracker( 'send', 'event', 'mailto', link );
|
276 |
+
} else {
|
277 |
+
console.log( "Target | Mailto | Send | Event | Mailto | " + link );
|
278 |
+
}
|
279 |
+
|
280 |
+
} else if ( type == 'internal-as-outbound' ) {
|
281 |
+
if ( ! is_debug_mode ) {
|
282 |
+
__gaTracker( 'send', 'event', internal_label, link, el.title );
|
283 |
+
} else {
|
284 |
+
console.log( "Target | Internal-As-Outbound | Send | event | " + internal_label + " | " + link + " | " + el.title );
|
285 |
+
}
|
286 |
+
|
287 |
+
} else if ( type == 'external' ) {
|
288 |
+
if ( ! is_debug_mode ) {
|
289 |
+
__gaTracker( 'send', 'event', 'outbound-link', link, el.title );
|
290 |
+
} else {
|
291 |
+
console.log( "Target | External | Send | 'outbound-link' | " + link + " | " + el.title );
|
292 |
+
}
|
293 |
+
|
294 |
+
} else {
|
295 |
+
if ( is_debug_mode ) {
|
296 |
+
console.log( "Target | " + type + " | " + link + " is not a tracked click." );
|
297 |
+
}
|
298 |
+
}
|
299 |
+
|
300 |
+
if ( is_debug_mode ) {
|
301 |
+
return false;
|
302 |
+
}
|
303 |
+
} else { /* Prevent standard click, track then open */
|
304 |
+
if (!event.defaultPrevented) {
|
305 |
+
event.preventDefault ? event.preventDefault() : event.returnValue = !1;
|
306 |
+
}
|
307 |
+
|
308 |
+
if ( type == 'download' ) {
|
309 |
+
if ( track_download_as == 'pageview' ) {
|
310 |
+
if ( ! is_debug_mode ) {
|
311 |
+
__gaTracker( 'send', 'pageview', link, { "hitCallback": __gaTrackerHitBack } );
|
312 |
+
} else {
|
313 |
+
console.log( "Not Target | Download | Send | Pageview | " + link );
|
314 |
+
}
|
315 |
+
} else {
|
316 |
+
if ( ! is_debug_mode ) {
|
317 |
+
__gaTracker( 'send', 'event', 'download',{ "hitCallback": __gaTrackerHitBack } );
|
318 |
+
} else {
|
319 |
+
console.log( "Not Target | Download | Send | Event | " + link );
|
320 |
+
}
|
321 |
+
}
|
322 |
+
|
323 |
+
} else if ( type == 'mailto' ) {
|
324 |
+
if ( ! is_debug_mode ) {
|
325 |
+
__gaTracker( 'send', 'event', 'mailto', link, { "hitCallback": __gaTrackerHitBack } );
|
326 |
+
} else {
|
327 |
+
console.log( "Not Target | Mailto | Send | Event | Mailto | " + link );
|
328 |
+
}
|
329 |
+
|
330 |
+
} else if ( type == 'internal-as-outbound' ) {
|
331 |
+
window.onbeforeunload = function(e) {
|
332 |
+
if ( ! is_debug_mode ) {
|
333 |
+
if ( ! navigator.sendBeacon ) {
|
334 |
+
__gaTracker( 'send', 'event', internal_label, link, el.title, { "hitCallback": __gaTrackerHitBack } );
|
335 |
+
} else {
|
336 |
+
__gaTracker( 'send', 'event', internal_label, link, el.title, { transport: 'beacon' } );
|
337 |
+
}
|
338 |
+
} else {
|
339 |
+
console.log( "Not Target | Internal-As-Outbound | Send | event | " + internal_label + " | " + link + " | " + el.title );
|
340 |
+
}
|
341 |
+
};
|
342 |
+
} else if ( type == 'external' ) {
|
343 |
+
window.onbeforeunload = function(e) {
|
344 |
+
if ( ! is_debug_mode ) {
|
345 |
+
if ( ! navigator.sendBeacon ) {
|
346 |
+
__gaTracker( 'send', 'event', 'outbound-link', link, el.title, { "hitCallback": __gaTrackerHitBack } )
|
347 |
+
} else {
|
348 |
+
__gaTracker( 'send', 'event', 'outbound-link', link, el.title, { transport: 'beacon' } )
|
349 |
+
}
|
350 |
+
} else {
|
351 |
+
console.log( "Not Target | External | Send | 'outbound-link' | " + link + " | " + el.title );
|
352 |
+
}
|
353 |
+
};
|
354 |
+
} else {
|
355 |
+
if ( is_debug_mode ) {
|
356 |
+
console.log( "Not Target | " + type + " | " + link + " is not a tracked click." );
|
357 |
+
}
|
358 |
+
}
|
359 |
+
|
360 |
+
if ( is_debug_mode ) {
|
361 |
+
return false;
|
362 |
+
}
|
363 |
+
|
364 |
+
/* Run hitCallback again if GA takes longer than 1 second */
|
365 |
+
setTimeout( __gaTrackerHitBack, 1000 );
|
366 |
+
}
|
367 |
+
}
|
368 |
+
}
|
369 |
+
}
|
370 |
+
|
371 |
+
var __gaTrackerWindow = window;
|
372 |
+
var __gaTrackerEventType = "click";
|
373 |
+
/* Attach the event to all clicks in the document after page has loaded */
|
374 |
+
__gaTrackerWindow.addEventListener ? __gaTrackerWindow.addEventListener( "load", function() {document.body.addEventListener(__gaTrackerEventType, __gaTrackerClickEvent, false)}, false)
|
375 |
+
: __gaTrackerWindow.attachEvent && __gaTrackerWindow.attachEvent("onload", function() {document.body.attachEvent( "on" + __gaTrackerEventType, __gaTrackerClickEvent)});
|
376 |
+
})();
|
assets/js/frontend.min.js
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function(){function o(){var e={"is_debug_mode":monsterinsights_frontend.is_debug_mode,"download_extensions":monsterinsights_frontend.download_extensions,"inbound_paths":monsterinsights_frontend.inbound_paths,"home_url":monsterinsights_frontend.home_url,"track_download_as":monsterinsights_frontend.track_download_as,"internal_label":"outbound-link-"+monsterinsights_frontend.internal_label,};return e};function t(e){var s=o(),l=s.is_debug_mode||window.monsterinsights_debug_mode,n=e.srcElement||e.target;if(l){console.log("__gaTracker.hasOwnProperty(loaded)");console.log(__gaTracker.hasOwnProperty("loaded"));console.log("__gaTracker.loaded");console.log(__gaTracker.loaded);console.log("Event.which: "+e.which);console.log("El: ");console.log(n);console.log("Will track: "+!(!__gaTracker.hasOwnProperty("loaded")||__gaTracker.loaded!=!0||(e.which!=1&&e.which!=2&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey)))};if(!__gaTracker.hasOwnProperty("loaded")||__gaTracker.loaded!=!0||(e.which!=1&&e.which!=2&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey)){return}
|
2 |
+
while(n&&(typeof n.tagName=="undefined"||n.tagName.toLowerCase()!="a"||!n.href)){n=n.parentNode};if(n&&n.href){var t=n.href,a=n.href,i="internal",m=s.download_extensions,w=s.inbound_paths,b=s.home_url,p=s.track_download_as,c="outbound-link-"+s.internal_label;a=a.substring(0,(a.indexOf("#")==-1)?a.length:a.indexOf("#"));a=a.substring(0,(a.indexOf("?")==-1)?a.length:a.indexOf("?"));a=a.substring(a.lastIndexOf("/")+1,a.length);a=a.substring(a.indexOf(".")+1);var d=(function(){var t=0,e=document.domain,o=e.split("."),n="_gd"+(new Date()).getTime();while(t<(o.length-1)&&document.cookie.indexOf(n+"="+n)==-1){e=o.slice(-1-(++t)).join(".");document.cookie=n+"="+n+";domain="+e+";"};document.cookie=n+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+e+";";return e})();if(typeof String.prototype.endsWith!=="function"){String.prototype.endsWith=function(e){return this.indexOf(e,this.length-e.length)!==-1}};if(typeof String.prototype.startsWith!=="function"){String.prototype.startsWith=function(e){return this.indexOf(e)===0}};if(typeof Array.prototype.includes!=="function"){Object.defineProperty(Array.prototype,"includes",{value:function(e,l){if(this==null){throw new TypeError("\"this\" is null or not defined")};var a=Object(this),o=a.length>>>0;if(o===0){return!1};var n=l|0,t=Math.max(n>=0?n:o-Math.abs(n),0);while(t<o){if(a[t]===e){return!0};t++};return!1}})};if(typeof Array.prototype.lastIndexOf!=="function"){Array.prototype.lastIndexOf=function(n){"use strict";if(this===void 0||this===null){throw new TypeError()};var e,t,a=Object(this),o=a.length>>>0;if(o===0){return-1};e=o-1;if(arguments.length>1){e=Number(arguments[1]);if(e!=e){e=0}
|
3 |
+
else if(e!=0&&e!=(1/0)&&e!=-(1/0)){e=(e>0||-1)*Math.floor(Math.abs(e))}};for(t=e>=0?Math.min(e,o-1):o-Math.abs(e);t>=0;t--){if(t in a&&a[t]===n){return t}};return-1}};function v(e){return e.replace(/^\s+|\s+$/gm,"")};if(l){console.log("Link: "+t);console.log("Extension: "+a);console.log("Protocol: "+n.protocol);console.log("External: "+(n.hostname.length>0&&d.length>0&&!n.hostname.endsWith(d)));console.log("Current domain: "+d);console.log("Link domain: "+n.hostname)};if(v(n.protocol)=="mailto"||v(n.protocol)=="mailto:"){i="mailto"}
|
4 |
+
else if(m.length>0&&a.length>0&&m.includes(a)){i="download"}
|
5 |
+
else if(n.hostname.length>0&&d.length>0&&!n.hostname.endsWith(d)){i="external"}
|
6 |
+
else{var g,u,k=n.pathname;for(g=0,u=w.length;g<u;++g){if(k.startsWith(w[g])){i="internal-as-outbound";break}}};if(l){console.log("Type: "+i)};if(i!=="internal"&&!t.match(/^javascript\:/i)){var f=(n.target&&!n.target.match(/^_(self|parent|top)$/i))?n.target:!1;if(e.ctrlKey||e.shiftKey||e.metaKey||e.which==2){f="_blank"};if(l){console.log("Control Key: "+e.ctrlKey);console.log("Shift Key: "+e.shiftKey);console.log("Meta Key: "+e.metaKey);console.log("Which Key: "+e.which);console.log("Target: "+f)};var h=!1,r=function(){if(h){return};h=!0;window.location.href=t};if(f){if(i=="download"){if(p=="pageview"){if(!l){__gaTracker("send","pageview",t)}
|
7 |
+
else{console.log("Target | Download | Send | Pageview | "+t)}}
|
8 |
+
else{if(!l){__gaTracker("send","event","download",t)}
|
9 |
+
else{console.log("Target | Download | Send | Event | "+t)}}}
|
10 |
+
else if(i=="mailto"){if(!l){__gaTracker("send","event","mailto",t)}
|
11 |
+
else{console.log("Target | Mailto | Send | Event | Mailto | "+t)}}
|
12 |
+
else if(i=="internal-as-outbound"){if(!l){__gaTracker("send","event",c,t,n.title)}
|
13 |
+
else{console.log("Target | Internal-As-Outbound | Send | event | "+c+" | "+t+" | "+n.title)}}
|
14 |
+
else if(i=="external"){if(!l){__gaTracker("send","event","outbound-link",t,n.title)}
|
15 |
+
else{console.log("Target | External | Send | 'outbound-link' | "+t+" | "+n.title)}}
|
16 |
+
else{if(l){console.log("Target | "+i+" | "+t+" is not a tracked click.")}};if(l){return!1}}
|
17 |
+
else{if(!e.defaultPrevented){e.preventDefault?e.preventDefault():e.returnValue=!1};if(i=="download"){if(p=="pageview"){if(!l){__gaTracker("send","pageview",t,{"hitCallback":r})}
|
18 |
+
else{console.log("Not Target | Download | Send | Pageview | "+t)}}
|
19 |
+
else{if(!l){__gaTracker("send","event","download",{"hitCallback":r})}
|
20 |
+
else{console.log("Not Target | Download | Send | Event | "+t)}}}
|
21 |
+
else if(i=="mailto"){if(!l){__gaTracker("send","event","mailto",t,{"hitCallback":r})}
|
22 |
+
else{console.log("Not Target | Mailto | Send | Event | Mailto | "+t)}}
|
23 |
+
else if(i=="internal-as-outbound"){window.onbeforeunload=function(e){if(!l){if(!navigator.sendBeacon){__gaTracker("send","event",c,t,n.title,{"hitCallback":r})}
|
24 |
+
else{__gaTracker("send","event",c,t,n.title,{transport:"beacon"})}}
|
25 |
+
else{console.log("Not Target | Internal-As-Outbound | Send | event | "+c+" | "+t+" | "+n.title)}}}
|
26 |
+
else if(i=="external"){window.onbeforeunload=function(e){if(!l){if(!navigator.sendBeacon){__gaTracker("send","event","outbound-link",t,n.title,{"hitCallback":r})}
|
27 |
+
else{__gaTracker("send","event","outbound-link",t,n.title,{transport:"beacon"})}}
|
28 |
+
else{console.log("Not Target | External | Send | 'outbound-link' | "+t+" | "+n.title)}}}
|
29 |
+
else{if(l){console.log("Not Target | "+i+" | "+t+" is not a tracked click.")}};if(l){return!1};setTimeout(r,1000)}}}};var e=window,n="click";e.addEventListener?e.addEventListener("load",function(){document.body.addEventListener(n,t,!1)},!1):e.attachEvent&&e.attachEvent("onload",function(){document.body.attachEvent("on"+n,t)})})();
|
assets/js/select2/i18n/ar.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ar",[],function(){return{errorLoading:function(){return"لا يمكن تحميل النتائج"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="الرجاء حذف "+t+" عناصر";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="الرجاء إضافة "+t+" عناصر";return n},loadingMore:function(){return"جاري تحميل نتائج إضافية..."},maximumSelected:function(e){var t="تستطيع إختيار "+e.maximum+" بنود فقط";return t},noResults:function(){return"لم يتم العثور على أي نتائج"},searching:function(){return"جاري البحث…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/az.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/az",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return t+" simvol silin"},inputTooShort:function(e){var t=e.minimum-e.input.length;return t+" simvol daxil edin"},loadingMore:function(){return"Daha çox nəticə yüklənir…"},maximumSelected:function(e){return"Sadəcə "+e.maximum+" element seçə bilərsiniz"},noResults:function(){return"Nəticə tapılmadı"},searching:function(){return"Axtarılır…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/bg.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/bg",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Моля въведете с "+t+" по-малко символ";return t>1&&(n+="a"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Моля въведете още "+t+" символ";return t>1&&(n+="a"),n},loadingMore:function(){return"Зареждат се още…"},maximumSelected:function(e){var t="Можете да направите до "+e.maximum+" ";return e.maximum>1?t+="избора":t+="избор",t},noResults:function(){return"Няма намерени съвпадения"},searching:function(){return"Търсене…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/ca.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ca",[],function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Si us plau, elimina "+t+" car";return t==1?n+="àcter":n+="àcters",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Si us plau, introdueix "+t+" car";return t==1?n+="àcter":n+="àcters",n},loadingMore:function(){return"Carregant més resultats…"},maximumSelected:function(e){var t="Només es pot seleccionar "+e.maximum+" element";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No s'han trobat resultats"},searching:function(){return"Cercant…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/cs.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/cs",[],function(){function e(e,t){switch(e){case 2:return t?"dva":"dvě";case 3:return"tři";case 4:return"čtyři"}return""}return{errorLoading:function(){return"Výsledky nemohly být načteny."},inputTooLong:function(t){var n=t.input.length-t.maximum;return n==1?"Prosím zadejte o jeden znak méně":n<=4?"Prosím zadejte o "+e(n,!0)+" znaky méně":"Prosím zadejte o "+n+" znaků méně"},inputTooShort:function(t){var n=t.minimum-t.input.length;return n==1?"Prosím zadejte ještě jeden znak":n<=4?"Prosím zadejte ještě další "+e(n,!0)+" znaky":"Prosím zadejte ještě dalších "+n+" znaků"},loadingMore:function(){return"Načítají se další výsledky…"},maximumSelected:function(t){var n=t.maximum;return n==1?"Můžete zvolit jen jednu položku":n<=4?"Můžete zvolit maximálně "+e(n,!1)+" položky":"Můžete zvolit maximálně "+n+" položek"},noResults:function(){return"Nenalezeny žádné položky"},searching:function(){return"Vyhledávání…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/da.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/da",[],function(){return{errorLoading:function(){return"Resultaterne kunne ikke indlæses."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Angiv venligst "+t+" tegn mindre";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Angiv venligst "+t+" tegn mere";return n},loadingMore:function(){return"Indlæser flere resultater…"},maximumSelected:function(e){var t="Du kan kun vælge "+e.maximum+" emne";return e.maximum!=1&&(t+="r"),t},noResults:function(){return"Ingen resultater fundet"},searching:function(){return"Søger…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/de.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/de",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Bitte "+t+" Zeichen weniger eingeben"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Bitte "+t+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisse…"},maximumSelected:function(e){var t="Sie können nur "+e.maximum+" Eintr";return e.maximum===1?t+="ag":t+="äge",t+=" auswählen",t},noResults:function(){return"Keine Übereinstimmungen gefunden"},searching:function(){return"Suche…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/el.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/el",[],function(){return{errorLoading:function(){return"Τα αποτελέσματα δεν μπόρεσαν να φορτώσουν."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Παρακαλώ διαγράψτε "+t+" χαρακτήρ";return t==1&&(n+="α"),t!=1&&(n+="ες"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Παρακαλώ συμπληρώστε "+t+" ή περισσότερους χαρακτήρες";return n},loadingMore:function(){return"Φόρτωση περισσότερων αποτελεσμάτων…"},maximumSelected:function(e){var t="Μπορείτε να επιλέξετε μόνο "+e.maximum+" επιλογ";return e.maximum==1&&(t+="ή"),e.maximum!=1&&(t+="ές"),t},noResults:function(){return"Δεν βρέθηκαν αποτελέσματα"},searching:function(){return"Αναζήτηση…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/en.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Please enter "+t+" or more characters";return n},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/es.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/es",[],function(){return{errorLoading:function(){return"La carga falló"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Por favor, elimine "+t+" car";return t==1?n+="ácter":n+="acteres",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Por favor, introduzca "+t+" car";return t==1?n+="ácter":n+="acteres",n},loadingMore:function(){return"Cargando más resultados…"},maximumSelected:function(e){var t="Sólo puede seleccionar "+e.maximum+" elemento";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No se encontraron resultados"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/et.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/et",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" vähem",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" rohkem",n},loadingMore:function(){return"Laen tulemusi…"},maximumSelected:function(e){var t="Saad vaid "+e.maximum+" tulemus";return e.maximum==1?t+="e":t+="t",t+=" valida",t},noResults:function(){return"Tulemused puuduvad"},searching:function(){return"Otsin…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/eu.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/eu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Idatzi ";return t==1?n+="karaktere bat":n+=t+" karaktere",n+=" gutxiago",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Idatzi ";return t==1?n+="karaktere bat":n+=t+" karaktere",n+=" gehiago",n},loadingMore:function(){return"Emaitza gehiago kargatzen…"},maximumSelected:function(e){return e.maximum===1?"Elementu bakarra hauta dezakezu":e.maximum+" elementu hauta ditzakezu soilik"},noResults:function(){return"Ez da bat datorrenik aurkitu"},searching:function(){return"Bilatzen…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/fa.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fa",[],function(){return{errorLoading:function(){return"امکان بارگذاری نتایج وجود ندارد."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="لطفاً "+t+" کاراکتر را حذف نمایید";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="لطفاً تعداد "+t+" کاراکتر یا بیشتر وارد نمایید";return n},loadingMore:function(){return"در حال بارگذاری نتایج بیشتر..."},maximumSelected:function(e){var t="شما تنها میتوانید "+e.maximum+" آیتم را انتخاب نمایید";return t},noResults:function(){return"هیچ نتیجهای یافت نشد"},searching:function(){return"در حال جستجو..."}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/fi.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Ole hyvä ja anna "+t+" merkkiä vähemmän"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Ole hyvä ja anna "+t+" merkkiä lisää"},loadingMore:function(){return"Ladataan lisää tuloksia…"},maximumSelected:function(e){return"Voit valita ainoastaan "+e.maximum+" kpl"},noResults:function(){return"Ei tuloksia"},searching:function(){}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/fr.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fr",[],function(){return{errorLoading:function(){return"Les résultats ne peuvent pas être chargés."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Supprimez "+t+" caractère";return t!==1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Saisissez "+t+" caractère";return t!==1&&(n+="s"),n},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelected:function(e){var t="Vous pouvez seulement sélectionner "+e.maximum+" élément";return e.maximum!==1&&(t+="s"),t},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/gl.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/gl",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Elimine ";return t===1?n+="un carácter":n+=t+" caracteres",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Engada ";return t===1?n+="un carácter":n+=t+" caracteres",n},loadingMore:function(){return"Cargando máis resultados…"},maximumSelected:function(e){var t="Só pode ";return e.maximum===1?t+="un elemento":t+=e.maximum+" elementos",t},noResults:function(){return"Non se atoparon resultados"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/he.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/he",[],function(){return{errorLoading:function(){return"שגיאה בטעינת התוצאות"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="נא למחוק ";return t===1?n+="תו אחד":n+=t+" תווים",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="נא להכניס ";return t===1?n+="תו אחד":n+=t+" תווים",n+=" או יותר",n},loadingMore:function(){return"טוען תוצאות נוספות…"},maximumSelected:function(e){var t="באפשרותך לבחור עד ";return e.maximum===1?t+="פריט אחד":t+=e.maximum+" פריטים",t},noResults:function(){return"לא נמצאו תוצאות"},searching:function(){return"מחפש…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/hi.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hi",[],function(){return{errorLoading:function(){return"परिणामों को लोड नहीं किया जा सका।"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" अक्षर को हटा दें";return t>1&&(n=t+" अक्षरों को हटा दें "),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="कृपया "+t+" या अधिक अक्षर दर्ज करें";return n},loadingMore:function(){return"अधिक परिणाम लोड हो रहे है..."},maximumSelected:function(e){var t="आप केवल "+e.maximum+" आइटम का चयन कर सकते हैं";return t},noResults:function(){return"कोई परिणाम नहीं मिला"},searching:function(){return"खोज रहा है..."}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/hr.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hr",[],function(){function e(e){var t=" "+e+" znak";return e%10<5&&e%10>0&&(e%100<5||e%100>19)?e%10>1&&(t+="a"):t+="ova",t}return{errorLoading:function(){return"Preuzimanje nije uspjelo."},inputTooLong:function(t){var n=t.input.length-t.maximum;return"Unesite "+e(n)},inputTooShort:function(t){var n=t.minimum-t.input.length;return"Unesite još "+e(n)},loadingMore:function(){return"Učitavanje rezultata…"},maximumSelected:function(e){return"Maksimalan broj odabranih stavki je "+e.maximum},noResults:function(){return"Nema rezultata"},searching:function(){return"Pretraga…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/hu.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Túl hosszú. "+t+" karakterrel több, mint kellene."},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Túl rövid. Még "+t+" karakter hiányzik."},loadingMore:function(){return"Töltés…"},maximumSelected:function(e){return"Csak "+e.maximum+" elemet lehet kiválasztani."},noResults:function(){return"Nincs találat."},searching:function(){return"Keresés…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/id.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/id",[],function(){return{errorLoading:function(){return"Data tidak boleh diambil."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Hapuskan "+t+" huruf"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Masukkan "+t+" huruf lagi"},loadingMore:function(){return"Mengambil data…"},maximumSelected:function(e){return"Anda hanya dapat memilih "+e.maximum+" pilihan"},noResults:function(){return"Tidak ada data yang sesuai"},searching:function(){return"Mencari…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/is.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/is",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vinsamlegast styttið texta um "+t+" staf";return t<=1?n:n+"i"},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vinsamlegast skrifið "+t+" staf";return t>1&&(n+="i"),n+=" í viðbót",n},loadingMore:function(){return"Sæki fleiri niðurstöður…"},maximumSelected:function(e){return"Þú getur aðeins valið "+e.maximum+" atriði"},noResults:function(){return"Ekkert fannst"},searching:function(){return"Leita…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/it.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/it",[],function(){return{errorLoading:function(){return"I risultati non possono essere caricati."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Per favore cancella "+t+" caratter";return t!==1?n+="i":n+="e",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Per favore inserisci "+t+" o più caratteri";return n},loadingMore:function(){return"Caricando più risultati…"},maximumSelected:function(e){var t="Puoi selezionare solo "+e.maximum+" element";return e.maximum!==1?t+="i":t+="o",t},noResults:function(){return"Nessun risultato trovato"},searching:function(){return"Sto cercando…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/ja.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ja",[],function(){return{errorLoading:function(){return"結果が読み込まれませんでした"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" 文字を削除してください";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="少なくとも "+t+" 文字を入力してください";return n},loadingMore:function(){return"読み込み中…"},maximumSelected:function(e){var t=e.maximum+" 件しか選択できません";return t},noResults:function(){return"対象が見つかりません"},searching:function(){return"検索しています…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/km.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/km",[],function(){return{errorLoading:function(){return"មិនអាចទាញយកទិន្នន័យ"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="សូមលុបចេញ "+t+" អក្សរ";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="សូមបញ្ចូល"+t+" អក្សរ រឺ ច្រើនជាងនេះ";return n},loadingMore:function(){return"កំពុងទាញយកទិន្នន័យបន្ថែម..."},maximumSelected:function(e){var t="អ្នកអាចជ្រើសរើសបានតែ "+e.maximum+" ជម្រើសប៉ុណ្ណោះ";return t},noResults:function(){return"មិនមានលទ្ធផល"},searching:function(){return"កំពុងស្វែងរក..."}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/ko.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ko",[],function(){return{errorLoading:function(){return"결과를 불러올 수 없습니다."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="너무 깁니다. "+t+" 글자 지워주세요.";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="너무 짧습니다. "+t+" 글자 더 입력해주세요.";return n},loadingMore:function(){return"불러오는 중…"},maximumSelected:function(e){var t="최대 "+e.maximum+"개까지만 선택 가능합니다.";return t},noResults:function(){return"결과가 없습니다."},searching:function(){return"검색 중…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/lt.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/lt",[],function(){function e(e,t,n,r){return e%10===1&&(e%100<11||e%100>19)?t:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?n:r}return{inputTooLong:function(t){var n=t.input.length-t.maximum,r="Pašalinkite "+n+" simbol";return r+=e(n,"į","ius","ių"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Įrašykite dar "+n+" simbol";return r+=e(n,"į","ius","ių"),r},loadingMore:function(){return"Kraunama daugiau rezultatų…"},maximumSelected:function(t){var n="Jūs galite pasirinkti tik "+t.maximum+" element";return n+=e(t.maximum,"ą","us","ų"),n},noResults:function(){return"Atitikmenų nerasta"},searching:function(){return"Ieškoma…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/lv.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/lv",[],function(){function e(e,t,n,r){return e===11?t:e%10===1?n:r}return{inputTooLong:function(t){var n=t.input.length-t.maximum,r="Lūdzu ievadiet par "+n;return r+=" simbol"+e(n,"iem","u","iem"),r+" mazāk"},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Lūdzu ievadiet vēl "+n;return r+=" simbol"+e(n,"us","u","us"),r},loadingMore:function(){return"Datu ielāde…"},maximumSelected:function(t){var n="Jūs varat izvēlēties ne vairāk kā "+t.maximum;return n+=" element"+e(t.maximum,"us","u","us"),n},noResults:function(){return"Sakritību nav"},searching:function(){return"Meklēšana…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/mk.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/mk",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Ве молиме внесете "+e.maximum+" помалку карактер";return e.maximum!==1&&(n+="и"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Ве молиме внесете уште "+e.maximum+" карактер";return e.maximum!==1&&(n+="и"),n},loadingMore:function(){return"Вчитување резултати…"},maximumSelected:function(e){var t="Можете да изберете само "+e.maximum+" ставк";return e.maximum===1?t+="а":t+="и",t},noResults:function(){return"Нема пронајдено совпаѓања"},searching:function(){return"Пребарување…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/ms.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ms",[],function(){return{errorLoading:function(){return"Keputusan tidak berjaya dimuatkan."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Sila hapuskan "+t+" aksara"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Sila masukkan "+t+" atau lebih aksara"},loadingMore:function(){return"Sedang memuatkan keputusan…"},maximumSelected:function(e){return"Anda hanya boleh memilih "+e.maximum+" pilihan"},noResults:function(){return"Tiada padanan yang ditemui"},searching:function(){return"Mencari…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/nb.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/nb",[],function(){return{errorLoading:function(){return"Kunne ikke hente resultater."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Vennligst fjern "+t+" tegn"},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vennligst skriv inn ";return t>1?n+=" flere tegn":n+=" tegn til",n},loadingMore:function(){return"Laster flere resultater…"},maximumSelected:function(e){return"Du kan velge maks "+e.maximum+" elementer"},noResults:function(){return"Ingen treff"},searching:function(){return"Søker…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/nl.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/nl",[],function(){return{errorLoading:function(){return"De resultaten konden niet worden geladen."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Gelieve "+t+" karakters te verwijderen";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Gelieve "+t+" of meer karakters in te voeren";return n},loadingMore:function(){return"Meer resultaten laden…"},maximumSelected:function(e){var t=e.maximum==1?"kan":"kunnen",n="Er "+t+" maar "+e.maximum+" item";return e.maximum!=1&&(n+="s"),n+=" worden geselecteerd",n},noResults:function(){return"Geen resultaten gevonden…"},searching:function(){return"Zoeken…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/pl.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pl",[],function(){var e=["znak","znaki","znaków"],t=["element","elementy","elementów"],n=function(t,n){if(t===1)return n[0];if(t>1&&t<=4)return n[1];if(t>=5)return n[2]};return{errorLoading:function(){return"Nie można załadować wyników."},inputTooLong:function(t){var r=t.input.length-t.maximum;return"Usuń "+r+" "+n(r,e)},inputTooShort:function(t){var r=t.minimum-t.input.length;return"Podaj przynajmniej "+r+" "+n(r,e)},loadingMore:function(){return"Trwa ładowanie…"},maximumSelected:function(e){return"Możesz zaznaczyć tylko "+e.maximum+" "+n(e.maximum,t)},noResults:function(){return"Brak wyników"},searching:function(){return"Trwa wyszukiwanie…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/pt-BR.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pt-BR",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Apague "+t+" caracter";return t!=1&&(n+="es"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Digite "+t+" ou mais caracteres";return n},loadingMore:function(){return"Carregando mais resultados…"},maximumSelected:function(e){var t="Você só pode selecionar "+e.maximum+" ite";return e.maximum==1?t+="m":t+="ns",t},noResults:function(){return"Nenhum resultado encontrado"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/pt.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pt",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Por favor apague "+t+" ";return n+=t!=1?"caracteres":"carácter",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Introduza "+t+" ou mais caracteres";return n},loadingMore:function(){return"A carregar mais resultados…"},maximumSelected:function(e){var t="Apenas pode seleccionar "+e.maximum+" ";return t+=e.maximum!=1?"itens":"item",t},noResults:function(){return"Sem resultados"},searching:function(){return"A procurar…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/ro.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ro",[],function(){return{errorLoading:function(){return"Rezultatele nu au putut fi incărcate."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vă rugăm să ștergeți"+t+" caracter";return t!==1&&(n+="e"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vă rugăm să introduceți "+t+"sau mai multe caractere";return n},loadingMore:function(){return"Se încarcă mai multe rezultate…"},maximumSelected:function(e){var t="Aveți voie să selectați cel mult "+e.maximum;return t+=" element",e.maximum!==1&&(t+="e"),t},noResults:function(){return"Nu au fost găsite rezultate"},searching:function(){return"Căutare…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/ru.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ru",[],function(){function e(e,t,n,r){return e%10<5&&e%10>0&&e%100<5||e%100>20?e%10>1?n:t:r}return{errorLoading:function(){return"Невозможно загрузить результаты"},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Пожалуйста, введите на "+n+" символ";return r+=e(n,"","a","ов"),r+=" меньше",r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Пожалуйста, введите еще хотя бы "+n+" символ";return r+=e(n,"","a","ов"),r},loadingMore:function(){return"Загрузка данных…"},maximumSelected:function(t){var n="Вы можете выбрать не более "+t.maximum+" элемент";return n+=e(t.maximum,"","a","ов"),n},noResults:function(){return"Совпадений не найдено"},searching:function(){return"Поиск…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/sk.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sk",[],function(){var e={2:function(e){return e?"dva":"dve"},3:function(){return"tri"},4:function(){return"štyri"}};return{inputTooLong:function(t){var n=t.input.length-t.maximum;return n==1?"Prosím, zadajte o jeden znak menej":n>=2&&n<=4?"Prosím, zadajte o "+e[n](!0)+" znaky menej":"Prosím, zadajte o "+n+" znakov menej"},inputTooShort:function(t){var n=t.minimum-t.input.length;return n==1?"Prosím, zadajte ešte jeden znak":n<=4?"Prosím, zadajte ešte ďalšie "+e[n](!0)+" znaky":"Prosím, zadajte ešte ďalších "+n+" znakov"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){return t.maximum==1?"Môžete zvoliť len jednu položku":t.maximum>=2&&t.maximum<=4?"Môžete zvoliť najviac "+e[t.maximum](!1)+" položky":"Môžete zvoliť najviac "+t.maximum+" položiek"},noResults:function(){return"Nenašli sa žiadne položky"},searching:function(){return"Vyhľadávanie…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/sr-Cyrl.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sr-Cyrl",[],function(){function e(e,t,n,r){return e%10==1&&e%100!=11?t:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?n:r}return{errorLoading:function(){return"Преузимање није успело."},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Обришите "+n+" симбол";return r+=e(n,"","а","а"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Укуцајте бар још "+n+" симбол";return r+=e(n,"","а","а"),r},loadingMore:function(){return"Преузимање још резултата…"},maximumSelected:function(t){var n="Можете изабрати само "+t.maximum+" ставк";return n+=e(t.maximum,"у","е","и"),n},noResults:function(){return"Ништа није пронађено"},searching:function(){return"Претрага…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/sr.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sr",[],function(){function e(e,t,n,r){return e%10==1&&e%100!=11?t:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?n:r}return{errorLoading:function(){return"Preuzimanje nije uspelo."},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Obrišite "+n+" simbol";return r+=e(n,"","a","a"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Ukucajte bar još "+n+" simbol";return r+=e(n,"","a","a"),r},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(t){var n="Možete izabrati samo "+t.maximum+" stavk";return n+=e(t.maximum,"u","e","i"),n},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/sv.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sv",[],function(){return{errorLoading:function(){return"Resultat kunde inte laddas."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vänligen sudda ut "+t+" tecken";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vänligen skriv in "+t+" eller fler tecken";return n},loadingMore:function(){return"Laddar fler resultat…"},maximumSelected:function(e){var t="Du kan max välja "+e.maximum+" element";return t},noResults:function(){return"Inga träffar"},searching:function(){return"Söker…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/th.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/th",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="โปรดลบออก "+t+" ตัวอักษร";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="โปรดพิมพ์เพิ่มอีก "+t+" ตัวอักษร";return n},loadingMore:function(){return"กำลังค้นข้อมูลเพิ่ม…"},maximumSelected:function(e){var t="คุณสามารถเลือกได้ไม่เกิน "+e.maximum+" รายการ";return t},noResults:function(){return"ไม่พบข้อมูล"},searching:function(){return"กำลังค้นข้อมูล…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/tr.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/tr",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" karakter daha girmelisiniz";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="En az "+t+" karakter daha girmelisiniz";return n},loadingMore:function(){return"Daha fazla…"},maximumSelected:function(e){var t="Sadece "+e.maximum+" seçim yapabilirsiniz";return t},noResults:function(){return"Sonuç bulunamadı"},searching:function(){return"Aranıyor…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/uk.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/uk",[],function(){function e(e,t,n,r){return e%100>10&&e%100<15?r:e%10===1?t:e%10>1&&e%10<5?n:r}return{errorLoading:function(){return"Неможливо завантажити результати"},inputTooLong:function(t){var n=t.input.length-t.maximum;return"Будь ласка, видаліть "+n+" "+e(t.maximum,"літеру","літери","літер")},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Будь ласка, введіть "+t+" або більше літер"},loadingMore:function(){return"Завантаження інших результатів…"},maximumSelected:function(t){return"Ви можете вибрати лише "+t.maximum+" "+e(t.maximum,"пункт","пункти","пунктів")},noResults:function(){return"Нічого не знайдено"},searching:function(){return"Пошук…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/vi.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/vi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vui lòng nhập ít hơn "+t+" ký tự";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vui lòng nhập nhiều hơn "+t+' ký tự"';return n},loadingMore:function(){return"Đang lấy thêm kết quả…"},maximumSelected:function(e){var t="Chỉ có thể chọn được "+e.maximum+" lựa chọn";return t},noResults:function(){return"Không tìm thấy kết quả"},searching:function(){return"Đang tìm…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/zh-CN.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-CN",[],function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="请删除"+t+"个字符";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="请再输入至少"+t+"个字符";return n},loadingMore:function(){return"载入更多结果…"},maximumSelected:function(e){var t="最多只能选择"+e.maximum+"个项目";return t},noResults:function(){return"未找到结果"},searching:function(){return"搜索中…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/i18n/zh-TW.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
2 |
-
|
3 |
-
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-TW",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="請刪掉"+t+"個字元";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="請再輸入"+t+"個字元";return n},loadingMore:function(){return"載入中…"},maximumSelected:function(e){var t="你只能選擇最多"+e.maximum+"項";return t},noResults:function(){return"沒有找到相符的項目"},searching:function(){return"搜尋中…"}}}),{define:e.define,require:e.require}})();
|
|
|
|
|
|
assets/js/select2/select2.min.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){var b=function(){if(a&&a.fn&&a.fn.select2&&a.fn.select2.amd)var b=a.fn.select2.amd;var b;return function(){if(!b||!b.requirejs){b?c=b:b={};var a,c,d;!function(b){function e(a,b){return u.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n=b&&b.split("/"),o=s.map,p=o&&o["*"]||{};if(a&&"."===a.charAt(0))if(b){for(a=a.split("/"),g=a.length-1,s.nodeIdCompat&&w.test(a[g])&&(a[g]=a[g].replace(w,"")),a=n.slice(0,n.length-1).concat(a),k=0;k<a.length;k+=1)if(m=a[k],"."===m)a.splice(k,1),k-=1;else if(".."===m){if(1===k&&(".."===a[2]||".."===a[0]))break;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}else 0===a.indexOf("./")&&(a=a.substring(2));if((n||p)&&o){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),n)for(l=n.length;l>0;l-=1)if(e=o[n.slice(0,l).join("/")],e&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&p&&p[d]&&(i=p[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(a,c){return function(){var d=v.call(arguments,0);return"string"!=typeof d[0]&&1===d.length&&d.push(null),n.apply(b,d.concat([a,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){q[a]=b}}function j(a){if(e(r,a)){var c=r[a];delete r[a],t[a]=!0,m.apply(b,c)}if(!e(q,a)&&!e(t,a))throw new Error("No "+a);return q[a]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return function(){return s&&s.config&&s.config[a]||{}}}var m,n,o,p,q={},r={},s={},t={},u=Object.prototype.hasOwnProperty,v=[].slice,w=/\.js$/;o=function(a,b){var c,d=k(a),e=d[0];return a=d[1],e&&(e=f(e,b),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(b)):f(a,b):(a=f(a,b),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},p={require:function(a){return g(a)},exports:function(a){var b=q[a];return"undefined"!=typeof b?b:q[a]={}},module:function(a){return{id:a,uri:"",exports:q[a],config:l(a)}}},m=function(a,c,d,f){var h,k,l,m,n,s,u=[],v=typeof d;if(f=f||a,"undefined"===v||"function"===v){for(c=!c.length&&d.length?["require","exports","module"]:c,n=0;n<c.length;n+=1)if(m=o(c[n],f),k=m.f,"require"===k)u[n]=p.require(a);else if("exports"===k)u[n]=p.exports(a),s=!0;else if("module"===k)h=u[n]=p.module(a);else if(e(q,k)||e(r,k)||e(t,k))u[n]=j(k);else{if(!m.p)throw new Error(a+" missing "+k);m.p.load(m.n,g(f,!0),i(k),{}),u[n]=q[k]}l=d?d.apply(q[a],u):void 0,a&&(h&&h.exports!==b&&h.exports!==q[a]?q[a]=h.exports:l===b&&s||(q[a]=l))}else a&&(q[a]=d)},a=c=n=function(a,c,d,e,f){if("string"==typeof a)return p[a]?p[a](c):j(o(a,c).f);if(!a.splice){if(s=a,s.deps&&n(s.deps,s.callback),!c)return;c.splice?(a=c,c=d,d=null):a=b}return c=c||function(){},"function"==typeof d&&(d=e,e=f),e?m(b,a,c,d):setTimeout(function(){m(b,a,c,d)},4),n},n.config=function(a){return n(a)},a._defined=q,d=function(a,b,c){if("string"!=typeof a)throw new Error("See almond README: incorrect module build, no module name");b.splice||(c=b,b=[]),e(q,a)||e(r,a)||(r[a]=[a,b,c])},d.amd={jQuery:!0}}(),b.requirejs=a,b.require=c,b.define=d}}(),b.define("almond",function(){}),b.define("jquery",[],function(){var b=a||$;return null==b&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),b}),b.define("select2/utils",["jquery"],function(a){function b(a){var b=a.prototype,c=[];for(var d in b){var e=b[d];"function"==typeof e&&"constructor"!==d&&c.push(d)}return c}var c={};c.Extend=function(a,b){function c(){this.constructor=a}var d={}.hasOwnProperty;for(var e in b)d.call(b,e)&&(a[e]=b[e]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},c.Decorate=function(a,c){function d(){var b=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}function e(){this.constructor=d}var f=b(c),g=b(a);c.displayName=a.displayName,d.prototype=new e;for(var h=0;h<g.length;h++){var i=g[h];d.prototype[i]=a.prototype[i]}for(var j=(function(a){var b=function(){};a in d.prototype&&(b=d.prototype[a]);var e=c.prototype[a];return function(){var a=Array.prototype.unshift;return a.call(arguments,b),e.apply(this,arguments)}}),k=0;k<f.length;k++){var l=f[k];d.prototype[l]=j(l)}return d};var d=function(){this.listeners={}};return d.prototype.on=function(a,b){this.listeners=this.listeners||{},a in this.listeners?this.listeners[a].push(b):this.listeners[a]=[b]},d.prototype.trigger=function(a){var b=Array.prototype.slice,c=b.call(arguments,1);this.listeners=this.listeners||{},null==c&&(c=[]),0===c.length&&c.push({}),c[0]._type=a,a in this.listeners&&this.invoke(this.listeners[a],b.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},d.prototype.invoke=function(a,b){for(var c=0,d=a.length;d>c;c++)a[c].apply(this,b)},c.Observable=d,c.generateChars=function(a){for(var b="",c=0;a>c;c++){var d=Math.floor(36*Math.random());b+=d.toString(36)}return b},c.bind=function(a,b){return function(){a.apply(b,arguments)}},c._convertData=function(a){for(var b in a){var c=b.split("-"),d=a;if(1!==c.length){for(var e=0;e<c.length;e++){var f=c[e];f=f.substring(0,1).toLowerCase()+f.substring(1),f in d||(d[f]={}),e==c.length-1&&(d[f]=a[b]),d=d[f]}delete a[b]}}return a},c.hasScroll=function(b,c){var d=a(c),e=c.style.overflowX,f=c.style.overflowY;return e!==f||"hidden"!==f&&"visible"!==f?"scroll"===e||"scroll"===f?!0:d.innerHeight()<c.scrollHeight||d.innerWidth()<c.scrollWidth:!1},c.escapeMarkup=function(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof a?a:String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})},c.appendMany=function(b,c){if("1.7"===a.fn.jquery.substr(0,3)){var d=a();a.map(c,function(a){d=d.add(a)}),c=d}b.append(c)},c}),b.define("select2/results",["jquery","./utils"],function(a,b){function c(a,b,d){this.$element=a,this.data=d,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&b.attr("aria-multiselectable","true"),this.$results=b,b},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(b){var c=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var d=a('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),e=this.options.get("translations").get(b.message);d.append(c(e(b.args))),d[0].className+=" select2-results__message",this.$results.append(d)},c.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},c.prototype.append=function(a){this.hideLoading();var b=[];if(null==a.results||0===a.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));a.results=this.sort(a.results);for(var c=0;c<a.results.length;c++){var d=a.results[c],e=this.option(d);b.push(e)}this.$results.append(b)},c.prototype.position=function(a,b){var c=b.find(".select2-results");c.append(a)},c.prototype.sort=function(a){var b=this.options.get("sorter");return b(a)},c.prototype.highlightFirstItem=function(){var a=this.$results.find(".select2-results__option[aria-selected]"),b=a.filter("[aria-selected=true]");b.length>0?b.first().trigger("mouseenter"):a.first().trigger("mouseenter"),this.ensureHighlightVisible()},c.prototype.setClasses=function(){var b=this;this.data.current(function(c){var d=a.map(c,function(a){return a.id.toString()}),e=b.$results.find(".select2-results__option[aria-selected]");e.each(function(){var b=a(this),c=a.data(this,"data"),e=""+c.id;null!=c.element&&c.element.selected||null==c.element&&a.inArray(e,d)>-1?b.attr("aria-selected","true"):b.attr("aria-selected","false")})})},c.prototype.showLoading=function(a){this.hideLoading();var b=this.options.get("translations").get("searching"),c={disabled:!0,loading:!0,text:b(a)},d=this.option(c);d.className+=" loading-results",this.$results.prepend(d)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(b){var c=document.createElement("li");c.className="select2-results__option";var d={role:"treeitem","aria-selected":"false"};b.disabled&&(delete d["aria-selected"],d["aria-disabled"]="true"),null==b.id&&delete d["aria-selected"],null!=b._resultId&&(c.id=b._resultId),b.title&&(c.title=b.title),b.children&&(d.role="group",d["aria-label"]=b.text,delete d["aria-selected"]);for(var e in d){var f=d[e];c.setAttribute(e,f)}if(b.children){var g=a(c),h=document.createElement("strong");h.className="select2-results__group";a(h);this.template(b,h);for(var i=[],j=0;j<b.children.length;j++){var k=b.children[j],l=this.option(k);i.push(l)}var m=a("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});m.append(i),g.append(h),g.append(m)}else this.template(b,c);return a.data(c,"data",b),c},c.prototype.bind=function(b,c){var d=this,e=b.id+"-results";this.$results.attr("id",e),b.on("results:all",function(a){d.clear(),d.append(a.data),b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("results:append",function(a){d.append(a.data),b.isOpen()&&d.setClasses()}),b.on("query",function(a){d.hideMessages(),d.showLoading(a)}),b.on("select",function(){b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("unselect",function(){b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("open",function(){d.$results.attr("aria-expanded","true"),d.$results.attr("aria-hidden","false"),d.setClasses(),d.ensureHighlightVisible()}),b.on("close",function(){d.$results.attr("aria-expanded","false"),d.$results.attr("aria-hidden","true"),d.$results.removeAttr("aria-activedescendant")}),b.on("results:toggle",function(){var a=d.getHighlightedResults();0!==a.length&&a.trigger("mouseup")}),b.on("results:select",function(){var a=d.getHighlightedResults();if(0!==a.length){var b=a.data("data");"true"==a.attr("aria-selected")?d.trigger("close",{}):d.trigger("select",{data:b})}}),b.on("results:previous",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a);if(0!==c){var e=c-1;0===a.length&&(e=0);var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top,h=f.offset().top,i=d.$results.scrollTop()+(h-g);0===e?d.$results.scrollTop(0):0>h-g&&d.$results.scrollTop(i)}}),b.on("results:next",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a),e=c+1;if(!(e>=b.length)){var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top+d.$results.outerHeight(!1),h=f.offset().top+f.outerHeight(!1),i=d.$results.scrollTop()+h-g;0===e?d.$results.scrollTop(0):h>g&&d.$results.scrollTop(i)}}),b.on("results:focus",function(a){a.element.addClass("select2-results__option--highlighted")}),b.on("results:message",function(a){d.displayMessage(a)}),a.fn.mousewheel&&this.$results.on("mousewheel",function(a){var b=d.$results.scrollTop(),c=d.$results.get(0).scrollHeight-b+a.deltaY,e=a.deltaY>0&&b-a.deltaY<=0,f=a.deltaY<0&&c<=d.$results.height();e?(d.$results.scrollTop(0),a.preventDefault(),a.stopPropagation()):f&&(d.$results.scrollTop(d.$results.get(0).scrollHeight-d.$results.height()),a.preventDefault(),a.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(b){var c=a(this),e=c.data("data");return"true"===c.attr("aria-selected")?void(d.options.get("multiple")?d.trigger("unselect",{originalEvent:b,data:e}):d.trigger("close",{})):void d.trigger("select",{originalEvent:b,data:e})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(b){var c=a(this).data("data");d.getHighlightedResults().removeClass("select2-results__option--highlighted"),d.trigger("results:focus",{data:c,element:a(this)})})},c.prototype.getHighlightedResults=function(){var a=this.$results.find(".select2-results__option--highlighted");return a},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(0!==a.length){var b=this.$results.find("[aria-selected]"),c=b.index(a),d=this.$results.offset().top,e=a.offset().top,f=this.$results.scrollTop()+(e-d),g=e-d;f-=2*a.outerHeight(!1),2>=c?this.$results.scrollTop(0):(g>this.$results.outerHeight()||0>g)&&this.$results.scrollTop(f)}},c.prototype.template=function(b,c){var d=this.options.get("templateResult"),e=this.options.get("escapeMarkup"),f=d(b,c);null==f?c.style.display="none":"string"==typeof f?c.innerHTML=e(f):a(c).append(f)},c}),b.define("select2/keys",[],function(){var a={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return a}),b.define("select2/selection/base",["jquery","../utils","../keys"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,b.Observable),d.prototype.render=function(){var b=a('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),b.attr("title",this.$element.attr("title")),b.attr("tabindex",this._tabindex),this.$selection=b,b},d.prototype.bind=function(a,b){var d=this,e=(a.id+"-container",a.id+"-results");this.container=a,this.$selection.on("focus",function(a){d.trigger("focus",a)}),this.$selection.on("blur",function(a){d._handleBlur(a)}),this.$selection.on("keydown",function(a){d.trigger("keypress",a),a.which===c.SPACE&&a.preventDefault()}),a.on("results:focus",function(a){d.$selection.attr("aria-activedescendant",a.data._resultId)}),a.on("selection:update",function(a){d.update(a.data)}),a.on("open",function(){d.$selection.attr("aria-expanded","true"),d.$selection.attr("aria-owns",e),d._attachCloseHandler(a)}),a.on("close",function(){d.$selection.attr("aria-expanded","false"),d.$selection.removeAttr("aria-activedescendant"),d.$selection.removeAttr("aria-owns"),d.$selection.focus(),d._detachCloseHandler(a)}),a.on("enable",function(){d.$selection.attr("tabindex",d._tabindex)}),a.on("disable",function(){d.$selection.attr("tabindex","-1")})},d.prototype._handleBlur=function(b){var c=this;window.setTimeout(function(){document.activeElement==c.$selection[0]||a.contains(c.$selection[0],document.activeElement)||c.trigger("blur",b)},1)},d.prototype._attachCloseHandler=function(b){a(document.body).on("mousedown.select2."+b.id,function(b){var c=a(b.target),d=c.closest(".select2"),e=a(".select2.select2-container--open");e.each(function(){var b=a(this);if(this!=d[0]){var c=b.data("element");c.select2("close")}})})},d.prototype._detachCloseHandler=function(b){a(document.body).off("mousedown.select2."+b.id)},d.prototype.position=function(a,b){var c=b.find(".selection");c.append(a)},d.prototype.destroy=function(){this._detachCloseHandler(this.container)},d.prototype.update=function(a){throw new Error("The `update` method must be defined in child classes.")},d}),b.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(a,b,c,d){function e(){e.__super__.constructor.apply(this,arguments)}return c.Extend(e,b),e.prototype.render=function(){var a=e.__super__.render.call(this);return a.addClass("select2-selection--single"),a.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),a},e.prototype.bind=function(a,b){var c=this;e.__super__.bind.apply(this,arguments);var d=a.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",d),this.$selection.attr("aria-labelledby",d),this.$selection.on("mousedown",function(a){1===a.which&&c.trigger("toggle",{originalEvent:a})}),this.$selection.on("focus",function(a){}),this.$selection.on("blur",function(a){}),a.on("focus",function(b){a.isOpen()||c.$selection.focus()}),a.on("selection:update",function(a){c.update(a.data)})},e.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},e.prototype.display=function(a,b){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(a,b))},e.prototype.selectionContainer=function(){return a("<span></span>")},e.prototype.update=function(a){if(0===a.length)return void this.clear();var b=a[0],c=this.$selection.find(".select2-selection__rendered"),d=this.display(b,c);c.empty().append(d),c.prop("title",b.title||b.text)},e}),b.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(a,b){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(b,c){var e=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){e.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(b){if(!e.options.get("disabled")){var c=a(this),d=c.parent(),f=d.data("data");e.trigger("unselect",{originalEvent:b,data:f})}})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a,b){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(a,b))},d.prototype.selectionContainer=function(){var b=a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>');return b},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.selectionContainer(),g=this.display(e,f);f.append(g),f.prop("title",e.title||e.text),f.data("data",e),b.push(f)}var h=this.$selection.find(".select2-selection__rendered");c.appendMany(h,b)}},d}),b.define("select2/selection/placeholder",["../utils"],function(a){function b(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return b.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},b.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},b.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id,d=b.length>1;if(d||c)return a.call(this,b);this.clear();var e=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(e)},b}),b.define("select2/selection/allowClear",["jquery","../keys"],function(a,b){function c(){}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},c.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var c=this.$selection.find(".select2-selection__clear");if(0!==c.length){b.stopPropagation();for(var d=c.data("data"),e=0;e<d.length;e++){var f={data:d[e]};if(this.trigger("unselect",f),f.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},c.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||(c.which==b.DELETE||c.which==b.BACKSPACE)&&this._handleClear(c)},c.prototype.update=function(b,c){if(b.call(this,c),!(this.$selection.find(".select2-selection__placeholder").length>0||0===c.length)){var d=a('<span class="select2-selection__clear">×</span>');d.data("data",c),this.$selection.find(".select2-selection__rendered").prepend(d)}},c}),b.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return this._transferTabIndex(),d},d.prototype.bind=function(a,b,d){var e=this;a.call(this,b,d),b.on("open",function(){e.$search.trigger("focus")}),b.on("close",function(){e.$search.val(""),e.$search.removeAttr("aria-activedescendant"),e.$search.trigger("focus")}),b.on("enable",function(){e.$search.prop("disabled",!1),e._transferTabIndex()}),b.on("disable",function(){e.$search.prop("disabled",!0)}),b.on("focus",function(a){e.$search.trigger("focus")}),b.on("results:focus",function(a){e.$search.attr("aria-activedescendant",a.id)}),this.$selection.on("focusin",".select2-search--inline",function(a){e.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){e._handleBlur(a)}),this.$selection.on("keydown",".select2-search--inline",function(a){a.stopPropagation(),e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented();var b=a.which;if(b===c.BACKSPACE&&""===e.$search.val()){var d=e.$searchContainer.prev(".select2-selection__choice");if(d.length>0){var f=d.data("data");e.searchRemoveChoice(f),a.preventDefault()}}});var f=document.documentMode,g=f&&11>=f;this.$selection.on("input.searchcheck",".select2-search--inline",function(a){return g?void e.$selection.off("input.search input.searchcheck"):void e.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(a){if(g&&"input"===a.type)return void e.$selection.off("input.search input.searchcheck");var b=a.which;b!=c.SHIFT&&b!=c.CTRL&&b!=c.ALT&&b!=c.TAB&&e.handleSearch(a)})},d.prototype._transferTabIndex=function(a){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){var c=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c&&this.$search.focus()},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.$search.val(b.text),this.handleSearch()},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select2-selection__rendered").innerWidth();else{var b=this.$search.val().length+1;a=.75*b+"em"}this.$search.css("width",a)},d}),b.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting"],g=["opening","closing","selecting","unselecting"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select2/diacritics",[],function(){var a={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return a}),b.define("select2/data/base",["../utils"],function(a){function b(a,c){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(a){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(a,b){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(a,b){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),d+=null!=c.id?"-"+c.id.toString():"-"+a.generateChars(4)},b}),b.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change");
|
2 |
-
if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple"))return a.selected=!1,c(a.element).is("option")?(a.element.selected=!1,void this.$element.trigger("change")):void this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})},d.prototype.bind=function(a,b){var c=this;this.container=a,a.on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){c.removeData(this,"data")})},d.prototype.query=function(a,b){var d=[],e=this,f=this.$element.children();f.each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var b;a.children?(b=document.createElement("optgroup"),b.label=a.text):(b=document.createElement("option"),void 0!==b.textContent?b.textContent=a.text:b.innerText=a.text),a.id&&(b.value=a.id),a.disabled&&(b.disabled=!0),a.selected&&(b.selected=!0),a.title&&(b.title=a.title);var d=c(b),e=this._normalizeItem(a);return e.element=b,c.data(b,"data",e),d},d.prototype.item=function(a){var b={};if(b=c.data(a[0],"data"),null!=b)return b;if(a.is("option"))b={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){b={text:a.prop("label"),children:[],title:a.prop("title")};for(var d=a.children("option"),e=[],f=0;f<d.length;f++){var g=c(d[f]),h=this.item(g);e.push(h)}b.children=e}return b=this._normalizeItem(b),b.element=a[0],c.data(a[0],"data",b),b},d.prototype._normalizeItem=function(a){c.isPlainObject(a)||(a={id:a,text:a}),a=c.extend({},{text:""},a);var b={selected:!1,disabled:!1};return null!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){var c=this.options.get("matcher");return c(a,b)},d}),b.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){var c=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}return b.Extend(d,a),d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){var k=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{var o=this.option(j);if(j.children){var p=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}return h},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return c.extend({},a,{q:a.term})},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){d.status&&"0"===d.status||e.trigger("results:message",{message:"errorLoading"})});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,a)),"function"==typeof f.data&&(f.data=f.data.call(this.$element,a)),this.ajaxOptions.delay&&null!=a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");void 0!==f&&(this.createTag=f);var g=d.get("insertTag");if(void 0!==g&&(this.insertTag=g),b.call(this,c,d),a.isArray(e))for(var h=0;h<e.length;h++){var i=e[h],j=this._normalizeItem(i),k=this.option(j);this.$element.append(k)}}return b.prototype.query=function(a,b,c){function d(a,f){for(var g=a.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!d({results:i.children},!0),k=i.text===b.term;if(k||j)return f?!1:(a.data=g,void c(a))}if(f)return!0;var l=e.createTag(b);if(null!=l){var m=e.option(l);m.attr("data-select2-tag",!0),e.addOptions([m]),e.insertTag(g,l)}a.results=g,c(a)}var e=this;return this._removeOldTags(),null==b.term||null!=b.page?void a.call(this,b,c):void a.call(this,b,d)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(b){var c=(this._lastTag,this.$element.find("option[data-select2-tag]"));c.each(function(){this.selected||a(this).remove()})},b}),b.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(b,c,d){function e(b){var c=g._normalizeItem(b),d=g.$element.find("option").filter(function(){return a(this).val()===c.id});if(!d.length){var e=g.option(c);e.attr("data-select2-tag",!0),g._removeOldTags(),g.addOptions([e])}f(c)}function f(a){g.trigger("select",{data:a})}var g=this;c.term=c.term||"";var h=this.tokenizer(c,this.options,e);h.term!==c.term&&(this.$search.length&&(this.$search.val(h.term),this.$search.focus()),c.term=h.term),b.call(this,c,d)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);null!=m?(e(m),g=g.substr(h+1)||"",h=0):h++}else h++}return{term:g}},b}),b.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",b.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;return d.maximumSelectionLength>0&&f>=d.maximumSelectionLength?void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}}):void a.call(d,b,c)})},a}),b.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.bind=function(){},c.prototype.position=function(a,b){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select2/dropdown/search",["jquery","../utils"],function(a,b){function c(){}return c.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},c.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(b){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val("")}),c.on("focus",function(){c.isOpen()&&e.$search.focus()}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){var b=e.showSearch(a);b?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide")}})},c.prototype.handleSearch=function(a){if(!this._keyUpPrevented){var b=this.$search.val();this.trigger("query",{term:b})}this._keyUpPrevented=!1},c.prototype.showSearch=function(a,b){return!0},c}),b.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){var c=e.$results.offset().top+e.$results.outerHeight(!1),d=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1);c+50>=d&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(b,c,d){this.$dropdownParent=d.get("dropdownParent")||a(document.body),b.call(this,c,d)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c,d){var e=this,f="scroll.select2."+d.id,g="resize.select2."+d.id,h="orientationchange.select2."+d.id,i=this.$container.parents().filter(b.hasScroll);i.each(function(){a(this).data("select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),i.on(f,function(b){var c=a(this).data("select2-scroll-position");a(this).scrollTop(c.y)}),a(window).on(f+" "+g+" "+h,function(a){e._positionDropdown(),e._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c,d){var e="scroll.select2."+d.id,f="resize.select2."+d.id,g="orientationchange.select2."+d.id,h=this.$container.parents().filter(b.hasScroll);h.off(e),a(window).off(e+" "+f+" "+g)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.top<f.top-h.height,k=i.bottom>f.bottom+h.height,l={left:f.left,top:g.bottom},m=this.$dropdownParent;"static"===m.css("position")&&(m=m.offsetParent());var n=m.offset();l.top-=n.top,l.left-=n.left,c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-n.top-h.height),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}function b(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return b.prototype.showSearch=function(b,c){return a(c.data.results)<this.minimumResultsForSearch?!1:b.call(this,c)},b}),b.define("select2/dropdown/selectOnClose",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(a){d._handleSelectOnClose(a)})},a.prototype._handleSelectOnClose=function(a,b){if(b&&null!=b.originalSelect2Event){var c=b.originalSelect2Event;if("select"===c._type||"unselect"===c._type)return}var d=this.getHighlightedResults();if(!(d.length<1)){var e=d.data("data");null!=e.element&&e.element.selected||null==e.element&&e.selected||this.trigger("select",{data:e})}},a}),b.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&c.ctrlKey||this.trigger("close",{originalEvent:c,originalSelect2Event:b})},a}),b.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){var b=a.minimum-a.input.length,c="Please enter "+b+" or more characters";return c},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),b.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}D.prototype.apply=function(l){if(l=a.extend(!0,{},this.defaults,l),null==l.dataAdapter){if(null!=l.ajax?l.dataAdapter=o:null!=l.data?l.dataAdapter=n:l.dataAdapter=m,l.minimumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),(null!=l.tokenSeparators||null!=l.tokenizer)&&(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.multiple?l.selectionAdapter=e:l.selectionAdapter=d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L<K.length;L++){var M=K[L],N={};try{N=k.loadPath(M)}catch(O){try{M=this.defaults.amdLanguageBase+M,N=k.loadPath(M)}catch(P){l.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}J.extend(N)}l.translations=J}else{var Q=k.loadPath(this.defaults.amdLanguageBase+"en"),R=new k(l.language);R.extend(Q),l.translations=R}return l},D.prototype.reset=function(){function b(a){function b(a){return l[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&e.children.length>0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){var h=e.children[g],i=c(d,h);null==i&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var j=b(e.text).toUpperCase(),k=b(d.term).toUpperCase();return j.indexOf(k)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(this.defaults,f)};var E=new D;return E}),b.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(a.prop("dir")?this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),a.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),a.data("data",a.data("select2Tags")),a.data("tags",!0)),a.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",a.data("ajaxUrl")),a.data("ajax--url",a.data("ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,a.data()):a.data();var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,c){null!=a.data("select2")&&a.data("select2").destroy(),this.$element=a,this.id=this._generateId(a),c=c||{},this.options=new b(c,a),e.__super__.constructor.call(this);var d=a.attr("tabindex")||0;a.data("old-tabindex",d),a.attr("tabindex","-1");var f=this.options.get("dataAdapter");this.dataAdapter=new f(a,this.options);var g=this.render();this._placeContainer(g);var h=this.options.get("selectionAdapter");this.selection=new h(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,g);var i=this.options.get("dropdownAdapter");this.dropdown=new i(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,g);var j=this.options.get("resultsAdapter");this.results=new j(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var k=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){k.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b=b.replace(/(:|\.|\[|\]|,)/g,""),b="select2-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return 0>=e?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;i>h;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select2",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this.$element.on("focus.select2",function(a){b.trigger("focus",a)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._syncA),a.each(c,b._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",b._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",b._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",b._syncS,!1))},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle","focus"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("focus",function(a){b.focus(a)}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open",{}),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ESC||c===d.TAB||c===d.UP&&b.altKey?(a.close(),b.preventDefault()):c===d.ENTER?(a.trigger("results:select",{}),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle",{}),b.preventDefault()):c===d.UP?(a.trigger("results:previous",{}),b.preventDefault()):c===d.DOWN&&(a.trigger("results:next",{}),b.preventDefault()):(c===d.ENTER||c===d.SPACE||c===d.DOWN&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},e.prototype._syncSubtree=function(a,b){var c=!1,d=this;if(!a||!a.target||"OPTION"===a.target.nodeName||"OPTGROUP"===a.target.nodeName){if(b)if(b.addedNodes&&b.addedNodes.length>0)for(var e=0;e<b.addedNodes.length;e++){var f=b.addedNodes[e];f.selected&&(c=!0)}else b.removedNodes&&b.removedNodes.length>0&&(c=!0);else c=!0;c&&this.dataAdapter.current(function(a){d.trigger("selection:update",{data:a})})}},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===b&&(b={}),a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||this.trigger("query",{})},e.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},e.prototype.focus=function(a){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==a||0===a.length)&&(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null;
|
3 |
-
},e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),b.data("element",this.$element),b},e}),b.define("jquery-mousewheel",["jquery"],function(a){return a}),b.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(a,b,c,d){if(null==a.fn.select2){var e=["open","close","destroy"];a.fn.select2=function(b){if(b=b||{},"object"==typeof b)return this.each(function(){var d=a.extend(!0,{},b);new c(a(this),d)}),this;if("string"==typeof b){var d,f=Array.prototype.slice.call(arguments,1);return this.each(function(){var c=a(this).data("select2");null==c&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2."),d=c[b].apply(c,f)}),a.inArray(b,e)>-1?this:d}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),{define:b.define,require:b.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c});
|
|
|
|
|
|
assets/js/select300/i18n/ar.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/ar",[],function(){return{errorLoading:function(){return"لا يمكن تحميل النتائج"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="الرجاء حذف "+t+" عناصر";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="الرجاء إضافة "+t+" عناصر";return n},loadingMore:function(){return"جاري تحميل نتائج إضافية..."},maximumSelected:function(e){var t="تستطيع إختيار "+e.maximum+" بنود فقط";return t},noResults:function(){return"لم يتم العثور على أي نتائج"},searching:function(){return"جاري البحث…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/az.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/az",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return t+" simvol silin"},inputTooShort:function(e){var t=e.minimum-e.input.length;return t+" simvol daxil edin"},loadingMore:function(){return"Daha çox nəticə yüklənir…"},maximumSelected:function(e){return"Sadəcə "+e.maximum+" element seçə bilərsiniz"},noResults:function(){return"Nəticə tapılmadı"},searching:function(){return"Axtarılır…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/bg.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/bg",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Моля въведете с "+t+" по-малко символ";return t>1&&(n+="a"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Моля въведете още "+t+" символ";return t>1&&(n+="a"),n},loadingMore:function(){return"Зареждат се още…"},maximumSelected:function(e){var t="Можете да направите до "+e.maximum+" ";return e.maximum>1?t+="избора":t+="избор",t},noResults:function(){return"Няма намерени съвпадения"},searching:function(){return"Търсене…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/ca.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/ca",[],function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Si us plau, elimina "+t+" car";return t==1?n+="àcter":n+="àcters",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Si us plau, introdueix "+t+" car";return t==1?n+="àcter":n+="àcters",n},loadingMore:function(){return"Carregant més resultats…"},maximumSelected:function(e){var t="Només es pot seleccionar "+e.maximum+" element";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No s'han trobat resultats"},searching:function(){return"Cercant…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/cs.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/cs",[],function(){function e(e,t){switch(e){case 2:return t?"dva":"dvě";case 3:return"tři";case 4:return"čtyři"}return""}return{errorLoading:function(){return"Výsledky nemohly být načteny."},inputTooLong:function(t){var n=t.input.length-t.maximum;return n==1?"Prosím zadejte o jeden znak méně":n<=4?"Prosím zadejte o "+e(n,!0)+" znaky méně":"Prosím zadejte o "+n+" znaků méně"},inputTooShort:function(t){var n=t.minimum-t.input.length;return n==1?"Prosím zadejte ještě jeden znak":n<=4?"Prosím zadejte ještě další "+e(n,!0)+" znaky":"Prosím zadejte ještě dalších "+n+" znaků"},loadingMore:function(){return"Načítají se další výsledky…"},maximumSelected:function(t){var n=t.maximum;return n==1?"Můžete zvolit jen jednu položku":n<=4?"Můžete zvolit maximálně "+e(n,!1)+" položky":"Můžete zvolit maximálně "+n+" položek"},noResults:function(){return"Nenalezeny žádné položky"},searching:function(){return"Vyhledávání…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/da.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/da",[],function(){return{errorLoading:function(){return"Resultaterne kunne ikke indlæses."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Angiv venligst "+t+" tegn mindre";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Angiv venligst "+t+" tegn mere";return n},loadingMore:function(){return"Indlæser flere resultater…"},maximumSelected:function(e){var t="Du kan kun vælge "+e.maximum+" emne";return e.maximum!=1&&(t+="r"),t},noResults:function(){return"Ingen resultater fundet"},searching:function(){return"Søger…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/de.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/de",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Bitte "+t+" Zeichen weniger eingeben"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Bitte "+t+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisse…"},maximumSelected:function(e){var t="Sie können nur "+e.maximum+" Eintr";return e.maximum===1?t+="ag":t+="äge",t+=" auswählen",t},noResults:function(){return"Keine Übereinstimmungen gefunden"},searching:function(){return"Suche…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/el.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/el",[],function(){return{errorLoading:function(){return"Τα αποτελέσματα δεν μπόρεσαν να φορτώσουν."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Παρακαλώ διαγράψτε "+t+" χαρακτήρ";return t==1&&(n+="α"),t!=1&&(n+="ες"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Παρακαλώ συμπληρώστε "+t+" ή περισσότερους χαρακτήρες";return n},loadingMore:function(){return"Φόρτωση περισσότερων αποτελεσμάτων…"},maximumSelected:function(e){var t="Μπορείτε να επιλέξετε μόνο "+e.maximum+" επιλογ";return e.maximum==1&&(t+="ή"),e.maximum!=1&&(t+="ές"),t},noResults:function(){return"Δεν βρέθηκαν αποτελέσματα"},searching:function(){return"Αναζήτηση…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/en.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Please enter "+t+" or more characters";return n},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/es.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/es",[],function(){return{errorLoading:function(){return"La carga falló"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Por favor, elimine "+t+" car";return t==1?n+="ácter":n+="acteres",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Por favor, introduzca "+t+" car";return t==1?n+="ácter":n+="acteres",n},loadingMore:function(){return"Cargando más resultados…"},maximumSelected:function(e){var t="Sólo puede seleccionar "+e.maximum+" elemento";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No se encontraron resultados"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/et.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/et",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" vähem",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" rohkem",n},loadingMore:function(){return"Laen tulemusi…"},maximumSelected:function(e){var t="Saad vaid "+e.maximum+" tulemus";return e.maximum==1?t+="e":t+="t",t+=" valida",t},noResults:function(){return"Tulemused puuduvad"},searching:function(){return"Otsin…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/eu.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/eu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Idatzi ";return t==1?n+="karaktere bat":n+=t+" karaktere",n+=" gutxiago",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Idatzi ";return t==1?n+="karaktere bat":n+=t+" karaktere",n+=" gehiago",n},loadingMore:function(){return"Emaitza gehiago kargatzen…"},maximumSelected:function(e){return e.maximum===1?"Elementu bakarra hauta dezakezu":e.maximum+" elementu hauta ditzakezu soilik"},noResults:function(){return"Ez da bat datorrenik aurkitu"},searching:function(){return"Bilatzen…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/fa.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/fa",[],function(){return{errorLoading:function(){return"امکان بارگذاری نتایج وجود ندارد."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="لطفاً "+t+" کاراکتر را حذف نمایید";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="لطفاً تعداد "+t+" کاراکتر یا بیشتر وارد نمایید";return n},loadingMore:function(){return"در حال بارگذاری نتایج بیشتر..."},maximumSelected:function(e){var t="شما تنها میتوانید "+e.maximum+" آیتم را انتخاب نمایید";return t},noResults:function(){return"هیچ نتیجهای یافت نشد"},searching:function(){return"در حال جستجو..."}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/fi.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/fi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Ole hyvä ja anna "+t+" merkkiä vähemmän"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Ole hyvä ja anna "+t+" merkkiä lisää"},loadingMore:function(){return"Ladataan lisää tuloksia…"},maximumSelected:function(e){return"Voit valita ainoastaan "+e.maximum+" kpl"},noResults:function(){return"Ei tuloksia"},searching:function(){}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/fr.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/fr",[],function(){return{errorLoading:function(){return"Les résultats ne peuvent pas être chargés."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Supprimez "+t+" caractère";return t!==1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Saisissez "+t+" caractère";return t!==1&&(n+="s"),n},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelected:function(e){var t="Vous pouvez seulement sélectionner "+e.maximum+" élément";return e.maximum!==1&&(t+="s"),t},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/gl.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/gl",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Elimine ";return t===1?n+="un carácter":n+=t+" caracteres",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Engada ";return t===1?n+="un carácter":n+=t+" caracteres",n},loadingMore:function(){return"Cargando máis resultados…"},maximumSelected:function(e){var t="Só pode ";return e.maximum===1?t+="un elemento":t+=e.maximum+" elementos",t},noResults:function(){return"Non se atoparon resultados"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/he.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/he",[],function(){return{errorLoading:function(){return"שגיאה בטעינת התוצאות"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="נא למחוק ";return t===1?n+="תו אחד":n+=t+" תווים",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="נא להכניס ";return t===1?n+="תו אחד":n+=t+" תווים",n+=" או יותר",n},loadingMore:function(){return"טוען תוצאות נוספות…"},maximumSelected:function(e){var t="באפשרותך לבחור עד ";return e.maximum===1?t+="פריט אחד":t+=e.maximum+" פריטים",t},noResults:function(){return"לא נמצאו תוצאות"},searching:function(){return"מחפש…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/hi.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/hi",[],function(){return{errorLoading:function(){return"परिणामों को लोड नहीं किया जा सका।"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" अक्षर को हटा दें";return t>1&&(n=t+" अक्षरों को हटा दें "),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="कृपया "+t+" या अधिक अक्षर दर्ज करें";return n},loadingMore:function(){return"अधिक परिणाम लोड हो रहे है..."},maximumSelected:function(e){var t="आप केवल "+e.maximum+" आइटम का चयन कर सकते हैं";return t},noResults:function(){return"कोई परिणाम नहीं मिला"},searching:function(){return"खोज रहा है..."}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/hr.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/hr",[],function(){function e(e){var t=" "+e+" znak";return e%10<5&&e%10>0&&(e%100<5||e%100>19)?e%10>1&&(t+="a"):t+="ova",t}return{errorLoading:function(){return"Preuzimanje nije uspjelo."},inputTooLong:function(t){var n=t.input.length-t.maximum;return"Unesite "+e(n)},inputTooShort:function(t){var n=t.minimum-t.input.length;return"Unesite još "+e(n)},loadingMore:function(){return"Učitavanje rezultata…"},maximumSelected:function(e){return"Maksimalan broj odabranih stavki je "+e.maximum},noResults:function(){return"Nema rezultata"},searching:function(){return"Pretraga…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/hu.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/hu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Túl hosszú. "+t+" karakterrel több, mint kellene."},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Túl rövid. Még "+t+" karakter hiányzik."},loadingMore:function(){return"Töltés…"},maximumSelected:function(e){return"Csak "+e.maximum+" elemet lehet kiválasztani."},noResults:function(){return"Nincs találat."},searching:function(){return"Keresés…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/id.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/id",[],function(){return{errorLoading:function(){return"Data tidak boleh diambil."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Hapuskan "+t+" huruf"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Masukkan "+t+" huruf lagi"},loadingMore:function(){return"Mengambil data…"},maximumSelected:function(e){return"Anda hanya dapat memilih "+e.maximum+" pilihan"},noResults:function(){return"Tidak ada data yang sesuai"},searching:function(){return"Mencari…"}}}),{define:e.define,require:e.require}})();
|
assets/js/{select2 → select300}/i18n/index.php
RENAMED
File without changes
|
assets/js/select300/i18n/is.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/is",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vinsamlegast styttið texta um "+t+" staf";return t<=1?n:n+"i"},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vinsamlegast skrifið "+t+" staf";return t>1&&(n+="i"),n+=" í viðbót",n},loadingMore:function(){return"Sæki fleiri niðurstöður…"},maximumSelected:function(e){return"Þú getur aðeins valið "+e.maximum+" atriði"},noResults:function(){return"Ekkert fannst"},searching:function(){return"Leita…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/it.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/it",[],function(){return{errorLoading:function(){return"I risultati non possono essere caricati."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Per favore cancella "+t+" caratter";return t!==1?n+="i":n+="e",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Per favore inserisci "+t+" o più caratteri";return n},loadingMore:function(){return"Caricando più risultati…"},maximumSelected:function(e){var t="Puoi selezionare solo "+e.maximum+" element";return e.maximum!==1?t+="i":t+="o",t},noResults:function(){return"Nessun risultato trovato"},searching:function(){return"Sto cercando…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/ja.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/ja",[],function(){return{errorLoading:function(){return"結果が読み込まれませんでした"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" 文字を削除してください";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="少なくとも "+t+" 文字を入力してください";return n},loadingMore:function(){return"読み込み中…"},maximumSelected:function(e){var t=e.maximum+" 件しか選択できません";return t},noResults:function(){return"対象が見つかりません"},searching:function(){return"検索しています…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/km.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/km",[],function(){return{errorLoading:function(){return"មិនអាចទាញយកទិន្នន័យ"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="សូមលុបចេញ "+t+" អក្សរ";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="សូមបញ្ចូល"+t+" អក្សរ រឺ ច្រើនជាងនេះ";return n},loadingMore:function(){return"កំពុងទាញយកទិន្នន័យបន្ថែម..."},maximumSelected:function(e){var t="អ្នកអាចជ្រើសរើសបានតែ "+e.maximum+" ជម្រើសប៉ុណ្ណោះ";return t},noResults:function(){return"មិនមានលទ្ធផល"},searching:function(){return"កំពុងស្វែងរក..."}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/ko.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/ko",[],function(){return{errorLoading:function(){return"결과를 불러올 수 없습니다."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="너무 깁니다. "+t+" 글자 지워주세요.";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="너무 짧습니다. "+t+" 글자 더 입력해주세요.";return n},loadingMore:function(){return"불러오는 중…"},maximumSelected:function(e){var t="최대 "+e.maximum+"개까지만 선택 가능합니다.";return t},noResults:function(){return"결과가 없습니다."},searching:function(){return"검색 중…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/lt.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/lt",[],function(){function e(e,t,n,r){return e%10===1&&(e%100<11||e%100>19)?t:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?n:r}return{inputTooLong:function(t){var n=t.input.length-t.maximum,r="Pašalinkite "+n+" simbol";return r+=e(n,"į","ius","ių"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Įrašykite dar "+n+" simbol";return r+=e(n,"į","ius","ių"),r},loadingMore:function(){return"Kraunama daugiau rezultatų…"},maximumSelected:function(t){var n="Jūs galite pasirinkti tik "+t.maximum+" element";return n+=e(t.maximum,"ą","us","ų"),n},noResults:function(){return"Atitikmenų nerasta"},searching:function(){return"Ieškoma…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/lv.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/lv",[],function(){function e(e,t,n,r){return e===11?t:e%10===1?n:r}return{inputTooLong:function(t){var n=t.input.length-t.maximum,r="Lūdzu ievadiet par "+n;return r+=" simbol"+e(n,"iem","u","iem"),r+" mazāk"},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Lūdzu ievadiet vēl "+n;return r+=" simbol"+e(n,"us","u","us"),r},loadingMore:function(){return"Datu ielāde…"},maximumSelected:function(t){var n="Jūs varat izvēlēties ne vairāk kā "+t.maximum;return n+=" element"+e(t.maximum,"us","u","us"),n},noResults:function(){return"Sakritību nav"},searching:function(){return"Meklēšana…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/mk.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/mk",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Ве молиме внесете "+e.maximum+" помалку карактер";return e.maximum!==1&&(n+="и"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Ве молиме внесете уште "+e.maximum+" карактер";return e.maximum!==1&&(n+="и"),n},loadingMore:function(){return"Вчитување резултати…"},maximumSelected:function(e){var t="Можете да изберете само "+e.maximum+" ставк";return e.maximum===1?t+="а":t+="и",t},noResults:function(){return"Нема пронајдено совпаѓања"},searching:function(){return"Пребарување…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/ms.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/ms",[],function(){return{errorLoading:function(){return"Keputusan tidak berjaya dimuatkan."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Sila hapuskan "+t+" aksara"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Sila masukkan "+t+" atau lebih aksara"},loadingMore:function(){return"Sedang memuatkan keputusan…"},maximumSelected:function(e){return"Anda hanya boleh memilih "+e.maximum+" pilihan"},noResults:function(){return"Tiada padanan yang ditemui"},searching:function(){return"Mencari…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/nb.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/nb",[],function(){return{errorLoading:function(){return"Kunne ikke hente resultater."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Vennligst fjern "+t+" tegn"},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vennligst skriv inn ";return t>1?n+=" flere tegn":n+=" tegn til",n},loadingMore:function(){return"Laster flere resultater…"},maximumSelected:function(e){return"Du kan velge maks "+e.maximum+" elementer"},noResults:function(){return"Ingen treff"},searching:function(){return"Søker…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/nl.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/nl",[],function(){return{errorLoading:function(){return"De resultaten konden niet worden geladen."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Gelieve "+t+" karakters te verwijderen";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Gelieve "+t+" of meer karakters in te voeren";return n},loadingMore:function(){return"Meer resultaten laden…"},maximumSelected:function(e){var t=e.maximum==1?"kan":"kunnen",n="Er "+t+" maar "+e.maximum+" item";return e.maximum!=1&&(n+="s"),n+=" worden geselecteerd",n},noResults:function(){return"Geen resultaten gevonden…"},searching:function(){return"Zoeken…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/pl.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/pl",[],function(){var e=["znak","znaki","znaków"],t=["element","elementy","elementów"],n=function(t,n){if(t===1)return n[0];if(t>1&&t<=4)return n[1];if(t>=5)return n[2]};return{errorLoading:function(){return"Nie można załadować wyników."},inputTooLong:function(t){var r=t.input.length-t.maximum;return"Usuń "+r+" "+n(r,e)},inputTooShort:function(t){var r=t.minimum-t.input.length;return"Podaj przynajmniej "+r+" "+n(r,e)},loadingMore:function(){return"Trwa ładowanie…"},maximumSelected:function(e){return"Możesz zaznaczyć tylko "+e.maximum+" "+n(e.maximum,t)},noResults:function(){return"Brak wyników"},searching:function(){return"Trwa wyszukiwanie…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/pt-BR.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/pt-BR",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Apague "+t+" caracter";return t!=1&&(n+="es"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Digite "+t+" ou mais caracteres";return n},loadingMore:function(){return"Carregando mais resultados…"},maximumSelected:function(e){var t="Você só pode selecionar "+e.maximum+" ite";return e.maximum==1?t+="m":t+="ns",t},noResults:function(){return"Nenhum resultado encontrado"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/pt.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/pt",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Por favor apague "+t+" ";return n+=t!=1?"caracteres":"carácter",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Introduza "+t+" ou mais caracteres";return n},loadingMore:function(){return"A carregar mais resultados…"},maximumSelected:function(e){var t="Apenas pode seleccionar "+e.maximum+" ";return t+=e.maximum!=1?"itens":"item",t},noResults:function(){return"Sem resultados"},searching:function(){return"A procurar…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/ro.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/ro",[],function(){return{errorLoading:function(){return"Rezultatele nu au putut fi incărcate."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vă rugăm să ștergeți"+t+" caracter";return t!==1&&(n+="e"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vă rugăm să introduceți "+t+"sau mai multe caractere";return n},loadingMore:function(){return"Se încarcă mai multe rezultate…"},maximumSelected:function(e){var t="Aveți voie să selectați cel mult "+e.maximum;return t+=" element",e.maximum!==1&&(t+="e"),t},noResults:function(){return"Nu au fost găsite rezultate"},searching:function(){return"Căutare…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/ru.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/ru",[],function(){function e(e,t,n,r){return e%10<5&&e%10>0&&e%100<5||e%100>20?e%10>1?n:t:r}return{errorLoading:function(){return"Невозможно загрузить результаты"},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Пожалуйста, введите на "+n+" символ";return r+=e(n,"","a","ов"),r+=" меньше",r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Пожалуйста, введите еще хотя бы "+n+" символ";return r+=e(n,"","a","ов"),r},loadingMore:function(){return"Загрузка данных…"},maximumSelected:function(t){var n="Вы можете выбрать не более "+t.maximum+" элемент";return n+=e(t.maximum,"","a","ов"),n},noResults:function(){return"Совпадений не найдено"},searching:function(){return"Поиск…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/sk.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/sk",[],function(){var e={2:function(e){return e?"dva":"dve"},3:function(){return"tri"},4:function(){return"štyri"}};return{inputTooLong:function(t){var n=t.input.length-t.maximum;return n==1?"Prosím, zadajte o jeden znak menej":n>=2&&n<=4?"Prosím, zadajte o "+e[n](!0)+" znaky menej":"Prosím, zadajte o "+n+" znakov menej"},inputTooShort:function(t){var n=t.minimum-t.input.length;return n==1?"Prosím, zadajte ešte jeden znak":n<=4?"Prosím, zadajte ešte ďalšie "+e[n](!0)+" znaky":"Prosím, zadajte ešte ďalších "+n+" znakov"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){return t.maximum==1?"Môžete zvoliť len jednu položku":t.maximum>=2&&t.maximum<=4?"Môžete zvoliť najviac "+e[t.maximum](!1)+" položky":"Môžete zvoliť najviac "+t.maximum+" položiek"},noResults:function(){return"Nenašli sa žiadne položky"},searching:function(){return"Vyhľadávanie…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/sr-Cyrl.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/sr-Cyrl",[],function(){function e(e,t,n,r){return e%10==1&&e%100!=11?t:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?n:r}return{errorLoading:function(){return"Преузимање није успело."},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Обришите "+n+" симбол";return r+=e(n,"","а","а"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Укуцајте бар још "+n+" симбол";return r+=e(n,"","а","а"),r},loadingMore:function(){return"Преузимање још резултата…"},maximumSelected:function(t){var n="Можете изабрати само "+t.maximum+" ставк";return n+=e(t.maximum,"у","е","и"),n},noResults:function(){return"Ништа није пронађено"},searching:function(){return"Претрага…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/sr.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/sr",[],function(){function e(e,t,n,r){return e%10==1&&e%100!=11?t:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?n:r}return{errorLoading:function(){return"Preuzimanje nije uspelo."},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Obrišite "+n+" simbol";return r+=e(n,"","a","a"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Ukucajte bar još "+n+" simbol";return r+=e(n,"","a","a"),r},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(t){var n="Možete izabrati samo "+t.maximum+" stavk";return n+=e(t.maximum,"u","e","i"),n},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/sv.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/sv",[],function(){return{errorLoading:function(){return"Resultat kunde inte laddas."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vänligen sudda ut "+t+" tecken";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vänligen skriv in "+t+" eller fler tecken";return n},loadingMore:function(){return"Laddar fler resultat…"},maximumSelected:function(e){var t="Du kan max välja "+e.maximum+" element";return t},noResults:function(){return"Inga träffar"},searching:function(){return"Söker…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/th.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/th",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="โปรดลบออก "+t+" ตัวอักษร";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="โปรดพิมพ์เพิ่มอีก "+t+" ตัวอักษร";return n},loadingMore:function(){return"กำลังค้นข้อมูลเพิ่ม…"},maximumSelected:function(e){var t="คุณสามารถเลือกได้ไม่เกิน "+e.maximum+" รายการ";return t},noResults:function(){return"ไม่พบข้อมูล"},searching:function(){return"กำลังค้นข้อมูล…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/tr.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/tr",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" karakter daha girmelisiniz";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="En az "+t+" karakter daha girmelisiniz";return n},loadingMore:function(){return"Daha fazla…"},maximumSelected:function(e){var t="Sadece "+e.maximum+" seçim yapabilirsiniz";return t},noResults:function(){return"Sonuç bulunamadı"},searching:function(){return"Aranıyor…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/uk.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/uk",[],function(){function e(e,t,n,r){return e%100>10&&e%100<15?r:e%10===1?t:e%10>1&&e%10<5?n:r}return{errorLoading:function(){return"Неможливо завантажити результати"},inputTooLong:function(t){var n=t.input.length-t.maximum;return"Будь ласка, видаліть "+n+" "+e(t.maximum,"літеру","літери","літер")},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Будь ласка, введіть "+t+" або більше літер"},loadingMore:function(){return"Завантаження інших результатів…"},maximumSelected:function(t){return"Ви можете вибрати лише "+t.maximum+" "+e(t.maximum,"пункт","пункти","пунктів")},noResults:function(){return"Нічого не знайдено"},searching:function(){return"Пошук…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/vi.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/vi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vui lòng nhập ít hơn "+t+" ký tự";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vui lòng nhập nhiều hơn "+t+' ký tự"';return n},loadingMore:function(){return"Đang lấy thêm kết quả…"},maximumSelected:function(e){var t="Chỉ có thể chọn được "+e.maximum+" lựa chọn";return t},noResults:function(){return"Không tìm thấy kết quả"},searching:function(){return"Đang tìm…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/zh-CN.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/zh-CN",[],function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="请删除"+t+"个字符";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="请再输入至少"+t+"个字符";return n},loadingMore:function(){return"载入更多结果…"},maximumSelected:function(e){var t="最多只能选择"+e.maximum+"个项目";return t},noResults:function(){return"未找到结果"},searching:function(){return"搜索中…"}}}),{define:e.define,require:e.require}})();
|
assets/js/select300/i18n/zh-TW.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/zh-TW",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="請刪掉"+t+"個字元";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="請再輸入"+t+"個字元";return n},loadingMore:function(){return"載入中…"},maximumSelected:function(e){var t="你只能選擇最多"+e.maximum+"項";return t},noResults:function(){return"沒有找到相符的項目"},searching:function(){return"搜尋中…"}}}),{define:e.define,require:e.require}})();
|
assets/js/{select2 → select300}/index.php
RENAMED
File without changes
|
assets/js/{select2/select2.js → select300/select300.js}
RENAMED
@@ -1,9 +1,9 @@
|
|
1 |
/*!
|
2 |
* Select2 4.0.3
|
3 |
-
* https://
|
4 |
*
|
5 |
* Released under the MIT license
|
6 |
-
* https://github.com/
|
7 |
*/
|
8 |
(function (factory) {
|
9 |
if (typeof define === 'function' && define.amd) {
|
@@ -24,8 +24,8 @@
|
|
24 |
(function () {
|
25 |
// Restore the Select2 AMD loader so it can be used
|
26 |
// Needed mostly in the language files, where the loader is not inserted
|
27 |
-
if (jQuery && jQuery.fn && jQuery.fn.
|
28 |
-
var S2 = jQuery.fn.
|
29 |
}
|
30 |
var S2;(function () { if (!S2 || !S2.requirejs) {
|
31 |
if (!S2) { S2 = {}; } else { require = S2; }
|
@@ -480,7 +480,7 @@ S2.define('jquery',[],function () {
|
|
480 |
return _$;
|
481 |
});
|
482 |
|
483 |
-
S2.define('
|
484 |
'jquery'
|
485 |
], function ($) {
|
486 |
var Utils = {};
|
@@ -757,7 +757,7 @@ S2.define('select2/utils',[
|
|
757 |
return Utils;
|
758 |
});
|
759 |
|
760 |
-
S2.define('
|
761 |
'jquery',
|
762 |
'./utils'
|
763 |
], function ($, Utils) {
|
@@ -773,7 +773,7 @@ S2.define('select2/results',[
|
|
773 |
|
774 |
Results.prototype.render = function () {
|
775 |
var $results = $(
|
776 |
-
'<ul class="
|
777 |
);
|
778 |
|
779 |
if (this.options.get('multiple')) {
|
@@ -797,7 +797,7 @@ S2.define('select2/results',[
|
|
797 |
|
798 |
var $message = $(
|
799 |
'<li role="treeitem" aria-live="assertive"' +
|
800 |
-
' class="
|
801 |
);
|
802 |
|
803 |
var message = this.options.get('translations').get(params.message);
|
@@ -808,13 +808,13 @@ S2.define('select2/results',[
|
|
808 |
)
|
809 |
);
|
810 |
|
811 |
-
$message[0].className += '
|
812 |
|
813 |
this.$results.append($message);
|
814 |
};
|
815 |
|
816 |
Results.prototype.hideMessages = function () {
|
817 |
-
this.$results.find('.
|
818 |
};
|
819 |
|
820 |
Results.prototype.append = function (data) {
|
@@ -846,7 +846,7 @@ S2.define('select2/results',[
|
|
846 |
};
|
847 |
|
848 |
Results.prototype.position = function ($results, $dropdown) {
|
849 |
-
var $resultsContainer = $dropdown.find('.
|
850 |
$resultsContainer.append($results);
|
851 |
};
|
852 |
|
@@ -858,7 +858,7 @@ S2.define('select2/results',[
|
|
858 |
|
859 |
Results.prototype.highlightFirstItem = function () {
|
860 |
var $options = this.$results
|
861 |
-
.find('.
|
862 |
|
863 |
var $selected = $options.filter('[aria-selected=true]');
|
864 |
|
@@ -884,7 +884,7 @@ S2.define('select2/results',[
|
|
884 |
});
|
885 |
|
886 |
var $options = self.$results
|
887 |
-
.find('.
|
888 |
|
889 |
$options.each(function () {
|
890 |
var $option = $(this);
|
@@ -927,7 +927,7 @@ S2.define('select2/results',[
|
|
927 |
|
928 |
Results.prototype.option = function (data) {
|
929 |
var option = document.createElement('li');
|
930 |
-
option.className = '
|
931 |
|
932 |
var attrs = {
|
933 |
'role': 'treeitem',
|
@@ -967,7 +967,7 @@ S2.define('select2/results',[
|
|
967 |
var $option = $(option);
|
968 |
|
969 |
var label = document.createElement('strong');
|
970 |
-
label.className = '
|
971 |
|
972 |
var $label = $(label);
|
973 |
this.template(data, label);
|
@@ -983,7 +983,7 @@ S2.define('select2/results',[
|
|
983 |
}
|
984 |
|
985 |
var $childrenContainer = $('<ul></ul>', {
|
986 |
-
'class': '
|
987 |
});
|
988 |
|
989 |
$childrenContainer.append($children);
|
@@ -1156,7 +1156,7 @@ S2.define('select2/results',[
|
|
1156 |
});
|
1157 |
|
1158 |
container.on('results:focus', function (params) {
|
1159 |
-
params.element.addClass('
|
1160 |
});
|
1161 |
|
1162 |
container.on('results:message', function (params) {
|
@@ -1188,7 +1188,7 @@ S2.define('select2/results',[
|
|
1188 |
});
|
1189 |
}
|
1190 |
|
1191 |
-
this.$results.on('mouseup', '.
|
1192 |
function (evt) {
|
1193 |
var $this = $(this);
|
1194 |
|
@@ -1213,12 +1213,12 @@ S2.define('select2/results',[
|
|
1213 |
});
|
1214 |
});
|
1215 |
|
1216 |
-
this.$results.on('mouseenter', '.
|
1217 |
function (evt) {
|
1218 |
var data = $(this).data('data');
|
1219 |
|
1220 |
self.getHighlightedResults()
|
1221 |
-
.removeClass('
|
1222 |
|
1223 |
self.trigger('results:focus', {
|
1224 |
data: data,
|
@@ -1229,7 +1229,7 @@ S2.define('select2/results',[
|
|
1229 |
|
1230 |
Results.prototype.getHighlightedResults = function () {
|
1231 |
var $highlighted = this.$results
|
1232 |
-
.find('.
|
1233 |
|
1234 |
return $highlighted;
|
1235 |
};
|
@@ -1281,7 +1281,7 @@ S2.define('select2/results',[
|
|
1281 |
return Results;
|
1282 |
});
|
1283 |
|
1284 |
-
S2.define('
|
1285 |
|
1286 |
], function () {
|
1287 |
var KEYS = {
|
@@ -1307,7 +1307,7 @@ S2.define('select2/keys',[
|
|
1307 |
return KEYS;
|
1308 |
});
|
1309 |
|
1310 |
-
S2.define('
|
1311 |
'jquery',
|
1312 |
'../utils',
|
1313 |
'../keys'
|
@@ -1323,7 +1323,7 @@ S2.define('select2/selection/base',[
|
|
1323 |
|
1324 |
BaseSelection.prototype.render = function () {
|
1325 |
var $selection = $(
|
1326 |
-
'<span class="
|
1327 |
' aria-haspopup="true" aria-expanded="false">' +
|
1328 |
'</span>'
|
1329 |
);
|
@@ -1425,12 +1425,12 @@ S2.define('select2/selection/base',[
|
|
1425 |
BaseSelection.prototype._attachCloseHandler = function (container) {
|
1426 |
var self = this;
|
1427 |
|
1428 |
-
$(document.body).on('mousedown.
|
1429 |
var $target = $(e.target);
|
1430 |
|
1431 |
-
var $select = $target.closest('.
|
1432 |
|
1433 |
-
var $all = $('.
|
1434 |
|
1435 |
$all.each(function () {
|
1436 |
var $this = $(this);
|
@@ -1441,13 +1441,13 @@ S2.define('select2/selection/base',[
|
|
1441 |
|
1442 |
var $element = $this.data('element');
|
1443 |
|
1444 |
-
$element.
|
1445 |
});
|
1446 |
});
|
1447 |
};
|
1448 |
|
1449 |
BaseSelection.prototype._detachCloseHandler = function (container) {
|
1450 |
-
$(document.body).off('mousedown.
|
1451 |
};
|
1452 |
|
1453 |
BaseSelection.prototype.position = function ($selection, $container) {
|
@@ -1466,7 +1466,7 @@ S2.define('select2/selection/base',[
|
|
1466 |
return BaseSelection;
|
1467 |
});
|
1468 |
|
1469 |
-
S2.define('
|
1470 |
'jquery',
|
1471 |
'./base',
|
1472 |
'../utils',
|
@@ -1481,11 +1481,11 @@ S2.define('select2/selection/single',[
|
|
1481 |
SingleSelection.prototype.render = function () {
|
1482 |
var $selection = SingleSelection.__super__.render.call(this);
|
1483 |
|
1484 |
-
$selection.addClass('
|
1485 |
|
1486 |
$selection.html(
|
1487 |
-
'<span class="
|
1488 |
-
'<span class="
|
1489 |
'<b role="presentation"></b>' +
|
1490 |
'</span>'
|
1491 |
);
|
@@ -1500,7 +1500,7 @@ S2.define('select2/selection/single',[
|
|
1500 |
|
1501 |
var id = container.id + '-container';
|
1502 |
|
1503 |
-
this.$selection.find('.
|
1504 |
this.$selection.attr('aria-labelledby', id);
|
1505 |
|
1506 |
this.$selection.on('mousedown', function (evt) {
|
@@ -1534,7 +1534,7 @@ S2.define('select2/selection/single',[
|
|
1534 |
};
|
1535 |
|
1536 |
SingleSelection.prototype.clear = function () {
|
1537 |
-
this.$selection.find('.
|
1538 |
};
|
1539 |
|
1540 |
SingleSelection.prototype.display = function (data, container) {
|
@@ -1556,7 +1556,7 @@ S2.define('select2/selection/single',[
|
|
1556 |
|
1557 |
var selection = data[0];
|
1558 |
|
1559 |
-
var $rendered = this.$selection.find('.
|
1560 |
var formatted = this.display(selection, $rendered);
|
1561 |
|
1562 |
$rendered.empty().append(formatted);
|
@@ -1566,7 +1566,7 @@ S2.define('select2/selection/single',[
|
|
1566 |
return SingleSelection;
|
1567 |
});
|
1568 |
|
1569 |
-
S2.define('
|
1570 |
'jquery',
|
1571 |
'./base',
|
1572 |
'../utils'
|
@@ -1580,10 +1580,10 @@ S2.define('select2/selection/multiple',[
|
|
1580 |
MultipleSelection.prototype.render = function () {
|
1581 |
var $selection = MultipleSelection.__super__.render.call(this);
|
1582 |
|
1583 |
-
$selection.addClass('
|
1584 |
|
1585 |
$selection.html(
|
1586 |
-
'<ul class="
|
1587 |
);
|
1588 |
|
1589 |
return $selection;
|
@@ -1602,7 +1602,7 @@ S2.define('select2/selection/multiple',[
|
|
1602 |
|
1603 |
this.$selection.on(
|
1604 |
'click',
|
1605 |
-
'.
|
1606 |
function (evt) {
|
1607 |
// Ignore the event if it is disabled
|
1608 |
if (self.options.get('disabled')) {
|
@@ -1623,7 +1623,7 @@ S2.define('select2/selection/multiple',[
|
|
1623 |
};
|
1624 |
|
1625 |
MultipleSelection.prototype.clear = function () {
|
1626 |
-
this.$selection.find('.
|
1627 |
};
|
1628 |
|
1629 |
MultipleSelection.prototype.display = function (data, container) {
|
@@ -1635,8 +1635,8 @@ S2.define('select2/selection/multiple',[
|
|
1635 |
|
1636 |
MultipleSelection.prototype.selectionContainer = function () {
|
1637 |
var $container = $(
|
1638 |
-
'<li class="
|
1639 |
-
'<span class="
|
1640 |
'×' +
|
1641 |
'</span>' +
|
1642 |
'</li>'
|
@@ -1668,7 +1668,7 @@ S2.define('select2/selection/multiple',[
|
|
1668 |
$selections.push($selection);
|
1669 |
}
|
1670 |
|
1671 |
-
var $rendered = this.$selection.find('.
|
1672 |
|
1673 |
Utils.appendMany($rendered, $selections);
|
1674 |
};
|
@@ -1676,7 +1676,7 @@ S2.define('select2/selection/multiple',[
|
|
1676 |
return MultipleSelection;
|
1677 |
});
|
1678 |
|
1679 |
-
S2.define('
|
1680 |
'../utils'
|
1681 |
], function (Utils) {
|
1682 |
function Placeholder (decorated, $element, options) {
|
@@ -1700,8 +1700,8 @@ S2.define('select2/selection/placeholder',[
|
|
1700 |
var $placeholder = this.selectionContainer();
|
1701 |
|
1702 |
$placeholder.html(this.display(placeholder));
|
1703 |
-
$placeholder.addClass('
|
1704 |
-
.removeClass('
|
1705 |
|
1706 |
return $placeholder;
|
1707 |
};
|
@@ -1720,13 +1720,13 @@ S2.define('select2/selection/placeholder',[
|
|
1720 |
|
1721 |
var $placeholder = this.createPlaceholder(this.placeholder);
|
1722 |
|
1723 |
-
this.$selection.find('.
|
1724 |
};
|
1725 |
|
1726 |
return Placeholder;
|
1727 |
});
|
1728 |
|
1729 |
-
S2.define('
|
1730 |
'jquery',
|
1731 |
'../keys'
|
1732 |
], function ($, KEYS) {
|
@@ -1746,7 +1746,7 @@ S2.define('select2/selection/allowClear',[
|
|
1746 |
}
|
1747 |
}
|
1748 |
|
1749 |
-
this.$selection.on('mousedown', '.
|
1750 |
function (evt) {
|
1751 |
self._handleClear(evt);
|
1752 |
});
|
@@ -1762,7 +1762,7 @@ S2.define('select2/selection/allowClear',[
|
|
1762 |
return;
|
1763 |
}
|
1764 |
|
1765 |
-
var $clear = this.$selection.find('.
|
1766 |
|
1767 |
// Ignore the event if nothing has been selected
|
1768 |
if ($clear.length === 0) {
|
@@ -1806,25 +1806,25 @@ S2.define('select2/selection/allowClear',[
|
|
1806 |
AllowClear.prototype.update = function (decorated, data) {
|
1807 |
decorated.call(this, data);
|
1808 |
|
1809 |
-
if (this.$selection.find('.
|
1810 |
data.length === 0) {
|
1811 |
return;
|
1812 |
}
|
1813 |
|
1814 |
var $remove = $(
|
1815 |
-
'<span class="
|
1816 |
'×' +
|
1817 |
'</span>'
|
1818 |
);
|
1819 |
$remove.data('data', data);
|
1820 |
|
1821 |
-
this.$selection.find('.
|
1822 |
};
|
1823 |
|
1824 |
return AllowClear;
|
1825 |
});
|
1826 |
|
1827 |
-
S2.define('
|
1828 |
'jquery',
|
1829 |
'../utils',
|
1830 |
'../keys'
|
@@ -1835,8 +1835,8 @@ S2.define('select2/selection/search',[
|
|
1835 |
|
1836 |
Search.prototype.render = function (decorated) {
|
1837 |
var $search = $(
|
1838 |
-
'<li class="
|
1839 |
-
'<input class="
|
1840 |
' autocomplete="off" autocorrect="off" autocapitalize="off"' +
|
1841 |
' spellcheck="false" role="textbox" aria-autocomplete="list" />' +
|
1842 |
'</li>'
|
@@ -1885,15 +1885,15 @@ S2.define('select2/selection/search',[
|
|
1885 |
self.$search.attr('aria-activedescendant', params.id);
|
1886 |
});
|
1887 |
|
1888 |
-
this.$selection.on('focusin', '.
|
1889 |
self.trigger('focus', evt);
|
1890 |
});
|
1891 |
|
1892 |
-
this.$selection.on('focusout', '.
|
1893 |
self._handleBlur(evt);
|
1894 |
});
|
1895 |
|
1896 |
-
this.$selection.on('keydown', '.
|
1897 |
evt.stopPropagation();
|
1898 |
|
1899 |
self.trigger('keypress', evt);
|
@@ -1904,7 +1904,7 @@ S2.define('select2/selection/search',[
|
|
1904 |
|
1905 |
if (key === KEYS.BACKSPACE && self.$search.val() === '') {
|
1906 |
var $previousChoice = self.$searchContainer
|
1907 |
-
.prev('.
|
1908 |
|
1909 |
if ($previousChoice.length > 0) {
|
1910 |
var item = $previousChoice.data('data');
|
@@ -1929,7 +1929,7 @@ S2.define('select2/selection/search',[
|
|
1929 |
// both the `keyup` and `input` events.
|
1930 |
this.$selection.on(
|
1931 |
'input.searchcheck',
|
1932 |
-
'.
|
1933 |
function (evt) {
|
1934 |
// IE will trigger the `input` event when a placeholder is used on a
|
1935 |
// search box. To get around this issue, we are forced to ignore all
|
@@ -1946,7 +1946,7 @@ S2.define('select2/selection/search',[
|
|
1946 |
|
1947 |
this.$selection.on(
|
1948 |
'keyup.search input.search',
|
1949 |
-
'.
|
1950 |
function (evt) {
|
1951 |
// IE will trigger the `input` event when a placeholder is used on a
|
1952 |
// search box. To get around this issue, we are forced to ignore all
|
@@ -1996,7 +1996,7 @@ S2.define('select2/selection/search',[
|
|
1996 |
|
1997 |
decorated.call(this, data);
|
1998 |
|
1999 |
-
this.$selection.find('.
|
2000 |
.append(this.$searchContainer);
|
2001 |
|
2002 |
this.resizeSearch();
|
@@ -2034,7 +2034,7 @@ S2.define('select2/selection/search',[
|
|
2034 |
var width = '';
|
2035 |
|
2036 |
if (this.$search.attr('placeholder') !== '') {
|
2037 |
-
width = this.$selection.find('.
|
2038 |
} else {
|
2039 |
var minimumWidth = this.$search.val().length + 1;
|
2040 |
|
@@ -2047,7 +2047,7 @@ S2.define('select2/selection/search',[
|
|
2047 |
return Search;
|
2048 |
});
|
2049 |
|
2050 |
-
S2.define('
|
2051 |
'jquery'
|
2052 |
], function ($) {
|
2053 |
function EventRelay () { }
|
@@ -2075,7 +2075,7 @@ S2.define('select2/selection/eventRelay',[
|
|
2075 |
params = params || {};
|
2076 |
|
2077 |
// Generate the jQuery event for the Select2 event
|
2078 |
-
var evt = $.Event('
|
2079 |
params: params
|
2080 |
});
|
2081 |
|
@@ -2093,7 +2093,7 @@ S2.define('select2/selection/eventRelay',[
|
|
2093 |
return EventRelay;
|
2094 |
});
|
2095 |
|
2096 |
-
S2.define('
|
2097 |
'jquery',
|
2098 |
'require'
|
2099 |
], function ($, require) {
|
@@ -2130,7 +2130,7 @@ S2.define('select2/translation',[
|
|
2130 |
return Translation;
|
2131 |
});
|
2132 |
|
2133 |
-
S2.define('
|
2134 |
|
2135 |
], function () {
|
2136 |
var diacritics = {
|
@@ -2978,7 +2978,7 @@ S2.define('select2/diacritics',[
|
|
2978 |
return diacritics;
|
2979 |
});
|
2980 |
|
2981 |
-
S2.define('
|
2982 |
'../utils'
|
2983 |
], function (Utils) {
|
2984 |
function BaseAdapter ($element, options) {
|
@@ -3019,7 +3019,7 @@ S2.define('select2/data/base',[
|
|
3019 |
return BaseAdapter;
|
3020 |
});
|
3021 |
|
3022 |
-
S2.define('
|
3023 |
'./base',
|
3024 |
'../utils',
|
3025 |
'jquery'
|
@@ -3305,7 +3305,7 @@ S2.define('select2/data/select',[
|
|
3305 |
return SelectAdapter;
|
3306 |
});
|
3307 |
|
3308 |
-
S2.define('
|
3309 |
'./select',
|
3310 |
'../utils',
|
3311 |
'jquery'
|
@@ -3385,7 +3385,7 @@ S2.define('select2/data/array',[
|
|
3385 |
return ArrayAdapter;
|
3386 |
});
|
3387 |
|
3388 |
-
S2.define('
|
3389 |
'./array',
|
3390 |
'../utils',
|
3391 |
'jquery'
|
@@ -3495,7 +3495,7 @@ S2.define('select2/data/ajax',[
|
|
3495 |
return AjaxAdapter;
|
3496 |
});
|
3497 |
|
3498 |
-
S2.define('
|
3499 |
'jquery'
|
3500 |
], function ($) {
|
3501 |
function Tags (decorated, $element, options) {
|
@@ -3572,7 +3572,7 @@ S2.define('select2/data/tags',[
|
|
3572 |
|
3573 |
if (tag != null) {
|
3574 |
var $option = self.option(tag);
|
3575 |
-
$option.attr('data-
|
3576 |
|
3577 |
self.addOptions([$option]);
|
3578 |
|
@@ -3607,7 +3607,7 @@ S2.define('select2/data/tags',[
|
|
3607 |
Tags.prototype._removeOldTags = function (_) {
|
3608 |
var tag = this._lastTag;
|
3609 |
|
3610 |
-
var $options = this.$element.find('option[data-
|
3611 |
|
3612 |
$options.each(function () {
|
3613 |
if (this.selected) {
|
@@ -3621,7 +3621,7 @@ S2.define('select2/data/tags',[
|
|
3621 |
return Tags;
|
3622 |
});
|
3623 |
|
3624 |
-
S2.define('
|
3625 |
'jquery'
|
3626 |
], function ($) {
|
3627 |
function Tokenizer (decorated, $element, options) {
|
@@ -3638,7 +3638,7 @@ S2.define('select2/data/tokenizer',[
|
|
3638 |
decorated.call(this, container, $container);
|
3639 |
|
3640 |
this.$search = container.dropdown.$search || container.selection.$search ||
|
3641 |
-
$container.find('.
|
3642 |
};
|
3643 |
|
3644 |
Tokenizer.prototype.query = function (decorated, params, callback) {
|
@@ -3657,7 +3657,7 @@ S2.define('select2/data/tokenizer',[
|
|
3657 |
// If an existing option wasn't found for it, create the option
|
3658 |
if (!$existingOptions.length) {
|
3659 |
var $option = self.option(item);
|
3660 |
-
$option.attr('data-
|
3661 |
|
3662 |
self._removeOldTags();
|
3663 |
self.addOptions([$option]);
|
@@ -3738,7 +3738,7 @@ S2.define('select2/data/tokenizer',[
|
|
3738 |
return Tokenizer;
|
3739 |
});
|
3740 |
|
3741 |
-
S2.define('
|
3742 |
|
3743 |
], function () {
|
3744 |
function MinimumInputLength (decorated, $e, options) {
|
@@ -3769,7 +3769,7 @@ S2.define('select2/data/minimumInputLength',[
|
|
3769 |
return MinimumInputLength;
|
3770 |
});
|
3771 |
|
3772 |
-
S2.define('
|
3773 |
|
3774 |
], function () {
|
3775 |
function MaximumInputLength (decorated, $e, options) {
|
@@ -3801,7 +3801,7 @@ S2.define('select2/data/maximumInputLength',[
|
|
3801 |
return MaximumInputLength;
|
3802 |
});
|
3803 |
|
3804 |
-
S2.define('
|
3805 |
|
3806 |
], function (){
|
3807 |
function MaximumSelectionLength (decorated, $e, options) {
|
@@ -3833,7 +3833,7 @@ S2.define('select2/data/maximumSelectionLength',[
|
|
3833 |
return MaximumSelectionLength;
|
3834 |
});
|
3835 |
|
3836 |
-
S2.define('
|
3837 |
'jquery',
|
3838 |
'./utils'
|
3839 |
], function ($, Utils) {
|
@@ -3848,8 +3848,8 @@ S2.define('select2/dropdown',[
|
|
3848 |
|
3849 |
Dropdown.prototype.render = function () {
|
3850 |
var $dropdown = $(
|
3851 |
-
'<span class="
|
3852 |
-
'<span class="
|
3853 |
'</span>'
|
3854 |
);
|
3855 |
|
@@ -3876,7 +3876,7 @@ S2.define('select2/dropdown',[
|
|
3876 |
return Dropdown;
|
3877 |
});
|
3878 |
|
3879 |
-
S2.define('
|
3880 |
'jquery',
|
3881 |
'../utils'
|
3882 |
], function ($, Utils) {
|
@@ -3886,8 +3886,8 @@ S2.define('select2/dropdown/search',[
|
|
3886 |
var $rendered = decorated.call(this);
|
3887 |
|
3888 |
var $search = $(
|
3889 |
-
'<span class="
|
3890 |
-
'<input class="
|
3891 |
' autocomplete="off" autocorrect="off" autocapitalize="off"' +
|
3892 |
' spellcheck="false" role="textbox" />' +
|
3893 |
'</span>'
|
@@ -3951,9 +3951,9 @@ S2.define('select2/dropdown/search',[
|
|
3951 |
var showSearch = self.showSearch(params);
|
3952 |
|
3953 |
if (showSearch) {
|
3954 |
-
self.$searchContainer.removeClass('
|
3955 |
} else {
|
3956 |
-
self.$searchContainer.addClass('
|
3957 |
}
|
3958 |
}
|
3959 |
});
|
@@ -3978,7 +3978,7 @@ S2.define('select2/dropdown/search',[
|
|
3978 |
return Search;
|
3979 |
});
|
3980 |
|
3981 |
-
S2.define('
|
3982 |
|
3983 |
], function () {
|
3984 |
function HidePlaceholder (decorated, $element, options, dataAdapter) {
|
@@ -4021,7 +4021,7 @@ S2.define('select2/dropdown/hidePlaceholder',[
|
|
4021 |
return HidePlaceholder;
|
4022 |
});
|
4023 |
|
4024 |
-
S2.define('
|
4025 |
'jquery'
|
4026 |
], function ($) {
|
4027 |
function InfiniteScroll (decorated, $element, options, dataAdapter) {
|
@@ -4097,7 +4097,7 @@ S2.define('select2/dropdown/infiniteScroll',[
|
|
4097 |
InfiniteScroll.prototype.createLoadingMore = function () {
|
4098 |
var $option = $(
|
4099 |
'<li ' +
|
4100 |
-
'class="
|
4101 |
'role="treeitem" aria-disabled="true"></li>'
|
4102 |
);
|
4103 |
|
@@ -4111,7 +4111,7 @@ S2.define('select2/dropdown/infiniteScroll',[
|
|
4111 |
return InfiniteScroll;
|
4112 |
});
|
4113 |
|
4114 |
-
S2.define('
|
4115 |
'jquery',
|
4116 |
'../utils'
|
4117 |
], function ($, Utils) {
|
@@ -4167,8 +4167,8 @@ S2.define('select2/dropdown/attachBody',[
|
|
4167 |
// Clone all of the container classes
|
4168 |
$dropdown.attr('class', $container.attr('class'));
|
4169 |
|
4170 |
-
$dropdown.removeClass('
|
4171 |
-
$dropdown.addClass('
|
4172 |
|
4173 |
$dropdown.css({
|
4174 |
position: 'absolute',
|
@@ -4197,20 +4197,20 @@ S2.define('select2/dropdown/attachBody',[
|
|
4197 |
function (decorated, container) {
|
4198 |
var self = this;
|
4199 |
|
4200 |
-
var scrollEvent = 'scroll.
|
4201 |
-
var resizeEvent = 'resize.
|
4202 |
-
var orientationEvent = 'orientationchange.
|
4203 |
|
4204 |
var $watchers = this.$container.parents().filter(Utils.hasScroll);
|
4205 |
$watchers.each(function () {
|
4206 |
-
$(this).data('
|
4207 |
x: $(this).scrollLeft(),
|
4208 |
y: $(this).scrollTop()
|
4209 |
});
|
4210 |
});
|
4211 |
|
4212 |
$watchers.on(scrollEvent, function (ev) {
|
4213 |
-
var position = $(this).data('
|
4214 |
$(this).scrollTop(position.y);
|
4215 |
});
|
4216 |
|
@@ -4223,9 +4223,9 @@ S2.define('select2/dropdown/attachBody',[
|
|
4223 |
|
4224 |
AttachBody.prototype._detachPositioningHandler =
|
4225 |
function (decorated, container) {
|
4226 |
-
var scrollEvent = 'scroll.
|
4227 |
-
var resizeEvent = 'resize.
|
4228 |
-
var orientationEvent = 'orientationchange.
|
4229 |
|
4230 |
var $watchers = this.$container.parents().filter(Utils.hasScroll);
|
4231 |
$watchers.off(scrollEvent);
|
@@ -4236,8 +4236,8 @@ S2.define('select2/dropdown/attachBody',[
|
|
4236 |
AttachBody.prototype._positionDropdown = function () {
|
4237 |
var $window = $(window);
|
4238 |
|
4239 |
-
var isCurrentlyAbove = this.$dropdown.hasClass('
|
4240 |
-
var isCurrentlyBelow = this.$dropdown.hasClass('
|
4241 |
|
4242 |
var newDirection = null;
|
4243 |
|
@@ -4300,11 +4300,11 @@ S2.define('select2/dropdown/attachBody',[
|
|
4300 |
|
4301 |
if (newDirection != null) {
|
4302 |
this.$dropdown
|
4303 |
-
.removeClass('
|
4304 |
-
.addClass('
|
4305 |
this.$container
|
4306 |
-
.removeClass('
|
4307 |
-
.addClass('
|
4308 |
}
|
4309 |
|
4310 |
this.$dropdownContainer.css(css);
|
@@ -4334,7 +4334,7 @@ S2.define('select2/dropdown/attachBody',[
|
|
4334 |
return AttachBody;
|
4335 |
});
|
4336 |
|
4337 |
-
S2.define('
|
4338 |
|
4339 |
], function () {
|
4340 |
function countResults (data) {
|
@@ -4374,7 +4374,7 @@ S2.define('select2/dropdown/minimumResultsForSearch',[
|
|
4374 |
return MinimumResultsForSearch;
|
4375 |
});
|
4376 |
|
4377 |
-
S2.define('
|
4378 |
|
4379 |
], function () {
|
4380 |
function SelectOnClose () { }
|
@@ -4425,7 +4425,7 @@ S2.define('select2/dropdown/selectOnClose',[
|
|
4425 |
return SelectOnClose;
|
4426 |
});
|
4427 |
|
4428 |
-
S2.define('
|
4429 |
|
4430 |
], function () {
|
4431 |
function CloseOnSelect () { }
|
@@ -4461,7 +4461,7 @@ S2.define('select2/dropdown/closeOnSelect',[
|
|
4461 |
return CloseOnSelect;
|
4462 |
});
|
4463 |
|
4464 |
-
S2.define('
|
4465 |
// English
|
4466 |
return {
|
4467 |
errorLoading: function () {
|
@@ -4506,7 +4506,7 @@ S2.define('select2/i18n/en',[],function () {
|
|
4506 |
};
|
4507 |
});
|
4508 |
|
4509 |
-
S2.define('
|
4510 |
'jquery',
|
4511 |
'require',
|
4512 |
|
@@ -4903,7 +4903,7 @@ S2.define('select2/defaults',[
|
|
4903 |
return defaults;
|
4904 |
});
|
4905 |
|
4906 |
-
S2.define('
|
4907 |
'require',
|
4908 |
'jquery',
|
4909 |
'./defaults',
|
@@ -4929,7 +4929,7 @@ S2.define('select2/options',[
|
|
4929 |
}
|
4930 |
|
4931 |
Options.prototype.fromElement = function ($e) {
|
4932 |
-
var excludedData = ['
|
4933 |
|
4934 |
if (this.options.multiple == null) {
|
4935 |
this.options.multiple = $e.prop('multiple');
|
@@ -4960,16 +4960,16 @@ S2.define('select2/options',[
|
|
4960 |
$e.prop('disabled', this.options.disabled);
|
4961 |
$e.prop('multiple', this.options.multiple);
|
4962 |
|
4963 |
-
if ($e.data('
|
4964 |
if (this.options.debug && window.console && console.warn) {
|
4965 |
console.warn(
|
4966 |
-
'Select2: The `data-
|
4967 |
'use the `data-data` and `data-tags="true"` attributes and will be ' +
|
4968 |
'removed in future versions of Select2.'
|
4969 |
);
|
4970 |
}
|
4971 |
|
4972 |
-
$e.data('data', $e.data('
|
4973 |
$e.data('tags', true);
|
4974 |
}
|
4975 |
|
@@ -5026,15 +5026,15 @@ S2.define('select2/options',[
|
|
5026 |
return Options;
|
5027 |
});
|
5028 |
|
5029 |
-
S2.define('
|
5030 |
'jquery',
|
5031 |
'./options',
|
5032 |
'./utils',
|
5033 |
'./keys'
|
5034 |
], function ($, Options, Utils, KEYS) {
|
5035 |
var Select2 = function ($element, options) {
|
5036 |
-
if ($element.data('
|
5037 |
-
$element.data('
|
5038 |
}
|
5039 |
|
5040 |
this.$element = $element;
|
@@ -5105,13 +5105,13 @@ S2.define('select2/core',[
|
|
5105 |
});
|
5106 |
|
5107 |
// Hide the original select
|
5108 |
-
$element.addClass('
|
5109 |
$element.attr('aria-hidden', 'true');
|
5110 |
|
5111 |
// Synchronize any monitored attributes
|
5112 |
this._syncAttributes();
|
5113 |
|
5114 |
-
$element.data('
|
5115 |
};
|
5116 |
|
5117 |
Utils.Extend(Select2, Utils.Observable);
|
@@ -5128,7 +5128,7 @@ S2.define('select2/core',[
|
|
5128 |
}
|
5129 |
|
5130 |
id = id.replace(/(:|\.|\[|\]|,)/g, '');
|
5131 |
-
id = '
|
5132 |
|
5133 |
return id;
|
5134 |
};
|
@@ -5201,7 +5201,7 @@ S2.define('select2/core',[
|
|
5201 |
Select2.prototype._registerDomEvents = function () {
|
5202 |
var self = this;
|
5203 |
|
5204 |
-
this.$element.on('change.
|
5205 |
self.dataAdapter.current(function (data) {
|
5206 |
self.trigger('selection:update', {
|
5207 |
data: data
|
@@ -5209,7 +5209,7 @@ S2.define('select2/core',[
|
|
5209 |
});
|
5210 |
});
|
5211 |
|
5212 |
-
this.$element.on('focus.
|
5213 |
self.trigger('focus', evt);
|
5214 |
});
|
5215 |
|
@@ -5303,23 +5303,23 @@ S2.define('select2/core',[
|
|
5303 |
var self = this;
|
5304 |
|
5305 |
this.on('open', function () {
|
5306 |
-
self.$container.addClass('
|
5307 |
});
|
5308 |
|
5309 |
this.on('close', function () {
|
5310 |
-
self.$container.removeClass('
|
5311 |
});
|
5312 |
|
5313 |
this.on('enable', function () {
|
5314 |
-
self.$container.removeClass('
|
5315 |
});
|
5316 |
|
5317 |
this.on('disable', function () {
|
5318 |
-
self.$container.addClass('
|
5319 |
});
|
5320 |
|
5321 |
this.on('blur', function () {
|
5322 |
-
self.$container.removeClass('
|
5323 |
});
|
5324 |
|
5325 |
this.on('query', function (params) {
|
@@ -5501,11 +5501,11 @@ S2.define('select2/core',[
|
|
5501 |
};
|
5502 |
|
5503 |
Select2.prototype.isOpen = function () {
|
5504 |
-
return this.$container.hasClass('
|
5505 |
};
|
5506 |
|
5507 |
Select2.prototype.hasFocus = function () {
|
5508 |
-
return this.$container.hasClass('
|
5509 |
};
|
5510 |
|
5511 |
Select2.prototype.focus = function (data) {
|
@@ -5514,14 +5514,14 @@ S2.define('select2/core',[
|
|
5514 |
return;
|
5515 |
}
|
5516 |
|
5517 |
-
this.$container.addClass('
|
5518 |
this.trigger('focus', {});
|
5519 |
};
|
5520 |
|
5521 |
Select2.prototype.enable = function (args) {
|
5522 |
if (this.options.get('debug') && window.console && console.warn) {
|
5523 |
console.warn(
|
5524 |
-
'Select2: The `
|
5525 |
' be removed in later Select2 versions. Use $element.prop("disabled")' +
|
5526 |
' instead.'
|
5527 |
);
|
@@ -5540,7 +5540,7 @@ S2.define('select2/core',[
|
|
5540 |
if (this.options.get('debug') &&
|
5541 |
arguments.length > 0 && window.console && console.warn) {
|
5542 |
console.warn(
|
5543 |
-
'Select2: Data can no longer be set using `
|
5544 |
'should consider setting the value instead using `$element.val()`.'
|
5545 |
);
|
5546 |
}
|
@@ -5557,7 +5557,7 @@ S2.define('select2/core',[
|
|
5557 |
Select2.prototype.val = function (args) {
|
5558 |
if (this.options.get('debug') && window.console && console.warn) {
|
5559 |
console.warn(
|
5560 |
-
'Select2: The `
|
5561 |
' removed in later Select2 versions. Use $element.val() instead.'
|
5562 |
);
|
5563 |
}
|
@@ -5599,12 +5599,12 @@ S2.define('select2/core',[
|
|
5599 |
this._syncA = null;
|
5600 |
this._syncS = null;
|
5601 |
|
5602 |
-
this.$element.off('.
|
5603 |
this.$element.attr('tabindex', this.$element.data('old-tabindex'));
|
5604 |
|
5605 |
-
this.$element.removeClass('
|
5606 |
this.$element.attr('aria-hidden', 'false');
|
5607 |
-
this.$element.removeData('
|
5608 |
|
5609 |
this.dataAdapter.destroy();
|
5610 |
this.selection.destroy();
|
@@ -5619,7 +5619,7 @@ S2.define('select2/core',[
|
|
5619 |
|
5620 |
Select2.prototype.render = function () {
|
5621 |
var $container = $(
|
5622 |
-
'<span class="
|
5623 |
'<span class="selection"></span>' +
|
5624 |
'<span class="dropdown-wrapper" aria-hidden="true"></span>' +
|
5625 |
'</span>'
|
@@ -5629,7 +5629,7 @@ S2.define('select2/core',[
|
|
5629 |
|
5630 |
this.$container = $container;
|
5631 |
|
5632 |
-
this.$container.addClass('
|
5633 |
|
5634 |
$container.data('element', this.$element);
|
5635 |
|
@@ -5646,18 +5646,18 @@ S2.define('jquery-mousewheel',[
|
|
5646 |
return $;
|
5647 |
});
|
5648 |
|
5649 |
-
S2.define('jquery.
|
5650 |
'jquery',
|
5651 |
'jquery-mousewheel',
|
5652 |
|
5653 |
-
'./
|
5654 |
-
'./
|
5655 |
], function ($, _, Select2, Defaults) {
|
5656 |
-
if ($.fn.
|
5657 |
// All methods that should return the element
|
5658 |
var thisMethods = ['open', 'close', 'destroy'];
|
5659 |
|
5660 |
-
$.fn.
|
5661 |
options = options || {};
|
5662 |
|
5663 |
if (typeof options === 'object') {
|
@@ -5673,11 +5673,11 @@ S2.define('jquery.select2',[
|
|
5673 |
var args = Array.prototype.slice.call(arguments, 1);
|
5674 |
|
5675 |
this.each(function () {
|
5676 |
-
var instance = $(this).data('
|
5677 |
|
5678 |
if (instance == null && window.console && console.error) {
|
5679 |
console.error(
|
5680 |
-
'The
|
5681 |
'element that is not using Select2.'
|
5682 |
);
|
5683 |
}
|
@@ -5697,8 +5697,8 @@ S2.define('jquery.select2',[
|
|
5697 |
};
|
5698 |
}
|
5699 |
|
5700 |
-
if ($.fn.
|
5701 |
-
$.fn.
|
5702 |
}
|
5703 |
|
5704 |
return Select2;
|
@@ -5713,13 +5713,13 @@ S2.define('jquery.select2',[
|
|
5713 |
|
5714 |
// Autoload the jQuery bindings
|
5715 |
// We know that all of the modules exist above this, so we're safe
|
5716 |
-
var
|
5717 |
|
5718 |
// Hold the AMD module references on the jQuery function that was just loaded
|
5719 |
// This allows Select2 to use the internal loader outside of this file, such
|
5720 |
// as in the language files.
|
5721 |
-
jQuery.fn.
|
5722 |
|
5723 |
// Return the Select2 instance for anyone who is importing it.
|
5724 |
-
return
|
5725 |
}));
|
1 |
/*!
|
2 |
* Select2 4.0.3
|
3 |
+
* https://select300.github.io
|
4 |
*
|
5 |
* Released under the MIT license
|
6 |
+
* https://github.com/select300/select300/blob/master/LICENSE.md
|
7 |
*/
|
8 |
(function (factory) {
|
9 |
if (typeof define === 'function' && define.amd) {
|
24 |
(function () {
|
25 |
// Restore the Select2 AMD loader so it can be used
|
26 |
// Needed mostly in the language files, where the loader is not inserted
|
27 |
+
if (jQuery && jQuery.fn && jQuery.fn.select300 && jQuery.fn.select300.amd) {
|
28 |
+
var S2 = jQuery.fn.select300.amd;
|
29 |
}
|
30 |
var S2;(function () { if (!S2 || !S2.requirejs) {
|
31 |
if (!S2) { S2 = {}; } else { require = S2; }
|
480 |
return _$;
|
481 |
});
|
482 |
|
483 |
+
S2.define('select300/utils',[
|
484 |
'jquery'
|
485 |
], function ($) {
|
486 |
var Utils = {};
|
757 |
return Utils;
|
758 |
});
|
759 |
|
760 |
+
S2.define('select300/results',[
|
761 |
'jquery',
|
762 |
'./utils'
|
763 |
], function ($, Utils) {
|
773 |
|
774 |
Results.prototype.render = function () {
|
775 |
var $results = $(
|
776 |
+
'<ul class="select300-results__options" role="tree"></ul>'
|
777 |
);
|
778 |
|
779 |
if (this.options.get('multiple')) {
|
797 |
|
798 |
var $message = $(
|
799 |
'<li role="treeitem" aria-live="assertive"' +
|
800 |
+
' class="select300-results__option"></li>'
|
801 |
);
|
802 |
|
803 |
var message = this.options.get('translations').get(params.message);
|
808 |
)
|
809 |
);
|
810 |
|
811 |
+
$message[0].className += ' select300-results__message';
|
812 |
|
813 |
this.$results.append($message);
|
814 |
};
|
815 |
|
816 |
Results.prototype.hideMessages = function () {
|
817 |
+
this.$results.find('.select300-results__message').remove();
|
818 |
};
|
819 |
|
820 |
Results.prototype.append = function (data) {
|
846 |
};
|
847 |
|
848 |
Results.prototype.position = function ($results, $dropdown) {
|
849 |
+
var $resultsContainer = $dropdown.find('.select300-results');
|
850 |
$resultsContainer.append($results);
|
851 |
};
|
852 |
|
858 |
|
859 |
Results.prototype.highlightFirstItem = function () {
|
860 |
var $options = this.$results
|
861 |
+
.find('.select300-results__option[aria-selected]');
|
862 |
|
863 |
var $selected = $options.filter('[aria-selected=true]');
|
864 |
|
884 |
});
|
885 |
|
886 |
var $options = self.$results
|
887 |
+
.find('.select300-results__option[aria-selected]');
|
888 |
|
889 |
$options.each(function () {
|
890 |
var $option = $(this);
|
927 |
|
928 |
Results.prototype.option = function (data) {
|
929 |
var option = document.createElement('li');
|
930 |
+
option.className = 'select300-results__option';
|
931 |
|
932 |
var attrs = {
|
933 |
'role': 'treeitem',
|
967 |
var $option = $(option);
|
968 |
|
969 |
var label = document.createElement('strong');
|
970 |
+
label.className = 'select300-results__group';
|
971 |
|
972 |
var $label = $(label);
|
973 |
this.template(data, label);
|
983 |
}
|
984 |
|
985 |
var $childrenContainer = $('<ul></ul>', {
|
986 |
+
'class': 'select300-results__options select300-results__options--nested'
|
987 |
});
|
988 |
|
989 |
$childrenContainer.append($children);
|
1156 |
});
|
1157 |
|
1158 |
container.on('results:focus', function (params) {
|
1159 |
+
params.element.addClass('select300-results__option--highlighted');
|
1160 |
});
|
1161 |
|
1162 |
container.on('results:message', function (params) {
|
1188 |
});
|
1189 |
}
|
1190 |
|
1191 |
+
this.$results.on('mouseup', '.select300-results__option[aria-selected]',
|
1192 |
function (evt) {
|
1193 |
var $this = $(this);
|
1194 |
|
1213 |
});
|
1214 |
});
|
1215 |
|
1216 |
+
this.$results.on('mouseenter', '.select300-results__option[aria-selected]',
|
1217 |
function (evt) {
|
1218 |
var data = $(this).data('data');
|
1219 |
|
1220 |
self.getHighlightedResults()
|
1221 |
+
.removeClass('select300-results__option--highlighted');
|
1222 |
|
1223 |
self.trigger('results:focus', {
|
1224 |
data: data,
|
1229 |
|
1230 |
Results.prototype.getHighlightedResults = function () {
|
1231 |
var $highlighted = this.$results
|
1232 |
+
.find('.select300-results__option--highlighted');
|
1233 |
|
1234 |
return $highlighted;
|
1235 |
};
|
1281 |
return Results;
|
1282 |
});
|
1283 |
|
1284 |
+
S2.define('select300/keys',[
|
1285 |
|
1286 |
], function () {
|
1287 |
var KEYS = {
|
1307 |
return KEYS;
|
1308 |
});
|
1309 |
|
1310 |
+
S2.define('select300/selection/base',[
|
1311 |
'jquery',
|
1312 |
'../utils',
|
1313 |
'../keys'
|
1323 |
|
1324 |
BaseSelection.prototype.render = function () {
|
1325 |
var $selection = $(
|
1326 |
+
'<span class="select300-selection" role="combobox" ' +
|
1327 |
' aria-haspopup="true" aria-expanded="false">' +
|
1328 |
'</span>'
|
1329 |
);
|
1425 |
BaseSelection.prototype._attachCloseHandler = function (container) {
|
1426 |
var self = this;
|
1427 |
|
1428 |
+
$(document.body).on('mousedown.select300.' + container.id, function (e) {
|
1429 |
var $target = $(e.target);
|
1430 |
|
1431 |
+
var $select = $target.closest('.select300');
|
1432 |
|
1433 |
+
var $all = $('.select300.select300-container--open');
|
1434 |
|
1435 |
$all.each(function () {
|
1436 |
var $this = $(this);
|
1441 |
|
1442 |
var $element = $this.data('element');
|
1443 |
|
1444 |
+
$element.select300('close');
|
1445 |
});
|
1446 |
});
|
1447 |
};
|
1448 |
|
1449 |
BaseSelection.prototype._detachCloseHandler = function (container) {
|
1450 |
+
$(document.body).off('mousedown.select300.' + container.id);
|
1451 |
};
|
1452 |
|
1453 |
BaseSelection.prototype.position = function ($selection, $container) {
|
1466 |
return BaseSelection;
|
1467 |
});
|
1468 |
|
1469 |
+
S2.define('select300/selection/single',[
|
1470 |
'jquery',
|
1471 |
'./base',
|
1472 |
'../utils',
|
1481 |
SingleSelection.prototype.render = function () {
|
1482 |
var $selection = SingleSelection.__super__.render.call(this);
|
1483 |
|
1484 |
+
$selection.addClass('select300-selection--single');
|
1485 |
|
1486 |
$selection.html(
|
1487 |
+
'<span class="select300-selection__rendered"></span>' +
|
1488 |
+
'<span class="select300-selection__arrow" role="presentation">' +
|
1489 |
'<b role="presentation"></b>' +
|
1490 |
'</span>'
|
1491 |
);
|
1500 |
|
1501 |
var id = container.id + '-container';
|
1502 |
|
1503 |
+
this.$selection.find('.select300-selection__rendered').attr('id', id);
|
1504 |
this.$selection.attr('aria-labelledby', id);
|
1505 |
|
1506 |
this.$selection.on('mousedown', function (evt) {
|
1534 |
};
|
1535 |
|
1536 |
SingleSelection.prototype.clear = function () {
|
1537 |
+
this.$selection.find('.select300-selection__rendered').empty();
|
1538 |
};
|
1539 |
|
1540 |
SingleSelection.prototype.display = function (data, container) {
|
1556 |
|
1557 |
var selection = data[0];
|
1558 |
|
1559 |
+
var $rendered = this.$selection.find('.select300-selection__rendered');
|
1560 |
var formatted = this.display(selection, $rendered);
|
1561 |
|
1562 |
$rendered.empty().append(formatted);
|
1566 |
return SingleSelection;
|
1567 |
});
|
1568 |
|
1569 |
+
S2.define('select300/selection/multiple',[
|
1570 |
'jquery',
|
1571 |
'./base',
|
1572 |
'../utils'
|
1580 |
MultipleSelection.prototype.render = function () {
|
1581 |
var $selection = MultipleSelection.__super__.render.call(this);
|
1582 |
|
1583 |
+
$selection.addClass('select300-selection--multiple');
|
1584 |
|
1585 |
$selection.html(
|
1586 |
+
'<ul class="select300-selection__rendered"></ul>'
|
1587 |
);
|
1588 |
|
1589 |
return $selection;
|
1602 |
|
1603 |
this.$selection.on(
|
1604 |
'click',
|
1605 |
+
'.select300-selection__choice__remove',
|
1606 |
function (evt) {
|
1607 |
// Ignore the event if it is disabled
|
1608 |
if (self.options.get('disabled')) {
|
1623 |
};
|
1624 |
|
1625 |
MultipleSelection.prototype.clear = function () {
|
1626 |
+
this.$selection.find('.select300-selection__rendered').empty();
|
1627 |
};
|
1628 |
|
1629 |
MultipleSelection.prototype.display = function (data, container) {
|
1635 |
|
1636 |
MultipleSelection.prototype.selectionContainer = function () {
|
1637 |
var $container = $(
|
1638 |
+
'<li class="select300-selection__choice">' +
|
1639 |
+
'<span class="select300-selection__choice__remove" role="presentation">' +
|
1640 |
'×' +
|
1641 |
'</span>' +
|
1642 |
'</li>'
|
1668 |
$selections.push($selection);
|
1669 |
}
|
1670 |
|
1671 |
+
var $rendered = this.$selection.find('.select300-selection__rendered');
|
1672 |
|
1673 |
Utils.appendMany($rendered, $selections);
|
1674 |
};
|
1676 |
return MultipleSelection;
|
1677 |
});
|
1678 |
|
1679 |
+
S2.define('select300/selection/placeholder',[
|
1680 |
'../utils'
|
1681 |
], function (Utils) {
|
1682 |
function Placeholder (decorated, $element, options) {
|
1700 |
var $placeholder = this.selectionContainer();
|
1701 |
|
1702 |
$placeholder.html(this.display(placeholder));
|
1703 |
+
$placeholder.addClass('select300-selection__placeholder')
|
1704 |
+
.removeClass('select300-selection__choice');
|
1705 |
|
1706 |
return $placeholder;
|
1707 |
};
|
1720 |
|
1721 |
var $placeholder = this.createPlaceholder(this.placeholder);
|
1722 |
|
1723 |
+
this.$selection.find('.select300-selection__rendered').append($placeholder);
|
1724 |
};
|
1725 |
|
1726 |
return Placeholder;
|
1727 |
});
|
1728 |
|
1729 |
+
S2.define('select300/selection/allowClear',[
|
1730 |
'jquery',
|
1731 |
'../keys'
|
1732 |
], function ($, KEYS) {
|
1746 |
}
|
1747 |
}
|
1748 |
|
1749 |
+
this.$selection.on('mousedown', '.select300-selection__clear',
|
1750 |
function (evt) {
|
1751 |
self._handleClear(evt);
|
1752 |
});
|
1762 |
return;
|
1763 |
}
|
1764 |
|
1765 |
+
var $clear = this.$selection.find('.select300-selection__clear');
|
1766 |
|
1767 |
// Ignore the event if nothing has been selected
|
1768 |
if ($clear.length === 0) {
|
1806 |
AllowClear.prototype.update = function (decorated, data) {
|
1807 |
decorated.call(this, data);
|
1808 |
|
1809 |
+
if (this.$selection.find('.select300-selection__placeholder').length > 0 ||
|
1810 |
data.length === 0) {
|
1811 |
return;
|
1812 |
}
|
1813 |
|
1814 |
var $remove = $(
|
1815 |
+
'<span class="select300-selection__clear">' +
|
1816 |
'×' +
|
1817 |
'</span>'
|
1818 |
);
|
1819 |
$remove.data('data', data);
|
1820 |
|
1821 |
+
this.$selection.find('.select300-selection__rendered').prepend($remove);
|
1822 |
};
|
1823 |
|
1824 |
return AllowClear;
|
1825 |
});
|
1826 |
|
1827 |
+
S2.define('select300/selection/search',[
|
1828 |
'jquery',
|
1829 |
'../utils',
|
1830 |
'../keys'
|
1835 |
|
1836 |
Search.prototype.render = function (decorated) {
|
1837 |
var $search = $(
|
1838 |
+
'<li class="select300-search select300-search--inline">' +
|
1839 |
+
'<input class="select300-search__field" type="search" tabindex="-1"' +
|
1840 |
' autocomplete="off" autocorrect="off" autocapitalize="off"' +
|
1841 |
' spellcheck="false" role="textbox" aria-autocomplete="list" />' +
|
1842 |
'</li>'
|
1885 |
self.$search.attr('aria-activedescendant', params.id);
|
1886 |
});
|
1887 |
|
1888 |
+
this.$selection.on('focusin', '.select300-search--inline', function (evt) {
|
1889 |
self.trigger('focus', evt);
|
1890 |
});
|
1891 |
|
1892 |
+
this.$selection.on('focusout', '.select300-search--inline', function (evt) {
|
1893 |
self._handleBlur(evt);
|
1894 |
});
|
1895 |
|
1896 |
+
this.$selection.on('keydown', '.select300-search--inline', function (evt) {
|
1897 |
evt.stopPropagation();
|
1898 |
|
1899 |
self.trigger('keypress', evt);
|
1904 |
|
1905 |
if (key === KEYS.BACKSPACE && self.$search.val() === '') {
|
1906 |
var $previousChoice = self.$searchContainer
|
1907 |
+
.prev('.select300-selection__choice');
|
1908 |
|
1909 |
if ($previousChoice.length > 0) {
|
1910 |
var item = $previousChoice.data('data');
|
1929 |
// both the `keyup` and `input` events.
|
1930 |
this.$selection.on(
|
1931 |
'input.searchcheck',
|
1932 |
+
'.select300-search--inline',
|
1933 |
function (evt) {
|
1934 |
// IE will trigger the `input` event when a placeholder is used on a
|
1935 |
// search box. To get around this issue, we are forced to ignore all
|
1946 |
|
1947 |
this.$selection.on(
|
1948 |
'keyup.search input.search',
|
1949 |
+
'.select300-search--inline',
|
1950 |
function (evt) {
|
1951 |
// IE will trigger the `input` event when a placeholder is used on a
|
1952 |
// search box. To get around this issue, we are forced to ignore all
|
1996 |
|
1997 |
decorated.call(this, data);
|
1998 |
|
1999 |
+
this.$selection.find('.select300-selection__rendered')
|
2000 |
.append(this.$searchContainer);
|
2001 |
|
2002 |
this.resizeSearch();
|
2034 |
var width = '';
|
2035 |
|
2036 |
if (this.$search.attr('placeholder') !== '') {
|
2037 |
+
width = this.$selection.find('.select300-selection__rendered').innerWidth();
|
2038 |
} else {
|
2039 |
var minimumWidth = this.$search.val().length + 1;
|
2040 |
|
2047 |
return Search;
|
2048 |
});
|
2049 |
|
2050 |
+
S2.define('select300/selection/eventRelay',[
|
2051 |
'jquery'
|
2052 |
], function ($) {
|
2053 |
function EventRelay () { }
|
2075 |
params = params || {};
|
2076 |
|
2077 |
// Generate the jQuery event for the Select2 event
|
2078 |
+
var evt = $.Event('select300:' + name, {
|
2079 |
params: params
|
2080 |
});
|
2081 |
|
2093 |
return EventRelay;
|
2094 |
});
|
2095 |
|
2096 |
+
S2.define('select300/translation',[
|
2097 |
'jquery',
|
2098 |
'require'
|
2099 |
], function ($, require) {
|
2130 |
return Translation;
|
2131 |
});
|
2132 |
|
2133 |
+
S2.define('select300/diacritics',[
|
2134 |
|
2135 |
], function () {
|
2136 |
var diacritics = {
|
2978 |
return diacritics;
|
2979 |
});
|
2980 |
|
2981 |
+
S2.define('select300/data/base',[
|
2982 |
'../utils'
|
2983 |
], function (Utils) {
|
2984 |
function BaseAdapter ($element, options) {
|
3019 |
return BaseAdapter;
|
3020 |
});
|
3021 |
|
3022 |
+
S2.define('select300/data/select',[
|
3023 |
'./base',
|
3024 |
'../utils',
|
3025 |
'jquery'
|
3305 |
return SelectAdapter;
|
3306 |
});
|
3307 |
|
3308 |
+
S2.define('select300/data/array',[
|
3309 |
'./select',
|
3310 |
'../utils',
|
3311 |
'jquery'
|
3385 |
return ArrayAdapter;
|
3386 |
});
|
3387 |
|
3388 |
+
S2.define('select300/data/ajax',[
|
3389 |
'./array',
|
3390 |
'../utils',
|
3391 |
'jquery'
|
3495 |
return AjaxAdapter;
|
3496 |
});
|
3497 |
|
3498 |
+
S2.define('select300/data/tags',[
|
3499 |
'jquery'
|
3500 |
], function ($) {
|
3501 |
function Tags (decorated, $element, options) {
|
3572 |
|
3573 |
if (tag != null) {
|
3574 |
var $option = self.option(tag);
|
3575 |
+
$option.attr('data-select300-tag', true);
|
3576 |
|
3577 |
self.addOptions([$option]);
|
3578 |
|
3607 |
Tags.prototype._removeOldTags = function (_) {
|
3608 |
var tag = this._lastTag;
|
3609 |
|
3610 |
+
var $options = this.$element.find('option[data-select300-tag]');
|
3611 |
|
3612 |
$options.each(function () {
|
3613 |
if (this.selected) {
|
3621 |
return Tags;
|
3622 |
});
|
3623 |
|
3624 |
+
S2.define('select300/data/tokenizer',[
|
3625 |
'jquery'
|
3626 |
], function ($) {
|
3627 |
function Tokenizer (decorated, $element, options) {
|
3638 |
decorated.call(this, container, $container);
|
3639 |
|
3640 |
this.$search = container.dropdown.$search || container.selection.$search ||
|
3641 |
+
$container.find('.select300-search__field');
|
3642 |
};
|
3643 |
|
3644 |
Tokenizer.prototype.query = function (decorated, params, callback) {
|
3657 |
// If an existing option wasn't found for it, create the option
|
3658 |
if (!$existingOptions.length) {
|
3659 |
var $option = self.option(item);
|
3660 |
+
$option.attr('data-select300-tag', true);
|
3661 |
|
3662 |
self._removeOldTags();
|
3663 |
self.addOptions([$option]);
|
3738 |
return Tokenizer;
|
3739 |
});
|
3740 |
|
3741 |
+
S2.define('select300/data/minimumInputLength',[
|
3742 |
|
3743 |
], function () {
|
3744 |
function MinimumInputLength (decorated, $e, options) {
|
3769 |
return MinimumInputLength;
|
3770 |
});
|
3771 |
|
3772 |
+
S2.define('select300/data/maximumInputLength',[
|
3773 |
|
3774 |
], function () {
|
3775 |
function MaximumInputLength (decorated, $e, options) {
|
3801 |
return MaximumInputLength;
|
3802 |
});
|
3803 |
|
3804 |
+
S2.define('select300/data/maximumSelectionLength',[
|
3805 |
|
3806 |
], function (){
|
3807 |
function MaximumSelectionLength (decorated, $e, options) {
|
3833 |
return MaximumSelectionLength;
|
3834 |
});
|
3835 |
|
3836 |
+
S2.define('select300/dropdown',[
|
3837 |
'jquery',
|
3838 |
'./utils'
|
3839 |
], function ($, Utils) {
|
3848 |
|
3849 |
Dropdown.prototype.render = function () {
|
3850 |
var $dropdown = $(
|
3851 |
+
'<span class="select300-dropdown">' +
|
3852 |
+
'<span class="select300-results"></span>' +
|
3853 |
'</span>'
|
3854 |
);
|
3855 |
|
3876 |
return Dropdown;
|
3877 |
});
|
3878 |
|
3879 |
+
S2.define('select300/dropdown/search',[
|
3880 |
'jquery',
|
3881 |
'../utils'
|
3882 |
], function ($, Utils) {
|
3886 |
var $rendered = decorated.call(this);
|
3887 |
|
3888 |
var $search = $(
|
3889 |
+
'<span class="select300-search select300-search--dropdown">' +
|
3890 |
+
'<input class="select300-search__field" type="search" tabindex="-1"' +
|
3891 |
' autocomplete="off" autocorrect="off" autocapitalize="off"' +
|
3892 |
' spellcheck="false" role="textbox" />' +
|
3893 |
'</span>'
|
3951 |
var showSearch = self.showSearch(params);
|
3952 |
|
3953 |
if (showSearch) {
|
3954 |
+
self.$searchContainer.removeClass('select300-search--hide');
|
3955 |
} else {
|
3956 |
+
self.$searchContainer.addClass('select300-search--hide');
|
3957 |
}
|
3958 |
}
|
3959 |
});
|
3978 |
return Search;
|
3979 |
});
|
3980 |
|
3981 |
+
S2.define('select300/dropdown/hidePlaceholder',[
|
3982 |
|
3983 |
], function () {
|
3984 |
function HidePlaceholder (decorated, $element, options, dataAdapter) {
|
4021 |
return HidePlaceholder;
|
4022 |
});
|
4023 |
|
4024 |
+
S2.define('select300/dropdown/infiniteScroll',[
|
4025 |
'jquery'
|
4026 |
], function ($) {
|
4027 |
function InfiniteScroll (decorated, $element, options, dataAdapter) {
|
4097 |
InfiniteScroll.prototype.createLoadingMore = function () {
|
4098 |
var $option = $(
|
4099 |
'<li ' +
|
4100 |
+
'class="select300-results__option select300-results__option--load-more"' +
|
4101 |
'role="treeitem" aria-disabled="true"></li>'
|
4102 |
);
|
4103 |
|
4111 |
return InfiniteScroll;
|
4112 |
});
|
4113 |
|
4114 |
+
S2.define('select300/dropdown/attachBody',[
|
4115 |
'jquery',
|
4116 |
'../utils'
|
4117 |
], function ($, Utils) {
|
4167 |
// Clone all of the container classes
|
4168 |
$dropdown.attr('class', $container.attr('class'));
|
4169 |
|
4170 |
+
$dropdown.removeClass('select300');
|
4171 |
+
$dropdown.addClass('select300-container--open');
|
4172 |
|
4173 |
$dropdown.css({
|
4174 |
position: 'absolute',
|
4197 |
function (decorated, container) {
|
4198 |
var self = this;
|
4199 |
|
4200 |
+
var scrollEvent = 'scroll.select300.' + container.id;
|
4201 |
+
var resizeEvent = 'resize.select300.' + container.id;
|
4202 |
+
var orientationEvent = 'orientationchange.select300.' + container.id;
|
4203 |
|
4204 |
var $watchers = this.$container.parents().filter(Utils.hasScroll);
|
4205 |
$watchers.each(function () {
|
4206 |
+
$(this).data('select300-scroll-position', {
|
4207 |
x: $(this).scrollLeft(),
|
4208 |
y: $(this).scrollTop()
|
4209 |
});
|
4210 |
});
|
4211 |
|
4212 |
$watchers.on(scrollEvent, function (ev) {
|
4213 |
+
var position = $(this).data('select300-scroll-position');
|
4214 |
$(this).scrollTop(position.y);
|
4215 |
});
|
4216 |
|
4223 |
|
4224 |
AttachBody.prototype._detachPositioningHandler =
|
4225 |
function (decorated, container) {
|
4226 |
+
var scrollEvent = 'scroll.select300.' + container.id;
|
4227 |
+
var resizeEvent = 'resize.select300.' + container.id;
|
4228 |
+
var orientationEvent = 'orientationchange.select300.' + container.id;
|
4229 |
|
4230 |
var $watchers = this.$container.parents().filter(Utils.hasScroll);
|
4231 |
$watchers.off(scrollEvent);
|
4236 |
AttachBody.prototype._positionDropdown = function () {
|
4237 |
var $window = $(window);
|
4238 |
|
4239 |
+
var isCurrentlyAbove = this.$dropdown.hasClass('select300-dropdown--above');
|
4240 |
+
var isCurrentlyBelow = this.$dropdown.hasClass('select300-dropdown--below');
|
4241 |
|
4242 |
var newDirection = null;
|
4243 |
|
4300 |
|
4301 |
if (newDirection != null) {
|
4302 |
this.$dropdown
|
4303 |
+
.removeClass('select300-dropdown--below select300-dropdown--above')
|
4304 |
+
.addClass('select300-dropdown--' + newDirection);
|
4305 |
this.$container
|
4306 |
+
.removeClass('select300-container--below select300-container--above')
|
4307 |
+
.addClass('select300-container--' + newDirection);
|
4308 |
}
|
4309 |
|
4310 |
this.$dropdownContainer.css(css);
|
4334 |
return AttachBody;
|
4335 |
});
|
4336 |
|
4337 |
+
S2.define('select300/dropdown/minimumResultsForSearch',[
|
4338 |
|
4339 |
], function () {
|
4340 |
function countResults (data) {
|
4374 |
return MinimumResultsForSearch;
|
4375 |
});
|
4376 |
|
4377 |
+
S2.define('select300/dropdown/selectOnClose',[
|
4378 |
|
4379 |
], function () {
|
4380 |
function SelectOnClose () { }
|
4425 |
return SelectOnClose;
|
4426 |
});
|
4427 |
|
4428 |
+
S2.define('select300/dropdown/closeOnSelect',[
|
4429 |
|
4430 |
], function () {
|
4431 |
function CloseOnSelect () { }
|
4461 |
return CloseOnSelect;
|
4462 |
});
|
4463 |
|
4464 |
+
S2.define('select300/i18n/en',[],function () {
|
4465 |
// English
|
4466 |
return {
|
4467 |
errorLoading: function () {
|
4506 |
};
|
4507 |
});
|
4508 |
|
4509 |
+
S2.define('select300/defaults',[
|
4510 |
'jquery',
|
4511 |
'require',
|
4512 |
|
4903 |
return defaults;
|
4904 |
});
|
4905 |
|
4906 |
+
S2.define('select300/options',[
|
4907 |
'require',
|
4908 |
'jquery',
|
4909 |
'./defaults',
|
4929 |
}
|
4930 |
|
4931 |
Options.prototype.fromElement = function ($e) {
|
4932 |
+
var excludedData = ['select300'];
|
4933 |
|
4934 |
if (this.options.multiple == null) {
|
4935 |
this.options.multiple = $e.prop('multiple');
|
4960 |
$e.prop('disabled', this.options.disabled);
|
4961 |
$e.prop('multiple', this.options.multiple);
|
4962 |
|
4963 |
+
if ($e.data('select300Tags')) {
|
4964 |
if (this.options.debug && window.console && console.warn) {
|
4965 |
console.warn(
|
4966 |
+
'Select2: The `data-select300-tags` attribute has been changed to ' +
|
4967 |
'use the `data-data` and `data-tags="true"` attributes and will be ' +
|
4968 |
'removed in future versions of Select2.'
|
4969 |
);
|
4970 |
}
|
4971 |
|
4972 |
+
$e.data('data', $e.data('select300Tags'));
|
4973 |
$e.data('tags', true);
|
4974 |
}
|
4975 |
|
5026 |
return Options;
|
5027 |
});
|
5028 |
|
5029 |
+
S2.define('select300/core',[
|
5030 |
'jquery',
|
5031 |
'./options',
|
5032 |
'./utils',
|
5033 |
'./keys'
|
5034 |
], function ($, Options, Utils, KEYS) {
|
5035 |
var Select2 = function ($element, options) {
|
5036 |
+
if ($element.data('select300') != null) {
|
5037 |
+
$element.data('select300').destroy();
|
5038 |
}
|
5039 |
|
5040 |
this.$element = $element;
|
5105 |
});
|
5106 |
|
5107 |
// Hide the original select
|
5108 |
+
$element.addClass('select300-hidden-accessible');
|
5109 |
$element.attr('aria-hidden', 'true');
|
5110 |
|
5111 |
// Synchronize any monitored attributes
|
5112 |
this._syncAttributes();
|
5113 |
|
5114 |
+
$element.data('select300', this);
|
5115 |
};
|
5116 |
|
5117 |
Utils.Extend(Select2, Utils.Observable);
|
5128 |
}
|
5129 |
|
5130 |
id = id.replace(/(:|\.|\[|\]|,)/g, '');
|
5131 |
+
id = 'select300-' + id;
|
5132 |
|
5133 |
return id;
|
5134 |
};
|
5201 |
Select2.prototype._registerDomEvents = function () {
|
5202 |
var self = this;
|
5203 |
|
5204 |
+
this.$element.on('change.select300', function () {
|
5205 |
self.dataAdapter.current(function (data) {
|
5206 |
self.trigger('selection:update', {
|
5207 |
data: data
|
5209 |
});
|
5210 |
});
|
5211 |
|
5212 |
+
this.$element.on('focus.select300', function (evt) {
|
5213 |
self.trigger('focus', evt);
|
5214 |
});
|
5215 |
|
5303 |
var self = this;
|
5304 |
|
5305 |
this.on('open', function () {
|
5306 |
+
self.$container.addClass('select300-container--open');
|
5307 |
});
|
5308 |
|
5309 |
this.on('close', function () {
|
5310 |
+
self.$container.removeClass('select300-container--open');
|
5311 |
});
|
5312 |
|
5313 |
this.on('enable', function () {
|
5314 |
+
self.$container.removeClass('select300-container--disabled');
|
5315 |
});
|
5316 |
|
5317 |
this.on('disable', function () {
|
5318 |
+
self.$container.addClass('select300-container--disabled');
|
5319 |
});
|
5320 |
|
5321 |
this.on('blur', function () {
|
5322 |
+
self.$container.removeClass('select300-container--focus');
|
5323 |
});
|
5324 |
|
5325 |
this.on('query', function (params) {
|
5501 |
};
|
5502 |
|
5503 |
Select2.prototype.isOpen = function () {
|
5504 |
+
return this.$container.hasClass('select300-container--open');
|
5505 |
};
|
5506 |
|
5507 |
Select2.prototype.hasFocus = function () {
|
5508 |
+
return this.$container.hasClass('select300-container--focus');
|
5509 |
};
|
5510 |
|
5511 |
Select2.prototype.focus = function (data) {
|
5514 |
return;
|
5515 |
}
|
5516 |
|
5517 |
+
this.$container.addClass('select300-container--focus');
|
5518 |
this.trigger('focus', {});
|
5519 |
};
|
5520 |
|
5521 |
Select2.prototype.enable = function (args) {
|
5522 |
if (this.options.get('debug') && window.console && console.warn) {
|
5523 |
console.warn(
|
5524 |
+
'Select2: The `select300("enable")` method has been deprecated and will' +
|
5525 |
' be removed in later Select2 versions. Use $element.prop("disabled")' +
|
5526 |
' instead.'
|
5527 |
);
|
5540 |
if (this.options.get('debug') &&
|
5541 |
arguments.length > 0 && window.console && console.warn) {
|
5542 |
console.warn(
|
5543 |
+
'Select2: Data can no longer be set using `select300("data")`. You ' +
|
5544 |
'should consider setting the value instead using `$element.val()`.'
|
5545 |
);
|
5546 |
}
|
5557 |
Select2.prototype.val = function (args) {
|
5558 |
if (this.options.get('debug') && window.console && console.warn) {
|
5559 |
console.warn(
|
5560 |
+
'Select2: The `select300("val")` method has been deprecated and will be' +
|
5561 |
' removed in later Select2 versions. Use $element.val() instead.'
|
5562 |
);
|
5563 |
}
|
5599 |
this._syncA = null;
|
5600 |
this._syncS = null;
|
5601 |
|
5602 |
+
this.$element.off('.select300');
|
5603 |
this.$element.attr('tabindex', this.$element.data('old-tabindex'));
|
5604 |
|
5605 |
+
this.$element.removeClass('select300-hidden-accessible');
|
5606 |
this.$element.attr('aria-hidden', 'false');
|
5607 |
+
this.$element.removeData('select300');
|
5608 |
|
5609 |
this.dataAdapter.destroy();
|
5610 |
this.selection.destroy();
|
5619 |
|
5620 |
Select2.prototype.render = function () {
|
5621 |
var $container = $(
|
5622 |
+
'<span class="select300 select300-container">' +
|
5623 |
'<span class="selection"></span>' +
|
5624 |
'<span class="dropdown-wrapper" aria-hidden="true"></span>' +
|
5625 |
'</span>'
|
5629 |
|
5630 |
this.$container = $container;
|
5631 |
|
5632 |
+
this.$container.addClass('select300-container--' + this.options.get('theme'));
|
5633 |
|
5634 |
$container.data('element', this.$element);
|
5635 |
|
5646 |
return $;
|
5647 |
});
|
5648 |
|
5649 |
+
S2.define('jquery.select300',[
|
5650 |
'jquery',
|
5651 |
'jquery-mousewheel',
|
5652 |
|
5653 |
+
'./select300/core',
|
5654 |
+
'./select300/defaults'
|
5655 |
], function ($, _, Select2, Defaults) {
|
5656 |
+
if ($.fn.select300 == null) {
|
5657 |
// All methods that should return the element
|
5658 |
var thisMethods = ['open', 'close', 'destroy'];
|
5659 |
|
5660 |
+
$.fn.select300 = function (options) {
|
5661 |
options = options || {};
|
5662 |
|
5663 |
if (typeof options === 'object') {
|
5673 |
var args = Array.prototype.slice.call(arguments, 1);
|
5674 |
|
5675 |
this.each(function () {
|
5676 |
+
var instance = $(this).data('select300');
|
5677 |
|
5678 |
if (instance == null && window.console && console.error) {
|
5679 |
console.error(
|
5680 |
+
'The select300(\'' + options + '\') method was called on an ' +
|
5681 |
'element that is not using Select2.'
|
5682 |
);
|
5683 |
}
|
5697 |
};
|
5698 |
}
|
5699 |
|
5700 |
+
if ($.fn.select300.defaults == null) {
|
5701 |
+
$.fn.select300.defaults = Defaults;
|
5702 |
}
|
5703 |
|
5704 |
return Select2;
|
5713 |
|
5714 |
// Autoload the jQuery bindings
|
5715 |
// We know that all of the modules exist above this, so we're safe
|
5716 |
+
var select300 = S2.require('jquery.select300');
|
5717 |
|
5718 |
// Hold the AMD module references on the jQuery function that was just loaded
|
5719 |
// This allows Select2 to use the internal loader outside of this file, such
|
5720 |
// as in the language files.
|
5721 |
+
jQuery.fn.select300.amd = S2;
|
5722 |
|
5723 |
// Return the Select2 instance for anyone who is importing it.
|
5724 |
+
return select300;
|
5725 |
}));
|
assets/js/select300/select300.min.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/*! Select2 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){var b=function(){if(a&&a.fn&&a.fn.select300&&a.fn.select300.amd)var b=a.fn.select300.amd;var b;return function(){if(!b||!b.requirejs){b?c=b:b={};var a,c,d;!function(b){function e(a,b){return u.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n=b&&b.split("/"),o=s.map,p=o&&o["*"]||{};if(a&&"."===a.charAt(0))if(b){for(a=a.split("/"),g=a.length-1,s.nodeIdCompat&&w.test(a[g])&&(a[g]=a[g].replace(w,"")),a=n.slice(0,n.length-1).concat(a),k=0;k<a.length;k+=1)if(m=a[k],"."===m)a.splice(k,1),k-=1;else if(".."===m){if(1===k&&(".."===a[2]||".."===a[0]))break;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}else 0===a.indexOf("./")&&(a=a.substring(2));if((n||p)&&o){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),n)for(l=n.length;l>0;l-=1)if(e=o[n.slice(0,l).join("/")],e&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&p&&p[d]&&(i=p[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(a,c){return function(){var d=v.call(arguments,0);return"string"!=typeof d[0]&&1===d.length&&d.push(null),n.apply(b,d.concat([a,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){q[a]=b}}function j(a){if(e(r,a)){var c=r[a];delete r[a],t[a]=!0,m.apply(b,c)}if(!e(q,a)&&!e(t,a))throw new Error("No "+a);return q[a]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return function(){return s&&s.config&&s.config[a]||{}}}var m,n,o,p,q={},r={},s={},t={},u=Object.prototype.hasOwnProperty,v=[].slice,w=/\.js$/;o=function(a,b){var c,d=k(a),e=d[0];return a=d[1],e&&(e=f(e,b),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(b)):f(a,b):(a=f(a,b),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},p={require:function(a){return g(a)},exports:function(a){var b=q[a];return"undefined"!=typeof b?b:q[a]={}},module:function(a){return{id:a,uri:"",exports:q[a],config:l(a)}}},m=function(a,c,d,f){var h,k,l,m,n,s,u=[],v=typeof d;if(f=f||a,"undefined"===v||"function"===v){for(c=!c.length&&d.length?["require","exports","module"]:c,n=0;n<c.length;n+=1)if(m=o(c[n],f),k=m.f,"require"===k)u[n]=p.require(a);else if("exports"===k)u[n]=p.exports(a),s=!0;else if("module"===k)h=u[n]=p.module(a);else if(e(q,k)||e(r,k)||e(t,k))u[n]=j(k);else{if(!m.p)throw new Error(a+" missing "+k);m.p.load(m.n,g(f,!0),i(k),{}),u[n]=q[k]}l=d?d.apply(q[a],u):void 0,a&&(h&&h.exports!==b&&h.exports!==q[a]?q[a]=h.exports:l===b&&s||(q[a]=l))}else a&&(q[a]=d)},a=c=n=function(a,c,d,e,f){if("string"==typeof a)return p[a]?p[a](c):j(o(a,c).f);if(!a.splice){if(s=a,s.deps&&n(s.deps,s.callback),!c)return;c.splice?(a=c,c=d,d=null):a=b}return c=c||function(){},"function"==typeof d&&(d=e,e=f),e?m(b,a,c,d):setTimeout(function(){m(b,a,c,d)},4),n},n.config=function(a){return n(a)},a._defined=q,d=function(a,b,c){if("string"!=typeof a)throw new Error("See almond README: incorrect module build, no module name");b.splice||(c=b,b=[]),e(q,a)||e(r,a)||(r[a]=[a,b,c])},d.amd={jQuery:!0}}(),b.requirejs=a,b.require=c,b.define=d}}(),b.define("almond",function(){}),b.define("jquery",[],function(){var b=a||$;return null==b&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),b}),b.define("select300/utils",["jquery"],function(a){function b(a){var b=a.prototype,c=[];for(var d in b){var e=b[d];"function"==typeof e&&"constructor"!==d&&c.push(d)}return c}var c={};c.Extend=function(a,b){function c(){this.constructor=a}var d={}.hasOwnProperty;for(var e in b)d.call(b,e)&&(a[e]=b[e]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},c.Decorate=function(a,c){function d(){var b=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}function e(){this.constructor=d}var f=b(c),g=b(a);c.displayName=a.displayName,d.prototype=new e;for(var h=0;h<g.length;h++){var i=g[h];d.prototype[i]=a.prototype[i]}for(var j=(function(a){var b=function(){};a in d.prototype&&(b=d.prototype[a]);var e=c.prototype[a];return function(){var a=Array.prototype.unshift;return a.call(arguments,b),e.apply(this,arguments)}}),k=0;k<f.length;k++){var l=f[k];d.prototype[l]=j(l)}return d};var d=function(){this.listeners={}};return d.prototype.on=function(a,b){this.listeners=this.listeners||{},a in this.listeners?this.listeners[a].push(b):this.listeners[a]=[b]},d.prototype.trigger=function(a){var b=Array.prototype.slice,c=b.call(arguments,1);this.listeners=this.listeners||{},null==c&&(c=[]),0===c.length&&c.push({}),c[0]._type=a,a in this.listeners&&this.invoke(this.listeners[a],b.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},d.prototype.invoke=function(a,b){for(var c=0,d=a.length;d>c;c++)a[c].apply(this,b)},c.Observable=d,c.generateChars=function(a){for(var b="",c=0;a>c;c++){var d=Math.floor(36*Math.random());b+=d.toString(36)}return b},c.bind=function(a,b){return function(){a.apply(b,arguments)}},c._convertData=function(a){for(var b in a){var c=b.split("-"),d=a;if(1!==c.length){for(var e=0;e<c.length;e++){var f=c[e];f=f.substring(0,1).toLowerCase()+f.substring(1),f in d||(d[f]={}),e==c.length-1&&(d[f]=a[b]),d=d[f]}delete a[b]}}return a},c.hasScroll=function(b,c){var d=a(c),e=c.style.overflowX,f=c.style.overflowY;return e!==f||"hidden"!==f&&"visible"!==f?"scroll"===e||"scroll"===f?!0:d.innerHeight()<c.scrollHeight||d.innerWidth()<c.scrollWidth:!1},c.escapeMarkup=function(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof a?a:String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})},c.appendMany=function(b,c){if("1.7"===a.fn.jquery.substr(0,3)){var d=a();a.map(c,function(a){d=d.add(a)}),c=d}b.append(c)},c}),b.define("select300/results",["jquery","./utils"],function(a,b){function c(a,b,d){this.$element=a,this.data=d,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<ul class="select300-results__options" role="tree"></ul>');return this.options.get("multiple")&&b.attr("aria-multiselectable","true"),this.$results=b,b},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(b){var c=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var d=a('<li role="treeitem" aria-live="assertive" class="select300-results__option"></li>'),e=this.options.get("translations").get(b.message);d.append(c(e(b.args))),d[0].className+=" select300-results__message",this.$results.append(d)},c.prototype.hideMessages=function(){this.$results.find(".select300-results__message").remove()},c.prototype.append=function(a){this.hideLoading();var b=[];if(null==a.results||0===a.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));a.results=this.sort(a.results);for(var c=0;c<a.results.length;c++){var d=a.results[c],e=this.option(d);b.push(e)}this.$results.append(b)},c.prototype.position=function(a,b){var c=b.find(".select300-results");c.append(a)},c.prototype.sort=function(a){var b=this.options.get("sorter");return b(a)},c.prototype.highlightFirstItem=function(){var a=this.$results.find(".select300-results__option[aria-selected]"),b=a.filter("[aria-selected=true]");b.length>0?b.first().trigger("mouseenter"):a.first().trigger("mouseenter"),this.ensureHighlightVisible()},c.prototype.setClasses=function(){var b=this;this.data.current(function(c){var d=a.map(c,function(a){return a.id.toString()}),e=b.$results.find(".select300-results__option[aria-selected]");e.each(function(){var b=a(this),c=a.data(this,"data"),e=""+c.id;null!=c.element&&c.element.selected||null==c.element&&a.inArray(e,d)>-1?b.attr("aria-selected","true"):b.attr("aria-selected","false")})})},c.prototype.showLoading=function(a){this.hideLoading();var b=this.options.get("translations").get("searching"),c={disabled:!0,loading:!0,text:b(a)},d=this.option(c);d.className+=" loading-results",this.$results.prepend(d)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(b){var c=document.createElement("li");c.className="select300-results__option";var d={role:"treeitem","aria-selected":"false"};b.disabled&&(delete d["aria-selected"],d["aria-disabled"]="true"),null==b.id&&delete d["aria-selected"],null!=b._resultId&&(c.id=b._resultId),b.title&&(c.title=b.title),b.children&&(d.role="group",d["aria-label"]=b.text,delete d["aria-selected"]);for(var e in d){var f=d[e];c.setAttribute(e,f)}if(b.children){var g=a(c),h=document.createElement("strong");h.className="select300-results__group";a(h);this.template(b,h);for(var i=[],j=0;j<b.children.length;j++){var k=b.children[j],l=this.option(k);i.push(l)}var m=a("<ul></ul>",{"class":"select300-results__options select300-results__options--nested"});m.append(i),g.append(h),g.append(m)}else this.template(b,c);return a.data(c,"data",b),c},c.prototype.bind=function(b,c){var d=this,e=b.id+"-results";this.$results.attr("id",e),b.on("results:all",function(a){d.clear(),d.append(a.data),b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("results:append",function(a){d.append(a.data),b.isOpen()&&d.setClasses()}),b.on("query",function(a){d.hideMessages(),d.showLoading(a)}),b.on("select",function(){b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("unselect",function(){b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("open",function(){d.$results.attr("aria-expanded","true"),d.$results.attr("aria-hidden","false"),d.setClasses(),d.ensureHighlightVisible()}),b.on("close",function(){d.$results.attr("aria-expanded","false"),d.$results.attr("aria-hidden","true"),d.$results.removeAttr("aria-activedescendant")}),b.on("results:toggle",function(){var a=d.getHighlightedResults();0!==a.length&&a.trigger("mouseup")}),b.on("results:select",function(){var a=d.getHighlightedResults();if(0!==a.length){var b=a.data("data");"true"==a.attr("aria-selected")?d.trigger("close",{}):d.trigger("select",{data:b})}}),b.on("results:previous",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a);if(0!==c){var e=c-1;0===a.length&&(e=0);var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top,h=f.offset().top,i=d.$results.scrollTop()+(h-g);0===e?d.$results.scrollTop(0):0>h-g&&d.$results.scrollTop(i)}}),b.on("results:next",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a),e=c+1;if(!(e>=b.length)){var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top+d.$results.outerHeight(!1),h=f.offset().top+f.outerHeight(!1),i=d.$results.scrollTop()+h-g;0===e?d.$results.scrollTop(0):h>g&&d.$results.scrollTop(i)}}),b.on("results:focus",function(a){a.element.addClass("select300-results__option--highlighted")}),b.on("results:message",function(a){d.displayMessage(a)}),a.fn.mousewheel&&this.$results.on("mousewheel",function(a){var b=d.$results.scrollTop(),c=d.$results.get(0).scrollHeight-b+a.deltaY,e=a.deltaY>0&&b-a.deltaY<=0,f=a.deltaY<0&&c<=d.$results.height();e?(d.$results.scrollTop(0),a.preventDefault(),a.stopPropagation()):f&&(d.$results.scrollTop(d.$results.get(0).scrollHeight-d.$results.height()),a.preventDefault(),a.stopPropagation())}),this.$results.on("mouseup",".select300-results__option[aria-selected]",function(b){var c=a(this),e=c.data("data");return"true"===c.attr("aria-selected")?void(d.options.get("multiple")?d.trigger("unselect",{originalEvent:b,data:e}):d.trigger("close",{})):void d.trigger("select",{originalEvent:b,data:e})}),this.$results.on("mouseenter",".select300-results__option[aria-selected]",function(b){var c=a(this).data("data");d.getHighlightedResults().removeClass("select300-results__option--highlighted"),d.trigger("results:focus",{data:c,element:a(this)})})},c.prototype.getHighlightedResults=function(){var a=this.$results.find(".select300-results__option--highlighted");return a},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(0!==a.length){var b=this.$results.find("[aria-selected]"),c=b.index(a),d=this.$results.offset().top,e=a.offset().top,f=this.$results.scrollTop()+(e-d),g=e-d;f-=2*a.outerHeight(!1),2>=c?this.$results.scrollTop(0):(g>this.$results.outerHeight()||0>g)&&this.$results.scrollTop(f)}},c.prototype.template=function(b,c){var d=this.options.get("templateResult"),e=this.options.get("escapeMarkup"),f=d(b,c);null==f?c.style.display="none":"string"==typeof f?c.innerHTML=e(f):a(c).append(f)},c}),b.define("select300/keys",[],function(){var a={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return a}),b.define("select300/selection/base",["jquery","../utils","../keys"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,b.Observable),d.prototype.render=function(){var b=a('<span class="select300-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),b.attr("title",this.$element.attr("title")),b.attr("tabindex",this._tabindex),this.$selection=b,b},d.prototype.bind=function(a,b){var d=this,e=(a.id+"-container",a.id+"-results");this.container=a,this.$selection.on("focus",function(a){d.trigger("focus",a)}),this.$selection.on("blur",function(a){d._handleBlur(a)}),this.$selection.on("keydown",function(a){d.trigger("keypress",a),a.which===c.SPACE&&a.preventDefault()}),a.on("results:focus",function(a){d.$selection.attr("aria-activedescendant",a.data._resultId)}),a.on("selection:update",function(a){d.update(a.data)}),a.on("open",function(){d.$selection.attr("aria-expanded","true"),d.$selection.attr("aria-owns",e),d._attachCloseHandler(a)}),a.on("close",function(){d.$selection.attr("aria-expanded","false"),d.$selection.removeAttr("aria-activedescendant"),d.$selection.removeAttr("aria-owns"),d.$selection.focus(),d._detachCloseHandler(a)}),a.on("enable",function(){d.$selection.attr("tabindex",d._tabindex)}),a.on("disable",function(){d.$selection.attr("tabindex","-1")})},d.prototype._handleBlur=function(b){var c=this;window.setTimeout(function(){document.activeElement==c.$selection[0]||a.contains(c.$selection[0],document.activeElement)||c.trigger("blur",b)},1)},d.prototype._attachCloseHandler=function(b){a(document.body).on("mousedown.select300."+b.id,function(b){var c=a(b.target),d=c.closest(".select300"),e=a(".select300.select300-container--open");e.each(function(){var b=a(this);if(this!=d[0]){var c=b.data("element");c.select300("close")}})})},d.prototype._detachCloseHandler=function(b){a(document.body).off("mousedown.select300."+b.id)},d.prototype.position=function(a,b){var c=b.find(".selection");c.append(a)},d.prototype.destroy=function(){this._detachCloseHandler(this.container)},d.prototype.update=function(a){throw new Error("The `update` method must be defined in child classes.")},d}),b.define("select300/selection/single",["jquery","./base","../utils","../keys"],function(a,b,c,d){function e(){e.__super__.constructor.apply(this,arguments)}return c.Extend(e,b),e.prototype.render=function(){var a=e.__super__.render.call(this);return a.addClass("select300-selection--single"),a.html('<span class="select300-selection__rendered"></span><span class="select300-selection__arrow" role="presentation"><b role="presentation"></b></span>'),a},e.prototype.bind=function(a,b){var c=this;e.__super__.bind.apply(this,arguments);var d=a.id+"-container";this.$selection.find(".select300-selection__rendered").attr("id",d),this.$selection.attr("aria-labelledby",d),this.$selection.on("mousedown",function(a){1===a.which&&c.trigger("toggle",{originalEvent:a})}),this.$selection.on("focus",function(a){}),this.$selection.on("blur",function(a){}),a.on("focus",function(b){a.isOpen()||c.$selection.focus()}),a.on("selection:update",function(a){c.update(a.data)})},e.prototype.clear=function(){this.$selection.find(".select300-selection__rendered").empty()},e.prototype.display=function(a,b){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(a,b))},e.prototype.selectionContainer=function(){return a("<span></span>")},e.prototype.update=function(a){if(0===a.length)return void this.clear();var b=a[0],c=this.$selection.find(".select300-selection__rendered"),d=this.display(b,c);c.empty().append(d),c.prop("title",b.title||b.text)},e}),b.define("select300/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(a,b){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select300-selection--multiple"),a.html('<ul class="select300-selection__rendered"></ul>'),a},d.prototype.bind=function(b,c){var e=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){e.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select300-selection__choice__remove",function(b){if(!e.options.get("disabled")){var c=a(this),d=c.parent(),f=d.data("data");e.trigger("unselect",{originalEvent:b,data:f})}})},d.prototype.clear=function(){this.$selection.find(".select300-selection__rendered").empty()},d.prototype.display=function(a,b){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(a,b))},d.prototype.selectionContainer=function(){var b=a('<li class="select300-selection__choice"><span class="select300-selection__choice__remove" role="presentation">×</span></li>');return b},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.selectionContainer(),g=this.display(e,f);f.append(g),f.prop("title",e.title||e.text),f.data("data",e),b.push(f)}var h=this.$selection.find(".select300-selection__rendered");c.appendMany(h,b)}},d}),b.define("select300/selection/placeholder",["../utils"],function(a){function b(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return b.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},b.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select300-selection__placeholder").removeClass("select300-selection__choice"),c},b.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id,d=b.length>1;if(d||c)return a.call(this,b);this.clear();var e=this.createPlaceholder(this.placeholder);this.$selection.find(".select300-selection__rendered").append(e)},b}),b.define("select300/selection/allowClear",["jquery","../keys"],function(a,b){function c(){}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select300-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},c.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var c=this.$selection.find(".select300-selection__clear");if(0!==c.length){b.stopPropagation();for(var d=c.data("data"),e=0;e<d.length;e++){var f={data:d[e]};if(this.trigger("unselect",f),f.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},c.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||(c.which==b.DELETE||c.which==b.BACKSPACE)&&this._handleClear(c)},c.prototype.update=function(b,c){if(b.call(this,c),!(this.$selection.find(".select300-selection__placeholder").length>0||0===c.length)){var d=a('<span class="select300-selection__clear">×</span>');d.data("data",c),this.$selection.find(".select300-selection__rendered").prepend(d)}},c}),b.define("select300/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select300-search select300-search--inline"><input class="select300-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return this._transferTabIndex(),d},d.prototype.bind=function(a,b,d){var e=this;a.call(this,b,d),b.on("open",function(){e.$search.trigger("focus")}),b.on("close",function(){e.$search.val(""),e.$search.removeAttr("aria-activedescendant"),e.$search.trigger("focus")}),b.on("enable",function(){e.$search.prop("disabled",!1),e._transferTabIndex()}),b.on("disable",function(){e.$search.prop("disabled",!0)}),b.on("focus",function(a){e.$search.trigger("focus")}),b.on("results:focus",function(a){e.$search.attr("aria-activedescendant",a.id)}),this.$selection.on("focusin",".select300-search--inline",function(a){e.trigger("focus",a)}),this.$selection.on("focusout",".select300-search--inline",function(a){e._handleBlur(a)}),this.$selection.on("keydown",".select300-search--inline",function(a){a.stopPropagation(),e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented();var b=a.which;if(b===c.BACKSPACE&&""===e.$search.val()){var d=e.$searchContainer.prev(".select300-selection__choice");if(d.length>0){var f=d.data("data");e.searchRemoveChoice(f),a.preventDefault()}}});var f=document.documentMode,g=f&&11>=f;this.$selection.on("input.searchcheck",".select300-search--inline",function(a){return g?void e.$selection.off("input.search input.searchcheck"):void e.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select300-search--inline",function(a){if(g&&"input"===a.type)return void e.$selection.off("input.search input.searchcheck");var b=a.which;b!=c.SHIFT&&b!=c.CTRL&&b!=c.ALT&&b!=c.TAB&&e.handleSearch(a)})},d.prototype._transferTabIndex=function(a){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){var c=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select300-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c&&this.$search.focus()},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.$search.val(b.text),this.handleSearch()},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select300-selection__rendered").innerWidth();else{var b=this.$search.val().length+1;a=.75*b+"em"}this.$search.css("width",a)},d}),b.define("select300/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting"],g=["opening","closing","selecting","unselecting"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select300:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select300/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select300/diacritics",[],function(){var a={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return a}),b.define("select300/data/base",["../utils"],function(a){function b(a,c){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(a){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(a,b){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(a,b){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),d+=null!=c.id?"-"+c.id.toString():"-"+a.generateChars(4)},b}),b.define("select300/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change");
|
2 |
+
if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple"))return a.selected=!1,c(a.element).is("option")?(a.element.selected=!1,void this.$element.trigger("change")):void this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})},d.prototype.bind=function(a,b){var c=this;this.container=a,a.on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){c.removeData(this,"data")})},d.prototype.query=function(a,b){var d=[],e=this,f=this.$element.children();f.each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var b;a.children?(b=document.createElement("optgroup"),b.label=a.text):(b=document.createElement("option"),void 0!==b.textContent?b.textContent=a.text:b.innerText=a.text),a.id&&(b.value=a.id),a.disabled&&(b.disabled=!0),a.selected&&(b.selected=!0),a.title&&(b.title=a.title);var d=c(b),e=this._normalizeItem(a);return e.element=b,c.data(b,"data",e),d},d.prototype.item=function(a){var b={};if(b=c.data(a[0],"data"),null!=b)return b;if(a.is("option"))b={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){b={text:a.prop("label"),children:[],title:a.prop("title")};for(var d=a.children("option"),e=[],f=0;f<d.length;f++){var g=c(d[f]),h=this.item(g);e.push(h)}b.children=e}return b=this._normalizeItem(b),b.element=a[0],c.data(a[0],"data",b),b},d.prototype._normalizeItem=function(a){c.isPlainObject(a)||(a={id:a,text:a}),a=c.extend({},{text:""},a);var b={selected:!1,disabled:!1};return null!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){var c=this.options.get("matcher");return c(a,b)},d}),b.define("select300/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){var c=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}return b.Extend(d,a),d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){var k=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{var o=this.option(j);if(j.children){var p=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}return h},d}),b.define("select300/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return c.extend({},a,{q:a.term})},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){d.status&&"0"===d.status||e.trigger("results:message",{message:"errorLoading"})});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,a)),"function"==typeof f.data&&(f.data=f.data.call(this.$element,a)),this.ajaxOptions.delay&&null!=a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select300/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");void 0!==f&&(this.createTag=f);var g=d.get("insertTag");if(void 0!==g&&(this.insertTag=g),b.call(this,c,d),a.isArray(e))for(var h=0;h<e.length;h++){var i=e[h],j=this._normalizeItem(i),k=this.option(j);this.$element.append(k)}}return b.prototype.query=function(a,b,c){function d(a,f){for(var g=a.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!d({results:i.children},!0),k=i.text===b.term;if(k||j)return f?!1:(a.data=g,void c(a))}if(f)return!0;var l=e.createTag(b);if(null!=l){var m=e.option(l);m.attr("data-select300-tag",!0),e.addOptions([m]),e.insertTag(g,l)}a.results=g,c(a)}var e=this;return this._removeOldTags(),null==b.term||null!=b.page?void a.call(this,b,c):void a.call(this,b,d)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(b){var c=(this._lastTag,this.$element.find("option[data-select300-tag]"));c.each(function(){this.selected||a(this).remove()})},b}),b.define("select300/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select300-search__field")},b.prototype.query=function(b,c,d){function e(b){var c=g._normalizeItem(b),d=g.$element.find("option").filter(function(){return a(this).val()===c.id});if(!d.length){var e=g.option(c);e.attr("data-select300-tag",!0),g._removeOldTags(),g.addOptions([e])}f(c)}function f(a){g.trigger("select",{data:a})}var g=this;c.term=c.term||"";var h=this.tokenizer(c,this.options,e);h.term!==c.term&&(this.$search.length&&(this.$search.val(h.term),this.$search.focus()),c.term=h.term),b.call(this,c,d)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);null!=m?(e(m),g=g.substr(h+1)||"",h=0):h++}else h++}return{term:g}},b}),b.define("select300/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",b.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select300/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select300/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;return d.maximumSelectionLength>0&&f>=d.maximumSelectionLength?void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}}):void a.call(d,b,c)})},a}),b.define("select300/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select300-dropdown"><span class="select300-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.bind=function(){},c.prototype.position=function(a,b){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select300/dropdown/search",["jquery","../utils"],function(a,b){function c(){}return c.prototype.render=function(b){var c=b.call(this),d=a('<span class="select300-search select300-search--dropdown"><input class="select300-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},c.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(b){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val("")}),c.on("focus",function(){c.isOpen()&&e.$search.focus()}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){var b=e.showSearch(a);b?e.$searchContainer.removeClass("select300-search--hide"):e.$searchContainer.addClass("select300-search--hide")}})},c.prototype.handleSearch=function(a){if(!this._keyUpPrevented){var b=this.$search.val();this.trigger("query",{term:b})}this._keyUpPrevented=!1},c.prototype.showSearch=function(a,b){return!0},c}),b.define("select300/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select300/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){var c=e.$results.offset().top+e.$results.outerHeight(!1),d=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1);c+50>=d&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="select300-results__option select300-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select300/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(b,c,d){this.$dropdownParent=d.get("dropdownParent")||a(document.body),b.call(this,c,d)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select300"),b.addClass("select300-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c,d){var e=this,f="scroll.select300."+d.id,g="resize.select300."+d.id,h="orientationchange.select300."+d.id,i=this.$container.parents().filter(b.hasScroll);i.each(function(){a(this).data("select300-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),i.on(f,function(b){var c=a(this).data("select300-scroll-position");a(this).scrollTop(c.y)}),a(window).on(f+" "+g+" "+h,function(a){e._positionDropdown(),e._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c,d){var e="scroll.select300."+d.id,f="resize.select300."+d.id,g="orientationchange.select300."+d.id,h=this.$container.parents().filter(b.hasScroll);h.off(e),a(window).off(e+" "+f+" "+g)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select300-dropdown--above"),d=this.$dropdown.hasClass("select300-dropdown--below"),e=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.top<f.top-h.height,k=i.bottom>f.bottom+h.height,l={left:f.left,top:g.bottom},m=this.$dropdownParent;"static"===m.css("position")&&(m=m.offsetParent());var n=m.offset();l.top-=n.top,l.left-=n.left,c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-n.top-h.height),null!=e&&(this.$dropdown.removeClass("select300-dropdown--below select300-dropdown--above").addClass("select300-dropdown--"+e),this.$container.removeClass("select300-container--below select300-container--above").addClass("select300-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select300/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}function b(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return b.prototype.showSearch=function(b,c){return a(c.data.results)<this.minimumResultsForSearch?!1:b.call(this,c)},b}),b.define("select300/dropdown/selectOnClose",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(a){d._handleSelectOnClose(a)})},a.prototype._handleSelectOnClose=function(a,b){if(b&&null!=b.originalSelect2Event){var c=b.originalSelect2Event;if("select"===c._type||"unselect"===c._type)return}var d=this.getHighlightedResults();if(!(d.length<1)){var e=d.data("data");null!=e.element&&e.element.selected||null==e.element&&e.selected||this.trigger("select",{data:e})}},a}),b.define("select300/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&c.ctrlKey||this.trigger("close",{originalEvent:c,originalSelect2Event:b})},a}),b.define("select300/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){var b=a.minimum-a.input.length,c="Please enter "+b+" or more characters";return c},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),b.define("select300/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}D.prototype.apply=function(l){if(l=a.extend(!0,{},this.defaults,l),null==l.dataAdapter){if(null!=l.ajax?l.dataAdapter=o:null!=l.data?l.dataAdapter=n:l.dataAdapter=m,l.minimumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),(null!=l.tokenSeparators||null!=l.tokenizer)&&(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.multiple?l.selectionAdapter=e:l.selectionAdapter=d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L<K.length;L++){var M=K[L],N={};try{N=k.loadPath(M)}catch(O){try{M=this.defaults.amdLanguageBase+M,N=k.loadPath(M)}catch(P){l.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}J.extend(N)}l.translations=J}else{var Q=k.loadPath(this.defaults.amdLanguageBase+"en"),R=new k(l.language);R.extend(Q),l.translations=R}return l},D.prototype.reset=function(){function b(a){function b(a){return l[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&e.children.length>0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){var h=e.children[g],i=c(d,h);null==i&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var j=b(e.text).toUpperCase(),k=b(d.term).toUpperCase();return j.indexOf(k)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(this.defaults,f)};var E=new D;return E}),b.define("select300/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select300"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(a.prop("dir")?this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),a.data("select300Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select300-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),a.data("data",a.data("select300Tags")),a.data("tags",!0)),a.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",a.data("ajaxUrl")),a.data("ajax--url",a.data("ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,a.data()):a.data();var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select300/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,c){null!=a.data("select300")&&a.data("select300").destroy(),this.$element=a,this.id=this._generateId(a),c=c||{},this.options=new b(c,a),e.__super__.constructor.call(this);var d=a.attr("tabindex")||0;a.data("old-tabindex",d),a.attr("tabindex","-1");var f=this.options.get("dataAdapter");this.dataAdapter=new f(a,this.options);var g=this.render();this._placeContainer(g);var h=this.options.get("selectionAdapter");this.selection=new h(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,g);var i=this.options.get("dropdownAdapter");this.dropdown=new i(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,g);var j=this.options.get("resultsAdapter");this.results=new j(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var k=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){k.trigger("selection:update",{data:a})}),a.addClass("select300-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),a.data("select300",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b=b.replace(/(:|\.|\[|\]|,)/g,""),b="select300-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return 0>=e?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;i>h;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select300",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this.$element.on("focus.select300",function(a){b.trigger("focus",a)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._syncA),a.each(c,b._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",b._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",b._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",b._syncS,!1))},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle","focus"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("focus",function(a){b.focus(a)}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select300-container--open")}),this.on("close",function(){a.$container.removeClass("select300-container--open")}),this.on("enable",function(){a.$container.removeClass("select300-container--disabled")}),this.on("disable",function(){a.$container.addClass("select300-container--disabled")}),this.on("blur",function(){a.$container.removeClass("select300-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open",{}),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ESC||c===d.TAB||c===d.UP&&b.altKey?(a.close(),b.preventDefault()):c===d.ENTER?(a.trigger("results:select",{}),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle",{}),b.preventDefault()):c===d.UP?(a.trigger("results:previous",{}),b.preventDefault()):c===d.DOWN&&(a.trigger("results:next",{}),b.preventDefault()):(c===d.ENTER||c===d.SPACE||c===d.DOWN&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},e.prototype._syncSubtree=function(a,b){var c=!1,d=this;if(!a||!a.target||"OPTION"===a.target.nodeName||"OPTGROUP"===a.target.nodeName){if(b)if(b.addedNodes&&b.addedNodes.length>0)for(var e=0;e<b.addedNodes.length;e++){var f=b.addedNodes[e];f.selected&&(c=!0)}else b.removedNodes&&b.removedNodes.length>0&&(c=!0);else c=!0;c&&this.dataAdapter.current(function(a){d.trigger("selection:update",{data:a})})}},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===b&&(b={}),a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||this.trigger("query",{})},e.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},e.prototype.isOpen=function(){return this.$container.hasClass("select300-container--open")},e.prototype.hasFocus=function(){return this.$container.hasClass("select300-container--focus")},e.prototype.focus=function(a){this.hasFocus()||(this.$container.addClass("select300-container--focus"),this.trigger("focus",{}))},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select300("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==a||0===a.length)&&(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select300("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select300("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select300"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select300-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select300"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null;
|
3 |
+
},e.prototype.render=function(){var b=a('<span class="select300 select300-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select300-container--"+this.options.get("theme")),b.data("element",this.$element),b},e}),b.define("jquery-mousewheel",["jquery"],function(a){return a}),b.define("jquery.select300",["jquery","jquery-mousewheel","./select300/core","./select300/defaults"],function(a,b,c,d){if(null==a.fn.select300){var e=["open","close","destroy"];a.fn.select300=function(b){if(b=b||{},"object"==typeof b)return this.each(function(){var d=a.extend(!0,{},b);new c(a(this),d)}),this;if("string"==typeof b){var d,f=Array.prototype.slice.call(arguments,1);return this.each(function(){var c=a(this).data("select300");null==c&&window.console&&console.error&&console.error("The select300('"+b+"') method was called on an element that is not using Select2."),d=c[b].apply(c,f)}),a.inArray(b,e)>-1?this:d}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select300.defaults&&(a.fn.select300.defaults=d),c}),{define:b.define,require:b.require}}(),c=b.require("jquery.select300");return a.fn.select300.amd=b,c});
|
googleanalytics.php
CHANGED
@@ -6,9 +6,9 @@
|
|
6 |
* Author: MonsterInsights
|
7 |
* Author URI: https://www.monsterinsights.com/
|
8 |
*
|
9 |
-
* Version: 6.0.
|
10 |
* Requires at least: 3.9.0
|
11 |
-
* Tested up to: 4.7.
|
12 |
*
|
13 |
* License: GPL v3
|
14 |
*
|
@@ -32,7 +32,7 @@
|
|
32 |
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
33 |
*
|
34 |
* @category Plugin
|
35 |
-
* @copyright Copyright ©
|
36 |
* @author Chris Christoff
|
37 |
* @package MonsterInsights
|
38 |
*/
|
@@ -69,7 +69,7 @@ final class MonsterInsights_Lite {
|
|
69 |
* @access public
|
70 |
* @var string $version Plugin version.
|
71 |
*/
|
72 |
-
public $version = '6.0.
|
73 |
|
74 |
/**
|
75 |
* Plugin file.
|
@@ -123,7 +123,7 @@ final class MonsterInsights_Lite {
|
|
123 |
* @access public
|
124 |
* @var MonsterInsights_GA $ga Instance of GA class.
|
125 |
*/
|
126 |
-
|
127 |
|
128 |
/**
|
129 |
* Primary class constructor.
|
@@ -250,12 +250,12 @@ final class MonsterInsights_Lite {
|
|
250 |
if ( $key === 'ga' ) {
|
251 |
if ( empty( self::$instance->ga ) ) {
|
252 |
// LazyLoad GA for Frontend
|
253 |
-
self::$instance->ga = new MonsterInsights_GA();
|
254 |
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'includes/admin/google.php';
|
|
|
255 |
}
|
256 |
-
return
|
257 |
} else {
|
258 |
-
return
|
259 |
}
|
260 |
}
|
261 |
|
@@ -616,7 +616,7 @@ register_deactivation_hook( __FILE__, 'monsterinsights_lite_deactivation_hook' )
|
|
616 |
* @return void
|
617 |
*/
|
618 |
function monsterinsights_lite_uninstall_hook( $network_wide ) {
|
619 |
-
|
620 |
$instance = MonsterInsights();
|
621 |
// Note, if both MI Pro and Lite are active, this is an MI Pro instance
|
622 |
// Therefore MI Lite can only use functions of the instance common to
|
6 |
* Author: MonsterInsights
|
7 |
* Author URI: https://www.monsterinsights.com/
|
8 |
*
|
9 |
+
* Version: 6.0.12
|
10 |
* Requires at least: 3.9.0
|
11 |
+
* Tested up to: 4.7.3
|
12 |
*
|
13 |
* License: GPL v3
|
14 |
*
|
32 |
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
33 |
*
|
34 |
* @category Plugin
|
35 |
+
* @copyright Copyright © 2017 Chris Christoff
|
36 |
* @author Chris Christoff
|
37 |
* @package MonsterInsights
|
38 |
*/
|
69 |
* @access public
|
70 |
* @var string $version Plugin version.
|
71 |
*/
|
72 |
+
public $version = '6.0.12';
|
73 |
|
74 |
/**
|
75 |
* Plugin file.
|
123 |
* @access public
|
124 |
* @var MonsterInsights_GA $ga Instance of GA class.
|
125 |
*/
|
126 |
+
protected $ga;
|
127 |
|
128 |
/**
|
129 |
* Primary class constructor.
|
250 |
if ( $key === 'ga' ) {
|
251 |
if ( empty( self::$instance->ga ) ) {
|
252 |
// LazyLoad GA for Frontend
|
|
|
253 |
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'includes/admin/google.php';
|
254 |
+
self::$instance->ga = new MonsterInsights_GA();
|
255 |
}
|
256 |
+
return self::$instance->$key;
|
257 |
} else {
|
258 |
+
return self::$instance->$key;
|
259 |
}
|
260 |
}
|
261 |
|
616 |
* @return void
|
617 |
*/
|
618 |
function monsterinsights_lite_uninstall_hook( $network_wide ) {
|
619 |
+
wp_cache_flush();
|
620 |
$instance = MonsterInsights();
|
621 |
// Note, if both MI Pro and Lite are active, this is an MI Pro instance
|
622 |
// Therefore MI Lite can only use functions of the instance common to
|
includes/admin/common.php
CHANGED
@@ -40,9 +40,9 @@ function monsterinsights_admin_styles() {
|
|
40 |
wp_register_style( MONSTERINSIGHTS_PLUGIN_SLUG . '-font-awesome', plugins_url( 'assets/css/font-awesome/font-awesome.min.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
41 |
wp_enqueue_style( MONSTERINSIGHTS_PLUGIN_SLUG . '-font-awesome' );
|
42 |
|
43 |
-
//
|
44 |
-
wp_register_style( MONSTERINSIGHTS_PLUGIN_SLUG . '-
|
45 |
-
wp_enqueue_style( MONSTERINSIGHTS_PLUGIN_SLUG . '-
|
46 |
|
47 |
// Tooltips
|
48 |
wp_enqueue_script( 'jquery-ui-tooltip' );
|
@@ -102,9 +102,9 @@ function monsterinsights_admin_scripts() {
|
|
102 |
wp_register_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-jvectormap-world-script', plugins_url( 'assets/js/jvectormap/jquery-jvectormap-world-mill.js', MONSTERINSIGHTS_PLUGIN_FILE ), array( 'jquery', MONSTERINSIGHTS_PLUGIN_SLUG . '-jvectormap-script' ), monsterinsights_get_asset_version(), true );
|
103 |
wp_enqueue_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-jvectormap-world-script' );
|
104 |
|
105 |
-
//
|
106 |
-
wp_register_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-
|
107 |
-
wp_enqueue_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-
|
108 |
|
109 |
// Our Admin JS
|
110 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
@@ -164,6 +164,9 @@ function monsterinsights_admin_scripts() {
|
|
164 |
)
|
165 |
);
|
166 |
}
|
|
|
|
|
|
|
167 |
}
|
168 |
add_action( 'admin_enqueue_scripts', 'monsterinsights_admin_scripts' );
|
169 |
|
@@ -318,4 +321,29 @@ function monsterinsights_get_shareasale_id() {
|
|
318 |
// Whether we have an ID or not, filter the ID.
|
319 |
$shareasale_id = apply_filters( 'monsterinsights_shareasale_id', $shareasale_id );
|
320 |
return $shareasale_id;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
321 |
}
|
40 |
wp_register_style( MONSTERINSIGHTS_PLUGIN_SLUG . '-font-awesome', plugins_url( 'assets/css/font-awesome/font-awesome.min.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
41 |
wp_enqueue_style( MONSTERINSIGHTS_PLUGIN_SLUG . '-font-awesome' );
|
42 |
|
43 |
+
// Select300
|
44 |
+
wp_register_style( MONSTERINSIGHTS_PLUGIN_SLUG . '-select300-style', plugins_url( 'assets/css/select300/select300.css', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version() );
|
45 |
+
wp_enqueue_style( MONSTERINSIGHTS_PLUGIN_SLUG . '-select300-style' );
|
46 |
|
47 |
// Tooltips
|
48 |
wp_enqueue_script( 'jquery-ui-tooltip' );
|
102 |
wp_register_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-jvectormap-world-script', plugins_url( 'assets/js/jvectormap/jquery-jvectormap-world-mill.js', MONSTERINSIGHTS_PLUGIN_FILE ), array( 'jquery', MONSTERINSIGHTS_PLUGIN_SLUG . '-jvectormap-script' ), monsterinsights_get_asset_version(), true );
|
103 |
wp_enqueue_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-jvectormap-world-script' );
|
104 |
|
105 |
+
// Select300
|
106 |
+
wp_register_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-select300-script', plugins_url( 'assets/js/select300/select300.js', MONSTERINSIGHTS_PLUGIN_FILE ), array( 'jquery' ), monsterinsights_get_asset_version() );
|
107 |
+
wp_enqueue_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-select300-script' );
|
108 |
|
109 |
// Our Admin JS
|
110 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
164 |
)
|
165 |
);
|
166 |
}
|
167 |
+
|
168 |
+
// ublock notice
|
169 |
+
add_action( 'admin_print_footer_scripts', 'monsterinsights_settings_ublock_error_js', 9999999 );
|
170 |
}
|
171 |
add_action( 'admin_enqueue_scripts', 'monsterinsights_admin_scripts' );
|
172 |
|
321 |
// Whether we have an ID or not, filter the ID.
|
322 |
$shareasale_id = apply_filters( 'monsterinsights_shareasale_id', $shareasale_id );
|
323 |
return $shareasale_id;
|
324 |
+
}
|
325 |
+
|
326 |
+
function monsterinsights_settings_ublock_error_js(){
|
327 |
+
echo "<script type='text/javascript'>\n";
|
328 |
+
echo "jQuery( document ).ready( function( $ ) {
|
329 |
+
if ( window.uorigindetected == null){
|
330 |
+
$('#monsterinsights-ublock-origin-error').show();
|
331 |
+
$('.monsterinsights-nav-tabs').hide();
|
332 |
+
$('.monsterinsights-nav-container').hide();
|
333 |
+
$('#monsterinsights-addon-heading').hide();
|
334 |
+
$('#monsterinsights-addons').hide();
|
335 |
+
$('#monsterinsights-reports').hide();
|
336 |
+
}
|
337 |
+
});";
|
338 |
+
echo "\n</script>";
|
339 |
+
}
|
340 |
+
|
341 |
+
function monsterinsights_ublock_notice() {
|
342 |
+
ob_start();?>
|
343 |
+
<div id="monsterinsights-ublock-origin-error" class="error inline" style="display:none;">
|
344 |
+
<?php echo sprintf( esc_html__( 'MonsterInsights has detected that it\'s files are being blocked. This is usually caused by a adblock browser plugin (particularly uBlock Origin), or a conflicting WordPress theme or plugin. This issue only affects the admin side of MonsterInsights. To solve this, ensure MonsterInsights is whitelisted for your website URL in any adblock browser plugin you use. For step by step directions on how to do this, %1$sclick here%2$s. If this doesn\'t solve the issue (rare), send us a ticket %3$shere%2$s and we\'ll be happy to help diagnose the issue.', 'google-analytics-for-wordpress'), '<a href="https://monsterinsights.com/docs/monsterinsights-asset-files-blocked/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>', '<a href="https://monsterinsights.com/contact/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">');
|
345 |
+
?>
|
346 |
+
</div>
|
347 |
+
<?php
|
348 |
+
return ob_get_clean();
|
349 |
}
|
includes/admin/google.php
CHANGED
@@ -246,7 +246,7 @@ final class MonsterInsights_GA {
|
|
246 |
* @return array
|
247 |
*/
|
248 |
public function get_profiles() { // @todo: this needs exception handling for a 401 login required
|
249 |
-
$accounts = $this->
|
250 |
if ( is_array( $accounts ) ) {
|
251 |
return $accounts;
|
252 |
} else {
|
@@ -284,13 +284,13 @@ final class MonsterInsights_GA {
|
|
284 |
|
285 |
|
286 |
/**
|
287 |
-
*
|
288 |
*
|
289 |
* @param array $response
|
290 |
*
|
291 |
* @return mixed
|
292 |
*/
|
293 |
-
private function
|
294 |
$accounts = array();
|
295 |
$start_index = 1;
|
296 |
$paginate = false;
|
@@ -310,7 +310,7 @@ final class MonsterInsights_GA {
|
|
310 |
'body' => json_decode( $response->getResponseBody(), true ),
|
311 |
);
|
312 |
} else {
|
313 |
-
|
314 |
}
|
315 |
|
316 |
if ( isset( $response['response']['code'] ) && $response['response']['code'] == 200 ) {
|
@@ -348,11 +348,16 @@ final class MonsterInsights_GA {
|
|
348 |
}
|
349 |
}
|
350 |
}
|
|
|
|
|
|
|
|
|
351 |
}
|
|
|
352 |
if ( isset( $response['body']['totalResults'] ) && $start_index < $response['body']['totalResults'] && ! empty( $response['body']['nextLink'] ) ) {
|
353 |
$paginate = true;
|
354 |
} else {
|
355 |
-
$continue
|
356 |
}
|
357 |
}
|
358 |
return $accounts;
|
@@ -476,12 +481,18 @@ final class MonsterInsights_GA {
|
|
476 |
$auth_key = ! empty( $_POST['stepdata'] ) ? sanitize_text_field( $_POST['stepdata'] ) : '';
|
477 |
if ( $auth_key ) {
|
478 |
if ( $this->test_authkey( $auth_key ) ) {
|
479 |
-
$profiles = $this->
|
480 |
delete_option( 'monsterinsights_get_profiles' );
|
481 |
update_option( 'monsterinsights_get_profiles', $profiles );
|
482 |
-
if ( ! empty( $profiles ) ) {
|
483 |
-
$select = $this->ga_select();
|
484 |
$nextview = monsterinsights_google_auth_selectprofile_view( $reauth, $select );
|
|
|
|
|
|
|
|
|
|
|
|
|
485 |
} else {
|
486 |
// No profiles or not enough permissions
|
487 |
$auth_url = $this->create_auth_url();
|
@@ -594,7 +605,7 @@ final class MonsterInsights_GA {
|
|
594 |
$select = '';
|
595 |
$select .= '<div class="monsterinsights_ga_form">';
|
596 |
$select .= '<label for="monsterinsights_step_data" id="monsterinsights_select_ga_profile_label">' . esc_html__( 'Analytics profile', 'google-analytics-for-wordpress' ) . ':</label>';
|
597 |
-
$select .= '<select data-placeholder="' . esc_attr__( 'Select a profile', 'google-analytics-for-wordpress' ) . '" name="monsterinsights_step_data" class="monsterinsights-
|
598 |
$select .= '<option></option>';
|
599 |
|
600 |
if ( count( $values ) >= 1 ) {
|
246 |
* @return array
|
247 |
*/
|
248 |
public function get_profiles() { // @todo: this needs exception handling for a 401 login required
|
249 |
+
$accounts = $this->get_profiles_request();
|
250 |
if ( is_array( $accounts ) ) {
|
251 |
return $accounts;
|
252 |
} else {
|
284 |
|
285 |
|
286 |
/**
|
287 |
+
* Get accounts request
|
288 |
*
|
289 |
* @param array $response
|
290 |
*
|
291 |
* @return mixed
|
292 |
*/
|
293 |
+
private function get_profiles_request() {
|
294 |
$accounts = array();
|
295 |
$start_index = 1;
|
296 |
$paginate = false;
|
310 |
'body' => json_decode( $response->getResponseBody(), true ),
|
311 |
);
|
312 |
} else {
|
313 |
+
return esc_html__( 'Google Analytics had a connection error', 'google-analytics-for-wordpress' );
|
314 |
}
|
315 |
|
316 |
if ( isset( $response['response']['code'] ) && $response['response']['code'] == 200 ) {
|
348 |
}
|
349 |
}
|
350 |
}
|
351 |
+
} else if ( isset( $response['response']['code'] ) && isset( $response['body']['error']['errors']['message'] ) && $response['response']['code'] !== 200 && ! $paginate ) {
|
352 |
+
return $response['body']['error']['errors']['message'];
|
353 |
+
} else if ( isset( $response['response']['code'] ) && $response['response']['code'] !== 200 && ! $paginate ) {
|
354 |
+
return esc_html__( 'Google Analytics had a connection error', 'google-analytics-for-wordpress' );
|
355 |
}
|
356 |
+
|
357 |
if ( isset( $response['body']['totalResults'] ) && $start_index < $response['body']['totalResults'] && ! empty( $response['body']['nextLink'] ) ) {
|
358 |
$paginate = true;
|
359 |
} else {
|
360 |
+
$continue = false;
|
361 |
}
|
362 |
}
|
363 |
return $accounts;
|
481 |
$auth_key = ! empty( $_POST['stepdata'] ) ? sanitize_text_field( $_POST['stepdata'] ) : '';
|
482 |
if ( $auth_key ) {
|
483 |
if ( $this->test_authkey( $auth_key ) ) {
|
484 |
+
$profiles = $this->get_profiles_request();
|
485 |
delete_option( 'monsterinsights_get_profiles' );
|
486 |
update_option( 'monsterinsights_get_profiles', $profiles );
|
487 |
+
if ( ! empty( $profiles ) && is_array( $profiles ) ) {
|
488 |
+
$select = $this->ga_select( $profiles );
|
489 |
$nextview = monsterinsights_google_auth_selectprofile_view( $reauth, $select );
|
490 |
+
} else if ( ! empty( $profiles ) && is_string( $profiles ) ) {
|
491 |
+
// Error from Google
|
492 |
+
$auth_url = $this->create_auth_url();
|
493 |
+
$this->client->clear_data();
|
494 |
+
$this->set_test_client();
|
495 |
+
$nextview = monsterinsights_google_auth_enterkey_view( $reauth, $auth_url, esc_html( $profiles ) );
|
496 |
} else {
|
497 |
// No profiles or not enough permissions
|
498 |
$auth_url = $this->create_auth_url();
|
605 |
$select = '';
|
606 |
$select .= '<div class="monsterinsights_ga_form">';
|
607 |
$select .= '<label for="monsterinsights_step_data" id="monsterinsights_select_ga_profile_label">' . esc_html__( 'Analytics profile', 'google-analytics-for-wordpress' ) . ':</label>';
|
608 |
+
$select .= '<select data-placeholder="' . esc_attr__( 'Select a profile', 'google-analytics-for-wordpress' ) . '" name="monsterinsights_step_data" class="monsterinsights-select300 monsterinsights_select_ga_profile" id="monsterinsights_step_data" style="width:80%;margin-left:10%;margin-right:10%;background-color: #FFF;">';
|
609 |
$select .= '<option></option>';
|
610 |
|
611 |
if ( count( $values ) >= 1 ) {
|
includes/admin/pages/addons.php
CHANGED
@@ -78,7 +78,7 @@ function monsterinsights_addons_page() {
|
|
78 |
*/
|
79 |
do_action('monsterinsights_head');
|
80 |
?>
|
81 |
-
|
82 |
<div id="monsterinsights-addon-heading" class="monsterinsights-addons-subheading monsterinsights-clearfix-after">
|
83 |
<h1><?php esc_html_e( 'MonsterInsights Addons', 'google-analytics-for-wordpress' ); ?></h1>
|
84 |
<form id="add-on-search">
|
@@ -90,7 +90,6 @@ function monsterinsights_addons_page() {
|
|
90 |
</select>
|
91 |
</form>
|
92 |
</div>
|
93 |
-
|
94 |
<div id="monsterinsights-addons" class="wrap">
|
95 |
<div class="monsterinsights-clear">
|
96 |
<?php
|
78 |
*/
|
79 |
do_action('monsterinsights_head');
|
80 |
?>
|
81 |
+
<?php echo monsterinsights_ublock_notice(); ?>
|
82 |
<div id="monsterinsights-addon-heading" class="monsterinsights-addons-subheading monsterinsights-clearfix-after">
|
83 |
<h1><?php esc_html_e( 'MonsterInsights Addons', 'google-analytics-for-wordpress' ); ?></h1>
|
84 |
<form id="add-on-search">
|
90 |
</select>
|
91 |
</form>
|
92 |
</div>
|
|
|
93 |
<div id="monsterinsights-addons" class="wrap">
|
94 |
<div class="monsterinsights-clear">
|
95 |
<?php
|
includes/admin/pages/dashboard.php
CHANGED
@@ -48,6 +48,7 @@ function monsterinsights_dashboard_page() {
|
|
48 |
$lite_access_key = get_option( 'monsterinsights_lite_access_token', false );
|
49 |
$needs_re_auth = ( ( $failed && ( $last_run === false || monsterinsights_hours_between( $last_run ) >= 48 ) ) || ( empty( $pro_access_key ) && empty( $lite_access_key ) ) || ( version_compare( $oauth_version, '1.0', '<' ) ) ) ? true : false;
|
50 |
?>
|
|
|
51 |
<div id="monsterinsights-reports" class="wrap">
|
52 |
<div class="monsterinsights-clear">
|
53 |
<div class="monsterinsights-reports-action-bar">
|
48 |
$lite_access_key = get_option( 'monsterinsights_lite_access_token', false );
|
49 |
$needs_re_auth = ( ( $failed && ( $last_run === false || monsterinsights_hours_between( $last_run ) >= 48 ) ) || ( empty( $pro_access_key ) && empty( $lite_access_key ) ) || ( version_compare( $oauth_version, '1.0', '<' ) ) ) ? true : false;
|
50 |
?>
|
51 |
+
<?php echo monsterinsights_ublock_notice(); ?>
|
52 |
<div id="monsterinsights-reports" class="wrap">
|
53 |
<div class="monsterinsights-clear">
|
54 |
<div class="monsterinsights-reports-action-bar">
|
includes/admin/pages/network-settings.php
CHANGED
@@ -35,6 +35,7 @@ function monsterinsights_network_page() {
|
|
35 |
$license_key = ! empty( $network_license['key'] ) ? esc_attr( $network_license['key'] ) : '';
|
36 |
$license_key_type = ! empty( $network_license['type'] ) ? esc_html( $network_license['type'] ) : '';
|
37 |
?>
|
|
|
38 |
<div id="monsterinsights-settings" class="wrap">
|
39 |
<div id="monsterinsights-tabs" class="monsterinsights-clear" data-navigation="#monsterinsights-tabs-nav">
|
40 |
<div id="monsterinsights-tab-general" class="monsterinsights-tab monsterinsights-clear monsterinsights-active">
|
35 |
$license_key = ! empty( $network_license['key'] ) ? esc_attr( $network_license['key'] ) : '';
|
36 |
$license_key_type = ! empty( $network_license['type'] ) ? esc_html( $network_license['type'] ) : '';
|
37 |
?>
|
38 |
+
<?php echo monsterinsights_ublock_notice(); ?>
|
39 |
<div id="monsterinsights-settings" class="wrap">
|
40 |
<div id="monsterinsights-tabs" class="monsterinsights-clear" data-navigation="#monsterinsights-tabs-nav">
|
41 |
<div id="monsterinsights-tab-general" class="monsterinsights-tab monsterinsights-clear monsterinsights-active">
|
includes/admin/pages/reports.php
CHANGED
@@ -65,7 +65,8 @@ function monsterinsights_reports_page() {
|
|
65 |
$lite_access_key = get_option( 'monsterinsights_lite_access_token', false );
|
66 |
$needs_re_auth = ( ( $failed && ( $last_run === false || monsterinsights_hours_between( $last_run ) >= 48 ) ) || ( empty( $pro_access_key ) && empty( $lite_access_key ) ) || ( version_compare( $oauth_version, '1.0', '<' ) ) ) ? true : false;
|
67 |
?>
|
68 |
-
|
|
|
69 |
<!-- Tabs -->
|
70 |
<h1 id="monsterinsights-reports-page-main-nav" class="monsterinsights-main-nav-container monsterinsights-nav-container" data-container="#monsterinsights-reports-pages" data-update-hashbang="1">
|
71 |
<?php
|
65 |
$lite_access_key = get_option( 'monsterinsights_lite_access_token', false );
|
66 |
$needs_re_auth = ( ( $failed && ( $last_run === false || monsterinsights_hours_between( $last_run ) >= 48 ) ) || ( empty( $pro_access_key ) && empty( $lite_access_key ) ) || ( version_compare( $oauth_version, '1.0', '<' ) ) ) ? true : false;
|
67 |
?>
|
68 |
+
<?php echo monsterinsights_ublock_notice(); ?>
|
69 |
+
|
70 |
<!-- Tabs -->
|
71 |
<h1 id="monsterinsights-reports-page-main-nav" class="monsterinsights-main-nav-container monsterinsights-nav-container" data-container="#monsterinsights-reports-pages" data-update-hashbang="1">
|
72 |
<?php
|
includes/admin/pages/settings.php
CHANGED
@@ -53,6 +53,7 @@ function monsterinsights_settings_page() {
|
|
53 |
*/
|
54 |
do_action( 'monsterinsights_head' );
|
55 |
?>
|
|
|
56 |
|
57 |
<!-- Tabs -->
|
58 |
<h1 id="monsterinsights-settings-page-main-nav" class="monsterinsights-main-nav-container monsterinsights-nav-container" data-container="#monsterinsights-settings-pages">
|
53 |
*/
|
54 |
do_action( 'monsterinsights_head' );
|
55 |
?>
|
56 |
+
<?php echo monsterinsights_ublock_notice(); ?>
|
57 |
|
58 |
<!-- Tabs -->
|
59 |
<h1 id="monsterinsights-settings-page-main-nav" class="monsterinsights-main-nav-container monsterinsights-nav-container" data-container="#monsterinsights-settings-pages">
|
includes/admin/reports/overview.php
CHANGED
@@ -133,161 +133,163 @@ final class MonsterInsights_Report_Overview extends MonsterInsights_Report {
|
|
133 |
?>
|
134 |
<script>
|
135 |
jQuery(document).ready(function() {
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
|
|
154 |
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
} else {
|
188 |
-
title = '<img src="<?php echo $down; ?>" srcset="<?php echo $down2x; ?> 2x" alt="<?php echo $downlabel; ?>" style="margin-right:6px"/>' + Math.abs( tooltip.title[1] );
|
189 |
-
}
|
190 |
-
tooltipEl.html(title);
|
191 |
-
|
192 |
-
// Find Y Location on page
|
193 |
-
var top = 0;
|
194 |
-
|
195 |
-
if (tooltip.yAlign) {
|
196 |
-
var ch = 0;
|
197 |
-
if (tooltip.caretHeight) {
|
198 |
-
ch = tooltip.caretHeight;
|
199 |
-
}
|
200 |
-
if (tooltip.yAlign == 'above') {
|
201 |
-
top = tooltip.y - ch - tooltip.caretPadding;
|
202 |
} else {
|
203 |
-
|
204 |
}
|
205 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
}
|
249 |
-
change = Math.round( change );
|
250 |
-
return new Array(change, value);
|
251 |
-
},
|
252 |
-
label: function(tooltipItem, data) {
|
253 |
-
return '';
|
254 |
}
|
255 |
-
}
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
}
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
}
|
278 |
-
}
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
}
|
290 |
-
}
|
291 |
});
|
292 |
</script>
|
293 |
<div id="monsterinsights-chartjs-tooltip"></div>
|
@@ -405,21 +407,23 @@ final class MonsterInsights_Report_Overview extends MonsterInsights_Report {
|
|
405 |
<div id="monsterinsights-reports-country-map" style="height: 400px;" ></div>
|
406 |
<script type="text/javascript">
|
407 |
jQuery(function(){
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
|
|
|
|
|
|
421 |
}
|
422 |
-
});
|
423 |
});
|
424 |
</script>
|
425 |
</div>
|
133 |
?>
|
134 |
<script>
|
135 |
jQuery(document).ready(function() {
|
136 |
+
if ( window.uorigindetected != null){
|
137 |
+
var ctx = document.getElementById("monsterinsights-overview-pageviews");
|
138 |
+
var data = {
|
139 |
+
labels: [<?php echo implode( ', ', $pageviews_labels ); ?>],
|
140 |
+
datasets: [
|
141 |
+
{
|
142 |
+
lineTension: 0,
|
143 |
+
backgroundColor: 'rgba(236,249,246,.5)',
|
144 |
+
borderColor: "#47c2a5",
|
145 |
+
fillColor : "#ecf9f6",
|
146 |
+
pointRadius: 5,
|
147 |
+
pointHoverRadius: 5,
|
148 |
+
pointBorderColor : "#fff",
|
149 |
+
pointBackgroundColor : "#489be8",
|
150 |
+
data: [<?php echo implode( ', ', $pageviews_datapoints ); ?>],
|
151 |
+
|
152 |
+
}
|
153 |
+
]
|
154 |
+
};
|
155 |
|
156 |
+
Chart.defaults.global.tooltips.custom = function(tooltip) {
|
157 |
+
// Tooltip Element
|
158 |
+
var tooltipEl = jQuery('#monsterinsights-chartjs-tooltip');
|
159 |
+
if (!tooltipEl[0]) {
|
160 |
+
jQuery('body').append('<div id="monsterinsights-chartjs-tooltip"></div>');
|
161 |
+
tooltipEl = jQuery('#monsterinsights-chartjs-tooltip');
|
162 |
+
}
|
163 |
+
// Hide if no tooltip
|
164 |
+
if (!tooltip.opacity) {
|
165 |
+
tooltipEl.css({
|
166 |
+
opacity: 0
|
167 |
+
});
|
168 |
+
jQuery('.chartjs-wrap canvas').each(function(index, el) {
|
169 |
+
jQuery(el).css('cursor', 'default');
|
170 |
+
});
|
171 |
+
return;
|
172 |
+
}
|
173 |
+
jQuery(this._chart.canvas).css('cursor', 'pointer');
|
174 |
|
175 |
+
// Set caret Position
|
176 |
+
tooltipEl.removeClass('above below no-transform');
|
177 |
+
if (tooltip.yAlign) {
|
178 |
+
tooltipEl.addClass(tooltip.yAlign);
|
179 |
+
} else {
|
180 |
+
tooltipEl.addClass('no-transform');
|
181 |
+
}
|
182 |
+
// Set Text
|
183 |
+
var title = '';
|
184 |
+
if ( tooltip.title[0] == 0 ) {
|
185 |
+
title = '0%';
|
186 |
+
} else if ( tooltip.title[0] > 0 ) {
|
187 |
+
title = '<img src="<?php echo $up; ?>" srcset="<?php echo $up2x; ?> 2x" alt="<?php echo $uplabel; ?>" style="margin-right:6px"/>' + tooltip.title[1];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
} else {
|
189 |
+
title = '<img src="<?php echo $down; ?>" srcset="<?php echo $down2x; ?> 2x" alt="<?php echo $downlabel; ?>" style="margin-right:6px"/>' + Math.abs( tooltip.title[1] );
|
190 |
}
|
191 |
+
tooltipEl.html(title);
|
192 |
+
|
193 |
+
// Find Y Location on page
|
194 |
+
var top = 0;
|
195 |
+
|
196 |
+
if (tooltip.yAlign) {
|
197 |
+
var ch = 0;
|
198 |
+
if (tooltip.caretHeight) {
|
199 |
+
ch = tooltip.caretHeight;
|
200 |
+
}
|
201 |
+
if (tooltip.yAlign == 'above') {
|
202 |
+
top = tooltip.y - ch - tooltip.caretPadding;
|
203 |
+
} else {
|
204 |
+
top = tooltip.y + ch + tooltip.caretPadding;
|
205 |
+
}
|
206 |
+
}
|
207 |
|
208 |
+
// Display, position, and set styles for font
|
209 |
+
tooltipEl.css({
|
210 |
+
opacity: 1,
|
211 |
+
width: tooltip.width ? (tooltip.width + 'px') : 'auto',
|
212 |
+
left: 30 + tooltip.x + 'px',
|
213 |
+
top: top - 8 +'px',
|
214 |
+
fontFamily: tooltip._fontFamily,
|
215 |
+
fontSize: tooltip.fontSize,
|
216 |
+
fontStyle: tooltip._fontStyle,
|
217 |
+
padding: tooltip.yPadding + 'px ' + tooltip.xPadding + 'px',
|
218 |
+
});
|
219 |
+
};
|
220 |
|
221 |
+
var MonsterInsightsOverviewPageviews = new Chart(ctx, {
|
222 |
+
type: 'line',
|
223 |
+
data: data,
|
224 |
+
options: {
|
225 |
+
legend: {
|
226 |
+
display: false,
|
227 |
+
},
|
228 |
+
tooltips: {
|
229 |
+
enabled: false,
|
230 |
+
yAlign: 'above',
|
231 |
+
callbacks: {
|
232 |
+
title: function(tooltipItem, data) {
|
233 |
+
tooltipItem = tooltipItem[0];
|
234 |
+
var prevvalue = 0;
|
235 |
+
if ( tooltipItem.index != 0 ) {
|
236 |
+
prevvalue = data.datasets[0].data[tooltipItem.index - 1]
|
237 |
+
}
|
238 |
+
|
239 |
+
var value = data.datasets[0].data[tooltipItem.index];
|
240 |
+
var change = 0;
|
241 |
+
if ( prevvalue == 0 && value == 0 ) {
|
242 |
+
change = 0;
|
243 |
+
} else if ( prevvalue == 0 ) {
|
244 |
+
change = 100;
|
245 |
+
} else if ( value == 0 ) {
|
246 |
+
change = -100;
|
247 |
+
} else {
|
248 |
+
change = ((value - prevvalue) / prevvalue) * 100;
|
249 |
+
}
|
250 |
+
change = Math.round( change );
|
251 |
+
return new Array(change, value);
|
252 |
+
},
|
253 |
+
label: function(tooltipItem, data) {
|
254 |
+
return '';
|
255 |
}
|
|
|
|
|
|
|
|
|
|
|
256 |
}
|
257 |
+
},
|
258 |
+
scales: {
|
259 |
+
xAxes: [{
|
260 |
+
spanGaps: true,
|
261 |
+
position: 'bottom',
|
262 |
+
gridLines: {
|
263 |
+
show: true,
|
264 |
+
color: "#f1f1f1",
|
265 |
+
},
|
266 |
+
ticks: {
|
267 |
+
fontColor: "#7f8591",
|
268 |
+
}
|
269 |
+
}],
|
270 |
+
yAxes: [{
|
271 |
+
gridLines: {
|
272 |
+
show: true,
|
273 |
+
color: "#f1f1f1",
|
274 |
+
},
|
275 |
+
ticks: {
|
276 |
+
fontColor: "#7f8591",
|
277 |
+
callback: function(value) {if (value % 1 === 0) {return value;}}
|
278 |
+
}
|
279 |
+
}]
|
280 |
+
},
|
281 |
+
animation: {
|
282 |
+
duration: 5000,
|
283 |
+
},
|
284 |
+
legend : {
|
285 |
+
display: false,
|
286 |
+
},
|
287 |
+
responsive: true,
|
288 |
+
maintainAspectRatio: false,
|
289 |
+
borderWidth: 1,
|
290 |
+
}
|
291 |
+
});
|
292 |
+
}
|
293 |
});
|
294 |
</script>
|
295 |
<div id="monsterinsights-chartjs-tooltip"></div>
|
407 |
<div id="monsterinsights-reports-country-map" style="height: 400px;" ></div>
|
408 |
<script type="text/javascript">
|
409 |
jQuery(function(){
|
410 |
+
if ( window.uorigindetected != null) {
|
411 |
+
var viewname = <?php echo "' " . __( 'views', 'google-analytics-for-wordpress' ) . "'"; ?>;
|
412 |
+
var monsterinsights_countries = <?php echo $this->get_countries_array( $countries ) ?>;
|
413 |
+
jQuery('#monsterinsights-reports-country-map').vectorMap({
|
414 |
+
map: 'world_mill',
|
415 |
+
series: {
|
416 |
+
regions: [{
|
417 |
+
values: monsterinsights_countries,
|
418 |
+
scale: ['#FFFFFF', '#0071A4'],
|
419 |
+
normalizeFunction: 'polynomial'
|
420 |
+
}]
|
421 |
+
},
|
422 |
+
onRegionTipShow: function(e, el, code){
|
423 |
+
el.html(el.html()+' ('+ monsterinsights_countries[code] + viewname +')');
|
424 |
+
}
|
425 |
+
});
|
426 |
}
|
|
|
427 |
});
|
428 |
</script>
|
429 |
</div>
|
includes/admin/settings/register-settings.php
CHANGED
@@ -329,6 +329,12 @@ function monsterinsights_get_registered_settings() {
|
|
329 |
'multiple' => true,
|
330 |
'allowclear' => true
|
331 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
)
|
333 |
),
|
334 |
);
|
329 |
'multiple' => true,
|
330 |
'allowclear' => true
|
331 |
),
|
332 |
+
'anonymous_data' => array(
|
333 |
+
'id' => 'anonymous_data',
|
334 |
+
'name' => __( 'Allow Usage Tracking', 'google-analytics-for-wordpress' ),
|
335 |
+
'desc' => __( 'By allowing us to track usage data we can better help you, because we know with which WordPress configurations, themes and plugins we should test.', 'google-analytics-for-wordpress' ),
|
336 |
+
'type' => 'checkbox',
|
337 |
+
),
|
338 |
)
|
339 |
),
|
340 |
);
|
includes/admin/settings/settings-api.php
CHANGED
@@ -781,7 +781,7 @@ function monsterinsights_select_callback($args) {
|
|
781 |
$class = monsterinsights_sanitize_html_class( $args['field_class'] );
|
782 |
|
783 |
if ( isset( $args['select2'] ) ) {
|
784 |
-
$class .= ' monsterinsights-
|
785 |
}
|
786 |
|
787 |
$allowclear = isset( $args['allowclear'] ) ? (bool) $args['allowclear'] : false;
|
781 |
$class = monsterinsights_sanitize_html_class( $args['field_class'] );
|
782 |
|
783 |
if ( isset( $args['select2'] ) ) {
|
784 |
+
$class .= ' monsterinsights-select300';
|
785 |
}
|
786 |
|
787 |
$allowclear = isset( $args['allowclear'] ) ? (bool) $args['allowclear'] : false;
|
includes/admin/settings/tab-general.php
CHANGED
@@ -23,8 +23,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
23 |
* @return void
|
24 |
*/
|
25 |
function monsterinsights_settings_general_tab() {
|
26 |
-
add_action( 'admin_print_footer_scripts', 'monsterinsights_settings_ublock_error_js', 9999999 );
|
27 |
-
|
28 |
// Get settings
|
29 |
$manual_ua_code = monsterinsights_get_option( 'manual_ua_code', '' );
|
30 |
$manual_ua_code = esc_html( $manual_ua_code );
|
@@ -47,10 +45,6 @@ function monsterinsights_settings_general_tab() {
|
|
47 |
?>
|
48 |
<div id="monsterinsights-settings-general">
|
49 |
<div class="monsterinsights-tab-settings-notices">
|
50 |
-
<div id="monsterinsights-ublock-origin-error" class="error" style="display:none;">
|
51 |
-
<?php echo sprintf( esc_html__( 'MonsterInsights has detected that it\'s files are being blocked. This is usually caused by a adblock browser plugin (particularly uBlock Origin), or a conflicting WordPress theme or plugin. This issue only affects the admin side of MonsterInsights. To solve this, ensure MonsterInsights is whitelisted for your website URL in any adblock browser plugin you use. For step by step directions on how to do this, %1$sclick here%2$s. If this doesn\'t solve the issue (rare), send us a ticket %3$shere%2$s and we\'ll be happy to help diagnose the issue.', 'google-analytics-for-wordpress'), '<a href="https://monsterinsights.com/docs/monsterinsights-asset-files-blocked/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>', '<a href="https://monsterinsights.com/contact/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">');
|
52 |
-
?>
|
53 |
-
</div>
|
54 |
<?php
|
55 |
// Output any notices now
|
56 |
/**
|
@@ -228,7 +222,7 @@ function monsterinsights_settings_save_general() {
|
|
228 |
if ( $manual_ua_code ) {
|
229 |
monsterinsights_update_option( 'manual_ua_code', $manual_ua_code );
|
230 |
} else {
|
231 |
-
if ( empty ( $_POST['manual_ua_code'] ) ) {
|
232 |
$throw_notice = true;
|
233 |
}
|
234 |
monsterinsights_update_option( 'manual_ua_code', '' );
|
@@ -285,16 +279,4 @@ function monsterinsights_settings_save_general() {
|
|
285 |
add_action( 'monsterinsights_settings_general_tab_notice', 'monsterinsights_updated_settings' );
|
286 |
}
|
287 |
}
|
288 |
-
add_action( 'monsterinsights_settings_save_general', 'monsterinsights_settings_save_general', 11 );
|
289 |
-
|
290 |
-
function monsterinsights_settings_ublock_error_js(){
|
291 |
-
echo "<script type='text/javascript'>\n";
|
292 |
-
echo "jQuery( document ).ready( function( $ ) {
|
293 |
-
if ( window.uorigindetected == null){
|
294 |
-
$('#monsterinsights-ublock-origin-error').show();
|
295 |
-
$('.monsterinsights-nav-tabs').hide();
|
296 |
-
$('.monsterinsights-nav-container').hide();
|
297 |
-
}
|
298 |
-
});";
|
299 |
-
echo "\n</script>";
|
300 |
-
}
|
23 |
* @return void
|
24 |
*/
|
25 |
function monsterinsights_settings_general_tab() {
|
|
|
|
|
26 |
// Get settings
|
27 |
$manual_ua_code = monsterinsights_get_option( 'manual_ua_code', '' );
|
28 |
$manual_ua_code = esc_html( $manual_ua_code );
|
45 |
?>
|
46 |
<div id="monsterinsights-settings-general">
|
47 |
<div class="monsterinsights-tab-settings-notices">
|
|
|
|
|
|
|
|
|
48 |
<?php
|
49 |
// Output any notices now
|
50 |
/**
|
222 |
if ( $manual_ua_code ) {
|
223 |
monsterinsights_update_option( 'manual_ua_code', $manual_ua_code );
|
224 |
} else {
|
225 |
+
if ( empty ( $manual_ua_code ) && isset( $_POST['manual_ua_code'] ) ) {
|
226 |
$throw_notice = true;
|
227 |
}
|
228 |
monsterinsights_update_option( 'manual_ua_code', '' );
|
279 |
add_action( 'monsterinsights_settings_general_tab_notice', 'monsterinsights_updated_settings' );
|
280 |
}
|
281 |
}
|
282 |
+
add_action( 'monsterinsights_settings_save_general', 'monsterinsights_settings_save_general', 11 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/frontend/events/class-events-js.php
CHANGED
@@ -54,10 +54,10 @@ class MonsterInsights_Events_JS {
|
|
54 |
*/
|
55 |
public function __construct() {
|
56 |
$this->base = MonsterInsights();
|
57 |
-
$tracking
|
58 |
-
$events
|
59 |
if ( $events === 'js' && $tracking === 'analytics' ) {
|
60 |
-
add_action( '
|
61 |
add_action( 'login_head', array( $this, 'output_javascript' ), 9 );
|
62 |
}
|
63 |
}
|
@@ -94,7 +94,7 @@ class MonsterInsights_Events_JS {
|
|
94 |
$inbound_paths = explode( ',', str_replace( '.', '', $inbound_paths ) );
|
95 |
|
96 |
$i = 0;
|
97 |
-
foreach( $inbound_paths as $path ){
|
98 |
$inbound_paths[ $i ] = '"'. esc_js( trim( $path ) ) . '"';
|
99 |
$i++;
|
100 |
}
|
@@ -129,396 +129,24 @@ class MonsterInsights_Events_JS {
|
|
129 |
$is_debug_mode = 'false';
|
130 |
}
|
131 |
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
<!-- MonsterInsights JS Event Tracking -->
|
136 |
-
<script type="text/javascript" data-cfasync="false">
|
137 |
-
(function(){
|
138 |
-
// MonsterInsights JS events tracking works on all major browsers, including IE starting at IE 7, via polyfills for any major JS fucntion used that
|
139 |
-
// is not supported by at least 95% of the global and/or US browser marketshare. Currently, IE 7 & 8 which as of 2/14/17 have under 0.25% global marketshare, require
|
140 |
-
// us to polyfill Array.prototype.lastIndexOf, and if they continue to drop, we might remove this polyfill at some point. In that case note that events tracking
|
141 |
-
// for IE 7/8 will continue to work, with the exception of events tracking of downloads.
|
142 |
-
function __gaTrackerClickEventPHP() {
|
143 |
-
var phpvalues = {
|
144 |
-
'is_debug_mode' : <?php echo $is_debug_mode; ?>,
|
145 |
-
'download_extensions' : <?php echo $download_extensions; ?>, /* Let's get the extensions to track */
|
146 |
-
'inbound_paths' : <?php echo $inbound_paths; ?>, /* Let's get the internal paths to track */
|
147 |
-
'home_url' : "<?php echo home_url(); ?>", /* Let's get the url to compare for external/internal use */
|
148 |
-
'track_download_as' : "<?php echo $track_download_as; ?>", /* should downloads be tracked as events or pageviews */
|
149 |
-
'internal_label' : "outbound-link-<?php echo $internal_label; ?>", /* What is the prefix for internal-as-external links */
|
150 |
-
};
|
151 |
-
return phpvalues;
|
152 |
-
}
|
153 |
-
|
154 |
-
function __gaTrackerClickEvent( event ) {
|
155 |
-
var phpvalues = __gaTrackerClickEventPHP();
|
156 |
-
var is_debug_mode = phpvalues.is_debug_mode || window.monsterinsights_debug_mode; /* Console log instead of running? */
|
157 |
-
var el = event.srcElement || event.target;
|
158 |
-
if ( is_debug_mode ) {
|
159 |
-
console.log( "__gaTracker.hasOwnProperty(loaded)" );
|
160 |
-
console.log( __gaTracker.hasOwnProperty( "loaded" ) );
|
161 |
-
console.log( "__gaTracker.loaded" );
|
162 |
-
console.log( __gaTracker.loaded );
|
163 |
-
console.log( "Event.which: " + event.which );
|
164 |
-
console.log( "El: ");
|
165 |
-
console.log( el );
|
166 |
-
console.log( "Will track: " + ! __gaTracker.hasOwnProperty( "loaded" ) || __gaTracker.loaded != true || ( event.which != 1 && event.which != 2 && !event.metaKey && !event.ctrlKey && !event.shiftKey && !event.altKey ) );
|
167 |
-
}
|
168 |
-
|
169 |
-
/* If GA is blocked or not loaded, or not main|middle|touch click then don't track */
|
170 |
-
if ( ! __gaTracker.hasOwnProperty( "loaded" ) || __gaTracker.loaded != true || ( event.which != 1 && event.which != 2 && !event.metaKey && !event.ctrlKey && !event.shiftKey && !event.altKey ) ) {
|
171 |
-
return;
|
172 |
-
}
|
173 |
-
|
174 |
-
/* Loop up the DOM tree through parent elements if clicked element is not a link (eg: an image inside a link) */
|
175 |
-
while ( el && (typeof el.tagName == 'undefined' || el.tagName.toLowerCase() != 'a' || !el.href ) ) {
|
176 |
-
el = el.parentNode;
|
177 |
-
}
|
178 |
-
|
179 |
-
/* if a link with valid href has been clicked */
|
180 |
-
if ( el && el.href ) {
|
181 |
-
/* el is an a element so we can parse it */
|
182 |
-
/* el.href; => "http://example.com:3000/pathname/?search=test#hash" */
|
183 |
-
/* el.protocol; => "http:" */
|
184 |
-
/* el.hostname; => "example.com" */
|
185 |
-
/* el.port; => "3000" */
|
186 |
-
/* el.pathname; => "/pathname/" */
|
187 |
-
/* el.search; => "?search=test" */
|
188 |
-
/* el.hash; => "#hash"
|
189 |
-
/* el.host; => "example.com:3000 */
|
190 |
-
|
191 |
-
var link = el.href;
|
192 |
-
var extension = el.href;
|
193 |
-
var type = 'internal'; /* By default, we assume all links are internal ones, which we don't track by default */
|
194 |
-
var download_extensions = phpvalues.download_extensions; /* Let's get the extensions to track */
|
195 |
-
var inbound_paths = phpvalues.inbound_paths; /* Let's get the internal paths to track */
|
196 |
-
var home_url = phpvalues.home_url; /* Let's get the url to compare for external/internal use */
|
197 |
-
var track_download_as = phpvalues.track_download_as; /* should downloads be tracked as events or pageviews */
|
198 |
-
var internal_label = "outbound-link-" + phpvalues.internal_label; /* What is the prefix for internal-as-external links */
|
199 |
-
|
200 |
-
/* Remove the anchor at the end, if there is one */
|
201 |
-
extension = extension.substring( 0, (extension.indexOf( "#" ) == -1 ) ? extension.length : extension.indexOf( "#" ) );
|
202 |
-
|
203 |
-
/* Remove the query after the file name, if there is one */
|
204 |
-
extension = extension.substring( 0, (extension.indexOf( "?" ) == -1 ) ? extension.length : extension.indexOf( "?" ) );
|
205 |
-
|
206 |
-
/* Remove everything before the last slash in the path */
|
207 |
-
extension = extension.substring( extension.lastIndexOf( "/" ) + 1, extension.length );
|
208 |
-
|
209 |
-
/* Remove everything but what's after the first period */
|
210 |
-
extension = extension.substring( extension.indexOf( "." ) + 1 );
|
211 |
-
|
212 |
-
var currentdomain = (function(){
|
213 |
-
var i=0,currentdomain=document.domain,p=currentdomain.split('.'),s='_gd'+(new Date()).getTime();
|
214 |
-
while(i<(p.length-1) && document.cookie.indexOf(s+'='+s)==-1){
|
215 |
-
currentdomain = p.slice(-1-(++i)).join('.');
|
216 |
-
document.cookie = s+"="+s+";domain="+currentdomain+";";
|
217 |
-
}
|
218 |
-
document.cookie = s+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+currentdomain+";";
|
219 |
-
return currentdomain;
|
220 |
-
})();
|
221 |
-
|
222 |
-
if (typeof String.prototype.endsWith !== 'function') {
|
223 |
-
String.prototype.endsWith = function(suffix) {
|
224 |
-
return this.indexOf(suffix, this.length - suffix.length) !== -1;
|
225 |
-
};
|
226 |
-
}
|
227 |
-
if (typeof String.prototype.startsWith !== 'function') {
|
228 |
-
String.prototype.startsWith = function(prefix) {
|
229 |
-
return this.indexOf(prefix) === 0;
|
230 |
-
};
|
231 |
-
}
|
232 |
-
|
233 |
-
if ( typeof Array.prototype.includes !== 'function') {
|
234 |
-
Object.defineProperty(Array.prototype, 'includes', {
|
235 |
-
value: function(searchElement, fromIndex) {
|
236 |
-
|
237 |
-
// 1. Let O be ? ToObject(this value).
|
238 |
-
if (this == null) {
|
239 |
-
throw new TypeError('"this" is null or not defined');
|
240 |
-
}
|
241 |
-
|
242 |
-
var o = Object(this);
|
243 |
-
|
244 |
-
// 2. Let len be ? ToLength(? Get(O, "length")).
|
245 |
-
var len = o.length >>> 0;
|
246 |
-
|
247 |
-
// 3. If len is 0, return false.
|
248 |
-
if (len === 0) {
|
249 |
-
return false;
|
250 |
-
}
|
251 |
-
|
252 |
-
// 4. Let n be ? ToInteger(fromIndex).
|
253 |
-
// (If fromIndex is undefined, this step produces the value 0.)
|
254 |
-
var n = fromIndex | 0;
|
255 |
-
|
256 |
-
// 5. If n ≥ 0, then
|
257 |
-
// a. Let k be n.
|
258 |
-
// 6. Else n < 0,
|
259 |
-
// a. Let k be len + n.
|
260 |
-
// b. If k < 0, let k be 0.
|
261 |
-
var k = Math.max(n >= 0 ? n : len - Math.abs(n), 0);
|
262 |
-
|
263 |
-
// 7. Repeat, while k < len
|
264 |
-
while (k < len) {
|
265 |
-
// a. Let elementK be the result of ? Get(O, ! ToString(k)).
|
266 |
-
// b. If SameValueZero(searchElement, elementK) is true, return true.
|
267 |
-
// c. Increase k by 1.
|
268 |
-
// NOTE: === provides the correct "SameValueZero" comparison needed here.
|
269 |
-
if (o[k] === searchElement) {
|
270 |
-
return true;
|
271 |
-
}
|
272 |
-
k++;
|
273 |
-
}
|
274 |
-
|
275 |
-
// 8. Return false
|
276 |
-
return false;
|
277 |
-
}
|
278 |
-
});
|
279 |
-
}
|
280 |
-
|
281 |
-
if ( typeof Array.prototype.lastIndexOf !== 'function' ) {
|
282 |
-
Array.prototype.lastIndexOf = function(searchElement /*, fromIndex*/) {
|
283 |
-
'use strict';
|
284 |
-
|
285 |
-
if (this === void 0 || this === null) {
|
286 |
-
throw new TypeError();
|
287 |
-
}
|
288 |
-
|
289 |
-
var n, k,
|
290 |
-
t = Object(this),
|
291 |
-
len = t.length >>> 0;
|
292 |
-
if (len === 0) {
|
293 |
-
return -1;
|
294 |
-
}
|
295 |
-
|
296 |
-
n = len - 1;
|
297 |
-
if (arguments.length > 1) {
|
298 |
-
n = Number(arguments[1]);
|
299 |
-
if (n != n) {
|
300 |
-
n = 0;
|
301 |
-
}
|
302 |
-
else if (n != 0 && n != (1 / 0) && n != -(1 / 0)) {
|
303 |
-
n = (n > 0 || -1) * Math.floor(Math.abs(n));
|
304 |
-
}
|
305 |
-
}
|
306 |
-
|
307 |
-
for (k = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n); k >= 0; k--) {
|
308 |
-
if (k in t && t[k] === searchElement) {
|
309 |
-
return k;
|
310 |
-
}
|
311 |
-
}
|
312 |
-
return -1;
|
313 |
-
};
|
314 |
-
}
|
315 |
-
|
316 |
-
function monsterinsightsStringTrim(x) {
|
317 |
-
return x.replace(/^\s+|\s+$/gm,'');
|
318 |
-
}
|
319 |
-
|
320 |
-
if ( is_debug_mode ) {
|
321 |
-
console.log( "Link: " + link);
|
322 |
-
console.log( "Extension: " + extension );
|
323 |
-
console.log( "Protocol: " + el.protocol );
|
324 |
-
console.log( "External: " + (el.hostname.length > 0 && currentdomain.length > 0 && ! el.hostname.endsWith( currentdomain )) );
|
325 |
-
console.log( "Current domain: " + currentdomain );
|
326 |
-
console.log( "Link domain: " + el.hostname );
|
327 |
-
}
|
328 |
-
|
329 |
-
/* Let's get the type of click event this is */
|
330 |
-
if ( monsterinsightsStringTrim( el.protocol ) == 'mailto' || monsterinsightsStringTrim( el.protocol ) == 'mailto:' ) { /* If it's an email */
|
331 |
-
type = "mailto";
|
332 |
-
} else if ( download_extensions.length > 0 && extension.length > 0 && download_extensions.includes(extension) ) { /* If it's a download */
|
333 |
-
type = "download";
|
334 |
-
} else if ( el.hostname.length > 0 && currentdomain.length > 0 && ! el.hostname.endsWith( currentdomain ) ) { /* If it's a outbound */
|
335 |
-
type = "external";
|
336 |
-
} else {
|
337 |
-
var index, len;
|
338 |
-
var pathname = el.pathname;
|
339 |
-
for ( index = 0, len = inbound_paths.length; index < len; ++index ) {
|
340 |
-
if ( pathname.startsWith( inbound_paths[ index ] ) ) {
|
341 |
-
type = "internal-as-outbound";
|
342 |
-
break;
|
343 |
-
}
|
344 |
-
}
|
345 |
-
}
|
346 |
-
|
347 |
-
if ( is_debug_mode ) {
|
348 |
-
console.log( "Type: " + type );
|
349 |
-
}
|
350 |
-
|
351 |
-
/* Let's track everything but internals (that aren't internal-as-externals) */
|
352 |
-
if ( type !== 'internal' && ! link.match( /^javascript\:/i ) ) {
|
353 |
-
|
354 |
-
/* Is actual target set and not _(self|parent|top)? */
|
355 |
-
var target = ( el.target && !el.target.match( /^_(self|parent|top)$/i ) ) ? el.target : false;
|
356 |
-
|
357 |
-
/* Assume a target if Ctrl|shift|meta-click */
|
358 |
-
if ( event.ctrlKey || event.shiftKey || event.metaKey || event.which == 2 ) {
|
359 |
-
target = "_blank";
|
360 |
-
}
|
361 |
-
|
362 |
-
if ( is_debug_mode ) {
|
363 |
-
console.log( "Control Key: " + event.ctrlKey );
|
364 |
-
console.log( "Shift Key: " + event.shiftKey );
|
365 |
-
console.log( "Meta Key: " + event.metaKey );
|
366 |
-
console.log( "Which Key: " + event.which );
|
367 |
-
console.log( "Target: " + target );
|
368 |
-
}
|
369 |
-
|
370 |
-
var __gaTrackerHitBackRun = false; /* Tracker has not yet run */
|
371 |
-
|
372 |
-
/* HitCallback to open link in same window after tracker */
|
373 |
-
var __gaTrackerHitBack = function() {
|
374 |
-
/* Run the hitback only once */
|
375 |
-
if ( __gaTrackerHitBackRun ){
|
376 |
-
return;
|
377 |
-
}
|
378 |
-
__gaTrackerHitBackRun = true;
|
379 |
-
window.location.href = link;
|
380 |
-
};
|
381 |
-
|
382 |
-
if ( target ) { /* If target opens a new window then just track */
|
383 |
-
if ( type == 'download' ) {
|
384 |
-
if ( track_download_as == 'pageview' ) {
|
385 |
-
if ( ! is_debug_mode ) {
|
386 |
-
__gaTracker( 'send', 'pageview', link );
|
387 |
-
} else {
|
388 |
-
console.log( "Target | Download | Send | Pageview | " + link );
|
389 |
-
}
|
390 |
-
} else {
|
391 |
-
if ( ! is_debug_mode ) {
|
392 |
-
__gaTracker( 'send', 'event', 'download', link );
|
393 |
-
} else {
|
394 |
-
console.log( "Target | Download | Send | Event | " + link );
|
395 |
-
}
|
396 |
-
}
|
397 |
-
} else if ( type == 'mailto' ) {
|
398 |
-
if ( ! is_debug_mode ) {
|
399 |
-
__gaTracker( 'send', 'event', 'mailto', link );
|
400 |
-
} else {
|
401 |
-
console.log( "Target | Mailto | Send | Event | Mailto | " + link );
|
402 |
-
}
|
403 |
-
|
404 |
-
} else if ( type == 'internal-as-outbound' ) {
|
405 |
-
if ( ! is_debug_mode ) {
|
406 |
-
__gaTracker( 'send', 'event', internal_label, link, el.title );
|
407 |
-
} else {
|
408 |
-
console.log( "Target | Internal-As-Outbound | Send | event | " + internal_label + " | " + link + " | " + el.title );
|
409 |
-
}
|
410 |
-
|
411 |
-
} else if ( type == 'external' ) {
|
412 |
-
if ( ! is_debug_mode ) {
|
413 |
-
__gaTracker( 'send', 'event', 'outbound-link', link, el.title );
|
414 |
-
} else {
|
415 |
-
console.log( "Target | External | Send | 'outbound-link' | " + link + " | " + el.title );
|
416 |
-
}
|
417 |
-
|
418 |
-
} else {
|
419 |
-
if ( is_debug_mode ) {
|
420 |
-
console.log( "Target | " + type + " | " + link + " is not a tracked click." );
|
421 |
-
}
|
422 |
-
}
|
423 |
-
|
424 |
-
if ( is_debug_mode ) {
|
425 |
-
return false;
|
426 |
-
}
|
427 |
-
} else { /* Prevent standard click, track then open */
|
428 |
-
if (!event.defaultPrevented) {
|
429 |
-
event.preventDefault ? event.preventDefault() : event.returnValue = !1;
|
430 |
-
}
|
431 |
-
|
432 |
-
if ( type == 'download' ) {
|
433 |
-
if ( track_download_as == 'pageview' ) {
|
434 |
-
if ( ! is_debug_mode ) {
|
435 |
-
__gaTracker( 'send', 'pageview', link, { "hitCallback": __gaTrackerHitBack } );
|
436 |
-
} else {
|
437 |
-
console.log( "Not Target | Download | Send | Pageview | " + link );
|
438 |
-
}
|
439 |
-
} else {
|
440 |
-
if ( ! is_debug_mode ) {
|
441 |
-
__gaTracker( 'send', 'event', 'download',{ "hitCallback": __gaTrackerHitBack } );
|
442 |
-
} else {
|
443 |
-
console.log( "Not Target | Download | Send | Event | " + link );
|
444 |
-
}
|
445 |
-
}
|
446 |
-
|
447 |
-
} else if ( type == 'mailto' ) {
|
448 |
-
if ( ! is_debug_mode ) {
|
449 |
-
__gaTracker( 'send', 'event', 'mailto', link, { "hitCallback": __gaTrackerHitBack } );
|
450 |
-
} else {
|
451 |
-
console.log( "Not Target | Mailto | Send | Event | Mailto | " + link );
|
452 |
-
}
|
453 |
-
|
454 |
-
} else if ( type == 'internal-as-outbound' ) {
|
455 |
-
window.onbeforeunload = function(e) {
|
456 |
-
if ( ! is_debug_mode ) {
|
457 |
-
if ( ! navigator.sendBeacon ) {
|
458 |
-
__gaTracker( 'send', 'event', internal_label, link, el.title, { "hitCallback": __gaTrackerHitBack } );
|
459 |
-
} else {
|
460 |
-
__gaTracker( 'send', 'event', internal_label, link, el.title, { transport: 'beacon' } );
|
461 |
-
}
|
462 |
-
} else {
|
463 |
-
console.log( "Not Target | Internal-As-Outbound | Send | event | " + internal_label + " | " + link + " | " + el.title );
|
464 |
-
}
|
465 |
-
};
|
466 |
-
} else if ( type == 'external' ) {
|
467 |
-
window.onbeforeunload = function(e) {
|
468 |
-
if ( ! is_debug_mode ) {
|
469 |
-
if ( ! navigator.sendBeacon ) {
|
470 |
-
__gaTracker( 'send', 'event', 'outbound-link', link, el.title, { "hitCallback": __gaTrackerHitBack } )
|
471 |
-
} else {
|
472 |
-
__gaTracker( 'send', 'event', 'outbound-link', link, el.title, { transport: 'beacon' } )
|
473 |
-
}
|
474 |
-
} else {
|
475 |
-
console.log( "Not Target | External | Send | 'outbound-link' | " + link + " | " + el.title );
|
476 |
-
}
|
477 |
-
};
|
478 |
-
} else {
|
479 |
-
if ( is_debug_mode ) {
|
480 |
-
console.log( "Not Target | " + type + " | " + link + " is not a tracked click." );
|
481 |
-
}
|
482 |
-
}
|
483 |
-
|
484 |
-
if ( is_debug_mode ) {
|
485 |
-
return false;
|
486 |
-
}
|
487 |
-
|
488 |
-
/* Run hitCallback again if GA takes longer than 1 second */
|
489 |
-
setTimeout( __gaTrackerHitBack, 1000 );
|
490 |
-
}
|
491 |
-
}
|
492 |
-
}
|
493 |
-
}
|
494 |
-
|
495 |
-
var __gaTrackerWindow = window;
|
496 |
-
var __gaTrackerEventType = "click";
|
497 |
-
/* Attach the event to all clicks in the document after page has loaded */
|
498 |
-
__gaTrackerWindow.addEventListener ? __gaTrackerWindow.addEventListener( "load", function() {document.body.addEventListener(__gaTrackerEventType, __gaTrackerClickEvent, false)}, false)
|
499 |
-
: __gaTrackerWindow.attachEvent && __gaTrackerWindow.attachEvent("onload", function() {document.body.attachEvent( "on" + __gaTrackerEventType, __gaTrackerClickEvent)});
|
500 |
-
})();
|
501 |
-
</script>
|
502 |
-
<!-- End MonsterInsights JS Event Tracking -->
|
503 |
-
<?php
|
504 |
-
$output = ob_get_contents();
|
505 |
-
ob_end_clean();
|
506 |
-
echo $output;
|
507 |
-
} else {
|
508 |
-
ob_start();
|
509 |
-
?>
|
510 |
-
<!-- MonsterInsights JS Event Tracking -->
|
511 |
-
<script type="text/javascript" data-cfasync="false">
|
512 |
-
(function(){
|
513 |
-
function __gaTrackerClickEventPHP() {var phpvalues = { 'is_debug_mode': <?php echo $is_debug_mode; ?>,'download_extensions': <?php echo $download_extensions; ?>,'inbound_paths': <?php echo $inbound_paths; ?>,'home_url': "<?php echo home_url(); ?>",'track_download_as': "<?php echo $track_download_as; ?>",'internal_label': "<?php echo $internal_label; ?>"};return phpvalues;}
|
514 |
-
function __gaTrackerClickEvent(e){function t(e){return e.replace(/^\s+|\s+$/gm,"")}var n=__gaTrackerClickEventPHP(),o=n.is_debug_mode||window.monsterinsights_debug_mode,a=e.srcElement||e.target;if(o&&(console.log("__gaTracker.hasOwnProperty(loaded)"),console.log(__gaTracker.hasOwnProperty("loaded")),console.log("__gaTracker.loaded"),console.log(__gaTracker.loaded),console.log("Event.which: "+e.which),console.log("El: "),console.log(a),console.log("Will track: "+!__gaTracker.hasOwnProperty("loaded")||1!=__gaTracker.loaded||1!=e.which&&2!=e.which&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey)),__gaTracker.hasOwnProperty("loaded")&&1==__gaTracker.loaded&&(1==e.which||2==e.which||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)){for(;a&&("undefined"==typeof a.tagName||"a"!=a.tagName.toLowerCase()||!a.href);)a=a.parentNode;if(a&&a.href){var r=a.href,l=a.href,i="internal",c=n.download_extensions,d=n.inbound_paths,s=(n.home_url,n.track_download_as),g="outbound-link-"+n.internal_label;l=l.substring(0,-1==l.indexOf("#")?l.length:l.indexOf("#")),l=l.substring(0,-1==l.indexOf("?")?l.length:l.indexOf("?")),l=l.substring(l.lastIndexOf("/")+1,l.length),l=l.substring(l.indexOf(".")+1);var h=function(){for(var e=0,t=document.domain,n=t.split("."),o="_gd"+(new Date).getTime();e<n.length-1&&-1==document.cookie.indexOf(o+"="+o);)t=n.slice(-1-++e).join("."),document.cookie=o+"="+o+";domain="+t+";";return document.cookie=o+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+t+";",t}();if("function"!=typeof String.prototype.endsWith&&(String.prototype.endsWith=function(e){return-1!==this.indexOf(e,this.length-e.length)}),"function"!=typeof String.prototype.startsWith&&(String.prototype.startsWith=function(e){return 0===this.indexOf(e)}),"function"!=typeof Array.prototype.includes&&Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),o=n.length>>>0;if(0===o)return!1;for(var a=0|t,r=Math.max(a>=0?a:o-Math.abs(a),0);o>r;){if(n[r]===e)return!0;r++}return!1}}),"function"!=typeof Array.prototype.lastIndexOf&&(Array.prototype.lastIndexOf=function(e){"use strict";if(void 0===this||null===this)throw new TypeError;var t,n,o=Object(this),a=o.length>>>0;if(0===a)return-1;for(t=a-1,arguments.length>1&&(t=Number(arguments[1]),t!=t?t=0:0!=t&&t!=1/0&&t!=-(1/0)&&(t=(t>0||-1)*Math.floor(Math.abs(t)))),n=t>=0?Math.min(t,a-1):a-Math.abs(t);n>=0;n--)if(n in o&&o[n]===e)return n;return-1}),o&&(console.log("Link: "+r),console.log("Extension: "+l),console.log("Protocol: "+a.protocol),console.log("External: "+(a.hostname.length>0&&h.length>0&&!a.hostname.endsWith(h))),console.log("Current domain: "+h),console.log("Link domain: "+a.hostname)),"mailto"==t(a.protocol)||"mailto:"==t(a.protocol))i="mailto";else if(c.length>0&&l.length>0&&c.includes(l))i="download";else if(a.hostname.length>0&&h.length>0&&!a.hostname.endsWith(h))i="external";else{var u,_,f=a.pathname;for(u=0,_=d.length;_>u;++u)if(f.startsWith(d[u])){i="internal-as-outbound";break}}if(o&&console.log("Type: "+i),"internal"!==i&&!r.match(/^javascript\:/i)){var k=a.target&&!a.target.match(/^_(self|parent|top)$/i)?a.target:!1;(e.ctrlKey||e.shiftKey||e.metaKey||2==e.which)&&(k="_blank"),o&&(console.log("Control Key: "+e.ctrlKey),console.log("Shift Key: "+e.shiftKey),console.log("Meta Key: "+e.metaKey),console.log("Which Key: "+e.which),console.log("Target: "+k));var v=!1,T=function(){v||(v=!0,window.location.href=r)};if(k){if("download"==i?"pageview"==s?o?console.log("Target | Download | Send | Pageview | "+r):__gaTracker("send","pageview",r):o?console.log("Target | Download | Send | Event | "+r):__gaTracker("send","event","download",r):"mailto"==i?o?console.log("Target | Mailto | Send | Event | Mailto | "+r):__gaTracker("send","event","mailto",r):"internal-as-outbound"==i?o?console.log("Target | Internal-As-Outbound | Send | event | "+g+" | "+r+" | "+a.title):__gaTracker("send","event",g,r,a.title):"external"==i?o?console.log("Target | External | Send | 'outbound-link' | "+r+" | "+a.title):__gaTracker("send","event","outbound-link",r,a.title):o&&console.log("Target | "+i+" | "+r+" is not a tracked click."),o)return!1}else{if(e.defaultPrevented||(e.preventDefault?e.preventDefault():e.returnValue=!1),"download"==i?"pageview"==s?o?console.log("Not Target | Download | Send | Pageview | "+r):__gaTracker("send","pageview",r,{hitCallback:T}):o?console.log("Not Target | Download | Send | Event | "+r):__gaTracker("send","event","download",{hitCallback:T}):"mailto"==i?o?console.log("Not Target | Mailto | Send | Event | Mailto | "+r):__gaTracker("send","event","mailto",r,{hitCallback:T}):"internal-as-outbound"==i?window.onbeforeunload=function(){o?console.log("Not Target | Internal-As-Outbound | Send | event | "+g+" | "+r+" | "+a.title):navigator.sendBeacon?__gaTracker("send","event",g,r,a.title,{transport:"beacon"}):__gaTracker("send","event",g,r,a.title,{hitCallback:T})}:"external"==i?window.onbeforeunload=function(){o?console.log("Not Target | External | Send | 'outbound-link' | "+r+" | "+a.title):navigator.sendBeacon?__gaTracker("send","event","outbound-link",r,a.title,{transport:"beacon"}):__gaTracker("send","event","outbound-link",r,a.title,{hitCallback:T})}:o&&console.log("Not Target | "+i+" | "+r+" is not a tracked click."),o)return!1;setTimeout(T,1e3)}}}}}var __gaTrackerWindow=window,__gaTrackerEventType="click";__gaTrackerWindow.addEventListener?__gaTrackerWindow.addEventListener("load",function(){document.body.addEventListener(__gaTrackerEventType,__gaTrackerClickEvent,!1)},!1):__gaTrackerWindow.attachEvent&&__gaTrackerWindow.attachEvent("onload",function(){document.body.attachEvent("on"+__gaTrackerEventType,__gaTrackerClickEvent)});
|
515 |
-
})();
|
516 |
-
</script>
|
517 |
-
<!-- End MonsterInsights JS Event Tracking -->
|
518 |
-
<?php
|
519 |
-
$output = ob_get_contents();
|
520 |
-
ob_end_clean();
|
521 |
-
echo $output;
|
522 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
523 |
}
|
524 |
}
|
54 |
*/
|
55 |
public function __construct() {
|
56 |
$this->base = MonsterInsights();
|
57 |
+
$tracking = monsterinsights_get_option( 'tracking_mode', false );
|
58 |
+
$events = monsterinsights_get_option( 'events_mode', false );
|
59 |
if ( $events === 'js' && $tracking === 'analytics' ) {
|
60 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'output_javascript' ), 9 );
|
61 |
add_action( 'login_head', array( $this, 'output_javascript' ), 9 );
|
62 |
}
|
63 |
}
|
94 |
$inbound_paths = explode( ',', str_replace( '.', '', $inbound_paths ) );
|
95 |
|
96 |
$i = 0;
|
97 |
+
foreach ( $inbound_paths as $path ){
|
98 |
$inbound_paths[ $i ] = '"'. esc_js( trim( $path ) ) . '"';
|
99 |
$i++;
|
100 |
}
|
129 |
$is_debug_mode = 'false';
|
130 |
}
|
131 |
|
132 |
+
$suffix = ( defined( 'WP_DEBUG' ) && WP_DEBUG ) || ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
133 |
+
if ( ! file_exists( MONSTERINSIGHTS_PLUGIN_DIR . 'assets/js/frontend.min.js' ) ) {
|
134 |
+
$suffix = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
}
|
136 |
+
wp_enqueue_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-frontend-script', plugins_url( 'assets/js/frontend' . $suffix . '.js', MONSTERINSIGHTS_PLUGIN_FILE ), array(), monsterinsights_get_asset_version(), false );
|
137 |
+
wp_localize_script(
|
138 |
+
MONSTERINSIGHTS_PLUGIN_SLUG . '-frontend-script',
|
139 |
+
'monsterinsights_frontend',
|
140 |
+
array(
|
141 |
+
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
142 |
+
'js_events_tracking' => 'true',
|
143 |
+
'is_debug_mode' => $is_debug_mode,
|
144 |
+
'download_extensions' => $download_extensions, /* Let's get the extensions to track */
|
145 |
+
'inbound_paths' => $inbound_paths, /* Let's get the internal paths to track */
|
146 |
+
'home_url' => home_url(), /* Let's get the url to compare for external/internal use */
|
147 |
+
'track_download_as' => $track_download_as, /* should downloads be tracked as events or pageviews */
|
148 |
+
'internal_label' => "outbound-link-" . $internal_label, /* What is the prefix for internal-as-external links */
|
149 |
+
)
|
150 |
+
);
|
151 |
}
|
152 |
}
|
languages/google-analytics-for-wordpress.pot
CHANGED
@@ -5,7 +5,7 @@ msgstr ""
|
|
5 |
"Project-Id-Version: MonsterInsights Lite\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/awesomemotive/monsterinsights/"
|
7 |
"issues\n"
|
8 |
-
"POT-Creation-Date: 2017-02-
|
9 |
"PO-Revision-Date: 2016-07-21 17:01-0400\n"
|
10 |
"Last-Translator: Chris Christoff <support@monsterinsights.com>\n"
|
11 |
"Language-Team: Chris Christoff <support@monsterinsights.com>\n"
|
@@ -35,18 +35,18 @@ msgstr ""
|
|
35 |
"X-Poedit-SearchPathExcluded-12: *.css\n"
|
36 |
"X-Poedit-SearchPathExcluded-13: googleanalytics-premium.php\n"
|
37 |
|
38 |
-
#: googleanalytics.php:
|
39 |
msgid "Cheatin’ huh?"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: googleanalytics.php:
|
43 |
msgid ""
|
44 |
"The version of MonsterInsights eCommerce addon you have is not compatible "
|
45 |
"with the version of MonsterInsights installed. Please update the eCommerce "
|
46 |
"addon as soon as possible"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: googleanalytics.php:
|
50 |
#, php-format
|
51 |
msgid ""
|
52 |
"Sorry, but your version of WordPress does not meet MonsterInsights's "
|
@@ -54,7 +54,7 @@ msgid ""
|
|
54 |
"activated. %3$sClick here to return to the Dashboard%4$s."
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: googleanalytics.php:
|
58 |
#, php-format
|
59 |
msgid ""
|
60 |
"Please %1$uninstall%2$s the MonsterInsights Lite Plugin. Your Pro version of "
|
@@ -62,7 +62,7 @@ msgid ""
|
|
62 |
"uninstalled."
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: googleanalytics.php:
|
66 |
#, php-format
|
67 |
msgid ""
|
68 |
"Sorry, but your version of WordPress does not meet MonsterInsight's required "
|
@@ -70,7 +70,7 @@ msgid ""
|
|
70 |
"%3$sClick here to return to the Dashboard%4$s."
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: googleanalytics.php:
|
74 |
#, php-format
|
75 |
msgid ""
|
76 |
"Please uninstall and remove MonsterInsights Pro before activating "
|
@@ -97,7 +97,7 @@ msgstr ""
|
|
97 |
msgid "Dashboard:"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: includes/admin/admin.php:46 includes/admin/pages/dashboard.php:
|
101 |
msgid "Dashboard"
|
102 |
msgstr ""
|
103 |
|
@@ -105,7 +105,7 @@ msgstr ""
|
|
105 |
msgid "Reports:"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: includes/admin/admin.php:54 includes/admin/pages/reports.php:
|
109 |
msgid "Reports"
|
110 |
msgstr ""
|
111 |
|
@@ -118,7 +118,7 @@ msgid "Addons"
|
|
118 |
msgstr ""
|
119 |
|
120 |
#: includes/admin/admin.php:86 includes/admin/admin.php:88
|
121 |
-
#: includes/admin/pages/network-settings.php:
|
122 |
msgid "Network Settings"
|
123 |
msgstr ""
|
124 |
|
@@ -156,7 +156,7 @@ msgstr ""
|
|
156 |
msgid "Status: Active"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: includes/admin/common.php:126 includes/admin/pages/addons.php:
|
160 |
msgid "Activate"
|
161 |
msgstr ""
|
162 |
|
@@ -164,7 +164,7 @@ msgstr ""
|
|
164 |
msgid "Status: Network Activated"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: includes/admin/common.php:128 includes/admin/pages/addons.php:
|
168 |
msgid "Network activate"
|
169 |
msgstr ""
|
170 |
|
@@ -172,12 +172,12 @@ msgstr ""
|
|
172 |
msgid "Activating..."
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: includes/admin/common.php:131 includes/admin/pages/addons.php:
|
176 |
-
#: includes/admin/pages/addons.php:
|
177 |
msgid "Deactivate"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: includes/admin/common.php:132 includes/admin/pages/addons.php:
|
181 |
msgid "Network deactivate"
|
182 |
msgstr ""
|
183 |
|
@@ -193,7 +193,7 @@ msgstr ""
|
|
193 |
msgid "Status: Network inactive"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: includes/admin/common.php:137 includes/admin/pages/addons.php:
|
197 |
msgid "Install"
|
198 |
msgstr ""
|
199 |
|
@@ -205,55 +205,73 @@ msgstr ""
|
|
205 |
msgid "Proceed"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: includes/admin/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
msgid "Permission Denied"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: includes/admin/google.php:
|
213 |
msgid "Cannot connect to Google"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: includes/admin/google.php:
|
217 |
msgid "No profiles viewable for that account. Please use another account."
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: includes/admin/google.php:
|
221 |
msgid "Bad Google Code. Please try again."
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: includes/admin/google.php:
|
225 |
msgid "Please paste in your Google code."
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: includes/admin/google.php:
|
229 |
msgid "Invalid profile selected."
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: includes/admin/google.php:
|
233 |
msgid "Please select a profile."
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: includes/admin/google.php:
|
237 |
msgid "Analytics profile"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: includes/admin/google.php:
|
241 |
msgid "Select a profile"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: includes/admin/google.php:
|
245 |
#, php-format
|
246 |
msgid "Please configure your %1$sGoogle Analytics settings%2$s!"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: includes/admin/google.php:
|
250 |
#, php-format
|
251 |
msgid ""
|
252 |
-
"It seems the authentication for the plugin has expired
|
253 |
-
"
|
|
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: includes/admin/google.php:
|
257 |
#, php-format
|
258 |
msgid ""
|
259 |
"It seems the authentication for the plugin is missing permissions. Please "
|
@@ -261,8 +279,8 @@ msgid ""
|
|
261 |
"data."
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: includes/admin/google.php:
|
265 |
-
#: includes/admin/pages/reports.php:
|
266 |
#, php-format
|
267 |
msgid ""
|
268 |
"Data is not up-to-date, there was an error in retrieving the data from "
|
@@ -451,66 +469,66 @@ msgstr ""
|
|
451 |
msgid "Sort Descending (Z-A)"
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: includes/admin/pages/addons.php:
|
455 |
msgid ""
|
456 |
"In order to get access to Addons, you need to resolve your license key "
|
457 |
"errors."
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: includes/admin/pages/addons.php:
|
461 |
msgid ""
|
462 |
"There was an issue retrieving the addons for this site. Please click on the "
|
463 |
"button below the refresh the addons data."
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: includes/admin/pages/addons.php:
|
467 |
msgid "Refresh Addons"
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: includes/admin/pages/addons.php:
|
471 |
msgid "Available Addons:"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: includes/admin/pages/addons.php:
|
475 |
msgid "Unlock More Addons"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: includes/admin/pages/addons.php:
|
479 |
#, php-format
|
480 |
msgid ""
|
481 |
"%1$sWant even more addons?%2$sUpgrade your MonsterInsights account%3$s and "
|
482 |
"unlock the following addons:"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: includes/admin/pages/addons.php:
|
486 |
msgid "Upgrade Now"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: includes/admin/pages/addons.php:
|
490 |
#, php-format
|
491 |
msgid "Status: %1$sNot Installed%2$s"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: includes/admin/pages/addons.php:
|
495 |
msgid "Why can't I install addons?"
|
496 |
msgstr ""
|
497 |
|
498 |
-
#: includes/admin/pages/addons.php:
|
499 |
#, php-format
|
500 |
msgid "Status: %1$sNetwork Active%2$s"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: includes/admin/pages/addons.php:
|
504 |
#, php-format
|
505 |
msgid "Status: %1$sActive%2$s"
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: includes/admin/pages/addons.php:
|
509 |
#, php-format
|
510 |
msgid "Status: %1$sNetwork Inactive%2$s"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: includes/admin/pages/addons.php:
|
514 |
#, php-format
|
515 |
msgid "Status: %1$sInactive%2$s"
|
516 |
msgstr ""
|
@@ -519,110 +537,114 @@ msgstr ""
|
|
519 |
msgid "Access denied"
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: includes/admin/pages/dashboard.php:
|
523 |
#, php-format
|
524 |
msgid "Please %1$senable the dashboard%2$s to see report data."
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: includes/admin/pages/dashboard.php:
|
528 |
-
#: includes/admin/pages/dashboard.php:
|
529 |
-
#: includes/admin/pages/dashboard.php:
|
530 |
-
#: includes/admin/pages/reports.php:
|
531 |
-
#: includes/admin/pages/reports.php:
|
532 |
msgid ""
|
533 |
"The Google oAuth authentication needs to be re-authenticated to view data."
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: includes/admin/pages/dashboard.php:
|
537 |
#, php-format
|
538 |
msgid ""
|
539 |
"Please %1$sauthenticate %2$swith Google Analytics to allow the plugin to "
|
540 |
"fetch data."
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: includes/admin/pages/dashboard.php:
|
544 |
#, php-format
|
545 |
msgid ""
|
546 |
"Please %1$sre-authenticate%2$s with Google Analytics to allow the plugin to "
|
547 |
"fetch data."
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: includes/admin/pages/network-settings.php:
|
551 |
msgid ""
|
552 |
"Activate your MonsterInsights license key on this panel to hide the license "
|
553 |
"key settings and addon pages for subsites."
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: includes/admin/pages/network-settings.php:
|
557 |
-
#: includes/admin/settings/tab-general.php:
|
558 |
msgid "License Key"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: includes/admin/pages/network-settings.php:
|
562 |
-
#: includes/admin/settings/tab-general.php:
|
563 |
msgid "Verify Key"
|
564 |
msgstr ""
|
565 |
|
566 |
-
#: includes/admin/pages/network-settings.php:
|
567 |
-
#: includes/admin/settings/tab-general.php:
|
568 |
msgid "Deactivate Key"
|
569 |
msgstr ""
|
570 |
|
571 |
-
#: includes/admin/pages/network-settings.php:
|
572 |
-
#: includes/admin/settings/tab-general.php:
|
573 |
msgid ""
|
574 |
"License key to enable automatic updates for MonsterInsights Pro & addons. "
|
575 |
"Deactivate your license if you want to use it on another WordPress site."
|
576 |
msgstr ""
|
577 |
|
578 |
-
#: includes/admin/pages/network-settings.php:
|
579 |
-
#: includes/admin/settings/tab-general.php:
|
580 |
msgid "License Key Type"
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: includes/admin/pages/network-settings.php:
|
584 |
-
#: includes/admin/settings/tab-general.php:
|
585 |
#, php-format
|
586 |
msgid "Your license key type for this site is %s."
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: includes/admin/pages/network-settings.php:
|
590 |
-
#: includes/admin/settings/tab-general.php:
|
591 |
msgid "Refresh Key"
|
592 |
msgstr ""
|
593 |
|
594 |
-
#: includes/admin/pages/network-settings.php:
|
595 |
-
#: includes/admin/settings/tab-general.php:
|
596 |
msgid ""
|
597 |
"Your license key type (handles updates and Addons). Click refresh if your "
|
598 |
"license has been upgraded or the type is incorrect."
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: includes/admin/pages/settings.php:
|
602 |
msgid "General"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: includes/admin/pages/settings.php:
|
606 |
msgid "Tracking"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: includes/admin/pages/settings.php:
|
610 |
msgid "Settings saved successfully."
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: includes/admin/pages/settings.php:
|
|
|
|
|
|
|
|
|
614 |
msgid "You do not have permission to manage MonsterInsights settings"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: includes/admin/pages/settings.php:
|
618 |
msgid "Error"
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: includes/admin/pages/settings.php:
|
622 |
msgid "Successfully migrated to Universal Analytics (analytics.js)!"
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: includes/admin/pages/settings.php:
|
626 |
msgid "Successfully migrated to JS events tracking!"
|
627 |
msgstr ""
|
628 |
|
@@ -651,53 +673,53 @@ msgstr ""
|
|
651 |
msgid "DOWN"
|
652 |
msgstr ""
|
653 |
|
654 |
-
#: includes/admin/reports/overview.php:
|
655 |
msgid "TOP POSTS AND PAGES"
|
656 |
msgstr ""
|
657 |
|
658 |
-
#: includes/admin/reports/overview.php:
|
659 |
msgid "TITLE"
|
660 |
msgstr ""
|
661 |
|
662 |
-
#: includes/admin/reports/overview.php:
|
663 |
-
#: includes/admin/reports/overview.php:
|
664 |
-
#: includes/admin/reports/overview.php:
|
665 |
msgid "VIEWS"
|
666 |
msgstr ""
|
667 |
|
668 |
-
#: includes/admin/reports/overview.php:
|
669 |
msgid "Unknown Page or Post"
|
670 |
msgstr ""
|
671 |
|
672 |
-
#: includes/admin/reports/overview.php:
|
673 |
msgid "TOP TRAFFIC SOURCES"
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: includes/admin/reports/overview.php:
|
677 |
msgid "SITE"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: includes/admin/reports/overview.php:
|
681 |
msgid "Unknown Source"
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: includes/admin/reports/overview.php:
|
685 |
msgid "TOP COUNTRIES"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: includes/admin/reports/overview.php:
|
689 |
msgid "views"
|
690 |
msgstr ""
|
691 |
|
692 |
-
#: includes/admin/reports/overview.php:
|
693 |
msgid "COUNTRY"
|
694 |
msgstr ""
|
695 |
|
696 |
-
#: includes/admin/reports/overview.php:
|
697 |
msgid "%"
|
698 |
msgstr ""
|
699 |
|
700 |
-
#: includes/admin/reports/overview.php:
|
701 |
msgid "Country not set"
|
702 |
msgstr ""
|
703 |
|
@@ -972,6 +994,18 @@ msgid ""
|
|
972 |
"the settings panel, along with any user with the %s capability."
|
973 |
msgstr ""
|
974 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
975 |
#: includes/admin/settings/settings-api.php:722
|
976 |
#, php-format
|
977 |
msgid "You must have the %s capability to view/edit this setting"
|
@@ -983,85 +1017,72 @@ msgid "The callback function used for the %s setting is missing."
|
|
983 |
msgstr ""
|
984 |
|
985 |
#: includes/admin/settings/settings-api.php:924
|
986 |
-
#: includes/admin/settings/tab-general.php:
|
987 |
msgid "Save Changes"
|
988 |
msgstr ""
|
989 |
|
990 |
-
#: includes/admin/settings/tab-general.php:
|
991 |
-
#, php-format
|
992 |
-
msgid ""
|
993 |
-
"MonsterInsights has detected that it's files are being blocked. This is "
|
994 |
-
"usually caused by a adblock browser plugin (particularly uBlock Origin), or "
|
995 |
-
"a conflicting WordPress theme or plugin. This issue only affects the admin "
|
996 |
-
"side of MonsterInsights. To solve this, ensure MonsterInsights is "
|
997 |
-
"whitelisted for your website URL in any adblock browser plugin you use. For "
|
998 |
-
"step by step directions on how to do this, %1$sclick here%2$s. If this "
|
999 |
-
"doesn't solve the issue (rare), send us a ticket %3$shere%2$s and we'll be "
|
1000 |
-
"happy to help diagnose the issue."
|
1001 |
-
msgstr ""
|
1002 |
-
|
1003 |
-
#: includes/admin/settings/tab-general.php:104
|
1004 |
msgid "Analytics Profile"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
-
#: includes/admin/settings/tab-general.php:
|
1008 |
msgid "Google Authentication"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
-
#: includes/admin/settings/tab-general.php:
|
1012 |
msgid "Profile Active: "
|
1013 |
msgstr ""
|
1014 |
|
1015 |
-
#: includes/admin/settings/tab-general.php:
|
1016 |
msgid "Re-Authenticate with your Google account"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: includes/admin/settings/tab-general.php:
|
1020 |
msgid "Deauthenticate"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: includes/admin/settings/tab-general.php:
|
1024 |
msgid "Authenticate with your Google account"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
-
#: includes/admin/settings/tab-general.php:
|
1028 |
#, php-format
|
1029 |
msgid ""
|
1030 |
"Having issues automatically authenticating? %s Click here to authenticate "
|
1031 |
"manually %s."
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#: includes/admin/settings/tab-general.php:
|
1035 |
msgid "Manually enter your UA code"
|
1036 |
msgstr ""
|
1037 |
|
1038 |
-
#: includes/admin/settings/tab-general.php:
|
1039 |
msgid ""
|
1040 |
"Warning: If you use a manual UA code, you won't be able to use the dashboard "
|
1041 |
"or reports."
|
1042 |
msgstr ""
|
1043 |
|
1044 |
-
#: includes/admin/settings/tab-general.php:
|
1045 |
msgid "Disable Dashboard"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
-
#: includes/admin/settings/tab-general.php:
|
1049 |
msgid "Hide the dashboard and reports pages."
|
1050 |
msgstr ""
|
1051 |
|
1052 |
-
#: includes/admin/settings/tab-general.php:
|
1053 |
msgid "Pick Tracking Mode"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
-
#: includes/admin/settings/tab-general.php:
|
1057 |
msgid "GA.js (Deprecated)"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
-
#: includes/admin/settings/tab-general.php:
|
1061 |
msgid "Analytics.js (Universal Analytics)"
|
1062 |
msgstr ""
|
1063 |
|
1064 |
-
#: includes/admin/settings/tab-general.php:
|
1065 |
#, php-format
|
1066 |
msgid ""
|
1067 |
"Warning: You're currently using deprecated ga.js tracking. We recommend "
|
@@ -1073,11 +1094,11 @@ msgid ""
|
|
1073 |
"(analytics.js) %1$sclick here%2$s."
|
1074 |
msgstr ""
|
1075 |
|
1076 |
-
#: includes/admin/settings/tab-general.php:
|
1077 |
msgid "Switch to JS events tracking"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
-
#: includes/admin/settings/tab-general.php:
|
1081 |
#, php-format
|
1082 |
msgid ""
|
1083 |
"Warning: You're currently using deprecated PHP based events tracking. We "
|
@@ -1086,16 +1107,6 @@ msgid ""
|
|
1086 |
"PHP based events tracking. To switch %1$sclick here%2$s."
|
1087 |
msgstr ""
|
1088 |
|
1089 |
-
#: includes/admin/settings/tab-general.php:187
|
1090 |
-
msgid "Allow Usage Tracking"
|
1091 |
-
msgstr ""
|
1092 |
-
|
1093 |
-
#: includes/admin/settings/tab-general.php:188
|
1094 |
-
msgid ""
|
1095 |
-
"By allowing us to track usage data we can better help you, because we know "
|
1096 |
-
"with which WordPress configurations, themes and plugins we should test."
|
1097 |
-
msgstr ""
|
1098 |
-
|
1099 |
#: includes/admin/settings/tab-tracking.php:40
|
1100 |
msgid "Upgrade"
|
1101 |
msgstr ""
|
5 |
"Project-Id-Version: MonsterInsights Lite\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/awesomemotive/monsterinsights/"
|
7 |
"issues\n"
|
8 |
+
"POT-Creation-Date: 2017-02-27 18:35-0500\n"
|
9 |
"PO-Revision-Date: 2016-07-21 17:01-0400\n"
|
10 |
"Last-Translator: Chris Christoff <support@monsterinsights.com>\n"
|
11 |
"Language-Team: Chris Christoff <support@monsterinsights.com>\n"
|
35 |
"X-Poedit-SearchPathExcluded-12: *.css\n"
|
36 |
"X-Poedit-SearchPathExcluded-13: googleanalytics-premium.php\n"
|
37 |
|
38 |
+
#: googleanalytics.php:220 googleanalytics.php:234
|
39 |
msgid "Cheatin’ huh?"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: googleanalytics.php:375
|
43 |
msgid ""
|
44 |
"The version of MonsterInsights eCommerce addon you have is not compatible "
|
45 |
"with the version of MonsterInsights installed. Please update the eCommerce "
|
46 |
"addon as soon as possible"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: googleanalytics.php:397
|
50 |
#, php-format
|
51 |
msgid ""
|
52 |
"Sorry, but your version of WordPress does not meet MonsterInsights's "
|
54 |
"activated. %3$sClick here to return to the Dashboard%4$s."
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: googleanalytics.php:418
|
58 |
#, php-format
|
59 |
msgid ""
|
60 |
"Please %1$uninstall%2$s the MonsterInsights Lite Plugin. Your Pro version of "
|
62 |
"uninstalled."
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: googleanalytics.php:563
|
66 |
#, php-format
|
67 |
msgid ""
|
68 |
"Sorry, but your version of WordPress does not meet MonsterInsight's required "
|
70 |
"%3$sClick here to return to the Dashboard%4$s."
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: googleanalytics.php:568
|
74 |
#, php-format
|
75 |
msgid ""
|
76 |
"Please uninstall and remove MonsterInsights Pro before activating "
|
97 |
msgid "Dashboard:"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: includes/admin/admin.php:46 includes/admin/pages/dashboard.php:56
|
101 |
msgid "Dashboard"
|
102 |
msgstr ""
|
103 |
|
105 |
msgid "Reports:"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: includes/admin/admin.php:54 includes/admin/pages/reports.php:93
|
109 |
msgid "Reports"
|
110 |
msgstr ""
|
111 |
|
118 |
msgstr ""
|
119 |
|
120 |
#: includes/admin/admin.php:86 includes/admin/admin.php:88
|
121 |
+
#: includes/admin/pages/network-settings.php:54
|
122 |
msgid "Network Settings"
|
123 |
msgstr ""
|
124 |
|
156 |
msgid "Status: Active"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: includes/admin/common.php:126 includes/admin/pages/addons.php:492
|
160 |
msgid "Activate"
|
161 |
msgstr ""
|
162 |
|
164 |
msgid "Status: Network Activated"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: includes/admin/common.php:128 includes/admin/pages/addons.php:490
|
168 |
msgid "Network activate"
|
169 |
msgstr ""
|
170 |
|
172 |
msgid "Activating..."
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: includes/admin/common.php:131 includes/admin/pages/addons.php:465
|
176 |
+
#: includes/admin/pages/addons.php:467
|
177 |
msgid "Deactivate"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: includes/admin/common.php:132 includes/admin/pages/addons.php:463
|
181 |
msgid "Network deactivate"
|
182 |
msgstr ""
|
183 |
|
193 |
msgid "Status: Network inactive"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: includes/admin/common.php:137 includes/admin/pages/addons.php:422
|
197 |
msgid "Install"
|
198 |
msgstr ""
|
199 |
|
205 |
msgid "Proceed"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: includes/admin/common.php:344
|
209 |
+
#, php-format
|
210 |
+
msgid ""
|
211 |
+
"MonsterInsights has detected that it's files are being blocked. This is "
|
212 |
+
"usually caused by a adblock browser plugin (particularly uBlock Origin), or "
|
213 |
+
"a conflicting WordPress theme or plugin. This issue only affects the admin "
|
214 |
+
"side of MonsterInsights. To solve this, ensure MonsterInsights is "
|
215 |
+
"whitelisted for your website URL in any adblock browser plugin you use. For "
|
216 |
+
"step by step directions on how to do this, %1$sclick here%2$s. If this "
|
217 |
+
"doesn't solve the issue (rare), send us a ticket %3$shere%2$s and we'll be "
|
218 |
+
"happy to help diagnose the issue."
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: includes/admin/google.php:313 includes/admin/google.php:354
|
222 |
+
msgid "Google Analytics had a connection error"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: includes/admin/google.php:462 includes/admin/google.php:569
|
226 |
msgid "Permission Denied"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: includes/admin/google.php:475
|
230 |
msgid "Cannot connect to Google"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: includes/admin/google.php:501
|
234 |
msgid "No profiles viewable for that account. Please use another account."
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: includes/admin/google.php:508
|
238 |
msgid "Bad Google Code. Please try again."
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: includes/admin/google.php:515
|
242 |
msgid "Please paste in your Google code."
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: includes/admin/google.php:541
|
246 |
msgid "Invalid profile selected."
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: includes/admin/google.php:547
|
250 |
msgid "Please select a profile."
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: includes/admin/google.php:607
|
254 |
msgid "Analytics profile"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: includes/admin/google.php:608
|
258 |
msgid "Select a profile"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: includes/admin/google.php:718
|
262 |
#, php-format
|
263 |
msgid "Please configure your %1$sGoogle Analytics settings%2$s!"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: includes/admin/google.php:731
|
267 |
#, php-format
|
268 |
msgid ""
|
269 |
+
"It seems the authentication for the plugin has expired or the connection to "
|
270 |
+
"Google Analytics is blocked, please try %1$sre-authenticating%2$s with "
|
271 |
+
"Google Analytics to allow the plugin to fetch data."
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: includes/admin/google.php:744
|
275 |
#, php-format
|
276 |
msgid ""
|
277 |
"It seems the authentication for the plugin is missing permissions. Please "
|
279 |
"data."
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: includes/admin/google.php:757 includes/admin/pages/dashboard.php:121
|
283 |
+
#: includes/admin/pages/reports.php:164
|
284 |
#, php-format
|
285 |
msgid ""
|
286 |
"Data is not up-to-date, there was an error in retrieving the data from "
|
469 |
msgid "Sort Descending (Z-A)"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: includes/admin/pages/addons.php:123
|
473 |
msgid ""
|
474 |
"In order to get access to Addons, you need to resolve your license key "
|
475 |
"errors."
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: includes/admin/pages/addons.php:139
|
479 |
msgid ""
|
480 |
"There was an issue retrieving the addons for this site. Please click on the "
|
481 |
"button below the refresh the addons data."
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: includes/admin/pages/addons.php:142
|
485 |
msgid "Refresh Addons"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: includes/admin/pages/addons.php:160
|
489 |
msgid "Available Addons:"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: includes/admin/pages/addons.php:180
|
493 |
msgid "Unlock More Addons"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: includes/admin/pages/addons.php:181
|
497 |
#, php-format
|
498 |
msgid ""
|
499 |
"%1$sWant even more addons?%2$sUpgrade your MonsterInsights account%3$s and "
|
500 |
"unlock the following addons:"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: includes/admin/pages/addons.php:397
|
504 |
msgid "Upgrade Now"
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: includes/admin/pages/addons.php:416
|
508 |
#, php-format
|
509 |
msgid "Status: %1$sNot Installed%2$s"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: includes/admin/pages/addons.php:427
|
513 |
msgid "Why can't I install addons?"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: includes/admin/pages/addons.php:454
|
517 |
#, php-format
|
518 |
msgid "Status: %1$sNetwork Active%2$s"
|
519 |
msgstr ""
|
520 |
|
521 |
+
#: includes/admin/pages/addons.php:456
|
522 |
#, php-format
|
523 |
msgid "Status: %1$sActive%2$s"
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: includes/admin/pages/addons.php:482
|
527 |
#, php-format
|
528 |
msgid "Status: %1$sNetwork Inactive%2$s"
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: includes/admin/pages/addons.php:484
|
532 |
#, php-format
|
533 |
msgid "Status: %1$sInactive%2$s"
|
534 |
msgstr ""
|
537 |
msgid "Access denied"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: includes/admin/pages/dashboard.php:79 includes/admin/pages/reports.php:122
|
541 |
#, php-format
|
542 |
msgid "Please %1$senable the dashboard%2$s to see report data."
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: includes/admin/pages/dashboard.php:85 includes/admin/pages/dashboard.php:99
|
546 |
+
#: includes/admin/pages/dashboard.php:113
|
547 |
+
#: includes/admin/pages/dashboard.php:127 includes/admin/pages/reports.php:128
|
548 |
+
#: includes/admin/pages/reports.php:142 includes/admin/pages/reports.php:156
|
549 |
+
#: includes/admin/pages/reports.php:170
|
550 |
msgid ""
|
551 |
"The Google oAuth authentication needs to be re-authenticated to view data."
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: includes/admin/pages/dashboard.php:93 includes/admin/pages/reports.php:136
|
555 |
#, php-format
|
556 |
msgid ""
|
557 |
"Please %1$sauthenticate %2$swith Google Analytics to allow the plugin to "
|
558 |
"fetch data."
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: includes/admin/pages/dashboard.php:107 includes/admin/pages/reports.php:150
|
562 |
#, php-format
|
563 |
msgid ""
|
564 |
"Please %1$sre-authenticate%2$s with Google Analytics to allow the plugin to "
|
565 |
"fetch data."
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: includes/admin/pages/network-settings.php:55
|
569 |
msgid ""
|
570 |
"Activate your MonsterInsights license key on this panel to hide the license "
|
571 |
"key settings and addon pages for subsites."
|
572 |
msgstr ""
|
573 |
|
574 |
+
#: includes/admin/pages/network-settings.php:60
|
575 |
+
#: includes/admin/settings/tab-general.php:65
|
576 |
msgid "License Key"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: includes/admin/pages/network-settings.php:66
|
580 |
+
#: includes/admin/settings/tab-general.php:71
|
581 |
msgid "Verify Key"
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: includes/admin/pages/network-settings.php:67
|
585 |
+
#: includes/admin/settings/tab-general.php:72
|
586 |
msgid "Deactivate Key"
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: includes/admin/pages/network-settings.php:68
|
590 |
+
#: includes/admin/settings/tab-general.php:73
|
591 |
msgid ""
|
592 |
"License key to enable automatic updates for MonsterInsights Pro & addons. "
|
593 |
"Deactivate your license if you want to use it on another WordPress site."
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: includes/admin/pages/network-settings.php:75
|
597 |
+
#: includes/admin/settings/tab-general.php:80
|
598 |
msgid "License Key Type"
|
599 |
msgstr ""
|
600 |
|
601 |
+
#: includes/admin/pages/network-settings.php:79
|
602 |
+
#: includes/admin/settings/tab-general.php:84
|
603 |
#, php-format
|
604 |
msgid "Your license key type for this site is %s."
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: includes/admin/pages/network-settings.php:82
|
608 |
+
#: includes/admin/settings/tab-general.php:87
|
609 |
msgid "Refresh Key"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: includes/admin/pages/network-settings.php:83
|
613 |
+
#: includes/admin/settings/tab-general.php:88
|
614 |
msgid ""
|
615 |
"Your license key type (handles updates and Addons). Click refresh if your "
|
616 |
"license has been upgraded or the type is incorrect."
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: includes/admin/pages/settings.php:62 includes/admin/pages/settings.php:63
|
620 |
msgid "General"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: includes/admin/pages/settings.php:66 includes/admin/pages/settings.php:67
|
624 |
msgid "Tracking"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: includes/admin/pages/settings.php:151
|
628 |
msgid "Settings saved successfully."
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: includes/admin/pages/settings.php:163
|
632 |
+
msgid "Invalid UA code."
|
633 |
+
msgstr ""
|
634 |
+
|
635 |
+
#: includes/admin/pages/settings.php:226 includes/admin/pages/settings.php:283
|
636 |
msgid "You do not have permission to manage MonsterInsights settings"
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: includes/admin/pages/settings.php:226 includes/admin/pages/settings.php:283
|
640 |
msgid "Error"
|
641 |
msgstr ""
|
642 |
|
643 |
+
#: includes/admin/pages/settings.php:243
|
644 |
msgid "Successfully migrated to Universal Analytics (analytics.js)!"
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: includes/admin/pages/settings.php:300
|
648 |
msgid "Successfully migrated to JS events tracking!"
|
649 |
msgstr ""
|
650 |
|
673 |
msgid "DOWN"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: includes/admin/reports/overview.php:307
|
677 |
msgid "TOP POSTS AND PAGES"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: includes/admin/reports/overview.php:312
|
681 |
msgid "TITLE"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: includes/admin/reports/overview.php:315
|
685 |
+
#: includes/admin/reports/overview.php:360
|
686 |
+
#: includes/admin/reports/overview.php:435
|
687 |
msgid "VIEWS"
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: includes/admin/reports/overview.php:328
|
691 |
msgid "Unknown Page or Post"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: includes/admin/reports/overview.php:352
|
695 |
msgid "TOP TRAFFIC SOURCES"
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: includes/admin/reports/overview.php:357
|
699 |
msgid "SITE"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: includes/admin/reports/overview.php:373
|
703 |
msgid "Unknown Source"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: includes/admin/reports/overview.php:403
|
707 |
msgid "TOP COUNTRIES"
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: includes/admin/reports/overview.php:411
|
711 |
msgid "views"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: includes/admin/reports/overview.php:432
|
715 |
msgid "COUNTRY"
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: includes/admin/reports/overview.php:438
|
719 |
msgid "%"
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: includes/admin/reports/overview.php:452
|
723 |
msgid "Country not set"
|
724 |
msgstr ""
|
725 |
|
994 |
"the settings panel, along with any user with the %s capability."
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: includes/admin/settings/register-settings.php:334
|
998 |
+
#: includes/admin/settings/tab-general.php:181
|
999 |
+
msgid "Allow Usage Tracking"
|
1000 |
+
msgstr ""
|
1001 |
+
|
1002 |
+
#: includes/admin/settings/register-settings.php:335
|
1003 |
+
#: includes/admin/settings/tab-general.php:182
|
1004 |
+
msgid ""
|
1005 |
+
"By allowing us to track usage data we can better help you, because we know "
|
1006 |
+
"with which WordPress configurations, themes and plugins we should test."
|
1007 |
+
msgstr ""
|
1008 |
+
|
1009 |
#: includes/admin/settings/settings-api.php:722
|
1010 |
#, php-format
|
1011 |
msgid "You must have the %s capability to view/edit this setting"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
#: includes/admin/settings/settings-api.php:924
|
1020 |
+
#: includes/admin/settings/tab-general.php:202
|
1021 |
msgid "Save Changes"
|
1022 |
msgstr ""
|
1023 |
|
1024 |
+
#: includes/admin/settings/tab-general.php:98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1025 |
msgid "Analytics Profile"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
+
#: includes/admin/settings/tab-general.php:100
|
1029 |
msgid "Google Authentication"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: includes/admin/settings/tab-general.php:106
|
1033 |
msgid "Profile Active: "
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: includes/admin/settings/tab-general.php:108
|
1037 |
msgid "Re-Authenticate with your Google account"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: includes/admin/settings/tab-general.php:109
|
1041 |
msgid "Deauthenticate"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: includes/admin/settings/tab-general.php:112
|
1045 |
msgid "Authenticate with your Google account"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: includes/admin/settings/tab-general.php:113
|
1049 |
#, php-format
|
1050 |
msgid ""
|
1051 |
"Having issues automatically authenticating? %s Click here to authenticate "
|
1052 |
"manually %s."
|
1053 |
msgstr ""
|
1054 |
|
1055 |
+
#: includes/admin/settings/tab-general.php:131
|
1056 |
msgid "Manually enter your UA code"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
+
#: includes/admin/settings/tab-general.php:135
|
1060 |
msgid ""
|
1061 |
"Warning: If you use a manual UA code, you won't be able to use the dashboard "
|
1062 |
"or reports."
|
1063 |
msgstr ""
|
1064 |
|
1065 |
+
#: includes/admin/settings/tab-general.php:142
|
1066 |
msgid "Disable Dashboard"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
+
#: includes/admin/settings/tab-general.php:143
|
1070 |
msgid "Hide the dashboard and reports pages."
|
1071 |
msgstr ""
|
1072 |
|
1073 |
+
#: includes/admin/settings/tab-general.php:150
|
1074 |
msgid "Pick Tracking Mode"
|
1075 |
msgstr ""
|
1076 |
|
1077 |
+
#: includes/admin/settings/tab-general.php:156
|
1078 |
msgid "GA.js (Deprecated)"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
+
#: includes/admin/settings/tab-general.php:157
|
1082 |
msgid "Analytics.js (Universal Analytics)"
|
1083 |
msgstr ""
|
1084 |
|
1085 |
+
#: includes/admin/settings/tab-general.php:158
|
1086 |
#, php-format
|
1087 |
msgid ""
|
1088 |
"Warning: You're currently using deprecated ga.js tracking. We recommend "
|
1094 |
"(analytics.js) %1$sclick here%2$s."
|
1095 |
msgstr ""
|
1096 |
|
1097 |
+
#: includes/admin/settings/tab-general.php:167
|
1098 |
msgid "Switch to JS events tracking"
|
1099 |
msgstr ""
|
1100 |
|
1101 |
+
#: includes/admin/settings/tab-general.php:173
|
1102 |
#, php-format
|
1103 |
msgid ""
|
1104 |
"Warning: You're currently using deprecated PHP based events tracking. We "
|
1107 |
"PHP based events tracking. To switch %1$sclick here%2$s."
|
1108 |
msgstr ""
|
1109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1110 |
#: includes/admin/settings/tab-tracking.php:40
|
1111 |
msgid "Upgrade"
|
1112 |
msgstr ""
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: chriscct7, smub
|
|
3 |
Donate link: http://www.wpbeginner.com/wpbeginner-needs-your-help/
|
4 |
Tags: analytics, analytics dashboard, google analytics, google analytics dashboard, google analytics widget, universal google analytics, statistics, tracking, stats, google, yoast, google analytics by yoast, ga, monster insights, monsterinsights, universal analytics, web stats, ecommerce, ecommerce tracking
|
5 |
Requires at least: 3.9
|
6 |
-
Tested up to: 4.7.
|
7 |
-
Stable tag: 6.0.
|
8 |
License: GPL v3
|
9 |
|
10 |
The best Google Analytics plugin for WordPress. See how visitors find and use your website, so you can keep them coming back.
|
@@ -137,6 +137,15 @@ You can also learn about other <a href="http://www.wpbeginner.com/category/plugi
|
|
137 |
|
138 |
== Changelog ==
|
139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
= 6.0.11, February 24, 2017 =
|
141 |
* Notice: Version numbers 6.0.5 - 6.0.10 were not used, as we're synching the version numbers of the Lite and Pro versions of our plugin. You didn't miss any updates.
|
142 |
* Notice: As of this release, we no longer backport changes to the old `yst_ga` option. If you need to access MonsterInsights's settings programically, please use our helper functions. Do not directly access a option.
|
3 |
Donate link: http://www.wpbeginner.com/wpbeginner-needs-your-help/
|
4 |
Tags: analytics, analytics dashboard, google analytics, google analytics dashboard, google analytics widget, universal google analytics, statistics, tracking, stats, google, yoast, google analytics by yoast, ga, monster insights, monsterinsights, universal analytics, web stats, ecommerce, ecommerce tracking
|
5 |
Requires at least: 3.9
|
6 |
+
Tested up to: 4.7.3
|
7 |
+
Stable tag: 6.0.12
|
8 |
License: GPL v3
|
9 |
|
10 |
The best Google Analytics plugin for WordPress. See how visitors find and use your website, so you can keep them coming back.
|
137 |
|
138 |
== Changelog ==
|
139 |
|
140 |
+
= 6.0.12, February 27, 2017 =
|
141 |
+
* New: The JS events tracking has been moved to a new JS file instead of inline. This will offer the same performance as inlining under HTTP/2, but with the benefit of better cache bursting.
|
142 |
+
* New: Expanded admin adblock detection.
|
143 |
+
* Tweak: Select2 is now bundled as Select300 in MonsterInsights. We're pulling down the latest copy of Selct2 and then on-the-fly renaming it. This should end any conflicts between our select2 boxes and other plugins/themes.
|
144 |
+
* Tweak: We've implemented better error detection on the authentication flow. Some users may have previously seen "No profile errors", due to issues with their server setup will now see more accurate errors.
|
145 |
+
* Tweak: For servers that use PHP Object caching, the cache will now be flushed during the uninstall routiens. This should solve a very rare uninstall error.
|
146 |
+
* Fixed: A "Invalid UA code" error was displayed whenever someone used oAuth2 and then saved the settings panel, despite having a valid UA code.
|
147 |
+
* Fixed: An issue with the lazyloading of the Google Client for frontend use has been fixed.
|
148 |
+
|
149 |
= 6.0.11, February 24, 2017 =
|
150 |
* Notice: Version numbers 6.0.5 - 6.0.10 were not used, as we're synching the version numbers of the Lite and Pro versions of our plugin. You didn't miss any updates.
|
151 |
* Notice: As of this release, we no longer backport changes to the old `yst_ga` option. If you need to access MonsterInsights's settings programically, please use our helper functions. Do not directly access a option.
|