Version Description
- deprecate set, slideshow & list
- content popup UI/UX fixes
- gutenberg UI/UX fixes
Download this release
Release Info
Developer | kucaahbe |
Plugin | Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page |
Version | 19.7.0 |
Comparing to | |
See all releases |
Code changes from version 19.6.41 to 19.7.0
- admin/content-popup-gutenberg-template.html.php +0 -256
- admin/content-popup-template.html.php +56 -75
- admin/content-popup.php +0 -400
- admin/images/slideshow.png +0 -0
- admin/js/content-popup.js +4 -4
- admin/views/settings.php +0 -18
- admin/views/view_my_items.php +0 -4
- assets/content-popup/app/components/notification.js +2 -9
- assets/content-popup/app/components/popup-content.js +56 -64
- assets/content-popup/app/components/widget-list.js +33 -6
- assets/content-popup/app/index.js +15 -10
- assets/content-popup/app/widget-types.js +10 -0
- assets/content-popup/index.js +27 -1
- assets/content-popup/styles/content-popup.scss +300 -92
- assets/content-popup/styles/modal-window.scss +6 -3
- assets/gutenberg/build/index.asset.php +1 -1
- assets/gutenberg/build/index.js +1 -1
- assets/gutenberg/src/configuration.js +0 -1
- assets/gutenberg/src/edit.js +20 -35
- assets/gutenberg/src/index.js +0 -16
- assets/gutenberg/src/save.js +0 -4
- includes/gutenberg.php +0 -8
- opinionstage-polls.php +1 -1
- plugin.php +2 -2
- readme.txt +5 -1
admin/content-popup-gutenberg-template.html.php
DELETED
@@ -1,256 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// block direct access to plugin PHP files:
|
3 |
-
defined( 'ABSPATH' ) or die();
|
4 |
-
|
5 |
-
require_once( plugin_dir_path( __FILE__ ).'../includes/opinionstage-client-session.php' );
|
6 |
-
|
7 |
-
$opinionstage_user_logged_in = opinionstage_user_logged_in();
|
8 |
-
|
9 |
-
function opinionstage_create_new_href() {
|
10 |
-
return OPINIONSTAGE_SERVER_BASE.'/dashboard/content';
|
11 |
-
}
|
12 |
-
|
13 |
-
// Note: all html put here (not moved to js build system) in order to preserve ability to use Wordpress translate APIs
|
14 |
-
?>
|
15 |
-
<style type="text/css">
|
16 |
-
.progress_message{
|
17 |
-
display: none;
|
18 |
-
}
|
19 |
-
.content__image {
|
20 |
-
background-image: url(<?php echo plugins_url('', dirname(__FILE__) ) . '/admin/images/form-not-found.png' ?>);
|
21 |
-
background-repeat: no-repeat;
|
22 |
-
background-size: cover;
|
23 |
-
}
|
24 |
-
</style>
|
25 |
-
<template data-opinionstage-content-popup-template>
|
26 |
-
<div class='opinionstage-content-popup-contents' data-opinionstage-content-popup data-opinionstage-client-logged-in="<?php echo $opinionstage_user_logged_in ?>">
|
27 |
-
<header class='header'>
|
28 |
-
<div class='header__container'>
|
29 |
-
<div class='header__logo'>
|
30 |
-
<a href='<?php echo OPINIONSTAGE_SERVER_BASE ?>' target='_blank'>
|
31 |
-
<img src='<?php echo plugins_url('admin/images/os-logo-header.png', plugin_dir_path( __FILE__ )) ?>'>
|
32 |
-
</a>
|
33 |
-
</div>
|
34 |
-
<div class='header__action'>
|
35 |
-
<div class='btn-close' @click="closePopup">X</div>
|
36 |
-
</div>
|
37 |
-
</div>
|
38 |
-
</header>
|
39 |
-
<section>
|
40 |
-
<popup-content
|
41 |
-
:show-client-content="showClientContent"
|
42 |
-
:client-is-logged-in="isClientLoggedIn"
|
43 |
-
:modal-is-opened="isModalOpened"
|
44 |
-
@insert-shortcode="insertShortcode"
|
45 |
-
client-widgets-url="<?php echo OPINIONSTAGE_CONTENT_POPUP_CLIENT_WIDGETS_API ?>"
|
46 |
-
shared-widgets-url="<?php echo OPINIONSTAGE_CONTENT_POPUP_SHARED_WIDGETS_API ?>"
|
47 |
-
client-widgets-has-new-url="<?php echo OPINIONSTAGE_CONTENT_POPUP_CLIENT_WIDGETS_API_RECENT_UPDATE ?>"
|
48 |
-
access-key="<?php echo opinionstage_user_access_token() ?>"
|
49 |
-
plugin-version="<?php echo OPINIONSTAGE_WIDGET_VERSION ?>"
|
50 |
-
>
|
51 |
-
</popup-content>
|
52 |
-
</section>
|
53 |
-
</div>
|
54 |
-
</template>
|
55 |
-
|
56 |
-
<template id="opinionstage-widget-list">
|
57 |
-
<div class='page-content'>
|
58 |
-
<div class='content-actions'>
|
59 |
-
<div class="popup-header-title">My Items</div>
|
60 |
-
<div class="header-right-container">
|
61 |
-
<div class="header-right-inner-container">
|
62 |
-
<div class='filter'>
|
63 |
-
<div class="dropdown dropdown_items">
|
64 |
-
<button class="dropbtn gutenberg_dropdown" id="dropbtn"><span>All ITEMS</span></button>
|
65 |
-
<div class="dropdown-content">
|
66 |
-
<div class='filter__itm'
|
67 |
-
@click="selectWidgetType('all')"
|
68 |
-
:class="{ active: selectedWidgetType === 'all' }"
|
69 |
-
>all Items</div>
|
70 |
-
<div class='filter__itm'
|
71 |
-
@click="selectWidgetType('poll')"
|
72 |
-
:class="{ active: selectedWidgetType === 'poll' }"
|
73 |
-
>poll</div>
|
74 |
-
<div class='filter__itm'
|
75 |
-
@click="selectWidgetType('set')"
|
76 |
-
:class="{ active: selectedWidgetType === 'set' }"
|
77 |
-
>multi poll set</div>
|
78 |
-
<div class='filter__itm'
|
79 |
-
@click="selectWidgetType('survey')"
|
80 |
-
:class="{ active: selectedWidgetType === 'survey' }"
|
81 |
-
>survey</div>
|
82 |
-
<div class='filter__itm'
|
83 |
-
@click="selectWidgetType('slideshow')"
|
84 |
-
:class="{ active: selectedWidgetType === 'slideshow' }"
|
85 |
-
>slideshow</div>
|
86 |
-
<div class='filter__itm'
|
87 |
-
@click="selectWidgetType('trivia')"
|
88 |
-
:class="{ active: selectedWidgetType === 'trivia' }"
|
89 |
-
>trivia quiz</div>
|
90 |
-
<div class='filter__itm'
|
91 |
-
@click="selectWidgetType('outcome')"
|
92 |
-
:class="{ active: selectedWidgetType === 'outcome' }"
|
93 |
-
>personality quiz</div>
|
94 |
-
<div class='filter__itm'
|
95 |
-
@click="selectWidgetType('list')"
|
96 |
-
:class="{ active: selectedWidgetType === 'list' }"
|
97 |
-
>list</div>
|
98 |
-
<div class='filter__itm'
|
99 |
-
@click="selectWidgetType('form')"
|
100 |
-
:class="{ active: selectedWidgetType === 'form' }"
|
101 |
-
>form</div>
|
102 |
-
<div class='filter__itm'
|
103 |
-
@click="selectWidgetType('story')"
|
104 |
-
:class="{ active: selectedWidgetType === 'story' }"
|
105 |
-
>story article</div>
|
106 |
-
</div>
|
107 |
-
</div>
|
108 |
-
</div>
|
109 |
-
<div class='search' style="width: 180px;">
|
110 |
-
<input
|
111 |
-
class='std-search'
|
112 |
-
placeholder='Search...'
|
113 |
-
type='text'
|
114 |
-
v-model='widgetTitleSearch'
|
115 |
-
:class='{ hidden: !showSearch }'
|
116 |
-
>
|
117 |
-
</div>
|
118 |
-
</div>
|
119 |
-
<a href="<?php echo admin_url( 'admin.php?page=opinionstage-settings' ); ?>" target='_blank' class="popup-header-item-create-btn">CREATE</a>
|
120 |
-
</div>
|
121 |
-
</div>
|
122 |
-
<span class="progress_message" style="font-size: 16px; text-align: center;">Loading...</span>
|
123 |
-
<div class='content__list'>
|
124 |
-
<div v-if='hasData'>
|
125 |
-
<div class='content__itm' v-for="widget in widgets">
|
126 |
-
<a target="_blank" :href='widget.landingPageUrl'>
|
127 |
-
<div class='content__image'>
|
128 |
-
<img :src='widget.imageUrl'>
|
129 |
-
<div class='content__label'>{{ widget.type }}</div>
|
130 |
-
</div>
|
131 |
-
</a>
|
132 |
-
<p class='content__info'><a target="_blank" :href='widget.editUrl'>{{ widget.title }}</a></p>
|
133 |
-
<div class='content__links'>
|
134 |
-
<button class='popup-content-btn content__links-itm'
|
135 |
-
@click="insertIntoGutenberg(widget)">insert</button>
|
136 |
-
<div class="dropdown dropdown-popup-action">
|
137 |
-
<div class="popup-action popup-content-btn"></div>
|
138 |
-
<div class="content-item-menu">
|
139 |
-
<div class="top-arrow-box"><div class="top-arrow"></div></div>
|
140 |
-
<div class="popup-action-dropdown dropdown-content">
|
141 |
-
<a class='content__links-itm' target="_blank" :href='widget.landingPageUrl'>view</a>
|
142 |
-
<a class='content__links-itm' target="_blank" :href='widget.editUrl' v-show="!widget.template">edit</a>
|
143 |
-
<a class='content__links-itm' target="_blank" :href='widget.statsUrl' v-show="!widget.template">Results</a>
|
144 |
-
</div>
|
145 |
-
</div>
|
146 |
-
</div>
|
147 |
-
</div>
|
148 |
-
</div>
|
149 |
-
<div class='content__loading' v-if='dataLoading'>
|
150 |
-
loading...
|
151 |
-
</div>
|
152 |
-
<div v-else>
|
153 |
-
<button
|
154 |
-
class='btn-show-more'
|
155 |
-
v-if='!noMoreData'
|
156 |
-
@click='showMore'
|
157 |
-
>Click for more</button>
|
158 |
-
</div>
|
159 |
-
</div>
|
160 |
-
<div v-else>
|
161 |
-
No items found
|
162 |
-
</div>
|
163 |
-
</div>
|
164 |
-
</div>
|
165 |
-
</template>
|
166 |
-
|
167 |
-
<template id="opinionstage-popup-content">
|
168 |
-
<div v-if="showClientContent">
|
169 |
-
<div v-if="clientIsLoggedIn">
|
170 |
-
<div v-if="newWidgetsAvailable" class="notification-container">
|
171 |
-
<notification
|
172 |
-
:widget-type='searchCriteria.type'
|
173 |
-
@reload='reloadData'
|
174 |
-
@hide='startWidgetUpdatesChecker'
|
175 |
-
>
|
176 |
-
</div>
|
177 |
-
<widget-list
|
178 |
-
:widgets='widgets'
|
179 |
-
:data-loading='dataLoading'
|
180 |
-
:show-search='true'
|
181 |
-
:no-more-data='noMoreData'
|
182 |
-
@insert-shortcode="insertShortcode"
|
183 |
-
@widgets-search-update='reloadData'
|
184 |
-
@load-more-widgets='appendData'
|
185 |
-
>
|
186 |
-
</div>
|
187 |
-
<div class='page-content' v-else>
|
188 |
-
<div class="bordered-container">
|
189 |
-
<h1 class='main-title'>
|
190 |
-
<b>Connect WordPress</b>
|
191 |
-
<span>with</span>
|
192 |
-
<b>Opinion Stage</b>
|
193 |
-
<span>to get started</span>
|
194 |
-
</h1>
|
195 |
-
<form action="<?php echo OPINIONSTAGE_LOGIN_PATH ?>" method="get" class="opinionstage-connect-form">
|
196 |
-
<input type="hidden" name="utm_source" value="<?php echo OPINIONSTAGE_UTM_SOURCE ?>">
|
197 |
-
<input type="hidden" name="utm_campaign" value="<?php echo OPINIONSTAGE_UTM_CAMPAIGN ?>">
|
198 |
-
<input type="hidden" name="utm_medium" value="<?php echo OPINIONSTAGE_UTM_MEDIUM ?>">
|
199 |
-
<input type="hidden" name="o" value="<?php echo OPINIONSTAGE_WIDGET_API_KEY ?>">
|
200 |
-
<input type="hidden" name="callback" value="<?php echo opinionstage_custom_content_popup_callback_url() ?>">
|
201 |
-
<input id="os-email" type="email" name="email" placeholder="Enter Your Email" data-os-email-input class="opinionstage-conect-input">
|
202 |
-
<button class="opinionstage-blue-btn" type="submit" id="os-start-login" data-os-login>CONNECT</button>
|
203 |
-
</form>
|
204 |
-
</div>
|
205 |
-
</div>
|
206 |
-
</div>
|
207 |
-
<div v-else>
|
208 |
-
<widget-list
|
209 |
-
:widgets='widgets'
|
210 |
-
:data-loading='dataLoading'
|
211 |
-
:show-search='false'
|
212 |
-
:no-more-data='noMoreData'
|
213 |
-
@insert-shortcode='insertShortcode'
|
214 |
-
@widgets-search-update='reloadData'
|
215 |
-
@load-more-widgets='appendData'
|
216 |
-
>
|
217 |
-
</div>
|
218 |
-
</template>
|
219 |
-
|
220 |
-
<template id="opinionstage-notification">
|
221 |
-
<div class="opinionstage-section-notification">
|
222 |
-
<p class="opinionstage-section-notification__title">
|
223 |
-
Your content has been updated, please click the button to update your view
|
224 |
-
</p>
|
225 |
-
<div class="opinionstage-section-notification__controls">
|
226 |
-
<button class='btn-blue' @click="reload">Update view</button>
|
227 |
-
</div>
|
228 |
-
</div>
|
229 |
-
</template>
|
230 |
-
<script>
|
231 |
-
jQuery(document).ready(function ($) {
|
232 |
-
$('.filter__itm').on('click', null, function(e) {
|
233 |
-
var text = $(this).text();
|
234 |
-
$("button#dropbtn span").text(text);
|
235 |
-
|
236 |
-
$('.dropdown_items .dropdown-content').attr('style', 'display: none !important');
|
237 |
-
$(".dropdown_items #dropbtn").hover(function() {
|
238 |
-
$('.dropdown_items .dropdown-content').css("display","block");
|
239 |
-
});
|
240 |
-
});
|
241 |
-
|
242 |
-
jQuery(document).on('click', null, function(e) {
|
243 |
-
$('.dropdown_items .dropdown-content').attr('style', 'display: none !important');
|
244 |
-
});
|
245 |
-
|
246 |
-
$('div#show-templates').on('click', null, function(e) {
|
247 |
-
var inputs = $(".filter__itm");
|
248 |
-
for(var i = 0; i < inputs.length; i++){
|
249 |
-
if($(inputs[i]).text() == 'story article'){
|
250 |
-
$(inputs[i]).hide();
|
251 |
-
break;
|
252 |
-
}
|
253 |
-
}
|
254 |
-
});
|
255 |
-
});
|
256 |
-
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/content-popup-template.html.php
CHANGED
@@ -25,7 +25,7 @@ $opinionstage_user_logged_in = opinionstage_user_logged_in();
|
|
25 |
</a>
|
26 |
</div>
|
27 |
<div class='header__action'>
|
28 |
-
<div class='btn-close' @click="closePopup"
|
29 |
</div>
|
30 |
</div>
|
31 |
</header>
|
@@ -34,6 +34,7 @@ $opinionstage_user_logged_in = opinionstage_user_logged_in();
|
|
34 |
:show-client-content="showClientContent"
|
35 |
:client-is-logged-in="isClientLoggedIn"
|
36 |
:modal-is-opened="isModalOpened"
|
|
|
37 |
@widget-selected="selectWidgetAndExit"
|
38 |
client-widgets-url="<?php echo OPINIONSTAGE_CONTENT_POPUP_CLIENT_WIDGETS_API ?>"
|
39 |
shared-widgets-url="<?php echo OPINIONSTAGE_CONTENT_POPUP_SHARED_WIDGETS_API ?>"
|
@@ -49,68 +50,53 @@ $opinionstage_user_logged_in = opinionstage_user_logged_in();
|
|
49 |
<template id="opinionstage-widget-list">
|
50 |
<div class='page-content'>
|
51 |
<div class='content-actions'>
|
52 |
-
<div class=
|
53 |
-
|
54 |
-
|
55 |
-
<div class=
|
56 |
-
<div class=
|
57 |
-
<
|
58 |
-
|
59 |
-
<div class=
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
:class="{ active: selectedWidgetType === 'outcome' }"
|
86 |
-
>personality quiz</div>
|
87 |
-
<div class='filter__itm'
|
88 |
-
@click="selectWidgetType('list')"
|
89 |
-
:class="{ active: selectedWidgetType === 'list' }"
|
90 |
-
>list</div>
|
91 |
-
<div class='filter__itm'
|
92 |
-
@click="selectWidgetType('form')"
|
93 |
-
:class="{ active: selectedWidgetType === 'form' }"
|
94 |
-
>form</div>
|
95 |
-
<div class='filter__itm'
|
96 |
-
@click="selectWidgetType('story')"
|
97 |
-
:class="{ active: selectedWidgetType === 'story' }"
|
98 |
-
>story article</div>
|
99 |
</div>
|
100 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
</div>
|
102 |
-
<div class='search' style="width: 180px;">
|
103 |
-
<input
|
104 |
-
class='std-search'
|
105 |
-
placeholder='Search...'
|
106 |
-
type='text'
|
107 |
-
v-model='widgetTitleSearch'
|
108 |
-
:class='{ hidden: !showSearch }'
|
109 |
-
>
|
110 |
-
</div>
|
111 |
-
</div>
|
112 |
-
<a href="<?php echo admin_url( 'admin.php?page=opinionstage-settings' ); ?>" target='_blank' class="popup-header-item-create-btn">CREATE</a>
|
113 |
-
</div>
|
114 |
</div>
|
115 |
<div class='content__list'>
|
116 |
<div v-if='hasData'>
|
@@ -125,15 +111,12 @@ $opinionstage_user_logged_in = opinionstage_user_logged_in();
|
|
125 |
<div class='content__links'>
|
126 |
<button class='popup-content-btn content__links-itm' @click="select(widget)">insert</button>
|
127 |
<div class="dropdown dropdown-popup-action">
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
<a class='content__links-itm' target="_blank" :href='widget.statsUrl' v-show="!widget.template">Results</a>
|
135 |
-
</div>
|
136 |
-
</div>
|
137 |
</div>
|
138 |
</div>
|
139 |
</div>
|
@@ -159,14 +142,11 @@ $opinionstage_user_logged_in = opinionstage_user_logged_in();
|
|
159 |
<div v-if="showClientContent">
|
160 |
<div v-if="clientIsLoggedIn">
|
161 |
<div v-if="newWidgetsAvailable" class="notification-container">
|
162 |
-
<notification
|
163 |
-
:widget-type='searchCriteria.type'
|
164 |
-
@reload='reloadData'
|
165 |
-
@hide='startWidgetUpdatesChecker'
|
166 |
-
>
|
167 |
</div>
|
168 |
<widget-list
|
169 |
:widgets='widgets'
|
|
|
170 |
:data-loading='dataLoading'
|
171 |
:show-search='true'
|
172 |
:no-more-data='noMoreData'
|
@@ -185,6 +165,7 @@ $opinionstage_user_logged_in = opinionstage_user_logged_in();
|
|
185 |
<div v-else>
|
186 |
<widget-list
|
187 |
:widgets='widgets'
|
|
|
188 |
:data-loading='dataLoading'
|
189 |
:show-search='false'
|
190 |
:no-more-data='noMoreData'
|
@@ -201,7 +182,7 @@ $opinionstage_user_logged_in = opinionstage_user_logged_in();
|
|
201 |
Your content has been updated, please click the button to update your view
|
202 |
</p>
|
203 |
<div class="opinionstage-section-notification__controls">
|
204 |
-
<button class='btn-blue' @click="
|
205 |
</div>
|
206 |
</div>
|
207 |
</template>
|
25 |
</a>
|
26 |
</div>
|
27 |
<div class='header__action'>
|
28 |
+
<div class='btn-close' @click="closePopup">✕</div>
|
29 |
</div>
|
30 |
</div>
|
31 |
</header>
|
34 |
:show-client-content="showClientContent"
|
35 |
:client-is-logged-in="isClientLoggedIn"
|
36 |
:modal-is-opened="isModalOpened"
|
37 |
+
:widget-type="widgetType"
|
38 |
@widget-selected="selectWidgetAndExit"
|
39 |
client-widgets-url="<?php echo OPINIONSTAGE_CONTENT_POPUP_CLIENT_WIDGETS_API ?>"
|
40 |
shared-widgets-url="<?php echo OPINIONSTAGE_CONTENT_POPUP_SHARED_WIDGETS_API ?>"
|
50 |
<template id="opinionstage-widget-list">
|
51 |
<div class='page-content'>
|
52 |
<div class='content-actions'>
|
53 |
+
<div class='content-actions__left'>
|
54 |
+
<h1 class="main-title">My Items</h1>
|
55 |
+
</div>
|
56 |
+
<div class="content-actions__right">
|
57 |
+
<div class='filter'>
|
58 |
+
<div class="dropdown dropdown_items">
|
59 |
+
<button class="dropbtn"><span>{{ selectedWidgetTitle }}</span></button>
|
60 |
+
<div class="dropdown-content">
|
61 |
+
<div class='filter__itm'
|
62 |
+
@click="selectWidgetType('all')"
|
63 |
+
:class="{ active: selectedWidgetType === 'all' }"
|
64 |
+
>all Items</div>
|
65 |
+
<div class='filter__itm'
|
66 |
+
@click="selectWidgetType('poll')"
|
67 |
+
:class="{ active: selectedWidgetType === 'poll' }"
|
68 |
+
>poll</div>
|
69 |
+
<div class='filter__itm'
|
70 |
+
@click="selectWidgetType('survey')"
|
71 |
+
:class="{ active: selectedWidgetType === 'survey' }"
|
72 |
+
>survey</div>
|
73 |
+
<div class='filter__itm'
|
74 |
+
@click="selectWidgetType('trivia')"
|
75 |
+
:class="{ active: selectedWidgetType === 'trivia' }"
|
76 |
+
>trivia quiz</div>
|
77 |
+
<div class='filter__itm'
|
78 |
+
@click="selectWidgetType('outcome')"
|
79 |
+
:class="{ active: selectedWidgetType === 'outcome' }"
|
80 |
+
>personality quiz</div>
|
81 |
+
<div class='filter__itm'
|
82 |
+
@click="selectWidgetType('form')"
|
83 |
+
:class="{ active: selectedWidgetType === 'form' }"
|
84 |
+
>form</div>
|
85 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
</div>
|
87 |
</div>
|
88 |
+
<div class="os-search" :class='{ hidden: !showSearch }'>
|
89 |
+
<input
|
90 |
+
class='os-search__input'
|
91 |
+
placeholder='Search...'
|
92 |
+
type='search'
|
93 |
+
v-model='widgetTitleSearch'
|
94 |
+
>
|
95 |
+
<span class="os-search__icon icon-os-common-tip"></span>
|
96 |
+
</div>
|
97 |
+
<div class="content-actions__sep"></div>
|
98 |
+
<a href="<?php echo admin_url( 'admin.php?page=' . OPINIONSTAGE_MENU_SLUG ); ?>" target='_blank' class="btn-create">CREATE</a>
|
99 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
</div>
|
101 |
<div class='content__list'>
|
102 |
<div v-if='hasData'>
|
111 |
<div class='content__links'>
|
112 |
<button class='popup-content-btn content__links-itm' @click="select(widget)">insert</button>
|
113 |
<div class="dropdown dropdown-popup-action">
|
114 |
+
<div class="popup-action popup-content-btn"></div>
|
115 |
+
<div class="popup-action-dropdown dropdown-content">
|
116 |
+
<a class='content__links-itm' target="_blank" :href='widget.landingPageUrl'>view</a>
|
117 |
+
<a class='content__links-itm' target="_blank" :href='widget.editUrl' v-show="!widget.template">edit</a>
|
118 |
+
<a class='content__links-itm' target="_blank" :href='widget.statsUrl' v-show="!widget.template">Results</a>
|
119 |
+
</div>
|
|
|
|
|
|
|
120 |
</div>
|
121 |
</div>
|
122 |
</div>
|
142 |
<div v-if="showClientContent">
|
143 |
<div v-if="clientIsLoggedIn">
|
144 |
<div v-if="newWidgetsAvailable" class="notification-container">
|
145 |
+
<notification v-on:update-btn-click='reloadAndRestartCheckingForUpdates'>
|
|
|
|
|
|
|
|
|
146 |
</div>
|
147 |
<widget-list
|
148 |
:widgets='widgets'
|
149 |
+
:pre-selected-widget-type='searchCriteria.type'
|
150 |
:data-loading='dataLoading'
|
151 |
:show-search='true'
|
152 |
:no-more-data='noMoreData'
|
165 |
<div v-else>
|
166 |
<widget-list
|
167 |
:widgets='widgets'
|
168 |
+
:pre-selected-widget-type='searchCriteria.type'
|
169 |
:data-loading='dataLoading'
|
170 |
:show-search='false'
|
171 |
:no-more-data='noMoreData'
|
182 |
Your content has been updated, please click the button to update your view
|
183 |
</p>
|
184 |
<div class="opinionstage-section-notification__controls">
|
185 |
+
<button class='btn-blue' @click="initiateUpdate">Update view</button>
|
186 |
</div>
|
187 |
</div>
|
188 |
</template>
|
admin/content-popup.php
CHANGED
@@ -5,13 +5,6 @@ defined( 'ABSPATH' ) or die();
|
|
5 |
add_action( 'media_buttons', 'opinionstage_content_popup_add_editor_button');
|
6 |
add_action( 'admin_enqueue_scripts', 'opinionstage_content_popup_js');
|
7 |
add_action( 'admin_footer', 'opinionstage_content_popup_html' );
|
8 |
-
add_action( 'admin_footer', 'opinionstage_content_popup_css_dropdown' );
|
9 |
-
|
10 |
-
$opinionstage_user_logged_in = opinionstage_user_logged_in();
|
11 |
-
|
12 |
-
if ( !$opinionstage_user_logged_in ) {
|
13 |
-
add_action( 'admin_footer', 'opinionstage_content_popup_css_without_login' );
|
14 |
-
}
|
15 |
|
16 |
function opinionstage_content_popup_add_editor_button() {
|
17 |
require( plugin_dir_path( __FILE__ ).'content-popup-button.php' );
|
@@ -32,396 +25,3 @@ function opinionstage_content_popup_js() {
|
|
32 |
function opinionstage_content_popup_html() {
|
33 |
require_once OPINIONSTAGE_PLUGIN_DIR . 'admin/content-popup-template.html.php';
|
34 |
}
|
35 |
-
|
36 |
-
function opinionstage_content_popup_css_without_login(){ ?>
|
37 |
-
<style type="text/css">
|
38 |
-
.opinionstage-content-popup-contents .page-content {
|
39 |
-
padding-left: 20px;
|
40 |
-
padding-right: 20px;
|
41 |
-
padding-bottom: 25px;
|
42 |
-
}
|
43 |
-
.opinionstage-content-popup .tingle-modal-box {
|
44 |
-
height: auto;
|
45 |
-
max-width: 600px;
|
46 |
-
min-width: 400px;
|
47 |
-
}
|
48 |
-
.opinionstage-content-popup-contents .main-title {
|
49 |
-
font-size: 20px;
|
50 |
-
margin-bottom: 15px;
|
51 |
-
margin-left: 15px;
|
52 |
-
text-align: left;
|
53 |
-
}
|
54 |
-
.opinionstage-content-popup-contents .opinionstage-blue-btn {
|
55 |
-
margin: 15px;
|
56 |
-
}
|
57 |
-
.components-button.is-default.is-block.is-primary {
|
58 |
-
max-width: 130px;
|
59 |
-
}
|
60 |
-
</style>
|
61 |
-
<?php }
|
62 |
-
|
63 |
-
function opinionstage_content_popup_css_dropdown(){ ?>
|
64 |
-
<style type="text/css">
|
65 |
-
.dropbtn {
|
66 |
-
background-color: #ffffff;
|
67 |
-
border: 1px solid #e4e4e4;
|
68 |
-
border-right: 0 !important;
|
69 |
-
box-shadow: 0 0 0 !important;
|
70 |
-
cursor: pointer;
|
71 |
-
display: inline-block;
|
72 |
-
font: 16px/42px Open Sans,Helvetica,sans-serif;
|
73 |
-
outline: none!important;
|
74 |
-
padding-left: 10px;
|
75 |
-
position: relative;
|
76 |
-
text-align: left;
|
77 |
-
text-decoration: none;
|
78 |
-
width: 140px;
|
79 |
-
}
|
80 |
-
|
81 |
-
.dropdown {
|
82 |
-
display: inline-block;
|
83 |
-
position: relative;
|
84 |
-
}
|
85 |
-
|
86 |
-
.dropdown-popup-action {
|
87 |
-
height: 45px;
|
88 |
-
}
|
89 |
-
|
90 |
-
.dropdown-content {
|
91 |
-
background-color: #f9f9f9;
|
92 |
-
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
|
93 |
-
display: none;
|
94 |
-
left: 1px;
|
95 |
-
position: absolute;
|
96 |
-
top: 40px;
|
97 |
-
z-index: 9;
|
98 |
-
}
|
99 |
-
|
100 |
-
.dropdown-content div {
|
101 |
-
background-color: #fff;
|
102 |
-
border: 1px solid #3487fa;
|
103 |
-
border-bottom: 0 !important;
|
104 |
-
border-top: 0 !important;
|
105 |
-
color: #555454;
|
106 |
-
display: block;
|
107 |
-
padding: 5px 10px 5px 20px;
|
108 |
-
text-decoration: none;
|
109 |
-
}
|
110 |
-
|
111 |
-
.dropdown-content div:hover {background-color: #3487fa; color: #fff !important;}
|
112 |
-
|
113 |
-
.dropdown_items .dropdown-content {
|
114 |
-
width: 180px;
|
115 |
-
}
|
116 |
-
.dropdown:hover .dropdown-content {
|
117 |
-
display: block !important;
|
118 |
-
width: 180px;
|
119 |
-
}
|
120 |
-
.dropdown:hover .content-item-menu {
|
121 |
-
display: block;
|
122 |
-
}
|
123 |
-
.dropdown:hover .dropbtn {
|
124 |
-
background-color: #ffffff;
|
125 |
-
}
|
126 |
-
.opinionstage-content-popup-contents .filter__itm{
|
127 |
-
font-size: 12px !important;
|
128 |
-
line-height : 25px !important;
|
129 |
-
margin-right: 0 !important;
|
130 |
-
width: 100%;
|
131 |
-
}
|
132 |
-
button#dropbtn span {
|
133 |
-
color: #555454;
|
134 |
-
font-size: 12px;
|
135 |
-
font-weight: 700;
|
136 |
-
text-transform: uppercase;
|
137 |
-
}
|
138 |
-
.filter {
|
139 |
-
margin: 0 !important;
|
140 |
-
}
|
141 |
-
button#dropbtn:before {
|
142 |
-
color: #000;
|
143 |
-
content: "";
|
144 |
-
display: block;
|
145 |
-
font-family: os-icon-font !important;
|
146 |
-
font-size: 9px;
|
147 |
-
position: absolute;
|
148 |
-
right: -25px;
|
149 |
-
top: 0;
|
150 |
-
z-index: 3;
|
151 |
-
font-weight: bold;
|
152 |
-
}
|
153 |
-
button#dropbtn:after {
|
154 |
-
border: 1px solid #e4e4e4;
|
155 |
-
border-left: 0 !important;
|
156 |
-
content: "";
|
157 |
-
height: 45px;
|
158 |
-
position: absolute;
|
159 |
-
right: -40px;
|
160 |
-
top: -1px;
|
161 |
-
width: 40px;
|
162 |
-
}
|
163 |
-
.opinionstage-content-popup-contents .filter__itm.active{
|
164 |
-
background: #5299fb;
|
165 |
-
color: #fff;
|
166 |
-
font-weight: normal !important;
|
167 |
-
}
|
168 |
-
.filter__itm:last-child {
|
169 |
-
border-bottom: 1px solid #3487fa !important;
|
170 |
-
}
|
171 |
-
.filter__itm:first-child {
|
172 |
-
border-top: 1px solid #3487fa !important;
|
173 |
-
}
|
174 |
-
|
175 |
-
.opinionstage-content-popup-contents .std-search {
|
176 |
-
background: #ffffff;
|
177 |
-
border: 1px solid #cccccc;
|
178 |
-
border-radius: 2px;
|
179 |
-
box-shadow: 0 0;
|
180 |
-
box-sizing: border-box;
|
181 |
-
color: #797979;
|
182 |
-
font-size: 14px;
|
183 |
-
height: 40px;
|
184 |
-
padding: 10px;
|
185 |
-
width: 100%;
|
186 |
-
}
|
187 |
-
.opinionstage-content-popup-contents .search{
|
188 |
-
float: right;
|
189 |
-
}
|
190 |
-
.search:before {
|
191 |
-
bottom: 0;
|
192 |
-
color: #3aaebd;
|
193 |
-
content: "";
|
194 |
-
font-family: os-icon-font !important;
|
195 |
-
font-size: 18px;
|
196 |
-
height: 18px;
|
197 |
-
line-height: normal;
|
198 |
-
margin: auto;
|
199 |
-
pointer-events: none;
|
200 |
-
position: absolute;
|
201 |
-
right: 10px;
|
202 |
-
top: 0;
|
203 |
-
}
|
204 |
-
|
205 |
-
.header-right-container {
|
206 |
-
float: right;
|
207 |
-
}
|
208 |
-
.header-right-inner-container {
|
209 |
-
border-right: 1px solid #e5e5e5;
|
210 |
-
float: left;
|
211 |
-
padding: 0 20px;
|
212 |
-
}
|
213 |
-
.opinionstage-content-popup-contents .page-content {
|
214 |
-
padding: 30px;
|
215 |
-
}
|
216 |
-
.opinionstage-content-popup-contents .filter {
|
217 |
-
width: auto;
|
218 |
-
}
|
219 |
-
.opinionstage-content-popup-contents .filter .dropdown .dropbtn {
|
220 |
-
margin-right: 50px !important;
|
221 |
-
}
|
222 |
-
.opinionstage-content-popup-contents .filter #dropbtn {
|
223 |
-
font: 12px/38px Open Sans,Helvetica,sans-serif;
|
224 |
-
}
|
225 |
-
.opinionstage-content-popup-contents .filter button#dropbtn:after {
|
226 |
-
height: 38px;
|
227 |
-
}
|
228 |
-
.opinionstage-content-popup-contents .btn-close {
|
229 |
-
border: none;
|
230 |
-
font: 24px/38px Open Sans,Helvetica,sans-serif;
|
231 |
-
opacity: 1;
|
232 |
-
}
|
233 |
-
.popup-header-item-create-btn {
|
234 |
-
background-color: #32adbc;
|
235 |
-
border-radius: 3px;
|
236 |
-
border-style: hidden;
|
237 |
-
color: #fff;
|
238 |
-
cursor: pointer;
|
239 |
-
display: inline-block;
|
240 |
-
font-size: 15px;
|
241 |
-
font-weight: 600;
|
242 |
-
line-height: normal;
|
243 |
-
margin-left: 20px;
|
244 |
-
padding: 10px 11px;
|
245 |
-
text-decoration: none;
|
246 |
-
}
|
247 |
-
.popup-header-item-create-btn:hover {
|
248 |
-
color: #fff;
|
249 |
-
opacity: 0.9;
|
250 |
-
text-decoration: none;
|
251 |
-
}
|
252 |
-
.popup-header-item-create-btn:before {
|
253 |
-
bottom: 0;
|
254 |
-
content: "+";
|
255 |
-
font-family: os-icon-font;
|
256 |
-
font-size: 17px;
|
257 |
-
font-weight: bold;
|
258 |
-
height: 18px;
|
259 |
-
margin-right: 8px;
|
260 |
-
pointer-events: none;
|
261 |
-
top: 0;
|
262 |
-
}
|
263 |
-
.opinionstage-content-popup-contents .content__label {
|
264 |
-
bottom: auto;
|
265 |
-
font-size: 12px;
|
266 |
-
padding: 1px 5px;
|
267 |
-
top: 0;
|
268 |
-
}
|
269 |
-
.popup-header-title {
|
270 |
-
float: left;
|
271 |
-
font-size: 30px;
|
272 |
-
font-weight: normal;
|
273 |
-
line-height: normal;
|
274 |
-
}
|
275 |
-
.opinionstage-content-popup-contents .content__itm {
|
276 |
-
border-bottom: 1px solid #e5e5e5;
|
277 |
-
display: block;
|
278 |
-
padding-bottom: 6px;
|
279 |
-
padding-top: 10px;
|
280 |
-
margin: 0;
|
281 |
-
width: 100%;
|
282 |
-
}
|
283 |
-
.opinionstage-content-popup-contents .content__itm:first-child {
|
284 |
-
border-top: 1px solid #e5e5e5;
|
285 |
-
}
|
286 |
-
.opinionstage-content-popup-contents .content__image {
|
287 |
-
display: inline-block;
|
288 |
-
height: 90px;
|
289 |
-
width: 15%;
|
290 |
-
}
|
291 |
-
.opinionstage-content-popup-contents .content__info {
|
292 |
-
background: transparent;
|
293 |
-
display: inline-block;
|
294 |
-
font-size: 16px;
|
295 |
-
line-height: normal;
|
296 |
-
padding: 0 10px;
|
297 |
-
width: 50%;
|
298 |
-
overflow: hidden;
|
299 |
-
text-overflow: ellipsis;
|
300 |
-
white-space: nowrap;
|
301 |
-
}
|
302 |
-
.opinionstage-content-popup-contents .content__info a, .opinionstage-content-popup-contents .content__info a:hover {
|
303 |
-
color: inherit;
|
304 |
-
text-decoration: none;
|
305 |
-
}
|
306 |
-
.opinionstage-content-popup-contents .content__itm:hover .content__links {
|
307 |
-
display: inline-block;
|
308 |
-
}
|
309 |
-
.opinionstage-content-popup-contents .content__links {
|
310 |
-
background: none;
|
311 |
-
display: inline-block;
|
312 |
-
float: right;
|
313 |
-
opacity: 1;
|
314 |
-
padding: 20px 10px;
|
315 |
-
position: relative;
|
316 |
-
text-align: right;
|
317 |
-
width: 30%;
|
318 |
-
z-index: unset;
|
319 |
-
}
|
320 |
-
.opinionstage-content-popup-contents .popup-content-btn {
|
321 |
-
border: 1px solid #32adbc;
|
322 |
-
border-radius: 2px;
|
323 |
-
color: #32adbc;
|
324 |
-
display: inline;
|
325 |
-
font-size: 15px;
|
326 |
-
font-weight: 600;
|
327 |
-
padding: 13px 14px;
|
328 |
-
text-align: center;
|
329 |
-
text-decoration: none;
|
330 |
-
width: auto;
|
331 |
-
}
|
332 |
-
.popup-action.popup-content-btn {
|
333 |
-
margin-left: 10px;
|
334 |
-
padding: 12px 25px;
|
335 |
-
position: relative;
|
336 |
-
}
|
337 |
-
.popup-action:before {
|
338 |
-
color: #32adbc;
|
339 |
-
padding: 0;
|
340 |
-
position: absolute;
|
341 |
-
right: 18px;
|
342 |
-
content: "";
|
343 |
-
display: block;
|
344 |
-
font-family: os-icon-font !important;
|
345 |
-
font-size: 9px;
|
346 |
-
top: 15px;
|
347 |
-
z-index: 3;
|
348 |
-
font-weight: bold;
|
349 |
-
}
|
350 |
-
|
351 |
-
.popup-action-dropdown {
|
352 |
-
background: #fff;
|
353 |
-
border: 1px solid #32adbc;
|
354 |
-
border-radius: 3px;
|
355 |
-
}
|
356 |
-
.popup-action-dropdown .content__links-itm {
|
357 |
-
border: none;
|
358 |
-
border-bottom: 1px solid #32adbc;
|
359 |
-
border-radius: 0;
|
360 |
-
color: #32adbc;
|
361 |
-
font-size: 14px;
|
362 |
-
font-weight: normal;
|
363 |
-
margin: 0;
|
364 |
-
padding: 10px 10px;
|
365 |
-
width: auto;
|
366 |
-
text-align: left !important;
|
367 |
-
letter-spacing: 1px;
|
368 |
-
}
|
369 |
-
.popup-action-dropdown .content__links-itm:last-child {
|
370 |
-
border: none;
|
371 |
-
}
|
372 |
-
.popup-action-dropdown.dropdown-content {
|
373 |
-
left: auto;
|
374 |
-
right: 0;
|
375 |
-
top: 20px;
|
376 |
-
z-index: 10;
|
377 |
-
}
|
378 |
-
.dropdown:hover .popup-action-dropdown.dropdown-content {
|
379 |
-
width: 130px;
|
380 |
-
}
|
381 |
-
|
382 |
-
.top-arrow-box {
|
383 |
-
position: relative;
|
384 |
-
}
|
385 |
-
.top-arrow-box .top-arrow {
|
386 |
-
background: #ffffff;
|
387 |
-
position: absolute;
|
388 |
-
right: 16px;
|
389 |
-
width: 10px;
|
390 |
-
top: 1px;
|
391 |
-
}
|
392 |
-
|
393 |
-
.content-item-menu {
|
394 |
-
display: none;
|
395 |
-
position: absolute;
|
396 |
-
right: 0;
|
397 |
-
z-index: 100;
|
398 |
-
}
|
399 |
-
|
400 |
-
a.content__links-itm:hover {
|
401 |
-
background-color: #32adbc !important;
|
402 |
-
color: #fff;
|
403 |
-
}
|
404 |
-
.dropdown:hover .popup-action.popup-content-btn {
|
405 |
-
background-color: #32adbc;
|
406 |
-
}
|
407 |
-
.dropdown:hover .popup-action.popup-content-btn:before {
|
408 |
-
color: #fff;
|
409 |
-
}
|
410 |
-
|
411 |
-
@media only screen and (max-width: 875px) {
|
412 |
-
.opinionstage-content-popup .tingle-modal-box {
|
413 |
-
min-width: 100%;
|
414 |
-
overflow: hidden;
|
415 |
-
width: 100%;
|
416 |
-
}
|
417 |
-
}
|
418 |
-
|
419 |
-
@media only screen and (max-width: 767px) {
|
420 |
-
.opinionstage-content-popup-contents .content__links {
|
421 |
-
padding-left: 0;
|
422 |
-
padding-right: 0;
|
423 |
-
}
|
424 |
-
}
|
425 |
-
|
426 |
-
</style>
|
427 |
-
<?php }
|
5 |
add_action( 'media_buttons', 'opinionstage_content_popup_add_editor_button');
|
6 |
add_action( 'admin_enqueue_scripts', 'opinionstage_content_popup_js');
|
7 |
add_action( 'admin_footer', 'opinionstage_content_popup_html' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
function opinionstage_content_popup_add_editor_button() {
|
10 |
require( plugin_dir_path( __FILE__ ).'content-popup-button.php' );
|
25 |
function opinionstage_content_popup_html() {
|
26 |
require_once OPINIONSTAGE_PLUGIN_DIR . 'admin/content-popup-template.html.php';
|
27 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/images/slideshow.png
DELETED
Binary file
|
admin/js/content-popup.js
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
-
!function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=10)}([function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,n){function o(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function i(t){return!0===t}function a(t){return!1===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return null!==t&&"object"==typeof t}function u(t){return"[object Object]"===Oi.call(t)}function l(t){return"[object RegExp]"===Oi.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return r(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===Oi?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),o=t.split(","),r=0;r<o.length;r++)n[o[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function m(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function g(t,e){return Ti.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function b(t,e){function n(n){var o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function _(t,e){return t.bind(e)}function w(t,e){e=e||0;for(var n=t.length-e,o=new Array(n);n--;)o[n]=t[n+e];return o}function x(t,e){for(var n in e)t[n]=e[n];return t}function k(t){for(var e={},n=0;n<t.length;n++)t[n]&&x(e,t[n]);return e}function C(t,e,n){}function O(t,e){if(t===e)return!0;var n=c(t),o=c(e);if(!n||!o)return!n&&!o&&String(t)===String(e);try{var r=Array.isArray(t),i=Array.isArray(e);if(r&&i)return t.length===e.length&&t.every(function(t,n){return O(t,e[n])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||i)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every(function(n){return O(t[n],e[n])})}catch(t){return!1}}function $(t,e){for(var n=0;n<t.length;n++)if(O(t[n],e))return n;return-1}function E(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function T(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function A(t,e,n,o){Object.defineProperty(t,e,{value:n,enumerable:!!o,writable:!0,configurable:!0})}function S(t){if(!zi.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function j(t){return"function"==typeof t&&/native code/.test(t.toString())}function M(t){la.push(t),ua.target=t}function L(){la.pop(),ua.target=la[la.length-1]}function P(t){return new fa(void 0,void 0,void 0,String(t))}function I(t){var e=new fa(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}function N(t){ga=t}function F(t,e){t.__proto__=e}function D(t,e,n){for(var o=0,r=n.length;o<r;o++){var i=n[o];A(t,i,e[i])}}function B(t,e){if(c(t)&&!(t instanceof fa)){var n;return g(t,"__ob__")&&t.__ob__ instanceof ya?n=t.__ob__:ga&&!ra()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new ya(t)),e&&n&&n.vmCount++,n}}function R(t,e,n,o,r){var i=new ua,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=t[e]);var u=!r&&B(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return ua.target&&(i.depend(),u&&(u.dep.depend(),Array.isArray(e)&&H(e))),e},set:function(e){var o=s?s.call(t):n;e===o||e!==e&&o!==o||s&&!c||(c?c.call(t,e):n=e,u=!r&&B(e),i.notify())}})}}function U(t,e,n){if(Array.isArray(t)&&f(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var o=t.__ob__;return t._isVue||o&&o.vmCount?n:o?(R(o.value,e,n),o.dep.notify(),n):(t[e]=n,n)}function z(t,e){if(Array.isArray(t)&&f(e))return void t.splice(e,1);var n=t.__ob__;t._isVue||n&&n.vmCount||g(t,e)&&(delete t[e],n&&n.dep.notify())}function H(t){for(var e=void 0,n=0,o=t.length;n<o;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&H(e)}function W(t,e){if(!e)return t;for(var n,o,r,i=aa?Reflect.ownKeys(e):Object.keys(e),a=0;a<i.length;a++)"__ob__"!==(n=i[a])&&(o=t[n],r=e[n],g(t,n)?o!==r&&u(o)&&u(r)&&W(o,r):U(t,n,r));return t}function V(t,e,n){return n?function(){var o="function"==typeof e?e.call(n,n):e,r="function"==typeof t?t.call(n,n):t;return o?W(o,r):r}:e?t?function(){return W("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function K(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?G(n):n}function G(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function q(t,e,n,o){var r=Object.create(t||null);return e?x(r,e):r}function J(t,e){var n=t.props;if(n){var o,r,i,a={};if(Array.isArray(n))for(o=n.length;o--;)"string"==typeof(r=n[o])&&(i=Si(r),a[i]={type:null});else if(u(n))for(var s in n)r=n[s],i=Si(s),a[i]=u(r)?r:{type:r};t.props=a}}function Z(t,e){var n=t.inject;if(n){var o=t.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)o[n[r]]={from:n[r]};else if(u(n))for(var i in n){var a=n[i];o[i]=u(a)?x({from:i},a):{from:a}}}}function X(t){var e=t.directives;if(e)for(var n in e){var o=e[n];"function"==typeof o&&(e[n]={bind:o,update:o})}}function Q(t,e,n){function o(o){var r=ba[o]||wa;s[o]=r(t[o],e[o],n,o)}if("function"==typeof e&&(e=e.options),J(e,n),Z(e,n),X(e),!e._base&&(e.extends&&(t=Q(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Q(t,e.mixins[r],n);var a,s={};for(a in t)o(a);for(a in e)g(t,a)||o(a);return s}function Y(t,e,n,o){if("string"==typeof n){var r=t[e];if(g(r,n))return r[n];var i=Si(n);if(g(r,i))return r[i];var a=ji(i);if(g(r,a))return r[a];return r[n]||r[i]||r[a]}}function tt(t,e,n,o){var r=e[t],i=!g(n,t),a=n[t],s=rt(Boolean,r.type);if(s>-1)if(i&&!g(r,"default"))a=!1;else if(""===a||a===Li(t)){var c=rt(String,r.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=et(o,r,t);var u=ga;N(!0),B(a),N(u)}return a}function et(t,e,n){if(g(e,"default")){var o=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof o&&"Function"!==nt(e.type)?o.call(t):o}}function nt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function ot(t,e){return nt(t)===nt(e)}function rt(t,e){if(!Array.isArray(e))return ot(e,t)?0:-1;for(var n=0,o=e.length;n<o;n++)if(ot(e[n],t))return n;return-1}function it(t,e,n){M();try{if(e)for(var o=e;o=o.$parent;){var r=o.$options.errorCaptured;if(r)for(var i=0;i<r.length;i++)try{var a=!1===r[i].call(o,t,e,n);if(a)return}catch(t){st(t,o,"errorCaptured hook")}}st(t,e,n)}finally{L()}}function at(t,e,n,o,r){var i;try{i=n?t.apply(e,n):t.call(e),i&&!i._isVue&&p(i)&&!i._handled&&(i.catch(function(t){return it(t,o,r+" (Promise/async)")}),i._handled=!0)}catch(t){it(t,o,r)}return i}function st(t,e,n){if(Ri.errorHandler)try{return Ri.errorHandler.call(null,t,e,n)}catch(e){e!==t&&ct(e,null,"config.errorHandler")}ct(t,e,n)}function ct(t,e,n){if(!Wi&&!Vi||"undefined"==typeof console)throw t;console.error(t)}function ut(){Ca=!1;var t=ka.slice(0);ka.length=0;for(var e=0;e<t.length;e++)t[e]()}function lt(t,e){var n;if(ka.push(function(){if(t)try{t.call(e)}catch(t){it(t,e,"nextTick")}else n&&n(e)}),Ca||(Ca=!0,_a()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}function ft(t){pt(t,Aa),Aa.clear()}function pt(t,e){var n,o,r=Array.isArray(t);if(!(!r&&!c(t)||Object.isFrozen(t)||t instanceof fa)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(r)for(n=t.length;n--;)pt(t[n],e);else for(o=Object.keys(t),n=o.length;n--;)pt(t[o[n]],e)}}function dt(t,e){function n(){var t=arguments,o=n.fns;if(!Array.isArray(o))return at(o,null,arguments,e,"v-on handler");for(var r=o.slice(),i=0;i<r.length;i++)at(r[i],null,t,e,"v-on handler")}return n.fns=t,n}function ht(t,e,n,r,a,s){var c,u,l,f;for(c in t)u=t[c],l=e[c],f=Sa(c),o(u)||(o(l)?(o(u.fns)&&(u=t[c]=dt(u,s)),i(f.once)&&(u=t[c]=a(f.name,u,f.capture)),n(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,t[c]=l));for(c in e)o(t[c])&&(f=Sa(c),r(f.name,e[c],f.capture))}function vt(t,e,n){function a(){n.apply(this,arguments),m(s.fns,a)}t instanceof fa&&(t=t.data.hook||(t.data.hook={}));var s,c=t[e];o(c)?s=dt([a]):r(c.fns)&&i(c.merged)?(s=c,s.fns.push(a)):s=dt([c,a]),s.merged=!0,t[e]=s}function mt(t,e,n){var i=e.options.props;if(!o(i)){var a={},s=t.attrs,c=t.props;if(r(s)||r(c))for(var u in i){var l=Li(u);gt(a,c,u,l,!0)||gt(a,s,u,l,!1)}return a}}function gt(t,e,n,o,i){if(r(e)){if(g(e,n))return t[n]=e[n],i||delete e[n],!0;if(g(e,o))return t[n]=e[o],i||delete e[o],!0}return!1}function yt(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function bt(t){return s(t)?[P(t)]:Array.isArray(t)?wt(t):void 0}function _t(t){return r(t)&&r(t.text)&&a(t.isComment)}function wt(t,e){var n,a,c,u,l=[];for(n=0;n<t.length;n++)a=t[n],o(a)||"boolean"==typeof a||(c=l.length-1,u=l[c],Array.isArray(a)?a.length>0&&(a=wt(a,(e||"")+"_"+n),_t(a[0])&&_t(u)&&(l[c]=P(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?_t(u)?l[c]=P(u.text+a):""!==a&&l.push(P(a)):_t(a)&&_t(u)?l[c]=P(u.text+a.text):(i(t._isVList)&&r(a.tag)&&o(a.key)&&r(e)&&(a.key="__vlist"+e+"_"+n+"__"),l.push(a)));return l}function xt(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}function kt(t){var e=Ct(t.$options.inject,t);e&&(N(!1),Object.keys(e).forEach(function(n){R(t,n,e[n])}),N(!0))}function Ct(t,e){if(t){for(var n=Object.create(null),o=aa?Reflect.ownKeys(t):Object.keys(t),r=0;r<o.length;r++){var i=o[r];if("__ob__"!==i){for(var a=t[i].from,s=e;s;){if(s._provided&&g(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s&&"default"in t[i]){var c=t[i].default;n[i]="function"==typeof c?c.call(e):c}}}return n}}function Ot(t,e){if(!t||!t.length)return{};for(var n={},o=0,r=t.length;o<r;o++){var i=t[o],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every($t)&&delete n[u];return n}function $t(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Et(t,e,n){var o,r=Object.keys(e).length>0,i=t?!!t.$stable:!r,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(i&&n&&n!==Ci&&a===n.$key&&!r&&!n.$hasNormal)return n;o={};for(var s in t)t[s]&&"$"!==s[0]&&(o[s]=Tt(e,s,t[s]))}else o={};for(var c in e)c in o||(o[c]=At(e,c));return t&&Object.isExtensible(t)&&(t._normalized=o),A(o,"$stable",i),A(o,"$key",a),A(o,"$hasNormal",r),o}function Tt(t,e,n){var o=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:bt(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:o,enumerable:!0,configurable:!0}),o}function At(t,e){return function(){return t[e]}}function St(t,e){var n,o,i,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),o=0,i=t.length;o<i;o++)n[o]=e(t[o],o);else if("number"==typeof t)for(n=new Array(t),o=0;o<t;o++)n[o]=e(o+1,o);else if(c(t))if(aa&&t[Symbol.iterator]){n=[];for(var u=t[Symbol.iterator](),l=u.next();!l.done;)n.push(e(l.value,n.length)),l=u.next()}else for(a=Object.keys(t),n=new Array(a.length),o=0,i=a.length;o<i;o++)s=a[o],n[o]=e(t[s],s,o);return r(n)||(n=[]),n._isVList=!0,n}function jt(t,e,n,o){var r,i=this.$scopedSlots[t];i?(n=n||{},o&&(n=x(x({},o),n)),r=i(n)||e):r=this.$slots[t]||e;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function Mt(t){return Y(this.$options,"filters",t,!0)||Ni}function Lt(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Pt(t,e,n,o,r){var i=Ri.keyCodes[e]||n;return r&&o&&!Ri.keyCodes[e]?Lt(r,o):i?Lt(i,t):o?Li(o)!==e:void 0}function It(t,e,n,o,r){if(n)if(c(n)){Array.isArray(n)&&(n=k(n));var i;for(var a in n)!function(a){if("class"===a||"style"===a||Ei(a))i=t;else{var s=t.attrs&&t.attrs.type;i=o||Ri.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=Si(a),u=Li(a);if(!(c in i||u in i)&&(i[a]=n[a],r)){(t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}}}(a)}else;return t}function Nt(t,e){var n=this._staticTrees||(this._staticTrees=[]),o=n[t];return o&&!e?o:(o=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),Dt(o,"__static__"+t,!1),o)}function Ft(t,e,n){return Dt(t,"__once__"+e+(n?"_"+n:""),!0),t}function Dt(t,e,n){if(Array.isArray(t))for(var o=0;o<t.length;o++)t[o]&&"string"!=typeof t[o]&&Bt(t[o],e+"_"+o,n);else Bt(t,e,n)}function Bt(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Rt(t,e){if(e)if(u(e)){var n=t.on=t.on?x({},t.on):{};for(var o in e){var r=n[o],i=e[o];n[o]=r?[].concat(r,i):i}}else;return t}function Ut(t,e,n,o){e=e||{$stable:!n};for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?Ut(i,e,n):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return o&&(e.$key=o),e}function zt(t,e){for(var n=0;n<e.length;n+=2){var o=e[n];"string"==typeof o&&o&&(t[e[n]]=e[n+1])}return t}function Ht(t,e){return"string"==typeof t?e+t:t}function Wt(t){t._o=Ft,t._n=h,t._s=d,t._l=St,t._t=jt,t._q=O,t._i=$,t._m=Nt,t._f=Mt,t._k=Pt,t._b=It,t._v=P,t._e=da,t._u=Ut,t._g=Rt,t._d=zt,t._p=Ht}function Vt(t,e,n,o,r){var a,s=this,c=r.options;g(o,"_uid")?(a=Object.create(o),a._original=o):(a=o,o=o._original);var u=i(c._compiled),l=!u;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||Ci,this.injections=Ct(c.inject,o),this.slots=function(){return s.$slots||Et(t.scopedSlots,s.$slots=Ot(n,o)),s.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Et(t.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Et(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,r){var i=te(a,t,e,n,r,l);return i&&!Array.isArray(i)&&(i.fnScopeId=c._scopeId,i.fnContext=o),i}:this._c=function(t,e,n,o){return te(a,t,e,n,o,l)}}function Kt(t,e,n,o,i){var a=t.options,s={},c=a.props;if(r(c))for(var u in c)s[u]=tt(u,c,e||Ci);else r(n.attrs)&&qt(s,n.attrs),r(n.props)&&qt(s,n.props);var l=new Vt(n,s,i,o,t),f=a.render.call(null,l._c,l);if(f instanceof fa)return Gt(f,n,l.parent,a,l);if(Array.isArray(f)){for(var p=bt(f)||[],d=new Array(p.length),h=0;h<p.length;h++)d[h]=Gt(p[h],n,l.parent,a,l);return d}}function Gt(t,e,n,o,r){var i=I(t);return i.fnContext=n,i.fnOptions=o,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function qt(t,e){for(var n in e)t[Si(n)]=e[n]}function Jt(t,e,n,a,s){if(!o(t)){var u=n.$options._base;if(c(t)&&(t=u.extend(t)),"function"==typeof t){var l;if(o(t.cid)&&(l=t,void 0===(t=se(l,u))))return ae(l,e,n,a,s);e=e||{},ze(t),r(e.model)&&Yt(t.options,e);var f=mt(e,t,s);if(i(t.options.functional))return Kt(t,f,e,n,a);var p=e.on;if(e.on=e.nativeOn,i(t.options.abstract)){var d=e.slot;e={},d&&(e.slot=d)}Xt(e);var h=t.options.name||s;return new fa("vue-component-"+t.cid+(h?"-"+h:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:p,tag:s,children:a},l)}}}function Zt(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},o=t.data.inlineTemplate;return r(o)&&(n.render=o.render,n.staticRenderFns=o.staticRenderFns),new t.componentOptions.Ctor(n)}function Xt(t){for(var e=t.hook||(t.hook={}),n=0;n<La.length;n++){var o=La[n],r=e[o],i=Ma[o];r===i||r&&r._merged||(e[o]=r?Qt(i,r):i)}}function Qt(t,e){var n=function(n,o){t(n,o),e(n,o)};return n._merged=!0,n}function Yt(t,e){var n=t.model&&t.model.prop||"value",o=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={}),a=i[o],s=e.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[o]=[s].concat(a)):i[o]=s}function te(t,e,n,o,r,a){return(Array.isArray(n)||s(n))&&(r=o,o=n,n=void 0),i(a)&&(r=Ia),ee(t,e,n,o,r)}function ee(t,e,n,o,i){if(r(n)&&r(n.__ob__))return da();if(r(n)&&r(n.is)&&(e=n.is),!e)return da();Array.isArray(o)&&"function"==typeof o[0]&&(n=n||{},n.scopedSlots={default:o[0]},o.length=0),i===Ia?o=bt(o):i===Pa&&(o=yt(o));var a,s;if("string"==typeof e){var c;s=t.$vnode&&t.$vnode.ns||Ri.getTagNamespace(e),a=Ri.isReservedTag(e)?new fa(Ri.parsePlatformTagName(e),n,o,void 0,void 0,t):n&&n.pre||!r(c=Y(t.$options,"components",e))?new fa(e,n,o,void 0,void 0,t):Jt(c,n,t,o,e)}else a=Jt(e,n,t,o);return Array.isArray(a)?a:r(a)?(r(s)&&ne(a,s),r(n)&&oe(n),a):da()}function ne(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),r(t.children))for(var a=0,s=t.children.length;a<s;a++){var c=t.children[a];r(c.tag)&&(o(c.ns)||i(n)&&"svg"!==c.tag)&&ne(c,e,n)}}function oe(t){c(t.style)&&ft(t.style),c(t.class)&&ft(t.class)}function re(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=Ot(e._renderChildren,o),t.$scopedSlots=Ci,t._c=function(e,n,o,r){return te(t,e,n,o,r,!1)},t.$createElement=function(e,n,o,r){return te(t,e,n,o,r,!0)};var r=n&&n.data;R(t,"$attrs",r&&r.attrs||Ci,null,!0),R(t,"$listeners",e._parentListeners||Ci,null,!0)}function ie(t,e){return(t.__esModule||aa&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function ae(t,e,n,o,r){var i=da();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:o,tag:r},i}function se(t,e){if(i(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;var n=Na;if(n&&r(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),i(t.loading)&&r(t.loadingComp))return t.loadingComp;if(n&&!r(t.owners)){var a=t.owners=[n],s=!0,u=null,l=null;n.$on("hook:destroyed",function(){return m(a,n)});var f=function(t){for(var e=0,n=a.length;e<n;e++)a[e].$forceUpdate();t&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},d=E(function(n){t.resolved=ie(n,e),s?a.length=0:f(!0)}),h=E(function(e){r(t.errorComp)&&(t.error=!0,f(!0))}),v=t(d,h);return c(v)&&(p(v)?o(t.resolved)&&v.then(d,h):p(v.component)&&(v.component.then(d,h),r(v.error)&&(t.errorComp=ie(v.error,e)),r(v.loading)&&(t.loadingComp=ie(v.loading,e),0===v.delay?t.loading=!0:u=setTimeout(function(){u=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,f(!1))},v.delay||200)),r(v.timeout)&&(l=setTimeout(function(){l=null,o(t.resolved)&&h(null)},v.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}function ce(t){return t.isComment&&t.asyncFactory}function ue(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(r(n)&&(r(n.componentOptions)||ce(n)))return n}}function le(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&he(t,e)}function fe(t,e){ja.$on(t,e)}function pe(t,e){ja.$off(t,e)}function de(t,e){var n=ja;return function o(){null!==e.apply(null,arguments)&&n.$off(t,o)}}function he(t,e,n){ja=t,ht(e,n||{},fe,pe,de,t),ja=void 0}function ve(t){var e=Fa;return Fa=t,function(){Fa=e}}function me(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function ge(t,e,n){t.$el=e,t.$options.render||(t.$options.render=da),xe(t,"beforeMount");var o;return o=function(){t._update(t._render(),n)},new qa(t,o,C,{before:function(){t._isMounted&&!t._isDestroyed&&xe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,xe(t,"mounted")),t}function ye(t,e,n,o,r){var i=o.data.scopedSlots,a=t.$scopedSlots,s=!!(i&&!i.$stable||a!==Ci&&!a.$stable||i&&t.$scopedSlots.$key!==i.$key),c=!!(r||t.$options._renderChildren||s);if(t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=r,t.$attrs=o.data.attrs||Ci,t.$listeners=n||Ci,e&&t.$options.props){N(!1);for(var u=t._props,l=t.$options._propKeys||[],f=0;f<l.length;f++){var p=l[f],d=t.$options.props;u[p]=tt(p,d,e,t)}N(!0),t.$options.propsData=e}n=n||Ci;var h=t.$options._parentListeners;t.$options._parentListeners=n,he(t,n,h),c&&(t.$slots=Ot(r,o.context),t.$forceUpdate())}function be(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function _e(t,e){if(e){if(t._directInactive=!1,be(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)_e(t.$children[n]);xe(t,"activated")}}function we(t,e){if(!(e&&(t._directInactive=!0,be(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)we(t.$children[n]);xe(t,"deactivated")}}function xe(t,e){M();var n=t.$options[e],o=e+" hook";if(n)for(var r=0,i=n.length;r<i;r++)at(n[r],t,null,t,o);t._hasHookEvent&&t.$emit("hook:"+e),L()}function ke(){Ha=Da.length=Ba.length=0,Ra={},Ua=za=!1}function Ce(){Wa=Va(),za=!0;var t,e;for(Da.sort(function(t,e){return t.id-e.id}),Ha=0;Ha<Da.length;Ha++)t=Da[Ha],t.before&&t.before(),e=t.id,Ra[e]=null,t.run();var n=Ba.slice(),o=Da.slice();ke(),Ee(n),Oe(o),ia&&Ri.devtools&&ia.emit("flush")}function Oe(t){for(var e=t.length;e--;){var n=t[e],o=n.vm;o._watcher===n&&o._isMounted&&!o._isDestroyed&&xe(o,"updated")}}function $e(t){t._inactive=!1,Ba.push(t)}function Ee(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,_e(t[e],!0)}function Te(t){var e=t.id;if(null==Ra[e]){if(Ra[e]=!0,za){for(var n=Da.length-1;n>Ha&&Da[n].id>t.id;)n--;Da.splice(n+1,0,t)}else Da.push(t);Ua||(Ua=!0,lt(Ce))}}function Ae(t,e,n){Ja.get=function(){return this[e][n]},Ja.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ja)}function Se(t){t._watchers=[];var e=t.$options;e.props&&je(t,e.props),e.methods&&De(t,e.methods),e.data?Me(t):B(t._data={},!0),e.computed&&Pe(t,e.computed),e.watch&&e.watch!==Yi&&Be(t,e.watch)}function je(t,e){var n=t.$options.propsData||{},o=t._props={},r=t.$options._propKeys=[],i=!t.$parent;i||N(!1);for(var a in e)!function(i){r.push(i);var a=tt(i,e,n,t);R(o,i,a),i in t||Ae(t,"_props",i)}(a);N(!0)}function Me(t){var e=t.$options.data;e=t._data="function"==typeof e?Le(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),o=t.$options.props,r=(t.$options.methods,n.length);r--;){var i=n[r];o&&g(o,i)||T(i)||Ae(t,"_data",i)}B(e,!0)}function Le(t,e){M();try{return t.call(e,e)}catch(t){return it(t,e,"data()"),{}}finally{L()}}function Pe(t,e){var n=t._computedWatchers=Object.create(null),o=ra();for(var r in e){var i=e[r],a="function"==typeof i?i:i.get;o||(n[r]=new qa(t,a||C,C,Za)),r in t||Ie(t,r,i)}}function Ie(t,e,n){var o=!ra();"function"==typeof n?(Ja.get=o?Ne(e):Fe(n),Ja.set=C):(Ja.get=n.get?o&&!1!==n.cache?Ne(e):Fe(n.get):C,Ja.set=n.set||C),Object.defineProperty(t,e,Ja)}function Ne(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ua.target&&e.depend(),e.value}}function Fe(t){return function(){return t.call(this,this)}}function De(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?C:Pi(e[n],t)}function Be(t,e){for(var n in e){var o=e[n];if(Array.isArray(o))for(var r=0;r<o.length;r++)Re(t,n,o[r]);else Re(t,n,o)}}function Re(t,e,n,o){return u(n)&&(o=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,o)}function Ue(t,e){var n=t.$options=Object.create(t.constructor.options),o=e._parentVnode;n.parent=e.parent,n._parentVnode=o;var r=o.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function ze(t){var e=t.options;if(t.super){var n=ze(t.super);if(n!==t.superOptions){t.superOptions=n;var o=He(t);o&&x(t.extendOptions,o),e=t.options=Q(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function He(t){var e,n=t.options,o=t.sealedOptions;for(var r in n)n[r]!==o[r]&&(e||(e={}),e[r]=n[r]);return e}function We(t){this._init(t)}function Ve(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=w(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Ke(t){t.mixin=function(t){return this.options=Q(this.options,t),this}}function Ge(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,o=n.cid,r=t._Ctor||(t._Ctor={});if(r[o])return r[o];var i=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Q(n.options,t),a.super=n,a.options.props&&qe(a),a.options.computed&&Je(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Di.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=x({},a.options),r[o]=a,a}}function qe(t){var e=t.options.props;for(var n in e)Ae(t.prototype,"_props",n)}function Je(t){var e=t.options.computed;for(var n in e)Ie(t.prototype,n,e[n])}function Ze(t){Di.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Xe(t){return t&&(t.Ctor.options.name||t.tag)}function Qe(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function Ye(t,e){var n=t.cache,o=t.keys,r=t._vnode;for(var i in n){var a=n[i];if(a){var s=Xe(a.componentOptions);s&&!e(s)&&tn(n,i,o,r)}}}function tn(t,e,n,o){var r=t[e];!r||o&&r.tag===o.tag||r.componentInstance.$destroy(),t[e]=null,m(n,e)}function en(t){for(var e=t.data,n=t,o=t;r(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(e=nn(o.data,e));for(;r(n=n.parent);)n&&n.data&&(e=nn(e,n.data));return on(e.staticClass,e.class)}function nn(t,e){return{staticClass:rn(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function on(t,e){return r(t)||r(e)?rn(t,an(e)):""}function rn(t,e){return t?e?t+" "+e:t:e||""}function an(t){return Array.isArray(t)?sn(t):c(t)?cn(t):"string"==typeof t?t:""}function sn(t){for(var e,n="",o=0,i=t.length;o<i;o++)r(e=an(t[o]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function cn(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}function un(t){return Cs(t)?"svg":"math"===t?"math":void 0}function ln(t){if(!Wi)return!0;if($s(t))return!1;if(t=t.toLowerCase(),null!=Es[t])return Es[t];var e=document.createElement(t);return t.indexOf("-")>-1?Es[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Es[t]=/HTMLUnknownElement/.test(e.toString())}function fn(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function pn(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function dn(t,e){return document.createElementNS(xs[t],e)}function hn(t){return document.createTextNode(t)}function vn(t){return document.createComment(t)}function mn(t,e,n){t.insertBefore(e,n)}function gn(t,e){t.removeChild(e)}function yn(t,e){t.appendChild(e)}function bn(t){return t.parentNode}function _n(t){return t.nextSibling}function wn(t){return t.tagName}function xn(t,e){t.textContent=e}function kn(t,e){t.setAttribute(e,"")}function Cn(t,e){var n=t.data.ref;if(r(n)){var o=t.context,i=t.componentInstance||t.elm,a=o.$refs;e?Array.isArray(a[n])?m(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}function On(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&$n(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&o(e.asyncFactory.error))}function $n(t,e){if("input"!==t.tag)return!0;var n,o=r(n=t.data)&&r(n=n.attrs)&&n.type,i=r(n=e.data)&&r(n=n.attrs)&&n.type;return o===i||Ts(o)&&Ts(i)}function En(t,e,n){var o,i,a={};for(o=e;o<=n;++o)i=t[o].key,r(i)&&(a[i]=o);return a}function Tn(t,e){(t.data.directives||e.data.directives)&&An(t,e)}function An(t,e){var n,o,r,i=t===js,a=e===js,s=Sn(t.data.directives,t.context),c=Sn(e.data.directives,e.context),u=[],l=[];for(n in c)o=s[n],r=c[n],o?(r.oldValue=o.value,r.oldArg=o.arg,Mn(r,"update",e,t),r.def&&r.def.componentUpdated&&l.push(r)):(Mn(r,"bind",e,t),r.def&&r.def.inserted&&u.push(r));if(u.length){var f=function(){for(var n=0;n<u.length;n++)Mn(u[n],"inserted",e,t)};i?vt(e,"insert",f):f()}if(l.length&&vt(e,"postpatch",function(){for(var n=0;n<l.length;n++)Mn(l[n],"componentUpdated",e,t)}),!i)for(n in s)c[n]||Mn(s[n],"unbind",t,t,a)}function Sn(t,e){var n=Object.create(null);if(!t)return n;var o,r;for(o=0;o<t.length;o++)r=t[o],r.modifiers||(r.modifiers=Ps),n[jn(r)]=r,r.def=Y(e.$options,"directives",r.name,!0);return n}function jn(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Mn(t,e,n,o,r){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,o,r)}catch(o){it(o,n.context,"directive "+t.name+" "+e+" hook")}}function Ln(t,e){var n=e.componentOptions;if(!(r(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var i,a,s=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};r(u.__ob__)&&(u=e.data.attrs=x({},u));for(i in u)a=u[i],c[i]!==a&&Pn(s,i,a);(qi||Zi)&&u.value!==c.value&&Pn(s,"value",u.value);for(i in c)o(u[i])&&(bs(i)?s.removeAttributeNS(ys,_s(i)):hs(i)||s.removeAttribute(i))}}function Pn(t,e,n){t.tagName.indexOf("-")>-1?In(t,e,n):gs(e)?ws(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):hs(e)?t.setAttribute(e,ms(e,n)):bs(e)?ws(n)?t.removeAttributeNS(ys,_s(e)):t.setAttributeNS(ys,e,n):In(t,e,n)}function In(t,e,n){if(ws(n))t.removeAttribute(e);else{if(qi&&!Ji&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var o=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",o)};t.addEventListener("input",o),t.__ieph=!0}t.setAttribute(e,n)}}function Nn(t,e){var n=e.elm,i=e.data,a=t.data;if(!(o(i.staticClass)&&o(i.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=en(e),c=n._transitionClasses;r(c)&&(s=rn(s,an(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function Fn(t){function e(){(a||(a=[])).push(t.slice(h,r).trim()),h=r+1}var n,o,r,i,a,s=!1,c=!1,u=!1,l=!1,f=0,p=0,d=0,h=0;for(r=0;r<t.length;r++)if(o=n,n=t.charCodeAt(r),s)39===n&&92!==o&&(s=!1);else if(c)34===n&&92!==o&&(c=!1);else if(u)96===n&&92!==o&&(u=!1);else if(l)47===n&&92!==o&&(l=!1);else if(124!==n||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||f||p||d){switch(n){case 34:c=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:d++;break;case 41:d--;break;case 91:p++;break;case 93:p--;break;case 123:f++;break;case 125:f--}if(47===n){for(var v=r-1,m=void 0;v>=0&&" "===(m=t.charAt(v));v--);m&&Ds.test(m)||(l=!0)}}else void 0===i?(h=r+1,i=t.slice(0,r).trim()):e();if(void 0===i?i=t.slice(0,r).trim():0!==h&&e(),a)for(r=0;r<a.length;r++)i=Dn(i,a[r]);return i}function Dn(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var o=e.slice(0,n),r=e.slice(n+1);return'_f("'+o+'")('+t+(")"!==r?","+r:r)}function Bn(t,e){console.error("[Vue compiler]: "+t)}function Rn(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function Un(t,e,n,o,r){(t.props||(t.props=[])).push(Xn({name:e,value:n,dynamic:r},o)),t.plain=!1}function zn(t,e,n,o,r){(r?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Xn({name:e,value:n,dynamic:r},o)),t.plain=!1}function Hn(t,e,n,o){t.attrsMap[e]=n,t.attrsList.push(Xn({name:e,value:n},o))}function Wn(t,e,n,o,r,i,a,s){(t.directives||(t.directives=[])).push(Xn({name:e,rawName:n,value:o,arg:r,isDynamicArg:i,modifiers:a},s)),t.plain=!1}function Vn(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function Kn(t,e,n,o,r,i,a,s){o=o||Ci,o.right?s?e="("+e+")==='click'?'contextmenu':("+e+")":"click"===e&&(e="contextmenu",delete o.right):o.middle&&(s?e="("+e+")==='click'?'mouseup':("+e+")":"click"===e&&(e="mouseup")),o.capture&&(delete o.capture,e=Vn("!",e,s)),o.once&&(delete o.once,e=Vn("~",e,s)),o.passive&&(delete o.passive,e=Vn("&",e,s));var c;o.native?(delete o.native,c=t.nativeEvents||(t.nativeEvents={})):c=t.events||(t.events={});var u=Xn({value:n.trim(),dynamic:s},a);o!==Ci&&(u.modifiers=o);var l=c[e];Array.isArray(l)?r?l.unshift(u):l.push(u):c[e]=l?r?[u,l]:[l,u]:u,t.plain=!1}function Gn(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}function qn(t,e,n){var o=Jn(t,":"+e)||Jn(t,"v-bind:"+e);if(null!=o)return Fn(o);if(!1!==n){var r=Jn(t,e);if(null!=r)return JSON.stringify(r)}}function Jn(t,e,n){var o;if(null!=(o=t.attrsMap[e]))for(var r=t.attrsList,i=0,a=r.length;i<a;i++)if(r[i].name===e){r.splice(i,1);break}return n&&delete t.attrsMap[e],o}function Zn(t,e){for(var n=t.attrsList,o=0,r=n.length;o<r;o++){var i=n[o];if(e.test(i.name))return n.splice(o,1),i}}function Xn(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function Qn(t,e,n){var o=n||{},r=o.number,i=o.trim,a="$$v";i&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(a="_n("+a+")");var s=Yn(e,a);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ($$v) {"+s+"}"}}function Yn(t,e){var n=to(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function to(t){if(t=t.trim(),es=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<es-1)return rs=t.lastIndexOf("."),rs>-1?{exp:t.slice(0,rs),key:'"'+t.slice(rs+1)+'"'}:{exp:t,key:null};for(ns=t,rs=is=as=0;!no();)os=eo(),oo(os)?io(os):91===os&&ro(os);return{exp:t.slice(0,is),key:t.slice(is+1,as)}}function eo(){return ns.charCodeAt(++rs)}function no(){return rs>=es}function oo(t){return 34===t||39===t}function ro(t){var e=1;for(is=rs;!no();)if(t=eo(),oo(t))io(t);else if(91===t&&e++,93===t&&e--,0===e){as=rs;break}}function io(t){for(var e=t;!no()&&(t=eo())!==e;);}function ao(t,e,n){ss=n;var o=e.value,r=e.modifiers,i=t.tag,a=t.attrsMap.type;if(t.component)return Qn(t,o,r),!1;if("select"===i)uo(t,o,r);else if("input"===i&&"checkbox"===a)so(t,o,r);else if("input"===i&&"radio"===a)co(t,o,r);else if("input"===i||"textarea"===i)lo(t,o,r);else if(!Ri.isReservedTag(i))return Qn(t,o,r),!1;return!0}function so(t,e,n){var o=n&&n.number,r=qn(t,"value")||"null",i=qn(t,"true-value")||"true",a=qn(t,"false-value")||"false";Un(t,"checked","Array.isArray("+e+")?_i("+e+","+r+")>-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),Kn(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(o?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Yn(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Yn(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Yn(e,"$$c")+"}",null,!0)}function co(t,e,n){var o=n&&n.number,r=qn(t,"value")||"null";r=o?"_n("+r+")":r,Un(t,"checked","_q("+e+","+r+")"),Kn(t,"change",Yn(e,r),null,!0)}function uo(t,e,n){var o=n&&n.number,r='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(o?"_n(val)":"val")+"})",i="var $$selectedVal = "+r+";";i=i+" "+Yn(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Kn(t,"change",i,null,!0)}function lo(t,e,n){var o=t.attrsMap.type,r=n||{},i=r.lazy,a=r.number,s=r.trim,c=!i&&"range"!==o,u=i?"change":"range"===o?Bs:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Yn(e,l);c&&(f="if($event.target.composing)return;"+f),Un(t,"value","("+e+")"),Kn(t,u,f,null,!0),(s||a)&&Kn(t,"blur","$forceUpdate()")}function fo(t){if(r(t[Bs])){var e=qi?"change":"input";t[e]=[].concat(t[Bs],t[e]||[]),delete t[Bs]}r(t[Rs])&&(t.change=[].concat(t[Rs],t.change||[]),delete t[Rs])}function po(t,e,n){var o=cs;return function r(){null!==e.apply(null,arguments)&&vo(t,r,n,o)}}function ho(t,e,n,o){if(Us){var r=Wa,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}cs.addEventListener(t,e,ta?{capture:n,passive:o}:n)}function vo(t,e,n,o){(o||cs).removeEventListener(t,e._wrapper||e,n)}function mo(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};cs=e.elm,fo(n),ht(n,r,ho,vo,po,e.context),cs=void 0}}function go(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};r(c.__ob__)&&(c=e.data.domProps=x({},c));for(n in s)n in c||(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var u=o(i)?"":String(i);yo(a,u)&&(a.value=u)}else if("innerHTML"===n&&Cs(a.tagName)&&o(a.innerHTML)){us=us||document.createElement("div"),us.innerHTML="<svg>"+i+"</svg>";for(var l=us.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(i!==s[n])try{a[n]=i}catch(t){}}}}function yo(t,e){return!t.composing&&("OPTION"===t.tagName||bo(t,e)||_o(t,e))}function bo(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function _o(t,e){var n=t.value,o=t._vModifiers;if(r(o)){if(o.number)return h(n)!==h(e);if(o.trim)return n.trim()!==e.trim()}return n!==e}function wo(t){var e=xo(t.style);return t.staticStyle?x(t.staticStyle,e):e}function xo(t){return Array.isArray(t)?k(t):"string"==typeof t?Ws(t):t}function ko(t,e){var n,o={};if(e)for(var r=t;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=wo(r.data))&&x(o,n);(n=wo(t.data))&&x(o,n);for(var i=t;i=i.parent;)i.data&&(n=wo(i.data))&&x(o,n);return o}function Co(t,e){var n=e.data,i=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var a,s,c=e.elm,u=i.staticStyle,l=i.normalizedStyle||i.style||{},f=u||l,p=xo(e.data.style)||{};e.data.normalizedStyle=r(p.__ob__)?x({},p):p;var d=ko(e,!0);for(s in f)o(d[s])&&Gs(c,s,"");for(s in d)(a=d[s])!==f[s]&&Gs(c,s,null==a?"":a)}}function Oo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Xs).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function $o(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Xs).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",o=" "+e+" ";n.indexOf(o)>=0;)n=n.replace(o," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Eo(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&x(e,Qs(t.name||"v")),x(e,t),e}return"string"==typeof t?Qs(t):void 0}}function To(t){ac(function(){ac(t)})}function Ao(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Oo(t,e))}function So(t,e){t._transitionClasses&&m(t._transitionClasses,e),$o(t,e)}function jo(t,e,n){var o=Mo(t,e),r=o.type,i=o.timeout,a=o.propCount;if(!r)return n();var s=r===tc?oc:ic,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c<a&&u()},i+1),t.addEventListener(s,l)}function Mo(t,e){var n,o=window.getComputedStyle(t),r=(o[nc+"Delay"]||"").split(", "),i=(o[nc+"Duration"]||"").split(", "),a=Lo(r,i),s=(o[rc+"Delay"]||"").split(", "),c=(o[rc+"Duration"]||"").split(", "),u=Lo(s,c),l=0,f=0;return e===tc?a>0&&(n=tc,l=a,f=i.length):e===ec?u>0&&(n=ec,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?tc:ec:null,f=n?n===tc?i.length:c.length:0),{type:n,timeout:l,propCount:f,hasTransform:n===tc&&sc.test(o[nc+"Property"])}}function Lo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Po(e)+Po(t[n])}))}function Po(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Io(t,e){var n=t.elm;r(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Eo(t.data.transition);if(!o(i)&&!r(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,u=i.enterClass,l=i.enterToClass,f=i.enterActiveClass,p=i.appearClass,d=i.appearToClass,v=i.appearActiveClass,m=i.beforeEnter,g=i.enter,y=i.afterEnter,b=i.enterCancelled,_=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,C=i.duration,O=Fa,$=Fa.$vnode;$&&$.parent;)O=$.context,$=$.parent;var T=!O._isMounted||!t.isRootInsert;if(!T||w||""===w){var A=T&&p?p:u,S=T&&v?v:f,j=T&&d?d:l,M=T?_||m:m,L=T&&"function"==typeof w?w:g,P=T?x||y:y,I=T?k||b:b,N=h(c(C)?C.enter:C),F=!1!==a&&!Ji,D=Do(L),B=n._enterCb=E(function(){F&&(So(n,j),So(n,S)),B.cancelled?(F&&So(n,A),I&&I(n)):P&&P(n),n._enterCb=null});t.data.show||vt(t,"insert",function(){var e=n.parentNode,o=e&&e._pending&&e._pending[t.key];o&&o.tag===t.tag&&o.elm._leaveCb&&o.elm._leaveCb(),L&&L(n,B)}),M&&M(n),F&&(Ao(n,A),Ao(n,S),To(function(){So(n,A),B.cancelled||(Ao(n,j),D||(Fo(N)?setTimeout(B,N):jo(n,s,B)))})),t.data.show&&(e&&e(),L&&L(n,B)),F||D||B()}}}function No(t,e){function n(){k.cancelled||(!t.data.show&&i.parentNode&&((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),d&&d(i),_&&(Ao(i,l),Ao(i,p),To(function(){So(i,l),k.cancelled||(Ao(i,f),w||(Fo(x)?setTimeout(k,x):jo(i,u,k)))})),v&&v(i,k),_||w||k())}var i=t.elm;r(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var a=Eo(t.data.transition);if(o(a)||1!==i.nodeType)return e();if(!r(i._leaveCb)){var s=a.css,u=a.type,l=a.leaveClass,f=a.leaveToClass,p=a.leaveActiveClass,d=a.beforeLeave,v=a.leave,m=a.afterLeave,g=a.leaveCancelled,y=a.delayLeave,b=a.duration,_=!1!==s&&!Ji,w=Do(v),x=h(c(b)?b.leave:b),k=i._leaveCb=E(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),_&&(So(i,f),So(i,p)),k.cancelled?(_&&So(i,l),g&&g(i)):(e(),m&&m(i)),i._leaveCb=null});y?y(n):n()}}function Fo(t){return"number"==typeof t&&!isNaN(t)}function Do(t){if(o(t))return!1;var e=t.fns;return r(e)?Do(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Bo(t,e){!0!==e.data.show&&Io(e)}function Ro(t,e,n){Uo(t,e,n),(qi||Zi)&&setTimeout(function(){Uo(t,e,n)},0)}function Uo(t,e,n){var o=e.value,r=t.multiple;if(!r||Array.isArray(o)){for(var i,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],r)i=$(o,Ho(a))>-1,a.selected!==i&&(a.selected=i);else if(O(Ho(a),o))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function zo(t,e){return e.every(function(e){return!O(e,t)})}function Ho(t){return"_value"in t?t._value:t.value}function Wo(t){t.target.composing=!0}function Vo(t){t.target.composing&&(t.target.composing=!1,Ko(t.target,"input"))}function Ko(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Go(t){return!t.componentInstance||t.data&&t.data.transition?t:Go(t.componentInstance._vnode)}function qo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?qo(ue(e.children)):t}function Jo(t){var e={},n=t.$options;for(var o in n.propsData)e[o]=t[o];var r=n._parentListeners;for(var i in r)e[Si(i)]=r[i];return e}function Zo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Xo(t){for(;t=t.parent;)if(t.data.transition)return!0}function Qo(t,e){return e.key===t.key&&e.tag===t.tag}function Yo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function tr(t){t.data.newPos=t.elm.getBoundingClientRect()}function er(t){var e=t.data.pos,n=t.data.newPos,o=e.left-n.left,r=e.top-n.top;if(o||r){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+o+"px,"+r+"px)",i.transitionDuration="0s"}}function nr(t,e){var n=e?Fc(e):Ic;if(n.test(t)){for(var o,r,i,a=[],s=[],c=n.lastIndex=0;o=n.exec(t);){r=o.index,r>c&&(s.push(i=t.slice(c,r)),a.push(JSON.stringify(i)));var u=Fn(o[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=r+o[0].length}return c<t.length&&(s.push(i=t.slice(c)),a.push(JSON.stringify(i))),{expression:a.join("+"),tokens:s}}}function or(t,e){var n=(e.warn,Jn(t,"class"));n&&(t.staticClass=JSON.stringify(n));var o=qn(t,"class",!1);o&&(t.classBinding=o)}function rr(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}function ir(t,e){var n=(e.warn,Jn(t,"style"));if(n){t.staticStyle=JSON.stringify(Ws(n))}var o=qn(t,"style",!1);o&&(t.styleBinding=o)}function ar(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}function sr(t,e){var n=e?ru:ou;return t.replace(n,function(t){return nu[t]})}function cr(t,e){function n(e){l+=e,t=t.substring(e)}function o(t,n,o){var r,s;if(null==n&&(n=l),null==o&&(o=l),t)for(s=t.toLowerCase(),r=a.length-1;r>=0&&a[r].lowerCasedTag!==s;r--);else r=0;if(r>=0){for(var c=a.length-1;c>=r;c--)e.end&&e.end(a[c].tag,n,o);a.length=r,i=r&&a[r-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}for(var r,i,a=[],s=e.expectHTML,c=e.isUnaryTag||Ii,u=e.canBeLeftOpenTag||Ii,l=0;t;){if(r=t,i&&tu(i)){var f=0,p=i.toLowerCase(),d=eu[p]||(eu[p]=new RegExp("([\\s\\S]*?)(</"+p+"[^>]*>)","i")),h=t.replace(d,function(t,n,o){return f=o.length,tu(p)||"noscript"===p||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),au(p,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-h.length,t=h,o(p,l-f,l)}else{var v=t.indexOf("<");if(0===v){if(Qc.test(t)){var m=t.indexOf("--\x3e");if(m>=0){e.shouldKeepComment&&e.comment(t.substring(4,m),l,l+m+3),n(m+3);continue}}if(Yc.test(t)){var g=t.indexOf("]>");if(g>=0){n(g+2);continue}}var y=t.match(Xc);if(y){n(y[0].length);continue}var b=t.match(Zc);if(b){var _=l;n(b[0].length),o(b[1],_,l);continue}var w=function(){var e=t.match(qc);if(e){var o={tagName:e[1],attrs:[],start:l};n(e[0].length);for(var r,i;!(r=t.match(Jc))&&(i=t.match(Vc)||t.match(Wc));)i.start=l,n(i[0].length),i.end=l,o.attrs.push(i);if(r)return o.unarySlash=r[1],n(r[0].length),o.end=l,o}}();if(w){!function(t){var n=t.tagName,r=t.unarySlash;s&&("p"===i&&Hc(n)&&o(i),u(n)&&i===n&&o(n));for(var l=c(n)||!!r,f=t.attrs.length,p=new Array(f),d=0;d<f;d++){var h=t.attrs[d],v=h[3]||h[4]||h[5]||"",m="a"===n&&"href"===h[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;p[d]={name:h[1],value:sr(v,m)}}l||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:p,start:t.start,end:t.end}),i=n),e.start&&e.start(n,p,l,t.start,t.end)}(w),au(w.tagName,t)&&n(1);continue}}var x=void 0,k=void 0,C=void 0;if(v>=0){for(k=t.slice(v);!(Zc.test(k)||qc.test(k)||Qc.test(k)||Yc.test(k)||(C=k.indexOf("<",1))<0);)v+=C,k=t.slice(v);x=t.substring(0,v)}v<0&&(x=t),x&&n(x.length),e.chars&&x&&e.chars(x,l-x.length,l)}if(t===r){e.chars&&e.chars(t);break}}o()}function ur(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:Sr(e),rawAttrsMap:{},parent:n,children:[]}}function lr(t,e){function n(t){if(o(t),l||t.processed||(t=dr(t,e)),s.length||t===i||i.if&&(t.elseif||t.else)&&wr(i,{exp:t.elseif,block:t}),a&&!t.forbidden)if(t.elseif||t.else)br(t,a);else{if(t.slotScope){var n=t.slotTarget||'"default"';(a.scopedSlots||(a.scopedSlots={}))[n]=t}a.children.push(t),t.parent=a}t.children=t.children.filter(function(t){return!t.slotScope}),o(t),t.pre&&(l=!1),Tc(t.tag)&&(f=!1);for(var r=0;r<Ec.length;r++)Ec[r](t,e)}function o(t){if(!f)for(var e;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}kc=e.warn||Bn,Tc=e.isPreTag||Ii,Ac=e.mustUseProp||Ii,Sc=e.getTagNamespace||Ii;var r=e.isReservedTag||Ii;jc=function(t){return!!t.component||!r(t.tag)},Oc=Rn(e.modules,"transformNode"),$c=Rn(e.modules,"preTransformNode"),Ec=Rn(e.modules,"postTransformNode"),Cc=e.delimiters;var i,a,s=[],c=!1!==e.preserveWhitespace,u=e.whitespace,l=!1,f=!1;return cr(t,{warn:kc,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,o,r,c,u){var p=a&&a.ns||Sc(t);qi&&"svg"===p&&(o=Lr(o));var d=ur(t,o,a);p&&(d.ns=p),Mr(d)&&!ra()&&(d.forbidden=!0);for(var h=0;h<$c.length;h++)d=$c[h](d,e)||d;l||(fr(d),d.pre&&(l=!0)),Tc(d.tag)&&(f=!0),l?pr(d):d.processed||(mr(d),yr(d),xr(d)),i||(i=d),r?n(d):(a=d,s.push(d))},end:function(t,e,o){var r=s[s.length-1];s.length-=1,a=s[s.length-1],n(r)},chars:function(t,e,n){if(a&&(!qi||"textarea"!==a.tag||a.attrsMap.placeholder!==t)){var o=a.children;if(t=f||t.trim()?jr(a)?t:bu(t):o.length?u?"condense"===u&&gu.test(t)?"":" ":c?" ":"":""){f||"condense"!==u||(t=t.replace(yu," "));var r,i;!l&&" "!==t&&(r=nr(t,Cc))?i={type:2,expression:r.expression,tokens:r.tokens,text:t}:" "===t&&o.length&&" "===o[o.length-1].text||(i={type:3,text:t}),i&&o.push(i)}}},comment:function(t,e,n){if(a){var o={type:3,text:t,isComment:!0};a.children.push(o)}}}),i}function fr(t){null!=Jn(t,"v-pre")&&(t.pre=!0)}function pr(t){var e=t.attrsList,n=e.length;if(n)for(var o=t.attrs=new Array(n),r=0;r<n;r++)o[r]={name:e[r].name,value:JSON.stringify(e[r].value)},null!=e[r].start&&(o[r].start=e[r].start,o[r].end=e[r].end);else t.pre||(t.plain=!0)}function dr(t,e){hr(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,vr(t),kr(t),Or(t),$r(t);for(var n=0;n<Oc.length;n++)t=Oc[n](t,e)||t;return Er(t),t}function hr(t){var e=qn(t,"key");if(e){t.key=e}}function vr(t){var e=qn(t,"ref");e&&(t.ref=e,t.refInFor=Tr(t))}function mr(t){var e;if(e=Jn(t,"v-for")){var n=gr(e);n&&x(t,n)}}function gr(t){var e=t.match(uu);if(e){var n={};n.for=e[2].trim();var o=e[1].trim().replace(fu,""),r=o.match(lu);return r?(n.alias=o.replace(lu,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=o,n}}function yr(t){var e=Jn(t,"v-if");if(e)t.if=e,wr(t,{exp:e,block:t});else{null!=Jn(t,"v-else")&&(t.else=!0);var n=Jn(t,"v-else-if");n&&(t.elseif=n)}}function br(t,e){var n=_r(e.children);n&&n.if&&wr(n,{exp:t.elseif,block:t})}function _r(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}function wr(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function xr(t){null!=Jn(t,"v-once")&&(t.once=!0)}function kr(t){var e;"template"===t.tag?(e=Jn(t,"scope"),t.slotScope=e||Jn(t,"slot-scope")):(e=Jn(t,"slot-scope"))&&(t.slotScope=e);var n=qn(t,"slot");if(n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||zn(t,"slot",n,Gn(t,"slot"))),"template"===t.tag){var o=Zn(t,mu);if(o){var r=Cr(o),i=r.name,a=r.dynamic;t.slotTarget=i,t.slotTargetDynamic=a,t.slotScope=o.value||_u}}else{var s=Zn(t,mu);if(s){var c=t.scopedSlots||(t.scopedSlots={}),u=Cr(s),l=u.name,f=u.dynamic,p=c[l]=ur("template",[],t);p.slotTarget=l,p.slotTargetDynamic=f,p.children=t.children.filter(function(t){if(!t.slotScope)return t.parent=p,!0}),p.slotScope=s.value||_u,t.children=[],t.plain=!1}}}function Cr(t){var e=t.name.replace(mu,"");return e||"#"!==t.name[0]&&(e="default"),pu.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function Or(t){"slot"===t.tag&&(t.slotName=qn(t,"name"))}function $r(t){var e;(e=qn(t,"is"))&&(t.component=e),null!=Jn(t,"inline-template")&&(t.inlineTemplate=!0)}function Er(t){var e,n,o,r,i,a,s,c,u=t.attrsList;for(e=0,n=u.length;e<n;e++)if(o=r=u[e].name,i=u[e].value,cu.test(o))if(t.hasBindings=!0,a=Ar(o.replace(cu,"")),a&&(o=o.replace(vu,"")),hu.test(o))o=o.replace(hu,""),i=Fn(i),c=pu.test(o),c&&(o=o.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(o=Si(o))&&(o="innerHTML"),a.camel&&!c&&(o=Si(o)),a.sync&&(s=Yn(i,"$event"),c?Kn(t,'"update:"+('+o+")",s,null,!1,kc,u[e],!0):(Kn(t,"update:"+Si(o),s,null,!1,kc,u[e]),Li(o)!==Si(o)&&Kn(t,"update:"+Li(o),s,null,!1,kc,u[e])))),a&&a.prop||!t.component&&Ac(t.tag,t.attrsMap.type,o)?Un(t,o,i,u[e],c):zn(t,o,i,u[e],c);else if(su.test(o))o=o.replace(su,""),c=pu.test(o),c&&(o=o.slice(1,-1)),Kn(t,o,i,a,!1,kc,u[e],c);else{o=o.replace(cu,"");var l=o.match(du),f=l&&l[1];c=!1,f&&(o=o.slice(0,-(f.length+1)),pu.test(f)&&(f=f.slice(1,-1),c=!0)),Wn(t,o,r,i,f,c,a,u[e])}else{zn(t,o,JSON.stringify(i),u[e]),!t.component&&"muted"===o&&Ac(t.tag,t.attrsMap.type,o)&&Un(t,o,"true",u[e])}}function Tr(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}function Ar(t){var e=t.match(vu);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function Sr(t){for(var e={},n=0,o=t.length;n<o;n++)e[t[n].name]=t[n].value;return e}function jr(t){return"script"===t.tag||"style"===t.tag}function Mr(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}function Lr(t){for(var e=[],n=0;n<t.length;n++){var o=t[n];wu.test(o.name)||(o.name=o.name.replace(xu,""),e.push(o))}return e}function Pr(t,e){if("input"===t.tag){var n=t.attrsMap;if(!n["v-model"])return;var o;if((n[":type"]||n["v-bind:type"])&&(o=qn(t,"type")),n.type||o||!n["v-bind"]||(o="("+n["v-bind"]+").type"),o){var r=Jn(t,"v-if",!0),i=r?"&&("+r+")":"",a=null!=Jn(t,"v-else",!0),s=Jn(t,"v-else-if",!0),c=Ir(t);mr(c),Hn(c,"type","checkbox"),dr(c,e),c.processed=!0,c.if="("+o+")==='checkbox'"+i,wr(c,{exp:c.if,block:c});var u=Ir(t);Jn(u,"v-for",!0),Hn(u,"type","radio"),dr(u,e),wr(c,{exp:"("+o+")==='radio'"+i,block:u});var l=Ir(t);return Jn(l,"v-for",!0),Hn(l,":type",o),dr(l,e),wr(c,{exp:r,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}function Ir(t){return ur(t.tag,t.attrsList.slice(),t.parent)}function Nr(t,e){e.value&&Un(t,"textContent","_s("+e.value+")",e)}function Fr(t,e){e.value&&Un(t,"innerHTML","_s("+e.value+")",e)}function Dr(t,e){t&&(Mc=Eu(e.staticKeys||""),Lc=e.isReservedTag||Ii,Rr(t),Ur(t,!1))}function Br(t){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}function Rr(t){if(t.static=zr(t),1===t.type){if(!Lc(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var o=t.children[e];Rr(o),o.static||(t.static=!1)}if(t.ifConditions)for(var r=1,i=t.ifConditions.length;r<i;r++){var a=t.ifConditions[r].block;Rr(a),a.static||(t.static=!1)}}}function Ur(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,o=t.children.length;n<o;n++)Ur(t.children[n],e||!!t.for);if(t.ifConditions)for(var r=1,i=t.ifConditions.length;r<i;r++)Ur(t.ifConditions[r].block,e)}}function zr(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||$i(t.tag)||!Lc(t.tag)||Hr(t)||!Object.keys(t).every(Mc))))}function Hr(t){for(;t.parent;){if(t=t.parent,"template"!==t.tag)return!1;if(t.for)return!0}return!1}function Wr(t,e){var n=e?"nativeOn:":"on:",o="",r="";for(var i in t){var a=Vr(t[i]);t[i]&&t[i].dynamic?r+=i+","+a+",":o+='"'+i+'":'+a+","}return o="{"+o.slice(0,-1)+"}",r?n+"_d("+o+",["+r.slice(0,-1)+"])":n+o}function Vr(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return Vr(t)}).join(",")+"]";var e=Su.test(t.value),n=Tu.test(t.value),o=Su.test(t.value.replace(Au,""));if(t.modifiers){var r="",i="",a=[];for(var s in t.modifiers)if(Pu[s])i+=Pu[s],ju[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;i+=Lu(["ctrl","shift","alt","meta"].filter(function(t){return!c[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);a.length&&(r+=Kr(a)),i&&(r+=i);return"function($event){"+r+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":o?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(o?"return "+t.value:t.value)+"}"}function Kr(t){return"if(!$event.type.indexOf('key')&&"+t.map(Gr).join("&&")+")return null;"}function Gr(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=ju[t],o=Mu[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(o)+")"}function qr(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}}function Jr(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}}function Zr(t,e){var n=new Nu(e);return{render:"with(this){return "+(t?Xr(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Xr(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Qr(t,e);if(t.once&&!t.onceProcessed)return Yr(t,e);if(t.for&&!t.forProcessed)return ni(t,e);if(t.if&&!t.ifProcessed)return ti(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return mi(t,e);var n;if(t.component)n=gi(t.component,t,e);else{var o;(!t.plain||t.pre&&e.maybeComponent(t))&&(o=oi(t,e));var r=t.inlineTemplate?null:li(t,e,!0);n="_c('"+t.tag+"'"+(o?","+o:"")+(r?","+r:"")+")"}for(var i=0;i<e.transforms.length;i++)n=e.transforms[i](t,n);return n}return li(t,e)||"void 0"}function Qr(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+Xr(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function Yr(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return ti(t,e);if(t.staticInFor){for(var n="",o=t.parent;o;){if(o.for){n=o.key;break}o=o.parent}return n?"_o("+Xr(t,e)+","+e.onceId+++","+n+")":Xr(t,e)}return Qr(t,e)}function ti(t,e,n,o){return t.ifProcessed=!0,ei(t.ifConditions.slice(),e,n,o)}function ei(t,e,n,o){function r(t){return n?n(t,e):t.once?Yr(t,e):Xr(t,e)}if(!t.length)return o||"_e()";var i=t.shift();return i.exp?"("+i.exp+")?"+r(i.block)+":"+ei(t,e,n,o):""+r(i.block)}function ni(t,e,n,o){var r=t.for,i=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(o||"_l")+"(("+r+"),function("+i+a+s+"){return "+(n||Xr)(t,e)+"})"}function oi(t,e){var n="{",o=ri(t,e);o&&(n+=o+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var r=0;r<e.dataGenFns.length;r++)n+=e.dataGenFns[r](t);if(t.attrs&&(n+="attrs:"+yi(t.attrs)+","),t.props&&(n+="domProps:"+yi(t.props)+","),t.events&&(n+=Wr(t.events,!1)+","),t.nativeEvents&&(n+=Wr(t.nativeEvents,!0)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=ai(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var i=ii(t,e);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+yi(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function ri(t,e){var n=t.directives;if(n){var o,r,i,a,s="directives:[",c=!1;for(o=0,r=n.length;o<r;o++){i=n[o],a=!0;var u=e.directives[i.name];u&&(a=!!u(t,i,e.warn)),a&&(c=!0,s+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?",arg:"+(i.isDynamicArg?i.arg:'"'+i.arg+'"'):"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return c?s.slice(0,-1)+"]":void 0}}function ii(t,e){var n=t.children[0];if(n&&1===n.type){var o=Zr(n,e.options);return"inlineTemplate:{render:function(){"+o.render+"},staticRenderFns:["+o.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}function ai(t,e,n){var o=t.for||Object.keys(e).some(function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||ci(n)}),r=!!t.if;if(!o)for(var i=t.parent;i;){if(i.slotScope&&i.slotScope!==_u||i.for){o=!0;break}i.if&&(r=!0),i=i.parent}var a=Object.keys(e).map(function(t){return ui(e[t],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(o?",null,true":"")+(!o&&r?",null,false,"+si(a):"")+")"}function si(t){for(var e=5381,n=t.length;n;)e=33*e^t.charCodeAt(--n);return e>>>0}function ci(t){return 1===t.type&&("slot"===t.tag||t.children.some(ci))}function ui(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return ti(t,e,ui,"null");if(t.for&&!t.forProcessed)return ni(t,e,ui);var o=t.slotScope===_u?"":String(t.slotScope),r="function("+o+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(li(t,e)||"undefined")+":undefined":li(t,e)||"undefined":Xr(t,e))+"}",i=o?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+r+i+"}"}function li(t,e,n,o,r){var i=t.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(o||Xr)(a,e)+s}var c=n?fi(i,e.maybeComponent):0,u=r||di;return"["+i.map(function(t){return u(t,e)}).join(",")+"]"+(c?","+c:"")}}function fi(t,e){for(var n=0,o=0;o<t.length;o++){var r=t[o];if(1===r.type){if(pi(r)||r.ifConditions&&r.ifConditions.some(function(t){return pi(t.block)})){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}function pi(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function di(t,e){return 1===t.type?Xr(t,e):3===t.type&&t.isComment?vi(t):hi(t)}function hi(t){return"_v("+(2===t.type?t.expression:bi(JSON.stringify(t.text)))+")"}function vi(t){return"_e("+JSON.stringify(t.text)+")"}function mi(t,e){var n=t.slotName||'"default"',o=li(t,e),r="_t("+n+(o?","+o:""),i=t.attrs||t.dynamicAttrs?yi((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:Si(t.name),value:t.value,dynamic:t.dynamic}})):null,a=t.attrsMap["v-bind"];return!i&&!a||o||(r+=",null"),i&&(r+=","+i),a&&(r+=(i?"":",null")+","+a),r+")"}function gi(t,e,n){var o=e.inlineTemplate?null:li(e,n,!0);return"_c("+t+","+oi(e,n)+(o?","+o:"")+")"}function yi(t){for(var e="",n="",o=0;o<t.length;o++){var r=t[o],i=bi(r.value);r.dynamic?n+=r.name+","+i+",":e+='"'+r.name+'":'+i+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function bi(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function _i(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),C}}function wi(t){var e=Object.create(null);return function(n,o,r){o=x({},o);o.warn;delete o.warn;var i=o.delimiters?String(o.delimiters)+n:n;if(e[i])return e[i];var a=t(n,o),s={},c=[];return s.render=_i(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(t){return _i(t,c)}),e[i]=s}}function xi(t){return Pc=Pc||document.createElement("div"),Pc.innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Pc.innerHTML.indexOf(" ")>0}function ki(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}/*!
|
2 |
* Vue.js v2.6.12
|
3 |
* (c) 2014-2020 Evan You
|
4 |
* Released under the MIT License.
|
5 |
*/
|
6 |
-
var Ci=Object.freeze({}),Oi=Object.prototype.toString,$i=v("slot,component",!0),Ei=v("key,ref,slot,slot-scope,is"),Ti=Object.prototype.hasOwnProperty,Ai=/-(\w)/g,Si=y(function(t){return t.replace(Ai,function(t,e){return e?e.toUpperCase():""})}),ji=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Mi=/\B([A-Z])/g,Li=y(function(t){return t.replace(Mi,"-$1").toLowerCase()}),Pi=Function.prototype.bind?_:b,Ii=function(t,e,n){return!1},Ni=function(t){return t},Fi="data-server-rendered",Di=["component","directive","filter"],Bi=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],Ri={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Ii,isReservedAttr:Ii,isUnknownElement:Ii,getTagNamespace:C,parsePlatformTagName:Ni,mustUseProp:Ii,async:!0,_lifecycleHooks:Bi},Ui=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/,zi=new RegExp("[^"+Ui.source+".$_\\d]"),Hi="__proto__"in{},Wi="undefined"!=typeof window,Vi="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Ki=Vi&&WXEnvironment.platform.toLowerCase(),Gi=Wi&&window.navigator.userAgent.toLowerCase(),qi=Gi&&/msie|trident/.test(Gi),Ji=Gi&&Gi.indexOf("msie 9.0")>0,Zi=Gi&&Gi.indexOf("edge/")>0,Xi=(Gi&&Gi.indexOf("android"),Gi&&/iphone|ipad|ipod|ios/.test(Gi)||"ios"===Ki),Qi=(Gi&&/chrome\/\d+/.test(Gi),Gi&&/phantomjs/.test(Gi),Gi&&Gi.match(/firefox\/(\d+)/)),Yi={}.watch,ta=!1;if(Wi)try{var ea={};Object.defineProperty(ea,"passive",{get:function(){ta=!0}}),window.addEventListener("test-passive",null,ea)}catch(t){}var na,oa,ra=function(){return void 0===na&&(na=!Wi&&!Vi&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),na},ia=Wi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,aa="undefined"!=typeof Symbol&&j(Symbol)&&"undefined"!=typeof Reflect&&j(Reflect.ownKeys);oa="undefined"!=typeof Set&&j(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var sa=C,ca=0,ua=function(){this.id=ca++,this.subs=[]};ua.prototype.addSub=function(t){this.subs.push(t)},ua.prototype.removeSub=function(t){m(this.subs,t)},ua.prototype.depend=function(){ua.target&&ua.target.addDep(this)},ua.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},ua.target=null;var la=[],fa=function(t,e,n,o,r,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=o,this.elm=r,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},pa={child:{configurable:!0}};pa.child.get=function(){return this.componentInstance},Object.defineProperties(fa.prototype,pa);var da=function(t){void 0===t&&(t="");var e=new fa;return e.text=t,e.isComment=!0,e},ha=Array.prototype,va=Object.create(ha);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=ha[t];A(va,t,function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var r,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),i})});var ma=Object.getOwnPropertyNames(va),ga=!0,ya=function(t){this.value=t,this.dep=new ua,this.vmCount=0,A(t,"__ob__",this),Array.isArray(t)?(Hi?F(t,va):D(t,va,ma),this.observeArray(t)):this.walk(t)};ya.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)R(t,e[n])},ya.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)B(t[e])};var ba=Ri.optionMergeStrategies;ba.data=function(t,e,n){return n?V(t,e,n):e&&"function"!=typeof e?t:V(t,e)},Bi.forEach(function(t){ba[t]=K}),Di.forEach(function(t){ba[t+"s"]=q}),ba.watch=function(t,e,n,o){if(t===Yi&&(t=void 0),e===Yi&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var r={};x(r,t);for(var i in e){var a=r[i],s=e[i];a&&!Array.isArray(a)&&(a=[a]),r[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return r},ba.props=ba.methods=ba.inject=ba.computed=function(t,e,n,o){if(!t)return e;var r=Object.create(null);return x(r,t),e&&x(r,e),r},ba.provide=V;var _a,wa=function(t,e){return void 0===e?t:e},xa=!1,ka=[],Ca=!1;if("undefined"!=typeof Promise&&j(Promise)){var Oa=Promise.resolve();_a=function(){Oa.then(ut),Xi&&setTimeout(C)},xa=!0}else if(qi||"undefined"==typeof MutationObserver||!j(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())_a=void 0!==n&&j(n)?function(){n(ut)}:function(){setTimeout(ut,0)};else{var $a=1,Ea=new MutationObserver(ut),Ta=document.createTextNode(String($a));Ea.observe(Ta,{characterData:!0}),_a=function(){$a=($a+1)%2,Ta.data=String($a)},xa=!0}var Aa=new oa,Sa=y(function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var o="!"===t.charAt(0);return t=o?t.slice(1):t,{name:t,once:n,capture:o,passive:e}});Wt(Vt.prototype);var ja,Ma={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Ma.prepatch(n,n)}else{(t.componentInstance=Zt(t,Fa)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;ye(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,xe(n,"mounted")),t.data.keepAlive&&(e._isMounted?$e(n):_e(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?we(e,!0):e.$destroy())}},La=Object.keys(Ma),Pa=1,Ia=2,Na=null,Fa=null,Da=[],Ba=[],Ra={},Ua=!1,za=!1,Ha=0,Wa=0,Va=Date.now;if(Wi&&!qi){var Ka=window.performance;Ka&&"function"==typeof Ka.now&&Va()>document.createEvent("Event").timeStamp&&(Va=function(){return Ka.now()})}var Ga=0,qa=function(t,e,n,o,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),o?(this.deep=!!o.deep,this.user=!!o.user,this.lazy=!!o.lazy,this.sync=!!o.sync,this.before=o.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Ga,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new oa,this.newDepIds=new oa,this.expression="","function"==typeof e?this.getter=e:(this.getter=S(e),this.getter||(this.getter=C)),this.value=this.lazy?void 0:this.get()};qa.prototype.get=function(){M(this);var t,e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;it(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ft(t),L(),this.cleanupDeps()}return t},qa.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},qa.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},qa.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Te(this)},qa.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){it(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},qa.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},qa.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},qa.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Ja={enumerable:!0,configurable:!0,get:C,set:C},Za={lazy:!0},Xa=0;!function(t){t.prototype._init=function(t){var e=this;e._uid=Xa++,e._isVue=!0,t&&t._isComponent?Ue(e,t):e.$options=Q(ze(e.constructor),t||{},e),e._renderProxy=e,e._self=e,me(e),le(e),re(e),xe(e,"beforeCreate"),kt(e),Se(e),xt(e),xe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(We),function(t){var e={};e.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=U,t.prototype.$delete=z,t.prototype.$watch=function(t,e,n){var o=this;if(u(e))return Re(o,t,e,n);n=n||{},n.user=!0;var r=new qa(o,t,e,n);if(n.immediate)try{e.call(o,r.value)}catch(t){it(t,o,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(We),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var o=this;if(Array.isArray(t))for(var r=0,i=t.length;r<i;r++)o.$on(t[r],n);else(o._events[t]||(o._events[t]=[])).push(n),e.test(t)&&(o._hasHookEvent=!0);return o},t.prototype.$once=function(t,e){function n(){o.$off(t,n),e.apply(o,arguments)}var o=this;return n.fn=e,o.$on(t,n),o},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var o=0,r=t.length;o<r;o++)n.$off(t[o],e);return n}var i=n._events[t];if(!i)return n;if(!e)return n._events[t]=null,n;for(var a,s=i.length;s--;)if((a=i[s])===e||a.fn===e){i.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?w(n):n;for(var o=w(arguments,1),r='event handler for "'+t+'"',i=0,a=n.length;i<a;i++)at(n[i],e,o,e,r)}return e}}(We),function(t){t.prototype._update=function(t,e){var n=this,o=n.$el,r=n._vnode,i=ve(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),i(),o&&(o.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){xe(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||m(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),xe(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(We),function(t){Wt(t.prototype),t.prototype.$nextTick=function(t){return lt(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,o=e._parentVnode;o&&(t.$scopedSlots=Et(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;var r;try{Na=t,r=n.call(t._renderProxy,t.$createElement)}catch(e){it(e,t,"render"),r=t._vnode}finally{Na=null}return Array.isArray(r)&&1===r.length&&(r=r[0]),r instanceof fa||(r=da()),r.parent=o,r}}(We);var Qa=[String,RegExp,Array],Ya={name:"keep-alive",abstract:!0,props:{include:Qa,exclude:Qa,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)tn(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(e){Ye(t,function(t){return Qe(e,t)})}),this.$watch("exclude",function(e){Ye(t,function(t){return!Qe(e,t)})})},render:function(){var t=this.$slots.default,e=ue(t),n=e&&e.componentOptions;if(n){var o=Xe(n),r=this,i=r.include,a=r.exclude;if(i&&(!o||!Qe(i,o))||a&&o&&Qe(a,o))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,m(u,l),u.push(l)):(c[l]=e,u.push(l),this.max&&u.length>parseInt(this.max)&&tn(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},ts={KeepAlive:Ya};!function(t){var e={};e.get=function(){return Ri},Object.defineProperty(t,"config",e),t.util={warn:sa,extend:x,mergeOptions:Q,defineReactive:R},t.set=U,t.delete=z,t.nextTick=lt,t.observable=function(t){return B(t),t},t.options=Object.create(null),Di.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,x(t.options.components,ts),Ve(t),Ke(t),Ge(t),Ze(t)}(We),Object.defineProperty(We.prototype,"$isServer",{get:ra}),Object.defineProperty(We.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(We,"FunctionalRenderContext",{value:Vt}),We.version="2.6.12";var es,ns,os,rs,is,as,ss,cs,us,ls,fs=v("style,class"),ps=v("input,textarea,option,select,progress"),ds=function(t,e,n){return"value"===n&&ps(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},hs=v("contenteditable,draggable,spellcheck"),vs=v("events,caret,typing,plaintext-only"),ms=function(t,e){return ws(e)||"false"===e?"false":"contenteditable"===t&&vs(e)?e:"true"},gs=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),ys="http://www.w3.org/1999/xlink",bs=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},_s=function(t){return bs(t)?t.slice(6,t.length):""},ws=function(t){return null==t||!1===t},xs={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ks=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Cs=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Os=function(t){return"pre"===t},$s=function(t){return ks(t)||Cs(t)},Es=Object.create(null),Ts=v("text,number,password,search,email,tel,url"),As=Object.freeze({createElement:pn,createElementNS:dn,createTextNode:hn,createComment:vn,insertBefore:mn,removeChild:gn,appendChild:yn,parentNode:bn,nextSibling:_n,tagName:wn,setTextContent:xn,setStyleScope:kn}),Ss={create:function(t,e){Cn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Cn(t,!0),Cn(e))},destroy:function(t){Cn(t,!0)}},js=new fa("",{},[]),Ms=["create","activate","update","remove","destroy"],Ls={create:Tn,update:Tn,destroy:function(t){Tn(t,js)}},Ps=Object.create(null),Is=[Ss,Ls],Ns={create:Ln,update:Ln},Fs={create:Nn,update:Nn},Ds=/[\w).+\-_$\]]/,Bs="__r",Rs="__c",Us=xa&&!(Qi&&Number(Qi[1])<=53),zs={create:mo,update:mo},Hs={create:go,update:go},Ws=y(function(t){var e={},n=/;(?![^(]*\))/g,o=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(o);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),Vs=/^--/,Ks=/\s*!important$/,Gs=function(t,e,n){if(Vs.test(e))t.style.setProperty(e,n);else if(Ks.test(n))t.style.setProperty(Li(e),n.replace(Ks,""),"important");else{var o=Js(e);if(Array.isArray(n))for(var r=0,i=n.length;r<i;r++)t.style[o]=n[r];else t.style[o]=n}},qs=["Webkit","Moz","ms"],Js=y(function(t){if(ls=ls||document.createElement("div").style,"filter"!==(t=Si(t))&&t in ls)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<qs.length;n++){var o=qs[n]+e;if(o in ls)return o}}),Zs={create:Co,update:Co},Xs=/\s+/,Qs=y(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Ys=Wi&&!Ji,tc="transition",ec="animation",nc="transition",oc="transitionend",rc="animation",ic="animationend";Ys&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(nc="WebkitTransition",oc="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(rc="WebkitAnimation",ic="webkitAnimationEnd"));var ac=Wi?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()},sc=/\b(transform|all)(,|$)/,cc=Wi?{create:Bo,activate:Bo,remove:function(t,e){!0!==t.data.show?No(t,e):e()}}:{},uc=[Ns,Fs,zs,Hs,Zs,cc],lc=uc.concat(Is),fc=function(t){function e(t){return new fa(j.tagName(t).toLowerCase(),{},[],void 0,t)}function n(t,e){function n(){0==--n.listeners&&a(t)}return n.listeners=e,n}function a(t){var e=j.parentNode(t);r(e)&&j.removeChild(e,t)}function c(t,e,n,o,a,s,c){if(r(t.elm)&&r(s)&&(t=s[c]=I(t)),t.isRootInsert=!a,!u(t,e,n,o)){var l=t.data,f=t.children,h=t.tag;r(h)?(t.elm=t.ns?j.createElementNS(t.ns,h):j.createElement(h,t),g(t),d(t,f,e),r(l)&&m(t,e),p(n,t.elm,o)):i(t.isComment)?(t.elm=j.createComment(t.text),p(n,t.elm,o)):(t.elm=j.createTextNode(t.text),p(n,t.elm,o))}}function u(t,e,n,o){var a=t.data;if(r(a)){var s=r(t.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(t,!1),r(t.componentInstance))return l(t,e),p(n,t.elm,o),i(s)&&f(t,e,n,o),!0}}function l(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,h(t)?(m(t,e),g(t)):(Cn(t),e.push(t))}function f(t,e,n,o){for(var i,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,r(i=a.data)&&r(i=i.transition)){for(i=0;i<A.activate.length;++i)A.activate[i](js,a);e.push(a);break}p(n,t.elm,o)}function p(t,e,n){r(t)&&(r(n)?j.parentNode(n)===t&&j.insertBefore(t,e,n):j.appendChild(t,e))}function d(t,e,n){if(Array.isArray(e))for(var o=0;o<e.length;++o)c(e[o],n,t.elm,null,!0,e,o);else s(t.text)&&j.appendChild(t.elm,j.createTextNode(String(t.text)))}function h(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return r(t.tag)}function m(t,e){for(var n=0;n<A.create.length;++n)A.create[n](js,t);E=t.data.hook,r(E)&&(r(E.create)&&E.create(js,t),r(E.insert)&&e.push(t))}function g(t){var e;if(r(e=t.fnScopeId))j.setStyleScope(t.elm,e);else for(var n=t;n;)r(e=n.context)&&r(e=e.$options._scopeId)&&j.setStyleScope(t.elm,e),n=n.parent;r(e=Fa)&&e!==t.context&&e!==t.fnContext&&r(e=e.$options._scopeId)&&j.setStyleScope(t.elm,e)}function y(t,e,n,o,r,i){for(;o<=r;++o)c(n[o],i,t,e,!1,n,o)}function b(t){var e,n,o=t.data;if(r(o))for(r(e=o.hook)&&r(e=e.destroy)&&e(t),e=0;e<A.destroy.length;++e)A.destroy[e](t);if(r(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function _(t,e,n){for(;e<=n;++e){var o=t[e];r(o)&&(r(o.tag)?(w(o),b(o)):a(o.elm))}}function w(t,e){if(r(e)||r(t.data)){var o,i=A.remove.length+1;for(r(e)?e.listeners+=i:e=n(t.elm,i),r(o=t.componentInstance)&&r(o=o._vnode)&&r(o.data)&&w(o,e),o=0;o<A.remove.length;++o)A.remove[o](t,e);r(o=t.data.hook)&&r(o=o.remove)?o(t,e):e()}else a(t.elm)}function x(t,e,n,i,a){for(var s,u,l,f,p=0,d=0,h=e.length-1,v=e[0],m=e[h],g=n.length-1,b=n[0],w=n[g],x=!a;p<=h&&d<=g;)o(v)?v=e[++p]:o(m)?m=e[--h]:On(v,b)?(C(v,b,i,n,d),v=e[++p],b=n[++d]):On(m,w)?(C(m,w,i,n,g),m=e[--h],w=n[--g]):On(v,w)?(C(v,w,i,n,g),x&&j.insertBefore(t,v.elm,j.nextSibling(m.elm)),v=e[++p],w=n[--g]):On(m,b)?(C(m,b,i,n,d),x&&j.insertBefore(t,m.elm,v.elm),m=e[--h],b=n[++d]):(o(s)&&(s=En(e,p,h)),u=r(b.key)?s[b.key]:k(b,e,p,h),o(u)?c(b,i,t,v.elm,!1,n,d):(l=e[u],On(l,b)?(C(l,b,i,n,d),e[u]=void 0,x&&j.insertBefore(t,l.elm,v.elm)):c(b,i,t,v.elm,!1,n,d)),b=n[++d]);p>h?(f=o(n[g+1])?null:n[g+1].elm,y(t,f,n,d,g,i)):d>g&&_(e,p,h)}function k(t,e,n,o){for(var i=n;i<o;i++){var a=e[i];if(r(a)&&On(t,a))return i}}function C(t,e,n,a,s,c){if(t!==e){r(e.elm)&&r(a)&&(e=a[s]=I(e));var u=e.elm=t.elm;if(i(t.isAsyncPlaceholder))return void(r(e.asyncFactory.resolved)?$(t.elm,e,n):e.isAsyncPlaceholder=!0);if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))return void(e.componentInstance=t.componentInstance);var l,f=e.data;r(f)&&r(l=f.hook)&&r(l=l.prepatch)&&l(t,e);var p=t.children,d=e.children;if(r(f)&&h(e)){for(l=0;l<A.update.length;++l)A.update[l](t,e);r(l=f.hook)&&r(l=l.update)&&l(t,e)}o(e.text)?r(p)&&r(d)?p!==d&&x(u,p,d,n,c):r(d)?(r(t.text)&&j.setTextContent(u,""),y(u,null,d,0,d.length-1,n)):r(p)?_(p,0,p.length-1):r(t.text)&&j.setTextContent(u,""):t.text!==e.text&&j.setTextContent(u,e.text),r(f)&&r(l=f.hook)&&r(l=l.postpatch)&&l(t,e)}}function O(t,e,n){if(i(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var o=0;o<e.length;++o)e[o].data.hook.insert(e[o])}function $(t,e,n,o){var a,s=e.tag,c=e.data,u=e.children;if(o=o||c&&c.pre,e.elm=t,i(e.isComment)&&r(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(r(c)&&(r(a=c.hook)&&r(a=a.init)&&a(e,!0),r(a=e.componentInstance)))return l(e,n),!0;if(r(s)){if(r(u))if(t.hasChildNodes())if(r(a=c)&&r(a=a.domProps)&&r(a=a.innerHTML)){if(a!==t.innerHTML)return!1}else{for(var f=!0,p=t.firstChild,h=0;h<u.length;h++){if(!p||!$(p,u[h],n,o)){f=!1;break}p=p.nextSibling}if(!f||p)return!1}else d(e,u,n);if(r(c)){var v=!1;for(var g in c)if(!M(g)){v=!0,m(e,n);break}!v&&c.class&&ft(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}var E,T,A={},S=t.modules,j=t.nodeOps;for(E=0;E<Ms.length;++E)for(A[Ms[E]]=[],T=0;T<S.length;++T)r(S[T][Ms[E]])&&A[Ms[E]].push(S[T][Ms[E]]);var M=v("attrs,class,staticClass,staticStyle,key");return function(t,n,a,s){if(o(n))return void(r(t)&&b(t));var u=!1,l=[];if(o(t))u=!0,c(n,l);else{var f=r(t.nodeType);if(!f&&On(t,n))C(t,n,l,null,null,s);else{if(f){if(1===t.nodeType&&t.hasAttribute(Fi)&&(t.removeAttribute(Fi),a=!0),i(a)&&$(t,n,l))return O(n,l,!0),t;t=e(t)}var p=t.elm,d=j.parentNode(p);if(c(n,l,p._leaveCb?null:d,j.nextSibling(p)),r(n.parent))for(var v=n.parent,m=h(n);v;){for(var g=0;g<A.destroy.length;++g)A.destroy[g](v);if(v.elm=n.elm,m){for(var y=0;y<A.create.length;++y)A.create[y](js,v);var w=v.data.hook.insert;if(w.merged)for(var x=1;x<w.fns.length;x++)w.fns[x]()}else Cn(v);v=v.parent}r(d)?_([t],0,0):r(t.tag)&&b(t)}}return O(n,l,u),n.elm}}({nodeOps:As,modules:lc});Ji&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Ko(t,"input")});var pc={inserted:function(t,e,n,o){"select"===n.tag?(o.elm&&!o.elm._vOptions?vt(n,"postpatch",function(){pc.componentUpdated(t,e,n)}):Ro(t,e,n.context),t._vOptions=[].map.call(t.options,Ho)):("textarea"===n.tag||Ts(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Wo),t.addEventListener("compositionend",Vo),t.addEventListener("change",Vo),Ji&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Ro(t,e,n.context);var o=t._vOptions,r=t._vOptions=[].map.call(t.options,Ho);if(r.some(function(t,e){return!O(t,o[e])})){(t.multiple?e.value.some(function(t){return zo(t,r)}):e.value!==e.oldValue&&zo(e.value,r))&&Ko(t,"change")}}}},dc={bind:function(t,e,n){var o=e.value;n=Go(n);var r=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;o&&r?(n.data.show=!0,Io(n,function(){t.style.display=i})):t.style.display=o?i:"none"},update:function(t,e,n){var o=e.value;!o!=!e.oldValue&&(n=Go(n),n.data&&n.data.transition?(n.data.show=!0,o?Io(n,function(){t.style.display=t.__vOriginalDisplay}):No(n,function(){t.style.display="none"})):t.style.display=o?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,o,r){r||(t.style.display=t.__vOriginalDisplay)}},hc={model:pc,show:dc},vc={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},mc=function(t){return t.tag||ce(t)},gc=function(t){return"show"===t.name},yc={name:"transition",props:vc,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(mc),n.length)){var o=this.mode,r=n[0];if(Xo(this.$vnode))return r;var i=qo(r);if(!i)return r;if(this._leaving)return Zo(t,r);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var c=(i.data||(i.data={})).transition=Jo(this),u=this._vnode,l=qo(u);if(i.data.directives&&i.data.directives.some(gc)&&(i.data.show=!0),l&&l.data&&!Qo(i,l)&&!ce(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=x({},c);if("out-in"===o)return this._leaving=!0,vt(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Zo(t,r);if("in-out"===o){if(ce(i))return u;var p,d=function(){p()};vt(c,"afterEnter",d),vt(c,"enterCancelled",d),vt(f,"delayLeave",function(t){p=t})}}return r}}},bc=x({tag:String,moveClass:String},vc);delete bc.mode;var _c={props:bc,beforeMount:function(){var t=this,e=this._update;this._update=function(n,o){var r=ve(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,o)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),o=this.prevChildren=this.children,r=this.$slots.default||[],i=this.children=[],a=Jo(this),s=0;s<r.length;s++){var c=r[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(o){for(var u=[],l=[],f=0;f<o.length;f++){var p=o[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?u.push(p):l.push(p)}this.kept=t(e,null,u),this.removed=l}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Yo),t.forEach(tr),t.forEach(er),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,o=n.style;Ao(n,e),o.transform=o.WebkitTransform=o.transitionDuration="",n.addEventListener(oc,n._moveCb=function t(o){o&&o.target!==n||o&&!/transform$/.test(o.propertyName)||(n.removeEventListener(oc,t),n._moveCb=null,So(n,e))})}}))},methods:{hasMove:function(t,e){if(!Ys)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){$o(n,t)}),Oo(n,e),n.style.display="none",this.$el.appendChild(n);var o=Mo(n);return this.$el.removeChild(n),this._hasMove=o.hasTransform}}},wc={Transition:yc,TransitionGroup:_c};We.config.mustUseProp=ds,We.config.isReservedTag=$s,We.config.isReservedAttr=fs,We.config.getTagNamespace=un,We.config.isUnknownElement=ln,x(We.options.directives,hc),x(We.options.components,wc),We.prototype.__patch__=Wi?fc:C,We.prototype.$mount=function(t,e){return t=t&&Wi?fn(t):void 0,ge(this,t,e)},Wi&&setTimeout(function(){Ri.devtools&&ia&&ia.emit("init",We)},0);var xc,kc,Cc,Oc,$c,Ec,Tc,Ac,Sc,jc,Mc,Lc,Pc,Ic=/\{\{((?:.|\r?\n)+?)\}\}/g,Nc=/[-.*+?^${}()|[\]\/\\]/g,Fc=y(function(t){var e=t[0].replace(Nc,"\\$&"),n=t[1].replace(Nc,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),Dc={staticKeys:["staticClass"],transformNode:or,genData:rr},Bc={staticKeys:["staticStyle"],transformNode:ir,genData:ar},Rc={decode:function(t){return xc=xc||document.createElement("div"),xc.innerHTML=t,xc.textContent}},Uc=v("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),zc=v("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Hc=v("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Wc=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Vc=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Kc="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+Ui.source+"]*",Gc="((?:"+Kc+"\\:)?"+Kc+")",qc=new RegExp("^<"+Gc),Jc=/^\s*(\/?)>/,Zc=new RegExp("^<\\/"+Gc+"[^>]*>"),Xc=/^<!DOCTYPE [^>]+>/i,Qc=/^<!\--/,Yc=/^<!\[/,tu=v("script,style,textarea",!0),eu={},nu={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},ou=/&(?:lt|gt|quot|amp|#39);/g,ru=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,iu=v("pre,textarea",!0),au=function(t,e){return t&&iu(t)&&"\n"===e[0]},su=/^@|^v-on:/,cu=/^v-|^@|^:|^#/,uu=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,lu=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,fu=/^\(|\)$/g,pu=/^\[.*\]$/,du=/:(.*)$/,hu=/^:|^\.|^v-bind:/,vu=/\.[^.\]]+(?=[^\]]*$)/g,mu=/^v-slot(:|$)|^#/,gu=/[\r\n]/,yu=/\s+/g,bu=y(Rc.decode),_u="_empty_",wu=/^xmlns:NS\d+/,xu=/^NS\d+:/,ku={preTransformNode:Pr},Cu=[Dc,Bc,ku],Ou={model:ao,text:Nr,html:Fr},$u={expectHTML:!0,modules:Cu,directives:Ou,isPreTag:Os,isUnaryTag:Uc,mustUseProp:ds,canBeLeftOpenTag:zc,isReservedTag:$s,getTagNamespace:un,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Cu)},Eu=y(Br),Tu=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Au=/\([^)]*?\);*$/,Su=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ju={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Mu={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Lu=function(t){return"if("+t+")return null;"},Pu={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Lu("$event.target !== $event.currentTarget"),ctrl:Lu("!$event.ctrlKey"),shift:Lu("!$event.shiftKey"),alt:Lu("!$event.altKey"),meta:Lu("!$event.metaKey"),left:Lu("'button' in $event && $event.button !== 0"),middle:Lu("'button' in $event && $event.button !== 1"),right:Lu("'button' in $event && $event.button !== 2")},Iu={on:qr,bind:Jr,cloak:C},Nu=function(t){this.options=t,this.warn=t.warn||Bn,this.transforms=Rn(t.modules,"transformCode"),this.dataGenFns=Rn(t.modules,"genData"),this.directives=x(x({},Iu),t.directives);var e=t.isReservedTag||Ii;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1},Fu=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),function(t){return function(e){function n(n,o){var r=Object.create(e),i=[],a=[],s=function(t,e,n){(n?a:i).push(t)};if(o){o.modules&&(r.modules=(e.modules||[]).concat(o.modules)),o.directives&&(r.directives=x(Object.create(e.directives||null),o.directives));for(var c in o)"modules"!==c&&"directives"!==c&&(r[c]=o[c])}r.warn=s;var u=t(n.trim(),r);return u.errors=i,u.tips=a,u}return{compile:n,compileToFunctions:wi(n)}}}(function(t,e){var n=lr(t.trim(),e);!1!==e.optimize&&Dr(n,e);var o=Zr(n,e);return{ast:n,render:o.render,staticRenderFns:o.staticRenderFns}})),Du=Fu($u),Bu=(Du.compile,Du.compileToFunctions),Ru=!!Wi&&xi(!1),Uu=!!Wi&&xi(!0),zu=y(function(t){var e=fn(t);return e&&e.innerHTML}),Hu=We.prototype.$mount;We.prototype.$mount=function(t,e){if((t=t&&fn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var o=n.template;if(o)if("string"==typeof o)"#"===o.charAt(0)&&(o=zu(o));else{if(!o.nodeType)return this;o=o.innerHTML}else t&&(o=ki(t));if(o){var r=Bu(o,{outputSourceRange:!1,shouldDecodeNewlines:Ru,shouldDecodeNewlinesForHref:Uu,delimiters:n.delimiters,comments:n.comments},this),i=r.render,a=r.staticRenderFns;n.render=i,n.staticRenderFns=a}}return Hu.call(this,t,e)},We.compile=Bu,e.default=We}.call(e,n(0),n(4).setImmediate)},function(t,e){function n(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=o(r);return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}function o(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var o=n(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){function o(t,e){for(var n=0;n<t.length;n++){var o=t[n],r=h[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(l(o.parts[i],e))}else{for(var a=[],i=0;i<o.parts.length;i++)a.push(l(o.parts[i],e));h[o.id]={id:o.id,refs:1,parts:a}}}}function r(t,e){for(var n=[],o={},r=0;r<t.length;r++){var i=t[r],a=e.base?i[0]+e.base:i[0],s=i[1],c=i[2],u=i[3],l={css:s,media:c,sourceMap:u};o[a]?o[a].parts.push(l):n.push(o[a]={id:a,parts:[l]})}return n}function i(t,e){var n=m(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=b[b.length-1];if("top"===t.insertAt)o?o.nextSibling?n.insertBefore(e,o.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),b.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=b.indexOf(t);e>=0&&b.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),i(t,e),e}function c(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),i(t,e),e}function u(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function l(t,e){var n,o,r,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var u=y++;n=g||(g=s(e)),o=f.bind(null,n,u,!1),r=f.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(e),o=d.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),o=p.bind(null,n),r=function(){a(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}function f(t,e,n,o){var r=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=w(e,r);else{var i=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function p(t,e){var n=e.css,o=e.media;if(o&&t.setAttribute("media",o),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e,n){var o=n.css,r=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(o=_(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},v=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),m=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}(function(t){return document.querySelector(t)}),g=null,y=0,b=[],_=n(15);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=v()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return o(n,e),function(t){for(var i=[],a=0;a<n.length;a++){var s=n[a],c=h[s.id];c.refs--,i.push(c)}if(t){o(r(t,e),e)}for(var a=0;a<i.length;a++){var c=i[a];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete h[c.id]}}}};var w=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){(function(t){function o(t,e){this._id=t,this._clearFn=e}var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;e.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(17),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,n(0))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function i(t){if(f===clearTimeout)return clearTimeout(t);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){v&&d&&(v=!1,d.length?h=d.concat(h):m=-1,h.length&&s())}function s(){if(!v){var t=r(a);v=!0;for(var e=h.length;e;){for(d=h,h=[];++m<e;)d&&d[m].run();m=-1,e=h.length}d=null,v=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:o}catch(t){f=o}}();var d,h=[],v=!1,m=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];h.push(new c(t,e)),1!==h.length||v||r(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,o,r){/*!
|
7 |
* @overview RSVP - a tiny implementation of Promises/A+.
|
8 |
* @copyright Copyright (c) 2016 Yehuda Katz, Tom Dale, Stefan Penner and contributors
|
9 |
* @license Licensed under MIT license
|
10 |
* See https://raw.githubusercontent.com/tildeio/rsvp.js/master/LICENSE
|
11 |
* @version 3.6.2
|
12 |
*/
|
13 |
-
function i(t,e){for(var n=0,o=t.length;n<o;n++)if(t[n]===e)return n;return-1}function a(t){var e=t._promiseCallbacks;return e||(e=t._promiseCallbacks={}),e}function s(t,e){if(2!==arguments.length)return xt[t];xt[t]=e}function c(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function u(t){return"function"==typeof t}function l(t){return null!==t&&"object"==typeof t}function f(t){return null!==t&&"object"==typeof t}function p(){setTimeout(function(){for(var t=0;t<$t.length;t++){var e=$t[t],n=e.payload;n.guid=n.key+n.id,n.childGuid=n.key+n.childId,n.error&&(n.stack=n.error.stack),xt.trigger(e.name,e.payload)}$t.length=0},50)}function d(t,e,n){1===$t.push({name:t,payload:{key:e._guidKey,id:e._id,eventName:t,detail:e._result,childId:n&&n._id,label:e._label,timeStamp:Ot(),error:xt["instrument-with-stack"]?new Error(e._label):null}})&&p()}function h(t,e){var n=this;if(t&&"object"==typeof t&&t.constructor===n)return t;var o=new n(m,e);return x(o,t),o}function v(){return new TypeError("A promises callback cannot return that same promise.")}function m(){}function g(t){try{return t.then}catch(t){return St.error=t,St}}function y(t,e,n,o){try{t.call(e,n,o)}catch(t){return t}}function b(t,e,n){xt.async(function(t){var o=!1,r=y(n,e,function(n){o||(o=!0,e!==n?x(t,n,void 0):C(t,n))},function(e){o||(o=!0,O(t,e))},"Settle: "+(t._label||" unknown promise"));!o&&r&&(o=!0,O(t,r))},t)}function _(t,e){e._state===Tt?C(t,e._result):e._state===At?(e._onError=null,O(t,e._result)):$(e,void 0,function(n){e!==n?x(t,n,void 0):C(t,n)},function(e){return O(t,e)})}function w(t,e,n){e.constructor===t.constructor&&n===M&&t.constructor.resolve===h?_(t,e):n===St?(O(t,St.error),St.error=null):u(n)?b(t,e,n):C(t,e)}function x(t,e){t===e?C(t,e):c(e)?w(t,e,g(e)):C(t,e)}function k(t){t._onError&&t._onError(t._result),E(t)}function C(t,e){t._state===Et&&(t._result=e,t._state=Tt,0===t._subscribers.length?xt.instrument&&d("fulfilled",t):xt.async(E,t))}function O(t,e){t._state===Et&&(t._state=At,t._result=e,xt.async(k,t))}function $(t,e,n,o){var r=t._subscribers,i=r.length;t._onError=null,r[i]=e,r[i+Tt]=n,r[i+At]=o,0===i&&t._state&&xt.async(E,t)}function E(t){var e=t._subscribers,n=t._state;if(xt.instrument&&d(n===Tt?"fulfilled":"rejected",t),0!==e.length){for(var o=void 0,r=void 0,i=t._result,a=0;a<e.length;a+=3)o=e[a],r=e[a+n],o?S(n,o,r,i):r(i);t._subscribers.length=0}}function T(){this.error=null}function A(t,e){try{return t(e)}catch(t){return jt.error=t,jt}}function S(t,e,n,o){var r=u(n),i=void 0,a=void 0;if(r){if((i=A(n,o))===jt)a=i.error,i.error=null;else if(i===e)return void O(e,v())}else i=o;e._state!==Et||(r&&void 0===a?x(e,i):void 0!==a?O(e,a):t===Tt?C(e,i):t===At&&O(e,i))}function j(t,e){var n=!1;try{e(function(e){n||(n=!0,x(t,e))},function(e){n||(n=!0,O(t,e))})}catch(e){O(t,e)}}function M(t,e,n){var o=this,r=o._state;if(r===Tt&&!t||r===At&&!e)return xt.instrument&&d("chained",o,o),o;o._onError=null;var i=new o.constructor(m,n),a=o._result;if(xt.instrument&&d("chained",o,i),r===Et)$(o,i,t,e);else{var s=r===Tt?t:e;xt.async(function(){return S(r,i,s,a)})}return i}function L(t,e,n){return t===Tt?{state:"fulfilled",value:n}:{state:"rejected",reason:n}}function P(t,e){return Ct(t)?new Mt(this,t,!0,e).promise:this.reject(new TypeError("Promise.all must be called with an array"),e)}function I(t,e){var n=this,o=new n(m,e);if(!Ct(t))return O(o,new TypeError("Promise.race must be called with an array")),o;for(var r=0;o._state===Et&&r<t.length;r++)$(n.resolve(t[r]),void 0,function(t){return x(o,t)},function(t){return O(o,t)});return o}function N(t,e){var n=this,o=new n(m,e);return O(o,t),o}function F(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function D(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function B(){this.value=void 0}function R(t){try{return t.then}catch(t){return Nt.value=t,Nt}}function U(t,e,n){try{t.apply(e,n)}catch(t){return Nt.value=t,Nt}}function z(t,e){for(var n={},o=t.length,r=new Array(o),i=0;i<o;i++)r[i]=t[i];for(var a=0;a<e.length;a++){n[e[a]]=r[a+1]}return n}function H(t){for(var e=t.length,n=new Array(e-1),o=1;o<e;o++)n[o-1]=t[o];return n}function W(t,e){return{then:function(n,o){return t.call(e,n,o)}}}function V(t,e){var n=function(){for(var n=this,o=arguments.length,r=new Array(o+1),i=!1,a=0;a<o;++a){var s=arguments[a];if(!i){if((i=q(s))===Ft){var c=new It(m);return O(c,Ft.value),c}i&&!0!==i&&(s=W(i,s))}r[a]=s}var u=new It(m);return r[o]=function(t,n){t?O(u,t):void 0===e?x(u,n):!0===e?x(u,H(arguments)):Ct(e)?x(u,z(arguments,e)):x(u,n)},i?G(u,r,t,n):K(u,r,t,n)};return n.__proto__=t,n}function K(t,e,n,o){var r=U(n,o,e);return r===Nt&&O(t,r.value),t}function G(t,e,n,o){return It.all(e).then(function(e){var r=U(n,o,e);return r===Nt&&O(t,r.value),t})}function q(t){return!(!t||"object"!=typeof t)&&(t.constructor===It||R(t))}function J(t,e){return It.all(t,e)}function Z(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function X(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Q(t,e){return Ct(t)?new Dt(It,t,e).promise:It.reject(new TypeError("Promise.allSettled must be called with an array"),e)}function Y(t,e){return It.race(t,e)}function tt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function et(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function nt(t,e){return l(t)?new Rt(It,t,e).promise:It.reject(new TypeError("Promise.hash must be called with an object"),e)}function ot(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function rt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function it(t,e){return l(t)?new Ut(It,t,!1,e).promise:It.reject(new TypeError("RSVP.hashSettled must be called with an object"),e)}function at(t){throw setTimeout(function(){throw t}),t}function st(t){var e={resolve:void 0,reject:void 0};return e.promise=new It(function(t,n){e.resolve=t,e.reject=n},t),e}function ct(t,e,n){return Ct(t)?u(e)?It.all(t,n).then(function(t){for(var o=t.length,r=new Array(o),i=0;i<o;i++)r[i]=e(t[i]);return It.all(r,n)}):It.reject(new TypeError("RSVP.map expects a function as a second argument"),n):It.reject(new TypeError("RSVP.map must be called with an array"),n)}function ut(t,e){return It.resolve(t,e)}function lt(t,e){return It.reject(t,e)}function ft(t,e){return It.all(t,e)}function pt(t,e){return It.resolve(t,e).then(function(t){return ft(t,e)})}function dt(t,e,n){return Ct(t)||l(t)&&void 0!==t.then?u(e)?(Ct(t)?ft(t,n):pt(t,n)).then(function(t){for(var o=t.length,r=new Array(o),i=0;i<o;i++)r[i]=e(t[i]);return ft(r,n).then(function(e){for(var n=new Array(o),r=0,i=0;i<o;i++)e[i]&&(n[r]=t[i],r++);return n.length=r,n})}):It.reject(new TypeError("RSVP.filter expects function as a second argument"),n):It.reject(new TypeError("RSVP.filter must be called with an array or promise"),n)}function ht(t,e){Jt[zt]=t,Jt[zt+1]=e,2===(zt+=2)&&Zt()}function vt(){return void 0!==Ht?function(){Ht(gt)}:mt()}function mt(){return function(){return setTimeout(gt,1)}}function gt(){for(var t=0;t<zt;t+=2){(0,Jt[t])(Jt[t+1]),Jt[t]=void 0,Jt[t+1]=void 0}zt=0}function yt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bt(){xt.on.apply(xt,arguments)}function _t(){xt.off.apply(xt,arguments)}n.d(e,"asap",function(){return ht}),n.d(e,"cast",function(){return Qt}),n.d(e,"Promise",function(){return It}),n.d(e,"EventTarget",function(){return wt}),n.d(e,"all",function(){return J}),n.d(e,"allSettled",function(){return Q}),n.d(e,"race",function(){return Y}),n.d(e,"hash",function(){return nt}),n.d(e,"hashSettled",function(){return it}),n.d(e,"rethrow",function(){return at}),n.d(e,"defer",function(){return st}),n.d(e,"denodeify",function(){return V}),n.d(e,"configure",function(){return s}),n.d(e,"on",function(){return bt}),n.d(e,"off",function(){return _t}),n.d(e,"resolve",function(){return ut}),n.d(e,"reject",function(){return lt}),n.d(e,"map",function(){return ct}),n.d(e,"async",function(){return Yt}),n.d(e,"filter",function(){return dt});var wt={mixin:function(t){return t.on=this.on,t.off=this.off,t.trigger=this.trigger,t._promiseCallbacks=void 0,t},on:function(t,e){if("function"!=typeof e)throw new TypeError("Callback must be a function");var n=a(this),o=void 0;o=n[t],o||(o=n[t]=[]),-1===i(o,e)&&o.push(e)},off:function(t,e){var n=a(this),o=void 0,r=void 0;if(!e)return void(n[t]=[]);o=n[t],-1!==(r=i(o,e))&&o.splice(r,1)},trigger:function(t,e,n){var o=a(this),r=void 0;if(r=o[t])for(var i=0;i<r.length;i++)(0,r[i])(e,n)}},xt={instrument:!1};wt.mixin(xt);var kt=void 0;kt=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var Ct=kt,Ot=Date.now||function(){return(new Date).getTime()},$t=[],Et=void 0,Tt=1,At=2,St=new T,jt=new T,Mt=function(){function t(t,e,n,o){this._instanceConstructor=t,this.promise=new t(m,o),this._abortOnReject=n,this._init.apply(this,arguments)}return t.prototype._init=function(t,e){var n=e.length||0;this.length=n,this._remaining=n,this._result=new Array(n),this._enumerate(e),0===this._remaining&&C(this.promise,this._result)},t.prototype._enumerate=function(t){for(var e=this.length,n=this.promise,o=0;n._state===Et&&o<e;o++)this._eachEntry(t[o],o)},t.prototype._settleMaybeThenable=function(t,e){var n=this._instanceConstructor,o=n.resolve;if(o===h){var r=g(t);if(r===M&&t._state!==Et)t._onError=null,this._settledAt(t._state,e,t._result);else if("function"!=typeof r)this._remaining--,this._result[e]=this._makeResult(Tt,e,t);else if(n===It){var i=new n(m);w(i,t,r),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(o(t),e)},t.prototype._eachEntry=function(t,e){f(t)?this._settleMaybeThenable(t,e):(this._remaining--,this._result[e]=this._makeResult(Tt,e,t))},t.prototype._settledAt=function(t,e,n){var o=this.promise;o._state===Et&&(this._abortOnReject&&t===At?O(o,n):(this._remaining--,this._result[e]=this._makeResult(t,e,n),0===this._remaining&&C(o,this._result)))},t.prototype._makeResult=function(t,e,n){return n},t.prototype._willSettleAt=function(t,e){var n=this;$(t,void 0,function(t){return n._settledAt(Tt,e,t)},function(t){return n._settledAt(At,e,t)})},t}(),Lt="rsvp_"+Ot()+"-",Pt=0,It=function(){function t(e,n){this._id=Pt++,this._label=n,this._state=void 0,this._result=void 0,this._subscribers=[],xt.instrument&&d("created",this),m!==e&&("function"!=typeof e&&F(),this instanceof t?j(this,e):D())}return t.prototype._onError=function(t){var e=this;xt.after(function(){e._onError&&xt.trigger("error",t,e._label)})},t.prototype.catch=function(t,e){return this.then(void 0,t,e)},t.prototype.finally=function(t,e){var n=this,o=n.constructor;return n.then(function(e){return o.resolve(t()).then(function(){return e})},function(e){return o.resolve(t()).then(function(){throw e})},e)},t}();It.cast=h,It.all=P,It.race=I,It.resolve=h,It.reject=N,It.prototype._guidKey=Lt,It.prototype.then=M;var Nt=new B,Ft=new B,Dt=function(t){function e(e,n,o){return Z(this,t.call(this,e,n,!1,o))}return X(e,t),e}(Mt);Dt.prototype._makeResult=L;var Bt=Object.prototype.hasOwnProperty,Rt=function(t){function e(e,n){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments[3];return tt(this,t.call(this,e,n,o,r))}return et(e,t),e.prototype._init=function(t,e){this._result={},this._enumerate(e),0===this._remaining&&C(this.promise,this._result)},e.prototype._enumerate=function(t){var e=this.promise,n=[];for(var o in t)Bt.call(t,o)&&n.push({position:o,entry:t[o]});var r=n.length;this._remaining=r;for(var i=void 0,a=0;e._state===Et&&a<r;a++)i=n[a],this._eachEntry(i.entry,i.position)},e}(Mt),Ut=function(t){function e(e,n,o){return ot(this,t.call(this,e,n,!1,o))}return rt(e,t),e}(Rt);Ut.prototype._makeResult=L;var zt=0,Ht=void 0,Wt="undefined"!=typeof window?window:void 0,Vt=Wt||{},Kt=Vt.MutationObserver||Vt.WebKitMutationObserver,Gt="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),qt="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Jt=new Array(1e3),Zt=void 0;Zt=Gt?function(){var e=t.nextTick,n=t.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/);return Array.isArray(n)&&"0"===n[1]&&"10"===n[2]&&(e=o),function(){return e(gt)}}():Kt?function(){var t=0,e=new Kt(gt),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){return n.data=t=++t%2}}():qt?function(){var t=new MessageChannel;return t.port1.onmessage=gt,function(){return t.port2.postMessage(0)}}():void 0===Wt?function(){try{var t=n(19);return Ht=t.runOnLoop||t.runOnContext,vt()}catch(t){return mt()}}():mt();if("object"==typeof self)self;else{if("object"!=typeof r)throw new Error("no global: `self` or `global` found");r}var Xt;xt.async=ht,xt.after=function(t){return setTimeout(t,0)};var Qt=ut,Yt=function(t,e){return xt.async(t,e)};if("undefined"!=typeof window&&"object"==typeof window.__PROMISE_INSTRUMENTATION__){var te=window.__PROMISE_INSTRUMENTATION__;s("instrument",!0);for(var ee in te)te.hasOwnProperty(ee)&&bt(ee,te[ee])}var ne=(Xt={asap:ht,cast:Qt,Promise:It,EventTarget:wt,all:J,allSettled:Q,race:Y,hash:nt,hashSettled:it,rethrow:at,defer:st,denodeify:V,configure:s,on:bt,off:_t,resolve:ut,reject:lt,map:ct},yt(Xt,"async",Yt),yt(Xt,"filter",dt),Xt);e.default=ne}.call(e,n(5),n(4).setImmediate,n(0))},function(t,e,n){(function(t,n){function o(t,e){return null==t?void 0:t[e]}function r(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function i(t){return R.call(t)}function a(t){return!(!g(t)||c(t))&&(v(t)||r(t)?U:E).test(l(t))}function s(t,e){var n=o(t,e);return a(n)?n:void 0}function c(t){return!!F&&F in t}function u(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||I)}function l(t){if(null!=t){try{return D.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function f(t){return d(t)&&B.call(t,"callee")&&(!H.call(t,"callee")||R.call(t)==w)}function p(t){return null!=t&&m(t.length)&&!v(t)}function d(t){return y(t)&&p(t)}function h(t){if(p(t)&&(rt(t)||"string"==typeof t||"function"==typeof t.splice||it(t)||f(t)))return!t.length;var e=ot(t);if(e==C||e==O)return!t.size;if(X||u(t))return!V(t).length;for(var n in t)if(B.call(t,n))return!1;return!0}function v(t){var e=g(t)?R.call(t):"";return e==x||e==k}function m(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=_}function g(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){return!!t&&"object"==typeof t}function b(){return!1}var _=9007199254740991,w="[object Arguments]",x="[object Function]",k="[object GeneratorFunction]",C="[object Map]",O="[object Set]",$=/[\\^$.*+?()[\]{}|]/g,E=/^\[object .+?Constructor\]$/,T="object"==typeof t&&t&&t.Object===Object&&t,A="object"==typeof self&&self&&self.Object===Object&&self,S=T||A||Function("return this")(),j="object"==typeof e&&e&&!e.nodeType&&e,M=j&&"object"==typeof n&&n&&!n.nodeType&&n,L=M&&M.exports===j,P=Function.prototype,I=Object.prototype,N=S["__core-js_shared__"],F=function(){var t=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),D=P.toString,B=I.hasOwnProperty,R=I.toString,U=RegExp("^"+D.call(B).replace($,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=L?S.Buffer:void 0,H=I.propertyIsEnumerable,W=z?z.isBuffer:void 0,V=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object),K=s(S,"DataView"),G=s(S,"Map"),q=s(S,"Promise"),J=s(S,"Set"),Z=s(S,"WeakMap"),X=!H.call({valueOf:1},"valueOf"),Q=l(K),Y=l(G),tt=l(q),et=l(J),nt=l(Z),ot=i;(K&&"[object DataView]"!=ot(new K(new ArrayBuffer(1)))||G&&ot(new G)!=C||q&&"[object Promise]"!=ot(q.resolve())||J&&ot(new J)!=O||Z&&"[object WeakMap]"!=ot(new Z))&&(ot=function(t){var e=R.call(t),n="[object Object]"==e?t.constructor:void 0,o=n?l(n):void 0;if(o)switch(o){case Q:return"[object DataView]";case Y:return C;case tt:return"[object Promise]";case et:return O;case nt:return"[object WeakMap]"}return e});var rt=Array.isArray,it=W||b;n.exports=h}).call(e,n(0),n(20)(t))},function(t,e){function n(t,e){return t?r.call(t,e):""}var o=Array.prototype,r=o.join;t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(6),r=jQuery;e.default={get:function(t,e,n){return new o.Promise(function(o,i){r.getJSON({url:t,beforeSend:function(t){t.setRequestHeader("Accept","application/vnd.api+json"),t.setRequestHeader("Content-Type","application/vnd.api+json"),t.setRequestHeader("OSWP-Plugin-Version",e),n&&t.setRequestHeader("OSWP-Client-Token",n)}}).done(o).fail(i)})}}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=n(11),s=o(a),c=n(16),u=o(c);window.OpinionStage&&void 0!==OpinionStage.contentPopup&&console.warn("[OpinionStage] content-popup APIs was already included"),function(t,e){function n(){var t=this;t.modal=new s.default({content:e("[data-opinionstage-content-popup-template]").html(),onCreate:function(e){t.app=new u.default(e)},onClose:function(e){t.app.isModalOpened=!1},onOpen:function(e){t.app.isModalOpened=!0}})}var o=function(){function t(){r(this,t),this.app=void 0,this.modal=void 0}return i(t,[{key:"open",value:function(t){var o=this,r=t.onWidgetSelect;if("function"!=typeof r)throw new Error("onWidgetSelect must be a function");e(function(){o.app||n.call(o),o.app.widgetSelectCb=r,o.modal.open()})}}]),t}();t.contentPopup=new o}(window.OpinionStage=window.OpinionStage||{},jQuery),jQuery(function(t){function e(t){wp.media.editor.insert(t.shortcode)}window.location.href.indexOf("modal_is_open")>-1&&(OpinionStage.contentPopup.open({onWidgetSelect:e}),modal.open()),t("body").on("click","[data-opinionstage-content-launch]",function(t){t.preventDefault(),OpinionStage.contentPopup.open({onWidgetSelect:e})})})},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=n(12),a=function(t){return t&&t.__esModule?t:{default:t}}(i);n(13);var s=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,t),this.modal=new a.default.modal({closeMethods:["overlay","escape"],cssClass:["opinionstage-content-popup"],onClose:e.onClose,onOpen:e.onOpen}),this.modal.setContent(e.content),"function"==typeof e.onCreate&&e.onCreate(this)}return r(t,[{key:"open",value:function(){this.modal.open()}},{key:"close",value:function(){this.modal.close()}},{key:"checkOverflow",value:function(){this.modal.checkOverflow()}}]),t}();e.default=s},function(t,e,n){var o,r;!function(i,a){o=a,void 0!==(r="function"==typeof o?o.call(e,n,e,t):o)&&(t.exports=r)}(0,function(){function t(t){var e={onClose:null,onOpen:null,beforeClose:null,stickyFooter:!1,footer:!1,cssClass:[],closeLabel:"Close",closeMethods:["overlay","button","escape"]};this.opts=u({},e,t),this.init()}function e(){this.modalBoxFooter&&(this.modalBoxFooter.style.width=this.modalBox.clientWidth+"px",this.modalBoxFooter.style.left=this.modalBox.offsetLeft+"px")}function n(){this.modal=document.createElement("div"),this.modal.classList.add("tingle-modal"),0!==this.opts.closeMethods.length&&-1!==this.opts.closeMethods.indexOf("overlay")||this.modal.classList.add("tingle-modal--noOverlayClose"),this.modal.style.display="none",this.opts.cssClass.forEach(function(t){"string"==typeof t&&this.modal.classList.add(t)},this),-1!==this.opts.closeMethods.indexOf("button")&&(this.modalCloseBtn=document.createElement("button"),this.modalCloseBtn.classList.add("tingle-modal__close"),this.modalCloseBtnIcon=document.createElement("span"),this.modalCloseBtnIcon.classList.add("tingle-modal__closeIcon"),this.modalCloseBtnIcon.innerHTML="×",this.modalCloseBtnLabel=document.createElement("span"),this.modalCloseBtnLabel.classList.add("tingle-modal__closeLabel"),this.modalCloseBtnLabel.innerHTML=this.opts.closeLabel,this.modalCloseBtn.appendChild(this.modalCloseBtnIcon),this.modalCloseBtn.appendChild(this.modalCloseBtnLabel)),this.modalBox=document.createElement("div"),this.modalBox.classList.add("tingle-modal-box"),this.modalBoxContent=document.createElement("div"),this.modalBoxContent.classList.add("tingle-modal-box__content"),this.modalBox.appendChild(this.modalBoxContent),-1!==this.opts.closeMethods.indexOf("button")&&this.modal.appendChild(this.modalCloseBtn),this.modal.appendChild(this.modalBox)}function o(){this.modalBoxFooter=document.createElement("div"),this.modalBoxFooter.classList.add("tingle-modal-box__footer"),this.modalBox.appendChild(this.modalBoxFooter)}function r(){this._events={clickCloseBtn:this.close.bind(this),clickOverlay:a.bind(this),resize:this.checkOverflow.bind(this),keyboardNav:i.bind(this)},-1!==this.opts.closeMethods.indexOf("button")&&this.modalCloseBtn.addEventListener("click",this._events.clickCloseBtn),this.modal.addEventListener("mousedown",this._events.clickOverlay),window.addEventListener("resize",this._events.resize),document.addEventListener("keydown",this._events.keyboardNav)}function i(t){-1!==this.opts.closeMethods.indexOf("escape")&&27===t.which&&this.isOpen()&&this.close()}function a(t){-1!==this.opts.closeMethods.indexOf("overlay")&&!s(t.target,"tingle-modal")&&t.clientX<this.modal.clientWidth&&this.close()}function s(t,e){for(;(t=t.parentElement)&&!t.classList.contains(e););return t}function c(){-1!==this.opts.closeMethods.indexOf("button")&&this.modalCloseBtn.removeEventListener("click",this._events.clickCloseBtn),this.modal.removeEventListener("mousedown",this._events.clickOverlay),window.removeEventListener("resize",this._events.resize),document.removeEventListener("keydown",this._events.keyboardNav)}function u(){for(var t=1;t<arguments.length;t++)for(var e in arguments[t])arguments[t].hasOwnProperty(e)&&(arguments[0][e]=arguments[t][e]);return arguments[0]}var l=function(){var t,e=document.createElement("tingle-test-transition"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in n)if(void 0!==e.style[t])return n[t]}();return t.prototype.init=function(){this.modal||(n.call(this),r.call(this),document.body.insertBefore(this.modal,document.body.firstChild),this.opts.footer&&this.addFooter())},t.prototype.destroy=function(){null!==this.modal&&(c.call(this),this.modal.parentNode.removeChild(this.modal),this.modal=null)},t.prototype.open=function(){this.modal.style.removeProperty?this.modal.style.removeProperty("display"):this.modal.style.removeAttribute("display"),document.body.classList.add("tingle-enabled"),this.setStickyFooter(this.opts.stickyFooter),this.modal.classList.add("tingle-modal--visible");var t=this;l?this.modal.addEventListener(l,function e(){"function"==typeof t.opts.onOpen&&t.opts.onOpen.call(t),t.modal.removeEventListener(l,e,!1)},!1):"function"==typeof t.opts.onOpen&&t.opts.onOpen.call(t),this.checkOverflow()},t.prototype.isOpen=function(){return!!this.modal.classList.contains("tingle-modal--visible")},t.prototype.close=function(){if("function"==typeof this.opts.beforeClose){if(!this.opts.beforeClose.call(this))return}document.body.classList.remove("tingle-enabled"),this.modal.classList.remove("tingle-modal--visible");var t=this;l?this.modal.addEventListener(l,function e(){t.modal.removeEventListener(l,e,!1),t.modal.style.display="none","function"==typeof t.opts.onClose&&t.opts.onClose.call(this)},!1):(t.modal.style.display="none","function"==typeof t.opts.onClose&&t.opts.onClose.call(this))},t.prototype.setContent=function(t){"string"==typeof t?this.modalBoxContent.innerHTML=t:(this.modalBoxContent.innerHTML="",this.modalBoxContent.appendChild(t))},t.prototype.getContent=function(){return this.modalBoxContent},t.prototype.addFooter=function(){o.call(this)},t.prototype.setFooterContent=function(t){this.modalBoxFooter.innerHTML=t},t.prototype.getFooterContent=function(){return this.modalBoxFooter},t.prototype.setStickyFooter=function(t){this.isOverflow()||(t=!1),t?this.modalBox.contains(this.modalBoxFooter)&&(this.modalBox.removeChild(this.modalBoxFooter),this.modal.appendChild(this.modalBoxFooter),this.modalBoxFooter.classList.add("tingle-modal-box__footer--sticky"),e.call(this),this.modalBoxContent.style["padding-bottom"]=this.modalBoxFooter.clientHeight+20+"px"):this.modalBoxFooter&&(this.modalBox.contains(this.modalBoxFooter)||(this.modal.removeChild(this.modalBoxFooter),this.modalBox.appendChild(this.modalBoxFooter),this.modalBoxFooter.style.width="auto",this.modalBoxFooter.style.left="",this.modalBoxContent.style["padding-bottom"]="",this.modalBoxFooter.classList.remove("tingle-modal-box__footer--sticky")))},t.prototype.addFooterBtn=function(t,e,n){var o=document.createElement("button");return o.innerHTML=t,o.addEventListener("click",n),"string"==typeof e&&e.length&&e.split(" ").forEach(function(t){o.classList.add(t)}),this.modalBoxFooter.appendChild(o),o},t.prototype.resize=function(){console.warn("Resize is deprecated and will be removed in version 1.0")},t.prototype.isOverflow=function(){var t=window.innerHeight;return this.modalBox.clientHeight>=t},t.prototype.checkOverflow=function(){this.modal.classList.contains("tingle-modal--visible")&&(this.isOverflow()?this.modal.classList.add("tingle-modal--overflow"):this.modal.classList.remove("tingle-modal--overflow"),!this.isOverflow()&&this.opts.stickyFooter?this.setStickyFooter(!1):this.isOverflow()&&this.opts.stickyFooter&&(e.call(this),this.setStickyFooter(!0)))},{modal:t}})},function(t,e,n){var o=n(14);"string"==typeof o&&(o=[[t.i,o,""]]);var r={};r.transform=void 0;n(3)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){e=t.exports=n(2)(!1),e.push([t.i,".opinionstage-content-popup.tingle-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:159900;display:flex;visibility:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4vh;overflow:hidden;background:rgba(0,0,0,.8);opacity:0;cursor:pointer;-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.opinionstage-content-popup.tingle-modal *{-webkit-box-sizing:border-box;box-sizing:border-box}.opinionstage-content-popup .tingle-modal-box{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-top:auto;margin-bottom:auto;max-width:945px;min-width:875px;width:70%;height:92vh;background:#fff;opacity:1;cursor:auto;-webkit-transition:-webkit-transform .3s cubic-bezier(.175,.885,.32,1.275);transition:-webkit-transform .3s cubic-bezier(.175,.885,.32,1.275);transition:transform .3s cubic-bezier(.175,.885,.32,1.275);transition:transform .3s cubic-bezier(.175,.885,.32,1.275),-webkit-transform .3s cubic-bezier(.175,.885,.32,1.275);-webkit-transform:scale(.8);transform:scale(.8)}.opinionstage-content-popup .tingle-modal-box__content{padding:0}.opinionstage-content-popup.tingle-modal--visible{visibility:visible;opacity:1}.opinionstage-content-popup.tingle-modal--visible .tingle-modal-box{-webkit-transform:scale(1);transform:scale(1)}@media (max-width:540px){.opinionstage-content-popup .tingle-modal-box{width:auto}.opinionstage-content-popup.tingle-modal{top:60px;display:block;width:100%}.opinionstage-content-popup.tingle-modal--overflow{padding:0}}.tingle-enabled{overflow:hidden;height:100%}.tingle-enabled .tingle-content-wrapper{-webkit-filter:blur(15px);filter:blur(15px)}",""])},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,o=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var r=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r))return t;var i;return i=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:o+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return new r.default({el:"[data-opinionstage-content-popup]",data:{widgetSelectCb:function(t){console.log("dumb widget insert callback, widget:",t)},showClientContent:!0,isClientLoggedIn:null,isModalOpened:!0},beforeMount:function(){this.isClientLoggedIn="1"===this.$el.dataset.opinionstageClientLoggedIn},methods:{closePopup:function(){t.close(),this.isModalOpened=!1},selectWidgetAndExit:function(t){this.widgetSelectCb(t),this.closePopup()},showClientWidgets:function(){this.showClientContent=!0},showTemplatesWidgets:function(){this.showClientContent=!1}}})};var o=n(1),r=function(t){return t&&t.__esModule?t:{default:t}}(o);n(18),n(24),n(26),n(27)},function(t,e,n){(function(t,e){!function(t,n){"use strict";function o(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return u[c]=o,s(c),c++}function r(t){delete u[t]}function i(t){var e=t.callback,o=t.args;switch(o.length){case 0:e();break;case 1:e(o[0]);break;case 2:e(o[0],o[1]);break;case 3:e(o[0],o[1],o[2]);break;default:e.apply(n,o)}}function a(t){if(l)setTimeout(a,0,t);else{var e=u[t];if(e){l=!0;try{i(e)}finally{r(t),l=!1}}}}if(!t.setImmediate){var s,c=1,u={},l=!1,f=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?function(){s=function(t){e.nextTick(function(){a(t)})}}():function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&a(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),s=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){a(t.data)},s=function(e){t.port2.postMessage(e)}}():f&&"onreadystatechange"in f.createElement("script")?function(){var t=f.documentElement;s=function(e){var n=f.createElement("script");n.onreadystatechange=function(){a(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():function(){s=function(t){setTimeout(a,0,t)}}(),p.setImmediate=o,p.clearImmediate=r}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(0),n(5))},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t){var e=this;return this.dataLoading=!0,(this.showClientContent?i:a).call(this,t).then(function(){e.dataLoading=!1})}function i(t){return this.clientIsLoggedIn?this.$store.dispatch({type:"loadClientWidgets",widgetsUrl:this.clientWidgetsUrl,pluginVersion:this.pluginVersion,accessToken:this.accessKey,filtering:t}):g.default.resolve()}function a(t){return this.$store.dispatch({type:"loadTemplateWidgets",widgetsUrl:this.sharedWidgetsUrl,pluginVersion:this.pluginVersion,filtering:t})}function s(t,e,n){var o=[];return e&&o.push("type="+e),n&&o.push("updated_at="+n),(0,b.default)(o)?t:t+"?"+(0,w.default)(o,"&")}function c(t,e){var n=this,o=s(this.clientWidgetsHasNewUrl,t,e);return O.default.get(o,this.pluginVersion,this.accessKey).then(function(t){n.newWidgetsAvailable=t.data["has-new-widgets"]}).catch(function(t){console.error("[social-polls-by-opinionstage][content-popup] can't load widgets:",t.statusText)})}function u(t){return t>1}function l(){var t=this;this.clientIsLoggedIn&&(this.isCheckingWidgetUpdates=!0,this.widgetUpdatesChecker=setInterval(function(){t.checkWidgetUpdates({widgetType:t.searchCriteria.type})},3e3))}function f(){this.isCheckingWidgetUpdates=!1,clearInterval(this.widgetUpdatesChecker)}function p(){void 0!==this.widgets[0]?this.lastUpdateTime=this.widgets[0].updatedAt:this.lastUpdateTime=null}function d(){this.searchCriteria.type&&this.searchCriteria.title?this.reloadData.call(this,{widgetType:this.searchCriteria.type,widgetTitle:this.searchCriteria.title}):this.searchCriteria.type?this.reloadData.call(this,{widgetType:this.searchCriteria.type,widgetTitle:""}):this.reloadData.call({widgetType:"all",widgetTitle:""})}Object.defineProperty(e,"__esModule",{value:!0});var h=n(1),v=o(h),m=n(6),g=o(m),y=n(7),b=o(y),_=n(8),w=o(_),x=n(21),k=o(x),C=n(9),O=o(C);e.default=v.default.component("popup-content",{template:"#opinionstage-popup-content",props:["modalIsOpened","showClientContent","clientIsLoggedIn","clientWidgetsUrl","clientWidgetsHasNewUrl","sharedWidgetsUrl","accessKey","pluginVersion"],data:function(){return{dataLoading:!1,widgets:[],searchCriteria:{},noMoreData:!1,newWidgetsAvailable:!1,lastUpdateTime:null,isCheckingWidgetUpdates:!1,widgetUpdatesChecker:null}},mounted:function(){l.call(this)},store:k.default,methods:{reloadData:function(t){var e=this,n=t.widgetType,o=t.widgetTitle;this.searchCriteria={page:1,perPage:9,type:n,title:o},this.$store.commit("clearWidgets"),r.call(this,this.searchCriteria).then(function(){e.widgets=e.$store.state.widgets[0],e.noMoreData=!u(e.$store.state.nextPageNumber),e.searchCriteria.title||p.call(e)})},appendData:function(){var t=this;this.searchCriteria.page+=1,r.call(this,this.searchCriteria).then(function(){var e=t.$store.state.widgets[t.searchCriteria.page-1];t.noMoreData=!u(t.$store.state.nextPageNumber),t.widgets=t.widgets.concat(e)})},widgetSelected:function(t){this.$emit("widget-selected",t)},checkWidgetUpdates:function(t){var e=this,n=t.widgetType;c.call(this,n,this.lastUpdateTime).then(function(){e.newWidgetsAvailable&&f.call(e)})},startWidgetUpdatesChecker:function(){this.newWidgetsAvailable=!1,l.call(this)}},watch:{modalIsOpened:function(t){t&&this.showClientContent&&this.clientIsLoggedIn?(d.call(this),l.call(this)):(this.newWidgetsAvailable=!1,f.call(this))},showClientContent:function(t){t&&this.modalIsOpened&&this.clientIsLoggedIn?l.call(this):f.call(this)}}})},function(t,e){},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t){return t.data.map(function(t){return{id:t.id,type:t.attributes.type,title:t.attributes.title,imageUrl:t.attributes["image-url"],updatedAt:t.attributes["updated-at"],landingPageUrl:t.attributes["landing-page-url"],editUrl:t.attributes["edit-url"],statsUrl:t.attributes["stats-url"],shortcode:t.attributes.shortcode}})}function i(t){return t.meta.nextPage}function a(t,e){var n=e.type,o=e.title,r=e.page,i=e.perPage,a=[];if(n&&a.push("type="+n),!(0,h.default)(o)){var s=(0,p.default)(o);(0,h.default)(s)||a.push("title_like="+s)}return r&&a.push("page="+r),i&&a.push("per_page="+i),(0,h.default)(a)?t:t+"?"+(0,m.default)(a,"&")}Object.defineProperty(e,"__esModule",{value:!0});var s=n(1),c=o(s),u=n(22),l=o(u),f=n(23),p=o(f),d=n(7),h=o(d),v=n(8),m=o(v),g=n(9),y=o(g);c.default.use(l.default),e.default=new l.default.Store({state:{widgets:[],nextPageNumber:null},mutations:{loadWidgets:function(t,e){var n=e.widgetsData;t.widgets.push(r(n)),t.nextPageNumber=i(n)},loadTemplateWidgets:function(t,e){var n=e.widgetsData;t.widgets.push(r(n).map(function(t){return t.template=!0,t})),t.nextPageNumber=i(n)},clearWidgets:function(t){t.widgets=[],t.nextPageNumber=null}},actions:{loadClientWidgets:function(t,e){return(0,t.dispatch)("load",{commitType:"loadWidgets",widgetsUrl:e.widgetsUrl,pluginVersion:e.pluginVersion,accessToken:e.accessToken,filtering:e.filtering})},loadTemplateWidgets:function(t,e){return(0,t.dispatch)("load",{commitType:"loadTemplateWidgets",widgetsUrl:e.widgetsUrl,pluginVersion:e.pluginVersion,filtering:e.filtering})},load:function(t,e){var n=t.commit,o=e.commitType,r=e.widgetsUrl,i=e.filtering,s=e.pluginVersion,c=e.accessToken,u=a(r,i);return y.default.get(u,s,c).then(function(t){n({type:o,widgetsData:t})}).catch(function(t){console.error("[social-polls-by-opinionstage][content-popup] can't load widgets:",t.statusText)})}}})},function(t,e,n){"use strict";function o(t){O&&(t._devtoolHook=O,O.emit("vuex:init",t),O.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){O.emit("vuex:mutation",t,e)}))}function r(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function i(t){return null!==t&&"object"==typeof t}function a(t){return t&&"function"==typeof t.then}function s(t,e,n){if(e.update(n),n.modules)for(var o in n.modules){if(!e.getChild(o))return;s(t.concat(o),e.getChild(o),n.modules[o])}}function c(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function u(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;f(t,n,[],t._modules.root,!0),l(t,n,e)}function l(t,e,n){var o=t._vm;t.getters={};var i=t._wrappedGetters,a={};r(i,function(e,n){a[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var s=A.config.silent;A.config.silent=!0,t._vm=new A({data:{$$state:e},computed:a}),A.config.silent=s,t.strict&&g(t),o&&(n&&t._withCommit(function(){o._data.$$state=null}),A.nextTick(function(){return o.$destroy()}))}function f(t,e,n,o,r){var i=!n.length,a=t._modules.getNamespace(n);if(o.namespaced&&(t._modulesNamespaceMap[a]=o),!i&&!r){var s=y(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){A.set(s,c,o.state)})}var u=o.context=p(t,a,n);o.forEachMutation(function(e,n){h(t,a+n,e,u)}),o.forEachAction(function(e,n){var o=e.root?n:a+n,r=e.handler||e;v(t,o,r,u)}),o.forEachGetter(function(e,n){m(t,a+n,e,u)}),o.forEachChild(function(o,i){f(t,e,n.concat(i),o,r)})}function p(t,e,n){var o=""===e,r={dispatch:o?t.dispatch:function(n,o,r){var i=b(n,o,r),a=i.payload,s=i.options,c=i.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:o?t.commit:function(n,o,r){var i=b(n,o,r),a=i.payload,s=i.options,c=i.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(r,{getters:{get:o?function(){return t.getters}:function(){return d(t,e)}},state:{get:function(){return y(t.state,n)}}}),r}function d(t,e){var n={},o=e.length;return Object.keys(t.getters).forEach(function(r){if(r.slice(0,o)===e){var i=r.slice(o);Object.defineProperty(n,i,{get:function(){return t.getters[r]},enumerable:!0})}}),n}function h(t,e,n,o){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,o.state,e)})}function v(t,e,n,o){(t._actions[e]||(t._actions[e]=[])).push(function(e,r){var i=n.call(t,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:t.getters,rootState:t.state},e,r);return a(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):i})}function m(t,e,n,o){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(o.state,o.getters,t.state,t.getters)})}function g(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function y(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function b(t,e,n){return i(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function _(t){A&&t===A||(A=t,C(A))}function w(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function x(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function k(t,e,n){return t._modulesNamespaceMap[n]}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"Store",function(){return S}),n.d(e,"install",function(){return _}),n.d(e,"mapState",function(){return M}),n.d(e,"mapMutations",function(){return L}),n.d(e,"mapGetters",function(){return P}),n.d(e,"mapActions",function(){return I}),n.d(e,"createNamespacedHelpers",function(){return N});/**
|
14 |
* vuex v2.5.0
|
15 |
* (c) 2017 Evan You
|
16 |
* @license MIT
|
17 |
*/
|
18 |
-
var C=function(t){function e(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:e});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,n.call(this,t)}}},O="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,$=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},E={namespaced:{configurable:!0}};E.namespaced.get=function(){return!!this._rawModule.namespaced},$.prototype.addChild=function(t,e){this._children[t]=e},$.prototype.removeChild=function(t){delete this._children[t]},$.prototype.getChild=function(t){return this._children[t]},$.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},$.prototype.forEachChild=function(t){r(this._children,t)},$.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},$.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},$.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties($.prototype,E);var T=function(t){this.register([],t,!1)};T.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},T.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},T.prototype.update=function(t){s([],this.root,t)},T.prototype.register=function(t,e,n){var o=this;void 0===n&&(n=!0);var i=new $(e,n);if(0===t.length)this.root=i;else{this.get(t.slice(0,-1)).addChild(t[t.length-1],i)}e.modules&&r(e.modules,function(e,r){o.register(t.concat(r),e,n)})},T.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var A,S=function(t){var e=this;void 0===t&&(t={}),!A&&"undefined"!=typeof window&&window.Vue&&_(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1);var i=t.state;void 0===i&&(i={}),"function"==typeof i&&(i=i()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new T(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new A;var a=this,s=this,c=s.dispatch,u=s.commit;this.dispatch=function(t,e){return c.call(a,t,e)},this.commit=function(t,e,n){return u.call(a,t,e,n)},this.strict=r,f(this,i,[],this._modules.root),l(this,i),n.forEach(function(t){return t(e)}),A.config.devtools&&o(this)},j={state:{configurable:!0}};j.state.get=function(){return this._vm._data.$$state},j.state.set=function(t){},S.prototype.commit=function(t,e,n){var o=this,r=b(t,e,n),i=r.type,a=r.payload,s=(r.options,{type:i,payload:a}),c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(s,o.state)}))},S.prototype.dispatch=function(t,e){var n=this,o=b(t,e),r=o.type,i=o.payload,a={type:r,payload:i},s=this._actions[r];if(s)return this._actionSubscribers.forEach(function(t){return t(a,n.state)}),s.length>1?Promise.all(s.map(function(t){return t(i)})):s[0](i)},S.prototype.subscribe=function(t){return c(t,this._subscribers)},S.prototype.subscribeAction=function(t){return c(t,this._actionSubscribers)},S.prototype.watch=function(t,e,n){var o=this;return this._watcherVM.$watch(function(){return t(o.state,o.getters)},e,n)},S.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},S.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),f(this,this.state,t,this._modules.get(t),n.preserveState),l(this,this.state)},S.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=y(e.state,t.slice(0,-1));A.delete(n,t[t.length-1])}),u(this)},S.prototype.hotUpdate=function(t){this._modules.update(t),u(this,!0)},S.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(S.prototype,j);var M=x(function(t,e){var n={};return w(e).forEach(function(e){var o=e.key,r=e.val;n[o]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var o=k(this.$store,"mapState",t);if(!o)return;e=o.context.state,n=o.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[o].vuex=!0}),n}),L=x(function(t,e){var n={};return w(e).forEach(function(e){var o=e.key,r=e.val;n[o]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var o=this.$store.commit;if(t){var i=k(this.$store,"mapMutations",t);if(!i)return;o=i.context.commit}return"function"==typeof r?r.apply(this,[o].concat(e)):o.apply(this.$store,[r].concat(e))}}),n}),P=x(function(t,e){var n={};return w(e).forEach(function(e){var o=e.key,r=e.val;r=t+r,n[o]=function(){if(!t||k(this.$store,"mapGetters",t))return this.$store.getters[r]},n[o].vuex=!0}),n}),I=x(function(t,e){var n={};return w(e).forEach(function(e){var o=e.key,r=e.val;n[o]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var o=this.$store.dispatch;if(t){var i=k(this.$store,"mapActions",t);if(!i)return;o=i.context.dispatch}return"function"==typeof r?r.apply(this,[o].concat(e)):o.apply(this.$store,[r].concat(e))}}),n}),N=function(t){return{mapState:M.bind(null,t),mapGetters:P.bind(null,t),mapMutations:L.bind(null,t),mapActions:I.bind(null,t)}},F={Store:S,install:_,version:"2.5.0",mapState:M,mapMutations:L,mapGetters:P,mapActions:I,createNamespacedHelpers:N};e.default=F},function(t,e,n){(function(e){function n(t){return t.split("")}function o(t,e,n,o){for(var r=t.length,i=n+(o?1:-1);o?i--:++i<r;)if(e(t[i],i,t))return i;return-1}function r(t,e,n){if(e!==e)return o(t,i,n);for(var r=n-1,a=t.length;++r<a;)if(t[r]===e)return r;return-1}function i(t){return t!==t}function a(t,e){for(var n=-1,o=t.length;++n<o&&r(e,t[n],0)>-1;);return n}function s(t,e){for(var n=t.length;n--&&r(e,t[n],0)>-1;);return n}function c(t){return S.test(t)}function u(t){return c(t)?l(t):n(t)}function l(t){return t.match(A)||[]}function f(t,e,n){var o=-1,r=t.length;e<0&&(e=-e>r?0:r+e),n=n>r?r:n,n<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(r);++o<r;)i[o]=t[o+e];return i}function p(t){if("string"==typeof t)return t;if(v(t))return D?D.call(t):"";var e=t+"";return"0"==e&&1/t==-y?"-0":e}function d(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:f(t,e,n)}function h(t){return!!t&&"object"==typeof t}function v(t){return"symbol"==typeof t||h(t)&&I.call(t)==b}function m(t){return null==t?"":p(t)}function g(t,e,n){if((t=m(t))&&(n||void 0===e))return t.replace(_,"");if(!t||!(e=p(e)))return t;var o=u(t),r=u(e);return d(o,a(o,r),s(o,r)+1).join("")}var y=1/0,b="[object Symbol]",_=/^\s+|\s+$/g,w="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",x="\\ud83c[\\udffb-\\udfff]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",C="[\\ud800-\\udbff][\\udc00-\\udfff]",O="(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?",$="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",k,C].join("|")+")[\\ufe0e\\ufe0f]?"+O+")*",E="[\\ufe0e\\ufe0f]?"+O+$,T="(?:"+["[^\\ud800-\\udfff]"+w+"?",w,k,C,"[\\ud800-\\udfff]"].join("|")+")",A=RegExp(x+"(?="+x+")|"+T+E,"g"),S=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),j="object"==typeof e&&e&&e.Object===Object&&e,M="object"==typeof self&&self&&self.Object===Object&&self,L=j||M||Function("return this")(),P=Object.prototype,I=P.toString,N=L.Symbol,F=N?N.prototype:void 0,D=F?F.toString:void 0;t.exports=g}).call(e,n(0))},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(){this.$emit("widgets-search-update",{widgetType:this.selectedWidgetType,widgetTitle:this.widgetTitleSearch})}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),a=o(i),s=n(25),c=o(s);e.default=a.default.component("widget-list",{props:["widgets","dataLoading","noMoreData","showSearch"],template:"#opinionstage-widget-list",data:function(){return{selectedWidgetType:"all",widgetTitleSearch:"",showMoreBtn:!0,hasData:!0}},mounted:function(){r.call(this)},watch:{widgetTitleSearch:(0,c.default)(function(){r.call(this)},500),widgets:function(){this.hasData=this.dataLoading||this.widgets.length>0}},methods:{select:function(t){this.$emit("widget-selected",t)},selectWidgetType:function(t){this.selectedWidgetType=t,this.widgetTitleSearch="",r.call(this)},showMore:function(){this.$emit("load-more-widgets")}}})},function(t,e,n){(function(e){function n(t,e,n){function r(e){var n=v,o=m;return v=m=void 0,C=e,y=t.apply(o,n)}function i(t){return C=t,b=setTimeout(l,e),O?r(t):y}function c(t){var n=t-k,o=t-C,r=e-n;return $?w(r,g-o):r}function u(t){var n=t-k,o=t-C;return void 0===k||n>=e||n<0||$&&o>=g}function l(){var t=x();if(u(t))return f(t);b=setTimeout(l,c(t))}function f(t){return b=void 0,E&&v?r(t):(v=m=void 0,y)}function p(){void 0!==b&&clearTimeout(b),C=0,v=k=m=b=void 0}function d(){return void 0===b?y:f(x())}function h(){var t=x(),n=u(t);if(v=arguments,m=this,k=t,n){if(void 0===b)return i(k);if($)return b=setTimeout(l,e),r(k)}return void 0===b&&(b=setTimeout(l,e)),y}var v,m,g,y,b,k,C=0,O=!1,$=!1,E=!0;if("function"!=typeof t)throw new TypeError(s);return e=a(e)||0,o(n)&&(O=!!n.leading,$="maxWait"in n,g=$?_(a(n.maxWait)||0,e):g,E="trailing"in n?!!n.trailing:E),h.cancel=p,h.flush=d,h}function o(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function r(t){return!!t&&"object"==typeof t}function i(t){return"symbol"==typeof t||r(t)&&b.call(t)==u}function a(t){if("number"==typeof t)return t;if(i(t))return c;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(l,"");var n=p.test(t);return n||d.test(t)?h(t.slice(2),n?2:8):f.test(t)?c:+t}var s="Expected a function",c=NaN,u="[object Symbol]",l=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,m="object"==typeof self&&self&&self.Object===Object&&self,g=v||m||Function("return this")(),y=Object.prototype,b=y.toString,_=Math.max,w=Math.min,x=function(){return g.Date.now()};t.exports=n}).call(e,n(0))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=function(t){return t&&t.__esModule?t:{default:t}}(o);e.default=r.default.component("notification",{template:"#opinionstage-notification",props:["widgetType"],methods:{reload:function(){this.$emit("hide"),this.$emit("reload",{widgetType:this.widgetType})}}})},function(t,e,n){var o=n(28);"string"==typeof o&&(o=[[t.i,o,""]]);var r={};r.transform=void 0;n(3)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){e=t.exports=n(2)(!1),e.push([t.i,'@font-face{font-family:os-icon-font;font-style:normal;font-weight:400;src:url("https://assets.opinionstage.com/assets/os-icon-font-244a07d2da0691f4423dac8a542a9bb9df3797ca19f2d0c67c04a8789c9f6afb.eot#iefix") format("embedded-opentype"),url("https://assets.opinionstage.com/assets/os-icon-font-244a07d2da0691f4423dac8a542a9bb9df3797ca19f2d0c67c04a8789c9f6afb.ttf") format("truetype"),url("https://assets.opinionstage.com/assets/os-icon-font-244a07d2da0691f4423dac8a542a9bb9df3797ca19f2d0c67c04a8789c9f6afb.woff") format("woff"),url("https://assets.opinionstage.com/assets/os-icon-font-244a07d2da0691f4423dac8a542a9bb9df3797ca19f2d0c67c04a8789c9f6afb.svg#os-icon-font") format("svg")}[class*=" icon-"],[class^=icon-]{font-family:os-icon-font!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-os-form-address:before{content:"\\E900"}.icon-os-form-email:before{content:"\\E901"}.icon-os-form-name:before{content:"\\E902"}.icon-os-form-phone:before{content:"\\E903"}.icon-os-common-arrow-left2:before{content:"\\E904"}.icon-os-common-arrow-right2:before{content:"\\E905"}.icon-os-reports-list:before{content:"\\E906"}.icon-os-reports-personality:before{content:"\\E907"}.icon-os-reports-poll:before{content:"\\E908"}.icon-os-reports-set:before{content:"\\E909"}.icon-os-widget-slideshow:before{content:"\\E90A"}.icon-os-reports-trivia:before{content:"\\E90B"}.icon-os-widget-form:before{content:"\\E963"}.icon-os-common-up:before{content:"\\E90C"}.icon-os-layout-image-poll:before{content:"\\E90D"}.icon-os-common-arrow-left:before{content:"\\E90E"}.icon-os-common-arrow-right:before{content:"\\E90F"}.icon-os-form-user:before{content:"\\E910"}.icon-os-sn-pinterest:before{content:"\\E911"}.icon-os-sn-reddit:before{content:"\\E912"}.icon-os-sn-whatsapp:before{content:"\\E913"}.icon-os-brand-logo-small:before{content:"\\E914"}.icon-os-brand-logo:before{content:"\\E915"}.icon-os-common-addnew:before{content:"\\E916"}.icon-os-common-checkbox-blank:before{content:"\\E917"}.icon-os-common-checkbox-checked:before{content:"\\E918"}.icon-os-common-close:before{content:"\\E919"}.icon-os-common-date:before{content:"\\E91A"}.icon-os-common-dot:before{content:"\\E91B"}.icon-os-common-down:before{content:"\\E91C"}.icon-os-common-help:before{content:"\\E91D"}.icon-os-common-link:before{content:"\\E91E"}.icon-os-common-menu-dd-closed:before{content:"\\E91F"}.icon-os-common-menu-dd-open:before{content:"\\E920"}.icon-os-common-menu-medium:before{content:"\\E921"}.icon-os-common-menu:before{content:"\\E922"}.icon-os-common-minimize:before{content:"\\E923"}.icon-os-common-more:before{content:"\\E924"}.icon-os-common-plus:before{content:"\\E925"}.icon-os-common-poll:before{content:"\\E926"}.icon-os-common-search:before{content:"\\E927"}.icon-os-common-settings:before{content:"\\E928"}.icon-os-common-tip:before{content:"\\E929"}.icon-os-filter-all:before{content:"\\E92A"}.icon-os-filter-facebook:before{content:"\\E92B"}.icon-os-filter-female:before{content:"\\E92C"}.icon-os-filter-friends:before{content:"\\E92D"}.icon-os-filter-gplus:before{content:"\\E92E"}.icon-os-filter-hidden:before{content:"\\E92F"}.icon-os-filter-male:before{content:"\\E930"}.icon-os-filter-public:before{content:"\\E931"}.icon-os-filter-seperator:before{content:"\\E932"}.icon-os-filter-twitter:before{content:"\\E933"}.icon-os-form-check:before{content:"\\E934"}.icon-os-form-drag:before{content:"\\E935"}.icon-os-form-error:before{content:"\\E936"}.icon-os-form-image:before{content:"\\E937"}.icon-os-form-success:before{content:"\\E938"}.icon-os-form-video:before{content:"\\E939"}.icon-os-hp-engagement:before{content:"\\E93A"}.icon-os-hp-insights:before{content:"\\E93B"}.icon-os-hp-revenue:before{content:"\\E93C"}.icon-os-hp-traffic:before{content:"\\E93D"}.icon-os-layout-h2h:before{content:"\\E93E"}.icon-os-layout-mc:before{content:"\\E93F"}.icon-os-layout-thumbnails:before{content:"\\E940"}.icon-os-menu-content:before{content:"\\E941"}.icon-os-menu-placements:before{content:"\\E942"}.icon-os-menu-reports:before{content:"\\E943"}.icon-os-menu-revenue:before{content:"\\E944"}.icon-os-pinterest:before{content:"\\E945"}.icon-os-poll-client:before{content:"\\E946"}.icon-os-poll-voter:before{content:"\\E947"}.icon-os-quiz-correct:before{content:"\\E948"}.icon-os-quiz-restart:before{content:"\\E949"}.icon-os-quiz-wrong:before{content:"\\E94A"}.icon-os-report-contacts:before{content:"\\E94B"}.icon-os-report-discovery:before{content:"\\E94C"}.icon-os-report-revenue:before{content:"\\E94D"}.icon-os-report-stats:before{content:"\\E94E"}.icon-os-report-time:before{content:"\\E94F"}.icon-os-report-views:before{content:"\\E950"}.icon-os-reports-emails:before{content:"\\E951"}.icon-os-reports-polls:before{content:"\\E952"}.icon-os-reports-revenue:before{content:"\\E953"}.icon-os-reports-sets:before{content:"\\E954"}.icon-os-reports-time:before{content:"\\E955"}.icon-os-reports-traffic:before{content:"\\E956"}.icon-os-reports-votes:before{content:"\\E957"}.icon-os-set-arrow-left:before{content:"\\E958"}.icon-os-set-arrow-right:before{content:"\\E959"}.icon-os-sn-embed:before{content:"\\E95A"}.icon-os-sn-facebook:before{content:"\\E95B"}.icon-os-sn-gplus:before{content:"\\E95C"}.icon-os-sn-tumblr:before{content:"\\E95D"}.icon-os-sn-twitter:before{content:"\\E95E"}.icon-os-status-closed:before{content:"\\E95F"}.icon-os-status-draft:before{content:"\\E960"}.icon-os-status-open:before{content:"\\E961"}.icon-os-status-published:before{content:"\\E962"}.icon-os-icon-story:before{content:"\\E964"}.opinionstage-content-popup-contents *{margin:0;padding:0;color:#222120;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Open Sans,Helvetica,sans-serif}.opinionstage-content-popup-contents .header{background-color:#222120;width:100%}.opinionstage-content-popup-contents .header__container{color:#fff;margin:auto;padding:0 10px}.opinionstage-content-popup-contents .header__logo{display:inline-block}.opinionstage-content-popup-contents .header__logo a:active,.opinionstage-content-popup-contents .header__logo a:focus,.opinionstage-content-popup-contents .header__logo a:hover,.opinionstage-content-popup-contents .header__logo a:visited{border:none;background:none;-webkit-box-shadow:none;box-shadow:none}.opinionstage-content-popup-contents .header__logo img{margin:15px 10px;width:150px}.opinionstage-content-popup-contents .header__nav{display:inline-block;font-size:0;vertical-align:bottom}.opinionstage-content-popup-contents .header__action{display:block;float:right;font-size:0;margin-top:10px}.opinionstage-content-popup-contents .page-content{margin:0 auto;padding:25px 15px 15px}.opinionstage-content-popup-contents .main-title{color:#222120;font-size:21px;font-weight:400;text-align:center}.opinionstage-content-popup-contents .conect-form{text-align:center;margin-top:20px}.opinionstage-content-popup-contents .content-actions{font-size:0;margin-bottom:20px;float:none}.opinionstage-content-popup-contents .content-actions:after{content:"";clear:both;display:block}.opinionstage-content-popup-contents .filter__itm{display:inline-block;cursor:pointer;font-size:14px;margin-right:10px;line-height:36px;text-transform:uppercase}.opinionstage-content-popup-contents .filter__itm:hover{color:#3aaebd}.opinionstage-content-popup-contents .filter__itm.active{font-weight:700;pointer-events:none}.opinionstage-content-popup-contents .filter{display:inline-block;width:70%}.opinionstage-content-popup-contents .search{background-color:transparent;display:inline-block;width:30%;position:relative}.opinionstage-content-popup-contents .search .search-icon{bottom:0;height:18px;left:10px;margin:auto;position:absolute;top:0;pointer-events:none}.opinionstage-content-popup-contents .content__list{height:calc(92vh - 160px);overflow-y:scroll}.opinionstage-content-popup-contents .content__loading{text-align:center}.opinionstage-content-popup-contents .content__itm{display:inline-block;margin-bottom:2%;margin-right:2%;position:relative;width:32%}.opinionstage-content-popup-contents .content__itm:nth-child(3n+3){margin-right:0}.opinionstage-content-popup-contents .content__itm:hover .content__links{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.opinionstage-content-popup-contents .content__image{height:190px;position:relative;width:100%}.opinionstage-content-popup-contents .content__image img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.opinionstage-content-popup-contents .content__info{background-color:#f5f5f5;font-size:14px;height:85px;margin:0;overflow:hidden;padding:15px 5px 0}.opinionstage-content-popup-contents .content__links{background-color:#222120;display:none;height:100%;left:0;opacity:.8;position:absolute;top:0;width:100%;z-index:3}.opinionstage-content-popup-contents .content__links-itm{border-radius:5px;border:1px solid #fff;color:#fff;background:transparent;cursor:pointer;display:block;line-height:1;margin:5px auto;padding:14px 8px;text-align:center;text-decoration:none;text-transform:uppercase;width:200px}.opinionstage-content-popup-contents .content__links-itm:hover{background-color:hsla(0,0%,100%,.1)}.opinionstage-content-popup-contents .content__label{background-color:#222120;bottom:0;color:#fff;font-size:12px;left:0;padding:5px 6px;position:absolute;text-transform:uppercase;z-index:2}.opinionstage-content-popup-contents .std-btn{background-color:rgba(123,91,167,.4);border-radius:5px 5px 0 0;cursor:pointer;color:#fff;display:inline-block;font:16px/50px Open Sans,Helvetica,sans-serif;margin:0;text-align:center;text-transform:uppercase;vertical-align:bottom;width:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.opinionstage-content-popup-contents .std-btn.active{background-color:#fff;color:#222120}.opinionstage-content-popup-contents .btn-create{background-color:#3499c2;border-radius:5px 0 0 5px;color:#fff;cursor:pointer;display:inline-block;font:16px/42px Open Sans,Helvetica,sans-serif;text-align:center;text-decoration:none;width:140px;margin-right:42px;position:relative;outline:none!important;-webkit-box-shadow:none;box-shadow:none}.opinionstage-content-popup-contents .btn-create:before{content:"\\E921";display:block;position:absolute;top:0;font-size:7px;font-family:os-icon-font!important;right:-25px;z-index:3}.opinionstage-content-popup-contents .btn-create:after{content:"";position:absolute;top:0;width:40px;right:-42px;height:100%;background-color:#3499c2;border-radius:0 5px 5px 0}.opinionstage-content-popup-contents .btn-create:hover,.opinionstage-content-popup-contents .btn-create:hover:after{background-color:#55a6cc}.opinionstage-content-popup-contents .create-new-menu-box{display:inline-block;position:relative}.opinionstage-content-popup-contents .create-new-menu-box:hover .create-new-menu{display:block}.opinionstage-content-popup-contents .create-new-menu{display:none;position:absolute;width:100%;top:39px;left:0;border:1px solid #3aaebd;background-color:#fff;z-index:3}.opinionstage-content-popup-contents .create-menu__itm{display:block;color:#3aaebd;border-bottom:1px solid #3aaebd;padding:8px 12px;background-color:#fff;font-size:14px;text-decoration:none;text-transform:uppercase}.opinionstage-content-popup-contents .create-menu__itm:hover{text-decoration:none;color:#fff;background-color:#44a9d2}.opinionstage-content-popup-contents .btn-close{border:1px solid #fff;border-radius:5px;color:#fff;cursor:pointer;display:inline-block;font:16px/38px Open Sans,Helvetica,sans-serif;margin-left:20px;opacity:.5;text-align:center;width:42px}.opinionstage-content-popup-contents .btn-close:hover{opacity:.8}.opinionstage-content-popup-contents .btn-blue{display:inline-block;background-color:#3499c2;border:medium none;border-radius:5px;color:#fff;cursor:pointer;font-size:16px;line-height:36px;outline:medium none;text-transform:uppercase;text-decoration:none;width:140px}.opinionstage-content-popup-contents .btn-blue:hover{background-color:#55a6cc}.opinionstage-content-popup-contents .btn-show-more{padding:15px 0;border:none;background-color:#e6e6e6;width:100%}.opinionstage-content-popup-contents .std-inp{background-color:#fff;border:1px solid #c1c1c1;border-radius:5px;height:36px;outline:medium none;padding:0 15px;width:450px}.opinionstage-content-popup-contents .std-search{background-color:#efefef;border:medium none;border-radius:5px;color:#2f2c24;height:36px;outline:medium none!important;padding:0 20px 0 40px;width:100%}.opinionstage-content-popup-contents .hidden{visibility:hidden}.opinionstage-content-popup-contents .opinionstage-blue-btn{cursor:pointer;text-align:center;color:#fff;text-decoration:none;display:inline-block;padding:11px 10px;font-weight:400;background-color:#3499c2;border-radius:3px;border-style:hidden;width:95px}.opinionstage-content-popup-contents .opinionstage-blue-btn:hover{opacity:.9}.opinionstage-content-popup-contents .opinionstage-section-notification{background-color:rgba(0,0,0,.7);width:100%;padding:20px 25px;z-index:3;text-align:center;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.6);box-shadow:0 2px 5px rgba(0,0,0,.6)}.opinionstage-content-popup-contents .opinionstage-section-notification__title{color:#fff;font-size:15px;margin-bottom:15px}.opinionstage-content-popup-contents .opinionstage-section-notification__controls{position:relative;font-size:0}.opinionstage-content-popup-contents .notification-container~div>.page-content .content__list{max-height:calc(92vh - 270px)}.opinionstage-content-popup-contents .bordered-container{border:1px solid #e5e5e5;text-align:center;padding:40px}.opinionstage-content-popup-contents .opinionstage-introduction-video{text-align:center;padding:20px}.opinionstage-content-popup-contents .opinionstage-connect-form{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.opinionstage-content-popup-contents .opinionstage-connect-form .opinionstage-conect-input{border:1px solid #e5e5e5;height:40px;padding:0 15px;width:420px;border-radius:3px;margin-right:10px;-webkit-box-shadow:none!important;box-shadow:none!important;outline:none!important}',""])}]);
|
1 |
+
!function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=11)}([function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,n){function o(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function i(t){return!0===t}function a(t){return!1===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return null!==t&&"object"==typeof t}function u(t){return"[object Object]"===Ci.call(t)}function l(t){return"[object RegExp]"===Ci.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return r(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===Ci?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),o=t.split(","),r=0;r<o.length;r++)n[o[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function m(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function g(t,e){return $i.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function b(t,e){function n(n){var o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function _(t,e){return t.bind(e)}function w(t,e){e=e||0;for(var n=t.length-e,o=new Array(n);n--;)o[n]=t[n+e];return o}function x(t,e){for(var n in e)t[n]=e[n];return t}function k(t){for(var e={},n=0;n<t.length;n++)t[n]&&x(e,t[n]);return e}function E(t,e,n){}function C(t,e){if(t===e)return!0;var n=c(t),o=c(e);if(!n||!o)return!n&&!o&&String(t)===String(e);try{var r=Array.isArray(t),i=Array.isArray(e);if(r&&i)return t.length===e.length&&t.every(function(t,n){return C(t,e[n])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||i)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every(function(n){return C(t[n],e[n])})}catch(t){return!1}}function O(t,e){for(var n=0;n<t.length;n++)if(C(t[n],e))return n;return-1}function T(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function $(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function S(t,e,n,o){Object.defineProperty(t,e,{value:n,enumerable:!!o,writable:!0,configurable:!0})}function A(t){if(!Ui.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function j(t){return"function"==typeof t&&/native code/.test(t.toString())}function I(t){la.push(t),ua.target=t}function L(){la.pop(),ua.target=la[la.length-1]}function M(t){return new fa(void 0,void 0,void 0,String(t))}function P(t){var e=new fa(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}function D(t){ga=t}function N(t,e){t.__proto__=e}function F(t,e,n){for(var o=0,r=n.length;o<r;o++){var i=n[o];S(t,i,e[i])}}function R(t,e){if(c(t)&&!(t instanceof fa)){var n;return g(t,"__ob__")&&t.__ob__ instanceof ya?n=t.__ob__:ga&&!ra()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new ya(t)),e&&n&&n.vmCount++,n}}function B(t,e,n,o,r){var i=new ua,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=t[e]);var u=!r&&R(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return ua.target&&(i.depend(),u&&(u.dep.depend(),Array.isArray(e)&&z(e))),e},set:function(e){var o=s?s.call(t):n;e===o||e!==e&&o!==o||s&&!c||(c?c.call(t,e):n=e,u=!r&&R(e),i.notify())}})}}function W(t,e,n){if(Array.isArray(t)&&f(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var o=t.__ob__;return t._isVue||o&&o.vmCount?n:o?(B(o.value,e,n),o.dep.notify(),n):(t[e]=n,n)}function U(t,e){if(Array.isArray(t)&&f(e))return void t.splice(e,1);var n=t.__ob__;t._isVue||n&&n.vmCount||g(t,e)&&(delete t[e],n&&n.dep.notify())}function z(t){for(var e=void 0,n=0,o=t.length;n<o;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&z(e)}function H(t,e){if(!e)return t;for(var n,o,r,i=aa?Reflect.ownKeys(e):Object.keys(e),a=0;a<i.length;a++)"__ob__"!==(n=i[a])&&(o=t[n],r=e[n],g(t,n)?o!==r&&u(o)&&u(r)&&H(o,r):W(t,n,r));return t}function G(t,e,n){return n?function(){var o="function"==typeof e?e.call(n,n):e,r="function"==typeof t?t.call(n,n):t;return o?H(o,r):r}:e?t?function(){return H("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function V(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?K(n):n}function K(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function q(t,e,n,o){var r=Object.create(t||null);return e?x(r,e):r}function J(t,e){var n=t.props;if(n){var o,r,i,a={};if(Array.isArray(n))for(o=n.length;o--;)"string"==typeof(r=n[o])&&(i=Ai(r),a[i]={type:null});else if(u(n))for(var s in n)r=n[s],i=Ai(s),a[i]=u(r)?r:{type:r};t.props=a}}function Z(t,e){var n=t.inject;if(n){var o=t.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)o[n[r]]={from:n[r]};else if(u(n))for(var i in n){var a=n[i];o[i]=u(a)?x({from:i},a):{from:a}}}}function Y(t){var e=t.directives;if(e)for(var n in e){var o=e[n];"function"==typeof o&&(e[n]={bind:o,update:o})}}function Q(t,e,n){function o(o){var r=ba[o]||wa;s[o]=r(t[o],e[o],n,o)}if("function"==typeof e&&(e=e.options),J(e,n),Z(e,n),Y(e),!e._base&&(e.extends&&(t=Q(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Q(t,e.mixins[r],n);var a,s={};for(a in t)o(a);for(a in e)g(t,a)||o(a);return s}function X(t,e,n,o){if("string"==typeof n){var r=t[e];if(g(r,n))return r[n];var i=Ai(n);if(g(r,i))return r[i];var a=ji(i);if(g(r,a))return r[a];return r[n]||r[i]||r[a]}}function tt(t,e,n,o){var r=e[t],i=!g(n,t),a=n[t],s=rt(Boolean,r.type);if(s>-1)if(i&&!g(r,"default"))a=!1;else if(""===a||a===Li(t)){var c=rt(String,r.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=et(o,r,t);var u=ga;D(!0),R(a),D(u)}return a}function et(t,e,n){if(g(e,"default")){var o=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof o&&"Function"!==nt(e.type)?o.call(t):o}}function nt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function ot(t,e){return nt(t)===nt(e)}function rt(t,e){if(!Array.isArray(e))return ot(e,t)?0:-1;for(var n=0,o=e.length;n<o;n++)if(ot(e[n],t))return n;return-1}function it(t,e,n){I();try{if(e)for(var o=e;o=o.$parent;){var r=o.$options.errorCaptured;if(r)for(var i=0;i<r.length;i++)try{var a=!1===r[i].call(o,t,e,n);if(a)return}catch(t){st(t,o,"errorCaptured hook")}}st(t,e,n)}finally{L()}}function at(t,e,n,o,r){var i;try{i=n?t.apply(e,n):t.call(e),i&&!i._isVue&&p(i)&&!i._handled&&(i.catch(function(t){return it(t,o,r+" (Promise/async)")}),i._handled=!0)}catch(t){it(t,o,r)}return i}function st(t,e,n){if(Bi.errorHandler)try{return Bi.errorHandler.call(null,t,e,n)}catch(e){e!==t&&ct(e,null,"config.errorHandler")}ct(t,e,n)}function ct(t,e,n){if(!Hi&&!Gi||"undefined"==typeof console)throw t;console.error(t)}function ut(){Ea=!1;var t=ka.slice(0);ka.length=0;for(var e=0;e<t.length;e++)t[e]()}function lt(t,e){var n;if(ka.push(function(){if(t)try{t.call(e)}catch(t){it(t,e,"nextTick")}else n&&n(e)}),Ea||(Ea=!0,_a()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}function ft(t){pt(t,Sa),Sa.clear()}function pt(t,e){var n,o,r=Array.isArray(t);if(!(!r&&!c(t)||Object.isFrozen(t)||t instanceof fa)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(r)for(n=t.length;n--;)pt(t[n],e);else for(o=Object.keys(t),n=o.length;n--;)pt(t[o[n]],e)}}function dt(t,e){function n(){var t=arguments,o=n.fns;if(!Array.isArray(o))return at(o,null,arguments,e,"v-on handler");for(var r=o.slice(),i=0;i<r.length;i++)at(r[i],null,t,e,"v-on handler")}return n.fns=t,n}function ht(t,e,n,r,a,s){var c,u,l,f;for(c in t)u=t[c],l=e[c],f=Aa(c),o(u)||(o(l)?(o(u.fns)&&(u=t[c]=dt(u,s)),i(f.once)&&(u=t[c]=a(f.name,u,f.capture)),n(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,t[c]=l));for(c in e)o(t[c])&&(f=Aa(c),r(f.name,e[c],f.capture))}function vt(t,e,n){function a(){n.apply(this,arguments),m(s.fns,a)}t instanceof fa&&(t=t.data.hook||(t.data.hook={}));var s,c=t[e];o(c)?s=dt([a]):r(c.fns)&&i(c.merged)?(s=c,s.fns.push(a)):s=dt([c,a]),s.merged=!0,t[e]=s}function mt(t,e,n){var i=e.options.props;if(!o(i)){var a={},s=t.attrs,c=t.props;if(r(s)||r(c))for(var u in i){var l=Li(u);gt(a,c,u,l,!0)||gt(a,s,u,l,!1)}return a}}function gt(t,e,n,o,i){if(r(e)){if(g(e,n))return t[n]=e[n],i||delete e[n],!0;if(g(e,o))return t[n]=e[o],i||delete e[o],!0}return!1}function yt(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function bt(t){return s(t)?[M(t)]:Array.isArray(t)?wt(t):void 0}function _t(t){return r(t)&&r(t.text)&&a(t.isComment)}function wt(t,e){var n,a,c,u,l=[];for(n=0;n<t.length;n++)a=t[n],o(a)||"boolean"==typeof a||(c=l.length-1,u=l[c],Array.isArray(a)?a.length>0&&(a=wt(a,(e||"")+"_"+n),_t(a[0])&&_t(u)&&(l[c]=M(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?_t(u)?l[c]=M(u.text+a):""!==a&&l.push(M(a)):_t(a)&&_t(u)?l[c]=M(u.text+a.text):(i(t._isVList)&&r(a.tag)&&o(a.key)&&r(e)&&(a.key="__vlist"+e+"_"+n+"__"),l.push(a)));return l}function xt(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}function kt(t){var e=Et(t.$options.inject,t);e&&(D(!1),Object.keys(e).forEach(function(n){B(t,n,e[n])}),D(!0))}function Et(t,e){if(t){for(var n=Object.create(null),o=aa?Reflect.ownKeys(t):Object.keys(t),r=0;r<o.length;r++){var i=o[r];if("__ob__"!==i){for(var a=t[i].from,s=e;s;){if(s._provided&&g(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s&&"default"in t[i]){var c=t[i].default;n[i]="function"==typeof c?c.call(e):c}}}return n}}function Ct(t,e){if(!t||!t.length)return{};for(var n={},o=0,r=t.length;o<r;o++){var i=t[o],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every(Ot)&&delete n[u];return n}function Ot(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Tt(t,e,n){var o,r=Object.keys(e).length>0,i=t?!!t.$stable:!r,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(i&&n&&n!==Ei&&a===n.$key&&!r&&!n.$hasNormal)return n;o={};for(var s in t)t[s]&&"$"!==s[0]&&(o[s]=$t(e,s,t[s]))}else o={};for(var c in e)c in o||(o[c]=St(e,c));return t&&Object.isExtensible(t)&&(t._normalized=o),S(o,"$stable",i),S(o,"$key",a),S(o,"$hasNormal",r),o}function $t(t,e,n){var o=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:bt(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:o,enumerable:!0,configurable:!0}),o}function St(t,e){return function(){return t[e]}}function At(t,e){var n,o,i,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),o=0,i=t.length;o<i;o++)n[o]=e(t[o],o);else if("number"==typeof t)for(n=new Array(t),o=0;o<t;o++)n[o]=e(o+1,o);else if(c(t))if(aa&&t[Symbol.iterator]){n=[];for(var u=t[Symbol.iterator](),l=u.next();!l.done;)n.push(e(l.value,n.length)),l=u.next()}else for(a=Object.keys(t),n=new Array(a.length),o=0,i=a.length;o<i;o++)s=a[o],n[o]=e(t[s],s,o);return r(n)||(n=[]),n._isVList=!0,n}function jt(t,e,n,o){var r,i=this.$scopedSlots[t];i?(n=n||{},o&&(n=x(x({},o),n)),r=i(n)||e):r=this.$slots[t]||e;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function It(t){return X(this.$options,"filters",t,!0)||Di}function Lt(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Mt(t,e,n,o,r){var i=Bi.keyCodes[e]||n;return r&&o&&!Bi.keyCodes[e]?Lt(r,o):i?Lt(i,t):o?Li(o)!==e:void 0}function Pt(t,e,n,o,r){if(n)if(c(n)){Array.isArray(n)&&(n=k(n));var i;for(var a in n)!function(a){if("class"===a||"style"===a||Ti(a))i=t;else{var s=t.attrs&&t.attrs.type;i=o||Bi.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=Ai(a),u=Li(a);if(!(c in i||u in i)&&(i[a]=n[a],r)){(t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}}}(a)}else;return t}function Dt(t,e){var n=this._staticTrees||(this._staticTrees=[]),o=n[t];return o&&!e?o:(o=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),Ft(o,"__static__"+t,!1),o)}function Nt(t,e,n){return Ft(t,"__once__"+e+(n?"_"+n:""),!0),t}function Ft(t,e,n){if(Array.isArray(t))for(var o=0;o<t.length;o++)t[o]&&"string"!=typeof t[o]&&Rt(t[o],e+"_"+o,n);else Rt(t,e,n)}function Rt(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Bt(t,e){if(e)if(u(e)){var n=t.on=t.on?x({},t.on):{};for(var o in e){var r=n[o],i=e[o];n[o]=r?[].concat(r,i):i}}else;return t}function Wt(t,e,n,o){e=e||{$stable:!n};for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?Wt(i,e,n):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return o&&(e.$key=o),e}function Ut(t,e){for(var n=0;n<e.length;n+=2){var o=e[n];"string"==typeof o&&o&&(t[e[n]]=e[n+1])}return t}function zt(t,e){return"string"==typeof t?e+t:t}function Ht(t){t._o=Nt,t._n=h,t._s=d,t._l=At,t._t=jt,t._q=C,t._i=O,t._m=Dt,t._f=It,t._k=Mt,t._b=Pt,t._v=M,t._e=da,t._u=Wt,t._g=Bt,t._d=Ut,t._p=zt}function Gt(t,e,n,o,r){var a,s=this,c=r.options;g(o,"_uid")?(a=Object.create(o),a._original=o):(a=o,o=o._original);var u=i(c._compiled),l=!u;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||Ei,this.injections=Et(c.inject,o),this.slots=function(){return s.$slots||Tt(t.scopedSlots,s.$slots=Ct(n,o)),s.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Tt(t.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Tt(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,r){var i=te(a,t,e,n,r,l);return i&&!Array.isArray(i)&&(i.fnScopeId=c._scopeId,i.fnContext=o),i}:this._c=function(t,e,n,o){return te(a,t,e,n,o,l)}}function Vt(t,e,n,o,i){var a=t.options,s={},c=a.props;if(r(c))for(var u in c)s[u]=tt(u,c,e||Ei);else r(n.attrs)&&qt(s,n.attrs),r(n.props)&&qt(s,n.props);var l=new Gt(n,s,i,o,t),f=a.render.call(null,l._c,l);if(f instanceof fa)return Kt(f,n,l.parent,a,l);if(Array.isArray(f)){for(var p=bt(f)||[],d=new Array(p.length),h=0;h<p.length;h++)d[h]=Kt(p[h],n,l.parent,a,l);return d}}function Kt(t,e,n,o,r){var i=P(t);return i.fnContext=n,i.fnOptions=o,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function qt(t,e){for(var n in e)t[Ai(n)]=e[n]}function Jt(t,e,n,a,s){if(!o(t)){var u=n.$options._base;if(c(t)&&(t=u.extend(t)),"function"==typeof t){var l;if(o(t.cid)&&(l=t,void 0===(t=se(l,u))))return ae(l,e,n,a,s);e=e||{},Ue(t),r(e.model)&&Xt(t.options,e);var f=mt(e,t,s);if(i(t.options.functional))return Vt(t,f,e,n,a);var p=e.on;if(e.on=e.nativeOn,i(t.options.abstract)){var d=e.slot;e={},d&&(e.slot=d)}Yt(e);var h=t.options.name||s;return new fa("vue-component-"+t.cid+(h?"-"+h:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:p,tag:s,children:a},l)}}}function Zt(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},o=t.data.inlineTemplate;return r(o)&&(n.render=o.render,n.staticRenderFns=o.staticRenderFns),new t.componentOptions.Ctor(n)}function Yt(t){for(var e=t.hook||(t.hook={}),n=0;n<La.length;n++){var o=La[n],r=e[o],i=Ia[o];r===i||r&&r._merged||(e[o]=r?Qt(i,r):i)}}function Qt(t,e){var n=function(n,o){t(n,o),e(n,o)};return n._merged=!0,n}function Xt(t,e){var n=t.model&&t.model.prop||"value",o=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={}),a=i[o],s=e.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[o]=[s].concat(a)):i[o]=s}function te(t,e,n,o,r,a){return(Array.isArray(n)||s(n))&&(r=o,o=n,n=void 0),i(a)&&(r=Pa),ee(t,e,n,o,r)}function ee(t,e,n,o,i){if(r(n)&&r(n.__ob__))return da();if(r(n)&&r(n.is)&&(e=n.is),!e)return da();Array.isArray(o)&&"function"==typeof o[0]&&(n=n||{},n.scopedSlots={default:o[0]},o.length=0),i===Pa?o=bt(o):i===Ma&&(o=yt(o));var a,s;if("string"==typeof e){var c;s=t.$vnode&&t.$vnode.ns||Bi.getTagNamespace(e),a=Bi.isReservedTag(e)?new fa(Bi.parsePlatformTagName(e),n,o,void 0,void 0,t):n&&n.pre||!r(c=X(t.$options,"components",e))?new fa(e,n,o,void 0,void 0,t):Jt(c,n,t,o,e)}else a=Jt(e,n,t,o);return Array.isArray(a)?a:r(a)?(r(s)&&ne(a,s),r(n)&&oe(n),a):da()}function ne(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),r(t.children))for(var a=0,s=t.children.length;a<s;a++){var c=t.children[a];r(c.tag)&&(o(c.ns)||i(n)&&"svg"!==c.tag)&&ne(c,e,n)}}function oe(t){c(t.style)&&ft(t.style),c(t.class)&&ft(t.class)}function re(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=Ct(e._renderChildren,o),t.$scopedSlots=Ei,t._c=function(e,n,o,r){return te(t,e,n,o,r,!1)},t.$createElement=function(e,n,o,r){return te(t,e,n,o,r,!0)};var r=n&&n.data;B(t,"$attrs",r&&r.attrs||Ei,null,!0),B(t,"$listeners",e._parentListeners||Ei,null,!0)}function ie(t,e){return(t.__esModule||aa&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function ae(t,e,n,o,r){var i=da();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:o,tag:r},i}function se(t,e){if(i(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;var n=Da;if(n&&r(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),i(t.loading)&&r(t.loadingComp))return t.loadingComp;if(n&&!r(t.owners)){var a=t.owners=[n],s=!0,u=null,l=null;n.$on("hook:destroyed",function(){return m(a,n)});var f=function(t){for(var e=0,n=a.length;e<n;e++)a[e].$forceUpdate();t&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},d=T(function(n){t.resolved=ie(n,e),s?a.length=0:f(!0)}),h=T(function(e){r(t.errorComp)&&(t.error=!0,f(!0))}),v=t(d,h);return c(v)&&(p(v)?o(t.resolved)&&v.then(d,h):p(v.component)&&(v.component.then(d,h),r(v.error)&&(t.errorComp=ie(v.error,e)),r(v.loading)&&(t.loadingComp=ie(v.loading,e),0===v.delay?t.loading=!0:u=setTimeout(function(){u=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,f(!1))},v.delay||200)),r(v.timeout)&&(l=setTimeout(function(){l=null,o(t.resolved)&&h(null)},v.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}function ce(t){return t.isComment&&t.asyncFactory}function ue(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(r(n)&&(r(n.componentOptions)||ce(n)))return n}}function le(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&he(t,e)}function fe(t,e){ja.$on(t,e)}function pe(t,e){ja.$off(t,e)}function de(t,e){var n=ja;return function o(){null!==e.apply(null,arguments)&&n.$off(t,o)}}function he(t,e,n){ja=t,ht(e,n||{},fe,pe,de,t),ja=void 0}function ve(t){var e=Na;return Na=t,function(){Na=e}}function me(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function ge(t,e,n){t.$el=e,t.$options.render||(t.$options.render=da),xe(t,"beforeMount");var o;return o=function(){t._update(t._render(),n)},new qa(t,o,E,{before:function(){t._isMounted&&!t._isDestroyed&&xe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,xe(t,"mounted")),t}function ye(t,e,n,o,r){var i=o.data.scopedSlots,a=t.$scopedSlots,s=!!(i&&!i.$stable||a!==Ei&&!a.$stable||i&&t.$scopedSlots.$key!==i.$key),c=!!(r||t.$options._renderChildren||s);if(t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=r,t.$attrs=o.data.attrs||Ei,t.$listeners=n||Ei,e&&t.$options.props){D(!1);for(var u=t._props,l=t.$options._propKeys||[],f=0;f<l.length;f++){var p=l[f],d=t.$options.props;u[p]=tt(p,d,e,t)}D(!0),t.$options.propsData=e}n=n||Ei;var h=t.$options._parentListeners;t.$options._parentListeners=n,he(t,n,h),c&&(t.$slots=Ct(r,o.context),t.$forceUpdate())}function be(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function _e(t,e){if(e){if(t._directInactive=!1,be(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)_e(t.$children[n]);xe(t,"activated")}}function we(t,e){if(!(e&&(t._directInactive=!0,be(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)we(t.$children[n]);xe(t,"deactivated")}}function xe(t,e){I();var n=t.$options[e],o=e+" hook";if(n)for(var r=0,i=n.length;r<i;r++)at(n[r],t,null,t,o);t._hasHookEvent&&t.$emit("hook:"+e),L()}function ke(){za=Fa.length=Ra.length=0,Ba={},Wa=Ua=!1}function Ee(){Ha=Ga(),Ua=!0;var t,e;for(Fa.sort(function(t,e){return t.id-e.id}),za=0;za<Fa.length;za++)t=Fa[za],t.before&&t.before(),e=t.id,Ba[e]=null,t.run();var n=Ra.slice(),o=Fa.slice();ke(),Te(n),Ce(o),ia&&Bi.devtools&&ia.emit("flush")}function Ce(t){for(var e=t.length;e--;){var n=t[e],o=n.vm;o._watcher===n&&o._isMounted&&!o._isDestroyed&&xe(o,"updated")}}function Oe(t){t._inactive=!1,Ra.push(t)}function Te(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,_e(t[e],!0)}function $e(t){var e=t.id;if(null==Ba[e]){if(Ba[e]=!0,Ua){for(var n=Fa.length-1;n>za&&Fa[n].id>t.id;)n--;Fa.splice(n+1,0,t)}else Fa.push(t);Wa||(Wa=!0,lt(Ee))}}function Se(t,e,n){Ja.get=function(){return this[e][n]},Ja.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ja)}function Ae(t){t._watchers=[];var e=t.$options;e.props&&je(t,e.props),e.methods&&Fe(t,e.methods),e.data?Ie(t):R(t._data={},!0),e.computed&&Me(t,e.computed),e.watch&&e.watch!==Xi&&Re(t,e.watch)}function je(t,e){var n=t.$options.propsData||{},o=t._props={},r=t.$options._propKeys=[],i=!t.$parent;i||D(!1);for(var a in e)!function(i){r.push(i);var a=tt(i,e,n,t);B(o,i,a),i in t||Se(t,"_props",i)}(a);D(!0)}function Ie(t){var e=t.$options.data;e=t._data="function"==typeof e?Le(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),o=t.$options.props,r=(t.$options.methods,n.length);r--;){var i=n[r];o&&g(o,i)||$(i)||Se(t,"_data",i)}R(e,!0)}function Le(t,e){I();try{return t.call(e,e)}catch(t){return it(t,e,"data()"),{}}finally{L()}}function Me(t,e){var n=t._computedWatchers=Object.create(null),o=ra();for(var r in e){var i=e[r],a="function"==typeof i?i:i.get;o||(n[r]=new qa(t,a||E,E,Za)),r in t||Pe(t,r,i)}}function Pe(t,e,n){var o=!ra();"function"==typeof n?(Ja.get=o?De(e):Ne(n),Ja.set=E):(Ja.get=n.get?o&&!1!==n.cache?De(e):Ne(n.get):E,Ja.set=n.set||E),Object.defineProperty(t,e,Ja)}function De(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ua.target&&e.depend(),e.value}}function Ne(t){return function(){return t.call(this,this)}}function Fe(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?E:Mi(e[n],t)}function Re(t,e){for(var n in e){var o=e[n];if(Array.isArray(o))for(var r=0;r<o.length;r++)Be(t,n,o[r]);else Be(t,n,o)}}function Be(t,e,n,o){return u(n)&&(o=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,o)}function We(t,e){var n=t.$options=Object.create(t.constructor.options),o=e._parentVnode;n.parent=e.parent,n._parentVnode=o;var r=o.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Ue(t){var e=t.options;if(t.super){var n=Ue(t.super);if(n!==t.superOptions){t.superOptions=n;var o=ze(t);o&&x(t.extendOptions,o),e=t.options=Q(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function ze(t){var e,n=t.options,o=t.sealedOptions;for(var r in n)n[r]!==o[r]&&(e||(e={}),e[r]=n[r]);return e}function He(t){this._init(t)}function Ge(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=w(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Ve(t){t.mixin=function(t){return this.options=Q(this.options,t),this}}function Ke(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,o=n.cid,r=t._Ctor||(t._Ctor={});if(r[o])return r[o];var i=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Q(n.options,t),a.super=n,a.options.props&&qe(a),a.options.computed&&Je(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Fi.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=x({},a.options),r[o]=a,a}}function qe(t){var e=t.options.props;for(var n in e)Se(t.prototype,"_props",n)}function Je(t){var e=t.options.computed;for(var n in e)Pe(t.prototype,n,e[n])}function Ze(t){Fi.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Ye(t){return t&&(t.Ctor.options.name||t.tag)}function Qe(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function Xe(t,e){var n=t.cache,o=t.keys,r=t._vnode;for(var i in n){var a=n[i];if(a){var s=Ye(a.componentOptions);s&&!e(s)&&tn(n,i,o,r)}}}function tn(t,e,n,o){var r=t[e];!r||o&&r.tag===o.tag||r.componentInstance.$destroy(),t[e]=null,m(n,e)}function en(t){for(var e=t.data,n=t,o=t;r(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(e=nn(o.data,e));for(;r(n=n.parent);)n&&n.data&&(e=nn(e,n.data));return on(e.staticClass,e.class)}function nn(t,e){return{staticClass:rn(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function on(t,e){return r(t)||r(e)?rn(t,an(e)):""}function rn(t,e){return t?e?t+" "+e:t:e||""}function an(t){return Array.isArray(t)?sn(t):c(t)?cn(t):"string"==typeof t?t:""}function sn(t){for(var e,n="",o=0,i=t.length;o<i;o++)r(e=an(t[o]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function cn(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}function un(t){return Es(t)?"svg":"math"===t?"math":void 0}function ln(t){if(!Hi)return!0;if(Os(t))return!1;if(t=t.toLowerCase(),null!=Ts[t])return Ts[t];var e=document.createElement(t);return t.indexOf("-")>-1?Ts[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ts[t]=/HTMLUnknownElement/.test(e.toString())}function fn(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function pn(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function dn(t,e){return document.createElementNS(xs[t],e)}function hn(t){return document.createTextNode(t)}function vn(t){return document.createComment(t)}function mn(t,e,n){t.insertBefore(e,n)}function gn(t,e){t.removeChild(e)}function yn(t,e){t.appendChild(e)}function bn(t){return t.parentNode}function _n(t){return t.nextSibling}function wn(t){return t.tagName}function xn(t,e){t.textContent=e}function kn(t,e){t.setAttribute(e,"")}function En(t,e){var n=t.data.ref;if(r(n)){var o=t.context,i=t.componentInstance||t.elm,a=o.$refs;e?Array.isArray(a[n])?m(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}function Cn(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&On(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&o(e.asyncFactory.error))}function On(t,e){if("input"!==t.tag)return!0;var n,o=r(n=t.data)&&r(n=n.attrs)&&n.type,i=r(n=e.data)&&r(n=n.attrs)&&n.type;return o===i||$s(o)&&$s(i)}function Tn(t,e,n){var o,i,a={};for(o=e;o<=n;++o)i=t[o].key,r(i)&&(a[i]=o);return a}function $n(t,e){(t.data.directives||e.data.directives)&&Sn(t,e)}function Sn(t,e){var n,o,r,i=t===js,a=e===js,s=An(t.data.directives,t.context),c=An(e.data.directives,e.context),u=[],l=[];for(n in c)o=s[n],r=c[n],o?(r.oldValue=o.value,r.oldArg=o.arg,In(r,"update",e,t),r.def&&r.def.componentUpdated&&l.push(r)):(In(r,"bind",e,t),r.def&&r.def.inserted&&u.push(r));if(u.length){var f=function(){for(var n=0;n<u.length;n++)In(u[n],"inserted",e,t)};i?vt(e,"insert",f):f()}if(l.length&&vt(e,"postpatch",function(){for(var n=0;n<l.length;n++)In(l[n],"componentUpdated",e,t)}),!i)for(n in s)c[n]||In(s[n],"unbind",t,t,a)}function An(t,e){var n=Object.create(null);if(!t)return n;var o,r;for(o=0;o<t.length;o++)r=t[o],r.modifiers||(r.modifiers=Ms),n[jn(r)]=r,r.def=X(e.$options,"directives",r.name,!0);return n}function jn(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function In(t,e,n,o,r){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,o,r)}catch(o){it(o,n.context,"directive "+t.name+" "+e+" hook")}}function Ln(t,e){var n=e.componentOptions;if(!(r(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var i,a,s=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};r(u.__ob__)&&(u=e.data.attrs=x({},u));for(i in u)a=u[i],c[i]!==a&&Mn(s,i,a);(qi||Zi)&&u.value!==c.value&&Mn(s,"value",u.value);for(i in c)o(u[i])&&(bs(i)?s.removeAttributeNS(ys,_s(i)):hs(i)||s.removeAttribute(i))}}function Mn(t,e,n){t.tagName.indexOf("-")>-1?Pn(t,e,n):gs(e)?ws(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):hs(e)?t.setAttribute(e,ms(e,n)):bs(e)?ws(n)?t.removeAttributeNS(ys,_s(e)):t.setAttributeNS(ys,e,n):Pn(t,e,n)}function Pn(t,e,n){if(ws(n))t.removeAttribute(e);else{if(qi&&!Ji&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var o=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",o)};t.addEventListener("input",o),t.__ieph=!0}t.setAttribute(e,n)}}function Dn(t,e){var n=e.elm,i=e.data,a=t.data;if(!(o(i.staticClass)&&o(i.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=en(e),c=n._transitionClasses;r(c)&&(s=rn(s,an(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function Nn(t){function e(){(a||(a=[])).push(t.slice(h,r).trim()),h=r+1}var n,o,r,i,a,s=!1,c=!1,u=!1,l=!1,f=0,p=0,d=0,h=0;for(r=0;r<t.length;r++)if(o=n,n=t.charCodeAt(r),s)39===n&&92!==o&&(s=!1);else if(c)34===n&&92!==o&&(c=!1);else if(u)96===n&&92!==o&&(u=!1);else if(l)47===n&&92!==o&&(l=!1);else if(124!==n||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||f||p||d){switch(n){case 34:c=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:d++;break;case 41:d--;break;case 91:p++;break;case 93:p--;break;case 123:f++;break;case 125:f--}if(47===n){for(var v=r-1,m=void 0;v>=0&&" "===(m=t.charAt(v));v--);m&&Fs.test(m)||(l=!0)}}else void 0===i?(h=r+1,i=t.slice(0,r).trim()):e();if(void 0===i?i=t.slice(0,r).trim():0!==h&&e(),a)for(r=0;r<a.length;r++)i=Fn(i,a[r]);return i}function Fn(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var o=e.slice(0,n),r=e.slice(n+1);return'_f("'+o+'")('+t+(")"!==r?","+r:r)}function Rn(t,e){console.error("[Vue compiler]: "+t)}function Bn(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function Wn(t,e,n,o,r){(t.props||(t.props=[])).push(Yn({name:e,value:n,dynamic:r},o)),t.plain=!1}function Un(t,e,n,o,r){(r?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Yn({name:e,value:n,dynamic:r},o)),t.plain=!1}function zn(t,e,n,o){t.attrsMap[e]=n,t.attrsList.push(Yn({name:e,value:n},o))}function Hn(t,e,n,o,r,i,a,s){(t.directives||(t.directives=[])).push(Yn({name:e,rawName:n,value:o,arg:r,isDynamicArg:i,modifiers:a},s)),t.plain=!1}function Gn(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function Vn(t,e,n,o,r,i,a,s){o=o||Ei,o.right?s?e="("+e+")==='click'?'contextmenu':("+e+")":"click"===e&&(e="contextmenu",delete o.right):o.middle&&(s?e="("+e+")==='click'?'mouseup':("+e+")":"click"===e&&(e="mouseup")),o.capture&&(delete o.capture,e=Gn("!",e,s)),o.once&&(delete o.once,e=Gn("~",e,s)),o.passive&&(delete o.passive,e=Gn("&",e,s));var c;o.native?(delete o.native,c=t.nativeEvents||(t.nativeEvents={})):c=t.events||(t.events={});var u=Yn({value:n.trim(),dynamic:s},a);o!==Ei&&(u.modifiers=o);var l=c[e];Array.isArray(l)?r?l.unshift(u):l.push(u):c[e]=l?r?[u,l]:[l,u]:u,t.plain=!1}function Kn(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}function qn(t,e,n){var o=Jn(t,":"+e)||Jn(t,"v-bind:"+e);if(null!=o)return Nn(o);if(!1!==n){var r=Jn(t,e);if(null!=r)return JSON.stringify(r)}}function Jn(t,e,n){var o;if(null!=(o=t.attrsMap[e]))for(var r=t.attrsList,i=0,a=r.length;i<a;i++)if(r[i].name===e){r.splice(i,1);break}return n&&delete t.attrsMap[e],o}function Zn(t,e){for(var n=t.attrsList,o=0,r=n.length;o<r;o++){var i=n[o];if(e.test(i.name))return n.splice(o,1),i}}function Yn(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function Qn(t,e,n){var o=n||{},r=o.number,i=o.trim,a="$$v";i&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(a="_n("+a+")");var s=Xn(e,a);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ($$v) {"+s+"}"}}function Xn(t,e){var n=to(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function to(t){if(t=t.trim(),es=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<es-1)return rs=t.lastIndexOf("."),rs>-1?{exp:t.slice(0,rs),key:'"'+t.slice(rs+1)+'"'}:{exp:t,key:null};for(ns=t,rs=is=as=0;!no();)os=eo(),oo(os)?io(os):91===os&&ro(os);return{exp:t.slice(0,is),key:t.slice(is+1,as)}}function eo(){return ns.charCodeAt(++rs)}function no(){return rs>=es}function oo(t){return 34===t||39===t}function ro(t){var e=1;for(is=rs;!no();)if(t=eo(),oo(t))io(t);else if(91===t&&e++,93===t&&e--,0===e){as=rs;break}}function io(t){for(var e=t;!no()&&(t=eo())!==e;);}function ao(t,e,n){ss=n;var o=e.value,r=e.modifiers,i=t.tag,a=t.attrsMap.type;if(t.component)return Qn(t,o,r),!1;if("select"===i)uo(t,o,r);else if("input"===i&&"checkbox"===a)so(t,o,r);else if("input"===i&&"radio"===a)co(t,o,r);else if("input"===i||"textarea"===i)lo(t,o,r);else if(!Bi.isReservedTag(i))return Qn(t,o,r),!1;return!0}function so(t,e,n){var o=n&&n.number,r=qn(t,"value")||"null",i=qn(t,"true-value")||"true",a=qn(t,"false-value")||"false";Wn(t,"checked","Array.isArray("+e+")?_i("+e+","+r+")>-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),Vn(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(o?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Xn(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Xn(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Xn(e,"$$c")+"}",null,!0)}function co(t,e,n){var o=n&&n.number,r=qn(t,"value")||"null";r=o?"_n("+r+")":r,Wn(t,"checked","_q("+e+","+r+")"),Vn(t,"change",Xn(e,r),null,!0)}function uo(t,e,n){var o=n&&n.number,r='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(o?"_n(val)":"val")+"})",i="var $$selectedVal = "+r+";";i=i+" "+Xn(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Vn(t,"change",i,null,!0)}function lo(t,e,n){var o=t.attrsMap.type,r=n||{},i=r.lazy,a=r.number,s=r.trim,c=!i&&"range"!==o,u=i?"change":"range"===o?Rs:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Xn(e,l);c&&(f="if($event.target.composing)return;"+f),Wn(t,"value","("+e+")"),Vn(t,u,f,null,!0),(s||a)&&Vn(t,"blur","$forceUpdate()")}function fo(t){if(r(t[Rs])){var e=qi?"change":"input";t[e]=[].concat(t[Rs],t[e]||[]),delete t[Rs]}r(t[Bs])&&(t.change=[].concat(t[Bs],t.change||[]),delete t[Bs])}function po(t,e,n){var o=cs;return function r(){null!==e.apply(null,arguments)&&vo(t,r,n,o)}}function ho(t,e,n,o){if(Ws){var r=Ha,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}cs.addEventListener(t,e,ta?{capture:n,passive:o}:n)}function vo(t,e,n,o){(o||cs).removeEventListener(t,e._wrapper||e,n)}function mo(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};cs=e.elm,fo(n),ht(n,r,ho,vo,po,e.context),cs=void 0}}function go(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};r(c.__ob__)&&(c=e.data.domProps=x({},c));for(n in s)n in c||(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var u=o(i)?"":String(i);yo(a,u)&&(a.value=u)}else if("innerHTML"===n&&Es(a.tagName)&&o(a.innerHTML)){us=us||document.createElement("div"),us.innerHTML="<svg>"+i+"</svg>";for(var l=us.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(i!==s[n])try{a[n]=i}catch(t){}}}}function yo(t,e){return!t.composing&&("OPTION"===t.tagName||bo(t,e)||_o(t,e))}function bo(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function _o(t,e){var n=t.value,o=t._vModifiers;if(r(o)){if(o.number)return h(n)!==h(e);if(o.trim)return n.trim()!==e.trim()}return n!==e}function wo(t){var e=xo(t.style);return t.staticStyle?x(t.staticStyle,e):e}function xo(t){return Array.isArray(t)?k(t):"string"==typeof t?Hs(t):t}function ko(t,e){var n,o={};if(e)for(var r=t;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=wo(r.data))&&x(o,n);(n=wo(t.data))&&x(o,n);for(var i=t;i=i.parent;)i.data&&(n=wo(i.data))&&x(o,n);return o}function Eo(t,e){var n=e.data,i=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var a,s,c=e.elm,u=i.staticStyle,l=i.normalizedStyle||i.style||{},f=u||l,p=xo(e.data.style)||{};e.data.normalizedStyle=r(p.__ob__)?x({},p):p;var d=ko(e,!0);for(s in f)o(d[s])&&Ks(c,s,"");for(s in d)(a=d[s])!==f[s]&&Ks(c,s,null==a?"":a)}}function Co(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ys).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Oo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ys).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",o=" "+e+" ";n.indexOf(o)>=0;)n=n.replace(o," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function To(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&x(e,Qs(t.name||"v")),x(e,t),e}return"string"==typeof t?Qs(t):void 0}}function $o(t){ac(function(){ac(t)})}function So(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Co(t,e))}function Ao(t,e){t._transitionClasses&&m(t._transitionClasses,e),Oo(t,e)}function jo(t,e,n){var o=Io(t,e),r=o.type,i=o.timeout,a=o.propCount;if(!r)return n();var s=r===tc?oc:ic,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c<a&&u()},i+1),t.addEventListener(s,l)}function Io(t,e){var n,o=window.getComputedStyle(t),r=(o[nc+"Delay"]||"").split(", "),i=(o[nc+"Duration"]||"").split(", "),a=Lo(r,i),s=(o[rc+"Delay"]||"").split(", "),c=(o[rc+"Duration"]||"").split(", "),u=Lo(s,c),l=0,f=0;return e===tc?a>0&&(n=tc,l=a,f=i.length):e===ec?u>0&&(n=ec,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?tc:ec:null,f=n?n===tc?i.length:c.length:0),{type:n,timeout:l,propCount:f,hasTransform:n===tc&&sc.test(o[nc+"Property"])}}function Lo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Mo(e)+Mo(t[n])}))}function Mo(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Po(t,e){var n=t.elm;r(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=To(t.data.transition);if(!o(i)&&!r(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,u=i.enterClass,l=i.enterToClass,f=i.enterActiveClass,p=i.appearClass,d=i.appearToClass,v=i.appearActiveClass,m=i.beforeEnter,g=i.enter,y=i.afterEnter,b=i.enterCancelled,_=i.beforeAppear,w=i.appear,x=i.afterAppear,k=i.appearCancelled,E=i.duration,C=Na,O=Na.$vnode;O&&O.parent;)C=O.context,O=O.parent;var $=!C._isMounted||!t.isRootInsert;if(!$||w||""===w){var S=$&&p?p:u,A=$&&v?v:f,j=$&&d?d:l,I=$?_||m:m,L=$&&"function"==typeof w?w:g,M=$?x||y:y,P=$?k||b:b,D=h(c(E)?E.enter:E),N=!1!==a&&!Ji,F=Fo(L),R=n._enterCb=T(function(){N&&(Ao(n,j),Ao(n,A)),R.cancelled?(N&&Ao(n,S),P&&P(n)):M&&M(n),n._enterCb=null});t.data.show||vt(t,"insert",function(){var e=n.parentNode,o=e&&e._pending&&e._pending[t.key];o&&o.tag===t.tag&&o.elm._leaveCb&&o.elm._leaveCb(),L&&L(n,R)}),I&&I(n),N&&(So(n,S),So(n,A),$o(function(){Ao(n,S),R.cancelled||(So(n,j),F||(No(D)?setTimeout(R,D):jo(n,s,R)))})),t.data.show&&(e&&e(),L&&L(n,R)),N||F||R()}}}function Do(t,e){function n(){k.cancelled||(!t.data.show&&i.parentNode&&((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),d&&d(i),_&&(So(i,l),So(i,p),$o(function(){Ao(i,l),k.cancelled||(So(i,f),w||(No(x)?setTimeout(k,x):jo(i,u,k)))})),v&&v(i,k),_||w||k())}var i=t.elm;r(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var a=To(t.data.transition);if(o(a)||1!==i.nodeType)return e();if(!r(i._leaveCb)){var s=a.css,u=a.type,l=a.leaveClass,f=a.leaveToClass,p=a.leaveActiveClass,d=a.beforeLeave,v=a.leave,m=a.afterLeave,g=a.leaveCancelled,y=a.delayLeave,b=a.duration,_=!1!==s&&!Ji,w=Fo(v),x=h(c(b)?b.leave:b),k=i._leaveCb=T(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),_&&(Ao(i,f),Ao(i,p)),k.cancelled?(_&&Ao(i,l),g&&g(i)):(e(),m&&m(i)),i._leaveCb=null});y?y(n):n()}}function No(t){return"number"==typeof t&&!isNaN(t)}function Fo(t){if(o(t))return!1;var e=t.fns;return r(e)?Fo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Ro(t,e){!0!==e.data.show&&Po(e)}function Bo(t,e,n){Wo(t,e,n),(qi||Zi)&&setTimeout(function(){Wo(t,e,n)},0)}function Wo(t,e,n){var o=e.value,r=t.multiple;if(!r||Array.isArray(o)){for(var i,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],r)i=O(o,zo(a))>-1,a.selected!==i&&(a.selected=i);else if(C(zo(a),o))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Uo(t,e){return e.every(function(e){return!C(e,t)})}function zo(t){return"_value"in t?t._value:t.value}function Ho(t){t.target.composing=!0}function Go(t){t.target.composing&&(t.target.composing=!1,Vo(t.target,"input"))}function Vo(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ko(t){return!t.componentInstance||t.data&&t.data.transition?t:Ko(t.componentInstance._vnode)}function qo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?qo(ue(e.children)):t}function Jo(t){var e={},n=t.$options;for(var o in n.propsData)e[o]=t[o];var r=n._parentListeners;for(var i in r)e[Ai(i)]=r[i];return e}function Zo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Yo(t){for(;t=t.parent;)if(t.data.transition)return!0}function Qo(t,e){return e.key===t.key&&e.tag===t.tag}function Xo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function tr(t){t.data.newPos=t.elm.getBoundingClientRect()}function er(t){var e=t.data.pos,n=t.data.newPos,o=e.left-n.left,r=e.top-n.top;if(o||r){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+o+"px,"+r+"px)",i.transitionDuration="0s"}}function nr(t,e){var n=e?Nc(e):Pc;if(n.test(t)){for(var o,r,i,a=[],s=[],c=n.lastIndex=0;o=n.exec(t);){r=o.index,r>c&&(s.push(i=t.slice(c,r)),a.push(JSON.stringify(i)));var u=Nn(o[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=r+o[0].length}return c<t.length&&(s.push(i=t.slice(c)),a.push(JSON.stringify(i))),{expression:a.join("+"),tokens:s}}}function or(t,e){var n=(e.warn,Jn(t,"class"));n&&(t.staticClass=JSON.stringify(n));var o=qn(t,"class",!1);o&&(t.classBinding=o)}function rr(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}function ir(t,e){var n=(e.warn,Jn(t,"style"));if(n){t.staticStyle=JSON.stringify(Hs(n))}var o=qn(t,"style",!1);o&&(t.styleBinding=o)}function ar(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}function sr(t,e){var n=e?ru:ou;return t.replace(n,function(t){return nu[t]})}function cr(t,e){function n(e){l+=e,t=t.substring(e)}function o(t,n,o){var r,s;if(null==n&&(n=l),null==o&&(o=l),t)for(s=t.toLowerCase(),r=a.length-1;r>=0&&a[r].lowerCasedTag!==s;r--);else r=0;if(r>=0){for(var c=a.length-1;c>=r;c--)e.end&&e.end(a[c].tag,n,o);a.length=r,i=r&&a[r-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}for(var r,i,a=[],s=e.expectHTML,c=e.isUnaryTag||Pi,u=e.canBeLeftOpenTag||Pi,l=0;t;){if(r=t,i&&tu(i)){var f=0,p=i.toLowerCase(),d=eu[p]||(eu[p]=new RegExp("([\\s\\S]*?)(</"+p+"[^>]*>)","i")),h=t.replace(d,function(t,n,o){return f=o.length,tu(p)||"noscript"===p||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),au(p,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-h.length,t=h,o(p,l-f,l)}else{var v=t.indexOf("<");if(0===v){if(Qc.test(t)){var m=t.indexOf("--\x3e");if(m>=0){e.shouldKeepComment&&e.comment(t.substring(4,m),l,l+m+3),n(m+3);continue}}if(Xc.test(t)){var g=t.indexOf("]>");if(g>=0){n(g+2);continue}}var y=t.match(Yc);if(y){n(y[0].length);continue}var b=t.match(Zc);if(b){var _=l;n(b[0].length),o(b[1],_,l);continue}var w=function(){var e=t.match(qc);if(e){var o={tagName:e[1],attrs:[],start:l};n(e[0].length);for(var r,i;!(r=t.match(Jc))&&(i=t.match(Gc)||t.match(Hc));)i.start=l,n(i[0].length),i.end=l,o.attrs.push(i);if(r)return o.unarySlash=r[1],n(r[0].length),o.end=l,o}}();if(w){!function(t){var n=t.tagName,r=t.unarySlash;s&&("p"===i&&zc(n)&&o(i),u(n)&&i===n&&o(n));for(var l=c(n)||!!r,f=t.attrs.length,p=new Array(f),d=0;d<f;d++){var h=t.attrs[d],v=h[3]||h[4]||h[5]||"",m="a"===n&&"href"===h[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;p[d]={name:h[1],value:sr(v,m)}}l||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:p,start:t.start,end:t.end}),i=n),e.start&&e.start(n,p,l,t.start,t.end)}(w),au(w.tagName,t)&&n(1);continue}}var x=void 0,k=void 0,E=void 0;if(v>=0){for(k=t.slice(v);!(Zc.test(k)||qc.test(k)||Qc.test(k)||Xc.test(k)||(E=k.indexOf("<",1))<0);)v+=E,k=t.slice(v);x=t.substring(0,v)}v<0&&(x=t),x&&n(x.length),e.chars&&x&&e.chars(x,l-x.length,l)}if(t===r){e.chars&&e.chars(t);break}}o()}function ur(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:Ar(e),rawAttrsMap:{},parent:n,children:[]}}function lr(t,e){function n(t){if(o(t),l||t.processed||(t=dr(t,e)),s.length||t===i||i.if&&(t.elseif||t.else)&&wr(i,{exp:t.elseif,block:t}),a&&!t.forbidden)if(t.elseif||t.else)br(t,a);else{if(t.slotScope){var n=t.slotTarget||'"default"';(a.scopedSlots||(a.scopedSlots={}))[n]=t}a.children.push(t),t.parent=a}t.children=t.children.filter(function(t){return!t.slotScope}),o(t),t.pre&&(l=!1),$c(t.tag)&&(f=!1);for(var r=0;r<Tc.length;r++)Tc[r](t,e)}function o(t){if(!f)for(var e;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}kc=e.warn||Rn,$c=e.isPreTag||Pi,Sc=e.mustUseProp||Pi,Ac=e.getTagNamespace||Pi;var r=e.isReservedTag||Pi;jc=function(t){return!!t.component||!r(t.tag)},Cc=Bn(e.modules,"transformNode"),Oc=Bn(e.modules,"preTransformNode"),Tc=Bn(e.modules,"postTransformNode"),Ec=e.delimiters;var i,a,s=[],c=!1!==e.preserveWhitespace,u=e.whitespace,l=!1,f=!1;return cr(t,{warn:kc,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,o,r,c,u){var p=a&&a.ns||Ac(t);qi&&"svg"===p&&(o=Lr(o));var d=ur(t,o,a);p&&(d.ns=p),Ir(d)&&!ra()&&(d.forbidden=!0);for(var h=0;h<Oc.length;h++)d=Oc[h](d,e)||d;l||(fr(d),d.pre&&(l=!0)),$c(d.tag)&&(f=!0),l?pr(d):d.processed||(mr(d),yr(d),xr(d)),i||(i=d),r?n(d):(a=d,s.push(d))},end:function(t,e,o){var r=s[s.length-1];s.length-=1,a=s[s.length-1],n(r)},chars:function(t,e,n){if(a&&(!qi||"textarea"!==a.tag||a.attrsMap.placeholder!==t)){var o=a.children;if(t=f||t.trim()?jr(a)?t:bu(t):o.length?u?"condense"===u&&gu.test(t)?"":" ":c?" ":"":""){f||"condense"!==u||(t=t.replace(yu," "));var r,i;!l&&" "!==t&&(r=nr(t,Ec))?i={type:2,expression:r.expression,tokens:r.tokens,text:t}:" "===t&&o.length&&" "===o[o.length-1].text||(i={type:3,text:t}),i&&o.push(i)}}},comment:function(t,e,n){if(a){var o={type:3,text:t,isComment:!0};a.children.push(o)}}}),i}function fr(t){null!=Jn(t,"v-pre")&&(t.pre=!0)}function pr(t){var e=t.attrsList,n=e.length;if(n)for(var o=t.attrs=new Array(n),r=0;r<n;r++)o[r]={name:e[r].name,value:JSON.stringify(e[r].value)},null!=e[r].start&&(o[r].start=e[r].start,o[r].end=e[r].end);else t.pre||(t.plain=!0)}function dr(t,e){hr(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,vr(t),kr(t),Cr(t),Or(t);for(var n=0;n<Cc.length;n++)t=Cc[n](t,e)||t;return Tr(t),t}function hr(t){var e=qn(t,"key");if(e){t.key=e}}function vr(t){var e=qn(t,"ref");e&&(t.ref=e,t.refInFor=$r(t))}function mr(t){var e;if(e=Jn(t,"v-for")){var n=gr(e);n&&x(t,n)}}function gr(t){var e=t.match(uu);if(e){var n={};n.for=e[2].trim();var o=e[1].trim().replace(fu,""),r=o.match(lu);return r?(n.alias=o.replace(lu,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=o,n}}function yr(t){var e=Jn(t,"v-if");if(e)t.if=e,wr(t,{exp:e,block:t});else{null!=Jn(t,"v-else")&&(t.else=!0);var n=Jn(t,"v-else-if");n&&(t.elseif=n)}}function br(t,e){var n=_r(e.children);n&&n.if&&wr(n,{exp:t.elseif,block:t})}function _r(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}function wr(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function xr(t){null!=Jn(t,"v-once")&&(t.once=!0)}function kr(t){var e;"template"===t.tag?(e=Jn(t,"scope"),t.slotScope=e||Jn(t,"slot-scope")):(e=Jn(t,"slot-scope"))&&(t.slotScope=e);var n=qn(t,"slot");if(n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Un(t,"slot",n,Kn(t,"slot"))),"template"===t.tag){var o=Zn(t,mu);if(o){var r=Er(o),i=r.name,a=r.dynamic;t.slotTarget=i,t.slotTargetDynamic=a,t.slotScope=o.value||_u}}else{var s=Zn(t,mu);if(s){var c=t.scopedSlots||(t.scopedSlots={}),u=Er(s),l=u.name,f=u.dynamic,p=c[l]=ur("template",[],t);p.slotTarget=l,p.slotTargetDynamic=f,p.children=t.children.filter(function(t){if(!t.slotScope)return t.parent=p,!0}),p.slotScope=s.value||_u,t.children=[],t.plain=!1}}}function Er(t){var e=t.name.replace(mu,"");return e||"#"!==t.name[0]&&(e="default"),pu.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function Cr(t){"slot"===t.tag&&(t.slotName=qn(t,"name"))}function Or(t){var e;(e=qn(t,"is"))&&(t.component=e),null!=Jn(t,"inline-template")&&(t.inlineTemplate=!0)}function Tr(t){var e,n,o,r,i,a,s,c,u=t.attrsList;for(e=0,n=u.length;e<n;e++)if(o=r=u[e].name,i=u[e].value,cu.test(o))if(t.hasBindings=!0,a=Sr(o.replace(cu,"")),a&&(o=o.replace(vu,"")),hu.test(o))o=o.replace(hu,""),i=Nn(i),c=pu.test(o),c&&(o=o.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(o=Ai(o))&&(o="innerHTML"),a.camel&&!c&&(o=Ai(o)),a.sync&&(s=Xn(i,"$event"),c?Vn(t,'"update:"+('+o+")",s,null,!1,kc,u[e],!0):(Vn(t,"update:"+Ai(o),s,null,!1,kc,u[e]),Li(o)!==Ai(o)&&Vn(t,"update:"+Li(o),s,null,!1,kc,u[e])))),a&&a.prop||!t.component&&Sc(t.tag,t.attrsMap.type,o)?Wn(t,o,i,u[e],c):Un(t,o,i,u[e],c);else if(su.test(o))o=o.replace(su,""),c=pu.test(o),c&&(o=o.slice(1,-1)),Vn(t,o,i,a,!1,kc,u[e],c);else{o=o.replace(cu,"");var l=o.match(du),f=l&&l[1];c=!1,f&&(o=o.slice(0,-(f.length+1)),pu.test(f)&&(f=f.slice(1,-1),c=!0)),Hn(t,o,r,i,f,c,a,u[e])}else{Un(t,o,JSON.stringify(i),u[e]),!t.component&&"muted"===o&&Sc(t.tag,t.attrsMap.type,o)&&Wn(t,o,"true",u[e])}}function $r(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}function Sr(t){var e=t.match(vu);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function Ar(t){for(var e={},n=0,o=t.length;n<o;n++)e[t[n].name]=t[n].value;return e}function jr(t){return"script"===t.tag||"style"===t.tag}function Ir(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}function Lr(t){for(var e=[],n=0;n<t.length;n++){var o=t[n];wu.test(o.name)||(o.name=o.name.replace(xu,""),e.push(o))}return e}function Mr(t,e){if("input"===t.tag){var n=t.attrsMap;if(!n["v-model"])return;var o;if((n[":type"]||n["v-bind:type"])&&(o=qn(t,"type")),n.type||o||!n["v-bind"]||(o="("+n["v-bind"]+").type"),o){var r=Jn(t,"v-if",!0),i=r?"&&("+r+")":"",a=null!=Jn(t,"v-else",!0),s=Jn(t,"v-else-if",!0),c=Pr(t);mr(c),zn(c,"type","checkbox"),dr(c,e),c.processed=!0,c.if="("+o+")==='checkbox'"+i,wr(c,{exp:c.if,block:c});var u=Pr(t);Jn(u,"v-for",!0),zn(u,"type","radio"),dr(u,e),wr(c,{exp:"("+o+")==='radio'"+i,block:u});var l=Pr(t);return Jn(l,"v-for",!0),zn(l,":type",o),dr(l,e),wr(c,{exp:r,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}function Pr(t){return ur(t.tag,t.attrsList.slice(),t.parent)}function Dr(t,e){e.value&&Wn(t,"textContent","_s("+e.value+")",e)}function Nr(t,e){e.value&&Wn(t,"innerHTML","_s("+e.value+")",e)}function Fr(t,e){t&&(Ic=Tu(e.staticKeys||""),Lc=e.isReservedTag||Pi,Br(t),Wr(t,!1))}function Rr(t){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}function Br(t){if(t.static=Ur(t),1===t.type){if(!Lc(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var o=t.children[e];Br(o),o.static||(t.static=!1)}if(t.ifConditions)for(var r=1,i=t.ifConditions.length;r<i;r++){var a=t.ifConditions[r].block;Br(a),a.static||(t.static=!1)}}}function Wr(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,o=t.children.length;n<o;n++)Wr(t.children[n],e||!!t.for);if(t.ifConditions)for(var r=1,i=t.ifConditions.length;r<i;r++)Wr(t.ifConditions[r].block,e)}}function Ur(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||Oi(t.tag)||!Lc(t.tag)||zr(t)||!Object.keys(t).every(Ic))))}function zr(t){for(;t.parent;){if(t=t.parent,"template"!==t.tag)return!1;if(t.for)return!0}return!1}function Hr(t,e){var n=e?"nativeOn:":"on:",o="",r="";for(var i in t){var a=Gr(t[i]);t[i]&&t[i].dynamic?r+=i+","+a+",":o+='"'+i+'":'+a+","}return o="{"+o.slice(0,-1)+"}",r?n+"_d("+o+",["+r.slice(0,-1)+"])":n+o}function Gr(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return Gr(t)}).join(",")+"]";var e=Au.test(t.value),n=$u.test(t.value),o=Au.test(t.value.replace(Su,""));if(t.modifiers){var r="",i="",a=[];for(var s in t.modifiers)if(Mu[s])i+=Mu[s],ju[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;i+=Lu(["ctrl","shift","alt","meta"].filter(function(t){return!c[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);a.length&&(r+=Vr(a)),i&&(r+=i);return"function($event){"+r+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":o?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(o?"return "+t.value:t.value)+"}"}function Vr(t){return"if(!$event.type.indexOf('key')&&"+t.map(Kr).join("&&")+")return null;"}function Kr(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=ju[t],o=Iu[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(o)+")"}function qr(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}}function Jr(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}}function Zr(t,e){var n=new Du(e);return{render:"with(this){return "+(t?Yr(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Yr(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Qr(t,e);if(t.once&&!t.onceProcessed)return Xr(t,e);if(t.for&&!t.forProcessed)return ni(t,e);if(t.if&&!t.ifProcessed)return ti(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return mi(t,e);var n;if(t.component)n=gi(t.component,t,e);else{var o;(!t.plain||t.pre&&e.maybeComponent(t))&&(o=oi(t,e));var r=t.inlineTemplate?null:li(t,e,!0);n="_c('"+t.tag+"'"+(o?","+o:"")+(r?","+r:"")+")"}for(var i=0;i<e.transforms.length;i++)n=e.transforms[i](t,n);return n}return li(t,e)||"void 0"}function Qr(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+Yr(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function Xr(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return ti(t,e);if(t.staticInFor){for(var n="",o=t.parent;o;){if(o.for){n=o.key;break}o=o.parent}return n?"_o("+Yr(t,e)+","+e.onceId+++","+n+")":Yr(t,e)}return Qr(t,e)}function ti(t,e,n,o){return t.ifProcessed=!0,ei(t.ifConditions.slice(),e,n,o)}function ei(t,e,n,o){function r(t){return n?n(t,e):t.once?Xr(t,e):Yr(t,e)}if(!t.length)return o||"_e()";var i=t.shift();return i.exp?"("+i.exp+")?"+r(i.block)+":"+ei(t,e,n,o):""+r(i.block)}function ni(t,e,n,o){var r=t.for,i=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(o||"_l")+"(("+r+"),function("+i+a+s+"){return "+(n||Yr)(t,e)+"})"}function oi(t,e){var n="{",o=ri(t,e);o&&(n+=o+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var r=0;r<e.dataGenFns.length;r++)n+=e.dataGenFns[r](t);if(t.attrs&&(n+="attrs:"+yi(t.attrs)+","),t.props&&(n+="domProps:"+yi(t.props)+","),t.events&&(n+=Hr(t.events,!1)+","),t.nativeEvents&&(n+=Hr(t.nativeEvents,!0)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=ai(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var i=ii(t,e);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+yi(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function ri(t,e){var n=t.directives;if(n){var o,r,i,a,s="directives:[",c=!1;for(o=0,r=n.length;o<r;o++){i=n[o],a=!0;var u=e.directives[i.name];u&&(a=!!u(t,i,e.warn)),a&&(c=!0,s+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?",arg:"+(i.isDynamicArg?i.arg:'"'+i.arg+'"'):"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return c?s.slice(0,-1)+"]":void 0}}function ii(t,e){var n=t.children[0];if(n&&1===n.type){var o=Zr(n,e.options);return"inlineTemplate:{render:function(){"+o.render+"},staticRenderFns:["+o.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}function ai(t,e,n){var o=t.for||Object.keys(e).some(function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||ci(n)}),r=!!t.if;if(!o)for(var i=t.parent;i;){if(i.slotScope&&i.slotScope!==_u||i.for){o=!0;break}i.if&&(r=!0),i=i.parent}var a=Object.keys(e).map(function(t){return ui(e[t],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(o?",null,true":"")+(!o&&r?",null,false,"+si(a):"")+")"}function si(t){for(var e=5381,n=t.length;n;)e=33*e^t.charCodeAt(--n);return e>>>0}function ci(t){return 1===t.type&&("slot"===t.tag||t.children.some(ci))}function ui(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return ti(t,e,ui,"null");if(t.for&&!t.forProcessed)return ni(t,e,ui);var o=t.slotScope===_u?"":String(t.slotScope),r="function("+o+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(li(t,e)||"undefined")+":undefined":li(t,e)||"undefined":Yr(t,e))+"}",i=o?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+r+i+"}"}function li(t,e,n,o,r){var i=t.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(o||Yr)(a,e)+s}var c=n?fi(i,e.maybeComponent):0,u=r||di;return"["+i.map(function(t){return u(t,e)}).join(",")+"]"+(c?","+c:"")}}function fi(t,e){for(var n=0,o=0;o<t.length;o++){var r=t[o];if(1===r.type){if(pi(r)||r.ifConditions&&r.ifConditions.some(function(t){return pi(t.block)})){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}function pi(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function di(t,e){return 1===t.type?Yr(t,e):3===t.type&&t.isComment?vi(t):hi(t)}function hi(t){return"_v("+(2===t.type?t.expression:bi(JSON.stringify(t.text)))+")"}function vi(t){return"_e("+JSON.stringify(t.text)+")"}function mi(t,e){var n=t.slotName||'"default"',o=li(t,e),r="_t("+n+(o?","+o:""),i=t.attrs||t.dynamicAttrs?yi((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:Ai(t.name),value:t.value,dynamic:t.dynamic}})):null,a=t.attrsMap["v-bind"];return!i&&!a||o||(r+=",null"),i&&(r+=","+i),a&&(r+=(i?"":",null")+","+a),r+")"}function gi(t,e,n){var o=e.inlineTemplate?null:li(e,n,!0);return"_c("+t+","+oi(e,n)+(o?","+o:"")+")"}function yi(t){for(var e="",n="",o=0;o<t.length;o++){var r=t[o],i=bi(r.value);r.dynamic?n+=r.name+","+i+",":e+='"'+r.name+'":'+i+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function bi(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function _i(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),E}}function wi(t){var e=Object.create(null);return function(n,o,r){o=x({},o);o.warn;delete o.warn;var i=o.delimiters?String(o.delimiters)+n:n;if(e[i])return e[i];var a=t(n,o),s={},c=[];return s.render=_i(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(t){return _i(t,c)}),e[i]=s}}function xi(t){return Mc=Mc||document.createElement("div"),Mc.innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Mc.innerHTML.indexOf(" ")>0}function ki(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}/*!
|
2 |
* Vue.js v2.6.12
|
3 |
* (c) 2014-2020 Evan You
|
4 |
* Released under the MIT License.
|
5 |
*/
|
6 |
+
var Ei=Object.freeze({}),Ci=Object.prototype.toString,Oi=v("slot,component",!0),Ti=v("key,ref,slot,slot-scope,is"),$i=Object.prototype.hasOwnProperty,Si=/-(\w)/g,Ai=y(function(t){return t.replace(Si,function(t,e){return e?e.toUpperCase():""})}),ji=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Ii=/\B([A-Z])/g,Li=y(function(t){return t.replace(Ii,"-$1").toLowerCase()}),Mi=Function.prototype.bind?_:b,Pi=function(t,e,n){return!1},Di=function(t){return t},Ni="data-server-rendered",Fi=["component","directive","filter"],Ri=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],Bi={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Pi,isReservedAttr:Pi,isUnknownElement:Pi,getTagNamespace:E,parsePlatformTagName:Di,mustUseProp:Pi,async:!0,_lifecycleHooks:Ri},Wi=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/,Ui=new RegExp("[^"+Wi.source+".$_\\d]"),zi="__proto__"in{},Hi="undefined"!=typeof window,Gi="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Vi=Gi&&WXEnvironment.platform.toLowerCase(),Ki=Hi&&window.navigator.userAgent.toLowerCase(),qi=Ki&&/msie|trident/.test(Ki),Ji=Ki&&Ki.indexOf("msie 9.0")>0,Zi=Ki&&Ki.indexOf("edge/")>0,Yi=(Ki&&Ki.indexOf("android"),Ki&&/iphone|ipad|ipod|ios/.test(Ki)||"ios"===Vi),Qi=(Ki&&/chrome\/\d+/.test(Ki),Ki&&/phantomjs/.test(Ki),Ki&&Ki.match(/firefox\/(\d+)/)),Xi={}.watch,ta=!1;if(Hi)try{var ea={};Object.defineProperty(ea,"passive",{get:function(){ta=!0}}),window.addEventListener("test-passive",null,ea)}catch(t){}var na,oa,ra=function(){return void 0===na&&(na=!Hi&&!Gi&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),na},ia=Hi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,aa="undefined"!=typeof Symbol&&j(Symbol)&&"undefined"!=typeof Reflect&&j(Reflect.ownKeys);oa="undefined"!=typeof Set&&j(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var sa=E,ca=0,ua=function(){this.id=ca++,this.subs=[]};ua.prototype.addSub=function(t){this.subs.push(t)},ua.prototype.removeSub=function(t){m(this.subs,t)},ua.prototype.depend=function(){ua.target&&ua.target.addDep(this)},ua.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},ua.target=null;var la=[],fa=function(t,e,n,o,r,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=o,this.elm=r,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},pa={child:{configurable:!0}};pa.child.get=function(){return this.componentInstance},Object.defineProperties(fa.prototype,pa);var da=function(t){void 0===t&&(t="");var e=new fa;return e.text=t,e.isComment=!0,e},ha=Array.prototype,va=Object.create(ha);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=ha[t];S(va,t,function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var r,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),i})});var ma=Object.getOwnPropertyNames(va),ga=!0,ya=function(t){this.value=t,this.dep=new ua,this.vmCount=0,S(t,"__ob__",this),Array.isArray(t)?(zi?N(t,va):F(t,va,ma),this.observeArray(t)):this.walk(t)};ya.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)B(t,e[n])},ya.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)R(t[e])};var ba=Bi.optionMergeStrategies;ba.data=function(t,e,n){return n?G(t,e,n):e&&"function"!=typeof e?t:G(t,e)},Ri.forEach(function(t){ba[t]=V}),Fi.forEach(function(t){ba[t+"s"]=q}),ba.watch=function(t,e,n,o){if(t===Xi&&(t=void 0),e===Xi&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var r={};x(r,t);for(var i in e){var a=r[i],s=e[i];a&&!Array.isArray(a)&&(a=[a]),r[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return r},ba.props=ba.methods=ba.inject=ba.computed=function(t,e,n,o){if(!t)return e;var r=Object.create(null);return x(r,t),e&&x(r,e),r},ba.provide=G;var _a,wa=function(t,e){return void 0===e?t:e},xa=!1,ka=[],Ea=!1;if("undefined"!=typeof Promise&&j(Promise)){var Ca=Promise.resolve();_a=function(){Ca.then(ut),Yi&&setTimeout(E)},xa=!0}else if(qi||"undefined"==typeof MutationObserver||!j(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())_a=void 0!==n&&j(n)?function(){n(ut)}:function(){setTimeout(ut,0)};else{var Oa=1,Ta=new MutationObserver(ut),$a=document.createTextNode(String(Oa));Ta.observe($a,{characterData:!0}),_a=function(){Oa=(Oa+1)%2,$a.data=String(Oa)},xa=!0}var Sa=new oa,Aa=y(function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var o="!"===t.charAt(0);return t=o?t.slice(1):t,{name:t,once:n,capture:o,passive:e}});Ht(Gt.prototype);var ja,Ia={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Ia.prepatch(n,n)}else{(t.componentInstance=Zt(t,Na)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;ye(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,xe(n,"mounted")),t.data.keepAlive&&(e._isMounted?Oe(n):_e(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?we(e,!0):e.$destroy())}},La=Object.keys(Ia),Ma=1,Pa=2,Da=null,Na=null,Fa=[],Ra=[],Ba={},Wa=!1,Ua=!1,za=0,Ha=0,Ga=Date.now;if(Hi&&!qi){var Va=window.performance;Va&&"function"==typeof Va.now&&Ga()>document.createEvent("Event").timeStamp&&(Ga=function(){return Va.now()})}var Ka=0,qa=function(t,e,n,o,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),o?(this.deep=!!o.deep,this.user=!!o.user,this.lazy=!!o.lazy,this.sync=!!o.sync,this.before=o.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Ka,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new oa,this.newDepIds=new oa,this.expression="","function"==typeof e?this.getter=e:(this.getter=A(e),this.getter||(this.getter=E)),this.value=this.lazy?void 0:this.get()};qa.prototype.get=function(){I(this);var t,e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;it(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ft(t),L(),this.cleanupDeps()}return t},qa.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},qa.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},qa.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():$e(this)},qa.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){it(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},qa.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},qa.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},qa.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Ja={enumerable:!0,configurable:!0,get:E,set:E},Za={lazy:!0},Ya=0;!function(t){t.prototype._init=function(t){var e=this;e._uid=Ya++,e._isVue=!0,t&&t._isComponent?We(e,t):e.$options=Q(Ue(e.constructor),t||{},e),e._renderProxy=e,e._self=e,me(e),le(e),re(e),xe(e,"beforeCreate"),kt(e),Ae(e),xt(e),xe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(He),function(t){var e={};e.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=W,t.prototype.$delete=U,t.prototype.$watch=function(t,e,n){var o=this;if(u(e))return Be(o,t,e,n);n=n||{},n.user=!0;var r=new qa(o,t,e,n);if(n.immediate)try{e.call(o,r.value)}catch(t){it(t,o,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(He),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var o=this;if(Array.isArray(t))for(var r=0,i=t.length;r<i;r++)o.$on(t[r],n);else(o._events[t]||(o._events[t]=[])).push(n),e.test(t)&&(o._hasHookEvent=!0);return o},t.prototype.$once=function(t,e){function n(){o.$off(t,n),e.apply(o,arguments)}var o=this;return n.fn=e,o.$on(t,n),o},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var o=0,r=t.length;o<r;o++)n.$off(t[o],e);return n}var i=n._events[t];if(!i)return n;if(!e)return n._events[t]=null,n;for(var a,s=i.length;s--;)if((a=i[s])===e||a.fn===e){i.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?w(n):n;for(var o=w(arguments,1),r='event handler for "'+t+'"',i=0,a=n.length;i<a;i++)at(n[i],e,o,e,r)}return e}}(He),function(t){t.prototype._update=function(t,e){var n=this,o=n.$el,r=n._vnode,i=ve(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),i(),o&&(o.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){xe(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||m(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),xe(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(He),function(t){Ht(t.prototype),t.prototype.$nextTick=function(t){return lt(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,o=e._parentVnode;o&&(t.$scopedSlots=Tt(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;var r;try{Da=t,r=n.call(t._renderProxy,t.$createElement)}catch(e){it(e,t,"render"),r=t._vnode}finally{Da=null}return Array.isArray(r)&&1===r.length&&(r=r[0]),r instanceof fa||(r=da()),r.parent=o,r}}(He);var Qa=[String,RegExp,Array],Xa={name:"keep-alive",abstract:!0,props:{include:Qa,exclude:Qa,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)tn(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(e){Xe(t,function(t){return Qe(e,t)})}),this.$watch("exclude",function(e){Xe(t,function(t){return!Qe(e,t)})})},render:function(){var t=this.$slots.default,e=ue(t),n=e&&e.componentOptions;if(n){var o=Ye(n),r=this,i=r.include,a=r.exclude;if(i&&(!o||!Qe(i,o))||a&&o&&Qe(a,o))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,m(u,l),u.push(l)):(c[l]=e,u.push(l),this.max&&u.length>parseInt(this.max)&&tn(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},ts={KeepAlive:Xa};!function(t){var e={};e.get=function(){return Bi},Object.defineProperty(t,"config",e),t.util={warn:sa,extend:x,mergeOptions:Q,defineReactive:B},t.set=W,t.delete=U,t.nextTick=lt,t.observable=function(t){return R(t),t},t.options=Object.create(null),Fi.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,x(t.options.components,ts),Ge(t),Ve(t),Ke(t),Ze(t)}(He),Object.defineProperty(He.prototype,"$isServer",{get:ra}),Object.defineProperty(He.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(He,"FunctionalRenderContext",{value:Gt}),He.version="2.6.12";var es,ns,os,rs,is,as,ss,cs,us,ls,fs=v("style,class"),ps=v("input,textarea,option,select,progress"),ds=function(t,e,n){return"value"===n&&ps(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},hs=v("contenteditable,draggable,spellcheck"),vs=v("events,caret,typing,plaintext-only"),ms=function(t,e){return ws(e)||"false"===e?"false":"contenteditable"===t&&vs(e)?e:"true"},gs=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),ys="http://www.w3.org/1999/xlink",bs=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},_s=function(t){return bs(t)?t.slice(6,t.length):""},ws=function(t){return null==t||!1===t},xs={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ks=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Es=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Cs=function(t){return"pre"===t},Os=function(t){return ks(t)||Es(t)},Ts=Object.create(null),$s=v("text,number,password,search,email,tel,url"),Ss=Object.freeze({createElement:pn,createElementNS:dn,createTextNode:hn,createComment:vn,insertBefore:mn,removeChild:gn,appendChild:yn,parentNode:bn,nextSibling:_n,tagName:wn,setTextContent:xn,setStyleScope:kn}),As={create:function(t,e){En(e)},update:function(t,e){t.data.ref!==e.data.ref&&(En(t,!0),En(e))},destroy:function(t){En(t,!0)}},js=new fa("",{},[]),Is=["create","activate","update","remove","destroy"],Ls={create:$n,update:$n,destroy:function(t){$n(t,js)}},Ms=Object.create(null),Ps=[As,Ls],Ds={create:Ln,update:Ln},Ns={create:Dn,update:Dn},Fs=/[\w).+\-_$\]]/,Rs="__r",Bs="__c",Ws=xa&&!(Qi&&Number(Qi[1])<=53),Us={create:mo,update:mo},zs={create:go,update:go},Hs=y(function(t){var e={},n=/;(?![^(]*\))/g,o=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(o);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),Gs=/^--/,Vs=/\s*!important$/,Ks=function(t,e,n){if(Gs.test(e))t.style.setProperty(e,n);else if(Vs.test(n))t.style.setProperty(Li(e),n.replace(Vs,""),"important");else{var o=Js(e);if(Array.isArray(n))for(var r=0,i=n.length;r<i;r++)t.style[o]=n[r];else t.style[o]=n}},qs=["Webkit","Moz","ms"],Js=y(function(t){if(ls=ls||document.createElement("div").style,"filter"!==(t=Ai(t))&&t in ls)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<qs.length;n++){var o=qs[n]+e;if(o in ls)return o}}),Zs={create:Eo,update:Eo},Ys=/\s+/,Qs=y(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Xs=Hi&&!Ji,tc="transition",ec="animation",nc="transition",oc="transitionend",rc="animation",ic="animationend";Xs&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(nc="WebkitTransition",oc="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(rc="WebkitAnimation",ic="webkitAnimationEnd"));var ac=Hi?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()},sc=/\b(transform|all)(,|$)/,cc=Hi?{create:Ro,activate:Ro,remove:function(t,e){!0!==t.data.show?Do(t,e):e()}}:{},uc=[Ds,Ns,Us,zs,Zs,cc],lc=uc.concat(Ps),fc=function(t){function e(t){return new fa(j.tagName(t).toLowerCase(),{},[],void 0,t)}function n(t,e){function n(){0==--n.listeners&&a(t)}return n.listeners=e,n}function a(t){var e=j.parentNode(t);r(e)&&j.removeChild(e,t)}function c(t,e,n,o,a,s,c){if(r(t.elm)&&r(s)&&(t=s[c]=P(t)),t.isRootInsert=!a,!u(t,e,n,o)){var l=t.data,f=t.children,h=t.tag;r(h)?(t.elm=t.ns?j.createElementNS(t.ns,h):j.createElement(h,t),g(t),d(t,f,e),r(l)&&m(t,e),p(n,t.elm,o)):i(t.isComment)?(t.elm=j.createComment(t.text),p(n,t.elm,o)):(t.elm=j.createTextNode(t.text),p(n,t.elm,o))}}function u(t,e,n,o){var a=t.data;if(r(a)){var s=r(t.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(t,!1),r(t.componentInstance))return l(t,e),p(n,t.elm,o),i(s)&&f(t,e,n,o),!0}}function l(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,h(t)?(m(t,e),g(t)):(En(t),e.push(t))}function f(t,e,n,o){for(var i,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,r(i=a.data)&&r(i=i.transition)){for(i=0;i<S.activate.length;++i)S.activate[i](js,a);e.push(a);break}p(n,t.elm,o)}function p(t,e,n){r(t)&&(r(n)?j.parentNode(n)===t&&j.insertBefore(t,e,n):j.appendChild(t,e))}function d(t,e,n){if(Array.isArray(e))for(var o=0;o<e.length;++o)c(e[o],n,t.elm,null,!0,e,o);else s(t.text)&&j.appendChild(t.elm,j.createTextNode(String(t.text)))}function h(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return r(t.tag)}function m(t,e){for(var n=0;n<S.create.length;++n)S.create[n](js,t);T=t.data.hook,r(T)&&(r(T.create)&&T.create(js,t),r(T.insert)&&e.push(t))}function g(t){var e;if(r(e=t.fnScopeId))j.setStyleScope(t.elm,e);else for(var n=t;n;)r(e=n.context)&&r(e=e.$options._scopeId)&&j.setStyleScope(t.elm,e),n=n.parent;r(e=Na)&&e!==t.context&&e!==t.fnContext&&r(e=e.$options._scopeId)&&j.setStyleScope(t.elm,e)}function y(t,e,n,o,r,i){for(;o<=r;++o)c(n[o],i,t,e,!1,n,o)}function b(t){var e,n,o=t.data;if(r(o))for(r(e=o.hook)&&r(e=e.destroy)&&e(t),e=0;e<S.destroy.length;++e)S.destroy[e](t);if(r(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function _(t,e,n){for(;e<=n;++e){var o=t[e];r(o)&&(r(o.tag)?(w(o),b(o)):a(o.elm))}}function w(t,e){if(r(e)||r(t.data)){var o,i=S.remove.length+1;for(r(e)?e.listeners+=i:e=n(t.elm,i),r(o=t.componentInstance)&&r(o=o._vnode)&&r(o.data)&&w(o,e),o=0;o<S.remove.length;++o)S.remove[o](t,e);r(o=t.data.hook)&&r(o=o.remove)?o(t,e):e()}else a(t.elm)}function x(t,e,n,i,a){for(var s,u,l,f,p=0,d=0,h=e.length-1,v=e[0],m=e[h],g=n.length-1,b=n[0],w=n[g],x=!a;p<=h&&d<=g;)o(v)?v=e[++p]:o(m)?m=e[--h]:Cn(v,b)?(E(v,b,i,n,d),v=e[++p],b=n[++d]):Cn(m,w)?(E(m,w,i,n,g),m=e[--h],w=n[--g]):Cn(v,w)?(E(v,w,i,n,g),x&&j.insertBefore(t,v.elm,j.nextSibling(m.elm)),v=e[++p],w=n[--g]):Cn(m,b)?(E(m,b,i,n,d),x&&j.insertBefore(t,m.elm,v.elm),m=e[--h],b=n[++d]):(o(s)&&(s=Tn(e,p,h)),u=r(b.key)?s[b.key]:k(b,e,p,h),o(u)?c(b,i,t,v.elm,!1,n,d):(l=e[u],Cn(l,b)?(E(l,b,i,n,d),e[u]=void 0,x&&j.insertBefore(t,l.elm,v.elm)):c(b,i,t,v.elm,!1,n,d)),b=n[++d]);p>h?(f=o(n[g+1])?null:n[g+1].elm,y(t,f,n,d,g,i)):d>g&&_(e,p,h)}function k(t,e,n,o){for(var i=n;i<o;i++){var a=e[i];if(r(a)&&Cn(t,a))return i}}function E(t,e,n,a,s,c){if(t!==e){r(e.elm)&&r(a)&&(e=a[s]=P(e));var u=e.elm=t.elm;if(i(t.isAsyncPlaceholder))return void(r(e.asyncFactory.resolved)?O(t.elm,e,n):e.isAsyncPlaceholder=!0);if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))return void(e.componentInstance=t.componentInstance);var l,f=e.data;r(f)&&r(l=f.hook)&&r(l=l.prepatch)&&l(t,e);var p=t.children,d=e.children;if(r(f)&&h(e)){for(l=0;l<S.update.length;++l)S.update[l](t,e);r(l=f.hook)&&r(l=l.update)&&l(t,e)}o(e.text)?r(p)&&r(d)?p!==d&&x(u,p,d,n,c):r(d)?(r(t.text)&&j.setTextContent(u,""),y(u,null,d,0,d.length-1,n)):r(p)?_(p,0,p.length-1):r(t.text)&&j.setTextContent(u,""):t.text!==e.text&&j.setTextContent(u,e.text),r(f)&&r(l=f.hook)&&r(l=l.postpatch)&&l(t,e)}}function C(t,e,n){if(i(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var o=0;o<e.length;++o)e[o].data.hook.insert(e[o])}function O(t,e,n,o){var a,s=e.tag,c=e.data,u=e.children;if(o=o||c&&c.pre,e.elm=t,i(e.isComment)&&r(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(r(c)&&(r(a=c.hook)&&r(a=a.init)&&a(e,!0),r(a=e.componentInstance)))return l(e,n),!0;if(r(s)){if(r(u))if(t.hasChildNodes())if(r(a=c)&&r(a=a.domProps)&&r(a=a.innerHTML)){if(a!==t.innerHTML)return!1}else{for(var f=!0,p=t.firstChild,h=0;h<u.length;h++){if(!p||!O(p,u[h],n,o)){f=!1;break}p=p.nextSibling}if(!f||p)return!1}else d(e,u,n);if(r(c)){var v=!1;for(var g in c)if(!I(g)){v=!0,m(e,n);break}!v&&c.class&&ft(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}var T,$,S={},A=t.modules,j=t.nodeOps;for(T=0;T<Is.length;++T)for(S[Is[T]]=[],$=0;$<A.length;++$)r(A[$][Is[T]])&&S[Is[T]].push(A[$][Is[T]]);var I=v("attrs,class,staticClass,staticStyle,key");return function(t,n,a,s){if(o(n))return void(r(t)&&b(t));var u=!1,l=[];if(o(t))u=!0,c(n,l);else{var f=r(t.nodeType);if(!f&&Cn(t,n))E(t,n,l,null,null,s);else{if(f){if(1===t.nodeType&&t.hasAttribute(Ni)&&(t.removeAttribute(Ni),a=!0),i(a)&&O(t,n,l))return C(n,l,!0),t;t=e(t)}var p=t.elm,d=j.parentNode(p);if(c(n,l,p._leaveCb?null:d,j.nextSibling(p)),r(n.parent))for(var v=n.parent,m=h(n);v;){for(var g=0;g<S.destroy.length;++g)S.destroy[g](v);if(v.elm=n.elm,m){for(var y=0;y<S.create.length;++y)S.create[y](js,v);var w=v.data.hook.insert;if(w.merged)for(var x=1;x<w.fns.length;x++)w.fns[x]()}else En(v);v=v.parent}r(d)?_([t],0,0):r(t.tag)&&b(t)}}return C(n,l,u),n.elm}}({nodeOps:Ss,modules:lc});Ji&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Vo(t,"input")});var pc={inserted:function(t,e,n,o){"select"===n.tag?(o.elm&&!o.elm._vOptions?vt(n,"postpatch",function(){pc.componentUpdated(t,e,n)}):Bo(t,e,n.context),t._vOptions=[].map.call(t.options,zo)):("textarea"===n.tag||$s(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Ho),t.addEventListener("compositionend",Go),t.addEventListener("change",Go),Ji&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Bo(t,e,n.context);var o=t._vOptions,r=t._vOptions=[].map.call(t.options,zo);if(r.some(function(t,e){return!C(t,o[e])})){(t.multiple?e.value.some(function(t){return Uo(t,r)}):e.value!==e.oldValue&&Uo(e.value,r))&&Vo(t,"change")}}}},dc={bind:function(t,e,n){var o=e.value;n=Ko(n);var r=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;o&&r?(n.data.show=!0,Po(n,function(){t.style.display=i})):t.style.display=o?i:"none"},update:function(t,e,n){var o=e.value;!o!=!e.oldValue&&(n=Ko(n),n.data&&n.data.transition?(n.data.show=!0,o?Po(n,function(){t.style.display=t.__vOriginalDisplay}):Do(n,function(){t.style.display="none"})):t.style.display=o?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,o,r){r||(t.style.display=t.__vOriginalDisplay)}},hc={model:pc,show:dc},vc={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},mc=function(t){return t.tag||ce(t)},gc=function(t){return"show"===t.name},yc={name:"transition",props:vc,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(mc),n.length)){var o=this.mode,r=n[0];if(Yo(this.$vnode))return r;var i=qo(r);if(!i)return r;if(this._leaving)return Zo(t,r);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var c=(i.data||(i.data={})).transition=Jo(this),u=this._vnode,l=qo(u);if(i.data.directives&&i.data.directives.some(gc)&&(i.data.show=!0),l&&l.data&&!Qo(i,l)&&!ce(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=x({},c);if("out-in"===o)return this._leaving=!0,vt(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Zo(t,r);if("in-out"===o){if(ce(i))return u;var p,d=function(){p()};vt(c,"afterEnter",d),vt(c,"enterCancelled",d),vt(f,"delayLeave",function(t){p=t})}}return r}}},bc=x({tag:String,moveClass:String},vc);delete bc.mode;var _c={props:bc,beforeMount:function(){var t=this,e=this._update;this._update=function(n,o){var r=ve(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,o)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),o=this.prevChildren=this.children,r=this.$slots.default||[],i=this.children=[],a=Jo(this),s=0;s<r.length;s++){var c=r[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(o){for(var u=[],l=[],f=0;f<o.length;f++){var p=o[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?u.push(p):l.push(p)}this.kept=t(e,null,u),this.removed=l}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Xo),t.forEach(tr),t.forEach(er),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,o=n.style;So(n,e),o.transform=o.WebkitTransform=o.transitionDuration="",n.addEventListener(oc,n._moveCb=function t(o){o&&o.target!==n||o&&!/transform$/.test(o.propertyName)||(n.removeEventListener(oc,t),n._moveCb=null,Ao(n,e))})}}))},methods:{hasMove:function(t,e){if(!Xs)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){Oo(n,t)}),Co(n,e),n.style.display="none",this.$el.appendChild(n);var o=Io(n);return this.$el.removeChild(n),this._hasMove=o.hasTransform}}},wc={Transition:yc,TransitionGroup:_c};He.config.mustUseProp=ds,He.config.isReservedTag=Os,He.config.isReservedAttr=fs,He.config.getTagNamespace=un,He.config.isUnknownElement=ln,x(He.options.directives,hc),x(He.options.components,wc),He.prototype.__patch__=Hi?fc:E,He.prototype.$mount=function(t,e){return t=t&&Hi?fn(t):void 0,ge(this,t,e)},Hi&&setTimeout(function(){Bi.devtools&&ia&&ia.emit("init",He)},0);var xc,kc,Ec,Cc,Oc,Tc,$c,Sc,Ac,jc,Ic,Lc,Mc,Pc=/\{\{((?:.|\r?\n)+?)\}\}/g,Dc=/[-.*+?^${}()|[\]\/\\]/g,Nc=y(function(t){var e=t[0].replace(Dc,"\\$&"),n=t[1].replace(Dc,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),Fc={staticKeys:["staticClass"],transformNode:or,genData:rr},Rc={staticKeys:["staticStyle"],transformNode:ir,genData:ar},Bc={decode:function(t){return xc=xc||document.createElement("div"),xc.innerHTML=t,xc.textContent}},Wc=v("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Uc=v("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),zc=v("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Hc=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Gc=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Vc="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+Wi.source+"]*",Kc="((?:"+Vc+"\\:)?"+Vc+")",qc=new RegExp("^<"+Kc),Jc=/^\s*(\/?)>/,Zc=new RegExp("^<\\/"+Kc+"[^>]*>"),Yc=/^<!DOCTYPE [^>]+>/i,Qc=/^<!\--/,Xc=/^<!\[/,tu=v("script,style,textarea",!0),eu={},nu={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},ou=/&(?:lt|gt|quot|amp|#39);/g,ru=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,iu=v("pre,textarea",!0),au=function(t,e){return t&&iu(t)&&"\n"===e[0]},su=/^@|^v-on:/,cu=/^v-|^@|^:|^#/,uu=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,lu=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,fu=/^\(|\)$/g,pu=/^\[.*\]$/,du=/:(.*)$/,hu=/^:|^\.|^v-bind:/,vu=/\.[^.\]]+(?=[^\]]*$)/g,mu=/^v-slot(:|$)|^#/,gu=/[\r\n]/,yu=/\s+/g,bu=y(Bc.decode),_u="_empty_",wu=/^xmlns:NS\d+/,xu=/^NS\d+:/,ku={preTransformNode:Mr},Eu=[Fc,Rc,ku],Cu={model:ao,text:Dr,html:Nr},Ou={expectHTML:!0,modules:Eu,directives:Cu,isPreTag:Cs,isUnaryTag:Wc,mustUseProp:ds,canBeLeftOpenTag:Uc,isReservedTag:Os,getTagNamespace:un,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Eu)},Tu=y(Rr),$u=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Su=/\([^)]*?\);*$/,Au=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ju={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Iu={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Lu=function(t){return"if("+t+")return null;"},Mu={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Lu("$event.target !== $event.currentTarget"),ctrl:Lu("!$event.ctrlKey"),shift:Lu("!$event.shiftKey"),alt:Lu("!$event.altKey"),meta:Lu("!$event.metaKey"),left:Lu("'button' in $event && $event.button !== 0"),middle:Lu("'button' in $event && $event.button !== 1"),right:Lu("'button' in $event && $event.button !== 2")},Pu={on:qr,bind:Jr,cloak:E},Du=function(t){this.options=t,this.warn=t.warn||Rn,this.transforms=Bn(t.modules,"transformCode"),this.dataGenFns=Bn(t.modules,"genData"),this.directives=x(x({},Pu),t.directives);var e=t.isReservedTag||Pi;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1},Nu=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),function(t){return function(e){function n(n,o){var r=Object.create(e),i=[],a=[],s=function(t,e,n){(n?a:i).push(t)};if(o){o.modules&&(r.modules=(e.modules||[]).concat(o.modules)),o.directives&&(r.directives=x(Object.create(e.directives||null),o.directives));for(var c in o)"modules"!==c&&"directives"!==c&&(r[c]=o[c])}r.warn=s;var u=t(n.trim(),r);return u.errors=i,u.tips=a,u}return{compile:n,compileToFunctions:wi(n)}}}(function(t,e){var n=lr(t.trim(),e);!1!==e.optimize&&Fr(n,e);var o=Zr(n,e);return{ast:n,render:o.render,staticRenderFns:o.staticRenderFns}})),Fu=Nu(Ou),Ru=(Fu.compile,Fu.compileToFunctions),Bu=!!Hi&&xi(!1),Wu=!!Hi&&xi(!0),Uu=y(function(t){var e=fn(t);return e&&e.innerHTML}),zu=He.prototype.$mount;He.prototype.$mount=function(t,e){if((t=t&&fn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var o=n.template;if(o)if("string"==typeof o)"#"===o.charAt(0)&&(o=Uu(o));else{if(!o.nodeType)return this;o=o.innerHTML}else t&&(o=ki(t));if(o){var r=Ru(o,{outputSourceRange:!1,shouldDecodeNewlines:Bu,shouldDecodeNewlinesForHref:Wu,delimiters:n.delimiters,comments:n.comments},this),i=r.render,a=r.staticRenderFns;n.render=i,n.staticRenderFns=a}}return zu.call(this,t,e)},He.compile=Ru,e.default=He}.call(e,n(0),n(5).setImmediate)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.WIDGET_ALL="all",e.WIDGET_POLL="poll",e.WIDGET_SET="set",e.WIDGET_SURVEY="survey",e.WIDGET_SLIDESHOW="slideshow",e.WIDGET_TRIVIA_QUIZ="trivia",e.WIDGET_PERSONALITY_QUIZ="outcome",e.WIDGET_LIST="list",e.WIDGET_FORM="form",e.WIDGET_STORY="story"},function(t,e){function n(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=o(r);return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}function o(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var o=n(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){function o(t,e){for(var n=0;n<t.length;n++){var o=t[n],r=h[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(l(o.parts[i],e))}else{for(var a=[],i=0;i<o.parts.length;i++)a.push(l(o.parts[i],e));h[o.id]={id:o.id,refs:1,parts:a}}}}function r(t,e){for(var n=[],o={},r=0;r<t.length;r++){var i=t[r],a=e.base?i[0]+e.base:i[0],s=i[1],c=i[2],u=i[3],l={css:s,media:c,sourceMap:u};o[a]?o[a].parts.push(l):n.push(o[a]={id:a,parts:[l]})}return n}function i(t,e){var n=m(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=b[b.length-1];if("top"===t.insertAt)o?o.nextSibling?n.insertBefore(e,o.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),b.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=b.indexOf(t);e>=0&&b.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),i(t,e),e}function c(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),i(t,e),e}function u(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function l(t,e){var n,o,r,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var u=y++;n=g||(g=s(e)),o=f.bind(null,n,u,!1),r=f.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(e),o=d.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),o=p.bind(null,n),r=function(){a(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}function f(t,e,n,o){var r=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=w(e,r);else{var i=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function p(t,e){var n=e.css,o=e.media;if(o&&t.setAttribute("media",o),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e,n){var o=n.css,r=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(o=_(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},v=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),m=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}(function(t){return document.querySelector(t)}),g=null,y=0,b=[],_=n(16);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=v()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return o(n,e),function(t){for(var i=[],a=0;a<n.length;a++){var s=n[a],c=h[s.id];c.refs--,i.push(c)}if(t){o(r(t,e),e)}for(var a=0;a<i.length;a++){var c=i[a];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete h[c.id]}}}};var w=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){(function(t){function o(t,e){this._id=t,this._clearFn=e}var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;e.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(18),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,n(0))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function i(t){if(f===clearTimeout)return clearTimeout(t);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){v&&d&&(v=!1,d.length?h=d.concat(h):m=-1,h.length&&s())}function s(){if(!v){var t=r(a);v=!0;for(var e=h.length;e;){for(d=h,h=[];++m<e;)d&&d[m].run();m=-1,e=h.length}d=null,v=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:o}catch(t){f=o}}();var d,h=[],v=!1,m=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];h.push(new c(t,e)),1!==h.length||v||r(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,o,r){/*!
|
7 |
* @overview RSVP - a tiny implementation of Promises/A+.
|
8 |
* @copyright Copyright (c) 2016 Yehuda Katz, Tom Dale, Stefan Penner and contributors
|
9 |
* @license Licensed under MIT license
|
10 |
* See https://raw.githubusercontent.com/tildeio/rsvp.js/master/LICENSE
|
11 |
* @version 3.6.2
|
12 |
*/
|
13 |
+
function i(t,e){for(var n=0,o=t.length;n<o;n++)if(t[n]===e)return n;return-1}function a(t){var e=t._promiseCallbacks;return e||(e=t._promiseCallbacks={}),e}function s(t,e){if(2!==arguments.length)return xt[t];xt[t]=e}function c(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function u(t){return"function"==typeof t}function l(t){return null!==t&&"object"==typeof t}function f(t){return null!==t&&"object"==typeof t}function p(){setTimeout(function(){for(var t=0;t<Ot.length;t++){var e=Ot[t],n=e.payload;n.guid=n.key+n.id,n.childGuid=n.key+n.childId,n.error&&(n.stack=n.error.stack),xt.trigger(e.name,e.payload)}Ot.length=0},50)}function d(t,e,n){1===Ot.push({name:t,payload:{key:e._guidKey,id:e._id,eventName:t,detail:e._result,childId:n&&n._id,label:e._label,timeStamp:Ct(),error:xt["instrument-with-stack"]?new Error(e._label):null}})&&p()}function h(t,e){var n=this;if(t&&"object"==typeof t&&t.constructor===n)return t;var o=new n(m,e);return x(o,t),o}function v(){return new TypeError("A promises callback cannot return that same promise.")}function m(){}function g(t){try{return t.then}catch(t){return At.error=t,At}}function y(t,e,n,o){try{t.call(e,n,o)}catch(t){return t}}function b(t,e,n){xt.async(function(t){var o=!1,r=y(n,e,function(n){o||(o=!0,e!==n?x(t,n,void 0):E(t,n))},function(e){o||(o=!0,C(t,e))},"Settle: "+(t._label||" unknown promise"));!o&&r&&(o=!0,C(t,r))},t)}function _(t,e){e._state===$t?E(t,e._result):e._state===St?(e._onError=null,C(t,e._result)):O(e,void 0,function(n){e!==n?x(t,n,void 0):E(t,n)},function(e){return C(t,e)})}function w(t,e,n){e.constructor===t.constructor&&n===I&&t.constructor.resolve===h?_(t,e):n===At?(C(t,At.error),At.error=null):u(n)?b(t,e,n):E(t,e)}function x(t,e){t===e?E(t,e):c(e)?w(t,e,g(e)):E(t,e)}function k(t){t._onError&&t._onError(t._result),T(t)}function E(t,e){t._state===Tt&&(t._result=e,t._state=$t,0===t._subscribers.length?xt.instrument&&d("fulfilled",t):xt.async(T,t))}function C(t,e){t._state===Tt&&(t._state=St,t._result=e,xt.async(k,t))}function O(t,e,n,o){var r=t._subscribers,i=r.length;t._onError=null,r[i]=e,r[i+$t]=n,r[i+St]=o,0===i&&t._state&&xt.async(T,t)}function T(t){var e=t._subscribers,n=t._state;if(xt.instrument&&d(n===$t?"fulfilled":"rejected",t),0!==e.length){for(var o=void 0,r=void 0,i=t._result,a=0;a<e.length;a+=3)o=e[a],r=e[a+n],o?A(n,o,r,i):r(i);t._subscribers.length=0}}function $(){this.error=null}function S(t,e){try{return t(e)}catch(t){return jt.error=t,jt}}function A(t,e,n,o){var r=u(n),i=void 0,a=void 0;if(r){if((i=S(n,o))===jt)a=i.error,i.error=null;else if(i===e)return void C(e,v())}else i=o;e._state!==Tt||(r&&void 0===a?x(e,i):void 0!==a?C(e,a):t===$t?E(e,i):t===St&&C(e,i))}function j(t,e){var n=!1;try{e(function(e){n||(n=!0,x(t,e))},function(e){n||(n=!0,C(t,e))})}catch(e){C(t,e)}}function I(t,e,n){var o=this,r=o._state;if(r===$t&&!t||r===St&&!e)return xt.instrument&&d("chained",o,o),o;o._onError=null;var i=new o.constructor(m,n),a=o._result;if(xt.instrument&&d("chained",o,i),r===Tt)O(o,i,t,e);else{var s=r===$t?t:e;xt.async(function(){return A(r,i,s,a)})}return i}function L(t,e,n){return t===$t?{state:"fulfilled",value:n}:{state:"rejected",reason:n}}function M(t,e){return Et(t)?new It(this,t,!0,e).promise:this.reject(new TypeError("Promise.all must be called with an array"),e)}function P(t,e){var n=this,o=new n(m,e);if(!Et(t))return C(o,new TypeError("Promise.race must be called with an array")),o;for(var r=0;o._state===Tt&&r<t.length;r++)O(n.resolve(t[r]),void 0,function(t){return x(o,t)},function(t){return C(o,t)});return o}function D(t,e){var n=this,o=new n(m,e);return C(o,t),o}function N(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function F(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function R(){this.value=void 0}function B(t){try{return t.then}catch(t){return Dt.value=t,Dt}}function W(t,e,n){try{t.apply(e,n)}catch(t){return Dt.value=t,Dt}}function U(t,e){for(var n={},o=t.length,r=new Array(o),i=0;i<o;i++)r[i]=t[i];for(var a=0;a<e.length;a++){n[e[a]]=r[a+1]}return n}function z(t){for(var e=t.length,n=new Array(e-1),o=1;o<e;o++)n[o-1]=t[o];return n}function H(t,e){return{then:function(n,o){return t.call(e,n,o)}}}function G(t,e){var n=function(){for(var n=this,o=arguments.length,r=new Array(o+1),i=!1,a=0;a<o;++a){var s=arguments[a];if(!i){if((i=q(s))===Nt){var c=new Pt(m);return C(c,Nt.value),c}i&&!0!==i&&(s=H(i,s))}r[a]=s}var u=new Pt(m);return r[o]=function(t,n){t?C(u,t):void 0===e?x(u,n):!0===e?x(u,z(arguments)):Et(e)?x(u,U(arguments,e)):x(u,n)},i?K(u,r,t,n):V(u,r,t,n)};return n.__proto__=t,n}function V(t,e,n,o){var r=W(n,o,e);return r===Dt&&C(t,r.value),t}function K(t,e,n,o){return Pt.all(e).then(function(e){var r=W(n,o,e);return r===Dt&&C(t,r.value),t})}function q(t){return!(!t||"object"!=typeof t)&&(t.constructor===Pt||B(t))}function J(t,e){return Pt.all(t,e)}function Z(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function Y(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Q(t,e){return Et(t)?new Ft(Pt,t,e).promise:Pt.reject(new TypeError("Promise.allSettled must be called with an array"),e)}function X(t,e){return Pt.race(t,e)}function tt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function et(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function nt(t,e){return l(t)?new Bt(Pt,t,e).promise:Pt.reject(new TypeError("Promise.hash must be called with an object"),e)}function ot(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function rt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function it(t,e){return l(t)?new Wt(Pt,t,!1,e).promise:Pt.reject(new TypeError("RSVP.hashSettled must be called with an object"),e)}function at(t){throw setTimeout(function(){throw t}),t}function st(t){var e={resolve:void 0,reject:void 0};return e.promise=new Pt(function(t,n){e.resolve=t,e.reject=n},t),e}function ct(t,e,n){return Et(t)?u(e)?Pt.all(t,n).then(function(t){for(var o=t.length,r=new Array(o),i=0;i<o;i++)r[i]=e(t[i]);return Pt.all(r,n)}):Pt.reject(new TypeError("RSVP.map expects a function as a second argument"),n):Pt.reject(new TypeError("RSVP.map must be called with an array"),n)}function ut(t,e){return Pt.resolve(t,e)}function lt(t,e){return Pt.reject(t,e)}function ft(t,e){return Pt.all(t,e)}function pt(t,e){return Pt.resolve(t,e).then(function(t){return ft(t,e)})}function dt(t,e,n){return Et(t)||l(t)&&void 0!==t.then?u(e)?(Et(t)?ft(t,n):pt(t,n)).then(function(t){for(var o=t.length,r=new Array(o),i=0;i<o;i++)r[i]=e(t[i]);return ft(r,n).then(function(e){for(var n=new Array(o),r=0,i=0;i<o;i++)e[i]&&(n[r]=t[i],r++);return n.length=r,n})}):Pt.reject(new TypeError("RSVP.filter expects function as a second argument"),n):Pt.reject(new TypeError("RSVP.filter must be called with an array or promise"),n)}function ht(t,e){Jt[Ut]=t,Jt[Ut+1]=e,2===(Ut+=2)&&Zt()}function vt(){return void 0!==zt?function(){zt(gt)}:mt()}function mt(){return function(){return setTimeout(gt,1)}}function gt(){for(var t=0;t<Ut;t+=2){(0,Jt[t])(Jt[t+1]),Jt[t]=void 0,Jt[t+1]=void 0}Ut=0}function yt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bt(){xt.on.apply(xt,arguments)}function _t(){xt.off.apply(xt,arguments)}n.d(e,"asap",function(){return ht}),n.d(e,"cast",function(){return Qt}),n.d(e,"Promise",function(){return Pt}),n.d(e,"EventTarget",function(){return wt}),n.d(e,"all",function(){return J}),n.d(e,"allSettled",function(){return Q}),n.d(e,"race",function(){return X}),n.d(e,"hash",function(){return nt}),n.d(e,"hashSettled",function(){return it}),n.d(e,"rethrow",function(){return at}),n.d(e,"defer",function(){return st}),n.d(e,"denodeify",function(){return G}),n.d(e,"configure",function(){return s}),n.d(e,"on",function(){return bt}),n.d(e,"off",function(){return _t}),n.d(e,"resolve",function(){return ut}),n.d(e,"reject",function(){return lt}),n.d(e,"map",function(){return ct}),n.d(e,"async",function(){return Xt}),n.d(e,"filter",function(){return dt});var wt={mixin:function(t){return t.on=this.on,t.off=this.off,t.trigger=this.trigger,t._promiseCallbacks=void 0,t},on:function(t,e){if("function"!=typeof e)throw new TypeError("Callback must be a function");var n=a(this),o=void 0;o=n[t],o||(o=n[t]=[]),-1===i(o,e)&&o.push(e)},off:function(t,e){var n=a(this),o=void 0,r=void 0;if(!e)return void(n[t]=[]);o=n[t],-1!==(r=i(o,e))&&o.splice(r,1)},trigger:function(t,e,n){var o=a(this),r=void 0;if(r=o[t])for(var i=0;i<r.length;i++)(0,r[i])(e,n)}},xt={instrument:!1};wt.mixin(xt);var kt=void 0;kt=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var Et=kt,Ct=Date.now||function(){return(new Date).getTime()},Ot=[],Tt=void 0,$t=1,St=2,At=new $,jt=new $,It=function(){function t(t,e,n,o){this._instanceConstructor=t,this.promise=new t(m,o),this._abortOnReject=n,this._init.apply(this,arguments)}return t.prototype._init=function(t,e){var n=e.length||0;this.length=n,this._remaining=n,this._result=new Array(n),this._enumerate(e),0===this._remaining&&E(this.promise,this._result)},t.prototype._enumerate=function(t){for(var e=this.length,n=this.promise,o=0;n._state===Tt&&o<e;o++)this._eachEntry(t[o],o)},t.prototype._settleMaybeThenable=function(t,e){var n=this._instanceConstructor,o=n.resolve;if(o===h){var r=g(t);if(r===I&&t._state!==Tt)t._onError=null,this._settledAt(t._state,e,t._result);else if("function"!=typeof r)this._remaining--,this._result[e]=this._makeResult($t,e,t);else if(n===Pt){var i=new n(m);w(i,t,r),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(o(t),e)},t.prototype._eachEntry=function(t,e){f(t)?this._settleMaybeThenable(t,e):(this._remaining--,this._result[e]=this._makeResult($t,e,t))},t.prototype._settledAt=function(t,e,n){var o=this.promise;o._state===Tt&&(this._abortOnReject&&t===St?C(o,n):(this._remaining--,this._result[e]=this._makeResult(t,e,n),0===this._remaining&&E(o,this._result)))},t.prototype._makeResult=function(t,e,n){return n},t.prototype._willSettleAt=function(t,e){var n=this;O(t,void 0,function(t){return n._settledAt($t,e,t)},function(t){return n._settledAt(St,e,t)})},t}(),Lt="rsvp_"+Ct()+"-",Mt=0,Pt=function(){function t(e,n){this._id=Mt++,this._label=n,this._state=void 0,this._result=void 0,this._subscribers=[],xt.instrument&&d("created",this),m!==e&&("function"!=typeof e&&N(),this instanceof t?j(this,e):F())}return t.prototype._onError=function(t){var e=this;xt.after(function(){e._onError&&xt.trigger("error",t,e._label)})},t.prototype.catch=function(t,e){return this.then(void 0,t,e)},t.prototype.finally=function(t,e){var n=this,o=n.constructor;return n.then(function(e){return o.resolve(t()).then(function(){return e})},function(e){return o.resolve(t()).then(function(){throw e})},e)},t}();Pt.cast=h,Pt.all=M,Pt.race=P,Pt.resolve=h,Pt.reject=D,Pt.prototype._guidKey=Lt,Pt.prototype.then=I;var Dt=new R,Nt=new R,Ft=function(t){function e(e,n,o){return Z(this,t.call(this,e,n,!1,o))}return Y(e,t),e}(It);Ft.prototype._makeResult=L;var Rt=Object.prototype.hasOwnProperty,Bt=function(t){function e(e,n){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments[3];return tt(this,t.call(this,e,n,o,r))}return et(e,t),e.prototype._init=function(t,e){this._result={},this._enumerate(e),0===this._remaining&&E(this.promise,this._result)},e.prototype._enumerate=function(t){var e=this.promise,n=[];for(var o in t)Rt.call(t,o)&&n.push({position:o,entry:t[o]});var r=n.length;this._remaining=r;for(var i=void 0,a=0;e._state===Tt&&a<r;a++)i=n[a],this._eachEntry(i.entry,i.position)},e}(It),Wt=function(t){function e(e,n,o){return ot(this,t.call(this,e,n,!1,o))}return rt(e,t),e}(Bt);Wt.prototype._makeResult=L;var Ut=0,zt=void 0,Ht="undefined"!=typeof window?window:void 0,Gt=Ht||{},Vt=Gt.MutationObserver||Gt.WebKitMutationObserver,Kt="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),qt="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Jt=new Array(1e3),Zt=void 0;Zt=Kt?function(){var e=t.nextTick,n=t.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/);return Array.isArray(n)&&"0"===n[1]&&"10"===n[2]&&(e=o),function(){return e(gt)}}():Vt?function(){var t=0,e=new Vt(gt),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){return n.data=t=++t%2}}():qt?function(){var t=new MessageChannel;return t.port1.onmessage=gt,function(){return t.port2.postMessage(0)}}():void 0===Ht?function(){try{var t=n(20);return zt=t.runOnLoop||t.runOnContext,vt()}catch(t){return mt()}}():mt();if("object"==typeof self)self;else{if("object"!=typeof r)throw new Error("no global: `self` or `global` found");r}var Yt;xt.async=ht,xt.after=function(t){return setTimeout(t,0)};var Qt=ut,Xt=function(t,e){return xt.async(t,e)};if("undefined"!=typeof window&&"object"==typeof window.__PROMISE_INSTRUMENTATION__){var te=window.__PROMISE_INSTRUMENTATION__;s("instrument",!0);for(var ee in te)te.hasOwnProperty(ee)&&bt(ee,te[ee])}var ne=(Yt={asap:ht,cast:Qt,Promise:Pt,EventTarget:wt,all:J,allSettled:Q,race:X,hash:nt,hashSettled:it,rethrow:at,defer:st,denodeify:G,configure:s,on:bt,off:_t,resolve:ut,reject:lt,map:ct},yt(Yt,"async",Xt),yt(Yt,"filter",dt),Yt);e.default=ne}.call(e,n(6),n(5).setImmediate,n(0))},function(t,e,n){(function(t,n){function o(t,e){return null==t?void 0:t[e]}function r(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function i(t){return B.call(t)}function a(t){return!(!g(t)||c(t))&&(v(t)||r(t)?W:T).test(l(t))}function s(t,e){var n=o(t,e);return a(n)?n:void 0}function c(t){return!!N&&N in t}function u(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||P)}function l(t){if(null!=t){try{return F.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function f(t){return d(t)&&R.call(t,"callee")&&(!z.call(t,"callee")||B.call(t)==w)}function p(t){return null!=t&&m(t.length)&&!v(t)}function d(t){return y(t)&&p(t)}function h(t){if(p(t)&&(rt(t)||"string"==typeof t||"function"==typeof t.splice||it(t)||f(t)))return!t.length;var e=ot(t);if(e==E||e==C)return!t.size;if(Y||u(t))return!G(t).length;for(var n in t)if(R.call(t,n))return!1;return!0}function v(t){var e=g(t)?B.call(t):"";return e==x||e==k}function m(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=_}function g(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){return!!t&&"object"==typeof t}function b(){return!1}var _=9007199254740991,w="[object Arguments]",x="[object Function]",k="[object GeneratorFunction]",E="[object Map]",C="[object Set]",O=/[\\^$.*+?()[\]{}|]/g,T=/^\[object .+?Constructor\]$/,$="object"==typeof t&&t&&t.Object===Object&&t,S="object"==typeof self&&self&&self.Object===Object&&self,A=$||S||Function("return this")(),j="object"==typeof e&&e&&!e.nodeType&&e,I=j&&"object"==typeof n&&n&&!n.nodeType&&n,L=I&&I.exports===j,M=Function.prototype,P=Object.prototype,D=A["__core-js_shared__"],N=function(){var t=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),F=M.toString,R=P.hasOwnProperty,B=P.toString,W=RegExp("^"+F.call(R).replace(O,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=L?A.Buffer:void 0,z=P.propertyIsEnumerable,H=U?U.isBuffer:void 0,G=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object),V=s(A,"DataView"),K=s(A,"Map"),q=s(A,"Promise"),J=s(A,"Set"),Z=s(A,"WeakMap"),Y=!z.call({valueOf:1},"valueOf"),Q=l(V),X=l(K),tt=l(q),et=l(J),nt=l(Z),ot=i;(V&&"[object DataView]"!=ot(new V(new ArrayBuffer(1)))||K&&ot(new K)!=E||q&&"[object Promise]"!=ot(q.resolve())||J&&ot(new J)!=C||Z&&"[object WeakMap]"!=ot(new Z))&&(ot=function(t){var e=B.call(t),n="[object Object]"==e?t.constructor:void 0,o=n?l(n):void 0;if(o)switch(o){case Q:return"[object DataView]";case X:return E;case tt:return"[object Promise]";case et:return C;case nt:return"[object WeakMap]"}return e});var rt=Array.isArray,it=H||b;n.exports=h}).call(e,n(0),n(21)(t))},function(t,e){function n(t,e){return t?r.call(t,e):""}var o=Array.prototype,r=o.join;t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(7),r=jQuery;e.default={get:function(t,e,n){return new o.Promise(function(o,i){r.getJSON({url:t,beforeSend:function(t){t.setRequestHeader("Accept","application/vnd.api+json"),t.setRequestHeader("Content-Type","application/vnd.api+json"),t.setRequestHeader("OSWP-Plugin-Version",e),n&&t.setRequestHeader("OSWP-Client-Token",n)}}).done(o).fail(i)})}}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=n(12),s=o(a),c=n(17),u=o(c),l=n(2);window.OpinionStage&&void 0!==OpinionStage.contentPopup&&console.warn("[OpinionStage] content-popup APIs was already included"),function(t,e){function n(){console.log("createModal");var t=this;t.modal=new s.default({content:e("[data-opinionstage-content-popup-template]").html(),onCreate:function(e){t.app=new u.default(e)},onClose:function(e){t.app.isModalOpened=!1},onOpen:function(e){t.app.isModalOpened=!0}})}var o=function(){function t(){r(this,t),this.app=void 0,this.modal=void 0}return i(t,[{key:"open",value:function(t){var o=this,r=t.preselectWidgetType,i=t.onWidgetSelect;if("function"!=typeof i)throw new Error("onWidgetSelect must be a function");e(function(){o.app||n.call(o),o.app.widgetType=r||l.WIDGET_ALL,console.log("111: selected widget type:",o.app.widgetType),o.app.widgetSelectCb=i,o.modal.open()})}}]),t}();t.contentPopup=new o,t.contentPopup.WIDGET_ALL=l.WIDGET_ALL,t.contentPopup.WIDGET_POLL=l.WIDGET_POLL,t.contentPopup.WIDGET_SET=l.WIDGET_SET,t.contentPopup.WIDGET_SURVEY=l.WIDGET_SURVEY,t.contentPopup.WIDGET_SLIDESHOW=l.WIDGET_SLIDESHOW,t.contentPopup.WIDGET_TRIVIA_QUIZ=l.WIDGET_TRIVIA_QUIZ,t.contentPopup.WIDGET_PERSONALITY_QUIZ=l.WIDGET_PERSONALITY_QUIZ,t.contentPopup.WIDGET_LIST=l.WIDGET_LIST,t.contentPopup.WIDGET_FORM=l.WIDGET_FORM,t.contentPopup.WIDGET_STORY=l.WIDGET_STORY}(window.OpinionStage=window.OpinionStage||{},jQuery),jQuery(function(t){function e(t){wp.media.editor.insert(t.shortcode)}window.location.href.indexOf("modal_is_open")>-1&&(OpinionStage.contentPopup.open({onWidgetSelect:e}),modal.open()),t("body").on("click","[data-opinionstage-content-launch]",function(t){t.preventDefault(),OpinionStage.contentPopup.open({onWidgetSelect:e})})})},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),i=n(13),a=function(t){return t&&t.__esModule?t:{default:t}}(i);n(14);var s=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,t),this.modal=new a.default.modal({closeMethods:["overlay","escape"],cssClass:["opinionstage-content-popup"],onClose:e.onClose,onOpen:e.onOpen}),this.modal.setContent(e.content),"function"==typeof e.onCreate&&e.onCreate(this)}return r(t,[{key:"open",value:function(){this.modal.open()}},{key:"close",value:function(){this.modal.close()}},{key:"checkOverflow",value:function(){this.modal.checkOverflow()}}]),t}();e.default=s},function(t,e,n){var o,r;!function(i,a){o=a,void 0!==(r="function"==typeof o?o.call(e,n,e,t):o)&&(t.exports=r)}(0,function(){function t(t){var e={onClose:null,onOpen:null,beforeClose:null,stickyFooter:!1,footer:!1,cssClass:[],closeLabel:"Close",closeMethods:["overlay","button","escape"]};this.opts=u({},e,t),this.init()}function e(){this.modalBoxFooter&&(this.modalBoxFooter.style.width=this.modalBox.clientWidth+"px",this.modalBoxFooter.style.left=this.modalBox.offsetLeft+"px")}function n(){this.modal=document.createElement("div"),this.modal.classList.add("tingle-modal"),0!==this.opts.closeMethods.length&&-1!==this.opts.closeMethods.indexOf("overlay")||this.modal.classList.add("tingle-modal--noOverlayClose"),this.modal.style.display="none",this.opts.cssClass.forEach(function(t){"string"==typeof t&&this.modal.classList.add(t)},this),-1!==this.opts.closeMethods.indexOf("button")&&(this.modalCloseBtn=document.createElement("button"),this.modalCloseBtn.classList.add("tingle-modal__close"),this.modalCloseBtnIcon=document.createElement("span"),this.modalCloseBtnIcon.classList.add("tingle-modal__closeIcon"),this.modalCloseBtnIcon.innerHTML="×",this.modalCloseBtnLabel=document.createElement("span"),this.modalCloseBtnLabel.classList.add("tingle-modal__closeLabel"),this.modalCloseBtnLabel.innerHTML=this.opts.closeLabel,this.modalCloseBtn.appendChild(this.modalCloseBtnIcon),this.modalCloseBtn.appendChild(this.modalCloseBtnLabel)),this.modalBox=document.createElement("div"),this.modalBox.classList.add("tingle-modal-box"),this.modalBoxContent=document.createElement("div"),this.modalBoxContent.classList.add("tingle-modal-box__content"),this.modalBox.appendChild(this.modalBoxContent),-1!==this.opts.closeMethods.indexOf("button")&&this.modal.appendChild(this.modalCloseBtn),this.modal.appendChild(this.modalBox)}function o(){this.modalBoxFooter=document.createElement("div"),this.modalBoxFooter.classList.add("tingle-modal-box__footer"),this.modalBox.appendChild(this.modalBoxFooter)}function r(){this._events={clickCloseBtn:this.close.bind(this),clickOverlay:a.bind(this),resize:this.checkOverflow.bind(this),keyboardNav:i.bind(this)},-1!==this.opts.closeMethods.indexOf("button")&&this.modalCloseBtn.addEventListener("click",this._events.clickCloseBtn),this.modal.addEventListener("mousedown",this._events.clickOverlay),window.addEventListener("resize",this._events.resize),document.addEventListener("keydown",this._events.keyboardNav)}function i(t){-1!==this.opts.closeMethods.indexOf("escape")&&27===t.which&&this.isOpen()&&this.close()}function a(t){-1!==this.opts.closeMethods.indexOf("overlay")&&!s(t.target,"tingle-modal")&&t.clientX<this.modal.clientWidth&&this.close()}function s(t,e){for(;(t=t.parentElement)&&!t.classList.contains(e););return t}function c(){-1!==this.opts.closeMethods.indexOf("button")&&this.modalCloseBtn.removeEventListener("click",this._events.clickCloseBtn),this.modal.removeEventListener("mousedown",this._events.clickOverlay),window.removeEventListener("resize",this._events.resize),document.removeEventListener("keydown",this._events.keyboardNav)}function u(){for(var t=1;t<arguments.length;t++)for(var e in arguments[t])arguments[t].hasOwnProperty(e)&&(arguments[0][e]=arguments[t][e]);return arguments[0]}var l=function(){var t,e=document.createElement("tingle-test-transition"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in n)if(void 0!==e.style[t])return n[t]}();return t.prototype.init=function(){this.modal||(n.call(this),r.call(this),document.body.insertBefore(this.modal,document.body.firstChild),this.opts.footer&&this.addFooter())},t.prototype.destroy=function(){null!==this.modal&&(c.call(this),this.modal.parentNode.removeChild(this.modal),this.modal=null)},t.prototype.open=function(){this.modal.style.removeProperty?this.modal.style.removeProperty("display"):this.modal.style.removeAttribute("display"),document.body.classList.add("tingle-enabled"),this.setStickyFooter(this.opts.stickyFooter),this.modal.classList.add("tingle-modal--visible");var t=this;l?this.modal.addEventListener(l,function e(){"function"==typeof t.opts.onOpen&&t.opts.onOpen.call(t),t.modal.removeEventListener(l,e,!1)},!1):"function"==typeof t.opts.onOpen&&t.opts.onOpen.call(t),this.checkOverflow()},t.prototype.isOpen=function(){return!!this.modal.classList.contains("tingle-modal--visible")},t.prototype.close=function(){if("function"==typeof this.opts.beforeClose){if(!this.opts.beforeClose.call(this))return}document.body.classList.remove("tingle-enabled"),this.modal.classList.remove("tingle-modal--visible");var t=this;l?this.modal.addEventListener(l,function e(){t.modal.removeEventListener(l,e,!1),t.modal.style.display="none","function"==typeof t.opts.onClose&&t.opts.onClose.call(this)},!1):(t.modal.style.display="none","function"==typeof t.opts.onClose&&t.opts.onClose.call(this))},t.prototype.setContent=function(t){"string"==typeof t?this.modalBoxContent.innerHTML=t:(this.modalBoxContent.innerHTML="",this.modalBoxContent.appendChild(t))},t.prototype.getContent=function(){return this.modalBoxContent},t.prototype.addFooter=function(){o.call(this)},t.prototype.setFooterContent=function(t){this.modalBoxFooter.innerHTML=t},t.prototype.getFooterContent=function(){return this.modalBoxFooter},t.prototype.setStickyFooter=function(t){this.isOverflow()||(t=!1),t?this.modalBox.contains(this.modalBoxFooter)&&(this.modalBox.removeChild(this.modalBoxFooter),this.modal.appendChild(this.modalBoxFooter),this.modalBoxFooter.classList.add("tingle-modal-box__footer--sticky"),e.call(this),this.modalBoxContent.style["padding-bottom"]=this.modalBoxFooter.clientHeight+20+"px"):this.modalBoxFooter&&(this.modalBox.contains(this.modalBoxFooter)||(this.modal.removeChild(this.modalBoxFooter),this.modalBox.appendChild(this.modalBoxFooter),this.modalBoxFooter.style.width="auto",this.modalBoxFooter.style.left="",this.modalBoxContent.style["padding-bottom"]="",this.modalBoxFooter.classList.remove("tingle-modal-box__footer--sticky")))},t.prototype.addFooterBtn=function(t,e,n){var o=document.createElement("button");return o.innerHTML=t,o.addEventListener("click",n),"string"==typeof e&&e.length&&e.split(" ").forEach(function(t){o.classList.add(t)}),this.modalBoxFooter.appendChild(o),o},t.prototype.resize=function(){console.warn("Resize is deprecated and will be removed in version 1.0")},t.prototype.isOverflow=function(){var t=window.innerHeight;return this.modalBox.clientHeight>=t},t.prototype.checkOverflow=function(){this.modal.classList.contains("tingle-modal--visible")&&(this.isOverflow()?this.modal.classList.add("tingle-modal--overflow"):this.modal.classList.remove("tingle-modal--overflow"),!this.isOverflow()&&this.opts.stickyFooter?this.setStickyFooter(!1):this.isOverflow()&&this.opts.stickyFooter&&(e.call(this),this.setStickyFooter(!0)))},{modal:t}})},function(t,e,n){var o=n(15);"string"==typeof o&&(o=[[t.i,o,""]]);var r={};r.transform=void 0;n(4)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){e=t.exports=n(3)(!1),e.push([t.i,".opinionstage-content-popup.tingle-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:159900;display:flex;visibility:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:auto;background:rgba(0,0,0,.8);opacity:0;cursor:pointer;-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.opinionstage-content-popup.tingle-modal *{-webkit-box-sizing:border-box;box-sizing:border-box}.opinionstage-content-popup .tingle-modal-box{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-top:auto;margin-bottom:auto;max-width:945px;min-width:875px;width:70%;background:#fff;opacity:1;cursor:auto;-webkit-transition:-webkit-transform .3s cubic-bezier(.175,.885,.32,1.275);transition:-webkit-transform .3s cubic-bezier(.175,.885,.32,1.275);transition:transform .3s cubic-bezier(.175,.885,.32,1.275);transition:transform .3s cubic-bezier(.175,.885,.32,1.275),-webkit-transform .3s cubic-bezier(.175,.885,.32,1.275);-webkit-transform:scale(.8);transform:scale(.8)}@media only screen and (max-width:875px){.opinionstage-content-popup .tingle-modal-box{min-width:100%;overflow:hidden;width:100%}}.opinionstage-content-popup .tingle-modal-box__content{padding:0}.opinionstage-content-popup.tingle-modal--visible{visibility:visible;opacity:1}.opinionstage-content-popup.tingle-modal--visible .tingle-modal-box{-webkit-transform:scale(1);transform:scale(1)}@media (max-width:540px){.opinionstage-content-popup .tingle-modal-box{width:auto}.opinionstage-content-popup.tingle-modal{top:60px;display:block;width:100%}.opinionstage-content-popup.tingle-modal--overflow{padding:0}}.tingle-enabled{overflow:hidden;height:100%}.tingle-enabled .tingle-content-wrapper{-webkit-filter:blur(15px);filter:blur(15px)}",""])},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,o=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var r=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r))return t;var i;return i=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:o+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return new r.default({el:"[data-opinionstage-content-popup]",data:{widgetType:i.WIDGET_ALL,widgetSelectCb:function(t){console.log("dumb widget insert callback, widget:",t)},showClientContent:!0,isClientLoggedIn:null,isModalOpened:!1},beforeMount:function(){this.isClientLoggedIn="1"===this.$el.dataset.opinionstageClientLoggedIn},methods:{closePopup:function(){t.close()},selectWidgetAndExit:function(t){this.widgetSelectCb(t),this.closePopup()}}})};var o=n(1),r=function(t){return t&&t.__esModule?t:{default:t}}(o);n(19),n(25),n(27),n(28);var i=n(2)},function(t,e,n){(function(t,e){!function(t,n){"use strict";function o(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return u[c]=o,s(c),c++}function r(t){delete u[t]}function i(t){var e=t.callback,o=t.args;switch(o.length){case 0:e();break;case 1:e(o[0]);break;case 2:e(o[0],o[1]);break;case 3:e(o[0],o[1],o[2]);break;default:e.apply(n,o)}}function a(t){if(l)setTimeout(a,0,t);else{var e=u[t];if(e){l=!0;try{i(e)}finally{r(t),l=!1}}}}if(!t.setImmediate){var s,c=1,u={},l=!1,f=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?function(){s=function(t){e.nextTick(function(){a(t)})}}():function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&a(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),s=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){a(t.data)},s=function(e){t.port2.postMessage(e)}}():f&&"onreadystatechange"in f.createElement("script")?function(){var t=f.documentElement;s=function(e){var n=f.createElement("script");n.onreadystatechange=function(){a(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():function(){s=function(t){setTimeout(a,0,t)}}(),p.setImmediate=o,p.clearImmediate=r}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(0),n(6))},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(){var t=this;return this.dataLoading=!0,(this.showClientContent?i:a).call(this,this.searchCriteria).then(function(){t.noMoreData=!u(t.$store.state.nextPageNumber),t.dataLoading=!1})}function i(t){return this.clientIsLoggedIn?this.$store.dispatch({type:"loadClientWidgets",widgetsUrl:this.clientWidgetsUrl,pluginVersion:this.pluginVersion,accessToken:this.accessKey,filtering:t}):g.default.resolve()}function a(t){return this.$store.dispatch({type:"loadTemplateWidgets",widgetsUrl:this.sharedWidgetsUrl,pluginVersion:this.pluginVersion,filtering:t})}function s(t,e,n){var o=[];return e&&o.push("type="+e),n&&o.push("updated_at="+n),(0,b.default)(o)?t:t+"?"+(0,w.default)(o,"&")}function c(t,e){var n=this,o=s(this.clientWidgetsHasNewUrl,t,e);return C.default.get(o,this.pluginVersion,this.accessKey).then(function(t){n.newWidgetsAvailable=t.data["has-new-widgets"]}).catch(function(t){console.error("[social-polls-by-opinionstage][content-popup] can't load widgets:",t.statusText)})}function u(t){return t>1}function l(){var t=this;c.call(this,this.searchCriteria.type,this.lastUpdateTime).then(function(){t.newWidgetsAvailable&&p.call(t)})}function f(){this.clientIsLoggedIn&&(this.isCheckingWidgetUpdates=!0,this.widgetUpdatesChecker=setInterval(l.bind(this),3e3))}function p(){this.isCheckingWidgetUpdates=!1,clearInterval(this.widgetUpdatesChecker)}function d(){void 0!==this.widgets[0]?this.lastUpdateTime=this.widgets[0].updatedAt:this.lastUpdateTime=null}Object.defineProperty(e,"__esModule",{value:!0});var h=n(1),v=o(h),m=n(7),g=o(m),y=n(8),b=o(y),_=n(9),w=o(_),x=n(22),k=o(x),E=n(10),C=o(E),O=n(2);e.default=v.default.component("popup-content",{template:"#opinionstage-popup-content",props:["showClientContent","clientIsLoggedIn","modalIsOpened","widgetType","clientWidgetsUrl","sharedWidgetsUrl","clientWidgetsHasNewUrl","accessKey","pluginVersion"],data:function(){return{dataLoading:!1,widgets:[],searchCriteria:{},noMoreData:!0,newWidgetsAvailable:!1,lastUpdateTime:null,isCheckingWidgetUpdates:!1,widgetUpdatesChecker:null}},store:k.default,methods:{reloadData:function(t){var e=this;t||(t={});var n=t.widgetType||this.widgetType||this.searchCriteria.type||O.WIDGET_ALL,o=t.widgetTitle||"";this.newWidgetsAvailable=!1,p.call(this),this.searchCriteria={page:1,perPage:9,type:n,title:o},this.$store.commit("clearWidgets"),r.call(this).then(function(){e.widgets=e.$store.state.widgets[0],e.searchCriteria.title||d.call(e),f.call(e)})},reloadAndRestartCheckingForUpdates:function(){this.reloadData({widgetType:this.searchCriteria.type,widgetTitle:""})},appendData:function(){var t=this;this.searchCriteria.page+=1,r.call(this).then(function(){var e=t.$store.state.widgets[t.searchCriteria.page-1];t.widgets=t.widgets.concat(e)})},widgetSelected:function(t){this.$emit("widget-selected",t)}},watch:{modalIsOpened:function(t){t&&this.showClientContent&&this.clientIsLoggedIn?this.reloadData():(this.newWidgetsAvailable=!1,p.call(this))},showClientContent:function(t){t&&this.modalIsOpened&&this.clientIsLoggedIn?f.call(this):p.call(this)}}})},function(t,e){},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t){return t.data.map(function(t){return{id:t.id,type:t.attributes.type,title:t.attributes.title,imageUrl:t.attributes["image-url"],updatedAt:t.attributes["updated-at"],landingPageUrl:t.attributes["landing-page-url"],editUrl:t.attributes["edit-url"],statsUrl:t.attributes["stats-url"],shortcode:t.attributes.shortcode}})}function i(t){return t.meta.nextPage}function a(t,e){var n=e.type,o=e.title,r=e.page,i=e.perPage,a=[];if(n&&a.push("type="+n),!(0,h.default)(o)){var s=(0,p.default)(o);(0,h.default)(s)||a.push("title_like="+s)}return r&&a.push("page="+r),i&&a.push("per_page="+i),(0,h.default)(a)?t:t+"?"+(0,m.default)(a,"&")}Object.defineProperty(e,"__esModule",{value:!0});var s=n(1),c=o(s),u=n(23),l=o(u),f=n(24),p=o(f),d=n(8),h=o(d),v=n(9),m=o(v),g=n(10),y=o(g);c.default.use(l.default),e.default=new l.default.Store({state:{widgets:[],nextPageNumber:null},mutations:{loadWidgets:function(t,e){var n=e.widgetsData;t.widgets.push(r(n)),t.nextPageNumber=i(n)},loadTemplateWidgets:function(t,e){var n=e.widgetsData;t.widgets.push(r(n).map(function(t){return t.template=!0,t})),t.nextPageNumber=i(n)},clearWidgets:function(t){t.widgets=[],t.nextPageNumber=null}},actions:{loadClientWidgets:function(t,e){return(0,t.dispatch)("load",{commitType:"loadWidgets",widgetsUrl:e.widgetsUrl,pluginVersion:e.pluginVersion,accessToken:e.accessToken,filtering:e.filtering})},loadTemplateWidgets:function(t,e){return(0,t.dispatch)("load",{commitType:"loadTemplateWidgets",widgetsUrl:e.widgetsUrl,pluginVersion:e.pluginVersion,filtering:e.filtering})},load:function(t,e){var n=t.commit,o=e.commitType,r=e.widgetsUrl,i=e.filtering,s=e.pluginVersion,c=e.accessToken,u=a(r,i);return y.default.get(u,s,c).then(function(t){n({type:o,widgetsData:t})}).catch(function(t){console.error("[social-polls-by-opinionstage][content-popup] can't load widgets:",t.statusText)})}}})},function(t,e,n){"use strict";function o(t){C&&(t._devtoolHook=C,C.emit("vuex:init",t),C.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){C.emit("vuex:mutation",t,e)}))}function r(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function i(t){return null!==t&&"object"==typeof t}function a(t){return t&&"function"==typeof t.then}function s(t,e,n){if(e.update(n),n.modules)for(var o in n.modules){if(!e.getChild(o))return;s(t.concat(o),e.getChild(o),n.modules[o])}}function c(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function u(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;f(t,n,[],t._modules.root,!0),l(t,n,e)}function l(t,e,n){var o=t._vm;t.getters={};var i=t._wrappedGetters,a={};r(i,function(e,n){a[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var s=S.config.silent;S.config.silent=!0,t._vm=new S({data:{$$state:e},computed:a}),S.config.silent=s,t.strict&&g(t),o&&(n&&t._withCommit(function(){o._data.$$state=null}),S.nextTick(function(){return o.$destroy()}))}function f(t,e,n,o,r){var i=!n.length,a=t._modules.getNamespace(n);if(o.namespaced&&(t._modulesNamespaceMap[a]=o),!i&&!r){var s=y(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){S.set(s,c,o.state)})}var u=o.context=p(t,a,n);o.forEachMutation(function(e,n){h(t,a+n,e,u)}),o.forEachAction(function(e,n){var o=e.root?n:a+n,r=e.handler||e;v(t,o,r,u)}),o.forEachGetter(function(e,n){m(t,a+n,e,u)}),o.forEachChild(function(o,i){f(t,e,n.concat(i),o,r)})}function p(t,e,n){var o=""===e,r={dispatch:o?t.dispatch:function(n,o,r){var i=b(n,o,r),a=i.payload,s=i.options,c=i.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:o?t.commit:function(n,o,r){var i=b(n,o,r),a=i.payload,s=i.options,c=i.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(r,{getters:{get:o?function(){return t.getters}:function(){return d(t,e)}},state:{get:function(){return y(t.state,n)}}}),r}function d(t,e){var n={},o=e.length;return Object.keys(t.getters).forEach(function(r){if(r.slice(0,o)===e){var i=r.slice(o);Object.defineProperty(n,i,{get:function(){return t.getters[r]},enumerable:!0})}}),n}function h(t,e,n,o){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,o.state,e)})}function v(t,e,n,o){(t._actions[e]||(t._actions[e]=[])).push(function(e,r){var i=n.call(t,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:t.getters,rootState:t.state},e,r);return a(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):i})}function m(t,e,n,o){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(o.state,o.getters,t.state,t.getters)})}function g(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function y(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function b(t,e,n){return i(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function _(t){S&&t===S||(S=t,E(S))}function w(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function x(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function k(t,e,n){return t._modulesNamespaceMap[n]}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"Store",function(){return A}),n.d(e,"install",function(){return _}),n.d(e,"mapState",function(){return I}),n.d(e,"mapMutations",function(){return L}),n.d(e,"mapGetters",function(){return M}),n.d(e,"mapActions",function(){return P}),n.d(e,"createNamespacedHelpers",function(){return D});/**
|
14 |
* vuex v2.5.0
|
15 |
* (c) 2017 Evan You
|
16 |
* @license MIT
|
17 |
*/
|
18 |
+
var E=function(t){function e(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:e});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,n.call(this,t)}}},C="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,O=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},T={namespaced:{configurable:!0}};T.namespaced.get=function(){return!!this._rawModule.namespaced},O.prototype.addChild=function(t,e){this._children[t]=e},O.prototype.removeChild=function(t){delete this._children[t]},O.prototype.getChild=function(t){return this._children[t]},O.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},O.prototype.forEachChild=function(t){r(this._children,t)},O.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},O.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},O.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(O.prototype,T);var $=function(t){this.register([],t,!1)};$.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},$.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},$.prototype.update=function(t){s([],this.root,t)},$.prototype.register=function(t,e,n){var o=this;void 0===n&&(n=!0);var i=new O(e,n);if(0===t.length)this.root=i;else{this.get(t.slice(0,-1)).addChild(t[t.length-1],i)}e.modules&&r(e.modules,function(e,r){o.register(t.concat(r),e,n)})},$.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var S,A=function(t){var e=this;void 0===t&&(t={}),!S&&"undefined"!=typeof window&&window.Vue&&_(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1);var i=t.state;void 0===i&&(i={}),"function"==typeof i&&(i=i()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new $(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new S;var a=this,s=this,c=s.dispatch,u=s.commit;this.dispatch=function(t,e){return c.call(a,t,e)},this.commit=function(t,e,n){return u.call(a,t,e,n)},this.strict=r,f(this,i,[],this._modules.root),l(this,i),n.forEach(function(t){return t(e)}),S.config.devtools&&o(this)},j={state:{configurable:!0}};j.state.get=function(){return this._vm._data.$$state},j.state.set=function(t){},A.prototype.commit=function(t,e,n){var o=this,r=b(t,e,n),i=r.type,a=r.payload,s=(r.options,{type:i,payload:a}),c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(s,o.state)}))},A.prototype.dispatch=function(t,e){var n=this,o=b(t,e),r=o.type,i=o.payload,a={type:r,payload:i},s=this._actions[r];if(s)return this._actionSubscribers.forEach(function(t){return t(a,n.state)}),s.length>1?Promise.all(s.map(function(t){return t(i)})):s[0](i)},A.prototype.subscribe=function(t){return c(t,this._subscribers)},A.prototype.subscribeAction=function(t){return c(t,this._actionSubscribers)},A.prototype.watch=function(t,e,n){var o=this;return this._watcherVM.$watch(function(){return t(o.state,o.getters)},e,n)},A.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},A.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),f(this,this.state,t,this._modules.get(t),n.preserveState),l(this,this.state)},A.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=y(e.state,t.slice(0,-1));S.delete(n,t[t.length-1])}),u(this)},A.prototype.hotUpdate=function(t){this._modules.update(t),u(this,!0)},A.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(A.prototype,j);var I=x(function(t,e){var n={};return w(e).forEach(function(e){var o=e.key,r=e.val;n[o]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var o=k(this.$store,"mapState",t);if(!o)return;e=o.context.state,n=o.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[o].vuex=!0}),n}),L=x(function(t,e){var n={};return w(e).forEach(function(e){var o=e.key,r=e.val;n[o]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var o=this.$store.commit;if(t){var i=k(this.$store,"mapMutations",t);if(!i)return;o=i.context.commit}return"function"==typeof r?r.apply(this,[o].concat(e)):o.apply(this.$store,[r].concat(e))}}),n}),M=x(function(t,e){var n={};return w(e).forEach(function(e){var o=e.key,r=e.val;r=t+r,n[o]=function(){if(!t||k(this.$store,"mapGetters",t))return this.$store.getters[r]},n[o].vuex=!0}),n}),P=x(function(t,e){var n={};return w(e).forEach(function(e){var o=e.key,r=e.val;n[o]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var o=this.$store.dispatch;if(t){var i=k(this.$store,"mapActions",t);if(!i)return;o=i.context.dispatch}return"function"==typeof r?r.apply(this,[o].concat(e)):o.apply(this.$store,[r].concat(e))}}),n}),D=function(t){return{mapState:I.bind(null,t),mapGetters:M.bind(null,t),mapMutations:L.bind(null,t),mapActions:P.bind(null,t)}},N={Store:A,install:_,version:"2.5.0",mapState:I,mapMutations:L,mapGetters:M,mapActions:P,createNamespacedHelpers:D};e.default=N},function(t,e,n){(function(e){function n(t){return t.split("")}function o(t,e,n,o){for(var r=t.length,i=n+(o?1:-1);o?i--:++i<r;)if(e(t[i],i,t))return i;return-1}function r(t,e,n){if(e!==e)return o(t,i,n);for(var r=n-1,a=t.length;++r<a;)if(t[r]===e)return r;return-1}function i(t){return t!==t}function a(t,e){for(var n=-1,o=t.length;++n<o&&r(e,t[n],0)>-1;);return n}function s(t,e){for(var n=t.length;n--&&r(e,t[n],0)>-1;);return n}function c(t){return A.test(t)}function u(t){return c(t)?l(t):n(t)}function l(t){return t.match(S)||[]}function f(t,e,n){var o=-1,r=t.length;e<0&&(e=-e>r?0:r+e),n=n>r?r:n,n<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(r);++o<r;)i[o]=t[o+e];return i}function p(t){if("string"==typeof t)return t;if(v(t))return F?F.call(t):"";var e=t+"";return"0"==e&&1/t==-y?"-0":e}function d(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:f(t,e,n)}function h(t){return!!t&&"object"==typeof t}function v(t){return"symbol"==typeof t||h(t)&&P.call(t)==b}function m(t){return null==t?"":p(t)}function g(t,e,n){if((t=m(t))&&(n||void 0===e))return t.replace(_,"");if(!t||!(e=p(e)))return t;var o=u(t),r=u(e);return d(o,a(o,r),s(o,r)+1).join("")}var y=1/0,b="[object Symbol]",_=/^\s+|\s+$/g,w="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",x="\\ud83c[\\udffb-\\udfff]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",C="(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?",O="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",k,E].join("|")+")[\\ufe0e\\ufe0f]?"+C+")*",T="[\\ufe0e\\ufe0f]?"+C+O,$="(?:"+["[^\\ud800-\\udfff]"+w+"?",w,k,E,"[\\ud800-\\udfff]"].join("|")+")",S=RegExp(x+"(?="+x+")|"+$+T,"g"),A=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),j="object"==typeof e&&e&&e.Object===Object&&e,I="object"==typeof self&&self&&self.Object===Object&&self,L=j||I||Function("return this")(),M=Object.prototype,P=M.toString,D=L.Symbol,N=D?D.prototype:void 0,F=N?N.toString:void 0;t.exports=g}).call(e,n(0))},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(){this.$emit("widgets-search-update",{widgetType:this.selectedWidgetType,widgetTitle:this.widgetTitleSearch})}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),a=o(i),s=n(26),c=o(s),u=n(2),l={};l[u.WIDGET_ALL]="All ITEMS",l[u.WIDGET_POLL]="poll",l[u.WIDGET_SET]="multi poll set",l[u.WIDGET_SURVEY]="survey",l[u.WIDGET_SLIDESHOW]="slideshow",l[u.WIDGET_TRIVIA_QUIZ]="trivia quiz",l[u.WIDGET_PERSONALITY_QUIZ]="personality quiz",l[u.WIDGET_LIST]="list",l[u.WIDGET_FORM]="form",l[u.WIDGET_STORY]="story article",e.default=a.default.component("widget-list",{template:"#opinionstage-widget-list",props:["widgets","preSelectedWidgetType","dataLoading","noMoreData","showSearch"],data:function(){return{selectedWidgetType:null,widgetTitleSearch:"",showMoreBtn:!0,hasData:!0}},computed:{selectedWidgetTitle:function(){return l[this.selectedWidgetType||this.preSelectedWidgetType]}},watch:{widgetTitleSearch:(0,c.default)(function(){r.call(this)},500),widgets:function(){this.hasData=this.dataLoading||this.widgets.length>0}},methods:{select:function(t){this.$emit("widget-selected",t)},selectWidgetType:function(t){this.selectedWidgetType=t,this.widgetTitleSearch="",r.call(this)},showMore:function(){this.$emit("load-more-widgets")}}})},function(t,e,n){(function(e){function n(t,e,n){function r(e){var n=v,o=m;return v=m=void 0,E=e,y=t.apply(o,n)}function i(t){return E=t,b=setTimeout(l,e),C?r(t):y}function c(t){var n=t-k,o=t-E,r=e-n;return O?w(r,g-o):r}function u(t){var n=t-k,o=t-E;return void 0===k||n>=e||n<0||O&&o>=g}function l(){var t=x();if(u(t))return f(t);b=setTimeout(l,c(t))}function f(t){return b=void 0,T&&v?r(t):(v=m=void 0,y)}function p(){void 0!==b&&clearTimeout(b),E=0,v=k=m=b=void 0}function d(){return void 0===b?y:f(x())}function h(){var t=x(),n=u(t);if(v=arguments,m=this,k=t,n){if(void 0===b)return i(k);if(O)return b=setTimeout(l,e),r(k)}return void 0===b&&(b=setTimeout(l,e)),y}var v,m,g,y,b,k,E=0,C=!1,O=!1,T=!0;if("function"!=typeof t)throw new TypeError(s);return e=a(e)||0,o(n)&&(C=!!n.leading,O="maxWait"in n,g=O?_(a(n.maxWait)||0,e):g,T="trailing"in n?!!n.trailing:T),h.cancel=p,h.flush=d,h}function o(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function r(t){return!!t&&"object"==typeof t}function i(t){return"symbol"==typeof t||r(t)&&b.call(t)==u}function a(t){if("number"==typeof t)return t;if(i(t))return c;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(l,"");var n=p.test(t);return n||d.test(t)?h(t.slice(2),n?2:8):f.test(t)?c:+t}var s="Expected a function",c=NaN,u="[object Symbol]",l=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,m="object"==typeof self&&self&&self.Object===Object&&self,g=v||m||Function("return this")(),y=Object.prototype,b=y.toString,_=Math.max,w=Math.min,x=function(){return g.Date.now()};t.exports=n}).call(e,n(0))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=function(t){return t&&t.__esModule?t:{default:t}}(o);e.default=r.default.component("notification",{template:"#opinionstage-notification",methods:{initiateUpdate:function(){this.$emit("update-btn-click")}}})},function(t,e,n){var o=n(29);"string"==typeof o&&(o=[[t.i,o,""]]);var r={};r.transform=void 0;n(4)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){e=t.exports=n(3)(!1),e.push([t.i,'@font-face{font-family:os-icon-font;font-style:normal;font-weight:400;src:url("https://assets.opinionstage.com/assets/os-icon-font-244a07d2da0691f4423dac8a542a9bb9df3797ca19f2d0c67c04a8789c9f6afb.eot#iefix") format("embedded-opentype"),url("https://assets.opinionstage.com/assets/os-icon-font-244a07d2da0691f4423dac8a542a9bb9df3797ca19f2d0c67c04a8789c9f6afb.ttf") format("truetype"),url("https://assets.opinionstage.com/assets/os-icon-font-244a07d2da0691f4423dac8a542a9bb9df3797ca19f2d0c67c04a8789c9f6afb.woff") format("woff"),url("https://assets.opinionstage.com/assets/os-icon-font-244a07d2da0691f4423dac8a542a9bb9df3797ca19f2d0c67c04a8789c9f6afb.svg#os-icon-font") format("svg")}[class*=" icon-"],[class^=icon-]{font-family:os-icon-font!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-os-form-address:before{content:"\\E900"}.icon-os-form-email:before{content:"\\E901"}.icon-os-form-name:before{content:"\\E902"}.icon-os-form-phone:before{content:"\\E903"}.icon-os-common-arrow-left2:before{content:"\\E904"}.icon-os-common-arrow-right2:before{content:"\\E905"}.icon-os-reports-list:before{content:"\\E906"}.icon-os-reports-personality:before{content:"\\E907"}.icon-os-reports-poll:before{content:"\\E908"}.icon-os-reports-set:before{content:"\\E909"}.icon-os-widget-slideshow:before{content:"\\E90A"}.icon-os-reports-trivia:before{content:"\\E90B"}.icon-os-widget-form:before{content:"\\E963"}.icon-os-common-up:before{content:"\\E90C"}.icon-os-layout-image-poll:before{content:"\\E90D"}.icon-os-common-arrow-left:before{content:"\\E90E"}.icon-os-common-arrow-right:before{content:"\\E90F"}.icon-os-form-user:before{content:"\\E910"}.icon-os-sn-pinterest:before{content:"\\E911"}.icon-os-sn-reddit:before{content:"\\E912"}.icon-os-sn-whatsapp:before{content:"\\E913"}.icon-os-brand-logo-small:before{content:"\\E914"}.icon-os-brand-logo:before{content:"\\E915"}.icon-os-common-addnew:before{content:"\\E916"}.icon-os-common-checkbox-blank:before{content:"\\E917"}.icon-os-common-checkbox-checked:before{content:"\\E918"}.icon-os-common-close:before{content:"\\E919"}.icon-os-common-date:before{content:"\\E91A"}.icon-os-common-dot:before{content:"\\E91B"}.icon-os-common-down:before{content:"\\E91C"}.icon-os-common-help:before{content:"\\E91D"}.icon-os-common-link:before{content:"\\E91E"}.icon-os-common-menu-dd-closed:before{content:"\\E91F"}.icon-os-common-menu-dd-open:before{content:"\\E920"}.icon-os-common-menu-medium:before{content:"\\E921"}.icon-os-common-menu:before{content:"\\E922"}.icon-os-common-minimize:before{content:"\\E923"}.icon-os-common-more:before{content:"\\E924"}.icon-os-common-plus:before{content:"\\E925"}.icon-os-common-poll:before{content:"\\E926"}.icon-os-common-search:before{content:"\\E927"}.icon-os-common-settings:before{content:"\\E928"}.icon-os-common-tip:before{content:"\\E929"}.icon-os-filter-all:before{content:"\\E92A"}.icon-os-filter-facebook:before{content:"\\E92B"}.icon-os-filter-female:before{content:"\\E92C"}.icon-os-filter-friends:before{content:"\\E92D"}.icon-os-filter-gplus:before{content:"\\E92E"}.icon-os-filter-hidden:before{content:"\\E92F"}.icon-os-filter-male:before{content:"\\E930"}.icon-os-filter-public:before{content:"\\E931"}.icon-os-filter-seperator:before{content:"\\E932"}.icon-os-filter-twitter:before{content:"\\E933"}.icon-os-form-check:before{content:"\\E934"}.icon-os-form-drag:before{content:"\\E935"}.icon-os-form-error:before{content:"\\E936"}.icon-os-form-image:before{content:"\\E937"}.icon-os-form-success:before{content:"\\E938"}.icon-os-form-video:before{content:"\\E939"}.icon-os-hp-engagement:before{content:"\\E93A"}.icon-os-hp-insights:before{content:"\\E93B"}.icon-os-hp-revenue:before{content:"\\E93C"}.icon-os-hp-traffic:before{content:"\\E93D"}.icon-os-layout-h2h:before{content:"\\E93E"}.icon-os-layout-mc:before{content:"\\E93F"}.icon-os-layout-thumbnails:before{content:"\\E940"}.icon-os-menu-content:before{content:"\\E941"}.icon-os-menu-placements:before{content:"\\E942"}.icon-os-menu-reports:before{content:"\\E943"}.icon-os-menu-revenue:before{content:"\\E944"}.icon-os-pinterest:before{content:"\\E945"}.icon-os-poll-client:before{content:"\\E946"}.icon-os-poll-voter:before{content:"\\E947"}.icon-os-quiz-correct:before{content:"\\E948"}.icon-os-quiz-restart:before{content:"\\E949"}.icon-os-quiz-wrong:before{content:"\\E94A"}.icon-os-report-contacts:before{content:"\\E94B"}.icon-os-report-discovery:before{content:"\\E94C"}.icon-os-report-revenue:before{content:"\\E94D"}.icon-os-report-stats:before{content:"\\E94E"}.icon-os-report-time:before{content:"\\E94F"}.icon-os-report-views:before{content:"\\E950"}.icon-os-reports-emails:before{content:"\\E951"}.icon-os-reports-polls:before{content:"\\E952"}.icon-os-reports-revenue:before{content:"\\E953"}.icon-os-reports-sets:before{content:"\\E954"}.icon-os-reports-time:before{content:"\\E955"}.icon-os-reports-traffic:before{content:"\\E956"}.icon-os-reports-votes:before{content:"\\E957"}.icon-os-set-arrow-left:before{content:"\\E958"}.icon-os-set-arrow-right:before{content:"\\E959"}.icon-os-sn-embed:before{content:"\\E95A"}.icon-os-sn-facebook:before{content:"\\E95B"}.icon-os-sn-gplus:before{content:"\\E95C"}.icon-os-sn-tumblr:before{content:"\\E95D"}.icon-os-sn-twitter:before{content:"\\E95E"}.icon-os-status-closed:before{content:"\\E95F"}.icon-os-status-draft:before{content:"\\E960"}.icon-os-status-open:before{content:"\\E961"}.icon-os-status-published:before{content:"\\E962"}.icon-os-icon-story:before{content:"\\E964"}.opinionstage-content-popup-contents *{margin:0;padding:0;color:#222120;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Open Sans,Helvetica,sans-serif}.opinionstage-content-popup-contents .header{background-color:#222120;width:100%}.opinionstage-content-popup-contents .header__container{color:#fff;margin:auto;padding:0 10px}.opinionstage-content-popup-contents .header__logo{display:inline-block}.opinionstage-content-popup-contents .header__logo a:active,.opinionstage-content-popup-contents .header__logo a:focus,.opinionstage-content-popup-contents .header__logo a:hover,.opinionstage-content-popup-contents .header__logo a:visited{border:none;background:none;-webkit-box-shadow:none;box-shadow:none}.opinionstage-content-popup-contents .header__logo img{margin:15px 10px;width:150px}.opinionstage-content-popup-contents .header__nav{display:inline-block;font-size:0;vertical-align:bottom}.opinionstage-content-popup-contents .header__action{display:block;float:right;font-size:0;margin-top:10px}.opinionstage-content-popup-contents .page-content{margin:0 auto;padding:25px 15px 15px}.opinionstage-content-popup-contents .main-title{font-size:30px;font-weight:400;line-height:normal}.opinionstage-content-popup-contents .conect-form{text-align:center;margin-top:20px}.opinionstage-content-popup-contents .content-actions{height:40px;margin-bottom:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.opinionstage-content-popup-contents .content-actions__left,.opinionstage-content-popup-contents .content-actions__right{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.opinionstage-content-popup-contents .content-actions__left{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.opinionstage-content-popup-contents .content-actions__right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.opinionstage-content-popup-contents .content-actions__sep{border-right:1px solid #e5e5e5;margin:0 20px}.opinionstage-content-popup-contents .content-actions:after{content:"";clear:both;display:block}.opinionstage-content-popup-contents .filter__itm{display:inline-block;cursor:pointer;font-size:12px;margin-right:0;line-height:25px;text-transform:uppercase;width:100%}.opinionstage-content-popup-contents .filter__itm:first-child{border-top:1px solid #3487fa}.opinionstage-content-popup-contents .filter__itm:last-child{border-bottom:1px solid #3487fa}.opinionstage-content-popup-contents .filter__itm.active{color:#fff;background:#5299fb;font-weight:400;pointer-events:none}.opinionstage-content-popup-contents .filter{display:inline-block;margin:0;width:auto}.opinionstage-content-popup-contents .content__list{height:calc(92vh - 160px);overflow-y:scroll}.opinionstage-content-popup-contents .content__loading{text-align:center}.opinionstage-content-popup-contents .content__itm{display:block;margin:0;padding-bottom:6px;padding-top:10px;position:relative;width:100%;border-bottom:1px solid #e5e5e5}.opinionstage-content-popup-contents .content__itm:first-child{border-top:1px solid #e5e5e5}.opinionstage-content-popup-contents .content__itm:hover .content__links{display:inline-block;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.opinionstage-content-popup-contents .content__image{display:inline-block;height:90px;position:relative;width:15%}.opinionstage-content-popup-contents .content__image img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.opinionstage-content-popup-contents .content__info{display:inline-block;background:transparent;font-size:16px;height:85px;width:50%;line-height:normal;margin:0;overflow:hidden;padding:0 10px;text-overflow:ellipsis;white-space:nowrap}.opinionstage-content-popup-contents .content__info a{color:inherit;text-decoration:none}.opinionstage-content-popup-contents .content__links{background:none;display:inline-block;float:right;text-align:right;height:100%;padding:20px 10px;left:0;position:relative;top:0;width:30%}@media only screen and (max-width:767px){.opinionstage-content-popup-contents .content__links{padding-left:0;padding-right:0}}.opinionstage-content-popup-contents .content__links-itm{border-radius:5px;border:1px solid #fff;color:#fff;background:transparent;cursor:pointer;display:block;line-height:1;margin:5px auto;padding:14px 8px;text-align:center;text-decoration:none;text-transform:uppercase;width:200px}.opinionstage-content-popup-contents .content__links-itm:hover{background-color:hsla(0,0%,100%,.1)}.opinionstage-content-popup-contents .popup-content-btn{border:1px solid #32adbc;border-radius:2px;color:#32adbc;display:inline;font-size:15px;font-weight:600;padding:13px 14px;text-align:center;text-decoration:none;width:auto}.opinionstage-content-popup-contents .content__label{background-color:#222120;bottom:auto;color:#fff;font-size:12px;top:0;left:0;padding:1px 5px;position:absolute;text-transform:uppercase;z-index:2}.opinionstage-content-popup-contents .std-btn{background-color:rgba(123,91,167,.4);border-radius:5px 5px 0 0;cursor:pointer;color:#fff;display:inline-block;font:16px/50px Open Sans,Helvetica,sans-serif;margin:0;text-align:center;text-transform:uppercase;vertical-align:bottom;width:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.opinionstage-content-popup-contents .std-btn.active{background-color:#fff;color:#222120}.opinionstage-content-popup-contents .btn-create{background-color:#32adbc;border-radius:3px;border-style:hidden;color:#fff;cursor:pointer;display:inline-block;font-size:15px;font-weight:600;line-height:normal;padding:10px 11px;text-decoration:none;outline:none}.opinionstage-content-popup-contents .btn-create:hover{color:#fff;opacity:.9;text-decoration:none}.opinionstage-content-popup-contents .btn-create:before{bottom:0;content:"+";font-family:os-icon-font;font-size:17px;font-weight:700;height:18px;margin-right:8px;pointer-events:none;top:0}.opinionstage-content-popup-contents .create-new-menu-box{display:inline-block;position:relative}.opinionstage-content-popup-contents .create-new-menu-box:hover .create-new-menu{display:block}.opinionstage-content-popup-contents .create-new-menu{display:none;position:absolute;width:100%;top:39px;left:0;border:1px solid #3aaebd;background-color:#fff;z-index:3}.opinionstage-content-popup-contents .create-menu__itm{display:block;color:#3aaebd;border-bottom:1px solid #3aaebd;padding:8px 12px;background-color:#fff;font-size:14px;text-decoration:none;text-transform:uppercase}.opinionstage-content-popup-contents .create-menu__itm:hover{text-decoration:none;color:#fff;background-color:#44a9d2}.opinionstage-content-popup-contents .btn-close{border:1px solid #fff;border-radius:5px;color:#fff;cursor:pointer;display:inline-block;font:16px/38px Open Sans,Helvetica,sans-serif;margin-left:20px;opacity:.5;text-align:center;width:42px}.opinionstage-content-popup-contents .btn-close:hover{opacity:.8}.opinionstage-content-popup-contents .btn-blue{display:inline-block;background-color:#3499c2;border:medium none;border-radius:5px;color:#fff;cursor:pointer;font-size:16px;line-height:36px;outline:medium none;text-transform:uppercase;text-decoration:none;width:140px}.opinionstage-content-popup-contents .btn-blue:hover{background-color:#55a6cc}.opinionstage-content-popup-contents .btn-show-more{padding:15px 0;border:none;background-color:#e6e6e6;width:100%}.opinionstage-content-popup-contents .std-inp{background-color:#fff;border:1px solid #c1c1c1;border-radius:5px;height:36px;outline:medium none;padding:0 15px;width:450px}.opinionstage-content-popup-contents .os-search{width:180px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #ccc;border-radius:2px;-webkit-box-shadow:0 0;box-shadow:0 0}.opinionstage-content-popup-contents .os-search__input{color:#797979;padding-left:10px;width:100%;border:none;border-radius:0;outline:none}.opinionstage-content-popup-contents .os-search__input:focus{border:none;border-radius:0;-webkit-box-shadow:none;box-shadow:none;outline:none}.opinionstage-content-popup-contents .os-search__icon{color:#3aaebd;line-height:normal;font-size:18px;padding:10px 9px;margin:0}.opinionstage-content-popup-contents .hidden{visibility:hidden}.opinionstage-content-popup-contents .opinionstage-blue-btn{cursor:pointer;text-align:center;color:#fff;text-decoration:none;display:inline-block;padding:11px 10px;font-weight:400;background-color:#3499c2;border-radius:3px;border-style:hidden;width:95px}.opinionstage-content-popup-contents .opinionstage-blue-btn:hover{opacity:.9}.opinionstage-content-popup-contents .opinionstage-section-notification{background-color:rgba(0,0,0,.7);width:100%;padding:20px 25px;z-index:3;text-align:center;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.6);box-shadow:0 2px 5px rgba(0,0,0,.6)}.opinionstage-content-popup-contents .opinionstage-section-notification__title{color:#fff;font-size:15px;margin-bottom:15px}.opinionstage-content-popup-contents .opinionstage-section-notification__controls{position:relative;font-size:0}.opinionstage-content-popup-contents .notification-container~div>.page-content .content__list{max-height:calc(92vh - 270px)}.opinionstage-content-popup-contents .bordered-container{border:1px solid #e5e5e5;text-align:center;padding:40px}.opinionstage-content-popup-contents .opinionstage-introduction-video{text-align:center;padding:20px}.opinionstage-content-popup-contents .opinionstage-connect-form{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.opinionstage-content-popup-contents .opinionstage-connect-form .opinionstage-conect-input{border:1px solid #e5e5e5;height:40px;padding:0 15px;width:420px;border-radius:3px;margin-right:10px;-webkit-box-shadow:none!important;box-shadow:none!important;outline:none!important}.opinionstage-content-popup-contents .dropbtn{background-color:#fff;border:1px solid #e4e4e4;border-right:0!important;-webkit-box-shadow:0 0 0!important;box-shadow:0 0 0!important;cursor:pointer;display:inline-block;font:12px/38px Open Sans,Helvetica,sans-serif;outline:none!important;padding-left:10px;position:relative;text-align:left;text-decoration:none;width:140px;margin-right:50px}.opinionstage-content-popup-contents .dropbtn span{color:#555454;font-size:12px;font-weight:700;text-transform:uppercase}.opinionstage-content-popup-contents .dropbtn:before{color:#000;content:"\\E922";display:block;font-family:os-icon-font!important;font-size:9px;position:absolute;right:-25px;top:0;z-index:3;font-weight:700}.opinionstage-content-popup-contents .dropbtn:after{border:1px solid #e4e4e4;border-left:0!important;content:"";height:45px;position:absolute;right:-40px;top:-1px;width:40px;height:38px}.opinionstage-content-popup-contents .dropdown{display:inline-block;position:relative}.opinionstage-content-popup-contents .dropdown:hover .popup-action-dropdown.dropdown-content{width:130px}.opinionstage-content-popup-contents .dropdown:hover .popup-action.popup-content-btn{background-color:#32adbc}.opinionstage-content-popup-contents .dropdown:hover .popup-action.popup-content-btn:before{color:#fff}.opinionstage-content-popup-contents .dropdown-popup-action{height:45px}.opinionstage-content-popup-contents .dropdown-content{background-color:#f9f9f9;-webkit-box-shadow:0 8px 16px 0 rgba(0,0,0,.2);box-shadow:0 8px 16px 0 rgba(0,0,0,.2);display:none;left:1px;position:absolute;top:40px;z-index:9}.opinionstage-content-popup-contents .dropdown-content div{background-color:#fff;border:1px solid #3487fa;border-bottom:0;border-top:0;color:#555454;display:block;padding:5px 10px 5px 20px;text-decoration:none}.opinionstage-content-popup-contents .dropdown-content div:hover{background-color:#3487fa;color:#fff!important}.opinionstage-content-popup-contents .dropdown_items .dropdown-content{width:180px}.opinionstage-content-popup-contents .dropdown:hover .dropdown-content{display:block!important;width:180px}.opinionstage-content-popup-contents .dropdown:hover .dropbtn{background-color:#fff}.opinionstage-content-popup-contents .popup-action:before{color:#32adbc;padding:0;position:absolute;right:18px;content:"\\E922";display:block;font-family:os-icon-font!important;font-size:9px;top:15px;z-index:3;font-weight:700}.opinionstage-content-popup-contents .popup-action.popup-content-btn{margin-left:10px;padding:12px 25px;position:relative}.opinionstage-content-popup-contents .popup-action-dropdown{background:#fff;border:1px solid #32adbc;border-radius:3px}.opinionstage-content-popup-contents .popup-action-dropdown .content__links-itm{border:none;border-bottom:1px solid #32adbc;border-radius:0;color:#32adbc;font-size:14px;font-weight:400;margin:0;padding:10px;width:auto;text-align:left!important;letter-spacing:1px}.opinionstage-content-popup-contents .popup-action-dropdown .content__links-itm:hover{background-color:#32adbc!important;color:#fff}.opinionstage-content-popup-contents .popup-action-dropdown .content__links-itm:last-child{border:none}.opinionstage-content-popup-contents .popup-action-dropdown.dropdown-content{left:auto;right:0;top:20px;z-index:10}',""])}]);
|
admin/views/settings.php
CHANGED
@@ -104,24 +104,6 @@ defined( 'ABSPATH' ) or die();
|
|
104 |
<?php echo opinionstage_template_form_link('opinionstage-blue-bordered-btn opinionstage-create-btn os_use_template_btn template'); ?>
|
105 |
</div>
|
106 |
</div>
|
107 |
-
<div class="opinionstage-section-raw">
|
108 |
-
<div class="opinionstage-section-cell opinionstage-icon-cell">
|
109 |
-
<div class="os-icon-plugin"><img src="<?php echo plugins_url( 'images/slideshow.png', dirname(__FILE__) ); ?>" ></div>
|
110 |
-
</div>
|
111 |
-
<div class="opinionstage-section-cell opinionstage-description-cell">
|
112 |
-
<div class="title">Slideshow</div>
|
113 |
-
<div class="example">Group items in an interactive display</div>
|
114 |
-
</div>
|
115 |
-
<div class="opinionstage-section-cell opinionstage-btn-cell">
|
116 |
-
<?php echo opinionstage_create_slideshow_link( 'opinionstage-blue-btn opinionstage-create-btn os_create_new_btn template' ); ?>
|
117 |
-
<?php echo opinionstage_template_slideshow_link('opinionstage-blue-bordered-btn opinionstage-create-btn os_use_template_btn template') ?>
|
118 |
-
</div>
|
119 |
-
</div>
|
120 |
-
<?php
|
121 |
-
if ( !$os_client_logged_in ) {
|
122 |
-
echo '<div id="overlay"></div>';
|
123 |
-
}
|
124 |
-
?>
|
125 |
</div>
|
126 |
</div>
|
127 |
</div>
|
104 |
<?php echo opinionstage_template_form_link('opinionstage-blue-bordered-btn opinionstage-create-btn os_use_template_btn template'); ?>
|
105 |
</div>
|
106 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
</div>
|
108 |
</div>
|
109 |
</div>
|
admin/views/view_my_items.php
CHANGED
@@ -33,14 +33,10 @@ defined( 'ABSPATH' ) or die(1); ?>
|
|
33 |
<select id="itemList">
|
34 |
<option value="all">ALL ITEMS</option>
|
35 |
<option value="poll">POLL</option>
|
36 |
-
<option value="multiple">MULTIPLE POLL SET</option>
|
37 |
<option value="survey">SURVEY</option>
|
38 |
-
<option value="slideshow">SLIDESHOW</option>
|
39 |
<option value="trivia">TRIVIA QUIZ</option>
|
40 |
<option value="personality">PERSONALITY QUIZ</option>
|
41 |
-
<option value="list">LIST</option>
|
42 |
<option value="form">FORM</option>
|
43 |
-
<option value="story">STORY ARTICLE</option>
|
44 |
</select>
|
45 |
</div>
|
46 |
<div class="search search-container">
|
33 |
<select id="itemList">
|
34 |
<option value="all">ALL ITEMS</option>
|
35 |
<option value="poll">POLL</option>
|
|
|
36 |
<option value="survey">SURVEY</option>
|
|
|
37 |
<option value="trivia">TRIVIA QUIZ</option>
|
38 |
<option value="personality">PERSONALITY QUIZ</option>
|
|
|
39 |
<option value="form">FORM</option>
|
|
|
40 |
</select>
|
41 |
</div>
|
42 |
<div class="search search-container">
|
assets/content-popup/app/components/notification.js
CHANGED
@@ -3,16 +3,9 @@ import Vue from 'vue'
|
|
3 |
export default Vue.component('notification', {
|
4 |
template: '#opinionstage-notification',
|
5 |
|
6 |
-
props: [
|
7 |
-
'widgetType',
|
8 |
-
],
|
9 |
-
|
10 |
methods: {
|
11 |
-
|
12 |
-
this.$emit('
|
13 |
-
this.$emit('reload', {
|
14 |
-
widgetType: this.widgetType
|
15 |
-
})
|
16 |
},
|
17 |
}
|
18 |
})
|
3 |
export default Vue.component('notification', {
|
4 |
template: '#opinionstage-notification',
|
5 |
|
|
|
|
|
|
|
|
|
6 |
methods: {
|
7 |
+
initiateUpdate () {
|
8 |
+
this.$emit('update-btn-click')
|
|
|
|
|
|
|
9 |
},
|
10 |
}
|
11 |
})
|
assets/content-popup/app/components/popup-content.js
CHANGED
@@ -5,17 +5,32 @@ import join from 'lodash.join'
|
|
5 |
|
6 |
import store from '../store.js'
|
7 |
import JsonApi from '../../lib/jsonapi.js'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
export default Vue.component('popup-content', {
|
10 |
template: '#opinionstage-popup-content',
|
11 |
|
12 |
props: [
|
13 |
-
|
14 |
'showClientContent',
|
15 |
'clientIsLoggedIn',
|
|
|
|
|
|
|
16 |
'clientWidgetsUrl',
|
17 |
-
'clientWidgetsHasNewUrl',
|
18 |
'sharedWidgetsUrl',
|
|
|
19 |
'accessKey',
|
20 |
'pluginVersion',
|
21 |
],
|
@@ -25,7 +40,7 @@ export default Vue.component('popup-content', {
|
|
25 |
dataLoading: false,
|
26 |
widgets: [],
|
27 |
searchCriteria: {},
|
28 |
-
noMoreData:
|
29 |
newWidgetsAvailable: false,
|
30 |
lastUpdateTime: null,
|
31 |
isCheckingWidgetUpdates: false,
|
@@ -33,33 +48,39 @@ export default Vue.component('popup-content', {
|
|
33 |
}
|
34 |
},
|
35 |
|
36 |
-
mounted () {
|
37 |
-
startWidgetUpdatesChecking.call(this)
|
38 |
-
},
|
39 |
-
|
40 |
store,
|
41 |
|
42 |
methods: {
|
43 |
-
reloadData (
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
this.searchCriteria = { page: 1, perPage: 9, type: widgetType, title: widgetTitle }
|
45 |
this.$store.commit('clearWidgets')
|
46 |
|
47 |
-
loadData.call(this
|
48 |
this.widgets = this.$store.state.widgets[0]
|
49 |
-
this.noMoreData = !hasNextPage(this.$store.state.nextPageNumber)
|
50 |
|
51 |
if ( !this.searchCriteria.title ) {
|
52 |
setLastUpdateTimeFromWidget.call(this)
|
53 |
}
|
|
|
|
|
54 |
})
|
55 |
},
|
56 |
|
|
|
|
|
|
|
|
|
57 |
appendData () {
|
58 |
this.searchCriteria.page += 1
|
59 |
|
60 |
-
loadData.call(this
|
61 |
const newWidgets = this.$store.state.widgets[this.searchCriteria.page-1]
|
62 |
-
this.noMoreData = !hasNextPage(this.$store.state.nextPageNumber)
|
63 |
this.widgets = this.widgets.concat( newWidgets )
|
64 |
})
|
65 |
},
|
@@ -67,34 +88,20 @@ export default Vue.component('popup-content', {
|
|
67 |
widgetSelected (widget) {
|
68 |
this.$emit('widget-selected', widget)
|
69 |
},
|
70 |
-
|
71 |
-
checkWidgetUpdates ({ widgetType }) {
|
72 |
-
pullWidgetsUpdateInformation.call(this, widgetType, this.lastUpdateTime).then( () => {
|
73 |
-
if ( this.newWidgetsAvailable ) {
|
74 |
-
stopWidgetUpdatesChecking.call(this)
|
75 |
-
}
|
76 |
-
})
|
77 |
-
},
|
78 |
-
|
79 |
-
startWidgetUpdatesChecker() {
|
80 |
-
this.newWidgetsAvailable = false
|
81 |
-
startWidgetUpdatesChecking.call(this)
|
82 |
-
},
|
83 |
},
|
84 |
|
85 |
watch: {
|
86 |
-
modalIsOpened
|
87 |
-
if (
|
88 |
-
|
89 |
-
startWidgetUpdatesChecking.call(this)
|
90 |
} else {
|
91 |
this.newWidgetsAvailable = false
|
92 |
stopWidgetUpdatesChecking.call(this)
|
93 |
}
|
94 |
},
|
95 |
|
96 |
-
showClientContent
|
97 |
-
if (
|
98 |
startWidgetUpdatesChecking.call(this)
|
99 |
} else {
|
100 |
stopWidgetUpdatesChecking.call(this)
|
@@ -103,12 +110,13 @@ export default Vue.component('popup-content', {
|
|
103 |
},
|
104 |
})
|
105 |
|
106 |
-
function loadData (
|
107 |
this.dataLoading = true
|
108 |
|
109 |
const load = this.showClientContent ? loadClientWidgets : loadTemplateWidgets
|
110 |
|
111 |
-
return load.call(this, searchCriteria).then( () => {
|
|
|
112 |
this.dataLoading = false
|
113 |
})
|
114 |
}
|
@@ -157,26 +165,30 @@ function pullWidgetsUpdateInformation(type, updatedAt){
|
|
157 |
const url = withParams(this.clientWidgetsHasNewUrl, type, updatedAt)
|
158 |
|
159 |
return JsonApi.get(url, this.pluginVersion, this.accessKey)
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
}
|
167 |
|
168 |
function hasNextPage(nextPageNumber) {
|
169 |
return nextPageNumber > 1
|
170 |
}
|
171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
function startWidgetUpdatesChecking() {
|
173 |
if ( this.clientIsLoggedIn ) {
|
174 |
this.isCheckingWidgetUpdates = true
|
175 |
-
this.widgetUpdatesChecker = setInterval(()
|
176 |
-
this.checkWidgetUpdates({
|
177 |
-
widgetType: this.searchCriteria.type,
|
178 |
-
})
|
179 |
-
}, 3000)
|
180 |
}
|
181 |
}
|
182 |
|
@@ -192,23 +204,3 @@ function setLastUpdateTimeFromWidget() {
|
|
192 |
this.lastUpdateTime = null
|
193 |
}
|
194 |
}
|
195 |
-
|
196 |
-
function refreshContent() {
|
197 |
-
if ( this.searchCriteria.type && this.searchCriteria.title ) {
|
198 |
-
this.reloadData.call(this, {
|
199 |
-
widgetType: this.searchCriteria.type,
|
200 |
-
widgetTitle: this.searchCriteria.title
|
201 |
-
})
|
202 |
-
|
203 |
-
} else if ( this.searchCriteria.type ) {
|
204 |
-
this.reloadData.call(this, {
|
205 |
-
widgetType: this.searchCriteria.type,
|
206 |
-
widgetTitle: ''
|
207 |
-
})
|
208 |
-
} else {
|
209 |
-
this.reloadData.call({
|
210 |
-
widgetType: 'all',
|
211 |
-
widgetTitle: ''
|
212 |
-
})
|
213 |
-
}
|
214 |
-
}
|
5 |
|
6 |
import store from '../store.js'
|
7 |
import JsonApi from '../../lib/jsonapi.js'
|
8 |
+
import {
|
9 |
+
WIDGET_ALL,
|
10 |
+
WIDGET_POLL,
|
11 |
+
WIDGET_SET,
|
12 |
+
WIDGET_SURVEY,
|
13 |
+
WIDGET_SLIDESHOW,
|
14 |
+
WIDGET_TRIVIA_QUIZ,
|
15 |
+
WIDGET_PERSONALITY_QUIZ,
|
16 |
+
WIDGET_LIST,
|
17 |
+
WIDGET_FORM,
|
18 |
+
WIDGET_STORY,
|
19 |
+
} from '../widget-types.js'
|
20 |
|
21 |
export default Vue.component('popup-content', {
|
22 |
template: '#opinionstage-popup-content',
|
23 |
|
24 |
props: [
|
25 |
+
// dynamic properties:
|
26 |
'showClientContent',
|
27 |
'clientIsLoggedIn',
|
28 |
+
'modalIsOpened',
|
29 |
+
'widgetType',
|
30 |
+
// static properties:
|
31 |
'clientWidgetsUrl',
|
|
|
32 |
'sharedWidgetsUrl',
|
33 |
+
'clientWidgetsHasNewUrl',
|
34 |
'accessKey',
|
35 |
'pluginVersion',
|
36 |
],
|
40 |
dataLoading: false,
|
41 |
widgets: [],
|
42 |
searchCriteria: {},
|
43 |
+
noMoreData: true,
|
44 |
newWidgetsAvailable: false,
|
45 |
lastUpdateTime: null,
|
46 |
isCheckingWidgetUpdates: false,
|
48 |
}
|
49 |
},
|
50 |
|
|
|
|
|
|
|
|
|
51 |
store,
|
52 |
|
53 |
methods: {
|
54 |
+
reloadData (search) {
|
55 |
+
if ( !search ) { search = {} }
|
56 |
+
const widgetType = search.widgetType || this.widgetType || this.searchCriteria.type || WIDGET_ALL
|
57 |
+
const widgetTitle = search.widgetTitle || ''
|
58 |
+
|
59 |
+
this.newWidgetsAvailable = false
|
60 |
+
stopWidgetUpdatesChecking.call(this)
|
61 |
this.searchCriteria = { page: 1, perPage: 9, type: widgetType, title: widgetTitle }
|
62 |
this.$store.commit('clearWidgets')
|
63 |
|
64 |
+
loadData.call(this).then( () => {
|
65 |
this.widgets = this.$store.state.widgets[0]
|
|
|
66 |
|
67 |
if ( !this.searchCriteria.title ) {
|
68 |
setLastUpdateTimeFromWidget.call(this)
|
69 |
}
|
70 |
+
|
71 |
+
startWidgetUpdatesChecking.call(this)
|
72 |
})
|
73 |
},
|
74 |
|
75 |
+
reloadAndRestartCheckingForUpdates () {
|
76 |
+
this.reloadData({ widgetType: this.searchCriteria.type, widgetTitle: '' })
|
77 |
+
},
|
78 |
+
|
79 |
appendData () {
|
80 |
this.searchCriteria.page += 1
|
81 |
|
82 |
+
loadData.call(this).then( () => {
|
83 |
const newWidgets = this.$store.state.widgets[this.searchCriteria.page-1]
|
|
|
84 |
this.widgets = this.widgets.concat( newWidgets )
|
85 |
})
|
86 |
},
|
88 |
widgetSelected (widget) {
|
89 |
this.$emit('widget-selected', widget)
|
90 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
},
|
92 |
|
93 |
watch: {
|
94 |
+
modalIsOpened (isOpened) {
|
95 |
+
if ( isOpened && this.showClientContent && this.clientIsLoggedIn ) {
|
96 |
+
this.reloadData()
|
|
|
97 |
} else {
|
98 |
this.newWidgetsAvailable = false
|
99 |
stopWidgetUpdatesChecking.call(this)
|
100 |
}
|
101 |
},
|
102 |
|
103 |
+
showClientContent (shouldShowClientContent) {
|
104 |
+
if ( shouldShowClientContent && this.modalIsOpened && this.clientIsLoggedIn ) {
|
105 |
startWidgetUpdatesChecking.call(this)
|
106 |
} else {
|
107 |
stopWidgetUpdatesChecking.call(this)
|
110 |
},
|
111 |
})
|
112 |
|
113 |
+
function loadData () {
|
114 |
this.dataLoading = true
|
115 |
|
116 |
const load = this.showClientContent ? loadClientWidgets : loadTemplateWidgets
|
117 |
|
118 |
+
return load.call(this, this.searchCriteria).then( () => {
|
119 |
+
this.noMoreData = !hasNextPage(this.$store.state.nextPageNumber)
|
120 |
this.dataLoading = false
|
121 |
})
|
122 |
}
|
165 |
const url = withParams(this.clientWidgetsHasNewUrl, type, updatedAt)
|
166 |
|
167 |
return JsonApi.get(url, this.pluginVersion, this.accessKey)
|
168 |
+
.then( (payload) => {
|
169 |
+
this.newWidgetsAvailable = payload.data['has-new-widgets']
|
170 |
+
})
|
171 |
+
.catch( (error) => {
|
172 |
+
console.error( "[social-polls-by-opinionstage][content-popup] can't load widgets:", error.statusText )
|
173 |
+
})
|
174 |
}
|
175 |
|
176 |
function hasNextPage(nextPageNumber) {
|
177 |
return nextPageNumber > 1
|
178 |
}
|
179 |
|
180 |
+
function checkWidgetUpdates () {
|
181 |
+
pullWidgetsUpdateInformation.call(this, this.searchCriteria.type, this.lastUpdateTime).then( () => {
|
182 |
+
if ( this.newWidgetsAvailable ) {
|
183 |
+
stopWidgetUpdatesChecking.call(this)
|
184 |
+
}
|
185 |
+
})
|
186 |
+
}
|
187 |
+
|
188 |
function startWidgetUpdatesChecking() {
|
189 |
if ( this.clientIsLoggedIn ) {
|
190 |
this.isCheckingWidgetUpdates = true
|
191 |
+
this.widgetUpdatesChecker = setInterval( checkWidgetUpdates.bind(this), 3000 )
|
|
|
|
|
|
|
|
|
192 |
}
|
193 |
}
|
194 |
|
204 |
this.lastUpdateTime = null
|
205 |
}
|
206 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/content-popup/app/components/widget-list.js
CHANGED
@@ -1,27 +1,55 @@
|
|
1 |
import Vue from 'vue'
|
2 |
import debounce from 'lodash.debounce'
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
export default Vue.component('widget-list', {
|
|
|
|
|
5 |
props: [
|
6 |
'widgets',
|
|
|
7 |
'dataLoading',
|
8 |
'noMoreData',
|
9 |
'showSearch',
|
10 |
],
|
11 |
|
12 |
-
template: '#opinionstage-widget-list',
|
13 |
-
|
14 |
data () {
|
15 |
return {
|
16 |
-
selectedWidgetType:
|
17 |
widgetTitleSearch: '',
|
18 |
showMoreBtn: true,
|
19 |
hasData: true,
|
20 |
}
|
21 |
},
|
22 |
|
23 |
-
|
24 |
-
|
|
|
|
|
25 |
},
|
26 |
|
27 |
watch: {
|
@@ -46,7 +74,6 @@ export default Vue.component('widget-list', {
|
|
46 |
widgetsSearchUpdate.call(this)
|
47 |
},
|
48 |
|
49 |
-
|
50 |
showMore () {
|
51 |
this.$emit('load-more-widgets')
|
52 |
},
|
1 |
import Vue from 'vue'
|
2 |
import debounce from 'lodash.debounce'
|
3 |
|
4 |
+
import {
|
5 |
+
WIDGET_ALL,
|
6 |
+
WIDGET_POLL,
|
7 |
+
WIDGET_SET,
|
8 |
+
WIDGET_SURVEY,
|
9 |
+
WIDGET_SLIDESHOW,
|
10 |
+
WIDGET_TRIVIA_QUIZ,
|
11 |
+
WIDGET_PERSONALITY_QUIZ,
|
12 |
+
WIDGET_LIST,
|
13 |
+
WIDGET_FORM,
|
14 |
+
WIDGET_STORY,
|
15 |
+
} from '../widget-types.js'
|
16 |
+
|
17 |
+
const selectedWidgetTitles = {}
|
18 |
+
selectedWidgetTitles[WIDGET_ALL] = 'All ITEMS'
|
19 |
+
selectedWidgetTitles[WIDGET_POLL] = 'poll'
|
20 |
+
selectedWidgetTitles[WIDGET_SET] = 'multi poll set'
|
21 |
+
selectedWidgetTitles[WIDGET_SURVEY] = 'survey'
|
22 |
+
selectedWidgetTitles[WIDGET_SLIDESHOW] = 'slideshow'
|
23 |
+
selectedWidgetTitles[WIDGET_TRIVIA_QUIZ] = 'trivia quiz'
|
24 |
+
selectedWidgetTitles[WIDGET_PERSONALITY_QUIZ] = 'personality quiz'
|
25 |
+
selectedWidgetTitles[WIDGET_LIST] = 'list'
|
26 |
+
selectedWidgetTitles[WIDGET_FORM] = 'form'
|
27 |
+
selectedWidgetTitles[WIDGET_STORY] = 'story article'
|
28 |
+
|
29 |
export default Vue.component('widget-list', {
|
30 |
+
template: '#opinionstage-widget-list',
|
31 |
+
|
32 |
props: [
|
33 |
'widgets',
|
34 |
+
'preSelectedWidgetType',
|
35 |
'dataLoading',
|
36 |
'noMoreData',
|
37 |
'showSearch',
|
38 |
],
|
39 |
|
|
|
|
|
40 |
data () {
|
41 |
return {
|
42 |
+
selectedWidgetType: null,
|
43 |
widgetTitleSearch: '',
|
44 |
showMoreBtn: true,
|
45 |
hasData: true,
|
46 |
}
|
47 |
},
|
48 |
|
49 |
+
computed: {
|
50 |
+
selectedWidgetTitle () {
|
51 |
+
return selectedWidgetTitles[this.selectedWidgetType || this.preSelectedWidgetType]
|
52 |
+
},
|
53 |
},
|
54 |
|
55 |
watch: {
|
74 |
widgetsSearchUpdate.call(this)
|
75 |
},
|
76 |
|
|
|
77 |
showMore () {
|
78 |
this.$emit('load-more-widgets')
|
79 |
},
|
assets/content-popup/app/index.js
CHANGED
@@ -4,15 +4,29 @@ import './components/widget-list.js'
|
|
4 |
import './components/notification.js'
|
5 |
import '../styles/content-popup.scss'
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
export default function (modal) {
|
8 |
return new Vue({
|
9 |
el: '[data-opinionstage-content-popup]',
|
10 |
|
11 |
data: {
|
|
|
12 |
widgetSelectCb: function (widget) { console.log('dumb widget insert callback, widget:', widget) },
|
13 |
showClientContent: true,
|
14 |
isClientLoggedIn: null,
|
15 |
-
isModalOpened:
|
16 |
},
|
17 |
|
18 |
beforeMount () {
|
@@ -22,7 +36,6 @@ export default function (modal) {
|
|
22 |
methods: {
|
23 |
closePopup (/*event*/) {
|
24 |
modal.close()
|
25 |
-
this.isModalOpened = false
|
26 |
},
|
27 |
|
28 |
selectWidgetAndExit (widget) {
|
@@ -30,14 +43,6 @@ export default function (modal) {
|
|
30 |
|
31 |
this.closePopup()
|
32 |
},
|
33 |
-
|
34 |
-
showClientWidgets () {
|
35 |
-
this.showClientContent = true
|
36 |
-
},
|
37 |
-
|
38 |
-
showTemplatesWidgets () {
|
39 |
-
this.showClientContent = false
|
40 |
-
},
|
41 |
},
|
42 |
})
|
43 |
}
|
4 |
import './components/notification.js'
|
5 |
import '../styles/content-popup.scss'
|
6 |
|
7 |
+
import {
|
8 |
+
WIDGET_ALL,
|
9 |
+
WIDGET_POLL,
|
10 |
+
WIDGET_SET,
|
11 |
+
WIDGET_SURVEY,
|
12 |
+
WIDGET_SLIDESHOW,
|
13 |
+
WIDGET_TRIVIA_QUIZ,
|
14 |
+
WIDGET_PERSONALITY_QUIZ,
|
15 |
+
WIDGET_LIST,
|
16 |
+
WIDGET_FORM,
|
17 |
+
WIDGET_STORY,
|
18 |
+
} from './widget-types.js'
|
19 |
+
|
20 |
export default function (modal) {
|
21 |
return new Vue({
|
22 |
el: '[data-opinionstage-content-popup]',
|
23 |
|
24 |
data: {
|
25 |
+
widgetType: WIDGET_ALL,
|
26 |
widgetSelectCb: function (widget) { console.log('dumb widget insert callback, widget:', widget) },
|
27 |
showClientContent: true,
|
28 |
isClientLoggedIn: null,
|
29 |
+
isModalOpened: false,
|
30 |
},
|
31 |
|
32 |
beforeMount () {
|
36 |
methods: {
|
37 |
closePopup (/*event*/) {
|
38 |
modal.close()
|
|
|
39 |
},
|
40 |
|
41 |
selectWidgetAndExit (widget) {
|
43 |
|
44 |
this.closePopup()
|
45 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
},
|
47 |
})
|
48 |
}
|
assets/content-popup/app/widget-types.js
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
export const WIDGET_ALL = 'all'
|
2 |
+
export const WIDGET_POLL = 'poll'
|
3 |
+
export const WIDGET_SET = 'set'
|
4 |
+
export const WIDGET_SURVEY = 'survey'
|
5 |
+
export const WIDGET_SLIDESHOW = 'slideshow'
|
6 |
+
export const WIDGET_TRIVIA_QUIZ = 'trivia'
|
7 |
+
export const WIDGET_PERSONALITY_QUIZ = 'outcome'
|
8 |
+
export const WIDGET_LIST = 'list'
|
9 |
+
export const WIDGET_FORM = 'form'
|
10 |
+
export const WIDGET_STORY = 'story'
|
assets/content-popup/index.js
CHANGED
@@ -1,5 +1,17 @@
|
|
1 |
import Modal from './lib/modal.js'
|
2 |
import ContentPopupContent from './app/index.js'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
if ( window.OpinionStage && typeof(OpinionStage.contentPopup) !== 'undefined' ) {
|
5 |
console.warn('[OpinionStage] content-popup APIs was already included')
|
@@ -24,7 +36,7 @@ if ( window.OpinionStage && typeof(OpinionStage.contentPopup) !== 'undefined' )
|
|
24 |
this.modal = undefined
|
25 |
}
|
26 |
|
27 |
-
open ({ onWidgetSelect }) {
|
28 |
if ( typeof(onWidgetSelect) !== 'function' ) {
|
29 |
throw new Error('onWidgetSelect must be a function')
|
30 |
}
|
@@ -32,6 +44,8 @@ if ( window.OpinionStage && typeof(OpinionStage.contentPopup) !== 'undefined' )
|
|
32 |
$(() => {
|
33 |
if ( !this.app ) { createModal.call(this) }
|
34 |
|
|
|
|
|
35 |
this.app.widgetSelectCb = onWidgetSelect
|
36 |
this.modal.open()
|
37 |
})
|
@@ -39,6 +53,7 @@ if ( window.OpinionStage && typeof(OpinionStage.contentPopup) !== 'undefined' )
|
|
39 |
}
|
40 |
|
41 |
function createModal () {
|
|
|
42 |
const self = this
|
43 |
|
44 |
self.modal = new Modal({
|
@@ -59,6 +74,17 @@ if ( window.OpinionStage && typeof(OpinionStage.contentPopup) !== 'undefined' )
|
|
59 |
}
|
60 |
|
61 |
OS.contentPopup = new ContentPopup()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
})(window.OpinionStage = window.OpinionStage || {}, jQuery)
|
63 |
|
64 |
// this is part is specific only to classic WordPress editor
|
1 |
import Modal from './lib/modal.js'
|
2 |
import ContentPopupContent from './app/index.js'
|
3 |
+
import {
|
4 |
+
WIDGET_ALL,
|
5 |
+
WIDGET_POLL,
|
6 |
+
WIDGET_SET,
|
7 |
+
WIDGET_SURVEY,
|
8 |
+
WIDGET_SLIDESHOW,
|
9 |
+
WIDGET_TRIVIA_QUIZ,
|
10 |
+
WIDGET_PERSONALITY_QUIZ,
|
11 |
+
WIDGET_LIST,
|
12 |
+
WIDGET_FORM,
|
13 |
+
WIDGET_STORY,
|
14 |
+
} from './app/widget-types.js'
|
15 |
|
16 |
if ( window.OpinionStage && typeof(OpinionStage.contentPopup) !== 'undefined' ) {
|
17 |
console.warn('[OpinionStage] content-popup APIs was already included')
|
36 |
this.modal = undefined
|
37 |
}
|
38 |
|
39 |
+
open ({ preselectWidgetType, onWidgetSelect }) {
|
40 |
if ( typeof(onWidgetSelect) !== 'function' ) {
|
41 |
throw new Error('onWidgetSelect must be a function')
|
42 |
}
|
44 |
$(() => {
|
45 |
if ( !this.app ) { createModal.call(this) }
|
46 |
|
47 |
+
this.app.widgetType = preselectWidgetType || WIDGET_ALL
|
48 |
+
console.log('111: selected widget type:', this.app.widgetType)
|
49 |
this.app.widgetSelectCb = onWidgetSelect
|
50 |
this.modal.open()
|
51 |
})
|
53 |
}
|
54 |
|
55 |
function createModal () {
|
56 |
+
console.log('createModal')
|
57 |
const self = this
|
58 |
|
59 |
self.modal = new Modal({
|
74 |
}
|
75 |
|
76 |
OS.contentPopup = new ContentPopup()
|
77 |
+
|
78 |
+
OS.contentPopup.WIDGET_ALL = WIDGET_ALL
|
79 |
+
OS.contentPopup.WIDGET_POLL = WIDGET_POLL
|
80 |
+
OS.contentPopup.WIDGET_SET = WIDGET_SET
|
81 |
+
OS.contentPopup.WIDGET_SURVEY = WIDGET_SURVEY
|
82 |
+
OS.contentPopup.WIDGET_SLIDESHOW = WIDGET_SLIDESHOW
|
83 |
+
OS.contentPopup.WIDGET_TRIVIA_QUIZ = WIDGET_TRIVIA_QUIZ
|
84 |
+
OS.contentPopup.WIDGET_PERSONALITY_QUIZ = WIDGET_PERSONALITY_QUIZ
|
85 |
+
OS.contentPopup.WIDGET_LIST = WIDGET_LIST
|
86 |
+
OS.contentPopup.WIDGET_FORM = WIDGET_FORM
|
87 |
+
OS.contentPopup.WIDGET_STORY = WIDGET_STORY
|
88 |
})(window.OpinionStage = window.OpinionStage || {}, jQuery)
|
89 |
|
90 |
// this is part is specific only to classic WordPress editor
|
assets/content-popup/styles/content-popup.scss
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
|
3 |
@import 'icon-font';
|
4 |
|
|
|
|
|
|
|
5 |
.opinionstage-content-popup-contents {
|
6 |
* {
|
7 |
margin: 0;
|
@@ -54,10 +57,9 @@
|
|
54 |
padding: 25px 15px 15px;
|
55 |
}
|
56 |
.main-title {
|
57 |
-
|
58 |
-
font-size: 21px;
|
59 |
font-weight: normal;
|
60 |
-
|
61 |
}
|
62 |
|
63 |
.conect-form {
|
@@ -66,9 +68,25 @@
|
|
66 |
}
|
67 |
|
68 |
.content-actions {
|
69 |
-
|
70 |
margin-bottom: 20px;
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
&:after {
|
73 |
content: '';
|
74 |
clear: both;
|
@@ -79,36 +97,28 @@
|
|
79 |
.filter__itm {
|
80 |
display: inline-block;
|
81 |
cursor: pointer;
|
82 |
-
font-size:
|
83 |
-
margin-right:
|
84 |
-
line-height:
|
85 |
text-transform: uppercase;
|
86 |
-
|
87 |
-
|
|
|
|
|
|
|
|
|
88 |
}
|
89 |
&.active {
|
90 |
-
|
|
|
|
|
91 |
pointer-events: none;
|
92 |
}
|
93 |
}
|
94 |
.filter {
|
95 |
display: inline-block;
|
96 |
-
|
97 |
-
|
98 |
-
.search {
|
99 |
-
background-color: transparent;
|
100 |
-
display: inline-block;
|
101 |
-
width: 30%;
|
102 |
-
position: relative;
|
103 |
-
.search-icon {
|
104 |
-
bottom: 0;
|
105 |
-
height: 18px;
|
106 |
-
left: 10px;
|
107 |
-
margin: auto;
|
108 |
-
position: absolute;
|
109 |
-
top: 0;
|
110 |
-
pointer-events: none;
|
111 |
-
}
|
112 |
}
|
113 |
|
114 |
.content__list {
|
@@ -121,17 +131,19 @@
|
|
121 |
}
|
122 |
|
123 |
.content__itm {
|
124 |
-
display:
|
125 |
-
margin
|
126 |
-
|
|
|
127 |
position: relative;
|
128 |
-
width:
|
129 |
-
|
130 |
-
|
|
|
131 |
}
|
132 |
&:hover {
|
133 |
.content__links {
|
134 |
-
display:
|
135 |
justify-content: center;
|
136 |
flex-direction: column;
|
137 |
}
|
@@ -139,9 +151,10 @@
|
|
139 |
}
|
140 |
|
141 |
.content__image {
|
142 |
-
|
|
|
143 |
position: relative;
|
144 |
-
width:
|
145 |
img {
|
146 |
display: block;
|
147 |
height: 100%;
|
@@ -150,24 +163,38 @@
|
|
150 |
}
|
151 |
}
|
152 |
.content__info {
|
153 |
-
|
154 |
-
|
|
|
155 |
height: 85px;
|
|
|
|
|
156 |
margin: 0;
|
157 |
overflow: hidden;
|
158 |
-
padding:
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
}
|
160 |
|
161 |
.content__links {
|
162 |
-
background
|
163 |
-
display:
|
|
|
|
|
164 |
height: 100%;
|
|
|
165 |
left: 0;
|
166 |
-
|
167 |
-
position: absolute;
|
168 |
top: 0;
|
169 |
-
width:
|
170 |
-
|
|
|
|
|
|
|
171 |
}
|
172 |
.content__links-itm {
|
173 |
border-radius: 5px;
|
@@ -188,13 +215,27 @@
|
|
188 |
}
|
189 |
}
|
190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
.content__label {
|
192 |
background-color: #222120;
|
193 |
-
bottom:
|
194 |
color: #ffffff;
|
195 |
font-size: 12px;
|
|
|
196 |
left: 0;
|
197 |
-
padding: 5px
|
198 |
position: absolute;
|
199 |
text-transform: uppercase;
|
200 |
z-index: 2;
|
@@ -222,46 +263,36 @@
|
|
222 |
}
|
223 |
|
224 |
.btn-create {
|
225 |
-
background-color: #
|
226 |
-
border-radius:
|
227 |
-
|
|
|
228 |
cursor: pointer;
|
229 |
display: inline-block;
|
230 |
-
font:
|
231 |
-
|
|
|
|
|
232 |
text-decoration: none;
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
|
|
238 |
&:before {
|
239 |
-
|
240 |
-
|
241 |
-
|
|
|
|
|
|
|
|
|
|
|
242 |
top: 0;
|
243 |
-
font-size: 7px;
|
244 |
-
font-family: 'os-icon-font' !important;
|
245 |
-
right: -25px;
|
246 |
-
z-index: 3;
|
247 |
-
}
|
248 |
-
&:after {
|
249 |
-
content: '';
|
250 |
-
position: absolute;
|
251 |
-
top: 0;
|
252 |
-
width: 40px;
|
253 |
-
right: -42px;
|
254 |
-
height: 100%;
|
255 |
-
background-color: #3499c2;
|
256 |
-
border-radius: 0 5px 5px 0;
|
257 |
-
}
|
258 |
-
&:hover {
|
259 |
-
background-color: #55A6CC;
|
260 |
-
&:after {
|
261 |
-
background-color: #55A6CC;
|
262 |
-
}
|
263 |
}
|
264 |
}
|
|
|
265 |
.create-new-menu-box {
|
266 |
display: inline-block;
|
267 |
position: relative;
|
@@ -278,14 +309,14 @@
|
|
278 |
width: 100%;
|
279 |
top: 39px;
|
280 |
left: 0;
|
281 |
-
border: 1px solid
|
282 |
background-color: white;
|
283 |
z-index: 3;
|
284 |
}
|
285 |
.create-menu__itm {
|
286 |
display: block;
|
287 |
-
color:
|
288 |
-
border-bottom: 1px solid
|
289 |
padding: 8px 12px;
|
290 |
background-color: white;
|
291 |
font-size: 14px;
|
@@ -349,15 +380,33 @@
|
|
349 |
width: 450px;
|
350 |
}
|
351 |
|
352 |
-
.
|
353 |
-
|
354 |
-
|
355 |
-
border
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
}
|
362 |
|
363 |
.hidden {
|
@@ -432,4 +481,163 @@
|
|
432 |
outline: none !important;
|
433 |
}
|
434 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
}
|
2 |
|
3 |
@import 'icon-font';
|
4 |
|
5 |
+
$brand-blue: #3aaebd;
|
6 |
+
$inputs-border-color: #cccccc;
|
7 |
+
|
8 |
.opinionstage-content-popup-contents {
|
9 |
* {
|
10 |
margin: 0;
|
57 |
padding: 25px 15px 15px;
|
58 |
}
|
59 |
.main-title {
|
60 |
+
font-size: 30px;
|
|
|
61 |
font-weight: normal;
|
62 |
+
line-height: normal;
|
63 |
}
|
64 |
|
65 |
.conect-form {
|
68 |
}
|
69 |
|
70 |
.content-actions {
|
71 |
+
height: 40px;
|
72 |
margin-bottom: 20px;
|
73 |
+
|
74 |
+
display: flex;
|
75 |
+
align-items: center;
|
76 |
+
&__left, &__right {
|
77 |
+
display: inline-flex;
|
78 |
+
}
|
79 |
+
&__left {
|
80 |
+
flex-grow: 1;
|
81 |
+
}
|
82 |
+
&__right {
|
83 |
+
justify-content: flex-end;
|
84 |
+
}
|
85 |
+
|
86 |
+
&__sep {
|
87 |
+
border-right: 1px solid #e5e5e5;
|
88 |
+
margin: 0 20px;
|
89 |
+
}
|
90 |
&:after {
|
91 |
content: '';
|
92 |
clear: both;
|
97 |
.filter__itm {
|
98 |
display: inline-block;
|
99 |
cursor: pointer;
|
100 |
+
font-size: 12px;
|
101 |
+
margin-right: 0;
|
102 |
+
line-height : 25px;
|
103 |
text-transform: uppercase;
|
104 |
+
width: 100%;
|
105 |
+
&:first-child {
|
106 |
+
border-top: 1px solid #3487fa;
|
107 |
+
}
|
108 |
+
&:last-child {
|
109 |
+
border-bottom: 1px solid #3487fa;
|
110 |
}
|
111 |
&.active {
|
112 |
+
color: #fff;
|
113 |
+
background: #5299fb;
|
114 |
+
font-weight: normal;
|
115 |
pointer-events: none;
|
116 |
}
|
117 |
}
|
118 |
.filter {
|
119 |
display: inline-block;
|
120 |
+
margin: 0;
|
121 |
+
width: auto;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
}
|
123 |
|
124 |
.content__list {
|
131 |
}
|
132 |
|
133 |
.content__itm {
|
134 |
+
display: block;
|
135 |
+
margin: 0;
|
136 |
+
padding-bottom: 6px;
|
137 |
+
padding-top: 10px;
|
138 |
position: relative;
|
139 |
+
width: 100%;
|
140 |
+
border-bottom: 1px solid #e5e5e5;
|
141 |
+
&:first-child {
|
142 |
+
border-top: 1px solid #e5e5e5;
|
143 |
}
|
144 |
&:hover {
|
145 |
.content__links {
|
146 |
+
display: inline-block;
|
147 |
justify-content: center;
|
148 |
flex-direction: column;
|
149 |
}
|
151 |
}
|
152 |
|
153 |
.content__image {
|
154 |
+
display: inline-block;
|
155 |
+
height: 90px;
|
156 |
position: relative;
|
157 |
+
width: 15%;
|
158 |
img {
|
159 |
display: block;
|
160 |
height: 100%;
|
163 |
}
|
164 |
}
|
165 |
.content__info {
|
166 |
+
display: inline-block;
|
167 |
+
background: transparent;
|
168 |
+
font-size: 16px;
|
169 |
height: 85px;
|
170 |
+
width: 50%;
|
171 |
+
line-height: normal;
|
172 |
margin: 0;
|
173 |
overflow: hidden;
|
174 |
+
padding: 0 10px;
|
175 |
+
text-overflow: ellipsis;
|
176 |
+
white-space: nowrap;
|
177 |
+
a {
|
178 |
+
color: inherit;
|
179 |
+
text-decoration: none;
|
180 |
+
}
|
181 |
}
|
182 |
|
183 |
.content__links {
|
184 |
+
background: none;
|
185 |
+
display: inline-block;
|
186 |
+
float: right;
|
187 |
+
text-align: right;
|
188 |
height: 100%;
|
189 |
+
padding: 20px 10px;
|
190 |
left: 0;
|
191 |
+
position: relative;
|
|
|
192 |
top: 0;
|
193 |
+
width: 30%;
|
194 |
+
@media only screen and (max-width: 767px) {
|
195 |
+
padding-left: 0;
|
196 |
+
padding-right: 0;
|
197 |
+
}
|
198 |
}
|
199 |
.content__links-itm {
|
200 |
border-radius: 5px;
|
215 |
}
|
216 |
}
|
217 |
|
218 |
+
.popup-content-btn {
|
219 |
+
border: 1px solid #32adbc;
|
220 |
+
border-radius: 2px;
|
221 |
+
color: #32adbc;
|
222 |
+
display: inline;
|
223 |
+
font-size: 15px;
|
224 |
+
font-weight: 600;
|
225 |
+
padding: 13px 14px;
|
226 |
+
text-align: center;
|
227 |
+
text-decoration: none;
|
228 |
+
width: auto;
|
229 |
+
}
|
230 |
+
|
231 |
.content__label {
|
232 |
background-color: #222120;
|
233 |
+
bottom: auto;
|
234 |
color: #ffffff;
|
235 |
font-size: 12px;
|
236 |
+
top: 0;
|
237 |
left: 0;
|
238 |
+
padding: 1px 5px;
|
239 |
position: absolute;
|
240 |
text-transform: uppercase;
|
241 |
z-index: 2;
|
263 |
}
|
264 |
|
265 |
.btn-create {
|
266 |
+
background-color: #32adbc;
|
267 |
+
border-radius: 3px;
|
268 |
+
border-style: hidden;
|
269 |
+
color: #fff;
|
270 |
cursor: pointer;
|
271 |
display: inline-block;
|
272 |
+
font-size: 15px;
|
273 |
+
font-weight: 600;
|
274 |
+
line-height: normal;
|
275 |
+
padding: 10px 11px;
|
276 |
text-decoration: none;
|
277 |
+
outline: none;
|
278 |
+
&:hover {
|
279 |
+
color: #fff;
|
280 |
+
opacity: 0.9;
|
281 |
+
text-decoration: none;
|
282 |
+
}
|
283 |
&:before {
|
284 |
+
bottom: 0;
|
285 |
+
content: "+";
|
286 |
+
font-family: os-icon-font;
|
287 |
+
font-size: 17px;
|
288 |
+
font-weight: bold;
|
289 |
+
height: 18px;
|
290 |
+
margin-right: 8px;
|
291 |
+
pointer-events: none;
|
292 |
top: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
}
|
294 |
}
|
295 |
+
|
296 |
.create-new-menu-box {
|
297 |
display: inline-block;
|
298 |
position: relative;
|
309 |
width: 100%;
|
310 |
top: 39px;
|
311 |
left: 0;
|
312 |
+
border: 1px solid $brand-blue;
|
313 |
background-color: white;
|
314 |
z-index: 3;
|
315 |
}
|
316 |
.create-menu__itm {
|
317 |
display: block;
|
318 |
+
color: $brand-blue;
|
319 |
+
border-bottom: 1px solid $brand-blue;
|
320 |
padding: 8px 12px;
|
321 |
background-color: white;
|
322 |
font-size: 14px;
|
380 |
width: 450px;
|
381 |
}
|
382 |
|
383 |
+
.os-search {
|
384 |
+
width: 180px;
|
385 |
+
display: inline-flex;
|
386 |
+
border: 1px solid $inputs-border-color;
|
387 |
+
border-radius: 2px;
|
388 |
+
box-shadow: 0 0;
|
389 |
+
&__input {
|
390 |
+
color: #797979;
|
391 |
+
padding-left: 10px;
|
392 |
+
width: 100%;
|
393 |
+
border: none;
|
394 |
+
border-radius: 0;
|
395 |
+
outline: none;
|
396 |
+
&:focus {
|
397 |
+
border: none;
|
398 |
+
border-radius: 0;
|
399 |
+
box-shadow: none;
|
400 |
+
outline: none;
|
401 |
+
}
|
402 |
+
}
|
403 |
+
&__icon {
|
404 |
+
color: $brand-blue;
|
405 |
+
line-height: normal;
|
406 |
+
font-size: 18px;
|
407 |
+
padding: 10px 9px;
|
408 |
+
margin: 0;
|
409 |
+
}
|
410 |
}
|
411 |
|
412 |
.hidden {
|
481 |
outline: none !important;
|
482 |
}
|
483 |
}
|
484 |
+
|
485 |
+
.dropbtn {
|
486 |
+
background-color: #ffffff;
|
487 |
+
border: 1px solid #e4e4e4;
|
488 |
+
border-right: 0 !important;
|
489 |
+
box-shadow: 0 0 0 !important;
|
490 |
+
cursor: pointer;
|
491 |
+
display: inline-block;
|
492 |
+
font: 12px/38px Open Sans,Helvetica,sans-serif;
|
493 |
+
outline: none!important;
|
494 |
+
padding-left: 10px;
|
495 |
+
position: relative;
|
496 |
+
text-align: left;
|
497 |
+
text-decoration: none;
|
498 |
+
width: 140px;
|
499 |
+
margin-right: 50px;
|
500 |
+
span {
|
501 |
+
color: #555454;
|
502 |
+
font-size: 12px;
|
503 |
+
font-weight: 700;
|
504 |
+
text-transform: uppercase;
|
505 |
+
}
|
506 |
+
&:before {
|
507 |
+
color: #000;
|
508 |
+
content: "";
|
509 |
+
display: block;
|
510 |
+
font-family: os-icon-font !important;
|
511 |
+
font-size: 9px;
|
512 |
+
position: absolute;
|
513 |
+
right: -25px;
|
514 |
+
top: 0;
|
515 |
+
z-index: 3;
|
516 |
+
font-weight: bold;
|
517 |
+
}
|
518 |
+
&:after {
|
519 |
+
border: 1px solid #e4e4e4;
|
520 |
+
border-left: 0 !important;
|
521 |
+
content: "";
|
522 |
+
height: 45px;
|
523 |
+
position: absolute;
|
524 |
+
right: -40px;
|
525 |
+
top: -1px;
|
526 |
+
width: 40px;
|
527 |
+
height: 38px;
|
528 |
+
}
|
529 |
+
}
|
530 |
+
|
531 |
+
.dropdown {
|
532 |
+
display: inline-block;
|
533 |
+
position: relative;
|
534 |
+
&:hover {
|
535 |
+
.popup-action-dropdown.dropdown-content {
|
536 |
+
width: 130px;
|
537 |
+
}
|
538 |
+
|
539 |
+
.popup-action.popup-content-btn {
|
540 |
+
background-color: #32adbc;
|
541 |
+
&:before {
|
542 |
+
color: #fff;
|
543 |
+
}
|
544 |
+
}
|
545 |
+
}
|
546 |
+
}
|
547 |
+
|
548 |
+
.dropdown-popup-action {
|
549 |
+
height: 45px;
|
550 |
+
}
|
551 |
+
|
552 |
+
.dropdown-content {
|
553 |
+
background-color: #f9f9f9;
|
554 |
+
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
|
555 |
+
display: none;
|
556 |
+
left: 1px;
|
557 |
+
position: absolute;
|
558 |
+
top: 40px;
|
559 |
+
z-index: 9;
|
560 |
+
}
|
561 |
+
|
562 |
+
.dropdown-content div {
|
563 |
+
background-color: #fff;
|
564 |
+
border: 1px solid #3487fa;
|
565 |
+
border-bottom: 0;
|
566 |
+
border-top: 0;
|
567 |
+
color: #555454;
|
568 |
+
display: block;
|
569 |
+
padding: 5px 10px 5px 20px;
|
570 |
+
text-decoration: none;
|
571 |
+
}
|
572 |
+
|
573 |
+
.dropdown-content div:hover {
|
574 |
+
background-color: #3487fa; color: #fff !important;
|
575 |
+
}
|
576 |
+
|
577 |
+
.dropdown_items .dropdown-content {
|
578 |
+
width: 180px;
|
579 |
+
}
|
580 |
+
.dropdown:hover .dropdown-content {
|
581 |
+
display: block !important;
|
582 |
+
width: 180px;
|
583 |
+
}
|
584 |
+
.dropdown:hover .dropbtn {
|
585 |
+
background-color: #ffffff;
|
586 |
+
}
|
587 |
+
|
588 |
+
.popup-action {
|
589 |
+
&:before {
|
590 |
+
color: #32adbc;
|
591 |
+
padding: 0;
|
592 |
+
position: absolute;
|
593 |
+
right: 18px;
|
594 |
+
content: "";
|
595 |
+
display: block;
|
596 |
+
font-family: os-icon-font !important;
|
597 |
+
font-size: 9px;
|
598 |
+
top: 15px;
|
599 |
+
z-index: 3;
|
600 |
+
font-weight: bold;
|
601 |
+
}
|
602 |
+
|
603 |
+
&.popup-content-btn {
|
604 |
+
margin-left: 10px;
|
605 |
+
padding: 12px 25px;
|
606 |
+
position: relative;
|
607 |
+
}
|
608 |
+
}
|
609 |
+
|
610 |
+
.popup-action-dropdown {
|
611 |
+
background: #fff;
|
612 |
+
border: 1px solid #32adbc;
|
613 |
+
border-radius: 3px;
|
614 |
+
|
615 |
+
.content__links-itm {
|
616 |
+
border: none;
|
617 |
+
border-bottom: 1px solid #32adbc;
|
618 |
+
border-radius: 0;
|
619 |
+
color: #32adbc;
|
620 |
+
font-size: 14px;
|
621 |
+
font-weight: normal;
|
622 |
+
margin: 0;
|
623 |
+
padding: 10px 10px;
|
624 |
+
width: auto;
|
625 |
+
text-align: left !important;
|
626 |
+
letter-spacing: 1px;
|
627 |
+
&:hover {
|
628 |
+
background-color: #32adbc !important;
|
629 |
+
color: #fff;
|
630 |
+
}
|
631 |
+
&:last-child {
|
632 |
+
border: none;
|
633 |
+
}
|
634 |
+
}
|
635 |
+
|
636 |
+
&.dropdown-content {
|
637 |
+
left: auto;
|
638 |
+
right: 0;
|
639 |
+
top: 20px;
|
640 |
+
z-index: 10;
|
641 |
+
}
|
642 |
+
}
|
643 |
}
|
assets/content-popup/styles/modal-window.scss
CHANGED
@@ -18,8 +18,7 @@
|
|
18 |
visibility: hidden;
|
19 |
flex-direction: column;
|
20 |
align-items: center;
|
21 |
-
|
22 |
-
overflow: hidden;
|
23 |
background: rgba(0, 0, 0, .8);
|
24 |
opacity: 0;
|
25 |
cursor: pointer;
|
@@ -35,12 +34,16 @@
|
|
35 |
max-width: 945px;
|
36 |
min-width: 875px;
|
37 |
width: 70%;
|
38 |
-
height: 92vh;
|
39 |
background: #fff;
|
40 |
opacity: 1;
|
41 |
cursor: auto;
|
42 |
transition: transform .3s cubic-bezier(.175, .885, .32, 1.275);
|
43 |
transform: scale(.8);
|
|
|
|
|
|
|
|
|
|
|
44 |
}
|
45 |
|
46 |
.tingle-modal-box__content {
|
18 |
visibility: hidden;
|
19 |
flex-direction: column;
|
20 |
align-items: center;
|
21 |
+
overflow: auto;
|
|
|
22 |
background: rgba(0, 0, 0, .8);
|
23 |
opacity: 0;
|
24 |
cursor: pointer;
|
34 |
max-width: 945px;
|
35 |
min-width: 875px;
|
36 |
width: 70%;
|
|
|
37 |
background: #fff;
|
38 |
opacity: 1;
|
39 |
cursor: auto;
|
40 |
transition: transform .3s cubic-bezier(.175, .885, .32, 1.275);
|
41 |
transform: scale(.8);
|
42 |
+
@media only screen and (max-width: 875px) {
|
43 |
+
min-width: 100%;
|
44 |
+
overflow: hidden;
|
45 |
+
width: 100%;
|
46 |
+
}
|
47 |
}
|
48 |
|
49 |
.tingle-modal-box__content {
|
assets/gutenberg/build/index.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'e1bc37656dbfdfb12e6349112666c9df');
|
assets/gutenberg/build/index.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function
|
1 |
+
!function(e){var t={};function o(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(r,i,function(t){return e[t]}.bind(null,i));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=4)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t,o){},function(e,t,o){"use strict";o.r(t);var r=o(2),i=o(1),n=o(0),a=(o(3),{widgetType:{type:"string",source:"attribute",attribute:"data-type",selector:"div[data-type]"},embedUrl:{source:"attribute",attribute:"data-test-url",selector:"div[data-test-url]"},lockEmbed:{source:"attribute",attribute:"data-lock-embed",selector:"div[data-lock-embed]"},buttonText:{source:"attribute",attribute:"data-button-text",selector:"div[data-button-text]"},insertItemImage:{source:"attribute",attribute:"data-image-url",selector:"div[data-image-url]"},insertItemOsTitle:{source:"attribute",attribute:"data-title-url",selector:"div[data-title-url]"},insertItemOsView:{source:"attribute",attribute:"data-view-url",selector:"div[data-view-url]"},insertItemOsEdit:{source:"attribute",attribute:"data-edit-url",selector:"div[data-edit-url]"},insertItemOsStatistics:{source:"attribute",attribute:"data-statistics-url",selector:"div[data-statistics-url]"}}),s="opinion-stage",c={html:!1};function l(e){var t=e.name,o=e.className,a=e.attributes,s=e.setAttributes,c=e.clientId,l=(a.widgetType,a.embedUrl),p=(a.lockEmbed,a.buttonText),b=a.insertItemImage,d=a.insertItemOsTitle,m=a.insertItemOsView,g=a.insertItemOsEdit,O=a.insertItemOsStatistics;if("false"===OPINIONSTAGE_GUTENBERG_DATA.userLoggedIn)return Object(n.createElement)("div",{className:o},Object(n.createElement)("div",{class:"os-widget-wrapper components-placeholder"},Object(n.createElement)("p",{class:"components-heading"},Object(n.createElement)("img",{src:OPINIONSTAGE_GUTENBERG_DATA.brandLogoUrl,alt:""})),Object(n.createElement)("p",{class:"components-heading"},"Please connect WordPress to Opinion Stage to start adding widgets"),Object(n.createElement)("a",{href:OPINIONSTAGE_GUTENBERG_DATA.loginPageUrl,class:"components-button is-button is-default is-block is-primary"},"Connect")));var y=function(e){switch(e){case"opinion-stage/block-os-poll":return"poll";case"opinion-stage/block-os-survey":return"survey";case"opinion-stage/block-os-trivia":return"trivia";case"opinion-stage/block-os-personality":return"personality";case"opinion-stage/block-os-form":return"form";default:console.warn("unknown block name:",e)}}(t),_=function(e){switch(e){case"poll":return Object(i.__)("Poll");case"survey":return Object(i.__)("Survey");case"trivia":return Object(i.__)("Trivia Quiz");case"personality":return Object(i.__)("Personality Quiz");case"form":return Object(i.__)("Form")}}(y),v=function(e){var t=function(e){switch(e){case"poll":return"poll";case"survey":return"survey";case"trivia":return"trivia";case"personality":return"personality";case"form":return"form"}}(e.type),o={widgetType:t,lockEmbed:!0,buttonText:"Change",embedUrl:e.landingPageUrl.replace(/^https?:\/\/[^/]+\//,"/"),insertItemImage:e.imageUrl,insertItemOsTitle:e.title,insertItemOsView:e.landingPageUrl,insertItemOsEdit:e.editUrl,insertItemOsStatistics:e.statsUrl};if(t===y)s(o);else{var i=Object(r.createBlock)(function(e){switch(e){case"poll":return"opinion-stage/block-os-poll";case"survey":return"opinion-stage/block-os-survey";case"trivia":return"opinion-stage/block-os-trivia";case"personality":return"opinion-stage/block-os-personality";case"form":return"opinion-stage/block-os-form";default:console.warn("unknown block widget type:",e)}}(t));i.attributes=o,wp.data.dispatch("core/block-editor").replaceBlock(c,i)}},f=function(e){OpinionStage.contentPopup.open({preselectWidgetType:u(y),onWidgetSelect:v})},E="".concat(OPINIONSTAGE_GUTENBERG_DATA.createNewWidgetUrl,"&w_type=").concat(function(e){switch(e){case"poll":return"poll";case"survey":return"survey";case"trivia":return"quiz";case"personality":return"outcome";case"form":return"contact_form"}}(y)),j=Object(n.createElement)("div",{class:"os-widget-wrapper components-placeholder"},Object(n.createElement)("p",{class:"components-heading"},Object(n.createElement)("img",{src:OPINIONSTAGE_GUTENBERG_DATA.brandLogoUrl,alt:""})),Object(n.createElement)("button",{class:"components-button is-button is-default is-block is-primary",onClick:f},"Select a ",_),Object(n.createElement)("a",{href:E,target:"_blank",class:"components-button is-button is-default is-block is-primary"},"Create a new ",_));return l&&""!==l?"Change"===p&&(j=Object(n.createElement)("div",{class:"os-widget-wrapper components-placeholder"},Object(n.createElement)("p",{class:"components-heading"},Object(n.createElement)("img",{src:OPINIONSTAGE_GUTENBERG_DATA.brandLogoUrl,alt:""})),Object(n.createElement)("div",{class:"components-preview__block"},Object(n.createElement)("div",{class:"components-preview__leftBlockImage"},Object(n.createElement)("img",{src:b,alt:d,class:"image"}),Object(n.createElement)("div",{class:"overlay"},Object(n.createElement)("div",{class:"text"},Object(n.createElement)("a",{href:m,target:"_blank"}," View "),Object(n.createElement)("a",{href:g,target:"_blank"}," Edit "),Object(n.createElement)("a",{href:O,target:"_blank"}," Statistics "),Object(n.createElement)("input",{type:"button",value:p,class:"components-button is-button is-default is-large left-align",onClick:f})))),Object(n.createElement)("div",{class:"components-preview__rightBlockContent"},Object(n.createElement)("div",{class:"components-placeholder__label"},_,": ",d))))):s({buttonText:"Embed"}),Object(n.createElement)("div",{className:o},j)}function u(e){switch(e){case"poll":return OpinionStage.contentPopup.WIDGET_POLL;case"survey":return OpinionStage.contentPopup.WIDGET_SURVEY;case"trivia":return OpinionStage.contentPopup.WIDGET_TRIVIA_QUIZ;case"personality":return OpinionStage.contentPopup.WIDGET_PERSONALITY_QUIZ;case"form":return OpinionStage.contentPopup.WIDGET_FORM}}function p(e){var t=e.attributes,o=t.widgetType,r=t.embedUrl,i=t.lockEmbed,a=t.buttonText,s=t.insertItemImage,c=t.insertItemOsTitle,l=t.insertItemOsView,u=t.insertItemOsEdit,p=t.insertItemOsStatistics;return Object(n.createElement)("div",{class:b(o),"data-type":o,"data-image-url":s,"data-title-url":c,"data-view-url":l,"data-statistics-url":p,"data-edit-url":u,"data-test-url":r,"data-lock-embed":i,"data-button-text":a},'[os-widget path="',r,'"]',Object(n.createElement)("span",null))}function b(e){if(!e)return null;switch(e){case"poll":return"os-poll-wrapper";case"survey":return"os-survey-wrapper";case"trivia":return"os-trivia-wrapper";case"personality":return"os-personality-wrapper";case"form":return"os-form-wrapper";default:console.warn("unknown widget type:",e)}}Object(r.registerBlockType)("opinion-stage/block-os-poll",{title:Object(i.__)("Poll","social-polls-by-opinionstage"),icon:"chart-bar",description:Object(i.__)("Embed an Opinion Stage Poll","social-polls-by-opinionstage"),category:s,keywords:[Object(i.__)("poll","social-polls-by-opinionstage"),Object(i.__)("social poll","social-polls-by-opinionstage")],supports:c,attributes:a,edit:l,save:p}),Object(r.registerBlockType)("opinion-stage/block-os-survey",{title:Object(i.__)("Survey"),icon:"list-view",description:Object(i.__)("Embed an Opinion Stage Survey","social-polls-by-opinionstage"),category:s,keywords:[Object(i.__)("survey","social-polls-by-opinionstage")],supports:c,attributes:a,edit:l,save:p}),Object(r.registerBlockType)("opinion-stage/block-os-trivia",{title:Object(i.__)("Trivia Quiz"),icon:"yes",description:Object(i.__)("Embed an Opinion Stage Trivia Quiz","social-polls-by-opinionstage"),category:s,keywords:[Object(i.__)("quiz","social-polls-by-opinionstage"),Object(i.__)("trivia","social-polls-by-opinionstage")],supports:c,attributes:a,edit:l,save:p}),Object(r.registerBlockType)("opinion-stage/block-os-personality",{title:Object(i.__)("Personality Quiz"),icon:"smiley",description:Object(i.__)("Embed an Opinion Stage Personality Quiz","social-polls-by-opinionstage"),category:s,keywords:[Object(i.__)("personality","social-polls-by-opinionstage"),Object(i.__)("quiz","social-polls-by-opinionstage"),Object(i.__)("outcome","social-polls-by-opinionstage")],supports:c,attributes:a,edit:l,save:p}),Object(r.registerBlockType)("opinion-stage/block-os-form",{title:Object(i.__)("Form"),icon:"editor-justify",description:Object(i.__)("Embed an Opinion Stage Form","social-polls-by-opinionstage"),category:s,keywords:[Object(i.__)("form","social-polls-by-opinionstage"),Object(i.__)("contact form","social-polls-by-opinionstage")],supports:c,attributes:a,edit:l,save:p})}]);
|
assets/gutenberg/src/configuration.js
CHANGED
@@ -68,5 +68,4 @@ export const WIDGET_POLL = 'poll'
|
|
68 |
export const WIDGET_PERSONALITY_QUIZ = 'personality'
|
69 |
export const WIDGET_TRIVIA_QUIZ = 'trivia'
|
70 |
export const WIDGET_SURVEY = 'survey'
|
71 |
-
export const WIDGET_SLIDESHOW = 'slideshow'
|
72 |
export const WIDGET_FORM = 'form'
|
68 |
export const WIDGET_PERSONALITY_QUIZ = 'personality'
|
69 |
export const WIDGET_TRIVIA_QUIZ = 'trivia'
|
70 |
export const WIDGET_SURVEY = 'survey'
|
|
|
71 |
export const WIDGET_FORM = 'form'
|
assets/gutenberg/src/edit.js
CHANGED
@@ -8,7 +8,6 @@ import {
|
|
8 |
WIDGET_PERSONALITY_QUIZ,
|
9 |
WIDGET_TRIVIA_QUIZ,
|
10 |
WIDGET_SURVEY,
|
11 |
-
WIDGET_SLIDESHOW,
|
12 |
WIDGET_FORM,
|
13 |
} from './configuration.js'
|
14 |
|
@@ -41,8 +40,9 @@ export default function Edit ({ name, className, attributes, setAttributes, /*is
|
|
41 |
const currentWidgetTitle = widgetTitleFromType(currentWidgetType)
|
42 |
|
43 |
const placeWidget = function (widget) {
|
|
|
44 |
const newAttributes = {
|
45 |
-
widgetType:
|
46 |
lockEmbed: true,
|
47 |
buttonText: 'Change',
|
48 |
embedUrl: widget.landingPageUrl.replace(/^https?:\/\/[^/]+\//,'/'),
|
@@ -53,13 +53,13 @@ export default function Edit ({ name, className, attributes, setAttributes, /*is
|
|
53 |
insertItemOsStatistics: widget.statsUrl,
|
54 |
}
|
55 |
|
56 |
-
if (
|
57 |
setAttributes(newAttributes)
|
58 |
} else {
|
59 |
// on widget type change we also want to change block,
|
60 |
// in order to accommodate widget type for better UX.
|
61 |
// https://wordpress.stackexchange.com/questions/305932/gutenberg-remove-add-blocks-with-custom-script
|
62 |
-
const replacementBlock = createBlock(blockName(
|
63 |
replacementBlock.attributes = newAttributes
|
64 |
|
65 |
wp.data.dispatch('core/block-editor').replaceBlock(
|
@@ -70,24 +70,7 @@ export default function Edit ({ name, className, attributes, setAttributes, /*is
|
|
70 |
}
|
71 |
|
72 |
const selectWidget = _event => {
|
73 |
-
OpinionStage.contentPopup.open({ onWidgetSelect: placeWidget })
|
74 |
-
}
|
75 |
-
|
76 |
-
const changeWidget = _event => {
|
77 |
-
OpinionStage.contentPopup.open({ onWidgetSelect: widget => {
|
78 |
-
setAttributes({
|
79 |
-
widgetType: '',
|
80 |
-
embedUrl: '',
|
81 |
-
buttonText:'Embed',
|
82 |
-
lockEmbed: false,
|
83 |
-
insertItemImage: false,
|
84 |
-
insertItemOsTitle: false,
|
85 |
-
insertItemOsView: false,
|
86 |
-
insertItemOsEdit: false,
|
87 |
-
insertItemOsStatistics: false,
|
88 |
-
})
|
89 |
-
placeWidget(widget)
|
90 |
-
}})
|
91 |
}
|
92 |
|
93 |
let createNewWidgetUrl = `${OPINIONSTAGE_GUTENBERG_DATA.createNewWidgetUrl}&w_type=${backendWidgetTypeForNewWidget(currentWidgetType)}`
|
@@ -113,7 +96,7 @@ export default function Edit ({ name, className, attributes, setAttributes, /*is
|
|
113 |
<a href={insertItemOsView} target="_blank"> View </a>
|
114 |
<a href={insertItemOsEdit} target="_blank"> Edit </a>
|
115 |
<a href={insertItemOsStatistics} target="_blank"> Statistics </a>
|
116 |
-
<input type="button" value={buttonText} class="components-button is-button is-default is-large left-align" onClick={
|
117 |
</div>
|
118 |
</div>
|
119 |
</div>
|
@@ -147,8 +130,6 @@ function widgetTypeFromBlockName (blockName) {
|
|
147 |
break
|
148 |
case 'opinion-stage/block-os-form': return WIDGET_FORM
|
149 |
break
|
150 |
-
case 'opinion-stage/block-os-slideshow': return WIDGET_SLIDESHOW
|
151 |
-
break
|
152 |
default:
|
153 |
console.warn('unknown block name:', blockName)
|
154 |
}
|
@@ -167,8 +148,6 @@ function blockName (widgetType) {
|
|
167 |
break
|
168 |
case WIDGET_FORM: return 'opinion-stage/block-os-form'
|
169 |
break
|
170 |
-
case WIDGET_SLIDESHOW: return 'opinion-stage/block-os-slideshow'
|
171 |
-
break
|
172 |
default:
|
173 |
console.warn('unknown block widget type:', widgetType)
|
174 |
}
|
@@ -191,9 +170,6 @@ function widgetTitleFromType (widgetType) {
|
|
191 |
case WIDGET_FORM:
|
192 |
return __('Form')
|
193 |
break
|
194 |
-
case WIDGET_SLIDESHOW:
|
195 |
-
return __('Slideshow')
|
196 |
-
break
|
197 |
}
|
198 |
}
|
199 |
|
@@ -214,9 +190,6 @@ function backendWidgetTypeForNewWidget (widgetType) {
|
|
214 |
case WIDGET_FORM:
|
215 |
return 'contact_form'
|
216 |
break
|
217 |
-
case WIDGET_SLIDESHOW:
|
218 |
-
return 'slideshow'
|
219 |
-
break
|
220 |
}
|
221 |
}
|
222 |
|
@@ -238,8 +211,20 @@ function backendWidgetTypeToBlockWidgetType (backendType) {
|
|
238 |
case 'form':
|
239 |
return WIDGET_FORM
|
240 |
break
|
241 |
-
|
242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
break
|
244 |
}
|
245 |
}
|
8 |
WIDGET_PERSONALITY_QUIZ,
|
9 |
WIDGET_TRIVIA_QUIZ,
|
10 |
WIDGET_SURVEY,
|
|
|
11 |
WIDGET_FORM,
|
12 |
} from './configuration.js'
|
13 |
|
40 |
const currentWidgetTitle = widgetTitleFromType(currentWidgetType)
|
41 |
|
42 |
const placeWidget = function (widget) {
|
43 |
+
const selectedWidgetType = backendWidgetTypeToBlockWidgetType(widget.type)
|
44 |
const newAttributes = {
|
45 |
+
widgetType: selectedWidgetType,
|
46 |
lockEmbed: true,
|
47 |
buttonText: 'Change',
|
48 |
embedUrl: widget.landingPageUrl.replace(/^https?:\/\/[^/]+\//,'/'),
|
53 |
insertItemOsStatistics: widget.statsUrl,
|
54 |
}
|
55 |
|
56 |
+
if ( selectedWidgetType === currentWidgetType ) {
|
57 |
setAttributes(newAttributes)
|
58 |
} else {
|
59 |
// on widget type change we also want to change block,
|
60 |
// in order to accommodate widget type for better UX.
|
61 |
// https://wordpress.stackexchange.com/questions/305932/gutenberg-remove-add-blocks-with-custom-script
|
62 |
+
const replacementBlock = createBlock(blockName(selectedWidgetType))
|
63 |
replacementBlock.attributes = newAttributes
|
64 |
|
65 |
wp.data.dispatch('core/block-editor').replaceBlock(
|
70 |
}
|
71 |
|
72 |
const selectWidget = _event => {
|
73 |
+
OpinionStage.contentPopup.open({ preselectWidgetType: contentPopupWidgetType(currentWidgetType), onWidgetSelect: placeWidget })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
}
|
75 |
|
76 |
let createNewWidgetUrl = `${OPINIONSTAGE_GUTENBERG_DATA.createNewWidgetUrl}&w_type=${backendWidgetTypeForNewWidget(currentWidgetType)}`
|
96 |
<a href={insertItemOsView} target="_blank"> View </a>
|
97 |
<a href={insertItemOsEdit} target="_blank"> Edit </a>
|
98 |
<a href={insertItemOsStatistics} target="_blank"> Statistics </a>
|
99 |
+
<input type="button" value={buttonText} class="components-button is-button is-default is-large left-align" onClick={selectWidget}/>
|
100 |
</div>
|
101 |
</div>
|
102 |
</div>
|
130 |
break
|
131 |
case 'opinion-stage/block-os-form': return WIDGET_FORM
|
132 |
break
|
|
|
|
|
133 |
default:
|
134 |
console.warn('unknown block name:', blockName)
|
135 |
}
|
148 |
break
|
149 |
case WIDGET_FORM: return 'opinion-stage/block-os-form'
|
150 |
break
|
|
|
|
|
151 |
default:
|
152 |
console.warn('unknown block widget type:', widgetType)
|
153 |
}
|
170 |
case WIDGET_FORM:
|
171 |
return __('Form')
|
172 |
break
|
|
|
|
|
|
|
173 |
}
|
174 |
}
|
175 |
|
190 |
case WIDGET_FORM:
|
191 |
return 'contact_form'
|
192 |
break
|
|
|
|
|
|
|
193 |
}
|
194 |
}
|
195 |
|
211 |
case 'form':
|
212 |
return WIDGET_FORM
|
213 |
break
|
214 |
+
}
|
215 |
+
}
|
216 |
+
|
217 |
+
function contentPopupWidgetType (widgetType) {
|
218 |
+
switch ( widgetType ) {
|
219 |
+
case WIDGET_POLL: return OpinionStage.contentPopup.WIDGET_POLL
|
220 |
+
break
|
221 |
+
case WIDGET_SURVEY: return OpinionStage.contentPopup.WIDGET_SURVEY
|
222 |
+
break
|
223 |
+
case WIDGET_TRIVIA_QUIZ: return OpinionStage.contentPopup.WIDGET_TRIVIA_QUIZ
|
224 |
+
break
|
225 |
+
case WIDGET_PERSONALITY_QUIZ: return OpinionStage.contentPopup.WIDGET_PERSONALITY_QUIZ
|
226 |
+
break
|
227 |
+
case WIDGET_FORM: return OpinionStage.contentPopup.WIDGET_FORM
|
228 |
break
|
229 |
}
|
230 |
}
|
assets/gutenberg/src/index.js
CHANGED
@@ -89,19 +89,3 @@ registerBlockType('opinion-stage/block-os-form', {
|
|
89 |
edit: Edit,
|
90 |
save,
|
91 |
})
|
92 |
-
|
93 |
-
registerBlockType('opinion-stage/block-os-slideshow', {
|
94 |
-
title: __( 'Slideshow' ),
|
95 |
-
icon: 'playlist-video',
|
96 |
-
description: __('Embed an Opinion Stage Slideshow', 'social-polls-by-opinionstage'),
|
97 |
-
category,
|
98 |
-
keywords: [
|
99 |
-
__('slideshow', 'social-polls-by-opinionstage'),
|
100 |
-
],
|
101 |
-
|
102 |
-
supports,
|
103 |
-
attributes,
|
104 |
-
|
105 |
-
edit: Edit,
|
106 |
-
save,
|
107 |
-
})
|
89 |
edit: Edit,
|
90 |
save,
|
91 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/gutenberg/src/save.js
CHANGED
@@ -4,7 +4,6 @@ import {
|
|
4 |
WIDGET_PERSONALITY_QUIZ,
|
5 |
WIDGET_TRIVIA_QUIZ,
|
6 |
WIDGET_SURVEY,
|
7 |
-
WIDGET_SLIDESHOW,
|
8 |
WIDGET_FORM,
|
9 |
} from './configuration.js'
|
10 |
|
@@ -60,9 +59,6 @@ function unusedWrapperClassFromWidgetType (widgetType) {
|
|
60 |
case WIDGET_FORM:
|
61 |
return 'os-form-wrapper'
|
62 |
break
|
63 |
-
case WIDGET_SLIDESHOW:
|
64 |
-
return 'os-slideshow-wrapper'
|
65 |
-
break
|
66 |
default:
|
67 |
console.warn('unknown widget type:', widgetType)
|
68 |
}
|
4 |
WIDGET_PERSONALITY_QUIZ,
|
5 |
WIDGET_TRIVIA_QUIZ,
|
6 |
WIDGET_SURVEY,
|
|
|
7 |
WIDGET_FORM,
|
8 |
} from './configuration.js'
|
9 |
|
59 |
case WIDGET_FORM:
|
60 |
return 'os-form-wrapper'
|
61 |
break
|
|
|
|
|
|
|
62 |
default:
|
63 |
console.warn('unknown widget type:', widgetType)
|
64 |
}
|
includes/gutenberg.php
CHANGED
@@ -107,14 +107,6 @@ function opinionstage_register_gutenberg_assets() {
|
|
107 |
)
|
108 |
);
|
109 |
|
110 |
-
register_block_type(
|
111 |
-
'opinion-stage/block-os-slideshow',
|
112 |
-
array(
|
113 |
-
'editor_script' => 'opinionstage-gutenberg-block-editor',
|
114 |
-
'editor_style' => 'opinionstage-gutenberg-block-editor',
|
115 |
-
)
|
116 |
-
);
|
117 |
-
|
118 |
opinionstage_gutenberg_inject_data();
|
119 |
}
|
120 |
|
107 |
)
|
108 |
);
|
109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
opinionstage_gutenberg_inject_data();
|
111 |
}
|
112 |
|
opinionstage-polls.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage (Deprecated)
|
4 |
Plugin URI: https://www.opinionstage.com
|
5 |
Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
|
6 |
-
Version: 19.
|
7 |
Author: OpinionStage.com
|
8 |
Author URI: https://www.opinionstage.com
|
9 |
Text Domain: social-polls-by-opinionstage
|
3 |
Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage (Deprecated)
|
4 |
Plugin URI: https://www.opinionstage.com
|
5 |
Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
|
6 |
+
Version: 19.7.0
|
7 |
Author: OpinionStage.com
|
8 |
Author URI: https://www.opinionstage.com
|
9 |
Text Domain: social-polls-by-opinionstage
|
plugin.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage
|
9 |
* Plugin URI: https://www.opinionstage.com
|
10 |
* Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
|
11 |
-
* Version: 19.
|
12 |
* Author: OpinionStage.com
|
13 |
* Author URI: https://www.opinionstage.com
|
14 |
* Text Domain: social-polls-by-opinionstage
|
@@ -34,7 +34,7 @@ if ( defined( 'WP_DEBUG' ) && true === WP_DEBUG ) {
|
|
34 |
}
|
35 |
}
|
36 |
|
37 |
-
define( 'OPINIONSTAGE_WIDGET_VERSION', '19.
|
38 |
|
39 |
define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
|
40 |
|
8 |
* Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage
|
9 |
* Plugin URI: https://www.opinionstage.com
|
10 |
* Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
|
11 |
+
* Version: 19.7.0
|
12 |
* Author: OpinionStage.com
|
13 |
* Author URI: https://www.opinionstage.com
|
14 |
* Text Domain: social-polls-by-opinionstage
|
34 |
}
|
35 |
}
|
36 |
|
37 |
+
define( 'OPINIONSTAGE_WIDGET_VERSION', '19.7.0' );
|
38 |
|
39 |
define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
|
40 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.opinionstage.com
|
|
4 |
Tags: poll, quiz, survey, poll plugin, quiz plugin, survey plugin
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 5.5
|
7 |
-
Stable tag: 19.
|
8 |
Requires PHP: 5.2
|
9 |
|
10 |
Add a Poll, Survey, or Quiz to your Wordpress site. Create a poll, quiz, or survey from scratch or based on templates.
|
@@ -138,6 +138,10 @@ Opinion Stage makes it easy for you to comply with the GDPR regulation. For more
|
|
138 |
N/A
|
139 |
|
140 |
== Changelog ==
|
|
|
|
|
|
|
|
|
141 |
= 19.6.41 =
|
142 |
* remove excessive logging
|
143 |
= 19.6.40 =
|
4 |
Tags: poll, quiz, survey, poll plugin, quiz plugin, survey plugin
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 5.5
|
7 |
+
Stable tag: 19.7.0
|
8 |
Requires PHP: 5.2
|
9 |
|
10 |
Add a Poll, Survey, or Quiz to your Wordpress site. Create a poll, quiz, or survey from scratch or based on templates.
|
138 |
N/A
|
139 |
|
140 |
== Changelog ==
|
141 |
+
= 19.7.0 =
|
142 |
+
* deprecate set, slideshow & list
|
143 |
+
* content popup UI/UX fixes
|
144 |
+
* gutenberg UI/UX fixes
|
145 |
= 19.6.41 =
|
146 |
* remove excessive logging
|
147 |
= 19.6.40 =
|